1 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
3 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
4 (Qideograph_cbeta): Deleted.
5 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
6 (complex_vars_of_mule_charset): Likewise.
8 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
9 (MIN_CHAR_CBETA): Comment out.
10 (MAX_CHAR_CBETA): Likewise.
12 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
14 * mule-charset.c (charset_lookup_description_1): Use
15 `NUM_LEADING_BYTES' in UTF-2000.
17 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
19 * mule-charset.c (Vcharset_china3_jef): Deleted.
20 (Qchina3_jef): Deleted.
21 (syms_of_mule_charset): Don't define `china3-jef'.
22 (complex_vars_of_mule_charset): Likewise.
24 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
25 (MIN_CHAR_CHINA3_JEF): Comment out.
26 (MAX_CHAR_CHINA3_JEF): Comment out.
28 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
30 * mule-charset.c (Vcharset_ucs_gb): New variable.
31 (Qucs_gb): New variable.
32 (syms_of_mule_charset): Add new symbol `ucs-gb'.
33 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
35 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
37 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
39 * mule-charset.c (charset_code_point): if a coded-charset has a
40 final-byte, don't inherit the builtin range of the mother CCS.
42 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
44 * mule-charset.c (charset_code_point): Fix problem about
47 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
49 * mule-charset.c (decode_builtin_char): Reorganized.
51 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
53 * text-coding.c (char_encode_shift_jis): Modify for
55 (char_encode_big5): Likewise.
56 (char_encode_utf8): Likewise.
57 (char_encode_iso2022): Likewise.
59 * mule-charset.c (charset_code_point): Add new argument
61 (Fencode_char): Add new optional argument `defined_only'.
63 * chartab.c (put_char_table): Modify for `charset_code_point'.
64 (map_char_table): Likewise.
66 * char-ucs.h (charset_code_point): Add new argument
68 (encode_char_1): Modify for `charset_code_point'.
70 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
72 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
73 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
75 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
77 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
78 (Qjis_x0208): Likewise.
79 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
80 XCHARSET_FINAL(charset).
81 (charset_code_point): Modify condition for final-byte based
83 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
84 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
85 in UTF-2000; specify `=jis-x0208' as the mother of
86 `japanese-jisx0208-1978', `japanese-jisx0208' and
87 `japanese-jisx0208-1990' in UTF-2000.
89 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
91 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
93 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
95 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
96 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
97 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
98 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
99 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
100 CONVERSION_96x96x96x96 are introduced.
101 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
102 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
103 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
105 * char-ucs.h (CONVERSION_94): New macro.
106 (CONVERSION_96): New macro.
107 (CONVERSION_94x94): New macro.
108 (CONVERSION_96x96): New macro.
109 (CONVERSION_94x94x94): New macro.
110 (CONVERSION_96x96x96): New macro.
111 (CONVERSION_94x94x94x60): New macro.
112 (CONVERSION_94x94x94x94): New macro.
113 (CONVERSION_96x96x96x96): New macro.
115 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
117 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
119 * fns.c (Qideographic_structure): New variable.
120 (Qkeyword_char): New variable.
121 (ids_format_unit): New function.
122 (Fideographic_structure_to_ids): New function.
123 (syms_of_fns): Add new symbols `ideographic-structure' and
124 `:char'; add new builtin function `ideographic-structure-to-ids'.
126 * data.c (Fchar_ref_p): New function.
127 (syms_of_data): Add new builtin function `char-ref-p'.
129 * chartab.h: Add an EXFUN for `Ffind_char'.
131 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
133 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
134 and `COMPOSE_ADD_CHAR'.
135 (decode_coding_iso2022): Use `decode_flush_er_chars'.
137 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
139 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
140 instead of `DECODE_ADD_UCS_CHAR'.
141 (COMPOSE_ADD_CHAR): Likewise.
143 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
145 * text-coding.c (decode_flush_er_chars): New inline function.
146 (decode_add_er_char): New function.
147 (decode_coding_utf8): Use `decode_flush_er_chars' and
148 `decode_add_er_char'.
150 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
152 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
153 done before `decode_output_utf8_partial_char'.
155 * mule-charset.c (complex_vars_of_mule_charset): Specify
156 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
157 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
159 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
161 * mule-charset.c (decode_defined_char): New function; search
163 (decode_builtin_char): Don't search mother if
164 XCHARSET_MAX_CODE(charset) == 0.
165 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
166 == 0 even if code >= XCHARSET_MAX_CODE(charset).
167 (Fdecode_char): Use `decode_defined_char' instead of
168 `DECODE_DEFINED_CHAR'.
169 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
170 mother of `Vcharset_ucs_jis'.
172 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
173 instead of `DECODE_DEFINED_CHAR'.
175 * char-ucs.h (decode_defined_char): Renamed from
176 `DECODE_DEFINED_CHAR'; changed to normal function.
177 (DECODE_CHAR): Use `decode_defined_char' instead of
178 `DECODE_DEFINED_CHAR'.
180 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
182 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
184 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
186 * text-coding.c (Vcoded_charset_entity_reference_alist): New
188 (Quse_entity_reference): New variable.
192 (coding_system_description): Add description for
194 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
195 (allocate_coding_system): Initialize `ccs_priority_list' in
197 (Fmake_coding_system): Add description about
198 'use-entity-reference; setup
199 CODING_SYSTEM_USE_ENTITY_REFERENCE(codesys).
200 (Fcoding_system_property): Accept `disable-composition' and
201 `use-entity-reference' in UTF-2000.
202 (struct decoding_stream): Add new member `er_counter' and `er_buf'
204 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
205 (decode_coding_utf8): Decode entity-reference if
206 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
207 (char_encode_utf8): Encode non-Unicode characters as
208 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
210 (syms_of_file_coding): Add new symbols `use-entity-reference',
212 (vars_of_file_coding): Add new variable
213 `coded-charset-entity-reference-alist'.
214 (complex_vars_of_file_coding): Declare `disable-composition' and
215 `use-entity-reference' to be coding-system-properties in UTF-2000.
217 * file-coding.h (struct Lisp_Coding_System): Add new member
218 `use_entity_reference' and `ccs_priority_list'.
219 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
220 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
221 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
223 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
225 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
227 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
229 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
230 `XCHARSET_GRAPHIC(ccs)'.
232 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
234 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
237 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
239 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
240 instead of `XCHARSET_CHARS'.
242 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
244 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
245 (XCHARSET_BYTE_SIZE): Likewise.
247 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
249 (XCHARSET_BYTE_SIZE): Likewise.
251 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
253 * char-ucs.h (decoding_table_check_elements): Delete prototype.
254 (get_ccs_octet_table): New inline function.
255 (put_ccs_octet_table): Likewise.
256 (decoding_table_put_char): Use `get_ccs_octet_table' and
257 `put_ccs_octet_table'.
258 (decoding_table_remove_char): Use `decoding_table_put_char'.
259 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
261 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
263 (make_charset): Use Qunbound instead Qnil as initial value of
266 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
268 * mule-charset.c (put_char_ccs_code_point): Modify for
269 `decoding_table_remove_char' and `decoding_table_put_char'.
270 (remove_char_ccs): Modify for `decoding_table_remove_char'.
272 * char-ucs.h (decoding_table_remove_char): Change arguments to
273 hide decoding_table vector.
274 (decoding_table_put_char): Likewise.
276 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
278 * mule-charset.c (decoding_table_remove_char): Moved to
280 (decoding_table_put_char): Likewise.
282 * char-ucs.h (decoding_table_check_elements): New prototype [moved
283 from mule-charset.c].
284 (decoding_table_remove_char): New inline function [moved from
286 (decoding_table_put_char): Likewise.
288 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
290 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
291 instead of `DECODE_CHAR' for mother; don't use special code for
292 chinese-big5 to use code space of chinese-big5-1 and
294 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
295 `MAX_CHAR_BIG5_CDP' for chinese-big5.
297 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
298 (MAX_CHAR_BIG5_CDP): Revival.
300 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
302 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
303 the XLFD registry-encoding name of `chinese-big5'.
305 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
307 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
308 (Qchinese_big5_cdp): Deleted.
309 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
310 (complex_vars_of_mule_charset): Delete coded-charset
313 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
314 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
315 `CHARSET_ID_OFFSET - n' for private CCS.
316 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
317 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
318 of `MIN_LEADING_BYTE'.
319 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
320 `(CHARSET_ID_OFFSET - 97)'.
321 (MIN_CHAR_BIG5_CDP): Deleted.
322 (MAX_CHAR_BIG5_CDP): Deleted.
324 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
326 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
329 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
331 * mule-charset.c (decode_builtin_char): Support mother charsets.
333 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
335 * mule-charset.c (Q94x94x60): New variable.
336 (charset_code_point): Support conversion `94x94x60'.
337 (Fmake_charset): Likewise.
338 (syms_of_mule_charset): Add new symbol `94x94x60'.
340 * char-ucs.h (CONVERSION_94x94x60): New macro.
342 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
344 * mule-charset.c (charset_code_point): Unify code about
347 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
349 * mule-charset.c (charset_code_point): Merge code about builtin
350 characters into code about mother charsets; don't use
351 `range_charset_code_point'.
352 (range_charset_code_point): Deleted.
354 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
356 * mule-charset.c (Qcode_offset): New variable.
357 (Fmake_charset): Use `XUINT' to get value of `min-code' and
358 `max-code'; accept new property `code-offset'.
359 (syms_of_mule_charset): Add new symbol `code-offset'.
361 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
363 * mule-charset.c (range_charset_code_point): Fixed.
365 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
367 * mule-charset.c (decode_builtin_char): Change semantics of
368 code-offset of coded-charset.
369 (charset_code_point): Likewise.
370 (range_charset_code_point): Likewise.
371 (complex_vars_of_mule_charset): Modify for the change.
373 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
375 * mule-charset.c (Fencode_char): Reverse arguments.
377 * mule-charset.c (charset_code_point): Fixed.
379 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
381 * mule-charset.c (Vcharset_mojikyo): Deleted.
382 (Vcharset_mojikyo_2022_1): Deleted.
383 (Vcharset_mojikyo_pj_{1..21}): Deleted.
384 (Qmin_code): New variable in UTF-2000.
385 (Qmax_code): Likewise.
387 (Qconversion): Likewise.
390 (Qmojikyo_2022_1): Deleted.
391 (Qmojikyo_pj_{1..22}): Deleted.
392 (mark_charset): Mark `cs->mother'.
393 (charset_description): Add description for `mother'.
394 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
395 new arguments `mother' and `conversion'; use
396 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
397 (charset_code_point): Moved from char-ucs.h; support `mother'
399 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
400 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
401 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
402 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
403 allow 2 as the value of `graphic' in UTF-2000; add new properties
404 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
405 require `final' in UTF-2000; modify for `make_charset'.
406 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
407 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
408 (Fcharset_property): Support `mother', `min-code' and `max-code'.
409 (Fencode_char): New function.
410 (syms_of_mule_charset): Add new builtin function `encode-char' in
411 UTF-2000; add new symbols `min-code', `max-code', `mother',
412 `conversion' and `94x60'; delete symbols `mojikyo',
413 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
414 (complex_vars_of_mule_charset): Modify for `make_charset' change;
415 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
416 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
418 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
419 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
421 * char-ucs.h (Vcharset_mojikyo): Deleted.
422 (Vcharset_mojikyo_2022_1): Deleted.
423 (LEADING_BYTE_MOJIKYO): Deleted.
424 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
425 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
426 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
427 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
428 add new member `mother'; add new member `conversion'.
429 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
430 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
431 (CHARSET_MOTHER): New macro.
432 (CHARSET_CONVERSION): New macro.
433 (CONVERSION_IDENTICAL): New macro.
434 (CONVERSION_94x60): New macro.
435 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
436 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
437 (XCHARSET_MOTHER): New macro.
438 (XCHARSET_CONVERSION): New macro.
439 (MIN_CHAR_MOJIKYO): Deleted.
440 (MAX_CHAR_MOJIKYO): Deleted.
441 (DECODE_MOJIKYO_2022): Deleted.
442 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
443 (charset_code_point): Changed to non-inline function.
444 (encode_char_1): Use `charset_code_point'.
445 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
447 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
449 * lread.c (read_compiled_function): Fix prototype.
450 (read_vector): Likewise.
452 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
454 * lrecord.h (struct lrecord_header): Delete `older'.
455 (set_lheader_implementation): Delete code for `older'.
456 (set_lheader_older_implementation): Deleted.
457 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
458 (OLDER_RECORD_P): Deleted.
459 (OLDER_RECORD_HEADER_P): Deleted.
460 (alloc_older_lcrecord): Deleted.
461 (alloc_older_lcrecord_type): Deleted.
463 * alloc.c (all_older_lcrecords): Deleted.
464 (alloc_older_lcrecord): Deleted.
465 (disksave_object_finalization_1): Delete code for older objects.
466 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
467 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
469 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
471 * mule-charset.c (decoding_table_put_char): Use `make_vector'
472 instead of `make_older_vector'.
473 (put_char_ccs_code_point): Likewise.
474 (mark_charset): Mark `cs->decoding_table'.
475 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
477 * lisp.h (make_older_vector): Deleted.
478 (make_vector_newer): Deleted.
480 * config.h.in (HAVE_GGC): Deleted.
482 * alloc.c (make_older_vector): Deleted.
483 (make_vector_newer_1): Deleted.
484 (make_vector_newer): Deleted.
486 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
488 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
489 (Qideograph_daikanwa_2): New variable.
490 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
491 (complex_vars_of_mule_charset): Add new coded-charset
492 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
493 `LEADING_BYTE_DAIKANWA'.
495 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
496 (LEADING_BYTE_DAIKANWA_1): New macro.
497 (LEADING_BYTE_DAIKANWA_2): New macro.
498 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
500 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
502 * mule-charset.c (complex_vars_of_mule_charset): Change
503 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
504 the second revised version.
506 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
508 * mule-charset.c (Vcharset_ucs_smp): New variable.
509 (Vcharset_ucs_sip): New variable.
510 (Qucs_smp): New variable.
511 (Qucs_sip): New variable.
512 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
513 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
514 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
515 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
516 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
517 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
519 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
520 (LEADING_BYTE_UCS_SIP): New macro.
521 (MIN_CHAR_SMP): New macro.
522 (MAX_CHAR_SMP): New macro.
523 (MIN_CHAR_SIP): New macro.
524 (MAX_CHAR_SIP): New macro.
526 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
528 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
531 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
533 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
534 value; don't store value into `encoding_table' of `Lisp_Charset'.
535 (mark_charset): `encoding_table' was deleted.
536 (charset_description): Likewise.
537 (make_charset): Likewise.
538 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
539 `put_char_ccs_code_point'.
541 * chartab.h (Fput_char_attribute): New EXFUN.
543 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
544 is unified with normal symbol space.
545 (Fget_char_attribute): Likewise.
546 (Fput_char_attribute): Likewise; behavior of
547 `put_char_ccs_code_point' is changed.
549 * char-ucs.h: Include "elhash.h".
550 (Vchar_attribute_hash_table): New external variable.
551 (struct Lisp_Charset): Delete `encoding_table'.
552 (CHARSET_ENCODING_TABLE): New implementation; refer
553 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
556 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
558 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
561 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
563 * text-coding.c (char_encode_big5): Prefer charset-g1 than
566 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
568 * chartab.c (uint8_byte_table_description): New constant.
569 (uint8-byte-table): Use `uint8_byte_table_description'.
570 (uint16_byte_table_description): New constant.
571 (uint16-byte-table): Use `uint16_byte_table_description'.
573 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
575 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
576 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
578 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
580 * mule-charset.c (Vcharset_ucs_ks): New variable.
581 (Qucs_ks): New variable.
582 (syms_of_mule_charset): Add new symbol `ucs-ks'.
583 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
585 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
587 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
589 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
590 (Fdecode_char): Likewise.
592 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
594 (Fdefine_char): Modify for Fdecode_char.
595 (Ffind_char): Likewise.
597 * mule-charset.c (Fdecode_char): Add new optional argument
599 (Fdecode_builtin_char): Modify for `Fdecode_char'.
601 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
603 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
604 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
605 (allocate_coding_system): Initialize initial-charsets of
606 CODESYS_BIG5 in XEmacs UTF-2000.
607 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
608 CODESYS_BIG5 in XEmacs UTF-2000.
609 (decode_coding_big5): Use initial-charset-g0 and -g1 of
610 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
612 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
614 (Qideograph_hanziku_{1 .. 12}): Likewise.
615 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
617 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
618 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
619 `ideograph-hanziku-{1 .. 12}'.
621 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
622 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
623 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
624 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
625 (DECODE_DEFINED_CHAR): New inline function.
626 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
628 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
630 * mule-charset.c (Vcharset_china3_jef): Renamed from
631 `Vcharset_japanese_jef_china3'.
632 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
633 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
634 `{MIN|MAX}_CHAR_JEF_CHINA3'..
635 (syms_of_mule_charset): Rename `china3-jef' from
636 `japanese-jef-china3'.
637 (complex_vars_of_mule_charset): Likewise; rename
638 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
640 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
641 `LEADING_BYTE_JEF_CHINA3'.
642 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
643 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
645 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
647 * mule-charset.c (encode_builtin_char_1): Comment out special code
648 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
650 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
651 (MAX_CHAR_MOJIKYO_0): Comment out.
652 (MIN_CHAR_CBETA): Changed to 0x00E20000.
653 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
654 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
655 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
657 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
659 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
660 (Qideograph_cbeta): New variable.
661 (encode_builtin_char_1): Comment out special code for
662 coded-charset `mojikyo' and `japanese-jef-china3'.
663 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
664 (complex_vars_of_mule_charset): Add new coded-charset
667 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
668 (MIN_CHAR_CBETA): New macro.
669 (MAX_CHAR_CBETA): New macro.
671 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
673 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
674 (LEADING_BYTE_JEF_CHINA3): New macro.
675 (MIN_CHAR_JEF_CHINA3): New macro.
676 (MAX_CHAR_JEF_CHINA3): Likewise.
677 (DECODE_CHAR): Fixed.
679 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
681 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
682 (Qjapanese_jef_china3): New variable.
683 (encode_builtin_char_1): Support `japanese-jef-china3'.
684 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
685 (complex_vars_of_mule_charset): Add new coded-charset
686 `japanese-jef-china3'.
688 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
690 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
691 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
692 94^4, 96^3, 96^4, 128^n and 256^n set.
693 (put_char_table): Use `XCHARSET_CELL_RANGE'.
694 (map_char_table): Likewise.
696 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
698 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
701 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
703 * chartab.h (get_char_id_table): New inline function.
705 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
708 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
710 * chartab.h (decode_char_table_range): New prototype in XEmacs
712 (put_char_id_table): New inline function in XEmacs UTF-2000.
714 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
716 (decode_char_table_range): Delete static declaration in XEmacs
719 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
721 * chartab.c (put_char_id_table): Use `put_char_table'.
723 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
725 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
726 (map_over_uint16_byte_table): Likewise.
727 (map_over_byte_table): Likewise.
728 (map_char_table): Modify for `map_over_uint8_byte_table',
729 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
732 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
734 * chartab.c (struct map_char_table_for_charset_arg): New
736 (map_char_table_for_charset_fun): New function.
737 (map_char_table): Use `map_char_table' for encoding_table of
740 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
742 * chartab.c (map_char_table): Check a character is found in
743 range->charset instead of non default value is defined in
744 char-table when range is CHARTAB_RANGE_ROW.
746 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
748 * chartab.c (map_char_id_table): Deleted.
749 (Fmap_char_attribute): Use `map_char_table' instead of
752 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
754 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
756 (update_syntax_table): Deleted in XEmacs UTF-2000.
758 * syntax.c (find_defun_start): Use `syntax_table' instead of
759 `mirror_syntax_table' in XEmacs UTF-2000.
760 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
762 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
764 (Fmatching_paren): Likewise.
765 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
767 (find_start_of_comment): Likewise.
768 (find_end_of_comment): Likewise.
769 (Fforward_comment): Likewise.
770 (scan_lists): Likewise.
771 (char_quoted): Likewise.
772 (Fbackward_prefix_chars): Likewise.
773 (scan_sexps_forward): Likewise.
774 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
775 (update_syntax_table): Likewise.
777 * search.c (skip_chars): Use `syntax_table' instead of
778 `mirror_syntax_table' in XEmacs UTF-2000.
780 (Freplace_match): Likewise.
782 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
783 `mirror_syntax_table' in XEmacs UTF-2000.
784 (WORDCHAR_P_UNSAFE): Likewise.
785 (re_match_2_internal): Likewise.
787 * font-lock.c (find_context): Use `buf->syntax_table' instead of
788 `buf->mirror_syntax_table' in XEmacs UTF-2000.
790 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
791 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
793 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
796 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
798 (print_char_table): Print `default_value' in XEmacs UTF-2000.
799 (char_table_description): Delete `mirror_table' in XEmacs
801 (fill_char_table): Don't call `update_syntax_table' in XEmacs
803 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
804 (Fcopy_char_table): Likewise.
805 (put_char_table): Don't call `update_syntax_table' in XEmacs
808 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
809 `buf->mirror_syntax_table' in XEmacs UTF-2000.
810 (casify_region_internal): Likewise.
812 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
814 * buffer.c (common_init_complex_vars_of_buffer): Don't use
815 `mirror_syntax_table' in XEmacs UTF-2000.
817 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
818 `buf->mirror_syntax_table' in XEmacs UTF-2000.
819 (Fexpand_abbrev): Likewise.
821 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
823 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
825 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
827 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
828 (map_over_uint16_byte_table): Likewise.
829 (map_over_byte_table): Likewise.
830 (get_char_id_table): Refer `cit->default_value'.
831 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
832 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
833 of character-id ranges.
834 (mark_char_table): Mark `ct->default_value'.
835 (char_table_description): Add `default_value'.
836 (fill_char_table): Use `default_value'.
837 (decode_char_table_range): Decode `nil' as
838 `CHARTAB_RANGE_DEFAULT'.
839 (get_char_id_table): Refer `cit->default_value'.
840 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
841 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
842 temporary hack; check value of char-table is bound or not.
843 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
845 * chartab.h (struct Lisp_Char_Table): Add new member
846 `default_value' in XEmacs UTF-2000.
847 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
848 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
851 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
853 * chartab.h (Lisp_Char_ID_Table): Deleted.
855 * chartab.c (char_table_description): Fix typo.
856 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
857 `Lisp_Char_ID_Table'.
859 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
861 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
864 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
867 * chartab.h (XCHAR_ID_TABLE): Deleted.
868 (XSETCHAR_ID_TABLE): Deleted.
869 (CHAR_ID_TABLE_P): Deleted.
871 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
873 (Fget_composite_char): Likewise.
874 (put_char_table): Likewise.
875 (add_char_attribute_alist_mapper): Fixed.
876 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
878 (Fget_char_attribute): Likewise.
879 (Fget_char_attribute): Likewise.
880 (Fmap_char_attribute): Likewise.
882 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
884 (encode_char_1): Likewise.
886 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
888 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
891 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
892 instead of `XCHAR_ID_TABLE'.
893 (remove_char_ccs): Likewise.
895 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
897 (Fget_composite_char): Likewise.
898 (Fchar_variants): Likewise.
899 (put_char_table): Likewise.
900 (add_char_attribute_alist_mapper): Likewise.
901 (Fchar_attribute_alist): Likewise.
902 (Fget_char_attribute): Likewise.
903 (Fput_char_attribute): Likewise.
904 (Fmap_char_attribute): Likewise.
905 (Fmap_char_attribute): Likewise.
907 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
909 (encode_char_1): Likewise.
911 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
913 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
914 `Lisp_Char_ID_Table'.
915 (mark_char_id_table): Deleted.
916 (print_char_id_table): Likewise.
917 (char_id_table_equal): Likewise.
918 (char_id_table_hash): Likewise.
919 (char_id_table_description): Likewise.
920 (char_id_table): Likewise.
921 (make_char_id_table): Use `Fmake_char_table' and
923 (get_char_id_table): Use `Lisp_Char_Table' instead of
924 `Lisp_Char_ID_Table'.
925 (put_char_id_table): Likewise.
926 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
928 (Fremove_char_attribute): Likewise.
929 (syms_of_chartab): Don't define type `char-id-table'.
931 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
932 (char_id_table): Likewise.
933 (GC_CHAR_ID_TABLE_P): Likewise.
934 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
935 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
936 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
937 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
938 (get_char_id_table): Use `Lisp_Char_Table' instead of
939 `Lisp_Char_ID_Table'.
940 (put_char_id_table_0): Likewise.
941 (put_char_id_table): Likewise.
943 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
945 * chartab.h: Lisp_Byte_Table related codes are moved from
948 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
950 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
952 * chartab.h: Don't include "chartab.h".
953 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
954 (Lisp_Char_ID_Table): Likewise.
955 (char_id_table): Likewise.
956 (XCHAR_ID_TABLE): Likewise.
957 (XSETCHAR_ID_TABLE): Likewise.
958 (CHAR_ID_TABLE_P): Likewise.
959 (GC_CHAR_ID_TABLE_P): Likewise.
960 (get_char_id_table): Likewise.
962 * char-ucs.h: Include "chartab.h".
963 (struct Lisp_Char_ID_Table): Moved to chartab.h.
964 (Lisp_Char_ID_Table): Likewise.
965 (char_id_table): Likewise.
966 (XCHAR_ID_TABLE): Likewise.
967 (XSETCHAR_ID_TABLE): Likewise.
968 (CHAR_ID_TABLE_P): Likewise.
969 (GC_CHAR_ID_TABLE_P): Likewise.
970 (get_char_id_table): Likewise.
972 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
974 * chartab.c (copy_uint8_byte_table): New function.
975 (copy_uint16_byte_table): New function.
976 (copy_byte_table): New function.
977 (map_over_uint8_byte_table): Modify to avoid huge numbers of
979 (map_over_uint16_byte_table): Likewise.
980 (map_over_byte_table): Likewise.
981 (get_byte_table): Move prototype to chartab.h.
982 (put_byte_table): Likewise.
983 (put_char_id_table_0): Moved to chartab.h.
984 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
985 (char_table_entry_equal): Likewise.
986 (char_table_entry_hash): Likewise.
987 (char_table_entry_description): Likewise.
988 (char_table_entry): Likewise.
989 (make_char_table_entry): Likewise.
990 (copy_char_table_entry): Likewise.
991 (get_non_ascii_char_table_value): Likewise.
992 (map_over_charset_ascii): Likewise.
993 (map_over_charset_control_1): Likewise.
994 (map_over_charset_row): Likewise.
995 (map_over_other_charset): Likewise.
996 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
997 (print_char_table): Likewise.
998 (char_table_equal): Likewise.
999 (char_table_hash): Likewise.
1000 (char_table_description): Likewise.
1001 (fill_char_table): Likewise.
1002 (Fcopy_char_table): Likewise.
1003 (get_char_table): Likewise.
1004 (Fget_range_char_table): Likewise.
1005 (put_char_table): Likewise.
1006 (map_char_table): Likewise.
1007 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1010 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1012 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1013 `Vauto_fill_chars' in XEmacs UTF-2000.
1015 * chartab.h (get_byte_table): New prototype [moved from
1017 (put_byte_table): Likewise [moved from chartab.c].
1018 (put_char_id_table_0): New inline function [moved from chartab.c].
1019 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1020 (Lisp_Char_Table_Entry): Likewise.
1021 (char_table_entry): Likewise.
1022 (XCHAR_TABLE_ENTRY): Likewise.
1023 (XSETCHAR_TABLE_ENTRY): Likewise.
1024 (CHAR_TABLE_ENTRYP): Likewise.
1025 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1026 (NUM_ASCII_CHARS): Likewise.
1027 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1028 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1030 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1032 * chartab.c (get_char_id_table): Change interface.
1033 (put_char_id_table_0): New function.
1034 (put_char_id_table): Change interface; new implementation.
1035 (Fget_composite_char): Modify for interface change of
1036 `get_char_id_table'.
1037 (Fchar_variants): Likewise.
1038 (add_char_attribute_alist_mapper): Likewise.
1039 (Fchar_attribute_alist): Likewise.
1040 (Fget_char_attribute): Likewise.
1041 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1042 as same as character as the first argument like `put-char-table';
1043 modify for interface change of `put_char_id_table'.
1044 (Fremove_char_attribute): Modify for interface change of
1045 `put_char_id_table'.
1047 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1049 * text-coding.c: Sync up with XEmacs 21.2.41.
1050 (COMPOSE_ADD_CHAR): Modify for interface change of
1051 `get_char_id_table'.
1053 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1054 change of `put_char_id_table'.
1055 (remove_char_ccs): Likewise.
1057 * chartab.h (put_char_id_table): Change interface.
1059 * char-ucs.h (get_char_id_table): Change interface.
1060 (charset_code_point): Modify for interface change of
1061 `get_char_id_table'.
1062 (encode_char_1): Likewise.
1064 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1066 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1068 (map_over_uint16_byte_table): Likewise.
1069 (map_over_byte_table): Likewise.
1070 (map_char_id_table): Add new argument `range' like
1072 (Fmap_char_attribute): Add new argument `range' like
1075 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1077 * chartab.c (map_over_uint8_byte_table): Change interface of
1078 mapping function to use struct chartab_range instead of Emchar.
1079 (map_over_uint16_byte_table): Likewise.
1080 (map_over_byte_table): Likewise.
1081 (map_char_id_table): Likewise.
1082 (struct slow_map_char_id_table_arg): Deleted.
1083 (slow_map_char_id_table_fun): Deleted.
1084 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1085 function `slow_map_char_table_fun' instead of struct
1086 `slow_map_char_id_table_arg' and function
1087 `slow_map_char_id_table_fun'.
1089 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1091 * mule-charset.c: Move char-it-table related codes to chartab.c.
1092 (Vutf_2000_version): Moved to chartab.c.
1093 (Fdefine_char): Likewise.
1094 (Ffind_char): Likewise.
1095 (syms_of_mule_charset): Move types `uint8-byte-table',
1096 `uint16-byte-table', `byte-table' and `char-id-table' to
1097 chartab.c; move functions `char_attribute_list,
1098 `find_char_attribute_table, `char_attribute_alist,
1099 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1100 `map_char_attribute, `define_char, `find_char, `char_variants and
1101 `get_composite_char to chartab.c; move symbols `=>ucs',
1102 `->decomposition', `compat', `isolated', `initial', `medial',
1103 `final', `vertical', `noBreak', `fraction', `super', `sub',
1104 `circle', `square', `wide', `narrow', `small' and `font' to
1106 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1107 setting codes for `Vcharacter_composition_table' and
1108 `Vcharacter_variant_table' to chartab.c.
1109 (complex_vars_of_mule_charset): Move setting code for
1110 `Vchar_attribute_hash_table' to chartab.c.
1112 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1113 (make_char_id_table): New prototype.
1114 (put_char_id_table): Likewise.
1115 (Fget_char_attribute): Likewise.
1117 * chartab.c: Move char-id-table related code from mule-charset.c.
1118 (Vutf_2000_version): Moved from mule-charset.c.
1120 * char-ucs.h (Qucs): New external variable.
1121 (put_char_ccs_code_point): New prototype.
1122 (remove_char_ccs): Likewise.
1124 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1126 * mule-charset.c (Vcharset_ucs_jis): New variable.
1127 (Qucs_jis): Likewise.
1128 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1129 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1131 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1133 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1135 * mule-charset.c (map_over_uint8_byte_table): New function.
1136 (map_over_uint16_byte_table): Likewise.
1137 (map_over_byte_table): Likewise.
1138 (map_char_id_table): Likewise.
1139 (slow_map_char_id_table_fun): Likewise.
1140 (Fmap_char_attribute): Likewise.
1141 (syms_of_mule_charset): Add new function `map-char-attribute'.
1143 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1145 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1146 (syms_of_mule_charset): Add new function `find-char'.
1148 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1150 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1152 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1153 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1155 (complex_vars_of_mule_charset): Add new coded-charset
1156 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1157 `ideograph-gt-pj-*'.
1159 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1161 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1163 * mule-charset.c (encode_builtin_char_1): Purge codes about
1164 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1165 {MIN|MAX}_CHAR_HEBREW.
1166 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1167 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1169 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1170 (MAX_CHAR_GREEK): Purged.
1171 (MIN_CHAR_CYRILLIC): Purged.
1172 (MAX_CHAR_CYRILLIC): Purged.
1173 (MIN_CHAR_HEBREW): Commented out.
1174 (MAX_CHAR_HEBREW): Likewise.
1176 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1178 * mule-charset.c (Qto_ucs): New variable.
1179 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1180 (Fdefine_char): Likewise.
1181 (syms_of_mule_charset): Add new symbol `=>ucs'.
1183 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1185 * mule-charset.c (Fdecode_char): Fixed.
1187 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1189 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1190 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1193 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1195 * mule-charset.c (Vcharset_ucs_big5): New variable.
1196 (Qucs_big5): Likewise.
1197 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1198 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1200 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1202 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1204 * mule-charset.c (decode_builtin_char): Check Big5 code range
1205 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1207 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1209 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1210 (Qchinese_gb12345): Likewise.
1211 (Fdecode_builtin_char): Fixed.
1212 (syms_of_mule_charset): Add `chinese-gb12345'.
1213 (complex_vars_of_mule_charset): Add coded-charset
1216 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1217 (LEADING_BYTE_CHINESE_GB12345): New macro.
1219 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1221 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1222 and `latin-viscii-upper' for `latin-viscii'.
1224 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1226 * mule-charset.c (Fdecode_builtin_char): Comment out
1227 regularization code for ISO-IR GR representation.
1229 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1231 * mule-charset.c (decode_builtin_char): New function; renamed from
1232 `make_builtin_char'; return -1 instead of signal.
1233 (Fdecode_builtin_char): Use `decode_builtin_char'.
1235 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1236 `make_builtin_char'.
1237 (DECODE_CHAR): Use `decode_builtin_char' instead of
1238 `make_builtin_char'; use mapping table of `chinese-big5' for
1239 `chinese-big5-{1,2}'.
1241 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1243 * text-coding.c (char_encode_big5): New function.
1244 (char_finish_big5): Likewise.
1245 (reset_encoding_stream): Use `char_encode_big5' and
1246 `char_finish_big5' for CODESYS_BIG5.
1247 (mule_encode): Don't use `encode_coding_big5'.
1248 (encode_coding_big5): Deleted.
1250 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1252 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1253 0x81- in XEmacs UTF-2000.
1254 (detect_coding_big5): Likewise.
1256 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1258 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1259 generate character-id if the CCS property does not have
1260 corresponding predefined character.
1261 (make_builtin_char): Return -1 if corresponding predefined
1262 character is not found.
1263 (Fdecode_char): Return nil if corresponding character is not
1265 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1266 don't map to builtin ucs space.
1268 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1270 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1271 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1273 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1275 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1276 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1277 (Qideograph_gt): Likewise.
1278 (Qideograph_gt_pj_{1..11}): Likewise.
1279 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1280 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1281 `ideograph-gt-pj-11'.
1282 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1283 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1284 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1286 * char-ucs.h (LEADING_BYTE_GT): New macro.
1287 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1288 (MIN_CHAR_GT): Likewise.
1289 (MAX_CHAR_GT): Likewise.
1291 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1293 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1294 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1296 * doprnt.c (unsigned_int_converters): Add `c'.
1297 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1299 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1300 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1302 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1303 (MAX_CHAR_MOJIKYO_0): New macro.
1304 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1306 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1308 * mule-charset.c (Fdefine_char): Delete cemented out code.
1309 (encode_builtin_char_1): Modify for new allocation of builtin
1312 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1314 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1316 * mule-charset.c (Vcharset_ucs_cns): New variable.
1317 (Qucs_cns): New variable.
1318 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1319 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1321 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1323 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1325 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1327 * search.c (search_buffer): Make `charset_base_code' as
1328 character-id >> 6 to eliminate the corresponding last byte in
1329 UTF-8 representation [I'm not sure it is right thing].
1330 (boyer_moore): Likewise.
1332 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1334 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1335 representation in MULE.
1337 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1339 * text-coding.c (Fmake_coding_system): Use
1340 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1341 `EXTERNAL_PROPERTY_LIST_LOOP'.
1343 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1345 * text-coding.c (decode_output_utf8_partial_char): New function.
1346 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1348 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1350 * text-coding.c (decode_coding_utf8): Output original byte
1351 sequence if it is broken; change order of conditions.
1353 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1356 * mb-multibyte.h (BYTE_ASCII_P):
1357 Use bit ops for char-signedness safety.
1358 (BYTE_C0_P): Use bit ops for char-signedness safety.
1359 (BYTE_C1_P): Use bit ops for char-signedness safety.
1361 * character.h: (XCHAR_OR_CHAR_INT):
1362 Always use inline function.
1363 Remove redundant type checking assert() - XINT will abort quite
1366 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1368 * text-coding.c: (Fencode_shift_jis_char):
1369 (Fencode_big5_char):
1370 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1371 Replace 0 with '\0' when working with bytes.
1372 Replace initial "(" with "\(" in docstrings.
1374 (Fmake_coding_system):
1375 When type is ccl and value is vector, register it with a proper
1376 symbol. And checks whether the given ccl program is valid.
1377 (mule_decode): When calling ccl_driver, if src indicates
1378 NULL pointer, set an empty string instead.
1379 (mule_encode): Likewise.
1382 (detect_coding_sjis):
1383 (decode_coding_sjis):
1384 (detect_coding_big5):
1385 (decode_coding_big5):
1386 (detect_coding_ucs4):
1387 (decode_coding_ucs4):
1388 (detect_coding_utf8):
1389 (decode_coding_utf8):
1390 (detect_coding_iso2022):
1391 (decode_coding_iso2022):
1392 (decode_coding_no_conversion):
1394 Make all detecting and decoding functions take an Extbyte * arg.
1395 (text_encode_generic):
1396 (encode_coding_big5):
1397 (encode_coding_no_conversion):
1399 Make all encoding functions take a Bufbyte * arg.
1400 Use size_t instead of unsigned int for memory sizes.
1401 Only cast to unsigned char whenever dereferencing Extbyte *.
1403 (struct lrecord_description fcd_description_1): Use countof.
1404 (complex_vars_of_file_coding):
1405 Use countof instead of sizeof.
1406 Use CHECK_NATNUM instead of CHECK_INT.
1408 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1410 * mule-charset.c (Fget_char_attribute): Add new optional argument
1412 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1413 (remove_char_ccs): Likewise.
1415 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1417 * text-coding.c (char_encode_shift_jis): New implementation in
1419 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1422 * mule-charset.c (Vcharset_chinese_big5): New variable in
1424 (Qchinese_big5): New variable in UTF-2000.
1425 (BIG5_SAME_ROW): New macro in UTF-2000.
1426 (make_builtin_char): Use builtin characters of
1427 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1428 characters of `Vcharset_chinese_big5'.
1429 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1430 (complex_vars_of_mule_charset): Add new coded-charset
1431 `chinese-big5' in UTF-2000.
1433 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1434 (Vcharset_chinese_big5): New external variable declaration.
1435 (Vcharset_japanese_jisx0208_1990): Likewise.
1437 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1439 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1441 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1443 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1445 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1446 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1447 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1450 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1452 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1454 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1456 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1459 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1461 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1462 for `CHARSET_BY_ATTRIBUTES'.
1463 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1464 `CHARSET_BY_ATTRIBUTES'.
1466 * text-coding.c (struct decoding_stream): Rename member `CH' to
1468 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1469 (decode_coding_sjis): Likewise.
1470 (decode_coding_big5): Likewise.
1471 (decode_coding_ucs4): Likewise.
1472 (decode_coding_utf8): Likewise.
1473 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1474 `CHARSET_BY_ATTRIBUTES'.
1475 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1476 `str->counter'; decode 3, 4 bytes sets.
1477 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1479 (decode_coding_no_conversion): Use `str->cpos' instead of
1482 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1483 (Qmojikyo_2022_1): New variable.
1484 (make_charset): Don't use `CHARSET_TYPE_*'.
1485 (range_charset_code_point): Support coded-charset
1487 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1488 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1489 `CHARSET_BY_ATTRIBUTES'.
1490 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1491 `CHARSET_BY_ATTRIBUTES'.
1492 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1493 (complex_vars_of_mule_charset): Add new coded-charset
1496 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1497 interface; changed to inline function.
1499 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1500 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1501 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1502 (CHARSET_TYPE_94): Deleted.
1503 (CHARSET_TYPE_94X94): Deleted.
1504 (CHARSET_TYPE_96): Deleted.
1505 (CHARSET_TYPE_96X96): Deleted.
1506 (CHARSET_TYPE_128): Deleted.
1507 (CHARSET_TYPE_128X128): Deleted.
1508 (CHARSET_TYPE_256): Deleted.
1509 (CHARSET_TYPE_256X256): Deleted.
1510 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1512 (DECODE_MOJIKYO_2022): New inline function.
1513 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1514 `Vcharset_mojikyo_2022_1'.
1516 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1518 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1520 (put_byte_table): Likewise.
1521 (char_id_table_equal): Use `get_byte_table' [new implementation].
1523 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1525 * mule-charset.c: Include <limits.h> in UTF-2000.
1526 (BT_UINT8_MIN): New macro in UTF-2000.
1527 (BT_UINT8_MAX): New macro in UTF-2000.
1528 (BT_UINT8_t): New macro in UTF-2000.
1529 (BT_UINT8_nil): New macro in UTF-2000.
1530 (BT_UINT8_unbound): New macro in UTF-2000.
1531 (INT_UINT8_P): New inline function in UTF-2000.
1532 (UINT8_VALUE_P): New inline function in UTF-2000.
1533 (UINT8_ENCODE): New inline function in UTF-2000.
1534 (UINT8_DECODE): New inline function in UTF-2000.
1535 (mark_uint8_byte_table): New function in UTF-2000.
1536 (print_uint8_byte_table): New function in UTF-2000.
1537 (uint8_byte_table_equal): New function in UTF-2000.
1538 (uint8_byte_table_hash): New function in UTF-2000.
1539 (make_uint8_byte_table): New function in UTF-2000.
1540 (uint8_byte_table_same_value_p): New function in UTF-2000.
1541 (BT_UINT16_MIN): New macro in UTF-2000.
1542 (BT_UINT16_MAX): New macro in UTF-2000.
1543 (BT_UINT16_t): New macro in UTF-2000.
1544 (BT_UINT16_nil): New macro in UTF-2000.
1545 (BT_UINT16_unbound): New macro in UTF-2000.
1546 (INT_UINT16_P): New inline function in UTF-2000.
1547 (UINT16_VALUE_P): New inline function in UTF-2000.
1548 (UINT16_ENCODE): New inline function in UTF-2000.
1549 (UINT16_DECODE): New inline function in UTF-2000.
1550 (UINT8_TO_UINT16): New inline function in UTF-2000.
1551 (mark_uint16_byte_table): New function in UTF-2000.
1552 (print_uint16_byte_table): New function in UTF-2000.
1553 (uint16_byte_table_equal): New function in UTF-2000.
1554 (uint16_byte_table_hash): New function in UTF-2000.
1555 (make_uint16_byte_table): New function in UTF-2000.
1556 (uint16_byte_table_same_value_p): New function in UTF-2000.
1557 (print_byte_table): New function in UTF-2000.
1558 (byte-table): Use `print_byte_table' as printer.
1559 (make_byte_table): Delete second argument `older'.
1560 (byte_table_same_value_p): New function in UTF-2000.
1561 (copy_byte_table): Deleted.
1562 (get_byte_table): New function in UTF-2000.
1563 (put_byte_table): New function in UTF-2000.
1564 (print_char_id_table): New function in UTF-2000.
1565 (char-id-table): Use `print_char_id_table' as printer.
1566 (make_char_id_table): Delete second argument `older'.
1567 (get_char_id_table): Use `get_byte_table [new implementation].
1568 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1570 (Ffind_char_attribute_table): New function in UTF-2000.
1571 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1572 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1573 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1574 (syms_of_mule_charset): Add new function
1575 `find-char-attribute-table' in UTF-2000.
1577 * lrecord.h (enum lrecord_type): Add
1578 `lrecord_type_uint16_byte_table' and
1579 `lrecord_type_uint8_byte_table'.
1581 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1582 (Lisp_Uint8_Byte_Table): New type.
1583 (XUINT8_BYTE_TABLE): New macro.
1584 (XSETUINT8_BYTE_TABLE): New macro.
1585 (UINT8_BYTE_TABLE_P): New macro.
1586 (GC_UINT8_BYTE_TABLE_P): New macro.
1587 (struct Lisp_Uint16_Byte_Table): New structure.
1588 (Lisp_Uint16_Byte_Table): New type.
1589 (XUINT16_BYTE_TABLE): New macro.
1590 (XSETUINT16_BYTE_TABLE): New macro.
1591 (UINT16_BYTE_TABLE_P): New macro.
1592 (GC_UINT16_BYTE_TABLE_P): New macro.
1594 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1596 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1597 (Vcharacter_ideographic_strokes_table): Deleted.
1598 (Vcharacter_total_strokes_table): Deleted.
1599 (Vcharacter_morohashi_daikanwa_table): Deleted.
1600 (Vcharacter_decomposition_table): Deleted.
1601 (Qname): Deleted because it is duplicated.
1602 (Qideographic_radical): Deleted.
1603 (Qideographic_strokes): Deleted.
1604 (Qtotal_strokes): Deleted.
1605 (Qmorohashi_daikanwa): Deleted.
1606 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1607 `ideographic-radical', `ideographic-strokes', `total-strokes',
1608 `morohashi-daikanwa' and `->decomposition'.
1609 (Fget_char_attribute): Likewise.
1610 (Fput_char_attribute): Likewise; use `make-vector' instead of
1611 `make_older_vector' for `->decomposition' value.
1612 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1613 `ideograph-daikanwa'.
1614 (syms_of_mule_charset): Delete builtin symbols `name',
1615 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1616 `morohashi-daikanwa'.
1617 (vars_of_mule_charset): Don't setup
1618 `Vcharacter_ideographic_radical_table',
1619 `Vcharacter_ideographic_strokes_table',
1620 `Vcharacter_total_strokes_table',
1621 `Vcharacter_morohashi_daikanwa_table' and
1622 `Vcharacter_decomposition_table'.
1624 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1626 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1627 `make_older_vector', `make_vector_newer_1' and
1628 `make_vector_newer'.
1630 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1631 `make_older_vector' and `make_vector_newer'.
1633 * config.h.in (HAVE_GGC): New macro.
1635 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1637 * mule-charset.c (struct char_attribute_list_closure): New
1638 structure in UTF-2000.
1639 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1640 (Fchar_attribute_list): Likewise.
1641 (Fset_charset_mapping_table): Use `make_vector_newer'.
1642 (Fdecode_builtin_char): New function in UTF-2000.
1643 (syms_of_mule_charset): Add new function `char-attribute-list' and
1644 `decode-builtin-char' in UTF-2000.
1646 * lisp.h (make_vector_newer): New prototype.
1648 * alloc.c (make_vector_newer_1): New function.
1649 (make_vector_newer): New function.
1651 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1653 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1656 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1658 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1659 (Vcharacter_attribute_table): Deleted.
1660 (Vcharacter_name_table): Deleted.
1661 (put_char_attribute): Deleted.
1662 (remove_char_attribute): Deleted.
1663 (struct char_attribute_alist_closure): New structure.
1664 (add_char_attribute_alist_mapper): New function.
1665 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1666 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1667 (Fget_char_attribute): Likewise.
1668 (Fput_char_attribute): Likewise.
1669 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1670 of `remove_char_attribute'.
1671 (Fdefine_char): Return character.
1672 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1673 and `Vcharacter_name_table'.
1674 (complex_vars_of_mule_charset): Likewise
1675 `Vchar_attribute_hash_table'.
1677 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1679 * character.h (CHARC_CHARSET): New macro.
1680 (CHARC_CHARSET_ID): New macro.
1681 (CHARC_CODE_POINT): New macro.
1682 (CHARC_COLUMNS): New macro.
1683 (CHARC_TO_CHAR): New inline function.
1684 (CHARC_EQ): New inline function.
1685 (CHARC_ASCII_EQ): New inline function.
1686 (CHARC_IS_SPACE): New inline function.
1687 (ASCII_TO_CHARC): New inline function.
1689 * char-ucs.h (encode_char_2): Deleted.
1690 (ENCODE_CHAR): Use `encode_char_1' again.
1691 (breakup_char_1): Likewise.
1692 (CHAR_TO_CHARC): New inline function.
1694 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1696 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1698 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1699 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1700 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1701 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1702 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1704 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1706 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1708 (x_output_display_block): Use `CHARC_CHARSET' and
1711 * redisplay-tty.c (tty_output_display_block): Use
1713 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1715 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1717 * insdel.c (find_charsets_in_charc_string): Use
1719 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1720 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1721 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1722 (convert_charc_string_into_malloced_string): Likewise.
1724 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1726 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1727 instead of <Emchar_dynarr *> for buf; use
1728 `convert_bufbyte_string_into_charc_dynarr' instead of
1729 `convert_bufbyte_string_into_emchar_dynarr'; use
1730 `find_charsets_in_charc_string' instead of
1731 `find_charsets_in_emchar_string'.
1734 - Include "character.h".
1735 (struct rune): New member `cglyph'; delete member `chr'.
1737 * redisplay.c (redisplay_text_width_charc_string): New function;
1738 delete `redisplay_text_width_emchar_string'.
1739 (rtw_charc_dynarr): New variable; renamed from
1740 `rtw_emchar_dynarr'.
1741 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
1742 `rtw_emchar_dynarr'; use
1743 `convert_bufbyte_string_into_charc_dynarr' instead of
1744 `convert_bufbyte_string_into_emchar_dynarr'; use
1745 `redisplay_text_width_charc_string' instead of
1746 `redisplay_text_width_emchar_string'.
1747 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1748 instead of `rtw_emchar_dynarr'; use
1749 `convert_bufbyte_string_into_charc_dynarr' instead of
1750 `convert_bufbyte_string_into_emchar_dynarr'.
1751 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1752 `redisplay_text_width_charc_string' instead of
1753 `redisplay_text_width_emchar_string'.
1754 (create_text_block): Modify for <struct rune> change.
1755 (generate_formatted_string_db): Likewise.
1756 (create_string_text_block): Likewise.
1757 (pixel_to_glyph_translation): Likewise.
1759 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
1760 instead of <const Emchar *>.
1761 (x_text_width): Likewise.
1762 (x_output_display_block): Use <Charc_dynarr *> instead
1763 <Emchar_dynarr *>; modify for <structure rune> change.
1764 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
1767 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
1768 <const Emchar *>; use `charc_string_displayed_columns' instead of
1769 `emchar_string_displayed_columns'.
1770 (tty_output_display_block): Use <Charc_dynarr *> instead of
1771 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
1772 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
1773 (tty_output_charc_dynarr_dynarr): New variable; renamed from
1774 `tty_output_emchar_dynarr_dynarr'.
1775 (tty_output_charc_dynarr): New function; delete
1776 `tty_output_charc_dynarr'.
1778 * redisplay-output.c (compare_runes): Modify for `struct rune'.
1779 (redisplay_output_layout): Use <Charc_dynarr *> instead of
1780 <Emchar_dynarr *> for buf; use
1781 `convert_bufbyte_string_into_charc_dynarr' instead of
1782 `convert_bufbyte_string_into_emchar_dynarr'.
1784 * frame.c (title_string_charc_dynarr): New variable; renamed from
1785 `title_string_emchar_dynarr'.
1786 (generate_title_string): Use `title_string_charc_dynarr' instead
1787 of `title_string_emchar_dynarr'; use
1788 `convert_charc_string_into_malloced_string' instead of
1789 `convert_emchar_string_into_malloced_string'.
1790 (init_frame): Use `title_string_charc_dynarr' instead of
1791 `title_string_emchar_dynarr'.
1794 - Include "character.h".
1795 (struct console_methods): Use <const Charc *> instead of <const
1796 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
1797 <Emchar_dynarr *> in output_string_method.
1799 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
1802 * console-stream.c (stream_text_width): Use <const Charc *>
1803 instead of <const Emchar *>.
1805 * character.h (Charc_dynarr): New type.
1807 * char-ucs.h (structure Charc): New structure; define new type
1810 * char-lb.h (DECODE_CHAR): New inline function.
1811 (encode_char_1): New inline function.
1812 (ENCODE_CHAR): New macro.
1813 (structure Charc): New structure; define new type `Charc'.
1815 * char-1byte.h (Vcharset_control_1): New macro.
1816 (Vcharset_latin_iso8859_1): New macro.
1817 (DECODE_CHAR): New inline function.
1818 (encode_char_1): New inline function.
1819 (ENCODE_CHAR): New macro.
1820 (structure Charc): New structure; define new type `Charc'.
1822 * insdel.c (find_charsets_in_charc_string): New function; delete
1823 `find_charsets_in_emchar_string'.
1824 (charc_string_displayed_columns): New function; delete
1825 `emchar_string_displayed_columns'.
1826 (convert_bufbyte_string_into_charc_dynarr): New function; delete
1827 `convert_bufbyte_string_into_emchar_dynarr'.
1828 (convert_charc_string_into_bufbyte_dynarr): New function; delete
1829 `convert_charc_string_into_bufbyte_dynarr'.
1830 (convert_charc_string_into_malloced_string): New function; delete
1831 `convert_charc_string_into_malloced_string'.
1833 * buffer.h (find_charsets_in_charc_string): New prototype; delete
1834 `find_charsets_in_emchar_string'.
1835 (charc_string_displayed_columns): New prototype; delete
1836 `emchar_string_displayed_columns'.
1837 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
1838 `convert_charc_string_into_bufbyte_dynarr'.
1839 (convert_charc_string_into_malloced_string): New prototype; delete
1840 `convert_charc_string_into_malloced_string'.
1842 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1844 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
1846 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1848 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
1850 * char-ucs.h: Use <short> for <Charset_ID>.
1852 * mule-charset.h, char-1byte.h: Use <unsigned char> for
1855 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1857 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1860 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1862 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
1864 (Qmorohashi_daikanwa): New variable.
1865 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
1866 for `morohashi-daikanwa' attribute.
1867 (Fget_char_attribute): Likewise.
1868 (Fput_char_attribute): Likewise.
1869 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
1870 has the same value of `ideograph-daikanwa'.
1871 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
1872 (vars_of_mule_charset): Setup
1873 `Vcharacter_morohashi_daikanwa_table'.
1875 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1877 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
1879 (add_charset_to_list_mapper): Add `key' instead of
1880 `XCHARSET_NAME (value)' to return aliases.
1882 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1884 * mule-charset.c (Vcharacter_ideographic_radical_table): New
1886 (Vcharacter_ideographic_strokes_table): New variable.
1887 (Qideographic_radical): New variable.
1888 (Qideographic_strokes): New variable.
1889 (Fchar_attribute_alist): Use
1890 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
1891 attribute; use `Vcharacter_ideographic_strokes_table' for
1892 `ideographic-strokes' attribute.
1893 (Fget_char_attribute): Likewise.
1894 (Fput_char_attribute): Likewise.
1895 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
1896 `ideographic-strokes'.
1897 (vars_of_mule_charset): Setup
1898 `Vcharacter_ideographic_radical_table' and
1899 `Vcharacter_ideographic_strokes_table'.
1901 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1903 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
1904 (Qtotal_strokes): New variable.
1905 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
1906 `total-strokes' attribute.
1907 (Fget_char_attribute): Likewise.
1908 (Fput_char_attribute): Likewise.
1909 (syms_of_mule_charset): Add new symbol `total-strokes'.
1910 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
1912 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1914 * mule-charset.c (Vcharacter_decomposition_table): New variable.
1915 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
1917 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
1918 `->decomposition' attribute.
1919 (Fput_char_attribute): Likewise.
1920 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
1922 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1924 * mule-charset.c (decoding_table_check_elements): New function.
1925 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
1927 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1929 * mule-charset.c (Fset_charset_mapping_table): Use
1930 `put_char_ccs_code_point'.
1932 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1934 * mule-charset.c (decoding_table_put_char): New inline function.
1935 (put_char_ccs_code_point): Use `decoding_table_put_char'.
1937 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1939 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
1940 (XCHARSET_BYTE_SIZE): New macro.
1941 (decoding_table_remove_char): New inline function.
1942 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
1943 `decoding_table_remove_char'.
1944 (remove_char_ccs): Use `decoding_table_remove_char'.
1945 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
1947 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1949 * mule-charset.c (Vcharacter_name_table): New variable.
1950 (Qname): New variable.
1951 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
1953 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
1954 `Vcharacter_name_table' for `name' attribute.
1955 (Fremove_char_attribute): Use function `remove_char_ccs'.
1956 (put_char_ccs_code_point): New function.
1957 (remove_char_ccs): New function.
1958 (syms_of_mule_charset): Add new symbol `name'.
1959 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
1961 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1963 * mule-charset.c (make_byte_table): Add new argument `older'.
1964 (make_char_id_table): Likewise.
1965 (copy_char_id_table): Comment out because it is not used.
1966 (put_char_id_table): Modify for `make_byte_table'.
1967 (Fput_char_attribute): Make encoding_table as older object;
1968 inherit older bit of `Vcharacter_composition_table'.
1969 (mark_charset): Don't mark `cs->encoding_table'.
1970 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
1971 normal object; make `Vcharacter_composition_table' as an older
1972 object; delete staticpro for `Vcharacter_composition_table'; make
1973 `Vcharacter_variant_table' as a normal object.
1975 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
1976 (mark_object): Don't check older object in UTF-2000.
1978 * lrecord.h (struct lrecord_header): Add new member `older' in
1980 (set_lheader_implementation): Setup `SLI_header->older' in
1982 (set_lheader_older_implementation): New macro in UTF-2000.
1983 (OLDER_RECORD_P): New macro in UTF-2000.
1984 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
1985 (alloc_older_lcrecord): New prototype in UTF-2000.
1986 (alloc_older_lcrecord_type): New macro in UTF-2000.
1988 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1990 * mule-charset.c (byte_table_description): Use
1991 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
1992 (char_id_table_description): Delete bogus `, 1'.
1993 (Fget_char_attribute): Refer encoding_table of each coded-charset
1994 to get value of coded-charset attribute of a character.
1995 (Fput_char_attribute): Use `make_older_vector' instead of
1996 `make_vector'; use encoding_table of each coded-charset to store
1997 value of coded-charset attribute of a character.
1998 (Fremove_char_attribute): Use encoding_table of each coded-charset
1999 to store value of coded-charset attribute of a character.
2000 (mark_charset): Mark `cs->encoding_table'; don't mark
2001 `cs->decoding_table'.
2002 (charset_description): Add description of new member
2004 (make_charset): Initialize `encoding_table'.
2006 * char-ucs.h (struct Lisp_Charset): Add new member
2008 (CHARSET_ENCODING_TABLE): New macro.
2009 (XCHARSET_ENCODING_TABLE): New macro.
2010 (charset_code_point): New implementation.
2011 (encode_char_1): Likewise.
2013 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2014 (disksave_object_finalization_1): Call finalizers of
2015 `all_older_lcrecords' in UTF-2000.
2016 (make_older_vector): New function in UTF-2000.
2017 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2020 * lisp.h (make_older_vector): New prototype in UTF-2000.
2022 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2024 * lrecord.h (enum lrecord_type): Rename
2025 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2027 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2028 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2029 `get_char_code_table'.
2031 * mule-charset.c (mark_char_id_table): Renamed from
2032 `mark_char_code_table'.
2033 (char_id_table_equal): Renamed from `char_code_table_equal'.
2034 (char_id_table_hash): Renamed from `char_code_table_hash'.
2035 (make_char_id_table): Renamed from `make_char_code_table'.
2036 (copy_char_id_table): Renamed from `copy_char_code_table'.
2037 (get_char_id_table): Renamed from `get_char_code_table'.
2038 (put_char_id_table): Renamed from `put_char_code_table'.
2039 (to_char_id): Renamed from `to_char_code'.
2041 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2042 `Lisp_Char_Code_Table'.
2043 (char_id_table): Renamed from `char_code_table'.
2044 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2045 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2046 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2047 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2048 (get_char_id_table): Renamed from `get_char_code_table'.
2050 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2052 * lrecord.h (enum lrecord_type): Rename
2053 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2055 * mule-charset.c (mark_byte_table): Renamed from
2056 `mark_char_byte_table'.
2057 (byte_table_equal): Renamed from `char_byte_table_equal'.
2058 (byte_table_hash): Renamed from `byte_table_hash'.
2059 (make_byte_table): Renamed from `make_byte_table'.
2060 (copy_byte_table): Renamed from `copy_char_byte_table'.
2062 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2063 `Lisp_Char_Byte_Table'.
2064 (byte_table): Renamed from `char_byte_table'.
2065 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2066 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2067 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2068 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2070 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2072 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2073 (dfc_convert_to_internal_format): Likewise.
2075 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2076 * text-coding.c (Fcoding_system_alias_p): New function.
2077 * text-coding.c (Fcoding_system_aliasee): New function.
2078 * text-coding.c (append_suffix_to_symbol): New function.
2079 * text-coding.c (dangling_coding_system_alias_p): New function.
2080 * text-coding.c (Ffind_coding_system):
2081 * text-coding.c (Fcopy_coding_system):
2082 * text-coding.c (encode_coding_no_conversion):
2083 * text-coding.c (syms_of_file_coding):
2084 * text-coding.c (vars_of_file_coding):
2085 Rewrite coding system alias code.
2086 Allow nested aliases, like symbolic links.
2087 Allow redefinition of coding system aliases.
2088 Prevent existence of dangling coding system aliases.
2089 Eliminate convert_to_external_format.
2090 Eliminate convert_to_internal_format.
2092 * text-coding.c: Change enum eol_type to eol_type_t.
2094 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2096 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2097 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2099 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2100 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2102 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2104 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2105 `ideograph-daikanwa'.
2107 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2108 (Vcharset_ucs_bmp): Likewise.
2109 (Vcharset_mojikyo): Add new extern variable definition.
2110 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2111 (Vcharset_latin_iso8859_3): Likewise.
2112 (Vcharset_latin_iso8859_4): Likewise.
2113 (Vcharset_latin_iso8859_9): Likewise.
2114 (Vcharset_latin_viscii_lower): Likewise.
2115 (Vcharset_latin_viscii_upper): Likewise.
2116 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2117 `mojikyo' code-point is used to decode.
2118 (encode_char_2): New function [to convert `mojikyo' code-point to
2119 Mojikyo font encoding].
2120 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2121 (breakup_char_1): Likewise.
2122 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2124 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2126 * text-coding.c (Fmake_coding_system): Add document about
2127 `disable-composition' property.
2129 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2131 * text-coding.c (Qdisable_composition): New variable; delete
2133 (Fmake_coding_system): Add new property `disable-composite';
2134 delete property `composite'.
2135 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2136 instead of `!CODING_SYSTEM_COMPOSITE'.
2137 (syms_of_file_coding): Add new symbol `disable-composition';
2138 delete symbol `composite'.
2140 * file-coding.h (struct Lisp_Coding_System): Add
2141 `disable_composition'; delete `enable_composition'.
2142 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2143 `CODING_SYSTEM_COMPOSITE'.
2144 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2145 `XCODING_SYSTEM_COMPOSITE'.
2147 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2149 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2152 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2154 * text-coding.c (Qcomposite): New variable.
2155 (Fmake_coding_system): Add new property `composite'.
2156 (struct decoding_stream): Add `combined_char_count',
2157 `combined_chars' and `combining_table' in UTF-2000.
2158 (COMPOSE_FLUSH_CHARS): New macro.
2159 (COMPOSE_ADD_CHAR): New macro.
2160 (reset_decoding_stream): Reset `str->combined_char_count' and
2161 `str->combining_table' in UTF-2000.
2162 (decode_coding_iso2022): Modify for character-decomposition.
2163 (syms_of_file_coding): Add new symbol `composite'.
2165 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2167 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2168 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2169 of `Vcharacter_composition_table' if `->decomposition' property
2171 (Qlatin_tcvn5712): New variable.
2172 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2173 (complex_vars_of_mule_charset): Add new coded-charset
2176 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2178 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2180 * file-coding.h (struct Lisp_Coding_System): Add
2181 `enable_composition'.
2182 (CODING_SYSTEM_COMPOSITE): New macro.
2183 (XCODING_SYSTEM_COMPOSITE): New macro.
2185 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2187 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2189 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2191 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2192 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2194 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2196 * mule-charset.c (Vcharset_mojikyo): New variable.
2197 (Fdefine_char): Don't use coded-charset which does not have
2198 non-builtin character range to allocate character-id.
2199 (Qmojikyo): New variable.
2200 (syms_of_mule_charset): Add new symbol `mojikyo'.
2201 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2203 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2204 (LEADING_BYTE_MOJIKYO): New macro.
2205 (MIN_CHAR_MOJIKYO): New macro.
2206 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2207 (MAX_CHAR_MOJIKYO): New macro.
2209 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2211 * mule-charset.c (remove_char_attribute): Fixed.
2213 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2215 * mule-charset.c (remove_char_attribute): New function.
2216 (Fremove_char_attribute): New function.
2217 (encode_builtin_char_1): Comment out builtin-support for
2218 greek-iso8859-7 and cyrillic-iso8859-5.
2219 (Fdecode_char): Check `code' is an integer.
2220 (syms_of_mule_charset): Add `remove-char-attribute'.
2221 (MIN_CHAR_GREEK): Deleted.
2222 (MAX_CHAR_GREEK): Likewise.
2223 (MIN_CHAR_CYRILLIC): Likewise.
2224 (MAX_CHAR_CYRILLIC): Likewise.
2225 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2226 MAX_CHAR_GREEK for `greek-iso8859-7'.
2228 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2229 (MAX_CHAR_GREEK): Likewise.
2230 (MIN_CHAR_CYRILLIC): Likewise.
2231 (MAX_CHAR_CYRILLIC): Likewise.
2233 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2235 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2236 format is used without `ucs' property.
2237 (Fdecode_char): Fix problem with GR representation.
2238 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2239 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2241 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2243 * mule-charset.c (make_builtin_char): New function.
2244 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2245 (Fset_charset_mapping_table): Modify for new representation of
2247 (Fdecode_char): New function.
2248 (syms_of_mule_charset): Add new builtin function `decode-char' in
2251 * char-ucs.h (make_builtin_char): New prototype.
2252 (DECODE_CHAR): New inline function.
2253 (MAKE_CHAR): Use `DECODE_CHAR'.
2255 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2257 * text-coding.c (parse_charset_conversion_specs): Use
2258 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2260 (iso2022_designate): Likewise.
2262 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2263 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2265 * mule-charset.c (Vcharset_ucs): New variable.
2266 (print_charset): Change design; use `CHARSET_CHARS' and
2267 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2268 (make_charset): Change signature to specify `chars' and
2269 `dimension' instead of `type'.
2270 (range_charset_code_point): Modify for 256^n-set.
2271 (encode_builtin_char_1): Encode as `ucs' in default.
2272 (Fmake_charset): Modify for `make_charset'.
2273 (Fmake_reverse_direction_charset): Likewise.
2274 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2276 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2279 * char-ucs.h (Vcharset_ucs): New variable.
2280 (LEADING_BYTE_UCS): New macro.
2281 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2282 and `chars' to `unsigned short' from `unsigned int'.
2283 (CHARSET_TYPE): Deleted.
2284 (XCHARSET_TYPE): Deleted.
2286 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2288 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2290 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2291 (ENCODE_CHAR): New macro.
2293 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2295 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2296 to 0.14 (Kawachi-Katakami).
2298 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2300 * text-coding.c (char_encode_shift_jis): Modify for
2301 `charset_code_point'.
2302 (char_encode_iso2022): Likewise.
2304 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2305 (integer) instead of list of <Lisp_Object>s (integers) as the
2306 format of code-point of a coded-charset.
2307 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2308 (encode_builtin_char_1): New function; delete
2309 `split_builtin_char'.
2310 (charset_code_point): Return <int> instead of <Lisp_Object>.
2311 (Fsplit_char): Don't use `SPLIT_CHAR'.
2313 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2314 prototype for `split_builtin_char'.
2315 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2316 (charset_code_point): Likewise.
2317 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2318 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2320 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2322 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2323 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2325 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2327 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2329 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2330 (MAX_CHAR_OBS_94x94): Deleted.
2332 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2334 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2336 * char-ucs.h (MAX_CHAR_BMP): New macro.
2338 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2340 * text-coding.c: Sync with r21-2-24.
2342 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2344 * file-coding.c: Modify for UTF-2000.
2346 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2348 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2351 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2353 * mule-charset.c (split_builtin_char): Delete builtin support for
2354 `katakana-jisx0201'.
2355 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2356 BMP area in builtin representation.
2358 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2359 `Vcharset_katakana_jisx0201'.
2361 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2363 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2364 (Qisolated): New variable.
2365 (Qinitial): New variable.
2366 (Qmedial): New variable.
2367 (Qfinal): New variable.
2368 (Qvertical): New variable.
2369 (Qsmall): New variable.
2370 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2371 `Qvertical' and `Qsmall'.
2372 (Qmojikyo_pj_[1 .. 21]): New variable.
2373 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2374 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2375 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2378 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2380 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2381 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2382 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2384 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2386 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2387 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2389 (Qjapanese_jisx0208_1990): New variable.
2390 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2391 (complex_vars_of_mule_charset): Add new coded-charset
2392 `japanese-jisx0208-1990'.
2394 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2395 (MIN_CHAR_JIS_X0208_1990): New macro.
2396 (MAX_CHAR_JIS_X0208_1990): New macro.
2398 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2400 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2401 coded-charset is not found.
2403 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2405 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2406 (Fdefine_char): Use `Fmake_char'.
2408 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2410 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2411 (Vcharset_hiragana_jisx0208): Deleted.
2412 (Vcharset_katakana_jisx0208): Deleted.
2413 (Qideograph_daikanwa): New variable.
2414 (Qhiragana_jisx0208): Deleted.
2415 (Qkatakana_jisx0208): Deleted.
2416 (split_builtin_char): Split `ideograph-daikanwa'.
2417 (Fsplit_char): New implementation for UTF-2000.
2418 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2419 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2420 (complex_vars_of_mule_charset): Add new coded-charset
2421 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2422 `katakana-jisx0208'.
2424 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2425 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2426 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2427 (MIN_CHAR_DAIKANWA): New macro.
2428 (MAX_CHAR_DAIKANWA): New macro.
2430 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2432 * data.c (Fstring_to_number): Don't recognize floating point if
2435 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2437 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2439 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2441 * mule-charset.c (Qsquare): New variable.
2442 (to_char_code): Add `Qsquare'.
2443 (syms_of_mule_charset): Add new symbol `square'.
2445 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2447 * mule-charset.c (Qcircle): New variable.
2448 (to_char_code): Add `Qcircle'.
2449 (syms_of_mule_charset): Add new symbol `circle'.
2451 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2453 * mule-charset.c (Qfont): New variable.
2454 (to_char_code): Add `Qfont'.
2455 (syms_of_mule_charset): Add new symbol `font'.
2457 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2459 * mule-charset.c (Qsub): New variable.
2460 (to_char_code): Add `Qsub'.
2461 (syms_of_mule_charset): Add new symbol `sub'.
2463 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2465 * mule-charset.c (Fput_char_attribute): Convert each element of
2466 VALUE to GL position if ATTRIBUTE is a GR-set,
2468 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2470 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2471 coded-charset is a GR-set.
2473 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2475 * mule-charset.c (Fput_char_attribute): Check each element of
2476 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2478 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2480 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2482 (Qethiopic_ucs): New variable in UTF-2000.
2483 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2484 (complex_vars_of_mule_charset): Add new coded-charset
2485 `ethiopic-ucs' in UTF-2000.
2487 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2488 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2490 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2492 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2494 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2496 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2499 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2501 * mule-charset.c (Vcharacter_variant_table): New variable.
2502 (Q_ucs): New variable.
2503 (Fchar_variants): New function.
2504 (Fput_char_attribute): Register `->ucs' value to
2505 `Vcharacter_variant_table'.
2506 (syms_of_mule_charset): Add new function `char-variants' and new
2508 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2510 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2512 * mule-charset.c (get_char_code_table): Allow negative character
2514 (put_char_code_table): Likewise.
2515 (Vcharacter_composition_table): New variable.
2516 (Q_decomposition): New variable.
2517 (Qwide): New variable.
2518 (Qnarrow): New variable.
2519 (Qcompat): New variable.
2520 (QnoBreak): New variable.
2521 (Qsuper): New variable.
2522 (Qfraction): New variable.
2523 (to_char_code): New function.
2524 (Fget_composite_char): New function.
2525 (Fput_char_attribute): Register `->decomposition' value to
2526 `Vcharacter_composition_table'.
2527 (syms_of_mule_charset): Add new function `get-composite-char', new
2528 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2529 `super' and `fraction'.
2530 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2532 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2534 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2535 character; copy the return value.
2537 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2539 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2541 * mule-charset.c (range_charset_code_point): Must use make_int.
2542 (split_builtin_char): New function.
2544 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2546 * mule-charset.c (char_byte_table): Change name from
2547 "char-code-table" to "char-byte-table".
2548 (mark_char_code_table): New function.
2549 (char_code_table_equal): New function.
2550 (char_code_table_hash): New function.
2551 (char_code_table_description): New constant.
2552 (char_code_table): New type.
2553 (make_char_code_table): New function.
2554 (copy_char_code_table): New function.
2555 (get_char_code_table): Modify for `char_code_table' type.
2556 (put_char_code_table): Likewise.
2557 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2560 * char-ucs.h (char_code_table): New type.
2561 (XCHAR_CODE_TABLE): New macro.
2562 (XSETCHAR_CODE_TABLE): New macro.
2563 (CHAR_CODE_TABLE_P): New macro.
2564 (GC_CHAR_CODE_TABLE_P): New macro.
2565 (struct Lisp_Char_Code_Table): New structure.
2567 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2569 * mule-charset.c (Fmake_charset): Setup byte_offset for
2572 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2574 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2577 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2579 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2582 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2584 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2585 charset, it is regarded as a charset.
2586 (put_char_attribute): New function in UTF-2000.
2587 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2588 charset, mapping-table of the charset is modified.
2589 (Fdefine_char): New function in UTF-2000.
2590 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2591 `Fput_char_attribute'.
2592 (syms_of_mule_charset): Add new function `define-char' and new
2593 symbol `ucs' in UTF-2000.
2594 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2596 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2598 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2599 non-UTF-2000 configuration.
2601 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2603 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2604 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2606 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2608 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2609 (Fset_charset_mapping_table): Likewise.
2611 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2612 (CHARSET_ENCODING_TABLE): Delete.
2613 (XCHARSET_ENCODING_TABLE): Delete.
2614 (charset_code_point): New interface.
2616 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2618 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2619 instead of `charset_get_byte1' and `charset_get_byte2'.
2621 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2622 (charset_get_byte2): Deleted.
2624 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2626 * char-ucs.h (SPLIT_CHAR): New inline function.
2627 (breakup_char_1): Use `SPLIT_CHAR'.
2629 * mule-charset.c (range_charset_code_point): New function.
2630 (charset_code_point): New function.
2632 * char-ucs.h (range_charset_code_point): New interface.
2633 (breakup_char_1): Use `range_charset_code_point'.
2635 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2637 * mule-charset.c (Fmake_charset): Delete unused local variable
2640 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2641 (breakup_char_1): Find a charset and code-point in
2642 `Vcharacter_attribute_table'.
2644 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2646 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2649 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2651 * mule-charset.c (Vcharacter_attribute_table): New variable.
2652 (Fchar_attribute_alist): New function.
2653 (Fget_char_attribute): New function.
2654 (Fput_char_attribute): New function.
2655 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2657 (syms_of_mule_charset): Add new function `char-attribute-alist',
2658 `get-char-attribute' and `put-char-attribute'.
2659 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2661 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2663 * mule-charset.c (Fmake_charset): Just use
2664 `get_unallocated_leading_byte'.
2666 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2667 sets; don't use final-byte based number for private sets.
2669 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2671 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2674 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2676 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2679 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2681 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2682 of `CHAR_LEADING_BYTE' in UTF-2000.
2684 * insdel.c (find_charsets_in_bufbyte_string): Use
2685 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2686 (find_charsets_in_emchar_string): Likewise.
2688 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2689 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2691 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2692 (CHAR_CHARSET_ID): New macro.
2694 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2696 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2697 charset-id - MIN_LEADING_BYTE.
2698 (put_char_table): Likewise.
2700 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2702 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2703 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2704 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2705 (CHARSET_ID_OFFSET): New macro.
2706 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2707 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2708 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2709 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2711 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2713 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2714 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2715 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2716 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2717 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2719 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2721 * mule-charset.c (next_allocated_leading_byte): New variable in
2723 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2724 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2725 (get_unallocated_leading_byte): Simply use
2726 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2727 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2730 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2731 (MAX_LEADING_BYTE_PRIVATE): New macro.
2732 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2733 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2735 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2737 * mule-charset.c (Fmake_charset): Allocate final-byte based
2738 charset-id for 94-set, 96-set and 94x94-set.
2740 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2742 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
2744 (Fmake_charset): Likewise.
2745 (complex_vars_of_mule_charset): Modify the font registry of
2746 `ucs-bmp' not to match `Ethiopic-Unicode'.
2748 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2750 * mule-charset.c (complex_vars_of_mule_charset): Add font
2751 registory of `ucs-bmp'.
2753 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2755 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2756 coded-charsets in `default-coded-charset-priority-list' when
2757 breaking up a character.
2759 * mule-charset.c (Vcharset_latin_viscii): New variable.
2760 (Qlatin_viscii): New variable.
2761 (make_charset): Don't use `decoding_table'.
2762 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
2764 (Fset_charset_mapping_table): New implementation.
2765 (syms_of_mule_charset): Add new symbol `latin-viscii'.
2766 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
2767 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
2768 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
2769 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
2770 charset `latin_viscii'.
2772 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
2773 (CHARSET_TYPE_94X94): Change to 1 from 2.
2774 (CHARSET_TYPE_96): Change to 2 from 1.
2775 (CHARSET_TYPE_128): New macro.
2776 (CHARSET_TYPE_128X128): Change to 5 from 4.
2777 (CHARSET_TYPE_256): New macro.
2778 (CHARSET_TYPE_256X256): Change to 7 from 5.
2779 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
2781 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2783 * text-coding.c (char_encode_shift_jis): Refer
2784 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
2785 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
2787 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
2788 (char_byte_table_equal): New function in UTF-2000.
2789 (char_byte_table_hash): New function in UTF-2000.
2790 (char_byte_table_description): New constant in UTF-2000.
2791 (char_byte_table): New type in UTF-2000.
2792 (make_char_byte_table): New function in UTF-2000.
2793 (copy_char_byte_table): New function in UTF-2000.
2794 (make_char_code_table): New macro in UTF-2000.
2795 (get_char_code_table): New function in UTF-2000.
2796 (put_char_code_table): New function in UTF-2000.
2797 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2798 (charset_description): Add setting in UTF-2000.
2799 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
2800 `CHARSET_TO_BYTE1_TABLE(cs)'.
2801 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
2802 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
2803 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
2804 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
2805 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
2806 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
2807 `CHARSET_TO_BYTE2_TABLE(cs)'.
2809 * char-ucs.h (char_byte_table): New type.
2810 (XCHAR_BYTE_TABLE): New macro.
2811 (XSETCHAR_BYTE_TABLE): New macro.
2812 (CHAR_BYTE_TABLE_P): New macro.
2813 (GC_CHAR_BYTE_TABLE_P): New macro.
2814 (struct Lisp_Char_Byte_Table): New structure.
2815 (get_char_code_table): New interface.
2816 (Emchar_to_byte_table): Deleted.
2817 (get_byte_from_character_table): Deleted.
2818 (struct Lisp_Charset): Add `encoding_table'; delete
2819 `to_byte1_table' and `to_byte2_table'.
2820 (CHARSET_ENCODING_TABLE): New macro.
2821 (CHARSET_TO_BYTE1_TABLE): Deleted.
2822 (CHARSET_TO_BYTE2_TABLE): Deleted.
2823 (XCHARSET_ENCODING_TABLE): New macro.
2824 (XCHARSET_TO_BYTE1_TABLE): Deleted.
2825 (XCHARSET_TO_BYTE2_TABLE): Deleted.
2827 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2829 * mule-charset.c (syms_of_mule_charset): Delete charset alias
2830 `vietnamese-viscii-*'.
2832 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2834 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
2835 (Qvietnamese_viscii_upper): New variable.
2836 (Fdefine_charset_alias): New function.
2837 (syms_of_mule_charset): Add new function `define-charset-alias'.
2838 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
2839 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
2842 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
2844 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
2845 (MAX_CHAR_OBS_94x94): New macro.
2846 (breakup_char_1): Support obsolete XEmacs-UCS private code space
2849 * mule-charset.c (put_byte_from_character_table): Change unit size
2851 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
2853 (Fmake_reverse_direction_charset): Modify dummy argument of
2854 `make_charset' for non-UTF-2000 environment.
2856 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2858 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
2860 * mule-charset.c (destroy_byte_from_character_table): New macro.
2861 (latin_jisx0201_to_ucs): Deleted.
2862 (latin_iso8859_2_to_ucs): Deleted.
2863 (latin_iso8859_3_to_ucs): Deleted.
2864 (latin_iso8859_4_to_ucs): Deleted.
2865 (latin_iso8859_9_to_ucs): Deleted.
2866 (latin_viscii_lower_to_ucs): Deleted.
2867 (latin_viscii_upper_to_ucs): Deleted.
2868 (mark_charset): Mark `cs->decoding_table'.
2869 (Fcharset_mapping_table): Fix DOC-string.
2870 (Fset_charset_mapping_table): New function.
2871 (syms_of_mule_charset): Add nwe function
2872 `set-charset-mapping-table'.
2873 (complex_vars_of_mule_charset): Don't setup and use
2876 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
2878 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
2881 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
2883 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
2884 (Vcharset_katakana_jisx0208): New variable.
2885 (Qhiragana_jisx0208): New variable.
2886 (Qkatakana_jisx0208): New variable.
2887 (make_charset): Add new argument `byte_offset'.
2888 (charset_get_byte1): Modify for new coded-charset definition; use
2889 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2890 `XCHARSET_BYTE_OFFSET'.
2891 (Fmake_charset): Modify for `make_charset'.
2892 (Fmake_reverse_direction_charset): Likewise.
2893 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
2894 `katakana-jisx0208'.
2895 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
2896 `.' in font registry of charset `katakana-jisx0201',
2897 `latin-jisx0201', `vietnamese-viscii-lower' and
2898 `vietnamese-viscii-upper'; modify DOC-string of charset
2899 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
2900 registry of charset `japanese-jisx0208' not to use font for JIS
2901 X0208:1990; add new charset `hiragana-jisx0208' and
2902 `katakana-jisx0208'.
2904 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
2905 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
2906 (struct Lisp_Charset): Add `byte_offset'.
2907 (CHARSET_BYTE_OFFSET): New macro.
2908 (XCHARSET_UCS_MIN): New macro.
2909 (XCHARSET_UCS_MAX): New macro.
2910 (XCHARSET_CODE_OFFSET): New macro.
2911 (XCHARSET_BYTE_OFFSET): New macro.
2912 (MIN_CHAR_HIRAGANA): New macro.
2913 (MAX_CHAR_HIRAGANA): New macro.
2914 (MIN_CHAR_KATAKANA): New macro.
2915 (MAX_CHAR_KATAKANA): New macro.
2916 (MAKE_CHAR): Modify for new coded-charset definition; use
2917 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2918 `XCHARSET_BYTE_OFFSET'.
2920 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2922 * mule-charset.c (CHAR96): Deleted.
2923 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
2925 (latin_iso8859_2_to_ucs): Likewise.
2926 (latin_iso8859_3_to_ucs): Likewise.
2927 (latin_iso8859_4_to_ucs): Likewise.
2928 (latin_iso8859_9_to_ucs): Likewise.
2929 (latin_viscii_lower_to_ucs): Likewise.
2930 (latin_viscii_upper_to_ucs): Likewise.
2931 (latin_tcvn5712_to_ucs): Commented out.
2932 (make_charset): Change type of argument `decoding_table' from
2933 <Emchar*> to <Lisp_Object> [vector of characters].
2934 (Fmake_charset): Modify for `make_charset'.
2935 (Fmake_reverse_direction_charset): Likewise.
2936 (Fcharset_mapping_table): New function in UTF-2000.
2937 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
2939 (complex_vars_of_mule_charset): Modify for type change of
2940 `*_to_ucs'; modify for `make_charset'.
2942 * char-ucs.h (struct Lisp_Charset): Change type of
2943 `decoding_table' from <Emchar*> to <Lisp_Object>.
2944 (MAKE_CHAR): Modify for new specification of `decoding_table'.
2946 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2948 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
2949 error with non-UTF-2000-Mule.
2951 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
2953 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
2955 (Vcharset_chinese_cns11643_4): Likewise.
2956 (Vcharset_chinese_cns11643_5): Likewise.
2957 (Vcharset_chinese_cns11643_6): Likewise.
2958 (Vcharset_chinese_cns11643_7): Likewise.
2959 (Qchinese_cns11643_3): Likewise.
2960 (Qchinese_cns11643_4): Likewise.
2961 (Qchinese_cns11643_5): Likewise.
2962 (Qchinese_cns11643_6): Likewise.
2963 (Qchinese_cns11643_7): Likewise.
2964 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
2965 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
2966 and `chinese-cns11643-7' to lisp/mule/chinese.el.
2967 (complex_vars_of_mule_charset): Likewise.
2969 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2971 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
2973 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
2974 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
2976 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2978 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
2980 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
2981 (breakup_char_1): Likewise.
2983 * text-coding.c (char_encode_iso2022): Keep designated charsets if
2984 one of them includes the specified character.
2986 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2988 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
2990 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2992 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
2994 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2996 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
2997 definition for non-UTF-2000 Mule.
2998 (latin_iso8859_3_to_ucs): Likewise.
2999 (latin_iso8859_4_to_ucs): Likewise.
3000 (latin_iso8859_9_to_ucs): Likewise.
3001 (latin_jisx0201_to_ucs): Likewise.
3002 (MIN_CHAR_THAI): Likewise.
3003 (MAX_CHAR_THAI): Likewise.
3004 (MIN_CHAR_GREEK): Likewise.
3005 (MAX_CHAR_GREEK): Likewise.
3006 (MIN_CHAR_HEBREW): Likewise.
3007 (MAX_CHAR_HEBREW): Likewise.
3008 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3009 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3010 (MIN_CHAR_CYRILLIC): Likewise.
3011 (MAX_CHAR_CYRILLIC): Likewise.
3013 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3015 * char-ucs.h (breakup_char_1): Use
3016 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3017 thai-tis620 and katakana-jisx0201 area.
3019 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3021 * char-ucs.h (breakup_char_1): Use
3022 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3025 * text-coding.c (reset_encoding_stream): Fixed.
3026 (char_encode_ucs4): Delete `& 255'.
3028 * char-ucs.h (breakup_char_1): Use
3029 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3031 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3033 * file-coding.c (Fmake_coding_system): Don't set up
3034 `codesys->fixed.size'.
3035 (encode_coding_no_conversion): Don't refer
3036 `str->codesys->fixed.size'.
3038 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3040 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3041 (latin_a_char_to_byte1): Deleted.
3042 (latin_a_char_to_byte2): Deleted.
3044 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3046 * mule-charset.c (make_charset): Add new argument `ucs_min',
3047 `ucs_max' and `code_offset'.
3048 (charset_get_byte1): New implementation [delete specific charset
3049 depended implementations].
3050 (Fmake_charset): Modify for `make_charset'.
3051 (Fmake_reverse_direction_charset): Likewise.
3052 (complex_vars_of_mule_charset): Likewise.
3054 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3056 (CHARSET_UCS_MIN): New macro.
3057 (CHARSET_UCS_MAX): New macro.
3058 (CHARSET_CODE_OFFSET): New macro.
3059 (MAKE_CHAR): Delete charset depended definitions [except
3062 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3064 * char-ucs.h (breakup_char_1): Use
3065 `Vdefault_coded_charset_priority_list' for C0-Controls,
3066 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3068 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3070 * char-ucs.h (charset_get_byte1): New function.
3071 (XCHARSET_GET_BYTE1): Deleted.
3072 (charset_get_byte2): New function.
3073 (XCHARSET_GET_BYTE2): Deleted.
3074 (Vdefault_coded_charset_priority_list): New external variable.
3075 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3076 `Vdefault_preferred_coded_charset_list'.
3078 * mule-charset.c (charset_get_byte1): New function.
3079 (charset_get_byte2): New function.
3080 (Vdefault_coded_charset_priority_list): New variable.
3081 (vars_of_mule_charset): Add new variable
3082 `default-coded-charset-priority-list'.
3084 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3086 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3087 (XCHARSET_GET_BYTE2): New inline function.
3088 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3089 `XCHARSET_GET_BYTE2'.
3091 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3093 * mule-charset.c (make_charset): Initialize
3094 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3095 NULL if table is not defined.
3097 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3099 * text-coding.c (char_encode_shift_jis): Use
3100 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3101 `ucs_to_latin_jisx0201'.
3103 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3104 (ucs_to_latin_iso8859_2): Deleted.
3105 (ucs_to_latin_iso8859_3): Deleted.
3106 (ucs_to_latin_iso8859_4): Deleted.
3107 (ucs_to_latin_iso8859_9): Deleted.
3108 (ucs_to_latin_viscii_lower): Deleted.
3109 (ucs_to_latin_viscii_upper): Deleted.
3110 (ucs_to_latin_tcvn5712): Deleted.
3111 (make_charset): Add new argument `decoding_table'; set up
3112 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3113 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3114 `decoding_table' is defined in UTF-2000.
3115 (Fmake_charset): Modify for `make_charset'.
3116 (Fmake_reverse_direction_charset): Likewise.
3117 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3118 and `GENERATE_96_SET'.
3120 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3121 (ucs_to_latin_jisx0201): Deleted.
3122 (latin_iso8859_2_to_ucs): Deleted.
3123 (ucs_to_latin_iso8859_2): Deleted.
3124 (latin_iso8859_3_to_ucs): Deleted.
3125 (ucs_to_latin_iso8859_3): Deleted.
3126 (latin_iso8859_4_to_ucs): Deleted.
3127 (ucs_to_latin_iso8859_4): Deleted.
3128 (latin_iso8859_9_to_ucs): Deleted.
3129 (ucs_to_latin_iso8859_9): Deleted.
3130 (latin_viscii_lower_to_ucs): Deleted.
3131 (ucs_to_latin_viscii_lower): Deleted.
3132 (latin_viscii_upper_to_ucs): Deleted.
3133 (ucs_to_latin_viscii_upper): Deleted.
3134 (struct Lisp_Charset): Renamed `encoding_table' to
3135 `to_byte1_table'; add `to_byte2_table'.
3136 (CHARSET_DECODING_TABLE): New macro.
3137 (CHARSET_TO_BYTE1_TABLE): New macro.
3138 (CHARSET_TO_BYTE2_TABLE): New macro.
3139 (XCHARSET_DECODING_TABLE): New macro.
3140 (XCHARSET_TO_BYTE1_TABLE): New macro.
3141 (XCHARSET_TO_BYTE2_TABLE): New macro.
3142 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3144 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3145 don't use `ucs_to_*' tables.
3147 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3149 * text-coding.c (Fmake_coding_system): Don't set up
3150 `codesys->fixed.size'.
3151 (encode_coding_no_conversion): Use `if' instead of `switch'.
3153 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3155 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3157 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3158 (Fmake_charset): Modify for `make_charset'.
3159 (Fmake_reverse_direction_charset): Likewise.
3160 (complex_vars_of_mule_charset): Likewise.
3162 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3164 * text-coding.c (char_encode_shift_jis): Use table
3165 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3167 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3169 * text-coding.c (text_encode_generic): Use `if' instead of
3171 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3174 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3176 * text-coding.c (encode_coding_sjis): Deleted.
3177 (char_encode_shift_jis): New function.
3178 (char_finish_shift_jis): New function.
3179 (reset_encoding_stream): Set up `encode_char' and `finish' for
3180 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3181 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3182 (char_encode_utf8): Treat `eol_type'.
3184 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3186 * file-coding.c (decode_coding_iso2022): Use
3187 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3189 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3191 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3194 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3196 * char-lb.h (CHAR_COLUMNS): New macro.
3198 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3200 * text-coding.c (char_encode_ucs4): New function.
3201 (char_finish_ucs4): New function.
3202 (encode_coding_ucs4): Deleted.
3203 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3204 (text_encode_generic): Delete local variable `charset' and `half'.
3205 (ucs_to_mule_table): Deleted.
3206 (mule_to_ucs_table): Deleted.
3207 (Fset_ucs_char): Deleted.
3208 (ucs_to_char): Deleted.
3209 (Fucs_char): Deleted.
3210 (Fset_char_ucs): Deleted.
3211 (Fchar_ucs): Deleted.
3212 (decode_ucs4): Deleted.
3213 (mule_char_to_ucs4): Deleted.
3214 (encode_ucs4): Deleted.
3215 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3216 (decode_coding_utf8): Likewise.
3217 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3218 (char_encode_iso2022): Fixed.
3219 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3220 `Fset_char_ucs' and `Fchar_ucs'.
3221 (complex_vars_of_file_coding): Don't initialize
3222 `ucs_to_mule_table'.
3224 * objects-tty.c (tty_initialize_font_instance): Don't use
3227 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3230 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3231 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3233 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3234 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3235 (emchar_string_displayed_columns): Likewise.
3237 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3238 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3239 (string_column_at_point): Likewise.
3240 (Fmove_to_column): Likewise.
3242 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3243 `encoding_table' and `decoding_table'.
3244 (CHARSET_REP_BYTES): Deleted.
3245 (XCHARSET_REP_BYTES): Deleted.
3246 (XCHARSET_COLUMNS): Deleted.
3247 (CHAR_COLUMNS): New macro.
3248 (lookup_composite_char): Deleted unconditionally.
3249 (composite_char_string): Likewise.
3251 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3253 * char-ucs.h (Emchar_to_byte_table): New type.
3254 (get_byte_from_character_table): New function interface.
3255 (Vcharset_latin_jisx0201): New variable.
3256 (latin_jisx0201_to_ucs): New variable.
3257 (ucs_to_latin_jisx0201): New variable.
3258 (Vcharset_latin_iso8859_2): New variable.
3259 (latin_iso8859_2_to_ucs): New variable.
3260 (ucs_to_latin_iso8859_2): New variable.
3261 (Vcharset_latin_iso8859_3): New variable.
3262 (latin_iso8859_3_to_ucs): New variable.
3263 (ucs_to_latin_iso8859_3): New variable.
3264 (Vcharset_latin_iso8859_4): New variable.
3265 (latin_iso8859_4_to_ucs): New variable.
3266 (ucs_to_latin_iso8859_4): New variable.
3267 (Vcharset_latin_iso8859_9): New variable.
3268 (latin_iso8859_9_to_ucs): New variable.
3269 (ucs_to_latin_iso8859_9): New variable.
3270 (Vcharset_latin_viscii_lower): New variable.
3271 (latin_viscii_lower_to_ucs): New variable.
3272 (ucs_to_latin_viscii_lower): New variable.
3273 (Vcharset_latin_viscii_upper): New variable.
3274 (latin_viscii_upper_to_ucs): New variable.
3275 (ucs_to_latin_viscii_upper): New variable.
3276 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3277 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3278 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3279 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3280 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3281 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3282 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3283 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3284 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3285 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3287 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3288 (Vcharset_latin_viscii_upper): New variable.
3289 (make_byte_from_character_table): New function.
3290 (put_byte_from_character_table): New function.
3291 (get_byte_from_character_table): New function.
3292 (CHAR96): New macro.
3293 (ucs_to_latin_jisx0201): New variable.
3294 (latin_jisx0201_to_ucs): New variable.
3295 (ucs_to_latin_iso8859_2): New variable.
3296 (latin_iso8859_2_to_ucs): New variable.
3297 (ucs_to_latin_iso8859_3): New variable.
3298 (latin_iso8859_3_to_ucs): New variable.
3299 (ucs_to_latin_iso8859_4): New variable.
3300 (latin_iso8859_4_to_ucs): New variable.
3301 (ucs_to_latin_iso8859_9): New variable.
3302 (latin_iso8859_9_to_ucs): New variable.
3303 (ucs_to_latin_viscii_lower): New variable.
3304 (latin_viscii_lower_to_ucs): New variable.
3305 (ucs_to_latin_viscii_upper): New variable.
3306 (latin_viscii_upper_to_ucs): New variable.
3307 (ucs_to_latin_tcvn5712): New variable.
3308 (latin_tcvn5712_to_ucs): New variable.
3309 (Qlatin_viscii_lower): New variable.
3310 (Qlatin_viscii_upper): New variable.
3311 (syms_of_mule_charset): Set up new symbol
3312 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3313 (complex_vars_of_mule_charset): Set up new charset
3314 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3315 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3316 `ucs_to_<CHARSET>' tables.
3318 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3320 * text-coding.c: New file.
3322 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3324 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3326 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3327 (MAKE_CHAR): Modify for `ucs-bmp'.
3328 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3329 non-MULE characters of BMP.
3331 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3333 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3336 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3339 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3340 - Include character.h for `CHAR_ASCII_P'.
3342 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3344 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3345 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3347 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3348 (BYTE_C0_P): Likewise.
3349 (BYTE_C1_P): Likewise.
3350 (Lstream_get_emchar_1): Likewise.
3351 (Lstream_fput_emchar): Likewise.
3352 (Lstream_funget_emchar): Likewise.
3353 (copy_internal_to_external): Likewise.
3354 (copy_external_to_internal): Likewise.
3356 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3357 (BYTE_C0_P): Likewise.
3358 (BYTE_C1_P): Likewise.
3359 (Lstream_get_emchar_1): Likewise.
3360 (Lstream_fput_emchar): Likewise.
3361 (Lstream_funget_emchar): Likewise.
3362 (copy_internal_to_external): Likewise.
3363 (copy_external_to_internal): Likewise.
3365 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3366 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3368 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3369 (BYTE_ASCII_P): Moved to mb-1byte.h.
3371 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3373 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3375 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3376 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3377 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3378 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3379 (VALIDATE_CHARPTR_FORWARD): Likewise.
3380 (simple_charptr_emchar): Moved to mb-multibyte.h.
3381 (simple_set_charptr_emchar): Likewise.
3382 (simple_charptr_copy_char): Likewise.
3383 (non_ascii_charptr_emchar): Likewise.
3384 (non_ascii_set_charptr_emchar): Likewise.
3385 (non_ascii_charptr_copy_char): Likewise.
3386 (charptr_emchar): Moved to mb-*byte.h.
3387 (set_charptr_emchar): Likewise.
3388 (charptr_copy_char): Likewise.
3390 * mb-1byte.h, mb-multibyte.h: New files.
3392 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3394 * mb-utf-8.h (MULTIBYTE): New macro.
3395 (MAX_EMCHAR_LEN): Moved from buffer.h.
3396 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3398 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3400 * mb-lb.h, multibyte.h: New files.
3402 * char-1byte.h (Charset_ID): Moved from buffer.h.
3403 (MIN_LEADING_BYTE): Likewise.
3404 (LEADING_BYTE_ASCII): Likewise.
3405 (NUM_LEADING_BYTES): Likewise.
3406 (CHARSETP): Likewise.
3407 (CHARSET_BY_LEADING_BYTE): Likewise.
3408 (XCHARSET_LEADING_BYTE): Likewise.
3409 (XCHARSET_GRAPHIC): Likewise.
3410 (XCHARSET_COLUMNS): Likewise.
3411 (XCHARSET_DIMENSION): Likewise.
3412 (CHAR_CHARSET): Likewise.
3413 (CHAR_LEADING_BYTE): Likewise.
3414 (BREAKUP_CHAR): Likewise.
3415 (Vcharset_ascii): Likewise.
3417 * buffer.h: Include multibyte.h unconditionally.
3418 (VALID_CHARPTR_P): Moved to multibyte.h.
3419 (ASSERT_VALID_CHARPTR): Likewise.
3420 (REAL_INC_CHARPTR): Likewise.
3421 (REAL_INC_CHARBYTIND): Likewise.
3422 (REAL_DEC_CHARPTR): Likewise.
3423 (INC_CHARPTR): Likewise.
3424 (INC_CHARBYTIND): Likewise.
3425 (DEC_CHARPTR): Likewise.
3426 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3427 (VALIDATE_CHARPTR_FORWARD): Likewise.
3428 (charptr_n_addr): Likewise.
3429 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3430 (simple_charptr_emchar): Moved to multibyte.h.
3431 (simple_set_charptr_emchar): Likewise.
3432 (simple_charptr_copy_char): Likewise.
3433 (non_ascii_charptr_emchar): Likewise.
3434 (non_ascii_set_charptr_emchar): Likewise.
3435 (non_ascii_charptr_copy_char): Likewise.
3436 (charptr_emchar): Likewise.
3437 (set_charptr_emchar): Likewise.
3438 (charptr_copy_char): Likewise.
3439 (charptr_emchar_n): Likewise.
3440 (Charset_ID): Moved to char-1byte.h.
3441 (Vcharset_ascii): Likewise.
3442 (CHAR_CHARSET): Likewise.
3443 (CHAR_LEADING_BYTE): Likewise.
3444 (LEADING_BYTE_ASCII): Likewise.
3445 (NUM_LEADING_BYTES): Likewise.
3446 (MIN_LEADING_BYTE): Likewise.
3447 (CHARSETP): Likewise.
3448 (CHARSET_BY_LEADING_BYTE): Likewise.
3449 (XCHARSET_LEADING_BYTE): Likewise.
3450 (XCHARSET_GRAPHIC): Likewise.
3451 (XCHARSET_COLUMNS): Likewise.
3452 (XCHARSET_DIMENSION): Likewise.
3453 (BREAKUP_CHAR): Likewise.
3455 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3457 * character.h: Add document about interface for characters.
3459 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3460 (MAKE_CHAR): Delete comment about
3461 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3462 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3463 (BREAKUP_CHAR): Modify name of arguments.
3464 (CHAR_CHARSET): Modify name of argument.
3466 * buffer.h: Delete document about Emchar accessors.
3468 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3470 * character.h (CHAR_INTP): Moved from buffer.h
3471 (CHAR_OR_CHAR_INTP): Likewise.
3472 (XCHAR_OR_CHAR_INT): Likewise.
3473 (CHECK_CHAR_COERCE_INT): Likewise.
3475 * buffer.h (CHAR_INTP): Moved to character.h
3476 (CHAR_OR_CHAR_INTP): Likewise.
3477 (XCHAR_OR_CHAR_INT): Likewise.
3478 (CHECK_CHAR_COERCE_INT): Likewise.
3480 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3483 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3484 - Include char-1byte.h, char-lb.h or char-ucs.h.
3486 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3488 * buffer.h: Include character unconditionally.
3489 (valid_char_p): Moved to char-*.h.
3490 (non_ascii_valid_char_p): Moved to char-lb.h.
3492 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3494 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3496 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3497 in UTF-2000 because it is not ported yet and not to use
3498 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3499 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3500 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3502 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3503 (CHAR_ASCII_P): Moved from character.h.
3505 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3506 (CHAR_ASCII_P): Likewise.
3507 (CHAR_FIELD1_MASK): Deleted.
3508 (CHAR_FIELD2_MASK): Deleted.
3509 (CHAR_FIELD3_MASK): Deleted.
3510 (MAX_CHAR_BASIC_LATIN): New macro.
3511 (CHAR_FIELD1): Deleted.
3512 (CHAR_FIELD2_INTERNAL): Deleted.
3513 (CHAR_FIELD3_INTERNAL): Deleted.
3514 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3515 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3516 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3517 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3518 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3519 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3520 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3521 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3522 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3523 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3524 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3525 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3526 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3527 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3528 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3529 (MIN_CHAR_COMPOSITION): Deleted.
3530 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3531 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3533 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3535 * buffer.h: Include mb-utf-8.h in UTF-2000.
3537 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3539 * mb-utf-8.h: New file.
3541 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3543 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3546 * mule-charset.h, buffer.h (Charset_ID): New type.
3548 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3550 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3551 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3552 instead of `MULE_CHAR_PRIVATE_OFFSET',
3553 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3554 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3555 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3557 * character.h (Vcharset_japanese_jisx0212): New variable
3560 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3562 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3563 (charset_by_attributes): Delete array about direction.
3564 (latin_a_char_to_charset): New variable in UTF-2000.
3565 (latin_a_char_to_byte1): New variable in UTF-2000.
3566 (latin_a_char_to_byte2): New variable in UTF-2000.
3567 (Qucs_bmp): New variable.
3568 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3570 (next_allocated_2_byte_leading_byte): Likewise.
3571 (non_ascii_set_charptr_emchar): Likewise.
3572 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3573 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3574 `charset_by_attributes'.
3575 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3576 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3577 and `CHARSET_BY_LEADING_BYTE'.
3578 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3579 `utf-2000-version' to `vars_of_mule_charset'.
3580 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3581 define `leading-code-private-11' in UTF-2000; move setting of
3582 `utf-2000-version' from `syms_of_mule_charset'.
3583 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3586 * character.h (Charset_ID): New type.
3587 (LEADING_BYTE_UCS_BMP): New macro.
3588 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3589 (CHARSET_ID_OFFSET_94): New macro.
3590 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3591 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3592 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3594 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3595 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3596 (CHARSET_ID_OFFSET_96): New macro.
3597 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3598 CHARSET_ID_OFFSET_96 and final-byte.
3599 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3600 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3601 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3602 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3603 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3604 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3605 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3606 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3607 (LEADING_BYTE_THAI_TIS620): Likewise.
3608 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3609 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3610 (CHARSET_ID_OFFSET_94x94): New macro.
3611 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3612 CHARSET_ID_OFFSET_94x94 and final-byte.
3613 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3614 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3615 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3616 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3617 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3618 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3619 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3620 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3621 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3622 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3623 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3624 (CHARSET_TYPE_128X128): New macro.
3625 (CHARSET_TYPE_256X256): New macro.
3626 (XCHARSET_PRIVATE_P): Delete unconditionally.
3627 (charset_by_attributes): Delete array about direction.
3628 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3629 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3630 (MIN_CHAR_94): New macro.
3631 (MAX_CHAR_94): New macro.
3632 (MIN_CHAR_96): New macro.
3633 (MAX_CHAR_96): New macro.
3634 (MIN_CHAR_94x94): New macro.
3635 (MAX_CHAR_94x94): New macro.
3636 (MIN_CHAR_96x96): New macro.
3637 (MAX_CHAR_96x96): New macro.
3638 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3639 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3640 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3642 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3643 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3644 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3645 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3646 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3647 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3648 `XCHARSET_LEADING_BYTE' to make code-point.
3649 (latin_a_char_to_charset): New variable.
3650 (latin_a_char_to_byte1): New variable.
3651 (latin_a_char_to_byte2): New variable.
3652 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3653 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3654 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3656 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3657 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3658 (find_charsets_in_emchar_string): Likewise.
3659 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3661 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3663 (decode_coding_iso2022): Likewise.
3665 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3668 * redisplay.c (redisplay_text_width_emchar_string): Use
3669 `Charset_ID' instead of `unsigned char'.
3670 (redisplay_frame_text_width_string): Likewise.
3672 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3675 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3676 instead of `unsigned char'.
3677 (face_cachel_charset_font_metric_info): Likewise.
3679 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3680 (get_non_ascii_char_table_value): Likewise.
3681 (get_char_table): Likewise.
3682 (put_char_table): Likewise.
3683 (map_over_other_charset): Likewise.
3684 (map_char_table): Likewise.
3686 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3687 instead of `unsigned char'.
3689 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3691 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3692 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3694 * mule-charset.c (leading_code_private_11): Don't define in
3697 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3698 in UTF-2000 because it is not ported yet and not to use
3699 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3701 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3703 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3705 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3707 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3710 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3711 of unsigned char to store leading-byte.
3713 * chartab.c (get_non_ascii_char_table_value): Don't use
3714 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3716 * file-coding.c (encode_coding_big5): Delete bogus implementation
3719 * character.h (LEADING_BYTE_*): Delete definition for
3721 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3722 (LEADING_BYTE_PREFIX_P): Deleted.
3723 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3724 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3725 (BUFBYTE_LEADING_BYTE_P): Deleted.
3726 (CHARSET_PRIVATE_P): Deleted unconditionally.
3727 (rep_bytes_by_first_byte): Deleted unconditionally.
3728 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3729 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3730 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3731 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3732 (CHAR_FIELD2): Deleted.
3733 (CHAR_FIELD3): Deleted.
3734 (MAKE_CHAR): Delete definition for non-UTF-2000.
3735 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3736 (breakup_char_1): New implementation.
3737 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
3738 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
3740 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3742 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3745 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3747 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3748 (CHARSET_PRIVATE_P): Likewise.
3749 (XCHARSET_PRIVATE_P): Likewise.
3750 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3752 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3754 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3756 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3758 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3759 (NUM_LEADING_BYTES): Changed from 128 to 256.
3760 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3761 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
3763 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3765 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
3767 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
3768 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
3769 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
3770 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
3771 (Qchinese_cns11643_3): New variable in UTF2000.
3772 (Qchinese_cns11643_4): New variable in UTF2000.
3773 (Qchinese_cns11643_5): New variable in UTF2000.
3774 (Qchinese_cns11643_6): New variable in UTF2000.
3775 (Qchinese_cns11643_7): New variable in UTF2000.
3776 (syms_of_mule_charset): Define `chinese-cns11643-3',
3777 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3778 and `chinese-cns11643-7' in UTF2000.
3779 (vars_of_mule_charset): Initialize
3780 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
3782 (complex_vars_of_mule_charset): Setup charset
3783 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
3784 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
3786 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3788 * mule-charset.c: Move setting for `leading-code-private-11' from
3789 `syms_of_mule_charset' to `vars_of_mule_charset'.
3791 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3793 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
3794 and `NUM_LEADING_BYTES' in assert.
3796 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3798 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
3800 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
3801 `NUM_LEADING_BYTES' instead of 128.
3803 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3805 * mule-charset.h (charset_by_leading_byte): Use
3806 `NUM_LEADING_BYTES' instead of 128.
3807 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
3809 * mule-charset.c (charset_by_leading_byte): Use
3810 `NUM_LEADING_BYTES' instead of 128.
3811 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
3813 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
3816 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3818 * mule-charset.c (syms_of_mule_charset): Update to
3821 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3823 * file-coding.c (encode_coding_sjis): New implementation for
3824 UTF2000. (decode_coding_sjis): Ditto.
3826 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3828 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
3829 Don't define in UTF2000.
3831 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
3834 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3835 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
3838 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3840 * config.h.in (CHAR_IS_UCS4): New macro.
3842 * mule-charset.c (rep_bytes_by_first_byte): Modify for
3843 conventional MULE representation.
3844 (syms_of_mule_charset): Update to 0.3 (Imamiya).
3846 * mule-charset.h: Reverted to original.
3848 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3849 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
3850 "mule-charset.h" if CHAR_IS_UCS4 is defined.
3852 * character.h: New file.
3854 * file-coding.c (Fmake_coding_system): Set 1 to
3855 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
3857 (encode_coding_no_conversion): New implementation for UTF2000.
3859 * file-coding.h (struct Lisp_Coding_System): Add new member
3862 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3864 * file-coding.c (decode_coding_iso2022): Code-point arguments of
3865 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
3866 (encode_coding_iso2022): New implementation for UTF2000.
3868 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3870 * mule-canna.c (c2mu): New implementation for UTF2000.
3873 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3875 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
3877 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3879 * file-coding.c (reset_encoding_stream): Set 0 to
3880 `str->iso2022.current_char_boundary' in UTF2000.
3881 (encode_utf8): Don't define in UTF2000.
3882 (encode_coding_utf8): New implementation for UTF-8 representation
3884 (complex_vars_of_file_coding): Define coding-system `utf-8'.
3886 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3888 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
3890 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
3892 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3894 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
3896 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
3897 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
3898 as UTF-8 in UTF2000.
3899 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
3900 (non_ascii_valid_char_p): Don't define in UTF2000.
3901 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
3902 (Lstream_get_emchar_1): Likewise.
3903 (utf-2000-version): New variable in UTF2000.
3905 * lread.c (read_escape): Add new reader `u'.
3907 * insdel.c (three_to_one_table): Don't define in UTF2000.
3908 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
3909 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3911 (bytind_to_bufpos_func): Likewise.
3912 (buffer_mule_signal_inserted_region): Likewise.
3913 (vars_of_insdel): Don't initialize `three_to_one_table'.
3914 (init_buffer_text): Use `buf->text->mule_size' instead of
3915 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3918 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
3919 UTF-8 representation in UTF2000.
3920 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
3921 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
3922 (decode_coding_iso2022): Don't define local variable `lb' in
3923 UTF2000; don't use LEADING_BYTE in UTF2000; use
3924 `DECODE_ADD_UCS_CHAR' in UTF2000.
3925 (convert_to_external_format): Decode as UTF-8 in UTF2000.
3927 * config.h.in (UTF2000): New macro.
3929 * buffer.h (struct buffer_text): Add new member `mule_size' and
3930 don't add `mule_shifter' and `mule_three_p' in UTF2000.
3931 (valid_char_p): Return always 1 in UTF2000.
3932 (MAX_EMCHAR_LEN): 6 in UTF2000.
3933 (three_to_one_table): Don't define in UTF2000.
3934 (real_bufpos_to_bytind): Modify for UTF-8 representation in
3936 (real_bytind_to_bufpos): Likewise.
3938 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
3940 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3942 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
3943 representation change.
3944 (Vutf_2000_version): New variable.
3945 (leading_code_private_11): New variable.
3946 (syms_of_mule_charset): Add new variables `utf-2000-version' and
3947 `leading-code-private-11'.
3949 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
3950 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
3951 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
3952 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
3953 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
3954 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
3955 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
3956 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
3957 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
3958 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
3959 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
3960 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
3961 (MIN_CHAR_GREEK): New macro.
3962 (MAX_CHAR_GREEK): New macro.
3963 (MIN_CHAR_CYRILLIC): New macro.
3964 (MAX_CHAR_CYRILLIC): New macro.
3965 (MIN_CHAR_HEBREW): New macro.
3966 (MAX_CHAR_HEBREW): New macro.
3967 (MIN_CHAR_THAI): New macro.
3968 (MAX_CHAR_THAI): New macro.
3969 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
3970 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
3971 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
3972 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
3973 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
3974 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
3975 (CHAR_FIELD2): New inline function.
3976 (CHAR_FIELD3): New inline function.
3977 (MULE_CHAR_PRIVATE_OFFSET): New macro.
3978 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
3979 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
3980 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
3981 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
3982 (MIN_CHAR_COMPOSITION): Likewise.
3983 (CHAR_LEADING_BYTE): Modified for character representation change.
3984 (MAKE_CHAR): Likewise.
3986 * lisp.h (Vcharset_latin_iso8859_1): New variable.
3987 (Vcharset_greek_iso8859_7): Likewise.
3988 (Vcharset_cyrillic_iso8859_5): Likewise.
3989 (Vcharset_hebrew_iso8859_8): Likewise.
3990 (Vcharset_thai_tis620): Likewise.
3991 (Vcharset_katakana_jisx0201): Likewise.
3993 2001-02-08 Martin Buchholz <martin@xemacs.org>
3995 * XEmacs 21.2.44 "Thalia" is released.
3997 2001-02-06 Martin Buchholz <martin@xemacs.org>
3999 Fixes crashes in kill-emacs on some systems.
4000 * process-unix.c (unix_kill_child_process):
4001 It's OK for kill() to fail with ESRCH.
4003 2001-02-07 Martin Buchholz <martin@xemacs.org>
4005 Contortions to make .gdbinit tricks work on most systems.
4006 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
4007 * alloc.c (dbg_valmask): Make non-const.
4008 * alloc.c (dbg_typemask): Make non-const.
4009 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
4010 * alloc.c (dbg_valbits): Make non-const.
4011 * alloc.c (dbg_gctypebits): Make non-const.
4012 * .gdbinit (decode_object): Make it work with AIX cc.
4014 2001-02-06 Martin Buchholz <martin@xemacs.org>
4016 * elhash.c (make_general_lisp_hash_table):
4017 Use simpler and more efficient calloc to clear entries.
4019 2001-02-07 Martin Buchholz <martin@xemacs.org>
4021 * window.c (window_scroll): Work around an AIX C compiler bug.
4022 Fixes 'scroll-up' does nothing problem with xlC.
4024 2001-02-05 Martin Buchholz <martin@xemacs.org>
4026 * .gdbinit: Remove obsolete comment.
4028 2001-01-31 Mike Alexander <mta@arbortext.com>
4030 * select.c (Fown_selection_internal): Set owned_p for device
4033 2001-02-01 Martin Buchholz <martin@xemacs.org>
4036 "not" cannot be used as a macro name as it is an operator in C++
4037 * config.h.in: Stop #defining `not'.
4038 * chartab.c (check_category_char): not ==> not_p
4039 * chartab.h: Likewise.
4040 * regex.c (re_match_2_internal): Likewise.
4042 2001-02-02 Martin Buchholz <martin@xemacs.org>
4044 * lisp-disunion.h: Fix up comments.
4046 2001-01-31 Martin Buchholz <martin@xemacs.org>
4048 * keymap.c (define_key_check_and_coerce_keysym):
4050 Support mouse-6 and mouse-7 bindings in the obvious way.
4052 2001-02-01 Martin Buchholz <martin@xemacs.org>
4054 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
4056 2001-01-30 Martin Buchholz <martin@xemacs.org>
4058 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
4059 Previous patch missed DEFVAR_INT_MAGIC.
4060 Make sure future DEFVAR_foo use correct types.
4061 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
4062 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
4063 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
4064 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
4065 * (DEFVAR_INT): Likewise.
4066 * redisplay.c (vertical_clip): Should be of type Fixnum.
4067 * redisplay.c (horizontal_clip): Likewise.
4068 * lisp.h (dump_add_opaque_int): New.
4069 (dump_add_opaque_fixnum): New.
4071 2001-01-29 Andy Piper <andy@xemacs.org>
4073 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4074 since they can be eval'ed
4076 2001-01-29 Martin Buchholz <martin@xemacs.org>
4078 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4079 Oops, XEmacs redefines `class'. Use `typename' instead.
4081 2001-01-28 Martin Buchholz <martin@xemacs.org>
4083 * dumper.c: Fix C++ compile errors.
4085 2001-01-29 Martin Buchholz <martin@xemacs.org>
4087 * tparam.c: Use correct prototypes.
4089 2001-01-28 Martin Buchholz <martin@xemacs.org>
4091 * sysproc.h: #include util.h for NetBSD's openpty.
4093 2001-01-27 Martin Buchholz <martin@xemacs.org>
4095 More 64-bit correctness.
4096 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4097 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4099 This finally finishes the 64-bit SGI port.
4100 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4101 * symbols.c: Fix up comments and type casts.
4102 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4103 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4104 * symeval.h (Fixnum): New type.
4105 * symeval.h (symbol_value_type): Fix up comment.
4121 * mule-canna.c: A million DEFVAR_INTs here...
4122 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4135 s/int/Fixnum/g in DEFVAR_INT declarations.
4137 2001-01-26 Martin Buchholz <martin@xemacs.org>
4139 Port pdump to SGI alignment-sensitive environment.
4140 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4141 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4143 Define and use aligned reading and writing macros.
4144 Use buffered stdio instead of posix i/o for faster dumping.
4145 Eliminate kludgy 256 byte space for header.
4146 Read and write from dump file using structs for alignment safety.
4147 * dumper.c (pdump_align_stream): New.
4148 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4149 * dumper.c (PDUMP_READ_ALIGNED): New.
4150 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4151 * dumper.c (pdump_static_Lisp_Object): New struct.
4152 * dumper.c (pdump_static_pointer): New struct.
4153 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4154 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4155 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4156 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4158 * dumper.c (pdump_backtrace):
4159 * dumper.c (pdump_get_indirect_count):
4160 * dumper.c (pdump_register_object):
4161 * dumper.c (pdump_register_struct):
4162 * dumper.c (pdump_reloc_one):
4163 * dumper.c (pdump_scan_by_alignment):
4164 * dumper.c (pdump_dump_from_root_struct_ptrs):
4165 * dumper.c (pdump_dump_opaques):
4166 * dumper.c (pdump_dump_rtables):
4167 * dumper.c (pdump_dump_from_root_objects):
4169 * dumper.c (pdump_load_finish):
4170 Use aligned reading and writing.
4172 * dumper.c (pdump_free): Make static.
4173 * dumper.c (pdump_hFile): Likewise.
4174 * dumper.c (pdump_hMap): Likewise.
4176 2001-01-26 Martin Buchholz <martin@xemacs.org>
4178 * XEmacs 21.2.43 "Terspichore" is released.
4180 2001-01-25 Martin Buchholz <martin@xemacs.org>
4182 Type fiddling for window_config.saved_windows_count
4183 * window.c (struct window_config):
4184 Make saved_windows_count member unsigned.
4185 * window.c (sizeof_window_config_for_n_windows):
4186 Make parameter unsigned.
4187 * window.c (mark_window_config):
4188 * window.c (window_config_equal):
4189 * window.c (free_window_configuration):
4190 * window.c (Fset_window_configuration):
4191 * window.c (count_windows):
4192 * window.c (Fcurrent_window_configuration):
4193 * window.c (reinit_vars_of_window):
4194 Update all callers and users.
4196 2001-01-25 Martin Buchholz <martin@xemacs.org>
4198 Alignment correctness for flexible arrays.
4199 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4200 Make alignment-correct. Add interesting comments.
4201 * alloc.c (size_vector):
4202 * alloc.c (make_vector_internal):
4203 * alloc.c (make_bit_vector_internal):
4204 * alloc.c (sweep_bit_vectors_1):
4205 * fns.c (size_bit_vector):
4206 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4207 * window.c (sizeof_window_config_for_n_windows):
4208 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4210 2001-01-24 Martin Buchholz <martin@xemacs.org>
4212 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4214 2001-01-23 Andy Piper <andy@xemacs.org>
4216 * select.c (Fown_selection_internal): pass owned_p
4218 * select-msw.c (mswindows_own_selection): New Signature.
4220 * console.h (struct console_methods): add owned_p to
4223 * select-x.c (x_own_selection): pass owned_p
4224 (hack_motif_clipboard_selection): use owned_p
4225 (vars_of_select_x): new variable -
4226 x_selection_strict_motif_ownership.
4228 2001-01-23 Martin Buchholz <martin@xemacs.org>
4230 * specifier.h (specifier_data_offset): Remove pointless parens.
4231 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4233 2001-01-24 Martin Buchholz <martin@xemacs.org>
4235 Make Lisp_Object sizeof methods be alignment-correct.
4236 pdump must restore objects to the same alignment as the C compiler
4237 assumes. It really matters on SGIs.
4238 * lstream.c (aligned_sizeof_lstream): New.
4239 (sizeof_lstream): Use aligned_sizeof_lstream.
4240 (Lstream_new): Likewise.
4241 * opaque.c (aligned_sizeof_opaque): New.
4242 (sizeof_opaque): Use aligned_sizeof_opaque.
4243 (make_opaque): Likewise.
4244 * specifier.c (aligned_sizeof_specifier): New.
4245 (sizeof_specifier): Use aligned_sizeof_specifier.
4246 (make_specifier_internal): Likewise.
4248 2001-01-23 Martin Buchholz <martin@xemacs.org>
4250 * lstream.h (struct lstream): Use max_align_t for trailing data.
4251 * specifier.h (struct Lisp_Specifier): Likewise.
4253 2001-01-22 Martin Buchholz <martin@xemacs.org>
4255 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4256 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4257 (CCL_SUSPEND): Likewise.
4258 (CCL_INVALID_CMD): Likewise.
4259 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4260 (ccl_driver): Likewise.
4261 (CCL_WRITE_CHAR): Macro hygiene.
4262 (CCL_WRITE_STRING): Macro hygiene.
4264 2001-01-22 Martin Buchholz <martin@xemacs.org>
4266 Port "portable" dumper to SunOS 4 and HP-UX.
4267 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4268 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4269 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4271 2001-01-22 Martin Buchholz <martin@xemacs.org>
4273 * lisp.h (ALIGNOF): A better definition for C++.
4275 2001-01-20 Martin Buchholz <martin@xemacs.org>
4278 Fix printf warnings: int format, long int arg.
4279 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4280 (PUSH_FAILURE_POINT): Use correct printf formats.
4281 (POP_FAILURE_POINT): Use correct printf formats.
4282 Use do {...} while (0)
4284 2001-01-20 Martin Buchholz <martin@xemacs.org>
4286 * XEmacs 21.2.42 "Poseidon" is released.
4288 2001-01-20 Martin Buchholz <martin@xemacs.org>
4290 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4292 2001-01-19 Martin Buchholz <martin@xemacs.org>
4294 De-kludgify FIXED_TYPE free list frobbing.
4295 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4296 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4297 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4298 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4299 * alloc.c (LRECORD_FREE_P): New.
4300 * alloc.c (MARK_LRECORD_AS_FREE): New.
4301 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4302 * alloc.c (STRUCT_FREE_P): Deleted.
4303 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4304 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4305 * alloc.c (STRING_CHARS_FREE_P): New.
4306 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4307 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4308 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4309 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4310 * alloc.c (resize_string): Use new definitions.
4311 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4312 * alloc.c (verify_string_chars_integrity): Use new definitions.
4313 * alloc.c (compact_string_chars): Use new definitions.
4314 * alloc.c: Update monster comments.
4315 * lrecord.h (lrecord_type): Add some new lrecord types for
4318 2001-01-18 Martin Buchholz <martin@xemacs.org>
4320 Improve alignment hackery.
4321 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4322 (max_align_t): Moved from opaque.h - general purpose.
4323 (ALIGN_PTR): Use size_t, not long.
4324 * opaque.h (max_align_t): Move to lisp.h.
4326 2001-01-18 Norbert Koch <nk@LF.net>
4328 * gui.h: Fix and add prototypes to fix build problems.
4330 2001-01-18 Martin Buchholz <martin@xemacs.org>
4332 temacs is going away, so `dump-temacs' is now a bad name.
4333 * .dbxrc (dump-temacs): Rename to `dmp'.
4334 * .gdbinit (dump-temacs): Rename to `dmp'.
4336 2001-01-17 Andy Piper <andy@xemacs.org>
4338 * glyphs.c (print_image_instance): comment to make martin happy.
4340 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4343 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4345 (mswindows_tab_control_redisplay): warning suppression.
4347 * glyphs-widget.c (widget_update): re-write to cope with updated
4349 (widget_instantiate): use new gui_item functions.
4350 (tab_control_update): deleted.
4351 (progress_gauge_update): deleted.
4352 (image_instantiator_progress_guage): take out update reference.
4353 (image_instantiator_tree_view): ditto.
4354 (image_instantiator_tab_control): ditto.
4356 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4358 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4359 return whether anything was changed.
4360 (update_gui_item_keywords): as it sounds.
4362 * gui.h: declare widget_gui_parse_item_keywords.
4364 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4365 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4367 2001-01-17 Martin Buchholz <martin@xemacs.org>
4369 * XEmacs 21.2.41 "Polyhymnia" is released.
4371 2001-01-16 Didier Verna <didier@xemacs.org>
4373 * glyphs.c (image_instantiate): don't use fallbacks when
4374 instantiating a face's background pixmap by inheritance.
4376 2001-01-14 Mike Sperber <mike@xemacs.org>
4378 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4379 Conditionalize accordingly.
4381 2001-01-16 Martin Buchholz <martin@xemacs.org>
4383 * dumper.c (pdump_file_get): Fix a compiler warning.
4385 2001-01-15 Martin Buchholz <martin@xemacs.org>
4387 Make Purify happy when pdumping.
4388 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4389 iniitalizing all bits of new lisp object memory.
4390 * symbols.c (Fmake_local_variable): Likewise.
4391 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4392 * symbols.c (Fdefvaralias): Likewise.
4393 * mule-charset.c (vars_of_mule_charset): Likewise.
4395 2001-01-15 Martin Buchholz <martin@xemacs.org>
4396 Add the `-nd' flag when running pre-dump operations under the debugger.
4397 * .dbxrc (run-temacs): Add `-nd'.
4398 * .dbxrc (update-elc): Likewise.
4399 * .dbxrc (dump-temacs): Likewise.
4400 * .gdbinit (run-temacs): Likewise.
4401 * .gdbinit (check-temacs): Likewise.
4402 * .gdbinit (update-elc): Likewise.
4403 * .gdbinit (dump-temacs): Likewise.
4405 2001-01-14 Martin Buchholz <martin@xemacs.org>
4407 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4408 export OBJECT_MODE=64
4409 configure --pdump --use-union-type=no
4410 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4411 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4413 * miscplay.c (sndcnv8U_2mono):
4414 Avoid two uses of `++' in the same expression.
4415 Suppresses a GCC warning.
4417 2001-01-13 Martin Buchholz <martin@xemacs.org>
4419 Make sure future compilers don't miscompile alloc.c.
4421 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4422 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4424 2001-01-12 Martin Buchholz <martin@xemacs.org>
4426 * dumper.c: A little post-pdump-rename comment fixup.
4428 2001-01-09 Jerry James <james@eecs.ku.edu>
4430 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4432 2001-01-13 Martin Buchholz <martin@xemacs.org>
4434 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4438 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4441 replace_symbol pdump_wire_lists pdump_weak_object_chains
4442 replace_symbol pdump_wire_list dump_add_weak_object_chain
4444 replace_symbol pdump_wires pdump_root_objects
4445 replace_symbol pdump_wire dump_add_root_object
4447 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4448 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4450 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4451 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4452 replace_symbol dumpstructinfo pdump_root_struct_ptr
4453 replace_symbol dumpstruct dump_add_root_struct_ptr
4455 replace_symbol dumpopaque dump_add_opaque
4456 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4457 replace_symbol dumpopaqueinfos pdump_opaques
4458 replace_symbol dumpopaqueinfo pdump_opaque
4460 replace_symbol nb_structdump nb_root_struct_ptrs
4461 replace_symbol nb_opaquedump nb_opaques
4463 replace_symbol align_table pdump_align_table
4464 replace_symbol dump_header pdump_header
4466 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4467 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4470 2001-01-12 Martin Buchholz <martin@xemacs.org>
4472 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4473 optimizing bytecount_to_charcount().
4475 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4478 (HAVE_DLFCN_H): Removed.
4479 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4481 2001-01-06 Martin Buchholz <martin@xemacs.org>
4483 Portable dumper maintainability improvements.
4484 * alloc.c (staticpro):
4485 * alloc.c (staticpro_nodump):
4486 * alloc.c (garbage_collect_1):
4487 * alloc.c (reinit_alloc_once_early):
4488 * alloc.c (init_alloc_once_early):
4489 * alloc.c: Move dumper functions to alloc.c.
4490 * dumper.c (pdump_backtrace):
4491 * dumper.c (pdump_dump_structs):
4492 * dumper.c (pdump_dump_opaques):
4493 * dumper.c (pdump_dump_rtables):
4494 * dumper.c (pdump_dump_wired):
4496 * dumper.c (pdump_load_check):
4497 * dumper.c (pdump_load_finish):
4498 * dumper.c (pdump_file_unmap):
4499 * dumper.c (pdump_file_get):
4500 * dumper.c (pdump_resource_free):
4501 * dumper.c (pdump_resource_get):
4502 * dumper.c (pdump_file_free):
4503 * dumper.c (pdump_file_try):
4504 * dumper.c (pdump_load):
4505 Remove fixed size limits on staticpro(), staticpro_nodump(),
4506 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4507 Remove custom code for dumping lrecord_implementations_table - use
4509 Remove (most of the) custom code for dumping staticpros - dump it
4510 like any other dynarr.
4512 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4513 * dumper.c: Moved functions from alloc.c.
4514 * alloc.c (dumpstruct): Moved to dumper.c.
4515 * alloc.c (dumpopaque): Likewise.
4516 * alloc.c (pdump_wire): Likewise.
4517 * alloc.c (pdump_wire_list): Likewise.
4519 * lisp.h (Dynarr_sizeof): New.
4520 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4521 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4522 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4524 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4525 * lisp.h (dumpopaque): ditto.
4526 * lisp.h (pdump_wire): ditto.
4527 * lisp.h (pdump_wire_list): ditto.
4529 2001-01-09 Martin Buchholz <martin@xemacs.org>
4531 * make-src-depend (PrintPatternDeps):
4532 Use `sort' to make output independent of perl version.
4534 2001-01-08 Martin Buchholz <martin@xemacs.org>
4537 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4538 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4540 2001-01-03 Didier Verna <didier@xemacs.org>
4542 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4543 that `focus_frame' is alive before thinking of calling
4544 `redisplay_redraw_cursor' on it.
4546 2001-01-08 Martin Buchholz <martin@xemacs.org>
4548 * XEmacs 21.2.40 is released.
4550 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4552 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4554 2001-01-06 Martin Buchholz <martin@xemacs.org>
4556 * alloc.c (dbg_valmask): Make const.
4557 * alloc.c (dbg_typemask): Make const.
4558 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4559 * alloc.c (dbg_valbits): Make const.
4560 * alloc.c (dbg_gctypebits): Make const.
4562 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4564 * redisplay-x.c (x_bevel_area):
4565 redisplay.h (struct rune):
4566 Typo fixes in comments.
4568 2001-01-05 Andy Piper <andy@xemacs.org>
4570 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4573 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4575 2001-01-05 Martin Buchholz <martin@xemacs.org>
4577 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4579 * mule-ccl.c (stack_idx_of_map_multiple):
4580 Non const global data must not be initialized!
4581 Found by MIYASHITA Hisashi.
4583 2001-01-02 Andy Piper <andy@xemacs.org>
4585 * frame.c (change_frame_size): make sure frame size is always
4588 * glyphs.c (image_instance_layout): minor code reuse.
4590 * window.c (Fcurrent_window_configuration): revert previous
4593 2001-01-02 Martin Buchholz <martin@xemacs.org>
4596 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4598 2000-12-31 Andy Piper <andy@xemacs.org>
4600 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4601 when widget gets unmapped.
4603 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4604 function. Make sure widgets losing focus don't just drop it.
4605 (handle_focus_event_1): record the widget with focus.
4607 2000-12-31 Andy Piper <andy@xemacs.org>
4609 * window.c (allocate_window): use
4610 make_image_instance_cache_hash_table.
4611 (make_dummy_parent): ditto.
4612 (Fset_window_configuration): ditto.
4614 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4616 * glyphs.c (process_image_string_instantiator): use
4618 (get_image_instantiator_governing_domain): ditto.
4619 (normalize_image_instantiator): ditto.
4620 (instantiate_image_instantiator): ditto.
4621 (make_image_instance_1): ditto.
4622 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4623 (instantiator_eq_equal): new function for use with instance hash
4625 (instantiator_eq_hash): ditto.
4626 (make_image_instance_cache_hash_table): create a suitable hash
4627 table for storing image instances.
4629 * elhash.h (hash_table_weakness): new internal weakness type
4630 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4631 declare new functions.
4633 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4634 another weakness type for glyphs.
4635 (make_standard_lisp_hash_table): new function split out from
4636 make_general_lisp_hash_table.
4637 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4638 (hash_table_instantiate): ditto.
4639 (Fmake_hash_table): ditto.
4641 2000-12-31 Martin Buchholz <martin@xemacs.org>
4643 * XEmacs 21.2.39 is released.
4645 2000-12-29 Andy Piper <andy@xemacs.org>
4647 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4649 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4650 the frame has changed so that we pick up geometry changes such as
4653 2000-12-28 Andy Piper <andy@xemacs.org>
4655 * lastfile.c (my_ebss): make a char array so we can pad the
4656 bss. Fixes cygwin unexec.
4658 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4660 2000-12-26 Andy Piper <andy@xemacs.org>
4662 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
4663 comments and try and be more precise about a non-/SIGIO world.
4664 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
4667 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
4668 we don't normalize to zero width or height.
4670 2000-12-24 Andy Piper <andy@xemacs.org>
4672 * Makefile.in.in (ldflags): add -mwindows when appropriate.
4674 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
4676 * s/sco5.h: SCO 5 has pty support.
4678 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
4680 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
4681 input-method-xlib.c contains whole contents of input-method-xfs.c,
4682 so we can use input-method-xlib.c's code for USE_XFONTSET
4684 * input-method-xfs.c: removed.
4686 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
4688 * file-coding.h (enum coding_category_type): reorder enumerators to
4689 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
4690 (now one greater than largest real coding_category_type enumerator).
4691 * file-coding.c (coding_category_symbol, coding_category_by_priority,
4692 coding_category_system, fcd_descriptihon_1, decode_coding_category,
4693 Fcoding_category_list, Fset_coding_priority_list,
4694 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
4695 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
4697 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4699 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
4700 * redisplay-output.c (redisplay_output_window): Clear top of window
4701 when face is changed.
4702 * redisplay-x.c (x_redraw_exposed_window): Call
4703 redisplay_clear_top_of_window.
4704 * redisplay.h: Publish redisplay_clear_top_of_window.
4706 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4708 * buffer.c (Fkill_buffer): Map over all devices.
4709 * window.c (window_loop): Remove UNSHOW_BUFFER code.
4710 (list_windows): New function.
4711 (list_all_windows): Ditto.
4712 (Freplace_buffer_in_windows): Use them.
4714 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4716 * database.c (berkdb_subtype): Recognize new subtype `queue'.
4717 (Fopen_database): Use `db_create' instead of `db_open'.
4718 (syms_of_database): Initialize Qqueue.
4720 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4722 * buffer.c (common_init_complex_vars_of_buffer): Initialize
4723 buffer_local_face_property.
4724 * buffer.h (struct buffer): New member buffer_local_face_property.
4725 * window.c (Fset_window_buffer): Mark window's face as changed
4726 when buffer has buffer local face.
4727 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
4728 * objects.c (color_after_change): Set buffer_local_face_property
4729 when locale of face specifier is buffer.
4730 * objects.c (font_after_change): Ditto.
4731 * objects.c (face_boolean_after_change): Ditto.
4732 * glyphs.c (image_after_change): Ditto.
4734 2000-12-09 Dan Holmsand <dan@eyebee.com>
4736 * nt.c (mswindows_fstat): Report file permissions, volume serial
4737 number, etc. Code adapted from FSF Emacs 20.7.
4739 2000-12-09 Dan Holmsand <dan@eyebee.com>
4741 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
4742 of stat when we don't have symbolic links, to make sure
4743 mswindows_stat is called on mswindows.
4745 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
4747 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
4749 2000-12-12 Martin Buchholz <martin@xemacs.org>
4751 * doprnt.c (emacs_doprnt_1): More printing fixes.
4752 Make printing of numbers compatible with libc and FSF Emacs.
4753 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
4754 Use the system printf to do most of the hard work of formatting,
4755 instead of doprnt_1().
4756 Calculate memory to allocate for format string.
4757 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
4758 (doprnt_1): Cleaner code and documentation.
4760 2000-12-01 Jerry James <james@eecs.ukans.edu>
4762 * Makefile.in.in: Use the loop variable to install headers.
4764 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4766 * window.c (Fsplit_window): Don't invalidate face cache.
4768 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4770 * minibuf.c (Fall_completions): Undo the previous change
4771 which removed checking elements start with space.
4773 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4775 * mule-canna.c: Didier suppression.
4777 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4779 * mule-canna.c: rename static unsigned char buf[] to key_buffer
4780 (warning suppression). Add English comment translations.
4782 2000-12-05 Martin Buchholz <martin@xemacs.org>
4784 * unexelfsgi.c (unexec): Better test for mmap failure.
4786 2000-12-05 Martin Buchholz <martin@xemacs.org>
4788 * XEmacs 21.2.38 is released.
4790 2000-12-05 Martin Buchholz <martin@xemacs.org>
4792 * redisplay.c (bar-cursor): Make a user variable.
4794 * symsinit.h: Add init_postgresql_from_environment.
4796 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4798 * regex.c: Convert to clean C.
4800 2000-12-05 Dan Holmsand <dan@eyebee.com>
4803 Don't #include sysfile.h. Revert to duplicating PATH_MAX
4805 (sys_readlink): renamed to system_readlink to avoid conflict with
4806 the other sys_readlink.
4808 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
4810 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
4812 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
4814 * postgresql.c (init_postgresql_from_environment): new function.
4815 (vars_of_postgresql): Move code initializing Lisp variables out and
4816 into init_postgresql_from_environment.
4817 emacs.c (main_1): Call init_postgresql_from_environment if and only
4818 if running a dumped XEmacs.
4820 2000-08-31 Dan Holmsand <dan@eyebee.com>
4822 * buffer.c: Make find-file-compare-truenames default to true on
4825 * realpath.c (win32_abs_start):
4827 (win32_readlink): New functions.
4828 (xrealpath): Return really real filenames on windows.
4830 * fileio.c (Ffile_truename): Make file-truename work on windows.
4832 2000-11-29 Didier Verna <didier@xemacs.org>
4834 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
4835 * faces.c (update_face_cachel_data): use it.
4836 * faces.c (add_face_cachel): use it. Complete background pixmap
4837 frobbing in face cache if `update_face_cachel_data' has not done so.
4839 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
4841 * search.c (string_match_1): Don't set last_thing_searched
4844 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
4846 * buffer.c: Include casetab.h
4847 (common_init_complex_vars_of_buffer): Use new case-table object.
4848 * buffer.h: Include casetab.h
4849 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
4850 (DOWNCASE_TABLE_OF): Ditto.
4851 * bufslots.h: Remove char-tables and add case-table.
4852 * casetab.c: Include casetab.h
4853 (CASE_TABLE_P): Removed.
4854 (mark_case_table): New function.
4855 (allocate_case_table): New function.
4856 (Fcase_table_p): Use new case-table.
4857 (case_table_char): New function.
4858 (Fget_case_table): Ditto.
4859 (Fput_case_table): Ditto.
4860 (Fput_case_table_pair): Ditto.
4861 (Fcopy_case_table): Ditto.
4862 (Fcurrent_case_table): Return case-table.
4863 (Fstandard_case_table): Return case-table.
4864 (Fset_case_table): Fix doc-string.
4865 (set_case_table): Use case-table
4866 (syms_of_casetab): DEFSUBR new functions.
4867 (complex_vars_of_casetab): Set up standard case-table.
4868 * casetab.h: New file.
4869 * editfns.c: Include casetab.h
4870 (Fcompare_buffer_substrings): Use case-table.
4871 * inline.c: Include casetab.h
4872 * lisp.h: Remove bogus extern.
4873 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
4874 * search.c: Include casetab.h
4875 (TRANSLATE_ASCII): Removed.
4876 (TRANSLATE): Unconditionally translate character.
4877 (looking_at_1): Use case-table.
4878 (string_match_1): Ditto.
4879 (fast_string_match): Ditto.
4880 (search_command): Ditto.
4881 (search_buffer): Separate boyer_moore. Check whether
4882 boyer_moore is possible.
4883 (simple_search): New function.
4884 (boyer_moore): Separated from search_buffer. Translate char.
4886 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
4888 * regex.c (RE_TR_ASCII): Removed.
4889 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
4890 (PATFETCH): Call PATFETCH_RAW.
4891 (PATFETCH_RAW): Fetch Emchar.
4892 (PATUNFETCH): Decrement charptr.
4893 (GET_BUFFER_SPACE): Rename b to buf_end.
4895 (BUF_PUSH_2): Ditto.
4896 (BUF_PUSH_3): Ditto.
4897 (EXTEND_BUFFER): Ditto.
4898 (SET_LIST_BIT): Ditto.
4899 (regex_compile): Ditto. Translate non ASCII char.
4900 (compile_range): Ditto.
4901 (re_search_2): Ditto.
4902 (re_match_2_internal): Compare Emchar.
4903 (bcmp_translate): Ditto.
4905 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
4907 * lisp.h (basic char/int typedefs): comment improvement.
4909 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
4911 * emacs.c (main_1): unconditional pdump unstomping; don't save and
4912 unstomp inhibit_site_lisp. Improve comments.
4914 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
4916 * mule-charset.c (Fcharset_property): improve type checking, comments.
4918 2000-11-28 Andy Piper <andy@xemacs.org>
4920 * redisplay-output.c (redisplay_output_subwindow): make sure we do
4921 clipped display for windows in the gutter also.
4922 (redisplay_display_boxes_in_window_p): change semantics of return
4923 codes to be more intuitive.
4925 * gutter.h: declare display_boxes_in_gutter_p.
4927 * gutter.c (display_boxes_in_gutter_p): new function for
4930 2000-11-22 Andy Piper <andy@xemacs.org>
4932 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
4935 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
4937 * callproc.c (Fold_call_process_internal):
4938 * gpm.c (Freceive_gpm_event):
4939 (tty_get_foreign_selection): Might be just warning supression.
4940 * fileio.c (Fwrite_region_internal):
4941 (Fset_visited_file_modtime):
4942 * keymap.c (event_matches_key_specifier_p):
4943 Initialize GCPROed variable.
4945 * menubar-x.c (command_builder_find_menu_accelerator):
4946 Initialize before use.
4948 2000-11-23 Andy Piper <andy@xemacs.org>
4950 * unexcw.c (unexec): make the resulting executable executable.
4952 2000-11-21 Martin Buchholz <martin@xemacs.org>
4954 * doc.c (get_doc_string):
4955 Use size_t, not int, for result of XSTRING_LENGTH.
4957 * cmds.c (Fdelete_char):
4958 * cmds.c (Fpoint_at_eol):
4959 * cmds.c (Fself_insert_command):
4960 Use EMACS_INT, not int, for result of XINT.
4961 Someday, someone will want to insert more than 2**31 identical characters.
4963 * cmds.c (Fdelete_char):
4964 * cmds.c (Fdelete_backward_char):
4965 * syntax.c (Fforward_word):
4966 * syntax.c (Fforward_comment):
4967 Make COUNT argument optional, for consistency with forward-char et al.
4969 2000-11-22 Martin Buchholz <martin@xemacs.org>
4972 * print.c (long_to_string):
4973 Return a useful value: the pointer at end of data written.
4976 Use `static const char * const' for constant strings.
4977 (union printf_arg): Delete `i', `ui' members.
4980 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
4981 Do all printf-ing via the `l' specifier.
4982 Use EMACS_INT instead of int.
4985 2000-11-20 Didier Verna <didier@xemacs.org>
4987 * faces.c (update_face_cachel_data): don't frob the background
4988 pixmap when the window is being created. The face is needed but
4991 2000-11-20 Andy Piper <andy@xemacs.org>
4993 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
4994 messing with a debug environment.
4996 2000-11-20 Martin Buchholz <martin@xemacs.org>
4998 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
5000 2000-11-20 Martin Buchholz <martin@xemacs.org>
5002 * casetab.c (Fcase_table_p): Fix compile error and crash.
5004 2000-11-18 Philip Aston <philipa@mail.com>
5006 * s/cygwin32.h: Cygwin has SVR4-like pty support.
5008 2000-11-18 Martin Buchholz <martin@xemacs.org>
5010 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
5011 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
5013 2000-11-17 Martin Buchholz <martin@xemacs.org>
5015 * config.h.in: Define HAVE_ELF_H if elf.h exists.
5016 * unexelf.c: Use HAVE_ELF_H.
5017 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
5018 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
5019 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
5020 Greg Harrington <greg_harrington@hotmail.com> provided a machine
5022 So this is an unexelfsgi.c from a different line of development.
5024 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5026 * regex.c (RE_TR_ASCII): New function.
5027 (RE_TRANSLATE): Call it.
5029 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5031 * buffer.h (TRT_TABLE_OF): Remove assert.
5032 (IN_TRT_TABLE_DOMAIN): Removed.
5034 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
5036 * free-hook.c (log_gcpro):
5037 (show_gcprohist): Add support for GCPRO5.
5039 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
5041 * emacs.c (main_1): Improve -sd error message when --pdump=no.
5043 2000-11-16 Olivier Galibert <galibert@xemacs.org>
5045 * symeval.h: Declare flush_all_buffer_local_cache.
5047 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
5048 (flush_buffer_local_cache): Added.
5049 (flush_all_buffer_local_cache): Added.
5051 * lrecord.h: Remove unused XD_LO_RESET_NIL.
5053 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
5054 (pdump_dump_data): Ditto.
5055 (pdump_reloc_one): Ditto.
5056 (pdump): Remove unused pdump_qnil. Flush buffer local caches
5060 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5062 * buffer.c: Remove if 0'ed entry.
5063 * buffer.h: Rewrite TRT to use char-table.
5064 * bufslots.h: Remove mirror tables.
5065 * casetab.c: Remove mirror tables.
5066 (CASE_TABLE_P): New macro.
5067 (Fcase_table_p): Element of a case table is string or char-table.
5068 (make_mirror_trt_table): Removed.
5069 (set_case_table): Setup char-table from strings for backward
5071 * dired.c (Fdirectory_files):
5072 * dired-msw.c: (mswindows_get_files):
5073 * lisp.h: Change prototype of re_pattern_buffer.
5074 * regex.c: (RE_TRANSLATE): New macro.
5075 (TRANSLATE_P): Ditto.
5076 Change translate to type RE_TRANSLATE_TYPE.
5077 * regex.h: Define RE_TRANSLATE_TYPE
5078 * search.c (TRANSLATE): New macro.
5079 (TRANSLATE_ASCII): New macro.
5080 Translate table is changed to Lisp_Object.
5081 (signal_failure): Inhibit return.
5083 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5090 Do UNGCPRO before return.
5092 2000-11-14 Martin Buchholz <martin@xemacs.org>
5094 * XEmacs 21.2.37 is released.
5096 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5098 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5099 Add comments about discarded return value.
5101 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5104 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5106 2000-10-27 Andy Piper <andy@xemacs.org>
5108 * gutter.c (Fset_default_gutter_position): default left and right
5110 (calculate_gutter_size): calculate resonable heuristic for left
5111 and right gutter sizes.
5112 (specifier_vars_of_gutter): change left and right gutter sizes to
5114 (calculate_gutter_size_from_display_lines): new function.
5115 (output_gutter): check for resizing on left and right gutters.
5116 (clear_gutter): don't special case top and left gutters.
5117 (specifier_vars_of_gutter): use new signature for
5118 set_specifier_caching.
5120 * glyphs-x.c (x_redisplay_widget): spelling fix.
5121 * glyphs.c (specifier_vars_of_glyphs):
5122 * menubar.c (specifier_vars_of_menubar):
5123 * redisplay.c (specifier_vars_of_redisplay):
5124 * toolbar.c (specifier_vars_of_toolbar):
5125 * window.c (specifier_vars_of_window):
5126 * scrollbar.c (specifier_vars_of_scrollbar):
5127 (complex_vars_of_scrollbar): use new signature for
5128 set_specifier_caching.
5130 * specifier.c (set_specifier_caching): include recompute flag.
5131 (recompute_one_cached_specifier_in_window): always recompute if
5133 (recompute_one_cached_specifier_in_frame): ditto.
5135 * specifier.h (struct specifier_caching): add recompute flag.
5137 2000-10-24 Andy Piper <andy@xemacs.org>
5139 * unexcw.c (copy_executable_and_dump_data_section): add new
5140 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5143 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5145 * console-x.h (x_device): New member modifier_release_time.
5146 * event-Xt.c (x_handle_sticky_modifiers):
5147 Bound interval modifier keys are sticky.
5148 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5149 * events.h: extern it.
5151 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5153 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5155 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5157 * event-stream.c (execute_command_event): Preserve current_events
5158 and the like when event is misc-user-event.
5159 Inhibit quit during the call to maybe_echo_keys.
5161 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5163 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5164 symlink when buffer is killed.
5165 (inhibit_clash_detection): New variable.
5167 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5169 * console.c (Fset_input_method): Trigger redisplay on tty.
5171 2000-11-07 Martin Buchholz <martin@xemacs.org>
5173 * process.c (Fprocess_status): Revert to previous behavior:
5174 (process-status "nosuchprocess") ==> nil
5176 2000-11-06 Martin Buchholz <martin@xemacs.org>
5178 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5179 Work around another GCC 2.95.2 optimizer bug.
5181 2000-11-02 Martin Buchholz <martin@xemacs.org>
5183 * process.c (Fget_process): Use LIST_LOOP_2.
5184 (kill_buffer_processes): Use LIST_LOOP_2.
5186 * minibuf.c (Fall_completions):
5187 Delete old non-functional code for FSF fourth argument.
5189 * frame.c (frame_matches_frame_spec):
5190 Renamed from `frame_matches_frametype'. Update all callers.
5191 (device_matches_device_spec):
5192 Renamed from 'device_matches_console_spec'. Update all callers.
5194 * doc.c (Fsubstitute_command_keys):
5195 Remove buffer overflow crash. Small code cleanups.
5197 * casetab.c (check_case_table): Simpler code.
5199 * window.c (Freplace_buffer_in_windows):
5200 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5201 (and similar implementation) as Fdelete_windows_on.
5204 * alloc.c (Fmake_list):
5205 * alloc.c (make_vector):
5206 * alloc.c (Fmake_vector):
5207 * alloc.c (make_bit_vector):
5208 * alloc.c (Fmake_bit_vector):
5209 * alloc.c (Fbit_vector):
5210 * alloc.c (Fmake_string):
5211 * alloc.c (Fpurecopy):
5212 * alloc.c (Fmemory_limit):
5214 * buffer.c (Fget_buffer):
5215 * buffer.c (Fkill_buffer):
5216 * buffer.c (complex_vars_of_buffer):
5217 * bytecode.c (Fcompiled_function_stack_depth):
5218 * callint.c (Fprefix_numeric_value):
5220 * event-stream.c (Fread_key_sequence):
5222 * casetab.c (Fcase_table_p):
5223 * casetab.c (check_case_table):
5224 * casetab.c (Fset_case_table):
5225 * casetab.c (Fset_standard_case_table):
5227 * chartab.c (Fchar_table_type):
5228 * chartab.c (Freset_char_table):
5229 * chartab.c (Fget_char_table):
5230 * chartab.c (Fget_range_char_table):
5231 * chartab.c (Fput_char_table):
5232 * chartab.c (Fmap_char_table):
5233 * chartab.c (Fcategory_table_p):
5234 * chartab.c (Fcheck_category_at):
5235 * chartab.c (Fchar_in_category_p):
5236 * chartab.c (Fcategory_table):
5237 * chartab.c (Fcopy_category_table):
5238 * chartab.c (Fset_category_table):
5239 * chartab.c (Fcategory_designator_p):
5240 * chartab.c (Fcategory_table_value_p):
5241 * cmds.c (Fdelete_char):
5242 * cmds.c (Fdelete_backward_char):
5243 * cmds.c (Fself_insert_command):
5244 * cmds.c (Fself_insert_internal):
5245 * console.c (Fvalid_console_type_p):
5246 * console.c (Fcdfw_console):
5247 * console.c (Fconsole_type):
5248 * console.c (Fconsole_name):
5249 * console.c (Fconsole_device_list):
5250 * console.c (Fconsole_on_window_system_p):
5254 * data.c (Fsubr_interactive):
5255 * data.c (Fchar_to_int):
5256 * data.c (Fint_to_char):
5259 * data.c (Fnumber_to_string):
5260 * data.c (Fstring_to_number):
5262 * database.c (mark_database):
5263 * database.c (finalize_database):
5264 * database.c (Fdatabase_live_p):
5265 * database.c (Fdatabasep):
5266 * device-x.c (Fx_get_resource):
5267 * device.c (Fdfw_device):
5269 * dired.c (Ffile_name_completion):
5270 * dired.c (Ffile_name_all_completions):
5271 * dired.c (Fuser_name_completion):
5272 * dired.c (Fuser_name_completion_1):
5273 * dired.c (Fuser_name_all_completions):
5274 * doc.c (Fdocumentation):
5275 * doc.c (Fdocumentation_property):
5276 * doc.c (Fsubstitute_command_keys):
5278 * editfns.c (Fchar_to_string):
5279 * editfns.c (Fstring_to_char):
5280 * editfns.c (Ftemp_directory):
5281 * editfns.c (Finsert_char):
5282 * editfns.c (Fbuffer_substring_no_properties):
5283 * editfns.c (Fnarrow_to_region):
5284 * editfns.c (Fchar_equal):
5285 * editfns.c (Fchar_Equal):
5286 * editfns.c (Ftranspose_regions):
5287 * emacs.c (Fdump_emacs):
5289 * eval.c (Fcommand_execute):
5290 * eval.c (Fautoload):
5291 * eval.c (Fbacktrace):
5292 * eval.c (Fbacktrace_frame):
5294 * events.c (Fcopy_event):
5295 * events.c (Fcharacter_to_event):
5296 * events.c (Fevent_button):
5297 * events.c (Fevent_process):
5299 * extents.c (Fnext_extent_change):
5300 * extents.c (Fextent_property):
5302 * faces.c (Fmake_face):
5304 * file-coding.c (Fencode_shift_jis_char):
5305 * file-coding.c (Fencode_big5_char):
5306 * fileio.c (Ffile_name_directory):
5307 * fileio.c (Ffile_name_nondirectory):
5308 * fileio.c (Ffile_name_as_directory):
5309 * fileio.c (Fdirectory_file_name):
5310 * fileio.c (Ffile_truename):
5311 * fileio.c (Fsubstitute_in_file_name):
5312 * fileio.c (Ffile_modes):
5313 * fileio.c (Fset_file_modes):
5314 * fileio.c (Fset_default_file_modes):
5315 * fileio.c (Fverify_visited_file_modtime):
5316 * floatfns.c (Facos):
5317 * floatfns.c (Fasin):
5318 * floatfns.c (Fatan):
5319 * floatfns.c (Fcos):
5320 * floatfns.c (Fsin):
5321 * floatfns.c (Ftan):
5322 * floatfns.c (Fbessel_j0):
5323 * floatfns.c (Fbessel_j1):
5324 * floatfns.c (Fbessel_jn):
5325 * floatfns.c (Fbessel_y0):
5326 * floatfns.c (Fbessel_y1):
5327 * floatfns.c (Fbessel_yn):
5328 * floatfns.c (Ferf):
5329 * floatfns.c (Ferfc):
5330 * floatfns.c (Flog_gamma):
5331 * floatfns.c (Fexp):
5332 * floatfns.c (Fexpt):
5333 * floatfns.c (Flog):
5334 * floatfns.c (Flog10):
5335 * floatfns.c (Fsqrt):
5336 * floatfns.c (Fcube_root):
5337 * floatfns.c (Facosh):
5338 * floatfns.c (Fasinh):
5339 * floatfns.c (Fatanh):
5340 * floatfns.c (Fcosh):
5341 * floatfns.c (Fsinh):
5342 * floatfns.c (Ftanh):
5343 * floatfns.c (Fabs):
5344 * floatfns.c (Ffloat):
5345 * floatfns.c (Flogb):
5346 * floatfns.c (Fceiling):
5347 * floatfns.c (Ffloor):
5348 * floatfns.c (Fround):
5349 * floatfns.c (Ftruncate):
5350 * floatfns.c (Ffceiling):
5351 * floatfns.c (Fffloor):
5352 * floatfns.c (Ffround):
5353 * floatfns.c (Fftruncate):
5354 * fns.c (Fstring_equal):
5355 * fns.c (Fstring_lessp):
5360 * fns.c (Fsubstring):
5362 * fns.c (Fold_assoc):
5363 * fns.c (assoc_no_quit):
5365 * fns.c (Fold_assq):
5366 * fns.c (assq_no_quit):
5368 * fns.c (Fold_rassoc):
5370 * fns.c (Fold_rassq):
5371 * fns.c (rassq_no_quit):
5372 * fns.c (Fremassoc):
5373 * fns.c (remassoc_no_quit):
5375 * fns.c (remassq_no_quit):
5376 * fns.c (Fremrassoc):
5377 * fns.c (Fremrassq):
5378 * fns.c (remrassq_no_quit):
5380 * fns.c (Fplist_get):
5381 * fns.c (Fplist_put):
5382 * fns.c (Fplist_remprop):
5383 * fns.c (Fplist_member):
5384 * fns.c (Flax_plist_get):
5385 * fns.c (Flax_plist_put):
5386 * fns.c (Flax_plist_remprop):
5387 * fns.c (Flax_plist_member):
5389 * fns.c (Fold_equal):
5391 * fns.c (Fbase64_encode_region):
5392 * fns.c (Fbase64_encode_string):
5393 * fns.c (Fbase64_decode_region):
5395 * frame.c (frame_matches_frame_spec):
5396 * frame.c (device_matches_device_spec):
5397 * frame.c (next_frame):
5398 * frame.c (previous_frame):
5399 * frame.c (Fnext_frame):
5400 * frame.c (Fprevious_frame):
5401 * frame.c (Fframe_property):
5402 * frame.c (Fset_frame_height):
5403 * frame.c (Fset_frame_size):
5407 * glyphs.c (decode_error_behavior_flag):
5408 * glyphs.c (Fmake_image_instance):
5409 * indent.c (Findent_to):
5410 * intl.c (Fignore_defer_gettext):
5411 * keymap.c (Fkeymapp):
5412 * keymap.c (Flookup_key):
5414 * lread.c (Fload_internal):
5415 * lread.c (Feval_buffer):
5416 * lread.c (Feval_region):
5417 * macros.c (Fexecute_kbd_macro):
5418 * marker.c (set_marker_internal):
5419 * marker.c (Fset_marker):
5420 * marker.c (set_marker_restricted):
5421 * marker.c (Fcopy_marker):
5422 * marker.c (noseeum_copy_marker):
5424 * menubar.c (Fpopup_menu):
5426 * mule-charset.c (Fcharset_name):
5427 * mule-charset.c (Fchar_charset):
5428 * mule-charset.c (Fchar_octet):
5429 * mule-charset.c (Fsplit_char):
5430 * mule-wnnfns.c (Fwnn_open):
5431 * mule-wnnfns.c (Fwnn_dict_comment):
5432 * mule-wnnfns.c (Fwnn_quit_henkan):
5433 * mule-wnnfns.c (Fwnn_word_toroku):
5434 * mule-wnnfns.c (Fwnn_word_sakujo):
5435 * mule-wnnfns.c (Fwnn_word_use):
5436 * mule-wnnfns.c (Fwnn_hindo_set):
5438 * objects.c (Fmake_color_instance):
5439 * objects.c (Fmake_font_instance):
5440 * print.c (Fwrite_char):
5442 * process.c (mark_process):
5443 * process.c (print_process):
5444 * process.c (get_process_from_usid):
5445 * process.c (Fprocessp):
5446 * process.c (Fprocess_live_p):
5447 * process.c (Fget_process):
5448 * process.c (Fget_buffer_process):
5449 * process.c (get_process):
5450 * process.c (Fprocess_id):
5451 * process.c (Fprocess_name):
5452 * process.c (Fprocess_command):
5453 * process.c (init_process_io_handles):
5454 * process.c (start_process_unwind):
5455 * process.c (Fstart_process_internal):
5456 * process.c (Fopen_multicast_group_internal):
5457 * process.c (Fset_process_window_size):
5458 * process.c (read_process_output):
5459 * process.c (send_process):
5460 * process.c (Fprocess_tty_name):
5461 * process.c (Fset_process_buffer):
5462 * process.c (Fprocess_buffer):
5463 * process.c (Fprocess_mark):
5464 * process.c (set_process_filter):
5465 * process.c (Fset_process_filter):
5466 * process.c (Fprocess_filter):
5467 * process.c (Fprocess_send_region):
5468 * process.c (Fprocess_send_string):
5469 * process.c (exec_sentinel):
5470 * process.c (Fset_process_sentinel):
5471 * process.c (Fprocess_sentinel):
5472 * process.c (status_notify):
5473 * process.c (Fprocess_status):
5474 * process.c (Fprocess_exit_status):
5475 * process.c (process_send_signal):
5476 * process.c (Fprocess_send_eof):
5477 * process.c (deactivate_process):
5478 * process.c (remove_process):
5479 * process.c (Fdelete_process):
5480 * process.c (kill_buffer_processes):
5481 * process.c (Fprocess_kill_without_query):
5482 * process.c (Fprocess_kill_without_query_p):
5484 * rangetab.c (Fget_range_table):
5485 * rangetab.c (Fput_range_table):
5486 * rangetab.c (Fremove_range_table):
5487 * rangetab.c (Fclear_range_table):
5489 * search.c (Fskip_chars_forward):
5490 * search.c (Fskip_chars_backward):
5491 * search.c (Fskip_syntax_forward):
5492 * search.c (Fskip_syntax_backward):
5493 * search.c (search_command):
5494 * search.c (Freplace_match):
5495 * search.c (Fregexp_quote):
5496 * select.c (Fown_selection_internal):
5497 * select.c (Fselection_owner_p):
5498 * select.c (Fselection_exists_p):
5499 * select.c (Fget_selection_internal):
5502 * symbols.c (Fintern):
5503 * symbols.c (Fintern_soft):
5504 * symbols.c (Funintern):
5505 * symbols.c (Fapropos_internal):
5506 * symbols.c (Fset_default):
5508 * syntax.c (Fsyntax_table_p):
5509 * syntax.c (Fcopy_syntax_table):
5510 * syntax.c (Fset_syntax_table):
5511 * syntax.c (Fchar_syntax):
5512 * syntax.c (syntax_match):
5513 * syntax.c (Fmatching_paren):
5514 * syntax.c (Fforward_word):
5515 * syntax.c (scan_lists):
5516 * syntax.c (Fscan_lists):
5517 * syntax.c (Fscan_sexps):
5518 * syntax.c (Fparse_partial_sexp):
5519 * toolbar.c (Fcheck_toolbar_button_syntax):
5522 * window.c (Fwindowp):
5523 * window.c (Fwindow_live_p):
5524 * window.c (Fwindow_point):
5525 * window.c (Fdelete_window):
5526 * window.c (Fnext_window):
5527 * window.c (Fprevious_window):
5528 * window.c (Fother_window):
5529 * window.c (window_loop):
5530 * window.c (Fget_lru_window):
5531 * window.c (Fsplit_window):
5532 * window.c (Fenlarge_window):
5533 * window.c (Fenlarge_window_pixels):
5534 * window.c (Fshrink_window):
5535 * window.c (Fshrink_window_pixels):
5536 * window.c (change_window_height):
5537 * window.c (Fwindow_configuration_p):
5538 * window.c (Fcurrent_window_configuration):
5540 * casefiddle.c (casify_object):
5541 * casefiddle.c (Fupcase):
5542 * casefiddle.c (Fdowncase):
5543 * casefiddle.c (Fcapitalize):
5544 * casefiddle.c (Fupcase_initials):
5545 * casefiddle.c (casify_region_internal):
5546 * casefiddle.c (casify_region):
5547 * casefiddle.c (Fupcase_region):
5548 * casefiddle.c (Fdowncase_region):
5549 * casefiddle.c (Fcapitalize_region):
5550 * casefiddle.c (Fupcase_initials_region):
5551 * casefiddle.c (Fupcase_word):
5552 * casefiddle.c (Fdowncase_word):
5553 * casefiddle.c (Fcapitalize_word):
5554 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5555 Replace 0 with '\0' when working with bytes.
5556 Replace initial "(" with "\(" in docstrings.
5558 2000-11-01 Martin Buchholz <martin@xemacs.org>
5560 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5562 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5564 2000-10-31 Martin Buchholz <martin@xemacs.org>
5566 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5568 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5570 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5573 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5575 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5576 (inhibit_auto_save_session): New variable.
5577 (vars_of_fileio): Declare and initialize them.
5578 * fileio.c (Fdo_auto_save): Don't create session file if
5579 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5581 2000-10-31 Martin Buchholz <martin@xemacs.org>
5583 * sgiplay.c (play_internal): C++ compilability.
5584 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5585 * callproc.c (Fold_call_process_internal):
5586 Remove unused vars `env', `first'.
5587 * scrollbar.c (update_scrollbar_instance):
5588 #### unused var `current_window'.
5589 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5590 etc. within #ifdef NOT_YET.
5591 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5592 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5593 * specifier.c (specifier_instance):
5594 #### unused var `tag'.
5595 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5597 2000-10-27 Martin Buchholz <martin@xemacs.org>
5600 * fns.c (list_sort):
5601 * fns.c (Ffillarray):
5602 * fns.c (bytecode_nconc2):
5605 * fns.c (Fmapconcat):
5606 Be pedantically 64-bit correct. For the time when someone will
5607 want to have a list with length > 2**32.
5609 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5610 Work around MIPSpro compiler bug.
5612 * process-unix.c (unix_kill_child_process): Add snarky comment.
5613 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5615 * config.h.in: Oops, _getpt ==> _getpty
5617 2000-10-26 Martin Buchholz <martin@xemacs.org>
5621 Use void*, not char*, as return type of alloca().
5623 * alloc.c (free_marker): Side effect inside assert expression!
5625 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5627 * mule-charset.c (Fset_charset_ccl_program): To check
5628 if the given ccl program is valid, use setup_ccl_program()
5629 instead of CHECK_VECTOR().
5630 (Fmake_charset): Likewise.
5632 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5634 * faces.c (get_extent_fragment_face_cache_index):
5635 Fix cachel.merged_faces memory leak.
5637 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5639 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5640 Reset MSB of octets obtained by DECODE_SJIS
5641 because of the incompatibility with Emacs.
5642 (ccl_driver)<CCL_ENCODE_SJIS>:
5643 Set MSB of octets before passing them to
5644 ENCODE_SJIS because of the incompatibility
5647 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5649 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5650 (DECLARE_LRECORD): Undo the last change.
5651 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5653 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5655 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5656 the implementation to lrecord_implementations_table.
5658 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5660 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5661 initial value of `lrecord_type_##c_name' and
5662 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
5663 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
5664 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
5665 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
5666 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
5668 2000-10-17 Martin Buchholz <martin@xemacs.org>
5670 * miscplay.c (sndcnv8S_2mono):
5671 (sndcnv2monounsigned):
5672 (sndcnvULaw_2linear):
5674 Remove implementation-defined behavior.
5676 2000-10-12 Martin Buchholz <martin@xemacs.org>
5678 * input-method-xlib.c: Warning suppression.
5680 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
5682 * mule-ccl.c: Sync up with Emacs 21.0.90.
5683 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
5685 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
5687 (ccl_driver[WriteMultibyteChar2]): Bug fix.
5688 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
5689 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
5690 leading char belongs to official 2-dimensional charset.
5691 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
5692 write the given character as is. Otherwise,
5693 if it is a multibyte char, convert it by
5694 non_ascii_set_charptr_emchar, then write it.
5695 (CCL_WRITE_STRING): Likewise.
5696 (ccl_get_compiled_code): New function.
5697 (setup_ccl_program): When ccl_prog is invalid,
5699 (Fregister_code_conversion_map): New function.
5700 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
5702 * mule-ccl.h: Sync up with Emacs 21.0.90.
5703 (Fregister_ccl_program): export it.
5705 * redisplay-msw.c (separate_textual_runs):
5706 If ccl program is not valid, don't do ccl conversion.
5708 * redisplay-x.c (separate_textual_runs): Ditto.
5710 * file-coding.c (Fmake_coding_system):
5711 When type is ccl and value is vector, register it
5712 with a proper symbol. And checks whether the
5713 given ccl program is valid.
5714 (mule_decode): When calling ccl_driver, if src indicates
5715 NULL pointer, set an empty string instead.
5716 (mule_encode): Likewise.
5718 2000-10-11 Martin Buchholz <martin@xemacs.org>
5720 The following large batch of changes gets us back to a state of
5721 C++ compilability. Extbyte is now a char, which means that
5722 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
5724 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
5726 * sound.c (Fplay_sound): Type correctness.
5728 * select-x.c (hack_motif_clipboard_selection): Type correctness.
5729 (x_get_window_property): Type correctness.
5730 (receive_incremental_selection): unsigned char ==> Extbyte
5731 (selection_data_to_lisp_data): unsigned char ==> Extbyte
5732 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
5733 (Fx_store_cutbuffer_internal): Type correctness.
5735 * process-unix.c (try_to_initialize_subtty): Type correctness.
5737 * objects-x.c (x_print_color_instance): Type correctness.
5738 (x_print_font_instance): Type correctness.
5739 (x_list_fonts): SExtbyte ==> Extbyte.
5740 (valid_x_font_name_p): SExtbyte ==> Extbyte.
5741 (x_find_charset_font): SExtbyte ==> Extbyte.
5742 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
5743 (truename_via_XListFonts): SExtbyte ==> Extbyte.
5744 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
5747 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
5748 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
5749 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
5750 (BYTE_C0_P): Use bit ops for char-signedness safety.
5751 (BYTE_C1_P): Use bit ops for char-signedness safety.
5752 (CHARSET_BY_LEADING_BYTE):
5753 (CHARSET_BY_ATTRIBUTES):
5754 Always use inline function.
5755 Use type_checking_assert.
5758 * mule-charset.c (non_ascii_charptr_copy_char):
5759 Modify to work with both ASCII and non-ASCII characters.
5760 Improve docs and variable names.
5761 Replace over-clever fall-through switch with a simple loop.
5762 (Lstream_get_emchar_1):
5763 Replace over-clever fall-through switch with a simple loop.
5765 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5766 Warning suppression.
5768 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
5769 the return value of Lstream_getc, which could be EOF as well.
5771 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
5773 * lisp.h: Make Extbyte a char, not unsigned char, so that external
5774 APIs can be used on Extbytes without casts. Risky!
5778 * input-method-xlib.c (XIM_init_device):
5779 Use Xlib.h instead of IntrinsicP.h.
5780 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
5781 which will break in X11R7.
5782 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
5783 to call XRegisterIMInstantiateCallback with correct types.
5785 * gui-x.c (button_item_to_widget_value): Type correctness.
5787 * glyphs.c (bitmap_to_lisp_data): Type correctness.
5789 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
5790 (xbm_instantiate_1): Type correctness.
5791 (BUILD_GLYPH_INST): Type correctness.
5793 * fileio.c (Fsubstitute_in_file_name): Type correctness.
5796 (decode_coding_sjis):
5797 (decode_coding_big5):
5798 (decode_coding_ucs4):
5799 (decode_coding_utf8):
5800 (decode_coding_iso2022):
5801 (decode_coding_no_conversion):
5802 Make all decoding functions take an Extbyte * arg.
5803 (encode_coding_sjis):
5804 (encode_coding_big5):
5805 (encode_coding_ucs4):
5806 (encode_coding_utf8):
5807 (encode_coding_iso2022):
5808 (encode_coding_no_conversion):
5809 Make all encoding functions take a Bufbyte * arg.
5810 Use size_t instead of unsigned int for memory sizes.
5811 Only cast to unsigned char whenever dereferencing Extbyte *.
5813 * doc.c (unparesseuxify_doc_string): Type correctness.
5815 * console-x.c (split_up_display_spec):
5816 Rewrite without using details of internal string representation.
5817 (x_semi_canonicalize_device_connection): Type correctness.
5820 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
5821 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
5822 (HAVE_XFREE386): Removed.
5824 * buffer.h (DEC_CHARPTR): `const' correctness.
5825 (bufbyte_strcmp): New.
5826 (bufbyte_memcmp): New.
5828 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
5830 * buffer.h (XCHAR_OR_CHAR_INT):
5831 Always use inline function.
5832 Remove redundant type checking assert() - XINT will abort quite nicely.
5834 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
5836 * search.c (Freplace_match): Set newtext to an empty string.
5838 2000-10-10 Martin Buchholz <martin@xemacs.org>
5840 * s/decosf1-3.h: Remove #include of stropts.h
5841 * s/ptx.h: Remove #include of stropts.h
5842 * s/usg5-4.h: Remove #include of stropts.h
5845 Use stropts.h, not sys/stropts.h.
5846 Use strtio.h, not sys/strtio.h.
5848 2000-10-04 Martin Buchholz <martin@xemacs.org>
5850 * XEmacs 21.2.36 is released.
5852 2000-09-21 Andy Piper <andy@xemacs.org>
5854 * glyphs-x.c (x_redisplay_widget): make sure non-structural
5855 changes still involve copying the widget tree.
5856 (update_widget_face): make sure a change is register in the widget
5857 tree. Call update_tab_widget_face appropriately.
5858 (update_tab_widget_face): ditto.
5859 (x_tab_control_redisplay): make sure non-structural changes still
5860 involve copying the widget tree.
5862 2000-08-31 Daiki Ueno <ueno@unixuser.org>
5864 * lread.c (locate_file): Check the path element is non-nil.
5866 2000-10-02 Martin Buchholz <martin@xemacs.org>
5868 * lisp.h: Warning suppression for SCO compilers.
5870 * redisplay-tty.c (reset_tty_modes): Fix crash.
5871 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
5873 2000-09-27 Martin Buchholz <martin@xemacs.org>
5875 Big signal/process handling overhaul. Bugs fixed:
5876 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
5877 M-x comint-kill-subjob should work for both values nil and t of
5878 process-connection-type. It was broken on most platforms.
5879 Testing on Irix and Cygwin still needed. Other plaforms tested.
5880 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
5881 * process-unix.c: Signal/Process handling overhaul.
5882 (pty_name): make 64 bytes, as `expect' does, for paranoia.
5883 (allocate_pty): Use all available modern methods of allocating
5884 ptys, falling back to old style BSD allocation as a last resort.
5885 Use allegedly more secure Unix98 pty allocation by default.
5886 (allocate_pty_the_old_fashioned_way): New. the last resort.
5887 (unix_create_process): Push ptem, ldterm, ttcompat where
5888 available. Autoconfiscate.
5889 (try_to_initialize_subtty): New.
5890 (unix_kill_child_process): Proper signal handling for ptys on most
5891 platforms, using special knowledge of AIX, BSD, etc...
5892 (unix_create_process): Always disconnect_controlling_terminal() for
5893 subprocesses, whether using ptys or not.
5894 * process.h: Remove old getpt-dependent PTY code.
5895 * process.c (Fprocess_send_signal): New, obvious generic function.
5896 (decode_signal): New.
5897 (Finterrupt_process):
5901 (Fcontinue_process):
5902 (Fsignal_process): Use decode_signal.
5903 (process_send_signal):
5904 Many docstring corrections.
5905 Allow any signal to be sent to a process object.
5906 * config.h.in: Add symbols for big signal/process overhaul.
5907 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
5908 * sysproc.h: Include process-related headers, where available:
5909 sys/stropts.h sys/strtio.h pty.h libutil.h
5917 Remove old S&M pty stuff.
5918 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
5919 * systty.h: Simplify cpp hackery, improve comments.
5920 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
5922 * editfns.c (Fformat_time_string):
5923 Be a little more paranoid with the return value of ctime.
5925 * fileio.c (check_executable):
5927 Use symbolic constants X_OK, W_OK.
5929 * console-x.c (split_up_display_spec): Fix a warning.
5931 2000-10-02 Martin Buchholz <martin@xemacs.org>
5933 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
5934 * ntproc.c (sys_spawnve): make_string ==> build_string
5935 Small clarity improvements.
5937 2000-09-30 Martin Buchholz <martin@xemacs.org>
5939 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
5941 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
5943 * config.h.in (HAVE_STRCASECMP): Remove.
5945 2000-09-29 Martin Buchholz <martin@xemacs.org>
5947 * redisplay-output.c (redisplay_output_pixmap):
5948 Cleaner and possibly more 64-bit correct code.
5950 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5952 * dumper.c (pdump_load_finish): move restoration of
5953 `noninteractive1' to emacs.c (main_1).
5954 * emacs.c (main_1): protect LISP-visible command-line flags
5957 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
5959 * Makefile.in.in (versionclean): Use EXE_TARGET and
5960 DUMP_TARGET instead of literal program names.
5962 2000-09-20 Martin Buchholz <martin@xemacs.org>
5964 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
5966 2000-09-19 Martin Buchholz <martin@xemacs.org>
5968 * *: Spelling mega-patch
5970 2000-09-19 Martin Buchholz <martin@xemacs.org>
5972 * fns.c (bad_bad_turtle):
5973 Delete "Eek!" comment, since we fixed the bug to which it refers.
5975 2000-09-16 Martin Buchholz <martin@xemacs.org>
5977 * alloca.c: Replace REGISTER with register.
5979 2000-09-16 Daiki Ueno <ueno@unixuser.org>
5981 * file-coding.c (ucs_to_char): Use countof.
5983 2000-09-16 Martin Buchholz <martin@xemacs.org>
5985 * file-coding.c: (ucs_to_char):
5986 (complex_vars_of_file_coding):
5987 Use countof instead of sizeof.
5988 Use CHECK_NATNUM instead of CHECK_INT.
5990 * sysdep.c (strcasecmp): Remove.
5991 * device-x.c (ascii_strcasecmp): New.
5992 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
5993 Avoid using non-standard non-portable strcasecmp.
5995 2000-09-16 Martin Buchholz <martin@xemacs.org>
5997 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
5998 * font-lock.c: remove reference to emacsfns.h.
5999 * search.c: small doc improvement.
6000 * event-Xt.c: correct file names in comments.
6001 * console-x.h Correct file names in comments.
6002 * frame.c: Correct file names in comments.
6003 * event-stream.c: remove Energize from comments.
6005 2000-09-15 Martin Buchholz <martin@xemacs.org>
6007 * symeval.h (DEFERROR_STANDARD):
6010 (DEFSYMBOL_NO_DUMP):
6011 (DEFSYMBOL_MULTIWORD_PREDICATE):
6012 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
6014 The construct &##name is not sensible C.
6015 Fixes compilation errors with Unixware native compiler.
6017 2000-09-14 Martin Buchholz <martin@xemacs.org>
6019 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
6020 (next_frame_internal): Removed. We now just have next_frame.
6022 Write a simpler and cleaner one-pass algorithm.
6023 Remove called_from_delete_device arg and #ifdefed-out code.
6025 Renamed from prev_frame. Update callers.
6026 Cleaned up to have an analogous implementation to next_frame.
6027 (other_visible_frames_internal): Remove the
6028 called_from_delete_device bogus arg, and hence, remove this
6029 function. Just use other_visible_frames().
6031 * window.c (Fnext_window):
6033 Since next_frame() is guaranteed to return a frame, remove check
6034 for nil inserted in previous patch.
6037 Make code look more like Fnext_window.
6039 Respect the `console' arg when iterating through windows.
6040 Fixes bug: (get-buffer-window buffer t device) not respecting
6042 This function needs more work, as others have pointed out.
6044 * frame.h: Rename prev_frame to previous_frame.
6045 device_matches_console_spec no longer takes a `frame' arg.
6050 Use EMACS_BLOCK_SIGNAL instead of sigblock.
6051 From "Golubev I. N." <gin@mo.msk.ru>.
6053 * make-src-depend: Fix typo.
6055 2000-09-13 Martin Buchholz <martin@xemacs.org>
6057 * window.c (Fnext_window):
6058 next_frame() might return nil, not a frame.
6060 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6062 * frame.c (next_frame_internal):
6063 We've passed a frame if we've passed its device.
6065 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6066 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
6068 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6070 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6071 Allow option to suppress accelerators in menu/dialog items.
6072 (populate_or_checksum_helper): Pass dialog title through above.
6074 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6076 * event-msw.c (mswindows_key_to_emacs_keysym):
6077 Add "pause" key, fix "menu" key.
6079 2000-09-09 Martin Buchholz <martin@xemacs.org>
6081 * eval.c (reinit_vars_of_eval):
6082 Increase max_lisp_eval_depth to 1000,
6083 required for thai-xtis.el to byte-compile under some circumstances.
6085 2000-09-04 Martin Buchholz <martin@xemacs.org>
6087 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6090 2000-09-01 Martin Buchholz <martin@xemacs.org>
6092 * make-src-depend: Make the generated Makefiles smaller.
6094 * s/hpux.h (SETUP_SLAVE_PTY):
6095 Provide a %d in the format string for the errno argument.
6097 * editfns.c (Ftemp_directory):
6099 Avoid buffer overrun on very long file name.
6101 * input-method-xlib.c (XIM_init_device):
6102 6th parameter of XRegisterIMInstantiateCallback has different
6103 pointer types on different OSes, so simply cast to (void *).
6105 * unexhp9k800.c: Warning fixes. Fiddly changes.
6107 * sysdll.c (dll_open):
6108 shl_load will hang hard if passed a NULL filename.
6109 Simply return NULL for compatibility with dlopen.
6110 * sysdll.c: Conform to XEmacs coding standards.
6112 * sysdep.c (get_pty_max_bytes):
6113 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6115 2000-08-31 Martin Buchholz <martin@xemacs.org>
6117 * tooltalk.c: Add #include <syssignal.h>
6119 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6121 * s/hpux.h: Don't use undefined function sigunblock().
6123 2000-08-31 Martin Buchholz <martin@xemacs.org>
6125 * config.h.in: Add HAVE_BALLOON_HELP.
6126 * emacs.c: Use HAVE_BALLOON_HELP.
6127 * Makefile.in.in (x_objs):
6128 Make Balloon Help conditional on finding shape.h.
6130 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6132 * syntax.c (regex_emacs_buffer_p): New variable.
6133 * syntax.h (regex_emacs_buffer_p): extern.
6134 * search.c (looking_at_1):
6136 (fast_string_match):
6137 (search_buffer): Set regex_emacs_buffer_p.
6138 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6139 when before_dot, at_dot, after_dot.
6141 2000-08-23 Andy Piper <andy@xemacs.org>
6143 * gui-x.c (popup_selection_callback): Only set action_occurred
6144 when we really have an image instance.
6145 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6147 2000-08-23 Andy Piper <andy@xemacs.org>
6149 * gui-msw.c (mswindows_handle_gui_wm_command): set
6151 * gui-x.c (popup_selection_callback): ditto.
6153 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6154 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6155 (struct Lisp_Image_Instance): add action_occurred flag.
6157 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6158 (image_instance_changed): ditto.
6159 (reset_frame_subwindow_instance_cache): only unmap windows - do
6160 not remove them from the cache also.
6162 * glyphs-widget.c (tab_control_update): better debug.
6163 (progress_gauge_update): ditto.
6164 (layout_update): ditto.
6165 (layout_instantiate): ditto.
6166 (tab_control_order_only_changed): cope with null pending items.
6168 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6169 debug. Force selection of an item when an action occurred. Cope
6170 with null pending_items.
6171 (mswindows_progress_gauge_redisplay): better debug.
6172 * glyphs-x.c (x_tab_control_redisplay): ditto.
6174 * redisplay.c (redisplay_frame): reset the frame cache if the
6177 * window.c (Fset_window_configuration): potentially re-enable
6179 (window_unmap_subwindows): need to finalize instances here since
6180 it is only used in mark_window_as_deleted.
6182 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6184 * nas.c (SndOpenDataForReading):
6185 nas.c (WaveOpenDataForReading):
6186 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6187 Somehow escaped from the 2000-08-14 patch.
6189 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6191 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6192 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6194 2000-08-21 Andy Piper <andy@xemacs.org>
6196 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6197 window if it is not already displayed.
6199 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6200 it is not already displayed.
6202 * window.c (Fset_window_configuration): don't reset the frame
6205 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6206 instances from the frame cache if we are actually finalizing them.
6207 (reset_frame_subwindow_instance_cache): reset frame cache only
6208 after unmapping everything.
6209 (map_subwindow): set displayed flag after mapping.
6211 2000-08-21 Martin Buchholz <martin@xemacs.org>
6213 * data.c (indirect_function):
6214 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6216 * eval.c (function_argcount):
6217 Use original function when signaling errors.
6219 2000-08-18 Andy Piper <andy@xemacs.org>
6221 * frame.c (delete_frame_internal): use new
6222 free_frame_subwindow_instances name.
6224 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6225 (add_tab_item): make return type correct.
6226 (mswindows_tab_control_instantiate): assert index of tab.
6227 (mswindows_tab_control_redisplay): Re-code to use
6228 gui_item_equal_sans_selected and gui_item_list_find_selected.
6230 * glyphs-widget.c (tab_control_update): Correct comment.
6232 * window.c (window_unmap_subwindows): use new
6233 unmap_subwindow_instance_cache_mapper.
6234 (window_unmap_subwindows_cache_mapper): deleted.
6235 (Fset_window_configuration): comparisons should now be with
6236 EQ. Preserve the subwindow instance cache across configuration
6238 (allocate_window): ditto.
6239 (make_dummy_parent): ditto.
6241 * glyphs.c (free_frame_subwindow_instances): rename from
6242 free_frame_subwindow_instance_cache. finalize all instances rather
6243 than just those in the display cache.
6244 (finalize_all_subwindow_instances): walk windows unmapping and
6245 finalizing subwindows.
6246 (unmap_subwindow_instance_cache_mapper): moved from
6247 window.c. Allow finalization as well as unmapping.
6249 * gui.c (gui_item_list_find_selected): new function.
6251 * gui.h (gui_item_list_find_selected): declare.
6253 * glyphs-x.c (x_tab_control_redisplay): pick tab
6254 explicitly. Re-code to use gui_item_equal_sans_selected and
6255 gui_item_list_find_selected.
6257 * glyphs-x.h: add lwlib-utils.h
6259 * buffer.c (Frecord_buffer): undo previous change.
6261 2000-08-09 Vin Shelton <acs@xemacs.org>
6263 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6264 possible. Create temporary files more securely. The patch was
6265 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6266 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6267 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6270 2000-08-07 Ben Wing <ben@xemacs.org>
6272 * getloadavg.c: remove duplicate (and windows-breaking)
6273 includes of fcntl.h and sys/file.h.
6275 * nt.c: remove duplicate getloadavg() definition.
6277 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6280 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6282 * eval.c (function_argcount): If function needs to be autoloaded
6283 actually use the loaded definition.
6286 2000-08-05 Ben Wing <ben@xemacs.org>
6288 * getloadavg.c: add prototype for getloadavg(). remove
6289 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6290 of the code). remove duplicate header includes.
6292 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6294 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6295 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6296 useful load average.
6298 * alloc.c (reinit_alloc_once_early): removed references to
6299 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6300 the lisp vars are the only things referencing the malloc_sbrk_*
6301 vars, and they were already if 0'd out. these vars only exist
6302 in the older malloc.c, which is basically unused, and they're
6303 only for informational purposes.
6305 * m\*.h: removed useless VIRT_ADDR_VARIES.
6307 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6309 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6311 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6312 color if the image is a mono pixmap.
6314 2000-07-30 Ben Wing <ben@xemacs.org>
6316 * Makefile.in.in (release):
6319 * buffer.c (directory_is_current_directory):
6320 * dired-msw.c (mswindows_get_files):
6322 * dired.c (Fdirectory_files):
6323 * dired.c (file_name_completion_stat):
6324 * dired.c (Ffile_attributes):
6325 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6326 preprocessor tricks, to avoid problems on some machines
6329 * callproc.c (egetenv): GC docs.
6332 * console-msw.h (struct mswindows_dialog_id):
6333 * lrecord.h (lrecord_type):
6334 New object for use with MSW dialogs.
6336 * console.h (struct console_methods):
6337 New enable/disable frame methods, for proper modal dialogs.
6339 * device-msw.c (msprinter_default_printer): Fix to follow
6340 proper Mule conventions.
6343 * device-msw.c (signal_open_printer_error):
6344 * device-msw.c (msprinter_init_device):
6345 * device-msw.c (ensure_not_printing):
6346 * device-msw.c (plist_get_margin):
6347 * device-msw.c (Fmsprinter_select_settings):
6348 * device-msw.c (finalize_devmode):
6349 * device-msw.c (Fmsprinter_settings_despecialize):
6350 * device-msw.c (signal_enum_priner_error):
6351 * extents.c (decode_extent):
6352 * extents.c (decode_map_extents_flags):
6353 * extents.c (decode_extent_at_flag):
6354 * extents.c (Fextent_at):
6355 * extents.c (Fextents_at):
6356 * extents.c (symbol_to_glyph_layout):
6357 [[[[2]]]] Use structured errors.
6360 * dialog-msw.c (mswindows_is_dialog_msg):
6361 * dialog-msw.c (mark_mswindows_dialog_id):
6362 * dialog-msw.c (dialog_proc):
6363 * dialog-msw.c (handle_question_dialog_box):
6364 * dialog-msw.c (syms_of_dialog_mswindows):
6365 Define new object to clean up marking; use it as a dialog identifier.
6366 Call new delete-dialog-box-hook.
6368 * dialog-x.c (dbox_selection_callback):
6369 * dialog-x.c (dbox_descriptor_to_widget_value):
6370 * dialog-x.c (x_make_dialog_box_internal):
6371 Call new delete-dialog-box-hook.
6375 * dialog.c (syms_of_dialog):
6376 * dialog.c (vars_of_dialog):
6377 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6380 * eval.c (signal_call_debugger):
6381 when noninteractive, output stack traces on the console instead
6382 of in a (never-seen) buffer.
6384 * eval.c (signal_type_error):
6385 * eval.c (invalid_argument_2):
6387 new funs for use w/structured errors.
6390 * event-Xt.c (x_to_emacs_keysym):
6391 * event-Xt.c (describe_event):
6392 * event-Xt.c (emacs_Xt_event_handler):
6393 * event-Xt.c (vars_of_event_Xt):
6395 * event-msw.c (mswindows_wnd_proc):
6396 * event-msw.c (vars_of_event_mswindows):
6397 rename {x,mswindows}-debug-events to debug-{}-events for
6398 consistency with other debug-foo variables.
6401 document next-event more clearly.
6403 * fileio.c (Ffile_name_directory):
6404 * fileio.c (Ffile_name_nondirectory):
6405 * fileio.c (Funhandled_file_name_directory):
6406 * fileio.c (file_name_as_directory):
6407 * fileio.c (Ffile_name_as_directory):
6408 * fileio.c (directory_file_name):
6409 * fileio.c (Fdirectory_file_name):
6410 * fileio.c (Fmake_temp_name):
6411 * fileio.c (Ffile_truename):
6412 * fileio.c (Fsubstitute_in_file_name):
6413 * fileio.c (expand_and_dir_to_file):
6414 * fileio.c (barf_or_query_if_file_exists):
6415 * fileio.c (check_executable):
6416 * fileio.c (Ffile_exists_p):
6417 * fileio.c (Ffile_writable_p):
6418 * fileio.c (Ffile_directory_p):
6419 * fileio.c (Ffile_regular_p):
6420 * fileio.c (Ffile_modes):
6421 * fileio.c (Ffile_newer_than_file_p):
6422 * fileio.c (Fverify_visited_file_modtime):
6423 * fileio.c (Fset_visited_file_modtime):
6424 * fileio.c (auto_save_1):
6429 * frame-msw.c (mswindows_init_frame_1):
6430 * frame-msw.c (mswindows_enable_frame):
6431 * frame-msw.c (error_frame_unsizable):
6432 * frame-msw.c (msprinter_init_frame_1):
6433 * frame-msw.c (msprinter_init_frame_3):
6434 * frame-msw.c (console_type_create_frame_mswindows):
6436 implement new enable/disable frame methods.
6439 * frame-x.c (x_enable_frame):
6440 * frame-x.c (console_type_create_frame_x):
6441 implement new enable/disable frame methods.
6444 * frame.c (Fdisable_frame):
6445 * frame.c (syms_of_frame):
6446 * frame.h (struct frame):
6447 implement new enable/disable frame methods/functions.
6452 * glyphs-msw.c (mswindows_widget_instantiate):
6453 comment that initial-focus should be implemented.
6456 * glyphs-widget.c (check_valid_instantiator):
6457 * glyphs-widget.c (check_valid_orientation):
6458 * glyphs-widget.c (check_valid_tab_orientation):
6459 * glyphs-widget.c (check_valid_justification):
6460 * glyphs-widget.c (check_valid_border):
6461 * glyphs-widget.c (check_valid_callback):
6462 * glyphs-widget.c (check_valid_int_or_function):
6463 * glyphs-widget.c (check_valid_string_or_vector):
6464 * glyphs-widget.c (check_valid_item_list_1):
6465 * glyphs-widget.c (widget_validate):
6466 * glyphs-widget.c (combo_box_validate):
6467 * glyphs-widget.c (widget_instantiate):
6468 * glyphs-widget.c (syms_of_glyphs_widget):
6469 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6470 * glyphs-widget.c (image_instantiator_combo_box):
6471 * glyphs-widget.c (image_instantiator_scrollbar):
6472 * glyphs-widget.c (image_instantiator_tab_control):
6473 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6475 support (unimplemented) keyword initial-focus.
6476 reindent long macros.
6478 * glyphs-x.c (x_redisplay_widget):
6479 * glyphs-x.c (x_button_instantiate):
6480 * glyphs-x.c (x_button_redisplay):
6481 * glyphs-x.c (x_progress_gauge_instantiate):
6482 * glyphs-x.c (x_edit_field_instantiate):
6483 * glyphs-x.c (x_combo_box_instantiate):
6484 * glyphs-x.c (x_tab_control_instantiate):
6485 * glyphs-x.c (x_label_instantiate):
6487 * gui-x.c (button_item_to_widget_value):
6488 * gui-x.c (gui_items_to_widget_values_1):
6489 * gui-x.c (gui_item_children_to_widget_values):
6490 * gui-x.c (gui_items_to_widget_values):
6492 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6493 add new flag to gui-parsing routines to indicate whether
6494 accelerator specs should be supported.
6496 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6498 * glyphs.h (struct Lisp_Image_Instance):
6499 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6500 add initial-focus flag.
6503 * gui.c (syms_of_gui):
6504 * gui.c (vars_of_gui):
6505 clean up menu-no-selection-hook.
6508 support delete-dialog-box-hook.
6510 * lread.c (Fload_internal):
6511 * lread.c (locate_file_in_directory_mapper):
6515 * lrecord.h (struct toolbar_button):
6516 * lrecord.h (syms_of_toolbar):
6517 document how to create a new object.
6519 * menubar-msw.c (mswindows_char_is_accelerator):
6520 may be called on frames w/o menus.
6522 * menubar.c (vars_of_menubar):
6523 clean up :filter docs.
6530 * process-nt.c (validate_signal_number):
6531 * process-nt.c (signal_cannot_launch):
6532 * process-nt.c (nt_create_process):
6533 * process-nt.c (nt_send_process):
6534 * process-nt.c (nt_kill_child_process):
6535 * process-nt.c (nt_open_network_stream):
6536 * process-nt.c (syms_of_process_nt):
6538 delete quote-handling. call new lisp code that does it better.
6540 * process-unix.c (connect_to_file_descriptor):
6541 * process-unix.c (allocate_pty):
6542 * process-unix.c (unix_send_process):
6543 * process-unix.c (unix_kill_child_process):
6544 * process-unix.c (unix_open_network_stream):
6545 * process-unix.c (unix_open_multicast_group):
6549 * process.c (Fstart_process_internal):
6550 (2). need to canonicalize process path even if absolute.
6552 * select-msw.c (symbol_to_ms_cf):
6553 * select-msw.c (ms_cf_to_symbol):
6554 * select-msw.c (cf_is_autofreed):
6555 * select-msw.c (mswindows_destroy_selection):
6557 * select.c (syms_of_select):
6559 support dibv5, fix bugs. (from Mike Alexander)
6561 * select.c (Fget_selection_internal):
6562 * select.c (select_convert_out):
6565 * sysdep.c (xemacs_stat):
6570 but keep original stat() here because we provide encapsulation
6574 * sysfile.h (fstat):
6575 remove stat garbage.
6579 don't include tchar.h. it's inappropriate because it makes
6580 compile-time distinctions when we want runtime distinctions.
6581 (we provide our own tchar replacements)
6584 use default object printer for toolbar-button.
6587 make sure we don't encapsulate.
6589 * window.c (vars_of_window):
6590 emphasize that temp-buffer-show-hook is obsolete.
6592 2000-08-05 Martin Buchholz <martin@xemacs.org>
6594 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6595 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6597 * events.c (Fevent_timestamp_lessp):
6598 Not 64-bit clean. Use EMACS_INT, not int.
6600 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6602 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6603 unsigned int and changed the last enum to
6604 lrecord_type_last_built_in_type.
6605 (lrecord_implementations_table): changed prototype to know how
6606 long the array is supposed to be.
6607 (lrecord_type_count): new unsigned int to keep track of the
6608 current number of lisp lrecord types.
6609 (DEFINE_EXTERNAL_LRECORD):
6610 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6611 dynamic-modules to declare new lisp types. They are the same
6612 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6613 int for each new type, and increment lrecord_type_count by 1.
6615 * alloc.c (lrecord_implementations_table): Changed to reference
6616 lrecord_type_last_built_in_type for the size of the array.
6617 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6619 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6621 * glyphs.h (check_valid_item_list): Renamed from
6622 check_valid_item_list_1.
6624 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6626 * select.c (Qselect_coerce): New.
6627 * select.c (Vselection_coercion_alist): New.
6628 * select.c (syms_of_select): Declare.
6629 * select.c (get-selection-internal): Use it.
6630 Use the new select-coerce functionality.
6632 * select.c (select_coerce): New.
6633 * select.h (select_coerce): Declare.
6634 New function to coerce one type of data into another.
6636 2000-08-03 Martin Buchholz <martin@xemacs.org>
6638 * callproc.c (Fcall_process_internal):
6639 (Fcall_process_internal):
6640 * process-unix.c (unix_create_process):
6641 Save and restore the value of errno, so that error messages are accurate.
6643 2000-08-01 Martin Buchholz <martin@xemacs.org>
6645 * elhash.c (print_hash_table):
6646 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6647 Prettify docstrings and indentation.
6649 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6651 * window.c (Fwindow_pixel_edges): Subtract frame border and
6654 2000-07-31 Andy Piper <andy@xemacs.org>
6656 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6657 will acknowledge the change.
6659 * glyphs.h: declare tab_control_order_only_changed.
6661 * glyphs-x.c (x_tab_control_redisplay): use
6662 tab_control_order_only_changed.
6664 * glyphs-widget.c (tab_control_order_only_changed): new function.
6666 * glyphs-msw.c (mswindows_tab_control_redisplay): use
6667 tab_control_order_only_changed.
6669 * gui.c (gui_item_equal_sans_selected): new function.
6670 (gui_item_equal): use it.
6672 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
6673 :properties in favor of :items..
6675 * glyphs-widget.c (check_valid_item_list): rename from
6676 check_valid_item_list_1.
6677 (check_valid_item_list_1): renamed.
6678 (combo_box_validate): deprecate :properties in favor of :items.
6679 (widget_instantiate): ditto.
6680 (tab_control_update): ditto.
6681 (image_instantiator_combo_box): ditto.
6682 (image_instantiator_tree_view): ditto.
6683 (image_instantiator_tab_control): ditto.
6684 (layout_post_instantiate): remove dead code.
6686 * print.c (debug_print_no_newline): only write to debugger if in
6689 * elhash.c (Fmake_hash_table): update doc string.
6691 * event-msw.c (mswindows_wnd_proc): don't allow processing of
6692 messages whilst in GC. This at least stops XEmacs crashing but has
6693 the potential for wierd behaviour.
6695 2000-07-31 Martin Buchholz <martin@xemacs.org>
6698 Make existence of s&m files optional.
6700 * s/bsd386.h: Remove HAVE_GETLOADAVG.
6701 * s/freebsd.h: Remove HAVE_GETLOADAVG.
6702 * s/gnu.h: Remove HAVE_GETLOADAVG.
6703 * s/netbsd.h: Remove HAVE_GETLOADAVG.
6704 * s/sol2.h: Remove HAVE_GETLOADAVG.
6705 * lisp.h: Remove getloadavg() declaration.
6707 Include <sys/loadavg.h> if available.
6708 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
6709 * config.h.in: Group together getloadavg()-related macros.
6710 Use only configure-time tests to detect getloadavg().
6712 2000-07-30 Martin Buchholz <martin@xemacs.org>
6714 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
6716 2000-07-25 Andy Piper <andy@xemacs.org>
6718 * syswindows.h: add tchar.h for native builds.
6720 * frame.c (syms_of_frame): remove set-glyph-image.
6722 * general-slots.h: add Qset_glyph_image.
6724 * glyphs-widget.c (layout_update): add domain arg to
6726 (syms_of_glyphs_widget): remove set-glyph-image.
6728 2000-07-23 Ben Wing <ben@xemacs.org>
6730 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
6733 2000-07-22 Andy Piper <andy@xemacs.org>
6735 * symsinit.h: add syms_of_win32().
6737 * gui-msw.c (syms_of_gui_mswindows): remove
6738 Fmswindows_shell_execute.
6739 (Fmswindows_shell_execute): moved to win32.c.
6741 * emacs.c (main_1): add syms_of_win32 ().
6743 * win32.c (init_potentially_nonexistent_functions): rewrite in
6744 compiler-friendly terms.
6745 (Fmswindows_shell_execute): move here from gui-msw.c.
6746 (syms_of_win32): new.
6748 * device-msw.c (Fmswindows_printer_list): clean up args to
6750 Don't include tchar under cygwin or mingw.
6751 (msprinter_default_printer): make cygwin-friendly.
6753 2000-07-21 Andy Piper <andy@xemacs.org>
6755 * glyphs-widget.c (image_instantiator_tree_view): use tab
6756 control's update function.
6757 (layout_property): new function. Retrieve items.
6759 * glyphs-msw.c (mswindows_tree_view_redisplay): new
6760 function. Re-populate the tree view from the pending items.
6762 * glyphs.c (instantiate_image_instantiator): Make sure the domain
6763 is designated the parent if the domain is an image instance. This
6764 is needed so that dirtiness can be cascade up the hierarchy and
6765 thus for layout children to be redisplayed correctly.
6766 (allocate_image_instance): rename glyph -> parent.
6768 * redisplay.h: change redisplay_output_layout signature.
6770 * redisplay-msw.c (mswindows_output_display_block): use domain
6773 * redisplay-x.c (x_output_display_block): use domain arg.
6775 2000-07-10 Andy Piper <andy@xemacs.org>
6777 * window.c (Fset_window_configuration): add comment.
6779 * redisplay-output.c (compare_runes):
6780 (redisplay_output_subwindow): redisplay rather than update subwindow.
6781 (redisplay_output_layout): ditto.
6783 * redisplay-msw.c (mswindows_frame_output_end):
6784 (mswindows_frame_output_end): make defer window pos optional.
6786 * lisp.h: add Flast.
6788 * glyphs.h (struct image_instantiator_methods): add dest_mask top
6789 normalize method. Change update method to be for changed
6790 instantiators. Add redisplay method. Change signature of layout
6792 (struct Lisp_Image_Instance): add instantiator.
6793 (IMAGE_INSTANCE_INSTANTIATOR): new.
6794 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
6795 (XIMAGE_INSTANCE_INSTANTIATOR): new.
6796 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
6799 (find_instantiator_differences): new function.
6800 (Fset_instantiator_property): new convenience function.
6801 (check_image_instance_structure): strictly check for vector
6803 (normalize_image_instantiator): make non-static.
6804 (instantiate_image_instantiator): pass on dest_mask and use new
6805 signatures for image_instance_layout and friends.
6806 (mark_image_instance): mark the instantiator. Mark the subwindow
6807 face not the widget face.
6808 (image_instance_equal): add instantiator.
6809 (image_instance_hash): ditto.
6810 (allocate_image_instance): ditto.
6811 (Fset_image_instance_property): removed.
6812 (Fimage_instance_file_name): ditto.
6813 (Fcolorize_image_instance): ditto.
6814 (image_instance_layout): add offsets to be set.
6815 (update_image_instance): new function. update an image instance
6816 from its changed instantiator.
6817 (inherit_normalize): add dest_mask.
6818 (xbm_normalize): ditto.
6819 (xface_normalize): ditto.
6820 (xpm_normalize): ditto.
6821 (text_update): set_property -> update.
6822 (image_instantiate): use the glyph identity as a hash key, not the
6824 (glyph_width): use new image_instance_layout signature.
6825 (glyph_ascent): ditto.
6826 (glyph_descent): ditto.
6827 (glyph_height): ditto.
6828 (glyph_query_geometry): ressurrect.
6829 (glyph_layout): ditto.
6830 (redisplay_subwindow): update -> redisplay.
6831 (syms_of_glyphs): add Fset_instantiator_property.
6832 (image_instantiator_format_create): set_property -> update.
6835 (autodetect_normalize): add dest_maks to signature.
6836 (x_redisplay_subwindow): update -> redisplay.
6837 (x_redisplay_widget): ditto.
6838 (x_button_redisplay): ditto.
6839 (x_progress_gauge_redisplay): ditto.
6840 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
6842 (console_type_create_glyphs_x): update -> redisplay.
6843 (image_instantiator_format_create_glyphs_x): ditto.
6846 (check_valid_instantiator): disallow glyphs in the instantiator,
6847 they must now be vectors.
6848 (check_valid_instantiator_list): ditto.
6849 (glyph_instantiator_to_glyph): use internal symbol rather than
6851 (widget_update): renamed from widget_set_property. Call cascaded
6853 (redisplay_widget): renamed from update_widget.
6854 (widget_layout): image_instance_layout now takes position as well
6856 (widget_normalize): ditto.
6857 (widget_instantiate): ditto.
6858 (tab_control_query_geometry) ditto.:
6859 (tab_control_update): renamed from tab_control_set_property.
6860 (progress_gauge_update): set_property -> update.
6861 (layout_normalize): rewrite so that child instantiators are
6863 (layout_update): new function. Create glyphs from the normalized
6864 children and cope with any other layout keywords. We do not
6865 instantiate children here that will be take care of by
6866 redisplay_output_layout.
6867 (layout_instantiate): call layout_update and not much else.
6868 (layout_post_instantiate): not sure whether this is needed
6870 (layout_query_geometry): query glyph geometry rather than
6871 image_instance geometry.
6872 (layout_layout): set offsets from pass in parameters. Use glyph
6873 geometry and layout functions rather than image instance ones.
6874 (native_layout_layout): ditto.
6875 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
6876 (image_instantiator_widget): set_property -> update.
6877 (image_instantiator_buttons): ditto.
6878 (image_instantiator_progress_guage): ditto.
6879 (image_instantiator_tab_control): ditto.
6880 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
6881 (image_instantiator_layout): add update method.
6883 * glyphs-msw.c (bmp_normalize):
6884 (mswindows_resource_normalize): add dest_mask so that it can be
6885 proprogated by layout_normalize.
6886 (begin_defer_window_pos): make optional because it may not be the
6887 right thing to do and it introduces differences with X.
6888 (mswindows_unmap_subwindow): ditto.
6889 (mswindows_map_subwindow): ditto.
6890 (mswindows_redisplay_subwindow): renamed from
6891 mswindows_update_subwindow.
6892 (mswindows_redisplay_widget): ditto.
6893 (mswindows_button_redisplay): renamed from
6894 mswindows_button_update. Update is now what the instantiation
6895 function does for a changed instantiator.
6896 (mswindows_progress_gauge_instantiate): set the progress value
6897 here if appropriate.
6898 (mswindows_tab_control_redisplay): cope with re-ordering of the
6899 members of the tab widget by simply selecting the new top
6900 widget. This makes things appear ok if you click on a tab.
6901 (mswindows_combo_box_instantiate): image_instance_layout now takes
6902 position as well as size.
6903 (mswindows_progress_gauge_redisplay): renamed from
6904 mswindows_progress_gauge_update.
6905 (console_type_create_glyphs_mswindows): fix update -> redisplay.
6906 (image_instantiator_format_create_glyphs_mswindows): ditto.
6908 * glyphs-eimage.c (jpeg_normalize):
6911 (tiff_normalize): add dest_mask so that it can be proprogated by
6916 (hash_table_weakness_validate):
6917 (decode_hash_table_weakness):
6918 (Fhash_table_weakness):
6920 (syms_of_elhash): use Ben's naming scheme for hashtable types..
6922 * console.h (struct console_methods): move update_* to
6925 2000-07-20 Ben Wing <ben@xemacs.org>
6927 * *.[ch] (XSETOBJ): remove unused middle argument.
6928 lisp-disunion.h: correct wrap_object() to one argument.
6930 2000-07-15 Ben Wing <ben@xemacs.org>
6933 * s/cygwin32.h (CYGWIN_CONV_PATH):
6934 Add missing logb prototype for v1.1.
6935 Use post-b20 names and alias to pre-b20 names when pre-b20.
6937 * s/windowsnt.h: [5].
6939 2000-07-15 Ben Wing <ben@xemacs.org>
6941 * Makefile.in.in (x_objs):
6942 * Makefile.in.in (sheap_objs):
6943 * Makefile.in.in (objs):
6944 added win32.o, cosmetic cleanups.
6946 * alloc.c (Fmake_byte_code):
6947 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
6948 etc. macros which declare their own args now.
6950 * alloc.c (syms_of_alloc):
6951 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
6954 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
6956 * buffer.c (Fget_file_buffer):
6957 Fixed GCPRO problem.
6959 * buffer.c (get_truename_buffer):
6960 Fixed comment about GC checking.
6962 * buffer.c (syms_of_buffer):
6963 Undeclared those dedicated frame funs.
6967 Define convenience macros for internal/external conversions.
6968 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
6969 and Qenvironment_variable_encoding for cleaner code.
6972 Remove dedicated-frame; in lisp.
6974 * bytecode.c (funcall_compiled_function):
6977 * bytecode.c (syms_of_bytecode):
6981 * console-msw.c (mswindows_show_console): Rewrote.
6983 * console-msw.c (Fmswindows_debugging_output): New.
6984 Sends to OutputDebugString (special MSWin debugger interface).
6986 * console-msw.c (Fmswindows_message_box):
6987 Fixed stupid bugs so it works when called from kill-emacs.
6989 * console-msw.c (syms_of_console_mswindows):
6990 Declare Fmswindows_debugging_output.
6993 New MSWin prototypes.
6995 * console-msw.h (struct mswindows_frame):
6996 New entry last-click-mods for improved button-modifier support.
6998 * console-msw.h (FRAME_MSWINDOWS_POPUP):
6999 New struct entry `popup' with corresponding accessor.
7002 * console-x.c (split_up_display_spec):
7003 * console-x.c (get_display_arg_connection):
7004 * console-x.c (x_semi_canonicalize_console_connection):
7005 * console-x.c (x_canonicalize_device_connection):
7006 [[[6]]]: Change char to more specific type.
7007 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
7009 * console-x.c (x_semi_canonicalize_console_connection):
7010 * console-x.c (x_canonicalize_device_connection):
7011 [[[9]]]: Fix up error signalling to use new structured error system.
7014 [[[4]]]: Define codesys aliases:
7015 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
7016 Qx_color_name_encoding, Qx_display_name_encoding.
7018 * console.h (struct console_methods):
7019 New method make_dialog_box_internal supersedes older
7020 popup_dialog_box method.
7023 Define many new errors, part of new structured errors.
7025 * data.c (init_errors_once_early):
7026 * data.c (syms_of_data):
7029 * device-msw.c (mswindows_init_device):
7030 [[[5]]]: Cleanup to support NT 3.51.
7032 * device-msw.c (decode_devmode): Cleanup.
7034 * device-msw.c (mswindows_handle_print_setup_dialog_box):
7035 * device-msw.c (mswindows_handle_print_dialog_box):
7036 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7037 * device-msw.c (syms_of_device_mswindows):
7038 Delete the dialog box primitives recently introduced by Kirill and
7039 instead interface to general dialog box interface.
7042 * device-x.c (compute_x_app_name):
7043 * device-x.c (x_init_device):
7044 * device-x.c (Fx_valid_keysym_name_p):
7045 * device-x.c (Fx_set_font_path):
7049 * device.h (wrap_device): New.
7050 First of its kind; meant to replace XSETDEVICE.
7052 * dialog-msw.c: Many file-dialog symbols.
7054 * dialog-msw.c (mswindows_register_popup_frame): New.
7055 * dialog-msw.c (mswindows_is_dialog_msg): New.
7056 For supporting kbd traversal in dialog boxes.
7058 * dialog-msw.c (dialog_proc):
7059 Support hitting ESC in dialogs.
7061 * dialog-msw.c (struct):
7062 Common dialog box errors.
7064 * dialog-msw.c (handle_file_dialog_box): New.
7065 Add file dialog code.
7067 * dialog-msw.c (handle_question_dialog_box):
7068 Redo existing code to support new question dialog syntax.
7070 * dialog-msw.c (console_type_create_dialog_mswindows):
7071 We support new dialog console method.
7073 * dialog-msw.c (syms_of_dialog_mswindows):
7074 * dialog-msw.c (vars_of_dialog_mswindows):
7075 New file dialog symbols, vars.
7078 * dialog-x.c (maybe_run_dbox_text_callback):
7079 * dialog-x.c (dbox_descriptor_to_widget_value):
7080 * dialog-x.c (x_make_dialog_box_internal):
7081 * dialog-x.c (console_type_create_dialog_x):
7082 Mule-ize entire file.
7083 Redo to support question dialog syntax.
7087 * dialog.c (Fmake_dialog_box_internal):
7088 * dialog.c (syms_of_dialog):
7089 Kill old popup-dialog-box, replace with new primitive.
7090 Just call device method or signal error.
7092 * eldap.c (Fldap_open):
7093 * eldap.c (Fldap_search_basic):
7094 * eldap.c (Fldap_add):
7095 * eldap.c (Fldap_modify):
7100 * emacs.c (make_arg_list_1):
7101 * emacs.c (make_arg_list):
7102 Mule-ize call to dll_init().
7106 * emacs.c (make_argc_argv):
7107 * emacs.c (free_argc_argv):
7108 * emacs.c (init_cmdargs):
7110 * emacs.c (Fkill_emacs):
7111 * emacs.c (Fdump_emacs):
7112 Update comments about what can be used in syms_* etc.
7113 Call init_win32() when necessary.
7114 Fix up MS Win dialog box in kill-buffer to actually work right.
7125 * eval.c (condition_case_3):
7127 * eval.c (function_argcount):
7128 * eval.c (funcall_lambda):
7131 * eval.c (type_error): New.
7132 * eval.c (maybe_type_error): New.
7133 * eval.c (continuable_type_error): New.
7134 * eval.c (maybe_continuable_type_error): New.
7135 * eval.c (type_error_with_frob): New.
7136 * eval.c (maybe_type_error_with_frob): New.
7137 * eval.c (continuable_type_error_with_frob): New.
7138 * eval.c (maybe_continuable_type_error_with_frob): New.
7139 New functions for use with structured errors.
7142 * event-Xt.c (x_event_to_emacs_event):
7143 Buttons are now modifiers too.
7145 * event-Xt.c (emacs_Xt_current_event_timestamp):
7146 Implement new event method.
7147 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7150 * event-msw.c (ntpipe_shove_writer): [5].
7151 * event-msw.c (mswindows_enqueue_mouse_button_event):
7152 * event-msw.c (mswindows_drain_windows_queue):
7153 * event-msw.c (mswindows_wnd_proc): [7].
7154 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7155 * event-msw.c (mswindows_modifier_state):
7156 Throughout: support new button modifiers.
7158 * event-msw.c (emacs_mswindows_current_event_timestamp):
7159 Implement new event method.
7160 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7163 * event-stream.c (event_stream_current_event_timestamp): New.
7164 * event-stream.c (maybe_kbd_translate): New functionality.
7165 * event-stream.c (vars_of_event_stream):
7166 Document new kbd-translate-table functionality.
7168 * event-stream.c (Fcurrent_event_timestamp): New.
7169 New primitive for use in fabricated events.
7170 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7172 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7175 * events.c (Fmake_event):
7176 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7180 * events.c (format_event_object): fix gcc warnings.
7182 * events.c (Fevent_timestamp): Document new primitives.
7184 * events.c (TIMESTAMP_HALFSPACE): New.
7186 * events.c (Fevent_timestamp_lessp): New. New primitive for
7187 comparing timestamps correctly (half-space algorithm).
7189 * events.c (Fevent_modifier_bits): Doc fix.
7191 * events.c (Fevent_modifiers): Major doc addition.
7192 * events.c (event_x_y_pixel_internal): Typo fix.
7193 * events.c (syms_of_events): Declare new primitives.
7196 Update long comment for button modifiers, timestamps.
7198 * events.h (struct event_stream):
7199 New current_event_timestamp method.
7202 * extents.c (extent_in_region_p):
7203 * extents.c (decode_extent):
7204 * extents.c (Fset_extent_parent):
7205 * extents.c (decode_map_extents_flags):
7209 * extents.c (struct extent_at_arg):
7210 * extents.c (decode_extent_at_flag):
7211 * extents.c (extent_at_mapper):
7212 * extents.c (extent_at_bytind):
7213 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7214 * extents.c (Fextents_at): New primitive. [9].
7215 * extents.c (symbol_to_glyph_layout): [9].
7216 Support new primitive `extents-at'.
7219 * extents.c (get_text_property_bytind):
7220 extent_at_bytind has another arg.
7223 * extents.c (syms_of_extents): New primitive.
7225 * file-coding.c (Fmake_coding_system): [1].
7226 * file-coding.c (subsidiary_coding_system): fix gcc warning
7227 * file-coding.c (syms_of_file_coding): [2].
7229 * fileio.c (Fexpand_file_name):
7230 * fileio.c (Fsysnetunam):
7231 * fileio.c (Ffile_exists_p):
7232 * fileio.c (Ffile_executable_p):
7233 * fileio.c (Fverify_visited_file_modtime):
7236 * fileio.c (syms_of_fileio): [2].
7238 * filelock.c (lock_file_1):
7239 * filelock.c (current_lock_owner):
7240 * filelock.c (lock_if_free):
7241 * filelock.c (lock_file):
7242 * filelock.c (unlock_file):
7245 * fns.c (concat): Fix gcc warning.
7248 * fns.c (Fold_member):
7250 * fns.c (Fold_memq):
7251 * fns.c (memq_no_quit):
7253 * fns.c (Fold_assoc):
7255 * fns.c (Fold_assq):
7256 * fns.c (assq_no_quit):
7258 * fns.c (Fold_rassoc):
7260 * fns.c (Fold_rassq):
7261 * fns.c (rassq_no_quit):
7263 * fns.c (Fold_delete):
7265 * fns.c (Fold_delq):
7266 * fns.c (delq_no_quit):
7267 * fns.c (Fremassoc):
7269 * fns.c (remassq_no_quit):
7270 * fns.c (Fremrassoc):
7271 * fns.c (Fremrassq):
7272 * fns.c (remrassq_no_quit):
7277 * frame-msw.c (mswindows_init_frame_1):
7278 * frame-msw.c (mswindows_delete_frame):
7279 Register popups with dialog code so keyboard traversing works.
7281 * frame-tty.c (tty_raise_frame_no_select): [1].
7284 * frame-x.c (x_set_frame_text_value):
7285 * frame-x.c (x_set_frame_properties):
7286 * frame-x.c (x_create_widgets):
7290 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7292 * frame.h (wrap_frame): New.
7293 Macro like wrap_device.
7296 * general.c (SYMBOL):
7297 * general.c (syms_of_general):
7298 Major reorg. This is now just a wrapper and symbols themselves
7299 are listed in general-slots.h.
7301 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7302 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7304 * glyphs-msw.c (mswindows_native_layout_instantiate):
7305 Add DS_CONTROL so keyboard traversal will work.
7308 * glyphs-widget.c (syms_of_glyphs_widget):
7309 Move some symbols to general-slots.h.
7312 * glyphs-x.c (xbm_instantiate_1):
7313 * glyphs-x.c (x_xbm_instantiate):
7314 * glyphs-x.c (x_xface_instantiate):
7315 * glyphs-x.c (autodetect_instantiate):
7316 * glyphs-x.c (cursor_font_instantiate):
7317 * glyphs-x.c (x_update_widget):
7318 * glyphs-x.c (x_widget_instantiate):
7319 * glyphs.c (bitmap_to_lisp_data):
7320 * glyphs.c (pixmap_to_lisp_data):
7323 * glyphs.c (syms_of_glyphs):
7327 * gui-x.c (print_widget_value):
7328 * gui-x.c (menu_separator_style_and_to_external):
7329 * gui-x.c (add_accel_and_to_external):
7330 * gui-x.c (button_item_to_widget_value):
7331 * gui-x.c (gui_items_to_widget_values_1):
7332 * gui-x.c (gui_items_to_widget_values):
7333 * gui-x.c (syms_of_gui_x):
7334 * gui-x.c (vars_of_gui_x):
7335 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7339 Muleize, prototype changes matching gui-x.c.
7342 * gui.c (separator_string_p):
7343 * gui.c (gui_item_add_keyval_pair):
7344 * gui.c (make_gui_item_from_keywords_internal):
7345 * gui.c (signal_too_long_error):
7346 * gui.c (parse_gui_item_tree_item):
7347 * gui.c (syms_of_gui):
7348 * gui.c (vars_of_gui):
7350 menu-no-selection-hook moved here (used by MSWin).
7351 Move some symbols to general-slots.h.
7355 * insdel.c (get_buffer_pos_char):
7356 * insdel.c (get_buffer_range_char):
7359 * keymap.c (keymap_lookup_directly):
7360 * keymap.c (keymap_store):
7361 * keymap.c (ensure_meta_prefix_char_keymapp):
7362 * keymap.c (describe_map):
7364 Support new button modifiers.
7366 * lisp-disunion.h (wrap_object):
7367 * lisp-disunion.h (XSETOBJ):
7368 Rename make_obj to wrap_object.
7371 * lisp-union.h (make_int):
7372 * lisp-union.h (make_char):
7373 Support wrap_object.
7376 * lisp.h (LIST_LOOP):
7377 * lisp.h (EXTERNAL_LIST_LOOP):
7378 * lisp.h (LIST_LOOP_2):
7379 * lisp.h (EXTERNAL_LIST_LOOP_1):
7380 * lisp.h (EXTERNAL_LIST_LOOP_2):
7381 * lisp.h (EXTERNAL_LIST_LOOP_3):
7382 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7383 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7384 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7385 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7386 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7387 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7388 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7389 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7390 * lisp.h (struct Lisp_Symbol):
7391 * lisp.h (maybe_continuable_error_with_frob):
7392 Fix up section comments.
7393 Add new types for char to indicate usage.
7394 Delete symbols auto-generated from general-slots.h.
7395 Add prototypes for structured error functions.
7396 Add long comments describing looping macros and change interface
7397 so that lvalues are automatically declared.
7398 Add NO_DECLARE macro in case callers want to declare lvalues
7401 * lread.c (read_syntax_error):
7402 * lread.c (continuable_read_syntax_error):
7403 * lread.c (read_structure):
7404 * lread.c (sequence_reader):
7405 * lread.c (read_list_conser):
7406 * lread.c (read_compiled_function):
7407 Rename syntax_error and continuable_syntax_error to avoid clash
7408 with same-named structured error functions.
7410 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7411 * menubar-msw.c (populate_menu_add_item):
7412 * menubar-msw.c (populate_or_checksum_helper):
7417 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7418 Mule-ize whole file.
7420 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7422 * mule-charset.c (Fmake_charset):
7423 * mule-wnnfns.c (Fwnn_set_param):
7426 * ntproc.c (create_child):
7427 * ntproc.c (Fwin32_set_current_locale):
7428 Add comments portending doom.
7431 * objects-msw.c (old_font_enum_callback_2):
7432 * objects-msw.c (font_enum_callback_1):
7433 * objects-msw.c (mswindows_enumerate_fonts):
7437 * objects-x.c (allocate_nearest_color):
7438 * objects-x.c (x_parse_nearest_color):
7439 * objects-x.c (x_initialize_color_instance):
7440 * objects-x.c (x_print_color_instance):
7441 * objects-x.c (x_finalize_color_instance):
7442 * objects-x.c (x_valid_color_name_p):
7443 * objects-x.c (x_initialize_font_instance):
7444 * objects-x.c (x_print_font_instance):
7445 * objects-x.c (valid_x_font_name_p):
7446 * objects-x.c (truename_via_FONT_prop):
7447 * objects-x.c (truename_via_random_props):
7448 * objects-x.c (truename_via_XListFonts):
7449 * objects-x.c (x_font_truename):
7450 * objects-x.c (x_font_instance_truename):
7451 * objects-x.c (x_font_instance_properties):
7452 * objects-x.c (x_list_fonts):
7453 * objects-x.c (x_find_charset_font):
7454 Mule-ize entire file.
7461 * print.c (std_handle_out_external):
7462 * print.c (debug_print_no_newline):
7463 * print.c (syms_of_print):
7464 Output to all debugger kinds in debug-print.
7465 Fix console-output code under MSWin to actually work.
7467 * process-nt.c (send_signal):
7468 * process-nt.c (nt_create_process):
7469 Use newer Unicode macros.
7471 * process-unix.c (unix_create_process):
7472 * process-unix.c (unix_canonicalize_host_name):
7473 * process-unix.c (unix_open_network_stream):
7479 * search.c (syms_of_search):
7482 * select-msw.c (mswindows_destroy_selection):
7485 * select-x.c (symbol_to_x_atom):
7488 * select.c (syms_of_select):
7491 * sound.c (Fplay_sound_file):
7495 * specifier.c (decode_specifier_type):
7496 * specifier.c (Fvalid_specifier_locale_type_p):
7497 * specifier.c (check_valid_locale_or_locale_type):
7498 * specifier.c (decode_locale):
7499 * specifier.c (decode_locale_type):
7500 * specifier.c (decode_locale_list):
7501 * specifier.c (check_valid_domain):
7502 * specifier.c (decode_specifier_tag_set):
7503 * specifier.c (Fcanonicalize_tag_set):
7504 * specifier.c (Fdefine_specifier_tag):
7505 * specifier.c (Fspecifier_tag_predicate):
7506 * specifier.c (check_valid_inst_list):
7507 * specifier.c (check_valid_spec_list):
7508 * specifier.c (decode_how_to_add_specification):
7509 * specifier.c (check_modifiable_specifier):
7510 * specifier.c (specifier_add_spec):
7511 * specifier.c (boolean_validate):
7512 * specifier.c (display_table_validate):
7515 * specifier.c (syms_of_specifier):
7516 Move some symbols to general-slots.h.
7520 * symbols.c (Fmapatoms):
7521 * symbols.c (Fapropos_internal):
7524 * symbols.c (set_default_buffer_slot_variable):
7525 * symbols.c (set_default_console_slot_variable):
7528 * symbols.c (defsymbol_massage_name_1):
7529 * symbols.c (defkeyword_massage_name):
7530 * symbols.c (deferror_1):
7531 * symbols.c (deferror):
7532 * symbols.c (deferror_massage_name_and_message):
7534 * symeval.h (DEFSYMBOL):
7535 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7537 * symbols.c (syms_of_symbols):
7541 * symsinit.h (init_win32): New.
7542 Also new is syms_of_dialog_mswindows.
7545 Add new Unicode macros, missing Cygwin wide-char functions,
7546 convenience conversion macros for Qmswindows_tstr, macros for
7547 encapsulating required MSWin <-> Cygwin filename conversions,
7548 prototype for dynamically-extracted (not in NT 3.51) functions.
7553 * tooltalk.c (Fadd_tooltalk_message_arg):
7554 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7555 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7558 * tooltalk.c (syms_of_tooltalk):
7562 * unexnt.c (unexec):
7563 Fix up headers, declaration of unexec() to be more standard.
7565 2000-07-20 Martin Buchholz <martin@xemacs.org>
7567 * offix.h: Revert change to guard macros - they're used in offix.c!
7569 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7571 * lisp.h: Defsubred Fdelete.
7573 * console-msw.h: (msprinter_default_printer): Added.
7575 * console-msw.c (msprinter_canonicalize_console_connection):
7576 (msprinter_canonicalize_device_connection): Added.
7578 * device-msw.c (msprinter_default_printer):
7579 (Fmswingows_get_default_printer):
7580 (signal_enum_priner_error):
7581 (Fmswingows_printer_list): Added.
7583 2000-07-19 Martin Buchholz <martin@xemacs.org>
7585 * XEmacs 21.2.35 is released.
7587 2000-07-19 Martin Buchholz <martin@xemacs.org>
7589 * select-x.c (x_handle_selection_request):
7590 Text selected in xemacs and pasted into xterm failed to appear.
7591 Spelling fixes and cosmetic changes.
7593 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7595 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7596 XEmacs frame (fix for doubling chars in dialog boxes).
7598 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7600 * select.c (select_convert_in, select_convert_out):
7601 Don't call intern() every time.
7603 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7604 * select.c (vars_of_select): Initialise them.
7606 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7608 * select.c (selection-coercible-types): New.
7610 * select.c (own-selection-internal):
7611 * select.c (get-selection-internal):
7612 MULE bug fix - these should default to COMPOUND_TEXT and not
7613 STRING for MULE. I think.
7615 * select.c (select_convert_out): Use selection-coercible-types
7616 to find types that we can attempt to perform coercions on.
7618 2000-07-18 Martin Buchholz <martin@xemacs.org>
7622 Add coding: cookie to identify encoding.
7624 * mule-canna.c (CANNA_mode_keys): make static.
7625 Use proper prototypes, even for functions of no arguments.
7626 Remove external prototype for Fding().
7628 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7630 * select.c (syms_of_select): Add missing DEFSUBR.
7632 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7634 * select.c (get_selection_internal, own_selection_internal):
7635 Make the type default to STRING, rather than placing a nil type
7636 into Vselection_alist.
7638 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7640 * gpmevent.c (tty_selection_exists_p):
7641 * gpmevent.c (tty_own_selection):
7642 Updated parameter lists.
7644 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7646 * select.h (selection-alist): Removed declaration.
7648 * select.h (get_local_selection):
7649 * select.c (get_local_selection):
7652 * select.h (convert_selection): Removed declaration.
7653 * select.c (convert_selection): Removed.
7654 This function belongs in Lisp.
7656 * select.h (select_convert_in): Declare.
7657 * select.h (select_convert_out): Declare.
7658 * select.c (select_convert_in): New.
7659 * select.c (select_convert_out): New.
7660 New conversion functions for other files to call.
7662 * select.h (select_notify_buffer_kill): Declare.
7663 * select.c (select_notify_buffer_kill): New.
7664 New functions that get called from kill-buffer.
7666 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
7667 X-specific lisp code.
7669 * select.h: Declare some of the lisp-visible functions for
7672 * select.c (clean_local_selection_data): Removed. This was
7673 a disgusting function, and previously should have been in
7674 select-x.c in any case. The functionality is now provided
7675 in select-convert-from-integer (select.el).
7677 * select.c (available-selection-types): Fixed stupidity where
7678 INTEGER and ATOM got added twice. Also add STRING when we see an
7681 * select.c (get-selection-internal): Removed symbol stripping. No
7682 longer causes conversion when data comes from the internal cache.
7684 * select.c (syms_of_select): Added new functions.
7686 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
7687 error checking - previously this called abort!
7689 * select-x.c (x_own_selection): Changed comment.
7691 * select-x.c (x_handle_selection_request): Use select_convert_out.
7692 Don't mess with selection-alist; it's an internal variable of select.c.
7694 * select-x.c (x_get_foreign_selection): Use select_convert_in.
7696 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
7697 rather than messing with selection-alist.
7699 * select-msw.c (mswindows_get_foreign_selection):
7700 Use TO_INTERNAL_FORMAT rather than hacking.
7702 2000-07-14 Martin Buchholz <martin@xemacs.org>
7704 * process-unix.c (unix_open_multicast_group):
7705 (unix_open_multicast_group): Remove useless casts.
7707 2000-07-13 Martin Buchholz <martin@xemacs.org>
7709 * sound.c (Fplay_sound): Fix `unused variable' warning.
7711 * emacs.c (main): Use correct type for _environ on SCO5.
7713 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
7715 * console.h (own_selection_method):
7716 * console.h (selection_exists_p_method):
7717 * console.h (available_selection_types_method): New.
7718 * console.h (register_selection_data_type_method): New.
7719 * console.h (selection_data_type_name): New.
7721 * console-msw.h (mswindows_destroy_selection): Declare it. New
7722 function & alist to track GlobalAlloc()'d handles that need
7723 releasing when the clipboard data gets replaced or emptied.
7725 * event-msw.c (mswindows_wnd_proc): Call it.
7727 * lisp.h, general.c (Qappend): New symbol representing a
7730 * select.c (own-selection-internal):
7731 * select.c (selection-exists-p):
7732 * select.c (available-selection-types): New.
7733 * select.c (register-selection-data-type): New.
7734 * select.c (selection-data-type-name): New. New functions to deal
7735 with device-specific selection data formats.
7736 * select.c (selection-converter-out-alist): Renamed.
7737 * select.c (selection-converter-in-alist): New.
7738 * select.c (selection-appender-alist): New. Added new alists.
7739 * select.c (syms_of_select, vars_of_select): Added new symbols &
7741 * select.c (get_local_selection): Split.
7742 * select.c: Removed spurious type checking - selections may now be
7743 of any type, not just strings.
7744 * select.c (own-selection-internal):
7746 * select.h, select.c (convert_selection): New. Created
7747 convert_selection() function based on get_local_selection().
7748 * select.h, select.c (QCF_*): New symbols representing mswindows
7750 * select.h, select.c (Qreplace_all, Qreplace_existing): New
7751 symbols representing `how-to-add' modes.
7753 * select-msw.c (x_sym_p): New.
7754 * select-msw.c (symbol_to_ms_cf): New.
7755 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
7756 symbols & clipboard formats. Can also handle string names.
7757 * select-msw.c (mswindows_own_selection):
7758 * select-msw.c (mswindows_selection_exists_p):
7759 Added `data-type' parameter. Use it.
7760 * select-msw.c (mswindows_available_selection_types): New.
7761 * select-msw.c (mswindows_register_selection_data_type): New.
7762 * select-msw.c (mswindows_selection_data_type_name): New.
7763 * select-msw.c (mswindows_own_selection):
7764 * select-msw.c (mswindows_get_foreign_selection):
7765 * select-msw.c (mswindows_selection_exists_p): Rewrote.
7766 * select-msw.c (console_create_select_mswindows): Added new methods.
7767 * select-msw.c (mswindows_destroy_selection): New.
7768 * select-msw.c (Vhandle_alist): New list.
7769 * select-msw.c (mswindows_own_selection):
7771 * select-x.c (x_own_selection):
7772 * select-x.c (x_selection_exists_p):
7773 * select-x.c: Added some comments about maybe using new
7775 * select-x.c (x_own_selection):
7777 * specifier.c: Remove definition of Qappend (now in general.c)
7778 * specifier.c (syms_of_specifier): Remove Qappend.
7780 2000-07-12 Martin Buchholz <martin@xemacs.org>
7782 * config.h.in: Add socklen_t.
7784 * s/decosf4-0.h: No special compiler flags needed or desired.
7785 In particular, undefine _BSD for DEC OSF 4.0.
7787 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7789 * redisplay-msw.c (msprinter_frame_output_end): Added.
7790 (console_type_create_redisplay_mswindows): Referred the above.
7792 * frame.c (setup_frame_without_minibuffer): Do not create a
7793 default minibuffer frame on a printer device.
7795 * frame-msw.c (apply_dc_geometry): Added.
7796 (msprinter_start_page):
7797 (msprinter_init_frame_3):
7798 (msprinter_eject_page): Use it.
7800 * console-msw.h (struct msprinter_frame): Added pix_left and top,
7801 and removed residual duplex and orientation properties.
7803 2000-07-11 Martin Buchholz <martin@xemacs.org>
7805 * eval.c (function_argcount): Work around a DEC CC compiler bug.
7807 * unexalpha.c: Remove system prototypes from C sources!
7809 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
7811 * eval.c: Remove references to M-x edit-options in DEFUNs for
7812 `defvar' and `defconst'.
7814 2000-07-09 Martin Buchholz <martin@xemacs.org>
7816 * config.h.in: Remove SMART_INCLUDE hackery.
7819 * config.h.in: Don't use SMART_INCLUDE.
7821 * postgresql.h: Include libpq-fe.h here. Fix typo.
7822 * inline.c: Simply #include "postgresql.h"
7824 - Don't use SMART_INCLUDE
7825 - Use simply "const".
7826 - Use standard doc string conventions.
7827 - Use correct type for result of PQstatus.
7829 2000-07-09 Martin Buchholz <martin@xemacs.org>
7831 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
7833 C++ compilation changes.
7834 * config.h.in (EXTERN_C): Define.
7835 * config.h.in (not): This is also a C++ keyword.
7836 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
7837 * cm.c: Use EXTERN_C.
7838 * redisplay-tty.c: Use EXTERN_C.
7839 * sysdep.c: Use EXTERN_C. Remove Gould support.
7841 2000-07-09 Martin Buchholz <martin@xemacs.org>
7843 * general.c: Remove duplicate definition for Qfunction.
7845 2000-07-08 Ben Wing <ben@xemacs.org>
7847 * device-msw.c (msprinter_init_device):
7848 * device-msw.c (sync_printer_with_devmode):
7849 * device-msw.c (handle_devmode_changes):
7850 * device-msw.c (print_dialog_worker):
7851 * device-msw.c (Fmsprinter_apply_settings):
7852 * device-msw.c (hash_devmode):
7853 * device-msw.c (Fmsprinter_settings_despecialize):
7854 use Qmswindows_tstr, not Qctext.
7856 * vm-limit.c (check_memory_limits):
7857 avoid infinite loop printing warning messages.
7859 2000-07-05 Craig Lanning <lanning@scra.org>
7861 * Makefile.in.in: Add support for including the Windows resources
7862 when building with the cygwin and mingw targets.
7864 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
7865 not set or not correct.
7866 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
7867 (init_initial_directory): Don't try to use $PWD on the
7868 WIN32_NATIVE target.
7871 [[Add -mwindows to eliminate console window.]] not required --ben
7872 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7873 (MAIL_USE_POP): removed; now handled by configure.
7875 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
7876 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
7877 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7878 (MAIL_USE_POP): removed; now handled by configure.
7879 (ENCAPSULATE_STAT): from Dan Holmsand, added.
7880 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
7881 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
7883 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
7884 up from <winsock.h> via systime.h.
7885 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
7886 (getpagesize): from Dan Holmsand, added.
7887 Added #endif which was left dangling by Ben's mega patch; added
7888 comment to help prevent this in the future.
7890 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
7892 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7894 * console-msw.h (struct mswindows_device): Removed unnecessary
7895 cached device geometry values.
7896 Added update_tick and an accessor macro.
7897 (Lisp_Devmode): Added lrecord declaration.
7898 (struct msprinter_device): Contain devmode as a Lisp object.
7899 Added mswindows_get_selected_frame_hwnd();
7901 * console.h (struct console_methods): Indentation nitpicking.
7903 * device-msw.c (mswindows_init_device): Do not initialize geometry
7904 cache. Initialize update tick.
7905 (mswindows_device_system_metrics): Ask the device for its geometry.
7906 (global_free_2_maybe):
7907 (devmode_to_hglobal):
7908 (handle_printer_changes):
7909 (ensure_not_printing):
7910 (print_dialog_worker):
7911 (Fmsprinter_print_setup_dialog):
7912 (Fmsprinter_print_dialog):
7915 (Fmsprinter_page_setup_dialog): Added functions.
7916 (sync_printer_with_devmode):
7917 (handle_devmode_changes):
7918 (Fmsprinter_get_settings):
7919 (Fmsprinter_select_settings):
7920 (Fmsprinter_apply_settings):
7922 (Fmsprinter_settings_copy):
7923 (Fmsprinter_settings_despecialize):
7927 (hash_devmode): Added functions
7928 (syms_of_device_mswindows): Init devmode lrecord class.
7930 * device.h: Added an exfun for find-device.
7932 * event-msw.c (mswindows_wnd_proc): Do not update the cached
7933 geometry; although, recreate the device compatible DC.
7935 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
7936 (msprinter_init_frame_3):
7937 (msprinter_frame_property):
7938 (msprinter_internal_frame_property_p):
7939 (msprinter_frame_properties):
7940 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
7941 print job properties (will move to device settings).
7943 * lisp.h: Added symbols.
7945 * general.c (syms_of_general): Declared them.
7947 * hash.c (string_hash): Added.
7949 * lrecord.h (lrecord_type): Added devmode lrecord type.
7951 2000-07-02 Mike Sperber <mike@xemacs.org>
7953 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
7956 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
7958 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
7961 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
7963 * data.c (Fstring_to_number): Don't recognize floating point if
7966 2000-06-22 Martin Buchholz <martin@xemacs.org>
7968 * glyphs-widget.c (tab_control_query_geometry):
7969 (widget_query_geometry):
7970 (button_query_geometry):
7971 * glyphs.c (text_query_geometry):
7972 Enforce type correctness.
7974 2000-06-18 Martin Buchholz <martin@xemacs.org>
7976 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
7977 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
7979 2000-06-17 Martin Buchholz <martin@xemacs.org>
7981 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
7982 conflicts with gcc's fixincluded version of FOO.h.
7984 * glyphs.h (image_instance_geometry): Remove trailing `,'
7986 2000-06-08 Mike Alexander <mta@arbortext.com>
7988 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
7989 (shove_thread): Don't write the same output twice
7990 (make_ntpipe_output_stream): Increase priority of shove thread
7991 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
7993 (ntpipe_shove_closer): Don't delete the pipe until we're done with
7996 2000-06-12 Ben Wing <ben@xemacs.org>
7998 * s\mingw32.h (sigset):
7999 * s\windowsnt.h (sigset):
8000 rename msw_ to mswindows_ for consistency with general convention.
8002 2000-06-12 Ben Wing <ben@xemacs.org>
8005 * console-msw.c (mswindows_get_console_hwnd):
8006 * console-msw.c (mswindows_ensure_console_allocated):
8007 * console-msw.c (mswindows_hide_console):
8008 * console-msw.c (mswindows_show_console):
8009 * console-msw.c (mswindows_ensure_console_buffered):
8010 * console-msw.c (mswindows_output_console_string):
8011 * console-msw.c (mswindows_windows9x_p):
8013 * device-msw.c (mswindows_get_workspace_coords):
8014 * device-msw.c (mswindows_device_system_metrics):
8015 * dialog-msw.c (mswindows_popup_dialog_box):
8016 * event-msw.c (mswindows_wnd_proc):
8017 * frame-msw.c (mswindows_size_frame_internal):
8018 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8019 * menubar-msw.c (displayable_menu_item):
8020 * menubar-msw.c (mswindows_char_is_accelerator):
8022 * nt.c (mswindows_sigset):
8023 * nt.c (mswindows_sigrelse):
8024 * nt.c (mswindows_sigpause):
8025 * nt.c (mswindows_raise):
8026 * nt.c (timer_proc):
8028 * ntproc.c (find_child_console):
8029 * ntproc.c (sys_kill):
8031 * print.c (std_handle_out_external):
8032 * process-nt.c (find_child_console):
8033 * process-nt.c (send_signal_the_95_way):
8034 * process-nt.c (ensure_console_window_exists):
8035 * process-nt.c (nt_create_process):
8037 rename msw_ to mswindows_ for consistency with general convention.
8041 include nt.h, not syswindows.h.
8043 * nt.c (mswindows_fstat):
8044 * nt.c (mswindows_stat):
8045 prefix mswindows_ instead of attempting to directly override the
8046 library functions. fix declarations.
8049 include syswindows.h. move some sysdep.h stuff here.
8052 include syswindows.h, not <windows.h>.
8060 * sysdep.c (sys_fstat):
8061 * sysdep.c (sys_stat):
8062 call mswindows versions when appropriate.
8065 move mswin decls to nt.h.
8068 add long comment describing appropriate use of the various windows
8071 2000-06-11 Ben Wing <ben@xemacs.org>
8073 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8075 2000-06-10 Ben Wing <ben@xemacs.org>
8077 * Makefile.in.in (release):
8078 Correction to make sure xemacs.exe always dumped when correct.
8082 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8084 * buffer.c (set_buffer_internal):
8085 [[[[2]]]]: Remove HAVE_FEP code.
8087 * buffer.c (init_initial_directory):
8091 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8095 * callproc.c (call_process_cleanup):
8096 * callproc.c (Fold_call_process_internal):
8097 * callproc.c (child_setup):
8098 * callproc.c (getenv_internal):
8099 * callproc.c (init_callproc):
8100 * callproc.c (vars_of_callproc):
8101 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8102 __CYGWIN32__ -> CYGWIN.
8103 DOS_NT -> WIN32_NATIVE.
8104 Remove MSDOS support/references, converting to WIN32_NATIVE
8106 __MINGW32__ -> MINGW.
8107 Fix windows.h includes.
8108 Remove bogus HAVE_NTGUI.
8114 mswindows_message_outputted added for use in allowing startup
8115 errors on the console to be seen.
8117 * console-msw.c (msw_ensure_console_allocated):
8118 * console-msw.c (msw_output_console_string):
8119 * console-msw.c (DHEADER):
8120 * console-msw.c (DOPAQUE_DATA):
8121 * console-msw.c (DEVENT):
8122 * console-msw.c (DCONS):
8123 * console-msw.c (DCONSCDR):
8124 * console-msw.c (DSTRING):
8125 * console-msw.c (DVECTOR):
8126 * console-msw.c (DSYMBOL):
8127 * console-msw.c (DSYMNAME):
8130 * console-stream.c (stream_init_console):
8131 Fix text/binary problems.
8134 * device-msw.c (mswindows_finish_init_device):
8135 * device-msw.c (mswindows_delete_device):
8138 * device.c (handle_asynch_device_change):
8142 * dgif_lib.c (DGifOpenFileName):
8143 * dgif_lib.c (DGifOpenFileHandle):
8144 * dgif_lib.c (DGifGetLine):
8145 * dgif_lib.c (DGifGetPixel):
8146 Added config.h/lisp.h, fix up includes.
8153 * dired.c (file_name_completion):
8154 * dired.c (Ffile_attributes):
8155 * dired.c (syms_of_dired):
8159 * dumper.c (pdump_file_unmap):
8160 * dumper.c (pdump_load):
8164 * editfns.c (Ftemp_directory):
8165 * editfns.c (user_login_name):
8166 * editfns.c (Fuser_real_login_name):
8167 * editfns.c (get_home_directory):
8170 * elhash.c (finish_marking_weak_hash_tables):
8171 [[[[5]]]]: Fix GCC warnings.
8174 * emacs.c (mswindows_handle_hardware_exceptions):
8175 * emacs.c (make_arg_list_1):
8177 * emacs.c (Fkill_emacs):
8178 * emacs.c (Fdump_emacs):
8180 Fix problems with nested crashes, add long comment.
8182 * event-Xt.c (init_event_Xt_late):
8186 * event-msw.c (mswindows_dde_callback):
8187 * event-msw.c (mswindows_handle_sticky_modifiers):
8188 * event-msw.c (mswindows_wnd_proc):
8192 * events.c (character_to_event):
8196 * fileio.c (Ffile_name_directory):
8197 * fileio.c (Ffile_name_nondirectory):
8198 * fileio.c (directory_file_name):
8199 * fileio.c (Fexpand_file_name):
8200 * fileio.c (Fsubstitute_in_file_name):
8201 * fileio.c (Ffile_name_absolute_p):
8202 * fileio.c (check_executable):
8203 * fileio.c (Ffile_readable_p):
8204 * fileio.c (Ffile_accessible_directory_p):
8205 * fileio.c (Ffile_modes):
8206 * fileio.c (Funix_sync):
8207 * fileio.c (vars_of_fileio):
8210 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8212 Expand getdefdir defn.
8213 Fix bogus rename() comment.
8215 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8216 to use standard XEmacs include files, e.g. sysfile.h, rather
8217 than system-specific includes.
8223 * frame.c (vars_of_frame):
8227 * getloadavg.c (getloadavg):
8229 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8230 (We don't use it elsewhere in the code; just add a comment.)
8237 * glyphs-msw.c (mswindows_resource_instantiate):
8240 * glyphs-x.c (x_native_layout_instantiate):
8243 * gui-msw.c (Fmswindows_shell_execute):
8252 * lread.c (locate_file_in_directory_mapper):
8259 * mem-limits.h (get_lim_data):
8271 * nt.c (rva_to_section):
8272 * nt.c (mswindows_executable_type):
8274 Fix closedir() defn.
8277 [[[[8]]]]: *_OK defs moved to sysfile.h.
8286 * print.c (std_handle_out_external):
8290 * process-nt.c (nt_create_process):
8292 try to fix process quoting somewhat.
8294 * process-unix.c (unix_create_process):
8298 * process.c (vars_of_process):
8305 * realpath.c (xrealpath):
8308 * redisplay-tty.c (init_tty_for_redisplay):
8318 * sheap.c (more_static_core):
8319 * sheap.c (report_sheap_usage):
8323 * signal.c (alarm_signal):
8330 * strftime.c (zone_name):
8333 * symsinit.h (init_sunpro):
8337 commctrl.h not in Cygwin b20.1.
8341 * sysdep.c (sys_subshell):
8342 * sysdep.c (init_baud_rate):
8343 * sysdep.c (emacs_get_tty):
8344 * sysdep.c (emacs_set_tty):
8345 * sysdep.c (tty_init_sys_modes_on_device):
8346 * sysdep.c (init_system_name):
8347 * sysdep.c (sys_open):
8348 * sysdep.c (interruptible_open):
8349 * sysdep.c (sys_fopen):
8350 * sysdep.c (sys_mkdir):
8351 * sysdep.c (sys_rename):
8352 * sysdep.c (get_process_times_1):
8359 * sysdir.h (DIRENTRY_NONEMPTY):
8362 * sysdll.c (dll_init):
8368 added text/binary defs.
8374 * sysproc.h (EDESTADDRREQ):
8375 * sysproc.h (poll_fds_for_input):
8392 Always define WIN32_LEAN_AND_MEAN.
8394 * unexcw.c (unexec):
8398 * unexec.c (copy_text_and_data):
8399 * unexec.c (adjust_lnnoptrs):
8403 * unexnt.c (_start):
8406 2000-06-07 Ben Wing <ben@xemacs.org>
8408 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8409 was used only as a model. We've long since extracted any useful
8410 logic or code out of this. (I just did an exhaustive search.)
8412 * s\msdos.h: Removed.
8414 * s\windows95.h: Removed.
8416 2000-06-10 Ben Wing <ben@xemacs.org>
8420 Don't use extern with fun defs.
8424 Remove nt\inc include.
8425 Remove getdisk, getdefdir. (The former is unused, the latter
8426 expanded in fileio.h.)
8429 * s\windowsnt.h (WIN32_NATIVE):
8430 * s\windowsnt.h (HAVE_STRCASECMP):
8432 Add long comment about preprocessor changes.
8433 Remove getdisk, getdefdir. (The former is unused, the latter
8434 expanded in fileio.h.)
8436 2000-06-10 Ben Wing <ben@xemacs.org>
8445 Remove bogus/unused NO_SOCK_SIGIO.
8447 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8449 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8452 2000-06-04 Mike Sperber <mike@xemacs.org>
8454 * casetab.c (set_case_table): For `set-standard-case-table',
8455 actually deposit the new case tables where the rest of XEmacs can
8458 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8460 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8462 2000-06-05 Ben Wing <ben@xemacs.org>
8464 * callproc.c (child_setup): Don't do close_load_descs() under
8465 MS Windows. Put in a comment explaining why.
8467 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8469 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8470 Toolkit shell" which breaks `kill-compilation' on Windows NT
8471 native, retaining STDERR handling improvements.
8473 2000-06-01 Andreas Jaeger <aj@suse.de>
8475 * s/s390.h: Support for S390, based on a patch by Martin
8476 Schwidefsky <schwidefsky@de.ibm.com>.
8478 2000-05-30 Andy Piper <andy@xemacs.org>
8480 * window.c (allocate_window):
8481 (make_dummy_parent):
8482 (Fset_window_configuration): use new hashtable type.
8484 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8485 (struct image_instantiator_methods):
8486 (struct Lisp_Image_Instance): make instance geometry signed.
8488 * glyphs.c (instantiate_image_instantiator):
8489 (image_instance_query_geometry):
8490 (image_instance_layout):
8491 (image_instance_layout):
8492 (query_string_geometry):
8493 (text_query_geometry):
8494 (image_instantiate):
8495 (image_instantiate):
8496 (cache_subwindow_instance_in_frame_maybe):
8497 (subwindow_query_geometry): make instance geometry signed.
8499 * glyphs-widget.c (widget_query_geometry):
8501 (button_query_geometry):
8502 (tree_view_query_geometry):
8503 (tab_control_query_geometry):
8504 (layout_query_geometry):
8506 (native_layout_layout): make instance geometry signed.
8508 2000-05-29 Olivier Galibert <galibert@pobox.com>
8510 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8513 * general.c (syms_of_general): Add Qfull_assoc symbol.
8515 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8517 (decode_weak_list_type): Decode full-assoc type.
8518 (encode_weak_list_type): Encode full-assoc type.
8519 (Fmake_weak_list): Update doc string.
8521 2000-05-30 Andy Piper <andy@xemacs.org>
8523 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8525 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8526 (decode_hash_table_weakness): ditto.
8527 (Fhash_table_weakness): ditto.
8528 (Fhash_table_type): ditto.
8529 (finish_marking_weak_hash_tables): ditto.
8530 (hash_table_weakness_validate): ditto.
8531 (syms_of_elhash): ditto.
8533 2000-05-28 Martin Buchholz <martin@xemacs.org>
8535 * XEmacs 21.2.34 is released.
8537 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8539 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8541 (updating_line_start_cache): Gone.
8542 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8543 generic code to force a minimum of 1 line laid out in the
8546 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8548 * glyphs.c (instantiate_image_instantiator): Check for initialized
8549 height & width no longer special cases IMAGE_NOTHING.
8550 (nothing_instantiate): Set height and width of instance.
8552 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8554 * unexelf.c (unexec): Search for ".data" section.
8555 Initialize new_data2_offset from old_data_index.
8556 Remove redundant check for ElfW.
8558 2000-05-23 Andy Piper <andy@xemacs.org>
8560 * glyphs.c (get_image_instantiator_governing_domain): allow more
8561 specific domains as the governing domain rather than expecting an
8562 exact match. This fixes problems with layouts.
8564 2000-05-22 Andy Piper <andy@xemacs.org>
8566 * redisplay-output.c (compare_runes): check for non-images
8568 * glyphs.c (set_glyph_dirty_p): ditto.
8569 (update_glyph_cachel_data): ditto.
8571 * glyphs-widget.c (layout_post_instantiate): ditto.
8572 (layout_post_instantiate): ditto.
8574 * event-msw.c (mswindows_wnd_proc): warning removal.
8576 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8578 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8580 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8582 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8584 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8585 (mswindows_executable_type): mingw32 now has enough headers for
8588 2000-05-20 Andy Piper <andy@xemacs.org>
8590 * console-msw.c (mswindows_output_last_error): ; -> ,
8592 2000-05-12 Andy Piper <andy@xemacs.org>
8594 * console-msw.c (FROB): compare ints with ints.
8596 2000-05-11 Andy Piper <andy@xemacs.org>
8598 * glyphs-x.c (x_finalize_image_instance): make minimal build
8601 2000-05-20 Ben Wing <ben@xemacs.org>
8604 * event-Xt.c (vars_of_event_Xt):
8605 move modifier-keys-are-sticky to event-stream.c.
8608 * event-msw.c (mswindows_enqueue_mouse_button_event):
8609 * event-msw.c (key_needs_default_processing_p):
8610 * event-msw.c (XEMSW_LCONTROL):
8611 * event-msw.c (mswindows_handle_sticky_modifiers):
8612 * event-msw.c (FROB):
8613 * event-msw.c (clear_sticky_modifiers):
8614 * event-msw.c (output_modifier_keyboard_state):
8615 * event-msw.c (output_alt_keyboard_state):
8616 * event-msw.c (mswindows_wnd_proc):
8617 * event-msw.c (mswindows_modifier_state):
8618 * event-msw.c (emacs_mswindows_handle_magic_event):
8619 implement sticky modifiers.
8622 * event-stream.c (vars_of_event_stream):
8623 move modifier-keys-are-sticky here.
8629 implement map-range-table.
8632 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8634 * redisplay-tty.c (reset_tty_modes):
8635 (tty_redisplay_shutdown): Adjust argument type to
8636 tty_frame_output_end.
8638 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8640 * eval.c (Fbacktrace): Don't output a line with only right
8643 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8645 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8646 (Fpq_reset_poll): Ditto.
8648 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8650 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8652 2000-05-16 Ben Wing <ben@xemacs.org>
8655 * buffer.c (dfc_convert_to/from_internal_format):
8656 * buffer.c (reinit_vars_of_buffer):
8657 Fix conversion functions to allow reentrancy.
8660 * console-msw.c (mswindows_output_last_error):
8661 New fun, generally useful -- output a human-readable
8662 version of GetLastError() on the console.
8665 * console-msw.h (struct mswindows_frame):
8666 Changes for DeferWindowPos. Declare mswindows_output_last_error().
8668 * console-stream.c (stream_output_begin):
8669 * console-stream.c (stream_output_end):
8670 * console-stream.c (stream_output_vertical_divider):
8671 * console-stream.c (stream_clear_region):
8672 * console-stream.c (stream_flash):
8673 * console-stream.c (console_type_create_stream):
8674 Delete blank stream methods, not needed.
8676 * console.h (struct console_methods):
8677 Split begin/end methods into window and frame.
8680 * event-msw.c (mswindows_handle_paint):
8681 * event-msw.c (output_alt_keyboard_state):
8682 * event-msw.c (mswindows_wnd_proc):
8683 * event-msw.c (vars_of_event_mswindows):
8684 Comment about problems with ignored-expose.
8685 Define mswindows-debug-events; not really implemented.
8687 * frame-msw.c (mswindows_init_frame_1):
8691 * glyphs-msw.c (begin_defer_window_pos):
8692 * glyphs-msw.c (mswindows_unmap_subwindow):
8693 * glyphs-msw.c (mswindows_map_subwindow):
8694 * glyphs-msw.c (mswindows_resize_subwindow):
8695 Use DeferWindowPos to reduce flashing when mapping/unmapping.
8697 * glyphs.c (make_image_instance_1):
8700 * gutter.c (Fredisplay_gutter_area):
8701 Use new begin/end methods.
8703 * lisp.h (Dynarr_new2):
8707 * redisplay-msw.c (mswindows_frame_output_begin):
8708 * redisplay-msw.c (mswindows_frame_output_end):
8709 * redisplay-msw.c (console_type_create_redisplay_mswindows):
8710 New begin/end methods -- handle DeferWindowPos.
8712 * redisplay-output.c (redisplay_move_cursor):
8713 * redisplay-output.c (redraw_cursor_in_window):
8714 * redisplay-output.c (redisplay_update_line):
8715 * redisplay-output.c (redisplay_output_window):
8716 New begin/end methods.
8719 * redisplay-tty.c (tty_frame_output_begin):
8720 * redisplay-tty.c (tty_frame_output_end):
8721 * redisplay-tty.c (console_type_create_redisplay_tty):
8722 New begin/end methods.
8725 * redisplay-x.c (x_window_output_begin):
8726 * redisplay-x.c (x_window_output_end):
8727 * redisplay-x.c (console_type_create_redisplay_x):
8728 New begin/end methods.
8730 * redisplay.c (redisplay_frame):
8731 * redisplay.c (Fredisplay_echo_area):
8732 New begin/end methods.
8733 use MAYBE_DEVMETH for clear_frame; it may not exist.
8735 * window.h (WINDOW_XFRAME):
8736 WINDOW_XFOO macros -- get locale and decode struct pointer.
8739 2000-05-12 Ben Wing <ben@xemacs.org>
8742 * emacs.c (ensure_no_quitting_from_now_on):
8743 * emacs.c (fatal_error_signal):
8744 * emacs.c (mswindows_handle_hardware_exceptions):
8746 * emacs.c (Fkill_emacs):
8747 * emacs.c (shut_down_emacs):
8748 * emacs.c (assert_failed):
8749 various improvements in fatal error handling.
8752 move preparing_for_armageddon to emacs.c.
8755 declare fatal_error_in_progress.
8758 * print.c (std_handle_out_external):
8759 * print.c (std_handle_out_va):
8760 * print.c (stderr_out):
8761 * print.c (stdout_out):
8762 use console under mswin when no standard output.
8763 don't do code conversion during fatal error.
8765 * scrollbar.c (Fscrollbar_page_up):
8766 * scrollbar.c (Fscrollbar_page_down):
8767 fix missing else. reindent.
8769 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
8773 * glyphs.h (GLYPH_CACHEL_DESCENT):
8774 (GLYPH_CACHEL_DESCENT):
8775 (GLYPH_CACHEL_DESCENT):
8776 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
8777 used in case these are inline functions.
8778 Use more absurd values to error check.
8780 include window.h for error check functions.
8782 2000-05-11 Ben Wing <ben@xemacs.org>
8784 * cmdloop.c (Freally_early_error_handler):
8785 Display message box under windows; otherwise, message will disappear
8786 before it can be viewed.
8789 * console-msw.c (Fmswindows_message_box):
8790 * console-msw.c (FROB):
8791 * console-msw.c (syms_of_console_mswindows):
8792 Define new fun `mswindows-message-box'.
8793 #### I will merge this into `popup-dialog-box'; just give me
8797 * general.c (syms_of_general):
8798 Some new symbols used in `mswindows-message-box'.
8801 * glyphs.c (Fset_image_instance_property):
8802 put warning in this fun.
8805 * glyphs.h (GLYPH_CACHEL_WIDTH):
8806 * glyphs.h (GLYPH_CACHEL_ASCENT):
8807 * glyphs.h (GLYPH_CACHEL):
8808 * glyphs.h (GLYPH_CACHEL_GLYPH):
8809 define error-checking versions to try to catch a bug i've seen --
8810 redisplay gets in an infinite loop because the glyph width of the
8811 continuation glyph is 65535.
8814 Extern message-box stuff.
8816 * window.c (allocate_window):
8817 * window.c (make_dummy_parent):
8818 * window.c (Fset_window_configuration):
8819 Use EQUAL not EQ for subwindow caches to make them work a bit
8820 better. (Something is still very broken.)
8823 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8825 * glyphs.c (image_instantiate): Suppress gcc warnings.
8826 (Fmake_image_instance): Fix doc string.
8827 * specifier.c (Fmake_specifier): Ditto.
8829 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
8831 * paths.h.in (PATH_LOCK): Removed.
8832 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
8833 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
8835 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8837 * fns.c (Ffeaturep): Update e-mail address in doc-string.
8838 Document (featurep '(and xemacs 21.02)).
8840 2000-05-09 Ben Wing <ben@xemacs.org>
8842 * buffer.c (complex_vars_of_buffer):
8843 update modeline-format doc.
8846 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
8849 timeline of all released versions of Emacs, for use in creating
8850 authorship comments and in synching up.
8852 * glyphs-widget.c (image_instantiator_buttons):
8853 * glyphs-widget.c (image_instantiator_edit_fields):
8854 * glyphs-widget.c (image_instantiator_combo_box):
8855 * glyphs-widget.c (image_instantiator_scrollbar):
8856 * glyphs-widget.c (image_instantiator_progress_guage):
8857 * glyphs-widget.c (image_instantiator_tree_view):
8858 * glyphs-widget.c (image_instantiator_tab_control):
8859 * glyphs-widget.c (image_instantiator_labels):
8860 * glyphs-widget.c (image_instantiator_layout):
8861 * glyphs-widget.c (image_instantiator_native_layout):
8862 rename decode_domain method to governing_domain.
8865 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
8866 * glyphs.c (add_entry_to_device_ii_format_list):
8867 make sure we don't put an entry more than once into the list.
8868 * glyphs.c (check_instance_cache_mapper):
8869 *************************************************************
8870 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8872 *************************************************************
8873 * glyphs.c (get_image_instantiator_governing_domain):
8874 clean up, expand on new concept of governing domain.
8875 * glyphs.c (instantiate_image_instantiator):
8876 * glyphs.c (allocate_image_instance):
8877 use governing_domain instead of cache_domain in naming.
8878 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
8879 * glyphs.c (make_image_instance_1):
8880 * glyphs.c (Fmake_image_instance):
8881 allow for any domain (not just device), and process the
8882 governing domain correctly. very big doc fix.
8883 * glyphs.c (Fimage_instance_domain):
8884 new primitive, to retrieve the governing domain of an image instance.
8885 * glyphs.c (image_instantiate):
8886 use new governing_domain stuff. this fixes a crash you could get
8887 by instantiating certain widget glyphs in frame locales. (should
8888 signal an error instead of crashing.)
8889 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
8890 * glyphs.c (Fglyphp): clean up doc.
8891 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
8892 * glyphs.c (syms_of_glyphs):
8893 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
8894 * glyphs.c (image_instantiator_format_create): add some comments about
8896 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
8897 for current-display-table. (Apparently Hrjove implemented in 1998 a
8898 design I wrote up in 1996, but didn't update the doc string.)
8900 * glyphs.h: clean up a doc string.
8901 * glyphs.h (governing_domain):
8902 * glyphs.h (struct image_instantiator_methods):
8903 changes for governing_domain stuff.
8906 * gutter.c (Fgutter_specifier_p):
8907 * gutter.c (Fgutter_size_specifier_p):
8908 * gutter.c (Fgutter_visible_specifier_p):
8910 * objects.c (Fcolor_specifier_p):
8911 * objects.c (Ffont_specifier_p):
8912 * objects.c (Fface_boolean_specifier_p):
8913 doc strings moved to make-*-specifier.
8915 * redisplay.c (add_disp_table_entry_runes_1):
8916 * redisplay.c (generate_fstring_runes):
8917 * redisplay.c (screen):
8918 add random comments and doc strings.
8921 * specifier.c (Fmake_specifier):
8922 major overhaul of this doc string.
8924 * specifier.c (Fvalid_specifier_domain_p):
8925 comment about the bogosity of image instances being domains.
8926 * specifier.c (decode_domain):
8927 now non-static, used in glyphs.c.
8928 * specifier.c (specifier_instance):
8929 comment about the bogosity of image instances being domains.
8930 * specifier.c (Fgeneric_specifier_p):
8931 move doc string to make-generic-specifier.
8932 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
8936 * specifier.h (DOMAIN_FRAME):
8937 * specifier.h (DOMAIN_LIVE_P):
8938 * specifier.h (DOMAIN_XDEVICE):
8940 add comments about problems with these macros.
8941 prototype for decode_domain.
8944 * toolbar.c (Ftoolbar_specifier_p):
8945 move doc string to `make-toolbar-specifier'.
8947 * window.c (window_unmap_subwindows_cache_mapper):
8948 *************************************************************
8949 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8951 *************************************************************
8953 2000-05-09 Andy Piper <andy@xemacs.org>
8955 * glyphs.h: declare reset_frame_subwindow_instance_cache.
8957 * window.c (Fset_window_configuration): reset the frame subwindow
8958 cache and re-initialize the window subwindow caches.
8960 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
8962 2000-05-09 Ben Wing <ben@xemacs.org>
8964 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
8967 2000-04-26 Mike Woolley <mike@bulsara.com>
8969 * ntheap.c: Changed recreate_heap to limit the amount reserved
8970 for the heap to that which is actually available. Also now
8971 displays a message box (with some dignostics) in the event that
8972 it still can't start.
8974 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
8976 * callproc.c (Fold_call_process_internal): GCPRO path
8978 2000-05-08 Jan Vroonhof <jan@xemacs.org>
8980 Patch by Bill Perry.
8982 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
8983 back data instead of #ifdef.
8984 (Fscrollbar_page_down): ditto.
8986 2000-05-07 Ben Wing <ben@xemacs.org>
8989 Kludge for defining Qmswindows_tstr.
8992 * nt.c (open_input_file):
8993 * nt.c (open_output_file):
8994 * nt.c (rva_to_section):
8995 * nt.c (mswindows_executable_type):
8996 Move all memory-mapped-file routines here (some were in unexnt.c,
8997 which is bad because they are used by process-nt.c, and unexnt
8998 won't be around when portable dumping). Synched the above routines
9002 Removed ifdef'd out bogus code.
9003 Fixed some prototypes.
9006 * nt.h (OFFSET_TO_RVA):
9007 * nt.h (RVA_TO_OFFSET):
9008 * nt.h (RVA_TO_PTR):
9009 Moved the memory-mapped-file structures, macros and prototypes
9010 here, to parallel nt.c. ntheap.h should really be removed
9011 entirely, and it's a non-portable-dumper specific file.
9013 * ntheap.h (round_to_next):
9014 Moved the memory-mapped-file structures, macros and prototypes
9017 * ntproc.c (compare_env):
9018 Moved rva_to_section and mswindows_executable_type to nt.c.
9019 Moved compare_env to process-nt.c.
9020 ntproc.c will die, one day.
9022 * ntproc.c (sys_spawnve):
9023 Account for win32_ -> mswindows_.
9026 * process-nt.c (struct nt_process_data):
9027 * process-nt.c (ensure_console_window_exists):
9028 * process-nt.c (compare_env):
9029 * process-nt.c (nt_create_process):
9030 * process-nt.c (nt_kill_process_by_pid):
9031 * process-nt.c (syms_of_process_nt):
9032 * process-nt.c (vars_of_process_nt):
9033 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
9034 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
9035 changes). Eliminate our old `nt-quote-process-args' mechanism.
9036 Synch up nt_create_process with FSF 20.6 sys_spawnve.
9037 Move compare_env here from ntproc.c.
9039 * process.c (Fprocess_send_region):
9040 Takes an optional fourth argument, BUFFER, which should fix some
9041 problems with call-process.
9044 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
9047 Move ICC_BAR_CLASSES to syscommctrl.h.
9048 Add preliminary macros for MSWindows/Mule. More to come.
9051 * unexnt.c (unexec):
9052 open_output_file moved to nt.c.
9055 2000-05-05 Andy Piper <andy@xemacs.org>
9057 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
9058 instance from the frame cache also since GC may catch up too late
9059 to make frame deletion sane.
9061 2000-05-04 Andy Piper <andy@xemacs.org>
9063 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
9064 (x_finalize_image_instance): ungcpro on deletion.
9066 * glyphs.c (image_instantiator_format_create): give pointers a
9067 query geometry method so that the geometry is at least set.
9069 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
9070 initialize layouts if using widgets.
9072 2000-05-03 Andy Piper <andy@xemacs.org>
9074 * nt.c: remove bogus reference to sysmmsystem.h
9076 * gui-x.c (popup_selection_callback): fix no selection abort.
9078 2000-05-02 Andy Piper <andy@xemacs.org>
9080 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9081 (mswindows_widget_instantiate): ditto.
9083 * glyphs-widget.c (initialize_widget_image_instance): initialize
9085 (widget_instantiate): cope with children and items in the same
9088 * glyphs.c (mark_image_instance): cope with children as a first
9090 (image_instance_equal): ditto.
9091 (image_instance_hash): ditto.
9092 (image_instance_changed): ditto.
9094 2000-04-30 Andy Piper <andy@xemacs.org>
9096 * glyphs.c (subwindow_query_geometry): new function. Return some
9098 (subwindow_instantiate): don't assign dimensions if none have been
9100 (image_instantiator_format_create): add subwindow_query_geometry.
9101 (print_image_instance): cope with layouts as widgets.
9103 2000-04-29 Andy Piper <andy@xemacs.org>
9105 * frame.c (delete_frame_internal): call
9106 free_frame_subwindow_instance_cache so that all subwindows are
9107 finalized before their parent.
9108 (mark_frame): remove subwindow_cachels.
9109 (Fmake_frame): remove subwindow_cachel manipulation.
9110 (allocate_frame_core): subwindow_instance_cache is a weak list.
9111 (delete_frame_internal): set subwindow_instance_cache to nil.
9113 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9115 (mswindows_finalize_image_instance): use the device
9116 not the domain as the domain may have died already.
9118 * glyphs-x.c (x_finalize_image_instance): ditto.
9119 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9122 * redisplay-output.c (redisplay_unmap_subwindows): update for
9123 subwindow instance cache as a weak list.
9124 (redisplay_unmap_subwindows_maybe): ditto.
9125 (redisplay_unmap_subwindows_except_us): ditto.
9127 * glyphs.c (unmap_subwindow): error checking will check the domain
9128 so don't deal with it here. Don't use cachels anymore.
9129 (map_subwindow): ditto.
9130 (update_subwindow_cachel_data): remove old accessor names.
9131 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9132 (Fresize_subwindow): don't update cachel.
9133 (mark_subwindow_cachels):
9134 (update_subwindow_cachel_data):
9135 (add_subwindow_cachel):
9136 (get_subwindow_cachel_index):
9137 (update_subwindow_cachel):
9138 (reset_subwindow_cachels):
9139 (mark_subwindow_cachels_as_not_updated): deleted.
9140 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9141 subwindow instance to the frame cache.
9142 (find_matching_subwindow): update for subwindow instance cache as
9144 (update_widget_instances): ditto.
9145 (image_instance_type_to_mask):inlined.
9146 (free_frame_subwindow_instance_cache): new function. finalize all
9147 subwindows that are instantiated.
9149 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9150 of cachel information.
9151 (IMAGE_INSTANCE_DISPLAY_X):
9152 (IMAGE_INSTANCE_DISPLAY_Y):
9153 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9154 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9155 (XIMAGE_INSTANCE_DISPLAY_X):
9156 (XIMAGE_INSTANCE_DISPLAY_Y):
9157 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9158 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9159 remove subwindow_cachel structure and function references.
9160 (image_instance_type_to_mask): inline from glyphs.c
9162 * redisplay.c (redisplay_frame): remove subwindow_cachel
9165 * frame.h (struct frame): remove subwindow_cachels.
9166 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9168 * frameslots.h: add subwindow_instance_cache.
9170 * window.c (replace_window): check subwindow cache of replacement.
9171 (window_unmap_subwindows_cache_mapper):
9172 (window_unmap_subwindows): new functions. Unmap all subwindows
9173 cached on this window.
9174 (mark_window_as_deleted): unmap all subwindows.
9176 2000-04-27 Andy Piper <andy@xemacs.org>
9178 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9180 * glyphs-widget.c (widget_layout): return something.
9181 (layout_layout): return something. Fail if not initialized.
9182 (layout_query_geometry): ditto.
9183 (image_instantiator_native_layout): new function. Initialized the
9185 (widget_instantiate): don't do layout stuff here.
9187 * glyphs.c (instantiate_image_instantiator): reorded calling or
9188 instantiate and post_instantiate with layout in between.
9189 (image_instance_layout): be more selective about deciding whether
9190 the layout has been done or not.
9192 * glyphs.h (struct image_instantiator_methods): return a value
9195 2000-04-26 Andy Piper <andy@xemacs.org>
9197 * glyphs.c (allocate_image_instance): make initial width and
9198 height unspecified. Set initialized to 0.
9200 * syscommctrl.h new file. Encapsulates commctrl.h.
9202 * syswindows.h new file. Encapsulates windows.h.
9204 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9206 * console-msw.h: ditto.
9208 * redisplay-tty.c (tty_output_display_block): remove layout references.
9210 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9211 window handle rather than just the frame.
9213 * glyphs.c (mark_image_instance): remove layout references.
9214 (print_image_instance): ditto.
9215 (image_instance_equal): ditto.
9216 (image_instance_hash): ditto.
9217 (decode_image_instance_type): ditto.
9218 (encode_image_instance_type): ditto.
9219 (image_instantiate): ditto.
9220 (allocate_glyph): ditto.
9221 (Fimage_instance_height): ditto.
9222 (Fimage_instance_width): ditto.
9223 (update_subwindow): ditto.
9225 * redisplay-x.c (x_output_display_block): recode for layouts as
9228 * redisplay-output.c (redisplay_output_layout): recode for layouts
9230 (compare_runes): remove layout references.
9232 * redisplay-msw.c (mswindows_output_display_block): recode for
9235 * glyphs-widget.c (image_instantiator_layout): remove
9236 layout_possible_dest_types.
9237 (layout_possible_dest_types): deleted.
9239 * glyphs.h (image_instance_type): remove layout references.
9240 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9241 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9242 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9244 2000-04-25 Andy Piper <andy@xemacs.org>
9246 * glyphs-widget.c (image_instantiator_buttons):
9247 (image_instantiator_edit_fields):
9248 (image_instantiator_combo_box):
9249 (image_instantiator_scrollbar):
9250 (image_instantiator_progress_guage):
9251 (image_instantiator_tree_view):
9252 (image_instantiator_tab_control):
9253 (image_instantiator_labels):
9254 (image_instantiator_layout): call default post_instantiate method.
9255 (widget_post_instantiate): new function. Simply lays out the
9258 * glyphs.h (struct image_instantiator_methods): add
9259 post_instantiate method.
9261 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9264 2000-04-23 Andy Piper <andy@xemacs.org>
9266 * glyphs.h (struct image_instantiator_methods): add
9267 decode_domain_method.
9268 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9269 derived from the domain.
9270 (IMAGE_INSTANCE_FRAME): new accessor.
9271 (XIMAGE_INSTANCE_FRAME): ditto.
9273 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9274 instead of _SUBWINDOW_FRAME.
9275 (finalize_image_instance): ditto.
9276 (Fimage_instance_foreground): ditto.
9277 (Fimage_instance_background): ditto.
9278 (image_instantiate): ditto.
9279 (update_subwindow_cachel): ditto.
9280 (update_subwindow): ditto.
9281 (unmap_subwindow): ditto.
9282 (map_subwindow): ditto
9283 (subwindow_instantiate): ditto.
9284 * glyphs-msw.c (mswindows_update_widget): ditto.
9285 (mswindows_progress_gauge_instantiate): ditto.
9286 (mswindows_tab_control_update): ditto.
9287 * glyphs-x.c (x_update_widget): ditto.
9288 (x_widget_instantiate): ditto.
9289 (x_tab_control_instantiate): ditto.
9290 (x_tab_control_update): ditto.
9291 * event-msw.c (mswindows_wnd_proc): ditto
9293 * glyphs-widget.c (image_instantiator_layout): use
9294 subwindow_decode_domain.
9295 (image_instantiator_buttons): ditto.
9296 (image_instantiator_edit_fields): ditto.
9297 (image_instantiator_combo_box): ditto.
9298 (image_instantiator_scrollbar): ditto.
9299 (image_instantiator_progress_guage): ditto.
9300 (image_instantiator_tree_view): ditto.
9301 (image_instantiator_tab_control): ditto.
9302 (image_instantiator_labels): ditto.
9303 (image_instantiator_layout): ditto.
9305 * glyphs.c: add instance error checking to many functions.
9306 (instantiate_image_instantiator): decode device from cache_domain.
9307 (image_instantiate): partially rewrite by using
9308 decode_image_instantiator_domain to determine what domain the
9309 instance needs to be cached in.
9310 (decode_image_instantiator_domain): new function. Determine what
9311 domain the image needs to be cached in.
9312 (check_window_subwindow_cache): new error checking function.
9313 (check_instance_cache_mapper): ditto.
9314 (check_image_instance_structure): ditto.
9315 (subwindow_decode_domain): new function. Encodes a window as a
9316 subwindow's cache domain.
9317 (image_instantiator_format_create): use it for text and
9320 2000-04-21 Andy Piper <andy@xemacs.org>
9322 * glyphs.c (image_instance_device): new function.
9323 (image_instance_frame): new function.
9324 (image_instance_window): new function.
9325 (image_instance_live_p): new function.
9327 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9330 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9331 (IMAGE_INSTANCE_DOMAIN): new accessor.
9332 (XIMAGE_INSTANCE_DOMAIN): ditto.
9334 * glyphs-x.c (x_finalize_image_instance): device->domain.
9336 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9337 (mswindows_finalize_image_instance): ditto.
9339 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9340 (gif_instantiate): ditto.
9341 (png_instantiate): ditto.
9342 (tiff_instantiate): ditto.
9344 * glyphs.c (instantiate_image_instantiator): use domain rather
9346 (mark_image_instance): device -> domain.
9347 (print_image_instance): ditto.
9348 (finalize_image_instance): ditto.
9349 (image_instance_equal): ditto.
9350 (allocate_image_instance): ditto.
9351 (Fcolorize_image_instance): ditto.
9352 (query_string_geometry): ditto.
9353 (image_instantiate): ditto
9354 (query_string_font): ditto.
9355 (image_instantiate): ditto.
9356 (update_subwindow): ditto.
9357 (unmap_subwindow): ditto.
9358 (map_subwindow): ditto.
9359 (subwindow_instantiate): ditto.
9361 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9362 (DOMAIN_FRAME): ditto.
9363 (DOMAIN_WINDOW): ditto.
9364 (DOMAIN_LIVE_P): ditto.
9365 (XDOMAIN_DEVICE): ditto.
9366 (XDOMAIN_FRAME): ditto.
9367 (XDOMAIN_WINDOW): ditto.
9369 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9370 a valid specifier domain.
9372 2000-04-19 Andy Piper <andy@xemacs.org>
9374 * glyphs-widget.c (syms_of_glyphs_widget): remove
9375 widget-callback-current-channel.
9376 (vars_of_glyphs_widget): ditto.
9379 * gui.c (get_gui_callback): revert to previous behaviour.
9381 2000-04-18 Andy Piper <andy@xemacs.org>
9383 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9384 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9385 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9387 * glyphs.c (image_instance_equal): add margin_width.
9388 (image_instance_hash): ditto.
9390 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9391 (layout_query_geometry): ditto.
9392 (layout_layout): ditto.
9393 (syms_of_glyphs_widget): add margin-width.
9394 (image_instantiator_layout): allow margin-width.
9396 * glyphs.c (update_widget_instances): make a normal function.
9397 (syms_of_glyphs): remove Qupdate_widget_instances.
9400 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9401 so that we don't corrupt ideas about the last event or
9402 command. Remove widget-callback-current-channel fiddling.
9403 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9405 2000-05-01 Martin Buchholz <martin@xemacs.org>
9407 * XEmacs 21.2.33 is released.
9409 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9411 * make-src-depend: Allow dots in header file name.
9413 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9415 * mule-charset.h (struct charset_lookup): Add
9416 next_allocated_1_byte_leading_byte and
9417 next_allocated_2_byte_leading_byte.
9418 * mule-charset.c: Move above two variables so that those values
9421 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9423 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9424 when string length is zero.
9425 (find_charsets_in_emchar_string): Ditto.
9427 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9429 * lisp.h: extern Qdialog and Qmenubar.
9431 * gui-x.c: added events.h.
9432 also fixed typo which made the file uncompilable.
9434 * general.c: Added Qmenubar and Qdialog
9436 2000-04-28 Ben Wing <ben@xemacs.org>
9438 * frame-msw.c (mswindows_init_frame_1):
9439 * frame-msw.c (mswindows_mark_frame):
9440 * event-msw.c (mswindows_enqueue_dispatch_event):
9442 * console-msw.h (struct mswindows_frame):
9443 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9444 there are now three hash tables for callbacks.
9445 mswindows_enqueue_dispatch_event is no longer static.
9447 * dialog-x.c (maybe_run_dbox_text_callback):
9448 * dialog-x.c (dbox_descriptor_to_widget_value):
9449 switch to new cons3 form for callbacks.
9451 * glyphs-msw.c (mswindows_register_gui_item):
9452 * glyphs-msw.c (mswindows_widget_instantiate):
9453 * glyphs-msw.c (add_tree_item):
9454 * glyphs-msw.c (add_tab_item):
9455 new image instance parameter, so it can be passed to callback-ex.
9456 respect :callback-ex as well as :callback.
9458 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9461 * glyphs.c (print_image_instance):
9462 prettify, e.g. now prints widget type.
9465 certain funs have new image instance parameter.
9468 * gui.c (get_gui_callback):
9469 * gui.c (gui_item_add_keyval_pair):
9470 * gui.c (gui_item_init):
9471 * gui.c (gui_add_item_keywords_to_plist):
9472 * gui.c (mark_gui_item):
9473 * gui.c (gui_item_hash):
9474 * gui.c (gui_item_equal):
9475 * gui.c (copy_gui_item):
9476 * gui.c (syms_of_gui):
9477 recognize callback-ex in a number of places.
9478 also, fix the annoying "can't get out of yes-no dialog" bug.
9481 * gui.h (struct Lisp_Gui_Item):
9482 recognize callback-ex in a number of places.
9484 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9485 new parameter in button_item_to_widget_value.
9487 * glyphs-x.c (x_update_widget):
9488 * glyphs-x.c (x_button_instantiate):
9489 * glyphs-x.c (x_button_update):
9490 * glyphs-x.c (x_progress_gauge_instantiate):
9491 * glyphs-x.c (x_edit_field_instantiate):
9492 * glyphs-x.c (x_combo_box_instantiate):
9493 * glyphs-x.c (x_tab_control_instantiate):
9494 * glyphs-x.c (x_label_instantiate):
9495 new image instance parameter in various places.
9498 * event-Xt.c (enqueue_Xt_dispatch_event):
9499 this fun gets exported.
9502 * gui-msw.c (mswindows_handle_gui_wm_command):
9503 handle both :callback and :callback-ex, and generate our own
9504 event because it's one of the callback-ex arguments.
9507 * gui-x.c (popup_selection_callback):
9508 handle both :callback and :callback-ex, and generate our own
9509 event because it's one of the callback-ex arguments.
9510 * gui-x.c (button_item_to_widget_value):
9511 * gui-x.c (gui_items_to_widget_values_1):
9512 * gui-x.c (gui_item_children_to_widget_values):
9513 * gui-x.c (gui_items_to_widget_values):
9514 new image instance parameter in various places.
9516 * fns.c (Freplace_list):
9517 fix small typo in doc string.
9520 declare enqueue_Xt_dispatch_event.
9522 2000-04-28 Ben Wing <ben@xemacs.org>
9525 * buffer.c (Frecord_buffer):
9526 * buffer.c (syms_of_buffer):
9527 delete record-buffer-hook.
9530 * fns.c (Freplace_list):
9531 * fns.c (syms_of_fns):
9532 new primitive replace-list.
9535 slot for old buffer-alist.
9541 * redisplay.c (redisplay_frame):
9542 * redisplay.c (syms_of_redisplay):
9543 * redisplay.c (vars_of_redisplay):
9544 new hook buffer-list-changed-hook.
9547 2000-04-27 Ben Wing <ben@xemacs.org>
9549 * extents.h: extern in_modeline_generation.
9551 * redisplay.c (generate_formatted_string_db): set
9552 in_modeline_generation.
9554 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9555 flags if in modeline generation. otherwise frame-modified-tick
9556 is ticked far too often.
9557 Declare in_modeline_generation.
9559 2000-04-26 Ben Wing <ben@xemacs.org>
9561 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9563 (vars_of_emacs): add quick-build as an error-checking option.
9564 A bit kludgy, but there doesn't seem much point in creating
9565 a real var for this.
9567 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9569 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9571 * redisplay.h (struct display_line): Add a new variable,
9574 * redisplay.c (create_text_block): Set dl->line_continuation if
9576 (create_string_text_block): Ditto.
9577 (regenerate_window_incrementally): Use line_continuation instead
9578 of searching continuation glyph.
9579 (add_margin_runes): Call add_glyph_rune.
9580 (add_glyph_rune): Handle margin glyph.
9582 2000-04-20 Martin Buchholz <martin@xemacs.org>
9584 * filelock.c (fill_in_lock_file_name):
9586 Check for IS_ANY_SEP instead of '/'.
9588 Avoid generating gratuitous garbage. Call user_login_name() directly.
9589 Never check errno without first seeing that system call failed.
9590 (unlock_file): Add GCPRO.
9591 (Flock_buffer): Fix docstring.
9592 (Ffile_locked_p): Fix docstring. Add GCPRO.
9594 2000-04-19 Martin Buchholz <martin@xemacs.org>
9596 * sysdep.c (get_pty_max_bytes):
9597 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9598 strings longer than 252 bytes.
9600 * md5.c: Unconditionally include ANSI header <limits.h>
9602 * glyphs-x.c (convert_EImage_to_XImage):
9603 * lisp-union.h (union Lisp_Object):
9604 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9606 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9608 * filelock.c (current_lock_owner): Remove unused variable o, p.
9610 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9612 * callint.c: Remove multiply defined symbol Qlet
9613 (syms_of_callint): ditto.
9615 2000-04-14 Andy Piper <andy@xemacs.org>
9617 * general.c (syms_of_general): add last-command, this-command, let
9620 * lisp.h: declare various symbols.
9622 * glyphs.h: declare Qwidget_callback_current_channel;
9624 * glyphs-widget.c (syms_of_glyphs_widget): add
9625 Qgui_callback_current_channel.
9626 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9628 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9629 widget-callback-current-channel when invoking the interactive
9630 arg. Also bind last-command and next-command when invoking the
9632 * gui-x.c (popup_selection_callback): ditto.
9634 * gui.c (get_gui_callback): massage args so that we are always
9635 calling eval. This allows us to add our own variable bindings
9638 * glyphs-x.c (x_button_instantiate): use
9639 gui_items_to_widget_values since this is GC safe.
9640 (x_progress_gauge_instantiate): ditto.
9641 (x_edit_field_instantiate): ditto.
9642 (x_label_instantiate): ditto.
9644 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9645 (emacs_Xt_event_widget_focus_out): new function
9646 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9648 (emacs_Xt_event_add_widget_actions): new function. add focus
9649 functions as actions.
9650 (init_event_Xt_late): use it.
9652 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9654 * event-stream.c (Fdispatch_event): Doc fix.
9656 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9658 * postgresql.c: Remove all references to PQsetenv*.
9660 * postgresql.h: Remove references to PGsetenvHandler object.
9661 * lrecord.h (lrecord_type): Ditto.
9663 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9665 * glyphs-msw.h (struct mswindows_image_instance_data): Added
9666 real_heigh and real_width members, and accessor macros for these.
9668 * glyphs-msw.c (init_image_instance_geometry): New function.
9669 (init_image_instance_from_dibitmap): Use it.
9670 (mswindows_resource_instantiate): Use it.
9671 (init_image_instance_from_xbm_inline): Use it.
9672 (mswindows_initialize_image_instance_mask): Use real bitmap
9674 (mswindows_create_resized_bitmap): Ditto.
9675 (mswindows_create_resized_mask): Ditto.
9677 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
9678 and bitmap to their surface size.
9680 2000-04-11 Jan Vroonhof <jan@xemacs.org>
9682 * process-unix.c (unix_send_process): Guard against process MIA
9683 after Faccept_process_output.
9685 2000-04-11 Ben Wing <ben@xemacs.org>
9687 * eval.c (unbind_to_hairy): fix brokenness introduced by
9688 nanosecond speed improvements.
9690 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
9692 * sunplay.c (init_device): To play sounds correctly, the device
9693 apparently needs to be initialized at least once by XEmacs. Make
9696 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
9698 * redisplay.c (add_margin_runes): Add text image glyph
9701 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9703 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
9704 gcc is newer than 2.5.
9706 2000-04-06 Colin Rafferty <colin@xemacs.org>
9708 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
9710 * fns.c (size_bit_vector):
9711 * alloc.c (size_vector):
9712 (make_vector_internal):
9713 (make_bit_vector_internal):
9714 (sweep_bit_vectors_1):
9715 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
9717 2000-04-06 Andy Piper <andy@xemacs.org>
9719 * gmalloc.c (malloc): undo previous change.
9724 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
9726 * line-number.c (buffer_line_number): Revert to former version.
9728 2000-04-06 Andy Piper <andy@xemacs.org>
9730 * gmalloc.c (malloc): add error checking.
9735 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
9736 button_item_to_widget_value arg.
9738 * glyphs-x.c (x_button_instantiate): add extra
9739 button_item_to_widget_value arg.
9740 (x_progress_gauge_instantiate): ditto.
9741 (x_edit_field_instantiate): ditto.
9742 (x_label_instantiate): ditto.
9744 * gui-x.c (gui_items_to_widget_values_1): add extra
9745 button_item_to_widget_value arg.
9746 (button_item_to_widget_value): add extra menu_item_p arg.
9748 * gui-x.h: change signature of button_item_to_widget_value.
9750 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
9751 button_item_to_widget_value arg.
9753 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9755 * buffer.h (struct buffer): auto_save_modified should be long.
9757 2000-04-05 Andy Piper <andy@xemacs.org>
9759 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
9761 (button_query_geometry): give a little more room so that athena
9764 2000-04-05 Andy Piper <andy@xemacs.org>
9766 * faces.c (complex_vars_of_faces): The widget face should inherit
9767 the font of the gui-element face.
9769 2000-04-04 Andy Piper <andy@xemacs.org>
9771 * glyphs-x.c (x_button_update): new function. unconditionally
9772 update a button's state when the instance is dirty.
9773 (image_instantiator_format_create_glyphs_x): add x_button_update.
9774 (x_widget_instantiate): remove old resize cruft.
9776 2000-04-02 Andy Piper <andy@xemacs.org>
9778 * frame.c (change_frame_size_1): The introduction of gutters means
9779 that we need to allow 0 as a potential frame dimension.
9781 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
9783 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
9784 image glyph if allow_cursor.
9785 (add_hscroll_rune): Don't allow cursor to border glyph.
9786 (create_text_block): Ditto.
9788 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
9790 (redisplay_output_layout): Call ensure_face_cachel_complete for
9794 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
9796 * redisplay.c (add_glyph_rune): Adding text image as text runes.
9798 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
9801 * redisplay-tty.c (tty_output_display_block): Delete the routine
9802 for text image glyph
9803 * redisplay-x.c (x_output_display_block): ditto
9804 * redisplay-msw.c (mswindows_output_display_block): ditto
9806 2000-02-02 Mike Alexander <mta@arbortext.com>
9808 Note: Some of these were committed by accident as part of other
9811 * regex.c (regex_compile): Avoid compiler warnings.
9813 * ntproc.c (sys_spawnve): Avoid compiler warnings.
9815 * nt.h: Declare term_ntproc correctly.
9817 * nt.c: Remove incorrect declaration of get_home_directory which
9818 is declared correctly in lisp.h.
9820 * keymap.c (get_keyelt): Avoid compiler warnings.
9821 (raw_lookup_key_mapper): Avoid compiler warnings.
9823 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
9825 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
9827 * filemode.c (mode_string): Avoid compiler warnings.
9829 * file-coding.c (Fcoding_system_aliasee): Add return statement to
9832 * events-mod.h: Undef some things that winuser.h defines differently.
9834 * data.c (Faset): Avoid compiler warnings.
9836 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
9838 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9840 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
9841 Fall through to simple beep on error.
9842 Replace "extern" by real header file.
9844 * linuxplay.c: Use nativesound.h
9845 (play_sound_data): Return error code. Be less verbose on error.
9847 * sunplay.c: Use nativesound.h
9848 (play_sound_data): Return error code. Be less verbose on error.
9850 * ntplay.c: Use nativesound.h
9851 (play_sound_data): Return fake error code
9853 * sgiplay.c: Use nativesound.h
9854 (play_sound_data): Return error code
9856 * hpplay.c: Use nativesound.h, partially implement
9857 new error code. Break compilation until finished.
9858 (play_sound_data): error code.
9860 * nativesound.h (play_sound_file):
9861 (play_sound_data): Prototype in new header.
9863 2000-03-31 Andy Piper <andy@xemacs.org>
9865 * glyphs-widget.c: (button_query_geometry): new function. Adjust
9866 for toggle and radio buttons.
9867 (image_instantiator_buttons): use it.
9869 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9871 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
9872 (x_update_horizontal_scrollbar_callback): Return if no mirror was
9873 found. Scrollbar event probably belonged to some old config.
9875 2000-03-31 Andy Piper <andy@xemacs.org>
9877 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
9879 (initialize_widget_image_instance): default layout to
9880 LAYOUT_HORIZONTAL rather than 0.
9881 (widget_instantiate): reverse the item list at the end rather than
9883 (layout_layout): re-code for the border text at the front of the
9884 item list rather than at the end.
9885 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
9886 provided by the user.
9887 (widget_query_geometry): comment.
9889 2000-03-30 Andy Piper <andy@xemacs.org>
9891 * glyphs-widget.c (image_instantiator_layout): allow standard
9892 widget keywords in layouts.
9894 * gutter.c (output_gutter): cope with nil gutter contents.
9896 * frame.c (Fset_frame_properties): add gutter docs.
9898 2000-03-29 Andy Piper <andy@xemacs.org>
9900 * toolbar-msw.c (TBSTYLE_FLAT): add.
9901 (mswindows_output_toolbar): minor fiddling.
9903 2000-03-29 Andy Piper <andy@xemacs.org>
9905 * gutter.c (output_gutter): force gutter size recalculation if
9906 what we are trying to display won't fit.
9907 (update_gutter_geometry): new function. A per-gutter version of
9908 update_frame_gutter_geometry.
9909 (update_frame_gutter_geometry): use it.
9910 (redraw_exposed_gutter): add extra debugging output.
9912 2000-03-28 Mike Alexander <mta@arbortext.com>
9914 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
9915 (pdump_file_unmap): Implement it on Windows
9916 (pdump_file_get): Save alocated handles for pdump_file_unmap
9918 2000-03-28 Andy Piper <andy@xemacs.org>
9920 * gui.c (get_gui_callback): treat Quit specially.
9922 2000-03-27 Andy Piper <andy@xemacs.org>
9924 * glyphs.c (image_instantiate): be careful to check in the same
9927 2000-03-27 Didier Verna <didier@xemacs.org>
9929 * config.h.in: define the proper SMART_INCLUDE macro.
9930 handle renaming of `foo_h_path' to `foo_h_file'.
9932 * database.c: ditto.
9936 * linuxplay.c: ditto.
9938 * terminfo.c: ditto.
9940 * tooltalk.h: ditto.
9942 2000-03-27 Andy Piper <andy@xemacs.org>
9944 * glyphs-msw.c (mswindows_update_widget): make sure the widget
9945 gets updated whenever the face might have changed.
9947 2000-03-26 Mike Alexander <mta@arbortext.com>
9949 * dumper.c (pdump_resource_free): Fix the comment.
9951 2000-03-21 Olivier Galibert <galibert@pobox.com>
9953 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
9955 2000-03-22 Mike Alexander <mta@arbortext.com>
9957 * dumper.c: Include Windows headers on Windows
9958 (pdump_resource_free): Add a body to the function
9959 (pdump_load): exe_name -> exe_path and add some comments.
9961 2000-03-25 Mike Alexander <mta@arbortext.com>
9963 * gui.c (copy_gui_item_tree): Return a value in all cases
9965 2000-03-21 Didier Verna <didier@xemacs.org>
9967 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
9969 (SMART_INCLUDE): new macro.
9970 (POSTGRES_INCLUDE): new macro to include postgresql headers from
9971 the proper location.
9973 * postgresql.c: use it.
9977 2000-03-24 Andy Piper <andy@xemacs.org>
9979 * gutter.c (redraw_exposed_gutters): must be "in display" when we
9982 2000-03-24 Andy Piper <andy@xemacs.org>
9984 * redisplay-output.c (compare_runes): use image_instance_changed
9985 to detect changes. Do not depend on glyphs_changed, only depend on
9987 (redisplay_output_layout): add debug messages.
9988 (compare_runes): ditto.
9990 * glyphs.h: declare new functions.
9991 (struct Lisp_Image_Instance): remove percent and associated
9994 * gui.h: declare new copying functions.
9996 * gui.c (copy_gui_item_tree): new function.
9997 (copy_gui_item): new function.
9998 (gui_item_id_hash): revert to standard hash.
9999 (gui_item_hash): ditto.
10000 (gui_item_hash_internal): deleted.
10001 (mark_gui_item): mark value.
10002 (gui_item_add_keyval_pair): add value.
10003 (gui_item_init): ditto.
10004 (gui_add_item_keywords_to_plist): ditto.
10005 (gui_item_equal): ditto.
10006 (syms_of_gui): add Q_value.
10008 * glyphs-x.c (x_progress_gauge_update): use pending items and
10009 value for setting the state.
10010 (x_update_widget): don't set items from pending here.
10012 * glyphs-widget.c (update_widget): update items here.
10013 (progress_gauge_set_property): use items for storing value. Put
10014 new value in pending items.
10016 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
10017 items for new value. Convert percent -> value.
10018 (mswindows_tab_control_update): don't update items here.
10020 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
10021 (update_subwindow): ditto.
10022 (image_instance_changed): new function. Compare hash values and
10023 past and present widget items.
10024 (image_instantiate): We more careful about where we instantiate
10026 (image_instantiate): add error checking.
10028 * gutter.c (syms_of_gutter): use -hook.
10030 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
10032 * console-tty.c (Fset_console_tty_input_coding_system): Use
10034 (Fset_console_tty_output_coding_system): Use Qterminal.
10035 (tty_init_console): Use Qkeyboard and Qterminal.
10037 2000-03-21 Ben Wing <ben@xemacs.org>
10039 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
10040 From Mike Alexander <mta@arbortext.com>.
10042 2000-03-21 Ben Wing <ben@xemacs.org>
10044 * event-msw.c (mswindows_need_event): Horrible kludge to fix
10045 process brokenness. Proper implementation to come.
10047 Rename call-process-internal to old-call-process-internal.
10048 New impl. in process.el.
10050 2000-03-21 Martin Buchholz <martin@xemacs.org>
10052 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
10054 2000-03-20 Andy Piper <andy@xemacs.org>
10056 * glyphs.c (full_list_hash): make hashes of the same elements in
10057 different orders return different values.
10059 2000-03-20 Martin Buchholz <martin@xemacs.org>
10061 * XEmacs 21.2.32 is released.
10063 2000-03-20 Martin Buchholz <martin@xemacs.org>
10065 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
10066 (DFC_MALLOC_USE_CONVERTED_DATA):
10067 Add aliasing-safe casts to allow use with char* or unsigned char*
10070 * eldap.c (Fldap_open):
10071 (Fldap_search_basic):
10074 Make C++-compilable.
10075 Make sure GCPRO'ed variables are initialized.
10076 Use temp variables to avoid repeated calls to Flength.
10078 2000-03-16 Martin Buchholz <martin@xemacs.org>
10081 Make sure PATH_MAX is always defined.
10082 Include limits.h for PATH_MAX.
10083 Deprecate use of MAXPATHLEN.
10085 2000-03-10 Martin Buchholz <martin@xemacs.org>
10087 * emacs.c: Add reinit_vars_of_fileio.
10088 * symsinit.h: Add reinit_vars_of_fileio.
10089 * fileio.c (reinit_vars_of_fileio): New.
10090 * fileio.c (Fmake_temp_name):
10091 Initialize temp_name random number from microseconds to make
10092 collisions even less likely. Initialize always at process startup
10093 time. (make-temp-name) used to return the same file name twice in
10095 Random stylistic fiddling.
10098 2000-03-20 Andy Piper <andy@xemacs.org>
10100 * glyphs.c (image_instantiate): allow text glyphs to be
10101 instantiated in the minibuffer window.
10103 2000-03-19 Andy Piper <andy@xemacs.org>
10105 * glyphs.c (image_instance_hash): be careful about which items we
10108 * glyphs-widget.c (tab_control_set_property): record into pending
10109 items rather than the actual items.
10111 * glyphs-x.c (x_update_widget): use pending items to update with.
10113 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10116 * glyphs.c (mark_image_instance): mark pending items.
10118 * window.c (Fset_window_configuration): record the buffer.
10119 (Fselect_window): totally revert previous change which breaks many
10122 2000-03-18 Andy Piper <andy@xemacs.org>
10124 * glyphs-msw.c (mswindows_tab_control_update): force selected
10127 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10128 window domain cache, otherwise we get inconsistencies at
10129 startup. There is something fishy at startup which can lead to the
10130 minibuffer being the selected window when the gutter content is
10133 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10135 (parse_gui_item_tree_children): ditto.
10136 (parse_gui_item_tree_item): ditto.
10138 * glyphs.c (Fupdate_widget_instances): return something.
10140 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10142 * window.c (Fselect_window): Undo 2000-03-17 change.
10144 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10146 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10147 against v7.0 libraries. Insta-coredump city until the postgres
10150 2000-03-17 Andy Piper <andy@xemacs.org>
10152 * faces.c (complex_vars_of_faces): don't give the widget face an
10153 inherited background pixmap.
10155 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10158 * event-stream.c (Fdispatch_non_command_events): return something.
10160 * gutter.c (output_gutter): use widget face.
10161 (clear_gutter): ditto.
10163 * NEWS: adjust again.
10165 * window.c (Fselect_window): make sure this runs to completion to
10166 avoid oddities with Fset_window_configuration.
10167 (Fcurrent_window_configuration): in general do not save the
10168 minibuffer as the selected window.
10170 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10172 2000-03-16 Olivier Galibert <galibert@pobox.com>
10174 * emacs.c (Frunning_temacs_p): Revert previous patch.
10175 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10177 2000-03-16 Andy Piper <andy@xemacs.org>
10179 * glyphs-x.c (x_tab_control_update): if no widget values then
10182 * NEWS: update for new features.
10184 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10185 synthetic event to the native system.
10186 (reinit_vars_of_event_Xt): set force_event_pending to
10187 emacs_Xt_force_event_pending.
10189 * events.h (struct event_stream): add force_event_pending.
10191 * specifier.c (recompute_one_cached_specifier_in_window): add
10194 * redisplay.c (redisplay_frame): don't call
10195 update_frame_subwindows. Reset subwindow cachels when
10196 subwindows_changed, removing this was an optimization too far.
10198 * redisplay-output.c (compare_runes): reorganize so that we catch
10199 glyph changes when we want them. Set optimize_output when this
10200 would help layouts.
10201 (redisplay_output_layout): remove frame_really_changed, use
10202 optimize_output instead.
10204 * redisplay-msw.c (mswindows_output_display_block): reset
10205 optimize_output after outputting a glyph.
10206 * redisplay-x.c (x_output_display_block): ditto.
10207 * redisplay-tty.c (tty_output_display_block): ditto.
10209 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10211 (gutter_specs_changed): do specific gutter positions.
10212 (top_gutter_specs_changed): new function. Only update the
10213 specified gutter specs.
10214 (bottom_gutter_specs_changed): ditto.
10215 (left_gutter_specs_changed): ditto.
10216 (right_gutter_specs_changed): ditto.
10218 * gui.c (gui_item_hash_internal): new function, does a real hash.
10219 (gui_item_id_hash): use it.
10220 (gui_item_hash): hash the eval'ed gui_item.
10222 * gui-x.c (popup_selection_callback): send an eval event to call
10223 Fupdate_widget_instances.
10225 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10226 to call Fupdate_widget_instances.
10228 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10229 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10231 * glyphs.c: (update_frame_subwindows): deleted.
10232 (Fupdate_widget_instances): new function for updating the dirty
10233 state of widgets that might have changed.
10234 (syms_of_glyphs): add Qupdate_widget_instances.
10235 (full_list_hash): hash a list completely.
10236 (image_instance_hash): use it for items and properties.
10238 * frame-msw.c (mswindows_size_frame_internal): remove unused
10241 * faces.h (struct face_cachel): fix comment.
10243 * event-stream.c (Fdispatch_non_command_events): new
10244 function. Process non-command events, forcing an event cycle
10246 (syms_of_event_stream): declare.
10247 (event_stream_force_event_pending): new function. Force an event
10248 on the native event queue so that an event cycle will occur next
10252 (struct ntpipe_shove_stream):
10253 (mswindows_enqueue_dispatch_event):
10254 (mswindows_dequeue_dispatch_event):
10255 (mswindows_cancel_dispatch_event):
10256 (mswindows_pump_outstanding_events):
10257 (mswindows_drain_windows_queue):
10258 (mswindows_handle_paint):
10259 (mswindows_wnd_proc):
10260 (mswindows_key_to_emacs_keysym):
10261 (get_process_input_waitable):
10262 (emacs_mswindows_delete_stream_pair): re-indent file.
10263 (mswindows_need_event): do not process further fds if the windows
10264 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10265 fixes the 100% cpu problem.
10266 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10268 2000-03-15 Olivier Galibert <galibert@pobox.com>
10274 * emacs.c: Moved dump file searching to dumper.c.
10275 (Frunning_temacs_p): Fixed.
10277 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10278 last_lrecord_type_index_assigned.
10280 2000-02-20 Olivier Galibert <galibert@pobox.com>
10282 * symsinit.h: Added reinit parameter to init_console_stream
10285 * lisp.h: Added file parameter to pdump_load declaration.
10287 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10288 support. Added dump file searching.
10290 * config.h.in: Added EMACS_PROGNAME.
10292 * console-stream.c (init_console_stream): Fix reinitialisation
10293 when running from temacs.
10295 * alloc.c (pdump): Add id support.
10296 (pdump_load): Add file parameter and signature/id support.
10298 * Makefile.in.in: Add full pdump support.
10300 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10302 * postgresql.c: Update documentation to reflect latest code
10304 (print_result): Show tuple counts in printed representation when
10306 (Fpq_put_nbytes): MULE-ize.
10307 (Fpq_get_line_async): Ditto.
10309 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10311 * postgresql.c (Fpq_lo_import): Fix return value.
10312 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10314 2000-03-13 Ben Wing <ben@xemacs.org>
10316 * alloc.c (pdump_load):
10317 Fix compile warning under mswin.
10319 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10321 * postgresql.c: Mule-ization, bug fixes.
10322 Use PG_CODING to encapsulate coding system name changes.
10323 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10324 (pg-coding-system): Create.
10326 (Fpq_conn_defaults): Mule-ize.
10327 (Fpq_connectdb): Mule-ize & bug fix.
10328 (Fpq_connect_start): Mule-ize.
10329 (Fpq_set_client_encoding): Mule-ize.
10330 (Fpq_finish): Document `DEAD' connection status.
10331 (Fpq_clear): Ditto.
10332 (Fpq_pgconn): Mule-ize.
10333 (Fpq_exec): Mule-ize & bug fix.
10334 (Fpq_send_query): Ditto.
10335 (Fpq_get_result): Ditto.
10336 (Fpq_res_status): Mule-ize.
10337 (Fpq_result_error_message): Mule-ize.
10338 (Fpq_ntuples): fix comments.
10339 (Fpq_fname): Mule-ize.
10340 (Fpq_fnumber): Mule-ize.
10341 (Fpq_ftype): fix comments.
10342 (Fpq_get_value): Mule-ize.
10343 (Fpq_cmd_status): Ditto.
10344 (Fpq_cmd_tuples): Ditto.
10345 (Fpq_oid_value): Ditto.
10346 (Fpq_notifies): Ditto.
10347 (Fpq_lo_import): Ditto.
10348 (Fpq_lo_export): Ditto.
10349 (Fpq_get_line): Ditto.
10350 (Fpq_put_line): Mule-ize and bug fix.
10351 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10353 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10355 * postgresql.c (vars_of_postgresql): Mule-ize.
10356 (Fpq_conn_defaults): Ditto.
10358 2000-03-12 Ben Wing <ben@xemacs.org>
10360 * alloc.c (Fmake_byte_code):
10361 * alloc.c (debug_string_purity_print):
10362 * alloc.c (pdump_backtrace):
10363 * alloc.c (pdump_get_indirect_count):
10364 * alloc.c (pdump_register_sub):
10365 * alloc.c (pdump_register_object):
10366 * alloc.c (pdump_register_struct):
10367 * alloc.c (pdump_dump_data):
10368 * alloc.c (pdump_reloc_one):
10372 * console-msw.c (GetConsoleHwnd):
10373 * console-msw.c (msw_hide_console):
10374 * console-msw.c (msw_show_console):
10375 * console-msw.c (msw_ensure_console_buffered):
10376 * console-msw.c (msw_output_console_string):
10377 * console-msw.c (console_type_create_mswindows):
10379 a) Added functions to manipulate the console window for use with
10382 b) Added support for writing text to the console, which is now
10383 used under Windows when xemacs is not being run non-interactively,
10384 to write text that would otherwise be destined for stdout because
10385 under these circumstances, text written to stdout tends to
10386 disappear and not be seen.
10390 * event-Xt.c (x_event_to_emacs_event):
10391 * event-Xt.c (describe_event_window):
10392 * events-mod.h (XEMACS_MOD_CONTROL):
10394 * events.c (Fmake_event):
10395 * events.c (character_to_event):
10396 * events.c (event_to_character):
10397 * events.c (format_event_object):
10398 * events.c (Fevent_modifiers):
10400 * events.h (struct key_data):
10401 * events.h (struct button_data):
10402 * events.h (struct misc_user_data):
10403 * frame-x.c (Fcde_start_drag_internal):
10404 * frame-x.c (Foffix_start_drag_internal):
10405 * gpmevent.c (Freceive_gpm_event):
10407 * keymap.c (bucky_sym_to_bucky_bit):
10408 * keymap.c (control_meta_superify):
10409 * keymap.c (make_key_description):
10410 * keymap.c (keymap_lookup_directly):
10411 * keymap.c (create_bucky_submap):
10412 * keymap.c (keymap_store):
10413 * keymap.c (define_key_check_and_coerce_keysym):
10414 * keymap.c (define_key_parser):
10415 * keymap.c (define_key_alternate_name):
10416 * keymap.c (Fdefine_key):
10417 * keymap.c (raw_lookup_key_mapper):
10418 * keymap.c (struct map_keymap_unsorted_closure):
10419 * keymap.c (map_keymap_unsorted_mapper):
10420 * keymap.c (map_keymap_sort_predicate):
10421 * keymap.c (map_keymap_sorted):
10422 * keymap.c (accessible_keymaps_mapper_1):
10423 * keymap.c (where_is_recursive_mapper):
10424 * keymap.c (describe_map_mapper):
10425 * keymap.c (describe_map_sort_predicate):
10426 * keymap.c (describe_map):
10427 * keymap.c (complex_vars_of_keymap):
10428 And a number of other files, the key modifier preprocessor
10429 constants that xemacs uses have names that conflict with constants
10430 defined under MS Windows for other purposes, so they were renamed
10431 to begin with the prefix XEMACS_. The variables that hold such
10432 modifiers were changed to consistently be of type int to fix
10433 various compile warnings.
10435 * console.c (complex_vars_of_console):
10438 * device-msw.c (mswindows_finish_init_device):
10439 * device-msw.c (msw_get_workspace_coords):
10440 * device-msw.c (mswindows_device_system_metrics):
10441 and various other files, added support for a new
10442 device property called offset-workspace which returns the position
10443 of the upper left corner of the workspace area and goes along with
10444 the existing size-workspace property.
10447 * dialog-msw.c (push_bufbyte_string_as_unicode):
10448 * dialog-msw.c (mswindows_popup_dialog_box):
10449 Added support for XEmacs-style accelerator specifications in
10450 button text. Note: I didn't add support for this under X Windows,
10451 and somebody needs to do this.
10454 * dialog.c (Fpopup_dialog_box):
10455 Documented the support for accelerators that was just mentioned.
10457 editfns.c (get_home_directory): Changed behavior under Windows
10458 when HOME not defined; former behavior was irretrievably broken.
10461 * emacs.c (main_1):
10463 * minibuf.c (clear_echo_area_internal):
10464 * minibuf.c (echo_area_append):
10466 * print.c (std_handle_out_external):
10467 * print.c (std_handle_out_va):
10469 * print.c (write_string_to_stdio_stream):
10470 * print.c (output_string):
10471 * print.c (debug_print):
10472 * print.c (debug_backtrace):
10473 * print.c (debug_short_backtrace):
10474 Cleaned up the code that prints text to stdout so that this can be
10475 changed to output into a console window instead under MS Windows,
10476 as described above.
10479 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10480 * eval.c (internal_catch):
10481 * eval.c (unwind_to_catch):
10482 * eval.c (throw_or_bomb_out):
10483 * eval.c (condition_case_1):
10484 * eval.c (signal_1):
10485 * eval.c (check_error_state_sanity):
10486 * eval.c (call_with_suspended_errors_1):
10487 * eval.c (call_with_suspended_errors):
10488 * eval.c (reinit_vars_of_eval):
10489 Added code to catch throw loops and check for a pesky bug that may
10493 * event-msw.c (key_needs_default_processing_p):
10494 * event-msw.c (mswindows_wnd_proc):
10495 * event-msw.c (mswindows_modifier_state):
10496 * event-msw.c (emacs_mswindows_quit_p):
10497 * event-msw.c (vars_of_event_mswindows):
10498 a) Added support for using the alt key to select menu items as is
10499 standard under MS Windows. This is controlled using the variable
10500 menu-accelerator-enabled, just like under X Windows. There is an
10501 option on the options menu to turn this support on. I really
10502 think that it should be on by default under Windows, but I'm not
10503 going to make this change yet.
10505 b) Added support for dynamic display size changes under Windows.
10508 * event-stream.c (maybe_echo_keys):
10509 * event-stream.c (Fnext_event):
10510 * event-stream.c (command_builder_find_leaf):
10511 * event-stream.c (lookup_command_event):
10512 * event-stream.c (execute_command_event):
10513 * event-stream.c (pre_command_hook):
10514 * event-stream.c (post_command_hook):
10515 * event-stream.c (syms_of_event_stream):
10516 * event-stream.c (vars_of_event_stream):
10517 * event-stream.c (complex_vars_of_event_stream):
10518 * events.h (struct command_builder):
10520 a) Tried to clean up a little bit the horribly written x-specific
10521 accelerator code that crept into this file. I moved this code
10522 into menubar-x.c where it belongs. I also needed to move the
10523 command builder structure into the file events.h because it is
10524 accessed directly by this accelerator code. What I didn't do, but
10525 which should be done at some point, is to properly abstract this
10526 code using device methods instead of the kludgy way that it
10527 currently hooks into the event code.
10529 b) Added the lisp variables this-command-properties and
10530 last-command- properties, which should be used to synchronize two
10531 adjacent commands in preference to playing games with the variable
10532 this-command, which is typically what happens.
10534 c) Added some slightly nasty code to hook into the lisp support
10535 for shifted- motion-key selection. This is actually necessary for
10536 somewhat complicated reasons, which are described in
10537 simple.el. (NB: I think the proper thing would be to have the code
10538 that calls the pre and post command hooks also call out to generic
10539 lisp functions in simple.el, where all built-in stuff could be
10540 added. I will think about this more.)
10542 * event-unixoid.c (poll_fds_for_input):
10543 * lread.c (readchar):
10544 * redisplay-tty.c (tty_clear_frame):
10545 * redisplay-x.c (x_get_gc):
10546 * signal.c (interrupt_signal):
10547 And a whole bunch of other files: fixed up places that printed
10548 directly to stderr to instead call the function stderr_out so that
10549 the changes I made under Windows work correctly.
10551 * filemode.c (mode_string):
10555 * frame-msw.c (mswindows_size_frame_internal):
10556 Fixed the computation of frame size and position to keep the frame
10557 within the workspace area, rather than within the physical
10558 dimensions of the screen, so that the frame doesn't overlap window
10559 manager decorations, such as the start menu and toolbar, typically
10560 at the bottom of the screen.
10562 * frame.c (vars_of_frame):
10563 Changed the default frame title format under MS Windows to consist
10564 of buffername-XEmacs, which is standard under MS Windows. I think
10565 it might be a good idea to change this everywhere because I think
10566 it is superior to the current frame title format, but this is the
10567 kind of change that is likely to cause some people to get annoyed,
10568 so I'm not making it.
10570 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10572 * gui-msw.c (mswindows_handle_gui_wm_command):
10573 Fixed compile warnings.
10576 * gui-x.c (strdup_and_add_accel):
10577 * gui-x.c (button_item_to_widget_value):
10579 Added code to automatically put an accelerator onto the beginning
10580 of menu items that don't have one as is now the standard, and is
10581 described more later. Also fixed things so that the menu item
10582 name can be an evaluated expression, again a new standard.
10585 * gui.c (gui_item_add_keyval_pair):
10586 * gui.c (make_gui_item_from_keywords_internal):
10587 * gui.c (gui_add_item_keywords_to_plist):
10588 * gui.c (gui_item_accelerator):
10589 * gui.c (gui_name_accelerator):
10590 * gui.c (gui_item_included_p):
10591 * gui.c (gui_item_display_flush_left):
10592 * gui.c (gui_item_display_flush_right):
10593 * gui.c (parse_gui_item_tree_item):
10594 * gui.c (parse_gui_item_tree_children):
10595 * gui.c (parse_gui_item_tree_list):
10596 Mule-ized. Cleanup. GCPRO addition.
10598 * line-number.c (buffer_line_number):
10600 * lisp.h (EMACS_INT_MAX):
10601 Added the manifest constant EMACS_INT_MIN corresponding to the
10602 existing constant EMACS_INT_MAX. This is partially to fix compile
10603 warnings under Windows, and partly for cleanliness.
10606 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10607 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10608 * menubar-msw.c (displayable_menu_item):
10609 * menubar-msw.c (populate_menu_add_item):
10610 * menubar-msw.c (populate_or_checksum_helper):
10611 * menubar-msw.c (populate_menu):
10612 * menubar-msw.c (update_frame_menubar_maybe):
10613 * menubar-msw.c (prune_menubar):
10614 * menubar-msw.c (msw_char_is_accelerator):
10615 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10616 * menubar-msw.c (mswindows_handle_wm_command):
10617 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10618 * menubar-msw.c (mswindows_handle_wm_initmenu):
10619 * menubar-msw.c (mswindows_update_frame_menubars):
10620 * menubar-msw.c (mswindows_free_frame_menubars):
10621 * menubar-msw.c (mswindows_popup_menu):
10622 Fixed a bug in handling accelerators where an extra character
10623 would be displayed in the menu item. Also generalized the
10624 function displayable_menu_item because it is now used by the
10625 dialog box code as well. And finally, added code in the functions
10626 that create the menubar to extract a list of accelerators for the
10627 top level menubar, which is used in the event code to determine
10628 whether a particular alt-key combination should be used to invoke
10629 a menu item, or should be passed through to access the standard
10630 XEmacs keymap binding for this key combination.
10632 Much needed GCPROing.
10635 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10636 * menubar-x.c (menu_item_descriptor_to_widget_value):
10637 * menubar-x.c (restore_in_menu_callback):
10638 * menubar-x.c (x_popup_menu):
10639 * menubar-x.c (menu_move_up):
10640 * menubar-x.c (menu_move_down):
10641 * menubar-x.c (menu_move_left):
10642 * menubar-x.c (menu_move_right):
10643 * menubar-x.c (menu_select_item):
10644 * menubar-x.c (command_builder_operate_menu_accelerator):
10645 * menubar-x.c (menu_accelerator_junk_on_error):
10646 * menubar-x.c (command_builder_find_menu_accelerator):
10647 * menubar-x.c (Faccelerate_menu):
10649 Moved a whole bunch of code here that was previously in
10650 event-stream.c as described above. There is also code connected
10651 to the new standard of adding an accelerator to the beginning of
10652 menu items that don't have one as described above and below.
10655 * menubar.c (menu_parse_submenu_keywords):
10656 * menubar.c (Fmenu_find_real_submenu):
10657 * menubar.c (Fnormalize_menu_item_name):
10658 * menubar.c (syms_of_menubar):
10659 * menubar.c (vars_of_menubar):
10660 * menubar.c (complex_vars_of_menubar):
10662 a) Cleaned up a bunch of documentation and improved it.
10664 b) XEmacs now automatically adds an accelerator onto the beginning
10665 of any menu items that don't have one. I did this because there
10666 will inevitably be some menu items on the main menubar that don't
10667 have accelerators on them because the package that adds that
10668 particular menu item hasn't yet been fixed up to have accelerators
10669 in them and it looked rather strange to have some items with and
10670 some items without accelerators, especially since even in items
10671 without accelerators, you can, at least under windows, still
10672 access the item through an accelerator corresponding to the first
10673 character in the item's name. If people don't like this behavior,
10674 I can add a variable to turn it off optionally, but I'm not sure
10675 this is a good idea because we really do need to have accelerators
10676 on all of the menu items, and if a package doesn't like the
10677 accelerators being put on the first character, then it should put
10678 the accelerators where they belong.
10680 c) I made a behavior change, which is that the descriptor that
10681 specifies the text of the menu item, which formerly was just a
10682 string, can now also be an evaluated expression. This makes this
10683 descriptor parallel with all of the others, which could also be
10684 evaluated expressions. This also obviates the need for the
10685 keyword :label, which was previously listed in the documentation
10686 as unimplemented, and which was for the same purpose.
10691 * ntproc.c (new_child):
10692 * ntproc.c (sys_spawnve):
10693 * ntproc.c (find_child_console):
10694 * ntproc.c (sys_kill):
10695 Fixed compile warnings. By the way, this file should really go
10696 away entirely, and this will happen as soon as Kirill makes his
10697 final round of process cleanups, which affect the function
10701 * process-nt.c (struct nt_process_data):
10702 * process-nt.c (find_process_from_pid):
10703 * process-nt.c (send_signal_the_nt_way):
10704 * process-nt.c (enable_child_signals):
10705 * process-nt.c (find_child_console):
10706 * process-nt.c (send_signal_the_95_way):
10707 * process-nt.c (nt_finalize_process_data):
10708 * process-nt.c (ensure_console_window_exists):
10709 * process-nt.c (nt_create_process):
10710 * process-nt.c (nt_kill_child_process):
10711 * process-nt.c (nt_kill_process_by_pid):
10712 * process-nt.c (nt_open_network_stream):
10713 * process-nt.c (vars_of_process_nt):
10714 Copied over code from Emacs 20.5 to correctly send signals to sub-
10715 processes under Windows 95. Also added code to automatically
10716 create and hide console window when a sub-process is created under
10717 Windows 95, which obviates the need for the separate runemacs.exe
10718 executable, and finally implemented some variables that were
10719 implemented in Emacs 20.5, but previously not in XEmacs. These
10720 include mswindows- start-process-share-console and
10721 mswindows-start-process-inherit-error-mode. (Both of these only
10722 apply to Windows 95.)
10724 * regex.c (regex_compile): Fixed a compile warning.
10727 * select-msw.c (mswindows_own_selection):
10728 * select-msw.c (mswindows_get_foreign_selection):
10729 * select-msw.c (mswindows_disown_selection):
10730 * select-msw.c (console_type_create_select_mswindows):
10731 * select-msw.c (syms_of_select_mswindows):
10732 Cleaned up the file and implemented the device method
10733 selection_exists_p, which had accidentally been left out. Also
10734 removed four lisp functions that were remnants from before the
10735 time when the selection code was properly device abstracted.
10736 These functions are no longer needed because there are generic
10737 equivalents, and because they were added recently and don't exist
10738 in FSF Emacs, I don't think there's any problem with just deleting
10742 * sysdep.c (sys_subshell):
10743 Fixed a compile warning, although in this case there's probably
10744 something wrong with this code, and it ought to be looked into
10745 more thoroughly by somebody who understands it.
10748 * window.c (Fwindow_text_area_height):
10749 * window.c (Fwindow_width):
10750 * window.c (Fwindow_full_width):
10751 * window.c (Fwindow_pixel_width):
10752 * window.c (debug_print_window):
10753 * window.c (syms_of_window):
10754 Added functions window-text-area-height and window-full-width,
10755 which are functions for returning various width and height
10756 characteristics of a window. (One of these functions is necessary
10757 for making the file dialog box work correctly, and the other one
10758 was added for completeness.) Also added a table to the
10759 documentation for window-height which describes the entire scheme
10760 for accessing width and height characteristics of a window.
10762 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10764 * nt.c (fstat): Added a comment for another problem with
10765 non-encapsulated [f]stat(), reported by Adrian Aichner
10766 <aichner@ecf.teradyne.com>.
10768 2000-03-11 Andy Piper <andy@xemacs.org>
10770 * window.c (make_dummy_parent): initialize subwindow instance
10772 (Fset_window_configuration): zero extent_modiff.
10774 2000-03-10 Andy Piper <andy@xemacs.org>
10776 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
10777 more changes can be triggered.
10778 (Fredisplay_frame): ditto.
10779 (Fredraw_device): ditto.
10780 (Fredisplay_device): ditto.
10781 (redisplay_frame): make non-static.
10782 (redisplay_frame): call update_frame_gutter_geometry outside of
10785 * gutter.h: declare update_frame_gutter_geometry.
10787 * redisplay.h: declare redisplay_frame.
10789 * gutter.c (update_frame_gutter_geometry): move geometry changes
10790 in update_frame_gutters here. Geometry changes can only occur
10791 outside of redisplay.
10792 (update_frame_gutters): remove geometry change code.
10793 (Fredisplay_gutter_area): make sure that we are in display when we
10794 update and that we have flushed any size changes.
10796 2000-03-11 Andy Piper <andy@xemacs.org>
10798 * alloc.c (pdump_dump_data): remove i & count shadows.
10800 2000-02-27 Mike Alexander <mta@arbortext.com>
10802 * sysdep.h: Declare pdump_read_file
10804 * sysdep.c (pdump_read_file): New function
10806 * alloc.c (pdump_load): Call pdump_read_file to get the portable
10809 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10811 * lrecord.h: add `lrecord_type_pgsetenv'.
10813 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
10815 * symsinit.h: declare (vars|syms)_of* functions.
10816 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
10818 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
10820 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
10822 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
10825 * emacs.c (main_1): Call postgres initialization code.
10827 * postgresql.h: New file. PostgreSQL RDBMS support.
10828 * postgresql.c: New file.
10830 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
10832 * redisplay-output.c (redisplay_output_display_block): Disable
10835 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10837 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
10838 (Fcanna_henkan_next): Ditto.
10839 (Fcanna_bunsetu_henkou): Ditto.
10840 (Fcanna_henkan_kakutei): Ditto.
10841 (Fcanna_henkan_end): Ditto.
10842 (Fcanna_henkan_quit): Ditto.
10843 (Fcanna_henkan_next): Set retun value correctly.
10844 (c2mu): Use unsigned char instead of signed char.
10846 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10848 * emacs.c (main_1): Always call syms_of_gui.
10849 * inline.c: include gui.h
10851 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10853 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
10854 converted to Lisp_Object.
10855 (Qtop_bottom): New variable.
10856 (syms_of_redisplay): Initialize it.
10857 * redisplay.h (Vvisible_bell): Ditto.
10858 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
10859 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
10860 only flash top and bottom.
10862 2000-03-08 Andy Piper <andy@xemacs.org>
10864 * buffer.c (Frename_buffer): record new buffer name the right way.
10866 2000-03-08 Andy Piper <andy@xemacs.org>
10868 * glyphs.c (update_subwindow): increase hash depth so that widget
10869 items get picked up properly.
10871 * redisplay-output.c (compare_runes): increase hash depth so that
10872 widget items get picked up properly.
10874 2000-03-08 Andy Piper <andy@xemacs.org>
10876 * gutter.c (output_gutter): add some debug.
10878 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
10879 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
10880 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
10882 * redisplay-output.c (compare_runes): use display_hash to
10883 determine if glyphs really are not the same.
10885 * glyphs.c (update_subwindow): check display_hash to see if
10886 anything really needs to be updated. If not then do
10887 nothing. Record the display_hash after updating.
10888 (image_instance_equal): compare the image_instance face also.
10890 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
10892 * redisplay.h: Fix comment style.
10894 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
10896 * consle-msw.h (struct mswindows_frame):
10897 Added new member paint_pending to indicate whether a WM_PAINT
10898 magic event has been queued for this frame.
10900 * event-msw.c (mswindows_drain_windows_queue):
10901 Don't queue a WM_PAINT magic event if one is already queued.
10902 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
10904 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
10906 2000-03-07 Didier Verna <didier@xemacs.org>
10908 * dired.c: #include `regex.h' after `sysfile.h'.
10910 2000-03-06 Martin Buchholz <martin@xemacs.org>
10912 * sound.c (init_nas_sound): Fix compiler warning.
10914 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
10916 (MARK_STRUCT_AS_FREE):
10917 (MARK_STRUCT_AS_NOT_FREE):
10918 Make `gcc -fstrict-aliasing' work properly.
10920 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
10922 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
10923 (mswindows_delete_device): Call CoUnnitialize().
10925 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
10927 2000-02-25 <CraigL@DyCon.com>
10929 * process-nt.c: MinGW now has <shellapi.h>, but still needs
10932 * sysdep.c: This extern declaration for environ prevents MinGW
10933 from finding the variable in CRTDLL.DLL.
10935 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
10937 (SHGFI_EXETYPE): ..
10938 (WM_MOUSEWHEEL): ..
10939 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
10941 (MMRESULT): Removed, now defined in cygwin's windows headers.
10943 (uid_t,gid_t,pid_t,ssize_t): ..
10944 (_timeb): Removed, MinGW defines both _timeb and timeb.
10945 (HAVE_H_ERRNO): Added.
10946 (HAVE_TZNAME): Added, configure is not detecting this.
10948 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
10950 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
10951 * syntax.c (syntax_match): Use it.
10953 * cmds.c: Import auto-fill-chars from FSF Emacs.
10954 (Vauto_fill_chars): New variables.
10955 (internal_self_insert): Check Vauto_fill_chars.
10957 Declare auto-fill-chars as a Lisp variable and initialize it.
10959 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10961 * fileio.c (Fmake_symbolic_link):
10963 Run handlers even if local machine doesn't have symlinks.
10965 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10967 * event-msw.c (mswindows_drain_windows_queue):
10968 Don't generate paint magic events for non-XEmacs frames.
10970 2000-03-05 Andy Piper <andy@xemacs.org>
10972 * redisplay.c (redisplay_frame): generate_displayable_area and
10973 friends assumes that we are not in GC, we therefore have to make
10974 sure that this doesn't happen.
10976 * gutter.c (calculate_gutter_size): generate_displayable_area
10977 assumes that we are not in GC, we therefore have to make sure that
10978 this doesn't happen.
10980 2000-03-05 Martin Buchholz <martin@xemacs.org>
10982 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
10984 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10986 * redisplay.c (regenerate_window): Make sure we set a sane value
10987 for end_pos even if we jump out of the loop.
10988 (regenerate_window): Answer Ben's question :-).
10989 (start_end_of_last_line): Add may_error argument.
10990 (start_of_last_line):
10991 (end_of_last_line): Pass may_error = 0.
10992 (end_of_last_line_may_error): New function.
10993 (pixel_to_glyph_translation): Use it, so we don't crash in
10996 2000-03-04 Andy Piper <andy@xemacs.org>
10998 * window.h (struct window): add gutter_extent_modiff.
11000 * window.c (allocate_window): zero out gutter_extent_modiff.
11002 * redisplay.h: declare sync_display_line_structs.
11004 * redisplay.c (add_glyph_rune): add a better comment.
11006 * redisplay-output.c (sync_display_line_structs): made non-static.
11007 (compare_runes): remove unneccesary glyph cachel access.
11009 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
11011 * gutter.c (output_gutter): don't output the gutter if extent
11012 changes only involve extents in buffers. use 4 sets of display
11014 (gutter_extent_signal_changed_region_maybe): new function. Mark
11015 extents in gutters as changed.
11016 (update_frame_gutters): use 4 sets of display lines.
11017 (reset_gutter_display_lines): ditto.
11018 (free_frame_gutters): ditto.
11019 (redraw_exposed_gutter): force output of gutters.
11021 * frame.h (struct frame): add 4 sets of gutter display lines.
11023 * extents.c: (extent_changed_for_redisplay): signal changes to
11024 extents in strings in the gutter as well as extents in buffers.
11026 2000-03-02 Andy Piper <andy@xemacs.org>
11028 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
11030 * frame.c (Fmake_frame): make sure the gutters get initialized
11031 after the frame is visible.
11032 (set_frame_selected_window): re-arrange compilation macros a
11034 (change_frame_size_1): mark gutters changed.
11036 * device.c (Fset_device_class): mark gutters changed.
11038 2000-03-01 Andy Piper <andy@xemacs.org>
11040 * window.c (window_top_frame_gutter_height): deleted.
11041 (window_bottom_frame_gutter_height): ditto.
11042 (window_left_frame_gutter_height): ditto.
11043 (window_right_frame_gutter_height): ditto.
11044 (window_top_gutter_height): don't use them.
11045 (window_bottom_gutter_height): ditto.
11046 (window_left_gutter_width): ditto.
11047 (window_right_gutter_width): ditto.
11048 (Fsplit_window): ditto.
11049 (Fwindow_pixel_edges): don't use border dimensions here.
11051 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
11052 (update_scrollbar_instance): ditto.
11054 * redisplay.c (generate_modeline): don't take gutters into account.
11055 (generate_modeline): ditto.
11056 (redisplay_frame): small gutter display optimization.
11058 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
11060 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
11061 gutters into account.
11063 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
11064 for window position and type.
11066 * gutter.c (get_gutter_coords): fix for frame gutters.
11067 (update_frame_gutters): update frame geometry if the gutters have
11069 (init_frame_gutters): record current gutter geometries.
11071 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
11073 (mswindows_widget_instantiate): ditto.
11075 * frame.h (struct frame): add current_gutter_bounds.
11077 * frame.c (change_frame_size_1): position window and minibuffer
11078 appropriately taking into account the frame gutters.
11080 * frame-x.c: (x_initialize_frame_size): take into account the
11083 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11085 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11087 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11089 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11091 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11093 * file-coding.c (reset_decoding_stream): Clear previous
11094 detection state when autodetect.
11096 2000-02-29 Didier Verna <didier@xemacs.org>
11098 * extents.c (set_extent_glyph_1): don't require extents to be
11101 2000-02-27 Andy Piper <andy@xemacs.org>
11103 * gutter.c (Fset_default_gutter_position): don't default left and
11104 right gutter visibility to t.
11105 (Fset_default_gutter_position): run
11106 default-gutter-position-changed-hook.
11107 (syms_of_gutter): add default-gutter-position-changed-hook.
11109 2000-02-26 Andy Piper <andy@xemacs.org>
11111 * specifier.c (Fmake_specifier): add gutter references.
11113 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11115 * lisp.h: declare Fvalid_plist_p.
11117 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11119 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11120 well as its visibility so that it gets reconstructed.
11121 (construct_window_gutter_spec): new function. Construct a string
11122 to be displayed in the gutter from a plist of strings. Take care
11123 to only use elements that are declared as visible.
11124 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11126 (gutter_validate): allow plists of strings in the specifier.
11127 (gutter_specs_changed): construct the real_gutter from the gutter
11128 specs using construct_window_gutter_spec.
11129 (gutter_visible_validate): gutter-visible is a new specifier type.
11130 (Fgutter_visible_specifier_p): new function for the new specifier.
11131 (syms_of_gutter): declare gutter-visible and
11132 Fgutter_visible_specifier_p.
11133 (specifier_type_create_gutter): intitalize new gutter-visible
11135 (reinit_specifier_type_create_gutter): ditto.
11136 (specifier_vars_of_gutter): use new specifier type for gutter
11138 (init_frame_gutters): construct real_gutter correctly.
11139 (Fgutter_specifier_p): beef up documentation.
11140 (Fgutter_size_specifier_p): ditto.
11142 * winslots.h: add real_gutter slots.
11144 2000-02-25 Andy Piper <andy@xemacs.org>
11146 * device-msw.c: Be kind to older cygwin versions. From Raymond
11147 Toy <toy@rtp.ericsson.se>.
11149 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11150 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11152 2000-02-25 Martin Buchholz <martin@xemacs.org>
11154 * elhash.c (MARK_OBJ): Practice macro hygiene.
11156 2000-02-24 Martin Buchholz <martin@xemacs.org>
11158 * miscplay.c: s/__inline__/inline/g;
11159 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11160 (get_device_compdc): INLINE ==> static inline
11161 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11162 find -name '*.h' | \
11163 xargs global-replace \
11164 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11166 2000-02-25 Andy Piper <andy@xemacs.org>
11168 * window.c (window_top_frame_gutter_height): new function.
11169 (window_top_window_gutter_height): ditto.
11170 (window_top_gutter_height): use them.
11171 (window_bottom_frame_gutter_height): new function.
11172 (window_bottom_window_gutter_height): ditto.
11173 (window_bottom_gutter_height): use them.
11174 (window_left_window_gutter_width): new function.
11175 (window_left_frame_gutter_width): ditto.
11176 (window_left_gutter_width): use them.
11177 (window_right_window_gutter_width): new function.
11178 (window_right_frame_gutter_width): ditto.
11179 (window_right_gutter_width): use them.
11180 (window_pixel_height): new function. calulate window pixel height
11181 with frame gutter involvement.
11182 (Fsplit_window): calculate new sizes taking frame gutters into
11184 (window_char_height_to_pixel_height): don't include frame gutters.
11185 (window_char_height): use window_pixel_height.
11186 (window_pixheight): rename from window_pixel_height.
11187 (change_window_height): use it.
11188 (window_pixel_height_to_char_height): don't include frame gutters.
11189 (window_char_width_to_pixel_width): ditto.
11191 2000-02-25 Andy Piper <andy@xemacs.org>
11193 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11196 2000-02-24 Martin Buchholz <martin@xemacs.org>
11198 * alloc.c (staticpro):
11199 (staticpro_nodump):
11204 (compact_string_chars):
11205 (pdump_dump_wired):
11206 Convert: if (foo) abort(); ==> assert (! foo);
11208 * eldap.c (Fldap_search_basic):
11212 Fix compiler warnings, and possible crashes if (random) return
11213 value were to be used.
11215 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11217 * device-msw.c: Workaround ResetDC failure.
11219 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11220 applying a devmode.
11222 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11223 (mswindows_text_width): Do not start printer page.
11225 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11227 * glyphs-msw.c: Added image methods to msprinter console and
11228 msprinter-specific image instantiation.
11230 2000-02-20 Mike Alexander <mta@arbortext.com>
11232 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11233 to avoid crashes when selection-sets-clipboard is on
11234 (mswindows_own_selection): ditto
11236 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11239 * redisplay-msw.c (get_frame_dc):
11240 (get_frame_compdc):
11242 * device-msw.c (mswindows_init_device):
11243 (mswindows_delete_device):
11244 (msprinter_init_device):
11245 (msprinter_delete_device):
11246 * frame-msw.c (mswindows_init_frame_1):
11247 (mswindows_delete_frame):
11248 (msprinter_init_frame_3):
11249 (msprinter_delete_frame): Move compatible DC to device object from
11250 frame object, for both mswindows and msprinter. Only one at a time
11251 is needed, it is a real waste to have one per frame!
11253 2000-02-23 Andy Piper <andy@xemacs.org>
11255 * glyphs.c: add dynamic width and height elements.
11256 (image_instance_equal): ditto.
11258 * glyphs-widget.c (widget_query_geometry): calculate width and
11259 height dynamically if required.
11260 (initialize_widget_image_instance): initialize dynamic dimensions.
11261 (widget_instantiate): pick-up dynamic dimensions.
11263 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11264 dynamic determination. Add appropriate macros.
11266 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11268 (WINDOW_GUTTER_SIZE): ditto.
11269 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11271 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11273 (get_frame_dc): ditto.
11275 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11278 2000-02-23 Martin Buchholz <martin@xemacs.org>
11280 * XEmacs 21.2.31 is released.
11282 2000-02-22 Ben Wing <ben@xemacs.org>
11284 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11286 2000-02-22 Andy Piper <andy@xemacs.org>
11288 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11290 2000-02-21 Mike Sperber <mike@xemacs.org>
11294 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11297 2000-02-21 Mike Sperber <mike@xemacs.org>
11299 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11301 2000-02-21 Martin Buchholz <martin@xemacs.org>
11303 * XEmacs 21.2.30 is released.
11305 2000-02-20 Martin Buchholz <martin@xemacs.org>
11307 Performance hacking.
11309 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11310 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11311 * emacs.c (main_1):
11313 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11314 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11315 * symeval.h (DEFVAR_SYMVAL_FWD):
11316 * symbols.c (guts_of_unbound_marker):
11317 Make all c_readonly objects also lisp_readonly and marked for life.
11318 * lrecord.h (struct lrecord_implementation):
11319 Document flags better.
11320 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11321 * lrecord.h (DECLARE_LRECORD):
11322 * lrecord.h (XSETRECORD):
11323 * lrecord.h (RECORDP):
11324 * lrecord.h (RECORD_TYPEP):
11325 * lrecord.h (RECORD_MARKER): New.
11326 * lrecord.h (error_check_*):
11327 * lrecord.h (CONCHECK_NONRECORD):
11328 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11329 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11330 * lrecord.h (set_lheader_implementation):
11331 * lrecord.h (enum lrecord_type): New.
11332 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11333 * alloc.c (disksave_object_finalization_1):
11334 * alloc.c (mark_object):
11335 * alloc.c (lrecord_type_index):
11336 * alloc.c (tick_lcrecord_stats):
11337 * alloc.c (Fgarbage_collect):
11338 * alloc.c (init_alloc_once_early):
11339 * alloc.c (pdump_load):
11340 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11341 * alloc.c (lrecord_type_index): Delete.
11342 Make lisp object type indexes be constant.
11343 Makes (byte-compile) 5% faster.
11344 Put all marker functions into their own array.
11345 Makes (garbage-collect) 5% faster.
11346 Optimize SYMBOL_VALUE_MAGIC_P.
11347 Makes (byte-compile) 2-3% faster.
11348 * config.h.in (gc_checking_assert): New.
11349 * alloc.c: Use gc_checking_assert().
11350 * .dbxrc: Make compatible with new object type implementation.
11351 * .gdbinit: Make compatible with new object type implementation.
11352 * alloc.c: Delete all symbols defined only for debugging, such as
11353 Lisp_Type_Vector and lrecord_charset.
11355 2000-02-21 Andy Piper <andy@xemacs.org>
11357 * gui-msw.c (Fmswindows_shell_execute): fix file location
11360 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11361 unshowing so that set_window_buffer doesn't undo
11362 kill_buffer_hook's hard work.
11364 * glyphs-widget.c (tab_control_query_geometry): don't count the
11365 first item when calculating geometry.
11367 * glyphs.c (map_subwindow): remove redundant code.
11368 (update_frame_subwindows): be more circumspect about when to
11371 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11372 when items haven't changed. Update faces if faces have changed as
11373 well as just the widget face.
11374 (x_tab_control_update): Update faces if faces have changed as well
11375 as just the widget face.
11377 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11379 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11381 (build_syscolor_string): Use mswindows_color_to_string to try to
11383 (mswindows_device_system_metrics): Reverse the foreground and
11384 background colors so that they match the documentation.
11386 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11387 they match the default Windows palette.
11388 (mswindows_color_to_string): New function.
11390 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11392 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11394 2000-02-18 Olivier Galibert <galibert@pobox.com>
11396 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11397 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11399 * symbols.c (init_symbols_once_early): Removed obsolete
11400 DATA_SEG_BITS related kludge.
11401 (defvar_magic): Ditto.
11403 * malloc.c: Removed obsolete DATA_SEG_BITS
11405 * mem-limits.h: Ditto.
11407 * Makefile.in.in: Removed obsolete HAVE_SHM
11410 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11412 * device-msw.c (mswindows_delete_device): Free DDE string
11415 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11417 * keymap.c (get_keyelt):
11418 * unexnt.c (unexec):
11419 * vm-limit.c (memory_warnings):
11420 * ntheap.c (recreate_heap):
11421 * ntheap.h (UNINIT_PTR):
11422 * select-msw.c (Fmswindows_get_clipboard):
11423 (Fmswindows_set_clipboard):
11424 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11426 * menubar-msw.c (displayable_menu_item):
11428 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11429 * sysdep.c (sys_subshell):
11430 * process-nt.c (nt_create_process):
11431 * nt.c (normalize_filename):
11432 (dostounix_filename):
11433 (unixtodos_filename):
11434 * ntproc.c (win32_executable_type):
11435 * ntplay.c (play_sound_data_1):
11437 * editfns.c (get_home_directory):
11438 * event-msw.c (struct winsock_stream):
11439 (mswindows_dde_callback):
11440 * device-msw.c (msprinter_init_device):
11441 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11443 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11444 mswindows_clear_toolbar were swapped!
11446 * objects-msw.c:(colormap_t):
11448 * emacs.c (struct standard_args): Fixed const jumble.
11450 * glyphs-widget.c (update_widget): Fixed comparison notation.
11452 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11454 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11455 __declspec(noreturn) syntax.
11457 2000-02-19 Martin Buchholz <martin@xemacs.org>
11459 * eldap.c (Fldap_open):
11460 (Fldap_search_basic):
11463 Use new coding system conversion macros.
11465 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11467 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11469 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11471 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11472 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11474 * eldap.c (Qadd, Qreplace): New constant symbols
11475 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11476 interruptions by XEmacs signals
11477 Remove unnecessary calls to slow_down_interrupts and
11478 speed_up_interrupts
11479 (Fldap_search_basic): Renamed from Fldap_search_internal
11480 Added new optional parameter VERBOSE that triggers the
11481 display of progress messages
11482 Remove unnecessary calls to slow_down_interrupts and
11483 speed_up_interrupts
11484 LDAP result code analysis rewritten
11485 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11486 (syms_of_eldap): Define the new symbols and functions
11489 2000-02-17 Martin Buchholz <martin@xemacs.org>
11491 * realpath.c: Determine PATH_MAX maximally portably.
11493 * insdel.c (bytecount_to_charcount): Optimize.
11494 The function used to be optimized for entirely ASCII sequences.
11495 Now it is optimized for successive characters from the same
11496 charset. This also wins big for _mostly_ ASCII sequences.
11498 * fileio.c (Ffile_truename): convert return from realpath() using
11499 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11500 - Rewrite GCPROing slightly.
11502 * sysdep.c (sys_open): Do filename conversion, like all other
11503 sys_* functions. Fixes bug:
11504 (let ((file-name-coding-system 'iso-8859-2))
11505 (write-region x y latin2-name))
11506 ==> writes filename using internal encoding.
11508 2000-02-18 Martin Buchholz <martin@xemacs.org>
11510 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11511 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11512 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11513 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11514 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11515 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11516 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11517 (CONST_IF_NOT_DEBUG): Delete.
11518 * alloc.c (this_one_is_unmarkable): Delete.
11519 (mark_object): Don't check for this_one_is_unmarkable. Use the
11520 c_readonly flag instead.
11521 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11523 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11525 * event-msw.c (mswindows_drain_windows_queue):
11526 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11527 away redundant repaint events.
11529 2000-02-17 Andy Piper <andy@xemacs.org>
11531 * redisplay.h: declare mark_redisplay_structs.
11533 * redisplay.c (redisplay_window):
11534 (redisplay_frame): don't check subwindows_state_changed.
11535 (mark_redisplay): mark gutters here.
11537 * glyphs.c: (instantiate_image_instantiator): always layout if we
11538 haven't done so already.
11539 (allocate_image_instance): don't mark as dirty.
11540 (update_subwindow): bind inhibit_quit.
11542 * gutter.c (mark_gutters): new function.
11544 * glyphs-x.c (x_update_widget): Always resize to get round a
11547 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11548 breaking absolutely everything.
11550 * gutter.h: declare mark_gutters.
11552 2000-02-16 Martin Buchholz <martin@xemacs.org>
11554 * XEmacs 21.2.29 is released.
11556 2000-02-15 Olivier Galibert <galibert@pobox.com>
11558 * fns.c (size_bit_vector): Fix computation of the size.
11560 2000-02-15 Martin Buchholz <martin@xemacs.org>
11562 * *.[ch]: Change CONST to const globally.
11563 find -name '*.[ch]' | \
11564 xargs global-replace \
11565 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11566 - Remove vestigial references to CONST_IS_LOSING
11568 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11570 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11571 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11572 events instead of dispatching them directly.
11573 (mswindows_handle_paint): New function to do repainting.
11574 (mswindows_wnd_proc):
11575 (emacs_mswindows_handle_magic_event): Call above function.
11577 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11579 * objects-msw.c (mswindows_create_font_variant): Return the new
11581 (initialize_font_instance): Get font metrics from the underlined
11582 variant of the font to cope with the case where the underlined
11583 font has a bigger descent.
11585 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11587 * gui.c (gui_item_accelerator): Return the first underlined
11588 character in item name.
11590 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11592 * lisp.h: Added Qprinter.
11594 * general.c (syms_of_general): Initialized it.
11596 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11598 (get_frame_compdc): Made inline.
11600 * console.h (struct console_methods): Added eject_page method.
11602 * frame.h: Added FRAME_DISPLAY_P and friends.
11603 Aligned backslahes in many macros in more readable fashion.
11604 Added page_number to struct frame, and an accessor macro
11607 * defice.h: Added DEVICE_DISPLAY_P and friends.
11609 * device.c (Fdevice_printer_p): Used these.
11611 * frame.c (allocate_frame_core): Initialize page number.
11612 (Fprint_job_page_number):
11613 (Fprint_job_eject_page): Implemented.
11615 * frame-msw.c (msprinter_eject_page): Added method.
11616 (msprinter_start_page): Added.
11618 * window.c (Fwindow_truncated_p): Fixed docstring.
11619 (Fwindow_last_line_visible_height): Implemented.
11621 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11623 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11625 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11627 * syntax.c (scan_words): Always advance at least one character.
11629 2000-02-13 Andy Piper <andy@xemacs.org>
11631 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11632 to make sure the glyph is in the cachels.
11634 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11635 global image instance flag.
11636 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11637 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11639 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11640 (Fset_image_instance_property): mark layout as changed.
11641 (invalidate_glyph_geometry_maybe): mark layout as changed.
11642 (glyph_width): use new NEEDS_LAYOUT macro.
11643 (glyph_ascent): ditto.
11644 (glyph_descent): ditto.
11645 (glyph_height): ditto.
11646 (image_instance_layout): mark layout as clean after laying out.
11647 (update_subwindow): don't mark layout as clean here.
11649 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11650 should no longer be needed.
11652 * glyphs-x.c (x_update_widget): sanitize asserts.
11653 (x_finalize_image_instance): sanitize assignment to widgets.
11655 * glyphs-widget.c (widget_instantiate): don't need to clear the
11658 2000-02-13 Martin Buchholz <martin@xemacs.org>
11660 * sysdep.c (getcwd): Use standard prototype.
11661 * sysdep.h (getcwd): Use standard prototype.
11663 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
11664 (sequence, start, end).
11665 Remove redundant type checking.
11666 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
11667 view of `caller-protects') to avoid a crash where the real fix was
11670 2000-02-12 Martin Buchholz <martin@xemacs.org>
11672 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
11674 * s/sol2.h: Remove feature macro initialization.
11676 * alloc.c (alloc_lcrecord): Add more type checking assertions.
11677 (vector_hash): New. Code from internal_hash.
11679 Fix up allocation subsystem comments.
11681 * config.h.in: Add __EXTENSIONS__ for Solaris.
11683 * systime.h (EMACS_GETTIMEOFDAY): New.
11684 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
11685 Remove Solaris-specific code.
11686 Use void* for the (ignored) second arg for gettimeofday().
11688 * elhash.c (hash_table_hash): Implement it, finally.
11689 * elhash.c: Use hashcode_t.
11691 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
11692 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
11694 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
11695 * fns.c (size_bit_vector):
11696 * alloc.c (size_vector):
11697 (make_vector_internal):
11698 (make_bit_vector_internal):
11699 (sweep_bit_vectors_1):
11700 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
11702 2000-02-10 Martin Buchholz <martin@xemacs.org>
11704 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
11705 Include strings.h to avoid warnings for bzero and strcasecmp.
11707 2000-02-10 Olivier Galibert <galibert@pobox.com>
11709 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
11710 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
11712 * fns.c (size_bit_vector): New. Declare bit vectors as a
11715 2000-02-10 Olivier Galibert <galibert@pobox.com>
11717 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
11718 use a value field instead.
11719 (symbol_value_forward_forward): Use value field.
11720 (DEFVAR_SYMVAL_FWD): Use value field.
11721 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
11722 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
11723 (DEFVAR_CONST_INT): Ditto.
11724 (DEFVAR_BOOL): Ditto.
11725 (DEFVAR_CONST_BOOL): Ditto.
11726 (DEFVAR_INT_MAGIC): Ditto.
11727 (DEFVAR_BOOL_MAGIC): Ditto.
11729 * symbols.c (guts_of_unbound_marker): Use value field.
11730 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
11731 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
11733 * lisp.h: Declare dumpopaque and noninteractive1.
11735 * alloc.c (dumpopaque): Added.
11736 (pdump_dump_opaquevec): Added.
11737 (pdump): Call pdump_dump_opaquevec to dump opaque data.
11738 (pdump_load): Reload opaque data. Sync noninteractive1 with
11741 2000-02-10 Andy Piper <andy@xemacs.org>
11743 * glyphs.c (image_instance_layout): if the size changes, mark it
11746 * redisplay-output.c (redisplay_output_layout): Update the
11748 (redisplay_output_subwindow): ditto.
11750 * glyphs.c (update_subwindow): make sure we reset flags for
11751 layouts as well as everything else.
11753 * glyphs-widget.c (layout_layout): don't need to set the instances
11756 2000-02-09 Martin Buchholz <martin@xemacs.org>
11758 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
11759 not HAVE_DLOPEN, which is a lower-level thing.
11761 * .cvsignore: Ignore gmon.out
11763 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
11765 * .cvsignore: Ignore portable dumper xemacs.dmp file
11767 2000-02-09 Andy Piper <andy@xemacs.org>
11769 * redisplay-output.c (redisplay_output_layout): be more clever
11770 about when we output based on the changed flags.
11772 * glyphs.h (struct image_instantiator_methods): add update_method.
11773 (struct Lisp_Image_Instance): add changed flags. Declare new
11774 macros for manipulating them.
11776 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
11777 (image_instance_parent_glyph): find an image_instance's parent
11778 glyph or image_instance.
11779 (image_instance_layout): mark the size as changed.
11780 (set_image_instance_dirty_p): new function. mark an image
11781 instance, plus all of its parents, as dirty.
11782 (Fset_image_instance_property): use it.
11783 (Fglyph_animated_timeout_handler): use it.
11784 (update_subwindow): call update_widget and device methods for
11785 update_subwindow. Mark all changed flags as clean.
11786 (Fresize_subwindow): mark size as changed.
11788 * glyphs-x.c (x_finalize_image_instance): try and detect gc
11790 (x_update_subwindow): only resize subwindows here.
11791 (x_update_widget): new function. Update all changed properties of
11793 (x_resize_subwindow): deleted.
11794 (x_widget_set_property): deleted.
11795 (x_progress_gauge_set_property): deleted.
11796 (x_progress_gauge_update): new function. Implement recorded
11798 (x_tab_control_update): ditto.
11799 (x_tab_control_set_property): deleted.
11800 (console_type_create_glyphs_x): declare new functions.
11801 (image_instantiator_format_create_glyphs_x): ditto.
11803 * glyphs-widget.c (widget_set_property): mark text changed.
11804 (update_widget): new function. Update properties of a widget.
11805 (widget_instantiate): for layouts make sure we set their
11806 children's parent correctly.
11807 (tab_control_set_property): new function. Record changes that will
11808 take place under redisplay's control.
11809 (progress_gauge_set_property): ditto.
11810 (image_instantiator_progress_guage): declare new functions.
11811 (image_instantiator_tab_control): ditto.
11813 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
11815 (mswindows_update_widget): new function. Update all properties on
11816 a widget that have changed.
11817 (mswindows_button_update): new function. Update a button's set
11819 (mswindows_tab_control_update): new function. Update the items in
11821 (mswindows_tab_control_set_property): deleted.
11822 (mswindows_progress_gauge_update): new function. Update the
11823 progress gauge's progress.
11824 (mswindows_widget_set_property): deleted. This is all done
11825 asynchronously now.
11826 (mswindows_progress_gauge_set_property): ditto.
11827 (console_type_create_glyphs_mswindows): declare new methods.
11828 (image_instantiator_format_create_glyphs_mswindows): ditto.
11830 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
11831 (msprinter_set_frame_properties): ditto.
11833 * console.h (struct console_methods): Add update_widget_method.
11835 2000-02-09 Andy Piper <andy@xemacs.org>
11837 * gui-msw.c (Fmswindows_shell_execute): Make
11838 mswindows-shell-execute industrial strength.
11840 2000-02-08 Martin Buchholz <martin@xemacs.org>
11842 * lrecord.h: Make macro argument `props' match member function `plist'.
11845 * fns.c (Fremprop):
11846 * fns.c (Fobject_plist):
11849 Object property list frobbing cleanup.
11850 - Allow any lisp object (compared with `eq'), not just symbols, as
11851 keys in object plists.
11852 - Move symbol plist frobbing into symbols.c, where it belongs.
11853 - Move string plist frobbing into alloc.c, where it belongs.
11854 - Everything's an lrecord now, so no need to test for symbolp, etc.
11855 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
11857 * extents.c: Reorder code to remove declarations.
11859 * frame.h (store_in_alist): Remove useless declaration.
11861 2000-02-07 Martin Buchholz <martin@xemacs.org>
11863 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
11864 * config.h.in: Add HAVE_XCONVERTCASE.
11866 2000-02-07 Andy Piper <andy@xemacs.org>
11868 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
11869 it breaks many things.
11871 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11873 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
11874 actually can start a common comment type.
11875 * src/syntax.h (SYNTAX_END_P): ditto for end.
11877 2000-02-07 Martin Buchholz <martin@xemacs.org>
11879 * XEmacs 21.2.28 is released.
11881 2000-02-06 Martin Buchholz <martin@xemacs.org>
11883 * event-Xt.c (x_keysym_to_character): New.
11884 (maybe_define_x_key_as_self_inserting_character): New.
11885 (x_has_keysym): New.
11886 Auto-define all keys on the keyboard as self-insert-key.
11888 2000-02-02 Martin Buchholz <martin@xemacs.org>
11890 * menubar.c (vars_of_menubar): A small code simplification.
11892 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
11895 * ExternalClient.c:
11896 * EmacsShell-sub.c:
11899 Use consistent style for specifying X resources.
11901 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
11902 This makes (dontusethis-set-symbol-value-handler) actually usable.
11904 * lrecord.h (lrecord_decription_type):
11905 * alloc.c (pdump_register_sub):
11908 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
11909 Comply with XEmacs coding style.
11910 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
11911 args, and XD_LISP_OBJECT_ARRAY with 3 args.
11913 * keymap.c (Faccessible_keymaps):
11914 Make (accessible-keymaps map "\C-h") do the Right Thing.
11915 Make (accessible-keymaps map []) do the Right Thing.
11916 Make (accessible-keymaps map "") do the Right Thing.
11917 (check_keymap_definition_loop): New function.
11918 (keymap_store_internal): Keep luser from shooting self in foot,
11919 via (define-key ctl-x-4-map "p" global-map).
11920 Remove fullness slot from struct Lisp_Keymap, since hash tables
11922 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
11924 2000-01-30 Martin Buchholz <martin@xemacs.org>
11926 * redisplay.c (init_redisplay): Fix small memory leak.
11928 * elhash.c (pdump_reorganize_hash_table):
11929 Rename from reorganize_hash_table. Change prototype.
11930 Reuse the original memory for hentries. Save 100k.
11931 * alloc.c (PDUMP_READ): new macro.
11932 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
11933 * alloc.c: No need to #ifndef before #undef.
11935 * print.c: Allow debug_print() to print readably by modifying
11936 debug_print_readably. Use consistent variable names.
11938 * .dbxrc: Try to get things to work even if stopped in a function
11939 without source available by explicitly specifying source files.
11940 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11942 * unexnt.c (_start): Removed bogus code which caused loading heap
11943 from differrent executable file.
11944 Removed bogus assignment to _fmode, which caused inconsistencies.
11946 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11948 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
11949 Have spawnve encapsulation regard DONT_ENCAPSULATE.
11950 Do not preliminary `#define signal sigset'.
11952 * systime.h: Do not prototype environ on windows nt and cygwin,
11953 this conflicts with system header.
11955 * syssignal.h: Use correct define for WINDOWSNT
11957 * sysdep.h: Do not prototype environ on windows nt, this conflicts
11958 with system header.
11960 * sysdep.c (near start of file): Fixed commentary and rearranged
11961 ifdefs in readable order.
11962 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
11965 (end_of_data): Do not compile in if using PDUMP.
11967 * symsinit.h: Prototyped vars_of_nt().
11969 * ntproc.c (windows9x_p): Added, instead of os_subtype.
11970 (find_child_console): Use it.
11971 (sys_kill): Use it.
11973 * ntheap.h: Do not extern os_subtype.
11975 * ntheap.c (cache_system_info): Do not cache unneeded:
11976 nt_major_version, nt_minor_version and os_subtype.
11977 (recreate_heap): Do not compile in when PDUMPing.
11979 * nt.c (geteuid and friends): Use the new varibale
11980 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
11981 (init_user_info): Removed the above mentioned hackery.
11982 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
11983 stat has been fixed in the C runtime.
11984 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
11986 * file-coding.c (struct file_coding_dump): Do not define
11987 ucs_to_mule_table in the struct if not MULE.
11988 (struct struct lrecord_description fcd_description_1): Do not dump
11991 * emacs.c (main_1): Call vars_of_nt().
11992 (right before Fdump_emacs_data): Don't need lastfile if using both
11993 portabe dumper and system malloc.
11995 * alloc.c (Fmemory_limit): Conditionalized out.
11996 (pdump): Use OPEN_BINARY for the portable dump file.
11997 (pdump_load): Ditto.
11999 2000-02-02 Mike Alexander <mta@arbortext.com>
12001 * nt.c (convert_time): Set tm_isdst before calling mktime and
12002 avoid calling it at all if the compiler supports 64 bit integers.
12003 Also initialize utc_base_ft before using it.
12005 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
12007 * frame.c (change_frame_size_1): Take f->internal_border_width
12008 into consideration when calculating the width of the frame.
12010 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12012 * window.c (frame_min_height):
12013 (frame_size_valid_p):
12014 (frame_pixsize_valid_p): Added.
12015 (check_frame_size): Generalized.
12017 * window.h: Prototyped the above.
12020 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
12021 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
12022 Deleted Vwin32_* and Vbinary_process_* unused variables.
12024 * device-msw.c (msprinter_init_device): Do not get printer font
12025 list; Added DEVMODE functions.
12027 * frame-msw.c: Added lots of printer code.
12029 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
12032 * console-msw.h: Added more msprinter device private slots.
12034 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12036 * event-msw.c (key_needs_default_processing_p): Added.
12037 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
12039 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12041 * glyphs.c (image_instance_layout): Mark image instance as clean
12043 (glyph_dirty_p): Removed redundant function.
12044 (invalidate_glyph_geometry_maybe): Added.
12045 (update_glyph_cachel_data): Call it.
12047 * glyphs.h: Prototyped it.
12049 * redisplay.c (add_glyph_rune): Call it.
12050 (redisplay_window): Reset glyphs cachels when frame faces have
12051 changed, thus forcing recomputation of built-in border glyphs.
12053 2000-01-30 Martin Buchholz <martin@xemacs.org>
12055 * Makefile.in.in: Make portable dumper and purify play well together.
12056 Add imperfect, but better than nothing, support for pdump.
12057 Remove xemacs.dmp when temacs is re-generated.
12058 Don't ignore errors when dumping xemacs.
12060 * symbols.c (maybe_call_magic_handler): Remove one magic number.
12062 2000-01-28 Andy Piper <andy@xemacs.org>
12064 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
12065 (setup_normal_frame): ditto.
12066 (setup_frame_without_minibuffer): ditto.
12067 (setup_minibuffer_frame): ditto.
12068 (delete_frame_internal): ditto.
12069 (Fmake_frame_invisible): ditto.
12070 (Ficonify_frame): ditto.
12072 * window.h: change Fset_window_buffer signature.
12074 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12075 (Fset_window_buffer): allow recording of buffer if the window is
12076 the selected window.
12077 (window_loop): Use new Fset_window signature.
12079 2000-01-23 Daniel Pittman <daniel@danann.net>
12081 * config.h.in: Added template for `HAVE_ATHENA_3D'
12083 2000-01-29 Andy Piper <andy@xemacs.org>
12085 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12087 * gutter.c (output_gutter): Don't output if the window isn't live.
12089 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12091 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12092 of 01/12/00: Moved SetFocus back here where it belongs.
12094 2000-01-23 Andy Piper <andy@xemacs.org>
12096 * s/cygwin32.h: declare printer things.
12098 2000-01-26 Andy Piper <andy@xemacs.org>
12100 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12103 2000-01-24 Andy Piper <andy@xemacs.org>
12105 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12106 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12108 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12110 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12112 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12114 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12115 (mswindows_output_display_block): Avoid local shadows.
12117 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12118 (mswindows_enqueue_mouse_button_event): ditto.
12119 (mswindows_handle_gui_wm_command): remove declaration.
12121 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12124 * console-msw.h: Avoid shadows.
12125 (mswindows_get_toolbar_button_text):
12126 (emacs_mswindows_create_stream_pair):
12127 (emacs_mswindows_delete_stream_pair):
12128 (mswindows_handle_toolbar_wm_command): declare.
12130 * device-msw.c (build_syscolor_string): Avoid shadows.
12132 2000-01-23 Andy Piper <andy@xemacs.org>
12134 * glyphs-widget.c (widget_instantiate): reverse the items for
12135 layouts so that children are in the expected order.
12137 2000-01-28 Martin Buchholz <martin@xemacs.org>
12139 * ralloc.c: safe_bcopy ==> memmove
12140 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12141 * s/msdos.h: Remove BCOPY macros.
12142 * insdel.c (gap_right): Remove BCOPY conditional code.
12143 * insdel.c (gap_left): Remove BCOPY conditional code.
12144 XEmacs demands a working ANSI C compiler - hence memmove.
12146 * regex.c (regex_compile): Remove accidental use of trigraphs.
12148 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12150 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12153 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12155 * event-msw.c (mswindows_drain_windows_queue): Added the
12157 (mswindows_need_event): Commented the call to
12158 mswindows_drain_windows_queue().
12159 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12162 * console-msw.h: Moved a few function prototypes here from
12165 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12166 parameter from unsigned short to unsigned long.
12167 (Fmswindows_shell_execute): Added return value.
12169 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12171 * sysdep.c (init_system_name):
12172 process-unix.c (unix_canonicalized_host_name):
12173 Don't call freeaddrinfo() if getaddrinfo() fails.
12175 * process-unix.c (unix_open_unix_network_stream):
12176 Moved the code to get a port # into address loop.
12178 2000-01-27 Martin Buchholz <martin@xemacs.org>
12180 * buffer.c (reinit_vars_of_buffer):
12181 The right place to initialize conversion_in_dynarr and
12182 conversion_out_dynarr.
12184 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12186 * process-unix.c (unix_canonicalize_host_name): Muleize.
12187 (unix_open_network_stream): Muleize.
12189 * buffer.h: Fix up prototypes for ralloc.c functions.
12191 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12192 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12193 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12194 instead of gethostbyname()
12195 * process-unix.c: In unix_canonicalize_host_name() and
12196 unix_open_network_stream(), add code to use getaddrinfo()
12197 instead of gethostbyname().
12199 2000-01-27 Daniel Pittman <daniel@danann.net>
12201 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12202 libs when built with flat Athena.
12204 2000-01-27 Martin Buchholz <martin@xemacs.org>
12206 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12207 Use coding standards for function prototypes.
12209 2000-01-25 Martin Buchholz <martin@xemacs.org>
12211 * dialog-msw.c (push_lisp_string_as_unicode):
12212 * doc.c (unparesseuxify_doc_string):
12213 * dired.c (Fuser_name_completion_1):
12214 * dired.c (Fuser_name_all_completions):
12215 * dired.c (free_user_cache):
12216 * dired.c (user_name_completion):
12217 * console-x.c (get_display_arg_connection):
12218 * minibuf.c (clear_echo_area_internal):
12219 * minibuf.c (echo_area_append):
12220 * eldap.c (Fldap_open):
12221 * eldap.c (Fldap_search_internal):
12222 * frame-x.c (x_set_frame_text_value):
12223 * frame-x.c (x_set_frame_properties):
12224 * frame-x.c (x_create_widgets):
12225 * redisplay-tty.c (term_get_fkeys_1):
12226 * objects-x.c (x_parse_nearest_color):
12227 * objects-x.c (x_valid_color_name_p):
12228 * objects-x.c (x_initialize_font_instance):
12229 * objects-x.c (x_list_fonts):
12230 * objects-x.c (x_find_charset_font):
12231 * tooltalk.c (Fadd_tooltalk_message_arg):
12232 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12233 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12234 * process-unix.c (unix_create_process):
12235 * ntproc.c (sys_spawnve):
12236 * sound.c (Fplay_sound_file):
12237 * sound.c (Fplay_sound):
12238 * buffer.c (init_initial_directory):
12239 * buffer.c (init_buffer):
12240 * editfns.c (init_editfns):
12241 * editfns.c (Ftemp_directory):
12242 * editfns.c (Fuser_full_name):
12243 * editfns.c (uncache_home_directory):
12244 * editfns.c (get_home_directory):
12245 * editfns.c (Fuser_home_directory):
12246 * editfns.c (Fformat_time_string):
12247 * editfns.c (Fcurrent_time_string):
12248 * gui-x.c (button_item_to_widget_value):
12249 * database.c (Fopen_database):
12250 * event-Xt.c (x_to_emacs_keysym):
12251 * event-Xt.c (x_event_to_emacs_event):
12252 * event-Xt.c (describe_event_window):
12253 * event-msw.c (mswindows_wnd_proc):
12254 * glyphs-eimage.c (jpeg_instantiate):
12255 * glyphs-eimage.c (gif_instantiate):
12256 * glyphs-eimage.c (png_instantiate):
12257 * glyphs-eimage.c (tiff_instantiate):
12258 * glyphs-x.c (xbm_instantiate_1):
12259 * glyphs-x.c (x_xbm_instantiate):
12260 * glyphs-x.c (x_xface_instantiate):
12261 * glyphs-x.c (autodetect_instantiate):
12262 * glyphs-x.c (cursor_font_instantiate):
12263 * glyphs-x.c (x_widget_instantiate):
12264 * glyphs-x.c (x_widget_set_property):
12265 * glyphs-x.c (x_widget_property):
12266 * glyphs-x.c (BUILD_GLYPH_INST):
12267 * print.c (write_string_to_stdio_stream):
12268 * print.c (output_string):
12269 * print.c (Falternate_debugging_output):
12270 * print.c (Fexternal_debugging_output):
12271 * glyphs-msw.c (extract_xpm_color_names):
12272 * glyphs-msw.c (mswindows_xpm_instantiate):
12273 * glyphs-msw.c (bmp_instantiate):
12274 * glyphs-msw.c (resource_name_to_resource):
12275 * glyphs-msw.c (mswindows_resource_instantiate):
12276 * glyphs-msw.c (xbm_instantiate_1):
12277 * glyphs-msw.c (mswindows_xbm_instantiate):
12278 * glyphs-msw.c (mswindows_xface_instantiate):
12279 * glyphs-msw.c (mswindows_widget_instantiate):
12280 * glyphs-msw.c (add_tree_item):
12281 * glyphs-msw.c (add_tab_item):
12282 * glyphs-msw.c (mswindows_combo_box_instantiate):
12283 * glyphs-msw.c (mswindows_widget_property):
12284 * glyphs-msw.c (mswindows_combo_box_property):
12285 * glyphs-msw.c (mswindows_widget_set_property):
12286 * console.c (stuff_buffered_input):
12287 * objects-msw.c (mswindows_initialize_color_instance):
12288 * objects-msw.c (mswindows_valid_color_name_p):
12289 * objects-msw.c (mswindows_list_fonts):
12290 * objects-msw.c (mswindows_font_instance_truename):
12291 * bytecode.c (optimize_compiled_function):
12292 * select-x.c (symbol_to_x_atom):
12293 * select-x.c (x_atom_to_symbol):
12294 * select-x.c (hack_motif_clipboard_selection):
12295 * select-x.c (selection_data_to_lisp_data):
12296 * select-x.c (lisp_data_to_selection_data):
12297 * select-x.c (Fx_get_cutbuffer_internal):
12298 * select-x.c (Fx_store_cutbuffer_internal):
12299 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12300 * buffer.h (TO_INTERNAL_FORMAT): New function.
12301 * emacs.c (make_arg_list_1):
12302 * emacs.c (make_argc_argv):
12303 * emacs.c (main_1):
12304 * emacs.c (Fdump_emacs):
12305 * emacs.c (split_string_by_emchar_1):
12310 * device-x.c (x_init_device):
12311 * device-x.c (Fx_valid_keysym_name_p):
12312 * device-x.c (Fx_get_font_path):
12313 * device-x.c (Fx_set_font_path):
12314 * glyphs.c (bitmap_to_lisp_data):
12315 * glyphs.c (pixmap_to_lisp_data):
12316 * alloc.c (make_ext_string): Use coding system arguments. Update
12318 * alloc.c (build_string):
12319 * callproc.c (child_setup):
12320 * callproc.c (init_callproc):
12321 * fileio.c (lisp_strerror):
12322 * fileio.c (directory_file_name):
12323 * fileio.c (Fexpand_file_name):
12324 * fileio.c (Ffile_truename):
12325 * fileio.c (Fsysnetunam):
12326 * fileio.c (Fdo_auto_save):
12327 * sysdep.c (sys_readdir):
12328 * tests.c: New file. Allow adding C tests.
12329 Replace GET_* macros with a more comprehensible and flexible
12330 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12332 Any coding system can be used to do format conversion.
12333 Eliminate enum external_data_format.
12334 Eliminate convert_to_external_format.
12335 Eliminate convert_to_internal_format.
12336 Make sure file-name, keyboard, terminal, and ctext are always
12337 defined as coding systems or aliases. Make
12338 file-name-coding-system, terminal-coding-system, and
12339 keyboard-coding-system magical variables that are equivalent to
12340 defining the corresponding coding system aliases.
12342 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12343 * file-coding.c (Fcoding_system_alias_p): New function.
12344 * file-coding.c (Fcoding_system_aliasee): New function.
12345 * file-coding.c (append_suffix_to_symbol): New function.
12346 * file-coding.c (dangling_coding_system_alias_p): New function.
12347 * file-coding.c (Ffind_coding_system):
12348 * file-coding.c (Fcopy_coding_system):
12349 * file-coding.c (encode_coding_no_conversion):
12350 * file-coding.c (syms_of_file_coding):
12351 * file-coding.c (vars_of_file_coding):
12352 Rewrite coding system alias code.
12353 Allow nested aliases, like symbolic links.
12354 Allow redefinition of coding system aliases.
12355 Prevent existence of dangling coding system aliases.
12357 * dired.c (Fuser_name_completion_1):
12358 * dired.c (Fuser_name_all_completions):
12359 A crash would happen if user did QUIT in the middle of building
12360 user_name_cache. Remove redundant code in mainline and unwind_protect.
12363 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12365 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12366 an unsigned char *. Update all callers.
12368 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12370 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12372 2000-01-25 Martin Buchholz <martin@xemacs.org>
12374 * elhash.c (hentry_description): Use more portable definition.
12375 (resize_hash_table): Initialize new hentries using
12376 xnew_array_and_zero, thereby simplifying the code.
12378 * mule-charset.c (make_charset): Make sure entire object is
12379 initialized, to avoid Purify warnings.
12381 * alloc.c (resize_string): Fix unlikely crash with big strings.
12383 2000-01-24 Martin Buchholz <martin@xemacs.org>
12385 * realpath.c (xrealpath):
12386 Don't call getwd().
12388 2000-01-25 Martin Buchholz <martin@xemacs.org>
12390 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12392 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12394 * unexelfsgi.c (unexec): Change the way we decide which segment
12395 should be extended.
12397 Assumption that .bss section should be outside the PT_LOADable
12398 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12399 it's present) is inside the 'data' segment. This would fail the
12400 test which was used to find a segment to grow and cover new
12401 heap. Instead of this assumption, I created another one - on IRIX
12402 the segment to grow should start below .bss and it's address
12403 should extent above the end of .bss. Once this segment is
12404 identified, it's grown to accommodate the new heap and new
12405 zero-length .bss section is added at the end of .data2.
12407 2000-01-25 Martin Buchholz <martin@xemacs.org>
12409 * eval.c (Feval): Wrong number of arguments should use original
12410 function, not the indirect_function version of it.
12412 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12414 * glyphs-x.c (x_button_instantiate): Don't add image if
12415 it is not a pixmap.
12416 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12419 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12421 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12423 (DEFVAR_INT_MAGIC): Ditto.
12424 (DEFVAR_BOOL_MAGIC): Ditto.
12425 * glyphs.h: Reindent backslash.
12427 2000-01-24 Martin Buchholz <martin@xemacs.org>
12429 * glyphs-widget.c (layout_query_geometry):
12430 (layout_layout): Use correct types for gheight, gwidth.
12432 2000-01-24 Martin Buchholz <martin@xemacs.org>
12434 * EmacsManager.c (QueryGeometry): Purified.
12436 2000-01-23 Martin Buchholz <martin@xemacs.org>
12438 * alloc.c (make_float): Make sure entire object is initialized, to
12439 avoid Purify warnings.
12440 (pdump_register_sub): Remove useless assignment.
12441 (pdump): Use xmalloc, not malloc.
12442 (pdump_load): Use xmalloc, not malloc.
12444 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12451 * sysdep.c: Removed redundant #include <windows.h>
12453 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12455 * frame.c (delete_frame_internal): Do not delete device when its
12456 implementation so declares.
12457 (delete_frame_internal): Set device selected frame to nil when
12458 last frame goes away.
12460 * device-msw.c (msprinter_device_system_metrics): Implemented.
12461 (mswindows_device_system_metrics): Added 'device-dpi property.
12463 * device.c: (Fdevice_printer_p): Added.
12464 Added 'offset-workspace device metric.
12466 * console.h (device_metrics): Declared DM_offset_workspace.
12468 2000-01-23 Martin Buchholz <martin@xemacs.org>
12470 * fileio.c (Ffile_truename): Remove pointless and confusing
12471 initialization of elen.
12473 * glyphs-widget.c: Compiler warning fixes.
12475 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12477 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12478 instead of a Lisp_Object as argument to make it consistent with
12479 the other LIVE_P macros.
12480 (CHECK_LIVE_PROCESS): New macro.
12482 * process.c: Declare Qprocess_live_p.
12483 (Fprocess_live_p): New function.
12484 (create_process): Use PROCESS_LIVE_P.
12485 (read_process_output): Ditto.
12486 (set_process_filter): Ditto.
12487 (Fdelete_process): Ditto.
12488 (kill_buffer_processes): Ditto
12489 (process_send_signal): Use CHECK_LIVE_PROCESS.
12490 (Fprocess_input_coding_system): Check whether process is still
12491 alive (fix PR#1061).
12492 (Fprocess_output_coding_system): Ditto.
12493 (Fprocess_coding_system): Ditto.
12494 (Fset_process_input_coding_system): Ditto.
12495 (Fset_process_output_coding_system): Ditto.
12497 2000-01-23 Andy Piper <andy@xemacs.org>
12499 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12502 * glyphs.c (mark_image_instance): take into account changed
12503 image_instance format.
12504 (image_instance_equal): ditto.
12505 (image_instance_hash): ditto.
12507 * glyphs-widget.c (widget_instantiate): Incorporate layout
12508 instantiation here. Delay layout of the layout until later.
12509 (layout_instantiate): deleted.
12510 (layout_query_geometry): new function. get the geometry of a
12512 (layout_layout): layout a layout dynamically.
12513 (image_instantiator_widget): New function - splitting up
12514 image_instantiator_format_create_glyphs_widget for netwinder
12516 (image_instantiator_buttons):
12517 (image_instantiator_edit_fields):
12518 (image_instantiator_combo_box):
12519 (image_instantiator_scrollbar):
12520 (image_instantiator_progress_guage):
12521 (image_instantiator_tree_view):
12522 (image_instantiator_tab_control):
12523 (image_instantiator_labels):
12524 (image_instantiator_layout): ditto.
12525 (image_instantiator_format_create_glyphs_widget): Call preceding
12528 2000-01-22 Martin Buchholz <martin@xemacs.org>
12530 * process.c (Fset_process_coding_system):
12531 * device-x.c (Fx_keysym_hash_table):
12534 * lstream.c (Lstream_write): Return documented value, not 0.
12536 * fileio.c (directory_file_name):
12537 (Fsubstitute_in_file_name):
12538 (Fsubstitute_insert_file_contents_internal):
12539 (Fwrite_region_internal):
12544 Remove vestigial APOLLO-conditional code.
12546 2000-01-21 Martin Buchholz <martin@xemacs.org>
12548 * getpagesize.h: Add guard macros.
12549 * libsst.h: Add guard macros.
12550 * libst.h: Add guard macros.
12551 * line-number.h: Add guard macros.
12552 * ndir.h: Add guard macros.
12553 * sysfloat.h: Add guard macros.
12554 * sysfile.h: Add guard macros.
12555 * sysproc.h: Add guard macros.
12556 * syswait.h: Add guard macros.
12557 * xintrinsic.h: Add guard macros.
12558 * xintrinsicp.h: Add guard macros.
12559 * xmmanager.h: Add guard macros.
12560 * xmmanagerp.h: Add guard macros.
12561 * xmprimitive.h: Add guard macros.
12562 * xmu.h: Add guard macros.
12563 * gpmevent.h: Add copyright statement. Add guard macros.
12564 * miscplay.h: Add guard macros.
12565 * *.h: Use consistent C-standards-approved guard macro names.
12567 * opaque.c (make_opaque): Switch parameter order.
12568 * opaque.h (make_opaque): Switch parameter order.
12569 Update all callers.
12570 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12572 * config.h.in (type_checking_assert): Added.
12573 (bufpos_checking_assert): Added.
12575 2000-01-21 Martin Buchholz <martin@xemacs.org>
12577 * alloc.c: Harmless pdump changes.
12579 - spell alignment correctly.
12580 * sysdep.c: Use countof()
12582 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12584 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12585 initially_selected_for_input() console method, default to 0.
12586 (semi_canonicalize_console_connection): Try to delegate to
12587 canonicalize_console_connection if no such console method.
12588 (canonicalize_console_connection): Vice versa.
12589 (print_console): Do not print nil connection.
12591 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12592 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12593 (XDEVIMPF_FRAMELESS_OK): Added.
12594 (CONSOLE_INHERITS_METHOD): Added.
12596 * console-msw.c (mswindows_canonicalize_console_connection):
12598 (mswindows_canonicalize_device_connection): Added.
12600 * console-msw.h (struct msprinter_device): Added this struct and
12602 (mswindows_device): Made fontlist a lisp object.
12604 * device.c (semi_canonicalize_device_connection): Try to delegate
12605 to canonicalize_device_connection if no such console method.
12606 (canonicalize_device_connection): Vice versa.
12607 (print_device): Do not print nil connection.
12609 * device-msw.c (mswindows_init_device): Call InitCommonControls
12611 (mswindows_delete_device): Removed fontlist deallocation.
12612 (mswindows_mark_device): Added.
12614 * events.c (event_equal): Added abort() at unreached code.
12615 (event_hash): Ditto.
12617 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12618 fallback tags of Windows devices.
12620 * general.c (syms_of_general): Initialized Qmsprinter.
12622 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12623 of fallback tags of Windows devices.
12625 * lisp.h: Declared Qmsprinter.
12627 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12629 (mswindows_list_fonts): Ditto.
12630 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12631 that it can be used by both mswindows and msprinter devices.
12632 (initialize_font_instance): Added.
12633 (mswindows_initialize_font_instance): Use it.
12634 (msprinter_initialize_font_instance): Added.
12636 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12637 and implementation flags check.
12638 (redisplay_without_hooks): Changed the call to the above.
12639 (Fredraw_device): Ditto.
12640 (Fredisplay_device): Ditto.
12642 * redisplay-msw.c (get_frame_dc): Implemented.
12643 (get_frame_compdc): Implemented.
12644 (many functions): Use the two functions above to get device
12645 contexts, ether for a window or a printer.
12647 2000-01-21 Olivier Galibert <galibert@pobox.com>
12649 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12650 initialization here.
12651 (init_symbols_once_early): Call it.
12652 * emacs.c (main_1): Call it.
12653 * symsinit.h: Declare it.
12655 2000-01-19 Olivier Galibert <galibert@pobox.com>
12657 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12659 (pdump_backtrace): Ditto.
12660 (pdump_register_object): Ditto. Cleanup use of the pointers.
12661 (pdump_get_entry): Abort if trying to register a null pointer.
12662 (pdump_dump_data): Cleanup types when relocating.
12663 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
12664 (pdump_dump_rtables): Remove bad casts.
12665 (pdump_load): Cleanup relocation w.r.t union type. Use a
12666 Lisp_Object instead of a EMACS_INT for the hashtable
12669 2000-01-20 Martin Buchholz <martin@xemacs.org>
12671 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
12673 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
12675 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
12677 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
12679 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12681 * faces.h (FACE_STRIKETHRU_P): Added.
12683 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
12686 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
12687 (mswindows_set_dc_font): New function, aware of font variants,
12688 separated from mswindows_update_dc.
12690 * objects-msw.h (struct mswindows_font_instance_data): Added
12693 * objects-msw.c (mswindows_finalize_font_instance): Delete all
12694 cached fonts and the data structure.
12695 (mswindows_initialize_font_instance): Added creation of font data
12697 (mswindows_print_font_instance): Print at least something.
12698 (mswindows_create_font_variant): Implemented.
12699 (mswindows_get_hfont): Implemented.
12701 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
12703 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
12704 prototyping problem with msvc.
12706 * emacs.c (main_1): added syms_of_gui_mswindows() call
12708 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
12709 syms_of_gui_mswindows() function
12711 * symsinit.h: added the prototype for syms_of_gui_mswindows()
12713 2000-01-18 Martin Buchholz <martin@xemacs.org>
12715 * XEmacs 21.2.27 is released.
12717 2000-01-18 Martin Buchholz <martin@xemacs.org>
12719 * glyphs-eimage.c (struct tiff_error_struct):
12721 (tiff_warning_func):
12722 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
12727 * unexec.c: Remove vestigial Lucid C code.
12731 * libsst.c: Ansify.
12732 Remove declarations of errno and strerror().
12734 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
12736 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
12738 2000-01-16 Martin Buchholz <martin@xemacs.org>
12740 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
12743 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12748 Change enum eol_type to eol_type_t.
12750 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12752 * gui.c (get_gui_callback): Check cons before accessing car.
12754 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12756 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
12757 (XSETSPECIFIER_TYPE): Ditto.
12759 2000-01-17 Didier Verna <didier@xemacs.org>
12761 * redisplay.c (generate_fstring_runes): compute string size in
12762 characters, not bytes.
12764 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12766 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
12768 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
12770 * print.c (print_error_message): Call print_prepare().
12772 2000-01-14 Martin Buchholz <martin@xemacs.org>
12774 * .dbxrc: Renamed from dbxrc.
12776 * events.c (event_to_character):
12777 Use `assert (foo)' instead of `if (!foo) abort()'
12779 * .gdbinit (xtype): Add documentation.
12780 * .gdbinit (check-temacs): New function.
12781 * .gdbinit (check-xemacs): New function.
12782 * dbxrc (check-xemacs): New function.
12783 * dbxrc (check-xemacs): New function.
12785 2000-01-14 Andy Piper <andy@xemacs.org>
12787 * glyphs-widget.c (widget_query_geometry): Make sure that we
12788 calculate default dimensions correctly.
12790 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12792 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
12794 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
12795 pdump_wire'd variable.
12797 * emacs.c: (main_1): Conditionalized calls to
12798 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
12800 2000-01-13 Martin Buchholz <martin@xemacs.org>
12802 * window.c (Fset_window_configuration):
12803 * sysdep.c (_start):
12804 * input-method-motif.c (res):
12805 * event-Xt.c (Xt_process_to_emacs_event):
12806 Simple compiler warning fixes.
12808 * bytecode.c (funcall_compiled_function): Use the original
12809 function symbol on the backtrace list in preference to the
12810 compiled_function object in error messages.
12812 2000-01-13 Andy Piper <andy@xemacs.org>
12814 * glyphs-x.c (update_widget_face): Make sure we update the widget
12815 background as well as foreground.
12817 2000-01-13 Andy Piper <andy@xemacs.org>
12819 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
12820 fields to subwindow.
12821 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
12822 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
12823 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12824 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12826 * glyphs-widget.c (check_valid_tab_orientation): new function.
12827 (initialize_widget_image_instance): zero orientation and
12829 (widget_instantiate): pick up orientation.
12830 (tab_control_query_geometry): return appropriate values for
12833 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
12834 appropriate creation flags for left, right and bottom tabs.
12836 * s/cygwin32.h: add tab definitions.
12838 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12840 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
12841 frame upon hiding a subwindow.
12842 (mswindows_button_instantiate): Changed the push button style to
12844 (mswindows_button_instantiate): Removed button BS_NOTIFY
12846 (mswindows_button_instantiate): Removed redundant check for
12847 a disabled gui item.
12848 (mswindows_button_instantiate): Made use of WS_TABSTOP
12849 consistent: "operable" controls (edit, button, tree, scroll) have
12850 this style, "display-only" ones (static, progress gauge) do
12851 not. This style is currently ignored by XEmacs though. Also,
12852 removed the WS_EX_CONTROLPARENT style - it is not for children,
12853 it is for their parents!
12854 (mswindows_edit_field_instantiate): Ditto.
12855 (mswindows_progress_gauge_instantiate): Ditto.
12856 (mswindows_tree_view_instantiate): Ditto.
12857 (mswindows_tab_control_instantiate): Ditto.
12858 (mswindows_scrollbar_instantiate): Ditto.
12859 (mswindows_combo_box_instantiate): Ditto.
12860 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
12861 style to the "clip" window.
12862 (mswindows_button_instantiate): Removed compilation warning by
12863 equally typing terms of the ?: operator.
12865 2000-01-12 Didier Verna <didier@xemacs.org>
12867 * redisplay.c (generate_fstring_runes): new parameter holding the
12868 last modeline-format extent.
12869 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
12870 extent, fill the glyph block with it.
12871 (generate_fstring_runes): handle these parameters.
12872 (generate_formatted_string_db): ditto.
12874 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
12875 glyphs'extents in the modeline.
12877 1999-01-11 Mike Woolley <mike@bulsara.com>
12879 * ntheap.c: Reduced the reserved heap space from 1Gb down to
12880 256Mb, as a workaround for the non-starting problem many people
12883 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12885 * console-tty.c (Fset_console_tty_output_coding_system):
12886 Force redrawing tty frame.
12888 2000-01-10 Didier Verna <didier@xemacs.org>
12890 * redisplay.c (generate_fstring_runes): fix size computation bug.
12892 2000-01-09 William M. Perry <wmperry@aventail.com>
12894 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
12896 2000-01-09 Andy Piper <andy@xemacs.org>
12898 * glyphs-msw.c: index -> i to avoid shadows.
12899 (xbm_create_bitmap_from_data): make static.
12900 (check_valid_string_or_int): deleted.
12901 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
12903 * glyphs-x.c (x_update_subwindow): remove unused args.
12905 * glyphs.c (glyph_image_instance): return the thing. Don't set the
12906 back pointer - this is done in allocate_image_instance.
12907 (query_string_font): return Qnil to make the compiler happy.
12908 (unmap_subwindow): set to ~0 to make the compiler happy.
12909 (glyph_query_geometry): comment out until used.
12910 (glyph_layout): ditto.
12912 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12914 * insdel.c (signal_after_change): Remove extraneous unbind_to().