1 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
3 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
4 instead of `DECODE_ADD_UCS_CHAR'.
5 (COMPOSE_ADD_CHAR): Likewise.
7 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
9 * text-coding.c (decode_flush_er_chars): New inline function.
10 (decode_add_er_char): New function.
11 (decode_coding_utf8): Use `decode_flush_er_chars' and
14 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
16 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
17 done before `decode_output_utf8_partial_char'.
19 * mule-charset.c (complex_vars_of_mule_charset): Specify
20 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
21 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
23 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
25 * mule-charset.c (decode_defined_char): New function; search
27 (decode_builtin_char): Don't search mother if
28 XCHARSET_MAX_CODE(charset) == 0.
29 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
30 == 0 even if code >= XCHARSET_MAX_CODE(charset).
31 (Fdecode_char): Use `decode_defined_char' instead of
32 `DECODE_DEFINED_CHAR'.
33 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
34 mother of `Vcharset_ucs_jis'.
36 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
37 instead of `DECODE_DEFINED_CHAR'.
39 * char-ucs.h (decode_defined_char): Renamed from
40 `DECODE_DEFINED_CHAR'; changed to normal function.
41 (DECODE_CHAR): Use `decode_defined_char' instead of
42 `DECODE_DEFINED_CHAR'.
44 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
46 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
48 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
50 * text-coding.c (Vcoded_charset_entity_reference_alist): New
52 (Quse_entity_reference): New variable.
56 (coding_system_description): Add description for
58 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
59 (allocate_coding_system): Initialize `ccs_priority_list' in
61 (Fmake_coding_system): Add description about
62 'use-entity-reference; setup
63 CODING_SYSTEM_USE_ENTITY_REFERENCE(codesys).
64 (Fcoding_system_property): Accept `disable-composition' and
65 `use-entity-reference' in UTF-2000.
66 (struct decoding_stream): Add new member `er_counter' and `er_buf'
68 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
69 (decode_coding_utf8): Decode entity-reference if
70 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
71 (char_encode_utf8): Encode non-Unicode characters as
72 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
74 (syms_of_file_coding): Add new symbols `use-entity-reference',
76 (vars_of_file_coding): Add new variable
77 `coded-charset-entity-reference-alist'.
78 (complex_vars_of_file_coding): Declare `disable-composition' and
79 `use-entity-reference' to be coding-system-properties in UTF-2000.
81 * file-coding.h (struct Lisp_Coding_System): Add new member
82 `use_entity_reference' and `ccs_priority_list'.
83 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
84 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
85 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
87 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
89 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
91 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
93 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
94 `XCHARSET_GRAPHIC(ccs)'.
96 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
98 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
101 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
103 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
104 instead of `XCHARSET_CHARS'.
106 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
108 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
109 (XCHARSET_BYTE_SIZE): Likewise.
111 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
113 (XCHARSET_BYTE_SIZE): Likewise.
115 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
117 * char-ucs.h (decoding_table_check_elements): Delete prototype.
118 (get_ccs_octet_table): New inline function.
119 (put_ccs_octet_table): Likewise.
120 (decoding_table_put_char): Use `get_ccs_octet_table' and
121 `put_ccs_octet_table'.
122 (decoding_table_remove_char): Use `decoding_table_put_char'.
123 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
125 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
127 (make_charset): Use Qunbound instead Qnil as initial value of
130 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
132 * mule-charset.c (put_char_ccs_code_point): Modify for
133 `decoding_table_remove_char' and `decoding_table_put_char'.
134 (remove_char_ccs): Modify for `decoding_table_remove_char'.
136 * char-ucs.h (decoding_table_remove_char): Change arguments to
137 hide decoding_table vector.
138 (decoding_table_put_char): Likewise.
140 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
142 * mule-charset.c (decoding_table_remove_char): Moved to
144 (decoding_table_put_char): Likewise.
146 * char-ucs.h (decoding_table_check_elements): New prototype [moved
147 from mule-charset.c].
148 (decoding_table_remove_char): New inline function [moved from
150 (decoding_table_put_char): Likewise.
152 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
154 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
155 instead of `DECODE_CHAR' for mother; don't use special code for
156 chinese-big5 to use code space of chinese-big5-1 and
158 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
159 `MAX_CHAR_BIG5_CDP' for chinese-big5.
161 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
162 (MAX_CHAR_BIG5_CDP): Revival.
164 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
166 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
167 the XLFD registry-encoding name of `chinese-big5'.
169 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
171 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
172 (Qchinese_big5_cdp): Deleted.
173 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
174 (complex_vars_of_mule_charset): Delete coded-charset
177 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
178 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
179 `CHARSET_ID_OFFSET - n' for private CCS.
180 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
181 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
182 of `MIN_LEADING_BYTE'.
183 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
184 `(CHARSET_ID_OFFSET - 97)'.
185 (MIN_CHAR_BIG5_CDP): Deleted.
186 (MAX_CHAR_BIG5_CDP): Deleted.
188 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
190 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
193 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
195 * mule-charset.c (decode_builtin_char): Support mother charsets.
197 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
199 * mule-charset.c (Q94x94x60): New variable.
200 (charset_code_point): Support conversion `94x94x60'.
201 (Fmake_charset): Likewise.
202 (syms_of_mule_charset): Add new symbol `94x94x60'.
204 * char-ucs.h (CONVERSION_94x94x60): New macro.
206 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
208 * mule-charset.c (charset_code_point): Unify code about
211 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
213 * mule-charset.c (charset_code_point): Merge code about builtin
214 characters into code about mother charsets; don't use
215 `range_charset_code_point'.
216 (range_charset_code_point): Deleted.
218 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
220 * mule-charset.c (Qcode_offset): New variable.
221 (Fmake_charset): Use `XUINT' to get value of `min-code' and
222 `max-code'; accept new property `code-offset'.
223 (syms_of_mule_charset): Add new symbol `code-offset'.
225 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
227 * mule-charset.c (range_charset_code_point): Fixed.
229 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
231 * mule-charset.c (decode_builtin_char): Change semantics of
232 code-offset of coded-charset.
233 (charset_code_point): Likewise.
234 (range_charset_code_point): Likewise.
235 (complex_vars_of_mule_charset): Modify for the change.
237 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
239 * mule-charset.c (Fencode_char): Reverse arguments.
241 * mule-charset.c (charset_code_point): Fixed.
243 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
245 * mule-charset.c (Vcharset_mojikyo): Deleted.
246 (Vcharset_mojikyo_2022_1): Deleted.
247 (Vcharset_mojikyo_pj_{1..21}): Deleted.
248 (Qmin_code): New variable in UTF-2000.
249 (Qmax_code): Likewise.
251 (Qconversion): Likewise.
254 (Qmojikyo_2022_1): Deleted.
255 (Qmojikyo_pj_{1..22}): Deleted.
256 (mark_charset): Mark `cs->mother'.
257 (charset_description): Add description for `mother'.
258 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
259 new arguments `mother' and `conversion'; use
260 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
261 (charset_code_point): Moved from char-ucs.h; support `mother'
263 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
264 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
265 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
266 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
267 allow 2 as the value of `graphic' in UTF-2000; add new properties
268 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
269 require `final' in UTF-2000; modify for `make_charset'.
270 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
271 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
272 (Fcharset_property): Support `mother', `min-code' and `max-code'.
273 (Fencode_char): New function.
274 (syms_of_mule_charset): Add new builtin function `encode-char' in
275 UTF-2000; add new symbols `min-code', `max-code', `mother',
276 `conversion' and `94x60'; delete symbols `mojikyo',
277 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
278 (complex_vars_of_mule_charset): Modify for `make_charset' change;
279 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
280 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
282 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
283 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
285 * char-ucs.h (Vcharset_mojikyo): Deleted.
286 (Vcharset_mojikyo_2022_1): Deleted.
287 (LEADING_BYTE_MOJIKYO): Deleted.
288 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
289 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
290 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
291 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
292 add new member `mother'; add new member `conversion'.
293 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
294 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
295 (CHARSET_MOTHER): New macro.
296 (CHARSET_CONVERSION): New macro.
297 (CONVERSION_IDENTICAL): New macro.
298 (CONVERSION_94x60): New macro.
299 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
300 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
301 (XCHARSET_MOTHER): New macro.
302 (XCHARSET_CONVERSION): New macro.
303 (MIN_CHAR_MOJIKYO): Deleted.
304 (MAX_CHAR_MOJIKYO): Deleted.
305 (DECODE_MOJIKYO_2022): Deleted.
306 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
307 (charset_code_point): Changed to non-inline function.
308 (encode_char_1): Use `charset_code_point'.
309 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
311 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
313 * lread.c (read_compiled_function): Fix prototype.
314 (read_vector): Likewise.
316 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
318 * lrecord.h (struct lrecord_header): Delete `older'.
319 (set_lheader_implementation): Delete code for `older'.
320 (set_lheader_older_implementation): Deleted.
321 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
322 (OLDER_RECORD_P): Deleted.
323 (OLDER_RECORD_HEADER_P): Deleted.
324 (alloc_older_lcrecord): Deleted.
325 (alloc_older_lcrecord_type): Deleted.
327 * alloc.c (all_older_lcrecords): Deleted.
328 (alloc_older_lcrecord): Deleted.
329 (disksave_object_finalization_1): Delete code for older objects.
330 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
331 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
333 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
335 * mule-charset.c (decoding_table_put_char): Use `make_vector'
336 instead of `make_older_vector'.
337 (put_char_ccs_code_point): Likewise.
338 (mark_charset): Mark `cs->decoding_table'.
339 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
341 * lisp.h (make_older_vector): Deleted.
342 (make_vector_newer): Deleted.
344 * config.h.in (HAVE_GGC): Deleted.
346 * alloc.c (make_older_vector): Deleted.
347 (make_vector_newer_1): Deleted.
348 (make_vector_newer): Deleted.
350 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
352 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
353 (Qideograph_daikanwa_2): New variable.
354 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
355 (complex_vars_of_mule_charset): Add new coded-charset
356 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
357 `LEADING_BYTE_DAIKANWA'.
359 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
360 (LEADING_BYTE_DAIKANWA_1): New macro.
361 (LEADING_BYTE_DAIKANWA_2): New macro.
362 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
364 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
366 * mule-charset.c (complex_vars_of_mule_charset): Change
367 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
368 the second revised version.
370 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
372 * mule-charset.c (Vcharset_ucs_smp): New variable.
373 (Vcharset_ucs_sip): New variable.
374 (Qucs_smp): New variable.
375 (Qucs_sip): New variable.
376 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
377 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
378 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
379 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
380 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
381 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
383 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
384 (LEADING_BYTE_UCS_SIP): New macro.
385 (MIN_CHAR_SMP): New macro.
386 (MAX_CHAR_SMP): New macro.
387 (MIN_CHAR_SIP): New macro.
388 (MAX_CHAR_SIP): New macro.
390 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
392 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
395 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
397 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
398 value; don't store value into `encoding_table' of `Lisp_Charset'.
399 (mark_charset): `encoding_table' was deleted.
400 (charset_description): Likewise.
401 (make_charset): Likewise.
402 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
403 `put_char_ccs_code_point'.
405 * chartab.h (Fput_char_attribute): New EXFUN.
407 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
408 is unified with normal symbol space.
409 (Fget_char_attribute): Likewise.
410 (Fput_char_attribute): Likewise; behavior of
411 `put_char_ccs_code_point' is changed.
413 * char-ucs.h: Include "elhash.h".
414 (Vchar_attribute_hash_table): New external variable.
415 (struct Lisp_Charset): Delete `encoding_table'.
416 (CHARSET_ENCODING_TABLE): New implementation; refer
417 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
420 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
422 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
425 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
427 * text-coding.c (char_encode_big5): Prefer charset-g1 than
430 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
432 * chartab.c (uint8_byte_table_description): New constant.
433 (uint8-byte-table): Use `uint8_byte_table_description'.
434 (uint16_byte_table_description): New constant.
435 (uint16-byte-table): Use `uint16_byte_table_description'.
437 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
439 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
440 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
442 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
444 * mule-charset.c (Vcharset_ucs_ks): New variable.
445 (Qucs_ks): New variable.
446 (syms_of_mule_charset): Add new symbol `ucs-ks'.
447 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
449 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
451 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
453 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
454 (Fdecode_char): Likewise.
456 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
458 (Fdefine_char): Modify for Fdecode_char.
459 (Ffind_char): Likewise.
461 * mule-charset.c (Fdecode_char): Add new optional argument
463 (Fdecode_builtin_char): Modify for `Fdecode_char'.
465 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
467 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
468 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
469 (allocate_coding_system): Initialize initial-charsets of
470 CODESYS_BIG5 in XEmacs UTF-2000.
471 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
472 CODESYS_BIG5 in XEmacs UTF-2000.
473 (decode_coding_big5): Use initial-charset-g0 and -g1 of
474 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
476 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
478 (Qideograph_hanziku_{1 .. 12}): Likewise.
479 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
481 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
482 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
483 `ideograph-hanziku-{1 .. 12}'.
485 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
486 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
487 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
488 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
489 (DECODE_DEFINED_CHAR): New inline function.
490 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
492 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
494 * mule-charset.c (Vcharset_china3_jef): Renamed from
495 `Vcharset_japanese_jef_china3'.
496 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
497 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
498 `{MIN|MAX}_CHAR_JEF_CHINA3'..
499 (syms_of_mule_charset): Rename `china3-jef' from
500 `japanese-jef-china3'.
501 (complex_vars_of_mule_charset): Likewise; rename
502 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
504 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
505 `LEADING_BYTE_JEF_CHINA3'.
506 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
507 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
509 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
511 * mule-charset.c (encode_builtin_char_1): Comment out special code
512 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
514 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
515 (MAX_CHAR_MOJIKYO_0): Comment out.
516 (MIN_CHAR_CBETA): Changed to 0x00E20000.
517 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
518 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
519 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
521 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
523 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
524 (Qideograph_cbeta): New variable.
525 (encode_builtin_char_1): Comment out special code for
526 coded-charset `mojikyo' and `japanese-jef-china3'.
527 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
528 (complex_vars_of_mule_charset): Add new coded-charset
531 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
532 (MIN_CHAR_CBETA): New macro.
533 (MAX_CHAR_CBETA): New macro.
535 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
537 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
538 (LEADING_BYTE_JEF_CHINA3): New macro.
539 (MIN_CHAR_JEF_CHINA3): New macro.
540 (MAX_CHAR_JEF_CHINA3): Likewise.
541 (DECODE_CHAR): Fixed.
543 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
545 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
546 (Qjapanese_jef_china3): New variable.
547 (encode_builtin_char_1): Support `japanese-jef-china3'.
548 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
549 (complex_vars_of_mule_charset): Add new coded-charset
550 `japanese-jef-china3'.
552 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
554 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
555 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
556 94^4, 96^3, 96^4, 128^n and 256^n set.
557 (put_char_table): Use `XCHARSET_CELL_RANGE'.
558 (map_char_table): Likewise.
560 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
562 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
565 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
567 * chartab.h (get_char_id_table): New inline function.
569 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
572 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
574 * chartab.h (decode_char_table_range): New prototype in XEmacs
576 (put_char_id_table): New inline function in XEmacs UTF-2000.
578 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
580 (decode_char_table_range): Delete static declaration in XEmacs
583 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
585 * chartab.c (put_char_id_table): Use `put_char_table'.
587 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
589 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
590 (map_over_uint16_byte_table): Likewise.
591 (map_over_byte_table): Likewise.
592 (map_char_table): Modify for `map_over_uint8_byte_table',
593 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
596 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
598 * chartab.c (struct map_char_table_for_charset_arg): New
600 (map_char_table_for_charset_fun): New function.
601 (map_char_table): Use `map_char_table' for encoding_table of
604 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
606 * chartab.c (map_char_table): Check a character is found in
607 range->charset instead of non default value is defined in
608 char-table when range is CHARTAB_RANGE_ROW.
610 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
612 * chartab.c (map_char_id_table): Deleted.
613 (Fmap_char_attribute): Use `map_char_table' instead of
616 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
618 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
620 (update_syntax_table): Deleted in XEmacs UTF-2000.
622 * syntax.c (find_defun_start): Use `syntax_table' instead of
623 `mirror_syntax_table' in XEmacs UTF-2000.
624 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
626 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
628 (Fmatching_paren): Likewise.
629 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
631 (find_start_of_comment): Likewise.
632 (find_end_of_comment): Likewise.
633 (Fforward_comment): Likewise.
634 (scan_lists): Likewise.
635 (char_quoted): Likewise.
636 (Fbackward_prefix_chars): Likewise.
637 (scan_sexps_forward): Likewise.
638 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
639 (update_syntax_table): Likewise.
641 * search.c (skip_chars): Use `syntax_table' instead of
642 `mirror_syntax_table' in XEmacs UTF-2000.
644 (Freplace_match): Likewise.
646 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
647 `mirror_syntax_table' in XEmacs UTF-2000.
648 (WORDCHAR_P_UNSAFE): Likewise.
649 (re_match_2_internal): Likewise.
651 * font-lock.c (find_context): Use `buf->syntax_table' instead of
652 `buf->mirror_syntax_table' in XEmacs UTF-2000.
654 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
655 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
657 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
660 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
662 (print_char_table): Print `default_value' in XEmacs UTF-2000.
663 (char_table_description): Delete `mirror_table' in XEmacs
665 (fill_char_table): Don't call `update_syntax_table' in XEmacs
667 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
668 (Fcopy_char_table): Likewise.
669 (put_char_table): Don't call `update_syntax_table' in XEmacs
672 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
673 `buf->mirror_syntax_table' in XEmacs UTF-2000.
674 (casify_region_internal): Likewise.
676 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
678 * buffer.c (common_init_complex_vars_of_buffer): Don't use
679 `mirror_syntax_table' in XEmacs UTF-2000.
681 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
682 `buf->mirror_syntax_table' in XEmacs UTF-2000.
683 (Fexpand_abbrev): Likewise.
685 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
687 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
689 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
691 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
692 (map_over_uint16_byte_table): Likewise.
693 (map_over_byte_table): Likewise.
694 (get_char_id_table): Refer `cit->default_value'.
695 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
696 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
697 of character-id ranges.
698 (mark_char_table): Mark `ct->default_value'.
699 (char_table_description): Add `default_value'.
700 (fill_char_table): Use `default_value'.
701 (decode_char_table_range): Decode `nil' as
702 `CHARTAB_RANGE_DEFAULT'.
703 (get_char_id_table): Refer `cit->default_value'.
704 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
705 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
706 temporary hack; check value of char-table is bound or not.
707 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
709 * chartab.h (struct Lisp_Char_Table): Add new member
710 `default_value' in XEmacs UTF-2000.
711 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
712 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
715 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
717 * chartab.h (Lisp_Char_ID_Table): Deleted.
719 * chartab.c (char_table_description): Fix typo.
720 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
721 `Lisp_Char_ID_Table'.
723 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
725 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
728 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
731 * chartab.h (XCHAR_ID_TABLE): Deleted.
732 (XSETCHAR_ID_TABLE): Deleted.
733 (CHAR_ID_TABLE_P): Deleted.
735 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
737 (Fget_composite_char): Likewise.
738 (put_char_table): Likewise.
739 (add_char_attribute_alist_mapper): Fixed.
740 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
742 (Fget_char_attribute): Likewise.
743 (Fget_char_attribute): Likewise.
744 (Fmap_char_attribute): Likewise.
746 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
748 (encode_char_1): Likewise.
750 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
752 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
755 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
756 instead of `XCHAR_ID_TABLE'.
757 (remove_char_ccs): Likewise.
759 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
761 (Fget_composite_char): Likewise.
762 (Fchar_variants): Likewise.
763 (put_char_table): Likewise.
764 (add_char_attribute_alist_mapper): Likewise.
765 (Fchar_attribute_alist): Likewise.
766 (Fget_char_attribute): Likewise.
767 (Fput_char_attribute): Likewise.
768 (Fmap_char_attribute): Likewise.
769 (Fmap_char_attribute): Likewise.
771 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
773 (encode_char_1): Likewise.
775 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
777 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
778 `Lisp_Char_ID_Table'.
779 (mark_char_id_table): Deleted.
780 (print_char_id_table): Likewise.
781 (char_id_table_equal): Likewise.
782 (char_id_table_hash): Likewise.
783 (char_id_table_description): Likewise.
784 (char_id_table): Likewise.
785 (make_char_id_table): Use `Fmake_char_table' and
787 (get_char_id_table): Use `Lisp_Char_Table' instead of
788 `Lisp_Char_ID_Table'.
789 (put_char_id_table): Likewise.
790 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
792 (Fremove_char_attribute): Likewise.
793 (syms_of_chartab): Don't define type `char-id-table'.
795 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
796 (char_id_table): Likewise.
797 (GC_CHAR_ID_TABLE_P): Likewise.
798 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
799 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
800 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
801 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
802 (get_char_id_table): Use `Lisp_Char_Table' instead of
803 `Lisp_Char_ID_Table'.
804 (put_char_id_table_0): Likewise.
805 (put_char_id_table): Likewise.
807 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
809 * chartab.h: Lisp_Byte_Table related codes are moved from
812 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
814 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
816 * chartab.h: Don't include "chartab.h".
817 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
818 (Lisp_Char_ID_Table): Likewise.
819 (char_id_table): Likewise.
820 (XCHAR_ID_TABLE): Likewise.
821 (XSETCHAR_ID_TABLE): Likewise.
822 (CHAR_ID_TABLE_P): Likewise.
823 (GC_CHAR_ID_TABLE_P): Likewise.
824 (get_char_id_table): Likewise.
826 * char-ucs.h: Include "chartab.h".
827 (struct Lisp_Char_ID_Table): Moved to chartab.h.
828 (Lisp_Char_ID_Table): Likewise.
829 (char_id_table): Likewise.
830 (XCHAR_ID_TABLE): Likewise.
831 (XSETCHAR_ID_TABLE): Likewise.
832 (CHAR_ID_TABLE_P): Likewise.
833 (GC_CHAR_ID_TABLE_P): Likewise.
834 (get_char_id_table): Likewise.
836 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
838 * chartab.c (copy_uint8_byte_table): New function.
839 (copy_uint16_byte_table): New function.
840 (copy_byte_table): New function.
841 (map_over_uint8_byte_table): Modify to avoid huge numbers of
843 (map_over_uint16_byte_table): Likewise.
844 (map_over_byte_table): Likewise.
845 (get_byte_table): Move prototype to chartab.h.
846 (put_byte_table): Likewise.
847 (put_char_id_table_0): Moved to chartab.h.
848 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
849 (char_table_entry_equal): Likewise.
850 (char_table_entry_hash): Likewise.
851 (char_table_entry_description): Likewise.
852 (char_table_entry): Likewise.
853 (make_char_table_entry): Likewise.
854 (copy_char_table_entry): Likewise.
855 (get_non_ascii_char_table_value): Likewise.
856 (map_over_charset_ascii): Likewise.
857 (map_over_charset_control_1): Likewise.
858 (map_over_charset_row): Likewise.
859 (map_over_other_charset): Likewise.
860 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
861 (print_char_table): Likewise.
862 (char_table_equal): Likewise.
863 (char_table_hash): Likewise.
864 (char_table_description): Likewise.
865 (fill_char_table): Likewise.
866 (Fcopy_char_table): Likewise.
867 (get_char_table): Likewise.
868 (Fget_range_char_table): Likewise.
869 (put_char_table): Likewise.
870 (map_char_table): Likewise.
871 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
874 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
876 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
877 `Vauto_fill_chars' in XEmacs UTF-2000.
879 * chartab.h (get_byte_table): New prototype [moved from
881 (put_byte_table): Likewise [moved from chartab.c].
882 (put_char_id_table_0): New inline function [moved from chartab.c].
883 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
884 (Lisp_Char_Table_Entry): Likewise.
885 (char_table_entry): Likewise.
886 (XCHAR_TABLE_ENTRY): Likewise.
887 (XSETCHAR_TABLE_ENTRY): Likewise.
888 (CHAR_TABLE_ENTRYP): Likewise.
889 (CHECK_CHAR_TABLE_ENTRY): Likewise.
890 (NUM_ASCII_CHARS): Likewise.
891 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
892 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
894 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
896 * chartab.c (get_char_id_table): Change interface.
897 (put_char_id_table_0): New function.
898 (put_char_id_table): Change interface; new implementation.
899 (Fget_composite_char): Modify for interface change of
901 (Fchar_variants): Likewise.
902 (add_char_attribute_alist_mapper): Likewise.
903 (Fchar_attribute_alist): Likewise.
904 (Fget_char_attribute): Likewise.
905 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
906 as same as character as the first argument like `put-char-table';
907 modify for interface change of `put_char_id_table'.
908 (Fremove_char_attribute): Modify for interface change of
911 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
913 * text-coding.c: Sync up with XEmacs 21.2.41.
914 (COMPOSE_ADD_CHAR): Modify for interface change of
917 * mule-charset.c (put_char_ccs_code_point): Modify for interface
918 change of `put_char_id_table'.
919 (remove_char_ccs): Likewise.
921 * chartab.h (put_char_id_table): Change interface.
923 * char-ucs.h (get_char_id_table): Change interface.
924 (charset_code_point): Modify for interface change of
926 (encode_char_1): Likewise.
928 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
930 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
932 (map_over_uint16_byte_table): Likewise.
933 (map_over_byte_table): Likewise.
934 (map_char_id_table): Add new argument `range' like
936 (Fmap_char_attribute): Add new argument `range' like
939 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
941 * chartab.c (map_over_uint8_byte_table): Change interface of
942 mapping function to use struct chartab_range instead of Emchar.
943 (map_over_uint16_byte_table): Likewise.
944 (map_over_byte_table): Likewise.
945 (map_char_id_table): Likewise.
946 (struct slow_map_char_id_table_arg): Deleted.
947 (slow_map_char_id_table_fun): Deleted.
948 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
949 function `slow_map_char_table_fun' instead of struct
950 `slow_map_char_id_table_arg' and function
951 `slow_map_char_id_table_fun'.
953 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
955 * mule-charset.c: Move char-it-table related codes to chartab.c.
956 (Vutf_2000_version): Moved to chartab.c.
957 (Fdefine_char): Likewise.
958 (Ffind_char): Likewise.
959 (syms_of_mule_charset): Move types `uint8-byte-table',
960 `uint16-byte-table', `byte-table' and `char-id-table' to
961 chartab.c; move functions `char_attribute_list,
962 `find_char_attribute_table, `char_attribute_alist,
963 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
964 `map_char_attribute, `define_char, `find_char, `char_variants and
965 `get_composite_char to chartab.c; move symbols `=>ucs',
966 `->decomposition', `compat', `isolated', `initial', `medial',
967 `final', `vertical', `noBreak', `fraction', `super', `sub',
968 `circle', `square', `wide', `narrow', `small' and `font' to
970 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
971 setting codes for `Vcharacter_composition_table' and
972 `Vcharacter_variant_table' to chartab.c.
973 (complex_vars_of_mule_charset): Move setting code for
974 `Vchar_attribute_hash_table' to chartab.c.
976 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
977 (make_char_id_table): New prototype.
978 (put_char_id_table): Likewise.
979 (Fget_char_attribute): Likewise.
981 * chartab.c: Move char-id-table related code from mule-charset.c.
982 (Vutf_2000_version): Moved from mule-charset.c.
984 * char-ucs.h (Qucs): New external variable.
985 (put_char_ccs_code_point): New prototype.
986 (remove_char_ccs): Likewise.
988 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
990 * mule-charset.c (Vcharset_ucs_jis): New variable.
991 (Qucs_jis): Likewise.
992 (syms_of_mule_charset): Add new symbol `ucs-jis'.
993 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
995 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
997 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
999 * mule-charset.c (map_over_uint8_byte_table): New function.
1000 (map_over_uint16_byte_table): Likewise.
1001 (map_over_byte_table): Likewise.
1002 (map_char_id_table): Likewise.
1003 (slow_map_char_id_table_fun): Likewise.
1004 (Fmap_char_attribute): Likewise.
1005 (syms_of_mule_charset): Add new function `map-char-attribute'.
1007 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1009 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1010 (syms_of_mule_charset): Add new function `find-char'.
1012 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1014 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1016 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1017 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1019 (complex_vars_of_mule_charset): Add new coded-charset
1020 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1021 `ideograph-gt-pj-*'.
1023 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1025 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1027 * mule-charset.c (encode_builtin_char_1): Purge codes about
1028 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1029 {MIN|MAX}_CHAR_HEBREW.
1030 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1031 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1033 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1034 (MAX_CHAR_GREEK): Purged.
1035 (MIN_CHAR_CYRILLIC): Purged.
1036 (MAX_CHAR_CYRILLIC): Purged.
1037 (MIN_CHAR_HEBREW): Commented out.
1038 (MAX_CHAR_HEBREW): Likewise.
1040 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1042 * mule-charset.c (Qto_ucs): New variable.
1043 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1044 (Fdefine_char): Likewise.
1045 (syms_of_mule_charset): Add new symbol `=>ucs'.
1047 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1049 * mule-charset.c (Fdecode_char): Fixed.
1051 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1053 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1054 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1057 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1059 * mule-charset.c (Vcharset_ucs_big5): New variable.
1060 (Qucs_big5): Likewise.
1061 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1062 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1064 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1066 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1068 * mule-charset.c (decode_builtin_char): Check Big5 code range
1069 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1071 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1073 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1074 (Qchinese_gb12345): Likewise.
1075 (Fdecode_builtin_char): Fixed.
1076 (syms_of_mule_charset): Add `chinese-gb12345'.
1077 (complex_vars_of_mule_charset): Add coded-charset
1080 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1081 (LEADING_BYTE_CHINESE_GB12345): New macro.
1083 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1085 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1086 and `latin-viscii-upper' for `latin-viscii'.
1088 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1090 * mule-charset.c (Fdecode_builtin_char): Comment out
1091 regularization code for ISO-IR GR representation.
1093 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1095 * mule-charset.c (decode_builtin_char): New function; renamed from
1096 `make_builtin_char'; return -1 instead of signal.
1097 (Fdecode_builtin_char): Use `decode_builtin_char'.
1099 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1100 `make_builtin_char'.
1101 (DECODE_CHAR): Use `decode_builtin_char' instead of
1102 `make_builtin_char'; use mapping table of `chinese-big5' for
1103 `chinese-big5-{1,2}'.
1105 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1107 * text-coding.c (char_encode_big5): New function.
1108 (char_finish_big5): Likewise.
1109 (reset_encoding_stream): Use `char_encode_big5' and
1110 `char_finish_big5' for CODESYS_BIG5.
1111 (mule_encode): Don't use `encode_coding_big5'.
1112 (encode_coding_big5): Deleted.
1114 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1116 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1117 0x81- in XEmacs UTF-2000.
1118 (detect_coding_big5): Likewise.
1120 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1122 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1123 generate character-id if the CCS property does not have
1124 corresponding predefined character.
1125 (make_builtin_char): Return -1 if corresponding predefined
1126 character is not found.
1127 (Fdecode_char): Return nil if corresponding character is not
1129 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1130 don't map to builtin ucs space.
1132 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1134 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1135 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1137 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1139 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1140 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1141 (Qideograph_gt): Likewise.
1142 (Qideograph_gt_pj_{1..11}): Likewise.
1143 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1144 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1145 `ideograph-gt-pj-11'.
1146 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1147 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1148 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1150 * char-ucs.h (LEADING_BYTE_GT): New macro.
1151 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1152 (MIN_CHAR_GT): Likewise.
1153 (MAX_CHAR_GT): Likewise.
1155 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1157 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1158 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1160 * doprnt.c (unsigned_int_converters): Add `c'.
1161 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1163 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1164 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1166 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1167 (MAX_CHAR_MOJIKYO_0): New macro.
1168 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1170 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1172 * mule-charset.c (Fdefine_char): Delete cemented out code.
1173 (encode_builtin_char_1): Modify for new allocation of builtin
1176 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1178 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1180 * mule-charset.c (Vcharset_ucs_cns): New variable.
1181 (Qucs_cns): New variable.
1182 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1183 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1185 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1187 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1189 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1191 * search.c (search_buffer): Make `charset_base_code' as
1192 character-id >> 6 to eliminate the corresponding last byte in
1193 UTF-8 representation [I'm not sure it is right thing].
1194 (boyer_moore): Likewise.
1196 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1198 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1199 representation in MULE.
1201 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1203 * text-coding.c (Fmake_coding_system): Use
1204 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1205 `EXTERNAL_PROPERTY_LIST_LOOP'.
1207 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1209 * text-coding.c (decode_output_utf8_partial_char): New function.
1210 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1212 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1214 * text-coding.c (decode_coding_utf8): Output original byte
1215 sequence if it is broken; change order of conditions.
1217 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1220 * mb-multibyte.h (BYTE_ASCII_P):
1221 Use bit ops for char-signedness safety.
1222 (BYTE_C0_P): Use bit ops for char-signedness safety.
1223 (BYTE_C1_P): Use bit ops for char-signedness safety.
1225 * character.h: (XCHAR_OR_CHAR_INT):
1226 Always use inline function.
1227 Remove redundant type checking assert() - XINT will abort quite
1230 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1232 * text-coding.c: (Fencode_shift_jis_char):
1233 (Fencode_big5_char):
1234 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1235 Replace 0 with '\0' when working with bytes.
1236 Replace initial "(" with "\(" in docstrings.
1238 (Fmake_coding_system):
1239 When type is ccl and value is vector, register it with a proper
1240 symbol. And checks whether the given ccl program is valid.
1241 (mule_decode): When calling ccl_driver, if src indicates
1242 NULL pointer, set an empty string instead.
1243 (mule_encode): Likewise.
1246 (detect_coding_sjis):
1247 (decode_coding_sjis):
1248 (detect_coding_big5):
1249 (decode_coding_big5):
1250 (detect_coding_ucs4):
1251 (decode_coding_ucs4):
1252 (detect_coding_utf8):
1253 (decode_coding_utf8):
1254 (detect_coding_iso2022):
1255 (decode_coding_iso2022):
1256 (decode_coding_no_conversion):
1258 Make all detecting and decoding functions take an Extbyte * arg.
1259 (text_encode_generic):
1260 (encode_coding_big5):
1261 (encode_coding_no_conversion):
1263 Make all encoding functions take a Bufbyte * arg.
1264 Use size_t instead of unsigned int for memory sizes.
1265 Only cast to unsigned char whenever dereferencing Extbyte *.
1267 (struct lrecord_description fcd_description_1): Use countof.
1268 (complex_vars_of_file_coding):
1269 Use countof instead of sizeof.
1270 Use CHECK_NATNUM instead of CHECK_INT.
1272 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1274 * mule-charset.c (Fget_char_attribute): Add new optional argument
1276 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1277 (remove_char_ccs): Likewise.
1279 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1281 * text-coding.c (char_encode_shift_jis): New implementation in
1283 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1286 * mule-charset.c (Vcharset_chinese_big5): New variable in
1288 (Qchinese_big5): New variable in UTF-2000.
1289 (BIG5_SAME_ROW): New macro in UTF-2000.
1290 (make_builtin_char): Use builtin characters of
1291 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1292 characters of `Vcharset_chinese_big5'.
1293 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1294 (complex_vars_of_mule_charset): Add new coded-charset
1295 `chinese-big5' in UTF-2000.
1297 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1298 (Vcharset_chinese_big5): New external variable declaration.
1299 (Vcharset_japanese_jisx0208_1990): Likewise.
1301 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1303 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1305 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1307 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1309 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1310 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1311 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1314 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1316 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1318 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1320 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1323 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1325 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1326 for `CHARSET_BY_ATTRIBUTES'.
1327 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1328 `CHARSET_BY_ATTRIBUTES'.
1330 * text-coding.c (struct decoding_stream): Rename member `CH' to
1332 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1333 (decode_coding_sjis): Likewise.
1334 (decode_coding_big5): Likewise.
1335 (decode_coding_ucs4): Likewise.
1336 (decode_coding_utf8): Likewise.
1337 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1338 `CHARSET_BY_ATTRIBUTES'.
1339 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1340 `str->counter'; decode 3, 4 bytes sets.
1341 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1343 (decode_coding_no_conversion): Use `str->cpos' instead of
1346 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1347 (Qmojikyo_2022_1): New variable.
1348 (make_charset): Don't use `CHARSET_TYPE_*'.
1349 (range_charset_code_point): Support coded-charset
1351 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1352 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1353 `CHARSET_BY_ATTRIBUTES'.
1354 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1355 `CHARSET_BY_ATTRIBUTES'.
1356 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1357 (complex_vars_of_mule_charset): Add new coded-charset
1360 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1361 interface; changed to inline function.
1363 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1364 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1365 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1366 (CHARSET_TYPE_94): Deleted.
1367 (CHARSET_TYPE_94X94): Deleted.
1368 (CHARSET_TYPE_96): Deleted.
1369 (CHARSET_TYPE_96X96): Deleted.
1370 (CHARSET_TYPE_128): Deleted.
1371 (CHARSET_TYPE_128X128): Deleted.
1372 (CHARSET_TYPE_256): Deleted.
1373 (CHARSET_TYPE_256X256): Deleted.
1374 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1376 (DECODE_MOJIKYO_2022): New inline function.
1377 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1378 `Vcharset_mojikyo_2022_1'.
1380 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1382 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1384 (put_byte_table): Likewise.
1385 (char_id_table_equal): Use `get_byte_table' [new implementation].
1387 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1389 * mule-charset.c: Include <limits.h> in UTF-2000.
1390 (BT_UINT8_MIN): New macro in UTF-2000.
1391 (BT_UINT8_MAX): New macro in UTF-2000.
1392 (BT_UINT8_t): New macro in UTF-2000.
1393 (BT_UINT8_nil): New macro in UTF-2000.
1394 (BT_UINT8_unbound): New macro in UTF-2000.
1395 (INT_UINT8_P): New inline function in UTF-2000.
1396 (UINT8_VALUE_P): New inline function in UTF-2000.
1397 (UINT8_ENCODE): New inline function in UTF-2000.
1398 (UINT8_DECODE): New inline function in UTF-2000.
1399 (mark_uint8_byte_table): New function in UTF-2000.
1400 (print_uint8_byte_table): New function in UTF-2000.
1401 (uint8_byte_table_equal): New function in UTF-2000.
1402 (uint8_byte_table_hash): New function in UTF-2000.
1403 (make_uint8_byte_table): New function in UTF-2000.
1404 (uint8_byte_table_same_value_p): New function in UTF-2000.
1405 (BT_UINT16_MIN): New macro in UTF-2000.
1406 (BT_UINT16_MAX): New macro in UTF-2000.
1407 (BT_UINT16_t): New macro in UTF-2000.
1408 (BT_UINT16_nil): New macro in UTF-2000.
1409 (BT_UINT16_unbound): New macro in UTF-2000.
1410 (INT_UINT16_P): New inline function in UTF-2000.
1411 (UINT16_VALUE_P): New inline function in UTF-2000.
1412 (UINT16_ENCODE): New inline function in UTF-2000.
1413 (UINT16_DECODE): New inline function in UTF-2000.
1414 (UINT8_TO_UINT16): New inline function in UTF-2000.
1415 (mark_uint16_byte_table): New function in UTF-2000.
1416 (print_uint16_byte_table): New function in UTF-2000.
1417 (uint16_byte_table_equal): New function in UTF-2000.
1418 (uint16_byte_table_hash): New function in UTF-2000.
1419 (make_uint16_byte_table): New function in UTF-2000.
1420 (uint16_byte_table_same_value_p): New function in UTF-2000.
1421 (print_byte_table): New function in UTF-2000.
1422 (byte-table): Use `print_byte_table' as printer.
1423 (make_byte_table): Delete second argument `older'.
1424 (byte_table_same_value_p): New function in UTF-2000.
1425 (copy_byte_table): Deleted.
1426 (get_byte_table): New function in UTF-2000.
1427 (put_byte_table): New function in UTF-2000.
1428 (print_char_id_table): New function in UTF-2000.
1429 (char-id-table): Use `print_char_id_table' as printer.
1430 (make_char_id_table): Delete second argument `older'.
1431 (get_char_id_table): Use `get_byte_table [new implementation].
1432 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1434 (Ffind_char_attribute_table): New function in UTF-2000.
1435 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1436 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1437 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1438 (syms_of_mule_charset): Add new function
1439 `find-char-attribute-table' in UTF-2000.
1441 * lrecord.h (enum lrecord_type): Add
1442 `lrecord_type_uint16_byte_table' and
1443 `lrecord_type_uint8_byte_table'.
1445 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1446 (Lisp_Uint8_Byte_Table): New type.
1447 (XUINT8_BYTE_TABLE): New macro.
1448 (XSETUINT8_BYTE_TABLE): New macro.
1449 (UINT8_BYTE_TABLE_P): New macro.
1450 (GC_UINT8_BYTE_TABLE_P): New macro.
1451 (struct Lisp_Uint16_Byte_Table): New structure.
1452 (Lisp_Uint16_Byte_Table): New type.
1453 (XUINT16_BYTE_TABLE): New macro.
1454 (XSETUINT16_BYTE_TABLE): New macro.
1455 (UINT16_BYTE_TABLE_P): New macro.
1456 (GC_UINT16_BYTE_TABLE_P): New macro.
1458 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1460 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1461 (Vcharacter_ideographic_strokes_table): Deleted.
1462 (Vcharacter_total_strokes_table): Deleted.
1463 (Vcharacter_morohashi_daikanwa_table): Deleted.
1464 (Vcharacter_decomposition_table): Deleted.
1465 (Qname): Deleted because it is duplicated.
1466 (Qideographic_radical): Deleted.
1467 (Qideographic_strokes): Deleted.
1468 (Qtotal_strokes): Deleted.
1469 (Qmorohashi_daikanwa): Deleted.
1470 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1471 `ideographic-radical', `ideographic-strokes', `total-strokes',
1472 `morohashi-daikanwa' and `->decomposition'.
1473 (Fget_char_attribute): Likewise.
1474 (Fput_char_attribute): Likewise; use `make-vector' instead of
1475 `make_older_vector' for `->decomposition' value.
1476 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1477 `ideograph-daikanwa'.
1478 (syms_of_mule_charset): Delete builtin symbols `name',
1479 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1480 `morohashi-daikanwa'.
1481 (vars_of_mule_charset): Don't setup
1482 `Vcharacter_ideographic_radical_table',
1483 `Vcharacter_ideographic_strokes_table',
1484 `Vcharacter_total_strokes_table',
1485 `Vcharacter_morohashi_daikanwa_table' and
1486 `Vcharacter_decomposition_table'.
1488 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1490 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1491 `make_older_vector', `make_vector_newer_1' and
1492 `make_vector_newer'.
1494 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1495 `make_older_vector' and `make_vector_newer'.
1497 * config.h.in (HAVE_GGC): New macro.
1499 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1501 * mule-charset.c (struct char_attribute_list_closure): New
1502 structure in UTF-2000.
1503 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1504 (Fchar_attribute_list): Likewise.
1505 (Fset_charset_mapping_table): Use `make_vector_newer'.
1506 (Fdecode_builtin_char): New function in UTF-2000.
1507 (syms_of_mule_charset): Add new function `char-attribute-list' and
1508 `decode-builtin-char' in UTF-2000.
1510 * lisp.h (make_vector_newer): New prototype.
1512 * alloc.c (make_vector_newer_1): New function.
1513 (make_vector_newer): New function.
1515 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1517 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1520 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1522 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1523 (Vcharacter_attribute_table): Deleted.
1524 (Vcharacter_name_table): Deleted.
1525 (put_char_attribute): Deleted.
1526 (remove_char_attribute): Deleted.
1527 (struct char_attribute_alist_closure): New structure.
1528 (add_char_attribute_alist_mapper): New function.
1529 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1530 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1531 (Fget_char_attribute): Likewise.
1532 (Fput_char_attribute): Likewise.
1533 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1534 of `remove_char_attribute'.
1535 (Fdefine_char): Return character.
1536 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1537 and `Vcharacter_name_table'.
1538 (complex_vars_of_mule_charset): Likewise
1539 `Vchar_attribute_hash_table'.
1541 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1543 * character.h (CHARC_CHARSET): New macro.
1544 (CHARC_CHARSET_ID): New macro.
1545 (CHARC_CODE_POINT): New macro.
1546 (CHARC_COLUMNS): New macro.
1547 (CHARC_TO_CHAR): New inline function.
1548 (CHARC_EQ): New inline function.
1549 (CHARC_ASCII_EQ): New inline function.
1550 (CHARC_IS_SPACE): New inline function.
1551 (ASCII_TO_CHARC): New inline function.
1553 * char-ucs.h (encode_char_2): Deleted.
1554 (ENCODE_CHAR): Use `encode_char_1' again.
1555 (breakup_char_1): Likewise.
1556 (CHAR_TO_CHARC): New inline function.
1558 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1560 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1562 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1563 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1564 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1565 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1566 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1568 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1570 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1572 (x_output_display_block): Use `CHARC_CHARSET' and
1575 * redisplay-tty.c (tty_output_display_block): Use
1577 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1579 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1581 * insdel.c (find_charsets_in_charc_string): Use
1583 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1584 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1585 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1586 (convert_charc_string_into_malloced_string): Likewise.
1588 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1590 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1591 instead of <Emchar_dynarr *> for buf; use
1592 `convert_bufbyte_string_into_charc_dynarr' instead of
1593 `convert_bufbyte_string_into_emchar_dynarr'; use
1594 `find_charsets_in_charc_string' instead of
1595 `find_charsets_in_emchar_string'.
1598 - Include "character.h".
1599 (struct rune): New member `cglyph'; delete member `chr'.
1601 * redisplay.c (redisplay_text_width_charc_string): New function;
1602 delete `redisplay_text_width_emchar_string'.
1603 (rtw_charc_dynarr): New variable; renamed from
1604 `rtw_emchar_dynarr'.
1605 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
1606 `rtw_emchar_dynarr'; use
1607 `convert_bufbyte_string_into_charc_dynarr' instead of
1608 `convert_bufbyte_string_into_emchar_dynarr'; use
1609 `redisplay_text_width_charc_string' instead of
1610 `redisplay_text_width_emchar_string'.
1611 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1612 instead of `rtw_emchar_dynarr'; use
1613 `convert_bufbyte_string_into_charc_dynarr' instead of
1614 `convert_bufbyte_string_into_emchar_dynarr'.
1615 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1616 `redisplay_text_width_charc_string' instead of
1617 `redisplay_text_width_emchar_string'.
1618 (create_text_block): Modify for <struct rune> change.
1619 (generate_formatted_string_db): Likewise.
1620 (create_string_text_block): Likewise.
1621 (pixel_to_glyph_translation): Likewise.
1623 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
1624 instead of <const Emchar *>.
1625 (x_text_width): Likewise.
1626 (x_output_display_block): Use <Charc_dynarr *> instead
1627 <Emchar_dynarr *>; modify for <structure rune> change.
1628 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
1631 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
1632 <const Emchar *>; use `charc_string_displayed_columns' instead of
1633 `emchar_string_displayed_columns'.
1634 (tty_output_display_block): Use <Charc_dynarr *> instead of
1635 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
1636 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
1637 (tty_output_charc_dynarr_dynarr): New variable; renamed from
1638 `tty_output_emchar_dynarr_dynarr'.
1639 (tty_output_charc_dynarr): New function; delete
1640 `tty_output_charc_dynarr'.
1642 * redisplay-output.c (compare_runes): Modify for `struct rune'.
1643 (redisplay_output_layout): Use <Charc_dynarr *> instead of
1644 <Emchar_dynarr *> for buf; use
1645 `convert_bufbyte_string_into_charc_dynarr' instead of
1646 `convert_bufbyte_string_into_emchar_dynarr'.
1648 * frame.c (title_string_charc_dynarr): New variable; renamed from
1649 `title_string_emchar_dynarr'.
1650 (generate_title_string): Use `title_string_charc_dynarr' instead
1651 of `title_string_emchar_dynarr'; use
1652 `convert_charc_string_into_malloced_string' instead of
1653 `convert_emchar_string_into_malloced_string'.
1654 (init_frame): Use `title_string_charc_dynarr' instead of
1655 `title_string_emchar_dynarr'.
1658 - Include "character.h".
1659 (struct console_methods): Use <const Charc *> instead of <const
1660 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
1661 <Emchar_dynarr *> in output_string_method.
1663 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
1666 * console-stream.c (stream_text_width): Use <const Charc *>
1667 instead of <const Emchar *>.
1669 * character.h (Charc_dynarr): New type.
1671 * char-ucs.h (structure Charc): New structure; define new type
1674 * char-lb.h (DECODE_CHAR): New inline function.
1675 (encode_char_1): New inline function.
1676 (ENCODE_CHAR): New macro.
1677 (structure Charc): New structure; define new type `Charc'.
1679 * char-1byte.h (Vcharset_control_1): New macro.
1680 (Vcharset_latin_iso8859_1): New macro.
1681 (DECODE_CHAR): New inline function.
1682 (encode_char_1): New inline function.
1683 (ENCODE_CHAR): New macro.
1684 (structure Charc): New structure; define new type `Charc'.
1686 * insdel.c (find_charsets_in_charc_string): New function; delete
1687 `find_charsets_in_emchar_string'.
1688 (charc_string_displayed_columns): New function; delete
1689 `emchar_string_displayed_columns'.
1690 (convert_bufbyte_string_into_charc_dynarr): New function; delete
1691 `convert_bufbyte_string_into_emchar_dynarr'.
1692 (convert_charc_string_into_bufbyte_dynarr): New function; delete
1693 `convert_charc_string_into_bufbyte_dynarr'.
1694 (convert_charc_string_into_malloced_string): New function; delete
1695 `convert_charc_string_into_malloced_string'.
1697 * buffer.h (find_charsets_in_charc_string): New prototype; delete
1698 `find_charsets_in_emchar_string'.
1699 (charc_string_displayed_columns): New prototype; delete
1700 `emchar_string_displayed_columns'.
1701 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
1702 `convert_charc_string_into_bufbyte_dynarr'.
1703 (convert_charc_string_into_malloced_string): New prototype; delete
1704 `convert_charc_string_into_malloced_string'.
1706 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1708 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
1710 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1712 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
1714 * char-ucs.h: Use <short> for <Charset_ID>.
1716 * mule-charset.h, char-1byte.h: Use <unsigned char> for
1719 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1721 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1724 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1726 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
1728 (Qmorohashi_daikanwa): New variable.
1729 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
1730 for `morohashi-daikanwa' attribute.
1731 (Fget_char_attribute): Likewise.
1732 (Fput_char_attribute): Likewise.
1733 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
1734 has the same value of `ideograph-daikanwa'.
1735 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
1736 (vars_of_mule_charset): Setup
1737 `Vcharacter_morohashi_daikanwa_table'.
1739 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1741 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
1743 (add_charset_to_list_mapper): Add `key' instead of
1744 `XCHARSET_NAME (value)' to return aliases.
1746 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1748 * mule-charset.c (Vcharacter_ideographic_radical_table): New
1750 (Vcharacter_ideographic_strokes_table): New variable.
1751 (Qideographic_radical): New variable.
1752 (Qideographic_strokes): New variable.
1753 (Fchar_attribute_alist): Use
1754 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
1755 attribute; use `Vcharacter_ideographic_strokes_table' for
1756 `ideographic-strokes' attribute.
1757 (Fget_char_attribute): Likewise.
1758 (Fput_char_attribute): Likewise.
1759 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
1760 `ideographic-strokes'.
1761 (vars_of_mule_charset): Setup
1762 `Vcharacter_ideographic_radical_table' and
1763 `Vcharacter_ideographic_strokes_table'.
1765 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1767 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
1768 (Qtotal_strokes): New variable.
1769 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
1770 `total-strokes' attribute.
1771 (Fget_char_attribute): Likewise.
1772 (Fput_char_attribute): Likewise.
1773 (syms_of_mule_charset): Add new symbol `total-strokes'.
1774 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
1776 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1778 * mule-charset.c (Vcharacter_decomposition_table): New variable.
1779 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
1781 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
1782 `->decomposition' attribute.
1783 (Fput_char_attribute): Likewise.
1784 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
1786 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1788 * mule-charset.c (decoding_table_check_elements): New function.
1789 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
1791 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1793 * mule-charset.c (Fset_charset_mapping_table): Use
1794 `put_char_ccs_code_point'.
1796 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1798 * mule-charset.c (decoding_table_put_char): New inline function.
1799 (put_char_ccs_code_point): Use `decoding_table_put_char'.
1801 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1803 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
1804 (XCHARSET_BYTE_SIZE): New macro.
1805 (decoding_table_remove_char): New inline function.
1806 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
1807 `decoding_table_remove_char'.
1808 (remove_char_ccs): Use `decoding_table_remove_char'.
1809 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
1811 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1813 * mule-charset.c (Vcharacter_name_table): New variable.
1814 (Qname): New variable.
1815 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
1817 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
1818 `Vcharacter_name_table' for `name' attribute.
1819 (Fremove_char_attribute): Use function `remove_char_ccs'.
1820 (put_char_ccs_code_point): New function.
1821 (remove_char_ccs): New function.
1822 (syms_of_mule_charset): Add new symbol `name'.
1823 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
1825 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1827 * mule-charset.c (make_byte_table): Add new argument `older'.
1828 (make_char_id_table): Likewise.
1829 (copy_char_id_table): Comment out because it is not used.
1830 (put_char_id_table): Modify for `make_byte_table'.
1831 (Fput_char_attribute): Make encoding_table as older object;
1832 inherit older bit of `Vcharacter_composition_table'.
1833 (mark_charset): Don't mark `cs->encoding_table'.
1834 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
1835 normal object; make `Vcharacter_composition_table' as an older
1836 object; delete staticpro for `Vcharacter_composition_table'; make
1837 `Vcharacter_variant_table' as a normal object.
1839 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
1840 (mark_object): Don't check older object in UTF-2000.
1842 * lrecord.h (struct lrecord_header): Add new member `older' in
1844 (set_lheader_implementation): Setup `SLI_header->older' in
1846 (set_lheader_older_implementation): New macro in UTF-2000.
1847 (OLDER_RECORD_P): New macro in UTF-2000.
1848 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
1849 (alloc_older_lcrecord): New prototype in UTF-2000.
1850 (alloc_older_lcrecord_type): New macro in UTF-2000.
1852 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1854 * mule-charset.c (byte_table_description): Use
1855 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
1856 (char_id_table_description): Delete bogus `, 1'.
1857 (Fget_char_attribute): Refer encoding_table of each coded-charset
1858 to get value of coded-charset attribute of a character.
1859 (Fput_char_attribute): Use `make_older_vector' instead of
1860 `make_vector'; use encoding_table of each coded-charset to store
1861 value of coded-charset attribute of a character.
1862 (Fremove_char_attribute): Use encoding_table of each coded-charset
1863 to store value of coded-charset attribute of a character.
1864 (mark_charset): Mark `cs->encoding_table'; don't mark
1865 `cs->decoding_table'.
1866 (charset_description): Add description of new member
1868 (make_charset): Initialize `encoding_table'.
1870 * char-ucs.h (struct Lisp_Charset): Add new member
1872 (CHARSET_ENCODING_TABLE): New macro.
1873 (XCHARSET_ENCODING_TABLE): New macro.
1874 (charset_code_point): New implementation.
1875 (encode_char_1): Likewise.
1877 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
1878 (disksave_object_finalization_1): Call finalizers of
1879 `all_older_lcrecords' in UTF-2000.
1880 (make_older_vector): New function in UTF-2000.
1881 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
1884 * lisp.h (make_older_vector): New prototype in UTF-2000.
1886 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1888 * lrecord.h (enum lrecord_type): Rename
1889 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
1891 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
1892 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
1893 `get_char_code_table'.
1895 * mule-charset.c (mark_char_id_table): Renamed from
1896 `mark_char_code_table'.
1897 (char_id_table_equal): Renamed from `char_code_table_equal'.
1898 (char_id_table_hash): Renamed from `char_code_table_hash'.
1899 (make_char_id_table): Renamed from `make_char_code_table'.
1900 (copy_char_id_table): Renamed from `copy_char_code_table'.
1901 (get_char_id_table): Renamed from `get_char_code_table'.
1902 (put_char_id_table): Renamed from `put_char_code_table'.
1903 (to_char_id): Renamed from `to_char_code'.
1905 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
1906 `Lisp_Char_Code_Table'.
1907 (char_id_table): Renamed from `char_code_table'.
1908 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
1909 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
1910 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
1911 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
1912 (get_char_id_table): Renamed from `get_char_code_table'.
1914 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1916 * lrecord.h (enum lrecord_type): Rename
1917 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
1919 * mule-charset.c (mark_byte_table): Renamed from
1920 `mark_char_byte_table'.
1921 (byte_table_equal): Renamed from `char_byte_table_equal'.
1922 (byte_table_hash): Renamed from `byte_table_hash'.
1923 (make_byte_table): Renamed from `make_byte_table'.
1924 (copy_byte_table): Renamed from `copy_char_byte_table'.
1926 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
1927 `Lisp_Char_Byte_Table'.
1928 (byte_table): Renamed from `char_byte_table'.
1929 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
1930 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
1931 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
1932 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
1934 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1936 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
1937 (dfc_convert_to_internal_format): Likewise.
1939 * text-coding.c (Fcoding_system_canonical_name_p): New function.
1940 * text-coding.c (Fcoding_system_alias_p): New function.
1941 * text-coding.c (Fcoding_system_aliasee): New function.
1942 * text-coding.c (append_suffix_to_symbol): New function.
1943 * text-coding.c (dangling_coding_system_alias_p): New function.
1944 * text-coding.c (Ffind_coding_system):
1945 * text-coding.c (Fcopy_coding_system):
1946 * text-coding.c (encode_coding_no_conversion):
1947 * text-coding.c (syms_of_file_coding):
1948 * text-coding.c (vars_of_file_coding):
1949 Rewrite coding system alias code.
1950 Allow nested aliases, like symbolic links.
1951 Allow redefinition of coding system aliases.
1952 Prevent existence of dangling coding system aliases.
1953 Eliminate convert_to_external_format.
1954 Eliminate convert_to_internal_format.
1956 * text-coding.c: Change enum eol_type to eol_type_t.
1958 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1960 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
1961 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
1963 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
1964 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
1966 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1968 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
1969 `ideograph-daikanwa'.
1971 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
1972 (Vcharset_ucs_bmp): Likewise.
1973 (Vcharset_mojikyo): Add new extern variable definition.
1974 (Vcharset_latin_iso8859_2): Deleted because it is not used.
1975 (Vcharset_latin_iso8859_3): Likewise.
1976 (Vcharset_latin_iso8859_4): Likewise.
1977 (Vcharset_latin_iso8859_9): Likewise.
1978 (Vcharset_latin_viscii_lower): Likewise.
1979 (Vcharset_latin_viscii_upper): Likewise.
1980 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
1981 `mojikyo' code-point is used to decode.
1982 (encode_char_2): New function [to convert `mojikyo' code-point to
1983 Mojikyo font encoding].
1984 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
1985 (breakup_char_1): Likewise.
1986 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
1988 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1990 * text-coding.c (Fmake_coding_system): Add document about
1991 `disable-composition' property.
1993 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1995 * text-coding.c (Qdisable_composition): New variable; delete
1997 (Fmake_coding_system): Add new property `disable-composite';
1998 delete property `composite'.
1999 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2000 instead of `!CODING_SYSTEM_COMPOSITE'.
2001 (syms_of_file_coding): Add new symbol `disable-composition';
2002 delete symbol `composite'.
2004 * file-coding.h (struct Lisp_Coding_System): Add
2005 `disable_composition'; delete `enable_composition'.
2006 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2007 `CODING_SYSTEM_COMPOSITE'.
2008 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2009 `XCODING_SYSTEM_COMPOSITE'.
2011 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2013 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2016 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2018 * text-coding.c (Qcomposite): New variable.
2019 (Fmake_coding_system): Add new property `composite'.
2020 (struct decoding_stream): Add `combined_char_count',
2021 `combined_chars' and `combining_table' in UTF-2000.
2022 (COMPOSE_FLUSH_CHARS): New macro.
2023 (COMPOSE_ADD_CHAR): New macro.
2024 (reset_decoding_stream): Reset `str->combined_char_count' and
2025 `str->combining_table' in UTF-2000.
2026 (decode_coding_iso2022): Modify for character-decomposition.
2027 (syms_of_file_coding): Add new symbol `composite'.
2029 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2031 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2032 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2033 of `Vcharacter_composition_table' if `->decomposition' property
2035 (Qlatin_tcvn5712): New variable.
2036 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2037 (complex_vars_of_mule_charset): Add new coded-charset
2040 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2042 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2044 * file-coding.h (struct Lisp_Coding_System): Add
2045 `enable_composition'.
2046 (CODING_SYSTEM_COMPOSITE): New macro.
2047 (XCODING_SYSTEM_COMPOSITE): New macro.
2049 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2051 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2053 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2055 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2056 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2058 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2060 * mule-charset.c (Vcharset_mojikyo): New variable.
2061 (Fdefine_char): Don't use coded-charset which does not have
2062 non-builtin character range to allocate character-id.
2063 (Qmojikyo): New variable.
2064 (syms_of_mule_charset): Add new symbol `mojikyo'.
2065 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2067 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2068 (LEADING_BYTE_MOJIKYO): New macro.
2069 (MIN_CHAR_MOJIKYO): New macro.
2070 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2071 (MAX_CHAR_MOJIKYO): New macro.
2073 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2075 * mule-charset.c (remove_char_attribute): Fixed.
2077 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2079 * mule-charset.c (remove_char_attribute): New function.
2080 (Fremove_char_attribute): New function.
2081 (encode_builtin_char_1): Comment out builtin-support for
2082 greek-iso8859-7 and cyrillic-iso8859-5.
2083 (Fdecode_char): Check `code' is an integer.
2084 (syms_of_mule_charset): Add `remove-char-attribute'.
2085 (MIN_CHAR_GREEK): Deleted.
2086 (MAX_CHAR_GREEK): Likewise.
2087 (MIN_CHAR_CYRILLIC): Likewise.
2088 (MAX_CHAR_CYRILLIC): Likewise.
2089 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2090 MAX_CHAR_GREEK for `greek-iso8859-7'.
2092 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2093 (MAX_CHAR_GREEK): Likewise.
2094 (MIN_CHAR_CYRILLIC): Likewise.
2095 (MAX_CHAR_CYRILLIC): Likewise.
2097 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2099 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2100 format is used without `ucs' property.
2101 (Fdecode_char): Fix problem with GR representation.
2102 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2103 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2105 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2107 * mule-charset.c (make_builtin_char): New function.
2108 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2109 (Fset_charset_mapping_table): Modify for new representation of
2111 (Fdecode_char): New function.
2112 (syms_of_mule_charset): Add new builtin function `decode-char' in
2115 * char-ucs.h (make_builtin_char): New prototype.
2116 (DECODE_CHAR): New inline function.
2117 (MAKE_CHAR): Use `DECODE_CHAR'.
2119 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2121 * text-coding.c (parse_charset_conversion_specs): Use
2122 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2124 (iso2022_designate): Likewise.
2126 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2127 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2129 * mule-charset.c (Vcharset_ucs): New variable.
2130 (print_charset): Change design; use `CHARSET_CHARS' and
2131 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2132 (make_charset): Change signature to specify `chars' and
2133 `dimension' instead of `type'.
2134 (range_charset_code_point): Modify for 256^n-set.
2135 (encode_builtin_char_1): Encode as `ucs' in default.
2136 (Fmake_charset): Modify for `make_charset'.
2137 (Fmake_reverse_direction_charset): Likewise.
2138 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2140 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2143 * char-ucs.h (Vcharset_ucs): New variable.
2144 (LEADING_BYTE_UCS): New macro.
2145 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2146 and `chars' to `unsigned short' from `unsigned int'.
2147 (CHARSET_TYPE): Deleted.
2148 (XCHARSET_TYPE): Deleted.
2150 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2152 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2154 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2155 (ENCODE_CHAR): New macro.
2157 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2159 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2160 to 0.14 (Kawachi-Katakami).
2162 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2164 * text-coding.c (char_encode_shift_jis): Modify for
2165 `charset_code_point'.
2166 (char_encode_iso2022): Likewise.
2168 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2169 (integer) instead of list of <Lisp_Object>s (integers) as the
2170 format of code-point of a coded-charset.
2171 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2172 (encode_builtin_char_1): New function; delete
2173 `split_builtin_char'.
2174 (charset_code_point): Return <int> instead of <Lisp_Object>.
2175 (Fsplit_char): Don't use `SPLIT_CHAR'.
2177 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2178 prototype for `split_builtin_char'.
2179 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2180 (charset_code_point): Likewise.
2181 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2182 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2184 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2186 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2187 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2189 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2191 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2193 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2194 (MAX_CHAR_OBS_94x94): Deleted.
2196 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2198 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2200 * char-ucs.h (MAX_CHAR_BMP): New macro.
2202 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2204 * text-coding.c: Sync with r21-2-24.
2206 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2208 * file-coding.c: Modify for UTF-2000.
2210 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2212 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2215 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2217 * mule-charset.c (split_builtin_char): Delete builtin support for
2218 `katakana-jisx0201'.
2219 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2220 BMP area in builtin representation.
2222 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2223 `Vcharset_katakana_jisx0201'.
2225 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2227 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2228 (Qisolated): New variable.
2229 (Qinitial): New variable.
2230 (Qmedial): New variable.
2231 (Qfinal): New variable.
2232 (Qvertical): New variable.
2233 (Qsmall): New variable.
2234 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2235 `Qvertical' and `Qsmall'.
2236 (Qmojikyo_pj_[1 .. 21]): New variable.
2237 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2238 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2239 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2242 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2244 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2245 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2246 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2248 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2250 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2251 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2253 (Qjapanese_jisx0208_1990): New variable.
2254 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2255 (complex_vars_of_mule_charset): Add new coded-charset
2256 `japanese-jisx0208-1990'.
2258 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2259 (MIN_CHAR_JIS_X0208_1990): New macro.
2260 (MAX_CHAR_JIS_X0208_1990): New macro.
2262 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2264 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2265 coded-charset is not found.
2267 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2269 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2270 (Fdefine_char): Use `Fmake_char'.
2272 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2274 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2275 (Vcharset_hiragana_jisx0208): Deleted.
2276 (Vcharset_katakana_jisx0208): Deleted.
2277 (Qideograph_daikanwa): New variable.
2278 (Qhiragana_jisx0208): Deleted.
2279 (Qkatakana_jisx0208): Deleted.
2280 (split_builtin_char): Split `ideograph-daikanwa'.
2281 (Fsplit_char): New implementation for UTF-2000.
2282 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2283 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2284 (complex_vars_of_mule_charset): Add new coded-charset
2285 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2286 `katakana-jisx0208'.
2288 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2289 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2290 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2291 (MIN_CHAR_DAIKANWA): New macro.
2292 (MAX_CHAR_DAIKANWA): New macro.
2294 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2296 * data.c (Fstring_to_number): Don't recognize floating point if
2299 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2301 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2303 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2305 * mule-charset.c (Qsquare): New variable.
2306 (to_char_code): Add `Qsquare'.
2307 (syms_of_mule_charset): Add new symbol `square'.
2309 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2311 * mule-charset.c (Qcircle): New variable.
2312 (to_char_code): Add `Qcircle'.
2313 (syms_of_mule_charset): Add new symbol `circle'.
2315 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2317 * mule-charset.c (Qfont): New variable.
2318 (to_char_code): Add `Qfont'.
2319 (syms_of_mule_charset): Add new symbol `font'.
2321 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2323 * mule-charset.c (Qsub): New variable.
2324 (to_char_code): Add `Qsub'.
2325 (syms_of_mule_charset): Add new symbol `sub'.
2327 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2329 * mule-charset.c (Fput_char_attribute): Convert each element of
2330 VALUE to GL position if ATTRIBUTE is a GR-set,
2332 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2334 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2335 coded-charset is a GR-set.
2337 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2339 * mule-charset.c (Fput_char_attribute): Check each element of
2340 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2342 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2344 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2346 (Qethiopic_ucs): New variable in UTF-2000.
2347 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2348 (complex_vars_of_mule_charset): Add new coded-charset
2349 `ethiopic-ucs' in UTF-2000.
2351 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2352 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2354 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2356 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2358 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2360 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2363 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2365 * mule-charset.c (Vcharacter_variant_table): New variable.
2366 (Q_ucs): New variable.
2367 (Fchar_variants): New function.
2368 (Fput_char_attribute): Register `->ucs' value to
2369 `Vcharacter_variant_table'.
2370 (syms_of_mule_charset): Add new function `char-variants' and new
2372 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2374 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2376 * mule-charset.c (get_char_code_table): Allow negative character
2378 (put_char_code_table): Likewise.
2379 (Vcharacter_composition_table): New variable.
2380 (Q_decomposition): New variable.
2381 (Qwide): New variable.
2382 (Qnarrow): New variable.
2383 (Qcompat): New variable.
2384 (QnoBreak): New variable.
2385 (Qsuper): New variable.
2386 (Qfraction): New variable.
2387 (to_char_code): New function.
2388 (Fget_composite_char): New function.
2389 (Fput_char_attribute): Register `->decomposition' value to
2390 `Vcharacter_composition_table'.
2391 (syms_of_mule_charset): Add new function `get-composite-char', new
2392 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2393 `super' and `fraction'.
2394 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2396 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2398 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2399 character; copy the return value.
2401 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2403 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2405 * mule-charset.c (range_charset_code_point): Must use make_int.
2406 (split_builtin_char): New function.
2408 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2410 * mule-charset.c (char_byte_table): Change name from
2411 "char-code-table" to "char-byte-table".
2412 (mark_char_code_table): New function.
2413 (char_code_table_equal): New function.
2414 (char_code_table_hash): New function.
2415 (char_code_table_description): New constant.
2416 (char_code_table): New type.
2417 (make_char_code_table): New function.
2418 (copy_char_code_table): New function.
2419 (get_char_code_table): Modify for `char_code_table' type.
2420 (put_char_code_table): Likewise.
2421 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2424 * char-ucs.h (char_code_table): New type.
2425 (XCHAR_CODE_TABLE): New macro.
2426 (XSETCHAR_CODE_TABLE): New macro.
2427 (CHAR_CODE_TABLE_P): New macro.
2428 (GC_CHAR_CODE_TABLE_P): New macro.
2429 (struct Lisp_Char_Code_Table): New structure.
2431 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2433 * mule-charset.c (Fmake_charset): Setup byte_offset for
2436 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2438 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2441 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2443 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2446 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2448 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2449 charset, it is regarded as a charset.
2450 (put_char_attribute): New function in UTF-2000.
2451 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2452 charset, mapping-table of the charset is modified.
2453 (Fdefine_char): New function in UTF-2000.
2454 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2455 `Fput_char_attribute'.
2456 (syms_of_mule_charset): Add new function `define-char' and new
2457 symbol `ucs' in UTF-2000.
2458 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2460 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2462 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2463 non-UTF-2000 configuration.
2465 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2467 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2468 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2470 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2472 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2473 (Fset_charset_mapping_table): Likewise.
2475 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2476 (CHARSET_ENCODING_TABLE): Delete.
2477 (XCHARSET_ENCODING_TABLE): Delete.
2478 (charset_code_point): New interface.
2480 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2482 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2483 instead of `charset_get_byte1' and `charset_get_byte2'.
2485 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2486 (charset_get_byte2): Deleted.
2488 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2490 * char-ucs.h (SPLIT_CHAR): New inline function.
2491 (breakup_char_1): Use `SPLIT_CHAR'.
2493 * mule-charset.c (range_charset_code_point): New function.
2494 (charset_code_point): New function.
2496 * char-ucs.h (range_charset_code_point): New interface.
2497 (breakup_char_1): Use `range_charset_code_point'.
2499 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2501 * mule-charset.c (Fmake_charset): Delete unused local variable
2504 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2505 (breakup_char_1): Find a charset and code-point in
2506 `Vcharacter_attribute_table'.
2508 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2510 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2513 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2515 * mule-charset.c (Vcharacter_attribute_table): New variable.
2516 (Fchar_attribute_alist): New function.
2517 (Fget_char_attribute): New function.
2518 (Fput_char_attribute): New function.
2519 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2521 (syms_of_mule_charset): Add new function `char-attribute-alist',
2522 `get-char-attribute' and `put-char-attribute'.
2523 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2525 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2527 * mule-charset.c (Fmake_charset): Just use
2528 `get_unallocated_leading_byte'.
2530 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2531 sets; don't use final-byte based number for private sets.
2533 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2535 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2538 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2540 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2543 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2545 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2546 of `CHAR_LEADING_BYTE' in UTF-2000.
2548 * insdel.c (find_charsets_in_bufbyte_string): Use
2549 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2550 (find_charsets_in_emchar_string): Likewise.
2552 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2553 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2555 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2556 (CHAR_CHARSET_ID): New macro.
2558 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2560 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2561 charset-id - MIN_LEADING_BYTE.
2562 (put_char_table): Likewise.
2564 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2566 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2567 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2568 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2569 (CHARSET_ID_OFFSET): New macro.
2570 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2571 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2572 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2573 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2575 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2577 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2578 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2579 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2580 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2581 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2583 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2585 * mule-charset.c (next_allocated_leading_byte): New variable in
2587 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2588 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2589 (get_unallocated_leading_byte): Simply use
2590 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2591 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2594 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2595 (MAX_LEADING_BYTE_PRIVATE): New macro.
2596 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2597 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2599 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2601 * mule-charset.c (Fmake_charset): Allocate final-byte based
2602 charset-id for 94-set, 96-set and 94x94-set.
2604 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2606 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
2608 (Fmake_charset): Likewise.
2609 (complex_vars_of_mule_charset): Modify the font registry of
2610 `ucs-bmp' not to match `Ethiopic-Unicode'.
2612 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2614 * mule-charset.c (complex_vars_of_mule_charset): Add font
2615 registory of `ucs-bmp'.
2617 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2619 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2620 coded-charsets in `default-coded-charset-priority-list' when
2621 breaking up a character.
2623 * mule-charset.c (Vcharset_latin_viscii): New variable.
2624 (Qlatin_viscii): New variable.
2625 (make_charset): Don't use `decoding_table'.
2626 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
2628 (Fset_charset_mapping_table): New implementation.
2629 (syms_of_mule_charset): Add new symbol `latin-viscii'.
2630 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
2631 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
2632 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
2633 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
2634 charset `latin_viscii'.
2636 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
2637 (CHARSET_TYPE_94X94): Change to 1 from 2.
2638 (CHARSET_TYPE_96): Change to 2 from 1.
2639 (CHARSET_TYPE_128): New macro.
2640 (CHARSET_TYPE_128X128): Change to 5 from 4.
2641 (CHARSET_TYPE_256): New macro.
2642 (CHARSET_TYPE_256X256): Change to 7 from 5.
2643 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
2645 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2647 * text-coding.c (char_encode_shift_jis): Refer
2648 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
2649 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
2651 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
2652 (char_byte_table_equal): New function in UTF-2000.
2653 (char_byte_table_hash): New function in UTF-2000.
2654 (char_byte_table_description): New constant in UTF-2000.
2655 (char_byte_table): New type in UTF-2000.
2656 (make_char_byte_table): New function in UTF-2000.
2657 (copy_char_byte_table): New function in UTF-2000.
2658 (make_char_code_table): New macro in UTF-2000.
2659 (get_char_code_table): New function in UTF-2000.
2660 (put_char_code_table): New function in UTF-2000.
2661 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2662 (charset_description): Add setting in UTF-2000.
2663 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
2664 `CHARSET_TO_BYTE1_TABLE(cs)'.
2665 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
2666 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
2667 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
2668 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
2669 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
2670 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
2671 `CHARSET_TO_BYTE2_TABLE(cs)'.
2673 * char-ucs.h (char_byte_table): New type.
2674 (XCHAR_BYTE_TABLE): New macro.
2675 (XSETCHAR_BYTE_TABLE): New macro.
2676 (CHAR_BYTE_TABLE_P): New macro.
2677 (GC_CHAR_BYTE_TABLE_P): New macro.
2678 (struct Lisp_Char_Byte_Table): New structure.
2679 (get_char_code_table): New interface.
2680 (Emchar_to_byte_table): Deleted.
2681 (get_byte_from_character_table): Deleted.
2682 (struct Lisp_Charset): Add `encoding_table'; delete
2683 `to_byte1_table' and `to_byte2_table'.
2684 (CHARSET_ENCODING_TABLE): New macro.
2685 (CHARSET_TO_BYTE1_TABLE): Deleted.
2686 (CHARSET_TO_BYTE2_TABLE): Deleted.
2687 (XCHARSET_ENCODING_TABLE): New macro.
2688 (XCHARSET_TO_BYTE1_TABLE): Deleted.
2689 (XCHARSET_TO_BYTE2_TABLE): Deleted.
2691 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2693 * mule-charset.c (syms_of_mule_charset): Delete charset alias
2694 `vietnamese-viscii-*'.
2696 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2698 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
2699 (Qvietnamese_viscii_upper): New variable.
2700 (Fdefine_charset_alias): New function.
2701 (syms_of_mule_charset): Add new function `define-charset-alias'.
2702 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
2703 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
2706 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
2708 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
2709 (MAX_CHAR_OBS_94x94): New macro.
2710 (breakup_char_1): Support obsolete XEmacs-UCS private code space
2713 * mule-charset.c (put_byte_from_character_table): Change unit size
2715 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
2717 (Fmake_reverse_direction_charset): Modify dummy argument of
2718 `make_charset' for non-UTF-2000 environment.
2720 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2722 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
2724 * mule-charset.c (destroy_byte_from_character_table): New macro.
2725 (latin_jisx0201_to_ucs): Deleted.
2726 (latin_iso8859_2_to_ucs): Deleted.
2727 (latin_iso8859_3_to_ucs): Deleted.
2728 (latin_iso8859_4_to_ucs): Deleted.
2729 (latin_iso8859_9_to_ucs): Deleted.
2730 (latin_viscii_lower_to_ucs): Deleted.
2731 (latin_viscii_upper_to_ucs): Deleted.
2732 (mark_charset): Mark `cs->decoding_table'.
2733 (Fcharset_mapping_table): Fix DOC-string.
2734 (Fset_charset_mapping_table): New function.
2735 (syms_of_mule_charset): Add nwe function
2736 `set-charset-mapping-table'.
2737 (complex_vars_of_mule_charset): Don't setup and use
2740 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
2742 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
2745 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
2747 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
2748 (Vcharset_katakana_jisx0208): New variable.
2749 (Qhiragana_jisx0208): New variable.
2750 (Qkatakana_jisx0208): New variable.
2751 (make_charset): Add new argument `byte_offset'.
2752 (charset_get_byte1): Modify for new coded-charset definition; use
2753 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2754 `XCHARSET_BYTE_OFFSET'.
2755 (Fmake_charset): Modify for `make_charset'.
2756 (Fmake_reverse_direction_charset): Likewise.
2757 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
2758 `katakana-jisx0208'.
2759 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
2760 `.' in font registry of charset `katakana-jisx0201',
2761 `latin-jisx0201', `vietnamese-viscii-lower' and
2762 `vietnamese-viscii-upper'; modify DOC-string of charset
2763 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
2764 registry of charset `japanese-jisx0208' not to use font for JIS
2765 X0208:1990; add new charset `hiragana-jisx0208' and
2766 `katakana-jisx0208'.
2768 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
2769 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
2770 (struct Lisp_Charset): Add `byte_offset'.
2771 (CHARSET_BYTE_OFFSET): New macro.
2772 (XCHARSET_UCS_MIN): New macro.
2773 (XCHARSET_UCS_MAX): New macro.
2774 (XCHARSET_CODE_OFFSET): New macro.
2775 (XCHARSET_BYTE_OFFSET): New macro.
2776 (MIN_CHAR_HIRAGANA): New macro.
2777 (MAX_CHAR_HIRAGANA): New macro.
2778 (MIN_CHAR_KATAKANA): New macro.
2779 (MAX_CHAR_KATAKANA): New macro.
2780 (MAKE_CHAR): Modify for new coded-charset definition; use
2781 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2782 `XCHARSET_BYTE_OFFSET'.
2784 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2786 * mule-charset.c (CHAR96): Deleted.
2787 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
2789 (latin_iso8859_2_to_ucs): Likewise.
2790 (latin_iso8859_3_to_ucs): Likewise.
2791 (latin_iso8859_4_to_ucs): Likewise.
2792 (latin_iso8859_9_to_ucs): Likewise.
2793 (latin_viscii_lower_to_ucs): Likewise.
2794 (latin_viscii_upper_to_ucs): Likewise.
2795 (latin_tcvn5712_to_ucs): Commented out.
2796 (make_charset): Change type of argument `decoding_table' from
2797 <Emchar*> to <Lisp_Object> [vector of characters].
2798 (Fmake_charset): Modify for `make_charset'.
2799 (Fmake_reverse_direction_charset): Likewise.
2800 (Fcharset_mapping_table): New function in UTF-2000.
2801 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
2803 (complex_vars_of_mule_charset): Modify for type change of
2804 `*_to_ucs'; modify for `make_charset'.
2806 * char-ucs.h (struct Lisp_Charset): Change type of
2807 `decoding_table' from <Emchar*> to <Lisp_Object>.
2808 (MAKE_CHAR): Modify for new specification of `decoding_table'.
2810 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2812 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
2813 error with non-UTF-2000-Mule.
2815 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
2817 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
2819 (Vcharset_chinese_cns11643_4): Likewise.
2820 (Vcharset_chinese_cns11643_5): Likewise.
2821 (Vcharset_chinese_cns11643_6): Likewise.
2822 (Vcharset_chinese_cns11643_7): Likewise.
2823 (Qchinese_cns11643_3): Likewise.
2824 (Qchinese_cns11643_4): Likewise.
2825 (Qchinese_cns11643_5): Likewise.
2826 (Qchinese_cns11643_6): Likewise.
2827 (Qchinese_cns11643_7): Likewise.
2828 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
2829 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
2830 and `chinese-cns11643-7' to lisp/mule/chinese.el.
2831 (complex_vars_of_mule_charset): Likewise.
2833 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2835 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
2837 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
2838 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
2840 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2842 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
2844 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
2845 (breakup_char_1): Likewise.
2847 * text-coding.c (char_encode_iso2022): Keep designated charsets if
2848 one of them includes the specified character.
2850 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2852 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
2854 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2856 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
2858 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2860 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
2861 definition for non-UTF-2000 Mule.
2862 (latin_iso8859_3_to_ucs): Likewise.
2863 (latin_iso8859_4_to_ucs): Likewise.
2864 (latin_iso8859_9_to_ucs): Likewise.
2865 (latin_jisx0201_to_ucs): Likewise.
2866 (MIN_CHAR_THAI): Likewise.
2867 (MAX_CHAR_THAI): Likewise.
2868 (MIN_CHAR_GREEK): Likewise.
2869 (MAX_CHAR_GREEK): Likewise.
2870 (MIN_CHAR_HEBREW): Likewise.
2871 (MAX_CHAR_HEBREW): Likewise.
2872 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
2873 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
2874 (MIN_CHAR_CYRILLIC): Likewise.
2875 (MAX_CHAR_CYRILLIC): Likewise.
2877 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2879 * char-ucs.h (breakup_char_1): Use
2880 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
2881 thai-tis620 and katakana-jisx0201 area.
2883 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2885 * char-ucs.h (breakup_char_1): Use
2886 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
2889 * text-coding.c (reset_encoding_stream): Fixed.
2890 (char_encode_ucs4): Delete `& 255'.
2892 * char-ucs.h (breakup_char_1): Use
2893 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
2895 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2897 * file-coding.c (Fmake_coding_system): Don't set up
2898 `codesys->fixed.size'.
2899 (encode_coding_no_conversion): Don't refer
2900 `str->codesys->fixed.size'.
2902 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2904 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
2905 (latin_a_char_to_byte1): Deleted.
2906 (latin_a_char_to_byte2): Deleted.
2908 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2910 * mule-charset.c (make_charset): Add new argument `ucs_min',
2911 `ucs_max' and `code_offset'.
2912 (charset_get_byte1): New implementation [delete specific charset
2913 depended implementations].
2914 (Fmake_charset): Modify for `make_charset'.
2915 (Fmake_reverse_direction_charset): Likewise.
2916 (complex_vars_of_mule_charset): Likewise.
2918 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
2920 (CHARSET_UCS_MIN): New macro.
2921 (CHARSET_UCS_MAX): New macro.
2922 (CHARSET_CODE_OFFSET): New macro.
2923 (MAKE_CHAR): Delete charset depended definitions [except
2926 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2928 * char-ucs.h (breakup_char_1): Use
2929 `Vdefault_coded_charset_priority_list' for C0-Controls,
2930 Basic-Latin, C1-Controls and Latin-1-Supplement area.
2932 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2934 * char-ucs.h (charset_get_byte1): New function.
2935 (XCHARSET_GET_BYTE1): Deleted.
2936 (charset_get_byte2): New function.
2937 (XCHARSET_GET_BYTE2): Deleted.
2938 (Vdefault_coded_charset_priority_list): New external variable.
2939 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
2940 `Vdefault_preferred_coded_charset_list'.
2942 * mule-charset.c (charset_get_byte1): New function.
2943 (charset_get_byte2): New function.
2944 (Vdefault_coded_charset_priority_list): New variable.
2945 (vars_of_mule_charset): Add new variable
2946 `default-coded-charset-priority-list'.
2948 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2950 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
2951 (XCHARSET_GET_BYTE2): New inline function.
2952 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
2953 `XCHARSET_GET_BYTE2'.
2955 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2957 * mule-charset.c (make_charset): Initialize
2958 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
2959 NULL if table is not defined.
2961 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2963 * text-coding.c (char_encode_shift_jis): Use
2964 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
2965 `ucs_to_latin_jisx0201'.
2967 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
2968 (ucs_to_latin_iso8859_2): Deleted.
2969 (ucs_to_latin_iso8859_3): Deleted.
2970 (ucs_to_latin_iso8859_4): Deleted.
2971 (ucs_to_latin_iso8859_9): Deleted.
2972 (ucs_to_latin_viscii_lower): Deleted.
2973 (ucs_to_latin_viscii_upper): Deleted.
2974 (ucs_to_latin_tcvn5712): Deleted.
2975 (make_charset): Add new argument `decoding_table'; set up
2976 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
2977 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
2978 `decoding_table' is defined in UTF-2000.
2979 (Fmake_charset): Modify for `make_charset'.
2980 (Fmake_reverse_direction_charset): Likewise.
2981 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
2982 and `GENERATE_96_SET'.
2984 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
2985 (ucs_to_latin_jisx0201): Deleted.
2986 (latin_iso8859_2_to_ucs): Deleted.
2987 (ucs_to_latin_iso8859_2): Deleted.
2988 (latin_iso8859_3_to_ucs): Deleted.
2989 (ucs_to_latin_iso8859_3): Deleted.
2990 (latin_iso8859_4_to_ucs): Deleted.
2991 (ucs_to_latin_iso8859_4): Deleted.
2992 (latin_iso8859_9_to_ucs): Deleted.
2993 (ucs_to_latin_iso8859_9): Deleted.
2994 (latin_viscii_lower_to_ucs): Deleted.
2995 (ucs_to_latin_viscii_lower): Deleted.
2996 (latin_viscii_upper_to_ucs): Deleted.
2997 (ucs_to_latin_viscii_upper): Deleted.
2998 (struct Lisp_Charset): Renamed `encoding_table' to
2999 `to_byte1_table'; add `to_byte2_table'.
3000 (CHARSET_DECODING_TABLE): New macro.
3001 (CHARSET_TO_BYTE1_TABLE): New macro.
3002 (CHARSET_TO_BYTE2_TABLE): New macro.
3003 (XCHARSET_DECODING_TABLE): New macro.
3004 (XCHARSET_TO_BYTE1_TABLE): New macro.
3005 (XCHARSET_TO_BYTE2_TABLE): New macro.
3006 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3008 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3009 don't use `ucs_to_*' tables.
3011 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3013 * text-coding.c (Fmake_coding_system): Don't set up
3014 `codesys->fixed.size'.
3015 (encode_coding_no_conversion): Use `if' instead of `switch'.
3017 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3019 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3021 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3022 (Fmake_charset): Modify for `make_charset'.
3023 (Fmake_reverse_direction_charset): Likewise.
3024 (complex_vars_of_mule_charset): Likewise.
3026 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3028 * text-coding.c (char_encode_shift_jis): Use table
3029 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3031 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3033 * text-coding.c (text_encode_generic): Use `if' instead of
3035 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3038 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3040 * text-coding.c (encode_coding_sjis): Deleted.
3041 (char_encode_shift_jis): New function.
3042 (char_finish_shift_jis): New function.
3043 (reset_encoding_stream): Set up `encode_char' and `finish' for
3044 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3045 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3046 (char_encode_utf8): Treat `eol_type'.
3048 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3050 * file-coding.c (decode_coding_iso2022): Use
3051 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3053 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3055 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3058 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3060 * char-lb.h (CHAR_COLUMNS): New macro.
3062 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3064 * text-coding.c (char_encode_ucs4): New function.
3065 (char_finish_ucs4): New function.
3066 (encode_coding_ucs4): Deleted.
3067 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3068 (text_encode_generic): Delete local variable `charset' and `half'.
3069 (ucs_to_mule_table): Deleted.
3070 (mule_to_ucs_table): Deleted.
3071 (Fset_ucs_char): Deleted.
3072 (ucs_to_char): Deleted.
3073 (Fucs_char): Deleted.
3074 (Fset_char_ucs): Deleted.
3075 (Fchar_ucs): Deleted.
3076 (decode_ucs4): Deleted.
3077 (mule_char_to_ucs4): Deleted.
3078 (encode_ucs4): Deleted.
3079 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3080 (decode_coding_utf8): Likewise.
3081 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3082 (char_encode_iso2022): Fixed.
3083 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3084 `Fset_char_ucs' and `Fchar_ucs'.
3085 (complex_vars_of_file_coding): Don't initialize
3086 `ucs_to_mule_table'.
3088 * objects-tty.c (tty_initialize_font_instance): Don't use
3091 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3094 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3095 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3097 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3098 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3099 (emchar_string_displayed_columns): Likewise.
3101 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3102 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3103 (string_column_at_point): Likewise.
3104 (Fmove_to_column): Likewise.
3106 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3107 `encoding_table' and `decoding_table'.
3108 (CHARSET_REP_BYTES): Deleted.
3109 (XCHARSET_REP_BYTES): Deleted.
3110 (XCHARSET_COLUMNS): Deleted.
3111 (CHAR_COLUMNS): New macro.
3112 (lookup_composite_char): Deleted unconditionally.
3113 (composite_char_string): Likewise.
3115 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3117 * char-ucs.h (Emchar_to_byte_table): New type.
3118 (get_byte_from_character_table): New function interface.
3119 (Vcharset_latin_jisx0201): New variable.
3120 (latin_jisx0201_to_ucs): New variable.
3121 (ucs_to_latin_jisx0201): New variable.
3122 (Vcharset_latin_iso8859_2): New variable.
3123 (latin_iso8859_2_to_ucs): New variable.
3124 (ucs_to_latin_iso8859_2): New variable.
3125 (Vcharset_latin_iso8859_3): New variable.
3126 (latin_iso8859_3_to_ucs): New variable.
3127 (ucs_to_latin_iso8859_3): New variable.
3128 (Vcharset_latin_iso8859_4): New variable.
3129 (latin_iso8859_4_to_ucs): New variable.
3130 (ucs_to_latin_iso8859_4): New variable.
3131 (Vcharset_latin_iso8859_9): New variable.
3132 (latin_iso8859_9_to_ucs): New variable.
3133 (ucs_to_latin_iso8859_9): New variable.
3134 (Vcharset_latin_viscii_lower): New variable.
3135 (latin_viscii_lower_to_ucs): New variable.
3136 (ucs_to_latin_viscii_lower): New variable.
3137 (Vcharset_latin_viscii_upper): New variable.
3138 (latin_viscii_upper_to_ucs): New variable.
3139 (ucs_to_latin_viscii_upper): New variable.
3140 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3141 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3142 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3143 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3144 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3145 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3146 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3147 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3148 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3149 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3151 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3152 (Vcharset_latin_viscii_upper): New variable.
3153 (make_byte_from_character_table): New function.
3154 (put_byte_from_character_table): New function.
3155 (get_byte_from_character_table): New function.
3156 (CHAR96): New macro.
3157 (ucs_to_latin_jisx0201): New variable.
3158 (latin_jisx0201_to_ucs): New variable.
3159 (ucs_to_latin_iso8859_2): New variable.
3160 (latin_iso8859_2_to_ucs): New variable.
3161 (ucs_to_latin_iso8859_3): New variable.
3162 (latin_iso8859_3_to_ucs): New variable.
3163 (ucs_to_latin_iso8859_4): New variable.
3164 (latin_iso8859_4_to_ucs): New variable.
3165 (ucs_to_latin_iso8859_9): New variable.
3166 (latin_iso8859_9_to_ucs): New variable.
3167 (ucs_to_latin_viscii_lower): New variable.
3168 (latin_viscii_lower_to_ucs): New variable.
3169 (ucs_to_latin_viscii_upper): New variable.
3170 (latin_viscii_upper_to_ucs): New variable.
3171 (ucs_to_latin_tcvn5712): New variable.
3172 (latin_tcvn5712_to_ucs): New variable.
3173 (Qlatin_viscii_lower): New variable.
3174 (Qlatin_viscii_upper): New variable.
3175 (syms_of_mule_charset): Set up new symbol
3176 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3177 (complex_vars_of_mule_charset): Set up new charset
3178 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3179 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3180 `ucs_to_<CHARSET>' tables.
3182 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3184 * text-coding.c: New file.
3186 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3188 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3190 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3191 (MAKE_CHAR): Modify for `ucs-bmp'.
3192 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3193 non-MULE characters of BMP.
3195 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3197 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3200 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3203 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3204 - Include character.h for `CHAR_ASCII_P'.
3206 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3208 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3209 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3211 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3212 (BYTE_C0_P): Likewise.
3213 (BYTE_C1_P): Likewise.
3214 (Lstream_get_emchar_1): Likewise.
3215 (Lstream_fput_emchar): Likewise.
3216 (Lstream_funget_emchar): Likewise.
3217 (copy_internal_to_external): Likewise.
3218 (copy_external_to_internal): Likewise.
3220 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3221 (BYTE_C0_P): Likewise.
3222 (BYTE_C1_P): Likewise.
3223 (Lstream_get_emchar_1): Likewise.
3224 (Lstream_fput_emchar): Likewise.
3225 (Lstream_funget_emchar): Likewise.
3226 (copy_internal_to_external): Likewise.
3227 (copy_external_to_internal): Likewise.
3229 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3230 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3232 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3233 (BYTE_ASCII_P): Moved to mb-1byte.h.
3235 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3237 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3239 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3240 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3241 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3242 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3243 (VALIDATE_CHARPTR_FORWARD): Likewise.
3244 (simple_charptr_emchar): Moved to mb-multibyte.h.
3245 (simple_set_charptr_emchar): Likewise.
3246 (simple_charptr_copy_char): Likewise.
3247 (non_ascii_charptr_emchar): Likewise.
3248 (non_ascii_set_charptr_emchar): Likewise.
3249 (non_ascii_charptr_copy_char): Likewise.
3250 (charptr_emchar): Moved to mb-*byte.h.
3251 (set_charptr_emchar): Likewise.
3252 (charptr_copy_char): Likewise.
3254 * mb-1byte.h, mb-multibyte.h: New files.
3256 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3258 * mb-utf-8.h (MULTIBYTE): New macro.
3259 (MAX_EMCHAR_LEN): Moved from buffer.h.
3260 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3262 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3264 * mb-lb.h, multibyte.h: New files.
3266 * char-1byte.h (Charset_ID): Moved from buffer.h.
3267 (MIN_LEADING_BYTE): Likewise.
3268 (LEADING_BYTE_ASCII): Likewise.
3269 (NUM_LEADING_BYTES): Likewise.
3270 (CHARSETP): Likewise.
3271 (CHARSET_BY_LEADING_BYTE): Likewise.
3272 (XCHARSET_LEADING_BYTE): Likewise.
3273 (XCHARSET_GRAPHIC): Likewise.
3274 (XCHARSET_COLUMNS): Likewise.
3275 (XCHARSET_DIMENSION): Likewise.
3276 (CHAR_CHARSET): Likewise.
3277 (CHAR_LEADING_BYTE): Likewise.
3278 (BREAKUP_CHAR): Likewise.
3279 (Vcharset_ascii): Likewise.
3281 * buffer.h: Include multibyte.h unconditionally.
3282 (VALID_CHARPTR_P): Moved to multibyte.h.
3283 (ASSERT_VALID_CHARPTR): Likewise.
3284 (REAL_INC_CHARPTR): Likewise.
3285 (REAL_INC_CHARBYTIND): Likewise.
3286 (REAL_DEC_CHARPTR): Likewise.
3287 (INC_CHARPTR): Likewise.
3288 (INC_CHARBYTIND): Likewise.
3289 (DEC_CHARPTR): Likewise.
3290 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3291 (VALIDATE_CHARPTR_FORWARD): Likewise.
3292 (charptr_n_addr): Likewise.
3293 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3294 (simple_charptr_emchar): Moved to multibyte.h.
3295 (simple_set_charptr_emchar): Likewise.
3296 (simple_charptr_copy_char): Likewise.
3297 (non_ascii_charptr_emchar): Likewise.
3298 (non_ascii_set_charptr_emchar): Likewise.
3299 (non_ascii_charptr_copy_char): Likewise.
3300 (charptr_emchar): Likewise.
3301 (set_charptr_emchar): Likewise.
3302 (charptr_copy_char): Likewise.
3303 (charptr_emchar_n): Likewise.
3304 (Charset_ID): Moved to char-1byte.h.
3305 (Vcharset_ascii): Likewise.
3306 (CHAR_CHARSET): Likewise.
3307 (CHAR_LEADING_BYTE): Likewise.
3308 (LEADING_BYTE_ASCII): Likewise.
3309 (NUM_LEADING_BYTES): Likewise.
3310 (MIN_LEADING_BYTE): Likewise.
3311 (CHARSETP): Likewise.
3312 (CHARSET_BY_LEADING_BYTE): Likewise.
3313 (XCHARSET_LEADING_BYTE): Likewise.
3314 (XCHARSET_GRAPHIC): Likewise.
3315 (XCHARSET_COLUMNS): Likewise.
3316 (XCHARSET_DIMENSION): Likewise.
3317 (BREAKUP_CHAR): Likewise.
3319 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3321 * character.h: Add document about interface for characters.
3323 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3324 (MAKE_CHAR): Delete comment about
3325 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3326 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3327 (BREAKUP_CHAR): Modify name of arguments.
3328 (CHAR_CHARSET): Modify name of argument.
3330 * buffer.h: Delete document about Emchar accessors.
3332 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3334 * character.h (CHAR_INTP): Moved from buffer.h
3335 (CHAR_OR_CHAR_INTP): Likewise.
3336 (XCHAR_OR_CHAR_INT): Likewise.
3337 (CHECK_CHAR_COERCE_INT): Likewise.
3339 * buffer.h (CHAR_INTP): Moved to character.h
3340 (CHAR_OR_CHAR_INTP): Likewise.
3341 (XCHAR_OR_CHAR_INT): Likewise.
3342 (CHECK_CHAR_COERCE_INT): Likewise.
3344 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3347 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3348 - Include char-1byte.h, char-lb.h or char-ucs.h.
3350 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3352 * buffer.h: Include character unconditionally.
3353 (valid_char_p): Moved to char-*.h.
3354 (non_ascii_valid_char_p): Moved to char-lb.h.
3356 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3358 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3360 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3361 in UTF-2000 because it is not ported yet and not to use
3362 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3363 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3364 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3366 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3367 (CHAR_ASCII_P): Moved from character.h.
3369 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3370 (CHAR_ASCII_P): Likewise.
3371 (CHAR_FIELD1_MASK): Deleted.
3372 (CHAR_FIELD2_MASK): Deleted.
3373 (CHAR_FIELD3_MASK): Deleted.
3374 (MAX_CHAR_BASIC_LATIN): New macro.
3375 (CHAR_FIELD1): Deleted.
3376 (CHAR_FIELD2_INTERNAL): Deleted.
3377 (CHAR_FIELD3_INTERNAL): Deleted.
3378 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3379 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3380 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3381 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3382 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3383 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3384 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3385 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3386 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3387 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3388 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3389 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3390 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3391 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3392 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3393 (MIN_CHAR_COMPOSITION): Deleted.
3394 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3395 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3397 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3399 * buffer.h: Include mb-utf-8.h in UTF-2000.
3401 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3403 * mb-utf-8.h: New file.
3405 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3407 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3410 * mule-charset.h, buffer.h (Charset_ID): New type.
3412 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3414 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3415 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3416 instead of `MULE_CHAR_PRIVATE_OFFSET',
3417 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3418 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3419 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3421 * character.h (Vcharset_japanese_jisx0212): New variable
3424 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3426 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3427 (charset_by_attributes): Delete array about direction.
3428 (latin_a_char_to_charset): New variable in UTF-2000.
3429 (latin_a_char_to_byte1): New variable in UTF-2000.
3430 (latin_a_char_to_byte2): New variable in UTF-2000.
3431 (Qucs_bmp): New variable.
3432 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3434 (next_allocated_2_byte_leading_byte): Likewise.
3435 (non_ascii_set_charptr_emchar): Likewise.
3436 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3437 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3438 `charset_by_attributes'.
3439 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3440 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3441 and `CHARSET_BY_LEADING_BYTE'.
3442 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3443 `utf-2000-version' to `vars_of_mule_charset'.
3444 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3445 define `leading-code-private-11' in UTF-2000; move setting of
3446 `utf-2000-version' from `syms_of_mule_charset'.
3447 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3450 * character.h (Charset_ID): New type.
3451 (LEADING_BYTE_UCS_BMP): New macro.
3452 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3453 (CHARSET_ID_OFFSET_94): New macro.
3454 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3455 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3456 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3458 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3459 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3460 (CHARSET_ID_OFFSET_96): New macro.
3461 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3462 CHARSET_ID_OFFSET_96 and final-byte.
3463 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3464 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3465 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3466 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3467 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3468 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3469 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3470 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3471 (LEADING_BYTE_THAI_TIS620): Likewise.
3472 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3473 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3474 (CHARSET_ID_OFFSET_94x94): New macro.
3475 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3476 CHARSET_ID_OFFSET_94x94 and final-byte.
3477 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3478 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3479 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3480 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3481 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3482 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3483 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3484 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3485 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3486 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3487 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3488 (CHARSET_TYPE_128X128): New macro.
3489 (CHARSET_TYPE_256X256): New macro.
3490 (XCHARSET_PRIVATE_P): Delete unconditionally.
3491 (charset_by_attributes): Delete array about direction.
3492 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3493 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3494 (MIN_CHAR_94): New macro.
3495 (MAX_CHAR_94): New macro.
3496 (MIN_CHAR_96): New macro.
3497 (MAX_CHAR_96): New macro.
3498 (MIN_CHAR_94x94): New macro.
3499 (MAX_CHAR_94x94): New macro.
3500 (MIN_CHAR_96x96): New macro.
3501 (MAX_CHAR_96x96): New macro.
3502 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3503 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3504 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3506 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3507 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3508 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3509 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3510 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3511 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3512 `XCHARSET_LEADING_BYTE' to make code-point.
3513 (latin_a_char_to_charset): New variable.
3514 (latin_a_char_to_byte1): New variable.
3515 (latin_a_char_to_byte2): New variable.
3516 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3517 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3518 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3520 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3521 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3522 (find_charsets_in_emchar_string): Likewise.
3523 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3525 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3527 (decode_coding_iso2022): Likewise.
3529 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3532 * redisplay.c (redisplay_text_width_emchar_string): Use
3533 `Charset_ID' instead of `unsigned char'.
3534 (redisplay_frame_text_width_string): Likewise.
3536 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3539 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3540 instead of `unsigned char'.
3541 (face_cachel_charset_font_metric_info): Likewise.
3543 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3544 (get_non_ascii_char_table_value): Likewise.
3545 (get_char_table): Likewise.
3546 (put_char_table): Likewise.
3547 (map_over_other_charset): Likewise.
3548 (map_char_table): Likewise.
3550 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3551 instead of `unsigned char'.
3553 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3555 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3556 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3558 * mule-charset.c (leading_code_private_11): Don't define in
3561 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3562 in UTF-2000 because it is not ported yet and not to use
3563 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3565 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3567 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3569 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3571 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3574 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3575 of unsigned char to store leading-byte.
3577 * chartab.c (get_non_ascii_char_table_value): Don't use
3578 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3580 * file-coding.c (encode_coding_big5): Delete bogus implementation
3583 * character.h (LEADING_BYTE_*): Delete definition for
3585 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3586 (LEADING_BYTE_PREFIX_P): Deleted.
3587 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3588 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3589 (BUFBYTE_LEADING_BYTE_P): Deleted.
3590 (CHARSET_PRIVATE_P): Deleted unconditionally.
3591 (rep_bytes_by_first_byte): Deleted unconditionally.
3592 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3593 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3594 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3595 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3596 (CHAR_FIELD2): Deleted.
3597 (CHAR_FIELD3): Deleted.
3598 (MAKE_CHAR): Delete definition for non-UTF-2000.
3599 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3600 (breakup_char_1): New implementation.
3601 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
3602 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
3604 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3606 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3609 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3611 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3612 (CHARSET_PRIVATE_P): Likewise.
3613 (XCHARSET_PRIVATE_P): Likewise.
3614 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3616 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3618 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3620 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3622 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3623 (NUM_LEADING_BYTES): Changed from 128 to 256.
3624 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3625 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
3627 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3629 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
3631 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
3632 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
3633 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
3634 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
3635 (Qchinese_cns11643_3): New variable in UTF2000.
3636 (Qchinese_cns11643_4): New variable in UTF2000.
3637 (Qchinese_cns11643_5): New variable in UTF2000.
3638 (Qchinese_cns11643_6): New variable in UTF2000.
3639 (Qchinese_cns11643_7): New variable in UTF2000.
3640 (syms_of_mule_charset): Define `chinese-cns11643-3',
3641 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3642 and `chinese-cns11643-7' in UTF2000.
3643 (vars_of_mule_charset): Initialize
3644 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
3646 (complex_vars_of_mule_charset): Setup charset
3647 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
3648 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
3650 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3652 * mule-charset.c: Move setting for `leading-code-private-11' from
3653 `syms_of_mule_charset' to `vars_of_mule_charset'.
3655 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3657 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
3658 and `NUM_LEADING_BYTES' in assert.
3660 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3662 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
3664 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
3665 `NUM_LEADING_BYTES' instead of 128.
3667 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3669 * mule-charset.h (charset_by_leading_byte): Use
3670 `NUM_LEADING_BYTES' instead of 128.
3671 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
3673 * mule-charset.c (charset_by_leading_byte): Use
3674 `NUM_LEADING_BYTES' instead of 128.
3675 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
3677 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
3680 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3682 * mule-charset.c (syms_of_mule_charset): Update to
3685 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3687 * file-coding.c (encode_coding_sjis): New implementation for
3688 UTF2000. (decode_coding_sjis): Ditto.
3690 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3692 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
3693 Don't define in UTF2000.
3695 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
3698 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3699 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
3702 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3704 * config.h.in (CHAR_IS_UCS4): New macro.
3706 * mule-charset.c (rep_bytes_by_first_byte): Modify for
3707 conventional MULE representation.
3708 (syms_of_mule_charset): Update to 0.3 (Imamiya).
3710 * mule-charset.h: Reverted to original.
3712 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3713 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
3714 "mule-charset.h" if CHAR_IS_UCS4 is defined.
3716 * character.h: New file.
3718 * file-coding.c (Fmake_coding_system): Set 1 to
3719 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
3721 (encode_coding_no_conversion): New implementation for UTF2000.
3723 * file-coding.h (struct Lisp_Coding_System): Add new member
3726 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3728 * file-coding.c (decode_coding_iso2022): Code-point arguments of
3729 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
3730 (encode_coding_iso2022): New implementation for UTF2000.
3732 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3734 * mule-canna.c (c2mu): New implementation for UTF2000.
3737 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3739 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
3741 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3743 * file-coding.c (reset_encoding_stream): Set 0 to
3744 `str->iso2022.current_char_boundary' in UTF2000.
3745 (encode_utf8): Don't define in UTF2000.
3746 (encode_coding_utf8): New implementation for UTF-8 representation
3748 (complex_vars_of_file_coding): Define coding-system `utf-8'.
3750 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3752 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
3754 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
3756 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3758 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
3760 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
3761 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
3762 as UTF-8 in UTF2000.
3763 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
3764 (non_ascii_valid_char_p): Don't define in UTF2000.
3765 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
3766 (Lstream_get_emchar_1): Likewise.
3767 (utf-2000-version): New variable in UTF2000.
3769 * lread.c (read_escape): Add new reader `u'.
3771 * insdel.c (three_to_one_table): Don't define in UTF2000.
3772 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
3773 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3775 (bytind_to_bufpos_func): Likewise.
3776 (buffer_mule_signal_inserted_region): Likewise.
3777 (vars_of_insdel): Don't initialize `three_to_one_table'.
3778 (init_buffer_text): Use `buf->text->mule_size' instead of
3779 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3782 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
3783 UTF-8 representation in UTF2000.
3784 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
3785 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
3786 (decode_coding_iso2022): Don't define local variable `lb' in
3787 UTF2000; don't use LEADING_BYTE in UTF2000; use
3788 `DECODE_ADD_UCS_CHAR' in UTF2000.
3789 (convert_to_external_format): Decode as UTF-8 in UTF2000.
3791 * config.h.in (UTF2000): New macro.
3793 * buffer.h (struct buffer_text): Add new member `mule_size' and
3794 don't add `mule_shifter' and `mule_three_p' in UTF2000.
3795 (valid_char_p): Return always 1 in UTF2000.
3796 (MAX_EMCHAR_LEN): 6 in UTF2000.
3797 (three_to_one_table): Don't define in UTF2000.
3798 (real_bufpos_to_bytind): Modify for UTF-8 representation in
3800 (real_bytind_to_bufpos): Likewise.
3802 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
3804 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3806 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
3807 representation change.
3808 (Vutf_2000_version): New variable.
3809 (leading_code_private_11): New variable.
3810 (syms_of_mule_charset): Add new variables `utf-2000-version' and
3811 `leading-code-private-11'.
3813 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
3814 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
3815 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
3816 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
3817 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
3818 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
3819 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
3820 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
3821 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
3822 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
3823 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
3824 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
3825 (MIN_CHAR_GREEK): New macro.
3826 (MAX_CHAR_GREEK): New macro.
3827 (MIN_CHAR_CYRILLIC): New macro.
3828 (MAX_CHAR_CYRILLIC): New macro.
3829 (MIN_CHAR_HEBREW): New macro.
3830 (MAX_CHAR_HEBREW): New macro.
3831 (MIN_CHAR_THAI): New macro.
3832 (MAX_CHAR_THAI): New macro.
3833 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
3834 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
3835 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
3836 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
3837 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
3838 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
3839 (CHAR_FIELD2): New inline function.
3840 (CHAR_FIELD3): New inline function.
3841 (MULE_CHAR_PRIVATE_OFFSET): New macro.
3842 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
3843 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
3844 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
3845 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
3846 (MIN_CHAR_COMPOSITION): Likewise.
3847 (CHAR_LEADING_BYTE): Modified for character representation change.
3848 (MAKE_CHAR): Likewise.
3850 * lisp.h (Vcharset_latin_iso8859_1): New variable.
3851 (Vcharset_greek_iso8859_7): Likewise.
3852 (Vcharset_cyrillic_iso8859_5): Likewise.
3853 (Vcharset_hebrew_iso8859_8): Likewise.
3854 (Vcharset_thai_tis620): Likewise.
3855 (Vcharset_katakana_jisx0201): Likewise.
3857 2001-02-08 Martin Buchholz <martin@xemacs.org>
3859 * XEmacs 21.2.44 "Thalia" is released.
3861 2001-02-06 Martin Buchholz <martin@xemacs.org>
3863 Fixes crashes in kill-emacs on some systems.
3864 * process-unix.c (unix_kill_child_process):
3865 It's OK for kill() to fail with ESRCH.
3867 2001-02-07 Martin Buchholz <martin@xemacs.org>
3869 Contortions to make .gdbinit tricks work on most systems.
3870 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
3871 * alloc.c (dbg_valmask): Make non-const.
3872 * alloc.c (dbg_typemask): Make non-const.
3873 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
3874 * alloc.c (dbg_valbits): Make non-const.
3875 * alloc.c (dbg_gctypebits): Make non-const.
3876 * .gdbinit (decode_object): Make it work with AIX cc.
3878 2001-02-06 Martin Buchholz <martin@xemacs.org>
3880 * elhash.c (make_general_lisp_hash_table):
3881 Use simpler and more efficient calloc to clear entries.
3883 2001-02-07 Martin Buchholz <martin@xemacs.org>
3885 * window.c (window_scroll): Work around an AIX C compiler bug.
3886 Fixes 'scroll-up' does nothing problem with xlC.
3888 2001-02-05 Martin Buchholz <martin@xemacs.org>
3890 * .gdbinit: Remove obsolete comment.
3892 2001-01-31 Mike Alexander <mta@arbortext.com>
3894 * select.c (Fown_selection_internal): Set owned_p for device
3897 2001-02-01 Martin Buchholz <martin@xemacs.org>
3900 "not" cannot be used as a macro name as it is an operator in C++
3901 * config.h.in: Stop #defining `not'.
3902 * chartab.c (check_category_char): not ==> not_p
3903 * chartab.h: Likewise.
3904 * regex.c (re_match_2_internal): Likewise.
3906 2001-02-02 Martin Buchholz <martin@xemacs.org>
3908 * lisp-disunion.h: Fix up comments.
3910 2001-01-31 Martin Buchholz <martin@xemacs.org>
3912 * keymap.c (define_key_check_and_coerce_keysym):
3914 Support mouse-6 and mouse-7 bindings in the obvious way.
3916 2001-02-01 Martin Buchholz <martin@xemacs.org>
3918 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
3920 2001-01-30 Martin Buchholz <martin@xemacs.org>
3922 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
3923 Previous patch missed DEFVAR_INT_MAGIC.
3924 Make sure future DEFVAR_foo use correct types.
3925 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
3926 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
3927 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
3928 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
3929 * (DEFVAR_INT): Likewise.
3930 * redisplay.c (vertical_clip): Should be of type Fixnum.
3931 * redisplay.c (horizontal_clip): Likewise.
3932 * lisp.h (dump_add_opaque_int): New.
3933 (dump_add_opaque_fixnum): New.
3935 2001-01-29 Andy Piper <andy@xemacs.org>
3937 * glyphs-widget.c (check_valid_int_or_function): allow symbols
3938 since they can be eval'ed
3940 2001-01-29 Martin Buchholz <martin@xemacs.org>
3942 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
3943 Oops, XEmacs redefines `class'. Use `typename' instead.
3945 2001-01-28 Martin Buchholz <martin@xemacs.org>
3947 * dumper.c: Fix C++ compile errors.
3949 2001-01-29 Martin Buchholz <martin@xemacs.org>
3951 * tparam.c: Use correct prototypes.
3953 2001-01-28 Martin Buchholz <martin@xemacs.org>
3955 * sysproc.h: #include util.h for NetBSD's openpty.
3957 2001-01-27 Martin Buchholz <martin@xemacs.org>
3959 More 64-bit correctness.
3960 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
3961 Use a typedef `fixnum' for the type used for DEFVAR_INT.
3963 This finally finishes the 64-bit SGI port.
3964 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
3965 * symbols.c: Fix up comments and type casts.
3966 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
3967 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
3968 * symeval.h (Fixnum): New type.
3969 * symeval.h (symbol_value_type): Fix up comment.
3985 * mule-canna.c: A million DEFVAR_INTs here...
3986 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
3999 s/int/Fixnum/g in DEFVAR_INT declarations.
4001 2001-01-26 Martin Buchholz <martin@xemacs.org>
4003 Port pdump to SGI alignment-sensitive environment.
4004 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4005 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4007 Define and use aligned reading and writing macros.
4008 Use buffered stdio instead of posix i/o for faster dumping.
4009 Eliminate kludgy 256 byte space for header.
4010 Read and write from dump file using structs for alignment safety.
4011 * dumper.c (pdump_align_stream): New.
4012 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4013 * dumper.c (PDUMP_READ_ALIGNED): New.
4014 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4015 * dumper.c (pdump_static_Lisp_Object): New struct.
4016 * dumper.c (pdump_static_pointer): New struct.
4017 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4018 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4019 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4020 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4022 * dumper.c (pdump_backtrace):
4023 * dumper.c (pdump_get_indirect_count):
4024 * dumper.c (pdump_register_object):
4025 * dumper.c (pdump_register_struct):
4026 * dumper.c (pdump_reloc_one):
4027 * dumper.c (pdump_scan_by_alignment):
4028 * dumper.c (pdump_dump_from_root_struct_ptrs):
4029 * dumper.c (pdump_dump_opaques):
4030 * dumper.c (pdump_dump_rtables):
4031 * dumper.c (pdump_dump_from_root_objects):
4033 * dumper.c (pdump_load_finish):
4034 Use aligned reading and writing.
4036 * dumper.c (pdump_free): Make static.
4037 * dumper.c (pdump_hFile): Likewise.
4038 * dumper.c (pdump_hMap): Likewise.
4040 2001-01-26 Martin Buchholz <martin@xemacs.org>
4042 * XEmacs 21.2.43 "Terspichore" is released.
4044 2001-01-25 Martin Buchholz <martin@xemacs.org>
4046 Type fiddling for window_config.saved_windows_count
4047 * window.c (struct window_config):
4048 Make saved_windows_count member unsigned.
4049 * window.c (sizeof_window_config_for_n_windows):
4050 Make parameter unsigned.
4051 * window.c (mark_window_config):
4052 * window.c (window_config_equal):
4053 * window.c (free_window_configuration):
4054 * window.c (Fset_window_configuration):
4055 * window.c (count_windows):
4056 * window.c (Fcurrent_window_configuration):
4057 * window.c (reinit_vars_of_window):
4058 Update all callers and users.
4060 2001-01-25 Martin Buchholz <martin@xemacs.org>
4062 Alignment correctness for flexible arrays.
4063 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4064 Make alignment-correct. Add interesting comments.
4065 * alloc.c (size_vector):
4066 * alloc.c (make_vector_internal):
4067 * alloc.c (make_bit_vector_internal):
4068 * alloc.c (sweep_bit_vectors_1):
4069 * fns.c (size_bit_vector):
4070 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4071 * window.c (sizeof_window_config_for_n_windows):
4072 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4074 2001-01-24 Martin Buchholz <martin@xemacs.org>
4076 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4078 2001-01-23 Andy Piper <andy@xemacs.org>
4080 * select.c (Fown_selection_internal): pass owned_p
4082 * select-msw.c (mswindows_own_selection): New Signature.
4084 * console.h (struct console_methods): add owned_p to
4087 * select-x.c (x_own_selection): pass owned_p
4088 (hack_motif_clipboard_selection): use owned_p
4089 (vars_of_select_x): new variable -
4090 x_selection_strict_motif_ownership.
4092 2001-01-23 Martin Buchholz <martin@xemacs.org>
4094 * specifier.h (specifier_data_offset): Remove pointless parens.
4095 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4097 2001-01-24 Martin Buchholz <martin@xemacs.org>
4099 Make Lisp_Object sizeof methods be alignment-correct.
4100 pdump must restore objects to the same alignment as the C compiler
4101 assumes. It really matters on SGIs.
4102 * lstream.c (aligned_sizeof_lstream): New.
4103 (sizeof_lstream): Use aligned_sizeof_lstream.
4104 (Lstream_new): Likewise.
4105 * opaque.c (aligned_sizeof_opaque): New.
4106 (sizeof_opaque): Use aligned_sizeof_opaque.
4107 (make_opaque): Likewise.
4108 * specifier.c (aligned_sizeof_specifier): New.
4109 (sizeof_specifier): Use aligned_sizeof_specifier.
4110 (make_specifier_internal): Likewise.
4112 2001-01-23 Martin Buchholz <martin@xemacs.org>
4114 * lstream.h (struct lstream): Use max_align_t for trailing data.
4115 * specifier.h (struct Lisp_Specifier): Likewise.
4117 2001-01-22 Martin Buchholz <martin@xemacs.org>
4119 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4120 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4121 (CCL_SUSPEND): Likewise.
4122 (CCL_INVALID_CMD): Likewise.
4123 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4124 (ccl_driver): Likewise.
4125 (CCL_WRITE_CHAR): Macro hygiene.
4126 (CCL_WRITE_STRING): Macro hygiene.
4128 2001-01-22 Martin Buchholz <martin@xemacs.org>
4130 Port "portable" dumper to SunOS 4 and HP-UX.
4131 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4132 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4133 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4135 2001-01-22 Martin Buchholz <martin@xemacs.org>
4137 * lisp.h (ALIGNOF): A better definition for C++.
4139 2001-01-20 Martin Buchholz <martin@xemacs.org>
4142 Fix printf warnings: int format, long int arg.
4143 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4144 (PUSH_FAILURE_POINT): Use correct printf formats.
4145 (POP_FAILURE_POINT): Use correct printf formats.
4146 Use do {...} while (0)
4148 2001-01-20 Martin Buchholz <martin@xemacs.org>
4150 * XEmacs 21.2.42 "Poseidon" is released.
4152 2001-01-20 Martin Buchholz <martin@xemacs.org>
4154 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4156 2001-01-19 Martin Buchholz <martin@xemacs.org>
4158 De-kludgify FIXED_TYPE free list frobbing.
4159 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4160 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4161 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4162 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4163 * alloc.c (LRECORD_FREE_P): New.
4164 * alloc.c (MARK_LRECORD_AS_FREE): New.
4165 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4166 * alloc.c (STRUCT_FREE_P): Deleted.
4167 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4168 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4169 * alloc.c (STRING_CHARS_FREE_P): New.
4170 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4171 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4172 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4173 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4174 * alloc.c (resize_string): Use new definitions.
4175 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4176 * alloc.c (verify_string_chars_integrity): Use new definitions.
4177 * alloc.c (compact_string_chars): Use new definitions.
4178 * alloc.c: Update monster comments.
4179 * lrecord.h (lrecord_type): Add some new lrecord types for
4182 2001-01-18 Martin Buchholz <martin@xemacs.org>
4184 Improve alignment hackery.
4185 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4186 (max_align_t): Moved from opaque.h - general purpose.
4187 (ALIGN_PTR): Use size_t, not long.
4188 * opaque.h (max_align_t): Move to lisp.h.
4190 2001-01-18 Norbert Koch <nk@LF.net>
4192 * gui.h: Fix and add prototypes to fix build problems.
4194 2001-01-18 Martin Buchholz <martin@xemacs.org>
4196 temacs is going away, so `dump-temacs' is now a bad name.
4197 * .dbxrc (dump-temacs): Rename to `dmp'.
4198 * .gdbinit (dump-temacs): Rename to `dmp'.
4200 2001-01-17 Andy Piper <andy@xemacs.org>
4202 * glyphs.c (print_image_instance): comment to make martin happy.
4204 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4207 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4209 (mswindows_tab_control_redisplay): warning suppression.
4211 * glyphs-widget.c (widget_update): re-write to cope with updated
4213 (widget_instantiate): use new gui_item functions.
4214 (tab_control_update): deleted.
4215 (progress_gauge_update): deleted.
4216 (image_instantiator_progress_guage): take out update reference.
4217 (image_instantiator_tree_view): ditto.
4218 (image_instantiator_tab_control): ditto.
4220 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4222 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4223 return whether anything was changed.
4224 (update_gui_item_keywords): as it sounds.
4226 * gui.h: declare widget_gui_parse_item_keywords.
4228 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4229 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4231 2001-01-17 Martin Buchholz <martin@xemacs.org>
4233 * XEmacs 21.2.41 "Polyhymnia" is released.
4235 2001-01-16 Didier Verna <didier@xemacs.org>
4237 * glyphs.c (image_instantiate): don't use fallbacks when
4238 instantiating a face's background pixmap by inheritance.
4240 2001-01-14 Mike Sperber <mike@xemacs.org>
4242 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4243 Conditionalize accordingly.
4245 2001-01-16 Martin Buchholz <martin@xemacs.org>
4247 * dumper.c (pdump_file_get): Fix a compiler warning.
4249 2001-01-15 Martin Buchholz <martin@xemacs.org>
4251 Make Purify happy when pdumping.
4252 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4253 iniitalizing all bits of new lisp object memory.
4254 * symbols.c (Fmake_local_variable): Likewise.
4255 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4256 * symbols.c (Fdefvaralias): Likewise.
4257 * mule-charset.c (vars_of_mule_charset): Likewise.
4259 2001-01-15 Martin Buchholz <martin@xemacs.org>
4260 Add the `-nd' flag when running pre-dump operations under the debugger.
4261 * .dbxrc (run-temacs): Add `-nd'.
4262 * .dbxrc (update-elc): Likewise.
4263 * .dbxrc (dump-temacs): Likewise.
4264 * .gdbinit (run-temacs): Likewise.
4265 * .gdbinit (check-temacs): Likewise.
4266 * .gdbinit (update-elc): Likewise.
4267 * .gdbinit (dump-temacs): Likewise.
4269 2001-01-14 Martin Buchholz <martin@xemacs.org>
4271 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4272 export OBJECT_MODE=64
4273 configure --pdump --use-union-type=no
4274 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4275 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4277 * miscplay.c (sndcnv8U_2mono):
4278 Avoid two uses of `++' in the same expression.
4279 Suppresses a GCC warning.
4281 2001-01-13 Martin Buchholz <martin@xemacs.org>
4283 Make sure future compilers don't miscompile alloc.c.
4285 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4286 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4288 2001-01-12 Martin Buchholz <martin@xemacs.org>
4290 * dumper.c: A little post-pdump-rename comment fixup.
4292 2001-01-09 Jerry James <james@eecs.ku.edu>
4294 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4296 2001-01-13 Martin Buchholz <martin@xemacs.org>
4298 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4302 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4305 replace_symbol pdump_wire_lists pdump_weak_object_chains
4306 replace_symbol pdump_wire_list dump_add_weak_object_chain
4308 replace_symbol pdump_wires pdump_root_objects
4309 replace_symbol pdump_wire dump_add_root_object
4311 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4312 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4314 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4315 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4316 replace_symbol dumpstructinfo pdump_root_struct_ptr
4317 replace_symbol dumpstruct dump_add_root_struct_ptr
4319 replace_symbol dumpopaque dump_add_opaque
4320 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4321 replace_symbol dumpopaqueinfos pdump_opaques
4322 replace_symbol dumpopaqueinfo pdump_opaque
4324 replace_symbol nb_structdump nb_root_struct_ptrs
4325 replace_symbol nb_opaquedump nb_opaques
4327 replace_symbol align_table pdump_align_table
4328 replace_symbol dump_header pdump_header
4330 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4331 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4334 2001-01-12 Martin Buchholz <martin@xemacs.org>
4336 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4337 optimizing bytecount_to_charcount().
4339 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4342 (HAVE_DLFCN_H): Removed.
4343 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4345 2001-01-06 Martin Buchholz <martin@xemacs.org>
4347 Portable dumper maintainability improvements.
4348 * alloc.c (staticpro):
4349 * alloc.c (staticpro_nodump):
4350 * alloc.c (garbage_collect_1):
4351 * alloc.c (reinit_alloc_once_early):
4352 * alloc.c (init_alloc_once_early):
4353 * alloc.c: Move dumper functions to alloc.c.
4354 * dumper.c (pdump_backtrace):
4355 * dumper.c (pdump_dump_structs):
4356 * dumper.c (pdump_dump_opaques):
4357 * dumper.c (pdump_dump_rtables):
4358 * dumper.c (pdump_dump_wired):
4360 * dumper.c (pdump_load_check):
4361 * dumper.c (pdump_load_finish):
4362 * dumper.c (pdump_file_unmap):
4363 * dumper.c (pdump_file_get):
4364 * dumper.c (pdump_resource_free):
4365 * dumper.c (pdump_resource_get):
4366 * dumper.c (pdump_file_free):
4367 * dumper.c (pdump_file_try):
4368 * dumper.c (pdump_load):
4369 Remove fixed size limits on staticpro(), staticpro_nodump(),
4370 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4371 Remove custom code for dumping lrecord_implementations_table - use
4373 Remove (most of the) custom code for dumping staticpros - dump it
4374 like any other dynarr.
4376 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4377 * dumper.c: Moved functions from alloc.c.
4378 * alloc.c (dumpstruct): Moved to dumper.c.
4379 * alloc.c (dumpopaque): Likewise.
4380 * alloc.c (pdump_wire): Likewise.
4381 * alloc.c (pdump_wire_list): Likewise.
4383 * lisp.h (Dynarr_sizeof): New.
4384 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4385 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4386 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4388 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4389 * lisp.h (dumpopaque): ditto.
4390 * lisp.h (pdump_wire): ditto.
4391 * lisp.h (pdump_wire_list): ditto.
4393 2001-01-09 Martin Buchholz <martin@xemacs.org>
4395 * make-src-depend (PrintPatternDeps):
4396 Use `sort' to make output independent of perl version.
4398 2001-01-08 Martin Buchholz <martin@xemacs.org>
4401 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4402 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4404 2001-01-03 Didier Verna <didier@xemacs.org>
4406 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4407 that `focus_frame' is alive before thinking of calling
4408 `redisplay_redraw_cursor' on it.
4410 2001-01-08 Martin Buchholz <martin@xemacs.org>
4412 * XEmacs 21.2.40 is released.
4414 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4416 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4418 2001-01-06 Martin Buchholz <martin@xemacs.org>
4420 * alloc.c (dbg_valmask): Make const.
4421 * alloc.c (dbg_typemask): Make const.
4422 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4423 * alloc.c (dbg_valbits): Make const.
4424 * alloc.c (dbg_gctypebits): Make const.
4426 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4428 * redisplay-x.c (x_bevel_area):
4429 redisplay.h (struct rune):
4430 Typo fixes in comments.
4432 2001-01-05 Andy Piper <andy@xemacs.org>
4434 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4437 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4439 2001-01-05 Martin Buchholz <martin@xemacs.org>
4441 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4443 * mule-ccl.c (stack_idx_of_map_multiple):
4444 Non const global data must not be initialized!
4445 Found by MIYASHITA Hisashi.
4447 2001-01-02 Andy Piper <andy@xemacs.org>
4449 * frame.c (change_frame_size): make sure frame size is always
4452 * glyphs.c (image_instance_layout): minor code reuse.
4454 * window.c (Fcurrent_window_configuration): revert previous
4457 2001-01-02 Martin Buchholz <martin@xemacs.org>
4460 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4462 2000-12-31 Andy Piper <andy@xemacs.org>
4464 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4465 when widget gets unmapped.
4467 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4468 function. Make sure widgets losing focus don't just drop it.
4469 (handle_focus_event_1): record the widget with focus.
4471 2000-12-31 Andy Piper <andy@xemacs.org>
4473 * window.c (allocate_window): use
4474 make_image_instance_cache_hash_table.
4475 (make_dummy_parent): ditto.
4476 (Fset_window_configuration): ditto.
4478 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4480 * glyphs.c (process_image_string_instantiator): use
4482 (get_image_instantiator_governing_domain): ditto.
4483 (normalize_image_instantiator): ditto.
4484 (instantiate_image_instantiator): ditto.
4485 (make_image_instance_1): ditto.
4486 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4487 (instantiator_eq_equal): new function for use with instance hash
4489 (instantiator_eq_hash): ditto.
4490 (make_image_instance_cache_hash_table): create a suitable hash
4491 table for storing image instances.
4493 * elhash.h (hash_table_weakness): new internal weakness type
4494 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4495 declare new functions.
4497 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4498 another weakness type for glyphs.
4499 (make_standard_lisp_hash_table): new function split out from
4500 make_general_lisp_hash_table.
4501 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4502 (hash_table_instantiate): ditto.
4503 (Fmake_hash_table): ditto.
4505 2000-12-31 Martin Buchholz <martin@xemacs.org>
4507 * XEmacs 21.2.39 is released.
4509 2000-12-29 Andy Piper <andy@xemacs.org>
4511 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4513 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4514 the frame has changed so that we pick up geometry changes such as
4517 2000-12-28 Andy Piper <andy@xemacs.org>
4519 * lastfile.c (my_ebss): make a char array so we can pad the
4520 bss. Fixes cygwin unexec.
4522 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4524 2000-12-26 Andy Piper <andy@xemacs.org>
4526 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
4527 comments and try and be more precise about a non-/SIGIO world.
4528 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
4531 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
4532 we don't normalize to zero width or height.
4534 2000-12-24 Andy Piper <andy@xemacs.org>
4536 * Makefile.in.in (ldflags): add -mwindows when appropriate.
4538 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
4540 * s/sco5.h: SCO 5 has pty support.
4542 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
4544 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
4545 input-method-xlib.c contains whole contents of input-method-xfs.c,
4546 so we can use input-method-xlib.c's code for USE_XFONTSET
4548 * input-method-xfs.c: removed.
4550 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
4552 * file-coding.h (enum coding_category_type): reorder enumerators to
4553 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
4554 (now one greater than largest real coding_category_type enumerator).
4555 * file-coding.c (coding_category_symbol, coding_category_by_priority,
4556 coding_category_system, fcd_descriptihon_1, decode_coding_category,
4557 Fcoding_category_list, Fset_coding_priority_list,
4558 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
4559 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
4561 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4563 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
4564 * redisplay-output.c (redisplay_output_window): Clear top of window
4565 when face is changed.
4566 * redisplay-x.c (x_redraw_exposed_window): Call
4567 redisplay_clear_top_of_window.
4568 * redisplay.h: Publish redisplay_clear_top_of_window.
4570 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4572 * buffer.c (Fkill_buffer): Map over all devices.
4573 * window.c (window_loop): Remove UNSHOW_BUFFER code.
4574 (list_windows): New function.
4575 (list_all_windows): Ditto.
4576 (Freplace_buffer_in_windows): Use them.
4578 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4580 * database.c (berkdb_subtype): Recognize new subtype `queue'.
4581 (Fopen_database): Use `db_create' instead of `db_open'.
4582 (syms_of_database): Initialize Qqueue.
4584 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4586 * buffer.c (common_init_complex_vars_of_buffer): Initialize
4587 buffer_local_face_property.
4588 * buffer.h (struct buffer): New member buffer_local_face_property.
4589 * window.c (Fset_window_buffer): Mark window's face as changed
4590 when buffer has buffer local face.
4591 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
4592 * objects.c (color_after_change): Set buffer_local_face_property
4593 when locale of face specifier is buffer.
4594 * objects.c (font_after_change): Ditto.
4595 * objects.c (face_boolean_after_change): Ditto.
4596 * glyphs.c (image_after_change): Ditto.
4598 2000-12-09 Dan Holmsand <dan@eyebee.com>
4600 * nt.c (mswindows_fstat): Report file permissions, volume serial
4601 number, etc. Code adapted from FSF Emacs 20.7.
4603 2000-12-09 Dan Holmsand <dan@eyebee.com>
4605 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
4606 of stat when we don't have symbolic links, to make sure
4607 mswindows_stat is called on mswindows.
4609 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
4611 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
4613 2000-12-12 Martin Buchholz <martin@xemacs.org>
4615 * doprnt.c (emacs_doprnt_1): More printing fixes.
4616 Make printing of numbers compatible with libc and FSF Emacs.
4617 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
4618 Use the system printf to do most of the hard work of formatting,
4619 instead of doprnt_1().
4620 Calculate memory to allocate for format string.
4621 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
4622 (doprnt_1): Cleaner code and documentation.
4624 2000-12-01 Jerry James <james@eecs.ukans.edu>
4626 * Makefile.in.in: Use the loop variable to install headers.
4628 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4630 * window.c (Fsplit_window): Don't invalidate face cache.
4632 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4634 * minibuf.c (Fall_completions): Undo the previous change
4635 which removed checking elements start with space.
4637 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4639 * mule-canna.c: Didier suppression.
4641 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4643 * mule-canna.c: rename static unsigned char buf[] to key_buffer
4644 (warning suppression). Add English comment translations.
4646 2000-12-05 Martin Buchholz <martin@xemacs.org>
4648 * unexelfsgi.c (unexec): Better test for mmap failure.
4650 2000-12-05 Martin Buchholz <martin@xemacs.org>
4652 * XEmacs 21.2.38 is released.
4654 2000-12-05 Martin Buchholz <martin@xemacs.org>
4656 * redisplay.c (bar-cursor): Make a user variable.
4658 * symsinit.h: Add init_postgresql_from_environment.
4660 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4662 * regex.c: Convert to clean C.
4664 2000-12-05 Dan Holmsand <dan@eyebee.com>
4667 Don't #include sysfile.h. Revert to duplicating PATH_MAX
4669 (sys_readlink): renamed to system_readlink to avoid conflict with
4670 the other sys_readlink.
4672 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
4674 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
4676 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
4678 * postgresql.c (init_postgresql_from_environment): new function.
4679 (vars_of_postgresql): Move code initializing Lisp variables out and
4680 into init_postgresql_from_environment.
4681 emacs.c (main_1): Call init_postgresql_from_environment if and only
4682 if running a dumped XEmacs.
4684 2000-08-31 Dan Holmsand <dan@eyebee.com>
4686 * buffer.c: Make find-file-compare-truenames default to true on
4689 * realpath.c (win32_abs_start):
4691 (win32_readlink): New functions.
4692 (xrealpath): Return really real filenames on windows.
4694 * fileio.c (Ffile_truename): Make file-truename work on windows.
4696 2000-11-29 Didier Verna <didier@xemacs.org>
4698 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
4699 * faces.c (update_face_cachel_data): use it.
4700 * faces.c (add_face_cachel): use it. Complete background pixmap
4701 frobbing in face cache if `update_face_cachel_data' has not done so.
4703 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
4705 * search.c (string_match_1): Don't set last_thing_searched
4708 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
4710 * buffer.c: Include casetab.h
4711 (common_init_complex_vars_of_buffer): Use new case-table object.
4712 * buffer.h: Include casetab.h
4713 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
4714 (DOWNCASE_TABLE_OF): Ditto.
4715 * bufslots.h: Remove char-tables and add case-table.
4716 * casetab.c: Include casetab.h
4717 (CASE_TABLE_P): Removed.
4718 (mark_case_table): New function.
4719 (allocate_case_table): New function.
4720 (Fcase_table_p): Use new case-table.
4721 (case_table_char): New function.
4722 (Fget_case_table): Ditto.
4723 (Fput_case_table): Ditto.
4724 (Fput_case_table_pair): Ditto.
4725 (Fcopy_case_table): Ditto.
4726 (Fcurrent_case_table): Return case-table.
4727 (Fstandard_case_table): Return case-table.
4728 (Fset_case_table): Fix doc-string.
4729 (set_case_table): Use case-table
4730 (syms_of_casetab): DEFSUBR new functions.
4731 (complex_vars_of_casetab): Set up standard case-table.
4732 * casetab.h: New file.
4733 * editfns.c: Include casetab.h
4734 (Fcompare_buffer_substrings): Use case-table.
4735 * inline.c: Include casetab.h
4736 * lisp.h: Remove bogus extern.
4737 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
4738 * search.c: Include casetab.h
4739 (TRANSLATE_ASCII): Removed.
4740 (TRANSLATE): Unconditionally translate character.
4741 (looking_at_1): Use case-table.
4742 (string_match_1): Ditto.
4743 (fast_string_match): Ditto.
4744 (search_command): Ditto.
4745 (search_buffer): Separate boyer_moore. Check whether
4746 boyer_moore is possible.
4747 (simple_search): New function.
4748 (boyer_moore): Separated from search_buffer. Translate char.
4750 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
4752 * regex.c (RE_TR_ASCII): Removed.
4753 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
4754 (PATFETCH): Call PATFETCH_RAW.
4755 (PATFETCH_RAW): Fetch Emchar.
4756 (PATUNFETCH): Decrement charptr.
4757 (GET_BUFFER_SPACE): Rename b to buf_end.
4759 (BUF_PUSH_2): Ditto.
4760 (BUF_PUSH_3): Ditto.
4761 (EXTEND_BUFFER): Ditto.
4762 (SET_LIST_BIT): Ditto.
4763 (regex_compile): Ditto. Translate non ASCII char.
4764 (compile_range): Ditto.
4765 (re_search_2): Ditto.
4766 (re_match_2_internal): Compare Emchar.
4767 (bcmp_translate): Ditto.
4769 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
4771 * lisp.h (basic char/int typedefs): comment improvement.
4773 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
4775 * emacs.c (main_1): unconditional pdump unstomping; don't save and
4776 unstomp inhibit_site_lisp. Improve comments.
4778 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
4780 * mule-charset.c (Fcharset_property): improve type checking, comments.
4782 2000-11-28 Andy Piper <andy@xemacs.org>
4784 * redisplay-output.c (redisplay_output_subwindow): make sure we do
4785 clipped display for windows in the gutter also.
4786 (redisplay_display_boxes_in_window_p): change semantics of return
4787 codes to be more intuitive.
4789 * gutter.h: declare display_boxes_in_gutter_p.
4791 * gutter.c (display_boxes_in_gutter_p): new function for
4794 2000-11-22 Andy Piper <andy@xemacs.org>
4796 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
4799 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
4801 * callproc.c (Fold_call_process_internal):
4802 * gpm.c (Freceive_gpm_event):
4803 (tty_get_foreign_selection): Might be just warning supression.
4804 * fileio.c (Fwrite_region_internal):
4805 (Fset_visited_file_modtime):
4806 * keymap.c (event_matches_key_specifier_p):
4807 Initialize GCPROed variable.
4809 * menubar-x.c (command_builder_find_menu_accelerator):
4810 Initialize before use.
4812 2000-11-23 Andy Piper <andy@xemacs.org>
4814 * unexcw.c (unexec): make the resulting executable executable.
4816 2000-11-21 Martin Buchholz <martin@xemacs.org>
4818 * doc.c (get_doc_string):
4819 Use size_t, not int, for result of XSTRING_LENGTH.
4821 * cmds.c (Fdelete_char):
4822 * cmds.c (Fpoint_at_eol):
4823 * cmds.c (Fself_insert_command):
4824 Use EMACS_INT, not int, for result of XINT.
4825 Someday, someone will want to insert more than 2**31 identical characters.
4827 * cmds.c (Fdelete_char):
4828 * cmds.c (Fdelete_backward_char):
4829 * syntax.c (Fforward_word):
4830 * syntax.c (Fforward_comment):
4831 Make COUNT argument optional, for consistency with forward-char et al.
4833 2000-11-22 Martin Buchholz <martin@xemacs.org>
4836 * print.c (long_to_string):
4837 Return a useful value: the pointer at end of data written.
4840 Use `static const char * const' for constant strings.
4841 (union printf_arg): Delete `i', `ui' members.
4844 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
4845 Do all printf-ing via the `l' specifier.
4846 Use EMACS_INT instead of int.
4849 2000-11-20 Didier Verna <didier@xemacs.org>
4851 * faces.c (update_face_cachel_data): don't frob the background
4852 pixmap when the window is being created. The face is needed but
4855 2000-11-20 Andy Piper <andy@xemacs.org>
4857 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
4858 messing with a debug environment.
4860 2000-11-20 Martin Buchholz <martin@xemacs.org>
4862 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
4864 2000-11-20 Martin Buchholz <martin@xemacs.org>
4866 * casetab.c (Fcase_table_p): Fix compile error and crash.
4868 2000-11-18 Philip Aston <philipa@mail.com>
4870 * s/cygwin32.h: Cygwin has SVR4-like pty support.
4872 2000-11-18 Martin Buchholz <martin@xemacs.org>
4874 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
4875 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
4877 2000-11-17 Martin Buchholz <martin@xemacs.org>
4879 * config.h.in: Define HAVE_ELF_H if elf.h exists.
4880 * unexelf.c: Use HAVE_ELF_H.
4881 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
4882 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
4883 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
4884 Greg Harrington <greg_harrington@hotmail.com> provided a machine
4886 So this is an unexelfsgi.c from a different line of development.
4888 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
4890 * regex.c (RE_TR_ASCII): New function.
4891 (RE_TRANSLATE): Call it.
4893 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
4895 * buffer.h (TRT_TABLE_OF): Remove assert.
4896 (IN_TRT_TABLE_DOMAIN): Removed.
4898 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
4900 * free-hook.c (log_gcpro):
4901 (show_gcprohist): Add support for GCPRO5.
4903 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
4905 * emacs.c (main_1): Improve -sd error message when --pdump=no.
4907 2000-11-16 Olivier Galibert <galibert@xemacs.org>
4909 * symeval.h: Declare flush_all_buffer_local_cache.
4911 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
4912 (flush_buffer_local_cache): Added.
4913 (flush_all_buffer_local_cache): Added.
4915 * lrecord.h: Remove unused XD_LO_RESET_NIL.
4917 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
4918 (pdump_dump_data): Ditto.
4919 (pdump_reloc_one): Ditto.
4920 (pdump): Remove unused pdump_qnil. Flush buffer local caches
4924 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
4926 * buffer.c: Remove if 0'ed entry.
4927 * buffer.h: Rewrite TRT to use char-table.
4928 * bufslots.h: Remove mirror tables.
4929 * casetab.c: Remove mirror tables.
4930 (CASE_TABLE_P): New macro.
4931 (Fcase_table_p): Element of a case table is string or char-table.
4932 (make_mirror_trt_table): Removed.
4933 (set_case_table): Setup char-table from strings for backward
4935 * dired.c (Fdirectory_files):
4936 * dired-msw.c: (mswindows_get_files):
4937 * lisp.h: Change prototype of re_pattern_buffer.
4938 * regex.c: (RE_TRANSLATE): New macro.
4939 (TRANSLATE_P): Ditto.
4940 Change translate to type RE_TRANSLATE_TYPE.
4941 * regex.h: Define RE_TRANSLATE_TYPE
4942 * search.c (TRANSLATE): New macro.
4943 (TRANSLATE_ASCII): New macro.
4944 Translate table is changed to Lisp_Object.
4945 (signal_failure): Inhibit return.
4947 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
4954 Do UNGCPRO before return.
4956 2000-11-14 Martin Buchholz <martin@xemacs.org>
4958 * XEmacs 21.2.37 is released.
4960 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4962 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
4963 Add comments about discarded return value.
4965 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
4968 * event-stream.c: Fix comments. Remove some #if 0'ed part.
4970 2000-10-27 Andy Piper <andy@xemacs.org>
4972 * gutter.c (Fset_default_gutter_position): default left and right
4974 (calculate_gutter_size): calculate resonable heuristic for left
4975 and right gutter sizes.
4976 (specifier_vars_of_gutter): change left and right gutter sizes to
4978 (calculate_gutter_size_from_display_lines): new function.
4979 (output_gutter): check for resizing on left and right gutters.
4980 (clear_gutter): don't special case top and left gutters.
4981 (specifier_vars_of_gutter): use new signature for
4982 set_specifier_caching.
4984 * glyphs-x.c (x_redisplay_widget): spelling fix.
4985 * glyphs.c (specifier_vars_of_glyphs):
4986 * menubar.c (specifier_vars_of_menubar):
4987 * redisplay.c (specifier_vars_of_redisplay):
4988 * toolbar.c (specifier_vars_of_toolbar):
4989 * window.c (specifier_vars_of_window):
4990 * scrollbar.c (specifier_vars_of_scrollbar):
4991 (complex_vars_of_scrollbar): use new signature for
4992 set_specifier_caching.
4994 * specifier.c (set_specifier_caching): include recompute flag.
4995 (recompute_one_cached_specifier_in_window): always recompute if
4997 (recompute_one_cached_specifier_in_frame): ditto.
4999 * specifier.h (struct specifier_caching): add recompute flag.
5001 2000-10-24 Andy Piper <andy@xemacs.org>
5003 * unexcw.c (copy_executable_and_dump_data_section): add new
5004 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5007 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5009 * console-x.h (x_device): New member modifier_release_time.
5010 * event-Xt.c (x_handle_sticky_modifiers):
5011 Bound interval modifier keys are sticky.
5012 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5013 * events.h: extern it.
5015 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5017 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5019 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5021 * event-stream.c (execute_command_event): Preserve current_events
5022 and the like when event is misc-user-event.
5023 Inhibit quit during the call to maybe_echo_keys.
5025 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5027 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5028 symlink when buffer is killed.
5029 (inhibit_clash_detection): New variable.
5031 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5033 * console.c (Fset_input_method): Trigger redisplay on tty.
5035 2000-11-07 Martin Buchholz <martin@xemacs.org>
5037 * process.c (Fprocess_status): Revert to previous behavior:
5038 (process-status "nosuchprocess") ==> nil
5040 2000-11-06 Martin Buchholz <martin@xemacs.org>
5042 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5043 Work around another GCC 2.95.2 optimizer bug.
5045 2000-11-02 Martin Buchholz <martin@xemacs.org>
5047 * process.c (Fget_process): Use LIST_LOOP_2.
5048 (kill_buffer_processes): Use LIST_LOOP_2.
5050 * minibuf.c (Fall_completions):
5051 Delete old non-functional code for FSF fourth argument.
5053 * frame.c (frame_matches_frame_spec):
5054 Renamed from `frame_matches_frametype'. Update all callers.
5055 (device_matches_device_spec):
5056 Renamed from 'device_matches_console_spec'. Update all callers.
5058 * doc.c (Fsubstitute_command_keys):
5059 Remove buffer overflow crash. Small code cleanups.
5061 * casetab.c (check_case_table): Simpler code.
5063 * window.c (Freplace_buffer_in_windows):
5064 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5065 (and similar implementation) as Fdelete_windows_on.
5068 * alloc.c (Fmake_list):
5069 * alloc.c (make_vector):
5070 * alloc.c (Fmake_vector):
5071 * alloc.c (make_bit_vector):
5072 * alloc.c (Fmake_bit_vector):
5073 * alloc.c (Fbit_vector):
5074 * alloc.c (Fmake_string):
5075 * alloc.c (Fpurecopy):
5076 * alloc.c (Fmemory_limit):
5078 * buffer.c (Fget_buffer):
5079 * buffer.c (Fkill_buffer):
5080 * buffer.c (complex_vars_of_buffer):
5081 * bytecode.c (Fcompiled_function_stack_depth):
5082 * callint.c (Fprefix_numeric_value):
5084 * event-stream.c (Fread_key_sequence):
5086 * casetab.c (Fcase_table_p):
5087 * casetab.c (check_case_table):
5088 * casetab.c (Fset_case_table):
5089 * casetab.c (Fset_standard_case_table):
5091 * chartab.c (Fchar_table_type):
5092 * chartab.c (Freset_char_table):
5093 * chartab.c (Fget_char_table):
5094 * chartab.c (Fget_range_char_table):
5095 * chartab.c (Fput_char_table):
5096 * chartab.c (Fmap_char_table):
5097 * chartab.c (Fcategory_table_p):
5098 * chartab.c (Fcheck_category_at):
5099 * chartab.c (Fchar_in_category_p):
5100 * chartab.c (Fcategory_table):
5101 * chartab.c (Fcopy_category_table):
5102 * chartab.c (Fset_category_table):
5103 * chartab.c (Fcategory_designator_p):
5104 * chartab.c (Fcategory_table_value_p):
5105 * cmds.c (Fdelete_char):
5106 * cmds.c (Fdelete_backward_char):
5107 * cmds.c (Fself_insert_command):
5108 * cmds.c (Fself_insert_internal):
5109 * console.c (Fvalid_console_type_p):
5110 * console.c (Fcdfw_console):
5111 * console.c (Fconsole_type):
5112 * console.c (Fconsole_name):
5113 * console.c (Fconsole_device_list):
5114 * console.c (Fconsole_on_window_system_p):
5118 * data.c (Fsubr_interactive):
5119 * data.c (Fchar_to_int):
5120 * data.c (Fint_to_char):
5123 * data.c (Fnumber_to_string):
5124 * data.c (Fstring_to_number):
5126 * database.c (mark_database):
5127 * database.c (finalize_database):
5128 * database.c (Fdatabase_live_p):
5129 * database.c (Fdatabasep):
5130 * device-x.c (Fx_get_resource):
5131 * device.c (Fdfw_device):
5133 * dired.c (Ffile_name_completion):
5134 * dired.c (Ffile_name_all_completions):
5135 * dired.c (Fuser_name_completion):
5136 * dired.c (Fuser_name_completion_1):
5137 * dired.c (Fuser_name_all_completions):
5138 * doc.c (Fdocumentation):
5139 * doc.c (Fdocumentation_property):
5140 * doc.c (Fsubstitute_command_keys):
5142 * editfns.c (Fchar_to_string):
5143 * editfns.c (Fstring_to_char):
5144 * editfns.c (Ftemp_directory):
5145 * editfns.c (Finsert_char):
5146 * editfns.c (Fbuffer_substring_no_properties):
5147 * editfns.c (Fnarrow_to_region):
5148 * editfns.c (Fchar_equal):
5149 * editfns.c (Fchar_Equal):
5150 * editfns.c (Ftranspose_regions):
5151 * emacs.c (Fdump_emacs):
5153 * eval.c (Fcommand_execute):
5154 * eval.c (Fautoload):
5155 * eval.c (Fbacktrace):
5156 * eval.c (Fbacktrace_frame):
5158 * events.c (Fcopy_event):
5159 * events.c (Fcharacter_to_event):
5160 * events.c (Fevent_button):
5161 * events.c (Fevent_process):
5163 * extents.c (Fnext_extent_change):
5164 * extents.c (Fextent_property):
5166 * faces.c (Fmake_face):
5168 * file-coding.c (Fencode_shift_jis_char):
5169 * file-coding.c (Fencode_big5_char):
5170 * fileio.c (Ffile_name_directory):
5171 * fileio.c (Ffile_name_nondirectory):
5172 * fileio.c (Ffile_name_as_directory):
5173 * fileio.c (Fdirectory_file_name):
5174 * fileio.c (Ffile_truename):
5175 * fileio.c (Fsubstitute_in_file_name):
5176 * fileio.c (Ffile_modes):
5177 * fileio.c (Fset_file_modes):
5178 * fileio.c (Fset_default_file_modes):
5179 * fileio.c (Fverify_visited_file_modtime):
5180 * floatfns.c (Facos):
5181 * floatfns.c (Fasin):
5182 * floatfns.c (Fatan):
5183 * floatfns.c (Fcos):
5184 * floatfns.c (Fsin):
5185 * floatfns.c (Ftan):
5186 * floatfns.c (Fbessel_j0):
5187 * floatfns.c (Fbessel_j1):
5188 * floatfns.c (Fbessel_jn):
5189 * floatfns.c (Fbessel_y0):
5190 * floatfns.c (Fbessel_y1):
5191 * floatfns.c (Fbessel_yn):
5192 * floatfns.c (Ferf):
5193 * floatfns.c (Ferfc):
5194 * floatfns.c (Flog_gamma):
5195 * floatfns.c (Fexp):
5196 * floatfns.c (Fexpt):
5197 * floatfns.c (Flog):
5198 * floatfns.c (Flog10):
5199 * floatfns.c (Fsqrt):
5200 * floatfns.c (Fcube_root):
5201 * floatfns.c (Facosh):
5202 * floatfns.c (Fasinh):
5203 * floatfns.c (Fatanh):
5204 * floatfns.c (Fcosh):
5205 * floatfns.c (Fsinh):
5206 * floatfns.c (Ftanh):
5207 * floatfns.c (Fabs):
5208 * floatfns.c (Ffloat):
5209 * floatfns.c (Flogb):
5210 * floatfns.c (Fceiling):
5211 * floatfns.c (Ffloor):
5212 * floatfns.c (Fround):
5213 * floatfns.c (Ftruncate):
5214 * floatfns.c (Ffceiling):
5215 * floatfns.c (Fffloor):
5216 * floatfns.c (Ffround):
5217 * floatfns.c (Fftruncate):
5218 * fns.c (Fstring_equal):
5219 * fns.c (Fstring_lessp):
5224 * fns.c (Fsubstring):
5226 * fns.c (Fold_assoc):
5227 * fns.c (assoc_no_quit):
5229 * fns.c (Fold_assq):
5230 * fns.c (assq_no_quit):
5232 * fns.c (Fold_rassoc):
5234 * fns.c (Fold_rassq):
5235 * fns.c (rassq_no_quit):
5236 * fns.c (Fremassoc):
5237 * fns.c (remassoc_no_quit):
5239 * fns.c (remassq_no_quit):
5240 * fns.c (Fremrassoc):
5241 * fns.c (Fremrassq):
5242 * fns.c (remrassq_no_quit):
5244 * fns.c (Fplist_get):
5245 * fns.c (Fplist_put):
5246 * fns.c (Fplist_remprop):
5247 * fns.c (Fplist_member):
5248 * fns.c (Flax_plist_get):
5249 * fns.c (Flax_plist_put):
5250 * fns.c (Flax_plist_remprop):
5251 * fns.c (Flax_plist_member):
5253 * fns.c (Fold_equal):
5255 * fns.c (Fbase64_encode_region):
5256 * fns.c (Fbase64_encode_string):
5257 * fns.c (Fbase64_decode_region):
5259 * frame.c (frame_matches_frame_spec):
5260 * frame.c (device_matches_device_spec):
5261 * frame.c (next_frame):
5262 * frame.c (previous_frame):
5263 * frame.c (Fnext_frame):
5264 * frame.c (Fprevious_frame):
5265 * frame.c (Fframe_property):
5266 * frame.c (Fset_frame_height):
5267 * frame.c (Fset_frame_size):
5271 * glyphs.c (decode_error_behavior_flag):
5272 * glyphs.c (Fmake_image_instance):
5273 * indent.c (Findent_to):
5274 * intl.c (Fignore_defer_gettext):
5275 * keymap.c (Fkeymapp):
5276 * keymap.c (Flookup_key):
5278 * lread.c (Fload_internal):
5279 * lread.c (Feval_buffer):
5280 * lread.c (Feval_region):
5281 * macros.c (Fexecute_kbd_macro):
5282 * marker.c (set_marker_internal):
5283 * marker.c (Fset_marker):
5284 * marker.c (set_marker_restricted):
5285 * marker.c (Fcopy_marker):
5286 * marker.c (noseeum_copy_marker):
5288 * menubar.c (Fpopup_menu):
5290 * mule-charset.c (Fcharset_name):
5291 * mule-charset.c (Fchar_charset):
5292 * mule-charset.c (Fchar_octet):
5293 * mule-charset.c (Fsplit_char):
5294 * mule-wnnfns.c (Fwnn_open):
5295 * mule-wnnfns.c (Fwnn_dict_comment):
5296 * mule-wnnfns.c (Fwnn_quit_henkan):
5297 * mule-wnnfns.c (Fwnn_word_toroku):
5298 * mule-wnnfns.c (Fwnn_word_sakujo):
5299 * mule-wnnfns.c (Fwnn_word_use):
5300 * mule-wnnfns.c (Fwnn_hindo_set):
5302 * objects.c (Fmake_color_instance):
5303 * objects.c (Fmake_font_instance):
5304 * print.c (Fwrite_char):
5306 * process.c (mark_process):
5307 * process.c (print_process):
5308 * process.c (get_process_from_usid):
5309 * process.c (Fprocessp):
5310 * process.c (Fprocess_live_p):
5311 * process.c (Fget_process):
5312 * process.c (Fget_buffer_process):
5313 * process.c (get_process):
5314 * process.c (Fprocess_id):
5315 * process.c (Fprocess_name):
5316 * process.c (Fprocess_command):
5317 * process.c (init_process_io_handles):
5318 * process.c (start_process_unwind):
5319 * process.c (Fstart_process_internal):
5320 * process.c (Fopen_multicast_group_internal):
5321 * process.c (Fset_process_window_size):
5322 * process.c (read_process_output):
5323 * process.c (send_process):
5324 * process.c (Fprocess_tty_name):
5325 * process.c (Fset_process_buffer):
5326 * process.c (Fprocess_buffer):
5327 * process.c (Fprocess_mark):
5328 * process.c (set_process_filter):
5329 * process.c (Fset_process_filter):
5330 * process.c (Fprocess_filter):
5331 * process.c (Fprocess_send_region):
5332 * process.c (Fprocess_send_string):
5333 * process.c (exec_sentinel):
5334 * process.c (Fset_process_sentinel):
5335 * process.c (Fprocess_sentinel):
5336 * process.c (status_notify):
5337 * process.c (Fprocess_status):
5338 * process.c (Fprocess_exit_status):
5339 * process.c (process_send_signal):
5340 * process.c (Fprocess_send_eof):
5341 * process.c (deactivate_process):
5342 * process.c (remove_process):
5343 * process.c (Fdelete_process):
5344 * process.c (kill_buffer_processes):
5345 * process.c (Fprocess_kill_without_query):
5346 * process.c (Fprocess_kill_without_query_p):
5348 * rangetab.c (Fget_range_table):
5349 * rangetab.c (Fput_range_table):
5350 * rangetab.c (Fremove_range_table):
5351 * rangetab.c (Fclear_range_table):
5353 * search.c (Fskip_chars_forward):
5354 * search.c (Fskip_chars_backward):
5355 * search.c (Fskip_syntax_forward):
5356 * search.c (Fskip_syntax_backward):
5357 * search.c (search_command):
5358 * search.c (Freplace_match):
5359 * search.c (Fregexp_quote):
5360 * select.c (Fown_selection_internal):
5361 * select.c (Fselection_owner_p):
5362 * select.c (Fselection_exists_p):
5363 * select.c (Fget_selection_internal):
5366 * symbols.c (Fintern):
5367 * symbols.c (Fintern_soft):
5368 * symbols.c (Funintern):
5369 * symbols.c (Fapropos_internal):
5370 * symbols.c (Fset_default):
5372 * syntax.c (Fsyntax_table_p):
5373 * syntax.c (Fcopy_syntax_table):
5374 * syntax.c (Fset_syntax_table):
5375 * syntax.c (Fchar_syntax):
5376 * syntax.c (syntax_match):
5377 * syntax.c (Fmatching_paren):
5378 * syntax.c (Fforward_word):
5379 * syntax.c (scan_lists):
5380 * syntax.c (Fscan_lists):
5381 * syntax.c (Fscan_sexps):
5382 * syntax.c (Fparse_partial_sexp):
5383 * toolbar.c (Fcheck_toolbar_button_syntax):
5386 * window.c (Fwindowp):
5387 * window.c (Fwindow_live_p):
5388 * window.c (Fwindow_point):
5389 * window.c (Fdelete_window):
5390 * window.c (Fnext_window):
5391 * window.c (Fprevious_window):
5392 * window.c (Fother_window):
5393 * window.c (window_loop):
5394 * window.c (Fget_lru_window):
5395 * window.c (Fsplit_window):
5396 * window.c (Fenlarge_window):
5397 * window.c (Fenlarge_window_pixels):
5398 * window.c (Fshrink_window):
5399 * window.c (Fshrink_window_pixels):
5400 * window.c (change_window_height):
5401 * window.c (Fwindow_configuration_p):
5402 * window.c (Fcurrent_window_configuration):
5404 * casefiddle.c (casify_object):
5405 * casefiddle.c (Fupcase):
5406 * casefiddle.c (Fdowncase):
5407 * casefiddle.c (Fcapitalize):
5408 * casefiddle.c (Fupcase_initials):
5409 * casefiddle.c (casify_region_internal):
5410 * casefiddle.c (casify_region):
5411 * casefiddle.c (Fupcase_region):
5412 * casefiddle.c (Fdowncase_region):
5413 * casefiddle.c (Fcapitalize_region):
5414 * casefiddle.c (Fupcase_initials_region):
5415 * casefiddle.c (Fupcase_word):
5416 * casefiddle.c (Fdowncase_word):
5417 * casefiddle.c (Fcapitalize_word):
5418 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5419 Replace 0 with '\0' when working with bytes.
5420 Replace initial "(" with "\(" in docstrings.
5422 2000-11-01 Martin Buchholz <martin@xemacs.org>
5424 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5426 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5428 2000-10-31 Martin Buchholz <martin@xemacs.org>
5430 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5432 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5434 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5437 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5439 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5440 (inhibit_auto_save_session): New variable.
5441 (vars_of_fileio): Declare and initialize them.
5442 * fileio.c (Fdo_auto_save): Don't create session file if
5443 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5445 2000-10-31 Martin Buchholz <martin@xemacs.org>
5447 * sgiplay.c (play_internal): C++ compilability.
5448 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5449 * callproc.c (Fold_call_process_internal):
5450 Remove unused vars `env', `first'.
5451 * scrollbar.c (update_scrollbar_instance):
5452 #### unused var `current_window'.
5453 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5454 etc. within #ifdef NOT_YET.
5455 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5456 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5457 * specifier.c (specifier_instance):
5458 #### unused var `tag'.
5459 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5461 2000-10-27 Martin Buchholz <martin@xemacs.org>
5464 * fns.c (list_sort):
5465 * fns.c (Ffillarray):
5466 * fns.c (bytecode_nconc2):
5469 * fns.c (Fmapconcat):
5470 Be pedantically 64-bit correct. For the time when someone will
5471 want to have a list with length > 2**32.
5473 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5474 Work around MIPSpro compiler bug.
5476 * process-unix.c (unix_kill_child_process): Add snarky comment.
5477 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5479 * config.h.in: Oops, _getpt ==> _getpty
5481 2000-10-26 Martin Buchholz <martin@xemacs.org>
5485 Use void*, not char*, as return type of alloca().
5487 * alloc.c (free_marker): Side effect inside assert expression!
5489 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5491 * mule-charset.c (Fset_charset_ccl_program): To check
5492 if the given ccl program is valid, use setup_ccl_program()
5493 instead of CHECK_VECTOR().
5494 (Fmake_charset): Likewise.
5496 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5498 * faces.c (get_extent_fragment_face_cache_index):
5499 Fix cachel.merged_faces memory leak.
5501 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5503 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5504 Reset MSB of octets obtained by DECODE_SJIS
5505 because of the incompatibility with Emacs.
5506 (ccl_driver)<CCL_ENCODE_SJIS>:
5507 Set MSB of octets before passing them to
5508 ENCODE_SJIS because of the incompatibility
5511 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5513 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5514 (DECLARE_LRECORD): Undo the last change.
5515 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5517 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5519 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5520 the implementation to lrecord_implementations_table.
5522 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5524 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5525 initial value of `lrecord_type_##c_name' and
5526 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
5527 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
5528 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
5529 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
5530 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
5532 2000-10-17 Martin Buchholz <martin@xemacs.org>
5534 * miscplay.c (sndcnv8S_2mono):
5535 (sndcnv2monounsigned):
5536 (sndcnvULaw_2linear):
5538 Remove implementation-defined behavior.
5540 2000-10-12 Martin Buchholz <martin@xemacs.org>
5542 * input-method-xlib.c: Warning suppression.
5544 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
5546 * mule-ccl.c: Sync up with Emacs 21.0.90.
5547 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
5549 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
5551 (ccl_driver[WriteMultibyteChar2]): Bug fix.
5552 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
5553 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
5554 leading char belongs to official 2-dimensional charset.
5555 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
5556 write the given character as is. Otherwise,
5557 if it is a multibyte char, convert it by
5558 non_ascii_set_charptr_emchar, then write it.
5559 (CCL_WRITE_STRING): Likewise.
5560 (ccl_get_compiled_code): New function.
5561 (setup_ccl_program): When ccl_prog is invalid,
5563 (Fregister_code_conversion_map): New function.
5564 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
5566 * mule-ccl.h: Sync up with Emacs 21.0.90.
5567 (Fregister_ccl_program): export it.
5569 * redisplay-msw.c (separate_textual_runs):
5570 If ccl program is not valid, don't do ccl conversion.
5572 * redisplay-x.c (separate_textual_runs): Ditto.
5574 * file-coding.c (Fmake_coding_system):
5575 When type is ccl and value is vector, register it
5576 with a proper symbol. And checks whether the
5577 given ccl program is valid.
5578 (mule_decode): When calling ccl_driver, if src indicates
5579 NULL pointer, set an empty string instead.
5580 (mule_encode): Likewise.
5582 2000-10-11 Martin Buchholz <martin@xemacs.org>
5584 The following large batch of changes gets us back to a state of
5585 C++ compilability. Extbyte is now a char, which means that
5586 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
5588 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
5590 * sound.c (Fplay_sound): Type correctness.
5592 * select-x.c (hack_motif_clipboard_selection): Type correctness.
5593 (x_get_window_property): Type correctness.
5594 (receive_incremental_selection): unsigned char ==> Extbyte
5595 (selection_data_to_lisp_data): unsigned char ==> Extbyte
5596 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
5597 (Fx_store_cutbuffer_internal): Type correctness.
5599 * process-unix.c (try_to_initialize_subtty): Type correctness.
5601 * objects-x.c (x_print_color_instance): Type correctness.
5602 (x_print_font_instance): Type correctness.
5603 (x_list_fonts): SExtbyte ==> Extbyte.
5604 (valid_x_font_name_p): SExtbyte ==> Extbyte.
5605 (x_find_charset_font): SExtbyte ==> Extbyte.
5606 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
5607 (truename_via_XListFonts): SExtbyte ==> Extbyte.
5608 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
5611 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
5612 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
5613 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
5614 (BYTE_C0_P): Use bit ops for char-signedness safety.
5615 (BYTE_C1_P): Use bit ops for char-signedness safety.
5616 (CHARSET_BY_LEADING_BYTE):
5617 (CHARSET_BY_ATTRIBUTES):
5618 Always use inline function.
5619 Use type_checking_assert.
5622 * mule-charset.c (non_ascii_charptr_copy_char):
5623 Modify to work with both ASCII and non-ASCII characters.
5624 Improve docs and variable names.
5625 Replace over-clever fall-through switch with a simple loop.
5626 (Lstream_get_emchar_1):
5627 Replace over-clever fall-through switch with a simple loop.
5629 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5630 Warning suppression.
5632 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
5633 the return value of Lstream_getc, which could be EOF as well.
5635 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
5637 * lisp.h: Make Extbyte a char, not unsigned char, so that external
5638 APIs can be used on Extbytes without casts. Risky!
5642 * input-method-xlib.c (XIM_init_device):
5643 Use Xlib.h instead of IntrinsicP.h.
5644 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
5645 which will break in X11R7.
5646 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
5647 to call XRegisterIMInstantiateCallback with correct types.
5649 * gui-x.c (button_item_to_widget_value): Type correctness.
5651 * glyphs.c (bitmap_to_lisp_data): Type correctness.
5653 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
5654 (xbm_instantiate_1): Type correctness.
5655 (BUILD_GLYPH_INST): Type correctness.
5657 * fileio.c (Fsubstitute_in_file_name): Type correctness.
5660 (decode_coding_sjis):
5661 (decode_coding_big5):
5662 (decode_coding_ucs4):
5663 (decode_coding_utf8):
5664 (decode_coding_iso2022):
5665 (decode_coding_no_conversion):
5666 Make all decoding functions take an Extbyte * arg.
5667 (encode_coding_sjis):
5668 (encode_coding_big5):
5669 (encode_coding_ucs4):
5670 (encode_coding_utf8):
5671 (encode_coding_iso2022):
5672 (encode_coding_no_conversion):
5673 Make all encoding functions take a Bufbyte * arg.
5674 Use size_t instead of unsigned int for memory sizes.
5675 Only cast to unsigned char whenever dereferencing Extbyte *.
5677 * doc.c (unparesseuxify_doc_string): Type correctness.
5679 * console-x.c (split_up_display_spec):
5680 Rewrite without using details of internal string representation.
5681 (x_semi_canonicalize_device_connection): Type correctness.
5684 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
5685 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
5686 (HAVE_XFREE386): Removed.
5688 * buffer.h (DEC_CHARPTR): `const' correctness.
5689 (bufbyte_strcmp): New.
5690 (bufbyte_memcmp): New.
5692 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
5694 * buffer.h (XCHAR_OR_CHAR_INT):
5695 Always use inline function.
5696 Remove redundant type checking assert() - XINT will abort quite nicely.
5698 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
5700 * search.c (Freplace_match): Set newtext to an empty string.
5702 2000-10-10 Martin Buchholz <martin@xemacs.org>
5704 * s/decosf1-3.h: Remove #include of stropts.h
5705 * s/ptx.h: Remove #include of stropts.h
5706 * s/usg5-4.h: Remove #include of stropts.h
5709 Use stropts.h, not sys/stropts.h.
5710 Use strtio.h, not sys/strtio.h.
5712 2000-10-04 Martin Buchholz <martin@xemacs.org>
5714 * XEmacs 21.2.36 is released.
5716 2000-09-21 Andy Piper <andy@xemacs.org>
5718 * glyphs-x.c (x_redisplay_widget): make sure non-structural
5719 changes still involve copying the widget tree.
5720 (update_widget_face): make sure a change is register in the widget
5721 tree. Call update_tab_widget_face appropriately.
5722 (update_tab_widget_face): ditto.
5723 (x_tab_control_redisplay): make sure non-structural changes still
5724 involve copying the widget tree.
5726 2000-08-31 Daiki Ueno <ueno@unixuser.org>
5728 * lread.c (locate_file): Check the path element is non-nil.
5730 2000-10-02 Martin Buchholz <martin@xemacs.org>
5732 * lisp.h: Warning suppression for SCO compilers.
5734 * redisplay-tty.c (reset_tty_modes): Fix crash.
5735 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
5737 2000-09-27 Martin Buchholz <martin@xemacs.org>
5739 Big signal/process handling overhaul. Bugs fixed:
5740 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
5741 M-x comint-kill-subjob should work for both values nil and t of
5742 process-connection-type. It was broken on most platforms.
5743 Testing on Irix and Cygwin still needed. Other plaforms tested.
5744 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
5745 * process-unix.c: Signal/Process handling overhaul.
5746 (pty_name): make 64 bytes, as `expect' does, for paranoia.
5747 (allocate_pty): Use all available modern methods of allocating
5748 ptys, falling back to old style BSD allocation as a last resort.
5749 Use allegedly more secure Unix98 pty allocation by default.
5750 (allocate_pty_the_old_fashioned_way): New. the last resort.
5751 (unix_create_process): Push ptem, ldterm, ttcompat where
5752 available. Autoconfiscate.
5753 (try_to_initialize_subtty): New.
5754 (unix_kill_child_process): Proper signal handling for ptys on most
5755 platforms, using special knowledge of AIX, BSD, etc...
5756 (unix_create_process): Always disconnect_controlling_terminal() for
5757 subprocesses, whether using ptys or not.
5758 * process.h: Remove old getpt-dependent PTY code.
5759 * process.c (Fprocess_send_signal): New, obvious generic function.
5760 (decode_signal): New.
5761 (Finterrupt_process):
5765 (Fcontinue_process):
5766 (Fsignal_process): Use decode_signal.
5767 (process_send_signal):
5768 Many docstring corrections.
5769 Allow any signal to be sent to a process object.
5770 * config.h.in: Add symbols for big signal/process overhaul.
5771 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
5772 * sysproc.h: Include process-related headers, where available:
5773 sys/stropts.h sys/strtio.h pty.h libutil.h
5781 Remove old S&M pty stuff.
5782 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
5783 * systty.h: Simplify cpp hackery, improve comments.
5784 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
5786 * editfns.c (Fformat_time_string):
5787 Be a little more paranoid with the return value of ctime.
5789 * fileio.c (check_executable):
5791 Use symbolic constants X_OK, W_OK.
5793 * console-x.c (split_up_display_spec): Fix a warning.
5795 2000-10-02 Martin Buchholz <martin@xemacs.org>
5797 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
5798 * ntproc.c (sys_spawnve): make_string ==> build_string
5799 Small clarity improvements.
5801 2000-09-30 Martin Buchholz <martin@xemacs.org>
5803 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
5805 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
5807 * config.h.in (HAVE_STRCASECMP): Remove.
5809 2000-09-29 Martin Buchholz <martin@xemacs.org>
5811 * redisplay-output.c (redisplay_output_pixmap):
5812 Cleaner and possibly more 64-bit correct code.
5814 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5816 * dumper.c (pdump_load_finish): move restoration of
5817 `noninteractive1' to emacs.c (main_1).
5818 * emacs.c (main_1): protect LISP-visible command-line flags
5821 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
5823 * Makefile.in.in (versionclean): Use EXE_TARGET and
5824 DUMP_TARGET instead of literal program names.
5826 2000-09-20 Martin Buchholz <martin@xemacs.org>
5828 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
5830 2000-09-19 Martin Buchholz <martin@xemacs.org>
5832 * *: Spelling mega-patch
5834 2000-09-19 Martin Buchholz <martin@xemacs.org>
5836 * fns.c (bad_bad_turtle):
5837 Delete "Eek!" comment, since we fixed the bug to which it refers.
5839 2000-09-16 Martin Buchholz <martin@xemacs.org>
5841 * alloca.c: Replace REGISTER with register.
5843 2000-09-16 Daiki Ueno <ueno@unixuser.org>
5845 * file-coding.c (ucs_to_char): Use countof.
5847 2000-09-16 Martin Buchholz <martin@xemacs.org>
5849 * file-coding.c: (ucs_to_char):
5850 (complex_vars_of_file_coding):
5851 Use countof instead of sizeof.
5852 Use CHECK_NATNUM instead of CHECK_INT.
5854 * sysdep.c (strcasecmp): Remove.
5855 * device-x.c (ascii_strcasecmp): New.
5856 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
5857 Avoid using non-standard non-portable strcasecmp.
5859 2000-09-16 Martin Buchholz <martin@xemacs.org>
5861 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
5862 * font-lock.c: remove reference to emacsfns.h.
5863 * search.c: small doc improvement.
5864 * event-Xt.c: correct file names in comments.
5865 * console-x.h Correct file names in comments.
5866 * frame.c: Correct file names in comments.
5867 * event-stream.c: remove Energize from comments.
5869 2000-09-15 Martin Buchholz <martin@xemacs.org>
5871 * symeval.h (DEFERROR_STANDARD):
5874 (DEFSYMBOL_NO_DUMP):
5875 (DEFSYMBOL_MULTIWORD_PREDICATE):
5876 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
5878 The construct &##name is not sensible C.
5879 Fixes compilation errors with Unixware native compiler.
5881 2000-09-14 Martin Buchholz <martin@xemacs.org>
5883 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
5884 (next_frame_internal): Removed. We now just have next_frame.
5886 Write a simpler and cleaner one-pass algorithm.
5887 Remove called_from_delete_device arg and #ifdefed-out code.
5889 Renamed from prev_frame. Update callers.
5890 Cleaned up to have an analogous implementation to next_frame.
5891 (other_visible_frames_internal): Remove the
5892 called_from_delete_device bogus arg, and hence, remove this
5893 function. Just use other_visible_frames().
5895 * window.c (Fnext_window):
5897 Since next_frame() is guaranteed to return a frame, remove check
5898 for nil inserted in previous patch.
5901 Make code look more like Fnext_window.
5903 Respect the `console' arg when iterating through windows.
5904 Fixes bug: (get-buffer-window buffer t device) not respecting
5906 This function needs more work, as others have pointed out.
5908 * frame.h: Rename prev_frame to previous_frame.
5909 device_matches_console_spec no longer takes a `frame' arg.
5914 Use EMACS_BLOCK_SIGNAL instead of sigblock.
5915 From "Golubev I. N." <gin@mo.msk.ru>.
5917 * make-src-depend: Fix typo.
5919 2000-09-13 Martin Buchholz <martin@xemacs.org>
5921 * window.c (Fnext_window):
5922 next_frame() might return nil, not a frame.
5924 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
5926 * frame.c (next_frame_internal):
5927 We've passed a frame if we've passed its device.
5929 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
5930 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
5932 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
5934 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
5935 Allow option to suppress accelerators in menu/dialog items.
5936 (populate_or_checksum_helper): Pass dialog title through above.
5938 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
5940 * event-msw.c (mswindows_key_to_emacs_keysym):
5941 Add "pause" key, fix "menu" key.
5943 2000-09-09 Martin Buchholz <martin@xemacs.org>
5945 * eval.c (reinit_vars_of_eval):
5946 Increase max_lisp_eval_depth to 1000,
5947 required for thai-xtis.el to byte-compile under some circumstances.
5949 2000-09-04 Martin Buchholz <martin@xemacs.org>
5951 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
5954 2000-09-01 Martin Buchholz <martin@xemacs.org>
5956 * make-src-depend: Make the generated Makefiles smaller.
5958 * s/hpux.h (SETUP_SLAVE_PTY):
5959 Provide a %d in the format string for the errno argument.
5961 * editfns.c (Ftemp_directory):
5963 Avoid buffer overrun on very long file name.
5965 * input-method-xlib.c (XIM_init_device):
5966 6th parameter of XRegisterIMInstantiateCallback has different
5967 pointer types on different OSes, so simply cast to (void *).
5969 * unexhp9k800.c: Warning fixes. Fiddly changes.
5971 * sysdll.c (dll_open):
5972 shl_load will hang hard if passed a NULL filename.
5973 Simply return NULL for compatibility with dlopen.
5974 * sysdll.c: Conform to XEmacs coding standards.
5976 * sysdep.c (get_pty_max_bytes):
5977 Support pty input lines longer than 512 bytes on HP-UX 10.20.
5979 2000-08-31 Martin Buchholz <martin@xemacs.org>
5981 * tooltalk.c: Add #include <syssignal.h>
5983 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
5985 * s/hpux.h: Don't use undefined function sigunblock().
5987 2000-08-31 Martin Buchholz <martin@xemacs.org>
5989 * config.h.in: Add HAVE_BALLOON_HELP.
5990 * emacs.c: Use HAVE_BALLOON_HELP.
5991 * Makefile.in.in (x_objs):
5992 Make Balloon Help conditional on finding shape.h.
5994 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
5996 * syntax.c (regex_emacs_buffer_p): New variable.
5997 * syntax.h (regex_emacs_buffer_p): extern.
5998 * search.c (looking_at_1):
6000 (fast_string_match):
6001 (search_buffer): Set regex_emacs_buffer_p.
6002 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6003 when before_dot, at_dot, after_dot.
6005 2000-08-23 Andy Piper <andy@xemacs.org>
6007 * gui-x.c (popup_selection_callback): Only set action_occurred
6008 when we really have an image instance.
6009 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6011 2000-08-23 Andy Piper <andy@xemacs.org>
6013 * gui-msw.c (mswindows_handle_gui_wm_command): set
6015 * gui-x.c (popup_selection_callback): ditto.
6017 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6018 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6019 (struct Lisp_Image_Instance): add action_occurred flag.
6021 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6022 (image_instance_changed): ditto.
6023 (reset_frame_subwindow_instance_cache): only unmap windows - do
6024 not remove them from the cache also.
6026 * glyphs-widget.c (tab_control_update): better debug.
6027 (progress_gauge_update): ditto.
6028 (layout_update): ditto.
6029 (layout_instantiate): ditto.
6030 (tab_control_order_only_changed): cope with null pending items.
6032 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6033 debug. Force selection of an item when an action occurred. Cope
6034 with null pending_items.
6035 (mswindows_progress_gauge_redisplay): better debug.
6036 * glyphs-x.c (x_tab_control_redisplay): ditto.
6038 * redisplay.c (redisplay_frame): reset the frame cache if the
6041 * window.c (Fset_window_configuration): potentially re-enable
6043 (window_unmap_subwindows): need to finalize instances here since
6044 it is only used in mark_window_as_deleted.
6046 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6048 * nas.c (SndOpenDataForReading):
6049 nas.c (WaveOpenDataForReading):
6050 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6051 Somehow escaped from the 2000-08-14 patch.
6053 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6055 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6056 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6058 2000-08-21 Andy Piper <andy@xemacs.org>
6060 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6061 window if it is not already displayed.
6063 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6064 it is not already displayed.
6066 * window.c (Fset_window_configuration): don't reset the frame
6069 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6070 instances from the frame cache if we are actually finalizing them.
6071 (reset_frame_subwindow_instance_cache): reset frame cache only
6072 after unmapping everything.
6073 (map_subwindow): set displayed flag after mapping.
6075 2000-08-21 Martin Buchholz <martin@xemacs.org>
6077 * data.c (indirect_function):
6078 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6080 * eval.c (function_argcount):
6081 Use original function when signaling errors.
6083 2000-08-18 Andy Piper <andy@xemacs.org>
6085 * frame.c (delete_frame_internal): use new
6086 free_frame_subwindow_instances name.
6088 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6089 (add_tab_item): make return type correct.
6090 (mswindows_tab_control_instantiate): assert index of tab.
6091 (mswindows_tab_control_redisplay): Re-code to use
6092 gui_item_equal_sans_selected and gui_item_list_find_selected.
6094 * glyphs-widget.c (tab_control_update): Correct comment.
6096 * window.c (window_unmap_subwindows): use new
6097 unmap_subwindow_instance_cache_mapper.
6098 (window_unmap_subwindows_cache_mapper): deleted.
6099 (Fset_window_configuration): comparisons should now be with
6100 EQ. Preserve the subwindow instance cache across configuration
6102 (allocate_window): ditto.
6103 (make_dummy_parent): ditto.
6105 * glyphs.c (free_frame_subwindow_instances): rename from
6106 free_frame_subwindow_instance_cache. finalize all instances rather
6107 than just those in the display cache.
6108 (finalize_all_subwindow_instances): walk windows unmapping and
6109 finalizing subwindows.
6110 (unmap_subwindow_instance_cache_mapper): moved from
6111 window.c. Allow finalization as well as unmapping.
6113 * gui.c (gui_item_list_find_selected): new function.
6115 * gui.h (gui_item_list_find_selected): declare.
6117 * glyphs-x.c (x_tab_control_redisplay): pick tab
6118 explicitly. Re-code to use gui_item_equal_sans_selected and
6119 gui_item_list_find_selected.
6121 * glyphs-x.h: add lwlib-utils.h
6123 * buffer.c (Frecord_buffer): undo previous change.
6125 2000-08-09 Vin Shelton <acs@xemacs.org>
6127 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6128 possible. Create temporary files more securely. The patch was
6129 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6130 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6131 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6134 2000-08-07 Ben Wing <ben@xemacs.org>
6136 * getloadavg.c: remove duplicate (and windows-breaking)
6137 includes of fcntl.h and sys/file.h.
6139 * nt.c: remove duplicate getloadavg() definition.
6141 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6144 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6146 * eval.c (function_argcount): If function needs to be autoloaded
6147 actually use the loaded definition.
6150 2000-08-05 Ben Wing <ben@xemacs.org>
6152 * getloadavg.c: add prototype for getloadavg(). remove
6153 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6154 of the code). remove duplicate header includes.
6156 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6158 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6159 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6160 useful load average.
6162 * alloc.c (reinit_alloc_once_early): removed references to
6163 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6164 the lisp vars are the only things referencing the malloc_sbrk_*
6165 vars, and they were already if 0'd out. these vars only exist
6166 in the older malloc.c, which is basically unused, and they're
6167 only for informational purposes.
6169 * m\*.h: removed useless VIRT_ADDR_VARIES.
6171 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6173 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6175 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6176 color if the image is a mono pixmap.
6178 2000-07-30 Ben Wing <ben@xemacs.org>
6180 * Makefile.in.in (release):
6183 * buffer.c (directory_is_current_directory):
6184 * dired-msw.c (mswindows_get_files):
6186 * dired.c (Fdirectory_files):
6187 * dired.c (file_name_completion_stat):
6188 * dired.c (Ffile_attributes):
6189 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6190 preprocessor tricks, to avoid problems on some machines
6193 * callproc.c (egetenv): GC docs.
6196 * console-msw.h (struct mswindows_dialog_id):
6197 * lrecord.h (lrecord_type):
6198 New object for use with MSW dialogs.
6200 * console.h (struct console_methods):
6201 New enable/disable frame methods, for proper modal dialogs.
6203 * device-msw.c (msprinter_default_printer): Fix to follow
6204 proper Mule conventions.
6207 * device-msw.c (signal_open_printer_error):
6208 * device-msw.c (msprinter_init_device):
6209 * device-msw.c (ensure_not_printing):
6210 * device-msw.c (plist_get_margin):
6211 * device-msw.c (Fmsprinter_select_settings):
6212 * device-msw.c (finalize_devmode):
6213 * device-msw.c (Fmsprinter_settings_despecialize):
6214 * device-msw.c (signal_enum_priner_error):
6215 * extents.c (decode_extent):
6216 * extents.c (decode_map_extents_flags):
6217 * extents.c (decode_extent_at_flag):
6218 * extents.c (Fextent_at):
6219 * extents.c (Fextents_at):
6220 * extents.c (symbol_to_glyph_layout):
6221 [[[[2]]]] Use structured errors.
6224 * dialog-msw.c (mswindows_is_dialog_msg):
6225 * dialog-msw.c (mark_mswindows_dialog_id):
6226 * dialog-msw.c (dialog_proc):
6227 * dialog-msw.c (handle_question_dialog_box):
6228 * dialog-msw.c (syms_of_dialog_mswindows):
6229 Define new object to clean up marking; use it as a dialog identifier.
6230 Call new delete-dialog-box-hook.
6232 * dialog-x.c (dbox_selection_callback):
6233 * dialog-x.c (dbox_descriptor_to_widget_value):
6234 * dialog-x.c (x_make_dialog_box_internal):
6235 Call new delete-dialog-box-hook.
6239 * dialog.c (syms_of_dialog):
6240 * dialog.c (vars_of_dialog):
6241 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6244 * eval.c (signal_call_debugger):
6245 when noninteractive, output stack traces on the console instead
6246 of in a (never-seen) buffer.
6248 * eval.c (signal_type_error):
6249 * eval.c (invalid_argument_2):
6251 new funs for use w/structured errors.
6254 * event-Xt.c (x_to_emacs_keysym):
6255 * event-Xt.c (describe_event):
6256 * event-Xt.c (emacs_Xt_event_handler):
6257 * event-Xt.c (vars_of_event_Xt):
6259 * event-msw.c (mswindows_wnd_proc):
6260 * event-msw.c (vars_of_event_mswindows):
6261 rename {x,mswindows}-debug-events to debug-{}-events for
6262 consistency with other debug-foo variables.
6265 document next-event more clearly.
6267 * fileio.c (Ffile_name_directory):
6268 * fileio.c (Ffile_name_nondirectory):
6269 * fileio.c (Funhandled_file_name_directory):
6270 * fileio.c (file_name_as_directory):
6271 * fileio.c (Ffile_name_as_directory):
6272 * fileio.c (directory_file_name):
6273 * fileio.c (Fdirectory_file_name):
6274 * fileio.c (Fmake_temp_name):
6275 * fileio.c (Ffile_truename):
6276 * fileio.c (Fsubstitute_in_file_name):
6277 * fileio.c (expand_and_dir_to_file):
6278 * fileio.c (barf_or_query_if_file_exists):
6279 * fileio.c (check_executable):
6280 * fileio.c (Ffile_exists_p):
6281 * fileio.c (Ffile_writable_p):
6282 * fileio.c (Ffile_directory_p):
6283 * fileio.c (Ffile_regular_p):
6284 * fileio.c (Ffile_modes):
6285 * fileio.c (Ffile_newer_than_file_p):
6286 * fileio.c (Fverify_visited_file_modtime):
6287 * fileio.c (Fset_visited_file_modtime):
6288 * fileio.c (auto_save_1):
6293 * frame-msw.c (mswindows_init_frame_1):
6294 * frame-msw.c (mswindows_enable_frame):
6295 * frame-msw.c (error_frame_unsizable):
6296 * frame-msw.c (msprinter_init_frame_1):
6297 * frame-msw.c (msprinter_init_frame_3):
6298 * frame-msw.c (console_type_create_frame_mswindows):
6300 implement new enable/disable frame methods.
6303 * frame-x.c (x_enable_frame):
6304 * frame-x.c (console_type_create_frame_x):
6305 implement new enable/disable frame methods.
6308 * frame.c (Fdisable_frame):
6309 * frame.c (syms_of_frame):
6310 * frame.h (struct frame):
6311 implement new enable/disable frame methods/functions.
6316 * glyphs-msw.c (mswindows_widget_instantiate):
6317 comment that initial-focus should be implemented.
6320 * glyphs-widget.c (check_valid_instantiator):
6321 * glyphs-widget.c (check_valid_orientation):
6322 * glyphs-widget.c (check_valid_tab_orientation):
6323 * glyphs-widget.c (check_valid_justification):
6324 * glyphs-widget.c (check_valid_border):
6325 * glyphs-widget.c (check_valid_callback):
6326 * glyphs-widget.c (check_valid_int_or_function):
6327 * glyphs-widget.c (check_valid_string_or_vector):
6328 * glyphs-widget.c (check_valid_item_list_1):
6329 * glyphs-widget.c (widget_validate):
6330 * glyphs-widget.c (combo_box_validate):
6331 * glyphs-widget.c (widget_instantiate):
6332 * glyphs-widget.c (syms_of_glyphs_widget):
6333 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6334 * glyphs-widget.c (image_instantiator_combo_box):
6335 * glyphs-widget.c (image_instantiator_scrollbar):
6336 * glyphs-widget.c (image_instantiator_tab_control):
6337 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6339 support (unimplemented) keyword initial-focus.
6340 reindent long macros.
6342 * glyphs-x.c (x_redisplay_widget):
6343 * glyphs-x.c (x_button_instantiate):
6344 * glyphs-x.c (x_button_redisplay):
6345 * glyphs-x.c (x_progress_gauge_instantiate):
6346 * glyphs-x.c (x_edit_field_instantiate):
6347 * glyphs-x.c (x_combo_box_instantiate):
6348 * glyphs-x.c (x_tab_control_instantiate):
6349 * glyphs-x.c (x_label_instantiate):
6351 * gui-x.c (button_item_to_widget_value):
6352 * gui-x.c (gui_items_to_widget_values_1):
6353 * gui-x.c (gui_item_children_to_widget_values):
6354 * gui-x.c (gui_items_to_widget_values):
6356 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6357 add new flag to gui-parsing routines to indicate whether
6358 accelerator specs should be supported.
6360 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6362 * glyphs.h (struct Lisp_Image_Instance):
6363 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6364 add initial-focus flag.
6367 * gui.c (syms_of_gui):
6368 * gui.c (vars_of_gui):
6369 clean up menu-no-selection-hook.
6372 support delete-dialog-box-hook.
6374 * lread.c (Fload_internal):
6375 * lread.c (locate_file_in_directory_mapper):
6379 * lrecord.h (struct toolbar_button):
6380 * lrecord.h (syms_of_toolbar):
6381 document how to create a new object.
6383 * menubar-msw.c (mswindows_char_is_accelerator):
6384 may be called on frames w/o menus.
6386 * menubar.c (vars_of_menubar):
6387 clean up :filter docs.
6394 * process-nt.c (validate_signal_number):
6395 * process-nt.c (signal_cannot_launch):
6396 * process-nt.c (nt_create_process):
6397 * process-nt.c (nt_send_process):
6398 * process-nt.c (nt_kill_child_process):
6399 * process-nt.c (nt_open_network_stream):
6400 * process-nt.c (syms_of_process_nt):
6402 delete quote-handling. call new lisp code that does it better.
6404 * process-unix.c (connect_to_file_descriptor):
6405 * process-unix.c (allocate_pty):
6406 * process-unix.c (unix_send_process):
6407 * process-unix.c (unix_kill_child_process):
6408 * process-unix.c (unix_open_network_stream):
6409 * process-unix.c (unix_open_multicast_group):
6413 * process.c (Fstart_process_internal):
6414 (2). need to canonicalize process path even if absolute.
6416 * select-msw.c (symbol_to_ms_cf):
6417 * select-msw.c (ms_cf_to_symbol):
6418 * select-msw.c (cf_is_autofreed):
6419 * select-msw.c (mswindows_destroy_selection):
6421 * select.c (syms_of_select):
6423 support dibv5, fix bugs. (from Mike Alexander)
6425 * select.c (Fget_selection_internal):
6426 * select.c (select_convert_out):
6429 * sysdep.c (xemacs_stat):
6434 but keep original stat() here because we provide encapsulation
6438 * sysfile.h (fstat):
6439 remove stat garbage.
6443 don't include tchar.h. it's inappropriate because it makes
6444 compile-time distinctions when we want runtime distinctions.
6445 (we provide our own tchar replacements)
6448 use default object printer for toolbar-button.
6451 make sure we don't encapsulate.
6453 * window.c (vars_of_window):
6454 emphasize that temp-buffer-show-hook is obsolete.
6456 2000-08-05 Martin Buchholz <martin@xemacs.org>
6458 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6459 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6461 * events.c (Fevent_timestamp_lessp):
6462 Not 64-bit clean. Use EMACS_INT, not int.
6464 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6466 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6467 unsigned int and changed the last enum to
6468 lrecord_type_last_built_in_type.
6469 (lrecord_implementations_table): changed prototype to know how
6470 long the array is supposed to be.
6471 (lrecord_type_count): new unsigned int to keep track of the
6472 current number of lisp lrecord types.
6473 (DEFINE_EXTERNAL_LRECORD):
6474 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6475 dynamic-modules to declare new lisp types. They are the same
6476 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6477 int for each new type, and increment lrecord_type_count by 1.
6479 * alloc.c (lrecord_implementations_table): Changed to reference
6480 lrecord_type_last_built_in_type for the size of the array.
6481 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6483 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6485 * glyphs.h (check_valid_item_list): Renamed from
6486 check_valid_item_list_1.
6488 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6490 * select.c (Qselect_coerce): New.
6491 * select.c (Vselection_coercion_alist): New.
6492 * select.c (syms_of_select): Declare.
6493 * select.c (get-selection-internal): Use it.
6494 Use the new select-coerce functionality.
6496 * select.c (select_coerce): New.
6497 * select.h (select_coerce): Declare.
6498 New function to coerce one type of data into another.
6500 2000-08-03 Martin Buchholz <martin@xemacs.org>
6502 * callproc.c (Fcall_process_internal):
6503 (Fcall_process_internal):
6504 * process-unix.c (unix_create_process):
6505 Save and restore the value of errno, so that error messages are accurate.
6507 2000-08-01 Martin Buchholz <martin@xemacs.org>
6509 * elhash.c (print_hash_table):
6510 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6511 Prettify docstrings and indentation.
6513 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6515 * window.c (Fwindow_pixel_edges): Subtract frame border and
6518 2000-07-31 Andy Piper <andy@xemacs.org>
6520 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6521 will acknowledge the change.
6523 * glyphs.h: declare tab_control_order_only_changed.
6525 * glyphs-x.c (x_tab_control_redisplay): use
6526 tab_control_order_only_changed.
6528 * glyphs-widget.c (tab_control_order_only_changed): new function.
6530 * glyphs-msw.c (mswindows_tab_control_redisplay): use
6531 tab_control_order_only_changed.
6533 * gui.c (gui_item_equal_sans_selected): new function.
6534 (gui_item_equal): use it.
6536 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
6537 :properties in favor of :items..
6539 * glyphs-widget.c (check_valid_item_list): rename from
6540 check_valid_item_list_1.
6541 (check_valid_item_list_1): renamed.
6542 (combo_box_validate): deprecate :properties in favor of :items.
6543 (widget_instantiate): ditto.
6544 (tab_control_update): ditto.
6545 (image_instantiator_combo_box): ditto.
6546 (image_instantiator_tree_view): ditto.
6547 (image_instantiator_tab_control): ditto.
6548 (layout_post_instantiate): remove dead code.
6550 * print.c (debug_print_no_newline): only write to debugger if in
6553 * elhash.c (Fmake_hash_table): update doc string.
6555 * event-msw.c (mswindows_wnd_proc): don't allow processing of
6556 messages whilst in GC. This at least stops XEmacs crashing but has
6557 the potential for wierd behaviour.
6559 2000-07-31 Martin Buchholz <martin@xemacs.org>
6562 Make existence of s&m files optional.
6564 * s/bsd386.h: Remove HAVE_GETLOADAVG.
6565 * s/freebsd.h: Remove HAVE_GETLOADAVG.
6566 * s/gnu.h: Remove HAVE_GETLOADAVG.
6567 * s/netbsd.h: Remove HAVE_GETLOADAVG.
6568 * s/sol2.h: Remove HAVE_GETLOADAVG.
6569 * lisp.h: Remove getloadavg() declaration.
6571 Include <sys/loadavg.h> if available.
6572 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
6573 * config.h.in: Group together getloadavg()-related macros.
6574 Use only configure-time tests to detect getloadavg().
6576 2000-07-30 Martin Buchholz <martin@xemacs.org>
6578 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
6580 2000-07-25 Andy Piper <andy@xemacs.org>
6582 * syswindows.h: add tchar.h for native builds.
6584 * frame.c (syms_of_frame): remove set-glyph-image.
6586 * general-slots.h: add Qset_glyph_image.
6588 * glyphs-widget.c (layout_update): add domain arg to
6590 (syms_of_glyphs_widget): remove set-glyph-image.
6592 2000-07-23 Ben Wing <ben@xemacs.org>
6594 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
6597 2000-07-22 Andy Piper <andy@xemacs.org>
6599 * symsinit.h: add syms_of_win32().
6601 * gui-msw.c (syms_of_gui_mswindows): remove
6602 Fmswindows_shell_execute.
6603 (Fmswindows_shell_execute): moved to win32.c.
6605 * emacs.c (main_1): add syms_of_win32 ().
6607 * win32.c (init_potentially_nonexistent_functions): rewrite in
6608 compiler-friendly terms.
6609 (Fmswindows_shell_execute): move here from gui-msw.c.
6610 (syms_of_win32): new.
6612 * device-msw.c (Fmswindows_printer_list): clean up args to
6614 Don't include tchar under cygwin or mingw.
6615 (msprinter_default_printer): make cygwin-friendly.
6617 2000-07-21 Andy Piper <andy@xemacs.org>
6619 * glyphs-widget.c (image_instantiator_tree_view): use tab
6620 control's update function.
6621 (layout_property): new function. Retrieve items.
6623 * glyphs-msw.c (mswindows_tree_view_redisplay): new
6624 function. Re-populate the tree view from the pending items.
6626 * glyphs.c (instantiate_image_instantiator): Make sure the domain
6627 is designated the parent if the domain is an image instance. This
6628 is needed so that dirtiness can be cascade up the hierarchy and
6629 thus for layout children to be redisplayed correctly.
6630 (allocate_image_instance): rename glyph -> parent.
6632 * redisplay.h: change redisplay_output_layout signature.
6634 * redisplay-msw.c (mswindows_output_display_block): use domain
6637 * redisplay-x.c (x_output_display_block): use domain arg.
6639 2000-07-10 Andy Piper <andy@xemacs.org>
6641 * window.c (Fset_window_configuration): add comment.
6643 * redisplay-output.c (compare_runes):
6644 (redisplay_output_subwindow): redisplay rather than update subwindow.
6645 (redisplay_output_layout): ditto.
6647 * redisplay-msw.c (mswindows_frame_output_end):
6648 (mswindows_frame_output_end): make defer window pos optional.
6650 * lisp.h: add Flast.
6652 * glyphs.h (struct image_instantiator_methods): add dest_mask top
6653 normalize method. Change update method to be for changed
6654 instantiators. Add redisplay method. Change signature of layout
6656 (struct Lisp_Image_Instance): add instantiator.
6657 (IMAGE_INSTANCE_INSTANTIATOR): new.
6658 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
6659 (XIMAGE_INSTANCE_INSTANTIATOR): new.
6660 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
6663 (find_instantiator_differences): new function.
6664 (Fset_instantiator_property): new convenience function.
6665 (check_image_instance_structure): strictly check for vector
6667 (normalize_image_instantiator): make non-static.
6668 (instantiate_image_instantiator): pass on dest_mask and use new
6669 signatures for image_instance_layout and friends.
6670 (mark_image_instance): mark the instantiator. Mark the subwindow
6671 face not the widget face.
6672 (image_instance_equal): add instantiator.
6673 (image_instance_hash): ditto.
6674 (allocate_image_instance): ditto.
6675 (Fset_image_instance_property): removed.
6676 (Fimage_instance_file_name): ditto.
6677 (Fcolorize_image_instance): ditto.
6678 (image_instance_layout): add offsets to be set.
6679 (update_image_instance): new function. update an image instance
6680 from its changed instantiator.
6681 (inherit_normalize): add dest_mask.
6682 (xbm_normalize): ditto.
6683 (xface_normalize): ditto.
6684 (xpm_normalize): ditto.
6685 (text_update): set_property -> update.
6686 (image_instantiate): use the glyph identity as a hash key, not the
6688 (glyph_width): use new image_instance_layout signature.
6689 (glyph_ascent): ditto.
6690 (glyph_descent): ditto.
6691 (glyph_height): ditto.
6692 (glyph_query_geometry): ressurrect.
6693 (glyph_layout): ditto.
6694 (redisplay_subwindow): update -> redisplay.
6695 (syms_of_glyphs): add Fset_instantiator_property.
6696 (image_instantiator_format_create): set_property -> update.
6699 (autodetect_normalize): add dest_maks to signature.
6700 (x_redisplay_subwindow): update -> redisplay.
6701 (x_redisplay_widget): ditto.
6702 (x_button_redisplay): ditto.
6703 (x_progress_gauge_redisplay): ditto.
6704 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
6706 (console_type_create_glyphs_x): update -> redisplay.
6707 (image_instantiator_format_create_glyphs_x): ditto.
6710 (check_valid_instantiator): disallow glyphs in the instantiator,
6711 they must now be vectors.
6712 (check_valid_instantiator_list): ditto.
6713 (glyph_instantiator_to_glyph): use internal symbol rather than
6715 (widget_update): renamed from widget_set_property. Call cascaded
6717 (redisplay_widget): renamed from update_widget.
6718 (widget_layout): image_instance_layout now takes position as well
6720 (widget_normalize): ditto.
6721 (widget_instantiate): ditto.
6722 (tab_control_query_geometry) ditto.:
6723 (tab_control_update): renamed from tab_control_set_property.
6724 (progress_gauge_update): set_property -> update.
6725 (layout_normalize): rewrite so that child instantiators are
6727 (layout_update): new function. Create glyphs from the normalized
6728 children and cope with any other layout keywords. We do not
6729 instantiate children here that will be take care of by
6730 redisplay_output_layout.
6731 (layout_instantiate): call layout_update and not much else.
6732 (layout_post_instantiate): not sure whether this is needed
6734 (layout_query_geometry): query glyph geometry rather than
6735 image_instance geometry.
6736 (layout_layout): set offsets from pass in parameters. Use glyph
6737 geometry and layout functions rather than image instance ones.
6738 (native_layout_layout): ditto.
6739 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
6740 (image_instantiator_widget): set_property -> update.
6741 (image_instantiator_buttons): ditto.
6742 (image_instantiator_progress_guage): ditto.
6743 (image_instantiator_tab_control): ditto.
6744 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
6745 (image_instantiator_layout): add update method.
6747 * glyphs-msw.c (bmp_normalize):
6748 (mswindows_resource_normalize): add dest_mask so that it can be
6749 proprogated by layout_normalize.
6750 (begin_defer_window_pos): make optional because it may not be the
6751 right thing to do and it introduces differences with X.
6752 (mswindows_unmap_subwindow): ditto.
6753 (mswindows_map_subwindow): ditto.
6754 (mswindows_redisplay_subwindow): renamed from
6755 mswindows_update_subwindow.
6756 (mswindows_redisplay_widget): ditto.
6757 (mswindows_button_redisplay): renamed from
6758 mswindows_button_update. Update is now what the instantiation
6759 function does for a changed instantiator.
6760 (mswindows_progress_gauge_instantiate): set the progress value
6761 here if appropriate.
6762 (mswindows_tab_control_redisplay): cope with re-ordering of the
6763 members of the tab widget by simply selecting the new top
6764 widget. This makes things appear ok if you click on a tab.
6765 (mswindows_combo_box_instantiate): image_instance_layout now takes
6766 position as well as size.
6767 (mswindows_progress_gauge_redisplay): renamed from
6768 mswindows_progress_gauge_update.
6769 (console_type_create_glyphs_mswindows): fix update -> redisplay.
6770 (image_instantiator_format_create_glyphs_mswindows): ditto.
6772 * glyphs-eimage.c (jpeg_normalize):
6775 (tiff_normalize): add dest_mask so that it can be proprogated by
6780 (hash_table_weakness_validate):
6781 (decode_hash_table_weakness):
6782 (Fhash_table_weakness):
6784 (syms_of_elhash): use Ben's naming scheme for hashtable types..
6786 * console.h (struct console_methods): move update_* to
6789 2000-07-20 Ben Wing <ben@xemacs.org>
6791 * *.[ch] (XSETOBJ): remove unused middle argument.
6792 lisp-disunion.h: correct wrap_object() to one argument.
6794 2000-07-15 Ben Wing <ben@xemacs.org>
6797 * s/cygwin32.h (CYGWIN_CONV_PATH):
6798 Add missing logb prototype for v1.1.
6799 Use post-b20 names and alias to pre-b20 names when pre-b20.
6801 * s/windowsnt.h: [5].
6803 2000-07-15 Ben Wing <ben@xemacs.org>
6805 * Makefile.in.in (x_objs):
6806 * Makefile.in.in (sheap_objs):
6807 * Makefile.in.in (objs):
6808 added win32.o, cosmetic cleanups.
6810 * alloc.c (Fmake_byte_code):
6811 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
6812 etc. macros which declare their own args now.
6814 * alloc.c (syms_of_alloc):
6815 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
6818 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
6820 * buffer.c (Fget_file_buffer):
6821 Fixed GCPRO problem.
6823 * buffer.c (get_truename_buffer):
6824 Fixed comment about GC checking.
6826 * buffer.c (syms_of_buffer):
6827 Undeclared those dedicated frame funs.
6831 Define convenience macros for internal/external conversions.
6832 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
6833 and Qenvironment_variable_encoding for cleaner code.
6836 Remove dedicated-frame; in lisp.
6838 * bytecode.c (funcall_compiled_function):
6841 * bytecode.c (syms_of_bytecode):
6845 * console-msw.c (mswindows_show_console): Rewrote.
6847 * console-msw.c (Fmswindows_debugging_output): New.
6848 Sends to OutputDebugString (special MSWin debugger interface).
6850 * console-msw.c (Fmswindows_message_box):
6851 Fixed stupid bugs so it works when called from kill-emacs.
6853 * console-msw.c (syms_of_console_mswindows):
6854 Declare Fmswindows_debugging_output.
6857 New MSWin prototypes.
6859 * console-msw.h (struct mswindows_frame):
6860 New entry last-click-mods for improved button-modifier support.
6862 * console-msw.h (FRAME_MSWINDOWS_POPUP):
6863 New struct entry `popup' with corresponding accessor.
6866 * console-x.c (split_up_display_spec):
6867 * console-x.c (get_display_arg_connection):
6868 * console-x.c (x_semi_canonicalize_console_connection):
6869 * console-x.c (x_canonicalize_device_connection):
6870 [[[6]]]: Change char to more specific type.
6871 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
6873 * console-x.c (x_semi_canonicalize_console_connection):
6874 * console-x.c (x_canonicalize_device_connection):
6875 [[[9]]]: Fix up error signalling to use new structured error system.
6878 [[[4]]]: Define codesys aliases:
6879 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
6880 Qx_color_name_encoding, Qx_display_name_encoding.
6882 * console.h (struct console_methods):
6883 New method make_dialog_box_internal supersedes older
6884 popup_dialog_box method.
6887 Define many new errors, part of new structured errors.
6889 * data.c (init_errors_once_early):
6890 * data.c (syms_of_data):
6893 * device-msw.c (mswindows_init_device):
6894 [[[5]]]: Cleanup to support NT 3.51.
6896 * device-msw.c (decode_devmode): Cleanup.
6898 * device-msw.c (mswindows_handle_print_setup_dialog_box):
6899 * device-msw.c (mswindows_handle_print_dialog_box):
6900 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6901 * device-msw.c (syms_of_device_mswindows):
6902 Delete the dialog box primitives recently introduced by Kirill and
6903 instead interface to general dialog box interface.
6906 * device-x.c (compute_x_app_name):
6907 * device-x.c (x_init_device):
6908 * device-x.c (Fx_valid_keysym_name_p):
6909 * device-x.c (Fx_set_font_path):
6913 * device.h (wrap_device): New.
6914 First of its kind; meant to replace XSETDEVICE.
6916 * dialog-msw.c: Many file-dialog symbols.
6918 * dialog-msw.c (mswindows_register_popup_frame): New.
6919 * dialog-msw.c (mswindows_is_dialog_msg): New.
6920 For supporting kbd traversal in dialog boxes.
6922 * dialog-msw.c (dialog_proc):
6923 Support hitting ESC in dialogs.
6925 * dialog-msw.c (struct):
6926 Common dialog box errors.
6928 * dialog-msw.c (handle_file_dialog_box): New.
6929 Add file dialog code.
6931 * dialog-msw.c (handle_question_dialog_box):
6932 Redo existing code to support new question dialog syntax.
6934 * dialog-msw.c (console_type_create_dialog_mswindows):
6935 We support new dialog console method.
6937 * dialog-msw.c (syms_of_dialog_mswindows):
6938 * dialog-msw.c (vars_of_dialog_mswindows):
6939 New file dialog symbols, vars.
6942 * dialog-x.c (maybe_run_dbox_text_callback):
6943 * dialog-x.c (dbox_descriptor_to_widget_value):
6944 * dialog-x.c (x_make_dialog_box_internal):
6945 * dialog-x.c (console_type_create_dialog_x):
6946 Mule-ize entire file.
6947 Redo to support question dialog syntax.
6951 * dialog.c (Fmake_dialog_box_internal):
6952 * dialog.c (syms_of_dialog):
6953 Kill old popup-dialog-box, replace with new primitive.
6954 Just call device method or signal error.
6956 * eldap.c (Fldap_open):
6957 * eldap.c (Fldap_search_basic):
6958 * eldap.c (Fldap_add):
6959 * eldap.c (Fldap_modify):
6964 * emacs.c (make_arg_list_1):
6965 * emacs.c (make_arg_list):
6966 Mule-ize call to dll_init().
6970 * emacs.c (make_argc_argv):
6971 * emacs.c (free_argc_argv):
6972 * emacs.c (init_cmdargs):
6974 * emacs.c (Fkill_emacs):
6975 * emacs.c (Fdump_emacs):
6976 Update comments about what can be used in syms_* etc.
6977 Call init_win32() when necessary.
6978 Fix up MS Win dialog box in kill-buffer to actually work right.
6989 * eval.c (condition_case_3):
6991 * eval.c (function_argcount):
6992 * eval.c (funcall_lambda):
6995 * eval.c (type_error): New.
6996 * eval.c (maybe_type_error): New.
6997 * eval.c (continuable_type_error): New.
6998 * eval.c (maybe_continuable_type_error): New.
6999 * eval.c (type_error_with_frob): New.
7000 * eval.c (maybe_type_error_with_frob): New.
7001 * eval.c (continuable_type_error_with_frob): New.
7002 * eval.c (maybe_continuable_type_error_with_frob): New.
7003 New functions for use with structured errors.
7006 * event-Xt.c (x_event_to_emacs_event):
7007 Buttons are now modifiers too.
7009 * event-Xt.c (emacs_Xt_current_event_timestamp):
7010 Implement new event method.
7011 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7014 * event-msw.c (ntpipe_shove_writer): [5].
7015 * event-msw.c (mswindows_enqueue_mouse_button_event):
7016 * event-msw.c (mswindows_drain_windows_queue):
7017 * event-msw.c (mswindows_wnd_proc): [7].
7018 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7019 * event-msw.c (mswindows_modifier_state):
7020 Throughout: support new button modifiers.
7022 * event-msw.c (emacs_mswindows_current_event_timestamp):
7023 Implement new event method.
7024 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7027 * event-stream.c (event_stream_current_event_timestamp): New.
7028 * event-stream.c (maybe_kbd_translate): New functionality.
7029 * event-stream.c (vars_of_event_stream):
7030 Document new kbd-translate-table functionality.
7032 * event-stream.c (Fcurrent_event_timestamp): New.
7033 New primitive for use in fabricated events.
7034 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7036 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7039 * events.c (Fmake_event):
7040 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7044 * events.c (format_event_object): fix gcc warnings.
7046 * events.c (Fevent_timestamp): Document new primitives.
7048 * events.c (TIMESTAMP_HALFSPACE): New.
7050 * events.c (Fevent_timestamp_lessp): New. New primitive for
7051 comparing timestamps correctly (half-space algorithm).
7053 * events.c (Fevent_modifier_bits): Doc fix.
7055 * events.c (Fevent_modifiers): Major doc addition.
7056 * events.c (event_x_y_pixel_internal): Typo fix.
7057 * events.c (syms_of_events): Declare new primitives.
7060 Update long comment for button modifiers, timestamps.
7062 * events.h (struct event_stream):
7063 New current_event_timestamp method.
7066 * extents.c (extent_in_region_p):
7067 * extents.c (decode_extent):
7068 * extents.c (Fset_extent_parent):
7069 * extents.c (decode_map_extents_flags):
7073 * extents.c (struct extent_at_arg):
7074 * extents.c (decode_extent_at_flag):
7075 * extents.c (extent_at_mapper):
7076 * extents.c (extent_at_bytind):
7077 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7078 * extents.c (Fextents_at): New primitive. [9].
7079 * extents.c (symbol_to_glyph_layout): [9].
7080 Support new primitive `extents-at'.
7083 * extents.c (get_text_property_bytind):
7084 extent_at_bytind has another arg.
7087 * extents.c (syms_of_extents): New primitive.
7089 * file-coding.c (Fmake_coding_system): [1].
7090 * file-coding.c (subsidiary_coding_system): fix gcc warning
7091 * file-coding.c (syms_of_file_coding): [2].
7093 * fileio.c (Fexpand_file_name):
7094 * fileio.c (Fsysnetunam):
7095 * fileio.c (Ffile_exists_p):
7096 * fileio.c (Ffile_executable_p):
7097 * fileio.c (Fverify_visited_file_modtime):
7100 * fileio.c (syms_of_fileio): [2].
7102 * filelock.c (lock_file_1):
7103 * filelock.c (current_lock_owner):
7104 * filelock.c (lock_if_free):
7105 * filelock.c (lock_file):
7106 * filelock.c (unlock_file):
7109 * fns.c (concat): Fix gcc warning.
7112 * fns.c (Fold_member):
7114 * fns.c (Fold_memq):
7115 * fns.c (memq_no_quit):
7117 * fns.c (Fold_assoc):
7119 * fns.c (Fold_assq):
7120 * fns.c (assq_no_quit):
7122 * fns.c (Fold_rassoc):
7124 * fns.c (Fold_rassq):
7125 * fns.c (rassq_no_quit):
7127 * fns.c (Fold_delete):
7129 * fns.c (Fold_delq):
7130 * fns.c (delq_no_quit):
7131 * fns.c (Fremassoc):
7133 * fns.c (remassq_no_quit):
7134 * fns.c (Fremrassoc):
7135 * fns.c (Fremrassq):
7136 * fns.c (remrassq_no_quit):
7141 * frame-msw.c (mswindows_init_frame_1):
7142 * frame-msw.c (mswindows_delete_frame):
7143 Register popups with dialog code so keyboard traversing works.
7145 * frame-tty.c (tty_raise_frame_no_select): [1].
7148 * frame-x.c (x_set_frame_text_value):
7149 * frame-x.c (x_set_frame_properties):
7150 * frame-x.c (x_create_widgets):
7154 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7156 * frame.h (wrap_frame): New.
7157 Macro like wrap_device.
7160 * general.c (SYMBOL):
7161 * general.c (syms_of_general):
7162 Major reorg. This is now just a wrapper and symbols themselves
7163 are listed in general-slots.h.
7165 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7166 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7168 * glyphs-msw.c (mswindows_native_layout_instantiate):
7169 Add DS_CONTROL so keyboard traversal will work.
7172 * glyphs-widget.c (syms_of_glyphs_widget):
7173 Move some symbols to general-slots.h.
7176 * glyphs-x.c (xbm_instantiate_1):
7177 * glyphs-x.c (x_xbm_instantiate):
7178 * glyphs-x.c (x_xface_instantiate):
7179 * glyphs-x.c (autodetect_instantiate):
7180 * glyphs-x.c (cursor_font_instantiate):
7181 * glyphs-x.c (x_update_widget):
7182 * glyphs-x.c (x_widget_instantiate):
7183 * glyphs.c (bitmap_to_lisp_data):
7184 * glyphs.c (pixmap_to_lisp_data):
7187 * glyphs.c (syms_of_glyphs):
7191 * gui-x.c (print_widget_value):
7192 * gui-x.c (menu_separator_style_and_to_external):
7193 * gui-x.c (add_accel_and_to_external):
7194 * gui-x.c (button_item_to_widget_value):
7195 * gui-x.c (gui_items_to_widget_values_1):
7196 * gui-x.c (gui_items_to_widget_values):
7197 * gui-x.c (syms_of_gui_x):
7198 * gui-x.c (vars_of_gui_x):
7199 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7203 Muleize, prototype changes matching gui-x.c.
7206 * gui.c (separator_string_p):
7207 * gui.c (gui_item_add_keyval_pair):
7208 * gui.c (make_gui_item_from_keywords_internal):
7209 * gui.c (signal_too_long_error):
7210 * gui.c (parse_gui_item_tree_item):
7211 * gui.c (syms_of_gui):
7212 * gui.c (vars_of_gui):
7214 menu-no-selection-hook moved here (used by MSWin).
7215 Move some symbols to general-slots.h.
7219 * insdel.c (get_buffer_pos_char):
7220 * insdel.c (get_buffer_range_char):
7223 * keymap.c (keymap_lookup_directly):
7224 * keymap.c (keymap_store):
7225 * keymap.c (ensure_meta_prefix_char_keymapp):
7226 * keymap.c (describe_map):
7228 Support new button modifiers.
7230 * lisp-disunion.h (wrap_object):
7231 * lisp-disunion.h (XSETOBJ):
7232 Rename make_obj to wrap_object.
7235 * lisp-union.h (make_int):
7236 * lisp-union.h (make_char):
7237 Support wrap_object.
7240 * lisp.h (LIST_LOOP):
7241 * lisp.h (EXTERNAL_LIST_LOOP):
7242 * lisp.h (LIST_LOOP_2):
7243 * lisp.h (EXTERNAL_LIST_LOOP_1):
7244 * lisp.h (EXTERNAL_LIST_LOOP_2):
7245 * lisp.h (EXTERNAL_LIST_LOOP_3):
7246 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7247 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7248 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7249 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7250 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7251 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7252 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7253 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7254 * lisp.h (struct Lisp_Symbol):
7255 * lisp.h (maybe_continuable_error_with_frob):
7256 Fix up section comments.
7257 Add new types for char to indicate usage.
7258 Delete symbols auto-generated from general-slots.h.
7259 Add prototypes for structured error functions.
7260 Add long comments describing looping macros and change interface
7261 so that lvalues are automatically declared.
7262 Add NO_DECLARE macro in case callers want to declare lvalues
7265 * lread.c (read_syntax_error):
7266 * lread.c (continuable_read_syntax_error):
7267 * lread.c (read_structure):
7268 * lread.c (sequence_reader):
7269 * lread.c (read_list_conser):
7270 * lread.c (read_compiled_function):
7271 Rename syntax_error and continuable_syntax_error to avoid clash
7272 with same-named structured error functions.
7274 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7275 * menubar-msw.c (populate_menu_add_item):
7276 * menubar-msw.c (populate_or_checksum_helper):
7281 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7282 Mule-ize whole file.
7284 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7286 * mule-charset.c (Fmake_charset):
7287 * mule-wnnfns.c (Fwnn_set_param):
7290 * ntproc.c (create_child):
7291 * ntproc.c (Fwin32_set_current_locale):
7292 Add comments portending doom.
7295 * objects-msw.c (old_font_enum_callback_2):
7296 * objects-msw.c (font_enum_callback_1):
7297 * objects-msw.c (mswindows_enumerate_fonts):
7301 * objects-x.c (allocate_nearest_color):
7302 * objects-x.c (x_parse_nearest_color):
7303 * objects-x.c (x_initialize_color_instance):
7304 * objects-x.c (x_print_color_instance):
7305 * objects-x.c (x_finalize_color_instance):
7306 * objects-x.c (x_valid_color_name_p):
7307 * objects-x.c (x_initialize_font_instance):
7308 * objects-x.c (x_print_font_instance):
7309 * objects-x.c (valid_x_font_name_p):
7310 * objects-x.c (truename_via_FONT_prop):
7311 * objects-x.c (truename_via_random_props):
7312 * objects-x.c (truename_via_XListFonts):
7313 * objects-x.c (x_font_truename):
7314 * objects-x.c (x_font_instance_truename):
7315 * objects-x.c (x_font_instance_properties):
7316 * objects-x.c (x_list_fonts):
7317 * objects-x.c (x_find_charset_font):
7318 Mule-ize entire file.
7325 * print.c (std_handle_out_external):
7326 * print.c (debug_print_no_newline):
7327 * print.c (syms_of_print):
7328 Output to all debugger kinds in debug-print.
7329 Fix console-output code under MSWin to actually work.
7331 * process-nt.c (send_signal):
7332 * process-nt.c (nt_create_process):
7333 Use newer Unicode macros.
7335 * process-unix.c (unix_create_process):
7336 * process-unix.c (unix_canonicalize_host_name):
7337 * process-unix.c (unix_open_network_stream):
7343 * search.c (syms_of_search):
7346 * select-msw.c (mswindows_destroy_selection):
7349 * select-x.c (symbol_to_x_atom):
7352 * select.c (syms_of_select):
7355 * sound.c (Fplay_sound_file):
7359 * specifier.c (decode_specifier_type):
7360 * specifier.c (Fvalid_specifier_locale_type_p):
7361 * specifier.c (check_valid_locale_or_locale_type):
7362 * specifier.c (decode_locale):
7363 * specifier.c (decode_locale_type):
7364 * specifier.c (decode_locale_list):
7365 * specifier.c (check_valid_domain):
7366 * specifier.c (decode_specifier_tag_set):
7367 * specifier.c (Fcanonicalize_tag_set):
7368 * specifier.c (Fdefine_specifier_tag):
7369 * specifier.c (Fspecifier_tag_predicate):
7370 * specifier.c (check_valid_inst_list):
7371 * specifier.c (check_valid_spec_list):
7372 * specifier.c (decode_how_to_add_specification):
7373 * specifier.c (check_modifiable_specifier):
7374 * specifier.c (specifier_add_spec):
7375 * specifier.c (boolean_validate):
7376 * specifier.c (display_table_validate):
7379 * specifier.c (syms_of_specifier):
7380 Move some symbols to general-slots.h.
7384 * symbols.c (Fmapatoms):
7385 * symbols.c (Fapropos_internal):
7388 * symbols.c (set_default_buffer_slot_variable):
7389 * symbols.c (set_default_console_slot_variable):
7392 * symbols.c (defsymbol_massage_name_1):
7393 * symbols.c (defkeyword_massage_name):
7394 * symbols.c (deferror_1):
7395 * symbols.c (deferror):
7396 * symbols.c (deferror_massage_name_and_message):
7398 * symeval.h (DEFSYMBOL):
7399 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7401 * symbols.c (syms_of_symbols):
7405 * symsinit.h (init_win32): New.
7406 Also new is syms_of_dialog_mswindows.
7409 Add new Unicode macros, missing Cygwin wide-char functions,
7410 convenience conversion macros for Qmswindows_tstr, macros for
7411 encapsulating required MSWin <-> Cygwin filename conversions,
7412 prototype for dynamically-extracted (not in NT 3.51) functions.
7417 * tooltalk.c (Fadd_tooltalk_message_arg):
7418 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7419 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7422 * tooltalk.c (syms_of_tooltalk):
7426 * unexnt.c (unexec):
7427 Fix up headers, declaration of unexec() to be more standard.
7429 2000-07-20 Martin Buchholz <martin@xemacs.org>
7431 * offix.h: Revert change to guard macros - they're used in offix.c!
7433 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7435 * lisp.h: Defsubred Fdelete.
7437 * console-msw.h: (msprinter_default_printer): Added.
7439 * console-msw.c (msprinter_canonicalize_console_connection):
7440 (msprinter_canonicalize_device_connection): Added.
7442 * device-msw.c (msprinter_default_printer):
7443 (Fmswingows_get_default_printer):
7444 (signal_enum_priner_error):
7445 (Fmswingows_printer_list): Added.
7447 2000-07-19 Martin Buchholz <martin@xemacs.org>
7449 * XEmacs 21.2.35 is released.
7451 2000-07-19 Martin Buchholz <martin@xemacs.org>
7453 * select-x.c (x_handle_selection_request):
7454 Text selected in xemacs and pasted into xterm failed to appear.
7455 Spelling fixes and cosmetic changes.
7457 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7459 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7460 XEmacs frame (fix for doubling chars in dialog boxes).
7462 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7464 * select.c (select_convert_in, select_convert_out):
7465 Don't call intern() every time.
7467 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7468 * select.c (vars_of_select): Initialise them.
7470 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7472 * select.c (selection-coercible-types): New.
7474 * select.c (own-selection-internal):
7475 * select.c (get-selection-internal):
7476 MULE bug fix - these should default to COMPOUND_TEXT and not
7477 STRING for MULE. I think.
7479 * select.c (select_convert_out): Use selection-coercible-types
7480 to find types that we can attempt to perform coercions on.
7482 2000-07-18 Martin Buchholz <martin@xemacs.org>
7486 Add coding: cookie to identify encoding.
7488 * mule-canna.c (CANNA_mode_keys): make static.
7489 Use proper prototypes, even for functions of no arguments.
7490 Remove external prototype for Fding().
7492 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7494 * select.c (syms_of_select): Add missing DEFSUBR.
7496 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7498 * select.c (get_selection_internal, own_selection_internal):
7499 Make the type default to STRING, rather than placing a nil type
7500 into Vselection_alist.
7502 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7504 * gpmevent.c (tty_selection_exists_p):
7505 * gpmevent.c (tty_own_selection):
7506 Updated parameter lists.
7508 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7510 * select.h (selection-alist): Removed declaration.
7512 * select.h (get_local_selection):
7513 * select.c (get_local_selection):
7516 * select.h (convert_selection): Removed declaration.
7517 * select.c (convert_selection): Removed.
7518 This function belongs in Lisp.
7520 * select.h (select_convert_in): Declare.
7521 * select.h (select_convert_out): Declare.
7522 * select.c (select_convert_in): New.
7523 * select.c (select_convert_out): New.
7524 New conversion functions for other files to call.
7526 * select.h (select_notify_buffer_kill): Declare.
7527 * select.c (select_notify_buffer_kill): New.
7528 New functions that get called from kill-buffer.
7530 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
7531 X-specific lisp code.
7533 * select.h: Declare some of the lisp-visible functions for
7536 * select.c (clean_local_selection_data): Removed. This was
7537 a disgusting function, and previously should have been in
7538 select-x.c in any case. The functionality is now provided
7539 in select-convert-from-integer (select.el).
7541 * select.c (available-selection-types): Fixed stupidity where
7542 INTEGER and ATOM got added twice. Also add STRING when we see an
7545 * select.c (get-selection-internal): Removed symbol stripping. No
7546 longer causes conversion when data comes from the internal cache.
7548 * select.c (syms_of_select): Added new functions.
7550 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
7551 error checking - previously this called abort!
7553 * select-x.c (x_own_selection): Changed comment.
7555 * select-x.c (x_handle_selection_request): Use select_convert_out.
7556 Don't mess with selection-alist; it's an internal variable of select.c.
7558 * select-x.c (x_get_foreign_selection): Use select_convert_in.
7560 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
7561 rather than messing with selection-alist.
7563 * select-msw.c (mswindows_get_foreign_selection):
7564 Use TO_INTERNAL_FORMAT rather than hacking.
7566 2000-07-14 Martin Buchholz <martin@xemacs.org>
7568 * process-unix.c (unix_open_multicast_group):
7569 (unix_open_multicast_group): Remove useless casts.
7571 2000-07-13 Martin Buchholz <martin@xemacs.org>
7573 * sound.c (Fplay_sound): Fix `unused variable' warning.
7575 * emacs.c (main): Use correct type for _environ on SCO5.
7577 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
7579 * console.h (own_selection_method):
7580 * console.h (selection_exists_p_method):
7581 * console.h (available_selection_types_method): New.
7582 * console.h (register_selection_data_type_method): New.
7583 * console.h (selection_data_type_name): New.
7585 * console-msw.h (mswindows_destroy_selection): Declare it. New
7586 function & alist to track GlobalAlloc()'d handles that need
7587 releasing when the clipboard data gets replaced or emptied.
7589 * event-msw.c (mswindows_wnd_proc): Call it.
7591 * lisp.h, general.c (Qappend): New symbol representing a
7594 * select.c (own-selection-internal):
7595 * select.c (selection-exists-p):
7596 * select.c (available-selection-types): New.
7597 * select.c (register-selection-data-type): New.
7598 * select.c (selection-data-type-name): New. New functions to deal
7599 with device-specific selection data formats.
7600 * select.c (selection-converter-out-alist): Renamed.
7601 * select.c (selection-converter-in-alist): New.
7602 * select.c (selection-appender-alist): New. Added new alists.
7603 * select.c (syms_of_select, vars_of_select): Added new symbols &
7605 * select.c (get_local_selection): Split.
7606 * select.c: Removed spurious type checking - selections may now be
7607 of any type, not just strings.
7608 * select.c (own-selection-internal):
7610 * select.h, select.c (convert_selection): New. Created
7611 convert_selection() function based on get_local_selection().
7612 * select.h, select.c (QCF_*): New symbols representing mswindows
7614 * select.h, select.c (Qreplace_all, Qreplace_existing): New
7615 symbols representing `how-to-add' modes.
7617 * select-msw.c (x_sym_p): New.
7618 * select-msw.c (symbol_to_ms_cf): New.
7619 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
7620 symbols & clipboard formats. Can also handle string names.
7621 * select-msw.c (mswindows_own_selection):
7622 * select-msw.c (mswindows_selection_exists_p):
7623 Added `data-type' parameter. Use it.
7624 * select-msw.c (mswindows_available_selection_types): New.
7625 * select-msw.c (mswindows_register_selection_data_type): New.
7626 * select-msw.c (mswindows_selection_data_type_name): New.
7627 * select-msw.c (mswindows_own_selection):
7628 * select-msw.c (mswindows_get_foreign_selection):
7629 * select-msw.c (mswindows_selection_exists_p): Rewrote.
7630 * select-msw.c (console_create_select_mswindows): Added new methods.
7631 * select-msw.c (mswindows_destroy_selection): New.
7632 * select-msw.c (Vhandle_alist): New list.
7633 * select-msw.c (mswindows_own_selection):
7635 * select-x.c (x_own_selection):
7636 * select-x.c (x_selection_exists_p):
7637 * select-x.c: Added some comments about maybe using new
7639 * select-x.c (x_own_selection):
7641 * specifier.c: Remove definition of Qappend (now in general.c)
7642 * specifier.c (syms_of_specifier): Remove Qappend.
7644 2000-07-12 Martin Buchholz <martin@xemacs.org>
7646 * config.h.in: Add socklen_t.
7648 * s/decosf4-0.h: No special compiler flags needed or desired.
7649 In particular, undefine _BSD for DEC OSF 4.0.
7651 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7653 * redisplay-msw.c (msprinter_frame_output_end): Added.
7654 (console_type_create_redisplay_mswindows): Referred the above.
7656 * frame.c (setup_frame_without_minibuffer): Do not create a
7657 default minibuffer frame on a printer device.
7659 * frame-msw.c (apply_dc_geometry): Added.
7660 (msprinter_start_page):
7661 (msprinter_init_frame_3):
7662 (msprinter_eject_page): Use it.
7664 * console-msw.h (struct msprinter_frame): Added pix_left and top,
7665 and removed residual duplex and orientation properties.
7667 2000-07-11 Martin Buchholz <martin@xemacs.org>
7669 * eval.c (function_argcount): Work around a DEC CC compiler bug.
7671 * unexalpha.c: Remove system prototypes from C sources!
7673 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
7675 * eval.c: Remove references to M-x edit-options in DEFUNs for
7676 `defvar' and `defconst'.
7678 2000-07-09 Martin Buchholz <martin@xemacs.org>
7680 * config.h.in: Remove SMART_INCLUDE hackery.
7683 * config.h.in: Don't use SMART_INCLUDE.
7685 * postgresql.h: Include libpq-fe.h here. Fix typo.
7686 * inline.c: Simply #include "postgresql.h"
7688 - Don't use SMART_INCLUDE
7689 - Use simply "const".
7690 - Use standard doc string conventions.
7691 - Use correct type for result of PQstatus.
7693 2000-07-09 Martin Buchholz <martin@xemacs.org>
7695 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
7697 C++ compilation changes.
7698 * config.h.in (EXTERN_C): Define.
7699 * config.h.in (not): This is also a C++ keyword.
7700 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
7701 * cm.c: Use EXTERN_C.
7702 * redisplay-tty.c: Use EXTERN_C.
7703 * sysdep.c: Use EXTERN_C. Remove Gould support.
7705 2000-07-09 Martin Buchholz <martin@xemacs.org>
7707 * general.c: Remove duplicate definition for Qfunction.
7709 2000-07-08 Ben Wing <ben@xemacs.org>
7711 * device-msw.c (msprinter_init_device):
7712 * device-msw.c (sync_printer_with_devmode):
7713 * device-msw.c (handle_devmode_changes):
7714 * device-msw.c (print_dialog_worker):
7715 * device-msw.c (Fmsprinter_apply_settings):
7716 * device-msw.c (hash_devmode):
7717 * device-msw.c (Fmsprinter_settings_despecialize):
7718 use Qmswindows_tstr, not Qctext.
7720 * vm-limit.c (check_memory_limits):
7721 avoid infinite loop printing warning messages.
7723 2000-07-05 Craig Lanning <lanning@scra.org>
7725 * Makefile.in.in: Add support for including the Windows resources
7726 when building with the cygwin and mingw targets.
7728 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
7729 not set or not correct.
7730 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
7731 (init_initial_directory): Don't try to use $PWD on the
7732 WIN32_NATIVE target.
7735 [[Add -mwindows to eliminate console window.]] not required --ben
7736 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7737 (MAIL_USE_POP): removed; now handled by configure.
7739 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
7740 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
7741 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7742 (MAIL_USE_POP): removed; now handled by configure.
7743 (ENCAPSULATE_STAT): from Dan Holmsand, added.
7744 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
7745 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
7747 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
7748 up from <winsock.h> via systime.h.
7749 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
7750 (getpagesize): from Dan Holmsand, added.
7751 Added #endif which was left dangling by Ben's mega patch; added
7752 comment to help prevent this in the future.
7754 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
7756 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7758 * console-msw.h (struct mswindows_device): Removed unnecessary
7759 cached device geometry values.
7760 Added update_tick and an accessor macro.
7761 (Lisp_Devmode): Added lrecord declaration.
7762 (struct msprinter_device): Contain devmode as a Lisp object.
7763 Added mswindows_get_selected_frame_hwnd();
7765 * console.h (struct console_methods): Indentation nitpicking.
7767 * device-msw.c (mswindows_init_device): Do not initialize geometry
7768 cache. Initialize update tick.
7769 (mswindows_device_system_metrics): Ask the device for its geometry.
7770 (global_free_2_maybe):
7771 (devmode_to_hglobal):
7772 (handle_printer_changes):
7773 (ensure_not_printing):
7774 (print_dialog_worker):
7775 (Fmsprinter_print_setup_dialog):
7776 (Fmsprinter_print_dialog):
7779 (Fmsprinter_page_setup_dialog): Added functions.
7780 (sync_printer_with_devmode):
7781 (handle_devmode_changes):
7782 (Fmsprinter_get_settings):
7783 (Fmsprinter_select_settings):
7784 (Fmsprinter_apply_settings):
7786 (Fmsprinter_settings_copy):
7787 (Fmsprinter_settings_despecialize):
7791 (hash_devmode): Added functions
7792 (syms_of_device_mswindows): Init devmode lrecord class.
7794 * device.h: Added an exfun for find-device.
7796 * event-msw.c (mswindows_wnd_proc): Do not update the cached
7797 geometry; although, recreate the device compatible DC.
7799 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
7800 (msprinter_init_frame_3):
7801 (msprinter_frame_property):
7802 (msprinter_internal_frame_property_p):
7803 (msprinter_frame_properties):
7804 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
7805 print job properties (will move to device settings).
7807 * lisp.h: Added symbols.
7809 * general.c (syms_of_general): Declared them.
7811 * hash.c (string_hash): Added.
7813 * lrecord.h (lrecord_type): Added devmode lrecord type.
7815 2000-07-02 Mike Sperber <mike@xemacs.org>
7817 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
7820 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
7822 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
7825 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
7827 * data.c (Fstring_to_number): Don't recognize floating point if
7830 2000-06-22 Martin Buchholz <martin@xemacs.org>
7832 * glyphs-widget.c (tab_control_query_geometry):
7833 (widget_query_geometry):
7834 (button_query_geometry):
7835 * glyphs.c (text_query_geometry):
7836 Enforce type correctness.
7838 2000-06-18 Martin Buchholz <martin@xemacs.org>
7840 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
7841 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
7843 2000-06-17 Martin Buchholz <martin@xemacs.org>
7845 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
7846 conflicts with gcc's fixincluded version of FOO.h.
7848 * glyphs.h (image_instance_geometry): Remove trailing `,'
7850 2000-06-08 Mike Alexander <mta@arbortext.com>
7852 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
7853 (shove_thread): Don't write the same output twice
7854 (make_ntpipe_output_stream): Increase priority of shove thread
7855 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
7857 (ntpipe_shove_closer): Don't delete the pipe until we're done with
7860 2000-06-12 Ben Wing <ben@xemacs.org>
7862 * s\mingw32.h (sigset):
7863 * s\windowsnt.h (sigset):
7864 rename msw_ to mswindows_ for consistency with general convention.
7866 2000-06-12 Ben Wing <ben@xemacs.org>
7869 * console-msw.c (mswindows_get_console_hwnd):
7870 * console-msw.c (mswindows_ensure_console_allocated):
7871 * console-msw.c (mswindows_hide_console):
7872 * console-msw.c (mswindows_show_console):
7873 * console-msw.c (mswindows_ensure_console_buffered):
7874 * console-msw.c (mswindows_output_console_string):
7875 * console-msw.c (mswindows_windows9x_p):
7877 * device-msw.c (mswindows_get_workspace_coords):
7878 * device-msw.c (mswindows_device_system_metrics):
7879 * dialog-msw.c (mswindows_popup_dialog_box):
7880 * event-msw.c (mswindows_wnd_proc):
7881 * frame-msw.c (mswindows_size_frame_internal):
7882 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7883 * menubar-msw.c (displayable_menu_item):
7884 * menubar-msw.c (mswindows_char_is_accelerator):
7886 * nt.c (mswindows_sigset):
7887 * nt.c (mswindows_sigrelse):
7888 * nt.c (mswindows_sigpause):
7889 * nt.c (mswindows_raise):
7890 * nt.c (timer_proc):
7892 * ntproc.c (find_child_console):
7893 * ntproc.c (sys_kill):
7895 * print.c (std_handle_out_external):
7896 * process-nt.c (find_child_console):
7897 * process-nt.c (send_signal_the_95_way):
7898 * process-nt.c (ensure_console_window_exists):
7899 * process-nt.c (nt_create_process):
7901 rename msw_ to mswindows_ for consistency with general convention.
7905 include nt.h, not syswindows.h.
7907 * nt.c (mswindows_fstat):
7908 * nt.c (mswindows_stat):
7909 prefix mswindows_ instead of attempting to directly override the
7910 library functions. fix declarations.
7913 include syswindows.h. move some sysdep.h stuff here.
7916 include syswindows.h, not <windows.h>.
7924 * sysdep.c (sys_fstat):
7925 * sysdep.c (sys_stat):
7926 call mswindows versions when appropriate.
7929 move mswin decls to nt.h.
7932 add long comment describing appropriate use of the various windows
7935 2000-06-11 Ben Wing <ben@xemacs.org>
7937 * device-x.c: Correct doc string for sixth arg of x-get-resource.
7939 2000-06-10 Ben Wing <ben@xemacs.org>
7941 * Makefile.in.in (release):
7942 Correction to make sure xemacs.exe always dumped when correct.
7946 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
7948 * buffer.c (set_buffer_internal):
7949 [[[[2]]]]: Remove HAVE_FEP code.
7951 * buffer.c (init_initial_directory):
7955 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
7959 * callproc.c (call_process_cleanup):
7960 * callproc.c (Fold_call_process_internal):
7961 * callproc.c (child_setup):
7962 * callproc.c (getenv_internal):
7963 * callproc.c (init_callproc):
7964 * callproc.c (vars_of_callproc):
7965 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
7966 __CYGWIN32__ -> CYGWIN.
7967 DOS_NT -> WIN32_NATIVE.
7968 Remove MSDOS support/references, converting to WIN32_NATIVE
7970 __MINGW32__ -> MINGW.
7971 Fix windows.h includes.
7972 Remove bogus HAVE_NTGUI.
7978 mswindows_message_outputted added for use in allowing startup
7979 errors on the console to be seen.
7981 * console-msw.c (msw_ensure_console_allocated):
7982 * console-msw.c (msw_output_console_string):
7983 * console-msw.c (DHEADER):
7984 * console-msw.c (DOPAQUE_DATA):
7985 * console-msw.c (DEVENT):
7986 * console-msw.c (DCONS):
7987 * console-msw.c (DCONSCDR):
7988 * console-msw.c (DSTRING):
7989 * console-msw.c (DVECTOR):
7990 * console-msw.c (DSYMBOL):
7991 * console-msw.c (DSYMNAME):
7994 * console-stream.c (stream_init_console):
7995 Fix text/binary problems.
7998 * device-msw.c (mswindows_finish_init_device):
7999 * device-msw.c (mswindows_delete_device):
8002 * device.c (handle_asynch_device_change):
8006 * dgif_lib.c (DGifOpenFileName):
8007 * dgif_lib.c (DGifOpenFileHandle):
8008 * dgif_lib.c (DGifGetLine):
8009 * dgif_lib.c (DGifGetPixel):
8010 Added config.h/lisp.h, fix up includes.
8017 * dired.c (file_name_completion):
8018 * dired.c (Ffile_attributes):
8019 * dired.c (syms_of_dired):
8023 * dumper.c (pdump_file_unmap):
8024 * dumper.c (pdump_load):
8028 * editfns.c (Ftemp_directory):
8029 * editfns.c (user_login_name):
8030 * editfns.c (Fuser_real_login_name):
8031 * editfns.c (get_home_directory):
8034 * elhash.c (finish_marking_weak_hash_tables):
8035 [[[[5]]]]: Fix GCC warnings.
8038 * emacs.c (mswindows_handle_hardware_exceptions):
8039 * emacs.c (make_arg_list_1):
8041 * emacs.c (Fkill_emacs):
8042 * emacs.c (Fdump_emacs):
8044 Fix problems with nested crashes, add long comment.
8046 * event-Xt.c (init_event_Xt_late):
8050 * event-msw.c (mswindows_dde_callback):
8051 * event-msw.c (mswindows_handle_sticky_modifiers):
8052 * event-msw.c (mswindows_wnd_proc):
8056 * events.c (character_to_event):
8060 * fileio.c (Ffile_name_directory):
8061 * fileio.c (Ffile_name_nondirectory):
8062 * fileio.c (directory_file_name):
8063 * fileio.c (Fexpand_file_name):
8064 * fileio.c (Fsubstitute_in_file_name):
8065 * fileio.c (Ffile_name_absolute_p):
8066 * fileio.c (check_executable):
8067 * fileio.c (Ffile_readable_p):
8068 * fileio.c (Ffile_accessible_directory_p):
8069 * fileio.c (Ffile_modes):
8070 * fileio.c (Funix_sync):
8071 * fileio.c (vars_of_fileio):
8074 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8076 Expand getdefdir defn.
8077 Fix bogus rename() comment.
8079 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8080 to use standard XEmacs include files, e.g. sysfile.h, rather
8081 than system-specific includes.
8087 * frame.c (vars_of_frame):
8091 * getloadavg.c (getloadavg):
8093 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8094 (We don't use it elsewhere in the code; just add a comment.)
8101 * glyphs-msw.c (mswindows_resource_instantiate):
8104 * glyphs-x.c (x_native_layout_instantiate):
8107 * gui-msw.c (Fmswindows_shell_execute):
8116 * lread.c (locate_file_in_directory_mapper):
8123 * mem-limits.h (get_lim_data):
8135 * nt.c (rva_to_section):
8136 * nt.c (mswindows_executable_type):
8138 Fix closedir() defn.
8141 [[[[8]]]]: *_OK defs moved to sysfile.h.
8150 * print.c (std_handle_out_external):
8154 * process-nt.c (nt_create_process):
8156 try to fix process quoting somewhat.
8158 * process-unix.c (unix_create_process):
8162 * process.c (vars_of_process):
8169 * realpath.c (xrealpath):
8172 * redisplay-tty.c (init_tty_for_redisplay):
8182 * sheap.c (more_static_core):
8183 * sheap.c (report_sheap_usage):
8187 * signal.c (alarm_signal):
8194 * strftime.c (zone_name):
8197 * symsinit.h (init_sunpro):
8201 commctrl.h not in Cygwin b20.1.
8205 * sysdep.c (sys_subshell):
8206 * sysdep.c (init_baud_rate):
8207 * sysdep.c (emacs_get_tty):
8208 * sysdep.c (emacs_set_tty):
8209 * sysdep.c (tty_init_sys_modes_on_device):
8210 * sysdep.c (init_system_name):
8211 * sysdep.c (sys_open):
8212 * sysdep.c (interruptible_open):
8213 * sysdep.c (sys_fopen):
8214 * sysdep.c (sys_mkdir):
8215 * sysdep.c (sys_rename):
8216 * sysdep.c (get_process_times_1):
8223 * sysdir.h (DIRENTRY_NONEMPTY):
8226 * sysdll.c (dll_init):
8232 added text/binary defs.
8238 * sysproc.h (EDESTADDRREQ):
8239 * sysproc.h (poll_fds_for_input):
8256 Always define WIN32_LEAN_AND_MEAN.
8258 * unexcw.c (unexec):
8262 * unexec.c (copy_text_and_data):
8263 * unexec.c (adjust_lnnoptrs):
8267 * unexnt.c (_start):
8270 2000-06-07 Ben Wing <ben@xemacs.org>
8272 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8273 was used only as a model. We've long since extracted any useful
8274 logic or code out of this. (I just did an exhaustive search.)
8276 * s\msdos.h: Removed.
8278 * s\windows95.h: Removed.
8280 2000-06-10 Ben Wing <ben@xemacs.org>
8284 Don't use extern with fun defs.
8288 Remove nt\inc include.
8289 Remove getdisk, getdefdir. (The former is unused, the latter
8290 expanded in fileio.h.)
8293 * s\windowsnt.h (WIN32_NATIVE):
8294 * s\windowsnt.h (HAVE_STRCASECMP):
8296 Add long comment about preprocessor changes.
8297 Remove getdisk, getdefdir. (The former is unused, the latter
8298 expanded in fileio.h.)
8300 2000-06-10 Ben Wing <ben@xemacs.org>
8309 Remove bogus/unused NO_SOCK_SIGIO.
8311 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8313 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8316 2000-06-04 Mike Sperber <mike@xemacs.org>
8318 * casetab.c (set_case_table): For `set-standard-case-table',
8319 actually deposit the new case tables where the rest of XEmacs can
8322 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8324 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8326 2000-06-05 Ben Wing <ben@xemacs.org>
8328 * callproc.c (child_setup): Don't do close_load_descs() under
8329 MS Windows. Put in a comment explaining why.
8331 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8333 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8334 Toolkit shell" which breaks `kill-compilation' on Windows NT
8335 native, retaining STDERR handling improvements.
8337 2000-06-01 Andreas Jaeger <aj@suse.de>
8339 * s/s390.h: Support for S390, based on a patch by Martin
8340 Schwidefsky <schwidefsky@de.ibm.com>.
8342 2000-05-30 Andy Piper <andy@xemacs.org>
8344 * window.c (allocate_window):
8345 (make_dummy_parent):
8346 (Fset_window_configuration): use new hashtable type.
8348 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8349 (struct image_instantiator_methods):
8350 (struct Lisp_Image_Instance): make instance geometry signed.
8352 * glyphs.c (instantiate_image_instantiator):
8353 (image_instance_query_geometry):
8354 (image_instance_layout):
8355 (image_instance_layout):
8356 (query_string_geometry):
8357 (text_query_geometry):
8358 (image_instantiate):
8359 (image_instantiate):
8360 (cache_subwindow_instance_in_frame_maybe):
8361 (subwindow_query_geometry): make instance geometry signed.
8363 * glyphs-widget.c (widget_query_geometry):
8365 (button_query_geometry):
8366 (tree_view_query_geometry):
8367 (tab_control_query_geometry):
8368 (layout_query_geometry):
8370 (native_layout_layout): make instance geometry signed.
8372 2000-05-29 Olivier Galibert <galibert@pobox.com>
8374 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8377 * general.c (syms_of_general): Add Qfull_assoc symbol.
8379 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8381 (decode_weak_list_type): Decode full-assoc type.
8382 (encode_weak_list_type): Encode full-assoc type.
8383 (Fmake_weak_list): Update doc string.
8385 2000-05-30 Andy Piper <andy@xemacs.org>
8387 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8389 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8390 (decode_hash_table_weakness): ditto.
8391 (Fhash_table_weakness): ditto.
8392 (Fhash_table_type): ditto.
8393 (finish_marking_weak_hash_tables): ditto.
8394 (hash_table_weakness_validate): ditto.
8395 (syms_of_elhash): ditto.
8397 2000-05-28 Martin Buchholz <martin@xemacs.org>
8399 * XEmacs 21.2.34 is released.
8401 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8403 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8405 (updating_line_start_cache): Gone.
8406 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8407 generic code to force a minimum of 1 line laid out in the
8410 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8412 * glyphs.c (instantiate_image_instantiator): Check for initialized
8413 height & width no longer special cases IMAGE_NOTHING.
8414 (nothing_instantiate): Set height and width of instance.
8416 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8418 * unexelf.c (unexec): Search for ".data" section.
8419 Initialize new_data2_offset from old_data_index.
8420 Remove redundant check for ElfW.
8422 2000-05-23 Andy Piper <andy@xemacs.org>
8424 * glyphs.c (get_image_instantiator_governing_domain): allow more
8425 specific domains as the governing domain rather than expecting an
8426 exact match. This fixes problems with layouts.
8428 2000-05-22 Andy Piper <andy@xemacs.org>
8430 * redisplay-output.c (compare_runes): check for non-images
8432 * glyphs.c (set_glyph_dirty_p): ditto.
8433 (update_glyph_cachel_data): ditto.
8435 * glyphs-widget.c (layout_post_instantiate): ditto.
8436 (layout_post_instantiate): ditto.
8438 * event-msw.c (mswindows_wnd_proc): warning removal.
8440 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8442 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8444 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8446 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8448 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8449 (mswindows_executable_type): mingw32 now has enough headers for
8452 2000-05-20 Andy Piper <andy@xemacs.org>
8454 * console-msw.c (mswindows_output_last_error): ; -> ,
8456 2000-05-12 Andy Piper <andy@xemacs.org>
8458 * console-msw.c (FROB): compare ints with ints.
8460 2000-05-11 Andy Piper <andy@xemacs.org>
8462 * glyphs-x.c (x_finalize_image_instance): make minimal build
8465 2000-05-20 Ben Wing <ben@xemacs.org>
8468 * event-Xt.c (vars_of_event_Xt):
8469 move modifier-keys-are-sticky to event-stream.c.
8472 * event-msw.c (mswindows_enqueue_mouse_button_event):
8473 * event-msw.c (key_needs_default_processing_p):
8474 * event-msw.c (XEMSW_LCONTROL):
8475 * event-msw.c (mswindows_handle_sticky_modifiers):
8476 * event-msw.c (FROB):
8477 * event-msw.c (clear_sticky_modifiers):
8478 * event-msw.c (output_modifier_keyboard_state):
8479 * event-msw.c (output_alt_keyboard_state):
8480 * event-msw.c (mswindows_wnd_proc):
8481 * event-msw.c (mswindows_modifier_state):
8482 * event-msw.c (emacs_mswindows_handle_magic_event):
8483 implement sticky modifiers.
8486 * event-stream.c (vars_of_event_stream):
8487 move modifier-keys-are-sticky here.
8493 implement map-range-table.
8496 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8498 * redisplay-tty.c (reset_tty_modes):
8499 (tty_redisplay_shutdown): Adjust argument type to
8500 tty_frame_output_end.
8502 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8504 * eval.c (Fbacktrace): Don't output a line with only right
8507 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8509 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8510 (Fpq_reset_poll): Ditto.
8512 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8514 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8516 2000-05-16 Ben Wing <ben@xemacs.org>
8519 * buffer.c (dfc_convert_to/from_internal_format):
8520 * buffer.c (reinit_vars_of_buffer):
8521 Fix conversion functions to allow reentrancy.
8524 * console-msw.c (mswindows_output_last_error):
8525 New fun, generally useful -- output a human-readable
8526 version of GetLastError() on the console.
8529 * console-msw.h (struct mswindows_frame):
8530 Changes for DeferWindowPos. Declare mswindows_output_last_error().
8532 * console-stream.c (stream_output_begin):
8533 * console-stream.c (stream_output_end):
8534 * console-stream.c (stream_output_vertical_divider):
8535 * console-stream.c (stream_clear_region):
8536 * console-stream.c (stream_flash):
8537 * console-stream.c (console_type_create_stream):
8538 Delete blank stream methods, not needed.
8540 * console.h (struct console_methods):
8541 Split begin/end methods into window and frame.
8544 * event-msw.c (mswindows_handle_paint):
8545 * event-msw.c (output_alt_keyboard_state):
8546 * event-msw.c (mswindows_wnd_proc):
8547 * event-msw.c (vars_of_event_mswindows):
8548 Comment about problems with ignored-expose.
8549 Define mswindows-debug-events; not really implemented.
8551 * frame-msw.c (mswindows_init_frame_1):
8555 * glyphs-msw.c (begin_defer_window_pos):
8556 * glyphs-msw.c (mswindows_unmap_subwindow):
8557 * glyphs-msw.c (mswindows_map_subwindow):
8558 * glyphs-msw.c (mswindows_resize_subwindow):
8559 Use DeferWindowPos to reduce flashing when mapping/unmapping.
8561 * glyphs.c (make_image_instance_1):
8564 * gutter.c (Fredisplay_gutter_area):
8565 Use new begin/end methods.
8567 * lisp.h (Dynarr_new2):
8571 * redisplay-msw.c (mswindows_frame_output_begin):
8572 * redisplay-msw.c (mswindows_frame_output_end):
8573 * redisplay-msw.c (console_type_create_redisplay_mswindows):
8574 New begin/end methods -- handle DeferWindowPos.
8576 * redisplay-output.c (redisplay_move_cursor):
8577 * redisplay-output.c (redraw_cursor_in_window):
8578 * redisplay-output.c (redisplay_update_line):
8579 * redisplay-output.c (redisplay_output_window):
8580 New begin/end methods.
8583 * redisplay-tty.c (tty_frame_output_begin):
8584 * redisplay-tty.c (tty_frame_output_end):
8585 * redisplay-tty.c (console_type_create_redisplay_tty):
8586 New begin/end methods.
8589 * redisplay-x.c (x_window_output_begin):
8590 * redisplay-x.c (x_window_output_end):
8591 * redisplay-x.c (console_type_create_redisplay_x):
8592 New begin/end methods.
8594 * redisplay.c (redisplay_frame):
8595 * redisplay.c (Fredisplay_echo_area):
8596 New begin/end methods.
8597 use MAYBE_DEVMETH for clear_frame; it may not exist.
8599 * window.h (WINDOW_XFRAME):
8600 WINDOW_XFOO macros -- get locale and decode struct pointer.
8603 2000-05-12 Ben Wing <ben@xemacs.org>
8606 * emacs.c (ensure_no_quitting_from_now_on):
8607 * emacs.c (fatal_error_signal):
8608 * emacs.c (mswindows_handle_hardware_exceptions):
8610 * emacs.c (Fkill_emacs):
8611 * emacs.c (shut_down_emacs):
8612 * emacs.c (assert_failed):
8613 various improvements in fatal error handling.
8616 move preparing_for_armageddon to emacs.c.
8619 declare fatal_error_in_progress.
8622 * print.c (std_handle_out_external):
8623 * print.c (std_handle_out_va):
8624 * print.c (stderr_out):
8625 * print.c (stdout_out):
8626 use console under mswin when no standard output.
8627 don't do code conversion during fatal error.
8629 * scrollbar.c (Fscrollbar_page_up):
8630 * scrollbar.c (Fscrollbar_page_down):
8631 fix missing else. reindent.
8633 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
8637 * glyphs.h (GLYPH_CACHEL_DESCENT):
8638 (GLYPH_CACHEL_DESCENT):
8639 (GLYPH_CACHEL_DESCENT):
8640 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
8641 used in case these are inline functions.
8642 Use more absurd values to error check.
8644 include window.h for error check functions.
8646 2000-05-11 Ben Wing <ben@xemacs.org>
8648 * cmdloop.c (Freally_early_error_handler):
8649 Display message box under windows; otherwise, message will disappear
8650 before it can be viewed.
8653 * console-msw.c (Fmswindows_message_box):
8654 * console-msw.c (FROB):
8655 * console-msw.c (syms_of_console_mswindows):
8656 Define new fun `mswindows-message-box'.
8657 #### I will merge this into `popup-dialog-box'; just give me
8661 * general.c (syms_of_general):
8662 Some new symbols used in `mswindows-message-box'.
8665 * glyphs.c (Fset_image_instance_property):
8666 put warning in this fun.
8669 * glyphs.h (GLYPH_CACHEL_WIDTH):
8670 * glyphs.h (GLYPH_CACHEL_ASCENT):
8671 * glyphs.h (GLYPH_CACHEL):
8672 * glyphs.h (GLYPH_CACHEL_GLYPH):
8673 define error-checking versions to try to catch a bug i've seen --
8674 redisplay gets in an infinite loop because the glyph width of the
8675 continuation glyph is 65535.
8678 Extern message-box stuff.
8680 * window.c (allocate_window):
8681 * window.c (make_dummy_parent):
8682 * window.c (Fset_window_configuration):
8683 Use EQUAL not EQ for subwindow caches to make them work a bit
8684 better. (Something is still very broken.)
8687 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8689 * glyphs.c (image_instantiate): Suppress gcc warnings.
8690 (Fmake_image_instance): Fix doc string.
8691 * specifier.c (Fmake_specifier): Ditto.
8693 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
8695 * paths.h.in (PATH_LOCK): Removed.
8696 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
8697 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
8699 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8701 * fns.c (Ffeaturep): Update e-mail address in doc-string.
8702 Document (featurep '(and xemacs 21.02)).
8704 2000-05-09 Ben Wing <ben@xemacs.org>
8706 * buffer.c (complex_vars_of_buffer):
8707 update modeline-format doc.
8710 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
8713 timeline of all released versions of Emacs, for use in creating
8714 authorship comments and in synching up.
8716 * glyphs-widget.c (image_instantiator_buttons):
8717 * glyphs-widget.c (image_instantiator_edit_fields):
8718 * glyphs-widget.c (image_instantiator_combo_box):
8719 * glyphs-widget.c (image_instantiator_scrollbar):
8720 * glyphs-widget.c (image_instantiator_progress_guage):
8721 * glyphs-widget.c (image_instantiator_tree_view):
8722 * glyphs-widget.c (image_instantiator_tab_control):
8723 * glyphs-widget.c (image_instantiator_labels):
8724 * glyphs-widget.c (image_instantiator_layout):
8725 * glyphs-widget.c (image_instantiator_native_layout):
8726 rename decode_domain method to governing_domain.
8729 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
8730 * glyphs.c (add_entry_to_device_ii_format_list):
8731 make sure we don't put an entry more than once into the list.
8732 * glyphs.c (check_instance_cache_mapper):
8733 *************************************************************
8734 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8736 *************************************************************
8737 * glyphs.c (get_image_instantiator_governing_domain):
8738 clean up, expand on new concept of governing domain.
8739 * glyphs.c (instantiate_image_instantiator):
8740 * glyphs.c (allocate_image_instance):
8741 use governing_domain instead of cache_domain in naming.
8742 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
8743 * glyphs.c (make_image_instance_1):
8744 * glyphs.c (Fmake_image_instance):
8745 allow for any domain (not just device), and process the
8746 governing domain correctly. very big doc fix.
8747 * glyphs.c (Fimage_instance_domain):
8748 new primitive, to retrieve the governing domain of an image instance.
8749 * glyphs.c (image_instantiate):
8750 use new governing_domain stuff. this fixes a crash you could get
8751 by instantiating certain widget glyphs in frame locales. (should
8752 signal an error instead of crashing.)
8753 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
8754 * glyphs.c (Fglyphp): clean up doc.
8755 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
8756 * glyphs.c (syms_of_glyphs):
8757 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
8758 * glyphs.c (image_instantiator_format_create): add some comments about
8760 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
8761 for current-display-table. (Apparently Hrjove implemented in 1998 a
8762 design I wrote up in 1996, but didn't update the doc string.)
8764 * glyphs.h: clean up a doc string.
8765 * glyphs.h (governing_domain):
8766 * glyphs.h (struct image_instantiator_methods):
8767 changes for governing_domain stuff.
8770 * gutter.c (Fgutter_specifier_p):
8771 * gutter.c (Fgutter_size_specifier_p):
8772 * gutter.c (Fgutter_visible_specifier_p):
8774 * objects.c (Fcolor_specifier_p):
8775 * objects.c (Ffont_specifier_p):
8776 * objects.c (Fface_boolean_specifier_p):
8777 doc strings moved to make-*-specifier.
8779 * redisplay.c (add_disp_table_entry_runes_1):
8780 * redisplay.c (generate_fstring_runes):
8781 * redisplay.c (screen):
8782 add random comments and doc strings.
8785 * specifier.c (Fmake_specifier):
8786 major overhaul of this doc string.
8788 * specifier.c (Fvalid_specifier_domain_p):
8789 comment about the bogosity of image instances being domains.
8790 * specifier.c (decode_domain):
8791 now non-static, used in glyphs.c.
8792 * specifier.c (specifier_instance):
8793 comment about the bogosity of image instances being domains.
8794 * specifier.c (Fgeneric_specifier_p):
8795 move doc string to make-generic-specifier.
8796 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
8800 * specifier.h (DOMAIN_FRAME):
8801 * specifier.h (DOMAIN_LIVE_P):
8802 * specifier.h (DOMAIN_XDEVICE):
8804 add comments about problems with these macros.
8805 prototype for decode_domain.
8808 * toolbar.c (Ftoolbar_specifier_p):
8809 move doc string to `make-toolbar-specifier'.
8811 * window.c (window_unmap_subwindows_cache_mapper):
8812 *************************************************************
8813 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8815 *************************************************************
8817 2000-05-09 Andy Piper <andy@xemacs.org>
8819 * glyphs.h: declare reset_frame_subwindow_instance_cache.
8821 * window.c (Fset_window_configuration): reset the frame subwindow
8822 cache and re-initialize the window subwindow caches.
8824 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
8826 2000-05-09 Ben Wing <ben@xemacs.org>
8828 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
8831 2000-04-26 Mike Woolley <mike@bulsara.com>
8833 * ntheap.c: Changed recreate_heap to limit the amount reserved
8834 for the heap to that which is actually available. Also now
8835 displays a message box (with some dignostics) in the event that
8836 it still can't start.
8838 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
8840 * callproc.c (Fold_call_process_internal): GCPRO path
8842 2000-05-08 Jan Vroonhof <jan@xemacs.org>
8844 Patch by Bill Perry.
8846 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
8847 back data instead of #ifdef.
8848 (Fscrollbar_page_down): ditto.
8850 2000-05-07 Ben Wing <ben@xemacs.org>
8853 Kludge for defining Qmswindows_tstr.
8856 * nt.c (open_input_file):
8857 * nt.c (open_output_file):
8858 * nt.c (rva_to_section):
8859 * nt.c (mswindows_executable_type):
8860 Move all memory-mapped-file routines here (some were in unexnt.c,
8861 which is bad because they are used by process-nt.c, and unexnt
8862 won't be around when portable dumping). Synched the above routines
8866 Removed ifdef'd out bogus code.
8867 Fixed some prototypes.
8870 * nt.h (OFFSET_TO_RVA):
8871 * nt.h (RVA_TO_OFFSET):
8872 * nt.h (RVA_TO_PTR):
8873 Moved the memory-mapped-file structures, macros and prototypes
8874 here, to parallel nt.c. ntheap.h should really be removed
8875 entirely, and it's a non-portable-dumper specific file.
8877 * ntheap.h (round_to_next):
8878 Moved the memory-mapped-file structures, macros and prototypes
8881 * ntproc.c (compare_env):
8882 Moved rva_to_section and mswindows_executable_type to nt.c.
8883 Moved compare_env to process-nt.c.
8884 ntproc.c will die, one day.
8886 * ntproc.c (sys_spawnve):
8887 Account for win32_ -> mswindows_.
8890 * process-nt.c (struct nt_process_data):
8891 * process-nt.c (ensure_console_window_exists):
8892 * process-nt.c (compare_env):
8893 * process-nt.c (nt_create_process):
8894 * process-nt.c (nt_kill_process_by_pid):
8895 * process-nt.c (syms_of_process_nt):
8896 * process-nt.c (vars_of_process_nt):
8897 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
8898 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
8899 changes). Eliminate our old `nt-quote-process-args' mechanism.
8900 Synch up nt_create_process with FSF 20.6 sys_spawnve.
8901 Move compare_env here from ntproc.c.
8903 * process.c (Fprocess_send_region):
8904 Takes an optional fourth argument, BUFFER, which should fix some
8905 problems with call-process.
8908 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
8911 Move ICC_BAR_CLASSES to syscommctrl.h.
8912 Add preliminary macros for MSWindows/Mule. More to come.
8915 * unexnt.c (unexec):
8916 open_output_file moved to nt.c.
8919 2000-05-05 Andy Piper <andy@xemacs.org>
8921 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
8922 instance from the frame cache also since GC may catch up too late
8923 to make frame deletion sane.
8925 2000-05-04 Andy Piper <andy@xemacs.org>
8927 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
8928 (x_finalize_image_instance): ungcpro on deletion.
8930 * glyphs.c (image_instantiator_format_create): give pointers a
8931 query geometry method so that the geometry is at least set.
8933 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
8934 initialize layouts if using widgets.
8936 2000-05-03 Andy Piper <andy@xemacs.org>
8938 * nt.c: remove bogus reference to sysmmsystem.h
8940 * gui-x.c (popup_selection_callback): fix no selection abort.
8942 2000-05-02 Andy Piper <andy@xemacs.org>
8944 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
8945 (mswindows_widget_instantiate): ditto.
8947 * glyphs-widget.c (initialize_widget_image_instance): initialize
8949 (widget_instantiate): cope with children and items in the same
8952 * glyphs.c (mark_image_instance): cope with children as a first
8954 (image_instance_equal): ditto.
8955 (image_instance_hash): ditto.
8956 (image_instance_changed): ditto.
8958 2000-04-30 Andy Piper <andy@xemacs.org>
8960 * glyphs.c (subwindow_query_geometry): new function. Return some
8962 (subwindow_instantiate): don't assign dimensions if none have been
8964 (image_instantiator_format_create): add subwindow_query_geometry.
8965 (print_image_instance): cope with layouts as widgets.
8967 2000-04-29 Andy Piper <andy@xemacs.org>
8969 * frame.c (delete_frame_internal): call
8970 free_frame_subwindow_instance_cache so that all subwindows are
8971 finalized before their parent.
8972 (mark_frame): remove subwindow_cachels.
8973 (Fmake_frame): remove subwindow_cachel manipulation.
8974 (allocate_frame_core): subwindow_instance_cache is a weak list.
8975 (delete_frame_internal): set subwindow_instance_cache to nil.
8977 * glyphs-msw.c (mswindows_finalize_image_instance): make double
8979 (mswindows_finalize_image_instance): use the device
8980 not the domain as the domain may have died already.
8982 * glyphs-x.c (x_finalize_image_instance): ditto.
8983 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
8986 * redisplay-output.c (redisplay_unmap_subwindows): update for
8987 subwindow instance cache as a weak list.
8988 (redisplay_unmap_subwindows_maybe): ditto.
8989 (redisplay_unmap_subwindows_except_us): ditto.
8991 * glyphs.c (unmap_subwindow): error checking will check the domain
8992 so don't deal with it here. Don't use cachels anymore.
8993 (map_subwindow): ditto.
8994 (update_subwindow_cachel_data): remove old accessor names.
8995 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
8996 (Fresize_subwindow): don't update cachel.
8997 (mark_subwindow_cachels):
8998 (update_subwindow_cachel_data):
8999 (add_subwindow_cachel):
9000 (get_subwindow_cachel_index):
9001 (update_subwindow_cachel):
9002 (reset_subwindow_cachels):
9003 (mark_subwindow_cachels_as_not_updated): deleted.
9004 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9005 subwindow instance to the frame cache.
9006 (find_matching_subwindow): update for subwindow instance cache as
9008 (update_widget_instances): ditto.
9009 (image_instance_type_to_mask):inlined.
9010 (free_frame_subwindow_instance_cache): new function. finalize all
9011 subwindows that are instantiated.
9013 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9014 of cachel information.
9015 (IMAGE_INSTANCE_DISPLAY_X):
9016 (IMAGE_INSTANCE_DISPLAY_Y):
9017 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9018 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9019 (XIMAGE_INSTANCE_DISPLAY_X):
9020 (XIMAGE_INSTANCE_DISPLAY_Y):
9021 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9022 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9023 remove subwindow_cachel structure and function references.
9024 (image_instance_type_to_mask): inline from glyphs.c
9026 * redisplay.c (redisplay_frame): remove subwindow_cachel
9029 * frame.h (struct frame): remove subwindow_cachels.
9030 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9032 * frameslots.h: add subwindow_instance_cache.
9034 * window.c (replace_window): check subwindow cache of replacement.
9035 (window_unmap_subwindows_cache_mapper):
9036 (window_unmap_subwindows): new functions. Unmap all subwindows
9037 cached on this window.
9038 (mark_window_as_deleted): unmap all subwindows.
9040 2000-04-27 Andy Piper <andy@xemacs.org>
9042 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9044 * glyphs-widget.c (widget_layout): return something.
9045 (layout_layout): return something. Fail if not initialized.
9046 (layout_query_geometry): ditto.
9047 (image_instantiator_native_layout): new function. Initialized the
9049 (widget_instantiate): don't do layout stuff here.
9051 * glyphs.c (instantiate_image_instantiator): reorded calling or
9052 instantiate and post_instantiate with layout in between.
9053 (image_instance_layout): be more selective about deciding whether
9054 the layout has been done or not.
9056 * glyphs.h (struct image_instantiator_methods): return a value
9059 2000-04-26 Andy Piper <andy@xemacs.org>
9061 * glyphs.c (allocate_image_instance): make initial width and
9062 height unspecified. Set initialized to 0.
9064 * syscommctrl.h new file. Encapsulates commctrl.h.
9066 * syswindows.h new file. Encapsulates windows.h.
9068 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9070 * console-msw.h: ditto.
9072 * redisplay-tty.c (tty_output_display_block): remove layout references.
9074 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9075 window handle rather than just the frame.
9077 * glyphs.c (mark_image_instance): remove layout references.
9078 (print_image_instance): ditto.
9079 (image_instance_equal): ditto.
9080 (image_instance_hash): ditto.
9081 (decode_image_instance_type): ditto.
9082 (encode_image_instance_type): ditto.
9083 (image_instantiate): ditto.
9084 (allocate_glyph): ditto.
9085 (Fimage_instance_height): ditto.
9086 (Fimage_instance_width): ditto.
9087 (update_subwindow): ditto.
9089 * redisplay-x.c (x_output_display_block): recode for layouts as
9092 * redisplay-output.c (redisplay_output_layout): recode for layouts
9094 (compare_runes): remove layout references.
9096 * redisplay-msw.c (mswindows_output_display_block): recode for
9099 * glyphs-widget.c (image_instantiator_layout): remove
9100 layout_possible_dest_types.
9101 (layout_possible_dest_types): deleted.
9103 * glyphs.h (image_instance_type): remove layout references.
9104 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9105 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9106 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9108 2000-04-25 Andy Piper <andy@xemacs.org>
9110 * glyphs-widget.c (image_instantiator_buttons):
9111 (image_instantiator_edit_fields):
9112 (image_instantiator_combo_box):
9113 (image_instantiator_scrollbar):
9114 (image_instantiator_progress_guage):
9115 (image_instantiator_tree_view):
9116 (image_instantiator_tab_control):
9117 (image_instantiator_labels):
9118 (image_instantiator_layout): call default post_instantiate method.
9119 (widget_post_instantiate): new function. Simply lays out the
9122 * glyphs.h (struct image_instantiator_methods): add
9123 post_instantiate method.
9125 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9128 2000-04-23 Andy Piper <andy@xemacs.org>
9130 * glyphs.h (struct image_instantiator_methods): add
9131 decode_domain_method.
9132 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9133 derived from the domain.
9134 (IMAGE_INSTANCE_FRAME): new accessor.
9135 (XIMAGE_INSTANCE_FRAME): ditto.
9137 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9138 instead of _SUBWINDOW_FRAME.
9139 (finalize_image_instance): ditto.
9140 (Fimage_instance_foreground): ditto.
9141 (Fimage_instance_background): ditto.
9142 (image_instantiate): ditto.
9143 (update_subwindow_cachel): ditto.
9144 (update_subwindow): ditto.
9145 (unmap_subwindow): ditto.
9146 (map_subwindow): ditto
9147 (subwindow_instantiate): ditto.
9148 * glyphs-msw.c (mswindows_update_widget): ditto.
9149 (mswindows_progress_gauge_instantiate): ditto.
9150 (mswindows_tab_control_update): ditto.
9151 * glyphs-x.c (x_update_widget): ditto.
9152 (x_widget_instantiate): ditto.
9153 (x_tab_control_instantiate): ditto.
9154 (x_tab_control_update): ditto.
9155 * event-msw.c (mswindows_wnd_proc): ditto
9157 * glyphs-widget.c (image_instantiator_layout): use
9158 subwindow_decode_domain.
9159 (image_instantiator_buttons): ditto.
9160 (image_instantiator_edit_fields): ditto.
9161 (image_instantiator_combo_box): ditto.
9162 (image_instantiator_scrollbar): ditto.
9163 (image_instantiator_progress_guage): ditto.
9164 (image_instantiator_tree_view): ditto.
9165 (image_instantiator_tab_control): ditto.
9166 (image_instantiator_labels): ditto.
9167 (image_instantiator_layout): ditto.
9169 * glyphs.c: add instance error checking to many functions.
9170 (instantiate_image_instantiator): decode device from cache_domain.
9171 (image_instantiate): partially rewrite by using
9172 decode_image_instantiator_domain to determine what domain the
9173 instance needs to be cached in.
9174 (decode_image_instantiator_domain): new function. Determine what
9175 domain the image needs to be cached in.
9176 (check_window_subwindow_cache): new error checking function.
9177 (check_instance_cache_mapper): ditto.
9178 (check_image_instance_structure): ditto.
9179 (subwindow_decode_domain): new function. Encodes a window as a
9180 subwindow's cache domain.
9181 (image_instantiator_format_create): use it for text and
9184 2000-04-21 Andy Piper <andy@xemacs.org>
9186 * glyphs.c (image_instance_device): new function.
9187 (image_instance_frame): new function.
9188 (image_instance_window): new function.
9189 (image_instance_live_p): new function.
9191 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9194 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9195 (IMAGE_INSTANCE_DOMAIN): new accessor.
9196 (XIMAGE_INSTANCE_DOMAIN): ditto.
9198 * glyphs-x.c (x_finalize_image_instance): device->domain.
9200 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9201 (mswindows_finalize_image_instance): ditto.
9203 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9204 (gif_instantiate): ditto.
9205 (png_instantiate): ditto.
9206 (tiff_instantiate): ditto.
9208 * glyphs.c (instantiate_image_instantiator): use domain rather
9210 (mark_image_instance): device -> domain.
9211 (print_image_instance): ditto.
9212 (finalize_image_instance): ditto.
9213 (image_instance_equal): ditto.
9214 (allocate_image_instance): ditto.
9215 (Fcolorize_image_instance): ditto.
9216 (query_string_geometry): ditto.
9217 (image_instantiate): ditto
9218 (query_string_font): ditto.
9219 (image_instantiate): ditto.
9220 (update_subwindow): ditto.
9221 (unmap_subwindow): ditto.
9222 (map_subwindow): ditto.
9223 (subwindow_instantiate): ditto.
9225 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9226 (DOMAIN_FRAME): ditto.
9227 (DOMAIN_WINDOW): ditto.
9228 (DOMAIN_LIVE_P): ditto.
9229 (XDOMAIN_DEVICE): ditto.
9230 (XDOMAIN_FRAME): ditto.
9231 (XDOMAIN_WINDOW): ditto.
9233 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9234 a valid specifier domain.
9236 2000-04-19 Andy Piper <andy@xemacs.org>
9238 * glyphs-widget.c (syms_of_glyphs_widget): remove
9239 widget-callback-current-channel.
9240 (vars_of_glyphs_widget): ditto.
9243 * gui.c (get_gui_callback): revert to previous behaviour.
9245 2000-04-18 Andy Piper <andy@xemacs.org>
9247 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9248 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9249 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9251 * glyphs.c (image_instance_equal): add margin_width.
9252 (image_instance_hash): ditto.
9254 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9255 (layout_query_geometry): ditto.
9256 (layout_layout): ditto.
9257 (syms_of_glyphs_widget): add margin-width.
9258 (image_instantiator_layout): allow margin-width.
9260 * glyphs.c (update_widget_instances): make a normal function.
9261 (syms_of_glyphs): remove Qupdate_widget_instances.
9264 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9265 so that we don't corrupt ideas about the last event or
9266 command. Remove widget-callback-current-channel fiddling.
9267 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9269 2000-05-01 Martin Buchholz <martin@xemacs.org>
9271 * XEmacs 21.2.33 is released.
9273 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9275 * make-src-depend: Allow dots in header file name.
9277 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9279 * mule-charset.h (struct charset_lookup): Add
9280 next_allocated_1_byte_leading_byte and
9281 next_allocated_2_byte_leading_byte.
9282 * mule-charset.c: Move above two variables so that those values
9285 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9287 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9288 when string length is zero.
9289 (find_charsets_in_emchar_string): Ditto.
9291 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9293 * lisp.h: extern Qdialog and Qmenubar.
9295 * gui-x.c: added events.h.
9296 also fixed typo which made the file uncompilable.
9298 * general.c: Added Qmenubar and Qdialog
9300 2000-04-28 Ben Wing <ben@xemacs.org>
9302 * frame-msw.c (mswindows_init_frame_1):
9303 * frame-msw.c (mswindows_mark_frame):
9304 * event-msw.c (mswindows_enqueue_dispatch_event):
9306 * console-msw.h (struct mswindows_frame):
9307 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9308 there are now three hash tables for callbacks.
9309 mswindows_enqueue_dispatch_event is no longer static.
9311 * dialog-x.c (maybe_run_dbox_text_callback):
9312 * dialog-x.c (dbox_descriptor_to_widget_value):
9313 switch to new cons3 form for callbacks.
9315 * glyphs-msw.c (mswindows_register_gui_item):
9316 * glyphs-msw.c (mswindows_widget_instantiate):
9317 * glyphs-msw.c (add_tree_item):
9318 * glyphs-msw.c (add_tab_item):
9319 new image instance parameter, so it can be passed to callback-ex.
9320 respect :callback-ex as well as :callback.
9322 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9325 * glyphs.c (print_image_instance):
9326 prettify, e.g. now prints widget type.
9329 certain funs have new image instance parameter.
9332 * gui.c (get_gui_callback):
9333 * gui.c (gui_item_add_keyval_pair):
9334 * gui.c (gui_item_init):
9335 * gui.c (gui_add_item_keywords_to_plist):
9336 * gui.c (mark_gui_item):
9337 * gui.c (gui_item_hash):
9338 * gui.c (gui_item_equal):
9339 * gui.c (copy_gui_item):
9340 * gui.c (syms_of_gui):
9341 recognize callback-ex in a number of places.
9342 also, fix the annoying "can't get out of yes-no dialog" bug.
9345 * gui.h (struct Lisp_Gui_Item):
9346 recognize callback-ex in a number of places.
9348 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9349 new parameter in button_item_to_widget_value.
9351 * glyphs-x.c (x_update_widget):
9352 * glyphs-x.c (x_button_instantiate):
9353 * glyphs-x.c (x_button_update):
9354 * glyphs-x.c (x_progress_gauge_instantiate):
9355 * glyphs-x.c (x_edit_field_instantiate):
9356 * glyphs-x.c (x_combo_box_instantiate):
9357 * glyphs-x.c (x_tab_control_instantiate):
9358 * glyphs-x.c (x_label_instantiate):
9359 new image instance parameter in various places.
9362 * event-Xt.c (enqueue_Xt_dispatch_event):
9363 this fun gets exported.
9366 * gui-msw.c (mswindows_handle_gui_wm_command):
9367 handle both :callback and :callback-ex, and generate our own
9368 event because it's one of the callback-ex arguments.
9371 * gui-x.c (popup_selection_callback):
9372 handle both :callback and :callback-ex, and generate our own
9373 event because it's one of the callback-ex arguments.
9374 * gui-x.c (button_item_to_widget_value):
9375 * gui-x.c (gui_items_to_widget_values_1):
9376 * gui-x.c (gui_item_children_to_widget_values):
9377 * gui-x.c (gui_items_to_widget_values):
9378 new image instance parameter in various places.
9380 * fns.c (Freplace_list):
9381 fix small typo in doc string.
9384 declare enqueue_Xt_dispatch_event.
9386 2000-04-28 Ben Wing <ben@xemacs.org>
9389 * buffer.c (Frecord_buffer):
9390 * buffer.c (syms_of_buffer):
9391 delete record-buffer-hook.
9394 * fns.c (Freplace_list):
9395 * fns.c (syms_of_fns):
9396 new primitive replace-list.
9399 slot for old buffer-alist.
9405 * redisplay.c (redisplay_frame):
9406 * redisplay.c (syms_of_redisplay):
9407 * redisplay.c (vars_of_redisplay):
9408 new hook buffer-list-changed-hook.
9411 2000-04-27 Ben Wing <ben@xemacs.org>
9413 * extents.h: extern in_modeline_generation.
9415 * redisplay.c (generate_formatted_string_db): set
9416 in_modeline_generation.
9418 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9419 flags if in modeline generation. otherwise frame-modified-tick
9420 is ticked far too often.
9421 Declare in_modeline_generation.
9423 2000-04-26 Ben Wing <ben@xemacs.org>
9425 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9427 (vars_of_emacs): add quick-build as an error-checking option.
9428 A bit kludgy, but there doesn't seem much point in creating
9429 a real var for this.
9431 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9433 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9435 * redisplay.h (struct display_line): Add a new variable,
9438 * redisplay.c (create_text_block): Set dl->line_continuation if
9440 (create_string_text_block): Ditto.
9441 (regenerate_window_incrementally): Use line_continuation instead
9442 of searching continuation glyph.
9443 (add_margin_runes): Call add_glyph_rune.
9444 (add_glyph_rune): Handle margin glyph.
9446 2000-04-20 Martin Buchholz <martin@xemacs.org>
9448 * filelock.c (fill_in_lock_file_name):
9450 Check for IS_ANY_SEP instead of '/'.
9452 Avoid generating gratuitous garbage. Call user_login_name() directly.
9453 Never check errno without first seeing that system call failed.
9454 (unlock_file): Add GCPRO.
9455 (Flock_buffer): Fix docstring.
9456 (Ffile_locked_p): Fix docstring. Add GCPRO.
9458 2000-04-19 Martin Buchholz <martin@xemacs.org>
9460 * sysdep.c (get_pty_max_bytes):
9461 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9462 strings longer than 252 bytes.
9464 * md5.c: Unconditionally include ANSI header <limits.h>
9466 * glyphs-x.c (convert_EImage_to_XImage):
9467 * lisp-union.h (union Lisp_Object):
9468 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9470 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9472 * filelock.c (current_lock_owner): Remove unused variable o, p.
9474 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9476 * callint.c: Remove multiply defined symbol Qlet
9477 (syms_of_callint): ditto.
9479 2000-04-14 Andy Piper <andy@xemacs.org>
9481 * general.c (syms_of_general): add last-command, this-command, let
9484 * lisp.h: declare various symbols.
9486 * glyphs.h: declare Qwidget_callback_current_channel;
9488 * glyphs-widget.c (syms_of_glyphs_widget): add
9489 Qgui_callback_current_channel.
9490 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9492 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9493 widget-callback-current-channel when invoking the interactive
9494 arg. Also bind last-command and next-command when invoking the
9496 * gui-x.c (popup_selection_callback): ditto.
9498 * gui.c (get_gui_callback): massage args so that we are always
9499 calling eval. This allows us to add our own variable bindings
9502 * glyphs-x.c (x_button_instantiate): use
9503 gui_items_to_widget_values since this is GC safe.
9504 (x_progress_gauge_instantiate): ditto.
9505 (x_edit_field_instantiate): ditto.
9506 (x_label_instantiate): ditto.
9508 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9509 (emacs_Xt_event_widget_focus_out): new function
9510 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9512 (emacs_Xt_event_add_widget_actions): new function. add focus
9513 functions as actions.
9514 (init_event_Xt_late): use it.
9516 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9518 * event-stream.c (Fdispatch_event): Doc fix.
9520 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9522 * postgresql.c: Remove all references to PQsetenv*.
9524 * postgresql.h: Remove references to PGsetenvHandler object.
9525 * lrecord.h (lrecord_type): Ditto.
9527 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9529 * glyphs-msw.h (struct mswindows_image_instance_data): Added
9530 real_heigh and real_width members, and accessor macros for these.
9532 * glyphs-msw.c (init_image_instance_geometry): New function.
9533 (init_image_instance_from_dibitmap): Use it.
9534 (mswindows_resource_instantiate): Use it.
9535 (init_image_instance_from_xbm_inline): Use it.
9536 (mswindows_initialize_image_instance_mask): Use real bitmap
9538 (mswindows_create_resized_bitmap): Ditto.
9539 (mswindows_create_resized_mask): Ditto.
9541 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
9542 and bitmap to their surface size.
9544 2000-04-11 Jan Vroonhof <jan@xemacs.org>
9546 * process-unix.c (unix_send_process): Guard against process MIA
9547 after Faccept_process_output.
9549 2000-04-11 Ben Wing <ben@xemacs.org>
9551 * eval.c (unbind_to_hairy): fix brokenness introduced by
9552 nanosecond speed improvements.
9554 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
9556 * sunplay.c (init_device): To play sounds correctly, the device
9557 apparently needs to be initialized at least once by XEmacs. Make
9560 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
9562 * redisplay.c (add_margin_runes): Add text image glyph
9565 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9567 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
9568 gcc is newer than 2.5.
9570 2000-04-06 Colin Rafferty <colin@xemacs.org>
9572 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
9574 * fns.c (size_bit_vector):
9575 * alloc.c (size_vector):
9576 (make_vector_internal):
9577 (make_bit_vector_internal):
9578 (sweep_bit_vectors_1):
9579 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
9581 2000-04-06 Andy Piper <andy@xemacs.org>
9583 * gmalloc.c (malloc): undo previous change.
9588 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
9590 * line-number.c (buffer_line_number): Revert to former version.
9592 2000-04-06 Andy Piper <andy@xemacs.org>
9594 * gmalloc.c (malloc): add error checking.
9599 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
9600 button_item_to_widget_value arg.
9602 * glyphs-x.c (x_button_instantiate): add extra
9603 button_item_to_widget_value arg.
9604 (x_progress_gauge_instantiate): ditto.
9605 (x_edit_field_instantiate): ditto.
9606 (x_label_instantiate): ditto.
9608 * gui-x.c (gui_items_to_widget_values_1): add extra
9609 button_item_to_widget_value arg.
9610 (button_item_to_widget_value): add extra menu_item_p arg.
9612 * gui-x.h: change signature of button_item_to_widget_value.
9614 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
9615 button_item_to_widget_value arg.
9617 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9619 * buffer.h (struct buffer): auto_save_modified should be long.
9621 2000-04-05 Andy Piper <andy@xemacs.org>
9623 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
9625 (button_query_geometry): give a little more room so that athena
9628 2000-04-05 Andy Piper <andy@xemacs.org>
9630 * faces.c (complex_vars_of_faces): The widget face should inherit
9631 the font of the gui-element face.
9633 2000-04-04 Andy Piper <andy@xemacs.org>
9635 * glyphs-x.c (x_button_update): new function. unconditionally
9636 update a button's state when the instance is dirty.
9637 (image_instantiator_format_create_glyphs_x): add x_button_update.
9638 (x_widget_instantiate): remove old resize cruft.
9640 2000-04-02 Andy Piper <andy@xemacs.org>
9642 * frame.c (change_frame_size_1): The introduction of gutters means
9643 that we need to allow 0 as a potential frame dimension.
9645 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
9647 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
9648 image glyph if allow_cursor.
9649 (add_hscroll_rune): Don't allow cursor to border glyph.
9650 (create_text_block): Ditto.
9652 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
9654 (redisplay_output_layout): Call ensure_face_cachel_complete for
9658 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
9660 * redisplay.c (add_glyph_rune): Adding text image as text runes.
9662 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
9665 * redisplay-tty.c (tty_output_display_block): Delete the routine
9666 for text image glyph
9667 * redisplay-x.c (x_output_display_block): ditto
9668 * redisplay-msw.c (mswindows_output_display_block): ditto
9670 2000-02-02 Mike Alexander <mta@arbortext.com>
9672 Note: Some of these were committed by accident as part of other
9675 * regex.c (regex_compile): Avoid compiler warnings.
9677 * ntproc.c (sys_spawnve): Avoid compiler warnings.
9679 * nt.h: Declare term_ntproc correctly.
9681 * nt.c: Remove incorrect declaration of get_home_directory which
9682 is declared correctly in lisp.h.
9684 * keymap.c (get_keyelt): Avoid compiler warnings.
9685 (raw_lookup_key_mapper): Avoid compiler warnings.
9687 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
9689 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
9691 * filemode.c (mode_string): Avoid compiler warnings.
9693 * file-coding.c (Fcoding_system_aliasee): Add return statement to
9696 * events-mod.h: Undef some things that winuser.h defines differently.
9698 * data.c (Faset): Avoid compiler warnings.
9700 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
9702 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9704 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
9705 Fall through to simple beep on error.
9706 Replace "extern" by real header file.
9708 * linuxplay.c: Use nativesound.h
9709 (play_sound_data): Return error code. Be less verbose on error.
9711 * sunplay.c: Use nativesound.h
9712 (play_sound_data): Return error code. Be less verbose on error.
9714 * ntplay.c: Use nativesound.h
9715 (play_sound_data): Return fake error code
9717 * sgiplay.c: Use nativesound.h
9718 (play_sound_data): Return error code
9720 * hpplay.c: Use nativesound.h, partially implement
9721 new error code. Break compilation until finished.
9722 (play_sound_data): error code.
9724 * nativesound.h (play_sound_file):
9725 (play_sound_data): Prototype in new header.
9727 2000-03-31 Andy Piper <andy@xemacs.org>
9729 * glyphs-widget.c: (button_query_geometry): new function. Adjust
9730 for toggle and radio buttons.
9731 (image_instantiator_buttons): use it.
9733 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9735 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
9736 (x_update_horizontal_scrollbar_callback): Return if no mirror was
9737 found. Scrollbar event probably belonged to some old config.
9739 2000-03-31 Andy Piper <andy@xemacs.org>
9741 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
9743 (initialize_widget_image_instance): default layout to
9744 LAYOUT_HORIZONTAL rather than 0.
9745 (widget_instantiate): reverse the item list at the end rather than
9747 (layout_layout): re-code for the border text at the front of the
9748 item list rather than at the end.
9749 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
9750 provided by the user.
9751 (widget_query_geometry): comment.
9753 2000-03-30 Andy Piper <andy@xemacs.org>
9755 * glyphs-widget.c (image_instantiator_layout): allow standard
9756 widget keywords in layouts.
9758 * gutter.c (output_gutter): cope with nil gutter contents.
9760 * frame.c (Fset_frame_properties): add gutter docs.
9762 2000-03-29 Andy Piper <andy@xemacs.org>
9764 * toolbar-msw.c (TBSTYLE_FLAT): add.
9765 (mswindows_output_toolbar): minor fiddling.
9767 2000-03-29 Andy Piper <andy@xemacs.org>
9769 * gutter.c (output_gutter): force gutter size recalculation if
9770 what we are trying to display won't fit.
9771 (update_gutter_geometry): new function. A per-gutter version of
9772 update_frame_gutter_geometry.
9773 (update_frame_gutter_geometry): use it.
9774 (redraw_exposed_gutter): add extra debugging output.
9776 2000-03-28 Mike Alexander <mta@arbortext.com>
9778 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
9779 (pdump_file_unmap): Implement it on Windows
9780 (pdump_file_get): Save alocated handles for pdump_file_unmap
9782 2000-03-28 Andy Piper <andy@xemacs.org>
9784 * gui.c (get_gui_callback): treat Quit specially.
9786 2000-03-27 Andy Piper <andy@xemacs.org>
9788 * glyphs.c (image_instantiate): be careful to check in the same
9791 2000-03-27 Didier Verna <didier@xemacs.org>
9793 * config.h.in: define the proper SMART_INCLUDE macro.
9794 handle renaming of `foo_h_path' to `foo_h_file'.
9796 * database.c: ditto.
9800 * linuxplay.c: ditto.
9802 * terminfo.c: ditto.
9804 * tooltalk.h: ditto.
9806 2000-03-27 Andy Piper <andy@xemacs.org>
9808 * glyphs-msw.c (mswindows_update_widget): make sure the widget
9809 gets updated whenever the face might have changed.
9811 2000-03-26 Mike Alexander <mta@arbortext.com>
9813 * dumper.c (pdump_resource_free): Fix the comment.
9815 2000-03-21 Olivier Galibert <galibert@pobox.com>
9817 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
9819 2000-03-22 Mike Alexander <mta@arbortext.com>
9821 * dumper.c: Include Windows headers on Windows
9822 (pdump_resource_free): Add a body to the function
9823 (pdump_load): exe_name -> exe_path and add some comments.
9825 2000-03-25 Mike Alexander <mta@arbortext.com>
9827 * gui.c (copy_gui_item_tree): Return a value in all cases
9829 2000-03-21 Didier Verna <didier@xemacs.org>
9831 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
9833 (SMART_INCLUDE): new macro.
9834 (POSTGRES_INCLUDE): new macro to include postgresql headers from
9835 the proper location.
9837 * postgresql.c: use it.
9841 2000-03-24 Andy Piper <andy@xemacs.org>
9843 * gutter.c (redraw_exposed_gutters): must be "in display" when we
9846 2000-03-24 Andy Piper <andy@xemacs.org>
9848 * redisplay-output.c (compare_runes): use image_instance_changed
9849 to detect changes. Do not depend on glyphs_changed, only depend on
9851 (redisplay_output_layout): add debug messages.
9852 (compare_runes): ditto.
9854 * glyphs.h: declare new functions.
9855 (struct Lisp_Image_Instance): remove percent and associated
9858 * gui.h: declare new copying functions.
9860 * gui.c (copy_gui_item_tree): new function.
9861 (copy_gui_item): new function.
9862 (gui_item_id_hash): revert to standard hash.
9863 (gui_item_hash): ditto.
9864 (gui_item_hash_internal): deleted.
9865 (mark_gui_item): mark value.
9866 (gui_item_add_keyval_pair): add value.
9867 (gui_item_init): ditto.
9868 (gui_add_item_keywords_to_plist): ditto.
9869 (gui_item_equal): ditto.
9870 (syms_of_gui): add Q_value.
9872 * glyphs-x.c (x_progress_gauge_update): use pending items and
9873 value for setting the state.
9874 (x_update_widget): don't set items from pending here.
9876 * glyphs-widget.c (update_widget): update items here.
9877 (progress_gauge_set_property): use items for storing value. Put
9878 new value in pending items.
9880 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
9881 items for new value. Convert percent -> value.
9882 (mswindows_tab_control_update): don't update items here.
9884 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
9885 (update_subwindow): ditto.
9886 (image_instance_changed): new function. Compare hash values and
9887 past and present widget items.
9888 (image_instantiate): We more careful about where we instantiate
9890 (image_instantiate): add error checking.
9892 * gutter.c (syms_of_gutter): use -hook.
9894 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
9896 * console-tty.c (Fset_console_tty_input_coding_system): Use
9898 (Fset_console_tty_output_coding_system): Use Qterminal.
9899 (tty_init_console): Use Qkeyboard and Qterminal.
9901 2000-03-21 Ben Wing <ben@xemacs.org>
9903 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
9904 From Mike Alexander <mta@arbortext.com>.
9906 2000-03-21 Ben Wing <ben@xemacs.org>
9908 * event-msw.c (mswindows_need_event): Horrible kludge to fix
9909 process brokenness. Proper implementation to come.
9911 Rename call-process-internal to old-call-process-internal.
9912 New impl. in process.el.
9914 2000-03-21 Martin Buchholz <martin@xemacs.org>
9916 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
9918 2000-03-20 Andy Piper <andy@xemacs.org>
9920 * glyphs.c (full_list_hash): make hashes of the same elements in
9921 different orders return different values.
9923 2000-03-20 Martin Buchholz <martin@xemacs.org>
9925 * XEmacs 21.2.32 is released.
9927 2000-03-20 Martin Buchholz <martin@xemacs.org>
9929 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
9930 (DFC_MALLOC_USE_CONVERTED_DATA):
9931 Add aliasing-safe casts to allow use with char* or unsigned char*
9934 * eldap.c (Fldap_open):
9935 (Fldap_search_basic):
9938 Make C++-compilable.
9939 Make sure GCPRO'ed variables are initialized.
9940 Use temp variables to avoid repeated calls to Flength.
9942 2000-03-16 Martin Buchholz <martin@xemacs.org>
9945 Make sure PATH_MAX is always defined.
9946 Include limits.h for PATH_MAX.
9947 Deprecate use of MAXPATHLEN.
9949 2000-03-10 Martin Buchholz <martin@xemacs.org>
9951 * emacs.c: Add reinit_vars_of_fileio.
9952 * symsinit.h: Add reinit_vars_of_fileio.
9953 * fileio.c (reinit_vars_of_fileio): New.
9954 * fileio.c (Fmake_temp_name):
9955 Initialize temp_name random number from microseconds to make
9956 collisions even less likely. Initialize always at process startup
9957 time. (make-temp-name) used to return the same file name twice in
9959 Random stylistic fiddling.
9962 2000-03-20 Andy Piper <andy@xemacs.org>
9964 * glyphs.c (image_instantiate): allow text glyphs to be
9965 instantiated in the minibuffer window.
9967 2000-03-19 Andy Piper <andy@xemacs.org>
9969 * glyphs.c (image_instance_hash): be careful about which items we
9972 * glyphs-widget.c (tab_control_set_property): record into pending
9973 items rather than the actual items.
9975 * glyphs-x.c (x_update_widget): use pending items to update with.
9977 * glyphs-msw.c (mswindows_tab_control_update): use pending items
9980 * glyphs.c (mark_image_instance): mark pending items.
9982 * window.c (Fset_window_configuration): record the buffer.
9983 (Fselect_window): totally revert previous change which breaks many
9986 2000-03-18 Andy Piper <andy@xemacs.org>
9988 * glyphs-msw.c (mswindows_tab_control_update): force selected
9991 * glyphs.c (image_instantiate): don't allow the minibuffer as a
9992 window domain cache, otherwise we get inconsistencies at
9993 startup. There is something fishy at startup which can lead to the
9994 minibuffer being the selected window when the gutter content is
9997 * gui.c (parse_gui_item_tree_list): add probably unnecessary
9999 (parse_gui_item_tree_children): ditto.
10000 (parse_gui_item_tree_item): ditto.
10002 * glyphs.c (Fupdate_widget_instances): return something.
10004 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10006 * window.c (Fselect_window): Undo 2000-03-17 change.
10008 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10010 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10011 against v7.0 libraries. Insta-coredump city until the postgres
10014 2000-03-17 Andy Piper <andy@xemacs.org>
10016 * faces.c (complex_vars_of_faces): don't give the widget face an
10017 inherited background pixmap.
10019 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10022 * event-stream.c (Fdispatch_non_command_events): return something.
10024 * gutter.c (output_gutter): use widget face.
10025 (clear_gutter): ditto.
10027 * NEWS: adjust again.
10029 * window.c (Fselect_window): make sure this runs to completion to
10030 avoid oddities with Fset_window_configuration.
10031 (Fcurrent_window_configuration): in general do not save the
10032 minibuffer as the selected window.
10034 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10036 2000-03-16 Olivier Galibert <galibert@pobox.com>
10038 * emacs.c (Frunning_temacs_p): Revert previous patch.
10039 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10041 2000-03-16 Andy Piper <andy@xemacs.org>
10043 * glyphs-x.c (x_tab_control_update): if no widget values then
10046 * NEWS: update for new features.
10048 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10049 synthetic event to the native system.
10050 (reinit_vars_of_event_Xt): set force_event_pending to
10051 emacs_Xt_force_event_pending.
10053 * events.h (struct event_stream): add force_event_pending.
10055 * specifier.c (recompute_one_cached_specifier_in_window): add
10058 * redisplay.c (redisplay_frame): don't call
10059 update_frame_subwindows. Reset subwindow cachels when
10060 subwindows_changed, removing this was an optimization too far.
10062 * redisplay-output.c (compare_runes): reorganize so that we catch
10063 glyph changes when we want them. Set optimize_output when this
10064 would help layouts.
10065 (redisplay_output_layout): remove frame_really_changed, use
10066 optimize_output instead.
10068 * redisplay-msw.c (mswindows_output_display_block): reset
10069 optimize_output after outputting a glyph.
10070 * redisplay-x.c (x_output_display_block): ditto.
10071 * redisplay-tty.c (tty_output_display_block): ditto.
10073 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10075 (gutter_specs_changed): do specific gutter positions.
10076 (top_gutter_specs_changed): new function. Only update the
10077 specified gutter specs.
10078 (bottom_gutter_specs_changed): ditto.
10079 (left_gutter_specs_changed): ditto.
10080 (right_gutter_specs_changed): ditto.
10082 * gui.c (gui_item_hash_internal): new function, does a real hash.
10083 (gui_item_id_hash): use it.
10084 (gui_item_hash): hash the eval'ed gui_item.
10086 * gui-x.c (popup_selection_callback): send an eval event to call
10087 Fupdate_widget_instances.
10089 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10090 to call Fupdate_widget_instances.
10092 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10093 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10095 * glyphs.c: (update_frame_subwindows): deleted.
10096 (Fupdate_widget_instances): new function for updating the dirty
10097 state of widgets that might have changed.
10098 (syms_of_glyphs): add Qupdate_widget_instances.
10099 (full_list_hash): hash a list completely.
10100 (image_instance_hash): use it for items and properties.
10102 * frame-msw.c (mswindows_size_frame_internal): remove unused
10105 * faces.h (struct face_cachel): fix comment.
10107 * event-stream.c (Fdispatch_non_command_events): new
10108 function. Process non-command events, forcing an event cycle
10110 (syms_of_event_stream): declare.
10111 (event_stream_force_event_pending): new function. Force an event
10112 on the native event queue so that an event cycle will occur next
10116 (struct ntpipe_shove_stream):
10117 (mswindows_enqueue_dispatch_event):
10118 (mswindows_dequeue_dispatch_event):
10119 (mswindows_cancel_dispatch_event):
10120 (mswindows_pump_outstanding_events):
10121 (mswindows_drain_windows_queue):
10122 (mswindows_handle_paint):
10123 (mswindows_wnd_proc):
10124 (mswindows_key_to_emacs_keysym):
10125 (get_process_input_waitable):
10126 (emacs_mswindows_delete_stream_pair): re-indent file.
10127 (mswindows_need_event): do not process further fds if the windows
10128 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10129 fixes the 100% cpu problem.
10130 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10132 2000-03-15 Olivier Galibert <galibert@pobox.com>
10138 * emacs.c: Moved dump file searching to dumper.c.
10139 (Frunning_temacs_p): Fixed.
10141 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10142 last_lrecord_type_index_assigned.
10144 2000-02-20 Olivier Galibert <galibert@pobox.com>
10146 * symsinit.h: Added reinit parameter to init_console_stream
10149 * lisp.h: Added file parameter to pdump_load declaration.
10151 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10152 support. Added dump file searching.
10154 * config.h.in: Added EMACS_PROGNAME.
10156 * console-stream.c (init_console_stream): Fix reinitialisation
10157 when running from temacs.
10159 * alloc.c (pdump): Add id support.
10160 (pdump_load): Add file parameter and signature/id support.
10162 * Makefile.in.in: Add full pdump support.
10164 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10166 * postgresql.c: Update documentation to reflect latest code
10168 (print_result): Show tuple counts in printed representation when
10170 (Fpq_put_nbytes): MULE-ize.
10171 (Fpq_get_line_async): Ditto.
10173 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10175 * postgresql.c (Fpq_lo_import): Fix return value.
10176 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10178 2000-03-13 Ben Wing <ben@xemacs.org>
10180 * alloc.c (pdump_load):
10181 Fix compile warning under mswin.
10183 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10185 * postgresql.c: Mule-ization, bug fixes.
10186 Use PG_CODING to encapsulate coding system name changes.
10187 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10188 (pg-coding-system): Create.
10190 (Fpq_conn_defaults): Mule-ize.
10191 (Fpq_connectdb): Mule-ize & bug fix.
10192 (Fpq_connect_start): Mule-ize.
10193 (Fpq_set_client_encoding): Mule-ize.
10194 (Fpq_finish): Document `DEAD' connection status.
10195 (Fpq_clear): Ditto.
10196 (Fpq_pgconn): Mule-ize.
10197 (Fpq_exec): Mule-ize & bug fix.
10198 (Fpq_send_query): Ditto.
10199 (Fpq_get_result): Ditto.
10200 (Fpq_res_status): Mule-ize.
10201 (Fpq_result_error_message): Mule-ize.
10202 (Fpq_ntuples): fix comments.
10203 (Fpq_fname): Mule-ize.
10204 (Fpq_fnumber): Mule-ize.
10205 (Fpq_ftype): fix comments.
10206 (Fpq_get_value): Mule-ize.
10207 (Fpq_cmd_status): Ditto.
10208 (Fpq_cmd_tuples): Ditto.
10209 (Fpq_oid_value): Ditto.
10210 (Fpq_notifies): Ditto.
10211 (Fpq_lo_import): Ditto.
10212 (Fpq_lo_export): Ditto.
10213 (Fpq_get_line): Ditto.
10214 (Fpq_put_line): Mule-ize and bug fix.
10215 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10217 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10219 * postgresql.c (vars_of_postgresql): Mule-ize.
10220 (Fpq_conn_defaults): Ditto.
10222 2000-03-12 Ben Wing <ben@xemacs.org>
10224 * alloc.c (Fmake_byte_code):
10225 * alloc.c (debug_string_purity_print):
10226 * alloc.c (pdump_backtrace):
10227 * alloc.c (pdump_get_indirect_count):
10228 * alloc.c (pdump_register_sub):
10229 * alloc.c (pdump_register_object):
10230 * alloc.c (pdump_register_struct):
10231 * alloc.c (pdump_dump_data):
10232 * alloc.c (pdump_reloc_one):
10236 * console-msw.c (GetConsoleHwnd):
10237 * console-msw.c (msw_hide_console):
10238 * console-msw.c (msw_show_console):
10239 * console-msw.c (msw_ensure_console_buffered):
10240 * console-msw.c (msw_output_console_string):
10241 * console-msw.c (console_type_create_mswindows):
10243 a) Added functions to manipulate the console window for use with
10246 b) Added support for writing text to the console, which is now
10247 used under Windows when xemacs is not being run non-interactively,
10248 to write text that would otherwise be destined for stdout because
10249 under these circumstances, text written to stdout tends to
10250 disappear and not be seen.
10254 * event-Xt.c (x_event_to_emacs_event):
10255 * event-Xt.c (describe_event_window):
10256 * events-mod.h (XEMACS_MOD_CONTROL):
10258 * events.c (Fmake_event):
10259 * events.c (character_to_event):
10260 * events.c (event_to_character):
10261 * events.c (format_event_object):
10262 * events.c (Fevent_modifiers):
10264 * events.h (struct key_data):
10265 * events.h (struct button_data):
10266 * events.h (struct misc_user_data):
10267 * frame-x.c (Fcde_start_drag_internal):
10268 * frame-x.c (Foffix_start_drag_internal):
10269 * gpmevent.c (Freceive_gpm_event):
10271 * keymap.c (bucky_sym_to_bucky_bit):
10272 * keymap.c (control_meta_superify):
10273 * keymap.c (make_key_description):
10274 * keymap.c (keymap_lookup_directly):
10275 * keymap.c (create_bucky_submap):
10276 * keymap.c (keymap_store):
10277 * keymap.c (define_key_check_and_coerce_keysym):
10278 * keymap.c (define_key_parser):
10279 * keymap.c (define_key_alternate_name):
10280 * keymap.c (Fdefine_key):
10281 * keymap.c (raw_lookup_key_mapper):
10282 * keymap.c (struct map_keymap_unsorted_closure):
10283 * keymap.c (map_keymap_unsorted_mapper):
10284 * keymap.c (map_keymap_sort_predicate):
10285 * keymap.c (map_keymap_sorted):
10286 * keymap.c (accessible_keymaps_mapper_1):
10287 * keymap.c (where_is_recursive_mapper):
10288 * keymap.c (describe_map_mapper):
10289 * keymap.c (describe_map_sort_predicate):
10290 * keymap.c (describe_map):
10291 * keymap.c (complex_vars_of_keymap):
10292 And a number of other files, the key modifier preprocessor
10293 constants that xemacs uses have names that conflict with constants
10294 defined under MS Windows for other purposes, so they were renamed
10295 to begin with the prefix XEMACS_. The variables that hold such
10296 modifiers were changed to consistently be of type int to fix
10297 various compile warnings.
10299 * console.c (complex_vars_of_console):
10302 * device-msw.c (mswindows_finish_init_device):
10303 * device-msw.c (msw_get_workspace_coords):
10304 * device-msw.c (mswindows_device_system_metrics):
10305 and various other files, added support for a new
10306 device property called offset-workspace which returns the position
10307 of the upper left corner of the workspace area and goes along with
10308 the existing size-workspace property.
10311 * dialog-msw.c (push_bufbyte_string_as_unicode):
10312 * dialog-msw.c (mswindows_popup_dialog_box):
10313 Added support for XEmacs-style accelerator specifications in
10314 button text. Note: I didn't add support for this under X Windows,
10315 and somebody needs to do this.
10318 * dialog.c (Fpopup_dialog_box):
10319 Documented the support for accelerators that was just mentioned.
10321 editfns.c (get_home_directory): Changed behavior under Windows
10322 when HOME not defined; former behavior was irretrievably broken.
10325 * emacs.c (main_1):
10327 * minibuf.c (clear_echo_area_internal):
10328 * minibuf.c (echo_area_append):
10330 * print.c (std_handle_out_external):
10331 * print.c (std_handle_out_va):
10333 * print.c (write_string_to_stdio_stream):
10334 * print.c (output_string):
10335 * print.c (debug_print):
10336 * print.c (debug_backtrace):
10337 * print.c (debug_short_backtrace):
10338 Cleaned up the code that prints text to stdout so that this can be
10339 changed to output into a console window instead under MS Windows,
10340 as described above.
10343 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10344 * eval.c (internal_catch):
10345 * eval.c (unwind_to_catch):
10346 * eval.c (throw_or_bomb_out):
10347 * eval.c (condition_case_1):
10348 * eval.c (signal_1):
10349 * eval.c (check_error_state_sanity):
10350 * eval.c (call_with_suspended_errors_1):
10351 * eval.c (call_with_suspended_errors):
10352 * eval.c (reinit_vars_of_eval):
10353 Added code to catch throw loops and check for a pesky bug that may
10357 * event-msw.c (key_needs_default_processing_p):
10358 * event-msw.c (mswindows_wnd_proc):
10359 * event-msw.c (mswindows_modifier_state):
10360 * event-msw.c (emacs_mswindows_quit_p):
10361 * event-msw.c (vars_of_event_mswindows):
10362 a) Added support for using the alt key to select menu items as is
10363 standard under MS Windows. This is controlled using the variable
10364 menu-accelerator-enabled, just like under X Windows. There is an
10365 option on the options menu to turn this support on. I really
10366 think that it should be on by default under Windows, but I'm not
10367 going to make this change yet.
10369 b) Added support for dynamic display size changes under Windows.
10372 * event-stream.c (maybe_echo_keys):
10373 * event-stream.c (Fnext_event):
10374 * event-stream.c (command_builder_find_leaf):
10375 * event-stream.c (lookup_command_event):
10376 * event-stream.c (execute_command_event):
10377 * event-stream.c (pre_command_hook):
10378 * event-stream.c (post_command_hook):
10379 * event-stream.c (syms_of_event_stream):
10380 * event-stream.c (vars_of_event_stream):
10381 * event-stream.c (complex_vars_of_event_stream):
10382 * events.h (struct command_builder):
10384 a) Tried to clean up a little bit the horribly written x-specific
10385 accelerator code that crept into this file. I moved this code
10386 into menubar-x.c where it belongs. I also needed to move the
10387 command builder structure into the file events.h because it is
10388 accessed directly by this accelerator code. What I didn't do, but
10389 which should be done at some point, is to properly abstract this
10390 code using device methods instead of the kludgy way that it
10391 currently hooks into the event code.
10393 b) Added the lisp variables this-command-properties and
10394 last-command- properties, which should be used to synchronize two
10395 adjacent commands in preference to playing games with the variable
10396 this-command, which is typically what happens.
10398 c) Added some slightly nasty code to hook into the lisp support
10399 for shifted- motion-key selection. This is actually necessary for
10400 somewhat complicated reasons, which are described in
10401 simple.el. (NB: I think the proper thing would be to have the code
10402 that calls the pre and post command hooks also call out to generic
10403 lisp functions in simple.el, where all built-in stuff could be
10404 added. I will think about this more.)
10406 * event-unixoid.c (poll_fds_for_input):
10407 * lread.c (readchar):
10408 * redisplay-tty.c (tty_clear_frame):
10409 * redisplay-x.c (x_get_gc):
10410 * signal.c (interrupt_signal):
10411 And a whole bunch of other files: fixed up places that printed
10412 directly to stderr to instead call the function stderr_out so that
10413 the changes I made under Windows work correctly.
10415 * filemode.c (mode_string):
10419 * frame-msw.c (mswindows_size_frame_internal):
10420 Fixed the computation of frame size and position to keep the frame
10421 within the workspace area, rather than within the physical
10422 dimensions of the screen, so that the frame doesn't overlap window
10423 manager decorations, such as the start menu and toolbar, typically
10424 at the bottom of the screen.
10426 * frame.c (vars_of_frame):
10427 Changed the default frame title format under MS Windows to consist
10428 of buffername-XEmacs, which is standard under MS Windows. I think
10429 it might be a good idea to change this everywhere because I think
10430 it is superior to the current frame title format, but this is the
10431 kind of change that is likely to cause some people to get annoyed,
10432 so I'm not making it.
10434 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10436 * gui-msw.c (mswindows_handle_gui_wm_command):
10437 Fixed compile warnings.
10440 * gui-x.c (strdup_and_add_accel):
10441 * gui-x.c (button_item_to_widget_value):
10443 Added code to automatically put an accelerator onto the beginning
10444 of menu items that don't have one as is now the standard, and is
10445 described more later. Also fixed things so that the menu item
10446 name can be an evaluated expression, again a new standard.
10449 * gui.c (gui_item_add_keyval_pair):
10450 * gui.c (make_gui_item_from_keywords_internal):
10451 * gui.c (gui_add_item_keywords_to_plist):
10452 * gui.c (gui_item_accelerator):
10453 * gui.c (gui_name_accelerator):
10454 * gui.c (gui_item_included_p):
10455 * gui.c (gui_item_display_flush_left):
10456 * gui.c (gui_item_display_flush_right):
10457 * gui.c (parse_gui_item_tree_item):
10458 * gui.c (parse_gui_item_tree_children):
10459 * gui.c (parse_gui_item_tree_list):
10460 Mule-ized. Cleanup. GCPRO addition.
10462 * line-number.c (buffer_line_number):
10464 * lisp.h (EMACS_INT_MAX):
10465 Added the manifest constant EMACS_INT_MIN corresponding to the
10466 existing constant EMACS_INT_MAX. This is partially to fix compile
10467 warnings under Windows, and partly for cleanliness.
10470 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10471 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10472 * menubar-msw.c (displayable_menu_item):
10473 * menubar-msw.c (populate_menu_add_item):
10474 * menubar-msw.c (populate_or_checksum_helper):
10475 * menubar-msw.c (populate_menu):
10476 * menubar-msw.c (update_frame_menubar_maybe):
10477 * menubar-msw.c (prune_menubar):
10478 * menubar-msw.c (msw_char_is_accelerator):
10479 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10480 * menubar-msw.c (mswindows_handle_wm_command):
10481 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10482 * menubar-msw.c (mswindows_handle_wm_initmenu):
10483 * menubar-msw.c (mswindows_update_frame_menubars):
10484 * menubar-msw.c (mswindows_free_frame_menubars):
10485 * menubar-msw.c (mswindows_popup_menu):
10486 Fixed a bug in handling accelerators where an extra character
10487 would be displayed in the menu item. Also generalized the
10488 function displayable_menu_item because it is now used by the
10489 dialog box code as well. And finally, added code in the functions
10490 that create the menubar to extract a list of accelerators for the
10491 top level menubar, which is used in the event code to determine
10492 whether a particular alt-key combination should be used to invoke
10493 a menu item, or should be passed through to access the standard
10494 XEmacs keymap binding for this key combination.
10496 Much needed GCPROing.
10499 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10500 * menubar-x.c (menu_item_descriptor_to_widget_value):
10501 * menubar-x.c (restore_in_menu_callback):
10502 * menubar-x.c (x_popup_menu):
10503 * menubar-x.c (menu_move_up):
10504 * menubar-x.c (menu_move_down):
10505 * menubar-x.c (menu_move_left):
10506 * menubar-x.c (menu_move_right):
10507 * menubar-x.c (menu_select_item):
10508 * menubar-x.c (command_builder_operate_menu_accelerator):
10509 * menubar-x.c (menu_accelerator_junk_on_error):
10510 * menubar-x.c (command_builder_find_menu_accelerator):
10511 * menubar-x.c (Faccelerate_menu):
10513 Moved a whole bunch of code here that was previously in
10514 event-stream.c as described above. There is also code connected
10515 to the new standard of adding an accelerator to the beginning of
10516 menu items that don't have one as described above and below.
10519 * menubar.c (menu_parse_submenu_keywords):
10520 * menubar.c (Fmenu_find_real_submenu):
10521 * menubar.c (Fnormalize_menu_item_name):
10522 * menubar.c (syms_of_menubar):
10523 * menubar.c (vars_of_menubar):
10524 * menubar.c (complex_vars_of_menubar):
10526 a) Cleaned up a bunch of documentation and improved it.
10528 b) XEmacs now automatically adds an accelerator onto the beginning
10529 of any menu items that don't have one. I did this because there
10530 will inevitably be some menu items on the main menubar that don't
10531 have accelerators on them because the package that adds that
10532 particular menu item hasn't yet been fixed up to have accelerators
10533 in them and it looked rather strange to have some items with and
10534 some items without accelerators, especially since even in items
10535 without accelerators, you can, at least under windows, still
10536 access the item through an accelerator corresponding to the first
10537 character in the item's name. If people don't like this behavior,
10538 I can add a variable to turn it off optionally, but I'm not sure
10539 this is a good idea because we really do need to have accelerators
10540 on all of the menu items, and if a package doesn't like the
10541 accelerators being put on the first character, then it should put
10542 the accelerators where they belong.
10544 c) I made a behavior change, which is that the descriptor that
10545 specifies the text of the menu item, which formerly was just a
10546 string, can now also be an evaluated expression. This makes this
10547 descriptor parallel with all of the others, which could also be
10548 evaluated expressions. This also obviates the need for the
10549 keyword :label, which was previously listed in the documentation
10550 as unimplemented, and which was for the same purpose.
10555 * ntproc.c (new_child):
10556 * ntproc.c (sys_spawnve):
10557 * ntproc.c (find_child_console):
10558 * ntproc.c (sys_kill):
10559 Fixed compile warnings. By the way, this file should really go
10560 away entirely, and this will happen as soon as Kirill makes his
10561 final round of process cleanups, which affect the function
10565 * process-nt.c (struct nt_process_data):
10566 * process-nt.c (find_process_from_pid):
10567 * process-nt.c (send_signal_the_nt_way):
10568 * process-nt.c (enable_child_signals):
10569 * process-nt.c (find_child_console):
10570 * process-nt.c (send_signal_the_95_way):
10571 * process-nt.c (nt_finalize_process_data):
10572 * process-nt.c (ensure_console_window_exists):
10573 * process-nt.c (nt_create_process):
10574 * process-nt.c (nt_kill_child_process):
10575 * process-nt.c (nt_kill_process_by_pid):
10576 * process-nt.c (nt_open_network_stream):
10577 * process-nt.c (vars_of_process_nt):
10578 Copied over code from Emacs 20.5 to correctly send signals to sub-
10579 processes under Windows 95. Also added code to automatically
10580 create and hide console window when a sub-process is created under
10581 Windows 95, which obviates the need for the separate runemacs.exe
10582 executable, and finally implemented some variables that were
10583 implemented in Emacs 20.5, but previously not in XEmacs. These
10584 include mswindows- start-process-share-console and
10585 mswindows-start-process-inherit-error-mode. (Both of these only
10586 apply to Windows 95.)
10588 * regex.c (regex_compile): Fixed a compile warning.
10591 * select-msw.c (mswindows_own_selection):
10592 * select-msw.c (mswindows_get_foreign_selection):
10593 * select-msw.c (mswindows_disown_selection):
10594 * select-msw.c (console_type_create_select_mswindows):
10595 * select-msw.c (syms_of_select_mswindows):
10596 Cleaned up the file and implemented the device method
10597 selection_exists_p, which had accidentally been left out. Also
10598 removed four lisp functions that were remnants from before the
10599 time when the selection code was properly device abstracted.
10600 These functions are no longer needed because there are generic
10601 equivalents, and because they were added recently and don't exist
10602 in FSF Emacs, I don't think there's any problem with just deleting
10606 * sysdep.c (sys_subshell):
10607 Fixed a compile warning, although in this case there's probably
10608 something wrong with this code, and it ought to be looked into
10609 more thoroughly by somebody who understands it.
10612 * window.c (Fwindow_text_area_height):
10613 * window.c (Fwindow_width):
10614 * window.c (Fwindow_full_width):
10615 * window.c (Fwindow_pixel_width):
10616 * window.c (debug_print_window):
10617 * window.c (syms_of_window):
10618 Added functions window-text-area-height and window-full-width,
10619 which are functions for returning various width and height
10620 characteristics of a window. (One of these functions is necessary
10621 for making the file dialog box work correctly, and the other one
10622 was added for completeness.) Also added a table to the
10623 documentation for window-height which describes the entire scheme
10624 for accessing width and height characteristics of a window.
10626 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10628 * nt.c (fstat): Added a comment for another problem with
10629 non-encapsulated [f]stat(), reported by Adrian Aichner
10630 <aichner@ecf.teradyne.com>.
10632 2000-03-11 Andy Piper <andy@xemacs.org>
10634 * window.c (make_dummy_parent): initialize subwindow instance
10636 (Fset_window_configuration): zero extent_modiff.
10638 2000-03-10 Andy Piper <andy@xemacs.org>
10640 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
10641 more changes can be triggered.
10642 (Fredisplay_frame): ditto.
10643 (Fredraw_device): ditto.
10644 (Fredisplay_device): ditto.
10645 (redisplay_frame): make non-static.
10646 (redisplay_frame): call update_frame_gutter_geometry outside of
10649 * gutter.h: declare update_frame_gutter_geometry.
10651 * redisplay.h: declare redisplay_frame.
10653 * gutter.c (update_frame_gutter_geometry): move geometry changes
10654 in update_frame_gutters here. Geometry changes can only occur
10655 outside of redisplay.
10656 (update_frame_gutters): remove geometry change code.
10657 (Fredisplay_gutter_area): make sure that we are in display when we
10658 update and that we have flushed any size changes.
10660 2000-03-11 Andy Piper <andy@xemacs.org>
10662 * alloc.c (pdump_dump_data): remove i & count shadows.
10664 2000-02-27 Mike Alexander <mta@arbortext.com>
10666 * sysdep.h: Declare pdump_read_file
10668 * sysdep.c (pdump_read_file): New function
10670 * alloc.c (pdump_load): Call pdump_read_file to get the portable
10673 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10675 * lrecord.h: add `lrecord_type_pgsetenv'.
10677 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
10679 * symsinit.h: declare (vars|syms)_of* functions.
10680 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
10682 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
10684 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
10686 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
10689 * emacs.c (main_1): Call postgres initialization code.
10691 * postgresql.h: New file. PostgreSQL RDBMS support.
10692 * postgresql.c: New file.
10694 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
10696 * redisplay-output.c (redisplay_output_display_block): Disable
10699 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10701 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
10702 (Fcanna_henkan_next): Ditto.
10703 (Fcanna_bunsetu_henkou): Ditto.
10704 (Fcanna_henkan_kakutei): Ditto.
10705 (Fcanna_henkan_end): Ditto.
10706 (Fcanna_henkan_quit): Ditto.
10707 (Fcanna_henkan_next): Set retun value correctly.
10708 (c2mu): Use unsigned char instead of signed char.
10710 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10712 * emacs.c (main_1): Always call syms_of_gui.
10713 * inline.c: include gui.h
10715 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10717 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
10718 converted to Lisp_Object.
10719 (Qtop_bottom): New variable.
10720 (syms_of_redisplay): Initialize it.
10721 * redisplay.h (Vvisible_bell): Ditto.
10722 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
10723 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
10724 only flash top and bottom.
10726 2000-03-08 Andy Piper <andy@xemacs.org>
10728 * buffer.c (Frename_buffer): record new buffer name the right way.
10730 2000-03-08 Andy Piper <andy@xemacs.org>
10732 * glyphs.c (update_subwindow): increase hash depth so that widget
10733 items get picked up properly.
10735 * redisplay-output.c (compare_runes): increase hash depth so that
10736 widget items get picked up properly.
10738 2000-03-08 Andy Piper <andy@xemacs.org>
10740 * gutter.c (output_gutter): add some debug.
10742 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
10743 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
10744 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
10746 * redisplay-output.c (compare_runes): use display_hash to
10747 determine if glyphs really are not the same.
10749 * glyphs.c (update_subwindow): check display_hash to see if
10750 anything really needs to be updated. If not then do
10751 nothing. Record the display_hash after updating.
10752 (image_instance_equal): compare the image_instance face also.
10754 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
10756 * redisplay.h: Fix comment style.
10758 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
10760 * consle-msw.h (struct mswindows_frame):
10761 Added new member paint_pending to indicate whether a WM_PAINT
10762 magic event has been queued for this frame.
10764 * event-msw.c (mswindows_drain_windows_queue):
10765 Don't queue a WM_PAINT magic event if one is already queued.
10766 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
10768 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
10770 2000-03-07 Didier Verna <didier@xemacs.org>
10772 * dired.c: #include `regex.h' after `sysfile.h'.
10774 2000-03-06 Martin Buchholz <martin@xemacs.org>
10776 * sound.c (init_nas_sound): Fix compiler warning.
10778 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
10780 (MARK_STRUCT_AS_FREE):
10781 (MARK_STRUCT_AS_NOT_FREE):
10782 Make `gcc -fstrict-aliasing' work properly.
10784 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
10786 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
10787 (mswindows_delete_device): Call CoUnnitialize().
10789 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
10791 2000-02-25 <CraigL@DyCon.com>
10793 * process-nt.c: MinGW now has <shellapi.h>, but still needs
10796 * sysdep.c: This extern declaration for environ prevents MinGW
10797 from finding the variable in CRTDLL.DLL.
10799 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
10801 (SHGFI_EXETYPE): ..
10802 (WM_MOUSEWHEEL): ..
10803 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
10805 (MMRESULT): Removed, now defined in cygwin's windows headers.
10807 (uid_t,gid_t,pid_t,ssize_t): ..
10808 (_timeb): Removed, MinGW defines both _timeb and timeb.
10809 (HAVE_H_ERRNO): Added.
10810 (HAVE_TZNAME): Added, configure is not detecting this.
10812 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
10814 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
10815 * syntax.c (syntax_match): Use it.
10817 * cmds.c: Import auto-fill-chars from FSF Emacs.
10818 (Vauto_fill_chars): New variables.
10819 (internal_self_insert): Check Vauto_fill_chars.
10821 Declare auto-fill-chars as a Lisp variable and initialize it.
10823 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10825 * fileio.c (Fmake_symbolic_link):
10827 Run handlers even if local machine doesn't have symlinks.
10829 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10831 * event-msw.c (mswindows_drain_windows_queue):
10832 Don't generate paint magic events for non-XEmacs frames.
10834 2000-03-05 Andy Piper <andy@xemacs.org>
10836 * redisplay.c (redisplay_frame): generate_displayable_area and
10837 friends assumes that we are not in GC, we therefore have to make
10838 sure that this doesn't happen.
10840 * gutter.c (calculate_gutter_size): generate_displayable_area
10841 assumes that we are not in GC, we therefore have to make sure that
10842 this doesn't happen.
10844 2000-03-05 Martin Buchholz <martin@xemacs.org>
10846 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
10848 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10850 * redisplay.c (regenerate_window): Make sure we set a sane value
10851 for end_pos even if we jump out of the loop.
10852 (regenerate_window): Answer Ben's question :-).
10853 (start_end_of_last_line): Add may_error argument.
10854 (start_of_last_line):
10855 (end_of_last_line): Pass may_error = 0.
10856 (end_of_last_line_may_error): New function.
10857 (pixel_to_glyph_translation): Use it, so we don't crash in
10860 2000-03-04 Andy Piper <andy@xemacs.org>
10862 * window.h (struct window): add gutter_extent_modiff.
10864 * window.c (allocate_window): zero out gutter_extent_modiff.
10866 * redisplay.h: declare sync_display_line_structs.
10868 * redisplay.c (add_glyph_rune): add a better comment.
10870 * redisplay-output.c (sync_display_line_structs): made non-static.
10871 (compare_runes): remove unneccesary glyph cachel access.
10873 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
10875 * gutter.c (output_gutter): don't output the gutter if extent
10876 changes only involve extents in buffers. use 4 sets of display
10878 (gutter_extent_signal_changed_region_maybe): new function. Mark
10879 extents in gutters as changed.
10880 (update_frame_gutters): use 4 sets of display lines.
10881 (reset_gutter_display_lines): ditto.
10882 (free_frame_gutters): ditto.
10883 (redraw_exposed_gutter): force output of gutters.
10885 * frame.h (struct frame): add 4 sets of gutter display lines.
10887 * extents.c: (extent_changed_for_redisplay): signal changes to
10888 extents in strings in the gutter as well as extents in buffers.
10890 2000-03-02 Andy Piper <andy@xemacs.org>
10892 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
10894 * frame.c (Fmake_frame): make sure the gutters get initialized
10895 after the frame is visible.
10896 (set_frame_selected_window): re-arrange compilation macros a
10898 (change_frame_size_1): mark gutters changed.
10900 * device.c (Fset_device_class): mark gutters changed.
10902 2000-03-01 Andy Piper <andy@xemacs.org>
10904 * window.c (window_top_frame_gutter_height): deleted.
10905 (window_bottom_frame_gutter_height): ditto.
10906 (window_left_frame_gutter_height): ditto.
10907 (window_right_frame_gutter_height): ditto.
10908 (window_top_gutter_height): don't use them.
10909 (window_bottom_gutter_height): ditto.
10910 (window_left_gutter_width): ditto.
10911 (window_right_gutter_width): ditto.
10912 (Fsplit_window): ditto.
10913 (Fwindow_pixel_edges): don't use border dimensions here.
10915 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
10916 (update_scrollbar_instance): ditto.
10918 * redisplay.c (generate_modeline): don't take gutters into account.
10919 (generate_modeline): ditto.
10920 (redisplay_frame): small gutter display optimization.
10922 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
10924 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
10925 gutters into account.
10927 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
10928 for window position and type.
10930 * gutter.c (get_gutter_coords): fix for frame gutters.
10931 (update_frame_gutters): update frame geometry if the gutters have
10933 (init_frame_gutters): record current gutter geometries.
10935 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
10937 (mswindows_widget_instantiate): ditto.
10939 * frame.h (struct frame): add current_gutter_bounds.
10941 * frame.c (change_frame_size_1): position window and minibuffer
10942 appropriately taking into account the frame gutters.
10944 * frame-x.c: (x_initialize_frame_size): take into account the
10947 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
10949 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
10951 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
10953 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
10955 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10957 * file-coding.c (reset_decoding_stream): Clear previous
10958 detection state when autodetect.
10960 2000-02-29 Didier Verna <didier@xemacs.org>
10962 * extents.c (set_extent_glyph_1): don't require extents to be
10965 2000-02-27 Andy Piper <andy@xemacs.org>
10967 * gutter.c (Fset_default_gutter_position): don't default left and
10968 right gutter visibility to t.
10969 (Fset_default_gutter_position): run
10970 default-gutter-position-changed-hook.
10971 (syms_of_gutter): add default-gutter-position-changed-hook.
10973 2000-02-26 Andy Piper <andy@xemacs.org>
10975 * specifier.c (Fmake_specifier): add gutter references.
10977 * gutter.h (RAW_WINDOW_GUTTER): new macro.
10979 * lisp.h: declare Fvalid_plist_p.
10981 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
10983 (default_gutter_visible_p_changed_in_window): invalidate gutter as
10984 well as its visibility so that it gets reconstructed.
10985 (construct_window_gutter_spec): new function. Construct a string
10986 to be displayed in the gutter from a plist of strings. Take care
10987 to only use elements that are declared as visible.
10988 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
10990 (gutter_validate): allow plists of strings in the specifier.
10991 (gutter_specs_changed): construct the real_gutter from the gutter
10992 specs using construct_window_gutter_spec.
10993 (gutter_visible_validate): gutter-visible is a new specifier type.
10994 (Fgutter_visible_specifier_p): new function for the new specifier.
10995 (syms_of_gutter): declare gutter-visible and
10996 Fgutter_visible_specifier_p.
10997 (specifier_type_create_gutter): intitalize new gutter-visible
10999 (reinit_specifier_type_create_gutter): ditto.
11000 (specifier_vars_of_gutter): use new specifier type for gutter
11002 (init_frame_gutters): construct real_gutter correctly.
11003 (Fgutter_specifier_p): beef up documentation.
11004 (Fgutter_size_specifier_p): ditto.
11006 * winslots.h: add real_gutter slots.
11008 2000-02-25 Andy Piper <andy@xemacs.org>
11010 * device-msw.c: Be kind to older cygwin versions. From Raymond
11011 Toy <toy@rtp.ericsson.se>.
11013 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11014 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11016 2000-02-25 Martin Buchholz <martin@xemacs.org>
11018 * elhash.c (MARK_OBJ): Practice macro hygiene.
11020 2000-02-24 Martin Buchholz <martin@xemacs.org>
11022 * miscplay.c: s/__inline__/inline/g;
11023 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11024 (get_device_compdc): INLINE ==> static inline
11025 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11026 find -name '*.h' | \
11027 xargs global-replace \
11028 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11030 2000-02-25 Andy Piper <andy@xemacs.org>
11032 * window.c (window_top_frame_gutter_height): new function.
11033 (window_top_window_gutter_height): ditto.
11034 (window_top_gutter_height): use them.
11035 (window_bottom_frame_gutter_height): new function.
11036 (window_bottom_window_gutter_height): ditto.
11037 (window_bottom_gutter_height): use them.
11038 (window_left_window_gutter_width): new function.
11039 (window_left_frame_gutter_width): ditto.
11040 (window_left_gutter_width): use them.
11041 (window_right_window_gutter_width): new function.
11042 (window_right_frame_gutter_width): ditto.
11043 (window_right_gutter_width): use them.
11044 (window_pixel_height): new function. calulate window pixel height
11045 with frame gutter involvement.
11046 (Fsplit_window): calculate new sizes taking frame gutters into
11048 (window_char_height_to_pixel_height): don't include frame gutters.
11049 (window_char_height): use window_pixel_height.
11050 (window_pixheight): rename from window_pixel_height.
11051 (change_window_height): use it.
11052 (window_pixel_height_to_char_height): don't include frame gutters.
11053 (window_char_width_to_pixel_width): ditto.
11055 2000-02-25 Andy Piper <andy@xemacs.org>
11057 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11060 2000-02-24 Martin Buchholz <martin@xemacs.org>
11062 * alloc.c (staticpro):
11063 (staticpro_nodump):
11068 (compact_string_chars):
11069 (pdump_dump_wired):
11070 Convert: if (foo) abort(); ==> assert (! foo);
11072 * eldap.c (Fldap_search_basic):
11076 Fix compiler warnings, and possible crashes if (random) return
11077 value were to be used.
11079 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11081 * device-msw.c: Workaround ResetDC failure.
11083 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11084 applying a devmode.
11086 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11087 (mswindows_text_width): Do not start printer page.
11089 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11091 * glyphs-msw.c: Added image methods to msprinter console and
11092 msprinter-specific image instantiation.
11094 2000-02-20 Mike Alexander <mta@arbortext.com>
11096 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11097 to avoid crashes when selection-sets-clipboard is on
11098 (mswindows_own_selection): ditto
11100 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11103 * redisplay-msw.c (get_frame_dc):
11104 (get_frame_compdc):
11106 * device-msw.c (mswindows_init_device):
11107 (mswindows_delete_device):
11108 (msprinter_init_device):
11109 (msprinter_delete_device):
11110 * frame-msw.c (mswindows_init_frame_1):
11111 (mswindows_delete_frame):
11112 (msprinter_init_frame_3):
11113 (msprinter_delete_frame): Move compatible DC to device object from
11114 frame object, for both mswindows and msprinter. Only one at a time
11115 is needed, it is a real waste to have one per frame!
11117 2000-02-23 Andy Piper <andy@xemacs.org>
11119 * glyphs.c: add dynamic width and height elements.
11120 (image_instance_equal): ditto.
11122 * glyphs-widget.c (widget_query_geometry): calculate width and
11123 height dynamically if required.
11124 (initialize_widget_image_instance): initialize dynamic dimensions.
11125 (widget_instantiate): pick-up dynamic dimensions.
11127 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11128 dynamic determination. Add appropriate macros.
11130 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11132 (WINDOW_GUTTER_SIZE): ditto.
11133 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11135 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11137 (get_frame_dc): ditto.
11139 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11142 2000-02-23 Martin Buchholz <martin@xemacs.org>
11144 * XEmacs 21.2.31 is released.
11146 2000-02-22 Ben Wing <ben@xemacs.org>
11148 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11150 2000-02-22 Andy Piper <andy@xemacs.org>
11152 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11154 2000-02-21 Mike Sperber <mike@xemacs.org>
11158 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11161 2000-02-21 Mike Sperber <mike@xemacs.org>
11163 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11165 2000-02-21 Martin Buchholz <martin@xemacs.org>
11167 * XEmacs 21.2.30 is released.
11169 2000-02-20 Martin Buchholz <martin@xemacs.org>
11171 Performance hacking.
11173 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11174 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11175 * emacs.c (main_1):
11177 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11178 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11179 * symeval.h (DEFVAR_SYMVAL_FWD):
11180 * symbols.c (guts_of_unbound_marker):
11181 Make all c_readonly objects also lisp_readonly and marked for life.
11182 * lrecord.h (struct lrecord_implementation):
11183 Document flags better.
11184 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11185 * lrecord.h (DECLARE_LRECORD):
11186 * lrecord.h (XSETRECORD):
11187 * lrecord.h (RECORDP):
11188 * lrecord.h (RECORD_TYPEP):
11189 * lrecord.h (RECORD_MARKER): New.
11190 * lrecord.h (error_check_*):
11191 * lrecord.h (CONCHECK_NONRECORD):
11192 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11193 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11194 * lrecord.h (set_lheader_implementation):
11195 * lrecord.h (enum lrecord_type): New.
11196 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11197 * alloc.c (disksave_object_finalization_1):
11198 * alloc.c (mark_object):
11199 * alloc.c (lrecord_type_index):
11200 * alloc.c (tick_lcrecord_stats):
11201 * alloc.c (Fgarbage_collect):
11202 * alloc.c (init_alloc_once_early):
11203 * alloc.c (pdump_load):
11204 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11205 * alloc.c (lrecord_type_index): Delete.
11206 Make lisp object type indexes be constant.
11207 Makes (byte-compile) 5% faster.
11208 Put all marker functions into their own array.
11209 Makes (garbage-collect) 5% faster.
11210 Optimize SYMBOL_VALUE_MAGIC_P.
11211 Makes (byte-compile) 2-3% faster.
11212 * config.h.in (gc_checking_assert): New.
11213 * alloc.c: Use gc_checking_assert().
11214 * .dbxrc: Make compatible with new object type implementation.
11215 * .gdbinit: Make compatible with new object type implementation.
11216 * alloc.c: Delete all symbols defined only for debugging, such as
11217 Lisp_Type_Vector and lrecord_charset.
11219 2000-02-21 Andy Piper <andy@xemacs.org>
11221 * gui-msw.c (Fmswindows_shell_execute): fix file location
11224 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11225 unshowing so that set_window_buffer doesn't undo
11226 kill_buffer_hook's hard work.
11228 * glyphs-widget.c (tab_control_query_geometry): don't count the
11229 first item when calculating geometry.
11231 * glyphs.c (map_subwindow): remove redundant code.
11232 (update_frame_subwindows): be more circumspect about when to
11235 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11236 when items haven't changed. Update faces if faces have changed as
11237 well as just the widget face.
11238 (x_tab_control_update): Update faces if faces have changed as well
11239 as just the widget face.
11241 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11243 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11245 (build_syscolor_string): Use mswindows_color_to_string to try to
11247 (mswindows_device_system_metrics): Reverse the foreground and
11248 background colors so that they match the documentation.
11250 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11251 they match the default Windows palette.
11252 (mswindows_color_to_string): New function.
11254 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11256 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11258 2000-02-18 Olivier Galibert <galibert@pobox.com>
11260 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11261 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11263 * symbols.c (init_symbols_once_early): Removed obsolete
11264 DATA_SEG_BITS related kludge.
11265 (defvar_magic): Ditto.
11267 * malloc.c: Removed obsolete DATA_SEG_BITS
11269 * mem-limits.h: Ditto.
11271 * Makefile.in.in: Removed obsolete HAVE_SHM
11274 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11276 * device-msw.c (mswindows_delete_device): Free DDE string
11279 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11281 * keymap.c (get_keyelt):
11282 * unexnt.c (unexec):
11283 * vm-limit.c (memory_warnings):
11284 * ntheap.c (recreate_heap):
11285 * ntheap.h (UNINIT_PTR):
11286 * select-msw.c (Fmswindows_get_clipboard):
11287 (Fmswindows_set_clipboard):
11288 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11290 * menubar-msw.c (displayable_menu_item):
11292 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11293 * sysdep.c (sys_subshell):
11294 * process-nt.c (nt_create_process):
11295 * nt.c (normalize_filename):
11296 (dostounix_filename):
11297 (unixtodos_filename):
11298 * ntproc.c (win32_executable_type):
11299 * ntplay.c (play_sound_data_1):
11301 * editfns.c (get_home_directory):
11302 * event-msw.c (struct winsock_stream):
11303 (mswindows_dde_callback):
11304 * device-msw.c (msprinter_init_device):
11305 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11307 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11308 mswindows_clear_toolbar were swapped!
11310 * objects-msw.c:(colormap_t):
11312 * emacs.c (struct standard_args): Fixed const jumble.
11314 * glyphs-widget.c (update_widget): Fixed comparison notation.
11316 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11318 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11319 __declspec(noreturn) syntax.
11321 2000-02-19 Martin Buchholz <martin@xemacs.org>
11323 * eldap.c (Fldap_open):
11324 (Fldap_search_basic):
11327 Use new coding system conversion macros.
11329 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11331 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11333 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11335 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11336 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11338 * eldap.c (Qadd, Qreplace): New constant symbols
11339 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11340 interruptions by XEmacs signals
11341 Remove unnecessary calls to slow_down_interrupts and
11342 speed_up_interrupts
11343 (Fldap_search_basic): Renamed from Fldap_search_internal
11344 Added new optional parameter VERBOSE that triggers the
11345 display of progress messages
11346 Remove unnecessary calls to slow_down_interrupts and
11347 speed_up_interrupts
11348 LDAP result code analysis rewritten
11349 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11350 (syms_of_eldap): Define the new symbols and functions
11353 2000-02-17 Martin Buchholz <martin@xemacs.org>
11355 * realpath.c: Determine PATH_MAX maximally portably.
11357 * insdel.c (bytecount_to_charcount): Optimize.
11358 The function used to be optimized for entirely ASCII sequences.
11359 Now it is optimized for successive characters from the same
11360 charset. This also wins big for _mostly_ ASCII sequences.
11362 * fileio.c (Ffile_truename): convert return from realpath() using
11363 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11364 - Rewrite GCPROing slightly.
11366 * sysdep.c (sys_open): Do filename conversion, like all other
11367 sys_* functions. Fixes bug:
11368 (let ((file-name-coding-system 'iso-8859-2))
11369 (write-region x y latin2-name))
11370 ==> writes filename using internal encoding.
11372 2000-02-18 Martin Buchholz <martin@xemacs.org>
11374 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11375 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11376 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11377 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11378 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11379 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11380 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11381 (CONST_IF_NOT_DEBUG): Delete.
11382 * alloc.c (this_one_is_unmarkable): Delete.
11383 (mark_object): Don't check for this_one_is_unmarkable. Use the
11384 c_readonly flag instead.
11385 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11387 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11389 * event-msw.c (mswindows_drain_windows_queue):
11390 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11391 away redundant repaint events.
11393 2000-02-17 Andy Piper <andy@xemacs.org>
11395 * redisplay.h: declare mark_redisplay_structs.
11397 * redisplay.c (redisplay_window):
11398 (redisplay_frame): don't check subwindows_state_changed.
11399 (mark_redisplay): mark gutters here.
11401 * glyphs.c: (instantiate_image_instantiator): always layout if we
11402 haven't done so already.
11403 (allocate_image_instance): don't mark as dirty.
11404 (update_subwindow): bind inhibit_quit.
11406 * gutter.c (mark_gutters): new function.
11408 * glyphs-x.c (x_update_widget): Always resize to get round a
11411 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11412 breaking absolutely everything.
11414 * gutter.h: declare mark_gutters.
11416 2000-02-16 Martin Buchholz <martin@xemacs.org>
11418 * XEmacs 21.2.29 is released.
11420 2000-02-15 Olivier Galibert <galibert@pobox.com>
11422 * fns.c (size_bit_vector): Fix computation of the size.
11424 2000-02-15 Martin Buchholz <martin@xemacs.org>
11426 * *.[ch]: Change CONST to const globally.
11427 find -name '*.[ch]' | \
11428 xargs global-replace \
11429 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11430 - Remove vestigial references to CONST_IS_LOSING
11432 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11434 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11435 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11436 events instead of dispatching them directly.
11437 (mswindows_handle_paint): New function to do repainting.
11438 (mswindows_wnd_proc):
11439 (emacs_mswindows_handle_magic_event): Call above function.
11441 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11443 * objects-msw.c (mswindows_create_font_variant): Return the new
11445 (initialize_font_instance): Get font metrics from the underlined
11446 variant of the font to cope with the case where the underlined
11447 font has a bigger descent.
11449 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11451 * gui.c (gui_item_accelerator): Return the first underlined
11452 character in item name.
11454 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11456 * lisp.h: Added Qprinter.
11458 * general.c (syms_of_general): Initialized it.
11460 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11462 (get_frame_compdc): Made inline.
11464 * console.h (struct console_methods): Added eject_page method.
11466 * frame.h: Added FRAME_DISPLAY_P and friends.
11467 Aligned backslahes in many macros in more readable fashion.
11468 Added page_number to struct frame, and an accessor macro
11471 * defice.h: Added DEVICE_DISPLAY_P and friends.
11473 * device.c (Fdevice_printer_p): Used these.
11475 * frame.c (allocate_frame_core): Initialize page number.
11476 (Fprint_job_page_number):
11477 (Fprint_job_eject_page): Implemented.
11479 * frame-msw.c (msprinter_eject_page): Added method.
11480 (msprinter_start_page): Added.
11482 * window.c (Fwindow_truncated_p): Fixed docstring.
11483 (Fwindow_last_line_visible_height): Implemented.
11485 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11487 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11489 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11491 * syntax.c (scan_words): Always advance at least one character.
11493 2000-02-13 Andy Piper <andy@xemacs.org>
11495 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11496 to make sure the glyph is in the cachels.
11498 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11499 global image instance flag.
11500 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11501 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11503 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11504 (Fset_image_instance_property): mark layout as changed.
11505 (invalidate_glyph_geometry_maybe): mark layout as changed.
11506 (glyph_width): use new NEEDS_LAYOUT macro.
11507 (glyph_ascent): ditto.
11508 (glyph_descent): ditto.
11509 (glyph_height): ditto.
11510 (image_instance_layout): mark layout as clean after laying out.
11511 (update_subwindow): don't mark layout as clean here.
11513 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11514 should no longer be needed.
11516 * glyphs-x.c (x_update_widget): sanitize asserts.
11517 (x_finalize_image_instance): sanitize assignment to widgets.
11519 * glyphs-widget.c (widget_instantiate): don't need to clear the
11522 2000-02-13 Martin Buchholz <martin@xemacs.org>
11524 * sysdep.c (getcwd): Use standard prototype.
11525 * sysdep.h (getcwd): Use standard prototype.
11527 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
11528 (sequence, start, end).
11529 Remove redundant type checking.
11530 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
11531 view of `caller-protects') to avoid a crash where the real fix was
11534 2000-02-12 Martin Buchholz <martin@xemacs.org>
11536 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
11538 * s/sol2.h: Remove feature macro initialization.
11540 * alloc.c (alloc_lcrecord): Add more type checking assertions.
11541 (vector_hash): New. Code from internal_hash.
11543 Fix up allocation subsystem comments.
11545 * config.h.in: Add __EXTENSIONS__ for Solaris.
11547 * systime.h (EMACS_GETTIMEOFDAY): New.
11548 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
11549 Remove Solaris-specific code.
11550 Use void* for the (ignored) second arg for gettimeofday().
11552 * elhash.c (hash_table_hash): Implement it, finally.
11553 * elhash.c: Use hashcode_t.
11555 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
11556 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
11558 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
11559 * fns.c (size_bit_vector):
11560 * alloc.c (size_vector):
11561 (make_vector_internal):
11562 (make_bit_vector_internal):
11563 (sweep_bit_vectors_1):
11564 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
11566 2000-02-10 Martin Buchholz <martin@xemacs.org>
11568 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
11569 Include strings.h to avoid warnings for bzero and strcasecmp.
11571 2000-02-10 Olivier Galibert <galibert@pobox.com>
11573 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
11574 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
11576 * fns.c (size_bit_vector): New. Declare bit vectors as a
11579 2000-02-10 Olivier Galibert <galibert@pobox.com>
11581 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
11582 use a value field instead.
11583 (symbol_value_forward_forward): Use value field.
11584 (DEFVAR_SYMVAL_FWD): Use value field.
11585 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
11586 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
11587 (DEFVAR_CONST_INT): Ditto.
11588 (DEFVAR_BOOL): Ditto.
11589 (DEFVAR_CONST_BOOL): Ditto.
11590 (DEFVAR_INT_MAGIC): Ditto.
11591 (DEFVAR_BOOL_MAGIC): Ditto.
11593 * symbols.c (guts_of_unbound_marker): Use value field.
11594 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
11595 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
11597 * lisp.h: Declare dumpopaque and noninteractive1.
11599 * alloc.c (dumpopaque): Added.
11600 (pdump_dump_opaquevec): Added.
11601 (pdump): Call pdump_dump_opaquevec to dump opaque data.
11602 (pdump_load): Reload opaque data. Sync noninteractive1 with
11605 2000-02-10 Andy Piper <andy@xemacs.org>
11607 * glyphs.c (image_instance_layout): if the size changes, mark it
11610 * redisplay-output.c (redisplay_output_layout): Update the
11612 (redisplay_output_subwindow): ditto.
11614 * glyphs.c (update_subwindow): make sure we reset flags for
11615 layouts as well as everything else.
11617 * glyphs-widget.c (layout_layout): don't need to set the instances
11620 2000-02-09 Martin Buchholz <martin@xemacs.org>
11622 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
11623 not HAVE_DLOPEN, which is a lower-level thing.
11625 * .cvsignore: Ignore gmon.out
11627 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
11629 * .cvsignore: Ignore portable dumper xemacs.dmp file
11631 2000-02-09 Andy Piper <andy@xemacs.org>
11633 * redisplay-output.c (redisplay_output_layout): be more clever
11634 about when we output based on the changed flags.
11636 * glyphs.h (struct image_instantiator_methods): add update_method.
11637 (struct Lisp_Image_Instance): add changed flags. Declare new
11638 macros for manipulating them.
11640 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
11641 (image_instance_parent_glyph): find an image_instance's parent
11642 glyph or image_instance.
11643 (image_instance_layout): mark the size as changed.
11644 (set_image_instance_dirty_p): new function. mark an image
11645 instance, plus all of its parents, as dirty.
11646 (Fset_image_instance_property): use it.
11647 (Fglyph_animated_timeout_handler): use it.
11648 (update_subwindow): call update_widget and device methods for
11649 update_subwindow. Mark all changed flags as clean.
11650 (Fresize_subwindow): mark size as changed.
11652 * glyphs-x.c (x_finalize_image_instance): try and detect gc
11654 (x_update_subwindow): only resize subwindows here.
11655 (x_update_widget): new function. Update all changed properties of
11657 (x_resize_subwindow): deleted.
11658 (x_widget_set_property): deleted.
11659 (x_progress_gauge_set_property): deleted.
11660 (x_progress_gauge_update): new function. Implement recorded
11662 (x_tab_control_update): ditto.
11663 (x_tab_control_set_property): deleted.
11664 (console_type_create_glyphs_x): declare new functions.
11665 (image_instantiator_format_create_glyphs_x): ditto.
11667 * glyphs-widget.c (widget_set_property): mark text changed.
11668 (update_widget): new function. Update properties of a widget.
11669 (widget_instantiate): for layouts make sure we set their
11670 children's parent correctly.
11671 (tab_control_set_property): new function. Record changes that will
11672 take place under redisplay's control.
11673 (progress_gauge_set_property): ditto.
11674 (image_instantiator_progress_guage): declare new functions.
11675 (image_instantiator_tab_control): ditto.
11677 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
11679 (mswindows_update_widget): new function. Update all properties on
11680 a widget that have changed.
11681 (mswindows_button_update): new function. Update a button's set
11683 (mswindows_tab_control_update): new function. Update the items in
11685 (mswindows_tab_control_set_property): deleted.
11686 (mswindows_progress_gauge_update): new function. Update the
11687 progress gauge's progress.
11688 (mswindows_widget_set_property): deleted. This is all done
11689 asynchronously now.
11690 (mswindows_progress_gauge_set_property): ditto.
11691 (console_type_create_glyphs_mswindows): declare new methods.
11692 (image_instantiator_format_create_glyphs_mswindows): ditto.
11694 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
11695 (msprinter_set_frame_properties): ditto.
11697 * console.h (struct console_methods): Add update_widget_method.
11699 2000-02-09 Andy Piper <andy@xemacs.org>
11701 * gui-msw.c (Fmswindows_shell_execute): Make
11702 mswindows-shell-execute industrial strength.
11704 2000-02-08 Martin Buchholz <martin@xemacs.org>
11706 * lrecord.h: Make macro argument `props' match member function `plist'.
11709 * fns.c (Fremprop):
11710 * fns.c (Fobject_plist):
11713 Object property list frobbing cleanup.
11714 - Allow any lisp object (compared with `eq'), not just symbols, as
11715 keys in object plists.
11716 - Move symbol plist frobbing into symbols.c, where it belongs.
11717 - Move string plist frobbing into alloc.c, where it belongs.
11718 - Everything's an lrecord now, so no need to test for symbolp, etc.
11719 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
11721 * extents.c: Reorder code to remove declarations.
11723 * frame.h (store_in_alist): Remove useless declaration.
11725 2000-02-07 Martin Buchholz <martin@xemacs.org>
11727 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
11728 * config.h.in: Add HAVE_XCONVERTCASE.
11730 2000-02-07 Andy Piper <andy@xemacs.org>
11732 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
11733 it breaks many things.
11735 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11737 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
11738 actually can start a common comment type.
11739 * src/syntax.h (SYNTAX_END_P): ditto for end.
11741 2000-02-07 Martin Buchholz <martin@xemacs.org>
11743 * XEmacs 21.2.28 is released.
11745 2000-02-06 Martin Buchholz <martin@xemacs.org>
11747 * event-Xt.c (x_keysym_to_character): New.
11748 (maybe_define_x_key_as_self_inserting_character): New.
11749 (x_has_keysym): New.
11750 Auto-define all keys on the keyboard as self-insert-key.
11752 2000-02-02 Martin Buchholz <martin@xemacs.org>
11754 * menubar.c (vars_of_menubar): A small code simplification.
11756 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
11759 * ExternalClient.c:
11760 * EmacsShell-sub.c:
11763 Use consistent style for specifying X resources.
11765 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
11766 This makes (dontusethis-set-symbol-value-handler) actually usable.
11768 * lrecord.h (lrecord_decription_type):
11769 * alloc.c (pdump_register_sub):
11772 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
11773 Comply with XEmacs coding style.
11774 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
11775 args, and XD_LISP_OBJECT_ARRAY with 3 args.
11777 * keymap.c (Faccessible_keymaps):
11778 Make (accessible-keymaps map "\C-h") do the Right Thing.
11779 Make (accessible-keymaps map []) do the Right Thing.
11780 Make (accessible-keymaps map "") do the Right Thing.
11781 (check_keymap_definition_loop): New function.
11782 (keymap_store_internal): Keep luser from shooting self in foot,
11783 via (define-key ctl-x-4-map "p" global-map).
11784 Remove fullness slot from struct Lisp_Keymap, since hash tables
11786 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
11788 2000-01-30 Martin Buchholz <martin@xemacs.org>
11790 * redisplay.c (init_redisplay): Fix small memory leak.
11792 * elhash.c (pdump_reorganize_hash_table):
11793 Rename from reorganize_hash_table. Change prototype.
11794 Reuse the original memory for hentries. Save 100k.
11795 * alloc.c (PDUMP_READ): new macro.
11796 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
11797 * alloc.c: No need to #ifndef before #undef.
11799 * print.c: Allow debug_print() to print readably by modifying
11800 debug_print_readably. Use consistent variable names.
11802 * .dbxrc: Try to get things to work even if stopped in a function
11803 without source available by explicitly specifying source files.
11804 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11806 * unexnt.c (_start): Removed bogus code which caused loading heap
11807 from differrent executable file.
11808 Removed bogus assignment to _fmode, which caused inconsistencies.
11810 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11812 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
11813 Have spawnve encapsulation regard DONT_ENCAPSULATE.
11814 Do not preliminary `#define signal sigset'.
11816 * systime.h: Do not prototype environ on windows nt and cygwin,
11817 this conflicts with system header.
11819 * syssignal.h: Use correct define for WINDOWSNT
11821 * sysdep.h: Do not prototype environ on windows nt, this conflicts
11822 with system header.
11824 * sysdep.c (near start of file): Fixed commentary and rearranged
11825 ifdefs in readable order.
11826 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
11829 (end_of_data): Do not compile in if using PDUMP.
11831 * symsinit.h: Prototyped vars_of_nt().
11833 * ntproc.c (windows9x_p): Added, instead of os_subtype.
11834 (find_child_console): Use it.
11835 (sys_kill): Use it.
11837 * ntheap.h: Do not extern os_subtype.
11839 * ntheap.c (cache_system_info): Do not cache unneeded:
11840 nt_major_version, nt_minor_version and os_subtype.
11841 (recreate_heap): Do not compile in when PDUMPing.
11843 * nt.c (geteuid and friends): Use the new varibale
11844 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
11845 (init_user_info): Removed the above mentioned hackery.
11846 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
11847 stat has been fixed in the C runtime.
11848 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
11850 * file-coding.c (struct file_coding_dump): Do not define
11851 ucs_to_mule_table in the struct if not MULE.
11852 (struct struct lrecord_description fcd_description_1): Do not dump
11855 * emacs.c (main_1): Call vars_of_nt().
11856 (right before Fdump_emacs_data): Don't need lastfile if using both
11857 portabe dumper and system malloc.
11859 * alloc.c (Fmemory_limit): Conditionalized out.
11860 (pdump): Use OPEN_BINARY for the portable dump file.
11861 (pdump_load): Ditto.
11863 2000-02-02 Mike Alexander <mta@arbortext.com>
11865 * nt.c (convert_time): Set tm_isdst before calling mktime and
11866 avoid calling it at all if the compiler supports 64 bit integers.
11867 Also initialize utc_base_ft before using it.
11869 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11871 * frame.c (change_frame_size_1): Take f->internal_border_width
11872 into consideration when calculating the width of the frame.
11874 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11876 * window.c (frame_min_height):
11877 (frame_size_valid_p):
11878 (frame_pixsize_valid_p): Added.
11879 (check_frame_size): Generalized.
11881 * window.h: Prototyped the above.
11884 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
11885 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
11886 Deleted Vwin32_* and Vbinary_process_* unused variables.
11888 * device-msw.c (msprinter_init_device): Do not get printer font
11889 list; Added DEVMODE functions.
11891 * frame-msw.c: Added lots of printer code.
11893 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
11896 * console-msw.h: Added more msprinter device private slots.
11898 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11900 * event-msw.c (key_needs_default_processing_p): Added.
11901 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
11903 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11905 * glyphs.c (image_instance_layout): Mark image instance as clean
11907 (glyph_dirty_p): Removed redundant function.
11908 (invalidate_glyph_geometry_maybe): Added.
11909 (update_glyph_cachel_data): Call it.
11911 * glyphs.h: Prototyped it.
11913 * redisplay.c (add_glyph_rune): Call it.
11914 (redisplay_window): Reset glyphs cachels when frame faces have
11915 changed, thus forcing recomputation of built-in border glyphs.
11917 2000-01-30 Martin Buchholz <martin@xemacs.org>
11919 * Makefile.in.in: Make portable dumper and purify play well together.
11920 Add imperfect, but better than nothing, support for pdump.
11921 Remove xemacs.dmp when temacs is re-generated.
11922 Don't ignore errors when dumping xemacs.
11924 * symbols.c (maybe_call_magic_handler): Remove one magic number.
11926 2000-01-28 Andy Piper <andy@xemacs.org>
11928 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
11929 (setup_normal_frame): ditto.
11930 (setup_frame_without_minibuffer): ditto.
11931 (setup_minibuffer_frame): ditto.
11932 (delete_frame_internal): ditto.
11933 (Fmake_frame_invisible): ditto.
11934 (Ficonify_frame): ditto.
11936 * window.h: change Fset_window_buffer signature.
11938 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
11939 (Fset_window_buffer): allow recording of buffer if the window is
11940 the selected window.
11941 (window_loop): Use new Fset_window signature.
11943 2000-01-23 Daniel Pittman <daniel@danann.net>
11945 * config.h.in: Added template for `HAVE_ATHENA_3D'
11947 2000-01-29 Andy Piper <andy@xemacs.org>
11949 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
11951 * gutter.c (output_gutter): Don't output if the window isn't live.
11953 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11955 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
11956 of 01/12/00: Moved SetFocus back here where it belongs.
11958 2000-01-23 Andy Piper <andy@xemacs.org>
11960 * s/cygwin32.h: declare printer things.
11962 2000-01-26 Andy Piper <andy@xemacs.org>
11964 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
11967 2000-01-24 Andy Piper <andy@xemacs.org>
11969 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
11970 (mswindows_button_instantiate): Make sure glyph is a pixmap.
11972 * glyphs-widget.c (widget_instantiate): Avoid shadows.
11974 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
11976 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
11978 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
11979 (mswindows_output_display_block): Avoid local shadows.
11981 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
11982 (mswindows_enqueue_mouse_button_event): ditto.
11983 (mswindows_handle_gui_wm_command): remove declaration.
11985 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
11988 * console-msw.h: Avoid shadows.
11989 (mswindows_get_toolbar_button_text):
11990 (emacs_mswindows_create_stream_pair):
11991 (emacs_mswindows_delete_stream_pair):
11992 (mswindows_handle_toolbar_wm_command): declare.
11994 * device-msw.c (build_syscolor_string): Avoid shadows.
11996 2000-01-23 Andy Piper <andy@xemacs.org>
11998 * glyphs-widget.c (widget_instantiate): reverse the items for
11999 layouts so that children are in the expected order.
12001 2000-01-28 Martin Buchholz <martin@xemacs.org>
12003 * ralloc.c: safe_bcopy ==> memmove
12004 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12005 * s/msdos.h: Remove BCOPY macros.
12006 * insdel.c (gap_right): Remove BCOPY conditional code.
12007 * insdel.c (gap_left): Remove BCOPY conditional code.
12008 XEmacs demands a working ANSI C compiler - hence memmove.
12010 * regex.c (regex_compile): Remove accidental use of trigraphs.
12012 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12014 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12017 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12019 * event-msw.c (mswindows_drain_windows_queue): Added the
12021 (mswindows_need_event): Commented the call to
12022 mswindows_drain_windows_queue().
12023 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12026 * console-msw.h: Moved a few function prototypes here from
12029 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12030 parameter from unsigned short to unsigned long.
12031 (Fmswindows_shell_execute): Added return value.
12033 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12035 * sysdep.c (init_system_name):
12036 process-unix.c (unix_canonicalized_host_name):
12037 Don't call freeaddrinfo() if getaddrinfo() fails.
12039 * process-unix.c (unix_open_unix_network_stream):
12040 Moved the code to get a port # into address loop.
12042 2000-01-27 Martin Buchholz <martin@xemacs.org>
12044 * buffer.c (reinit_vars_of_buffer):
12045 The right place to initialize conversion_in_dynarr and
12046 conversion_out_dynarr.
12048 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12050 * process-unix.c (unix_canonicalize_host_name): Muleize.
12051 (unix_open_network_stream): Muleize.
12053 * buffer.h: Fix up prototypes for ralloc.c functions.
12055 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12056 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12057 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12058 instead of gethostbyname()
12059 * process-unix.c: In unix_canonicalize_host_name() and
12060 unix_open_network_stream(), add code to use getaddrinfo()
12061 instead of gethostbyname().
12063 2000-01-27 Daniel Pittman <daniel@danann.net>
12065 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12066 libs when built with flat Athena.
12068 2000-01-27 Martin Buchholz <martin@xemacs.org>
12070 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12071 Use coding standards for function prototypes.
12073 2000-01-25 Martin Buchholz <martin@xemacs.org>
12075 * dialog-msw.c (push_lisp_string_as_unicode):
12076 * doc.c (unparesseuxify_doc_string):
12077 * dired.c (Fuser_name_completion_1):
12078 * dired.c (Fuser_name_all_completions):
12079 * dired.c (free_user_cache):
12080 * dired.c (user_name_completion):
12081 * console-x.c (get_display_arg_connection):
12082 * minibuf.c (clear_echo_area_internal):
12083 * minibuf.c (echo_area_append):
12084 * eldap.c (Fldap_open):
12085 * eldap.c (Fldap_search_internal):
12086 * frame-x.c (x_set_frame_text_value):
12087 * frame-x.c (x_set_frame_properties):
12088 * frame-x.c (x_create_widgets):
12089 * redisplay-tty.c (term_get_fkeys_1):
12090 * objects-x.c (x_parse_nearest_color):
12091 * objects-x.c (x_valid_color_name_p):
12092 * objects-x.c (x_initialize_font_instance):
12093 * objects-x.c (x_list_fonts):
12094 * objects-x.c (x_find_charset_font):
12095 * tooltalk.c (Fadd_tooltalk_message_arg):
12096 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12097 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12098 * process-unix.c (unix_create_process):
12099 * ntproc.c (sys_spawnve):
12100 * sound.c (Fplay_sound_file):
12101 * sound.c (Fplay_sound):
12102 * buffer.c (init_initial_directory):
12103 * buffer.c (init_buffer):
12104 * editfns.c (init_editfns):
12105 * editfns.c (Ftemp_directory):
12106 * editfns.c (Fuser_full_name):
12107 * editfns.c (uncache_home_directory):
12108 * editfns.c (get_home_directory):
12109 * editfns.c (Fuser_home_directory):
12110 * editfns.c (Fformat_time_string):
12111 * editfns.c (Fcurrent_time_string):
12112 * gui-x.c (button_item_to_widget_value):
12113 * database.c (Fopen_database):
12114 * event-Xt.c (x_to_emacs_keysym):
12115 * event-Xt.c (x_event_to_emacs_event):
12116 * event-Xt.c (describe_event_window):
12117 * event-msw.c (mswindows_wnd_proc):
12118 * glyphs-eimage.c (jpeg_instantiate):
12119 * glyphs-eimage.c (gif_instantiate):
12120 * glyphs-eimage.c (png_instantiate):
12121 * glyphs-eimage.c (tiff_instantiate):
12122 * glyphs-x.c (xbm_instantiate_1):
12123 * glyphs-x.c (x_xbm_instantiate):
12124 * glyphs-x.c (x_xface_instantiate):
12125 * glyphs-x.c (autodetect_instantiate):
12126 * glyphs-x.c (cursor_font_instantiate):
12127 * glyphs-x.c (x_widget_instantiate):
12128 * glyphs-x.c (x_widget_set_property):
12129 * glyphs-x.c (x_widget_property):
12130 * glyphs-x.c (BUILD_GLYPH_INST):
12131 * print.c (write_string_to_stdio_stream):
12132 * print.c (output_string):
12133 * print.c (Falternate_debugging_output):
12134 * print.c (Fexternal_debugging_output):
12135 * glyphs-msw.c (extract_xpm_color_names):
12136 * glyphs-msw.c (mswindows_xpm_instantiate):
12137 * glyphs-msw.c (bmp_instantiate):
12138 * glyphs-msw.c (resource_name_to_resource):
12139 * glyphs-msw.c (mswindows_resource_instantiate):
12140 * glyphs-msw.c (xbm_instantiate_1):
12141 * glyphs-msw.c (mswindows_xbm_instantiate):
12142 * glyphs-msw.c (mswindows_xface_instantiate):
12143 * glyphs-msw.c (mswindows_widget_instantiate):
12144 * glyphs-msw.c (add_tree_item):
12145 * glyphs-msw.c (add_tab_item):
12146 * glyphs-msw.c (mswindows_combo_box_instantiate):
12147 * glyphs-msw.c (mswindows_widget_property):
12148 * glyphs-msw.c (mswindows_combo_box_property):
12149 * glyphs-msw.c (mswindows_widget_set_property):
12150 * console.c (stuff_buffered_input):
12151 * objects-msw.c (mswindows_initialize_color_instance):
12152 * objects-msw.c (mswindows_valid_color_name_p):
12153 * objects-msw.c (mswindows_list_fonts):
12154 * objects-msw.c (mswindows_font_instance_truename):
12155 * bytecode.c (optimize_compiled_function):
12156 * select-x.c (symbol_to_x_atom):
12157 * select-x.c (x_atom_to_symbol):
12158 * select-x.c (hack_motif_clipboard_selection):
12159 * select-x.c (selection_data_to_lisp_data):
12160 * select-x.c (lisp_data_to_selection_data):
12161 * select-x.c (Fx_get_cutbuffer_internal):
12162 * select-x.c (Fx_store_cutbuffer_internal):
12163 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12164 * buffer.h (TO_INTERNAL_FORMAT): New function.
12165 * emacs.c (make_arg_list_1):
12166 * emacs.c (make_argc_argv):
12167 * emacs.c (main_1):
12168 * emacs.c (Fdump_emacs):
12169 * emacs.c (split_string_by_emchar_1):
12174 * device-x.c (x_init_device):
12175 * device-x.c (Fx_valid_keysym_name_p):
12176 * device-x.c (Fx_get_font_path):
12177 * device-x.c (Fx_set_font_path):
12178 * glyphs.c (bitmap_to_lisp_data):
12179 * glyphs.c (pixmap_to_lisp_data):
12180 * alloc.c (make_ext_string): Use coding system arguments. Update
12182 * alloc.c (build_string):
12183 * callproc.c (child_setup):
12184 * callproc.c (init_callproc):
12185 * fileio.c (lisp_strerror):
12186 * fileio.c (directory_file_name):
12187 * fileio.c (Fexpand_file_name):
12188 * fileio.c (Ffile_truename):
12189 * fileio.c (Fsysnetunam):
12190 * fileio.c (Fdo_auto_save):
12191 * sysdep.c (sys_readdir):
12192 * tests.c: New file. Allow adding C tests.
12193 Replace GET_* macros with a more comprehensible and flexible
12194 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12196 Any coding system can be used to do format conversion.
12197 Eliminate enum external_data_format.
12198 Eliminate convert_to_external_format.
12199 Eliminate convert_to_internal_format.
12200 Make sure file-name, keyboard, terminal, and ctext are always
12201 defined as coding systems or aliases. Make
12202 file-name-coding-system, terminal-coding-system, and
12203 keyboard-coding-system magical variables that are equivalent to
12204 defining the corresponding coding system aliases.
12206 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12207 * file-coding.c (Fcoding_system_alias_p): New function.
12208 * file-coding.c (Fcoding_system_aliasee): New function.
12209 * file-coding.c (append_suffix_to_symbol): New function.
12210 * file-coding.c (dangling_coding_system_alias_p): New function.
12211 * file-coding.c (Ffind_coding_system):
12212 * file-coding.c (Fcopy_coding_system):
12213 * file-coding.c (encode_coding_no_conversion):
12214 * file-coding.c (syms_of_file_coding):
12215 * file-coding.c (vars_of_file_coding):
12216 Rewrite coding system alias code.
12217 Allow nested aliases, like symbolic links.
12218 Allow redefinition of coding system aliases.
12219 Prevent existence of dangling coding system aliases.
12221 * dired.c (Fuser_name_completion_1):
12222 * dired.c (Fuser_name_all_completions):
12223 A crash would happen if user did QUIT in the middle of building
12224 user_name_cache. Remove redundant code in mainline and unwind_protect.
12227 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12229 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12230 an unsigned char *. Update all callers.
12232 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12234 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12236 2000-01-25 Martin Buchholz <martin@xemacs.org>
12238 * elhash.c (hentry_description): Use more portable definition.
12239 (resize_hash_table): Initialize new hentries using
12240 xnew_array_and_zero, thereby simplifying the code.
12242 * mule-charset.c (make_charset): Make sure entire object is
12243 initialized, to avoid Purify warnings.
12245 * alloc.c (resize_string): Fix unlikely crash with big strings.
12247 2000-01-24 Martin Buchholz <martin@xemacs.org>
12249 * realpath.c (xrealpath):
12250 Don't call getwd().
12252 2000-01-25 Martin Buchholz <martin@xemacs.org>
12254 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12256 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12258 * unexelfsgi.c (unexec): Change the way we decide which segment
12259 should be extended.
12261 Assumption that .bss section should be outside the PT_LOADable
12262 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12263 it's present) is inside the 'data' segment. This would fail the
12264 test which was used to find a segment to grow and cover new
12265 heap. Instead of this assumption, I created another one - on IRIX
12266 the segment to grow should start below .bss and it's address
12267 should extent above the end of .bss. Once this segment is
12268 identified, it's grown to accommodate the new heap and new
12269 zero-length .bss section is added at the end of .data2.
12271 2000-01-25 Martin Buchholz <martin@xemacs.org>
12273 * eval.c (Feval): Wrong number of arguments should use original
12274 function, not the indirect_function version of it.
12276 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12278 * glyphs-x.c (x_button_instantiate): Don't add image if
12279 it is not a pixmap.
12280 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12283 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12285 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12287 (DEFVAR_INT_MAGIC): Ditto.
12288 (DEFVAR_BOOL_MAGIC): Ditto.
12289 * glyphs.h: Reindent backslash.
12291 2000-01-24 Martin Buchholz <martin@xemacs.org>
12293 * glyphs-widget.c (layout_query_geometry):
12294 (layout_layout): Use correct types for gheight, gwidth.
12296 2000-01-24 Martin Buchholz <martin@xemacs.org>
12298 * EmacsManager.c (QueryGeometry): Purified.
12300 2000-01-23 Martin Buchholz <martin@xemacs.org>
12302 * alloc.c (make_float): Make sure entire object is initialized, to
12303 avoid Purify warnings.
12304 (pdump_register_sub): Remove useless assignment.
12305 (pdump): Use xmalloc, not malloc.
12306 (pdump_load): Use xmalloc, not malloc.
12308 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12315 * sysdep.c: Removed redundant #include <windows.h>
12317 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12319 * frame.c (delete_frame_internal): Do not delete device when its
12320 implementation so declares.
12321 (delete_frame_internal): Set device selected frame to nil when
12322 last frame goes away.
12324 * device-msw.c (msprinter_device_system_metrics): Implemented.
12325 (mswindows_device_system_metrics): Added 'device-dpi property.
12327 * device.c: (Fdevice_printer_p): Added.
12328 Added 'offset-workspace device metric.
12330 * console.h (device_metrics): Declared DM_offset_workspace.
12332 2000-01-23 Martin Buchholz <martin@xemacs.org>
12334 * fileio.c (Ffile_truename): Remove pointless and confusing
12335 initialization of elen.
12337 * glyphs-widget.c: Compiler warning fixes.
12339 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12341 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12342 instead of a Lisp_Object as argument to make it consistent with
12343 the other LIVE_P macros.
12344 (CHECK_LIVE_PROCESS): New macro.
12346 * process.c: Declare Qprocess_live_p.
12347 (Fprocess_live_p): New function.
12348 (create_process): Use PROCESS_LIVE_P.
12349 (read_process_output): Ditto.
12350 (set_process_filter): Ditto.
12351 (Fdelete_process): Ditto.
12352 (kill_buffer_processes): Ditto
12353 (process_send_signal): Use CHECK_LIVE_PROCESS.
12354 (Fprocess_input_coding_system): Check whether process is still
12355 alive (fix PR#1061).
12356 (Fprocess_output_coding_system): Ditto.
12357 (Fprocess_coding_system): Ditto.
12358 (Fset_process_input_coding_system): Ditto.
12359 (Fset_process_output_coding_system): Ditto.
12361 2000-01-23 Andy Piper <andy@xemacs.org>
12363 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12366 * glyphs.c (mark_image_instance): take into account changed
12367 image_instance format.
12368 (image_instance_equal): ditto.
12369 (image_instance_hash): ditto.
12371 * glyphs-widget.c (widget_instantiate): Incorporate layout
12372 instantiation here. Delay layout of the layout until later.
12373 (layout_instantiate): deleted.
12374 (layout_query_geometry): new function. get the geometry of a
12376 (layout_layout): layout a layout dynamically.
12377 (image_instantiator_widget): New function - splitting up
12378 image_instantiator_format_create_glyphs_widget for netwinder
12380 (image_instantiator_buttons):
12381 (image_instantiator_edit_fields):
12382 (image_instantiator_combo_box):
12383 (image_instantiator_scrollbar):
12384 (image_instantiator_progress_guage):
12385 (image_instantiator_tree_view):
12386 (image_instantiator_tab_control):
12387 (image_instantiator_labels):
12388 (image_instantiator_layout): ditto.
12389 (image_instantiator_format_create_glyphs_widget): Call preceding
12392 2000-01-22 Martin Buchholz <martin@xemacs.org>
12394 * process.c (Fset_process_coding_system):
12395 * device-x.c (Fx_keysym_hash_table):
12398 * lstream.c (Lstream_write): Return documented value, not 0.
12400 * fileio.c (directory_file_name):
12401 (Fsubstitute_in_file_name):
12402 (Fsubstitute_insert_file_contents_internal):
12403 (Fwrite_region_internal):
12408 Remove vestigial APOLLO-conditional code.
12410 2000-01-21 Martin Buchholz <martin@xemacs.org>
12412 * getpagesize.h: Add guard macros.
12413 * libsst.h: Add guard macros.
12414 * libst.h: Add guard macros.
12415 * line-number.h: Add guard macros.
12416 * ndir.h: Add guard macros.
12417 * sysfloat.h: Add guard macros.
12418 * sysfile.h: Add guard macros.
12419 * sysproc.h: Add guard macros.
12420 * syswait.h: Add guard macros.
12421 * xintrinsic.h: Add guard macros.
12422 * xintrinsicp.h: Add guard macros.
12423 * xmmanager.h: Add guard macros.
12424 * xmmanagerp.h: Add guard macros.
12425 * xmprimitive.h: Add guard macros.
12426 * xmu.h: Add guard macros.
12427 * gpmevent.h: Add copyright statement. Add guard macros.
12428 * miscplay.h: Add guard macros.
12429 * *.h: Use consistent C-standards-approved guard macro names.
12431 * opaque.c (make_opaque): Switch parameter order.
12432 * opaque.h (make_opaque): Switch parameter order.
12433 Update all callers.
12434 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12436 * config.h.in (type_checking_assert): Added.
12437 (bufpos_checking_assert): Added.
12439 2000-01-21 Martin Buchholz <martin@xemacs.org>
12441 * alloc.c: Harmless pdump changes.
12443 - spell alignment correctly.
12444 * sysdep.c: Use countof()
12446 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12448 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12449 initially_selected_for_input() console method, default to 0.
12450 (semi_canonicalize_console_connection): Try to delegate to
12451 canonicalize_console_connection if no such console method.
12452 (canonicalize_console_connection): Vice versa.
12453 (print_console): Do not print nil connection.
12455 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12456 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12457 (XDEVIMPF_FRAMELESS_OK): Added.
12458 (CONSOLE_INHERITS_METHOD): Added.
12460 * console-msw.c (mswindows_canonicalize_console_connection):
12462 (mswindows_canonicalize_device_connection): Added.
12464 * console-msw.h (struct msprinter_device): Added this struct and
12466 (mswindows_device): Made fontlist a lisp object.
12468 * device.c (semi_canonicalize_device_connection): Try to delegate
12469 to canonicalize_device_connection if no such console method.
12470 (canonicalize_device_connection): Vice versa.
12471 (print_device): Do not print nil connection.
12473 * device-msw.c (mswindows_init_device): Call InitCommonControls
12475 (mswindows_delete_device): Removed fontlist deallocation.
12476 (mswindows_mark_device): Added.
12478 * events.c (event_equal): Added abort() at unreached code.
12479 (event_hash): Ditto.
12481 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12482 fallback tags of Windows devices.
12484 * general.c (syms_of_general): Initialized Qmsprinter.
12486 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12487 of fallback tags of Windows devices.
12489 * lisp.h: Declared Qmsprinter.
12491 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12493 (mswindows_list_fonts): Ditto.
12494 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12495 that it can be used by both mswindows and msprinter devices.
12496 (initialize_font_instance): Added.
12497 (mswindows_initialize_font_instance): Use it.
12498 (msprinter_initialize_font_instance): Added.
12500 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12501 and implementation flags check.
12502 (redisplay_without_hooks): Changed the call to the above.
12503 (Fredraw_device): Ditto.
12504 (Fredisplay_device): Ditto.
12506 * redisplay-msw.c (get_frame_dc): Implemented.
12507 (get_frame_compdc): Implemented.
12508 (many functions): Use the two functions above to get device
12509 contexts, ether for a window or a printer.
12511 2000-01-21 Olivier Galibert <galibert@pobox.com>
12513 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12514 initialization here.
12515 (init_symbols_once_early): Call it.
12516 * emacs.c (main_1): Call it.
12517 * symsinit.h: Declare it.
12519 2000-01-19 Olivier Galibert <galibert@pobox.com>
12521 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12523 (pdump_backtrace): Ditto.
12524 (pdump_register_object): Ditto. Cleanup use of the pointers.
12525 (pdump_get_entry): Abort if trying to register a null pointer.
12526 (pdump_dump_data): Cleanup types when relocating.
12527 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
12528 (pdump_dump_rtables): Remove bad casts.
12529 (pdump_load): Cleanup relocation w.r.t union type. Use a
12530 Lisp_Object instead of a EMACS_INT for the hashtable
12533 2000-01-20 Martin Buchholz <martin@xemacs.org>
12535 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
12537 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
12539 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
12541 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
12543 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12545 * faces.h (FACE_STRIKETHRU_P): Added.
12547 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
12550 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
12551 (mswindows_set_dc_font): New function, aware of font variants,
12552 separated from mswindows_update_dc.
12554 * objects-msw.h (struct mswindows_font_instance_data): Added
12557 * objects-msw.c (mswindows_finalize_font_instance): Delete all
12558 cached fonts and the data structure.
12559 (mswindows_initialize_font_instance): Added creation of font data
12561 (mswindows_print_font_instance): Print at least something.
12562 (mswindows_create_font_variant): Implemented.
12563 (mswindows_get_hfont): Implemented.
12565 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
12567 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
12568 prototyping problem with msvc.
12570 * emacs.c (main_1): added syms_of_gui_mswindows() call
12572 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
12573 syms_of_gui_mswindows() function
12575 * symsinit.h: added the prototype for syms_of_gui_mswindows()
12577 2000-01-18 Martin Buchholz <martin@xemacs.org>
12579 * XEmacs 21.2.27 is released.
12581 2000-01-18 Martin Buchholz <martin@xemacs.org>
12583 * glyphs-eimage.c (struct tiff_error_struct):
12585 (tiff_warning_func):
12586 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
12591 * unexec.c: Remove vestigial Lucid C code.
12595 * libsst.c: Ansify.
12596 Remove declarations of errno and strerror().
12598 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
12600 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
12602 2000-01-16 Martin Buchholz <martin@xemacs.org>
12604 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
12607 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12612 Change enum eol_type to eol_type_t.
12614 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12616 * gui.c (get_gui_callback): Check cons before accessing car.
12618 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12620 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
12621 (XSETSPECIFIER_TYPE): Ditto.
12623 2000-01-17 Didier Verna <didier@xemacs.org>
12625 * redisplay.c (generate_fstring_runes): compute string size in
12626 characters, not bytes.
12628 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12630 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
12632 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
12634 * print.c (print_error_message): Call print_prepare().
12636 2000-01-14 Martin Buchholz <martin@xemacs.org>
12638 * .dbxrc: Renamed from dbxrc.
12640 * events.c (event_to_character):
12641 Use `assert (foo)' instead of `if (!foo) abort()'
12643 * .gdbinit (xtype): Add documentation.
12644 * .gdbinit (check-temacs): New function.
12645 * .gdbinit (check-xemacs): New function.
12646 * dbxrc (check-xemacs): New function.
12647 * dbxrc (check-xemacs): New function.
12649 2000-01-14 Andy Piper <andy@xemacs.org>
12651 * glyphs-widget.c (widget_query_geometry): Make sure that we
12652 calculate default dimensions correctly.
12654 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12656 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
12658 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
12659 pdump_wire'd variable.
12661 * emacs.c: (main_1): Conditionalized calls to
12662 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
12664 2000-01-13 Martin Buchholz <martin@xemacs.org>
12666 * window.c (Fset_window_configuration):
12667 * sysdep.c (_start):
12668 * input-method-motif.c (res):
12669 * event-Xt.c (Xt_process_to_emacs_event):
12670 Simple compiler warning fixes.
12672 * bytecode.c (funcall_compiled_function): Use the original
12673 function symbol on the backtrace list in preference to the
12674 compiled_function object in error messages.
12676 2000-01-13 Andy Piper <andy@xemacs.org>
12678 * glyphs-x.c (update_widget_face): Make sure we update the widget
12679 background as well as foreground.
12681 2000-01-13 Andy Piper <andy@xemacs.org>
12683 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
12684 fields to subwindow.
12685 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
12686 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
12687 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12688 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12690 * glyphs-widget.c (check_valid_tab_orientation): new function.
12691 (initialize_widget_image_instance): zero orientation and
12693 (widget_instantiate): pick up orientation.
12694 (tab_control_query_geometry): return appropriate values for
12697 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
12698 appropriate creation flags for left, right and bottom tabs.
12700 * s/cygwin32.h: add tab definitions.
12702 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12704 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
12705 frame upon hiding a subwindow.
12706 (mswindows_button_instantiate): Changed the push button style to
12708 (mswindows_button_instantiate): Removed button BS_NOTIFY
12710 (mswindows_button_instantiate): Removed redundant check for
12711 a disabled gui item.
12712 (mswindows_button_instantiate): Made use of WS_TABSTOP
12713 consistent: "operable" controls (edit, button, tree, scroll) have
12714 this style, "display-only" ones (static, progress gauge) do
12715 not. This style is currently ignored by XEmacs though. Also,
12716 removed the WS_EX_CONTROLPARENT style - it is not for children,
12717 it is for their parents!
12718 (mswindows_edit_field_instantiate): Ditto.
12719 (mswindows_progress_gauge_instantiate): Ditto.
12720 (mswindows_tree_view_instantiate): Ditto.
12721 (mswindows_tab_control_instantiate): Ditto.
12722 (mswindows_scrollbar_instantiate): Ditto.
12723 (mswindows_combo_box_instantiate): Ditto.
12724 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
12725 style to the "clip" window.
12726 (mswindows_button_instantiate): Removed compilation warning by
12727 equally typing terms of the ?: operator.
12729 2000-01-12 Didier Verna <didier@xemacs.org>
12731 * redisplay.c (generate_fstring_runes): new parameter holding the
12732 last modeline-format extent.
12733 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
12734 extent, fill the glyph block with it.
12735 (generate_fstring_runes): handle these parameters.
12736 (generate_formatted_string_db): ditto.
12738 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
12739 glyphs'extents in the modeline.
12741 1999-01-11 Mike Woolley <mike@bulsara.com>
12743 * ntheap.c: Reduced the reserved heap space from 1Gb down to
12744 256Mb, as a workaround for the non-starting problem many people
12747 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12749 * console-tty.c (Fset_console_tty_output_coding_system):
12750 Force redrawing tty frame.
12752 2000-01-10 Didier Verna <didier@xemacs.org>
12754 * redisplay.c (generate_fstring_runes): fix size computation bug.
12756 2000-01-09 William M. Perry <wmperry@aventail.com>
12758 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
12760 2000-01-09 Andy Piper <andy@xemacs.org>
12762 * glyphs-msw.c: index -> i to avoid shadows.
12763 (xbm_create_bitmap_from_data): make static.
12764 (check_valid_string_or_int): deleted.
12765 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
12767 * glyphs-x.c (x_update_subwindow): remove unused args.
12769 * glyphs.c (glyph_image_instance): return the thing. Don't set the
12770 back pointer - this is done in allocate_image_instance.
12771 (query_string_font): return Qnil to make the compiler happy.
12772 (unmap_subwindow): set to ~0 to make the compiler happy.
12773 (glyph_query_geometry): comment out until used.
12774 (glyph_layout): ditto.
12776 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12778 * insdel.c (signal_after_change): Remove extraneous unbind_to().