1 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule-charset.c (charset_code_point): if a coded-charset has a
4 final-byte, don't inherit the builtin range of the mother CCS.
6 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
8 * mule-charset.c (charset_code_point): Fix problem about
11 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
13 * mule-charset.c (decode_builtin_char): Reorganized.
15 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
17 * text-coding.c (char_encode_shift_jis): Modify for
19 (char_encode_big5): Likewise.
20 (char_encode_utf8): Likewise.
21 (char_encode_iso2022): Likewise.
23 * mule-charset.c (charset_code_point): Add new argument
25 (Fencode_char): Add new optional argument `defined_only'.
27 * chartab.c (put_char_table): Modify for `charset_code_point'.
28 (map_char_table): Likewise.
30 * char-ucs.h (charset_code_point): Add new argument
32 (encode_char_1): Modify for `charset_code_point'.
34 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
36 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
37 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
39 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
41 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
42 (Qjis_x0208): Likewise.
43 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
44 XCHARSET_FINAL(charset).
45 (charset_code_point): Modify condition for final-byte based
47 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
48 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
49 in UTF-2000; specify `=jis-x0208' as the mother of
50 `japanese-jisx0208-1978', `japanese-jisx0208' and
51 `japanese-jisx0208-1990' in UTF-2000.
53 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
55 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
57 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
59 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
60 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
61 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
62 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
63 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
64 CONVERSION_96x96x96x96 are introduced.
65 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
66 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
67 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
69 * char-ucs.h (CONVERSION_94): New macro.
70 (CONVERSION_96): New macro.
71 (CONVERSION_94x94): New macro.
72 (CONVERSION_96x96): New macro.
73 (CONVERSION_94x94x94): New macro.
74 (CONVERSION_96x96x96): New macro.
75 (CONVERSION_94x94x94x60): New macro.
76 (CONVERSION_94x94x94x94): New macro.
77 (CONVERSION_96x96x96x96): New macro.
79 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
81 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
83 * fns.c (Qideographic_structure): New variable.
84 (Qkeyword_char): New variable.
85 (ids_format_unit): New function.
86 (Fideographic_structure_to_ids): New function.
87 (syms_of_fns): Add new symbols `ideographic-structure' and
88 `:char'; add new builtin function `ideographic-structure-to-ids'.
90 * data.c (Fchar_ref_p): New function.
91 (syms_of_data): Add new builtin function `char-ref-p'.
93 * chartab.h: Add an EXFUN for `Ffind_char'.
95 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
97 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
98 and `COMPOSE_ADD_CHAR'.
99 (decode_coding_iso2022): Use `decode_flush_er_chars'.
101 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
103 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
104 instead of `DECODE_ADD_UCS_CHAR'.
105 (COMPOSE_ADD_CHAR): Likewise.
107 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
109 * text-coding.c (decode_flush_er_chars): New inline function.
110 (decode_add_er_char): New function.
111 (decode_coding_utf8): Use `decode_flush_er_chars' and
112 `decode_add_er_char'.
114 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
116 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
117 done before `decode_output_utf8_partial_char'.
119 * mule-charset.c (complex_vars_of_mule_charset): Specify
120 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
121 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
123 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
125 * mule-charset.c (decode_defined_char): New function; search
127 (decode_builtin_char): Don't search mother if
128 XCHARSET_MAX_CODE(charset) == 0.
129 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
130 == 0 even if code >= XCHARSET_MAX_CODE(charset).
131 (Fdecode_char): Use `decode_defined_char' instead of
132 `DECODE_DEFINED_CHAR'.
133 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
134 mother of `Vcharset_ucs_jis'.
136 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
137 instead of `DECODE_DEFINED_CHAR'.
139 * char-ucs.h (decode_defined_char): Renamed from
140 `DECODE_DEFINED_CHAR'; changed to normal function.
141 (DECODE_CHAR): Use `decode_defined_char' instead of
142 `DECODE_DEFINED_CHAR'.
144 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
146 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
148 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
150 * text-coding.c (Vcoded_charset_entity_reference_alist): New
152 (Quse_entity_reference): New variable.
156 (coding_system_description): Add description for
158 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
159 (allocate_coding_system): Initialize `ccs_priority_list' in
161 (Fmake_coding_system): Add description about
162 'use-entity-reference; setup
163 CODING_SYSTEM_USE_ENTITY_REFERENCE(codesys).
164 (Fcoding_system_property): Accept `disable-composition' and
165 `use-entity-reference' in UTF-2000.
166 (struct decoding_stream): Add new member `er_counter' and `er_buf'
168 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
169 (decode_coding_utf8): Decode entity-reference if
170 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
171 (char_encode_utf8): Encode non-Unicode characters as
172 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
174 (syms_of_file_coding): Add new symbols `use-entity-reference',
176 (vars_of_file_coding): Add new variable
177 `coded-charset-entity-reference-alist'.
178 (complex_vars_of_file_coding): Declare `disable-composition' and
179 `use-entity-reference' to be coding-system-properties in UTF-2000.
181 * file-coding.h (struct Lisp_Coding_System): Add new member
182 `use_entity_reference' and `ccs_priority_list'.
183 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
184 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
185 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
187 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
189 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
191 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
193 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
194 `XCHARSET_GRAPHIC(ccs)'.
196 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
198 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
201 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
203 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
204 instead of `XCHARSET_CHARS'.
206 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
208 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
209 (XCHARSET_BYTE_SIZE): Likewise.
211 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
213 (XCHARSET_BYTE_SIZE): Likewise.
215 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
217 * char-ucs.h (decoding_table_check_elements): Delete prototype.
218 (get_ccs_octet_table): New inline function.
219 (put_ccs_octet_table): Likewise.
220 (decoding_table_put_char): Use `get_ccs_octet_table' and
221 `put_ccs_octet_table'.
222 (decoding_table_remove_char): Use `decoding_table_put_char'.
223 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
225 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
227 (make_charset): Use Qunbound instead Qnil as initial value of
230 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
232 * mule-charset.c (put_char_ccs_code_point): Modify for
233 `decoding_table_remove_char' and `decoding_table_put_char'.
234 (remove_char_ccs): Modify for `decoding_table_remove_char'.
236 * char-ucs.h (decoding_table_remove_char): Change arguments to
237 hide decoding_table vector.
238 (decoding_table_put_char): Likewise.
240 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
242 * mule-charset.c (decoding_table_remove_char): Moved to
244 (decoding_table_put_char): Likewise.
246 * char-ucs.h (decoding_table_check_elements): New prototype [moved
247 from mule-charset.c].
248 (decoding_table_remove_char): New inline function [moved from
250 (decoding_table_put_char): Likewise.
252 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
254 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
255 instead of `DECODE_CHAR' for mother; don't use special code for
256 chinese-big5 to use code space of chinese-big5-1 and
258 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
259 `MAX_CHAR_BIG5_CDP' for chinese-big5.
261 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
262 (MAX_CHAR_BIG5_CDP): Revival.
264 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
266 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
267 the XLFD registry-encoding name of `chinese-big5'.
269 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
271 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
272 (Qchinese_big5_cdp): Deleted.
273 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
274 (complex_vars_of_mule_charset): Delete coded-charset
277 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
278 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
279 `CHARSET_ID_OFFSET - n' for private CCS.
280 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
281 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
282 of `MIN_LEADING_BYTE'.
283 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
284 `(CHARSET_ID_OFFSET - 97)'.
285 (MIN_CHAR_BIG5_CDP): Deleted.
286 (MAX_CHAR_BIG5_CDP): Deleted.
288 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
290 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
293 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
295 * mule-charset.c (decode_builtin_char): Support mother charsets.
297 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
299 * mule-charset.c (Q94x94x60): New variable.
300 (charset_code_point): Support conversion `94x94x60'.
301 (Fmake_charset): Likewise.
302 (syms_of_mule_charset): Add new symbol `94x94x60'.
304 * char-ucs.h (CONVERSION_94x94x60): New macro.
306 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
308 * mule-charset.c (charset_code_point): Unify code about
311 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
313 * mule-charset.c (charset_code_point): Merge code about builtin
314 characters into code about mother charsets; don't use
315 `range_charset_code_point'.
316 (range_charset_code_point): Deleted.
318 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
320 * mule-charset.c (Qcode_offset): New variable.
321 (Fmake_charset): Use `XUINT' to get value of `min-code' and
322 `max-code'; accept new property `code-offset'.
323 (syms_of_mule_charset): Add new symbol `code-offset'.
325 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
327 * mule-charset.c (range_charset_code_point): Fixed.
329 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
331 * mule-charset.c (decode_builtin_char): Change semantics of
332 code-offset of coded-charset.
333 (charset_code_point): Likewise.
334 (range_charset_code_point): Likewise.
335 (complex_vars_of_mule_charset): Modify for the change.
337 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
339 * mule-charset.c (Fencode_char): Reverse arguments.
341 * mule-charset.c (charset_code_point): Fixed.
343 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
345 * mule-charset.c (Vcharset_mojikyo): Deleted.
346 (Vcharset_mojikyo_2022_1): Deleted.
347 (Vcharset_mojikyo_pj_{1..21}): Deleted.
348 (Qmin_code): New variable in UTF-2000.
349 (Qmax_code): Likewise.
351 (Qconversion): Likewise.
354 (Qmojikyo_2022_1): Deleted.
355 (Qmojikyo_pj_{1..22}): Deleted.
356 (mark_charset): Mark `cs->mother'.
357 (charset_description): Add description for `mother'.
358 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
359 new arguments `mother' and `conversion'; use
360 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
361 (charset_code_point): Moved from char-ucs.h; support `mother'
363 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
364 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
365 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
366 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
367 allow 2 as the value of `graphic' in UTF-2000; add new properties
368 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
369 require `final' in UTF-2000; modify for `make_charset'.
370 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
371 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
372 (Fcharset_property): Support `mother', `min-code' and `max-code'.
373 (Fencode_char): New function.
374 (syms_of_mule_charset): Add new builtin function `encode-char' in
375 UTF-2000; add new symbols `min-code', `max-code', `mother',
376 `conversion' and `94x60'; delete symbols `mojikyo',
377 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
378 (complex_vars_of_mule_charset): Modify for `make_charset' change;
379 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
380 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
382 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
383 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
385 * char-ucs.h (Vcharset_mojikyo): Deleted.
386 (Vcharset_mojikyo_2022_1): Deleted.
387 (LEADING_BYTE_MOJIKYO): Deleted.
388 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
389 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
390 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
391 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
392 add new member `mother'; add new member `conversion'.
393 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
394 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
395 (CHARSET_MOTHER): New macro.
396 (CHARSET_CONVERSION): New macro.
397 (CONVERSION_IDENTICAL): New macro.
398 (CONVERSION_94x60): New macro.
399 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
400 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
401 (XCHARSET_MOTHER): New macro.
402 (XCHARSET_CONVERSION): New macro.
403 (MIN_CHAR_MOJIKYO): Deleted.
404 (MAX_CHAR_MOJIKYO): Deleted.
405 (DECODE_MOJIKYO_2022): Deleted.
406 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
407 (charset_code_point): Changed to non-inline function.
408 (encode_char_1): Use `charset_code_point'.
409 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
411 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
413 * lread.c (read_compiled_function): Fix prototype.
414 (read_vector): Likewise.
416 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
418 * lrecord.h (struct lrecord_header): Delete `older'.
419 (set_lheader_implementation): Delete code for `older'.
420 (set_lheader_older_implementation): Deleted.
421 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
422 (OLDER_RECORD_P): Deleted.
423 (OLDER_RECORD_HEADER_P): Deleted.
424 (alloc_older_lcrecord): Deleted.
425 (alloc_older_lcrecord_type): Deleted.
427 * alloc.c (all_older_lcrecords): Deleted.
428 (alloc_older_lcrecord): Deleted.
429 (disksave_object_finalization_1): Delete code for older objects.
430 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
431 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
433 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
435 * mule-charset.c (decoding_table_put_char): Use `make_vector'
436 instead of `make_older_vector'.
437 (put_char_ccs_code_point): Likewise.
438 (mark_charset): Mark `cs->decoding_table'.
439 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
441 * lisp.h (make_older_vector): Deleted.
442 (make_vector_newer): Deleted.
444 * config.h.in (HAVE_GGC): Deleted.
446 * alloc.c (make_older_vector): Deleted.
447 (make_vector_newer_1): Deleted.
448 (make_vector_newer): Deleted.
450 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
452 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
453 (Qideograph_daikanwa_2): New variable.
454 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
455 (complex_vars_of_mule_charset): Add new coded-charset
456 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
457 `LEADING_BYTE_DAIKANWA'.
459 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
460 (LEADING_BYTE_DAIKANWA_1): New macro.
461 (LEADING_BYTE_DAIKANWA_2): New macro.
462 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
464 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
466 * mule-charset.c (complex_vars_of_mule_charset): Change
467 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
468 the second revised version.
470 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
472 * mule-charset.c (Vcharset_ucs_smp): New variable.
473 (Vcharset_ucs_sip): New variable.
474 (Qucs_smp): New variable.
475 (Qucs_sip): New variable.
476 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
477 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
478 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
479 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
480 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
481 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
483 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
484 (LEADING_BYTE_UCS_SIP): New macro.
485 (MIN_CHAR_SMP): New macro.
486 (MAX_CHAR_SMP): New macro.
487 (MIN_CHAR_SIP): New macro.
488 (MAX_CHAR_SIP): New macro.
490 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
492 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
495 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
497 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
498 value; don't store value into `encoding_table' of `Lisp_Charset'.
499 (mark_charset): `encoding_table' was deleted.
500 (charset_description): Likewise.
501 (make_charset): Likewise.
502 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
503 `put_char_ccs_code_point'.
505 * chartab.h (Fput_char_attribute): New EXFUN.
507 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
508 is unified with normal symbol space.
509 (Fget_char_attribute): Likewise.
510 (Fput_char_attribute): Likewise; behavior of
511 `put_char_ccs_code_point' is changed.
513 * char-ucs.h: Include "elhash.h".
514 (Vchar_attribute_hash_table): New external variable.
515 (struct Lisp_Charset): Delete `encoding_table'.
516 (CHARSET_ENCODING_TABLE): New implementation; refer
517 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
520 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
522 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
525 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
527 * text-coding.c (char_encode_big5): Prefer charset-g1 than
530 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
532 * chartab.c (uint8_byte_table_description): New constant.
533 (uint8-byte-table): Use `uint8_byte_table_description'.
534 (uint16_byte_table_description): New constant.
535 (uint16-byte-table): Use `uint16_byte_table_description'.
537 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
539 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
540 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
542 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
544 * mule-charset.c (Vcharset_ucs_ks): New variable.
545 (Qucs_ks): New variable.
546 (syms_of_mule_charset): Add new symbol `ucs-ks'.
547 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
549 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
551 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
553 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
554 (Fdecode_char): Likewise.
556 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
558 (Fdefine_char): Modify for Fdecode_char.
559 (Ffind_char): Likewise.
561 * mule-charset.c (Fdecode_char): Add new optional argument
563 (Fdecode_builtin_char): Modify for `Fdecode_char'.
565 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
567 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
568 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
569 (allocate_coding_system): Initialize initial-charsets of
570 CODESYS_BIG5 in XEmacs UTF-2000.
571 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
572 CODESYS_BIG5 in XEmacs UTF-2000.
573 (decode_coding_big5): Use initial-charset-g0 and -g1 of
574 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
576 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
578 (Qideograph_hanziku_{1 .. 12}): Likewise.
579 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
581 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
582 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
583 `ideograph-hanziku-{1 .. 12}'.
585 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
586 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
587 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
588 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
589 (DECODE_DEFINED_CHAR): New inline function.
590 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
592 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
594 * mule-charset.c (Vcharset_china3_jef): Renamed from
595 `Vcharset_japanese_jef_china3'.
596 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
597 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
598 `{MIN|MAX}_CHAR_JEF_CHINA3'..
599 (syms_of_mule_charset): Rename `china3-jef' from
600 `japanese-jef-china3'.
601 (complex_vars_of_mule_charset): Likewise; rename
602 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
604 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
605 `LEADING_BYTE_JEF_CHINA3'.
606 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
607 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
609 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
611 * mule-charset.c (encode_builtin_char_1): Comment out special code
612 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
614 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
615 (MAX_CHAR_MOJIKYO_0): Comment out.
616 (MIN_CHAR_CBETA): Changed to 0x00E20000.
617 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
618 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
619 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
621 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
623 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
624 (Qideograph_cbeta): New variable.
625 (encode_builtin_char_1): Comment out special code for
626 coded-charset `mojikyo' and `japanese-jef-china3'.
627 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
628 (complex_vars_of_mule_charset): Add new coded-charset
631 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
632 (MIN_CHAR_CBETA): New macro.
633 (MAX_CHAR_CBETA): New macro.
635 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
637 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
638 (LEADING_BYTE_JEF_CHINA3): New macro.
639 (MIN_CHAR_JEF_CHINA3): New macro.
640 (MAX_CHAR_JEF_CHINA3): Likewise.
641 (DECODE_CHAR): Fixed.
643 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
645 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
646 (Qjapanese_jef_china3): New variable.
647 (encode_builtin_char_1): Support `japanese-jef-china3'.
648 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
649 (complex_vars_of_mule_charset): Add new coded-charset
650 `japanese-jef-china3'.
652 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
654 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
655 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
656 94^4, 96^3, 96^4, 128^n and 256^n set.
657 (put_char_table): Use `XCHARSET_CELL_RANGE'.
658 (map_char_table): Likewise.
660 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
662 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
665 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
667 * chartab.h (get_char_id_table): New inline function.
669 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
672 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
674 * chartab.h (decode_char_table_range): New prototype in XEmacs
676 (put_char_id_table): New inline function in XEmacs UTF-2000.
678 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
680 (decode_char_table_range): Delete static declaration in XEmacs
683 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
685 * chartab.c (put_char_id_table): Use `put_char_table'.
687 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
689 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
690 (map_over_uint16_byte_table): Likewise.
691 (map_over_byte_table): Likewise.
692 (map_char_table): Modify for `map_over_uint8_byte_table',
693 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
696 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
698 * chartab.c (struct map_char_table_for_charset_arg): New
700 (map_char_table_for_charset_fun): New function.
701 (map_char_table): Use `map_char_table' for encoding_table of
704 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
706 * chartab.c (map_char_table): Check a character is found in
707 range->charset instead of non default value is defined in
708 char-table when range is CHARTAB_RANGE_ROW.
710 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
712 * chartab.c (map_char_id_table): Deleted.
713 (Fmap_char_attribute): Use `map_char_table' instead of
716 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
718 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
720 (update_syntax_table): Deleted in XEmacs UTF-2000.
722 * syntax.c (find_defun_start): Use `syntax_table' instead of
723 `mirror_syntax_table' in XEmacs UTF-2000.
724 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
726 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
728 (Fmatching_paren): Likewise.
729 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
731 (find_start_of_comment): Likewise.
732 (find_end_of_comment): Likewise.
733 (Fforward_comment): Likewise.
734 (scan_lists): Likewise.
735 (char_quoted): Likewise.
736 (Fbackward_prefix_chars): Likewise.
737 (scan_sexps_forward): Likewise.
738 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
739 (update_syntax_table): Likewise.
741 * search.c (skip_chars): Use `syntax_table' instead of
742 `mirror_syntax_table' in XEmacs UTF-2000.
744 (Freplace_match): Likewise.
746 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
747 `mirror_syntax_table' in XEmacs UTF-2000.
748 (WORDCHAR_P_UNSAFE): Likewise.
749 (re_match_2_internal): Likewise.
751 * font-lock.c (find_context): Use `buf->syntax_table' instead of
752 `buf->mirror_syntax_table' in XEmacs UTF-2000.
754 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
755 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
757 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
760 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
762 (print_char_table): Print `default_value' in XEmacs UTF-2000.
763 (char_table_description): Delete `mirror_table' in XEmacs
765 (fill_char_table): Don't call `update_syntax_table' in XEmacs
767 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
768 (Fcopy_char_table): Likewise.
769 (put_char_table): Don't call `update_syntax_table' in XEmacs
772 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
773 `buf->mirror_syntax_table' in XEmacs UTF-2000.
774 (casify_region_internal): Likewise.
776 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
778 * buffer.c (common_init_complex_vars_of_buffer): Don't use
779 `mirror_syntax_table' in XEmacs UTF-2000.
781 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
782 `buf->mirror_syntax_table' in XEmacs UTF-2000.
783 (Fexpand_abbrev): Likewise.
785 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
787 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
789 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
791 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
792 (map_over_uint16_byte_table): Likewise.
793 (map_over_byte_table): Likewise.
794 (get_char_id_table): Refer `cit->default_value'.
795 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
796 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
797 of character-id ranges.
798 (mark_char_table): Mark `ct->default_value'.
799 (char_table_description): Add `default_value'.
800 (fill_char_table): Use `default_value'.
801 (decode_char_table_range): Decode `nil' as
802 `CHARTAB_RANGE_DEFAULT'.
803 (get_char_id_table): Refer `cit->default_value'.
804 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
805 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
806 temporary hack; check value of char-table is bound or not.
807 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
809 * chartab.h (struct Lisp_Char_Table): Add new member
810 `default_value' in XEmacs UTF-2000.
811 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
812 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
815 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
817 * chartab.h (Lisp_Char_ID_Table): Deleted.
819 * chartab.c (char_table_description): Fix typo.
820 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
821 `Lisp_Char_ID_Table'.
823 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
825 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
828 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
831 * chartab.h (XCHAR_ID_TABLE): Deleted.
832 (XSETCHAR_ID_TABLE): Deleted.
833 (CHAR_ID_TABLE_P): Deleted.
835 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
837 (Fget_composite_char): Likewise.
838 (put_char_table): Likewise.
839 (add_char_attribute_alist_mapper): Fixed.
840 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
842 (Fget_char_attribute): Likewise.
843 (Fget_char_attribute): Likewise.
844 (Fmap_char_attribute): Likewise.
846 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
848 (encode_char_1): Likewise.
850 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
852 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
855 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
856 instead of `XCHAR_ID_TABLE'.
857 (remove_char_ccs): Likewise.
859 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
861 (Fget_composite_char): Likewise.
862 (Fchar_variants): Likewise.
863 (put_char_table): Likewise.
864 (add_char_attribute_alist_mapper): Likewise.
865 (Fchar_attribute_alist): Likewise.
866 (Fget_char_attribute): Likewise.
867 (Fput_char_attribute): Likewise.
868 (Fmap_char_attribute): Likewise.
869 (Fmap_char_attribute): Likewise.
871 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
873 (encode_char_1): Likewise.
875 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
877 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
878 `Lisp_Char_ID_Table'.
879 (mark_char_id_table): Deleted.
880 (print_char_id_table): Likewise.
881 (char_id_table_equal): Likewise.
882 (char_id_table_hash): Likewise.
883 (char_id_table_description): Likewise.
884 (char_id_table): Likewise.
885 (make_char_id_table): Use `Fmake_char_table' and
887 (get_char_id_table): Use `Lisp_Char_Table' instead of
888 `Lisp_Char_ID_Table'.
889 (put_char_id_table): Likewise.
890 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
892 (Fremove_char_attribute): Likewise.
893 (syms_of_chartab): Don't define type `char-id-table'.
895 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
896 (char_id_table): Likewise.
897 (GC_CHAR_ID_TABLE_P): Likewise.
898 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
899 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
900 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
901 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
902 (get_char_id_table): Use `Lisp_Char_Table' instead of
903 `Lisp_Char_ID_Table'.
904 (put_char_id_table_0): Likewise.
905 (put_char_id_table): Likewise.
907 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
909 * chartab.h: Lisp_Byte_Table related codes are moved from
912 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
914 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
916 * chartab.h: Don't include "chartab.h".
917 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
918 (Lisp_Char_ID_Table): Likewise.
919 (char_id_table): Likewise.
920 (XCHAR_ID_TABLE): Likewise.
921 (XSETCHAR_ID_TABLE): Likewise.
922 (CHAR_ID_TABLE_P): Likewise.
923 (GC_CHAR_ID_TABLE_P): Likewise.
924 (get_char_id_table): Likewise.
926 * char-ucs.h: Include "chartab.h".
927 (struct Lisp_Char_ID_Table): Moved to chartab.h.
928 (Lisp_Char_ID_Table): Likewise.
929 (char_id_table): Likewise.
930 (XCHAR_ID_TABLE): Likewise.
931 (XSETCHAR_ID_TABLE): Likewise.
932 (CHAR_ID_TABLE_P): Likewise.
933 (GC_CHAR_ID_TABLE_P): Likewise.
934 (get_char_id_table): Likewise.
936 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
938 * chartab.c (copy_uint8_byte_table): New function.
939 (copy_uint16_byte_table): New function.
940 (copy_byte_table): New function.
941 (map_over_uint8_byte_table): Modify to avoid huge numbers of
943 (map_over_uint16_byte_table): Likewise.
944 (map_over_byte_table): Likewise.
945 (get_byte_table): Move prototype to chartab.h.
946 (put_byte_table): Likewise.
947 (put_char_id_table_0): Moved to chartab.h.
948 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
949 (char_table_entry_equal): Likewise.
950 (char_table_entry_hash): Likewise.
951 (char_table_entry_description): Likewise.
952 (char_table_entry): Likewise.
953 (make_char_table_entry): Likewise.
954 (copy_char_table_entry): Likewise.
955 (get_non_ascii_char_table_value): Likewise.
956 (map_over_charset_ascii): Likewise.
957 (map_over_charset_control_1): Likewise.
958 (map_over_charset_row): Likewise.
959 (map_over_other_charset): Likewise.
960 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
961 (print_char_table): Likewise.
962 (char_table_equal): Likewise.
963 (char_table_hash): Likewise.
964 (char_table_description): Likewise.
965 (fill_char_table): Likewise.
966 (Fcopy_char_table): Likewise.
967 (get_char_table): Likewise.
968 (Fget_range_char_table): Likewise.
969 (put_char_table): Likewise.
970 (map_char_table): Likewise.
971 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
974 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
976 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
977 `Vauto_fill_chars' in XEmacs UTF-2000.
979 * chartab.h (get_byte_table): New prototype [moved from
981 (put_byte_table): Likewise [moved from chartab.c].
982 (put_char_id_table_0): New inline function [moved from chartab.c].
983 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
984 (Lisp_Char_Table_Entry): Likewise.
985 (char_table_entry): Likewise.
986 (XCHAR_TABLE_ENTRY): Likewise.
987 (XSETCHAR_TABLE_ENTRY): Likewise.
988 (CHAR_TABLE_ENTRYP): Likewise.
989 (CHECK_CHAR_TABLE_ENTRY): Likewise.
990 (NUM_ASCII_CHARS): Likewise.
991 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
992 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
994 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
996 * chartab.c (get_char_id_table): Change interface.
997 (put_char_id_table_0): New function.
998 (put_char_id_table): Change interface; new implementation.
999 (Fget_composite_char): Modify for interface change of
1000 `get_char_id_table'.
1001 (Fchar_variants): Likewise.
1002 (add_char_attribute_alist_mapper): Likewise.
1003 (Fchar_attribute_alist): Likewise.
1004 (Fget_char_attribute): Likewise.
1005 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1006 as same as character as the first argument like `put-char-table';
1007 modify for interface change of `put_char_id_table'.
1008 (Fremove_char_attribute): Modify for interface change of
1009 `put_char_id_table'.
1011 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1013 * text-coding.c: Sync up with XEmacs 21.2.41.
1014 (COMPOSE_ADD_CHAR): Modify for interface change of
1015 `get_char_id_table'.
1017 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1018 change of `put_char_id_table'.
1019 (remove_char_ccs): Likewise.
1021 * chartab.h (put_char_id_table): Change interface.
1023 * char-ucs.h (get_char_id_table): Change interface.
1024 (charset_code_point): Modify for interface change of
1025 `get_char_id_table'.
1026 (encode_char_1): Likewise.
1028 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1030 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1032 (map_over_uint16_byte_table): Likewise.
1033 (map_over_byte_table): Likewise.
1034 (map_char_id_table): Add new argument `range' like
1036 (Fmap_char_attribute): Add new argument `range' like
1039 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1041 * chartab.c (map_over_uint8_byte_table): Change interface of
1042 mapping function to use struct chartab_range instead of Emchar.
1043 (map_over_uint16_byte_table): Likewise.
1044 (map_over_byte_table): Likewise.
1045 (map_char_id_table): Likewise.
1046 (struct slow_map_char_id_table_arg): Deleted.
1047 (slow_map_char_id_table_fun): Deleted.
1048 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1049 function `slow_map_char_table_fun' instead of struct
1050 `slow_map_char_id_table_arg' and function
1051 `slow_map_char_id_table_fun'.
1053 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1055 * mule-charset.c: Move char-it-table related codes to chartab.c.
1056 (Vutf_2000_version): Moved to chartab.c.
1057 (Fdefine_char): Likewise.
1058 (Ffind_char): Likewise.
1059 (syms_of_mule_charset): Move types `uint8-byte-table',
1060 `uint16-byte-table', `byte-table' and `char-id-table' to
1061 chartab.c; move functions `char_attribute_list,
1062 `find_char_attribute_table, `char_attribute_alist,
1063 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1064 `map_char_attribute, `define_char, `find_char, `char_variants and
1065 `get_composite_char to chartab.c; move symbols `=>ucs',
1066 `->decomposition', `compat', `isolated', `initial', `medial',
1067 `final', `vertical', `noBreak', `fraction', `super', `sub',
1068 `circle', `square', `wide', `narrow', `small' and `font' to
1070 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1071 setting codes for `Vcharacter_composition_table' and
1072 `Vcharacter_variant_table' to chartab.c.
1073 (complex_vars_of_mule_charset): Move setting code for
1074 `Vchar_attribute_hash_table' to chartab.c.
1076 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1077 (make_char_id_table): New prototype.
1078 (put_char_id_table): Likewise.
1079 (Fget_char_attribute): Likewise.
1081 * chartab.c: Move char-id-table related code from mule-charset.c.
1082 (Vutf_2000_version): Moved from mule-charset.c.
1084 * char-ucs.h (Qucs): New external variable.
1085 (put_char_ccs_code_point): New prototype.
1086 (remove_char_ccs): Likewise.
1088 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1090 * mule-charset.c (Vcharset_ucs_jis): New variable.
1091 (Qucs_jis): Likewise.
1092 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1093 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1095 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1097 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1099 * mule-charset.c (map_over_uint8_byte_table): New function.
1100 (map_over_uint16_byte_table): Likewise.
1101 (map_over_byte_table): Likewise.
1102 (map_char_id_table): Likewise.
1103 (slow_map_char_id_table_fun): Likewise.
1104 (Fmap_char_attribute): Likewise.
1105 (syms_of_mule_charset): Add new function `map-char-attribute'.
1107 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1109 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1110 (syms_of_mule_charset): Add new function `find-char'.
1112 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1114 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1116 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1117 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1119 (complex_vars_of_mule_charset): Add new coded-charset
1120 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1121 `ideograph-gt-pj-*'.
1123 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1125 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1127 * mule-charset.c (encode_builtin_char_1): Purge codes about
1128 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1129 {MIN|MAX}_CHAR_HEBREW.
1130 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1131 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1133 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1134 (MAX_CHAR_GREEK): Purged.
1135 (MIN_CHAR_CYRILLIC): Purged.
1136 (MAX_CHAR_CYRILLIC): Purged.
1137 (MIN_CHAR_HEBREW): Commented out.
1138 (MAX_CHAR_HEBREW): Likewise.
1140 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1142 * mule-charset.c (Qto_ucs): New variable.
1143 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1144 (Fdefine_char): Likewise.
1145 (syms_of_mule_charset): Add new symbol `=>ucs'.
1147 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1149 * mule-charset.c (Fdecode_char): Fixed.
1151 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1153 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1154 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1157 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1159 * mule-charset.c (Vcharset_ucs_big5): New variable.
1160 (Qucs_big5): Likewise.
1161 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1162 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1164 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1166 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1168 * mule-charset.c (decode_builtin_char): Check Big5 code range
1169 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1171 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1173 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1174 (Qchinese_gb12345): Likewise.
1175 (Fdecode_builtin_char): Fixed.
1176 (syms_of_mule_charset): Add `chinese-gb12345'.
1177 (complex_vars_of_mule_charset): Add coded-charset
1180 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1181 (LEADING_BYTE_CHINESE_GB12345): New macro.
1183 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1185 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1186 and `latin-viscii-upper' for `latin-viscii'.
1188 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1190 * mule-charset.c (Fdecode_builtin_char): Comment out
1191 regularization code for ISO-IR GR representation.
1193 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1195 * mule-charset.c (decode_builtin_char): New function; renamed from
1196 `make_builtin_char'; return -1 instead of signal.
1197 (Fdecode_builtin_char): Use `decode_builtin_char'.
1199 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1200 `make_builtin_char'.
1201 (DECODE_CHAR): Use `decode_builtin_char' instead of
1202 `make_builtin_char'; use mapping table of `chinese-big5' for
1203 `chinese-big5-{1,2}'.
1205 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1207 * text-coding.c (char_encode_big5): New function.
1208 (char_finish_big5): Likewise.
1209 (reset_encoding_stream): Use `char_encode_big5' and
1210 `char_finish_big5' for CODESYS_BIG5.
1211 (mule_encode): Don't use `encode_coding_big5'.
1212 (encode_coding_big5): Deleted.
1214 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1216 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1217 0x81- in XEmacs UTF-2000.
1218 (detect_coding_big5): Likewise.
1220 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1222 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1223 generate character-id if the CCS property does not have
1224 corresponding predefined character.
1225 (make_builtin_char): Return -1 if corresponding predefined
1226 character is not found.
1227 (Fdecode_char): Return nil if corresponding character is not
1229 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1230 don't map to builtin ucs space.
1232 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1234 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1235 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1237 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1239 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1240 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1241 (Qideograph_gt): Likewise.
1242 (Qideograph_gt_pj_{1..11}): Likewise.
1243 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1244 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1245 `ideograph-gt-pj-11'.
1246 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1247 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1248 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1250 * char-ucs.h (LEADING_BYTE_GT): New macro.
1251 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1252 (MIN_CHAR_GT): Likewise.
1253 (MAX_CHAR_GT): Likewise.
1255 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1257 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1258 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1260 * doprnt.c (unsigned_int_converters): Add `c'.
1261 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1263 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1264 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1266 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1267 (MAX_CHAR_MOJIKYO_0): New macro.
1268 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1270 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1272 * mule-charset.c (Fdefine_char): Delete cemented out code.
1273 (encode_builtin_char_1): Modify for new allocation of builtin
1276 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1278 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1280 * mule-charset.c (Vcharset_ucs_cns): New variable.
1281 (Qucs_cns): New variable.
1282 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1283 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1285 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1287 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1289 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1291 * search.c (search_buffer): Make `charset_base_code' as
1292 character-id >> 6 to eliminate the corresponding last byte in
1293 UTF-8 representation [I'm not sure it is right thing].
1294 (boyer_moore): Likewise.
1296 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1298 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1299 representation in MULE.
1301 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1303 * text-coding.c (Fmake_coding_system): Use
1304 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1305 `EXTERNAL_PROPERTY_LIST_LOOP'.
1307 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1309 * text-coding.c (decode_output_utf8_partial_char): New function.
1310 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1312 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1314 * text-coding.c (decode_coding_utf8): Output original byte
1315 sequence if it is broken; change order of conditions.
1317 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1320 * mb-multibyte.h (BYTE_ASCII_P):
1321 Use bit ops for char-signedness safety.
1322 (BYTE_C0_P): Use bit ops for char-signedness safety.
1323 (BYTE_C1_P): Use bit ops for char-signedness safety.
1325 * character.h: (XCHAR_OR_CHAR_INT):
1326 Always use inline function.
1327 Remove redundant type checking assert() - XINT will abort quite
1330 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1332 * text-coding.c: (Fencode_shift_jis_char):
1333 (Fencode_big5_char):
1334 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1335 Replace 0 with '\0' when working with bytes.
1336 Replace initial "(" with "\(" in docstrings.
1338 (Fmake_coding_system):
1339 When type is ccl and value is vector, register it with a proper
1340 symbol. And checks whether the given ccl program is valid.
1341 (mule_decode): When calling ccl_driver, if src indicates
1342 NULL pointer, set an empty string instead.
1343 (mule_encode): Likewise.
1346 (detect_coding_sjis):
1347 (decode_coding_sjis):
1348 (detect_coding_big5):
1349 (decode_coding_big5):
1350 (detect_coding_ucs4):
1351 (decode_coding_ucs4):
1352 (detect_coding_utf8):
1353 (decode_coding_utf8):
1354 (detect_coding_iso2022):
1355 (decode_coding_iso2022):
1356 (decode_coding_no_conversion):
1358 Make all detecting and decoding functions take an Extbyte * arg.
1359 (text_encode_generic):
1360 (encode_coding_big5):
1361 (encode_coding_no_conversion):
1363 Make all encoding functions take a Bufbyte * arg.
1364 Use size_t instead of unsigned int for memory sizes.
1365 Only cast to unsigned char whenever dereferencing Extbyte *.
1367 (struct lrecord_description fcd_description_1): Use countof.
1368 (complex_vars_of_file_coding):
1369 Use countof instead of sizeof.
1370 Use CHECK_NATNUM instead of CHECK_INT.
1372 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1374 * mule-charset.c (Fget_char_attribute): Add new optional argument
1376 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1377 (remove_char_ccs): Likewise.
1379 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1381 * text-coding.c (char_encode_shift_jis): New implementation in
1383 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1386 * mule-charset.c (Vcharset_chinese_big5): New variable in
1388 (Qchinese_big5): New variable in UTF-2000.
1389 (BIG5_SAME_ROW): New macro in UTF-2000.
1390 (make_builtin_char): Use builtin characters of
1391 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1392 characters of `Vcharset_chinese_big5'.
1393 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1394 (complex_vars_of_mule_charset): Add new coded-charset
1395 `chinese-big5' in UTF-2000.
1397 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1398 (Vcharset_chinese_big5): New external variable declaration.
1399 (Vcharset_japanese_jisx0208_1990): Likewise.
1401 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1403 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1405 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1407 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1409 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1410 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1411 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1414 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1416 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1418 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1420 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1423 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1425 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1426 for `CHARSET_BY_ATTRIBUTES'.
1427 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1428 `CHARSET_BY_ATTRIBUTES'.
1430 * text-coding.c (struct decoding_stream): Rename member `CH' to
1432 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1433 (decode_coding_sjis): Likewise.
1434 (decode_coding_big5): Likewise.
1435 (decode_coding_ucs4): Likewise.
1436 (decode_coding_utf8): Likewise.
1437 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1438 `CHARSET_BY_ATTRIBUTES'.
1439 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1440 `str->counter'; decode 3, 4 bytes sets.
1441 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1443 (decode_coding_no_conversion): Use `str->cpos' instead of
1446 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1447 (Qmojikyo_2022_1): New variable.
1448 (make_charset): Don't use `CHARSET_TYPE_*'.
1449 (range_charset_code_point): Support coded-charset
1451 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1452 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1453 `CHARSET_BY_ATTRIBUTES'.
1454 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1455 `CHARSET_BY_ATTRIBUTES'.
1456 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1457 (complex_vars_of_mule_charset): Add new coded-charset
1460 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1461 interface; changed to inline function.
1463 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1464 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1465 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1466 (CHARSET_TYPE_94): Deleted.
1467 (CHARSET_TYPE_94X94): Deleted.
1468 (CHARSET_TYPE_96): Deleted.
1469 (CHARSET_TYPE_96X96): Deleted.
1470 (CHARSET_TYPE_128): Deleted.
1471 (CHARSET_TYPE_128X128): Deleted.
1472 (CHARSET_TYPE_256): Deleted.
1473 (CHARSET_TYPE_256X256): Deleted.
1474 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1476 (DECODE_MOJIKYO_2022): New inline function.
1477 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1478 `Vcharset_mojikyo_2022_1'.
1480 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1482 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1484 (put_byte_table): Likewise.
1485 (char_id_table_equal): Use `get_byte_table' [new implementation].
1487 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1489 * mule-charset.c: Include <limits.h> in UTF-2000.
1490 (BT_UINT8_MIN): New macro in UTF-2000.
1491 (BT_UINT8_MAX): New macro in UTF-2000.
1492 (BT_UINT8_t): New macro in UTF-2000.
1493 (BT_UINT8_nil): New macro in UTF-2000.
1494 (BT_UINT8_unbound): New macro in UTF-2000.
1495 (INT_UINT8_P): New inline function in UTF-2000.
1496 (UINT8_VALUE_P): New inline function in UTF-2000.
1497 (UINT8_ENCODE): New inline function in UTF-2000.
1498 (UINT8_DECODE): New inline function in UTF-2000.
1499 (mark_uint8_byte_table): New function in UTF-2000.
1500 (print_uint8_byte_table): New function in UTF-2000.
1501 (uint8_byte_table_equal): New function in UTF-2000.
1502 (uint8_byte_table_hash): New function in UTF-2000.
1503 (make_uint8_byte_table): New function in UTF-2000.
1504 (uint8_byte_table_same_value_p): New function in UTF-2000.
1505 (BT_UINT16_MIN): New macro in UTF-2000.
1506 (BT_UINT16_MAX): New macro in UTF-2000.
1507 (BT_UINT16_t): New macro in UTF-2000.
1508 (BT_UINT16_nil): New macro in UTF-2000.
1509 (BT_UINT16_unbound): New macro in UTF-2000.
1510 (INT_UINT16_P): New inline function in UTF-2000.
1511 (UINT16_VALUE_P): New inline function in UTF-2000.
1512 (UINT16_ENCODE): New inline function in UTF-2000.
1513 (UINT16_DECODE): New inline function in UTF-2000.
1514 (UINT8_TO_UINT16): New inline function in UTF-2000.
1515 (mark_uint16_byte_table): New function in UTF-2000.
1516 (print_uint16_byte_table): New function in UTF-2000.
1517 (uint16_byte_table_equal): New function in UTF-2000.
1518 (uint16_byte_table_hash): New function in UTF-2000.
1519 (make_uint16_byte_table): New function in UTF-2000.
1520 (uint16_byte_table_same_value_p): New function in UTF-2000.
1521 (print_byte_table): New function in UTF-2000.
1522 (byte-table): Use `print_byte_table' as printer.
1523 (make_byte_table): Delete second argument `older'.
1524 (byte_table_same_value_p): New function in UTF-2000.
1525 (copy_byte_table): Deleted.
1526 (get_byte_table): New function in UTF-2000.
1527 (put_byte_table): New function in UTF-2000.
1528 (print_char_id_table): New function in UTF-2000.
1529 (char-id-table): Use `print_char_id_table' as printer.
1530 (make_char_id_table): Delete second argument `older'.
1531 (get_char_id_table): Use `get_byte_table [new implementation].
1532 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1534 (Ffind_char_attribute_table): New function in UTF-2000.
1535 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1536 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1537 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1538 (syms_of_mule_charset): Add new function
1539 `find-char-attribute-table' in UTF-2000.
1541 * lrecord.h (enum lrecord_type): Add
1542 `lrecord_type_uint16_byte_table' and
1543 `lrecord_type_uint8_byte_table'.
1545 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1546 (Lisp_Uint8_Byte_Table): New type.
1547 (XUINT8_BYTE_TABLE): New macro.
1548 (XSETUINT8_BYTE_TABLE): New macro.
1549 (UINT8_BYTE_TABLE_P): New macro.
1550 (GC_UINT8_BYTE_TABLE_P): New macro.
1551 (struct Lisp_Uint16_Byte_Table): New structure.
1552 (Lisp_Uint16_Byte_Table): New type.
1553 (XUINT16_BYTE_TABLE): New macro.
1554 (XSETUINT16_BYTE_TABLE): New macro.
1555 (UINT16_BYTE_TABLE_P): New macro.
1556 (GC_UINT16_BYTE_TABLE_P): New macro.
1558 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1560 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1561 (Vcharacter_ideographic_strokes_table): Deleted.
1562 (Vcharacter_total_strokes_table): Deleted.
1563 (Vcharacter_morohashi_daikanwa_table): Deleted.
1564 (Vcharacter_decomposition_table): Deleted.
1565 (Qname): Deleted because it is duplicated.
1566 (Qideographic_radical): Deleted.
1567 (Qideographic_strokes): Deleted.
1568 (Qtotal_strokes): Deleted.
1569 (Qmorohashi_daikanwa): Deleted.
1570 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1571 `ideographic-radical', `ideographic-strokes', `total-strokes',
1572 `morohashi-daikanwa' and `->decomposition'.
1573 (Fget_char_attribute): Likewise.
1574 (Fput_char_attribute): Likewise; use `make-vector' instead of
1575 `make_older_vector' for `->decomposition' value.
1576 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1577 `ideograph-daikanwa'.
1578 (syms_of_mule_charset): Delete builtin symbols `name',
1579 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1580 `morohashi-daikanwa'.
1581 (vars_of_mule_charset): Don't setup
1582 `Vcharacter_ideographic_radical_table',
1583 `Vcharacter_ideographic_strokes_table',
1584 `Vcharacter_total_strokes_table',
1585 `Vcharacter_morohashi_daikanwa_table' and
1586 `Vcharacter_decomposition_table'.
1588 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1590 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1591 `make_older_vector', `make_vector_newer_1' and
1592 `make_vector_newer'.
1594 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1595 `make_older_vector' and `make_vector_newer'.
1597 * config.h.in (HAVE_GGC): New macro.
1599 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1601 * mule-charset.c (struct char_attribute_list_closure): New
1602 structure in UTF-2000.
1603 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1604 (Fchar_attribute_list): Likewise.
1605 (Fset_charset_mapping_table): Use `make_vector_newer'.
1606 (Fdecode_builtin_char): New function in UTF-2000.
1607 (syms_of_mule_charset): Add new function `char-attribute-list' and
1608 `decode-builtin-char' in UTF-2000.
1610 * lisp.h (make_vector_newer): New prototype.
1612 * alloc.c (make_vector_newer_1): New function.
1613 (make_vector_newer): New function.
1615 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1617 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1620 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1622 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1623 (Vcharacter_attribute_table): Deleted.
1624 (Vcharacter_name_table): Deleted.
1625 (put_char_attribute): Deleted.
1626 (remove_char_attribute): Deleted.
1627 (struct char_attribute_alist_closure): New structure.
1628 (add_char_attribute_alist_mapper): New function.
1629 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1630 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1631 (Fget_char_attribute): Likewise.
1632 (Fput_char_attribute): Likewise.
1633 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1634 of `remove_char_attribute'.
1635 (Fdefine_char): Return character.
1636 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1637 and `Vcharacter_name_table'.
1638 (complex_vars_of_mule_charset): Likewise
1639 `Vchar_attribute_hash_table'.
1641 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1643 * character.h (CHARC_CHARSET): New macro.
1644 (CHARC_CHARSET_ID): New macro.
1645 (CHARC_CODE_POINT): New macro.
1646 (CHARC_COLUMNS): New macro.
1647 (CHARC_TO_CHAR): New inline function.
1648 (CHARC_EQ): New inline function.
1649 (CHARC_ASCII_EQ): New inline function.
1650 (CHARC_IS_SPACE): New inline function.
1651 (ASCII_TO_CHARC): New inline function.
1653 * char-ucs.h (encode_char_2): Deleted.
1654 (ENCODE_CHAR): Use `encode_char_1' again.
1655 (breakup_char_1): Likewise.
1656 (CHAR_TO_CHARC): New inline function.
1658 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1660 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1662 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1663 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1664 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1665 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1666 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1668 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1670 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1672 (x_output_display_block): Use `CHARC_CHARSET' and
1675 * redisplay-tty.c (tty_output_display_block): Use
1677 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1679 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1681 * insdel.c (find_charsets_in_charc_string): Use
1683 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1684 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1685 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1686 (convert_charc_string_into_malloced_string): Likewise.
1688 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1690 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1691 instead of <Emchar_dynarr *> for buf; use
1692 `convert_bufbyte_string_into_charc_dynarr' instead of
1693 `convert_bufbyte_string_into_emchar_dynarr'; use
1694 `find_charsets_in_charc_string' instead of
1695 `find_charsets_in_emchar_string'.
1698 - Include "character.h".
1699 (struct rune): New member `cglyph'; delete member `chr'.
1701 * redisplay.c (redisplay_text_width_charc_string): New function;
1702 delete `redisplay_text_width_emchar_string'.
1703 (rtw_charc_dynarr): New variable; renamed from
1704 `rtw_emchar_dynarr'.
1705 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
1706 `rtw_emchar_dynarr'; use
1707 `convert_bufbyte_string_into_charc_dynarr' instead of
1708 `convert_bufbyte_string_into_emchar_dynarr'; use
1709 `redisplay_text_width_charc_string' instead of
1710 `redisplay_text_width_emchar_string'.
1711 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1712 instead of `rtw_emchar_dynarr'; use
1713 `convert_bufbyte_string_into_charc_dynarr' instead of
1714 `convert_bufbyte_string_into_emchar_dynarr'.
1715 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1716 `redisplay_text_width_charc_string' instead of
1717 `redisplay_text_width_emchar_string'.
1718 (create_text_block): Modify for <struct rune> change.
1719 (generate_formatted_string_db): Likewise.
1720 (create_string_text_block): Likewise.
1721 (pixel_to_glyph_translation): Likewise.
1723 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
1724 instead of <const Emchar *>.
1725 (x_text_width): Likewise.
1726 (x_output_display_block): Use <Charc_dynarr *> instead
1727 <Emchar_dynarr *>; modify for <structure rune> change.
1728 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
1731 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
1732 <const Emchar *>; use `charc_string_displayed_columns' instead of
1733 `emchar_string_displayed_columns'.
1734 (tty_output_display_block): Use <Charc_dynarr *> instead of
1735 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
1736 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
1737 (tty_output_charc_dynarr_dynarr): New variable; renamed from
1738 `tty_output_emchar_dynarr_dynarr'.
1739 (tty_output_charc_dynarr): New function; delete
1740 `tty_output_charc_dynarr'.
1742 * redisplay-output.c (compare_runes): Modify for `struct rune'.
1743 (redisplay_output_layout): Use <Charc_dynarr *> instead of
1744 <Emchar_dynarr *> for buf; use
1745 `convert_bufbyte_string_into_charc_dynarr' instead of
1746 `convert_bufbyte_string_into_emchar_dynarr'.
1748 * frame.c (title_string_charc_dynarr): New variable; renamed from
1749 `title_string_emchar_dynarr'.
1750 (generate_title_string): Use `title_string_charc_dynarr' instead
1751 of `title_string_emchar_dynarr'; use
1752 `convert_charc_string_into_malloced_string' instead of
1753 `convert_emchar_string_into_malloced_string'.
1754 (init_frame): Use `title_string_charc_dynarr' instead of
1755 `title_string_emchar_dynarr'.
1758 - Include "character.h".
1759 (struct console_methods): Use <const Charc *> instead of <const
1760 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
1761 <Emchar_dynarr *> in output_string_method.
1763 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
1766 * console-stream.c (stream_text_width): Use <const Charc *>
1767 instead of <const Emchar *>.
1769 * character.h (Charc_dynarr): New type.
1771 * char-ucs.h (structure Charc): New structure; define new type
1774 * char-lb.h (DECODE_CHAR): New inline function.
1775 (encode_char_1): New inline function.
1776 (ENCODE_CHAR): New macro.
1777 (structure Charc): New structure; define new type `Charc'.
1779 * char-1byte.h (Vcharset_control_1): New macro.
1780 (Vcharset_latin_iso8859_1): New macro.
1781 (DECODE_CHAR): New inline function.
1782 (encode_char_1): New inline function.
1783 (ENCODE_CHAR): New macro.
1784 (structure Charc): New structure; define new type `Charc'.
1786 * insdel.c (find_charsets_in_charc_string): New function; delete
1787 `find_charsets_in_emchar_string'.
1788 (charc_string_displayed_columns): New function; delete
1789 `emchar_string_displayed_columns'.
1790 (convert_bufbyte_string_into_charc_dynarr): New function; delete
1791 `convert_bufbyte_string_into_emchar_dynarr'.
1792 (convert_charc_string_into_bufbyte_dynarr): New function; delete
1793 `convert_charc_string_into_bufbyte_dynarr'.
1794 (convert_charc_string_into_malloced_string): New function; delete
1795 `convert_charc_string_into_malloced_string'.
1797 * buffer.h (find_charsets_in_charc_string): New prototype; delete
1798 `find_charsets_in_emchar_string'.
1799 (charc_string_displayed_columns): New prototype; delete
1800 `emchar_string_displayed_columns'.
1801 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
1802 `convert_charc_string_into_bufbyte_dynarr'.
1803 (convert_charc_string_into_malloced_string): New prototype; delete
1804 `convert_charc_string_into_malloced_string'.
1806 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1808 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
1810 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1812 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
1814 * char-ucs.h: Use <short> for <Charset_ID>.
1816 * mule-charset.h, char-1byte.h: Use <unsigned char> for
1819 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1821 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1824 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1826 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
1828 (Qmorohashi_daikanwa): New variable.
1829 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
1830 for `morohashi-daikanwa' attribute.
1831 (Fget_char_attribute): Likewise.
1832 (Fput_char_attribute): Likewise.
1833 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
1834 has the same value of `ideograph-daikanwa'.
1835 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
1836 (vars_of_mule_charset): Setup
1837 `Vcharacter_morohashi_daikanwa_table'.
1839 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1841 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
1843 (add_charset_to_list_mapper): Add `key' instead of
1844 `XCHARSET_NAME (value)' to return aliases.
1846 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1848 * mule-charset.c (Vcharacter_ideographic_radical_table): New
1850 (Vcharacter_ideographic_strokes_table): New variable.
1851 (Qideographic_radical): New variable.
1852 (Qideographic_strokes): New variable.
1853 (Fchar_attribute_alist): Use
1854 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
1855 attribute; use `Vcharacter_ideographic_strokes_table' for
1856 `ideographic-strokes' attribute.
1857 (Fget_char_attribute): Likewise.
1858 (Fput_char_attribute): Likewise.
1859 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
1860 `ideographic-strokes'.
1861 (vars_of_mule_charset): Setup
1862 `Vcharacter_ideographic_radical_table' and
1863 `Vcharacter_ideographic_strokes_table'.
1865 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1867 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
1868 (Qtotal_strokes): New variable.
1869 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
1870 `total-strokes' attribute.
1871 (Fget_char_attribute): Likewise.
1872 (Fput_char_attribute): Likewise.
1873 (syms_of_mule_charset): Add new symbol `total-strokes'.
1874 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
1876 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1878 * mule-charset.c (Vcharacter_decomposition_table): New variable.
1879 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
1881 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
1882 `->decomposition' attribute.
1883 (Fput_char_attribute): Likewise.
1884 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
1886 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1888 * mule-charset.c (decoding_table_check_elements): New function.
1889 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
1891 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1893 * mule-charset.c (Fset_charset_mapping_table): Use
1894 `put_char_ccs_code_point'.
1896 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1898 * mule-charset.c (decoding_table_put_char): New inline function.
1899 (put_char_ccs_code_point): Use `decoding_table_put_char'.
1901 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1903 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
1904 (XCHARSET_BYTE_SIZE): New macro.
1905 (decoding_table_remove_char): New inline function.
1906 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
1907 `decoding_table_remove_char'.
1908 (remove_char_ccs): Use `decoding_table_remove_char'.
1909 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
1911 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1913 * mule-charset.c (Vcharacter_name_table): New variable.
1914 (Qname): New variable.
1915 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
1917 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
1918 `Vcharacter_name_table' for `name' attribute.
1919 (Fremove_char_attribute): Use function `remove_char_ccs'.
1920 (put_char_ccs_code_point): New function.
1921 (remove_char_ccs): New function.
1922 (syms_of_mule_charset): Add new symbol `name'.
1923 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
1925 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1927 * mule-charset.c (make_byte_table): Add new argument `older'.
1928 (make_char_id_table): Likewise.
1929 (copy_char_id_table): Comment out because it is not used.
1930 (put_char_id_table): Modify for `make_byte_table'.
1931 (Fput_char_attribute): Make encoding_table as older object;
1932 inherit older bit of `Vcharacter_composition_table'.
1933 (mark_charset): Don't mark `cs->encoding_table'.
1934 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
1935 normal object; make `Vcharacter_composition_table' as an older
1936 object; delete staticpro for `Vcharacter_composition_table'; make
1937 `Vcharacter_variant_table' as a normal object.
1939 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
1940 (mark_object): Don't check older object in UTF-2000.
1942 * lrecord.h (struct lrecord_header): Add new member `older' in
1944 (set_lheader_implementation): Setup `SLI_header->older' in
1946 (set_lheader_older_implementation): New macro in UTF-2000.
1947 (OLDER_RECORD_P): New macro in UTF-2000.
1948 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
1949 (alloc_older_lcrecord): New prototype in UTF-2000.
1950 (alloc_older_lcrecord_type): New macro in UTF-2000.
1952 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1954 * mule-charset.c (byte_table_description): Use
1955 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
1956 (char_id_table_description): Delete bogus `, 1'.
1957 (Fget_char_attribute): Refer encoding_table of each coded-charset
1958 to get value of coded-charset attribute of a character.
1959 (Fput_char_attribute): Use `make_older_vector' instead of
1960 `make_vector'; use encoding_table of each coded-charset to store
1961 value of coded-charset attribute of a character.
1962 (Fremove_char_attribute): Use encoding_table of each coded-charset
1963 to store value of coded-charset attribute of a character.
1964 (mark_charset): Mark `cs->encoding_table'; don't mark
1965 `cs->decoding_table'.
1966 (charset_description): Add description of new member
1968 (make_charset): Initialize `encoding_table'.
1970 * char-ucs.h (struct Lisp_Charset): Add new member
1972 (CHARSET_ENCODING_TABLE): New macro.
1973 (XCHARSET_ENCODING_TABLE): New macro.
1974 (charset_code_point): New implementation.
1975 (encode_char_1): Likewise.
1977 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
1978 (disksave_object_finalization_1): Call finalizers of
1979 `all_older_lcrecords' in UTF-2000.
1980 (make_older_vector): New function in UTF-2000.
1981 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
1984 * lisp.h (make_older_vector): New prototype in UTF-2000.
1986 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1988 * lrecord.h (enum lrecord_type): Rename
1989 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
1991 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
1992 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
1993 `get_char_code_table'.
1995 * mule-charset.c (mark_char_id_table): Renamed from
1996 `mark_char_code_table'.
1997 (char_id_table_equal): Renamed from `char_code_table_equal'.
1998 (char_id_table_hash): Renamed from `char_code_table_hash'.
1999 (make_char_id_table): Renamed from `make_char_code_table'.
2000 (copy_char_id_table): Renamed from `copy_char_code_table'.
2001 (get_char_id_table): Renamed from `get_char_code_table'.
2002 (put_char_id_table): Renamed from `put_char_code_table'.
2003 (to_char_id): Renamed from `to_char_code'.
2005 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2006 `Lisp_Char_Code_Table'.
2007 (char_id_table): Renamed from `char_code_table'.
2008 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2009 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2010 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2011 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2012 (get_char_id_table): Renamed from `get_char_code_table'.
2014 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2016 * lrecord.h (enum lrecord_type): Rename
2017 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2019 * mule-charset.c (mark_byte_table): Renamed from
2020 `mark_char_byte_table'.
2021 (byte_table_equal): Renamed from `char_byte_table_equal'.
2022 (byte_table_hash): Renamed from `byte_table_hash'.
2023 (make_byte_table): Renamed from `make_byte_table'.
2024 (copy_byte_table): Renamed from `copy_char_byte_table'.
2026 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2027 `Lisp_Char_Byte_Table'.
2028 (byte_table): Renamed from `char_byte_table'.
2029 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2030 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2031 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2032 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2034 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2036 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2037 (dfc_convert_to_internal_format): Likewise.
2039 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2040 * text-coding.c (Fcoding_system_alias_p): New function.
2041 * text-coding.c (Fcoding_system_aliasee): New function.
2042 * text-coding.c (append_suffix_to_symbol): New function.
2043 * text-coding.c (dangling_coding_system_alias_p): New function.
2044 * text-coding.c (Ffind_coding_system):
2045 * text-coding.c (Fcopy_coding_system):
2046 * text-coding.c (encode_coding_no_conversion):
2047 * text-coding.c (syms_of_file_coding):
2048 * text-coding.c (vars_of_file_coding):
2049 Rewrite coding system alias code.
2050 Allow nested aliases, like symbolic links.
2051 Allow redefinition of coding system aliases.
2052 Prevent existence of dangling coding system aliases.
2053 Eliminate convert_to_external_format.
2054 Eliminate convert_to_internal_format.
2056 * text-coding.c: Change enum eol_type to eol_type_t.
2058 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2060 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2061 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2063 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2064 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2066 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2068 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2069 `ideograph-daikanwa'.
2071 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2072 (Vcharset_ucs_bmp): Likewise.
2073 (Vcharset_mojikyo): Add new extern variable definition.
2074 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2075 (Vcharset_latin_iso8859_3): Likewise.
2076 (Vcharset_latin_iso8859_4): Likewise.
2077 (Vcharset_latin_iso8859_9): Likewise.
2078 (Vcharset_latin_viscii_lower): Likewise.
2079 (Vcharset_latin_viscii_upper): Likewise.
2080 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2081 `mojikyo' code-point is used to decode.
2082 (encode_char_2): New function [to convert `mojikyo' code-point to
2083 Mojikyo font encoding].
2084 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2085 (breakup_char_1): Likewise.
2086 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2088 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2090 * text-coding.c (Fmake_coding_system): Add document about
2091 `disable-composition' property.
2093 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2095 * text-coding.c (Qdisable_composition): New variable; delete
2097 (Fmake_coding_system): Add new property `disable-composite';
2098 delete property `composite'.
2099 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2100 instead of `!CODING_SYSTEM_COMPOSITE'.
2101 (syms_of_file_coding): Add new symbol `disable-composition';
2102 delete symbol `composite'.
2104 * file-coding.h (struct Lisp_Coding_System): Add
2105 `disable_composition'; delete `enable_composition'.
2106 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2107 `CODING_SYSTEM_COMPOSITE'.
2108 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2109 `XCODING_SYSTEM_COMPOSITE'.
2111 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2113 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2116 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2118 * text-coding.c (Qcomposite): New variable.
2119 (Fmake_coding_system): Add new property `composite'.
2120 (struct decoding_stream): Add `combined_char_count',
2121 `combined_chars' and `combining_table' in UTF-2000.
2122 (COMPOSE_FLUSH_CHARS): New macro.
2123 (COMPOSE_ADD_CHAR): New macro.
2124 (reset_decoding_stream): Reset `str->combined_char_count' and
2125 `str->combining_table' in UTF-2000.
2126 (decode_coding_iso2022): Modify for character-decomposition.
2127 (syms_of_file_coding): Add new symbol `composite'.
2129 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2131 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2132 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2133 of `Vcharacter_composition_table' if `->decomposition' property
2135 (Qlatin_tcvn5712): New variable.
2136 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2137 (complex_vars_of_mule_charset): Add new coded-charset
2140 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2142 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2144 * file-coding.h (struct Lisp_Coding_System): Add
2145 `enable_composition'.
2146 (CODING_SYSTEM_COMPOSITE): New macro.
2147 (XCODING_SYSTEM_COMPOSITE): New macro.
2149 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2151 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2153 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2155 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2156 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2158 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2160 * mule-charset.c (Vcharset_mojikyo): New variable.
2161 (Fdefine_char): Don't use coded-charset which does not have
2162 non-builtin character range to allocate character-id.
2163 (Qmojikyo): New variable.
2164 (syms_of_mule_charset): Add new symbol `mojikyo'.
2165 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2167 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2168 (LEADING_BYTE_MOJIKYO): New macro.
2169 (MIN_CHAR_MOJIKYO): New macro.
2170 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2171 (MAX_CHAR_MOJIKYO): New macro.
2173 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2175 * mule-charset.c (remove_char_attribute): Fixed.
2177 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2179 * mule-charset.c (remove_char_attribute): New function.
2180 (Fremove_char_attribute): New function.
2181 (encode_builtin_char_1): Comment out builtin-support for
2182 greek-iso8859-7 and cyrillic-iso8859-5.
2183 (Fdecode_char): Check `code' is an integer.
2184 (syms_of_mule_charset): Add `remove-char-attribute'.
2185 (MIN_CHAR_GREEK): Deleted.
2186 (MAX_CHAR_GREEK): Likewise.
2187 (MIN_CHAR_CYRILLIC): Likewise.
2188 (MAX_CHAR_CYRILLIC): Likewise.
2189 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2190 MAX_CHAR_GREEK for `greek-iso8859-7'.
2192 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2193 (MAX_CHAR_GREEK): Likewise.
2194 (MIN_CHAR_CYRILLIC): Likewise.
2195 (MAX_CHAR_CYRILLIC): Likewise.
2197 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2199 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2200 format is used without `ucs' property.
2201 (Fdecode_char): Fix problem with GR representation.
2202 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2203 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2205 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2207 * mule-charset.c (make_builtin_char): New function.
2208 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2209 (Fset_charset_mapping_table): Modify for new representation of
2211 (Fdecode_char): New function.
2212 (syms_of_mule_charset): Add new builtin function `decode-char' in
2215 * char-ucs.h (make_builtin_char): New prototype.
2216 (DECODE_CHAR): New inline function.
2217 (MAKE_CHAR): Use `DECODE_CHAR'.
2219 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2221 * text-coding.c (parse_charset_conversion_specs): Use
2222 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2224 (iso2022_designate): Likewise.
2226 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2227 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2229 * mule-charset.c (Vcharset_ucs): New variable.
2230 (print_charset): Change design; use `CHARSET_CHARS' and
2231 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2232 (make_charset): Change signature to specify `chars' and
2233 `dimension' instead of `type'.
2234 (range_charset_code_point): Modify for 256^n-set.
2235 (encode_builtin_char_1): Encode as `ucs' in default.
2236 (Fmake_charset): Modify for `make_charset'.
2237 (Fmake_reverse_direction_charset): Likewise.
2238 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2240 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2243 * char-ucs.h (Vcharset_ucs): New variable.
2244 (LEADING_BYTE_UCS): New macro.
2245 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2246 and `chars' to `unsigned short' from `unsigned int'.
2247 (CHARSET_TYPE): Deleted.
2248 (XCHARSET_TYPE): Deleted.
2250 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2252 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2254 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2255 (ENCODE_CHAR): New macro.
2257 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2259 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2260 to 0.14 (Kawachi-Katakami).
2262 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2264 * text-coding.c (char_encode_shift_jis): Modify for
2265 `charset_code_point'.
2266 (char_encode_iso2022): Likewise.
2268 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2269 (integer) instead of list of <Lisp_Object>s (integers) as the
2270 format of code-point of a coded-charset.
2271 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2272 (encode_builtin_char_1): New function; delete
2273 `split_builtin_char'.
2274 (charset_code_point): Return <int> instead of <Lisp_Object>.
2275 (Fsplit_char): Don't use `SPLIT_CHAR'.
2277 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2278 prototype for `split_builtin_char'.
2279 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2280 (charset_code_point): Likewise.
2281 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2282 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2284 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2286 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2287 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2289 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2291 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2293 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2294 (MAX_CHAR_OBS_94x94): Deleted.
2296 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2298 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2300 * char-ucs.h (MAX_CHAR_BMP): New macro.
2302 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2304 * text-coding.c: Sync with r21-2-24.
2306 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2308 * file-coding.c: Modify for UTF-2000.
2310 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2312 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2315 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2317 * mule-charset.c (split_builtin_char): Delete builtin support for
2318 `katakana-jisx0201'.
2319 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2320 BMP area in builtin representation.
2322 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2323 `Vcharset_katakana_jisx0201'.
2325 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2327 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2328 (Qisolated): New variable.
2329 (Qinitial): New variable.
2330 (Qmedial): New variable.
2331 (Qfinal): New variable.
2332 (Qvertical): New variable.
2333 (Qsmall): New variable.
2334 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2335 `Qvertical' and `Qsmall'.
2336 (Qmojikyo_pj_[1 .. 21]): New variable.
2337 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2338 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2339 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2342 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2344 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2345 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2346 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2348 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2350 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2351 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2353 (Qjapanese_jisx0208_1990): New variable.
2354 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2355 (complex_vars_of_mule_charset): Add new coded-charset
2356 `japanese-jisx0208-1990'.
2358 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2359 (MIN_CHAR_JIS_X0208_1990): New macro.
2360 (MAX_CHAR_JIS_X0208_1990): New macro.
2362 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2364 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2365 coded-charset is not found.
2367 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2369 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2370 (Fdefine_char): Use `Fmake_char'.
2372 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2374 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2375 (Vcharset_hiragana_jisx0208): Deleted.
2376 (Vcharset_katakana_jisx0208): Deleted.
2377 (Qideograph_daikanwa): New variable.
2378 (Qhiragana_jisx0208): Deleted.
2379 (Qkatakana_jisx0208): Deleted.
2380 (split_builtin_char): Split `ideograph-daikanwa'.
2381 (Fsplit_char): New implementation for UTF-2000.
2382 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2383 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2384 (complex_vars_of_mule_charset): Add new coded-charset
2385 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2386 `katakana-jisx0208'.
2388 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2389 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2390 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2391 (MIN_CHAR_DAIKANWA): New macro.
2392 (MAX_CHAR_DAIKANWA): New macro.
2394 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2396 * data.c (Fstring_to_number): Don't recognize floating point if
2399 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2401 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2403 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2405 * mule-charset.c (Qsquare): New variable.
2406 (to_char_code): Add `Qsquare'.
2407 (syms_of_mule_charset): Add new symbol `square'.
2409 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2411 * mule-charset.c (Qcircle): New variable.
2412 (to_char_code): Add `Qcircle'.
2413 (syms_of_mule_charset): Add new symbol `circle'.
2415 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2417 * mule-charset.c (Qfont): New variable.
2418 (to_char_code): Add `Qfont'.
2419 (syms_of_mule_charset): Add new symbol `font'.
2421 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2423 * mule-charset.c (Qsub): New variable.
2424 (to_char_code): Add `Qsub'.
2425 (syms_of_mule_charset): Add new symbol `sub'.
2427 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2429 * mule-charset.c (Fput_char_attribute): Convert each element of
2430 VALUE to GL position if ATTRIBUTE is a GR-set,
2432 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2434 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2435 coded-charset is a GR-set.
2437 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2439 * mule-charset.c (Fput_char_attribute): Check each element of
2440 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2442 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2444 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2446 (Qethiopic_ucs): New variable in UTF-2000.
2447 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2448 (complex_vars_of_mule_charset): Add new coded-charset
2449 `ethiopic-ucs' in UTF-2000.
2451 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2452 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2454 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2456 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2458 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2460 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2463 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2465 * mule-charset.c (Vcharacter_variant_table): New variable.
2466 (Q_ucs): New variable.
2467 (Fchar_variants): New function.
2468 (Fput_char_attribute): Register `->ucs' value to
2469 `Vcharacter_variant_table'.
2470 (syms_of_mule_charset): Add new function `char-variants' and new
2472 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2474 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2476 * mule-charset.c (get_char_code_table): Allow negative character
2478 (put_char_code_table): Likewise.
2479 (Vcharacter_composition_table): New variable.
2480 (Q_decomposition): New variable.
2481 (Qwide): New variable.
2482 (Qnarrow): New variable.
2483 (Qcompat): New variable.
2484 (QnoBreak): New variable.
2485 (Qsuper): New variable.
2486 (Qfraction): New variable.
2487 (to_char_code): New function.
2488 (Fget_composite_char): New function.
2489 (Fput_char_attribute): Register `->decomposition' value to
2490 `Vcharacter_composition_table'.
2491 (syms_of_mule_charset): Add new function `get-composite-char', new
2492 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2493 `super' and `fraction'.
2494 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2496 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2498 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2499 character; copy the return value.
2501 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2503 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2505 * mule-charset.c (range_charset_code_point): Must use make_int.
2506 (split_builtin_char): New function.
2508 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2510 * mule-charset.c (char_byte_table): Change name from
2511 "char-code-table" to "char-byte-table".
2512 (mark_char_code_table): New function.
2513 (char_code_table_equal): New function.
2514 (char_code_table_hash): New function.
2515 (char_code_table_description): New constant.
2516 (char_code_table): New type.
2517 (make_char_code_table): New function.
2518 (copy_char_code_table): New function.
2519 (get_char_code_table): Modify for `char_code_table' type.
2520 (put_char_code_table): Likewise.
2521 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2524 * char-ucs.h (char_code_table): New type.
2525 (XCHAR_CODE_TABLE): New macro.
2526 (XSETCHAR_CODE_TABLE): New macro.
2527 (CHAR_CODE_TABLE_P): New macro.
2528 (GC_CHAR_CODE_TABLE_P): New macro.
2529 (struct Lisp_Char_Code_Table): New structure.
2531 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2533 * mule-charset.c (Fmake_charset): Setup byte_offset for
2536 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2538 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2541 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2543 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2546 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2548 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2549 charset, it is regarded as a charset.
2550 (put_char_attribute): New function in UTF-2000.
2551 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2552 charset, mapping-table of the charset is modified.
2553 (Fdefine_char): New function in UTF-2000.
2554 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2555 `Fput_char_attribute'.
2556 (syms_of_mule_charset): Add new function `define-char' and new
2557 symbol `ucs' in UTF-2000.
2558 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2560 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2562 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2563 non-UTF-2000 configuration.
2565 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2567 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2568 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2570 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2572 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2573 (Fset_charset_mapping_table): Likewise.
2575 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2576 (CHARSET_ENCODING_TABLE): Delete.
2577 (XCHARSET_ENCODING_TABLE): Delete.
2578 (charset_code_point): New interface.
2580 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2582 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2583 instead of `charset_get_byte1' and `charset_get_byte2'.
2585 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2586 (charset_get_byte2): Deleted.
2588 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2590 * char-ucs.h (SPLIT_CHAR): New inline function.
2591 (breakup_char_1): Use `SPLIT_CHAR'.
2593 * mule-charset.c (range_charset_code_point): New function.
2594 (charset_code_point): New function.
2596 * char-ucs.h (range_charset_code_point): New interface.
2597 (breakup_char_1): Use `range_charset_code_point'.
2599 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2601 * mule-charset.c (Fmake_charset): Delete unused local variable
2604 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2605 (breakup_char_1): Find a charset and code-point in
2606 `Vcharacter_attribute_table'.
2608 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2610 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2613 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2615 * mule-charset.c (Vcharacter_attribute_table): New variable.
2616 (Fchar_attribute_alist): New function.
2617 (Fget_char_attribute): New function.
2618 (Fput_char_attribute): New function.
2619 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2621 (syms_of_mule_charset): Add new function `char-attribute-alist',
2622 `get-char-attribute' and `put-char-attribute'.
2623 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2625 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2627 * mule-charset.c (Fmake_charset): Just use
2628 `get_unallocated_leading_byte'.
2630 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2631 sets; don't use final-byte based number for private sets.
2633 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2635 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2638 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2640 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2643 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2645 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2646 of `CHAR_LEADING_BYTE' in UTF-2000.
2648 * insdel.c (find_charsets_in_bufbyte_string): Use
2649 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2650 (find_charsets_in_emchar_string): Likewise.
2652 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2653 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2655 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2656 (CHAR_CHARSET_ID): New macro.
2658 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2660 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2661 charset-id - MIN_LEADING_BYTE.
2662 (put_char_table): Likewise.
2664 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2666 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2667 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2668 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2669 (CHARSET_ID_OFFSET): New macro.
2670 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2671 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2672 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2673 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2675 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2677 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2678 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2679 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2680 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2681 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2683 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2685 * mule-charset.c (next_allocated_leading_byte): New variable in
2687 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2688 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2689 (get_unallocated_leading_byte): Simply use
2690 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2691 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2694 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2695 (MAX_LEADING_BYTE_PRIVATE): New macro.
2696 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2697 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2699 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2701 * mule-charset.c (Fmake_charset): Allocate final-byte based
2702 charset-id for 94-set, 96-set and 94x94-set.
2704 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2706 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
2708 (Fmake_charset): Likewise.
2709 (complex_vars_of_mule_charset): Modify the font registry of
2710 `ucs-bmp' not to match `Ethiopic-Unicode'.
2712 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2714 * mule-charset.c (complex_vars_of_mule_charset): Add font
2715 registory of `ucs-bmp'.
2717 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2719 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2720 coded-charsets in `default-coded-charset-priority-list' when
2721 breaking up a character.
2723 * mule-charset.c (Vcharset_latin_viscii): New variable.
2724 (Qlatin_viscii): New variable.
2725 (make_charset): Don't use `decoding_table'.
2726 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
2728 (Fset_charset_mapping_table): New implementation.
2729 (syms_of_mule_charset): Add new symbol `latin-viscii'.
2730 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
2731 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
2732 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
2733 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
2734 charset `latin_viscii'.
2736 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
2737 (CHARSET_TYPE_94X94): Change to 1 from 2.
2738 (CHARSET_TYPE_96): Change to 2 from 1.
2739 (CHARSET_TYPE_128): New macro.
2740 (CHARSET_TYPE_128X128): Change to 5 from 4.
2741 (CHARSET_TYPE_256): New macro.
2742 (CHARSET_TYPE_256X256): Change to 7 from 5.
2743 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
2745 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2747 * text-coding.c (char_encode_shift_jis): Refer
2748 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
2749 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
2751 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
2752 (char_byte_table_equal): New function in UTF-2000.
2753 (char_byte_table_hash): New function in UTF-2000.
2754 (char_byte_table_description): New constant in UTF-2000.
2755 (char_byte_table): New type in UTF-2000.
2756 (make_char_byte_table): New function in UTF-2000.
2757 (copy_char_byte_table): New function in UTF-2000.
2758 (make_char_code_table): New macro in UTF-2000.
2759 (get_char_code_table): New function in UTF-2000.
2760 (put_char_code_table): New function in UTF-2000.
2761 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2762 (charset_description): Add setting in UTF-2000.
2763 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
2764 `CHARSET_TO_BYTE1_TABLE(cs)'.
2765 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
2766 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
2767 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
2768 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
2769 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
2770 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
2771 `CHARSET_TO_BYTE2_TABLE(cs)'.
2773 * char-ucs.h (char_byte_table): New type.
2774 (XCHAR_BYTE_TABLE): New macro.
2775 (XSETCHAR_BYTE_TABLE): New macro.
2776 (CHAR_BYTE_TABLE_P): New macro.
2777 (GC_CHAR_BYTE_TABLE_P): New macro.
2778 (struct Lisp_Char_Byte_Table): New structure.
2779 (get_char_code_table): New interface.
2780 (Emchar_to_byte_table): Deleted.
2781 (get_byte_from_character_table): Deleted.
2782 (struct Lisp_Charset): Add `encoding_table'; delete
2783 `to_byte1_table' and `to_byte2_table'.
2784 (CHARSET_ENCODING_TABLE): New macro.
2785 (CHARSET_TO_BYTE1_TABLE): Deleted.
2786 (CHARSET_TO_BYTE2_TABLE): Deleted.
2787 (XCHARSET_ENCODING_TABLE): New macro.
2788 (XCHARSET_TO_BYTE1_TABLE): Deleted.
2789 (XCHARSET_TO_BYTE2_TABLE): Deleted.
2791 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2793 * mule-charset.c (syms_of_mule_charset): Delete charset alias
2794 `vietnamese-viscii-*'.
2796 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2798 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
2799 (Qvietnamese_viscii_upper): New variable.
2800 (Fdefine_charset_alias): New function.
2801 (syms_of_mule_charset): Add new function `define-charset-alias'.
2802 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
2803 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
2806 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
2808 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
2809 (MAX_CHAR_OBS_94x94): New macro.
2810 (breakup_char_1): Support obsolete XEmacs-UCS private code space
2813 * mule-charset.c (put_byte_from_character_table): Change unit size
2815 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
2817 (Fmake_reverse_direction_charset): Modify dummy argument of
2818 `make_charset' for non-UTF-2000 environment.
2820 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2822 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
2824 * mule-charset.c (destroy_byte_from_character_table): New macro.
2825 (latin_jisx0201_to_ucs): Deleted.
2826 (latin_iso8859_2_to_ucs): Deleted.
2827 (latin_iso8859_3_to_ucs): Deleted.
2828 (latin_iso8859_4_to_ucs): Deleted.
2829 (latin_iso8859_9_to_ucs): Deleted.
2830 (latin_viscii_lower_to_ucs): Deleted.
2831 (latin_viscii_upper_to_ucs): Deleted.
2832 (mark_charset): Mark `cs->decoding_table'.
2833 (Fcharset_mapping_table): Fix DOC-string.
2834 (Fset_charset_mapping_table): New function.
2835 (syms_of_mule_charset): Add nwe function
2836 `set-charset-mapping-table'.
2837 (complex_vars_of_mule_charset): Don't setup and use
2840 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
2842 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
2845 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
2847 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
2848 (Vcharset_katakana_jisx0208): New variable.
2849 (Qhiragana_jisx0208): New variable.
2850 (Qkatakana_jisx0208): New variable.
2851 (make_charset): Add new argument `byte_offset'.
2852 (charset_get_byte1): Modify for new coded-charset definition; use
2853 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2854 `XCHARSET_BYTE_OFFSET'.
2855 (Fmake_charset): Modify for `make_charset'.
2856 (Fmake_reverse_direction_charset): Likewise.
2857 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
2858 `katakana-jisx0208'.
2859 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
2860 `.' in font registry of charset `katakana-jisx0201',
2861 `latin-jisx0201', `vietnamese-viscii-lower' and
2862 `vietnamese-viscii-upper'; modify DOC-string of charset
2863 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
2864 registry of charset `japanese-jisx0208' not to use font for JIS
2865 X0208:1990; add new charset `hiragana-jisx0208' and
2866 `katakana-jisx0208'.
2868 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
2869 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
2870 (struct Lisp_Charset): Add `byte_offset'.
2871 (CHARSET_BYTE_OFFSET): New macro.
2872 (XCHARSET_UCS_MIN): New macro.
2873 (XCHARSET_UCS_MAX): New macro.
2874 (XCHARSET_CODE_OFFSET): New macro.
2875 (XCHARSET_BYTE_OFFSET): New macro.
2876 (MIN_CHAR_HIRAGANA): New macro.
2877 (MAX_CHAR_HIRAGANA): New macro.
2878 (MIN_CHAR_KATAKANA): New macro.
2879 (MAX_CHAR_KATAKANA): New macro.
2880 (MAKE_CHAR): Modify for new coded-charset definition; use
2881 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2882 `XCHARSET_BYTE_OFFSET'.
2884 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2886 * mule-charset.c (CHAR96): Deleted.
2887 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
2889 (latin_iso8859_2_to_ucs): Likewise.
2890 (latin_iso8859_3_to_ucs): Likewise.
2891 (latin_iso8859_4_to_ucs): Likewise.
2892 (latin_iso8859_9_to_ucs): Likewise.
2893 (latin_viscii_lower_to_ucs): Likewise.
2894 (latin_viscii_upper_to_ucs): Likewise.
2895 (latin_tcvn5712_to_ucs): Commented out.
2896 (make_charset): Change type of argument `decoding_table' from
2897 <Emchar*> to <Lisp_Object> [vector of characters].
2898 (Fmake_charset): Modify for `make_charset'.
2899 (Fmake_reverse_direction_charset): Likewise.
2900 (Fcharset_mapping_table): New function in UTF-2000.
2901 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
2903 (complex_vars_of_mule_charset): Modify for type change of
2904 `*_to_ucs'; modify for `make_charset'.
2906 * char-ucs.h (struct Lisp_Charset): Change type of
2907 `decoding_table' from <Emchar*> to <Lisp_Object>.
2908 (MAKE_CHAR): Modify for new specification of `decoding_table'.
2910 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2912 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
2913 error with non-UTF-2000-Mule.
2915 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
2917 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
2919 (Vcharset_chinese_cns11643_4): Likewise.
2920 (Vcharset_chinese_cns11643_5): Likewise.
2921 (Vcharset_chinese_cns11643_6): Likewise.
2922 (Vcharset_chinese_cns11643_7): Likewise.
2923 (Qchinese_cns11643_3): Likewise.
2924 (Qchinese_cns11643_4): Likewise.
2925 (Qchinese_cns11643_5): Likewise.
2926 (Qchinese_cns11643_6): Likewise.
2927 (Qchinese_cns11643_7): Likewise.
2928 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
2929 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
2930 and `chinese-cns11643-7' to lisp/mule/chinese.el.
2931 (complex_vars_of_mule_charset): Likewise.
2933 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2935 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
2937 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
2938 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
2940 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2942 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
2944 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
2945 (breakup_char_1): Likewise.
2947 * text-coding.c (char_encode_iso2022): Keep designated charsets if
2948 one of them includes the specified character.
2950 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2952 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
2954 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2956 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
2958 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2960 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
2961 definition for non-UTF-2000 Mule.
2962 (latin_iso8859_3_to_ucs): Likewise.
2963 (latin_iso8859_4_to_ucs): Likewise.
2964 (latin_iso8859_9_to_ucs): Likewise.
2965 (latin_jisx0201_to_ucs): Likewise.
2966 (MIN_CHAR_THAI): Likewise.
2967 (MAX_CHAR_THAI): Likewise.
2968 (MIN_CHAR_GREEK): Likewise.
2969 (MAX_CHAR_GREEK): Likewise.
2970 (MIN_CHAR_HEBREW): Likewise.
2971 (MAX_CHAR_HEBREW): Likewise.
2972 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
2973 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
2974 (MIN_CHAR_CYRILLIC): Likewise.
2975 (MAX_CHAR_CYRILLIC): Likewise.
2977 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2979 * char-ucs.h (breakup_char_1): Use
2980 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
2981 thai-tis620 and katakana-jisx0201 area.
2983 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2985 * char-ucs.h (breakup_char_1): Use
2986 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
2989 * text-coding.c (reset_encoding_stream): Fixed.
2990 (char_encode_ucs4): Delete `& 255'.
2992 * char-ucs.h (breakup_char_1): Use
2993 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
2995 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2997 * file-coding.c (Fmake_coding_system): Don't set up
2998 `codesys->fixed.size'.
2999 (encode_coding_no_conversion): Don't refer
3000 `str->codesys->fixed.size'.
3002 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3004 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3005 (latin_a_char_to_byte1): Deleted.
3006 (latin_a_char_to_byte2): Deleted.
3008 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3010 * mule-charset.c (make_charset): Add new argument `ucs_min',
3011 `ucs_max' and `code_offset'.
3012 (charset_get_byte1): New implementation [delete specific charset
3013 depended implementations].
3014 (Fmake_charset): Modify for `make_charset'.
3015 (Fmake_reverse_direction_charset): Likewise.
3016 (complex_vars_of_mule_charset): Likewise.
3018 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3020 (CHARSET_UCS_MIN): New macro.
3021 (CHARSET_UCS_MAX): New macro.
3022 (CHARSET_CODE_OFFSET): New macro.
3023 (MAKE_CHAR): Delete charset depended definitions [except
3026 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3028 * char-ucs.h (breakup_char_1): Use
3029 `Vdefault_coded_charset_priority_list' for C0-Controls,
3030 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3032 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3034 * char-ucs.h (charset_get_byte1): New function.
3035 (XCHARSET_GET_BYTE1): Deleted.
3036 (charset_get_byte2): New function.
3037 (XCHARSET_GET_BYTE2): Deleted.
3038 (Vdefault_coded_charset_priority_list): New external variable.
3039 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3040 `Vdefault_preferred_coded_charset_list'.
3042 * mule-charset.c (charset_get_byte1): New function.
3043 (charset_get_byte2): New function.
3044 (Vdefault_coded_charset_priority_list): New variable.
3045 (vars_of_mule_charset): Add new variable
3046 `default-coded-charset-priority-list'.
3048 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3050 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3051 (XCHARSET_GET_BYTE2): New inline function.
3052 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3053 `XCHARSET_GET_BYTE2'.
3055 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3057 * mule-charset.c (make_charset): Initialize
3058 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3059 NULL if table is not defined.
3061 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3063 * text-coding.c (char_encode_shift_jis): Use
3064 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3065 `ucs_to_latin_jisx0201'.
3067 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3068 (ucs_to_latin_iso8859_2): Deleted.
3069 (ucs_to_latin_iso8859_3): Deleted.
3070 (ucs_to_latin_iso8859_4): Deleted.
3071 (ucs_to_latin_iso8859_9): Deleted.
3072 (ucs_to_latin_viscii_lower): Deleted.
3073 (ucs_to_latin_viscii_upper): Deleted.
3074 (ucs_to_latin_tcvn5712): Deleted.
3075 (make_charset): Add new argument `decoding_table'; set up
3076 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3077 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3078 `decoding_table' is defined in UTF-2000.
3079 (Fmake_charset): Modify for `make_charset'.
3080 (Fmake_reverse_direction_charset): Likewise.
3081 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3082 and `GENERATE_96_SET'.
3084 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3085 (ucs_to_latin_jisx0201): Deleted.
3086 (latin_iso8859_2_to_ucs): Deleted.
3087 (ucs_to_latin_iso8859_2): Deleted.
3088 (latin_iso8859_3_to_ucs): Deleted.
3089 (ucs_to_latin_iso8859_3): Deleted.
3090 (latin_iso8859_4_to_ucs): Deleted.
3091 (ucs_to_latin_iso8859_4): Deleted.
3092 (latin_iso8859_9_to_ucs): Deleted.
3093 (ucs_to_latin_iso8859_9): Deleted.
3094 (latin_viscii_lower_to_ucs): Deleted.
3095 (ucs_to_latin_viscii_lower): Deleted.
3096 (latin_viscii_upper_to_ucs): Deleted.
3097 (ucs_to_latin_viscii_upper): Deleted.
3098 (struct Lisp_Charset): Renamed `encoding_table' to
3099 `to_byte1_table'; add `to_byte2_table'.
3100 (CHARSET_DECODING_TABLE): New macro.
3101 (CHARSET_TO_BYTE1_TABLE): New macro.
3102 (CHARSET_TO_BYTE2_TABLE): New macro.
3103 (XCHARSET_DECODING_TABLE): New macro.
3104 (XCHARSET_TO_BYTE1_TABLE): New macro.
3105 (XCHARSET_TO_BYTE2_TABLE): New macro.
3106 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3108 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3109 don't use `ucs_to_*' tables.
3111 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3113 * text-coding.c (Fmake_coding_system): Don't set up
3114 `codesys->fixed.size'.
3115 (encode_coding_no_conversion): Use `if' instead of `switch'.
3117 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3119 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3121 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3122 (Fmake_charset): Modify for `make_charset'.
3123 (Fmake_reverse_direction_charset): Likewise.
3124 (complex_vars_of_mule_charset): Likewise.
3126 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3128 * text-coding.c (char_encode_shift_jis): Use table
3129 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3131 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3133 * text-coding.c (text_encode_generic): Use `if' instead of
3135 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3138 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3140 * text-coding.c (encode_coding_sjis): Deleted.
3141 (char_encode_shift_jis): New function.
3142 (char_finish_shift_jis): New function.
3143 (reset_encoding_stream): Set up `encode_char' and `finish' for
3144 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3145 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3146 (char_encode_utf8): Treat `eol_type'.
3148 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3150 * file-coding.c (decode_coding_iso2022): Use
3151 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3153 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3155 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3158 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3160 * char-lb.h (CHAR_COLUMNS): New macro.
3162 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3164 * text-coding.c (char_encode_ucs4): New function.
3165 (char_finish_ucs4): New function.
3166 (encode_coding_ucs4): Deleted.
3167 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3168 (text_encode_generic): Delete local variable `charset' and `half'.
3169 (ucs_to_mule_table): Deleted.
3170 (mule_to_ucs_table): Deleted.
3171 (Fset_ucs_char): Deleted.
3172 (ucs_to_char): Deleted.
3173 (Fucs_char): Deleted.
3174 (Fset_char_ucs): Deleted.
3175 (Fchar_ucs): Deleted.
3176 (decode_ucs4): Deleted.
3177 (mule_char_to_ucs4): Deleted.
3178 (encode_ucs4): Deleted.
3179 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3180 (decode_coding_utf8): Likewise.
3181 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3182 (char_encode_iso2022): Fixed.
3183 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3184 `Fset_char_ucs' and `Fchar_ucs'.
3185 (complex_vars_of_file_coding): Don't initialize
3186 `ucs_to_mule_table'.
3188 * objects-tty.c (tty_initialize_font_instance): Don't use
3191 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3194 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3195 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3197 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3198 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3199 (emchar_string_displayed_columns): Likewise.
3201 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3202 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3203 (string_column_at_point): Likewise.
3204 (Fmove_to_column): Likewise.
3206 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3207 `encoding_table' and `decoding_table'.
3208 (CHARSET_REP_BYTES): Deleted.
3209 (XCHARSET_REP_BYTES): Deleted.
3210 (XCHARSET_COLUMNS): Deleted.
3211 (CHAR_COLUMNS): New macro.
3212 (lookup_composite_char): Deleted unconditionally.
3213 (composite_char_string): Likewise.
3215 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3217 * char-ucs.h (Emchar_to_byte_table): New type.
3218 (get_byte_from_character_table): New function interface.
3219 (Vcharset_latin_jisx0201): New variable.
3220 (latin_jisx0201_to_ucs): New variable.
3221 (ucs_to_latin_jisx0201): New variable.
3222 (Vcharset_latin_iso8859_2): New variable.
3223 (latin_iso8859_2_to_ucs): New variable.
3224 (ucs_to_latin_iso8859_2): New variable.
3225 (Vcharset_latin_iso8859_3): New variable.
3226 (latin_iso8859_3_to_ucs): New variable.
3227 (ucs_to_latin_iso8859_3): New variable.
3228 (Vcharset_latin_iso8859_4): New variable.
3229 (latin_iso8859_4_to_ucs): New variable.
3230 (ucs_to_latin_iso8859_4): New variable.
3231 (Vcharset_latin_iso8859_9): New variable.
3232 (latin_iso8859_9_to_ucs): New variable.
3233 (ucs_to_latin_iso8859_9): New variable.
3234 (Vcharset_latin_viscii_lower): New variable.
3235 (latin_viscii_lower_to_ucs): New variable.
3236 (ucs_to_latin_viscii_lower): New variable.
3237 (Vcharset_latin_viscii_upper): New variable.
3238 (latin_viscii_upper_to_ucs): New variable.
3239 (ucs_to_latin_viscii_upper): New variable.
3240 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3241 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3242 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3243 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3244 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3245 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3246 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3247 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3248 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3249 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3251 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3252 (Vcharset_latin_viscii_upper): New variable.
3253 (make_byte_from_character_table): New function.
3254 (put_byte_from_character_table): New function.
3255 (get_byte_from_character_table): New function.
3256 (CHAR96): New macro.
3257 (ucs_to_latin_jisx0201): New variable.
3258 (latin_jisx0201_to_ucs): New variable.
3259 (ucs_to_latin_iso8859_2): New variable.
3260 (latin_iso8859_2_to_ucs): New variable.
3261 (ucs_to_latin_iso8859_3): New variable.
3262 (latin_iso8859_3_to_ucs): New variable.
3263 (ucs_to_latin_iso8859_4): New variable.
3264 (latin_iso8859_4_to_ucs): New variable.
3265 (ucs_to_latin_iso8859_9): New variable.
3266 (latin_iso8859_9_to_ucs): New variable.
3267 (ucs_to_latin_viscii_lower): New variable.
3268 (latin_viscii_lower_to_ucs): New variable.
3269 (ucs_to_latin_viscii_upper): New variable.
3270 (latin_viscii_upper_to_ucs): New variable.
3271 (ucs_to_latin_tcvn5712): New variable.
3272 (latin_tcvn5712_to_ucs): New variable.
3273 (Qlatin_viscii_lower): New variable.
3274 (Qlatin_viscii_upper): New variable.
3275 (syms_of_mule_charset): Set up new symbol
3276 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3277 (complex_vars_of_mule_charset): Set up new charset
3278 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3279 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3280 `ucs_to_<CHARSET>' tables.
3282 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3284 * text-coding.c: New file.
3286 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3288 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3290 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3291 (MAKE_CHAR): Modify for `ucs-bmp'.
3292 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3293 non-MULE characters of BMP.
3295 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3297 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3300 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3303 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3304 - Include character.h for `CHAR_ASCII_P'.
3306 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3308 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3309 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3311 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3312 (BYTE_C0_P): Likewise.
3313 (BYTE_C1_P): Likewise.
3314 (Lstream_get_emchar_1): Likewise.
3315 (Lstream_fput_emchar): Likewise.
3316 (Lstream_funget_emchar): Likewise.
3317 (copy_internal_to_external): Likewise.
3318 (copy_external_to_internal): Likewise.
3320 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3321 (BYTE_C0_P): Likewise.
3322 (BYTE_C1_P): Likewise.
3323 (Lstream_get_emchar_1): Likewise.
3324 (Lstream_fput_emchar): Likewise.
3325 (Lstream_funget_emchar): Likewise.
3326 (copy_internal_to_external): Likewise.
3327 (copy_external_to_internal): Likewise.
3329 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3330 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3332 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3333 (BYTE_ASCII_P): Moved to mb-1byte.h.
3335 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3337 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3339 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3340 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3341 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3342 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3343 (VALIDATE_CHARPTR_FORWARD): Likewise.
3344 (simple_charptr_emchar): Moved to mb-multibyte.h.
3345 (simple_set_charptr_emchar): Likewise.
3346 (simple_charptr_copy_char): Likewise.
3347 (non_ascii_charptr_emchar): Likewise.
3348 (non_ascii_set_charptr_emchar): Likewise.
3349 (non_ascii_charptr_copy_char): Likewise.
3350 (charptr_emchar): Moved to mb-*byte.h.
3351 (set_charptr_emchar): Likewise.
3352 (charptr_copy_char): Likewise.
3354 * mb-1byte.h, mb-multibyte.h: New files.
3356 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3358 * mb-utf-8.h (MULTIBYTE): New macro.
3359 (MAX_EMCHAR_LEN): Moved from buffer.h.
3360 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3362 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3364 * mb-lb.h, multibyte.h: New files.
3366 * char-1byte.h (Charset_ID): Moved from buffer.h.
3367 (MIN_LEADING_BYTE): Likewise.
3368 (LEADING_BYTE_ASCII): Likewise.
3369 (NUM_LEADING_BYTES): Likewise.
3370 (CHARSETP): Likewise.
3371 (CHARSET_BY_LEADING_BYTE): Likewise.
3372 (XCHARSET_LEADING_BYTE): Likewise.
3373 (XCHARSET_GRAPHIC): Likewise.
3374 (XCHARSET_COLUMNS): Likewise.
3375 (XCHARSET_DIMENSION): Likewise.
3376 (CHAR_CHARSET): Likewise.
3377 (CHAR_LEADING_BYTE): Likewise.
3378 (BREAKUP_CHAR): Likewise.
3379 (Vcharset_ascii): Likewise.
3381 * buffer.h: Include multibyte.h unconditionally.
3382 (VALID_CHARPTR_P): Moved to multibyte.h.
3383 (ASSERT_VALID_CHARPTR): Likewise.
3384 (REAL_INC_CHARPTR): Likewise.
3385 (REAL_INC_CHARBYTIND): Likewise.
3386 (REAL_DEC_CHARPTR): Likewise.
3387 (INC_CHARPTR): Likewise.
3388 (INC_CHARBYTIND): Likewise.
3389 (DEC_CHARPTR): Likewise.
3390 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3391 (VALIDATE_CHARPTR_FORWARD): Likewise.
3392 (charptr_n_addr): Likewise.
3393 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3394 (simple_charptr_emchar): Moved to multibyte.h.
3395 (simple_set_charptr_emchar): Likewise.
3396 (simple_charptr_copy_char): Likewise.
3397 (non_ascii_charptr_emchar): Likewise.
3398 (non_ascii_set_charptr_emchar): Likewise.
3399 (non_ascii_charptr_copy_char): Likewise.
3400 (charptr_emchar): Likewise.
3401 (set_charptr_emchar): Likewise.
3402 (charptr_copy_char): Likewise.
3403 (charptr_emchar_n): Likewise.
3404 (Charset_ID): Moved to char-1byte.h.
3405 (Vcharset_ascii): Likewise.
3406 (CHAR_CHARSET): Likewise.
3407 (CHAR_LEADING_BYTE): Likewise.
3408 (LEADING_BYTE_ASCII): Likewise.
3409 (NUM_LEADING_BYTES): Likewise.
3410 (MIN_LEADING_BYTE): Likewise.
3411 (CHARSETP): Likewise.
3412 (CHARSET_BY_LEADING_BYTE): Likewise.
3413 (XCHARSET_LEADING_BYTE): Likewise.
3414 (XCHARSET_GRAPHIC): Likewise.
3415 (XCHARSET_COLUMNS): Likewise.
3416 (XCHARSET_DIMENSION): Likewise.
3417 (BREAKUP_CHAR): Likewise.
3419 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3421 * character.h: Add document about interface for characters.
3423 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3424 (MAKE_CHAR): Delete comment about
3425 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3426 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3427 (BREAKUP_CHAR): Modify name of arguments.
3428 (CHAR_CHARSET): Modify name of argument.
3430 * buffer.h: Delete document about Emchar accessors.
3432 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3434 * character.h (CHAR_INTP): Moved from buffer.h
3435 (CHAR_OR_CHAR_INTP): Likewise.
3436 (XCHAR_OR_CHAR_INT): Likewise.
3437 (CHECK_CHAR_COERCE_INT): Likewise.
3439 * buffer.h (CHAR_INTP): Moved to character.h
3440 (CHAR_OR_CHAR_INTP): Likewise.
3441 (XCHAR_OR_CHAR_INT): Likewise.
3442 (CHECK_CHAR_COERCE_INT): Likewise.
3444 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3447 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3448 - Include char-1byte.h, char-lb.h or char-ucs.h.
3450 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3452 * buffer.h: Include character unconditionally.
3453 (valid_char_p): Moved to char-*.h.
3454 (non_ascii_valid_char_p): Moved to char-lb.h.
3456 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3458 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3460 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3461 in UTF-2000 because it is not ported yet and not to use
3462 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3463 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3464 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3466 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3467 (CHAR_ASCII_P): Moved from character.h.
3469 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3470 (CHAR_ASCII_P): Likewise.
3471 (CHAR_FIELD1_MASK): Deleted.
3472 (CHAR_FIELD2_MASK): Deleted.
3473 (CHAR_FIELD3_MASK): Deleted.
3474 (MAX_CHAR_BASIC_LATIN): New macro.
3475 (CHAR_FIELD1): Deleted.
3476 (CHAR_FIELD2_INTERNAL): Deleted.
3477 (CHAR_FIELD3_INTERNAL): Deleted.
3478 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3479 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3480 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3481 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3482 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3483 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3484 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3485 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3486 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3487 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3488 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3489 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3490 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3491 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3492 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3493 (MIN_CHAR_COMPOSITION): Deleted.
3494 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3495 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3497 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3499 * buffer.h: Include mb-utf-8.h in UTF-2000.
3501 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3503 * mb-utf-8.h: New file.
3505 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3507 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3510 * mule-charset.h, buffer.h (Charset_ID): New type.
3512 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3514 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3515 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3516 instead of `MULE_CHAR_PRIVATE_OFFSET',
3517 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3518 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3519 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3521 * character.h (Vcharset_japanese_jisx0212): New variable
3524 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3526 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3527 (charset_by_attributes): Delete array about direction.
3528 (latin_a_char_to_charset): New variable in UTF-2000.
3529 (latin_a_char_to_byte1): New variable in UTF-2000.
3530 (latin_a_char_to_byte2): New variable in UTF-2000.
3531 (Qucs_bmp): New variable.
3532 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3534 (next_allocated_2_byte_leading_byte): Likewise.
3535 (non_ascii_set_charptr_emchar): Likewise.
3536 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3537 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3538 `charset_by_attributes'.
3539 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3540 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3541 and `CHARSET_BY_LEADING_BYTE'.
3542 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3543 `utf-2000-version' to `vars_of_mule_charset'.
3544 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3545 define `leading-code-private-11' in UTF-2000; move setting of
3546 `utf-2000-version' from `syms_of_mule_charset'.
3547 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3550 * character.h (Charset_ID): New type.
3551 (LEADING_BYTE_UCS_BMP): New macro.
3552 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3553 (CHARSET_ID_OFFSET_94): New macro.
3554 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3555 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3556 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3558 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3559 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3560 (CHARSET_ID_OFFSET_96): New macro.
3561 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3562 CHARSET_ID_OFFSET_96 and final-byte.
3563 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3564 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3565 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3566 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3567 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3568 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3569 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3570 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3571 (LEADING_BYTE_THAI_TIS620): Likewise.
3572 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3573 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3574 (CHARSET_ID_OFFSET_94x94): New macro.
3575 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3576 CHARSET_ID_OFFSET_94x94 and final-byte.
3577 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3578 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3579 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3580 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3581 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3582 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3583 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3584 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3585 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3586 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3587 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3588 (CHARSET_TYPE_128X128): New macro.
3589 (CHARSET_TYPE_256X256): New macro.
3590 (XCHARSET_PRIVATE_P): Delete unconditionally.
3591 (charset_by_attributes): Delete array about direction.
3592 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3593 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3594 (MIN_CHAR_94): New macro.
3595 (MAX_CHAR_94): New macro.
3596 (MIN_CHAR_96): New macro.
3597 (MAX_CHAR_96): New macro.
3598 (MIN_CHAR_94x94): New macro.
3599 (MAX_CHAR_94x94): New macro.
3600 (MIN_CHAR_96x96): New macro.
3601 (MAX_CHAR_96x96): New macro.
3602 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3603 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3604 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3606 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3607 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3608 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3609 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3610 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3611 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3612 `XCHARSET_LEADING_BYTE' to make code-point.
3613 (latin_a_char_to_charset): New variable.
3614 (latin_a_char_to_byte1): New variable.
3615 (latin_a_char_to_byte2): New variable.
3616 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3617 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3618 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3620 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3621 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3622 (find_charsets_in_emchar_string): Likewise.
3623 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3625 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3627 (decode_coding_iso2022): Likewise.
3629 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3632 * redisplay.c (redisplay_text_width_emchar_string): Use
3633 `Charset_ID' instead of `unsigned char'.
3634 (redisplay_frame_text_width_string): Likewise.
3636 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3639 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3640 instead of `unsigned char'.
3641 (face_cachel_charset_font_metric_info): Likewise.
3643 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3644 (get_non_ascii_char_table_value): Likewise.
3645 (get_char_table): Likewise.
3646 (put_char_table): Likewise.
3647 (map_over_other_charset): Likewise.
3648 (map_char_table): Likewise.
3650 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3651 instead of `unsigned char'.
3653 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3655 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3656 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3658 * mule-charset.c (leading_code_private_11): Don't define in
3661 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3662 in UTF-2000 because it is not ported yet and not to use
3663 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3665 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3667 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3669 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3671 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3674 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3675 of unsigned char to store leading-byte.
3677 * chartab.c (get_non_ascii_char_table_value): Don't use
3678 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3680 * file-coding.c (encode_coding_big5): Delete bogus implementation
3683 * character.h (LEADING_BYTE_*): Delete definition for
3685 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3686 (LEADING_BYTE_PREFIX_P): Deleted.
3687 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3688 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3689 (BUFBYTE_LEADING_BYTE_P): Deleted.
3690 (CHARSET_PRIVATE_P): Deleted unconditionally.
3691 (rep_bytes_by_first_byte): Deleted unconditionally.
3692 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3693 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3694 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3695 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3696 (CHAR_FIELD2): Deleted.
3697 (CHAR_FIELD3): Deleted.
3698 (MAKE_CHAR): Delete definition for non-UTF-2000.
3699 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3700 (breakup_char_1): New implementation.
3701 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
3702 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
3704 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3706 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3709 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3711 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3712 (CHARSET_PRIVATE_P): Likewise.
3713 (XCHARSET_PRIVATE_P): Likewise.
3714 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3716 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3718 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3720 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3722 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3723 (NUM_LEADING_BYTES): Changed from 128 to 256.
3724 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3725 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
3727 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3729 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
3731 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
3732 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
3733 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
3734 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
3735 (Qchinese_cns11643_3): New variable in UTF2000.
3736 (Qchinese_cns11643_4): New variable in UTF2000.
3737 (Qchinese_cns11643_5): New variable in UTF2000.
3738 (Qchinese_cns11643_6): New variable in UTF2000.
3739 (Qchinese_cns11643_7): New variable in UTF2000.
3740 (syms_of_mule_charset): Define `chinese-cns11643-3',
3741 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3742 and `chinese-cns11643-7' in UTF2000.
3743 (vars_of_mule_charset): Initialize
3744 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
3746 (complex_vars_of_mule_charset): Setup charset
3747 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
3748 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
3750 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3752 * mule-charset.c: Move setting for `leading-code-private-11' from
3753 `syms_of_mule_charset' to `vars_of_mule_charset'.
3755 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3757 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
3758 and `NUM_LEADING_BYTES' in assert.
3760 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3762 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
3764 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
3765 `NUM_LEADING_BYTES' instead of 128.
3767 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3769 * mule-charset.h (charset_by_leading_byte): Use
3770 `NUM_LEADING_BYTES' instead of 128.
3771 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
3773 * mule-charset.c (charset_by_leading_byte): Use
3774 `NUM_LEADING_BYTES' instead of 128.
3775 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
3777 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
3780 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3782 * mule-charset.c (syms_of_mule_charset): Update to
3785 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3787 * file-coding.c (encode_coding_sjis): New implementation for
3788 UTF2000. (decode_coding_sjis): Ditto.
3790 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3792 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
3793 Don't define in UTF2000.
3795 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
3798 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3799 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
3802 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3804 * config.h.in (CHAR_IS_UCS4): New macro.
3806 * mule-charset.c (rep_bytes_by_first_byte): Modify for
3807 conventional MULE representation.
3808 (syms_of_mule_charset): Update to 0.3 (Imamiya).
3810 * mule-charset.h: Reverted to original.
3812 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3813 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
3814 "mule-charset.h" if CHAR_IS_UCS4 is defined.
3816 * character.h: New file.
3818 * file-coding.c (Fmake_coding_system): Set 1 to
3819 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
3821 (encode_coding_no_conversion): New implementation for UTF2000.
3823 * file-coding.h (struct Lisp_Coding_System): Add new member
3826 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3828 * file-coding.c (decode_coding_iso2022): Code-point arguments of
3829 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
3830 (encode_coding_iso2022): New implementation for UTF2000.
3832 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3834 * mule-canna.c (c2mu): New implementation for UTF2000.
3837 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3839 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
3841 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3843 * file-coding.c (reset_encoding_stream): Set 0 to
3844 `str->iso2022.current_char_boundary' in UTF2000.
3845 (encode_utf8): Don't define in UTF2000.
3846 (encode_coding_utf8): New implementation for UTF-8 representation
3848 (complex_vars_of_file_coding): Define coding-system `utf-8'.
3850 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3852 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
3854 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
3856 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3858 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
3860 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
3861 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
3862 as UTF-8 in UTF2000.
3863 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
3864 (non_ascii_valid_char_p): Don't define in UTF2000.
3865 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
3866 (Lstream_get_emchar_1): Likewise.
3867 (utf-2000-version): New variable in UTF2000.
3869 * lread.c (read_escape): Add new reader `u'.
3871 * insdel.c (three_to_one_table): Don't define in UTF2000.
3872 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
3873 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3875 (bytind_to_bufpos_func): Likewise.
3876 (buffer_mule_signal_inserted_region): Likewise.
3877 (vars_of_insdel): Don't initialize `three_to_one_table'.
3878 (init_buffer_text): Use `buf->text->mule_size' instead of
3879 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3882 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
3883 UTF-8 representation in UTF2000.
3884 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
3885 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
3886 (decode_coding_iso2022): Don't define local variable `lb' in
3887 UTF2000; don't use LEADING_BYTE in UTF2000; use
3888 `DECODE_ADD_UCS_CHAR' in UTF2000.
3889 (convert_to_external_format): Decode as UTF-8 in UTF2000.
3891 * config.h.in (UTF2000): New macro.
3893 * buffer.h (struct buffer_text): Add new member `mule_size' and
3894 don't add `mule_shifter' and `mule_three_p' in UTF2000.
3895 (valid_char_p): Return always 1 in UTF2000.
3896 (MAX_EMCHAR_LEN): 6 in UTF2000.
3897 (three_to_one_table): Don't define in UTF2000.
3898 (real_bufpos_to_bytind): Modify for UTF-8 representation in
3900 (real_bytind_to_bufpos): Likewise.
3902 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
3904 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3906 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
3907 representation change.
3908 (Vutf_2000_version): New variable.
3909 (leading_code_private_11): New variable.
3910 (syms_of_mule_charset): Add new variables `utf-2000-version' and
3911 `leading-code-private-11'.
3913 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
3914 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
3915 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
3916 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
3917 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
3918 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
3919 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
3920 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
3921 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
3922 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
3923 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
3924 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
3925 (MIN_CHAR_GREEK): New macro.
3926 (MAX_CHAR_GREEK): New macro.
3927 (MIN_CHAR_CYRILLIC): New macro.
3928 (MAX_CHAR_CYRILLIC): New macro.
3929 (MIN_CHAR_HEBREW): New macro.
3930 (MAX_CHAR_HEBREW): New macro.
3931 (MIN_CHAR_THAI): New macro.
3932 (MAX_CHAR_THAI): New macro.
3933 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
3934 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
3935 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
3936 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
3937 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
3938 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
3939 (CHAR_FIELD2): New inline function.
3940 (CHAR_FIELD3): New inline function.
3941 (MULE_CHAR_PRIVATE_OFFSET): New macro.
3942 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
3943 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
3944 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
3945 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
3946 (MIN_CHAR_COMPOSITION): Likewise.
3947 (CHAR_LEADING_BYTE): Modified for character representation change.
3948 (MAKE_CHAR): Likewise.
3950 * lisp.h (Vcharset_latin_iso8859_1): New variable.
3951 (Vcharset_greek_iso8859_7): Likewise.
3952 (Vcharset_cyrillic_iso8859_5): Likewise.
3953 (Vcharset_hebrew_iso8859_8): Likewise.
3954 (Vcharset_thai_tis620): Likewise.
3955 (Vcharset_katakana_jisx0201): Likewise.
3957 2001-02-08 Martin Buchholz <martin@xemacs.org>
3959 * XEmacs 21.2.44 "Thalia" is released.
3961 2001-02-06 Martin Buchholz <martin@xemacs.org>
3963 Fixes crashes in kill-emacs on some systems.
3964 * process-unix.c (unix_kill_child_process):
3965 It's OK for kill() to fail with ESRCH.
3967 2001-02-07 Martin Buchholz <martin@xemacs.org>
3969 Contortions to make .gdbinit tricks work on most systems.
3970 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
3971 * alloc.c (dbg_valmask): Make non-const.
3972 * alloc.c (dbg_typemask): Make non-const.
3973 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
3974 * alloc.c (dbg_valbits): Make non-const.
3975 * alloc.c (dbg_gctypebits): Make non-const.
3976 * .gdbinit (decode_object): Make it work with AIX cc.
3978 2001-02-06 Martin Buchholz <martin@xemacs.org>
3980 * elhash.c (make_general_lisp_hash_table):
3981 Use simpler and more efficient calloc to clear entries.
3983 2001-02-07 Martin Buchholz <martin@xemacs.org>
3985 * window.c (window_scroll): Work around an AIX C compiler bug.
3986 Fixes 'scroll-up' does nothing problem with xlC.
3988 2001-02-05 Martin Buchholz <martin@xemacs.org>
3990 * .gdbinit: Remove obsolete comment.
3992 2001-01-31 Mike Alexander <mta@arbortext.com>
3994 * select.c (Fown_selection_internal): Set owned_p for device
3997 2001-02-01 Martin Buchholz <martin@xemacs.org>
4000 "not" cannot be used as a macro name as it is an operator in C++
4001 * config.h.in: Stop #defining `not'.
4002 * chartab.c (check_category_char): not ==> not_p
4003 * chartab.h: Likewise.
4004 * regex.c (re_match_2_internal): Likewise.
4006 2001-02-02 Martin Buchholz <martin@xemacs.org>
4008 * lisp-disunion.h: Fix up comments.
4010 2001-01-31 Martin Buchholz <martin@xemacs.org>
4012 * keymap.c (define_key_check_and_coerce_keysym):
4014 Support mouse-6 and mouse-7 bindings in the obvious way.
4016 2001-02-01 Martin Buchholz <martin@xemacs.org>
4018 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
4020 2001-01-30 Martin Buchholz <martin@xemacs.org>
4022 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
4023 Previous patch missed DEFVAR_INT_MAGIC.
4024 Make sure future DEFVAR_foo use correct types.
4025 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
4026 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
4027 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
4028 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
4029 * (DEFVAR_INT): Likewise.
4030 * redisplay.c (vertical_clip): Should be of type Fixnum.
4031 * redisplay.c (horizontal_clip): Likewise.
4032 * lisp.h (dump_add_opaque_int): New.
4033 (dump_add_opaque_fixnum): New.
4035 2001-01-29 Andy Piper <andy@xemacs.org>
4037 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4038 since they can be eval'ed
4040 2001-01-29 Martin Buchholz <martin@xemacs.org>
4042 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4043 Oops, XEmacs redefines `class'. Use `typename' instead.
4045 2001-01-28 Martin Buchholz <martin@xemacs.org>
4047 * dumper.c: Fix C++ compile errors.
4049 2001-01-29 Martin Buchholz <martin@xemacs.org>
4051 * tparam.c: Use correct prototypes.
4053 2001-01-28 Martin Buchholz <martin@xemacs.org>
4055 * sysproc.h: #include util.h for NetBSD's openpty.
4057 2001-01-27 Martin Buchholz <martin@xemacs.org>
4059 More 64-bit correctness.
4060 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4061 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4063 This finally finishes the 64-bit SGI port.
4064 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4065 * symbols.c: Fix up comments and type casts.
4066 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4067 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4068 * symeval.h (Fixnum): New type.
4069 * symeval.h (symbol_value_type): Fix up comment.
4085 * mule-canna.c: A million DEFVAR_INTs here...
4086 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4099 s/int/Fixnum/g in DEFVAR_INT declarations.
4101 2001-01-26 Martin Buchholz <martin@xemacs.org>
4103 Port pdump to SGI alignment-sensitive environment.
4104 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4105 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4107 Define and use aligned reading and writing macros.
4108 Use buffered stdio instead of posix i/o for faster dumping.
4109 Eliminate kludgy 256 byte space for header.
4110 Read and write from dump file using structs for alignment safety.
4111 * dumper.c (pdump_align_stream): New.
4112 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4113 * dumper.c (PDUMP_READ_ALIGNED): New.
4114 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4115 * dumper.c (pdump_static_Lisp_Object): New struct.
4116 * dumper.c (pdump_static_pointer): New struct.
4117 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4118 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4119 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4120 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4122 * dumper.c (pdump_backtrace):
4123 * dumper.c (pdump_get_indirect_count):
4124 * dumper.c (pdump_register_object):
4125 * dumper.c (pdump_register_struct):
4126 * dumper.c (pdump_reloc_one):
4127 * dumper.c (pdump_scan_by_alignment):
4128 * dumper.c (pdump_dump_from_root_struct_ptrs):
4129 * dumper.c (pdump_dump_opaques):
4130 * dumper.c (pdump_dump_rtables):
4131 * dumper.c (pdump_dump_from_root_objects):
4133 * dumper.c (pdump_load_finish):
4134 Use aligned reading and writing.
4136 * dumper.c (pdump_free): Make static.
4137 * dumper.c (pdump_hFile): Likewise.
4138 * dumper.c (pdump_hMap): Likewise.
4140 2001-01-26 Martin Buchholz <martin@xemacs.org>
4142 * XEmacs 21.2.43 "Terspichore" is released.
4144 2001-01-25 Martin Buchholz <martin@xemacs.org>
4146 Type fiddling for window_config.saved_windows_count
4147 * window.c (struct window_config):
4148 Make saved_windows_count member unsigned.
4149 * window.c (sizeof_window_config_for_n_windows):
4150 Make parameter unsigned.
4151 * window.c (mark_window_config):
4152 * window.c (window_config_equal):
4153 * window.c (free_window_configuration):
4154 * window.c (Fset_window_configuration):
4155 * window.c (count_windows):
4156 * window.c (Fcurrent_window_configuration):
4157 * window.c (reinit_vars_of_window):
4158 Update all callers and users.
4160 2001-01-25 Martin Buchholz <martin@xemacs.org>
4162 Alignment correctness for flexible arrays.
4163 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4164 Make alignment-correct. Add interesting comments.
4165 * alloc.c (size_vector):
4166 * alloc.c (make_vector_internal):
4167 * alloc.c (make_bit_vector_internal):
4168 * alloc.c (sweep_bit_vectors_1):
4169 * fns.c (size_bit_vector):
4170 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4171 * window.c (sizeof_window_config_for_n_windows):
4172 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4174 2001-01-24 Martin Buchholz <martin@xemacs.org>
4176 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4178 2001-01-23 Andy Piper <andy@xemacs.org>
4180 * select.c (Fown_selection_internal): pass owned_p
4182 * select-msw.c (mswindows_own_selection): New Signature.
4184 * console.h (struct console_methods): add owned_p to
4187 * select-x.c (x_own_selection): pass owned_p
4188 (hack_motif_clipboard_selection): use owned_p
4189 (vars_of_select_x): new variable -
4190 x_selection_strict_motif_ownership.
4192 2001-01-23 Martin Buchholz <martin@xemacs.org>
4194 * specifier.h (specifier_data_offset): Remove pointless parens.
4195 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4197 2001-01-24 Martin Buchholz <martin@xemacs.org>
4199 Make Lisp_Object sizeof methods be alignment-correct.
4200 pdump must restore objects to the same alignment as the C compiler
4201 assumes. It really matters on SGIs.
4202 * lstream.c (aligned_sizeof_lstream): New.
4203 (sizeof_lstream): Use aligned_sizeof_lstream.
4204 (Lstream_new): Likewise.
4205 * opaque.c (aligned_sizeof_opaque): New.
4206 (sizeof_opaque): Use aligned_sizeof_opaque.
4207 (make_opaque): Likewise.
4208 * specifier.c (aligned_sizeof_specifier): New.
4209 (sizeof_specifier): Use aligned_sizeof_specifier.
4210 (make_specifier_internal): Likewise.
4212 2001-01-23 Martin Buchholz <martin@xemacs.org>
4214 * lstream.h (struct lstream): Use max_align_t for trailing data.
4215 * specifier.h (struct Lisp_Specifier): Likewise.
4217 2001-01-22 Martin Buchholz <martin@xemacs.org>
4219 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4220 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4221 (CCL_SUSPEND): Likewise.
4222 (CCL_INVALID_CMD): Likewise.
4223 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4224 (ccl_driver): Likewise.
4225 (CCL_WRITE_CHAR): Macro hygiene.
4226 (CCL_WRITE_STRING): Macro hygiene.
4228 2001-01-22 Martin Buchholz <martin@xemacs.org>
4230 Port "portable" dumper to SunOS 4 and HP-UX.
4231 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4232 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4233 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4235 2001-01-22 Martin Buchholz <martin@xemacs.org>
4237 * lisp.h (ALIGNOF): A better definition for C++.
4239 2001-01-20 Martin Buchholz <martin@xemacs.org>
4242 Fix printf warnings: int format, long int arg.
4243 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4244 (PUSH_FAILURE_POINT): Use correct printf formats.
4245 (POP_FAILURE_POINT): Use correct printf formats.
4246 Use do {...} while (0)
4248 2001-01-20 Martin Buchholz <martin@xemacs.org>
4250 * XEmacs 21.2.42 "Poseidon" is released.
4252 2001-01-20 Martin Buchholz <martin@xemacs.org>
4254 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4256 2001-01-19 Martin Buchholz <martin@xemacs.org>
4258 De-kludgify FIXED_TYPE free list frobbing.
4259 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4260 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4261 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4262 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4263 * alloc.c (LRECORD_FREE_P): New.
4264 * alloc.c (MARK_LRECORD_AS_FREE): New.
4265 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4266 * alloc.c (STRUCT_FREE_P): Deleted.
4267 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4268 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4269 * alloc.c (STRING_CHARS_FREE_P): New.
4270 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4271 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4272 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4273 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4274 * alloc.c (resize_string): Use new definitions.
4275 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4276 * alloc.c (verify_string_chars_integrity): Use new definitions.
4277 * alloc.c (compact_string_chars): Use new definitions.
4278 * alloc.c: Update monster comments.
4279 * lrecord.h (lrecord_type): Add some new lrecord types for
4282 2001-01-18 Martin Buchholz <martin@xemacs.org>
4284 Improve alignment hackery.
4285 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4286 (max_align_t): Moved from opaque.h - general purpose.
4287 (ALIGN_PTR): Use size_t, not long.
4288 * opaque.h (max_align_t): Move to lisp.h.
4290 2001-01-18 Norbert Koch <nk@LF.net>
4292 * gui.h: Fix and add prototypes to fix build problems.
4294 2001-01-18 Martin Buchholz <martin@xemacs.org>
4296 temacs is going away, so `dump-temacs' is now a bad name.
4297 * .dbxrc (dump-temacs): Rename to `dmp'.
4298 * .gdbinit (dump-temacs): Rename to `dmp'.
4300 2001-01-17 Andy Piper <andy@xemacs.org>
4302 * glyphs.c (print_image_instance): comment to make martin happy.
4304 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4307 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4309 (mswindows_tab_control_redisplay): warning suppression.
4311 * glyphs-widget.c (widget_update): re-write to cope with updated
4313 (widget_instantiate): use new gui_item functions.
4314 (tab_control_update): deleted.
4315 (progress_gauge_update): deleted.
4316 (image_instantiator_progress_guage): take out update reference.
4317 (image_instantiator_tree_view): ditto.
4318 (image_instantiator_tab_control): ditto.
4320 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4322 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4323 return whether anything was changed.
4324 (update_gui_item_keywords): as it sounds.
4326 * gui.h: declare widget_gui_parse_item_keywords.
4328 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4329 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4331 2001-01-17 Martin Buchholz <martin@xemacs.org>
4333 * XEmacs 21.2.41 "Polyhymnia" is released.
4335 2001-01-16 Didier Verna <didier@xemacs.org>
4337 * glyphs.c (image_instantiate): don't use fallbacks when
4338 instantiating a face's background pixmap by inheritance.
4340 2001-01-14 Mike Sperber <mike@xemacs.org>
4342 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4343 Conditionalize accordingly.
4345 2001-01-16 Martin Buchholz <martin@xemacs.org>
4347 * dumper.c (pdump_file_get): Fix a compiler warning.
4349 2001-01-15 Martin Buchholz <martin@xemacs.org>
4351 Make Purify happy when pdumping.
4352 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4353 iniitalizing all bits of new lisp object memory.
4354 * symbols.c (Fmake_local_variable): Likewise.
4355 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4356 * symbols.c (Fdefvaralias): Likewise.
4357 * mule-charset.c (vars_of_mule_charset): Likewise.
4359 2001-01-15 Martin Buchholz <martin@xemacs.org>
4360 Add the `-nd' flag when running pre-dump operations under the debugger.
4361 * .dbxrc (run-temacs): Add `-nd'.
4362 * .dbxrc (update-elc): Likewise.
4363 * .dbxrc (dump-temacs): Likewise.
4364 * .gdbinit (run-temacs): Likewise.
4365 * .gdbinit (check-temacs): Likewise.
4366 * .gdbinit (update-elc): Likewise.
4367 * .gdbinit (dump-temacs): Likewise.
4369 2001-01-14 Martin Buchholz <martin@xemacs.org>
4371 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4372 export OBJECT_MODE=64
4373 configure --pdump --use-union-type=no
4374 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4375 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4377 * miscplay.c (sndcnv8U_2mono):
4378 Avoid two uses of `++' in the same expression.
4379 Suppresses a GCC warning.
4381 2001-01-13 Martin Buchholz <martin@xemacs.org>
4383 Make sure future compilers don't miscompile alloc.c.
4385 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4386 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4388 2001-01-12 Martin Buchholz <martin@xemacs.org>
4390 * dumper.c: A little post-pdump-rename comment fixup.
4392 2001-01-09 Jerry James <james@eecs.ku.edu>
4394 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4396 2001-01-13 Martin Buchholz <martin@xemacs.org>
4398 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4402 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4405 replace_symbol pdump_wire_lists pdump_weak_object_chains
4406 replace_symbol pdump_wire_list dump_add_weak_object_chain
4408 replace_symbol pdump_wires pdump_root_objects
4409 replace_symbol pdump_wire dump_add_root_object
4411 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4412 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4414 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4415 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4416 replace_symbol dumpstructinfo pdump_root_struct_ptr
4417 replace_symbol dumpstruct dump_add_root_struct_ptr
4419 replace_symbol dumpopaque dump_add_opaque
4420 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4421 replace_symbol dumpopaqueinfos pdump_opaques
4422 replace_symbol dumpopaqueinfo pdump_opaque
4424 replace_symbol nb_structdump nb_root_struct_ptrs
4425 replace_symbol nb_opaquedump nb_opaques
4427 replace_symbol align_table pdump_align_table
4428 replace_symbol dump_header pdump_header
4430 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4431 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4434 2001-01-12 Martin Buchholz <martin@xemacs.org>
4436 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4437 optimizing bytecount_to_charcount().
4439 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4442 (HAVE_DLFCN_H): Removed.
4443 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4445 2001-01-06 Martin Buchholz <martin@xemacs.org>
4447 Portable dumper maintainability improvements.
4448 * alloc.c (staticpro):
4449 * alloc.c (staticpro_nodump):
4450 * alloc.c (garbage_collect_1):
4451 * alloc.c (reinit_alloc_once_early):
4452 * alloc.c (init_alloc_once_early):
4453 * alloc.c: Move dumper functions to alloc.c.
4454 * dumper.c (pdump_backtrace):
4455 * dumper.c (pdump_dump_structs):
4456 * dumper.c (pdump_dump_opaques):
4457 * dumper.c (pdump_dump_rtables):
4458 * dumper.c (pdump_dump_wired):
4460 * dumper.c (pdump_load_check):
4461 * dumper.c (pdump_load_finish):
4462 * dumper.c (pdump_file_unmap):
4463 * dumper.c (pdump_file_get):
4464 * dumper.c (pdump_resource_free):
4465 * dumper.c (pdump_resource_get):
4466 * dumper.c (pdump_file_free):
4467 * dumper.c (pdump_file_try):
4468 * dumper.c (pdump_load):
4469 Remove fixed size limits on staticpro(), staticpro_nodump(),
4470 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4471 Remove custom code for dumping lrecord_implementations_table - use
4473 Remove (most of the) custom code for dumping staticpros - dump it
4474 like any other dynarr.
4476 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4477 * dumper.c: Moved functions from alloc.c.
4478 * alloc.c (dumpstruct): Moved to dumper.c.
4479 * alloc.c (dumpopaque): Likewise.
4480 * alloc.c (pdump_wire): Likewise.
4481 * alloc.c (pdump_wire_list): Likewise.
4483 * lisp.h (Dynarr_sizeof): New.
4484 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4485 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4486 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4488 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4489 * lisp.h (dumpopaque): ditto.
4490 * lisp.h (pdump_wire): ditto.
4491 * lisp.h (pdump_wire_list): ditto.
4493 2001-01-09 Martin Buchholz <martin@xemacs.org>
4495 * make-src-depend (PrintPatternDeps):
4496 Use `sort' to make output independent of perl version.
4498 2001-01-08 Martin Buchholz <martin@xemacs.org>
4501 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4502 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4504 2001-01-03 Didier Verna <didier@xemacs.org>
4506 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4507 that `focus_frame' is alive before thinking of calling
4508 `redisplay_redraw_cursor' on it.
4510 2001-01-08 Martin Buchholz <martin@xemacs.org>
4512 * XEmacs 21.2.40 is released.
4514 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4516 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4518 2001-01-06 Martin Buchholz <martin@xemacs.org>
4520 * alloc.c (dbg_valmask): Make const.
4521 * alloc.c (dbg_typemask): Make const.
4522 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4523 * alloc.c (dbg_valbits): Make const.
4524 * alloc.c (dbg_gctypebits): Make const.
4526 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4528 * redisplay-x.c (x_bevel_area):
4529 redisplay.h (struct rune):
4530 Typo fixes in comments.
4532 2001-01-05 Andy Piper <andy@xemacs.org>
4534 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4537 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4539 2001-01-05 Martin Buchholz <martin@xemacs.org>
4541 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4543 * mule-ccl.c (stack_idx_of_map_multiple):
4544 Non const global data must not be initialized!
4545 Found by MIYASHITA Hisashi.
4547 2001-01-02 Andy Piper <andy@xemacs.org>
4549 * frame.c (change_frame_size): make sure frame size is always
4552 * glyphs.c (image_instance_layout): minor code reuse.
4554 * window.c (Fcurrent_window_configuration): revert previous
4557 2001-01-02 Martin Buchholz <martin@xemacs.org>
4560 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4562 2000-12-31 Andy Piper <andy@xemacs.org>
4564 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4565 when widget gets unmapped.
4567 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4568 function. Make sure widgets losing focus don't just drop it.
4569 (handle_focus_event_1): record the widget with focus.
4571 2000-12-31 Andy Piper <andy@xemacs.org>
4573 * window.c (allocate_window): use
4574 make_image_instance_cache_hash_table.
4575 (make_dummy_parent): ditto.
4576 (Fset_window_configuration): ditto.
4578 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4580 * glyphs.c (process_image_string_instantiator): use
4582 (get_image_instantiator_governing_domain): ditto.
4583 (normalize_image_instantiator): ditto.
4584 (instantiate_image_instantiator): ditto.
4585 (make_image_instance_1): ditto.
4586 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4587 (instantiator_eq_equal): new function for use with instance hash
4589 (instantiator_eq_hash): ditto.
4590 (make_image_instance_cache_hash_table): create a suitable hash
4591 table for storing image instances.
4593 * elhash.h (hash_table_weakness): new internal weakness type
4594 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4595 declare new functions.
4597 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4598 another weakness type for glyphs.
4599 (make_standard_lisp_hash_table): new function split out from
4600 make_general_lisp_hash_table.
4601 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4602 (hash_table_instantiate): ditto.
4603 (Fmake_hash_table): ditto.
4605 2000-12-31 Martin Buchholz <martin@xemacs.org>
4607 * XEmacs 21.2.39 is released.
4609 2000-12-29 Andy Piper <andy@xemacs.org>
4611 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4613 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4614 the frame has changed so that we pick up geometry changes such as
4617 2000-12-28 Andy Piper <andy@xemacs.org>
4619 * lastfile.c (my_ebss): make a char array so we can pad the
4620 bss. Fixes cygwin unexec.
4622 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4624 2000-12-26 Andy Piper <andy@xemacs.org>
4626 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
4627 comments and try and be more precise about a non-/SIGIO world.
4628 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
4631 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
4632 we don't normalize to zero width or height.
4634 2000-12-24 Andy Piper <andy@xemacs.org>
4636 * Makefile.in.in (ldflags): add -mwindows when appropriate.
4638 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
4640 * s/sco5.h: SCO 5 has pty support.
4642 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
4644 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
4645 input-method-xlib.c contains whole contents of input-method-xfs.c,
4646 so we can use input-method-xlib.c's code for USE_XFONTSET
4648 * input-method-xfs.c: removed.
4650 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
4652 * file-coding.h (enum coding_category_type): reorder enumerators to
4653 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
4654 (now one greater than largest real coding_category_type enumerator).
4655 * file-coding.c (coding_category_symbol, coding_category_by_priority,
4656 coding_category_system, fcd_descriptihon_1, decode_coding_category,
4657 Fcoding_category_list, Fset_coding_priority_list,
4658 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
4659 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
4661 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4663 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
4664 * redisplay-output.c (redisplay_output_window): Clear top of window
4665 when face is changed.
4666 * redisplay-x.c (x_redraw_exposed_window): Call
4667 redisplay_clear_top_of_window.
4668 * redisplay.h: Publish redisplay_clear_top_of_window.
4670 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4672 * buffer.c (Fkill_buffer): Map over all devices.
4673 * window.c (window_loop): Remove UNSHOW_BUFFER code.
4674 (list_windows): New function.
4675 (list_all_windows): Ditto.
4676 (Freplace_buffer_in_windows): Use them.
4678 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4680 * database.c (berkdb_subtype): Recognize new subtype `queue'.
4681 (Fopen_database): Use `db_create' instead of `db_open'.
4682 (syms_of_database): Initialize Qqueue.
4684 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4686 * buffer.c (common_init_complex_vars_of_buffer): Initialize
4687 buffer_local_face_property.
4688 * buffer.h (struct buffer): New member buffer_local_face_property.
4689 * window.c (Fset_window_buffer): Mark window's face as changed
4690 when buffer has buffer local face.
4691 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
4692 * objects.c (color_after_change): Set buffer_local_face_property
4693 when locale of face specifier is buffer.
4694 * objects.c (font_after_change): Ditto.
4695 * objects.c (face_boolean_after_change): Ditto.
4696 * glyphs.c (image_after_change): Ditto.
4698 2000-12-09 Dan Holmsand <dan@eyebee.com>
4700 * nt.c (mswindows_fstat): Report file permissions, volume serial
4701 number, etc. Code adapted from FSF Emacs 20.7.
4703 2000-12-09 Dan Holmsand <dan@eyebee.com>
4705 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
4706 of stat when we don't have symbolic links, to make sure
4707 mswindows_stat is called on mswindows.
4709 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
4711 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
4713 2000-12-12 Martin Buchholz <martin@xemacs.org>
4715 * doprnt.c (emacs_doprnt_1): More printing fixes.
4716 Make printing of numbers compatible with libc and FSF Emacs.
4717 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
4718 Use the system printf to do most of the hard work of formatting,
4719 instead of doprnt_1().
4720 Calculate memory to allocate for format string.
4721 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
4722 (doprnt_1): Cleaner code and documentation.
4724 2000-12-01 Jerry James <james@eecs.ukans.edu>
4726 * Makefile.in.in: Use the loop variable to install headers.
4728 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4730 * window.c (Fsplit_window): Don't invalidate face cache.
4732 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4734 * minibuf.c (Fall_completions): Undo the previous change
4735 which removed checking elements start with space.
4737 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4739 * mule-canna.c: Didier suppression.
4741 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4743 * mule-canna.c: rename static unsigned char buf[] to key_buffer
4744 (warning suppression). Add English comment translations.
4746 2000-12-05 Martin Buchholz <martin@xemacs.org>
4748 * unexelfsgi.c (unexec): Better test for mmap failure.
4750 2000-12-05 Martin Buchholz <martin@xemacs.org>
4752 * XEmacs 21.2.38 is released.
4754 2000-12-05 Martin Buchholz <martin@xemacs.org>
4756 * redisplay.c (bar-cursor): Make a user variable.
4758 * symsinit.h: Add init_postgresql_from_environment.
4760 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4762 * regex.c: Convert to clean C.
4764 2000-12-05 Dan Holmsand <dan@eyebee.com>
4767 Don't #include sysfile.h. Revert to duplicating PATH_MAX
4769 (sys_readlink): renamed to system_readlink to avoid conflict with
4770 the other sys_readlink.
4772 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
4774 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
4776 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
4778 * postgresql.c (init_postgresql_from_environment): new function.
4779 (vars_of_postgresql): Move code initializing Lisp variables out and
4780 into init_postgresql_from_environment.
4781 emacs.c (main_1): Call init_postgresql_from_environment if and only
4782 if running a dumped XEmacs.
4784 2000-08-31 Dan Holmsand <dan@eyebee.com>
4786 * buffer.c: Make find-file-compare-truenames default to true on
4789 * realpath.c (win32_abs_start):
4791 (win32_readlink): New functions.
4792 (xrealpath): Return really real filenames on windows.
4794 * fileio.c (Ffile_truename): Make file-truename work on windows.
4796 2000-11-29 Didier Verna <didier@xemacs.org>
4798 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
4799 * faces.c (update_face_cachel_data): use it.
4800 * faces.c (add_face_cachel): use it. Complete background pixmap
4801 frobbing in face cache if `update_face_cachel_data' has not done so.
4803 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
4805 * search.c (string_match_1): Don't set last_thing_searched
4808 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
4810 * buffer.c: Include casetab.h
4811 (common_init_complex_vars_of_buffer): Use new case-table object.
4812 * buffer.h: Include casetab.h
4813 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
4814 (DOWNCASE_TABLE_OF): Ditto.
4815 * bufslots.h: Remove char-tables and add case-table.
4816 * casetab.c: Include casetab.h
4817 (CASE_TABLE_P): Removed.
4818 (mark_case_table): New function.
4819 (allocate_case_table): New function.
4820 (Fcase_table_p): Use new case-table.
4821 (case_table_char): New function.
4822 (Fget_case_table): Ditto.
4823 (Fput_case_table): Ditto.
4824 (Fput_case_table_pair): Ditto.
4825 (Fcopy_case_table): Ditto.
4826 (Fcurrent_case_table): Return case-table.
4827 (Fstandard_case_table): Return case-table.
4828 (Fset_case_table): Fix doc-string.
4829 (set_case_table): Use case-table
4830 (syms_of_casetab): DEFSUBR new functions.
4831 (complex_vars_of_casetab): Set up standard case-table.
4832 * casetab.h: New file.
4833 * editfns.c: Include casetab.h
4834 (Fcompare_buffer_substrings): Use case-table.
4835 * inline.c: Include casetab.h
4836 * lisp.h: Remove bogus extern.
4837 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
4838 * search.c: Include casetab.h
4839 (TRANSLATE_ASCII): Removed.
4840 (TRANSLATE): Unconditionally translate character.
4841 (looking_at_1): Use case-table.
4842 (string_match_1): Ditto.
4843 (fast_string_match): Ditto.
4844 (search_command): Ditto.
4845 (search_buffer): Separate boyer_moore. Check whether
4846 boyer_moore is possible.
4847 (simple_search): New function.
4848 (boyer_moore): Separated from search_buffer. Translate char.
4850 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
4852 * regex.c (RE_TR_ASCII): Removed.
4853 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
4854 (PATFETCH): Call PATFETCH_RAW.
4855 (PATFETCH_RAW): Fetch Emchar.
4856 (PATUNFETCH): Decrement charptr.
4857 (GET_BUFFER_SPACE): Rename b to buf_end.
4859 (BUF_PUSH_2): Ditto.
4860 (BUF_PUSH_3): Ditto.
4861 (EXTEND_BUFFER): Ditto.
4862 (SET_LIST_BIT): Ditto.
4863 (regex_compile): Ditto. Translate non ASCII char.
4864 (compile_range): Ditto.
4865 (re_search_2): Ditto.
4866 (re_match_2_internal): Compare Emchar.
4867 (bcmp_translate): Ditto.
4869 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
4871 * lisp.h (basic char/int typedefs): comment improvement.
4873 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
4875 * emacs.c (main_1): unconditional pdump unstomping; don't save and
4876 unstomp inhibit_site_lisp. Improve comments.
4878 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
4880 * mule-charset.c (Fcharset_property): improve type checking, comments.
4882 2000-11-28 Andy Piper <andy@xemacs.org>
4884 * redisplay-output.c (redisplay_output_subwindow): make sure we do
4885 clipped display for windows in the gutter also.
4886 (redisplay_display_boxes_in_window_p): change semantics of return
4887 codes to be more intuitive.
4889 * gutter.h: declare display_boxes_in_gutter_p.
4891 * gutter.c (display_boxes_in_gutter_p): new function for
4894 2000-11-22 Andy Piper <andy@xemacs.org>
4896 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
4899 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
4901 * callproc.c (Fold_call_process_internal):
4902 * gpm.c (Freceive_gpm_event):
4903 (tty_get_foreign_selection): Might be just warning supression.
4904 * fileio.c (Fwrite_region_internal):
4905 (Fset_visited_file_modtime):
4906 * keymap.c (event_matches_key_specifier_p):
4907 Initialize GCPROed variable.
4909 * menubar-x.c (command_builder_find_menu_accelerator):
4910 Initialize before use.
4912 2000-11-23 Andy Piper <andy@xemacs.org>
4914 * unexcw.c (unexec): make the resulting executable executable.
4916 2000-11-21 Martin Buchholz <martin@xemacs.org>
4918 * doc.c (get_doc_string):
4919 Use size_t, not int, for result of XSTRING_LENGTH.
4921 * cmds.c (Fdelete_char):
4922 * cmds.c (Fpoint_at_eol):
4923 * cmds.c (Fself_insert_command):
4924 Use EMACS_INT, not int, for result of XINT.
4925 Someday, someone will want to insert more than 2**31 identical characters.
4927 * cmds.c (Fdelete_char):
4928 * cmds.c (Fdelete_backward_char):
4929 * syntax.c (Fforward_word):
4930 * syntax.c (Fforward_comment):
4931 Make COUNT argument optional, for consistency with forward-char et al.
4933 2000-11-22 Martin Buchholz <martin@xemacs.org>
4936 * print.c (long_to_string):
4937 Return a useful value: the pointer at end of data written.
4940 Use `static const char * const' for constant strings.
4941 (union printf_arg): Delete `i', `ui' members.
4944 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
4945 Do all printf-ing via the `l' specifier.
4946 Use EMACS_INT instead of int.
4949 2000-11-20 Didier Verna <didier@xemacs.org>
4951 * faces.c (update_face_cachel_data): don't frob the background
4952 pixmap when the window is being created. The face is needed but
4955 2000-11-20 Andy Piper <andy@xemacs.org>
4957 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
4958 messing with a debug environment.
4960 2000-11-20 Martin Buchholz <martin@xemacs.org>
4962 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
4964 2000-11-20 Martin Buchholz <martin@xemacs.org>
4966 * casetab.c (Fcase_table_p): Fix compile error and crash.
4968 2000-11-18 Philip Aston <philipa@mail.com>
4970 * s/cygwin32.h: Cygwin has SVR4-like pty support.
4972 2000-11-18 Martin Buchholz <martin@xemacs.org>
4974 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
4975 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
4977 2000-11-17 Martin Buchholz <martin@xemacs.org>
4979 * config.h.in: Define HAVE_ELF_H if elf.h exists.
4980 * unexelf.c: Use HAVE_ELF_H.
4981 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
4982 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
4983 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
4984 Greg Harrington <greg_harrington@hotmail.com> provided a machine
4986 So this is an unexelfsgi.c from a different line of development.
4988 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
4990 * regex.c (RE_TR_ASCII): New function.
4991 (RE_TRANSLATE): Call it.
4993 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
4995 * buffer.h (TRT_TABLE_OF): Remove assert.
4996 (IN_TRT_TABLE_DOMAIN): Removed.
4998 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
5000 * free-hook.c (log_gcpro):
5001 (show_gcprohist): Add support for GCPRO5.
5003 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
5005 * emacs.c (main_1): Improve -sd error message when --pdump=no.
5007 2000-11-16 Olivier Galibert <galibert@xemacs.org>
5009 * symeval.h: Declare flush_all_buffer_local_cache.
5011 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
5012 (flush_buffer_local_cache): Added.
5013 (flush_all_buffer_local_cache): Added.
5015 * lrecord.h: Remove unused XD_LO_RESET_NIL.
5017 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
5018 (pdump_dump_data): Ditto.
5019 (pdump_reloc_one): Ditto.
5020 (pdump): Remove unused pdump_qnil. Flush buffer local caches
5024 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5026 * buffer.c: Remove if 0'ed entry.
5027 * buffer.h: Rewrite TRT to use char-table.
5028 * bufslots.h: Remove mirror tables.
5029 * casetab.c: Remove mirror tables.
5030 (CASE_TABLE_P): New macro.
5031 (Fcase_table_p): Element of a case table is string or char-table.
5032 (make_mirror_trt_table): Removed.
5033 (set_case_table): Setup char-table from strings for backward
5035 * dired.c (Fdirectory_files):
5036 * dired-msw.c: (mswindows_get_files):
5037 * lisp.h: Change prototype of re_pattern_buffer.
5038 * regex.c: (RE_TRANSLATE): New macro.
5039 (TRANSLATE_P): Ditto.
5040 Change translate to type RE_TRANSLATE_TYPE.
5041 * regex.h: Define RE_TRANSLATE_TYPE
5042 * search.c (TRANSLATE): New macro.
5043 (TRANSLATE_ASCII): New macro.
5044 Translate table is changed to Lisp_Object.
5045 (signal_failure): Inhibit return.
5047 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5054 Do UNGCPRO before return.
5056 2000-11-14 Martin Buchholz <martin@xemacs.org>
5058 * XEmacs 21.2.37 is released.
5060 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5062 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5063 Add comments about discarded return value.
5065 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5068 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5070 2000-10-27 Andy Piper <andy@xemacs.org>
5072 * gutter.c (Fset_default_gutter_position): default left and right
5074 (calculate_gutter_size): calculate resonable heuristic for left
5075 and right gutter sizes.
5076 (specifier_vars_of_gutter): change left and right gutter sizes to
5078 (calculate_gutter_size_from_display_lines): new function.
5079 (output_gutter): check for resizing on left and right gutters.
5080 (clear_gutter): don't special case top and left gutters.
5081 (specifier_vars_of_gutter): use new signature for
5082 set_specifier_caching.
5084 * glyphs-x.c (x_redisplay_widget): spelling fix.
5085 * glyphs.c (specifier_vars_of_glyphs):
5086 * menubar.c (specifier_vars_of_menubar):
5087 * redisplay.c (specifier_vars_of_redisplay):
5088 * toolbar.c (specifier_vars_of_toolbar):
5089 * window.c (specifier_vars_of_window):
5090 * scrollbar.c (specifier_vars_of_scrollbar):
5091 (complex_vars_of_scrollbar): use new signature for
5092 set_specifier_caching.
5094 * specifier.c (set_specifier_caching): include recompute flag.
5095 (recompute_one_cached_specifier_in_window): always recompute if
5097 (recompute_one_cached_specifier_in_frame): ditto.
5099 * specifier.h (struct specifier_caching): add recompute flag.
5101 2000-10-24 Andy Piper <andy@xemacs.org>
5103 * unexcw.c (copy_executable_and_dump_data_section): add new
5104 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5107 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5109 * console-x.h (x_device): New member modifier_release_time.
5110 * event-Xt.c (x_handle_sticky_modifiers):
5111 Bound interval modifier keys are sticky.
5112 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5113 * events.h: extern it.
5115 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5117 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5119 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5121 * event-stream.c (execute_command_event): Preserve current_events
5122 and the like when event is misc-user-event.
5123 Inhibit quit during the call to maybe_echo_keys.
5125 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5127 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5128 symlink when buffer is killed.
5129 (inhibit_clash_detection): New variable.
5131 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5133 * console.c (Fset_input_method): Trigger redisplay on tty.
5135 2000-11-07 Martin Buchholz <martin@xemacs.org>
5137 * process.c (Fprocess_status): Revert to previous behavior:
5138 (process-status "nosuchprocess") ==> nil
5140 2000-11-06 Martin Buchholz <martin@xemacs.org>
5142 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5143 Work around another GCC 2.95.2 optimizer bug.
5145 2000-11-02 Martin Buchholz <martin@xemacs.org>
5147 * process.c (Fget_process): Use LIST_LOOP_2.
5148 (kill_buffer_processes): Use LIST_LOOP_2.
5150 * minibuf.c (Fall_completions):
5151 Delete old non-functional code for FSF fourth argument.
5153 * frame.c (frame_matches_frame_spec):
5154 Renamed from `frame_matches_frametype'. Update all callers.
5155 (device_matches_device_spec):
5156 Renamed from 'device_matches_console_spec'. Update all callers.
5158 * doc.c (Fsubstitute_command_keys):
5159 Remove buffer overflow crash. Small code cleanups.
5161 * casetab.c (check_case_table): Simpler code.
5163 * window.c (Freplace_buffer_in_windows):
5164 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5165 (and similar implementation) as Fdelete_windows_on.
5168 * alloc.c (Fmake_list):
5169 * alloc.c (make_vector):
5170 * alloc.c (Fmake_vector):
5171 * alloc.c (make_bit_vector):
5172 * alloc.c (Fmake_bit_vector):
5173 * alloc.c (Fbit_vector):
5174 * alloc.c (Fmake_string):
5175 * alloc.c (Fpurecopy):
5176 * alloc.c (Fmemory_limit):
5178 * buffer.c (Fget_buffer):
5179 * buffer.c (Fkill_buffer):
5180 * buffer.c (complex_vars_of_buffer):
5181 * bytecode.c (Fcompiled_function_stack_depth):
5182 * callint.c (Fprefix_numeric_value):
5184 * event-stream.c (Fread_key_sequence):
5186 * casetab.c (Fcase_table_p):
5187 * casetab.c (check_case_table):
5188 * casetab.c (Fset_case_table):
5189 * casetab.c (Fset_standard_case_table):
5191 * chartab.c (Fchar_table_type):
5192 * chartab.c (Freset_char_table):
5193 * chartab.c (Fget_char_table):
5194 * chartab.c (Fget_range_char_table):
5195 * chartab.c (Fput_char_table):
5196 * chartab.c (Fmap_char_table):
5197 * chartab.c (Fcategory_table_p):
5198 * chartab.c (Fcheck_category_at):
5199 * chartab.c (Fchar_in_category_p):
5200 * chartab.c (Fcategory_table):
5201 * chartab.c (Fcopy_category_table):
5202 * chartab.c (Fset_category_table):
5203 * chartab.c (Fcategory_designator_p):
5204 * chartab.c (Fcategory_table_value_p):
5205 * cmds.c (Fdelete_char):
5206 * cmds.c (Fdelete_backward_char):
5207 * cmds.c (Fself_insert_command):
5208 * cmds.c (Fself_insert_internal):
5209 * console.c (Fvalid_console_type_p):
5210 * console.c (Fcdfw_console):
5211 * console.c (Fconsole_type):
5212 * console.c (Fconsole_name):
5213 * console.c (Fconsole_device_list):
5214 * console.c (Fconsole_on_window_system_p):
5218 * data.c (Fsubr_interactive):
5219 * data.c (Fchar_to_int):
5220 * data.c (Fint_to_char):
5223 * data.c (Fnumber_to_string):
5224 * data.c (Fstring_to_number):
5226 * database.c (mark_database):
5227 * database.c (finalize_database):
5228 * database.c (Fdatabase_live_p):
5229 * database.c (Fdatabasep):
5230 * device-x.c (Fx_get_resource):
5231 * device.c (Fdfw_device):
5233 * dired.c (Ffile_name_completion):
5234 * dired.c (Ffile_name_all_completions):
5235 * dired.c (Fuser_name_completion):
5236 * dired.c (Fuser_name_completion_1):
5237 * dired.c (Fuser_name_all_completions):
5238 * doc.c (Fdocumentation):
5239 * doc.c (Fdocumentation_property):
5240 * doc.c (Fsubstitute_command_keys):
5242 * editfns.c (Fchar_to_string):
5243 * editfns.c (Fstring_to_char):
5244 * editfns.c (Ftemp_directory):
5245 * editfns.c (Finsert_char):
5246 * editfns.c (Fbuffer_substring_no_properties):
5247 * editfns.c (Fnarrow_to_region):
5248 * editfns.c (Fchar_equal):
5249 * editfns.c (Fchar_Equal):
5250 * editfns.c (Ftranspose_regions):
5251 * emacs.c (Fdump_emacs):
5253 * eval.c (Fcommand_execute):
5254 * eval.c (Fautoload):
5255 * eval.c (Fbacktrace):
5256 * eval.c (Fbacktrace_frame):
5258 * events.c (Fcopy_event):
5259 * events.c (Fcharacter_to_event):
5260 * events.c (Fevent_button):
5261 * events.c (Fevent_process):
5263 * extents.c (Fnext_extent_change):
5264 * extents.c (Fextent_property):
5266 * faces.c (Fmake_face):
5268 * file-coding.c (Fencode_shift_jis_char):
5269 * file-coding.c (Fencode_big5_char):
5270 * fileio.c (Ffile_name_directory):
5271 * fileio.c (Ffile_name_nondirectory):
5272 * fileio.c (Ffile_name_as_directory):
5273 * fileio.c (Fdirectory_file_name):
5274 * fileio.c (Ffile_truename):
5275 * fileio.c (Fsubstitute_in_file_name):
5276 * fileio.c (Ffile_modes):
5277 * fileio.c (Fset_file_modes):
5278 * fileio.c (Fset_default_file_modes):
5279 * fileio.c (Fverify_visited_file_modtime):
5280 * floatfns.c (Facos):
5281 * floatfns.c (Fasin):
5282 * floatfns.c (Fatan):
5283 * floatfns.c (Fcos):
5284 * floatfns.c (Fsin):
5285 * floatfns.c (Ftan):
5286 * floatfns.c (Fbessel_j0):
5287 * floatfns.c (Fbessel_j1):
5288 * floatfns.c (Fbessel_jn):
5289 * floatfns.c (Fbessel_y0):
5290 * floatfns.c (Fbessel_y1):
5291 * floatfns.c (Fbessel_yn):
5292 * floatfns.c (Ferf):
5293 * floatfns.c (Ferfc):
5294 * floatfns.c (Flog_gamma):
5295 * floatfns.c (Fexp):
5296 * floatfns.c (Fexpt):
5297 * floatfns.c (Flog):
5298 * floatfns.c (Flog10):
5299 * floatfns.c (Fsqrt):
5300 * floatfns.c (Fcube_root):
5301 * floatfns.c (Facosh):
5302 * floatfns.c (Fasinh):
5303 * floatfns.c (Fatanh):
5304 * floatfns.c (Fcosh):
5305 * floatfns.c (Fsinh):
5306 * floatfns.c (Ftanh):
5307 * floatfns.c (Fabs):
5308 * floatfns.c (Ffloat):
5309 * floatfns.c (Flogb):
5310 * floatfns.c (Fceiling):
5311 * floatfns.c (Ffloor):
5312 * floatfns.c (Fround):
5313 * floatfns.c (Ftruncate):
5314 * floatfns.c (Ffceiling):
5315 * floatfns.c (Fffloor):
5316 * floatfns.c (Ffround):
5317 * floatfns.c (Fftruncate):
5318 * fns.c (Fstring_equal):
5319 * fns.c (Fstring_lessp):
5324 * fns.c (Fsubstring):
5326 * fns.c (Fold_assoc):
5327 * fns.c (assoc_no_quit):
5329 * fns.c (Fold_assq):
5330 * fns.c (assq_no_quit):
5332 * fns.c (Fold_rassoc):
5334 * fns.c (Fold_rassq):
5335 * fns.c (rassq_no_quit):
5336 * fns.c (Fremassoc):
5337 * fns.c (remassoc_no_quit):
5339 * fns.c (remassq_no_quit):
5340 * fns.c (Fremrassoc):
5341 * fns.c (Fremrassq):
5342 * fns.c (remrassq_no_quit):
5344 * fns.c (Fplist_get):
5345 * fns.c (Fplist_put):
5346 * fns.c (Fplist_remprop):
5347 * fns.c (Fplist_member):
5348 * fns.c (Flax_plist_get):
5349 * fns.c (Flax_plist_put):
5350 * fns.c (Flax_plist_remprop):
5351 * fns.c (Flax_plist_member):
5353 * fns.c (Fold_equal):
5355 * fns.c (Fbase64_encode_region):
5356 * fns.c (Fbase64_encode_string):
5357 * fns.c (Fbase64_decode_region):
5359 * frame.c (frame_matches_frame_spec):
5360 * frame.c (device_matches_device_spec):
5361 * frame.c (next_frame):
5362 * frame.c (previous_frame):
5363 * frame.c (Fnext_frame):
5364 * frame.c (Fprevious_frame):
5365 * frame.c (Fframe_property):
5366 * frame.c (Fset_frame_height):
5367 * frame.c (Fset_frame_size):
5371 * glyphs.c (decode_error_behavior_flag):
5372 * glyphs.c (Fmake_image_instance):
5373 * indent.c (Findent_to):
5374 * intl.c (Fignore_defer_gettext):
5375 * keymap.c (Fkeymapp):
5376 * keymap.c (Flookup_key):
5378 * lread.c (Fload_internal):
5379 * lread.c (Feval_buffer):
5380 * lread.c (Feval_region):
5381 * macros.c (Fexecute_kbd_macro):
5382 * marker.c (set_marker_internal):
5383 * marker.c (Fset_marker):
5384 * marker.c (set_marker_restricted):
5385 * marker.c (Fcopy_marker):
5386 * marker.c (noseeum_copy_marker):
5388 * menubar.c (Fpopup_menu):
5390 * mule-charset.c (Fcharset_name):
5391 * mule-charset.c (Fchar_charset):
5392 * mule-charset.c (Fchar_octet):
5393 * mule-charset.c (Fsplit_char):
5394 * mule-wnnfns.c (Fwnn_open):
5395 * mule-wnnfns.c (Fwnn_dict_comment):
5396 * mule-wnnfns.c (Fwnn_quit_henkan):
5397 * mule-wnnfns.c (Fwnn_word_toroku):
5398 * mule-wnnfns.c (Fwnn_word_sakujo):
5399 * mule-wnnfns.c (Fwnn_word_use):
5400 * mule-wnnfns.c (Fwnn_hindo_set):
5402 * objects.c (Fmake_color_instance):
5403 * objects.c (Fmake_font_instance):
5404 * print.c (Fwrite_char):
5406 * process.c (mark_process):
5407 * process.c (print_process):
5408 * process.c (get_process_from_usid):
5409 * process.c (Fprocessp):
5410 * process.c (Fprocess_live_p):
5411 * process.c (Fget_process):
5412 * process.c (Fget_buffer_process):
5413 * process.c (get_process):
5414 * process.c (Fprocess_id):
5415 * process.c (Fprocess_name):
5416 * process.c (Fprocess_command):
5417 * process.c (init_process_io_handles):
5418 * process.c (start_process_unwind):
5419 * process.c (Fstart_process_internal):
5420 * process.c (Fopen_multicast_group_internal):
5421 * process.c (Fset_process_window_size):
5422 * process.c (read_process_output):
5423 * process.c (send_process):
5424 * process.c (Fprocess_tty_name):
5425 * process.c (Fset_process_buffer):
5426 * process.c (Fprocess_buffer):
5427 * process.c (Fprocess_mark):
5428 * process.c (set_process_filter):
5429 * process.c (Fset_process_filter):
5430 * process.c (Fprocess_filter):
5431 * process.c (Fprocess_send_region):
5432 * process.c (Fprocess_send_string):
5433 * process.c (exec_sentinel):
5434 * process.c (Fset_process_sentinel):
5435 * process.c (Fprocess_sentinel):
5436 * process.c (status_notify):
5437 * process.c (Fprocess_status):
5438 * process.c (Fprocess_exit_status):
5439 * process.c (process_send_signal):
5440 * process.c (Fprocess_send_eof):
5441 * process.c (deactivate_process):
5442 * process.c (remove_process):
5443 * process.c (Fdelete_process):
5444 * process.c (kill_buffer_processes):
5445 * process.c (Fprocess_kill_without_query):
5446 * process.c (Fprocess_kill_without_query_p):
5448 * rangetab.c (Fget_range_table):
5449 * rangetab.c (Fput_range_table):
5450 * rangetab.c (Fremove_range_table):
5451 * rangetab.c (Fclear_range_table):
5453 * search.c (Fskip_chars_forward):
5454 * search.c (Fskip_chars_backward):
5455 * search.c (Fskip_syntax_forward):
5456 * search.c (Fskip_syntax_backward):
5457 * search.c (search_command):
5458 * search.c (Freplace_match):
5459 * search.c (Fregexp_quote):
5460 * select.c (Fown_selection_internal):
5461 * select.c (Fselection_owner_p):
5462 * select.c (Fselection_exists_p):
5463 * select.c (Fget_selection_internal):
5466 * symbols.c (Fintern):
5467 * symbols.c (Fintern_soft):
5468 * symbols.c (Funintern):
5469 * symbols.c (Fapropos_internal):
5470 * symbols.c (Fset_default):
5472 * syntax.c (Fsyntax_table_p):
5473 * syntax.c (Fcopy_syntax_table):
5474 * syntax.c (Fset_syntax_table):
5475 * syntax.c (Fchar_syntax):
5476 * syntax.c (syntax_match):
5477 * syntax.c (Fmatching_paren):
5478 * syntax.c (Fforward_word):
5479 * syntax.c (scan_lists):
5480 * syntax.c (Fscan_lists):
5481 * syntax.c (Fscan_sexps):
5482 * syntax.c (Fparse_partial_sexp):
5483 * toolbar.c (Fcheck_toolbar_button_syntax):
5486 * window.c (Fwindowp):
5487 * window.c (Fwindow_live_p):
5488 * window.c (Fwindow_point):
5489 * window.c (Fdelete_window):
5490 * window.c (Fnext_window):
5491 * window.c (Fprevious_window):
5492 * window.c (Fother_window):
5493 * window.c (window_loop):
5494 * window.c (Fget_lru_window):
5495 * window.c (Fsplit_window):
5496 * window.c (Fenlarge_window):
5497 * window.c (Fenlarge_window_pixels):
5498 * window.c (Fshrink_window):
5499 * window.c (Fshrink_window_pixels):
5500 * window.c (change_window_height):
5501 * window.c (Fwindow_configuration_p):
5502 * window.c (Fcurrent_window_configuration):
5504 * casefiddle.c (casify_object):
5505 * casefiddle.c (Fupcase):
5506 * casefiddle.c (Fdowncase):
5507 * casefiddle.c (Fcapitalize):
5508 * casefiddle.c (Fupcase_initials):
5509 * casefiddle.c (casify_region_internal):
5510 * casefiddle.c (casify_region):
5511 * casefiddle.c (Fupcase_region):
5512 * casefiddle.c (Fdowncase_region):
5513 * casefiddle.c (Fcapitalize_region):
5514 * casefiddle.c (Fupcase_initials_region):
5515 * casefiddle.c (Fupcase_word):
5516 * casefiddle.c (Fdowncase_word):
5517 * casefiddle.c (Fcapitalize_word):
5518 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5519 Replace 0 with '\0' when working with bytes.
5520 Replace initial "(" with "\(" in docstrings.
5522 2000-11-01 Martin Buchholz <martin@xemacs.org>
5524 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5526 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5528 2000-10-31 Martin Buchholz <martin@xemacs.org>
5530 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5532 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5534 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5537 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5539 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5540 (inhibit_auto_save_session): New variable.
5541 (vars_of_fileio): Declare and initialize them.
5542 * fileio.c (Fdo_auto_save): Don't create session file if
5543 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5545 2000-10-31 Martin Buchholz <martin@xemacs.org>
5547 * sgiplay.c (play_internal): C++ compilability.
5548 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5549 * callproc.c (Fold_call_process_internal):
5550 Remove unused vars `env', `first'.
5551 * scrollbar.c (update_scrollbar_instance):
5552 #### unused var `current_window'.
5553 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5554 etc. within #ifdef NOT_YET.
5555 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5556 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5557 * specifier.c (specifier_instance):
5558 #### unused var `tag'.
5559 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5561 2000-10-27 Martin Buchholz <martin@xemacs.org>
5564 * fns.c (list_sort):
5565 * fns.c (Ffillarray):
5566 * fns.c (bytecode_nconc2):
5569 * fns.c (Fmapconcat):
5570 Be pedantically 64-bit correct. For the time when someone will
5571 want to have a list with length > 2**32.
5573 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5574 Work around MIPSpro compiler bug.
5576 * process-unix.c (unix_kill_child_process): Add snarky comment.
5577 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5579 * config.h.in: Oops, _getpt ==> _getpty
5581 2000-10-26 Martin Buchholz <martin@xemacs.org>
5585 Use void*, not char*, as return type of alloca().
5587 * alloc.c (free_marker): Side effect inside assert expression!
5589 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5591 * mule-charset.c (Fset_charset_ccl_program): To check
5592 if the given ccl program is valid, use setup_ccl_program()
5593 instead of CHECK_VECTOR().
5594 (Fmake_charset): Likewise.
5596 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5598 * faces.c (get_extent_fragment_face_cache_index):
5599 Fix cachel.merged_faces memory leak.
5601 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5603 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5604 Reset MSB of octets obtained by DECODE_SJIS
5605 because of the incompatibility with Emacs.
5606 (ccl_driver)<CCL_ENCODE_SJIS>:
5607 Set MSB of octets before passing them to
5608 ENCODE_SJIS because of the incompatibility
5611 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5613 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5614 (DECLARE_LRECORD): Undo the last change.
5615 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5617 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5619 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5620 the implementation to lrecord_implementations_table.
5622 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5624 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5625 initial value of `lrecord_type_##c_name' and
5626 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
5627 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
5628 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
5629 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
5630 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
5632 2000-10-17 Martin Buchholz <martin@xemacs.org>
5634 * miscplay.c (sndcnv8S_2mono):
5635 (sndcnv2monounsigned):
5636 (sndcnvULaw_2linear):
5638 Remove implementation-defined behavior.
5640 2000-10-12 Martin Buchholz <martin@xemacs.org>
5642 * input-method-xlib.c: Warning suppression.
5644 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
5646 * mule-ccl.c: Sync up with Emacs 21.0.90.
5647 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
5649 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
5651 (ccl_driver[WriteMultibyteChar2]): Bug fix.
5652 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
5653 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
5654 leading char belongs to official 2-dimensional charset.
5655 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
5656 write the given character as is. Otherwise,
5657 if it is a multibyte char, convert it by
5658 non_ascii_set_charptr_emchar, then write it.
5659 (CCL_WRITE_STRING): Likewise.
5660 (ccl_get_compiled_code): New function.
5661 (setup_ccl_program): When ccl_prog is invalid,
5663 (Fregister_code_conversion_map): New function.
5664 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
5666 * mule-ccl.h: Sync up with Emacs 21.0.90.
5667 (Fregister_ccl_program): export it.
5669 * redisplay-msw.c (separate_textual_runs):
5670 If ccl program is not valid, don't do ccl conversion.
5672 * redisplay-x.c (separate_textual_runs): Ditto.
5674 * file-coding.c (Fmake_coding_system):
5675 When type is ccl and value is vector, register it
5676 with a proper symbol. And checks whether the
5677 given ccl program is valid.
5678 (mule_decode): When calling ccl_driver, if src indicates
5679 NULL pointer, set an empty string instead.
5680 (mule_encode): Likewise.
5682 2000-10-11 Martin Buchholz <martin@xemacs.org>
5684 The following large batch of changes gets us back to a state of
5685 C++ compilability. Extbyte is now a char, which means that
5686 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
5688 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
5690 * sound.c (Fplay_sound): Type correctness.
5692 * select-x.c (hack_motif_clipboard_selection): Type correctness.
5693 (x_get_window_property): Type correctness.
5694 (receive_incremental_selection): unsigned char ==> Extbyte
5695 (selection_data_to_lisp_data): unsigned char ==> Extbyte
5696 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
5697 (Fx_store_cutbuffer_internal): Type correctness.
5699 * process-unix.c (try_to_initialize_subtty): Type correctness.
5701 * objects-x.c (x_print_color_instance): Type correctness.
5702 (x_print_font_instance): Type correctness.
5703 (x_list_fonts): SExtbyte ==> Extbyte.
5704 (valid_x_font_name_p): SExtbyte ==> Extbyte.
5705 (x_find_charset_font): SExtbyte ==> Extbyte.
5706 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
5707 (truename_via_XListFonts): SExtbyte ==> Extbyte.
5708 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
5711 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
5712 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
5713 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
5714 (BYTE_C0_P): Use bit ops for char-signedness safety.
5715 (BYTE_C1_P): Use bit ops for char-signedness safety.
5716 (CHARSET_BY_LEADING_BYTE):
5717 (CHARSET_BY_ATTRIBUTES):
5718 Always use inline function.
5719 Use type_checking_assert.
5722 * mule-charset.c (non_ascii_charptr_copy_char):
5723 Modify to work with both ASCII and non-ASCII characters.
5724 Improve docs and variable names.
5725 Replace over-clever fall-through switch with a simple loop.
5726 (Lstream_get_emchar_1):
5727 Replace over-clever fall-through switch with a simple loop.
5729 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5730 Warning suppression.
5732 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
5733 the return value of Lstream_getc, which could be EOF as well.
5735 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
5737 * lisp.h: Make Extbyte a char, not unsigned char, so that external
5738 APIs can be used on Extbytes without casts. Risky!
5742 * input-method-xlib.c (XIM_init_device):
5743 Use Xlib.h instead of IntrinsicP.h.
5744 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
5745 which will break in X11R7.
5746 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
5747 to call XRegisterIMInstantiateCallback with correct types.
5749 * gui-x.c (button_item_to_widget_value): Type correctness.
5751 * glyphs.c (bitmap_to_lisp_data): Type correctness.
5753 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
5754 (xbm_instantiate_1): Type correctness.
5755 (BUILD_GLYPH_INST): Type correctness.
5757 * fileio.c (Fsubstitute_in_file_name): Type correctness.
5760 (decode_coding_sjis):
5761 (decode_coding_big5):
5762 (decode_coding_ucs4):
5763 (decode_coding_utf8):
5764 (decode_coding_iso2022):
5765 (decode_coding_no_conversion):
5766 Make all decoding functions take an Extbyte * arg.
5767 (encode_coding_sjis):
5768 (encode_coding_big5):
5769 (encode_coding_ucs4):
5770 (encode_coding_utf8):
5771 (encode_coding_iso2022):
5772 (encode_coding_no_conversion):
5773 Make all encoding functions take a Bufbyte * arg.
5774 Use size_t instead of unsigned int for memory sizes.
5775 Only cast to unsigned char whenever dereferencing Extbyte *.
5777 * doc.c (unparesseuxify_doc_string): Type correctness.
5779 * console-x.c (split_up_display_spec):
5780 Rewrite without using details of internal string representation.
5781 (x_semi_canonicalize_device_connection): Type correctness.
5784 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
5785 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
5786 (HAVE_XFREE386): Removed.
5788 * buffer.h (DEC_CHARPTR): `const' correctness.
5789 (bufbyte_strcmp): New.
5790 (bufbyte_memcmp): New.
5792 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
5794 * buffer.h (XCHAR_OR_CHAR_INT):
5795 Always use inline function.
5796 Remove redundant type checking assert() - XINT will abort quite nicely.
5798 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
5800 * search.c (Freplace_match): Set newtext to an empty string.
5802 2000-10-10 Martin Buchholz <martin@xemacs.org>
5804 * s/decosf1-3.h: Remove #include of stropts.h
5805 * s/ptx.h: Remove #include of stropts.h
5806 * s/usg5-4.h: Remove #include of stropts.h
5809 Use stropts.h, not sys/stropts.h.
5810 Use strtio.h, not sys/strtio.h.
5812 2000-10-04 Martin Buchholz <martin@xemacs.org>
5814 * XEmacs 21.2.36 is released.
5816 2000-09-21 Andy Piper <andy@xemacs.org>
5818 * glyphs-x.c (x_redisplay_widget): make sure non-structural
5819 changes still involve copying the widget tree.
5820 (update_widget_face): make sure a change is register in the widget
5821 tree. Call update_tab_widget_face appropriately.
5822 (update_tab_widget_face): ditto.
5823 (x_tab_control_redisplay): make sure non-structural changes still
5824 involve copying the widget tree.
5826 2000-08-31 Daiki Ueno <ueno@unixuser.org>
5828 * lread.c (locate_file): Check the path element is non-nil.
5830 2000-10-02 Martin Buchholz <martin@xemacs.org>
5832 * lisp.h: Warning suppression for SCO compilers.
5834 * redisplay-tty.c (reset_tty_modes): Fix crash.
5835 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
5837 2000-09-27 Martin Buchholz <martin@xemacs.org>
5839 Big signal/process handling overhaul. Bugs fixed:
5840 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
5841 M-x comint-kill-subjob should work for both values nil and t of
5842 process-connection-type. It was broken on most platforms.
5843 Testing on Irix and Cygwin still needed. Other plaforms tested.
5844 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
5845 * process-unix.c: Signal/Process handling overhaul.
5846 (pty_name): make 64 bytes, as `expect' does, for paranoia.
5847 (allocate_pty): Use all available modern methods of allocating
5848 ptys, falling back to old style BSD allocation as a last resort.
5849 Use allegedly more secure Unix98 pty allocation by default.
5850 (allocate_pty_the_old_fashioned_way): New. the last resort.
5851 (unix_create_process): Push ptem, ldterm, ttcompat where
5852 available. Autoconfiscate.
5853 (try_to_initialize_subtty): New.
5854 (unix_kill_child_process): Proper signal handling for ptys on most
5855 platforms, using special knowledge of AIX, BSD, etc...
5856 (unix_create_process): Always disconnect_controlling_terminal() for
5857 subprocesses, whether using ptys or not.
5858 * process.h: Remove old getpt-dependent PTY code.
5859 * process.c (Fprocess_send_signal): New, obvious generic function.
5860 (decode_signal): New.
5861 (Finterrupt_process):
5865 (Fcontinue_process):
5866 (Fsignal_process): Use decode_signal.
5867 (process_send_signal):
5868 Many docstring corrections.
5869 Allow any signal to be sent to a process object.
5870 * config.h.in: Add symbols for big signal/process overhaul.
5871 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
5872 * sysproc.h: Include process-related headers, where available:
5873 sys/stropts.h sys/strtio.h pty.h libutil.h
5881 Remove old S&M pty stuff.
5882 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
5883 * systty.h: Simplify cpp hackery, improve comments.
5884 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
5886 * editfns.c (Fformat_time_string):
5887 Be a little more paranoid with the return value of ctime.
5889 * fileio.c (check_executable):
5891 Use symbolic constants X_OK, W_OK.
5893 * console-x.c (split_up_display_spec): Fix a warning.
5895 2000-10-02 Martin Buchholz <martin@xemacs.org>
5897 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
5898 * ntproc.c (sys_spawnve): make_string ==> build_string
5899 Small clarity improvements.
5901 2000-09-30 Martin Buchholz <martin@xemacs.org>
5903 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
5905 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
5907 * config.h.in (HAVE_STRCASECMP): Remove.
5909 2000-09-29 Martin Buchholz <martin@xemacs.org>
5911 * redisplay-output.c (redisplay_output_pixmap):
5912 Cleaner and possibly more 64-bit correct code.
5914 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5916 * dumper.c (pdump_load_finish): move restoration of
5917 `noninteractive1' to emacs.c (main_1).
5918 * emacs.c (main_1): protect LISP-visible command-line flags
5921 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
5923 * Makefile.in.in (versionclean): Use EXE_TARGET and
5924 DUMP_TARGET instead of literal program names.
5926 2000-09-20 Martin Buchholz <martin@xemacs.org>
5928 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
5930 2000-09-19 Martin Buchholz <martin@xemacs.org>
5932 * *: Spelling mega-patch
5934 2000-09-19 Martin Buchholz <martin@xemacs.org>
5936 * fns.c (bad_bad_turtle):
5937 Delete "Eek!" comment, since we fixed the bug to which it refers.
5939 2000-09-16 Martin Buchholz <martin@xemacs.org>
5941 * alloca.c: Replace REGISTER with register.
5943 2000-09-16 Daiki Ueno <ueno@unixuser.org>
5945 * file-coding.c (ucs_to_char): Use countof.
5947 2000-09-16 Martin Buchholz <martin@xemacs.org>
5949 * file-coding.c: (ucs_to_char):
5950 (complex_vars_of_file_coding):
5951 Use countof instead of sizeof.
5952 Use CHECK_NATNUM instead of CHECK_INT.
5954 * sysdep.c (strcasecmp): Remove.
5955 * device-x.c (ascii_strcasecmp): New.
5956 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
5957 Avoid using non-standard non-portable strcasecmp.
5959 2000-09-16 Martin Buchholz <martin@xemacs.org>
5961 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
5962 * font-lock.c: remove reference to emacsfns.h.
5963 * search.c: small doc improvement.
5964 * event-Xt.c: correct file names in comments.
5965 * console-x.h Correct file names in comments.
5966 * frame.c: Correct file names in comments.
5967 * event-stream.c: remove Energize from comments.
5969 2000-09-15 Martin Buchholz <martin@xemacs.org>
5971 * symeval.h (DEFERROR_STANDARD):
5974 (DEFSYMBOL_NO_DUMP):
5975 (DEFSYMBOL_MULTIWORD_PREDICATE):
5976 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
5978 The construct &##name is not sensible C.
5979 Fixes compilation errors with Unixware native compiler.
5981 2000-09-14 Martin Buchholz <martin@xemacs.org>
5983 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
5984 (next_frame_internal): Removed. We now just have next_frame.
5986 Write a simpler and cleaner one-pass algorithm.
5987 Remove called_from_delete_device arg and #ifdefed-out code.
5989 Renamed from prev_frame. Update callers.
5990 Cleaned up to have an analogous implementation to next_frame.
5991 (other_visible_frames_internal): Remove the
5992 called_from_delete_device bogus arg, and hence, remove this
5993 function. Just use other_visible_frames().
5995 * window.c (Fnext_window):
5997 Since next_frame() is guaranteed to return a frame, remove check
5998 for nil inserted in previous patch.
6001 Make code look more like Fnext_window.
6003 Respect the `console' arg when iterating through windows.
6004 Fixes bug: (get-buffer-window buffer t device) not respecting
6006 This function needs more work, as others have pointed out.
6008 * frame.h: Rename prev_frame to previous_frame.
6009 device_matches_console_spec no longer takes a `frame' arg.
6014 Use EMACS_BLOCK_SIGNAL instead of sigblock.
6015 From "Golubev I. N." <gin@mo.msk.ru>.
6017 * make-src-depend: Fix typo.
6019 2000-09-13 Martin Buchholz <martin@xemacs.org>
6021 * window.c (Fnext_window):
6022 next_frame() might return nil, not a frame.
6024 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6026 * frame.c (next_frame_internal):
6027 We've passed a frame if we've passed its device.
6029 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6030 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
6032 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6034 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6035 Allow option to suppress accelerators in menu/dialog items.
6036 (populate_or_checksum_helper): Pass dialog title through above.
6038 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6040 * event-msw.c (mswindows_key_to_emacs_keysym):
6041 Add "pause" key, fix "menu" key.
6043 2000-09-09 Martin Buchholz <martin@xemacs.org>
6045 * eval.c (reinit_vars_of_eval):
6046 Increase max_lisp_eval_depth to 1000,
6047 required for thai-xtis.el to byte-compile under some circumstances.
6049 2000-09-04 Martin Buchholz <martin@xemacs.org>
6051 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6054 2000-09-01 Martin Buchholz <martin@xemacs.org>
6056 * make-src-depend: Make the generated Makefiles smaller.
6058 * s/hpux.h (SETUP_SLAVE_PTY):
6059 Provide a %d in the format string for the errno argument.
6061 * editfns.c (Ftemp_directory):
6063 Avoid buffer overrun on very long file name.
6065 * input-method-xlib.c (XIM_init_device):
6066 6th parameter of XRegisterIMInstantiateCallback has different
6067 pointer types on different OSes, so simply cast to (void *).
6069 * unexhp9k800.c: Warning fixes. Fiddly changes.
6071 * sysdll.c (dll_open):
6072 shl_load will hang hard if passed a NULL filename.
6073 Simply return NULL for compatibility with dlopen.
6074 * sysdll.c: Conform to XEmacs coding standards.
6076 * sysdep.c (get_pty_max_bytes):
6077 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6079 2000-08-31 Martin Buchholz <martin@xemacs.org>
6081 * tooltalk.c: Add #include <syssignal.h>
6083 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6085 * s/hpux.h: Don't use undefined function sigunblock().
6087 2000-08-31 Martin Buchholz <martin@xemacs.org>
6089 * config.h.in: Add HAVE_BALLOON_HELP.
6090 * emacs.c: Use HAVE_BALLOON_HELP.
6091 * Makefile.in.in (x_objs):
6092 Make Balloon Help conditional on finding shape.h.
6094 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6096 * syntax.c (regex_emacs_buffer_p): New variable.
6097 * syntax.h (regex_emacs_buffer_p): extern.
6098 * search.c (looking_at_1):
6100 (fast_string_match):
6101 (search_buffer): Set regex_emacs_buffer_p.
6102 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6103 when before_dot, at_dot, after_dot.
6105 2000-08-23 Andy Piper <andy@xemacs.org>
6107 * gui-x.c (popup_selection_callback): Only set action_occurred
6108 when we really have an image instance.
6109 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6111 2000-08-23 Andy Piper <andy@xemacs.org>
6113 * gui-msw.c (mswindows_handle_gui_wm_command): set
6115 * gui-x.c (popup_selection_callback): ditto.
6117 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6118 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6119 (struct Lisp_Image_Instance): add action_occurred flag.
6121 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6122 (image_instance_changed): ditto.
6123 (reset_frame_subwindow_instance_cache): only unmap windows - do
6124 not remove them from the cache also.
6126 * glyphs-widget.c (tab_control_update): better debug.
6127 (progress_gauge_update): ditto.
6128 (layout_update): ditto.
6129 (layout_instantiate): ditto.
6130 (tab_control_order_only_changed): cope with null pending items.
6132 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6133 debug. Force selection of an item when an action occurred. Cope
6134 with null pending_items.
6135 (mswindows_progress_gauge_redisplay): better debug.
6136 * glyphs-x.c (x_tab_control_redisplay): ditto.
6138 * redisplay.c (redisplay_frame): reset the frame cache if the
6141 * window.c (Fset_window_configuration): potentially re-enable
6143 (window_unmap_subwindows): need to finalize instances here since
6144 it is only used in mark_window_as_deleted.
6146 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6148 * nas.c (SndOpenDataForReading):
6149 nas.c (WaveOpenDataForReading):
6150 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6151 Somehow escaped from the 2000-08-14 patch.
6153 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6155 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6156 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6158 2000-08-21 Andy Piper <andy@xemacs.org>
6160 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6161 window if it is not already displayed.
6163 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6164 it is not already displayed.
6166 * window.c (Fset_window_configuration): don't reset the frame
6169 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6170 instances from the frame cache if we are actually finalizing them.
6171 (reset_frame_subwindow_instance_cache): reset frame cache only
6172 after unmapping everything.
6173 (map_subwindow): set displayed flag after mapping.
6175 2000-08-21 Martin Buchholz <martin@xemacs.org>
6177 * data.c (indirect_function):
6178 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6180 * eval.c (function_argcount):
6181 Use original function when signaling errors.
6183 2000-08-18 Andy Piper <andy@xemacs.org>
6185 * frame.c (delete_frame_internal): use new
6186 free_frame_subwindow_instances name.
6188 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6189 (add_tab_item): make return type correct.
6190 (mswindows_tab_control_instantiate): assert index of tab.
6191 (mswindows_tab_control_redisplay): Re-code to use
6192 gui_item_equal_sans_selected and gui_item_list_find_selected.
6194 * glyphs-widget.c (tab_control_update): Correct comment.
6196 * window.c (window_unmap_subwindows): use new
6197 unmap_subwindow_instance_cache_mapper.
6198 (window_unmap_subwindows_cache_mapper): deleted.
6199 (Fset_window_configuration): comparisons should now be with
6200 EQ. Preserve the subwindow instance cache across configuration
6202 (allocate_window): ditto.
6203 (make_dummy_parent): ditto.
6205 * glyphs.c (free_frame_subwindow_instances): rename from
6206 free_frame_subwindow_instance_cache. finalize all instances rather
6207 than just those in the display cache.
6208 (finalize_all_subwindow_instances): walk windows unmapping and
6209 finalizing subwindows.
6210 (unmap_subwindow_instance_cache_mapper): moved from
6211 window.c. Allow finalization as well as unmapping.
6213 * gui.c (gui_item_list_find_selected): new function.
6215 * gui.h (gui_item_list_find_selected): declare.
6217 * glyphs-x.c (x_tab_control_redisplay): pick tab
6218 explicitly. Re-code to use gui_item_equal_sans_selected and
6219 gui_item_list_find_selected.
6221 * glyphs-x.h: add lwlib-utils.h
6223 * buffer.c (Frecord_buffer): undo previous change.
6225 2000-08-09 Vin Shelton <acs@xemacs.org>
6227 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6228 possible. Create temporary files more securely. The patch was
6229 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6230 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6231 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6234 2000-08-07 Ben Wing <ben@xemacs.org>
6236 * getloadavg.c: remove duplicate (and windows-breaking)
6237 includes of fcntl.h and sys/file.h.
6239 * nt.c: remove duplicate getloadavg() definition.
6241 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6244 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6246 * eval.c (function_argcount): If function needs to be autoloaded
6247 actually use the loaded definition.
6250 2000-08-05 Ben Wing <ben@xemacs.org>
6252 * getloadavg.c: add prototype for getloadavg(). remove
6253 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6254 of the code). remove duplicate header includes.
6256 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6258 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6259 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6260 useful load average.
6262 * alloc.c (reinit_alloc_once_early): removed references to
6263 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6264 the lisp vars are the only things referencing the malloc_sbrk_*
6265 vars, and they were already if 0'd out. these vars only exist
6266 in the older malloc.c, which is basically unused, and they're
6267 only for informational purposes.
6269 * m\*.h: removed useless VIRT_ADDR_VARIES.
6271 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6273 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6275 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6276 color if the image is a mono pixmap.
6278 2000-07-30 Ben Wing <ben@xemacs.org>
6280 * Makefile.in.in (release):
6283 * buffer.c (directory_is_current_directory):
6284 * dired-msw.c (mswindows_get_files):
6286 * dired.c (Fdirectory_files):
6287 * dired.c (file_name_completion_stat):
6288 * dired.c (Ffile_attributes):
6289 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6290 preprocessor tricks, to avoid problems on some machines
6293 * callproc.c (egetenv): GC docs.
6296 * console-msw.h (struct mswindows_dialog_id):
6297 * lrecord.h (lrecord_type):
6298 New object for use with MSW dialogs.
6300 * console.h (struct console_methods):
6301 New enable/disable frame methods, for proper modal dialogs.
6303 * device-msw.c (msprinter_default_printer): Fix to follow
6304 proper Mule conventions.
6307 * device-msw.c (signal_open_printer_error):
6308 * device-msw.c (msprinter_init_device):
6309 * device-msw.c (ensure_not_printing):
6310 * device-msw.c (plist_get_margin):
6311 * device-msw.c (Fmsprinter_select_settings):
6312 * device-msw.c (finalize_devmode):
6313 * device-msw.c (Fmsprinter_settings_despecialize):
6314 * device-msw.c (signal_enum_priner_error):
6315 * extents.c (decode_extent):
6316 * extents.c (decode_map_extents_flags):
6317 * extents.c (decode_extent_at_flag):
6318 * extents.c (Fextent_at):
6319 * extents.c (Fextents_at):
6320 * extents.c (symbol_to_glyph_layout):
6321 [[[[2]]]] Use structured errors.
6324 * dialog-msw.c (mswindows_is_dialog_msg):
6325 * dialog-msw.c (mark_mswindows_dialog_id):
6326 * dialog-msw.c (dialog_proc):
6327 * dialog-msw.c (handle_question_dialog_box):
6328 * dialog-msw.c (syms_of_dialog_mswindows):
6329 Define new object to clean up marking; use it as a dialog identifier.
6330 Call new delete-dialog-box-hook.
6332 * dialog-x.c (dbox_selection_callback):
6333 * dialog-x.c (dbox_descriptor_to_widget_value):
6334 * dialog-x.c (x_make_dialog_box_internal):
6335 Call new delete-dialog-box-hook.
6339 * dialog.c (syms_of_dialog):
6340 * dialog.c (vars_of_dialog):
6341 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6344 * eval.c (signal_call_debugger):
6345 when noninteractive, output stack traces on the console instead
6346 of in a (never-seen) buffer.
6348 * eval.c (signal_type_error):
6349 * eval.c (invalid_argument_2):
6351 new funs for use w/structured errors.
6354 * event-Xt.c (x_to_emacs_keysym):
6355 * event-Xt.c (describe_event):
6356 * event-Xt.c (emacs_Xt_event_handler):
6357 * event-Xt.c (vars_of_event_Xt):
6359 * event-msw.c (mswindows_wnd_proc):
6360 * event-msw.c (vars_of_event_mswindows):
6361 rename {x,mswindows}-debug-events to debug-{}-events for
6362 consistency with other debug-foo variables.
6365 document next-event more clearly.
6367 * fileio.c (Ffile_name_directory):
6368 * fileio.c (Ffile_name_nondirectory):
6369 * fileio.c (Funhandled_file_name_directory):
6370 * fileio.c (file_name_as_directory):
6371 * fileio.c (Ffile_name_as_directory):
6372 * fileio.c (directory_file_name):
6373 * fileio.c (Fdirectory_file_name):
6374 * fileio.c (Fmake_temp_name):
6375 * fileio.c (Ffile_truename):
6376 * fileio.c (Fsubstitute_in_file_name):
6377 * fileio.c (expand_and_dir_to_file):
6378 * fileio.c (barf_or_query_if_file_exists):
6379 * fileio.c (check_executable):
6380 * fileio.c (Ffile_exists_p):
6381 * fileio.c (Ffile_writable_p):
6382 * fileio.c (Ffile_directory_p):
6383 * fileio.c (Ffile_regular_p):
6384 * fileio.c (Ffile_modes):
6385 * fileio.c (Ffile_newer_than_file_p):
6386 * fileio.c (Fverify_visited_file_modtime):
6387 * fileio.c (Fset_visited_file_modtime):
6388 * fileio.c (auto_save_1):
6393 * frame-msw.c (mswindows_init_frame_1):
6394 * frame-msw.c (mswindows_enable_frame):
6395 * frame-msw.c (error_frame_unsizable):
6396 * frame-msw.c (msprinter_init_frame_1):
6397 * frame-msw.c (msprinter_init_frame_3):
6398 * frame-msw.c (console_type_create_frame_mswindows):
6400 implement new enable/disable frame methods.
6403 * frame-x.c (x_enable_frame):
6404 * frame-x.c (console_type_create_frame_x):
6405 implement new enable/disable frame methods.
6408 * frame.c (Fdisable_frame):
6409 * frame.c (syms_of_frame):
6410 * frame.h (struct frame):
6411 implement new enable/disable frame methods/functions.
6416 * glyphs-msw.c (mswindows_widget_instantiate):
6417 comment that initial-focus should be implemented.
6420 * glyphs-widget.c (check_valid_instantiator):
6421 * glyphs-widget.c (check_valid_orientation):
6422 * glyphs-widget.c (check_valid_tab_orientation):
6423 * glyphs-widget.c (check_valid_justification):
6424 * glyphs-widget.c (check_valid_border):
6425 * glyphs-widget.c (check_valid_callback):
6426 * glyphs-widget.c (check_valid_int_or_function):
6427 * glyphs-widget.c (check_valid_string_or_vector):
6428 * glyphs-widget.c (check_valid_item_list_1):
6429 * glyphs-widget.c (widget_validate):
6430 * glyphs-widget.c (combo_box_validate):
6431 * glyphs-widget.c (widget_instantiate):
6432 * glyphs-widget.c (syms_of_glyphs_widget):
6433 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6434 * glyphs-widget.c (image_instantiator_combo_box):
6435 * glyphs-widget.c (image_instantiator_scrollbar):
6436 * glyphs-widget.c (image_instantiator_tab_control):
6437 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6439 support (unimplemented) keyword initial-focus.
6440 reindent long macros.
6442 * glyphs-x.c (x_redisplay_widget):
6443 * glyphs-x.c (x_button_instantiate):
6444 * glyphs-x.c (x_button_redisplay):
6445 * glyphs-x.c (x_progress_gauge_instantiate):
6446 * glyphs-x.c (x_edit_field_instantiate):
6447 * glyphs-x.c (x_combo_box_instantiate):
6448 * glyphs-x.c (x_tab_control_instantiate):
6449 * glyphs-x.c (x_label_instantiate):
6451 * gui-x.c (button_item_to_widget_value):
6452 * gui-x.c (gui_items_to_widget_values_1):
6453 * gui-x.c (gui_item_children_to_widget_values):
6454 * gui-x.c (gui_items_to_widget_values):
6456 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6457 add new flag to gui-parsing routines to indicate whether
6458 accelerator specs should be supported.
6460 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6462 * glyphs.h (struct Lisp_Image_Instance):
6463 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6464 add initial-focus flag.
6467 * gui.c (syms_of_gui):
6468 * gui.c (vars_of_gui):
6469 clean up menu-no-selection-hook.
6472 support delete-dialog-box-hook.
6474 * lread.c (Fload_internal):
6475 * lread.c (locate_file_in_directory_mapper):
6479 * lrecord.h (struct toolbar_button):
6480 * lrecord.h (syms_of_toolbar):
6481 document how to create a new object.
6483 * menubar-msw.c (mswindows_char_is_accelerator):
6484 may be called on frames w/o menus.
6486 * menubar.c (vars_of_menubar):
6487 clean up :filter docs.
6494 * process-nt.c (validate_signal_number):
6495 * process-nt.c (signal_cannot_launch):
6496 * process-nt.c (nt_create_process):
6497 * process-nt.c (nt_send_process):
6498 * process-nt.c (nt_kill_child_process):
6499 * process-nt.c (nt_open_network_stream):
6500 * process-nt.c (syms_of_process_nt):
6502 delete quote-handling. call new lisp code that does it better.
6504 * process-unix.c (connect_to_file_descriptor):
6505 * process-unix.c (allocate_pty):
6506 * process-unix.c (unix_send_process):
6507 * process-unix.c (unix_kill_child_process):
6508 * process-unix.c (unix_open_network_stream):
6509 * process-unix.c (unix_open_multicast_group):
6513 * process.c (Fstart_process_internal):
6514 (2). need to canonicalize process path even if absolute.
6516 * select-msw.c (symbol_to_ms_cf):
6517 * select-msw.c (ms_cf_to_symbol):
6518 * select-msw.c (cf_is_autofreed):
6519 * select-msw.c (mswindows_destroy_selection):
6521 * select.c (syms_of_select):
6523 support dibv5, fix bugs. (from Mike Alexander)
6525 * select.c (Fget_selection_internal):
6526 * select.c (select_convert_out):
6529 * sysdep.c (xemacs_stat):
6534 but keep original stat() here because we provide encapsulation
6538 * sysfile.h (fstat):
6539 remove stat garbage.
6543 don't include tchar.h. it's inappropriate because it makes
6544 compile-time distinctions when we want runtime distinctions.
6545 (we provide our own tchar replacements)
6548 use default object printer for toolbar-button.
6551 make sure we don't encapsulate.
6553 * window.c (vars_of_window):
6554 emphasize that temp-buffer-show-hook is obsolete.
6556 2000-08-05 Martin Buchholz <martin@xemacs.org>
6558 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6559 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6561 * events.c (Fevent_timestamp_lessp):
6562 Not 64-bit clean. Use EMACS_INT, not int.
6564 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6566 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6567 unsigned int and changed the last enum to
6568 lrecord_type_last_built_in_type.
6569 (lrecord_implementations_table): changed prototype to know how
6570 long the array is supposed to be.
6571 (lrecord_type_count): new unsigned int to keep track of the
6572 current number of lisp lrecord types.
6573 (DEFINE_EXTERNAL_LRECORD):
6574 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6575 dynamic-modules to declare new lisp types. They are the same
6576 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6577 int for each new type, and increment lrecord_type_count by 1.
6579 * alloc.c (lrecord_implementations_table): Changed to reference
6580 lrecord_type_last_built_in_type for the size of the array.
6581 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6583 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6585 * glyphs.h (check_valid_item_list): Renamed from
6586 check_valid_item_list_1.
6588 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6590 * select.c (Qselect_coerce): New.
6591 * select.c (Vselection_coercion_alist): New.
6592 * select.c (syms_of_select): Declare.
6593 * select.c (get-selection-internal): Use it.
6594 Use the new select-coerce functionality.
6596 * select.c (select_coerce): New.
6597 * select.h (select_coerce): Declare.
6598 New function to coerce one type of data into another.
6600 2000-08-03 Martin Buchholz <martin@xemacs.org>
6602 * callproc.c (Fcall_process_internal):
6603 (Fcall_process_internal):
6604 * process-unix.c (unix_create_process):
6605 Save and restore the value of errno, so that error messages are accurate.
6607 2000-08-01 Martin Buchholz <martin@xemacs.org>
6609 * elhash.c (print_hash_table):
6610 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6611 Prettify docstrings and indentation.
6613 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6615 * window.c (Fwindow_pixel_edges): Subtract frame border and
6618 2000-07-31 Andy Piper <andy@xemacs.org>
6620 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6621 will acknowledge the change.
6623 * glyphs.h: declare tab_control_order_only_changed.
6625 * glyphs-x.c (x_tab_control_redisplay): use
6626 tab_control_order_only_changed.
6628 * glyphs-widget.c (tab_control_order_only_changed): new function.
6630 * glyphs-msw.c (mswindows_tab_control_redisplay): use
6631 tab_control_order_only_changed.
6633 * gui.c (gui_item_equal_sans_selected): new function.
6634 (gui_item_equal): use it.
6636 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
6637 :properties in favor of :items..
6639 * glyphs-widget.c (check_valid_item_list): rename from
6640 check_valid_item_list_1.
6641 (check_valid_item_list_1): renamed.
6642 (combo_box_validate): deprecate :properties in favor of :items.
6643 (widget_instantiate): ditto.
6644 (tab_control_update): ditto.
6645 (image_instantiator_combo_box): ditto.
6646 (image_instantiator_tree_view): ditto.
6647 (image_instantiator_tab_control): ditto.
6648 (layout_post_instantiate): remove dead code.
6650 * print.c (debug_print_no_newline): only write to debugger if in
6653 * elhash.c (Fmake_hash_table): update doc string.
6655 * event-msw.c (mswindows_wnd_proc): don't allow processing of
6656 messages whilst in GC. This at least stops XEmacs crashing but has
6657 the potential for wierd behaviour.
6659 2000-07-31 Martin Buchholz <martin@xemacs.org>
6662 Make existence of s&m files optional.
6664 * s/bsd386.h: Remove HAVE_GETLOADAVG.
6665 * s/freebsd.h: Remove HAVE_GETLOADAVG.
6666 * s/gnu.h: Remove HAVE_GETLOADAVG.
6667 * s/netbsd.h: Remove HAVE_GETLOADAVG.
6668 * s/sol2.h: Remove HAVE_GETLOADAVG.
6669 * lisp.h: Remove getloadavg() declaration.
6671 Include <sys/loadavg.h> if available.
6672 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
6673 * config.h.in: Group together getloadavg()-related macros.
6674 Use only configure-time tests to detect getloadavg().
6676 2000-07-30 Martin Buchholz <martin@xemacs.org>
6678 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
6680 2000-07-25 Andy Piper <andy@xemacs.org>
6682 * syswindows.h: add tchar.h for native builds.
6684 * frame.c (syms_of_frame): remove set-glyph-image.
6686 * general-slots.h: add Qset_glyph_image.
6688 * glyphs-widget.c (layout_update): add domain arg to
6690 (syms_of_glyphs_widget): remove set-glyph-image.
6692 2000-07-23 Ben Wing <ben@xemacs.org>
6694 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
6697 2000-07-22 Andy Piper <andy@xemacs.org>
6699 * symsinit.h: add syms_of_win32().
6701 * gui-msw.c (syms_of_gui_mswindows): remove
6702 Fmswindows_shell_execute.
6703 (Fmswindows_shell_execute): moved to win32.c.
6705 * emacs.c (main_1): add syms_of_win32 ().
6707 * win32.c (init_potentially_nonexistent_functions): rewrite in
6708 compiler-friendly terms.
6709 (Fmswindows_shell_execute): move here from gui-msw.c.
6710 (syms_of_win32): new.
6712 * device-msw.c (Fmswindows_printer_list): clean up args to
6714 Don't include tchar under cygwin or mingw.
6715 (msprinter_default_printer): make cygwin-friendly.
6717 2000-07-21 Andy Piper <andy@xemacs.org>
6719 * glyphs-widget.c (image_instantiator_tree_view): use tab
6720 control's update function.
6721 (layout_property): new function. Retrieve items.
6723 * glyphs-msw.c (mswindows_tree_view_redisplay): new
6724 function. Re-populate the tree view from the pending items.
6726 * glyphs.c (instantiate_image_instantiator): Make sure the domain
6727 is designated the parent if the domain is an image instance. This
6728 is needed so that dirtiness can be cascade up the hierarchy and
6729 thus for layout children to be redisplayed correctly.
6730 (allocate_image_instance): rename glyph -> parent.
6732 * redisplay.h: change redisplay_output_layout signature.
6734 * redisplay-msw.c (mswindows_output_display_block): use domain
6737 * redisplay-x.c (x_output_display_block): use domain arg.
6739 2000-07-10 Andy Piper <andy@xemacs.org>
6741 * window.c (Fset_window_configuration): add comment.
6743 * redisplay-output.c (compare_runes):
6744 (redisplay_output_subwindow): redisplay rather than update subwindow.
6745 (redisplay_output_layout): ditto.
6747 * redisplay-msw.c (mswindows_frame_output_end):
6748 (mswindows_frame_output_end): make defer window pos optional.
6750 * lisp.h: add Flast.
6752 * glyphs.h (struct image_instantiator_methods): add dest_mask top
6753 normalize method. Change update method to be for changed
6754 instantiators. Add redisplay method. Change signature of layout
6756 (struct Lisp_Image_Instance): add instantiator.
6757 (IMAGE_INSTANCE_INSTANTIATOR): new.
6758 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
6759 (XIMAGE_INSTANCE_INSTANTIATOR): new.
6760 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
6763 (find_instantiator_differences): new function.
6764 (Fset_instantiator_property): new convenience function.
6765 (check_image_instance_structure): strictly check for vector
6767 (normalize_image_instantiator): make non-static.
6768 (instantiate_image_instantiator): pass on dest_mask and use new
6769 signatures for image_instance_layout and friends.
6770 (mark_image_instance): mark the instantiator. Mark the subwindow
6771 face not the widget face.
6772 (image_instance_equal): add instantiator.
6773 (image_instance_hash): ditto.
6774 (allocate_image_instance): ditto.
6775 (Fset_image_instance_property): removed.
6776 (Fimage_instance_file_name): ditto.
6777 (Fcolorize_image_instance): ditto.
6778 (image_instance_layout): add offsets to be set.
6779 (update_image_instance): new function. update an image instance
6780 from its changed instantiator.
6781 (inherit_normalize): add dest_mask.
6782 (xbm_normalize): ditto.
6783 (xface_normalize): ditto.
6784 (xpm_normalize): ditto.
6785 (text_update): set_property -> update.
6786 (image_instantiate): use the glyph identity as a hash key, not the
6788 (glyph_width): use new image_instance_layout signature.
6789 (glyph_ascent): ditto.
6790 (glyph_descent): ditto.
6791 (glyph_height): ditto.
6792 (glyph_query_geometry): ressurrect.
6793 (glyph_layout): ditto.
6794 (redisplay_subwindow): update -> redisplay.
6795 (syms_of_glyphs): add Fset_instantiator_property.
6796 (image_instantiator_format_create): set_property -> update.
6799 (autodetect_normalize): add dest_maks to signature.
6800 (x_redisplay_subwindow): update -> redisplay.
6801 (x_redisplay_widget): ditto.
6802 (x_button_redisplay): ditto.
6803 (x_progress_gauge_redisplay): ditto.
6804 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
6806 (console_type_create_glyphs_x): update -> redisplay.
6807 (image_instantiator_format_create_glyphs_x): ditto.
6810 (check_valid_instantiator): disallow glyphs in the instantiator,
6811 they must now be vectors.
6812 (check_valid_instantiator_list): ditto.
6813 (glyph_instantiator_to_glyph): use internal symbol rather than
6815 (widget_update): renamed from widget_set_property. Call cascaded
6817 (redisplay_widget): renamed from update_widget.
6818 (widget_layout): image_instance_layout now takes position as well
6820 (widget_normalize): ditto.
6821 (widget_instantiate): ditto.
6822 (tab_control_query_geometry) ditto.:
6823 (tab_control_update): renamed from tab_control_set_property.
6824 (progress_gauge_update): set_property -> update.
6825 (layout_normalize): rewrite so that child instantiators are
6827 (layout_update): new function. Create glyphs from the normalized
6828 children and cope with any other layout keywords. We do not
6829 instantiate children here that will be take care of by
6830 redisplay_output_layout.
6831 (layout_instantiate): call layout_update and not much else.
6832 (layout_post_instantiate): not sure whether this is needed
6834 (layout_query_geometry): query glyph geometry rather than
6835 image_instance geometry.
6836 (layout_layout): set offsets from pass in parameters. Use glyph
6837 geometry and layout functions rather than image instance ones.
6838 (native_layout_layout): ditto.
6839 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
6840 (image_instantiator_widget): set_property -> update.
6841 (image_instantiator_buttons): ditto.
6842 (image_instantiator_progress_guage): ditto.
6843 (image_instantiator_tab_control): ditto.
6844 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
6845 (image_instantiator_layout): add update method.
6847 * glyphs-msw.c (bmp_normalize):
6848 (mswindows_resource_normalize): add dest_mask so that it can be
6849 proprogated by layout_normalize.
6850 (begin_defer_window_pos): make optional because it may not be the
6851 right thing to do and it introduces differences with X.
6852 (mswindows_unmap_subwindow): ditto.
6853 (mswindows_map_subwindow): ditto.
6854 (mswindows_redisplay_subwindow): renamed from
6855 mswindows_update_subwindow.
6856 (mswindows_redisplay_widget): ditto.
6857 (mswindows_button_redisplay): renamed from
6858 mswindows_button_update. Update is now what the instantiation
6859 function does for a changed instantiator.
6860 (mswindows_progress_gauge_instantiate): set the progress value
6861 here if appropriate.
6862 (mswindows_tab_control_redisplay): cope with re-ordering of the
6863 members of the tab widget by simply selecting the new top
6864 widget. This makes things appear ok if you click on a tab.
6865 (mswindows_combo_box_instantiate): image_instance_layout now takes
6866 position as well as size.
6867 (mswindows_progress_gauge_redisplay): renamed from
6868 mswindows_progress_gauge_update.
6869 (console_type_create_glyphs_mswindows): fix update -> redisplay.
6870 (image_instantiator_format_create_glyphs_mswindows): ditto.
6872 * glyphs-eimage.c (jpeg_normalize):
6875 (tiff_normalize): add dest_mask so that it can be proprogated by
6880 (hash_table_weakness_validate):
6881 (decode_hash_table_weakness):
6882 (Fhash_table_weakness):
6884 (syms_of_elhash): use Ben's naming scheme for hashtable types..
6886 * console.h (struct console_methods): move update_* to
6889 2000-07-20 Ben Wing <ben@xemacs.org>
6891 * *.[ch] (XSETOBJ): remove unused middle argument.
6892 lisp-disunion.h: correct wrap_object() to one argument.
6894 2000-07-15 Ben Wing <ben@xemacs.org>
6897 * s/cygwin32.h (CYGWIN_CONV_PATH):
6898 Add missing logb prototype for v1.1.
6899 Use post-b20 names and alias to pre-b20 names when pre-b20.
6901 * s/windowsnt.h: [5].
6903 2000-07-15 Ben Wing <ben@xemacs.org>
6905 * Makefile.in.in (x_objs):
6906 * Makefile.in.in (sheap_objs):
6907 * Makefile.in.in (objs):
6908 added win32.o, cosmetic cleanups.
6910 * alloc.c (Fmake_byte_code):
6911 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
6912 etc. macros which declare their own args now.
6914 * alloc.c (syms_of_alloc):
6915 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
6918 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
6920 * buffer.c (Fget_file_buffer):
6921 Fixed GCPRO problem.
6923 * buffer.c (get_truename_buffer):
6924 Fixed comment about GC checking.
6926 * buffer.c (syms_of_buffer):
6927 Undeclared those dedicated frame funs.
6931 Define convenience macros for internal/external conversions.
6932 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
6933 and Qenvironment_variable_encoding for cleaner code.
6936 Remove dedicated-frame; in lisp.
6938 * bytecode.c (funcall_compiled_function):
6941 * bytecode.c (syms_of_bytecode):
6945 * console-msw.c (mswindows_show_console): Rewrote.
6947 * console-msw.c (Fmswindows_debugging_output): New.
6948 Sends to OutputDebugString (special MSWin debugger interface).
6950 * console-msw.c (Fmswindows_message_box):
6951 Fixed stupid bugs so it works when called from kill-emacs.
6953 * console-msw.c (syms_of_console_mswindows):
6954 Declare Fmswindows_debugging_output.
6957 New MSWin prototypes.
6959 * console-msw.h (struct mswindows_frame):
6960 New entry last-click-mods for improved button-modifier support.
6962 * console-msw.h (FRAME_MSWINDOWS_POPUP):
6963 New struct entry `popup' with corresponding accessor.
6966 * console-x.c (split_up_display_spec):
6967 * console-x.c (get_display_arg_connection):
6968 * console-x.c (x_semi_canonicalize_console_connection):
6969 * console-x.c (x_canonicalize_device_connection):
6970 [[[6]]]: Change char to more specific type.
6971 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
6973 * console-x.c (x_semi_canonicalize_console_connection):
6974 * console-x.c (x_canonicalize_device_connection):
6975 [[[9]]]: Fix up error signalling to use new structured error system.
6978 [[[4]]]: Define codesys aliases:
6979 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
6980 Qx_color_name_encoding, Qx_display_name_encoding.
6982 * console.h (struct console_methods):
6983 New method make_dialog_box_internal supersedes older
6984 popup_dialog_box method.
6987 Define many new errors, part of new structured errors.
6989 * data.c (init_errors_once_early):
6990 * data.c (syms_of_data):
6993 * device-msw.c (mswindows_init_device):
6994 [[[5]]]: Cleanup to support NT 3.51.
6996 * device-msw.c (decode_devmode): Cleanup.
6998 * device-msw.c (mswindows_handle_print_setup_dialog_box):
6999 * device-msw.c (mswindows_handle_print_dialog_box):
7000 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7001 * device-msw.c (syms_of_device_mswindows):
7002 Delete the dialog box primitives recently introduced by Kirill and
7003 instead interface to general dialog box interface.
7006 * device-x.c (compute_x_app_name):
7007 * device-x.c (x_init_device):
7008 * device-x.c (Fx_valid_keysym_name_p):
7009 * device-x.c (Fx_set_font_path):
7013 * device.h (wrap_device): New.
7014 First of its kind; meant to replace XSETDEVICE.
7016 * dialog-msw.c: Many file-dialog symbols.
7018 * dialog-msw.c (mswindows_register_popup_frame): New.
7019 * dialog-msw.c (mswindows_is_dialog_msg): New.
7020 For supporting kbd traversal in dialog boxes.
7022 * dialog-msw.c (dialog_proc):
7023 Support hitting ESC in dialogs.
7025 * dialog-msw.c (struct):
7026 Common dialog box errors.
7028 * dialog-msw.c (handle_file_dialog_box): New.
7029 Add file dialog code.
7031 * dialog-msw.c (handle_question_dialog_box):
7032 Redo existing code to support new question dialog syntax.
7034 * dialog-msw.c (console_type_create_dialog_mswindows):
7035 We support new dialog console method.
7037 * dialog-msw.c (syms_of_dialog_mswindows):
7038 * dialog-msw.c (vars_of_dialog_mswindows):
7039 New file dialog symbols, vars.
7042 * dialog-x.c (maybe_run_dbox_text_callback):
7043 * dialog-x.c (dbox_descriptor_to_widget_value):
7044 * dialog-x.c (x_make_dialog_box_internal):
7045 * dialog-x.c (console_type_create_dialog_x):
7046 Mule-ize entire file.
7047 Redo to support question dialog syntax.
7051 * dialog.c (Fmake_dialog_box_internal):
7052 * dialog.c (syms_of_dialog):
7053 Kill old popup-dialog-box, replace with new primitive.
7054 Just call device method or signal error.
7056 * eldap.c (Fldap_open):
7057 * eldap.c (Fldap_search_basic):
7058 * eldap.c (Fldap_add):
7059 * eldap.c (Fldap_modify):
7064 * emacs.c (make_arg_list_1):
7065 * emacs.c (make_arg_list):
7066 Mule-ize call to dll_init().
7070 * emacs.c (make_argc_argv):
7071 * emacs.c (free_argc_argv):
7072 * emacs.c (init_cmdargs):
7074 * emacs.c (Fkill_emacs):
7075 * emacs.c (Fdump_emacs):
7076 Update comments about what can be used in syms_* etc.
7077 Call init_win32() when necessary.
7078 Fix up MS Win dialog box in kill-buffer to actually work right.
7089 * eval.c (condition_case_3):
7091 * eval.c (function_argcount):
7092 * eval.c (funcall_lambda):
7095 * eval.c (type_error): New.
7096 * eval.c (maybe_type_error): New.
7097 * eval.c (continuable_type_error): New.
7098 * eval.c (maybe_continuable_type_error): New.
7099 * eval.c (type_error_with_frob): New.
7100 * eval.c (maybe_type_error_with_frob): New.
7101 * eval.c (continuable_type_error_with_frob): New.
7102 * eval.c (maybe_continuable_type_error_with_frob): New.
7103 New functions for use with structured errors.
7106 * event-Xt.c (x_event_to_emacs_event):
7107 Buttons are now modifiers too.
7109 * event-Xt.c (emacs_Xt_current_event_timestamp):
7110 Implement new event method.
7111 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7114 * event-msw.c (ntpipe_shove_writer): [5].
7115 * event-msw.c (mswindows_enqueue_mouse_button_event):
7116 * event-msw.c (mswindows_drain_windows_queue):
7117 * event-msw.c (mswindows_wnd_proc): [7].
7118 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7119 * event-msw.c (mswindows_modifier_state):
7120 Throughout: support new button modifiers.
7122 * event-msw.c (emacs_mswindows_current_event_timestamp):
7123 Implement new event method.
7124 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7127 * event-stream.c (event_stream_current_event_timestamp): New.
7128 * event-stream.c (maybe_kbd_translate): New functionality.
7129 * event-stream.c (vars_of_event_stream):
7130 Document new kbd-translate-table functionality.
7132 * event-stream.c (Fcurrent_event_timestamp): New.
7133 New primitive for use in fabricated events.
7134 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7136 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7139 * events.c (Fmake_event):
7140 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7144 * events.c (format_event_object): fix gcc warnings.
7146 * events.c (Fevent_timestamp): Document new primitives.
7148 * events.c (TIMESTAMP_HALFSPACE): New.
7150 * events.c (Fevent_timestamp_lessp): New. New primitive for
7151 comparing timestamps correctly (half-space algorithm).
7153 * events.c (Fevent_modifier_bits): Doc fix.
7155 * events.c (Fevent_modifiers): Major doc addition.
7156 * events.c (event_x_y_pixel_internal): Typo fix.
7157 * events.c (syms_of_events): Declare new primitives.
7160 Update long comment for button modifiers, timestamps.
7162 * events.h (struct event_stream):
7163 New current_event_timestamp method.
7166 * extents.c (extent_in_region_p):
7167 * extents.c (decode_extent):
7168 * extents.c (Fset_extent_parent):
7169 * extents.c (decode_map_extents_flags):
7173 * extents.c (struct extent_at_arg):
7174 * extents.c (decode_extent_at_flag):
7175 * extents.c (extent_at_mapper):
7176 * extents.c (extent_at_bytind):
7177 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7178 * extents.c (Fextents_at): New primitive. [9].
7179 * extents.c (symbol_to_glyph_layout): [9].
7180 Support new primitive `extents-at'.
7183 * extents.c (get_text_property_bytind):
7184 extent_at_bytind has another arg.
7187 * extents.c (syms_of_extents): New primitive.
7189 * file-coding.c (Fmake_coding_system): [1].
7190 * file-coding.c (subsidiary_coding_system): fix gcc warning
7191 * file-coding.c (syms_of_file_coding): [2].
7193 * fileio.c (Fexpand_file_name):
7194 * fileio.c (Fsysnetunam):
7195 * fileio.c (Ffile_exists_p):
7196 * fileio.c (Ffile_executable_p):
7197 * fileio.c (Fverify_visited_file_modtime):
7200 * fileio.c (syms_of_fileio): [2].
7202 * filelock.c (lock_file_1):
7203 * filelock.c (current_lock_owner):
7204 * filelock.c (lock_if_free):
7205 * filelock.c (lock_file):
7206 * filelock.c (unlock_file):
7209 * fns.c (concat): Fix gcc warning.
7212 * fns.c (Fold_member):
7214 * fns.c (Fold_memq):
7215 * fns.c (memq_no_quit):
7217 * fns.c (Fold_assoc):
7219 * fns.c (Fold_assq):
7220 * fns.c (assq_no_quit):
7222 * fns.c (Fold_rassoc):
7224 * fns.c (Fold_rassq):
7225 * fns.c (rassq_no_quit):
7227 * fns.c (Fold_delete):
7229 * fns.c (Fold_delq):
7230 * fns.c (delq_no_quit):
7231 * fns.c (Fremassoc):
7233 * fns.c (remassq_no_quit):
7234 * fns.c (Fremrassoc):
7235 * fns.c (Fremrassq):
7236 * fns.c (remrassq_no_quit):
7241 * frame-msw.c (mswindows_init_frame_1):
7242 * frame-msw.c (mswindows_delete_frame):
7243 Register popups with dialog code so keyboard traversing works.
7245 * frame-tty.c (tty_raise_frame_no_select): [1].
7248 * frame-x.c (x_set_frame_text_value):
7249 * frame-x.c (x_set_frame_properties):
7250 * frame-x.c (x_create_widgets):
7254 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7256 * frame.h (wrap_frame): New.
7257 Macro like wrap_device.
7260 * general.c (SYMBOL):
7261 * general.c (syms_of_general):
7262 Major reorg. This is now just a wrapper and symbols themselves
7263 are listed in general-slots.h.
7265 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7266 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7268 * glyphs-msw.c (mswindows_native_layout_instantiate):
7269 Add DS_CONTROL so keyboard traversal will work.
7272 * glyphs-widget.c (syms_of_glyphs_widget):
7273 Move some symbols to general-slots.h.
7276 * glyphs-x.c (xbm_instantiate_1):
7277 * glyphs-x.c (x_xbm_instantiate):
7278 * glyphs-x.c (x_xface_instantiate):
7279 * glyphs-x.c (autodetect_instantiate):
7280 * glyphs-x.c (cursor_font_instantiate):
7281 * glyphs-x.c (x_update_widget):
7282 * glyphs-x.c (x_widget_instantiate):
7283 * glyphs.c (bitmap_to_lisp_data):
7284 * glyphs.c (pixmap_to_lisp_data):
7287 * glyphs.c (syms_of_glyphs):
7291 * gui-x.c (print_widget_value):
7292 * gui-x.c (menu_separator_style_and_to_external):
7293 * gui-x.c (add_accel_and_to_external):
7294 * gui-x.c (button_item_to_widget_value):
7295 * gui-x.c (gui_items_to_widget_values_1):
7296 * gui-x.c (gui_items_to_widget_values):
7297 * gui-x.c (syms_of_gui_x):
7298 * gui-x.c (vars_of_gui_x):
7299 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7303 Muleize, prototype changes matching gui-x.c.
7306 * gui.c (separator_string_p):
7307 * gui.c (gui_item_add_keyval_pair):
7308 * gui.c (make_gui_item_from_keywords_internal):
7309 * gui.c (signal_too_long_error):
7310 * gui.c (parse_gui_item_tree_item):
7311 * gui.c (syms_of_gui):
7312 * gui.c (vars_of_gui):
7314 menu-no-selection-hook moved here (used by MSWin).
7315 Move some symbols to general-slots.h.
7319 * insdel.c (get_buffer_pos_char):
7320 * insdel.c (get_buffer_range_char):
7323 * keymap.c (keymap_lookup_directly):
7324 * keymap.c (keymap_store):
7325 * keymap.c (ensure_meta_prefix_char_keymapp):
7326 * keymap.c (describe_map):
7328 Support new button modifiers.
7330 * lisp-disunion.h (wrap_object):
7331 * lisp-disunion.h (XSETOBJ):
7332 Rename make_obj to wrap_object.
7335 * lisp-union.h (make_int):
7336 * lisp-union.h (make_char):
7337 Support wrap_object.
7340 * lisp.h (LIST_LOOP):
7341 * lisp.h (EXTERNAL_LIST_LOOP):
7342 * lisp.h (LIST_LOOP_2):
7343 * lisp.h (EXTERNAL_LIST_LOOP_1):
7344 * lisp.h (EXTERNAL_LIST_LOOP_2):
7345 * lisp.h (EXTERNAL_LIST_LOOP_3):
7346 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7347 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7348 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7349 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7350 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7351 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7352 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7353 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7354 * lisp.h (struct Lisp_Symbol):
7355 * lisp.h (maybe_continuable_error_with_frob):
7356 Fix up section comments.
7357 Add new types for char to indicate usage.
7358 Delete symbols auto-generated from general-slots.h.
7359 Add prototypes for structured error functions.
7360 Add long comments describing looping macros and change interface
7361 so that lvalues are automatically declared.
7362 Add NO_DECLARE macro in case callers want to declare lvalues
7365 * lread.c (read_syntax_error):
7366 * lread.c (continuable_read_syntax_error):
7367 * lread.c (read_structure):
7368 * lread.c (sequence_reader):
7369 * lread.c (read_list_conser):
7370 * lread.c (read_compiled_function):
7371 Rename syntax_error and continuable_syntax_error to avoid clash
7372 with same-named structured error functions.
7374 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7375 * menubar-msw.c (populate_menu_add_item):
7376 * menubar-msw.c (populate_or_checksum_helper):
7381 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7382 Mule-ize whole file.
7384 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7386 * mule-charset.c (Fmake_charset):
7387 * mule-wnnfns.c (Fwnn_set_param):
7390 * ntproc.c (create_child):
7391 * ntproc.c (Fwin32_set_current_locale):
7392 Add comments portending doom.
7395 * objects-msw.c (old_font_enum_callback_2):
7396 * objects-msw.c (font_enum_callback_1):
7397 * objects-msw.c (mswindows_enumerate_fonts):
7401 * objects-x.c (allocate_nearest_color):
7402 * objects-x.c (x_parse_nearest_color):
7403 * objects-x.c (x_initialize_color_instance):
7404 * objects-x.c (x_print_color_instance):
7405 * objects-x.c (x_finalize_color_instance):
7406 * objects-x.c (x_valid_color_name_p):
7407 * objects-x.c (x_initialize_font_instance):
7408 * objects-x.c (x_print_font_instance):
7409 * objects-x.c (valid_x_font_name_p):
7410 * objects-x.c (truename_via_FONT_prop):
7411 * objects-x.c (truename_via_random_props):
7412 * objects-x.c (truename_via_XListFonts):
7413 * objects-x.c (x_font_truename):
7414 * objects-x.c (x_font_instance_truename):
7415 * objects-x.c (x_font_instance_properties):
7416 * objects-x.c (x_list_fonts):
7417 * objects-x.c (x_find_charset_font):
7418 Mule-ize entire file.
7425 * print.c (std_handle_out_external):
7426 * print.c (debug_print_no_newline):
7427 * print.c (syms_of_print):
7428 Output to all debugger kinds in debug-print.
7429 Fix console-output code under MSWin to actually work.
7431 * process-nt.c (send_signal):
7432 * process-nt.c (nt_create_process):
7433 Use newer Unicode macros.
7435 * process-unix.c (unix_create_process):
7436 * process-unix.c (unix_canonicalize_host_name):
7437 * process-unix.c (unix_open_network_stream):
7443 * search.c (syms_of_search):
7446 * select-msw.c (mswindows_destroy_selection):
7449 * select-x.c (symbol_to_x_atom):
7452 * select.c (syms_of_select):
7455 * sound.c (Fplay_sound_file):
7459 * specifier.c (decode_specifier_type):
7460 * specifier.c (Fvalid_specifier_locale_type_p):
7461 * specifier.c (check_valid_locale_or_locale_type):
7462 * specifier.c (decode_locale):
7463 * specifier.c (decode_locale_type):
7464 * specifier.c (decode_locale_list):
7465 * specifier.c (check_valid_domain):
7466 * specifier.c (decode_specifier_tag_set):
7467 * specifier.c (Fcanonicalize_tag_set):
7468 * specifier.c (Fdefine_specifier_tag):
7469 * specifier.c (Fspecifier_tag_predicate):
7470 * specifier.c (check_valid_inst_list):
7471 * specifier.c (check_valid_spec_list):
7472 * specifier.c (decode_how_to_add_specification):
7473 * specifier.c (check_modifiable_specifier):
7474 * specifier.c (specifier_add_spec):
7475 * specifier.c (boolean_validate):
7476 * specifier.c (display_table_validate):
7479 * specifier.c (syms_of_specifier):
7480 Move some symbols to general-slots.h.
7484 * symbols.c (Fmapatoms):
7485 * symbols.c (Fapropos_internal):
7488 * symbols.c (set_default_buffer_slot_variable):
7489 * symbols.c (set_default_console_slot_variable):
7492 * symbols.c (defsymbol_massage_name_1):
7493 * symbols.c (defkeyword_massage_name):
7494 * symbols.c (deferror_1):
7495 * symbols.c (deferror):
7496 * symbols.c (deferror_massage_name_and_message):
7498 * symeval.h (DEFSYMBOL):
7499 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7501 * symbols.c (syms_of_symbols):
7505 * symsinit.h (init_win32): New.
7506 Also new is syms_of_dialog_mswindows.
7509 Add new Unicode macros, missing Cygwin wide-char functions,
7510 convenience conversion macros for Qmswindows_tstr, macros for
7511 encapsulating required MSWin <-> Cygwin filename conversions,
7512 prototype for dynamically-extracted (not in NT 3.51) functions.
7517 * tooltalk.c (Fadd_tooltalk_message_arg):
7518 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7519 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7522 * tooltalk.c (syms_of_tooltalk):
7526 * unexnt.c (unexec):
7527 Fix up headers, declaration of unexec() to be more standard.
7529 2000-07-20 Martin Buchholz <martin@xemacs.org>
7531 * offix.h: Revert change to guard macros - they're used in offix.c!
7533 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7535 * lisp.h: Defsubred Fdelete.
7537 * console-msw.h: (msprinter_default_printer): Added.
7539 * console-msw.c (msprinter_canonicalize_console_connection):
7540 (msprinter_canonicalize_device_connection): Added.
7542 * device-msw.c (msprinter_default_printer):
7543 (Fmswingows_get_default_printer):
7544 (signal_enum_priner_error):
7545 (Fmswingows_printer_list): Added.
7547 2000-07-19 Martin Buchholz <martin@xemacs.org>
7549 * XEmacs 21.2.35 is released.
7551 2000-07-19 Martin Buchholz <martin@xemacs.org>
7553 * select-x.c (x_handle_selection_request):
7554 Text selected in xemacs and pasted into xterm failed to appear.
7555 Spelling fixes and cosmetic changes.
7557 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7559 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7560 XEmacs frame (fix for doubling chars in dialog boxes).
7562 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7564 * select.c (select_convert_in, select_convert_out):
7565 Don't call intern() every time.
7567 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7568 * select.c (vars_of_select): Initialise them.
7570 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7572 * select.c (selection-coercible-types): New.
7574 * select.c (own-selection-internal):
7575 * select.c (get-selection-internal):
7576 MULE bug fix - these should default to COMPOUND_TEXT and not
7577 STRING for MULE. I think.
7579 * select.c (select_convert_out): Use selection-coercible-types
7580 to find types that we can attempt to perform coercions on.
7582 2000-07-18 Martin Buchholz <martin@xemacs.org>
7586 Add coding: cookie to identify encoding.
7588 * mule-canna.c (CANNA_mode_keys): make static.
7589 Use proper prototypes, even for functions of no arguments.
7590 Remove external prototype for Fding().
7592 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7594 * select.c (syms_of_select): Add missing DEFSUBR.
7596 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7598 * select.c (get_selection_internal, own_selection_internal):
7599 Make the type default to STRING, rather than placing a nil type
7600 into Vselection_alist.
7602 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7604 * gpmevent.c (tty_selection_exists_p):
7605 * gpmevent.c (tty_own_selection):
7606 Updated parameter lists.
7608 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7610 * select.h (selection-alist): Removed declaration.
7612 * select.h (get_local_selection):
7613 * select.c (get_local_selection):
7616 * select.h (convert_selection): Removed declaration.
7617 * select.c (convert_selection): Removed.
7618 This function belongs in Lisp.
7620 * select.h (select_convert_in): Declare.
7621 * select.h (select_convert_out): Declare.
7622 * select.c (select_convert_in): New.
7623 * select.c (select_convert_out): New.
7624 New conversion functions for other files to call.
7626 * select.h (select_notify_buffer_kill): Declare.
7627 * select.c (select_notify_buffer_kill): New.
7628 New functions that get called from kill-buffer.
7630 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
7631 X-specific lisp code.
7633 * select.h: Declare some of the lisp-visible functions for
7636 * select.c (clean_local_selection_data): Removed. This was
7637 a disgusting function, and previously should have been in
7638 select-x.c in any case. The functionality is now provided
7639 in select-convert-from-integer (select.el).
7641 * select.c (available-selection-types): Fixed stupidity where
7642 INTEGER and ATOM got added twice. Also add STRING when we see an
7645 * select.c (get-selection-internal): Removed symbol stripping. No
7646 longer causes conversion when data comes from the internal cache.
7648 * select.c (syms_of_select): Added new functions.
7650 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
7651 error checking - previously this called abort!
7653 * select-x.c (x_own_selection): Changed comment.
7655 * select-x.c (x_handle_selection_request): Use select_convert_out.
7656 Don't mess with selection-alist; it's an internal variable of select.c.
7658 * select-x.c (x_get_foreign_selection): Use select_convert_in.
7660 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
7661 rather than messing with selection-alist.
7663 * select-msw.c (mswindows_get_foreign_selection):
7664 Use TO_INTERNAL_FORMAT rather than hacking.
7666 2000-07-14 Martin Buchholz <martin@xemacs.org>
7668 * process-unix.c (unix_open_multicast_group):
7669 (unix_open_multicast_group): Remove useless casts.
7671 2000-07-13 Martin Buchholz <martin@xemacs.org>
7673 * sound.c (Fplay_sound): Fix `unused variable' warning.
7675 * emacs.c (main): Use correct type for _environ on SCO5.
7677 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
7679 * console.h (own_selection_method):
7680 * console.h (selection_exists_p_method):
7681 * console.h (available_selection_types_method): New.
7682 * console.h (register_selection_data_type_method): New.
7683 * console.h (selection_data_type_name): New.
7685 * console-msw.h (mswindows_destroy_selection): Declare it. New
7686 function & alist to track GlobalAlloc()'d handles that need
7687 releasing when the clipboard data gets replaced or emptied.
7689 * event-msw.c (mswindows_wnd_proc): Call it.
7691 * lisp.h, general.c (Qappend): New symbol representing a
7694 * select.c (own-selection-internal):
7695 * select.c (selection-exists-p):
7696 * select.c (available-selection-types): New.
7697 * select.c (register-selection-data-type): New.
7698 * select.c (selection-data-type-name): New. New functions to deal
7699 with device-specific selection data formats.
7700 * select.c (selection-converter-out-alist): Renamed.
7701 * select.c (selection-converter-in-alist): New.
7702 * select.c (selection-appender-alist): New. Added new alists.
7703 * select.c (syms_of_select, vars_of_select): Added new symbols &
7705 * select.c (get_local_selection): Split.
7706 * select.c: Removed spurious type checking - selections may now be
7707 of any type, not just strings.
7708 * select.c (own-selection-internal):
7710 * select.h, select.c (convert_selection): New. Created
7711 convert_selection() function based on get_local_selection().
7712 * select.h, select.c (QCF_*): New symbols representing mswindows
7714 * select.h, select.c (Qreplace_all, Qreplace_existing): New
7715 symbols representing `how-to-add' modes.
7717 * select-msw.c (x_sym_p): New.
7718 * select-msw.c (symbol_to_ms_cf): New.
7719 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
7720 symbols & clipboard formats. Can also handle string names.
7721 * select-msw.c (mswindows_own_selection):
7722 * select-msw.c (mswindows_selection_exists_p):
7723 Added `data-type' parameter. Use it.
7724 * select-msw.c (mswindows_available_selection_types): New.
7725 * select-msw.c (mswindows_register_selection_data_type): New.
7726 * select-msw.c (mswindows_selection_data_type_name): New.
7727 * select-msw.c (mswindows_own_selection):
7728 * select-msw.c (mswindows_get_foreign_selection):
7729 * select-msw.c (mswindows_selection_exists_p): Rewrote.
7730 * select-msw.c (console_create_select_mswindows): Added new methods.
7731 * select-msw.c (mswindows_destroy_selection): New.
7732 * select-msw.c (Vhandle_alist): New list.
7733 * select-msw.c (mswindows_own_selection):
7735 * select-x.c (x_own_selection):
7736 * select-x.c (x_selection_exists_p):
7737 * select-x.c: Added some comments about maybe using new
7739 * select-x.c (x_own_selection):
7741 * specifier.c: Remove definition of Qappend (now in general.c)
7742 * specifier.c (syms_of_specifier): Remove Qappend.
7744 2000-07-12 Martin Buchholz <martin@xemacs.org>
7746 * config.h.in: Add socklen_t.
7748 * s/decosf4-0.h: No special compiler flags needed or desired.
7749 In particular, undefine _BSD for DEC OSF 4.0.
7751 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7753 * redisplay-msw.c (msprinter_frame_output_end): Added.
7754 (console_type_create_redisplay_mswindows): Referred the above.
7756 * frame.c (setup_frame_without_minibuffer): Do not create a
7757 default minibuffer frame on a printer device.
7759 * frame-msw.c (apply_dc_geometry): Added.
7760 (msprinter_start_page):
7761 (msprinter_init_frame_3):
7762 (msprinter_eject_page): Use it.
7764 * console-msw.h (struct msprinter_frame): Added pix_left and top,
7765 and removed residual duplex and orientation properties.
7767 2000-07-11 Martin Buchholz <martin@xemacs.org>
7769 * eval.c (function_argcount): Work around a DEC CC compiler bug.
7771 * unexalpha.c: Remove system prototypes from C sources!
7773 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
7775 * eval.c: Remove references to M-x edit-options in DEFUNs for
7776 `defvar' and `defconst'.
7778 2000-07-09 Martin Buchholz <martin@xemacs.org>
7780 * config.h.in: Remove SMART_INCLUDE hackery.
7783 * config.h.in: Don't use SMART_INCLUDE.
7785 * postgresql.h: Include libpq-fe.h here. Fix typo.
7786 * inline.c: Simply #include "postgresql.h"
7788 - Don't use SMART_INCLUDE
7789 - Use simply "const".
7790 - Use standard doc string conventions.
7791 - Use correct type for result of PQstatus.
7793 2000-07-09 Martin Buchholz <martin@xemacs.org>
7795 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
7797 C++ compilation changes.
7798 * config.h.in (EXTERN_C): Define.
7799 * config.h.in (not): This is also a C++ keyword.
7800 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
7801 * cm.c: Use EXTERN_C.
7802 * redisplay-tty.c: Use EXTERN_C.
7803 * sysdep.c: Use EXTERN_C. Remove Gould support.
7805 2000-07-09 Martin Buchholz <martin@xemacs.org>
7807 * general.c: Remove duplicate definition for Qfunction.
7809 2000-07-08 Ben Wing <ben@xemacs.org>
7811 * device-msw.c (msprinter_init_device):
7812 * device-msw.c (sync_printer_with_devmode):
7813 * device-msw.c (handle_devmode_changes):
7814 * device-msw.c (print_dialog_worker):
7815 * device-msw.c (Fmsprinter_apply_settings):
7816 * device-msw.c (hash_devmode):
7817 * device-msw.c (Fmsprinter_settings_despecialize):
7818 use Qmswindows_tstr, not Qctext.
7820 * vm-limit.c (check_memory_limits):
7821 avoid infinite loop printing warning messages.
7823 2000-07-05 Craig Lanning <lanning@scra.org>
7825 * Makefile.in.in: Add support for including the Windows resources
7826 when building with the cygwin and mingw targets.
7828 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
7829 not set or not correct.
7830 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
7831 (init_initial_directory): Don't try to use $PWD on the
7832 WIN32_NATIVE target.
7835 [[Add -mwindows to eliminate console window.]] not required --ben
7836 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7837 (MAIL_USE_POP): removed; now handled by configure.
7839 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
7840 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
7841 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7842 (MAIL_USE_POP): removed; now handled by configure.
7843 (ENCAPSULATE_STAT): from Dan Holmsand, added.
7844 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
7845 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
7847 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
7848 up from <winsock.h> via systime.h.
7849 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
7850 (getpagesize): from Dan Holmsand, added.
7851 Added #endif which was left dangling by Ben's mega patch; added
7852 comment to help prevent this in the future.
7854 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
7856 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7858 * console-msw.h (struct mswindows_device): Removed unnecessary
7859 cached device geometry values.
7860 Added update_tick and an accessor macro.
7861 (Lisp_Devmode): Added lrecord declaration.
7862 (struct msprinter_device): Contain devmode as a Lisp object.
7863 Added mswindows_get_selected_frame_hwnd();
7865 * console.h (struct console_methods): Indentation nitpicking.
7867 * device-msw.c (mswindows_init_device): Do not initialize geometry
7868 cache. Initialize update tick.
7869 (mswindows_device_system_metrics): Ask the device for its geometry.
7870 (global_free_2_maybe):
7871 (devmode_to_hglobal):
7872 (handle_printer_changes):
7873 (ensure_not_printing):
7874 (print_dialog_worker):
7875 (Fmsprinter_print_setup_dialog):
7876 (Fmsprinter_print_dialog):
7879 (Fmsprinter_page_setup_dialog): Added functions.
7880 (sync_printer_with_devmode):
7881 (handle_devmode_changes):
7882 (Fmsprinter_get_settings):
7883 (Fmsprinter_select_settings):
7884 (Fmsprinter_apply_settings):
7886 (Fmsprinter_settings_copy):
7887 (Fmsprinter_settings_despecialize):
7891 (hash_devmode): Added functions
7892 (syms_of_device_mswindows): Init devmode lrecord class.
7894 * device.h: Added an exfun for find-device.
7896 * event-msw.c (mswindows_wnd_proc): Do not update the cached
7897 geometry; although, recreate the device compatible DC.
7899 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
7900 (msprinter_init_frame_3):
7901 (msprinter_frame_property):
7902 (msprinter_internal_frame_property_p):
7903 (msprinter_frame_properties):
7904 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
7905 print job properties (will move to device settings).
7907 * lisp.h: Added symbols.
7909 * general.c (syms_of_general): Declared them.
7911 * hash.c (string_hash): Added.
7913 * lrecord.h (lrecord_type): Added devmode lrecord type.
7915 2000-07-02 Mike Sperber <mike@xemacs.org>
7917 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
7920 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
7922 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
7925 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
7927 * data.c (Fstring_to_number): Don't recognize floating point if
7930 2000-06-22 Martin Buchholz <martin@xemacs.org>
7932 * glyphs-widget.c (tab_control_query_geometry):
7933 (widget_query_geometry):
7934 (button_query_geometry):
7935 * glyphs.c (text_query_geometry):
7936 Enforce type correctness.
7938 2000-06-18 Martin Buchholz <martin@xemacs.org>
7940 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
7941 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
7943 2000-06-17 Martin Buchholz <martin@xemacs.org>
7945 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
7946 conflicts with gcc's fixincluded version of FOO.h.
7948 * glyphs.h (image_instance_geometry): Remove trailing `,'
7950 2000-06-08 Mike Alexander <mta@arbortext.com>
7952 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
7953 (shove_thread): Don't write the same output twice
7954 (make_ntpipe_output_stream): Increase priority of shove thread
7955 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
7957 (ntpipe_shove_closer): Don't delete the pipe until we're done with
7960 2000-06-12 Ben Wing <ben@xemacs.org>
7962 * s\mingw32.h (sigset):
7963 * s\windowsnt.h (sigset):
7964 rename msw_ to mswindows_ for consistency with general convention.
7966 2000-06-12 Ben Wing <ben@xemacs.org>
7969 * console-msw.c (mswindows_get_console_hwnd):
7970 * console-msw.c (mswindows_ensure_console_allocated):
7971 * console-msw.c (mswindows_hide_console):
7972 * console-msw.c (mswindows_show_console):
7973 * console-msw.c (mswindows_ensure_console_buffered):
7974 * console-msw.c (mswindows_output_console_string):
7975 * console-msw.c (mswindows_windows9x_p):
7977 * device-msw.c (mswindows_get_workspace_coords):
7978 * device-msw.c (mswindows_device_system_metrics):
7979 * dialog-msw.c (mswindows_popup_dialog_box):
7980 * event-msw.c (mswindows_wnd_proc):
7981 * frame-msw.c (mswindows_size_frame_internal):
7982 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7983 * menubar-msw.c (displayable_menu_item):
7984 * menubar-msw.c (mswindows_char_is_accelerator):
7986 * nt.c (mswindows_sigset):
7987 * nt.c (mswindows_sigrelse):
7988 * nt.c (mswindows_sigpause):
7989 * nt.c (mswindows_raise):
7990 * nt.c (timer_proc):
7992 * ntproc.c (find_child_console):
7993 * ntproc.c (sys_kill):
7995 * print.c (std_handle_out_external):
7996 * process-nt.c (find_child_console):
7997 * process-nt.c (send_signal_the_95_way):
7998 * process-nt.c (ensure_console_window_exists):
7999 * process-nt.c (nt_create_process):
8001 rename msw_ to mswindows_ for consistency with general convention.
8005 include nt.h, not syswindows.h.
8007 * nt.c (mswindows_fstat):
8008 * nt.c (mswindows_stat):
8009 prefix mswindows_ instead of attempting to directly override the
8010 library functions. fix declarations.
8013 include syswindows.h. move some sysdep.h stuff here.
8016 include syswindows.h, not <windows.h>.
8024 * sysdep.c (sys_fstat):
8025 * sysdep.c (sys_stat):
8026 call mswindows versions when appropriate.
8029 move mswin decls to nt.h.
8032 add long comment describing appropriate use of the various windows
8035 2000-06-11 Ben Wing <ben@xemacs.org>
8037 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8039 2000-06-10 Ben Wing <ben@xemacs.org>
8041 * Makefile.in.in (release):
8042 Correction to make sure xemacs.exe always dumped when correct.
8046 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8048 * buffer.c (set_buffer_internal):
8049 [[[[2]]]]: Remove HAVE_FEP code.
8051 * buffer.c (init_initial_directory):
8055 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8059 * callproc.c (call_process_cleanup):
8060 * callproc.c (Fold_call_process_internal):
8061 * callproc.c (child_setup):
8062 * callproc.c (getenv_internal):
8063 * callproc.c (init_callproc):
8064 * callproc.c (vars_of_callproc):
8065 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8066 __CYGWIN32__ -> CYGWIN.
8067 DOS_NT -> WIN32_NATIVE.
8068 Remove MSDOS support/references, converting to WIN32_NATIVE
8070 __MINGW32__ -> MINGW.
8071 Fix windows.h includes.
8072 Remove bogus HAVE_NTGUI.
8078 mswindows_message_outputted added for use in allowing startup
8079 errors on the console to be seen.
8081 * console-msw.c (msw_ensure_console_allocated):
8082 * console-msw.c (msw_output_console_string):
8083 * console-msw.c (DHEADER):
8084 * console-msw.c (DOPAQUE_DATA):
8085 * console-msw.c (DEVENT):
8086 * console-msw.c (DCONS):
8087 * console-msw.c (DCONSCDR):
8088 * console-msw.c (DSTRING):
8089 * console-msw.c (DVECTOR):
8090 * console-msw.c (DSYMBOL):
8091 * console-msw.c (DSYMNAME):
8094 * console-stream.c (stream_init_console):
8095 Fix text/binary problems.
8098 * device-msw.c (mswindows_finish_init_device):
8099 * device-msw.c (mswindows_delete_device):
8102 * device.c (handle_asynch_device_change):
8106 * dgif_lib.c (DGifOpenFileName):
8107 * dgif_lib.c (DGifOpenFileHandle):
8108 * dgif_lib.c (DGifGetLine):
8109 * dgif_lib.c (DGifGetPixel):
8110 Added config.h/lisp.h, fix up includes.
8117 * dired.c (file_name_completion):
8118 * dired.c (Ffile_attributes):
8119 * dired.c (syms_of_dired):
8123 * dumper.c (pdump_file_unmap):
8124 * dumper.c (pdump_load):
8128 * editfns.c (Ftemp_directory):
8129 * editfns.c (user_login_name):
8130 * editfns.c (Fuser_real_login_name):
8131 * editfns.c (get_home_directory):
8134 * elhash.c (finish_marking_weak_hash_tables):
8135 [[[[5]]]]: Fix GCC warnings.
8138 * emacs.c (mswindows_handle_hardware_exceptions):
8139 * emacs.c (make_arg_list_1):
8141 * emacs.c (Fkill_emacs):
8142 * emacs.c (Fdump_emacs):
8144 Fix problems with nested crashes, add long comment.
8146 * event-Xt.c (init_event_Xt_late):
8150 * event-msw.c (mswindows_dde_callback):
8151 * event-msw.c (mswindows_handle_sticky_modifiers):
8152 * event-msw.c (mswindows_wnd_proc):
8156 * events.c (character_to_event):
8160 * fileio.c (Ffile_name_directory):
8161 * fileio.c (Ffile_name_nondirectory):
8162 * fileio.c (directory_file_name):
8163 * fileio.c (Fexpand_file_name):
8164 * fileio.c (Fsubstitute_in_file_name):
8165 * fileio.c (Ffile_name_absolute_p):
8166 * fileio.c (check_executable):
8167 * fileio.c (Ffile_readable_p):
8168 * fileio.c (Ffile_accessible_directory_p):
8169 * fileio.c (Ffile_modes):
8170 * fileio.c (Funix_sync):
8171 * fileio.c (vars_of_fileio):
8174 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8176 Expand getdefdir defn.
8177 Fix bogus rename() comment.
8179 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8180 to use standard XEmacs include files, e.g. sysfile.h, rather
8181 than system-specific includes.
8187 * frame.c (vars_of_frame):
8191 * getloadavg.c (getloadavg):
8193 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8194 (We don't use it elsewhere in the code; just add a comment.)
8201 * glyphs-msw.c (mswindows_resource_instantiate):
8204 * glyphs-x.c (x_native_layout_instantiate):
8207 * gui-msw.c (Fmswindows_shell_execute):
8216 * lread.c (locate_file_in_directory_mapper):
8223 * mem-limits.h (get_lim_data):
8235 * nt.c (rva_to_section):
8236 * nt.c (mswindows_executable_type):
8238 Fix closedir() defn.
8241 [[[[8]]]]: *_OK defs moved to sysfile.h.
8250 * print.c (std_handle_out_external):
8254 * process-nt.c (nt_create_process):
8256 try to fix process quoting somewhat.
8258 * process-unix.c (unix_create_process):
8262 * process.c (vars_of_process):
8269 * realpath.c (xrealpath):
8272 * redisplay-tty.c (init_tty_for_redisplay):
8282 * sheap.c (more_static_core):
8283 * sheap.c (report_sheap_usage):
8287 * signal.c (alarm_signal):
8294 * strftime.c (zone_name):
8297 * symsinit.h (init_sunpro):
8301 commctrl.h not in Cygwin b20.1.
8305 * sysdep.c (sys_subshell):
8306 * sysdep.c (init_baud_rate):
8307 * sysdep.c (emacs_get_tty):
8308 * sysdep.c (emacs_set_tty):
8309 * sysdep.c (tty_init_sys_modes_on_device):
8310 * sysdep.c (init_system_name):
8311 * sysdep.c (sys_open):
8312 * sysdep.c (interruptible_open):
8313 * sysdep.c (sys_fopen):
8314 * sysdep.c (sys_mkdir):
8315 * sysdep.c (sys_rename):
8316 * sysdep.c (get_process_times_1):
8323 * sysdir.h (DIRENTRY_NONEMPTY):
8326 * sysdll.c (dll_init):
8332 added text/binary defs.
8338 * sysproc.h (EDESTADDRREQ):
8339 * sysproc.h (poll_fds_for_input):
8356 Always define WIN32_LEAN_AND_MEAN.
8358 * unexcw.c (unexec):
8362 * unexec.c (copy_text_and_data):
8363 * unexec.c (adjust_lnnoptrs):
8367 * unexnt.c (_start):
8370 2000-06-07 Ben Wing <ben@xemacs.org>
8372 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8373 was used only as a model. We've long since extracted any useful
8374 logic or code out of this. (I just did an exhaustive search.)
8376 * s\msdos.h: Removed.
8378 * s\windows95.h: Removed.
8380 2000-06-10 Ben Wing <ben@xemacs.org>
8384 Don't use extern with fun defs.
8388 Remove nt\inc include.
8389 Remove getdisk, getdefdir. (The former is unused, the latter
8390 expanded in fileio.h.)
8393 * s\windowsnt.h (WIN32_NATIVE):
8394 * s\windowsnt.h (HAVE_STRCASECMP):
8396 Add long comment about preprocessor changes.
8397 Remove getdisk, getdefdir. (The former is unused, the latter
8398 expanded in fileio.h.)
8400 2000-06-10 Ben Wing <ben@xemacs.org>
8409 Remove bogus/unused NO_SOCK_SIGIO.
8411 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8413 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8416 2000-06-04 Mike Sperber <mike@xemacs.org>
8418 * casetab.c (set_case_table): For `set-standard-case-table',
8419 actually deposit the new case tables where the rest of XEmacs can
8422 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8424 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8426 2000-06-05 Ben Wing <ben@xemacs.org>
8428 * callproc.c (child_setup): Don't do close_load_descs() under
8429 MS Windows. Put in a comment explaining why.
8431 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8433 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8434 Toolkit shell" which breaks `kill-compilation' on Windows NT
8435 native, retaining STDERR handling improvements.
8437 2000-06-01 Andreas Jaeger <aj@suse.de>
8439 * s/s390.h: Support for S390, based on a patch by Martin
8440 Schwidefsky <schwidefsky@de.ibm.com>.
8442 2000-05-30 Andy Piper <andy@xemacs.org>
8444 * window.c (allocate_window):
8445 (make_dummy_parent):
8446 (Fset_window_configuration): use new hashtable type.
8448 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8449 (struct image_instantiator_methods):
8450 (struct Lisp_Image_Instance): make instance geometry signed.
8452 * glyphs.c (instantiate_image_instantiator):
8453 (image_instance_query_geometry):
8454 (image_instance_layout):
8455 (image_instance_layout):
8456 (query_string_geometry):
8457 (text_query_geometry):
8458 (image_instantiate):
8459 (image_instantiate):
8460 (cache_subwindow_instance_in_frame_maybe):
8461 (subwindow_query_geometry): make instance geometry signed.
8463 * glyphs-widget.c (widget_query_geometry):
8465 (button_query_geometry):
8466 (tree_view_query_geometry):
8467 (tab_control_query_geometry):
8468 (layout_query_geometry):
8470 (native_layout_layout): make instance geometry signed.
8472 2000-05-29 Olivier Galibert <galibert@pobox.com>
8474 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8477 * general.c (syms_of_general): Add Qfull_assoc symbol.
8479 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8481 (decode_weak_list_type): Decode full-assoc type.
8482 (encode_weak_list_type): Encode full-assoc type.
8483 (Fmake_weak_list): Update doc string.
8485 2000-05-30 Andy Piper <andy@xemacs.org>
8487 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8489 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8490 (decode_hash_table_weakness): ditto.
8491 (Fhash_table_weakness): ditto.
8492 (Fhash_table_type): ditto.
8493 (finish_marking_weak_hash_tables): ditto.
8494 (hash_table_weakness_validate): ditto.
8495 (syms_of_elhash): ditto.
8497 2000-05-28 Martin Buchholz <martin@xemacs.org>
8499 * XEmacs 21.2.34 is released.
8501 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8503 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8505 (updating_line_start_cache): Gone.
8506 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8507 generic code to force a minimum of 1 line laid out in the
8510 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8512 * glyphs.c (instantiate_image_instantiator): Check for initialized
8513 height & width no longer special cases IMAGE_NOTHING.
8514 (nothing_instantiate): Set height and width of instance.
8516 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8518 * unexelf.c (unexec): Search for ".data" section.
8519 Initialize new_data2_offset from old_data_index.
8520 Remove redundant check for ElfW.
8522 2000-05-23 Andy Piper <andy@xemacs.org>
8524 * glyphs.c (get_image_instantiator_governing_domain): allow more
8525 specific domains as the governing domain rather than expecting an
8526 exact match. This fixes problems with layouts.
8528 2000-05-22 Andy Piper <andy@xemacs.org>
8530 * redisplay-output.c (compare_runes): check for non-images
8532 * glyphs.c (set_glyph_dirty_p): ditto.
8533 (update_glyph_cachel_data): ditto.
8535 * glyphs-widget.c (layout_post_instantiate): ditto.
8536 (layout_post_instantiate): ditto.
8538 * event-msw.c (mswindows_wnd_proc): warning removal.
8540 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8542 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8544 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8546 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8548 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8549 (mswindows_executable_type): mingw32 now has enough headers for
8552 2000-05-20 Andy Piper <andy@xemacs.org>
8554 * console-msw.c (mswindows_output_last_error): ; -> ,
8556 2000-05-12 Andy Piper <andy@xemacs.org>
8558 * console-msw.c (FROB): compare ints with ints.
8560 2000-05-11 Andy Piper <andy@xemacs.org>
8562 * glyphs-x.c (x_finalize_image_instance): make minimal build
8565 2000-05-20 Ben Wing <ben@xemacs.org>
8568 * event-Xt.c (vars_of_event_Xt):
8569 move modifier-keys-are-sticky to event-stream.c.
8572 * event-msw.c (mswindows_enqueue_mouse_button_event):
8573 * event-msw.c (key_needs_default_processing_p):
8574 * event-msw.c (XEMSW_LCONTROL):
8575 * event-msw.c (mswindows_handle_sticky_modifiers):
8576 * event-msw.c (FROB):
8577 * event-msw.c (clear_sticky_modifiers):
8578 * event-msw.c (output_modifier_keyboard_state):
8579 * event-msw.c (output_alt_keyboard_state):
8580 * event-msw.c (mswindows_wnd_proc):
8581 * event-msw.c (mswindows_modifier_state):
8582 * event-msw.c (emacs_mswindows_handle_magic_event):
8583 implement sticky modifiers.
8586 * event-stream.c (vars_of_event_stream):
8587 move modifier-keys-are-sticky here.
8593 implement map-range-table.
8596 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8598 * redisplay-tty.c (reset_tty_modes):
8599 (tty_redisplay_shutdown): Adjust argument type to
8600 tty_frame_output_end.
8602 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8604 * eval.c (Fbacktrace): Don't output a line with only right
8607 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8609 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8610 (Fpq_reset_poll): Ditto.
8612 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8614 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8616 2000-05-16 Ben Wing <ben@xemacs.org>
8619 * buffer.c (dfc_convert_to/from_internal_format):
8620 * buffer.c (reinit_vars_of_buffer):
8621 Fix conversion functions to allow reentrancy.
8624 * console-msw.c (mswindows_output_last_error):
8625 New fun, generally useful -- output a human-readable
8626 version of GetLastError() on the console.
8629 * console-msw.h (struct mswindows_frame):
8630 Changes for DeferWindowPos. Declare mswindows_output_last_error().
8632 * console-stream.c (stream_output_begin):
8633 * console-stream.c (stream_output_end):
8634 * console-stream.c (stream_output_vertical_divider):
8635 * console-stream.c (stream_clear_region):
8636 * console-stream.c (stream_flash):
8637 * console-stream.c (console_type_create_stream):
8638 Delete blank stream methods, not needed.
8640 * console.h (struct console_methods):
8641 Split begin/end methods into window and frame.
8644 * event-msw.c (mswindows_handle_paint):
8645 * event-msw.c (output_alt_keyboard_state):
8646 * event-msw.c (mswindows_wnd_proc):
8647 * event-msw.c (vars_of_event_mswindows):
8648 Comment about problems with ignored-expose.
8649 Define mswindows-debug-events; not really implemented.
8651 * frame-msw.c (mswindows_init_frame_1):
8655 * glyphs-msw.c (begin_defer_window_pos):
8656 * glyphs-msw.c (mswindows_unmap_subwindow):
8657 * glyphs-msw.c (mswindows_map_subwindow):
8658 * glyphs-msw.c (mswindows_resize_subwindow):
8659 Use DeferWindowPos to reduce flashing when mapping/unmapping.
8661 * glyphs.c (make_image_instance_1):
8664 * gutter.c (Fredisplay_gutter_area):
8665 Use new begin/end methods.
8667 * lisp.h (Dynarr_new2):
8671 * redisplay-msw.c (mswindows_frame_output_begin):
8672 * redisplay-msw.c (mswindows_frame_output_end):
8673 * redisplay-msw.c (console_type_create_redisplay_mswindows):
8674 New begin/end methods -- handle DeferWindowPos.
8676 * redisplay-output.c (redisplay_move_cursor):
8677 * redisplay-output.c (redraw_cursor_in_window):
8678 * redisplay-output.c (redisplay_update_line):
8679 * redisplay-output.c (redisplay_output_window):
8680 New begin/end methods.
8683 * redisplay-tty.c (tty_frame_output_begin):
8684 * redisplay-tty.c (tty_frame_output_end):
8685 * redisplay-tty.c (console_type_create_redisplay_tty):
8686 New begin/end methods.
8689 * redisplay-x.c (x_window_output_begin):
8690 * redisplay-x.c (x_window_output_end):
8691 * redisplay-x.c (console_type_create_redisplay_x):
8692 New begin/end methods.
8694 * redisplay.c (redisplay_frame):
8695 * redisplay.c (Fredisplay_echo_area):
8696 New begin/end methods.
8697 use MAYBE_DEVMETH for clear_frame; it may not exist.
8699 * window.h (WINDOW_XFRAME):
8700 WINDOW_XFOO macros -- get locale and decode struct pointer.
8703 2000-05-12 Ben Wing <ben@xemacs.org>
8706 * emacs.c (ensure_no_quitting_from_now_on):
8707 * emacs.c (fatal_error_signal):
8708 * emacs.c (mswindows_handle_hardware_exceptions):
8710 * emacs.c (Fkill_emacs):
8711 * emacs.c (shut_down_emacs):
8712 * emacs.c (assert_failed):
8713 various improvements in fatal error handling.
8716 move preparing_for_armageddon to emacs.c.
8719 declare fatal_error_in_progress.
8722 * print.c (std_handle_out_external):
8723 * print.c (std_handle_out_va):
8724 * print.c (stderr_out):
8725 * print.c (stdout_out):
8726 use console under mswin when no standard output.
8727 don't do code conversion during fatal error.
8729 * scrollbar.c (Fscrollbar_page_up):
8730 * scrollbar.c (Fscrollbar_page_down):
8731 fix missing else. reindent.
8733 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
8737 * glyphs.h (GLYPH_CACHEL_DESCENT):
8738 (GLYPH_CACHEL_DESCENT):
8739 (GLYPH_CACHEL_DESCENT):
8740 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
8741 used in case these are inline functions.
8742 Use more absurd values to error check.
8744 include window.h for error check functions.
8746 2000-05-11 Ben Wing <ben@xemacs.org>
8748 * cmdloop.c (Freally_early_error_handler):
8749 Display message box under windows; otherwise, message will disappear
8750 before it can be viewed.
8753 * console-msw.c (Fmswindows_message_box):
8754 * console-msw.c (FROB):
8755 * console-msw.c (syms_of_console_mswindows):
8756 Define new fun `mswindows-message-box'.
8757 #### I will merge this into `popup-dialog-box'; just give me
8761 * general.c (syms_of_general):
8762 Some new symbols used in `mswindows-message-box'.
8765 * glyphs.c (Fset_image_instance_property):
8766 put warning in this fun.
8769 * glyphs.h (GLYPH_CACHEL_WIDTH):
8770 * glyphs.h (GLYPH_CACHEL_ASCENT):
8771 * glyphs.h (GLYPH_CACHEL):
8772 * glyphs.h (GLYPH_CACHEL_GLYPH):
8773 define error-checking versions to try to catch a bug i've seen --
8774 redisplay gets in an infinite loop because the glyph width of the
8775 continuation glyph is 65535.
8778 Extern message-box stuff.
8780 * window.c (allocate_window):
8781 * window.c (make_dummy_parent):
8782 * window.c (Fset_window_configuration):
8783 Use EQUAL not EQ for subwindow caches to make them work a bit
8784 better. (Something is still very broken.)
8787 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8789 * glyphs.c (image_instantiate): Suppress gcc warnings.
8790 (Fmake_image_instance): Fix doc string.
8791 * specifier.c (Fmake_specifier): Ditto.
8793 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
8795 * paths.h.in (PATH_LOCK): Removed.
8796 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
8797 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
8799 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8801 * fns.c (Ffeaturep): Update e-mail address in doc-string.
8802 Document (featurep '(and xemacs 21.02)).
8804 2000-05-09 Ben Wing <ben@xemacs.org>
8806 * buffer.c (complex_vars_of_buffer):
8807 update modeline-format doc.
8810 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
8813 timeline of all released versions of Emacs, for use in creating
8814 authorship comments and in synching up.
8816 * glyphs-widget.c (image_instantiator_buttons):
8817 * glyphs-widget.c (image_instantiator_edit_fields):
8818 * glyphs-widget.c (image_instantiator_combo_box):
8819 * glyphs-widget.c (image_instantiator_scrollbar):
8820 * glyphs-widget.c (image_instantiator_progress_guage):
8821 * glyphs-widget.c (image_instantiator_tree_view):
8822 * glyphs-widget.c (image_instantiator_tab_control):
8823 * glyphs-widget.c (image_instantiator_labels):
8824 * glyphs-widget.c (image_instantiator_layout):
8825 * glyphs-widget.c (image_instantiator_native_layout):
8826 rename decode_domain method to governing_domain.
8829 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
8830 * glyphs.c (add_entry_to_device_ii_format_list):
8831 make sure we don't put an entry more than once into the list.
8832 * glyphs.c (check_instance_cache_mapper):
8833 *************************************************************
8834 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8836 *************************************************************
8837 * glyphs.c (get_image_instantiator_governing_domain):
8838 clean up, expand on new concept of governing domain.
8839 * glyphs.c (instantiate_image_instantiator):
8840 * glyphs.c (allocate_image_instance):
8841 use governing_domain instead of cache_domain in naming.
8842 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
8843 * glyphs.c (make_image_instance_1):
8844 * glyphs.c (Fmake_image_instance):
8845 allow for any domain (not just device), and process the
8846 governing domain correctly. very big doc fix.
8847 * glyphs.c (Fimage_instance_domain):
8848 new primitive, to retrieve the governing domain of an image instance.
8849 * glyphs.c (image_instantiate):
8850 use new governing_domain stuff. this fixes a crash you could get
8851 by instantiating certain widget glyphs in frame locales. (should
8852 signal an error instead of crashing.)
8853 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
8854 * glyphs.c (Fglyphp): clean up doc.
8855 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
8856 * glyphs.c (syms_of_glyphs):
8857 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
8858 * glyphs.c (image_instantiator_format_create): add some comments about
8860 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
8861 for current-display-table. (Apparently Hrjove implemented in 1998 a
8862 design I wrote up in 1996, but didn't update the doc string.)
8864 * glyphs.h: clean up a doc string.
8865 * glyphs.h (governing_domain):
8866 * glyphs.h (struct image_instantiator_methods):
8867 changes for governing_domain stuff.
8870 * gutter.c (Fgutter_specifier_p):
8871 * gutter.c (Fgutter_size_specifier_p):
8872 * gutter.c (Fgutter_visible_specifier_p):
8874 * objects.c (Fcolor_specifier_p):
8875 * objects.c (Ffont_specifier_p):
8876 * objects.c (Fface_boolean_specifier_p):
8877 doc strings moved to make-*-specifier.
8879 * redisplay.c (add_disp_table_entry_runes_1):
8880 * redisplay.c (generate_fstring_runes):
8881 * redisplay.c (screen):
8882 add random comments and doc strings.
8885 * specifier.c (Fmake_specifier):
8886 major overhaul of this doc string.
8888 * specifier.c (Fvalid_specifier_domain_p):
8889 comment about the bogosity of image instances being domains.
8890 * specifier.c (decode_domain):
8891 now non-static, used in glyphs.c.
8892 * specifier.c (specifier_instance):
8893 comment about the bogosity of image instances being domains.
8894 * specifier.c (Fgeneric_specifier_p):
8895 move doc string to make-generic-specifier.
8896 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
8900 * specifier.h (DOMAIN_FRAME):
8901 * specifier.h (DOMAIN_LIVE_P):
8902 * specifier.h (DOMAIN_XDEVICE):
8904 add comments about problems with these macros.
8905 prototype for decode_domain.
8908 * toolbar.c (Ftoolbar_specifier_p):
8909 move doc string to `make-toolbar-specifier'.
8911 * window.c (window_unmap_subwindows_cache_mapper):
8912 *************************************************************
8913 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8915 *************************************************************
8917 2000-05-09 Andy Piper <andy@xemacs.org>
8919 * glyphs.h: declare reset_frame_subwindow_instance_cache.
8921 * window.c (Fset_window_configuration): reset the frame subwindow
8922 cache and re-initialize the window subwindow caches.
8924 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
8926 2000-05-09 Ben Wing <ben@xemacs.org>
8928 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
8931 2000-04-26 Mike Woolley <mike@bulsara.com>
8933 * ntheap.c: Changed recreate_heap to limit the amount reserved
8934 for the heap to that which is actually available. Also now
8935 displays a message box (with some dignostics) in the event that
8936 it still can't start.
8938 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
8940 * callproc.c (Fold_call_process_internal): GCPRO path
8942 2000-05-08 Jan Vroonhof <jan@xemacs.org>
8944 Patch by Bill Perry.
8946 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
8947 back data instead of #ifdef.
8948 (Fscrollbar_page_down): ditto.
8950 2000-05-07 Ben Wing <ben@xemacs.org>
8953 Kludge for defining Qmswindows_tstr.
8956 * nt.c (open_input_file):
8957 * nt.c (open_output_file):
8958 * nt.c (rva_to_section):
8959 * nt.c (mswindows_executable_type):
8960 Move all memory-mapped-file routines here (some were in unexnt.c,
8961 which is bad because they are used by process-nt.c, and unexnt
8962 won't be around when portable dumping). Synched the above routines
8966 Removed ifdef'd out bogus code.
8967 Fixed some prototypes.
8970 * nt.h (OFFSET_TO_RVA):
8971 * nt.h (RVA_TO_OFFSET):
8972 * nt.h (RVA_TO_PTR):
8973 Moved the memory-mapped-file structures, macros and prototypes
8974 here, to parallel nt.c. ntheap.h should really be removed
8975 entirely, and it's a non-portable-dumper specific file.
8977 * ntheap.h (round_to_next):
8978 Moved the memory-mapped-file structures, macros and prototypes
8981 * ntproc.c (compare_env):
8982 Moved rva_to_section and mswindows_executable_type to nt.c.
8983 Moved compare_env to process-nt.c.
8984 ntproc.c will die, one day.
8986 * ntproc.c (sys_spawnve):
8987 Account for win32_ -> mswindows_.
8990 * process-nt.c (struct nt_process_data):
8991 * process-nt.c (ensure_console_window_exists):
8992 * process-nt.c (compare_env):
8993 * process-nt.c (nt_create_process):
8994 * process-nt.c (nt_kill_process_by_pid):
8995 * process-nt.c (syms_of_process_nt):
8996 * process-nt.c (vars_of_process_nt):
8997 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
8998 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
8999 changes). Eliminate our old `nt-quote-process-args' mechanism.
9000 Synch up nt_create_process with FSF 20.6 sys_spawnve.
9001 Move compare_env here from ntproc.c.
9003 * process.c (Fprocess_send_region):
9004 Takes an optional fourth argument, BUFFER, which should fix some
9005 problems with call-process.
9008 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
9011 Move ICC_BAR_CLASSES to syscommctrl.h.
9012 Add preliminary macros for MSWindows/Mule. More to come.
9015 * unexnt.c (unexec):
9016 open_output_file moved to nt.c.
9019 2000-05-05 Andy Piper <andy@xemacs.org>
9021 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
9022 instance from the frame cache also since GC may catch up too late
9023 to make frame deletion sane.
9025 2000-05-04 Andy Piper <andy@xemacs.org>
9027 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
9028 (x_finalize_image_instance): ungcpro on deletion.
9030 * glyphs.c (image_instantiator_format_create): give pointers a
9031 query geometry method so that the geometry is at least set.
9033 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
9034 initialize layouts if using widgets.
9036 2000-05-03 Andy Piper <andy@xemacs.org>
9038 * nt.c: remove bogus reference to sysmmsystem.h
9040 * gui-x.c (popup_selection_callback): fix no selection abort.
9042 2000-05-02 Andy Piper <andy@xemacs.org>
9044 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9045 (mswindows_widget_instantiate): ditto.
9047 * glyphs-widget.c (initialize_widget_image_instance): initialize
9049 (widget_instantiate): cope with children and items in the same
9052 * glyphs.c (mark_image_instance): cope with children as a first
9054 (image_instance_equal): ditto.
9055 (image_instance_hash): ditto.
9056 (image_instance_changed): ditto.
9058 2000-04-30 Andy Piper <andy@xemacs.org>
9060 * glyphs.c (subwindow_query_geometry): new function. Return some
9062 (subwindow_instantiate): don't assign dimensions if none have been
9064 (image_instantiator_format_create): add subwindow_query_geometry.
9065 (print_image_instance): cope with layouts as widgets.
9067 2000-04-29 Andy Piper <andy@xemacs.org>
9069 * frame.c (delete_frame_internal): call
9070 free_frame_subwindow_instance_cache so that all subwindows are
9071 finalized before their parent.
9072 (mark_frame): remove subwindow_cachels.
9073 (Fmake_frame): remove subwindow_cachel manipulation.
9074 (allocate_frame_core): subwindow_instance_cache is a weak list.
9075 (delete_frame_internal): set subwindow_instance_cache to nil.
9077 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9079 (mswindows_finalize_image_instance): use the device
9080 not the domain as the domain may have died already.
9082 * glyphs-x.c (x_finalize_image_instance): ditto.
9083 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9086 * redisplay-output.c (redisplay_unmap_subwindows): update for
9087 subwindow instance cache as a weak list.
9088 (redisplay_unmap_subwindows_maybe): ditto.
9089 (redisplay_unmap_subwindows_except_us): ditto.
9091 * glyphs.c (unmap_subwindow): error checking will check the domain
9092 so don't deal with it here. Don't use cachels anymore.
9093 (map_subwindow): ditto.
9094 (update_subwindow_cachel_data): remove old accessor names.
9095 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9096 (Fresize_subwindow): don't update cachel.
9097 (mark_subwindow_cachels):
9098 (update_subwindow_cachel_data):
9099 (add_subwindow_cachel):
9100 (get_subwindow_cachel_index):
9101 (update_subwindow_cachel):
9102 (reset_subwindow_cachels):
9103 (mark_subwindow_cachels_as_not_updated): deleted.
9104 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9105 subwindow instance to the frame cache.
9106 (find_matching_subwindow): update for subwindow instance cache as
9108 (update_widget_instances): ditto.
9109 (image_instance_type_to_mask):inlined.
9110 (free_frame_subwindow_instance_cache): new function. finalize all
9111 subwindows that are instantiated.
9113 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9114 of cachel information.
9115 (IMAGE_INSTANCE_DISPLAY_X):
9116 (IMAGE_INSTANCE_DISPLAY_Y):
9117 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9118 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9119 (XIMAGE_INSTANCE_DISPLAY_X):
9120 (XIMAGE_INSTANCE_DISPLAY_Y):
9121 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9122 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9123 remove subwindow_cachel structure and function references.
9124 (image_instance_type_to_mask): inline from glyphs.c
9126 * redisplay.c (redisplay_frame): remove subwindow_cachel
9129 * frame.h (struct frame): remove subwindow_cachels.
9130 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9132 * frameslots.h: add subwindow_instance_cache.
9134 * window.c (replace_window): check subwindow cache of replacement.
9135 (window_unmap_subwindows_cache_mapper):
9136 (window_unmap_subwindows): new functions. Unmap all subwindows
9137 cached on this window.
9138 (mark_window_as_deleted): unmap all subwindows.
9140 2000-04-27 Andy Piper <andy@xemacs.org>
9142 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9144 * glyphs-widget.c (widget_layout): return something.
9145 (layout_layout): return something. Fail if not initialized.
9146 (layout_query_geometry): ditto.
9147 (image_instantiator_native_layout): new function. Initialized the
9149 (widget_instantiate): don't do layout stuff here.
9151 * glyphs.c (instantiate_image_instantiator): reorded calling or
9152 instantiate and post_instantiate with layout in between.
9153 (image_instance_layout): be more selective about deciding whether
9154 the layout has been done or not.
9156 * glyphs.h (struct image_instantiator_methods): return a value
9159 2000-04-26 Andy Piper <andy@xemacs.org>
9161 * glyphs.c (allocate_image_instance): make initial width and
9162 height unspecified. Set initialized to 0.
9164 * syscommctrl.h new file. Encapsulates commctrl.h.
9166 * syswindows.h new file. Encapsulates windows.h.
9168 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9170 * console-msw.h: ditto.
9172 * redisplay-tty.c (tty_output_display_block): remove layout references.
9174 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9175 window handle rather than just the frame.
9177 * glyphs.c (mark_image_instance): remove layout references.
9178 (print_image_instance): ditto.
9179 (image_instance_equal): ditto.
9180 (image_instance_hash): ditto.
9181 (decode_image_instance_type): ditto.
9182 (encode_image_instance_type): ditto.
9183 (image_instantiate): ditto.
9184 (allocate_glyph): ditto.
9185 (Fimage_instance_height): ditto.
9186 (Fimage_instance_width): ditto.
9187 (update_subwindow): ditto.
9189 * redisplay-x.c (x_output_display_block): recode for layouts as
9192 * redisplay-output.c (redisplay_output_layout): recode for layouts
9194 (compare_runes): remove layout references.
9196 * redisplay-msw.c (mswindows_output_display_block): recode for
9199 * glyphs-widget.c (image_instantiator_layout): remove
9200 layout_possible_dest_types.
9201 (layout_possible_dest_types): deleted.
9203 * glyphs.h (image_instance_type): remove layout references.
9204 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9205 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9206 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9208 2000-04-25 Andy Piper <andy@xemacs.org>
9210 * glyphs-widget.c (image_instantiator_buttons):
9211 (image_instantiator_edit_fields):
9212 (image_instantiator_combo_box):
9213 (image_instantiator_scrollbar):
9214 (image_instantiator_progress_guage):
9215 (image_instantiator_tree_view):
9216 (image_instantiator_tab_control):
9217 (image_instantiator_labels):
9218 (image_instantiator_layout): call default post_instantiate method.
9219 (widget_post_instantiate): new function. Simply lays out the
9222 * glyphs.h (struct image_instantiator_methods): add
9223 post_instantiate method.
9225 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9228 2000-04-23 Andy Piper <andy@xemacs.org>
9230 * glyphs.h (struct image_instantiator_methods): add
9231 decode_domain_method.
9232 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9233 derived from the domain.
9234 (IMAGE_INSTANCE_FRAME): new accessor.
9235 (XIMAGE_INSTANCE_FRAME): ditto.
9237 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9238 instead of _SUBWINDOW_FRAME.
9239 (finalize_image_instance): ditto.
9240 (Fimage_instance_foreground): ditto.
9241 (Fimage_instance_background): ditto.
9242 (image_instantiate): ditto.
9243 (update_subwindow_cachel): ditto.
9244 (update_subwindow): ditto.
9245 (unmap_subwindow): ditto.
9246 (map_subwindow): ditto
9247 (subwindow_instantiate): ditto.
9248 * glyphs-msw.c (mswindows_update_widget): ditto.
9249 (mswindows_progress_gauge_instantiate): ditto.
9250 (mswindows_tab_control_update): ditto.
9251 * glyphs-x.c (x_update_widget): ditto.
9252 (x_widget_instantiate): ditto.
9253 (x_tab_control_instantiate): ditto.
9254 (x_tab_control_update): ditto.
9255 * event-msw.c (mswindows_wnd_proc): ditto
9257 * glyphs-widget.c (image_instantiator_layout): use
9258 subwindow_decode_domain.
9259 (image_instantiator_buttons): ditto.
9260 (image_instantiator_edit_fields): ditto.
9261 (image_instantiator_combo_box): ditto.
9262 (image_instantiator_scrollbar): ditto.
9263 (image_instantiator_progress_guage): ditto.
9264 (image_instantiator_tree_view): ditto.
9265 (image_instantiator_tab_control): ditto.
9266 (image_instantiator_labels): ditto.
9267 (image_instantiator_layout): ditto.
9269 * glyphs.c: add instance error checking to many functions.
9270 (instantiate_image_instantiator): decode device from cache_domain.
9271 (image_instantiate): partially rewrite by using
9272 decode_image_instantiator_domain to determine what domain the
9273 instance needs to be cached in.
9274 (decode_image_instantiator_domain): new function. Determine what
9275 domain the image needs to be cached in.
9276 (check_window_subwindow_cache): new error checking function.
9277 (check_instance_cache_mapper): ditto.
9278 (check_image_instance_structure): ditto.
9279 (subwindow_decode_domain): new function. Encodes a window as a
9280 subwindow's cache domain.
9281 (image_instantiator_format_create): use it for text and
9284 2000-04-21 Andy Piper <andy@xemacs.org>
9286 * glyphs.c (image_instance_device): new function.
9287 (image_instance_frame): new function.
9288 (image_instance_window): new function.
9289 (image_instance_live_p): new function.
9291 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9294 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9295 (IMAGE_INSTANCE_DOMAIN): new accessor.
9296 (XIMAGE_INSTANCE_DOMAIN): ditto.
9298 * glyphs-x.c (x_finalize_image_instance): device->domain.
9300 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9301 (mswindows_finalize_image_instance): ditto.
9303 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9304 (gif_instantiate): ditto.
9305 (png_instantiate): ditto.
9306 (tiff_instantiate): ditto.
9308 * glyphs.c (instantiate_image_instantiator): use domain rather
9310 (mark_image_instance): device -> domain.
9311 (print_image_instance): ditto.
9312 (finalize_image_instance): ditto.
9313 (image_instance_equal): ditto.
9314 (allocate_image_instance): ditto.
9315 (Fcolorize_image_instance): ditto.
9316 (query_string_geometry): ditto.
9317 (image_instantiate): ditto
9318 (query_string_font): ditto.
9319 (image_instantiate): ditto.
9320 (update_subwindow): ditto.
9321 (unmap_subwindow): ditto.
9322 (map_subwindow): ditto.
9323 (subwindow_instantiate): ditto.
9325 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9326 (DOMAIN_FRAME): ditto.
9327 (DOMAIN_WINDOW): ditto.
9328 (DOMAIN_LIVE_P): ditto.
9329 (XDOMAIN_DEVICE): ditto.
9330 (XDOMAIN_FRAME): ditto.
9331 (XDOMAIN_WINDOW): ditto.
9333 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9334 a valid specifier domain.
9336 2000-04-19 Andy Piper <andy@xemacs.org>
9338 * glyphs-widget.c (syms_of_glyphs_widget): remove
9339 widget-callback-current-channel.
9340 (vars_of_glyphs_widget): ditto.
9343 * gui.c (get_gui_callback): revert to previous behaviour.
9345 2000-04-18 Andy Piper <andy@xemacs.org>
9347 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9348 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9349 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9351 * glyphs.c (image_instance_equal): add margin_width.
9352 (image_instance_hash): ditto.
9354 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9355 (layout_query_geometry): ditto.
9356 (layout_layout): ditto.
9357 (syms_of_glyphs_widget): add margin-width.
9358 (image_instantiator_layout): allow margin-width.
9360 * glyphs.c (update_widget_instances): make a normal function.
9361 (syms_of_glyphs): remove Qupdate_widget_instances.
9364 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9365 so that we don't corrupt ideas about the last event or
9366 command. Remove widget-callback-current-channel fiddling.
9367 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9369 2000-05-01 Martin Buchholz <martin@xemacs.org>
9371 * XEmacs 21.2.33 is released.
9373 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9375 * make-src-depend: Allow dots in header file name.
9377 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9379 * mule-charset.h (struct charset_lookup): Add
9380 next_allocated_1_byte_leading_byte and
9381 next_allocated_2_byte_leading_byte.
9382 * mule-charset.c: Move above two variables so that those values
9385 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9387 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9388 when string length is zero.
9389 (find_charsets_in_emchar_string): Ditto.
9391 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9393 * lisp.h: extern Qdialog and Qmenubar.
9395 * gui-x.c: added events.h.
9396 also fixed typo which made the file uncompilable.
9398 * general.c: Added Qmenubar and Qdialog
9400 2000-04-28 Ben Wing <ben@xemacs.org>
9402 * frame-msw.c (mswindows_init_frame_1):
9403 * frame-msw.c (mswindows_mark_frame):
9404 * event-msw.c (mswindows_enqueue_dispatch_event):
9406 * console-msw.h (struct mswindows_frame):
9407 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9408 there are now three hash tables for callbacks.
9409 mswindows_enqueue_dispatch_event is no longer static.
9411 * dialog-x.c (maybe_run_dbox_text_callback):
9412 * dialog-x.c (dbox_descriptor_to_widget_value):
9413 switch to new cons3 form for callbacks.
9415 * glyphs-msw.c (mswindows_register_gui_item):
9416 * glyphs-msw.c (mswindows_widget_instantiate):
9417 * glyphs-msw.c (add_tree_item):
9418 * glyphs-msw.c (add_tab_item):
9419 new image instance parameter, so it can be passed to callback-ex.
9420 respect :callback-ex as well as :callback.
9422 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9425 * glyphs.c (print_image_instance):
9426 prettify, e.g. now prints widget type.
9429 certain funs have new image instance parameter.
9432 * gui.c (get_gui_callback):
9433 * gui.c (gui_item_add_keyval_pair):
9434 * gui.c (gui_item_init):
9435 * gui.c (gui_add_item_keywords_to_plist):
9436 * gui.c (mark_gui_item):
9437 * gui.c (gui_item_hash):
9438 * gui.c (gui_item_equal):
9439 * gui.c (copy_gui_item):
9440 * gui.c (syms_of_gui):
9441 recognize callback-ex in a number of places.
9442 also, fix the annoying "can't get out of yes-no dialog" bug.
9445 * gui.h (struct Lisp_Gui_Item):
9446 recognize callback-ex in a number of places.
9448 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9449 new parameter in button_item_to_widget_value.
9451 * glyphs-x.c (x_update_widget):
9452 * glyphs-x.c (x_button_instantiate):
9453 * glyphs-x.c (x_button_update):
9454 * glyphs-x.c (x_progress_gauge_instantiate):
9455 * glyphs-x.c (x_edit_field_instantiate):
9456 * glyphs-x.c (x_combo_box_instantiate):
9457 * glyphs-x.c (x_tab_control_instantiate):
9458 * glyphs-x.c (x_label_instantiate):
9459 new image instance parameter in various places.
9462 * event-Xt.c (enqueue_Xt_dispatch_event):
9463 this fun gets exported.
9466 * gui-msw.c (mswindows_handle_gui_wm_command):
9467 handle both :callback and :callback-ex, and generate our own
9468 event because it's one of the callback-ex arguments.
9471 * gui-x.c (popup_selection_callback):
9472 handle both :callback and :callback-ex, and generate our own
9473 event because it's one of the callback-ex arguments.
9474 * gui-x.c (button_item_to_widget_value):
9475 * gui-x.c (gui_items_to_widget_values_1):
9476 * gui-x.c (gui_item_children_to_widget_values):
9477 * gui-x.c (gui_items_to_widget_values):
9478 new image instance parameter in various places.
9480 * fns.c (Freplace_list):
9481 fix small typo in doc string.
9484 declare enqueue_Xt_dispatch_event.
9486 2000-04-28 Ben Wing <ben@xemacs.org>
9489 * buffer.c (Frecord_buffer):
9490 * buffer.c (syms_of_buffer):
9491 delete record-buffer-hook.
9494 * fns.c (Freplace_list):
9495 * fns.c (syms_of_fns):
9496 new primitive replace-list.
9499 slot for old buffer-alist.
9505 * redisplay.c (redisplay_frame):
9506 * redisplay.c (syms_of_redisplay):
9507 * redisplay.c (vars_of_redisplay):
9508 new hook buffer-list-changed-hook.
9511 2000-04-27 Ben Wing <ben@xemacs.org>
9513 * extents.h: extern in_modeline_generation.
9515 * redisplay.c (generate_formatted_string_db): set
9516 in_modeline_generation.
9518 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9519 flags if in modeline generation. otherwise frame-modified-tick
9520 is ticked far too often.
9521 Declare in_modeline_generation.
9523 2000-04-26 Ben Wing <ben@xemacs.org>
9525 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9527 (vars_of_emacs): add quick-build as an error-checking option.
9528 A bit kludgy, but there doesn't seem much point in creating
9529 a real var for this.
9531 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9533 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9535 * redisplay.h (struct display_line): Add a new variable,
9538 * redisplay.c (create_text_block): Set dl->line_continuation if
9540 (create_string_text_block): Ditto.
9541 (regenerate_window_incrementally): Use line_continuation instead
9542 of searching continuation glyph.
9543 (add_margin_runes): Call add_glyph_rune.
9544 (add_glyph_rune): Handle margin glyph.
9546 2000-04-20 Martin Buchholz <martin@xemacs.org>
9548 * filelock.c (fill_in_lock_file_name):
9550 Check for IS_ANY_SEP instead of '/'.
9552 Avoid generating gratuitous garbage. Call user_login_name() directly.
9553 Never check errno without first seeing that system call failed.
9554 (unlock_file): Add GCPRO.
9555 (Flock_buffer): Fix docstring.
9556 (Ffile_locked_p): Fix docstring. Add GCPRO.
9558 2000-04-19 Martin Buchholz <martin@xemacs.org>
9560 * sysdep.c (get_pty_max_bytes):
9561 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9562 strings longer than 252 bytes.
9564 * md5.c: Unconditionally include ANSI header <limits.h>
9566 * glyphs-x.c (convert_EImage_to_XImage):
9567 * lisp-union.h (union Lisp_Object):
9568 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9570 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9572 * filelock.c (current_lock_owner): Remove unused variable o, p.
9574 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9576 * callint.c: Remove multiply defined symbol Qlet
9577 (syms_of_callint): ditto.
9579 2000-04-14 Andy Piper <andy@xemacs.org>
9581 * general.c (syms_of_general): add last-command, this-command, let
9584 * lisp.h: declare various symbols.
9586 * glyphs.h: declare Qwidget_callback_current_channel;
9588 * glyphs-widget.c (syms_of_glyphs_widget): add
9589 Qgui_callback_current_channel.
9590 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9592 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9593 widget-callback-current-channel when invoking the interactive
9594 arg. Also bind last-command and next-command when invoking the
9596 * gui-x.c (popup_selection_callback): ditto.
9598 * gui.c (get_gui_callback): massage args so that we are always
9599 calling eval. This allows us to add our own variable bindings
9602 * glyphs-x.c (x_button_instantiate): use
9603 gui_items_to_widget_values since this is GC safe.
9604 (x_progress_gauge_instantiate): ditto.
9605 (x_edit_field_instantiate): ditto.
9606 (x_label_instantiate): ditto.
9608 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9609 (emacs_Xt_event_widget_focus_out): new function
9610 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9612 (emacs_Xt_event_add_widget_actions): new function. add focus
9613 functions as actions.
9614 (init_event_Xt_late): use it.
9616 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9618 * event-stream.c (Fdispatch_event): Doc fix.
9620 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9622 * postgresql.c: Remove all references to PQsetenv*.
9624 * postgresql.h: Remove references to PGsetenvHandler object.
9625 * lrecord.h (lrecord_type): Ditto.
9627 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9629 * glyphs-msw.h (struct mswindows_image_instance_data): Added
9630 real_heigh and real_width members, and accessor macros for these.
9632 * glyphs-msw.c (init_image_instance_geometry): New function.
9633 (init_image_instance_from_dibitmap): Use it.
9634 (mswindows_resource_instantiate): Use it.
9635 (init_image_instance_from_xbm_inline): Use it.
9636 (mswindows_initialize_image_instance_mask): Use real bitmap
9638 (mswindows_create_resized_bitmap): Ditto.
9639 (mswindows_create_resized_mask): Ditto.
9641 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
9642 and bitmap to their surface size.
9644 2000-04-11 Jan Vroonhof <jan@xemacs.org>
9646 * process-unix.c (unix_send_process): Guard against process MIA
9647 after Faccept_process_output.
9649 2000-04-11 Ben Wing <ben@xemacs.org>
9651 * eval.c (unbind_to_hairy): fix brokenness introduced by
9652 nanosecond speed improvements.
9654 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
9656 * sunplay.c (init_device): To play sounds correctly, the device
9657 apparently needs to be initialized at least once by XEmacs. Make
9660 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
9662 * redisplay.c (add_margin_runes): Add text image glyph
9665 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9667 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
9668 gcc is newer than 2.5.
9670 2000-04-06 Colin Rafferty <colin@xemacs.org>
9672 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
9674 * fns.c (size_bit_vector):
9675 * alloc.c (size_vector):
9676 (make_vector_internal):
9677 (make_bit_vector_internal):
9678 (sweep_bit_vectors_1):
9679 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
9681 2000-04-06 Andy Piper <andy@xemacs.org>
9683 * gmalloc.c (malloc): undo previous change.
9688 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
9690 * line-number.c (buffer_line_number): Revert to former version.
9692 2000-04-06 Andy Piper <andy@xemacs.org>
9694 * gmalloc.c (malloc): add error checking.
9699 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
9700 button_item_to_widget_value arg.
9702 * glyphs-x.c (x_button_instantiate): add extra
9703 button_item_to_widget_value arg.
9704 (x_progress_gauge_instantiate): ditto.
9705 (x_edit_field_instantiate): ditto.
9706 (x_label_instantiate): ditto.
9708 * gui-x.c (gui_items_to_widget_values_1): add extra
9709 button_item_to_widget_value arg.
9710 (button_item_to_widget_value): add extra menu_item_p arg.
9712 * gui-x.h: change signature of button_item_to_widget_value.
9714 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
9715 button_item_to_widget_value arg.
9717 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9719 * buffer.h (struct buffer): auto_save_modified should be long.
9721 2000-04-05 Andy Piper <andy@xemacs.org>
9723 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
9725 (button_query_geometry): give a little more room so that athena
9728 2000-04-05 Andy Piper <andy@xemacs.org>
9730 * faces.c (complex_vars_of_faces): The widget face should inherit
9731 the font of the gui-element face.
9733 2000-04-04 Andy Piper <andy@xemacs.org>
9735 * glyphs-x.c (x_button_update): new function. unconditionally
9736 update a button's state when the instance is dirty.
9737 (image_instantiator_format_create_glyphs_x): add x_button_update.
9738 (x_widget_instantiate): remove old resize cruft.
9740 2000-04-02 Andy Piper <andy@xemacs.org>
9742 * frame.c (change_frame_size_1): The introduction of gutters means
9743 that we need to allow 0 as a potential frame dimension.
9745 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
9747 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
9748 image glyph if allow_cursor.
9749 (add_hscroll_rune): Don't allow cursor to border glyph.
9750 (create_text_block): Ditto.
9752 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
9754 (redisplay_output_layout): Call ensure_face_cachel_complete for
9758 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
9760 * redisplay.c (add_glyph_rune): Adding text image as text runes.
9762 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
9765 * redisplay-tty.c (tty_output_display_block): Delete the routine
9766 for text image glyph
9767 * redisplay-x.c (x_output_display_block): ditto
9768 * redisplay-msw.c (mswindows_output_display_block): ditto
9770 2000-02-02 Mike Alexander <mta@arbortext.com>
9772 Note: Some of these were committed by accident as part of other
9775 * regex.c (regex_compile): Avoid compiler warnings.
9777 * ntproc.c (sys_spawnve): Avoid compiler warnings.
9779 * nt.h: Declare term_ntproc correctly.
9781 * nt.c: Remove incorrect declaration of get_home_directory which
9782 is declared correctly in lisp.h.
9784 * keymap.c (get_keyelt): Avoid compiler warnings.
9785 (raw_lookup_key_mapper): Avoid compiler warnings.
9787 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
9789 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
9791 * filemode.c (mode_string): Avoid compiler warnings.
9793 * file-coding.c (Fcoding_system_aliasee): Add return statement to
9796 * events-mod.h: Undef some things that winuser.h defines differently.
9798 * data.c (Faset): Avoid compiler warnings.
9800 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
9802 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9804 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
9805 Fall through to simple beep on error.
9806 Replace "extern" by real header file.
9808 * linuxplay.c: Use nativesound.h
9809 (play_sound_data): Return error code. Be less verbose on error.
9811 * sunplay.c: Use nativesound.h
9812 (play_sound_data): Return error code. Be less verbose on error.
9814 * ntplay.c: Use nativesound.h
9815 (play_sound_data): Return fake error code
9817 * sgiplay.c: Use nativesound.h
9818 (play_sound_data): Return error code
9820 * hpplay.c: Use nativesound.h, partially implement
9821 new error code. Break compilation until finished.
9822 (play_sound_data): error code.
9824 * nativesound.h (play_sound_file):
9825 (play_sound_data): Prototype in new header.
9827 2000-03-31 Andy Piper <andy@xemacs.org>
9829 * glyphs-widget.c: (button_query_geometry): new function. Adjust
9830 for toggle and radio buttons.
9831 (image_instantiator_buttons): use it.
9833 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9835 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
9836 (x_update_horizontal_scrollbar_callback): Return if no mirror was
9837 found. Scrollbar event probably belonged to some old config.
9839 2000-03-31 Andy Piper <andy@xemacs.org>
9841 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
9843 (initialize_widget_image_instance): default layout to
9844 LAYOUT_HORIZONTAL rather than 0.
9845 (widget_instantiate): reverse the item list at the end rather than
9847 (layout_layout): re-code for the border text at the front of the
9848 item list rather than at the end.
9849 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
9850 provided by the user.
9851 (widget_query_geometry): comment.
9853 2000-03-30 Andy Piper <andy@xemacs.org>
9855 * glyphs-widget.c (image_instantiator_layout): allow standard
9856 widget keywords in layouts.
9858 * gutter.c (output_gutter): cope with nil gutter contents.
9860 * frame.c (Fset_frame_properties): add gutter docs.
9862 2000-03-29 Andy Piper <andy@xemacs.org>
9864 * toolbar-msw.c (TBSTYLE_FLAT): add.
9865 (mswindows_output_toolbar): minor fiddling.
9867 2000-03-29 Andy Piper <andy@xemacs.org>
9869 * gutter.c (output_gutter): force gutter size recalculation if
9870 what we are trying to display won't fit.
9871 (update_gutter_geometry): new function. A per-gutter version of
9872 update_frame_gutter_geometry.
9873 (update_frame_gutter_geometry): use it.
9874 (redraw_exposed_gutter): add extra debugging output.
9876 2000-03-28 Mike Alexander <mta@arbortext.com>
9878 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
9879 (pdump_file_unmap): Implement it on Windows
9880 (pdump_file_get): Save alocated handles for pdump_file_unmap
9882 2000-03-28 Andy Piper <andy@xemacs.org>
9884 * gui.c (get_gui_callback): treat Quit specially.
9886 2000-03-27 Andy Piper <andy@xemacs.org>
9888 * glyphs.c (image_instantiate): be careful to check in the same
9891 2000-03-27 Didier Verna <didier@xemacs.org>
9893 * config.h.in: define the proper SMART_INCLUDE macro.
9894 handle renaming of `foo_h_path' to `foo_h_file'.
9896 * database.c: ditto.
9900 * linuxplay.c: ditto.
9902 * terminfo.c: ditto.
9904 * tooltalk.h: ditto.
9906 2000-03-27 Andy Piper <andy@xemacs.org>
9908 * glyphs-msw.c (mswindows_update_widget): make sure the widget
9909 gets updated whenever the face might have changed.
9911 2000-03-26 Mike Alexander <mta@arbortext.com>
9913 * dumper.c (pdump_resource_free): Fix the comment.
9915 2000-03-21 Olivier Galibert <galibert@pobox.com>
9917 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
9919 2000-03-22 Mike Alexander <mta@arbortext.com>
9921 * dumper.c: Include Windows headers on Windows
9922 (pdump_resource_free): Add a body to the function
9923 (pdump_load): exe_name -> exe_path and add some comments.
9925 2000-03-25 Mike Alexander <mta@arbortext.com>
9927 * gui.c (copy_gui_item_tree): Return a value in all cases
9929 2000-03-21 Didier Verna <didier@xemacs.org>
9931 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
9933 (SMART_INCLUDE): new macro.
9934 (POSTGRES_INCLUDE): new macro to include postgresql headers from
9935 the proper location.
9937 * postgresql.c: use it.
9941 2000-03-24 Andy Piper <andy@xemacs.org>
9943 * gutter.c (redraw_exposed_gutters): must be "in display" when we
9946 2000-03-24 Andy Piper <andy@xemacs.org>
9948 * redisplay-output.c (compare_runes): use image_instance_changed
9949 to detect changes. Do not depend on glyphs_changed, only depend on
9951 (redisplay_output_layout): add debug messages.
9952 (compare_runes): ditto.
9954 * glyphs.h: declare new functions.
9955 (struct Lisp_Image_Instance): remove percent and associated
9958 * gui.h: declare new copying functions.
9960 * gui.c (copy_gui_item_tree): new function.
9961 (copy_gui_item): new function.
9962 (gui_item_id_hash): revert to standard hash.
9963 (gui_item_hash): ditto.
9964 (gui_item_hash_internal): deleted.
9965 (mark_gui_item): mark value.
9966 (gui_item_add_keyval_pair): add value.
9967 (gui_item_init): ditto.
9968 (gui_add_item_keywords_to_plist): ditto.
9969 (gui_item_equal): ditto.
9970 (syms_of_gui): add Q_value.
9972 * glyphs-x.c (x_progress_gauge_update): use pending items and
9973 value for setting the state.
9974 (x_update_widget): don't set items from pending here.
9976 * glyphs-widget.c (update_widget): update items here.
9977 (progress_gauge_set_property): use items for storing value. Put
9978 new value in pending items.
9980 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
9981 items for new value. Convert percent -> value.
9982 (mswindows_tab_control_update): don't update items here.
9984 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
9985 (update_subwindow): ditto.
9986 (image_instance_changed): new function. Compare hash values and
9987 past and present widget items.
9988 (image_instantiate): We more careful about where we instantiate
9990 (image_instantiate): add error checking.
9992 * gutter.c (syms_of_gutter): use -hook.
9994 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
9996 * console-tty.c (Fset_console_tty_input_coding_system): Use
9998 (Fset_console_tty_output_coding_system): Use Qterminal.
9999 (tty_init_console): Use Qkeyboard and Qterminal.
10001 2000-03-21 Ben Wing <ben@xemacs.org>
10003 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
10004 From Mike Alexander <mta@arbortext.com>.
10006 2000-03-21 Ben Wing <ben@xemacs.org>
10008 * event-msw.c (mswindows_need_event): Horrible kludge to fix
10009 process brokenness. Proper implementation to come.
10011 Rename call-process-internal to old-call-process-internal.
10012 New impl. in process.el.
10014 2000-03-21 Martin Buchholz <martin@xemacs.org>
10016 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
10018 2000-03-20 Andy Piper <andy@xemacs.org>
10020 * glyphs.c (full_list_hash): make hashes of the same elements in
10021 different orders return different values.
10023 2000-03-20 Martin Buchholz <martin@xemacs.org>
10025 * XEmacs 21.2.32 is released.
10027 2000-03-20 Martin Buchholz <martin@xemacs.org>
10029 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
10030 (DFC_MALLOC_USE_CONVERTED_DATA):
10031 Add aliasing-safe casts to allow use with char* or unsigned char*
10034 * eldap.c (Fldap_open):
10035 (Fldap_search_basic):
10038 Make C++-compilable.
10039 Make sure GCPRO'ed variables are initialized.
10040 Use temp variables to avoid repeated calls to Flength.
10042 2000-03-16 Martin Buchholz <martin@xemacs.org>
10045 Make sure PATH_MAX is always defined.
10046 Include limits.h for PATH_MAX.
10047 Deprecate use of MAXPATHLEN.
10049 2000-03-10 Martin Buchholz <martin@xemacs.org>
10051 * emacs.c: Add reinit_vars_of_fileio.
10052 * symsinit.h: Add reinit_vars_of_fileio.
10053 * fileio.c (reinit_vars_of_fileio): New.
10054 * fileio.c (Fmake_temp_name):
10055 Initialize temp_name random number from microseconds to make
10056 collisions even less likely. Initialize always at process startup
10057 time. (make-temp-name) used to return the same file name twice in
10059 Random stylistic fiddling.
10062 2000-03-20 Andy Piper <andy@xemacs.org>
10064 * glyphs.c (image_instantiate): allow text glyphs to be
10065 instantiated in the minibuffer window.
10067 2000-03-19 Andy Piper <andy@xemacs.org>
10069 * glyphs.c (image_instance_hash): be careful about which items we
10072 * glyphs-widget.c (tab_control_set_property): record into pending
10073 items rather than the actual items.
10075 * glyphs-x.c (x_update_widget): use pending items to update with.
10077 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10080 * glyphs.c (mark_image_instance): mark pending items.
10082 * window.c (Fset_window_configuration): record the buffer.
10083 (Fselect_window): totally revert previous change which breaks many
10086 2000-03-18 Andy Piper <andy@xemacs.org>
10088 * glyphs-msw.c (mswindows_tab_control_update): force selected
10091 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10092 window domain cache, otherwise we get inconsistencies at
10093 startup. There is something fishy at startup which can lead to the
10094 minibuffer being the selected window when the gutter content is
10097 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10099 (parse_gui_item_tree_children): ditto.
10100 (parse_gui_item_tree_item): ditto.
10102 * glyphs.c (Fupdate_widget_instances): return something.
10104 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10106 * window.c (Fselect_window): Undo 2000-03-17 change.
10108 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10110 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10111 against v7.0 libraries. Insta-coredump city until the postgres
10114 2000-03-17 Andy Piper <andy@xemacs.org>
10116 * faces.c (complex_vars_of_faces): don't give the widget face an
10117 inherited background pixmap.
10119 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10122 * event-stream.c (Fdispatch_non_command_events): return something.
10124 * gutter.c (output_gutter): use widget face.
10125 (clear_gutter): ditto.
10127 * NEWS: adjust again.
10129 * window.c (Fselect_window): make sure this runs to completion to
10130 avoid oddities with Fset_window_configuration.
10131 (Fcurrent_window_configuration): in general do not save the
10132 minibuffer as the selected window.
10134 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10136 2000-03-16 Olivier Galibert <galibert@pobox.com>
10138 * emacs.c (Frunning_temacs_p): Revert previous patch.
10139 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10141 2000-03-16 Andy Piper <andy@xemacs.org>
10143 * glyphs-x.c (x_tab_control_update): if no widget values then
10146 * NEWS: update for new features.
10148 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10149 synthetic event to the native system.
10150 (reinit_vars_of_event_Xt): set force_event_pending to
10151 emacs_Xt_force_event_pending.
10153 * events.h (struct event_stream): add force_event_pending.
10155 * specifier.c (recompute_one_cached_specifier_in_window): add
10158 * redisplay.c (redisplay_frame): don't call
10159 update_frame_subwindows. Reset subwindow cachels when
10160 subwindows_changed, removing this was an optimization too far.
10162 * redisplay-output.c (compare_runes): reorganize so that we catch
10163 glyph changes when we want them. Set optimize_output when this
10164 would help layouts.
10165 (redisplay_output_layout): remove frame_really_changed, use
10166 optimize_output instead.
10168 * redisplay-msw.c (mswindows_output_display_block): reset
10169 optimize_output after outputting a glyph.
10170 * redisplay-x.c (x_output_display_block): ditto.
10171 * redisplay-tty.c (tty_output_display_block): ditto.
10173 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10175 (gutter_specs_changed): do specific gutter positions.
10176 (top_gutter_specs_changed): new function. Only update the
10177 specified gutter specs.
10178 (bottom_gutter_specs_changed): ditto.
10179 (left_gutter_specs_changed): ditto.
10180 (right_gutter_specs_changed): ditto.
10182 * gui.c (gui_item_hash_internal): new function, does a real hash.
10183 (gui_item_id_hash): use it.
10184 (gui_item_hash): hash the eval'ed gui_item.
10186 * gui-x.c (popup_selection_callback): send an eval event to call
10187 Fupdate_widget_instances.
10189 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10190 to call Fupdate_widget_instances.
10192 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10193 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10195 * glyphs.c: (update_frame_subwindows): deleted.
10196 (Fupdate_widget_instances): new function for updating the dirty
10197 state of widgets that might have changed.
10198 (syms_of_glyphs): add Qupdate_widget_instances.
10199 (full_list_hash): hash a list completely.
10200 (image_instance_hash): use it for items and properties.
10202 * frame-msw.c (mswindows_size_frame_internal): remove unused
10205 * faces.h (struct face_cachel): fix comment.
10207 * event-stream.c (Fdispatch_non_command_events): new
10208 function. Process non-command events, forcing an event cycle
10210 (syms_of_event_stream): declare.
10211 (event_stream_force_event_pending): new function. Force an event
10212 on the native event queue so that an event cycle will occur next
10216 (struct ntpipe_shove_stream):
10217 (mswindows_enqueue_dispatch_event):
10218 (mswindows_dequeue_dispatch_event):
10219 (mswindows_cancel_dispatch_event):
10220 (mswindows_pump_outstanding_events):
10221 (mswindows_drain_windows_queue):
10222 (mswindows_handle_paint):
10223 (mswindows_wnd_proc):
10224 (mswindows_key_to_emacs_keysym):
10225 (get_process_input_waitable):
10226 (emacs_mswindows_delete_stream_pair): re-indent file.
10227 (mswindows_need_event): do not process further fds if the windows
10228 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10229 fixes the 100% cpu problem.
10230 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10232 2000-03-15 Olivier Galibert <galibert@pobox.com>
10238 * emacs.c: Moved dump file searching to dumper.c.
10239 (Frunning_temacs_p): Fixed.
10241 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10242 last_lrecord_type_index_assigned.
10244 2000-02-20 Olivier Galibert <galibert@pobox.com>
10246 * symsinit.h: Added reinit parameter to init_console_stream
10249 * lisp.h: Added file parameter to pdump_load declaration.
10251 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10252 support. Added dump file searching.
10254 * config.h.in: Added EMACS_PROGNAME.
10256 * console-stream.c (init_console_stream): Fix reinitialisation
10257 when running from temacs.
10259 * alloc.c (pdump): Add id support.
10260 (pdump_load): Add file parameter and signature/id support.
10262 * Makefile.in.in: Add full pdump support.
10264 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10266 * postgresql.c: Update documentation to reflect latest code
10268 (print_result): Show tuple counts in printed representation when
10270 (Fpq_put_nbytes): MULE-ize.
10271 (Fpq_get_line_async): Ditto.
10273 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10275 * postgresql.c (Fpq_lo_import): Fix return value.
10276 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10278 2000-03-13 Ben Wing <ben@xemacs.org>
10280 * alloc.c (pdump_load):
10281 Fix compile warning under mswin.
10283 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10285 * postgresql.c: Mule-ization, bug fixes.
10286 Use PG_CODING to encapsulate coding system name changes.
10287 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10288 (pg-coding-system): Create.
10290 (Fpq_conn_defaults): Mule-ize.
10291 (Fpq_connectdb): Mule-ize & bug fix.
10292 (Fpq_connect_start): Mule-ize.
10293 (Fpq_set_client_encoding): Mule-ize.
10294 (Fpq_finish): Document `DEAD' connection status.
10295 (Fpq_clear): Ditto.
10296 (Fpq_pgconn): Mule-ize.
10297 (Fpq_exec): Mule-ize & bug fix.
10298 (Fpq_send_query): Ditto.
10299 (Fpq_get_result): Ditto.
10300 (Fpq_res_status): Mule-ize.
10301 (Fpq_result_error_message): Mule-ize.
10302 (Fpq_ntuples): fix comments.
10303 (Fpq_fname): Mule-ize.
10304 (Fpq_fnumber): Mule-ize.
10305 (Fpq_ftype): fix comments.
10306 (Fpq_get_value): Mule-ize.
10307 (Fpq_cmd_status): Ditto.
10308 (Fpq_cmd_tuples): Ditto.
10309 (Fpq_oid_value): Ditto.
10310 (Fpq_notifies): Ditto.
10311 (Fpq_lo_import): Ditto.
10312 (Fpq_lo_export): Ditto.
10313 (Fpq_get_line): Ditto.
10314 (Fpq_put_line): Mule-ize and bug fix.
10315 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10317 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10319 * postgresql.c (vars_of_postgresql): Mule-ize.
10320 (Fpq_conn_defaults): Ditto.
10322 2000-03-12 Ben Wing <ben@xemacs.org>
10324 * alloc.c (Fmake_byte_code):
10325 * alloc.c (debug_string_purity_print):
10326 * alloc.c (pdump_backtrace):
10327 * alloc.c (pdump_get_indirect_count):
10328 * alloc.c (pdump_register_sub):
10329 * alloc.c (pdump_register_object):
10330 * alloc.c (pdump_register_struct):
10331 * alloc.c (pdump_dump_data):
10332 * alloc.c (pdump_reloc_one):
10336 * console-msw.c (GetConsoleHwnd):
10337 * console-msw.c (msw_hide_console):
10338 * console-msw.c (msw_show_console):
10339 * console-msw.c (msw_ensure_console_buffered):
10340 * console-msw.c (msw_output_console_string):
10341 * console-msw.c (console_type_create_mswindows):
10343 a) Added functions to manipulate the console window for use with
10346 b) Added support for writing text to the console, which is now
10347 used under Windows when xemacs is not being run non-interactively,
10348 to write text that would otherwise be destined for stdout because
10349 under these circumstances, text written to stdout tends to
10350 disappear and not be seen.
10354 * event-Xt.c (x_event_to_emacs_event):
10355 * event-Xt.c (describe_event_window):
10356 * events-mod.h (XEMACS_MOD_CONTROL):
10358 * events.c (Fmake_event):
10359 * events.c (character_to_event):
10360 * events.c (event_to_character):
10361 * events.c (format_event_object):
10362 * events.c (Fevent_modifiers):
10364 * events.h (struct key_data):
10365 * events.h (struct button_data):
10366 * events.h (struct misc_user_data):
10367 * frame-x.c (Fcde_start_drag_internal):
10368 * frame-x.c (Foffix_start_drag_internal):
10369 * gpmevent.c (Freceive_gpm_event):
10371 * keymap.c (bucky_sym_to_bucky_bit):
10372 * keymap.c (control_meta_superify):
10373 * keymap.c (make_key_description):
10374 * keymap.c (keymap_lookup_directly):
10375 * keymap.c (create_bucky_submap):
10376 * keymap.c (keymap_store):
10377 * keymap.c (define_key_check_and_coerce_keysym):
10378 * keymap.c (define_key_parser):
10379 * keymap.c (define_key_alternate_name):
10380 * keymap.c (Fdefine_key):
10381 * keymap.c (raw_lookup_key_mapper):
10382 * keymap.c (struct map_keymap_unsorted_closure):
10383 * keymap.c (map_keymap_unsorted_mapper):
10384 * keymap.c (map_keymap_sort_predicate):
10385 * keymap.c (map_keymap_sorted):
10386 * keymap.c (accessible_keymaps_mapper_1):
10387 * keymap.c (where_is_recursive_mapper):
10388 * keymap.c (describe_map_mapper):
10389 * keymap.c (describe_map_sort_predicate):
10390 * keymap.c (describe_map):
10391 * keymap.c (complex_vars_of_keymap):
10392 And a number of other files, the key modifier preprocessor
10393 constants that xemacs uses have names that conflict with constants
10394 defined under MS Windows for other purposes, so they were renamed
10395 to begin with the prefix XEMACS_. The variables that hold such
10396 modifiers were changed to consistently be of type int to fix
10397 various compile warnings.
10399 * console.c (complex_vars_of_console):
10402 * device-msw.c (mswindows_finish_init_device):
10403 * device-msw.c (msw_get_workspace_coords):
10404 * device-msw.c (mswindows_device_system_metrics):
10405 and various other files, added support for a new
10406 device property called offset-workspace which returns the position
10407 of the upper left corner of the workspace area and goes along with
10408 the existing size-workspace property.
10411 * dialog-msw.c (push_bufbyte_string_as_unicode):
10412 * dialog-msw.c (mswindows_popup_dialog_box):
10413 Added support for XEmacs-style accelerator specifications in
10414 button text. Note: I didn't add support for this under X Windows,
10415 and somebody needs to do this.
10418 * dialog.c (Fpopup_dialog_box):
10419 Documented the support for accelerators that was just mentioned.
10421 editfns.c (get_home_directory): Changed behavior under Windows
10422 when HOME not defined; former behavior was irretrievably broken.
10425 * emacs.c (main_1):
10427 * minibuf.c (clear_echo_area_internal):
10428 * minibuf.c (echo_area_append):
10430 * print.c (std_handle_out_external):
10431 * print.c (std_handle_out_va):
10433 * print.c (write_string_to_stdio_stream):
10434 * print.c (output_string):
10435 * print.c (debug_print):
10436 * print.c (debug_backtrace):
10437 * print.c (debug_short_backtrace):
10438 Cleaned up the code that prints text to stdout so that this can be
10439 changed to output into a console window instead under MS Windows,
10440 as described above.
10443 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10444 * eval.c (internal_catch):
10445 * eval.c (unwind_to_catch):
10446 * eval.c (throw_or_bomb_out):
10447 * eval.c (condition_case_1):
10448 * eval.c (signal_1):
10449 * eval.c (check_error_state_sanity):
10450 * eval.c (call_with_suspended_errors_1):
10451 * eval.c (call_with_suspended_errors):
10452 * eval.c (reinit_vars_of_eval):
10453 Added code to catch throw loops and check for a pesky bug that may
10457 * event-msw.c (key_needs_default_processing_p):
10458 * event-msw.c (mswindows_wnd_proc):
10459 * event-msw.c (mswindows_modifier_state):
10460 * event-msw.c (emacs_mswindows_quit_p):
10461 * event-msw.c (vars_of_event_mswindows):
10462 a) Added support for using the alt key to select menu items as is
10463 standard under MS Windows. This is controlled using the variable
10464 menu-accelerator-enabled, just like under X Windows. There is an
10465 option on the options menu to turn this support on. I really
10466 think that it should be on by default under Windows, but I'm not
10467 going to make this change yet.
10469 b) Added support for dynamic display size changes under Windows.
10472 * event-stream.c (maybe_echo_keys):
10473 * event-stream.c (Fnext_event):
10474 * event-stream.c (command_builder_find_leaf):
10475 * event-stream.c (lookup_command_event):
10476 * event-stream.c (execute_command_event):
10477 * event-stream.c (pre_command_hook):
10478 * event-stream.c (post_command_hook):
10479 * event-stream.c (syms_of_event_stream):
10480 * event-stream.c (vars_of_event_stream):
10481 * event-stream.c (complex_vars_of_event_stream):
10482 * events.h (struct command_builder):
10484 a) Tried to clean up a little bit the horribly written x-specific
10485 accelerator code that crept into this file. I moved this code
10486 into menubar-x.c where it belongs. I also needed to move the
10487 command builder structure into the file events.h because it is
10488 accessed directly by this accelerator code. What I didn't do, but
10489 which should be done at some point, is to properly abstract this
10490 code using device methods instead of the kludgy way that it
10491 currently hooks into the event code.
10493 b) Added the lisp variables this-command-properties and
10494 last-command- properties, which should be used to synchronize two
10495 adjacent commands in preference to playing games with the variable
10496 this-command, which is typically what happens.
10498 c) Added some slightly nasty code to hook into the lisp support
10499 for shifted- motion-key selection. This is actually necessary for
10500 somewhat complicated reasons, which are described in
10501 simple.el. (NB: I think the proper thing would be to have the code
10502 that calls the pre and post command hooks also call out to generic
10503 lisp functions in simple.el, where all built-in stuff could be
10504 added. I will think about this more.)
10506 * event-unixoid.c (poll_fds_for_input):
10507 * lread.c (readchar):
10508 * redisplay-tty.c (tty_clear_frame):
10509 * redisplay-x.c (x_get_gc):
10510 * signal.c (interrupt_signal):
10511 And a whole bunch of other files: fixed up places that printed
10512 directly to stderr to instead call the function stderr_out so that
10513 the changes I made under Windows work correctly.
10515 * filemode.c (mode_string):
10519 * frame-msw.c (mswindows_size_frame_internal):
10520 Fixed the computation of frame size and position to keep the frame
10521 within the workspace area, rather than within the physical
10522 dimensions of the screen, so that the frame doesn't overlap window
10523 manager decorations, such as the start menu and toolbar, typically
10524 at the bottom of the screen.
10526 * frame.c (vars_of_frame):
10527 Changed the default frame title format under MS Windows to consist
10528 of buffername-XEmacs, which is standard under MS Windows. I think
10529 it might be a good idea to change this everywhere because I think
10530 it is superior to the current frame title format, but this is the
10531 kind of change that is likely to cause some people to get annoyed,
10532 so I'm not making it.
10534 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10536 * gui-msw.c (mswindows_handle_gui_wm_command):
10537 Fixed compile warnings.
10540 * gui-x.c (strdup_and_add_accel):
10541 * gui-x.c (button_item_to_widget_value):
10543 Added code to automatically put an accelerator onto the beginning
10544 of menu items that don't have one as is now the standard, and is
10545 described more later. Also fixed things so that the menu item
10546 name can be an evaluated expression, again a new standard.
10549 * gui.c (gui_item_add_keyval_pair):
10550 * gui.c (make_gui_item_from_keywords_internal):
10551 * gui.c (gui_add_item_keywords_to_plist):
10552 * gui.c (gui_item_accelerator):
10553 * gui.c (gui_name_accelerator):
10554 * gui.c (gui_item_included_p):
10555 * gui.c (gui_item_display_flush_left):
10556 * gui.c (gui_item_display_flush_right):
10557 * gui.c (parse_gui_item_tree_item):
10558 * gui.c (parse_gui_item_tree_children):
10559 * gui.c (parse_gui_item_tree_list):
10560 Mule-ized. Cleanup. GCPRO addition.
10562 * line-number.c (buffer_line_number):
10564 * lisp.h (EMACS_INT_MAX):
10565 Added the manifest constant EMACS_INT_MIN corresponding to the
10566 existing constant EMACS_INT_MAX. This is partially to fix compile
10567 warnings under Windows, and partly for cleanliness.
10570 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10571 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10572 * menubar-msw.c (displayable_menu_item):
10573 * menubar-msw.c (populate_menu_add_item):
10574 * menubar-msw.c (populate_or_checksum_helper):
10575 * menubar-msw.c (populate_menu):
10576 * menubar-msw.c (update_frame_menubar_maybe):
10577 * menubar-msw.c (prune_menubar):
10578 * menubar-msw.c (msw_char_is_accelerator):
10579 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10580 * menubar-msw.c (mswindows_handle_wm_command):
10581 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10582 * menubar-msw.c (mswindows_handle_wm_initmenu):
10583 * menubar-msw.c (mswindows_update_frame_menubars):
10584 * menubar-msw.c (mswindows_free_frame_menubars):
10585 * menubar-msw.c (mswindows_popup_menu):
10586 Fixed a bug in handling accelerators where an extra character
10587 would be displayed in the menu item. Also generalized the
10588 function displayable_menu_item because it is now used by the
10589 dialog box code as well. And finally, added code in the functions
10590 that create the menubar to extract a list of accelerators for the
10591 top level menubar, which is used in the event code to determine
10592 whether a particular alt-key combination should be used to invoke
10593 a menu item, or should be passed through to access the standard
10594 XEmacs keymap binding for this key combination.
10596 Much needed GCPROing.
10599 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10600 * menubar-x.c (menu_item_descriptor_to_widget_value):
10601 * menubar-x.c (restore_in_menu_callback):
10602 * menubar-x.c (x_popup_menu):
10603 * menubar-x.c (menu_move_up):
10604 * menubar-x.c (menu_move_down):
10605 * menubar-x.c (menu_move_left):
10606 * menubar-x.c (menu_move_right):
10607 * menubar-x.c (menu_select_item):
10608 * menubar-x.c (command_builder_operate_menu_accelerator):
10609 * menubar-x.c (menu_accelerator_junk_on_error):
10610 * menubar-x.c (command_builder_find_menu_accelerator):
10611 * menubar-x.c (Faccelerate_menu):
10613 Moved a whole bunch of code here that was previously in
10614 event-stream.c as described above. There is also code connected
10615 to the new standard of adding an accelerator to the beginning of
10616 menu items that don't have one as described above and below.
10619 * menubar.c (menu_parse_submenu_keywords):
10620 * menubar.c (Fmenu_find_real_submenu):
10621 * menubar.c (Fnormalize_menu_item_name):
10622 * menubar.c (syms_of_menubar):
10623 * menubar.c (vars_of_menubar):
10624 * menubar.c (complex_vars_of_menubar):
10626 a) Cleaned up a bunch of documentation and improved it.
10628 b) XEmacs now automatically adds an accelerator onto the beginning
10629 of any menu items that don't have one. I did this because there
10630 will inevitably be some menu items on the main menubar that don't
10631 have accelerators on them because the package that adds that
10632 particular menu item hasn't yet been fixed up to have accelerators
10633 in them and it looked rather strange to have some items with and
10634 some items without accelerators, especially since even in items
10635 without accelerators, you can, at least under windows, still
10636 access the item through an accelerator corresponding to the first
10637 character in the item's name. If people don't like this behavior,
10638 I can add a variable to turn it off optionally, but I'm not sure
10639 this is a good idea because we really do need to have accelerators
10640 on all of the menu items, and if a package doesn't like the
10641 accelerators being put on the first character, then it should put
10642 the accelerators where they belong.
10644 c) I made a behavior change, which is that the descriptor that
10645 specifies the text of the menu item, which formerly was just a
10646 string, can now also be an evaluated expression. This makes this
10647 descriptor parallel with all of the others, which could also be
10648 evaluated expressions. This also obviates the need for the
10649 keyword :label, which was previously listed in the documentation
10650 as unimplemented, and which was for the same purpose.
10655 * ntproc.c (new_child):
10656 * ntproc.c (sys_spawnve):
10657 * ntproc.c (find_child_console):
10658 * ntproc.c (sys_kill):
10659 Fixed compile warnings. By the way, this file should really go
10660 away entirely, and this will happen as soon as Kirill makes his
10661 final round of process cleanups, which affect the function
10665 * process-nt.c (struct nt_process_data):
10666 * process-nt.c (find_process_from_pid):
10667 * process-nt.c (send_signal_the_nt_way):
10668 * process-nt.c (enable_child_signals):
10669 * process-nt.c (find_child_console):
10670 * process-nt.c (send_signal_the_95_way):
10671 * process-nt.c (nt_finalize_process_data):
10672 * process-nt.c (ensure_console_window_exists):
10673 * process-nt.c (nt_create_process):
10674 * process-nt.c (nt_kill_child_process):
10675 * process-nt.c (nt_kill_process_by_pid):
10676 * process-nt.c (nt_open_network_stream):
10677 * process-nt.c (vars_of_process_nt):
10678 Copied over code from Emacs 20.5 to correctly send signals to sub-
10679 processes under Windows 95. Also added code to automatically
10680 create and hide console window when a sub-process is created under
10681 Windows 95, which obviates the need for the separate runemacs.exe
10682 executable, and finally implemented some variables that were
10683 implemented in Emacs 20.5, but previously not in XEmacs. These
10684 include mswindows- start-process-share-console and
10685 mswindows-start-process-inherit-error-mode. (Both of these only
10686 apply to Windows 95.)
10688 * regex.c (regex_compile): Fixed a compile warning.
10691 * select-msw.c (mswindows_own_selection):
10692 * select-msw.c (mswindows_get_foreign_selection):
10693 * select-msw.c (mswindows_disown_selection):
10694 * select-msw.c (console_type_create_select_mswindows):
10695 * select-msw.c (syms_of_select_mswindows):
10696 Cleaned up the file and implemented the device method
10697 selection_exists_p, which had accidentally been left out. Also
10698 removed four lisp functions that were remnants from before the
10699 time when the selection code was properly device abstracted.
10700 These functions are no longer needed because there are generic
10701 equivalents, and because they were added recently and don't exist
10702 in FSF Emacs, I don't think there's any problem with just deleting
10706 * sysdep.c (sys_subshell):
10707 Fixed a compile warning, although in this case there's probably
10708 something wrong with this code, and it ought to be looked into
10709 more thoroughly by somebody who understands it.
10712 * window.c (Fwindow_text_area_height):
10713 * window.c (Fwindow_width):
10714 * window.c (Fwindow_full_width):
10715 * window.c (Fwindow_pixel_width):
10716 * window.c (debug_print_window):
10717 * window.c (syms_of_window):
10718 Added functions window-text-area-height and window-full-width,
10719 which are functions for returning various width and height
10720 characteristics of a window. (One of these functions is necessary
10721 for making the file dialog box work correctly, and the other one
10722 was added for completeness.) Also added a table to the
10723 documentation for window-height which describes the entire scheme
10724 for accessing width and height characteristics of a window.
10726 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10728 * nt.c (fstat): Added a comment for another problem with
10729 non-encapsulated [f]stat(), reported by Adrian Aichner
10730 <aichner@ecf.teradyne.com>.
10732 2000-03-11 Andy Piper <andy@xemacs.org>
10734 * window.c (make_dummy_parent): initialize subwindow instance
10736 (Fset_window_configuration): zero extent_modiff.
10738 2000-03-10 Andy Piper <andy@xemacs.org>
10740 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
10741 more changes can be triggered.
10742 (Fredisplay_frame): ditto.
10743 (Fredraw_device): ditto.
10744 (Fredisplay_device): ditto.
10745 (redisplay_frame): make non-static.
10746 (redisplay_frame): call update_frame_gutter_geometry outside of
10749 * gutter.h: declare update_frame_gutter_geometry.
10751 * redisplay.h: declare redisplay_frame.
10753 * gutter.c (update_frame_gutter_geometry): move geometry changes
10754 in update_frame_gutters here. Geometry changes can only occur
10755 outside of redisplay.
10756 (update_frame_gutters): remove geometry change code.
10757 (Fredisplay_gutter_area): make sure that we are in display when we
10758 update and that we have flushed any size changes.
10760 2000-03-11 Andy Piper <andy@xemacs.org>
10762 * alloc.c (pdump_dump_data): remove i & count shadows.
10764 2000-02-27 Mike Alexander <mta@arbortext.com>
10766 * sysdep.h: Declare pdump_read_file
10768 * sysdep.c (pdump_read_file): New function
10770 * alloc.c (pdump_load): Call pdump_read_file to get the portable
10773 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10775 * lrecord.h: add `lrecord_type_pgsetenv'.
10777 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
10779 * symsinit.h: declare (vars|syms)_of* functions.
10780 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
10782 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
10784 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
10786 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
10789 * emacs.c (main_1): Call postgres initialization code.
10791 * postgresql.h: New file. PostgreSQL RDBMS support.
10792 * postgresql.c: New file.
10794 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
10796 * redisplay-output.c (redisplay_output_display_block): Disable
10799 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10801 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
10802 (Fcanna_henkan_next): Ditto.
10803 (Fcanna_bunsetu_henkou): Ditto.
10804 (Fcanna_henkan_kakutei): Ditto.
10805 (Fcanna_henkan_end): Ditto.
10806 (Fcanna_henkan_quit): Ditto.
10807 (Fcanna_henkan_next): Set retun value correctly.
10808 (c2mu): Use unsigned char instead of signed char.
10810 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10812 * emacs.c (main_1): Always call syms_of_gui.
10813 * inline.c: include gui.h
10815 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10817 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
10818 converted to Lisp_Object.
10819 (Qtop_bottom): New variable.
10820 (syms_of_redisplay): Initialize it.
10821 * redisplay.h (Vvisible_bell): Ditto.
10822 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
10823 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
10824 only flash top and bottom.
10826 2000-03-08 Andy Piper <andy@xemacs.org>
10828 * buffer.c (Frename_buffer): record new buffer name the right way.
10830 2000-03-08 Andy Piper <andy@xemacs.org>
10832 * glyphs.c (update_subwindow): increase hash depth so that widget
10833 items get picked up properly.
10835 * redisplay-output.c (compare_runes): increase hash depth so that
10836 widget items get picked up properly.
10838 2000-03-08 Andy Piper <andy@xemacs.org>
10840 * gutter.c (output_gutter): add some debug.
10842 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
10843 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
10844 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
10846 * redisplay-output.c (compare_runes): use display_hash to
10847 determine if glyphs really are not the same.
10849 * glyphs.c (update_subwindow): check display_hash to see if
10850 anything really needs to be updated. If not then do
10851 nothing. Record the display_hash after updating.
10852 (image_instance_equal): compare the image_instance face also.
10854 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
10856 * redisplay.h: Fix comment style.
10858 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
10860 * consle-msw.h (struct mswindows_frame):
10861 Added new member paint_pending to indicate whether a WM_PAINT
10862 magic event has been queued for this frame.
10864 * event-msw.c (mswindows_drain_windows_queue):
10865 Don't queue a WM_PAINT magic event if one is already queued.
10866 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
10868 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
10870 2000-03-07 Didier Verna <didier@xemacs.org>
10872 * dired.c: #include `regex.h' after `sysfile.h'.
10874 2000-03-06 Martin Buchholz <martin@xemacs.org>
10876 * sound.c (init_nas_sound): Fix compiler warning.
10878 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
10880 (MARK_STRUCT_AS_FREE):
10881 (MARK_STRUCT_AS_NOT_FREE):
10882 Make `gcc -fstrict-aliasing' work properly.
10884 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
10886 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
10887 (mswindows_delete_device): Call CoUnnitialize().
10889 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
10891 2000-02-25 <CraigL@DyCon.com>
10893 * process-nt.c: MinGW now has <shellapi.h>, but still needs
10896 * sysdep.c: This extern declaration for environ prevents MinGW
10897 from finding the variable in CRTDLL.DLL.
10899 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
10901 (SHGFI_EXETYPE): ..
10902 (WM_MOUSEWHEEL): ..
10903 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
10905 (MMRESULT): Removed, now defined in cygwin's windows headers.
10907 (uid_t,gid_t,pid_t,ssize_t): ..
10908 (_timeb): Removed, MinGW defines both _timeb and timeb.
10909 (HAVE_H_ERRNO): Added.
10910 (HAVE_TZNAME): Added, configure is not detecting this.
10912 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
10914 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
10915 * syntax.c (syntax_match): Use it.
10917 * cmds.c: Import auto-fill-chars from FSF Emacs.
10918 (Vauto_fill_chars): New variables.
10919 (internal_self_insert): Check Vauto_fill_chars.
10921 Declare auto-fill-chars as a Lisp variable and initialize it.
10923 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10925 * fileio.c (Fmake_symbolic_link):
10927 Run handlers even if local machine doesn't have symlinks.
10929 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10931 * event-msw.c (mswindows_drain_windows_queue):
10932 Don't generate paint magic events for non-XEmacs frames.
10934 2000-03-05 Andy Piper <andy@xemacs.org>
10936 * redisplay.c (redisplay_frame): generate_displayable_area and
10937 friends assumes that we are not in GC, we therefore have to make
10938 sure that this doesn't happen.
10940 * gutter.c (calculate_gutter_size): generate_displayable_area
10941 assumes that we are not in GC, we therefore have to make sure that
10942 this doesn't happen.
10944 2000-03-05 Martin Buchholz <martin@xemacs.org>
10946 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
10948 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10950 * redisplay.c (regenerate_window): Make sure we set a sane value
10951 for end_pos even if we jump out of the loop.
10952 (regenerate_window): Answer Ben's question :-).
10953 (start_end_of_last_line): Add may_error argument.
10954 (start_of_last_line):
10955 (end_of_last_line): Pass may_error = 0.
10956 (end_of_last_line_may_error): New function.
10957 (pixel_to_glyph_translation): Use it, so we don't crash in
10960 2000-03-04 Andy Piper <andy@xemacs.org>
10962 * window.h (struct window): add gutter_extent_modiff.
10964 * window.c (allocate_window): zero out gutter_extent_modiff.
10966 * redisplay.h: declare sync_display_line_structs.
10968 * redisplay.c (add_glyph_rune): add a better comment.
10970 * redisplay-output.c (sync_display_line_structs): made non-static.
10971 (compare_runes): remove unneccesary glyph cachel access.
10973 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
10975 * gutter.c (output_gutter): don't output the gutter if extent
10976 changes only involve extents in buffers. use 4 sets of display
10978 (gutter_extent_signal_changed_region_maybe): new function. Mark
10979 extents in gutters as changed.
10980 (update_frame_gutters): use 4 sets of display lines.
10981 (reset_gutter_display_lines): ditto.
10982 (free_frame_gutters): ditto.
10983 (redraw_exposed_gutter): force output of gutters.
10985 * frame.h (struct frame): add 4 sets of gutter display lines.
10987 * extents.c: (extent_changed_for_redisplay): signal changes to
10988 extents in strings in the gutter as well as extents in buffers.
10990 2000-03-02 Andy Piper <andy@xemacs.org>
10992 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
10994 * frame.c (Fmake_frame): make sure the gutters get initialized
10995 after the frame is visible.
10996 (set_frame_selected_window): re-arrange compilation macros a
10998 (change_frame_size_1): mark gutters changed.
11000 * device.c (Fset_device_class): mark gutters changed.
11002 2000-03-01 Andy Piper <andy@xemacs.org>
11004 * window.c (window_top_frame_gutter_height): deleted.
11005 (window_bottom_frame_gutter_height): ditto.
11006 (window_left_frame_gutter_height): ditto.
11007 (window_right_frame_gutter_height): ditto.
11008 (window_top_gutter_height): don't use them.
11009 (window_bottom_gutter_height): ditto.
11010 (window_left_gutter_width): ditto.
11011 (window_right_gutter_width): ditto.
11012 (Fsplit_window): ditto.
11013 (Fwindow_pixel_edges): don't use border dimensions here.
11015 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
11016 (update_scrollbar_instance): ditto.
11018 * redisplay.c (generate_modeline): don't take gutters into account.
11019 (generate_modeline): ditto.
11020 (redisplay_frame): small gutter display optimization.
11022 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
11024 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
11025 gutters into account.
11027 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
11028 for window position and type.
11030 * gutter.c (get_gutter_coords): fix for frame gutters.
11031 (update_frame_gutters): update frame geometry if the gutters have
11033 (init_frame_gutters): record current gutter geometries.
11035 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
11037 (mswindows_widget_instantiate): ditto.
11039 * frame.h (struct frame): add current_gutter_bounds.
11041 * frame.c (change_frame_size_1): position window and minibuffer
11042 appropriately taking into account the frame gutters.
11044 * frame-x.c: (x_initialize_frame_size): take into account the
11047 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11049 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11051 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11053 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11055 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11057 * file-coding.c (reset_decoding_stream): Clear previous
11058 detection state when autodetect.
11060 2000-02-29 Didier Verna <didier@xemacs.org>
11062 * extents.c (set_extent_glyph_1): don't require extents to be
11065 2000-02-27 Andy Piper <andy@xemacs.org>
11067 * gutter.c (Fset_default_gutter_position): don't default left and
11068 right gutter visibility to t.
11069 (Fset_default_gutter_position): run
11070 default-gutter-position-changed-hook.
11071 (syms_of_gutter): add default-gutter-position-changed-hook.
11073 2000-02-26 Andy Piper <andy@xemacs.org>
11075 * specifier.c (Fmake_specifier): add gutter references.
11077 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11079 * lisp.h: declare Fvalid_plist_p.
11081 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11083 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11084 well as its visibility so that it gets reconstructed.
11085 (construct_window_gutter_spec): new function. Construct a string
11086 to be displayed in the gutter from a plist of strings. Take care
11087 to only use elements that are declared as visible.
11088 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11090 (gutter_validate): allow plists of strings in the specifier.
11091 (gutter_specs_changed): construct the real_gutter from the gutter
11092 specs using construct_window_gutter_spec.
11093 (gutter_visible_validate): gutter-visible is a new specifier type.
11094 (Fgutter_visible_specifier_p): new function for the new specifier.
11095 (syms_of_gutter): declare gutter-visible and
11096 Fgutter_visible_specifier_p.
11097 (specifier_type_create_gutter): intitalize new gutter-visible
11099 (reinit_specifier_type_create_gutter): ditto.
11100 (specifier_vars_of_gutter): use new specifier type for gutter
11102 (init_frame_gutters): construct real_gutter correctly.
11103 (Fgutter_specifier_p): beef up documentation.
11104 (Fgutter_size_specifier_p): ditto.
11106 * winslots.h: add real_gutter slots.
11108 2000-02-25 Andy Piper <andy@xemacs.org>
11110 * device-msw.c: Be kind to older cygwin versions. From Raymond
11111 Toy <toy@rtp.ericsson.se>.
11113 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11114 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11116 2000-02-25 Martin Buchholz <martin@xemacs.org>
11118 * elhash.c (MARK_OBJ): Practice macro hygiene.
11120 2000-02-24 Martin Buchholz <martin@xemacs.org>
11122 * miscplay.c: s/__inline__/inline/g;
11123 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11124 (get_device_compdc): INLINE ==> static inline
11125 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11126 find -name '*.h' | \
11127 xargs global-replace \
11128 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11130 2000-02-25 Andy Piper <andy@xemacs.org>
11132 * window.c (window_top_frame_gutter_height): new function.
11133 (window_top_window_gutter_height): ditto.
11134 (window_top_gutter_height): use them.
11135 (window_bottom_frame_gutter_height): new function.
11136 (window_bottom_window_gutter_height): ditto.
11137 (window_bottom_gutter_height): use them.
11138 (window_left_window_gutter_width): new function.
11139 (window_left_frame_gutter_width): ditto.
11140 (window_left_gutter_width): use them.
11141 (window_right_window_gutter_width): new function.
11142 (window_right_frame_gutter_width): ditto.
11143 (window_right_gutter_width): use them.
11144 (window_pixel_height): new function. calulate window pixel height
11145 with frame gutter involvement.
11146 (Fsplit_window): calculate new sizes taking frame gutters into
11148 (window_char_height_to_pixel_height): don't include frame gutters.
11149 (window_char_height): use window_pixel_height.
11150 (window_pixheight): rename from window_pixel_height.
11151 (change_window_height): use it.
11152 (window_pixel_height_to_char_height): don't include frame gutters.
11153 (window_char_width_to_pixel_width): ditto.
11155 2000-02-25 Andy Piper <andy@xemacs.org>
11157 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11160 2000-02-24 Martin Buchholz <martin@xemacs.org>
11162 * alloc.c (staticpro):
11163 (staticpro_nodump):
11168 (compact_string_chars):
11169 (pdump_dump_wired):
11170 Convert: if (foo) abort(); ==> assert (! foo);
11172 * eldap.c (Fldap_search_basic):
11176 Fix compiler warnings, and possible crashes if (random) return
11177 value were to be used.
11179 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11181 * device-msw.c: Workaround ResetDC failure.
11183 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11184 applying a devmode.
11186 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11187 (mswindows_text_width): Do not start printer page.
11189 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11191 * glyphs-msw.c: Added image methods to msprinter console and
11192 msprinter-specific image instantiation.
11194 2000-02-20 Mike Alexander <mta@arbortext.com>
11196 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11197 to avoid crashes when selection-sets-clipboard is on
11198 (mswindows_own_selection): ditto
11200 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11203 * redisplay-msw.c (get_frame_dc):
11204 (get_frame_compdc):
11206 * device-msw.c (mswindows_init_device):
11207 (mswindows_delete_device):
11208 (msprinter_init_device):
11209 (msprinter_delete_device):
11210 * frame-msw.c (mswindows_init_frame_1):
11211 (mswindows_delete_frame):
11212 (msprinter_init_frame_3):
11213 (msprinter_delete_frame): Move compatible DC to device object from
11214 frame object, for both mswindows and msprinter. Only one at a time
11215 is needed, it is a real waste to have one per frame!
11217 2000-02-23 Andy Piper <andy@xemacs.org>
11219 * glyphs.c: add dynamic width and height elements.
11220 (image_instance_equal): ditto.
11222 * glyphs-widget.c (widget_query_geometry): calculate width and
11223 height dynamically if required.
11224 (initialize_widget_image_instance): initialize dynamic dimensions.
11225 (widget_instantiate): pick-up dynamic dimensions.
11227 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11228 dynamic determination. Add appropriate macros.
11230 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11232 (WINDOW_GUTTER_SIZE): ditto.
11233 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11235 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11237 (get_frame_dc): ditto.
11239 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11242 2000-02-23 Martin Buchholz <martin@xemacs.org>
11244 * XEmacs 21.2.31 is released.
11246 2000-02-22 Ben Wing <ben@xemacs.org>
11248 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11250 2000-02-22 Andy Piper <andy@xemacs.org>
11252 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11254 2000-02-21 Mike Sperber <mike@xemacs.org>
11258 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11261 2000-02-21 Mike Sperber <mike@xemacs.org>
11263 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11265 2000-02-21 Martin Buchholz <martin@xemacs.org>
11267 * XEmacs 21.2.30 is released.
11269 2000-02-20 Martin Buchholz <martin@xemacs.org>
11271 Performance hacking.
11273 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11274 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11275 * emacs.c (main_1):
11277 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11278 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11279 * symeval.h (DEFVAR_SYMVAL_FWD):
11280 * symbols.c (guts_of_unbound_marker):
11281 Make all c_readonly objects also lisp_readonly and marked for life.
11282 * lrecord.h (struct lrecord_implementation):
11283 Document flags better.
11284 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11285 * lrecord.h (DECLARE_LRECORD):
11286 * lrecord.h (XSETRECORD):
11287 * lrecord.h (RECORDP):
11288 * lrecord.h (RECORD_TYPEP):
11289 * lrecord.h (RECORD_MARKER): New.
11290 * lrecord.h (error_check_*):
11291 * lrecord.h (CONCHECK_NONRECORD):
11292 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11293 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11294 * lrecord.h (set_lheader_implementation):
11295 * lrecord.h (enum lrecord_type): New.
11296 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11297 * alloc.c (disksave_object_finalization_1):
11298 * alloc.c (mark_object):
11299 * alloc.c (lrecord_type_index):
11300 * alloc.c (tick_lcrecord_stats):
11301 * alloc.c (Fgarbage_collect):
11302 * alloc.c (init_alloc_once_early):
11303 * alloc.c (pdump_load):
11304 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11305 * alloc.c (lrecord_type_index): Delete.
11306 Make lisp object type indexes be constant.
11307 Makes (byte-compile) 5% faster.
11308 Put all marker functions into their own array.
11309 Makes (garbage-collect) 5% faster.
11310 Optimize SYMBOL_VALUE_MAGIC_P.
11311 Makes (byte-compile) 2-3% faster.
11312 * config.h.in (gc_checking_assert): New.
11313 * alloc.c: Use gc_checking_assert().
11314 * .dbxrc: Make compatible with new object type implementation.
11315 * .gdbinit: Make compatible with new object type implementation.
11316 * alloc.c: Delete all symbols defined only for debugging, such as
11317 Lisp_Type_Vector and lrecord_charset.
11319 2000-02-21 Andy Piper <andy@xemacs.org>
11321 * gui-msw.c (Fmswindows_shell_execute): fix file location
11324 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11325 unshowing so that set_window_buffer doesn't undo
11326 kill_buffer_hook's hard work.
11328 * glyphs-widget.c (tab_control_query_geometry): don't count the
11329 first item when calculating geometry.
11331 * glyphs.c (map_subwindow): remove redundant code.
11332 (update_frame_subwindows): be more circumspect about when to
11335 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11336 when items haven't changed. Update faces if faces have changed as
11337 well as just the widget face.
11338 (x_tab_control_update): Update faces if faces have changed as well
11339 as just the widget face.
11341 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11343 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11345 (build_syscolor_string): Use mswindows_color_to_string to try to
11347 (mswindows_device_system_metrics): Reverse the foreground and
11348 background colors so that they match the documentation.
11350 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11351 they match the default Windows palette.
11352 (mswindows_color_to_string): New function.
11354 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11356 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11358 2000-02-18 Olivier Galibert <galibert@pobox.com>
11360 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11361 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11363 * symbols.c (init_symbols_once_early): Removed obsolete
11364 DATA_SEG_BITS related kludge.
11365 (defvar_magic): Ditto.
11367 * malloc.c: Removed obsolete DATA_SEG_BITS
11369 * mem-limits.h: Ditto.
11371 * Makefile.in.in: Removed obsolete HAVE_SHM
11374 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11376 * device-msw.c (mswindows_delete_device): Free DDE string
11379 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11381 * keymap.c (get_keyelt):
11382 * unexnt.c (unexec):
11383 * vm-limit.c (memory_warnings):
11384 * ntheap.c (recreate_heap):
11385 * ntheap.h (UNINIT_PTR):
11386 * select-msw.c (Fmswindows_get_clipboard):
11387 (Fmswindows_set_clipboard):
11388 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11390 * menubar-msw.c (displayable_menu_item):
11392 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11393 * sysdep.c (sys_subshell):
11394 * process-nt.c (nt_create_process):
11395 * nt.c (normalize_filename):
11396 (dostounix_filename):
11397 (unixtodos_filename):
11398 * ntproc.c (win32_executable_type):
11399 * ntplay.c (play_sound_data_1):
11401 * editfns.c (get_home_directory):
11402 * event-msw.c (struct winsock_stream):
11403 (mswindows_dde_callback):
11404 * device-msw.c (msprinter_init_device):
11405 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11407 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11408 mswindows_clear_toolbar were swapped!
11410 * objects-msw.c:(colormap_t):
11412 * emacs.c (struct standard_args): Fixed const jumble.
11414 * glyphs-widget.c (update_widget): Fixed comparison notation.
11416 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11418 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11419 __declspec(noreturn) syntax.
11421 2000-02-19 Martin Buchholz <martin@xemacs.org>
11423 * eldap.c (Fldap_open):
11424 (Fldap_search_basic):
11427 Use new coding system conversion macros.
11429 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11431 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11433 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11435 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11436 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11438 * eldap.c (Qadd, Qreplace): New constant symbols
11439 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11440 interruptions by XEmacs signals
11441 Remove unnecessary calls to slow_down_interrupts and
11442 speed_up_interrupts
11443 (Fldap_search_basic): Renamed from Fldap_search_internal
11444 Added new optional parameter VERBOSE that triggers the
11445 display of progress messages
11446 Remove unnecessary calls to slow_down_interrupts and
11447 speed_up_interrupts
11448 LDAP result code analysis rewritten
11449 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11450 (syms_of_eldap): Define the new symbols and functions
11453 2000-02-17 Martin Buchholz <martin@xemacs.org>
11455 * realpath.c: Determine PATH_MAX maximally portably.
11457 * insdel.c (bytecount_to_charcount): Optimize.
11458 The function used to be optimized for entirely ASCII sequences.
11459 Now it is optimized for successive characters from the same
11460 charset. This also wins big for _mostly_ ASCII sequences.
11462 * fileio.c (Ffile_truename): convert return from realpath() using
11463 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11464 - Rewrite GCPROing slightly.
11466 * sysdep.c (sys_open): Do filename conversion, like all other
11467 sys_* functions. Fixes bug:
11468 (let ((file-name-coding-system 'iso-8859-2))
11469 (write-region x y latin2-name))
11470 ==> writes filename using internal encoding.
11472 2000-02-18 Martin Buchholz <martin@xemacs.org>
11474 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11475 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11476 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11477 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11478 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11479 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11480 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11481 (CONST_IF_NOT_DEBUG): Delete.
11482 * alloc.c (this_one_is_unmarkable): Delete.
11483 (mark_object): Don't check for this_one_is_unmarkable. Use the
11484 c_readonly flag instead.
11485 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11487 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11489 * event-msw.c (mswindows_drain_windows_queue):
11490 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11491 away redundant repaint events.
11493 2000-02-17 Andy Piper <andy@xemacs.org>
11495 * redisplay.h: declare mark_redisplay_structs.
11497 * redisplay.c (redisplay_window):
11498 (redisplay_frame): don't check subwindows_state_changed.
11499 (mark_redisplay): mark gutters here.
11501 * glyphs.c: (instantiate_image_instantiator): always layout if we
11502 haven't done so already.
11503 (allocate_image_instance): don't mark as dirty.
11504 (update_subwindow): bind inhibit_quit.
11506 * gutter.c (mark_gutters): new function.
11508 * glyphs-x.c (x_update_widget): Always resize to get round a
11511 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11512 breaking absolutely everything.
11514 * gutter.h: declare mark_gutters.
11516 2000-02-16 Martin Buchholz <martin@xemacs.org>
11518 * XEmacs 21.2.29 is released.
11520 2000-02-15 Olivier Galibert <galibert@pobox.com>
11522 * fns.c (size_bit_vector): Fix computation of the size.
11524 2000-02-15 Martin Buchholz <martin@xemacs.org>
11526 * *.[ch]: Change CONST to const globally.
11527 find -name '*.[ch]' | \
11528 xargs global-replace \
11529 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11530 - Remove vestigial references to CONST_IS_LOSING
11532 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11534 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11535 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11536 events instead of dispatching them directly.
11537 (mswindows_handle_paint): New function to do repainting.
11538 (mswindows_wnd_proc):
11539 (emacs_mswindows_handle_magic_event): Call above function.
11541 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11543 * objects-msw.c (mswindows_create_font_variant): Return the new
11545 (initialize_font_instance): Get font metrics from the underlined
11546 variant of the font to cope with the case where the underlined
11547 font has a bigger descent.
11549 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11551 * gui.c (gui_item_accelerator): Return the first underlined
11552 character in item name.
11554 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11556 * lisp.h: Added Qprinter.
11558 * general.c (syms_of_general): Initialized it.
11560 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11562 (get_frame_compdc): Made inline.
11564 * console.h (struct console_methods): Added eject_page method.
11566 * frame.h: Added FRAME_DISPLAY_P and friends.
11567 Aligned backslahes in many macros in more readable fashion.
11568 Added page_number to struct frame, and an accessor macro
11571 * defice.h: Added DEVICE_DISPLAY_P and friends.
11573 * device.c (Fdevice_printer_p): Used these.
11575 * frame.c (allocate_frame_core): Initialize page number.
11576 (Fprint_job_page_number):
11577 (Fprint_job_eject_page): Implemented.
11579 * frame-msw.c (msprinter_eject_page): Added method.
11580 (msprinter_start_page): Added.
11582 * window.c (Fwindow_truncated_p): Fixed docstring.
11583 (Fwindow_last_line_visible_height): Implemented.
11585 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11587 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11589 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11591 * syntax.c (scan_words): Always advance at least one character.
11593 2000-02-13 Andy Piper <andy@xemacs.org>
11595 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11596 to make sure the glyph is in the cachels.
11598 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11599 global image instance flag.
11600 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11601 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11603 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11604 (Fset_image_instance_property): mark layout as changed.
11605 (invalidate_glyph_geometry_maybe): mark layout as changed.
11606 (glyph_width): use new NEEDS_LAYOUT macro.
11607 (glyph_ascent): ditto.
11608 (glyph_descent): ditto.
11609 (glyph_height): ditto.
11610 (image_instance_layout): mark layout as clean after laying out.
11611 (update_subwindow): don't mark layout as clean here.
11613 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11614 should no longer be needed.
11616 * glyphs-x.c (x_update_widget): sanitize asserts.
11617 (x_finalize_image_instance): sanitize assignment to widgets.
11619 * glyphs-widget.c (widget_instantiate): don't need to clear the
11622 2000-02-13 Martin Buchholz <martin@xemacs.org>
11624 * sysdep.c (getcwd): Use standard prototype.
11625 * sysdep.h (getcwd): Use standard prototype.
11627 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
11628 (sequence, start, end).
11629 Remove redundant type checking.
11630 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
11631 view of `caller-protects') to avoid a crash where the real fix was
11634 2000-02-12 Martin Buchholz <martin@xemacs.org>
11636 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
11638 * s/sol2.h: Remove feature macro initialization.
11640 * alloc.c (alloc_lcrecord): Add more type checking assertions.
11641 (vector_hash): New. Code from internal_hash.
11643 Fix up allocation subsystem comments.
11645 * config.h.in: Add __EXTENSIONS__ for Solaris.
11647 * systime.h (EMACS_GETTIMEOFDAY): New.
11648 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
11649 Remove Solaris-specific code.
11650 Use void* for the (ignored) second arg for gettimeofday().
11652 * elhash.c (hash_table_hash): Implement it, finally.
11653 * elhash.c: Use hashcode_t.
11655 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
11656 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
11658 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
11659 * fns.c (size_bit_vector):
11660 * alloc.c (size_vector):
11661 (make_vector_internal):
11662 (make_bit_vector_internal):
11663 (sweep_bit_vectors_1):
11664 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
11666 2000-02-10 Martin Buchholz <martin@xemacs.org>
11668 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
11669 Include strings.h to avoid warnings for bzero and strcasecmp.
11671 2000-02-10 Olivier Galibert <galibert@pobox.com>
11673 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
11674 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
11676 * fns.c (size_bit_vector): New. Declare bit vectors as a
11679 2000-02-10 Olivier Galibert <galibert@pobox.com>
11681 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
11682 use a value field instead.
11683 (symbol_value_forward_forward): Use value field.
11684 (DEFVAR_SYMVAL_FWD): Use value field.
11685 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
11686 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
11687 (DEFVAR_CONST_INT): Ditto.
11688 (DEFVAR_BOOL): Ditto.
11689 (DEFVAR_CONST_BOOL): Ditto.
11690 (DEFVAR_INT_MAGIC): Ditto.
11691 (DEFVAR_BOOL_MAGIC): Ditto.
11693 * symbols.c (guts_of_unbound_marker): Use value field.
11694 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
11695 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
11697 * lisp.h: Declare dumpopaque and noninteractive1.
11699 * alloc.c (dumpopaque): Added.
11700 (pdump_dump_opaquevec): Added.
11701 (pdump): Call pdump_dump_opaquevec to dump opaque data.
11702 (pdump_load): Reload opaque data. Sync noninteractive1 with
11705 2000-02-10 Andy Piper <andy@xemacs.org>
11707 * glyphs.c (image_instance_layout): if the size changes, mark it
11710 * redisplay-output.c (redisplay_output_layout): Update the
11712 (redisplay_output_subwindow): ditto.
11714 * glyphs.c (update_subwindow): make sure we reset flags for
11715 layouts as well as everything else.
11717 * glyphs-widget.c (layout_layout): don't need to set the instances
11720 2000-02-09 Martin Buchholz <martin@xemacs.org>
11722 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
11723 not HAVE_DLOPEN, which is a lower-level thing.
11725 * .cvsignore: Ignore gmon.out
11727 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
11729 * .cvsignore: Ignore portable dumper xemacs.dmp file
11731 2000-02-09 Andy Piper <andy@xemacs.org>
11733 * redisplay-output.c (redisplay_output_layout): be more clever
11734 about when we output based on the changed flags.
11736 * glyphs.h (struct image_instantiator_methods): add update_method.
11737 (struct Lisp_Image_Instance): add changed flags. Declare new
11738 macros for manipulating them.
11740 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
11741 (image_instance_parent_glyph): find an image_instance's parent
11742 glyph or image_instance.
11743 (image_instance_layout): mark the size as changed.
11744 (set_image_instance_dirty_p): new function. mark an image
11745 instance, plus all of its parents, as dirty.
11746 (Fset_image_instance_property): use it.
11747 (Fglyph_animated_timeout_handler): use it.
11748 (update_subwindow): call update_widget and device methods for
11749 update_subwindow. Mark all changed flags as clean.
11750 (Fresize_subwindow): mark size as changed.
11752 * glyphs-x.c (x_finalize_image_instance): try and detect gc
11754 (x_update_subwindow): only resize subwindows here.
11755 (x_update_widget): new function. Update all changed properties of
11757 (x_resize_subwindow): deleted.
11758 (x_widget_set_property): deleted.
11759 (x_progress_gauge_set_property): deleted.
11760 (x_progress_gauge_update): new function. Implement recorded
11762 (x_tab_control_update): ditto.
11763 (x_tab_control_set_property): deleted.
11764 (console_type_create_glyphs_x): declare new functions.
11765 (image_instantiator_format_create_glyphs_x): ditto.
11767 * glyphs-widget.c (widget_set_property): mark text changed.
11768 (update_widget): new function. Update properties of a widget.
11769 (widget_instantiate): for layouts make sure we set their
11770 children's parent correctly.
11771 (tab_control_set_property): new function. Record changes that will
11772 take place under redisplay's control.
11773 (progress_gauge_set_property): ditto.
11774 (image_instantiator_progress_guage): declare new functions.
11775 (image_instantiator_tab_control): ditto.
11777 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
11779 (mswindows_update_widget): new function. Update all properties on
11780 a widget that have changed.
11781 (mswindows_button_update): new function. Update a button's set
11783 (mswindows_tab_control_update): new function. Update the items in
11785 (mswindows_tab_control_set_property): deleted.
11786 (mswindows_progress_gauge_update): new function. Update the
11787 progress gauge's progress.
11788 (mswindows_widget_set_property): deleted. This is all done
11789 asynchronously now.
11790 (mswindows_progress_gauge_set_property): ditto.
11791 (console_type_create_glyphs_mswindows): declare new methods.
11792 (image_instantiator_format_create_glyphs_mswindows): ditto.
11794 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
11795 (msprinter_set_frame_properties): ditto.
11797 * console.h (struct console_methods): Add update_widget_method.
11799 2000-02-09 Andy Piper <andy@xemacs.org>
11801 * gui-msw.c (Fmswindows_shell_execute): Make
11802 mswindows-shell-execute industrial strength.
11804 2000-02-08 Martin Buchholz <martin@xemacs.org>
11806 * lrecord.h: Make macro argument `props' match member function `plist'.
11809 * fns.c (Fremprop):
11810 * fns.c (Fobject_plist):
11813 Object property list frobbing cleanup.
11814 - Allow any lisp object (compared with `eq'), not just symbols, as
11815 keys in object plists.
11816 - Move symbol plist frobbing into symbols.c, where it belongs.
11817 - Move string plist frobbing into alloc.c, where it belongs.
11818 - Everything's an lrecord now, so no need to test for symbolp, etc.
11819 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
11821 * extents.c: Reorder code to remove declarations.
11823 * frame.h (store_in_alist): Remove useless declaration.
11825 2000-02-07 Martin Buchholz <martin@xemacs.org>
11827 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
11828 * config.h.in: Add HAVE_XCONVERTCASE.
11830 2000-02-07 Andy Piper <andy@xemacs.org>
11832 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
11833 it breaks many things.
11835 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11837 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
11838 actually can start a common comment type.
11839 * src/syntax.h (SYNTAX_END_P): ditto for end.
11841 2000-02-07 Martin Buchholz <martin@xemacs.org>
11843 * XEmacs 21.2.28 is released.
11845 2000-02-06 Martin Buchholz <martin@xemacs.org>
11847 * event-Xt.c (x_keysym_to_character): New.
11848 (maybe_define_x_key_as_self_inserting_character): New.
11849 (x_has_keysym): New.
11850 Auto-define all keys on the keyboard as self-insert-key.
11852 2000-02-02 Martin Buchholz <martin@xemacs.org>
11854 * menubar.c (vars_of_menubar): A small code simplification.
11856 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
11859 * ExternalClient.c:
11860 * EmacsShell-sub.c:
11863 Use consistent style for specifying X resources.
11865 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
11866 This makes (dontusethis-set-symbol-value-handler) actually usable.
11868 * lrecord.h (lrecord_decription_type):
11869 * alloc.c (pdump_register_sub):
11872 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
11873 Comply with XEmacs coding style.
11874 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
11875 args, and XD_LISP_OBJECT_ARRAY with 3 args.
11877 * keymap.c (Faccessible_keymaps):
11878 Make (accessible-keymaps map "\C-h") do the Right Thing.
11879 Make (accessible-keymaps map []) do the Right Thing.
11880 Make (accessible-keymaps map "") do the Right Thing.
11881 (check_keymap_definition_loop): New function.
11882 (keymap_store_internal): Keep luser from shooting self in foot,
11883 via (define-key ctl-x-4-map "p" global-map).
11884 Remove fullness slot from struct Lisp_Keymap, since hash tables
11886 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
11888 2000-01-30 Martin Buchholz <martin@xemacs.org>
11890 * redisplay.c (init_redisplay): Fix small memory leak.
11892 * elhash.c (pdump_reorganize_hash_table):
11893 Rename from reorganize_hash_table. Change prototype.
11894 Reuse the original memory for hentries. Save 100k.
11895 * alloc.c (PDUMP_READ): new macro.
11896 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
11897 * alloc.c: No need to #ifndef before #undef.
11899 * print.c: Allow debug_print() to print readably by modifying
11900 debug_print_readably. Use consistent variable names.
11902 * .dbxrc: Try to get things to work even if stopped in a function
11903 without source available by explicitly specifying source files.
11904 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11906 * unexnt.c (_start): Removed bogus code which caused loading heap
11907 from differrent executable file.
11908 Removed bogus assignment to _fmode, which caused inconsistencies.
11910 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11912 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
11913 Have spawnve encapsulation regard DONT_ENCAPSULATE.
11914 Do not preliminary `#define signal sigset'.
11916 * systime.h: Do not prototype environ on windows nt and cygwin,
11917 this conflicts with system header.
11919 * syssignal.h: Use correct define for WINDOWSNT
11921 * sysdep.h: Do not prototype environ on windows nt, this conflicts
11922 with system header.
11924 * sysdep.c (near start of file): Fixed commentary and rearranged
11925 ifdefs in readable order.
11926 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
11929 (end_of_data): Do not compile in if using PDUMP.
11931 * symsinit.h: Prototyped vars_of_nt().
11933 * ntproc.c (windows9x_p): Added, instead of os_subtype.
11934 (find_child_console): Use it.
11935 (sys_kill): Use it.
11937 * ntheap.h: Do not extern os_subtype.
11939 * ntheap.c (cache_system_info): Do not cache unneeded:
11940 nt_major_version, nt_minor_version and os_subtype.
11941 (recreate_heap): Do not compile in when PDUMPing.
11943 * nt.c (geteuid and friends): Use the new varibale
11944 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
11945 (init_user_info): Removed the above mentioned hackery.
11946 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
11947 stat has been fixed in the C runtime.
11948 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
11950 * file-coding.c (struct file_coding_dump): Do not define
11951 ucs_to_mule_table in the struct if not MULE.
11952 (struct struct lrecord_description fcd_description_1): Do not dump
11955 * emacs.c (main_1): Call vars_of_nt().
11956 (right before Fdump_emacs_data): Don't need lastfile if using both
11957 portabe dumper and system malloc.
11959 * alloc.c (Fmemory_limit): Conditionalized out.
11960 (pdump): Use OPEN_BINARY for the portable dump file.
11961 (pdump_load): Ditto.
11963 2000-02-02 Mike Alexander <mta@arbortext.com>
11965 * nt.c (convert_time): Set tm_isdst before calling mktime and
11966 avoid calling it at all if the compiler supports 64 bit integers.
11967 Also initialize utc_base_ft before using it.
11969 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11971 * frame.c (change_frame_size_1): Take f->internal_border_width
11972 into consideration when calculating the width of the frame.
11974 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11976 * window.c (frame_min_height):
11977 (frame_size_valid_p):
11978 (frame_pixsize_valid_p): Added.
11979 (check_frame_size): Generalized.
11981 * window.h: Prototyped the above.
11984 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
11985 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
11986 Deleted Vwin32_* and Vbinary_process_* unused variables.
11988 * device-msw.c (msprinter_init_device): Do not get printer font
11989 list; Added DEVMODE functions.
11991 * frame-msw.c: Added lots of printer code.
11993 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
11996 * console-msw.h: Added more msprinter device private slots.
11998 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12000 * event-msw.c (key_needs_default_processing_p): Added.
12001 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
12003 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12005 * glyphs.c (image_instance_layout): Mark image instance as clean
12007 (glyph_dirty_p): Removed redundant function.
12008 (invalidate_glyph_geometry_maybe): Added.
12009 (update_glyph_cachel_data): Call it.
12011 * glyphs.h: Prototyped it.
12013 * redisplay.c (add_glyph_rune): Call it.
12014 (redisplay_window): Reset glyphs cachels when frame faces have
12015 changed, thus forcing recomputation of built-in border glyphs.
12017 2000-01-30 Martin Buchholz <martin@xemacs.org>
12019 * Makefile.in.in: Make portable dumper and purify play well together.
12020 Add imperfect, but better than nothing, support for pdump.
12021 Remove xemacs.dmp when temacs is re-generated.
12022 Don't ignore errors when dumping xemacs.
12024 * symbols.c (maybe_call_magic_handler): Remove one magic number.
12026 2000-01-28 Andy Piper <andy@xemacs.org>
12028 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
12029 (setup_normal_frame): ditto.
12030 (setup_frame_without_minibuffer): ditto.
12031 (setup_minibuffer_frame): ditto.
12032 (delete_frame_internal): ditto.
12033 (Fmake_frame_invisible): ditto.
12034 (Ficonify_frame): ditto.
12036 * window.h: change Fset_window_buffer signature.
12038 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12039 (Fset_window_buffer): allow recording of buffer if the window is
12040 the selected window.
12041 (window_loop): Use new Fset_window signature.
12043 2000-01-23 Daniel Pittman <daniel@danann.net>
12045 * config.h.in: Added template for `HAVE_ATHENA_3D'
12047 2000-01-29 Andy Piper <andy@xemacs.org>
12049 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12051 * gutter.c (output_gutter): Don't output if the window isn't live.
12053 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12055 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12056 of 01/12/00: Moved SetFocus back here where it belongs.
12058 2000-01-23 Andy Piper <andy@xemacs.org>
12060 * s/cygwin32.h: declare printer things.
12062 2000-01-26 Andy Piper <andy@xemacs.org>
12064 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12067 2000-01-24 Andy Piper <andy@xemacs.org>
12069 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12070 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12072 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12074 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12076 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12078 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12079 (mswindows_output_display_block): Avoid local shadows.
12081 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12082 (mswindows_enqueue_mouse_button_event): ditto.
12083 (mswindows_handle_gui_wm_command): remove declaration.
12085 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12088 * console-msw.h: Avoid shadows.
12089 (mswindows_get_toolbar_button_text):
12090 (emacs_mswindows_create_stream_pair):
12091 (emacs_mswindows_delete_stream_pair):
12092 (mswindows_handle_toolbar_wm_command): declare.
12094 * device-msw.c (build_syscolor_string): Avoid shadows.
12096 2000-01-23 Andy Piper <andy@xemacs.org>
12098 * glyphs-widget.c (widget_instantiate): reverse the items for
12099 layouts so that children are in the expected order.
12101 2000-01-28 Martin Buchholz <martin@xemacs.org>
12103 * ralloc.c: safe_bcopy ==> memmove
12104 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12105 * s/msdos.h: Remove BCOPY macros.
12106 * insdel.c (gap_right): Remove BCOPY conditional code.
12107 * insdel.c (gap_left): Remove BCOPY conditional code.
12108 XEmacs demands a working ANSI C compiler - hence memmove.
12110 * regex.c (regex_compile): Remove accidental use of trigraphs.
12112 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12114 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12117 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12119 * event-msw.c (mswindows_drain_windows_queue): Added the
12121 (mswindows_need_event): Commented the call to
12122 mswindows_drain_windows_queue().
12123 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12126 * console-msw.h: Moved a few function prototypes here from
12129 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12130 parameter from unsigned short to unsigned long.
12131 (Fmswindows_shell_execute): Added return value.
12133 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12135 * sysdep.c (init_system_name):
12136 process-unix.c (unix_canonicalized_host_name):
12137 Don't call freeaddrinfo() if getaddrinfo() fails.
12139 * process-unix.c (unix_open_unix_network_stream):
12140 Moved the code to get a port # into address loop.
12142 2000-01-27 Martin Buchholz <martin@xemacs.org>
12144 * buffer.c (reinit_vars_of_buffer):
12145 The right place to initialize conversion_in_dynarr and
12146 conversion_out_dynarr.
12148 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12150 * process-unix.c (unix_canonicalize_host_name): Muleize.
12151 (unix_open_network_stream): Muleize.
12153 * buffer.h: Fix up prototypes for ralloc.c functions.
12155 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12156 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12157 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12158 instead of gethostbyname()
12159 * process-unix.c: In unix_canonicalize_host_name() and
12160 unix_open_network_stream(), add code to use getaddrinfo()
12161 instead of gethostbyname().
12163 2000-01-27 Daniel Pittman <daniel@danann.net>
12165 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12166 libs when built with flat Athena.
12168 2000-01-27 Martin Buchholz <martin@xemacs.org>
12170 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12171 Use coding standards for function prototypes.
12173 2000-01-25 Martin Buchholz <martin@xemacs.org>
12175 * dialog-msw.c (push_lisp_string_as_unicode):
12176 * doc.c (unparesseuxify_doc_string):
12177 * dired.c (Fuser_name_completion_1):
12178 * dired.c (Fuser_name_all_completions):
12179 * dired.c (free_user_cache):
12180 * dired.c (user_name_completion):
12181 * console-x.c (get_display_arg_connection):
12182 * minibuf.c (clear_echo_area_internal):
12183 * minibuf.c (echo_area_append):
12184 * eldap.c (Fldap_open):
12185 * eldap.c (Fldap_search_internal):
12186 * frame-x.c (x_set_frame_text_value):
12187 * frame-x.c (x_set_frame_properties):
12188 * frame-x.c (x_create_widgets):
12189 * redisplay-tty.c (term_get_fkeys_1):
12190 * objects-x.c (x_parse_nearest_color):
12191 * objects-x.c (x_valid_color_name_p):
12192 * objects-x.c (x_initialize_font_instance):
12193 * objects-x.c (x_list_fonts):
12194 * objects-x.c (x_find_charset_font):
12195 * tooltalk.c (Fadd_tooltalk_message_arg):
12196 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12197 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12198 * process-unix.c (unix_create_process):
12199 * ntproc.c (sys_spawnve):
12200 * sound.c (Fplay_sound_file):
12201 * sound.c (Fplay_sound):
12202 * buffer.c (init_initial_directory):
12203 * buffer.c (init_buffer):
12204 * editfns.c (init_editfns):
12205 * editfns.c (Ftemp_directory):
12206 * editfns.c (Fuser_full_name):
12207 * editfns.c (uncache_home_directory):
12208 * editfns.c (get_home_directory):
12209 * editfns.c (Fuser_home_directory):
12210 * editfns.c (Fformat_time_string):
12211 * editfns.c (Fcurrent_time_string):
12212 * gui-x.c (button_item_to_widget_value):
12213 * database.c (Fopen_database):
12214 * event-Xt.c (x_to_emacs_keysym):
12215 * event-Xt.c (x_event_to_emacs_event):
12216 * event-Xt.c (describe_event_window):
12217 * event-msw.c (mswindows_wnd_proc):
12218 * glyphs-eimage.c (jpeg_instantiate):
12219 * glyphs-eimage.c (gif_instantiate):
12220 * glyphs-eimage.c (png_instantiate):
12221 * glyphs-eimage.c (tiff_instantiate):
12222 * glyphs-x.c (xbm_instantiate_1):
12223 * glyphs-x.c (x_xbm_instantiate):
12224 * glyphs-x.c (x_xface_instantiate):
12225 * glyphs-x.c (autodetect_instantiate):
12226 * glyphs-x.c (cursor_font_instantiate):
12227 * glyphs-x.c (x_widget_instantiate):
12228 * glyphs-x.c (x_widget_set_property):
12229 * glyphs-x.c (x_widget_property):
12230 * glyphs-x.c (BUILD_GLYPH_INST):
12231 * print.c (write_string_to_stdio_stream):
12232 * print.c (output_string):
12233 * print.c (Falternate_debugging_output):
12234 * print.c (Fexternal_debugging_output):
12235 * glyphs-msw.c (extract_xpm_color_names):
12236 * glyphs-msw.c (mswindows_xpm_instantiate):
12237 * glyphs-msw.c (bmp_instantiate):
12238 * glyphs-msw.c (resource_name_to_resource):
12239 * glyphs-msw.c (mswindows_resource_instantiate):
12240 * glyphs-msw.c (xbm_instantiate_1):
12241 * glyphs-msw.c (mswindows_xbm_instantiate):
12242 * glyphs-msw.c (mswindows_xface_instantiate):
12243 * glyphs-msw.c (mswindows_widget_instantiate):
12244 * glyphs-msw.c (add_tree_item):
12245 * glyphs-msw.c (add_tab_item):
12246 * glyphs-msw.c (mswindows_combo_box_instantiate):
12247 * glyphs-msw.c (mswindows_widget_property):
12248 * glyphs-msw.c (mswindows_combo_box_property):
12249 * glyphs-msw.c (mswindows_widget_set_property):
12250 * console.c (stuff_buffered_input):
12251 * objects-msw.c (mswindows_initialize_color_instance):
12252 * objects-msw.c (mswindows_valid_color_name_p):
12253 * objects-msw.c (mswindows_list_fonts):
12254 * objects-msw.c (mswindows_font_instance_truename):
12255 * bytecode.c (optimize_compiled_function):
12256 * select-x.c (symbol_to_x_atom):
12257 * select-x.c (x_atom_to_symbol):
12258 * select-x.c (hack_motif_clipboard_selection):
12259 * select-x.c (selection_data_to_lisp_data):
12260 * select-x.c (lisp_data_to_selection_data):
12261 * select-x.c (Fx_get_cutbuffer_internal):
12262 * select-x.c (Fx_store_cutbuffer_internal):
12263 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12264 * buffer.h (TO_INTERNAL_FORMAT): New function.
12265 * emacs.c (make_arg_list_1):
12266 * emacs.c (make_argc_argv):
12267 * emacs.c (main_1):
12268 * emacs.c (Fdump_emacs):
12269 * emacs.c (split_string_by_emchar_1):
12274 * device-x.c (x_init_device):
12275 * device-x.c (Fx_valid_keysym_name_p):
12276 * device-x.c (Fx_get_font_path):
12277 * device-x.c (Fx_set_font_path):
12278 * glyphs.c (bitmap_to_lisp_data):
12279 * glyphs.c (pixmap_to_lisp_data):
12280 * alloc.c (make_ext_string): Use coding system arguments. Update
12282 * alloc.c (build_string):
12283 * callproc.c (child_setup):
12284 * callproc.c (init_callproc):
12285 * fileio.c (lisp_strerror):
12286 * fileio.c (directory_file_name):
12287 * fileio.c (Fexpand_file_name):
12288 * fileio.c (Ffile_truename):
12289 * fileio.c (Fsysnetunam):
12290 * fileio.c (Fdo_auto_save):
12291 * sysdep.c (sys_readdir):
12292 * tests.c: New file. Allow adding C tests.
12293 Replace GET_* macros with a more comprehensible and flexible
12294 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12296 Any coding system can be used to do format conversion.
12297 Eliminate enum external_data_format.
12298 Eliminate convert_to_external_format.
12299 Eliminate convert_to_internal_format.
12300 Make sure file-name, keyboard, terminal, and ctext are always
12301 defined as coding systems or aliases. Make
12302 file-name-coding-system, terminal-coding-system, and
12303 keyboard-coding-system magical variables that are equivalent to
12304 defining the corresponding coding system aliases.
12306 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12307 * file-coding.c (Fcoding_system_alias_p): New function.
12308 * file-coding.c (Fcoding_system_aliasee): New function.
12309 * file-coding.c (append_suffix_to_symbol): New function.
12310 * file-coding.c (dangling_coding_system_alias_p): New function.
12311 * file-coding.c (Ffind_coding_system):
12312 * file-coding.c (Fcopy_coding_system):
12313 * file-coding.c (encode_coding_no_conversion):
12314 * file-coding.c (syms_of_file_coding):
12315 * file-coding.c (vars_of_file_coding):
12316 Rewrite coding system alias code.
12317 Allow nested aliases, like symbolic links.
12318 Allow redefinition of coding system aliases.
12319 Prevent existence of dangling coding system aliases.
12321 * dired.c (Fuser_name_completion_1):
12322 * dired.c (Fuser_name_all_completions):
12323 A crash would happen if user did QUIT in the middle of building
12324 user_name_cache. Remove redundant code in mainline and unwind_protect.
12327 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12329 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12330 an unsigned char *. Update all callers.
12332 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12334 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12336 2000-01-25 Martin Buchholz <martin@xemacs.org>
12338 * elhash.c (hentry_description): Use more portable definition.
12339 (resize_hash_table): Initialize new hentries using
12340 xnew_array_and_zero, thereby simplifying the code.
12342 * mule-charset.c (make_charset): Make sure entire object is
12343 initialized, to avoid Purify warnings.
12345 * alloc.c (resize_string): Fix unlikely crash with big strings.
12347 2000-01-24 Martin Buchholz <martin@xemacs.org>
12349 * realpath.c (xrealpath):
12350 Don't call getwd().
12352 2000-01-25 Martin Buchholz <martin@xemacs.org>
12354 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12356 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12358 * unexelfsgi.c (unexec): Change the way we decide which segment
12359 should be extended.
12361 Assumption that .bss section should be outside the PT_LOADable
12362 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12363 it's present) is inside the 'data' segment. This would fail the
12364 test which was used to find a segment to grow and cover new
12365 heap. Instead of this assumption, I created another one - on IRIX
12366 the segment to grow should start below .bss and it's address
12367 should extent above the end of .bss. Once this segment is
12368 identified, it's grown to accommodate the new heap and new
12369 zero-length .bss section is added at the end of .data2.
12371 2000-01-25 Martin Buchholz <martin@xemacs.org>
12373 * eval.c (Feval): Wrong number of arguments should use original
12374 function, not the indirect_function version of it.
12376 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12378 * glyphs-x.c (x_button_instantiate): Don't add image if
12379 it is not a pixmap.
12380 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12383 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12385 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12387 (DEFVAR_INT_MAGIC): Ditto.
12388 (DEFVAR_BOOL_MAGIC): Ditto.
12389 * glyphs.h: Reindent backslash.
12391 2000-01-24 Martin Buchholz <martin@xemacs.org>
12393 * glyphs-widget.c (layout_query_geometry):
12394 (layout_layout): Use correct types for gheight, gwidth.
12396 2000-01-24 Martin Buchholz <martin@xemacs.org>
12398 * EmacsManager.c (QueryGeometry): Purified.
12400 2000-01-23 Martin Buchholz <martin@xemacs.org>
12402 * alloc.c (make_float): Make sure entire object is initialized, to
12403 avoid Purify warnings.
12404 (pdump_register_sub): Remove useless assignment.
12405 (pdump): Use xmalloc, not malloc.
12406 (pdump_load): Use xmalloc, not malloc.
12408 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12415 * sysdep.c: Removed redundant #include <windows.h>
12417 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12419 * frame.c (delete_frame_internal): Do not delete device when its
12420 implementation so declares.
12421 (delete_frame_internal): Set device selected frame to nil when
12422 last frame goes away.
12424 * device-msw.c (msprinter_device_system_metrics): Implemented.
12425 (mswindows_device_system_metrics): Added 'device-dpi property.
12427 * device.c: (Fdevice_printer_p): Added.
12428 Added 'offset-workspace device metric.
12430 * console.h (device_metrics): Declared DM_offset_workspace.
12432 2000-01-23 Martin Buchholz <martin@xemacs.org>
12434 * fileio.c (Ffile_truename): Remove pointless and confusing
12435 initialization of elen.
12437 * glyphs-widget.c: Compiler warning fixes.
12439 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12441 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12442 instead of a Lisp_Object as argument to make it consistent with
12443 the other LIVE_P macros.
12444 (CHECK_LIVE_PROCESS): New macro.
12446 * process.c: Declare Qprocess_live_p.
12447 (Fprocess_live_p): New function.
12448 (create_process): Use PROCESS_LIVE_P.
12449 (read_process_output): Ditto.
12450 (set_process_filter): Ditto.
12451 (Fdelete_process): Ditto.
12452 (kill_buffer_processes): Ditto
12453 (process_send_signal): Use CHECK_LIVE_PROCESS.
12454 (Fprocess_input_coding_system): Check whether process is still
12455 alive (fix PR#1061).
12456 (Fprocess_output_coding_system): Ditto.
12457 (Fprocess_coding_system): Ditto.
12458 (Fset_process_input_coding_system): Ditto.
12459 (Fset_process_output_coding_system): Ditto.
12461 2000-01-23 Andy Piper <andy@xemacs.org>
12463 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12466 * glyphs.c (mark_image_instance): take into account changed
12467 image_instance format.
12468 (image_instance_equal): ditto.
12469 (image_instance_hash): ditto.
12471 * glyphs-widget.c (widget_instantiate): Incorporate layout
12472 instantiation here. Delay layout of the layout until later.
12473 (layout_instantiate): deleted.
12474 (layout_query_geometry): new function. get the geometry of a
12476 (layout_layout): layout a layout dynamically.
12477 (image_instantiator_widget): New function - splitting up
12478 image_instantiator_format_create_glyphs_widget for netwinder
12480 (image_instantiator_buttons):
12481 (image_instantiator_edit_fields):
12482 (image_instantiator_combo_box):
12483 (image_instantiator_scrollbar):
12484 (image_instantiator_progress_guage):
12485 (image_instantiator_tree_view):
12486 (image_instantiator_tab_control):
12487 (image_instantiator_labels):
12488 (image_instantiator_layout): ditto.
12489 (image_instantiator_format_create_glyphs_widget): Call preceding
12492 2000-01-22 Martin Buchholz <martin@xemacs.org>
12494 * process.c (Fset_process_coding_system):
12495 * device-x.c (Fx_keysym_hash_table):
12498 * lstream.c (Lstream_write): Return documented value, not 0.
12500 * fileio.c (directory_file_name):
12501 (Fsubstitute_in_file_name):
12502 (Fsubstitute_insert_file_contents_internal):
12503 (Fwrite_region_internal):
12508 Remove vestigial APOLLO-conditional code.
12510 2000-01-21 Martin Buchholz <martin@xemacs.org>
12512 * getpagesize.h: Add guard macros.
12513 * libsst.h: Add guard macros.
12514 * libst.h: Add guard macros.
12515 * line-number.h: Add guard macros.
12516 * ndir.h: Add guard macros.
12517 * sysfloat.h: Add guard macros.
12518 * sysfile.h: Add guard macros.
12519 * sysproc.h: Add guard macros.
12520 * syswait.h: Add guard macros.
12521 * xintrinsic.h: Add guard macros.
12522 * xintrinsicp.h: Add guard macros.
12523 * xmmanager.h: Add guard macros.
12524 * xmmanagerp.h: Add guard macros.
12525 * xmprimitive.h: Add guard macros.
12526 * xmu.h: Add guard macros.
12527 * gpmevent.h: Add copyright statement. Add guard macros.
12528 * miscplay.h: Add guard macros.
12529 * *.h: Use consistent C-standards-approved guard macro names.
12531 * opaque.c (make_opaque): Switch parameter order.
12532 * opaque.h (make_opaque): Switch parameter order.
12533 Update all callers.
12534 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12536 * config.h.in (type_checking_assert): Added.
12537 (bufpos_checking_assert): Added.
12539 2000-01-21 Martin Buchholz <martin@xemacs.org>
12541 * alloc.c: Harmless pdump changes.
12543 - spell alignment correctly.
12544 * sysdep.c: Use countof()
12546 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12548 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12549 initially_selected_for_input() console method, default to 0.
12550 (semi_canonicalize_console_connection): Try to delegate to
12551 canonicalize_console_connection if no such console method.
12552 (canonicalize_console_connection): Vice versa.
12553 (print_console): Do not print nil connection.
12555 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12556 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12557 (XDEVIMPF_FRAMELESS_OK): Added.
12558 (CONSOLE_INHERITS_METHOD): Added.
12560 * console-msw.c (mswindows_canonicalize_console_connection):
12562 (mswindows_canonicalize_device_connection): Added.
12564 * console-msw.h (struct msprinter_device): Added this struct and
12566 (mswindows_device): Made fontlist a lisp object.
12568 * device.c (semi_canonicalize_device_connection): Try to delegate
12569 to canonicalize_device_connection if no such console method.
12570 (canonicalize_device_connection): Vice versa.
12571 (print_device): Do not print nil connection.
12573 * device-msw.c (mswindows_init_device): Call InitCommonControls
12575 (mswindows_delete_device): Removed fontlist deallocation.
12576 (mswindows_mark_device): Added.
12578 * events.c (event_equal): Added abort() at unreached code.
12579 (event_hash): Ditto.
12581 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12582 fallback tags of Windows devices.
12584 * general.c (syms_of_general): Initialized Qmsprinter.
12586 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12587 of fallback tags of Windows devices.
12589 * lisp.h: Declared Qmsprinter.
12591 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12593 (mswindows_list_fonts): Ditto.
12594 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12595 that it can be used by both mswindows and msprinter devices.
12596 (initialize_font_instance): Added.
12597 (mswindows_initialize_font_instance): Use it.
12598 (msprinter_initialize_font_instance): Added.
12600 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12601 and implementation flags check.
12602 (redisplay_without_hooks): Changed the call to the above.
12603 (Fredraw_device): Ditto.
12604 (Fredisplay_device): Ditto.
12606 * redisplay-msw.c (get_frame_dc): Implemented.
12607 (get_frame_compdc): Implemented.
12608 (many functions): Use the two functions above to get device
12609 contexts, ether for a window or a printer.
12611 2000-01-21 Olivier Galibert <galibert@pobox.com>
12613 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12614 initialization here.
12615 (init_symbols_once_early): Call it.
12616 * emacs.c (main_1): Call it.
12617 * symsinit.h: Declare it.
12619 2000-01-19 Olivier Galibert <galibert@pobox.com>
12621 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12623 (pdump_backtrace): Ditto.
12624 (pdump_register_object): Ditto. Cleanup use of the pointers.
12625 (pdump_get_entry): Abort if trying to register a null pointer.
12626 (pdump_dump_data): Cleanup types when relocating.
12627 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
12628 (pdump_dump_rtables): Remove bad casts.
12629 (pdump_load): Cleanup relocation w.r.t union type. Use a
12630 Lisp_Object instead of a EMACS_INT for the hashtable
12633 2000-01-20 Martin Buchholz <martin@xemacs.org>
12635 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
12637 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
12639 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
12641 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
12643 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12645 * faces.h (FACE_STRIKETHRU_P): Added.
12647 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
12650 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
12651 (mswindows_set_dc_font): New function, aware of font variants,
12652 separated from mswindows_update_dc.
12654 * objects-msw.h (struct mswindows_font_instance_data): Added
12657 * objects-msw.c (mswindows_finalize_font_instance): Delete all
12658 cached fonts and the data structure.
12659 (mswindows_initialize_font_instance): Added creation of font data
12661 (mswindows_print_font_instance): Print at least something.
12662 (mswindows_create_font_variant): Implemented.
12663 (mswindows_get_hfont): Implemented.
12665 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
12667 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
12668 prototyping problem with msvc.
12670 * emacs.c (main_1): added syms_of_gui_mswindows() call
12672 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
12673 syms_of_gui_mswindows() function
12675 * symsinit.h: added the prototype for syms_of_gui_mswindows()
12677 2000-01-18 Martin Buchholz <martin@xemacs.org>
12679 * XEmacs 21.2.27 is released.
12681 2000-01-18 Martin Buchholz <martin@xemacs.org>
12683 * glyphs-eimage.c (struct tiff_error_struct):
12685 (tiff_warning_func):
12686 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
12691 * unexec.c: Remove vestigial Lucid C code.
12695 * libsst.c: Ansify.
12696 Remove declarations of errno and strerror().
12698 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
12700 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
12702 2000-01-16 Martin Buchholz <martin@xemacs.org>
12704 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
12707 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12712 Change enum eol_type to eol_type_t.
12714 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12716 * gui.c (get_gui_callback): Check cons before accessing car.
12718 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12720 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
12721 (XSETSPECIFIER_TYPE): Ditto.
12723 2000-01-17 Didier Verna <didier@xemacs.org>
12725 * redisplay.c (generate_fstring_runes): compute string size in
12726 characters, not bytes.
12728 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12730 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
12732 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
12734 * print.c (print_error_message): Call print_prepare().
12736 2000-01-14 Martin Buchholz <martin@xemacs.org>
12738 * .dbxrc: Renamed from dbxrc.
12740 * events.c (event_to_character):
12741 Use `assert (foo)' instead of `if (!foo) abort()'
12743 * .gdbinit (xtype): Add documentation.
12744 * .gdbinit (check-temacs): New function.
12745 * .gdbinit (check-xemacs): New function.
12746 * dbxrc (check-xemacs): New function.
12747 * dbxrc (check-xemacs): New function.
12749 2000-01-14 Andy Piper <andy@xemacs.org>
12751 * glyphs-widget.c (widget_query_geometry): Make sure that we
12752 calculate default dimensions correctly.
12754 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12756 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
12758 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
12759 pdump_wire'd variable.
12761 * emacs.c: (main_1): Conditionalized calls to
12762 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
12764 2000-01-13 Martin Buchholz <martin@xemacs.org>
12766 * window.c (Fset_window_configuration):
12767 * sysdep.c (_start):
12768 * input-method-motif.c (res):
12769 * event-Xt.c (Xt_process_to_emacs_event):
12770 Simple compiler warning fixes.
12772 * bytecode.c (funcall_compiled_function): Use the original
12773 function symbol on the backtrace list in preference to the
12774 compiled_function object in error messages.
12776 2000-01-13 Andy Piper <andy@xemacs.org>
12778 * glyphs-x.c (update_widget_face): Make sure we update the widget
12779 background as well as foreground.
12781 2000-01-13 Andy Piper <andy@xemacs.org>
12783 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
12784 fields to subwindow.
12785 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
12786 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
12787 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12788 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12790 * glyphs-widget.c (check_valid_tab_orientation): new function.
12791 (initialize_widget_image_instance): zero orientation and
12793 (widget_instantiate): pick up orientation.
12794 (tab_control_query_geometry): return appropriate values for
12797 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
12798 appropriate creation flags for left, right and bottom tabs.
12800 * s/cygwin32.h: add tab definitions.
12802 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12804 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
12805 frame upon hiding a subwindow.
12806 (mswindows_button_instantiate): Changed the push button style to
12808 (mswindows_button_instantiate): Removed button BS_NOTIFY
12810 (mswindows_button_instantiate): Removed redundant check for
12811 a disabled gui item.
12812 (mswindows_button_instantiate): Made use of WS_TABSTOP
12813 consistent: "operable" controls (edit, button, tree, scroll) have
12814 this style, "display-only" ones (static, progress gauge) do
12815 not. This style is currently ignored by XEmacs though. Also,
12816 removed the WS_EX_CONTROLPARENT style - it is not for children,
12817 it is for their parents!
12818 (mswindows_edit_field_instantiate): Ditto.
12819 (mswindows_progress_gauge_instantiate): Ditto.
12820 (mswindows_tree_view_instantiate): Ditto.
12821 (mswindows_tab_control_instantiate): Ditto.
12822 (mswindows_scrollbar_instantiate): Ditto.
12823 (mswindows_combo_box_instantiate): Ditto.
12824 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
12825 style to the "clip" window.
12826 (mswindows_button_instantiate): Removed compilation warning by
12827 equally typing terms of the ?: operator.
12829 2000-01-12 Didier Verna <didier@xemacs.org>
12831 * redisplay.c (generate_fstring_runes): new parameter holding the
12832 last modeline-format extent.
12833 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
12834 extent, fill the glyph block with it.
12835 (generate_fstring_runes): handle these parameters.
12836 (generate_formatted_string_db): ditto.
12838 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
12839 glyphs'extents in the modeline.
12841 1999-01-11 Mike Woolley <mike@bulsara.com>
12843 * ntheap.c: Reduced the reserved heap space from 1Gb down to
12844 256Mb, as a workaround for the non-starting problem many people
12847 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12849 * console-tty.c (Fset_console_tty_output_coding_system):
12850 Force redrawing tty frame.
12852 2000-01-10 Didier Verna <didier@xemacs.org>
12854 * redisplay.c (generate_fstring_runes): fix size computation bug.
12856 2000-01-09 William M. Perry <wmperry@aventail.com>
12858 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
12860 2000-01-09 Andy Piper <andy@xemacs.org>
12862 * glyphs-msw.c: index -> i to avoid shadows.
12863 (xbm_create_bitmap_from_data): make static.
12864 (check_valid_string_or_int): deleted.
12865 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
12867 * glyphs-x.c (x_update_subwindow): remove unused args.
12869 * glyphs.c (glyph_image_instance): return the thing. Don't set the
12870 back pointer - this is done in allocate_image_instance.
12871 (query_string_font): return Qnil to make the compiler happy.
12872 (unmap_subwindow): set to ~0 to make the compiler happy.
12873 (glyph_query_geometry): comment out until used.
12874 (glyph_layout): ditto.
12876 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12878 * insdel.c (signal_after_change): Remove extraneous unbind_to().