1 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule-charset.c (Vcharset_ucs_big5): Deleted.
4 (Vcharset_ideograph_gt): Deleted.
6 (Qideograph_gt): Deleted.
7 (syms_of_mule_charset): Delete symbol `ucs-big5' and
9 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
12 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
13 (LEADING_BYTE_GT): Deleted.
14 (GC_CHARSETP): Deleted.
15 (MIN_CHAR_GT): Deleted.
16 (MAX_CHAR_GT): Deleted.
18 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
20 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
22 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
24 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
25 (Qideograph_cbeta): Deleted.
26 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
27 (complex_vars_of_mule_charset): Likewise.
29 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
30 (MIN_CHAR_CBETA): Comment out.
31 (MAX_CHAR_CBETA): Likewise.
33 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
35 * mule-charset.c (charset_lookup_description_1): Use
36 `NUM_LEADING_BYTES' in UTF-2000.
38 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
40 * mule-charset.c (Vcharset_china3_jef): Deleted.
41 (Qchina3_jef): Deleted.
42 (syms_of_mule_charset): Don't define `china3-jef'.
43 (complex_vars_of_mule_charset): Likewise.
45 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
46 (MIN_CHAR_CHINA3_JEF): Comment out.
47 (MAX_CHAR_CHINA3_JEF): Comment out.
49 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
51 * mule-charset.c (Vcharset_ucs_gb): New variable.
52 (Qucs_gb): New variable.
53 (syms_of_mule_charset): Add new symbol `ucs-gb'.
54 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
56 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
58 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
60 * mule-charset.c (charset_code_point): if a coded-charset has a
61 final-byte, don't inherit the builtin range of the mother CCS.
63 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
65 * mule-charset.c (charset_code_point): Fix problem about
68 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
70 * mule-charset.c (decode_builtin_char): Reorganized.
72 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
74 * text-coding.c (char_encode_shift_jis): Modify for
76 (char_encode_big5): Likewise.
77 (char_encode_utf8): Likewise.
78 (char_encode_iso2022): Likewise.
80 * mule-charset.c (charset_code_point): Add new argument
82 (Fencode_char): Add new optional argument `defined_only'.
84 * chartab.c (put_char_table): Modify for `charset_code_point'.
85 (map_char_table): Likewise.
87 * char-ucs.h (charset_code_point): Add new argument
89 (encode_char_1): Modify for `charset_code_point'.
91 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
93 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
94 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
96 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
98 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
99 (Qjis_x0208): Likewise.
100 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
101 XCHARSET_FINAL(charset).
102 (charset_code_point): Modify condition for final-byte based
104 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
105 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
106 in UTF-2000; specify `=jis-x0208' as the mother of
107 `japanese-jisx0208-1978', `japanese-jisx0208' and
108 `japanese-jisx0208-1990' in UTF-2000.
110 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
112 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
114 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
116 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
117 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
118 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
119 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
120 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
121 CONVERSION_96x96x96x96 are introduced.
122 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
123 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
124 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
126 * char-ucs.h (CONVERSION_94): New macro.
127 (CONVERSION_96): New macro.
128 (CONVERSION_94x94): New macro.
129 (CONVERSION_96x96): New macro.
130 (CONVERSION_94x94x94): New macro.
131 (CONVERSION_96x96x96): New macro.
132 (CONVERSION_94x94x94x60): New macro.
133 (CONVERSION_94x94x94x94): New macro.
134 (CONVERSION_96x96x96x96): New macro.
136 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
138 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
140 * fns.c (Qideographic_structure): New variable.
141 (Qkeyword_char): New variable.
142 (ids_format_unit): New function.
143 (Fideographic_structure_to_ids): New function.
144 (syms_of_fns): Add new symbols `ideographic-structure' and
145 `:char'; add new builtin function `ideographic-structure-to-ids'.
147 * data.c (Fchar_ref_p): New function.
148 (syms_of_data): Add new builtin function `char-ref-p'.
150 * chartab.h: Add an EXFUN for `Ffind_char'.
152 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
154 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
155 and `COMPOSE_ADD_CHAR'.
156 (decode_coding_iso2022): Use `decode_flush_er_chars'.
158 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
160 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
161 instead of `DECODE_ADD_UCS_CHAR'.
162 (COMPOSE_ADD_CHAR): Likewise.
164 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
166 * text-coding.c (decode_flush_er_chars): New inline function.
167 (decode_add_er_char): New function.
168 (decode_coding_utf8): Use `decode_flush_er_chars' and
169 `decode_add_er_char'.
171 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
173 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
174 done before `decode_output_utf8_partial_char'.
176 * mule-charset.c (complex_vars_of_mule_charset): Specify
177 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
178 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
180 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
182 * mule-charset.c (decode_defined_char): New function; search
184 (decode_builtin_char): Don't search mother if
185 XCHARSET_MAX_CODE(charset) == 0.
186 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
187 == 0 even if code >= XCHARSET_MAX_CODE(charset).
188 (Fdecode_char): Use `decode_defined_char' instead of
189 `DECODE_DEFINED_CHAR'.
190 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
191 mother of `Vcharset_ucs_jis'.
193 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
194 instead of `DECODE_DEFINED_CHAR'.
196 * char-ucs.h (decode_defined_char): Renamed from
197 `DECODE_DEFINED_CHAR'; changed to normal function.
198 (DECODE_CHAR): Use `decode_defined_char' instead of
199 `DECODE_DEFINED_CHAR'.
201 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
203 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
205 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
207 * text-coding.c (Vcoded_charset_entity_reference_alist): New
209 (Quse_entity_reference): New variable.
213 (coding_system_description): Add description for
215 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
216 (allocate_coding_system): Initialize `ccs_priority_list' in
218 (Fmake_coding_system): Add description about
219 'use-entity-reference; setup
220 CODING_SYSTEM_USE_ENTITY_REFERENCE(codesys).
221 (Fcoding_system_property): Accept `disable-composition' and
222 `use-entity-reference' in UTF-2000.
223 (struct decoding_stream): Add new member `er_counter' and `er_buf'
225 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
226 (decode_coding_utf8): Decode entity-reference if
227 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
228 (char_encode_utf8): Encode non-Unicode characters as
229 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
231 (syms_of_file_coding): Add new symbols `use-entity-reference',
233 (vars_of_file_coding): Add new variable
234 `coded-charset-entity-reference-alist'.
235 (complex_vars_of_file_coding): Declare `disable-composition' and
236 `use-entity-reference' to be coding-system-properties in UTF-2000.
238 * file-coding.h (struct Lisp_Coding_System): Add new member
239 `use_entity_reference' and `ccs_priority_list'.
240 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
241 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
242 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
244 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
246 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
248 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
250 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
251 `XCHARSET_GRAPHIC(ccs)'.
253 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
255 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
258 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
260 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
261 instead of `XCHARSET_CHARS'.
263 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
265 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
266 (XCHARSET_BYTE_SIZE): Likewise.
268 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
270 (XCHARSET_BYTE_SIZE): Likewise.
272 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
274 * char-ucs.h (decoding_table_check_elements): Delete prototype.
275 (get_ccs_octet_table): New inline function.
276 (put_ccs_octet_table): Likewise.
277 (decoding_table_put_char): Use `get_ccs_octet_table' and
278 `put_ccs_octet_table'.
279 (decoding_table_remove_char): Use `decoding_table_put_char'.
280 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
282 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
284 (make_charset): Use Qunbound instead Qnil as initial value of
287 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
289 * mule-charset.c (put_char_ccs_code_point): Modify for
290 `decoding_table_remove_char' and `decoding_table_put_char'.
291 (remove_char_ccs): Modify for `decoding_table_remove_char'.
293 * char-ucs.h (decoding_table_remove_char): Change arguments to
294 hide decoding_table vector.
295 (decoding_table_put_char): Likewise.
297 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
299 * mule-charset.c (decoding_table_remove_char): Moved to
301 (decoding_table_put_char): Likewise.
303 * char-ucs.h (decoding_table_check_elements): New prototype [moved
304 from mule-charset.c].
305 (decoding_table_remove_char): New inline function [moved from
307 (decoding_table_put_char): Likewise.
309 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
311 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
312 instead of `DECODE_CHAR' for mother; don't use special code for
313 chinese-big5 to use code space of chinese-big5-1 and
315 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
316 `MAX_CHAR_BIG5_CDP' for chinese-big5.
318 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
319 (MAX_CHAR_BIG5_CDP): Revival.
321 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
323 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
324 the XLFD registry-encoding name of `chinese-big5'.
326 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
328 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
329 (Qchinese_big5_cdp): Deleted.
330 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
331 (complex_vars_of_mule_charset): Delete coded-charset
334 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
335 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
336 `CHARSET_ID_OFFSET - n' for private CCS.
337 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
338 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
339 of `MIN_LEADING_BYTE'.
340 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
341 `(CHARSET_ID_OFFSET - 97)'.
342 (MIN_CHAR_BIG5_CDP): Deleted.
343 (MAX_CHAR_BIG5_CDP): Deleted.
345 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
347 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
350 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
352 * mule-charset.c (decode_builtin_char): Support mother charsets.
354 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
356 * mule-charset.c (Q94x94x60): New variable.
357 (charset_code_point): Support conversion `94x94x60'.
358 (Fmake_charset): Likewise.
359 (syms_of_mule_charset): Add new symbol `94x94x60'.
361 * char-ucs.h (CONVERSION_94x94x60): New macro.
363 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
365 * mule-charset.c (charset_code_point): Unify code about
368 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
370 * mule-charset.c (charset_code_point): Merge code about builtin
371 characters into code about mother charsets; don't use
372 `range_charset_code_point'.
373 (range_charset_code_point): Deleted.
375 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
377 * mule-charset.c (Qcode_offset): New variable.
378 (Fmake_charset): Use `XUINT' to get value of `min-code' and
379 `max-code'; accept new property `code-offset'.
380 (syms_of_mule_charset): Add new symbol `code-offset'.
382 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
384 * mule-charset.c (range_charset_code_point): Fixed.
386 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
388 * mule-charset.c (decode_builtin_char): Change semantics of
389 code-offset of coded-charset.
390 (charset_code_point): Likewise.
391 (range_charset_code_point): Likewise.
392 (complex_vars_of_mule_charset): Modify for the change.
394 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
396 * mule-charset.c (Fencode_char): Reverse arguments.
398 * mule-charset.c (charset_code_point): Fixed.
400 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
402 * mule-charset.c (Vcharset_mojikyo): Deleted.
403 (Vcharset_mojikyo_2022_1): Deleted.
404 (Vcharset_mojikyo_pj_{1..21}): Deleted.
405 (Qmin_code): New variable in UTF-2000.
406 (Qmax_code): Likewise.
408 (Qconversion): Likewise.
411 (Qmojikyo_2022_1): Deleted.
412 (Qmojikyo_pj_{1..22}): Deleted.
413 (mark_charset): Mark `cs->mother'.
414 (charset_description): Add description for `mother'.
415 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
416 new arguments `mother' and `conversion'; use
417 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
418 (charset_code_point): Moved from char-ucs.h; support `mother'
420 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
421 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
422 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
423 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
424 allow 2 as the value of `graphic' in UTF-2000; add new properties
425 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
426 require `final' in UTF-2000; modify for `make_charset'.
427 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
428 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
429 (Fcharset_property): Support `mother', `min-code' and `max-code'.
430 (Fencode_char): New function.
431 (syms_of_mule_charset): Add new builtin function `encode-char' in
432 UTF-2000; add new symbols `min-code', `max-code', `mother',
433 `conversion' and `94x60'; delete symbols `mojikyo',
434 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
435 (complex_vars_of_mule_charset): Modify for `make_charset' change;
436 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
437 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
439 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
440 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
442 * char-ucs.h (Vcharset_mojikyo): Deleted.
443 (Vcharset_mojikyo_2022_1): Deleted.
444 (LEADING_BYTE_MOJIKYO): Deleted.
445 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
446 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
447 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
448 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
449 add new member `mother'; add new member `conversion'.
450 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
451 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
452 (CHARSET_MOTHER): New macro.
453 (CHARSET_CONVERSION): New macro.
454 (CONVERSION_IDENTICAL): New macro.
455 (CONVERSION_94x60): New macro.
456 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
457 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
458 (XCHARSET_MOTHER): New macro.
459 (XCHARSET_CONVERSION): New macro.
460 (MIN_CHAR_MOJIKYO): Deleted.
461 (MAX_CHAR_MOJIKYO): Deleted.
462 (DECODE_MOJIKYO_2022): Deleted.
463 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
464 (charset_code_point): Changed to non-inline function.
465 (encode_char_1): Use `charset_code_point'.
466 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
468 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
470 * lread.c (read_compiled_function): Fix prototype.
471 (read_vector): Likewise.
473 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
475 * lrecord.h (struct lrecord_header): Delete `older'.
476 (set_lheader_implementation): Delete code for `older'.
477 (set_lheader_older_implementation): Deleted.
478 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
479 (OLDER_RECORD_P): Deleted.
480 (OLDER_RECORD_HEADER_P): Deleted.
481 (alloc_older_lcrecord): Deleted.
482 (alloc_older_lcrecord_type): Deleted.
484 * alloc.c (all_older_lcrecords): Deleted.
485 (alloc_older_lcrecord): Deleted.
486 (disksave_object_finalization_1): Delete code for older objects.
487 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
488 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
490 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
492 * mule-charset.c (decoding_table_put_char): Use `make_vector'
493 instead of `make_older_vector'.
494 (put_char_ccs_code_point): Likewise.
495 (mark_charset): Mark `cs->decoding_table'.
496 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
498 * lisp.h (make_older_vector): Deleted.
499 (make_vector_newer): Deleted.
501 * config.h.in (HAVE_GGC): Deleted.
503 * alloc.c (make_older_vector): Deleted.
504 (make_vector_newer_1): Deleted.
505 (make_vector_newer): Deleted.
507 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
509 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
510 (Qideograph_daikanwa_2): New variable.
511 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
512 (complex_vars_of_mule_charset): Add new coded-charset
513 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
514 `LEADING_BYTE_DAIKANWA'.
516 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
517 (LEADING_BYTE_DAIKANWA_1): New macro.
518 (LEADING_BYTE_DAIKANWA_2): New macro.
519 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
521 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
523 * mule-charset.c (complex_vars_of_mule_charset): Change
524 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
525 the second revised version.
527 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
529 * mule-charset.c (Vcharset_ucs_smp): New variable.
530 (Vcharset_ucs_sip): New variable.
531 (Qucs_smp): New variable.
532 (Qucs_sip): New variable.
533 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
534 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
535 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
536 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
537 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
538 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
540 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
541 (LEADING_BYTE_UCS_SIP): New macro.
542 (MIN_CHAR_SMP): New macro.
543 (MAX_CHAR_SMP): New macro.
544 (MIN_CHAR_SIP): New macro.
545 (MAX_CHAR_SIP): New macro.
547 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
549 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
552 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
554 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
555 value; don't store value into `encoding_table' of `Lisp_Charset'.
556 (mark_charset): `encoding_table' was deleted.
557 (charset_description): Likewise.
558 (make_charset): Likewise.
559 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
560 `put_char_ccs_code_point'.
562 * chartab.h (Fput_char_attribute): New EXFUN.
564 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
565 is unified with normal symbol space.
566 (Fget_char_attribute): Likewise.
567 (Fput_char_attribute): Likewise; behavior of
568 `put_char_ccs_code_point' is changed.
570 * char-ucs.h: Include "elhash.h".
571 (Vchar_attribute_hash_table): New external variable.
572 (struct Lisp_Charset): Delete `encoding_table'.
573 (CHARSET_ENCODING_TABLE): New implementation; refer
574 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
577 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
579 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
582 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
584 * text-coding.c (char_encode_big5): Prefer charset-g1 than
587 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
589 * chartab.c (uint8_byte_table_description): New constant.
590 (uint8-byte-table): Use `uint8_byte_table_description'.
591 (uint16_byte_table_description): New constant.
592 (uint16-byte-table): Use `uint16_byte_table_description'.
594 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
596 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
597 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
599 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
601 * mule-charset.c (Vcharset_ucs_ks): New variable.
602 (Qucs_ks): New variable.
603 (syms_of_mule_charset): Add new symbol `ucs-ks'.
604 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
606 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
608 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
610 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
611 (Fdecode_char): Likewise.
613 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
615 (Fdefine_char): Modify for Fdecode_char.
616 (Ffind_char): Likewise.
618 * mule-charset.c (Fdecode_char): Add new optional argument
620 (Fdecode_builtin_char): Modify for `Fdecode_char'.
622 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
624 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
625 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
626 (allocate_coding_system): Initialize initial-charsets of
627 CODESYS_BIG5 in XEmacs UTF-2000.
628 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
629 CODESYS_BIG5 in XEmacs UTF-2000.
630 (decode_coding_big5): Use initial-charset-g0 and -g1 of
631 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
633 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
635 (Qideograph_hanziku_{1 .. 12}): Likewise.
636 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
638 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
639 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
640 `ideograph-hanziku-{1 .. 12}'.
642 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
643 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
644 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
645 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
646 (DECODE_DEFINED_CHAR): New inline function.
647 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
649 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
651 * mule-charset.c (Vcharset_china3_jef): Renamed from
652 `Vcharset_japanese_jef_china3'.
653 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
654 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
655 `{MIN|MAX}_CHAR_JEF_CHINA3'..
656 (syms_of_mule_charset): Rename `china3-jef' from
657 `japanese-jef-china3'.
658 (complex_vars_of_mule_charset): Likewise; rename
659 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
661 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
662 `LEADING_BYTE_JEF_CHINA3'.
663 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
664 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
666 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
668 * mule-charset.c (encode_builtin_char_1): Comment out special code
669 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
671 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
672 (MAX_CHAR_MOJIKYO_0): Comment out.
673 (MIN_CHAR_CBETA): Changed to 0x00E20000.
674 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
675 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
676 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
678 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
680 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
681 (Qideograph_cbeta): New variable.
682 (encode_builtin_char_1): Comment out special code for
683 coded-charset `mojikyo' and `japanese-jef-china3'.
684 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
685 (complex_vars_of_mule_charset): Add new coded-charset
688 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
689 (MIN_CHAR_CBETA): New macro.
690 (MAX_CHAR_CBETA): New macro.
692 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
694 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
695 (LEADING_BYTE_JEF_CHINA3): New macro.
696 (MIN_CHAR_JEF_CHINA3): New macro.
697 (MAX_CHAR_JEF_CHINA3): Likewise.
698 (DECODE_CHAR): Fixed.
700 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
702 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
703 (Qjapanese_jef_china3): New variable.
704 (encode_builtin_char_1): Support `japanese-jef-china3'.
705 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
706 (complex_vars_of_mule_charset): Add new coded-charset
707 `japanese-jef-china3'.
709 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
711 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
712 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
713 94^4, 96^3, 96^4, 128^n and 256^n set.
714 (put_char_table): Use `XCHARSET_CELL_RANGE'.
715 (map_char_table): Likewise.
717 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
719 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
722 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
724 * chartab.h (get_char_id_table): New inline function.
726 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
729 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
731 * chartab.h (decode_char_table_range): New prototype in XEmacs
733 (put_char_id_table): New inline function in XEmacs UTF-2000.
735 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
737 (decode_char_table_range): Delete static declaration in XEmacs
740 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
742 * chartab.c (put_char_id_table): Use `put_char_table'.
744 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
746 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
747 (map_over_uint16_byte_table): Likewise.
748 (map_over_byte_table): Likewise.
749 (map_char_table): Modify for `map_over_uint8_byte_table',
750 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
753 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
755 * chartab.c (struct map_char_table_for_charset_arg): New
757 (map_char_table_for_charset_fun): New function.
758 (map_char_table): Use `map_char_table' for encoding_table of
761 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
763 * chartab.c (map_char_table): Check a character is found in
764 range->charset instead of non default value is defined in
765 char-table when range is CHARTAB_RANGE_ROW.
767 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
769 * chartab.c (map_char_id_table): Deleted.
770 (Fmap_char_attribute): Use `map_char_table' instead of
773 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
775 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
777 (update_syntax_table): Deleted in XEmacs UTF-2000.
779 * syntax.c (find_defun_start): Use `syntax_table' instead of
780 `mirror_syntax_table' in XEmacs UTF-2000.
781 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
783 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
785 (Fmatching_paren): Likewise.
786 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
788 (find_start_of_comment): Likewise.
789 (find_end_of_comment): Likewise.
790 (Fforward_comment): Likewise.
791 (scan_lists): Likewise.
792 (char_quoted): Likewise.
793 (Fbackward_prefix_chars): Likewise.
794 (scan_sexps_forward): Likewise.
795 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
796 (update_syntax_table): Likewise.
798 * search.c (skip_chars): Use `syntax_table' instead of
799 `mirror_syntax_table' in XEmacs UTF-2000.
801 (Freplace_match): Likewise.
803 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
804 `mirror_syntax_table' in XEmacs UTF-2000.
805 (WORDCHAR_P_UNSAFE): Likewise.
806 (re_match_2_internal): Likewise.
808 * font-lock.c (find_context): Use `buf->syntax_table' instead of
809 `buf->mirror_syntax_table' in XEmacs UTF-2000.
811 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
812 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
814 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
817 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
819 (print_char_table): Print `default_value' in XEmacs UTF-2000.
820 (char_table_description): Delete `mirror_table' in XEmacs
822 (fill_char_table): Don't call `update_syntax_table' in XEmacs
824 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
825 (Fcopy_char_table): Likewise.
826 (put_char_table): Don't call `update_syntax_table' in XEmacs
829 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
830 `buf->mirror_syntax_table' in XEmacs UTF-2000.
831 (casify_region_internal): Likewise.
833 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
835 * buffer.c (common_init_complex_vars_of_buffer): Don't use
836 `mirror_syntax_table' in XEmacs UTF-2000.
838 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
839 `buf->mirror_syntax_table' in XEmacs UTF-2000.
840 (Fexpand_abbrev): Likewise.
842 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
844 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
846 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
848 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
849 (map_over_uint16_byte_table): Likewise.
850 (map_over_byte_table): Likewise.
851 (get_char_id_table): Refer `cit->default_value'.
852 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
853 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
854 of character-id ranges.
855 (mark_char_table): Mark `ct->default_value'.
856 (char_table_description): Add `default_value'.
857 (fill_char_table): Use `default_value'.
858 (decode_char_table_range): Decode `nil' as
859 `CHARTAB_RANGE_DEFAULT'.
860 (get_char_id_table): Refer `cit->default_value'.
861 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
862 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
863 temporary hack; check value of char-table is bound or not.
864 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
866 * chartab.h (struct Lisp_Char_Table): Add new member
867 `default_value' in XEmacs UTF-2000.
868 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
869 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
872 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
874 * chartab.h (Lisp_Char_ID_Table): Deleted.
876 * chartab.c (char_table_description): Fix typo.
877 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
878 `Lisp_Char_ID_Table'.
880 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
882 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
885 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
888 * chartab.h (XCHAR_ID_TABLE): Deleted.
889 (XSETCHAR_ID_TABLE): Deleted.
890 (CHAR_ID_TABLE_P): Deleted.
892 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
894 (Fget_composite_char): Likewise.
895 (put_char_table): Likewise.
896 (add_char_attribute_alist_mapper): Fixed.
897 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
899 (Fget_char_attribute): Likewise.
900 (Fget_char_attribute): Likewise.
901 (Fmap_char_attribute): Likewise.
903 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
905 (encode_char_1): Likewise.
907 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
909 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
912 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
913 instead of `XCHAR_ID_TABLE'.
914 (remove_char_ccs): Likewise.
916 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
918 (Fget_composite_char): Likewise.
919 (Fchar_variants): Likewise.
920 (put_char_table): Likewise.
921 (add_char_attribute_alist_mapper): Likewise.
922 (Fchar_attribute_alist): Likewise.
923 (Fget_char_attribute): Likewise.
924 (Fput_char_attribute): Likewise.
925 (Fmap_char_attribute): Likewise.
926 (Fmap_char_attribute): Likewise.
928 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
930 (encode_char_1): Likewise.
932 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
934 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
935 `Lisp_Char_ID_Table'.
936 (mark_char_id_table): Deleted.
937 (print_char_id_table): Likewise.
938 (char_id_table_equal): Likewise.
939 (char_id_table_hash): Likewise.
940 (char_id_table_description): Likewise.
941 (char_id_table): Likewise.
942 (make_char_id_table): Use `Fmake_char_table' and
944 (get_char_id_table): Use `Lisp_Char_Table' instead of
945 `Lisp_Char_ID_Table'.
946 (put_char_id_table): Likewise.
947 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
949 (Fremove_char_attribute): Likewise.
950 (syms_of_chartab): Don't define type `char-id-table'.
952 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
953 (char_id_table): Likewise.
954 (GC_CHAR_ID_TABLE_P): Likewise.
955 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
956 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
957 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
958 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
959 (get_char_id_table): Use `Lisp_Char_Table' instead of
960 `Lisp_Char_ID_Table'.
961 (put_char_id_table_0): Likewise.
962 (put_char_id_table): Likewise.
964 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
966 * chartab.h: Lisp_Byte_Table related codes are moved from
969 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
971 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
973 * chartab.h: Don't include "chartab.h".
974 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
975 (Lisp_Char_ID_Table): Likewise.
976 (char_id_table): Likewise.
977 (XCHAR_ID_TABLE): Likewise.
978 (XSETCHAR_ID_TABLE): Likewise.
979 (CHAR_ID_TABLE_P): Likewise.
980 (GC_CHAR_ID_TABLE_P): Likewise.
981 (get_char_id_table): Likewise.
983 * char-ucs.h: Include "chartab.h".
984 (struct Lisp_Char_ID_Table): Moved to chartab.h.
985 (Lisp_Char_ID_Table): Likewise.
986 (char_id_table): Likewise.
987 (XCHAR_ID_TABLE): Likewise.
988 (XSETCHAR_ID_TABLE): Likewise.
989 (CHAR_ID_TABLE_P): Likewise.
990 (GC_CHAR_ID_TABLE_P): Likewise.
991 (get_char_id_table): Likewise.
993 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
995 * chartab.c (copy_uint8_byte_table): New function.
996 (copy_uint16_byte_table): New function.
997 (copy_byte_table): New function.
998 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1000 (map_over_uint16_byte_table): Likewise.
1001 (map_over_byte_table): Likewise.
1002 (get_byte_table): Move prototype to chartab.h.
1003 (put_byte_table): Likewise.
1004 (put_char_id_table_0): Moved to chartab.h.
1005 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1006 (char_table_entry_equal): Likewise.
1007 (char_table_entry_hash): Likewise.
1008 (char_table_entry_description): Likewise.
1009 (char_table_entry): Likewise.
1010 (make_char_table_entry): Likewise.
1011 (copy_char_table_entry): Likewise.
1012 (get_non_ascii_char_table_value): Likewise.
1013 (map_over_charset_ascii): Likewise.
1014 (map_over_charset_control_1): Likewise.
1015 (map_over_charset_row): Likewise.
1016 (map_over_other_charset): Likewise.
1017 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1018 (print_char_table): Likewise.
1019 (char_table_equal): Likewise.
1020 (char_table_hash): Likewise.
1021 (char_table_description): Likewise.
1022 (fill_char_table): Likewise.
1023 (Fcopy_char_table): Likewise.
1024 (get_char_table): Likewise.
1025 (Fget_range_char_table): Likewise.
1026 (put_char_table): Likewise.
1027 (map_char_table): Likewise.
1028 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1031 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1033 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1034 `Vauto_fill_chars' in XEmacs UTF-2000.
1036 * chartab.h (get_byte_table): New prototype [moved from
1038 (put_byte_table): Likewise [moved from chartab.c].
1039 (put_char_id_table_0): New inline function [moved from chartab.c].
1040 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1041 (Lisp_Char_Table_Entry): Likewise.
1042 (char_table_entry): Likewise.
1043 (XCHAR_TABLE_ENTRY): Likewise.
1044 (XSETCHAR_TABLE_ENTRY): Likewise.
1045 (CHAR_TABLE_ENTRYP): Likewise.
1046 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1047 (NUM_ASCII_CHARS): Likewise.
1048 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1049 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1051 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1053 * chartab.c (get_char_id_table): Change interface.
1054 (put_char_id_table_0): New function.
1055 (put_char_id_table): Change interface; new implementation.
1056 (Fget_composite_char): Modify for interface change of
1057 `get_char_id_table'.
1058 (Fchar_variants): Likewise.
1059 (add_char_attribute_alist_mapper): Likewise.
1060 (Fchar_attribute_alist): Likewise.
1061 (Fget_char_attribute): Likewise.
1062 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1063 as same as character as the first argument like `put-char-table';
1064 modify for interface change of `put_char_id_table'.
1065 (Fremove_char_attribute): Modify for interface change of
1066 `put_char_id_table'.
1068 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1070 * text-coding.c: Sync up with XEmacs 21.2.41.
1071 (COMPOSE_ADD_CHAR): Modify for interface change of
1072 `get_char_id_table'.
1074 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1075 change of `put_char_id_table'.
1076 (remove_char_ccs): Likewise.
1078 * chartab.h (put_char_id_table): Change interface.
1080 * char-ucs.h (get_char_id_table): Change interface.
1081 (charset_code_point): Modify for interface change of
1082 `get_char_id_table'.
1083 (encode_char_1): Likewise.
1085 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1087 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1089 (map_over_uint16_byte_table): Likewise.
1090 (map_over_byte_table): Likewise.
1091 (map_char_id_table): Add new argument `range' like
1093 (Fmap_char_attribute): Add new argument `range' like
1096 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1098 * chartab.c (map_over_uint8_byte_table): Change interface of
1099 mapping function to use struct chartab_range instead of Emchar.
1100 (map_over_uint16_byte_table): Likewise.
1101 (map_over_byte_table): Likewise.
1102 (map_char_id_table): Likewise.
1103 (struct slow_map_char_id_table_arg): Deleted.
1104 (slow_map_char_id_table_fun): Deleted.
1105 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1106 function `slow_map_char_table_fun' instead of struct
1107 `slow_map_char_id_table_arg' and function
1108 `slow_map_char_id_table_fun'.
1110 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1112 * mule-charset.c: Move char-it-table related codes to chartab.c.
1113 (Vutf_2000_version): Moved to chartab.c.
1114 (Fdefine_char): Likewise.
1115 (Ffind_char): Likewise.
1116 (syms_of_mule_charset): Move types `uint8-byte-table',
1117 `uint16-byte-table', `byte-table' and `char-id-table' to
1118 chartab.c; move functions `char_attribute_list,
1119 `find_char_attribute_table, `char_attribute_alist,
1120 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1121 `map_char_attribute, `define_char, `find_char, `char_variants and
1122 `get_composite_char to chartab.c; move symbols `=>ucs',
1123 `->decomposition', `compat', `isolated', `initial', `medial',
1124 `final', `vertical', `noBreak', `fraction', `super', `sub',
1125 `circle', `square', `wide', `narrow', `small' and `font' to
1127 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1128 setting codes for `Vcharacter_composition_table' and
1129 `Vcharacter_variant_table' to chartab.c.
1130 (complex_vars_of_mule_charset): Move setting code for
1131 `Vchar_attribute_hash_table' to chartab.c.
1133 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1134 (make_char_id_table): New prototype.
1135 (put_char_id_table): Likewise.
1136 (Fget_char_attribute): Likewise.
1138 * chartab.c: Move char-id-table related code from mule-charset.c.
1139 (Vutf_2000_version): Moved from mule-charset.c.
1141 * char-ucs.h (Qucs): New external variable.
1142 (put_char_ccs_code_point): New prototype.
1143 (remove_char_ccs): Likewise.
1145 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1147 * mule-charset.c (Vcharset_ucs_jis): New variable.
1148 (Qucs_jis): Likewise.
1149 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1150 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1152 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1154 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1156 * mule-charset.c (map_over_uint8_byte_table): New function.
1157 (map_over_uint16_byte_table): Likewise.
1158 (map_over_byte_table): Likewise.
1159 (map_char_id_table): Likewise.
1160 (slow_map_char_id_table_fun): Likewise.
1161 (Fmap_char_attribute): Likewise.
1162 (syms_of_mule_charset): Add new function `map-char-attribute'.
1164 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1166 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1167 (syms_of_mule_charset): Add new function `find-char'.
1169 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1171 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1173 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1174 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1176 (complex_vars_of_mule_charset): Add new coded-charset
1177 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1178 `ideograph-gt-pj-*'.
1180 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1182 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1184 * mule-charset.c (encode_builtin_char_1): Purge codes about
1185 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1186 {MIN|MAX}_CHAR_HEBREW.
1187 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1188 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1190 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1191 (MAX_CHAR_GREEK): Purged.
1192 (MIN_CHAR_CYRILLIC): Purged.
1193 (MAX_CHAR_CYRILLIC): Purged.
1194 (MIN_CHAR_HEBREW): Commented out.
1195 (MAX_CHAR_HEBREW): Likewise.
1197 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1199 * mule-charset.c (Qto_ucs): New variable.
1200 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1201 (Fdefine_char): Likewise.
1202 (syms_of_mule_charset): Add new symbol `=>ucs'.
1204 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1206 * mule-charset.c (Fdecode_char): Fixed.
1208 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1210 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1211 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1214 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1216 * mule-charset.c (Vcharset_ucs_big5): New variable.
1217 (Qucs_big5): Likewise.
1218 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1219 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1221 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1223 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1225 * mule-charset.c (decode_builtin_char): Check Big5 code range
1226 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1228 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1230 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1231 (Qchinese_gb12345): Likewise.
1232 (Fdecode_builtin_char): Fixed.
1233 (syms_of_mule_charset): Add `chinese-gb12345'.
1234 (complex_vars_of_mule_charset): Add coded-charset
1237 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1238 (LEADING_BYTE_CHINESE_GB12345): New macro.
1240 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1242 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1243 and `latin-viscii-upper' for `latin-viscii'.
1245 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1247 * mule-charset.c (Fdecode_builtin_char): Comment out
1248 regularization code for ISO-IR GR representation.
1250 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1252 * mule-charset.c (decode_builtin_char): New function; renamed from
1253 `make_builtin_char'; return -1 instead of signal.
1254 (Fdecode_builtin_char): Use `decode_builtin_char'.
1256 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1257 `make_builtin_char'.
1258 (DECODE_CHAR): Use `decode_builtin_char' instead of
1259 `make_builtin_char'; use mapping table of `chinese-big5' for
1260 `chinese-big5-{1,2}'.
1262 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1264 * text-coding.c (char_encode_big5): New function.
1265 (char_finish_big5): Likewise.
1266 (reset_encoding_stream): Use `char_encode_big5' and
1267 `char_finish_big5' for CODESYS_BIG5.
1268 (mule_encode): Don't use `encode_coding_big5'.
1269 (encode_coding_big5): Deleted.
1271 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1273 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1274 0x81- in XEmacs UTF-2000.
1275 (detect_coding_big5): Likewise.
1277 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1279 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1280 generate character-id if the CCS property does not have
1281 corresponding predefined character.
1282 (make_builtin_char): Return -1 if corresponding predefined
1283 character is not found.
1284 (Fdecode_char): Return nil if corresponding character is not
1286 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1287 don't map to builtin ucs space.
1289 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1291 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1292 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1294 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1296 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1297 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1298 (Qideograph_gt): Likewise.
1299 (Qideograph_gt_pj_{1..11}): Likewise.
1300 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1301 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1302 `ideograph-gt-pj-11'.
1303 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1304 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1305 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1307 * char-ucs.h (LEADING_BYTE_GT): New macro.
1308 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1309 (MIN_CHAR_GT): Likewise.
1310 (MAX_CHAR_GT): Likewise.
1312 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1314 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1315 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1317 * doprnt.c (unsigned_int_converters): Add `c'.
1318 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1320 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1321 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1323 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1324 (MAX_CHAR_MOJIKYO_0): New macro.
1325 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1327 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1329 * mule-charset.c (Fdefine_char): Delete cemented out code.
1330 (encode_builtin_char_1): Modify for new allocation of builtin
1333 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1335 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1337 * mule-charset.c (Vcharset_ucs_cns): New variable.
1338 (Qucs_cns): New variable.
1339 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1340 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1342 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1344 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1346 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1348 * search.c (search_buffer): Make `charset_base_code' as
1349 character-id >> 6 to eliminate the corresponding last byte in
1350 UTF-8 representation [I'm not sure it is right thing].
1351 (boyer_moore): Likewise.
1353 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1355 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1356 representation in MULE.
1358 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1360 * text-coding.c (Fmake_coding_system): Use
1361 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1362 `EXTERNAL_PROPERTY_LIST_LOOP'.
1364 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1366 * text-coding.c (decode_output_utf8_partial_char): New function.
1367 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1369 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1371 * text-coding.c (decode_coding_utf8): Output original byte
1372 sequence if it is broken; change order of conditions.
1374 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1377 * mb-multibyte.h (BYTE_ASCII_P):
1378 Use bit ops for char-signedness safety.
1379 (BYTE_C0_P): Use bit ops for char-signedness safety.
1380 (BYTE_C1_P): Use bit ops for char-signedness safety.
1382 * character.h: (XCHAR_OR_CHAR_INT):
1383 Always use inline function.
1384 Remove redundant type checking assert() - XINT will abort quite
1387 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1389 * text-coding.c: (Fencode_shift_jis_char):
1390 (Fencode_big5_char):
1391 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1392 Replace 0 with '\0' when working with bytes.
1393 Replace initial "(" with "\(" in docstrings.
1395 (Fmake_coding_system):
1396 When type is ccl and value is vector, register it with a proper
1397 symbol. And checks whether the given ccl program is valid.
1398 (mule_decode): When calling ccl_driver, if src indicates
1399 NULL pointer, set an empty string instead.
1400 (mule_encode): Likewise.
1403 (detect_coding_sjis):
1404 (decode_coding_sjis):
1405 (detect_coding_big5):
1406 (decode_coding_big5):
1407 (detect_coding_ucs4):
1408 (decode_coding_ucs4):
1409 (detect_coding_utf8):
1410 (decode_coding_utf8):
1411 (detect_coding_iso2022):
1412 (decode_coding_iso2022):
1413 (decode_coding_no_conversion):
1415 Make all detecting and decoding functions take an Extbyte * arg.
1416 (text_encode_generic):
1417 (encode_coding_big5):
1418 (encode_coding_no_conversion):
1420 Make all encoding functions take a Bufbyte * arg.
1421 Use size_t instead of unsigned int for memory sizes.
1422 Only cast to unsigned char whenever dereferencing Extbyte *.
1424 (struct lrecord_description fcd_description_1): Use countof.
1425 (complex_vars_of_file_coding):
1426 Use countof instead of sizeof.
1427 Use CHECK_NATNUM instead of CHECK_INT.
1429 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1431 * mule-charset.c (Fget_char_attribute): Add new optional argument
1433 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1434 (remove_char_ccs): Likewise.
1436 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1438 * text-coding.c (char_encode_shift_jis): New implementation in
1440 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1443 * mule-charset.c (Vcharset_chinese_big5): New variable in
1445 (Qchinese_big5): New variable in UTF-2000.
1446 (BIG5_SAME_ROW): New macro in UTF-2000.
1447 (make_builtin_char): Use builtin characters of
1448 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1449 characters of `Vcharset_chinese_big5'.
1450 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1451 (complex_vars_of_mule_charset): Add new coded-charset
1452 `chinese-big5' in UTF-2000.
1454 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1455 (Vcharset_chinese_big5): New external variable declaration.
1456 (Vcharset_japanese_jisx0208_1990): Likewise.
1458 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1460 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1462 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1464 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1466 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1467 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1468 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1471 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1473 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1475 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1477 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1480 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1482 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1483 for `CHARSET_BY_ATTRIBUTES'.
1484 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1485 `CHARSET_BY_ATTRIBUTES'.
1487 * text-coding.c (struct decoding_stream): Rename member `CH' to
1489 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1490 (decode_coding_sjis): Likewise.
1491 (decode_coding_big5): Likewise.
1492 (decode_coding_ucs4): Likewise.
1493 (decode_coding_utf8): Likewise.
1494 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1495 `CHARSET_BY_ATTRIBUTES'.
1496 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1497 `str->counter'; decode 3, 4 bytes sets.
1498 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1500 (decode_coding_no_conversion): Use `str->cpos' instead of
1503 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1504 (Qmojikyo_2022_1): New variable.
1505 (make_charset): Don't use `CHARSET_TYPE_*'.
1506 (range_charset_code_point): Support coded-charset
1508 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1509 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1510 `CHARSET_BY_ATTRIBUTES'.
1511 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1512 `CHARSET_BY_ATTRIBUTES'.
1513 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1514 (complex_vars_of_mule_charset): Add new coded-charset
1517 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1518 interface; changed to inline function.
1520 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1521 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1522 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1523 (CHARSET_TYPE_94): Deleted.
1524 (CHARSET_TYPE_94X94): Deleted.
1525 (CHARSET_TYPE_96): Deleted.
1526 (CHARSET_TYPE_96X96): Deleted.
1527 (CHARSET_TYPE_128): Deleted.
1528 (CHARSET_TYPE_128X128): Deleted.
1529 (CHARSET_TYPE_256): Deleted.
1530 (CHARSET_TYPE_256X256): Deleted.
1531 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1533 (DECODE_MOJIKYO_2022): New inline function.
1534 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1535 `Vcharset_mojikyo_2022_1'.
1537 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1539 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1541 (put_byte_table): Likewise.
1542 (char_id_table_equal): Use `get_byte_table' [new implementation].
1544 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1546 * mule-charset.c: Include <limits.h> in UTF-2000.
1547 (BT_UINT8_MIN): New macro in UTF-2000.
1548 (BT_UINT8_MAX): New macro in UTF-2000.
1549 (BT_UINT8_t): New macro in UTF-2000.
1550 (BT_UINT8_nil): New macro in UTF-2000.
1551 (BT_UINT8_unbound): New macro in UTF-2000.
1552 (INT_UINT8_P): New inline function in UTF-2000.
1553 (UINT8_VALUE_P): New inline function in UTF-2000.
1554 (UINT8_ENCODE): New inline function in UTF-2000.
1555 (UINT8_DECODE): New inline function in UTF-2000.
1556 (mark_uint8_byte_table): New function in UTF-2000.
1557 (print_uint8_byte_table): New function in UTF-2000.
1558 (uint8_byte_table_equal): New function in UTF-2000.
1559 (uint8_byte_table_hash): New function in UTF-2000.
1560 (make_uint8_byte_table): New function in UTF-2000.
1561 (uint8_byte_table_same_value_p): New function in UTF-2000.
1562 (BT_UINT16_MIN): New macro in UTF-2000.
1563 (BT_UINT16_MAX): New macro in UTF-2000.
1564 (BT_UINT16_t): New macro in UTF-2000.
1565 (BT_UINT16_nil): New macro in UTF-2000.
1566 (BT_UINT16_unbound): New macro in UTF-2000.
1567 (INT_UINT16_P): New inline function in UTF-2000.
1568 (UINT16_VALUE_P): New inline function in UTF-2000.
1569 (UINT16_ENCODE): New inline function in UTF-2000.
1570 (UINT16_DECODE): New inline function in UTF-2000.
1571 (UINT8_TO_UINT16): New inline function in UTF-2000.
1572 (mark_uint16_byte_table): New function in UTF-2000.
1573 (print_uint16_byte_table): New function in UTF-2000.
1574 (uint16_byte_table_equal): New function in UTF-2000.
1575 (uint16_byte_table_hash): New function in UTF-2000.
1576 (make_uint16_byte_table): New function in UTF-2000.
1577 (uint16_byte_table_same_value_p): New function in UTF-2000.
1578 (print_byte_table): New function in UTF-2000.
1579 (byte-table): Use `print_byte_table' as printer.
1580 (make_byte_table): Delete second argument `older'.
1581 (byte_table_same_value_p): New function in UTF-2000.
1582 (copy_byte_table): Deleted.
1583 (get_byte_table): New function in UTF-2000.
1584 (put_byte_table): New function in UTF-2000.
1585 (print_char_id_table): New function in UTF-2000.
1586 (char-id-table): Use `print_char_id_table' as printer.
1587 (make_char_id_table): Delete second argument `older'.
1588 (get_char_id_table): Use `get_byte_table [new implementation].
1589 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1591 (Ffind_char_attribute_table): New function in UTF-2000.
1592 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1593 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1594 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1595 (syms_of_mule_charset): Add new function
1596 `find-char-attribute-table' in UTF-2000.
1598 * lrecord.h (enum lrecord_type): Add
1599 `lrecord_type_uint16_byte_table' and
1600 `lrecord_type_uint8_byte_table'.
1602 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1603 (Lisp_Uint8_Byte_Table): New type.
1604 (XUINT8_BYTE_TABLE): New macro.
1605 (XSETUINT8_BYTE_TABLE): New macro.
1606 (UINT8_BYTE_TABLE_P): New macro.
1607 (GC_UINT8_BYTE_TABLE_P): New macro.
1608 (struct Lisp_Uint16_Byte_Table): New structure.
1609 (Lisp_Uint16_Byte_Table): New type.
1610 (XUINT16_BYTE_TABLE): New macro.
1611 (XSETUINT16_BYTE_TABLE): New macro.
1612 (UINT16_BYTE_TABLE_P): New macro.
1613 (GC_UINT16_BYTE_TABLE_P): New macro.
1615 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1617 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1618 (Vcharacter_ideographic_strokes_table): Deleted.
1619 (Vcharacter_total_strokes_table): Deleted.
1620 (Vcharacter_morohashi_daikanwa_table): Deleted.
1621 (Vcharacter_decomposition_table): Deleted.
1622 (Qname): Deleted because it is duplicated.
1623 (Qideographic_radical): Deleted.
1624 (Qideographic_strokes): Deleted.
1625 (Qtotal_strokes): Deleted.
1626 (Qmorohashi_daikanwa): Deleted.
1627 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1628 `ideographic-radical', `ideographic-strokes', `total-strokes',
1629 `morohashi-daikanwa' and `->decomposition'.
1630 (Fget_char_attribute): Likewise.
1631 (Fput_char_attribute): Likewise; use `make-vector' instead of
1632 `make_older_vector' for `->decomposition' value.
1633 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1634 `ideograph-daikanwa'.
1635 (syms_of_mule_charset): Delete builtin symbols `name',
1636 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1637 `morohashi-daikanwa'.
1638 (vars_of_mule_charset): Don't setup
1639 `Vcharacter_ideographic_radical_table',
1640 `Vcharacter_ideographic_strokes_table',
1641 `Vcharacter_total_strokes_table',
1642 `Vcharacter_morohashi_daikanwa_table' and
1643 `Vcharacter_decomposition_table'.
1645 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1647 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1648 `make_older_vector', `make_vector_newer_1' and
1649 `make_vector_newer'.
1651 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1652 `make_older_vector' and `make_vector_newer'.
1654 * config.h.in (HAVE_GGC): New macro.
1656 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1658 * mule-charset.c (struct char_attribute_list_closure): New
1659 structure in UTF-2000.
1660 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1661 (Fchar_attribute_list): Likewise.
1662 (Fset_charset_mapping_table): Use `make_vector_newer'.
1663 (Fdecode_builtin_char): New function in UTF-2000.
1664 (syms_of_mule_charset): Add new function `char-attribute-list' and
1665 `decode-builtin-char' in UTF-2000.
1667 * lisp.h (make_vector_newer): New prototype.
1669 * alloc.c (make_vector_newer_1): New function.
1670 (make_vector_newer): New function.
1672 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1674 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1677 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1679 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1680 (Vcharacter_attribute_table): Deleted.
1681 (Vcharacter_name_table): Deleted.
1682 (put_char_attribute): Deleted.
1683 (remove_char_attribute): Deleted.
1684 (struct char_attribute_alist_closure): New structure.
1685 (add_char_attribute_alist_mapper): New function.
1686 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1687 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1688 (Fget_char_attribute): Likewise.
1689 (Fput_char_attribute): Likewise.
1690 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1691 of `remove_char_attribute'.
1692 (Fdefine_char): Return character.
1693 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1694 and `Vcharacter_name_table'.
1695 (complex_vars_of_mule_charset): Likewise
1696 `Vchar_attribute_hash_table'.
1698 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1700 * character.h (CHARC_CHARSET): New macro.
1701 (CHARC_CHARSET_ID): New macro.
1702 (CHARC_CODE_POINT): New macro.
1703 (CHARC_COLUMNS): New macro.
1704 (CHARC_TO_CHAR): New inline function.
1705 (CHARC_EQ): New inline function.
1706 (CHARC_ASCII_EQ): New inline function.
1707 (CHARC_IS_SPACE): New inline function.
1708 (ASCII_TO_CHARC): New inline function.
1710 * char-ucs.h (encode_char_2): Deleted.
1711 (ENCODE_CHAR): Use `encode_char_1' again.
1712 (breakup_char_1): Likewise.
1713 (CHAR_TO_CHARC): New inline function.
1715 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1717 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1719 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1720 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1721 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1722 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1723 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1725 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1727 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1729 (x_output_display_block): Use `CHARC_CHARSET' and
1732 * redisplay-tty.c (tty_output_display_block): Use
1734 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1736 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1738 * insdel.c (find_charsets_in_charc_string): Use
1740 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1741 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1742 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1743 (convert_charc_string_into_malloced_string): Likewise.
1745 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1747 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1748 instead of <Emchar_dynarr *> for buf; use
1749 `convert_bufbyte_string_into_charc_dynarr' instead of
1750 `convert_bufbyte_string_into_emchar_dynarr'; use
1751 `find_charsets_in_charc_string' instead of
1752 `find_charsets_in_emchar_string'.
1755 - Include "character.h".
1756 (struct rune): New member `cglyph'; delete member `chr'.
1758 * redisplay.c (redisplay_text_width_charc_string): New function;
1759 delete `redisplay_text_width_emchar_string'.
1760 (rtw_charc_dynarr): New variable; renamed from
1761 `rtw_emchar_dynarr'.
1762 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
1763 `rtw_emchar_dynarr'; use
1764 `convert_bufbyte_string_into_charc_dynarr' instead of
1765 `convert_bufbyte_string_into_emchar_dynarr'; use
1766 `redisplay_text_width_charc_string' instead of
1767 `redisplay_text_width_emchar_string'.
1768 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1769 instead of `rtw_emchar_dynarr'; use
1770 `convert_bufbyte_string_into_charc_dynarr' instead of
1771 `convert_bufbyte_string_into_emchar_dynarr'.
1772 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1773 `redisplay_text_width_charc_string' instead of
1774 `redisplay_text_width_emchar_string'.
1775 (create_text_block): Modify for <struct rune> change.
1776 (generate_formatted_string_db): Likewise.
1777 (create_string_text_block): Likewise.
1778 (pixel_to_glyph_translation): Likewise.
1780 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
1781 instead of <const Emchar *>.
1782 (x_text_width): Likewise.
1783 (x_output_display_block): Use <Charc_dynarr *> instead
1784 <Emchar_dynarr *>; modify for <structure rune> change.
1785 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
1788 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
1789 <const Emchar *>; use `charc_string_displayed_columns' instead of
1790 `emchar_string_displayed_columns'.
1791 (tty_output_display_block): Use <Charc_dynarr *> instead of
1792 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
1793 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
1794 (tty_output_charc_dynarr_dynarr): New variable; renamed from
1795 `tty_output_emchar_dynarr_dynarr'.
1796 (tty_output_charc_dynarr): New function; delete
1797 `tty_output_charc_dynarr'.
1799 * redisplay-output.c (compare_runes): Modify for `struct rune'.
1800 (redisplay_output_layout): Use <Charc_dynarr *> instead of
1801 <Emchar_dynarr *> for buf; use
1802 `convert_bufbyte_string_into_charc_dynarr' instead of
1803 `convert_bufbyte_string_into_emchar_dynarr'.
1805 * frame.c (title_string_charc_dynarr): New variable; renamed from
1806 `title_string_emchar_dynarr'.
1807 (generate_title_string): Use `title_string_charc_dynarr' instead
1808 of `title_string_emchar_dynarr'; use
1809 `convert_charc_string_into_malloced_string' instead of
1810 `convert_emchar_string_into_malloced_string'.
1811 (init_frame): Use `title_string_charc_dynarr' instead of
1812 `title_string_emchar_dynarr'.
1815 - Include "character.h".
1816 (struct console_methods): Use <const Charc *> instead of <const
1817 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
1818 <Emchar_dynarr *> in output_string_method.
1820 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
1823 * console-stream.c (stream_text_width): Use <const Charc *>
1824 instead of <const Emchar *>.
1826 * character.h (Charc_dynarr): New type.
1828 * char-ucs.h (structure Charc): New structure; define new type
1831 * char-lb.h (DECODE_CHAR): New inline function.
1832 (encode_char_1): New inline function.
1833 (ENCODE_CHAR): New macro.
1834 (structure Charc): New structure; define new type `Charc'.
1836 * char-1byte.h (Vcharset_control_1): New macro.
1837 (Vcharset_latin_iso8859_1): New macro.
1838 (DECODE_CHAR): New inline function.
1839 (encode_char_1): New inline function.
1840 (ENCODE_CHAR): New macro.
1841 (structure Charc): New structure; define new type `Charc'.
1843 * insdel.c (find_charsets_in_charc_string): New function; delete
1844 `find_charsets_in_emchar_string'.
1845 (charc_string_displayed_columns): New function; delete
1846 `emchar_string_displayed_columns'.
1847 (convert_bufbyte_string_into_charc_dynarr): New function; delete
1848 `convert_bufbyte_string_into_emchar_dynarr'.
1849 (convert_charc_string_into_bufbyte_dynarr): New function; delete
1850 `convert_charc_string_into_bufbyte_dynarr'.
1851 (convert_charc_string_into_malloced_string): New function; delete
1852 `convert_charc_string_into_malloced_string'.
1854 * buffer.h (find_charsets_in_charc_string): New prototype; delete
1855 `find_charsets_in_emchar_string'.
1856 (charc_string_displayed_columns): New prototype; delete
1857 `emchar_string_displayed_columns'.
1858 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
1859 `convert_charc_string_into_bufbyte_dynarr'.
1860 (convert_charc_string_into_malloced_string): New prototype; delete
1861 `convert_charc_string_into_malloced_string'.
1863 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1865 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
1867 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1869 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
1871 * char-ucs.h: Use <short> for <Charset_ID>.
1873 * mule-charset.h, char-1byte.h: Use <unsigned char> for
1876 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1878 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1881 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1883 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
1885 (Qmorohashi_daikanwa): New variable.
1886 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
1887 for `morohashi-daikanwa' attribute.
1888 (Fget_char_attribute): Likewise.
1889 (Fput_char_attribute): Likewise.
1890 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
1891 has the same value of `ideograph-daikanwa'.
1892 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
1893 (vars_of_mule_charset): Setup
1894 `Vcharacter_morohashi_daikanwa_table'.
1896 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1898 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
1900 (add_charset_to_list_mapper): Add `key' instead of
1901 `XCHARSET_NAME (value)' to return aliases.
1903 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1905 * mule-charset.c (Vcharacter_ideographic_radical_table): New
1907 (Vcharacter_ideographic_strokes_table): New variable.
1908 (Qideographic_radical): New variable.
1909 (Qideographic_strokes): New variable.
1910 (Fchar_attribute_alist): Use
1911 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
1912 attribute; use `Vcharacter_ideographic_strokes_table' for
1913 `ideographic-strokes' attribute.
1914 (Fget_char_attribute): Likewise.
1915 (Fput_char_attribute): Likewise.
1916 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
1917 `ideographic-strokes'.
1918 (vars_of_mule_charset): Setup
1919 `Vcharacter_ideographic_radical_table' and
1920 `Vcharacter_ideographic_strokes_table'.
1922 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1924 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
1925 (Qtotal_strokes): New variable.
1926 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
1927 `total-strokes' attribute.
1928 (Fget_char_attribute): Likewise.
1929 (Fput_char_attribute): Likewise.
1930 (syms_of_mule_charset): Add new symbol `total-strokes'.
1931 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
1933 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1935 * mule-charset.c (Vcharacter_decomposition_table): New variable.
1936 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
1938 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
1939 `->decomposition' attribute.
1940 (Fput_char_attribute): Likewise.
1941 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
1943 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1945 * mule-charset.c (decoding_table_check_elements): New function.
1946 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
1948 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1950 * mule-charset.c (Fset_charset_mapping_table): Use
1951 `put_char_ccs_code_point'.
1953 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1955 * mule-charset.c (decoding_table_put_char): New inline function.
1956 (put_char_ccs_code_point): Use `decoding_table_put_char'.
1958 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1960 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
1961 (XCHARSET_BYTE_SIZE): New macro.
1962 (decoding_table_remove_char): New inline function.
1963 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
1964 `decoding_table_remove_char'.
1965 (remove_char_ccs): Use `decoding_table_remove_char'.
1966 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
1968 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1970 * mule-charset.c (Vcharacter_name_table): New variable.
1971 (Qname): New variable.
1972 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
1974 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
1975 `Vcharacter_name_table' for `name' attribute.
1976 (Fremove_char_attribute): Use function `remove_char_ccs'.
1977 (put_char_ccs_code_point): New function.
1978 (remove_char_ccs): New function.
1979 (syms_of_mule_charset): Add new symbol `name'.
1980 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
1982 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1984 * mule-charset.c (make_byte_table): Add new argument `older'.
1985 (make_char_id_table): Likewise.
1986 (copy_char_id_table): Comment out because it is not used.
1987 (put_char_id_table): Modify for `make_byte_table'.
1988 (Fput_char_attribute): Make encoding_table as older object;
1989 inherit older bit of `Vcharacter_composition_table'.
1990 (mark_charset): Don't mark `cs->encoding_table'.
1991 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
1992 normal object; make `Vcharacter_composition_table' as an older
1993 object; delete staticpro for `Vcharacter_composition_table'; make
1994 `Vcharacter_variant_table' as a normal object.
1996 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
1997 (mark_object): Don't check older object in UTF-2000.
1999 * lrecord.h (struct lrecord_header): Add new member `older' in
2001 (set_lheader_implementation): Setup `SLI_header->older' in
2003 (set_lheader_older_implementation): New macro in UTF-2000.
2004 (OLDER_RECORD_P): New macro in UTF-2000.
2005 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2006 (alloc_older_lcrecord): New prototype in UTF-2000.
2007 (alloc_older_lcrecord_type): New macro in UTF-2000.
2009 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2011 * mule-charset.c (byte_table_description): Use
2012 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2013 (char_id_table_description): Delete bogus `, 1'.
2014 (Fget_char_attribute): Refer encoding_table of each coded-charset
2015 to get value of coded-charset attribute of a character.
2016 (Fput_char_attribute): Use `make_older_vector' instead of
2017 `make_vector'; use encoding_table of each coded-charset to store
2018 value of coded-charset attribute of a character.
2019 (Fremove_char_attribute): Use encoding_table of each coded-charset
2020 to store value of coded-charset attribute of a character.
2021 (mark_charset): Mark `cs->encoding_table'; don't mark
2022 `cs->decoding_table'.
2023 (charset_description): Add description of new member
2025 (make_charset): Initialize `encoding_table'.
2027 * char-ucs.h (struct Lisp_Charset): Add new member
2029 (CHARSET_ENCODING_TABLE): New macro.
2030 (XCHARSET_ENCODING_TABLE): New macro.
2031 (charset_code_point): New implementation.
2032 (encode_char_1): Likewise.
2034 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2035 (disksave_object_finalization_1): Call finalizers of
2036 `all_older_lcrecords' in UTF-2000.
2037 (make_older_vector): New function in UTF-2000.
2038 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2041 * lisp.h (make_older_vector): New prototype in UTF-2000.
2043 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2045 * lrecord.h (enum lrecord_type): Rename
2046 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2048 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2049 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2050 `get_char_code_table'.
2052 * mule-charset.c (mark_char_id_table): Renamed from
2053 `mark_char_code_table'.
2054 (char_id_table_equal): Renamed from `char_code_table_equal'.
2055 (char_id_table_hash): Renamed from `char_code_table_hash'.
2056 (make_char_id_table): Renamed from `make_char_code_table'.
2057 (copy_char_id_table): Renamed from `copy_char_code_table'.
2058 (get_char_id_table): Renamed from `get_char_code_table'.
2059 (put_char_id_table): Renamed from `put_char_code_table'.
2060 (to_char_id): Renamed from `to_char_code'.
2062 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2063 `Lisp_Char_Code_Table'.
2064 (char_id_table): Renamed from `char_code_table'.
2065 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2066 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2067 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2068 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2069 (get_char_id_table): Renamed from `get_char_code_table'.
2071 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2073 * lrecord.h (enum lrecord_type): Rename
2074 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2076 * mule-charset.c (mark_byte_table): Renamed from
2077 `mark_char_byte_table'.
2078 (byte_table_equal): Renamed from `char_byte_table_equal'.
2079 (byte_table_hash): Renamed from `byte_table_hash'.
2080 (make_byte_table): Renamed from `make_byte_table'.
2081 (copy_byte_table): Renamed from `copy_char_byte_table'.
2083 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2084 `Lisp_Char_Byte_Table'.
2085 (byte_table): Renamed from `char_byte_table'.
2086 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2087 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2088 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2089 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2091 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2093 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2094 (dfc_convert_to_internal_format): Likewise.
2096 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2097 * text-coding.c (Fcoding_system_alias_p): New function.
2098 * text-coding.c (Fcoding_system_aliasee): New function.
2099 * text-coding.c (append_suffix_to_symbol): New function.
2100 * text-coding.c (dangling_coding_system_alias_p): New function.
2101 * text-coding.c (Ffind_coding_system):
2102 * text-coding.c (Fcopy_coding_system):
2103 * text-coding.c (encode_coding_no_conversion):
2104 * text-coding.c (syms_of_file_coding):
2105 * text-coding.c (vars_of_file_coding):
2106 Rewrite coding system alias code.
2107 Allow nested aliases, like symbolic links.
2108 Allow redefinition of coding system aliases.
2109 Prevent existence of dangling coding system aliases.
2110 Eliminate convert_to_external_format.
2111 Eliminate convert_to_internal_format.
2113 * text-coding.c: Change enum eol_type to eol_type_t.
2115 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2117 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2118 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2120 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2121 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2123 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2125 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2126 `ideograph-daikanwa'.
2128 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2129 (Vcharset_ucs_bmp): Likewise.
2130 (Vcharset_mojikyo): Add new extern variable definition.
2131 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2132 (Vcharset_latin_iso8859_3): Likewise.
2133 (Vcharset_latin_iso8859_4): Likewise.
2134 (Vcharset_latin_iso8859_9): Likewise.
2135 (Vcharset_latin_viscii_lower): Likewise.
2136 (Vcharset_latin_viscii_upper): Likewise.
2137 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2138 `mojikyo' code-point is used to decode.
2139 (encode_char_2): New function [to convert `mojikyo' code-point to
2140 Mojikyo font encoding].
2141 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2142 (breakup_char_1): Likewise.
2143 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2145 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2147 * text-coding.c (Fmake_coding_system): Add document about
2148 `disable-composition' property.
2150 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2152 * text-coding.c (Qdisable_composition): New variable; delete
2154 (Fmake_coding_system): Add new property `disable-composite';
2155 delete property `composite'.
2156 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2157 instead of `!CODING_SYSTEM_COMPOSITE'.
2158 (syms_of_file_coding): Add new symbol `disable-composition';
2159 delete symbol `composite'.
2161 * file-coding.h (struct Lisp_Coding_System): Add
2162 `disable_composition'; delete `enable_composition'.
2163 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2164 `CODING_SYSTEM_COMPOSITE'.
2165 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2166 `XCODING_SYSTEM_COMPOSITE'.
2168 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2170 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2173 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2175 * text-coding.c (Qcomposite): New variable.
2176 (Fmake_coding_system): Add new property `composite'.
2177 (struct decoding_stream): Add `combined_char_count',
2178 `combined_chars' and `combining_table' in UTF-2000.
2179 (COMPOSE_FLUSH_CHARS): New macro.
2180 (COMPOSE_ADD_CHAR): New macro.
2181 (reset_decoding_stream): Reset `str->combined_char_count' and
2182 `str->combining_table' in UTF-2000.
2183 (decode_coding_iso2022): Modify for character-decomposition.
2184 (syms_of_file_coding): Add new symbol `composite'.
2186 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2188 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2189 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2190 of `Vcharacter_composition_table' if `->decomposition' property
2192 (Qlatin_tcvn5712): New variable.
2193 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2194 (complex_vars_of_mule_charset): Add new coded-charset
2197 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2199 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2201 * file-coding.h (struct Lisp_Coding_System): Add
2202 `enable_composition'.
2203 (CODING_SYSTEM_COMPOSITE): New macro.
2204 (XCODING_SYSTEM_COMPOSITE): New macro.
2206 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2208 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2210 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2212 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2213 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2215 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2217 * mule-charset.c (Vcharset_mojikyo): New variable.
2218 (Fdefine_char): Don't use coded-charset which does not have
2219 non-builtin character range to allocate character-id.
2220 (Qmojikyo): New variable.
2221 (syms_of_mule_charset): Add new symbol `mojikyo'.
2222 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2224 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2225 (LEADING_BYTE_MOJIKYO): New macro.
2226 (MIN_CHAR_MOJIKYO): New macro.
2227 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2228 (MAX_CHAR_MOJIKYO): New macro.
2230 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2232 * mule-charset.c (remove_char_attribute): Fixed.
2234 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2236 * mule-charset.c (remove_char_attribute): New function.
2237 (Fremove_char_attribute): New function.
2238 (encode_builtin_char_1): Comment out builtin-support for
2239 greek-iso8859-7 and cyrillic-iso8859-5.
2240 (Fdecode_char): Check `code' is an integer.
2241 (syms_of_mule_charset): Add `remove-char-attribute'.
2242 (MIN_CHAR_GREEK): Deleted.
2243 (MAX_CHAR_GREEK): Likewise.
2244 (MIN_CHAR_CYRILLIC): Likewise.
2245 (MAX_CHAR_CYRILLIC): Likewise.
2246 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2247 MAX_CHAR_GREEK for `greek-iso8859-7'.
2249 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2250 (MAX_CHAR_GREEK): Likewise.
2251 (MIN_CHAR_CYRILLIC): Likewise.
2252 (MAX_CHAR_CYRILLIC): Likewise.
2254 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2256 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2257 format is used without `ucs' property.
2258 (Fdecode_char): Fix problem with GR representation.
2259 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2260 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2262 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2264 * mule-charset.c (make_builtin_char): New function.
2265 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2266 (Fset_charset_mapping_table): Modify for new representation of
2268 (Fdecode_char): New function.
2269 (syms_of_mule_charset): Add new builtin function `decode-char' in
2272 * char-ucs.h (make_builtin_char): New prototype.
2273 (DECODE_CHAR): New inline function.
2274 (MAKE_CHAR): Use `DECODE_CHAR'.
2276 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2278 * text-coding.c (parse_charset_conversion_specs): Use
2279 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2281 (iso2022_designate): Likewise.
2283 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2284 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2286 * mule-charset.c (Vcharset_ucs): New variable.
2287 (print_charset): Change design; use `CHARSET_CHARS' and
2288 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2289 (make_charset): Change signature to specify `chars' and
2290 `dimension' instead of `type'.
2291 (range_charset_code_point): Modify for 256^n-set.
2292 (encode_builtin_char_1): Encode as `ucs' in default.
2293 (Fmake_charset): Modify for `make_charset'.
2294 (Fmake_reverse_direction_charset): Likewise.
2295 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2297 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2300 * char-ucs.h (Vcharset_ucs): New variable.
2301 (LEADING_BYTE_UCS): New macro.
2302 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2303 and `chars' to `unsigned short' from `unsigned int'.
2304 (CHARSET_TYPE): Deleted.
2305 (XCHARSET_TYPE): Deleted.
2307 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2309 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2311 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2312 (ENCODE_CHAR): New macro.
2314 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2316 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2317 to 0.14 (Kawachi-Katakami).
2319 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2321 * text-coding.c (char_encode_shift_jis): Modify for
2322 `charset_code_point'.
2323 (char_encode_iso2022): Likewise.
2325 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2326 (integer) instead of list of <Lisp_Object>s (integers) as the
2327 format of code-point of a coded-charset.
2328 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2329 (encode_builtin_char_1): New function; delete
2330 `split_builtin_char'.
2331 (charset_code_point): Return <int> instead of <Lisp_Object>.
2332 (Fsplit_char): Don't use `SPLIT_CHAR'.
2334 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2335 prototype for `split_builtin_char'.
2336 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2337 (charset_code_point): Likewise.
2338 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2339 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2341 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2343 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2344 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2346 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2348 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2350 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2351 (MAX_CHAR_OBS_94x94): Deleted.
2353 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2355 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2357 * char-ucs.h (MAX_CHAR_BMP): New macro.
2359 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2361 * text-coding.c: Sync with r21-2-24.
2363 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2365 * file-coding.c: Modify for UTF-2000.
2367 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2369 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2372 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2374 * mule-charset.c (split_builtin_char): Delete builtin support for
2375 `katakana-jisx0201'.
2376 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2377 BMP area in builtin representation.
2379 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2380 `Vcharset_katakana_jisx0201'.
2382 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2384 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2385 (Qisolated): New variable.
2386 (Qinitial): New variable.
2387 (Qmedial): New variable.
2388 (Qfinal): New variable.
2389 (Qvertical): New variable.
2390 (Qsmall): New variable.
2391 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2392 `Qvertical' and `Qsmall'.
2393 (Qmojikyo_pj_[1 .. 21]): New variable.
2394 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2395 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2396 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2399 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2401 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2402 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2403 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2405 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2407 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2408 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2410 (Qjapanese_jisx0208_1990): New variable.
2411 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2412 (complex_vars_of_mule_charset): Add new coded-charset
2413 `japanese-jisx0208-1990'.
2415 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2416 (MIN_CHAR_JIS_X0208_1990): New macro.
2417 (MAX_CHAR_JIS_X0208_1990): New macro.
2419 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2421 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2422 coded-charset is not found.
2424 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2426 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2427 (Fdefine_char): Use `Fmake_char'.
2429 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2431 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2432 (Vcharset_hiragana_jisx0208): Deleted.
2433 (Vcharset_katakana_jisx0208): Deleted.
2434 (Qideograph_daikanwa): New variable.
2435 (Qhiragana_jisx0208): Deleted.
2436 (Qkatakana_jisx0208): Deleted.
2437 (split_builtin_char): Split `ideograph-daikanwa'.
2438 (Fsplit_char): New implementation for UTF-2000.
2439 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2440 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2441 (complex_vars_of_mule_charset): Add new coded-charset
2442 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2443 `katakana-jisx0208'.
2445 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2446 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2447 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2448 (MIN_CHAR_DAIKANWA): New macro.
2449 (MAX_CHAR_DAIKANWA): New macro.
2451 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2453 * data.c (Fstring_to_number): Don't recognize floating point if
2456 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2458 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2460 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2462 * mule-charset.c (Qsquare): New variable.
2463 (to_char_code): Add `Qsquare'.
2464 (syms_of_mule_charset): Add new symbol `square'.
2466 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2468 * mule-charset.c (Qcircle): New variable.
2469 (to_char_code): Add `Qcircle'.
2470 (syms_of_mule_charset): Add new symbol `circle'.
2472 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2474 * mule-charset.c (Qfont): New variable.
2475 (to_char_code): Add `Qfont'.
2476 (syms_of_mule_charset): Add new symbol `font'.
2478 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2480 * mule-charset.c (Qsub): New variable.
2481 (to_char_code): Add `Qsub'.
2482 (syms_of_mule_charset): Add new symbol `sub'.
2484 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2486 * mule-charset.c (Fput_char_attribute): Convert each element of
2487 VALUE to GL position if ATTRIBUTE is a GR-set,
2489 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2491 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2492 coded-charset is a GR-set.
2494 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2496 * mule-charset.c (Fput_char_attribute): Check each element of
2497 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2499 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2501 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2503 (Qethiopic_ucs): New variable in UTF-2000.
2504 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2505 (complex_vars_of_mule_charset): Add new coded-charset
2506 `ethiopic-ucs' in UTF-2000.
2508 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2509 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2511 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2513 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2515 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2517 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2520 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2522 * mule-charset.c (Vcharacter_variant_table): New variable.
2523 (Q_ucs): New variable.
2524 (Fchar_variants): New function.
2525 (Fput_char_attribute): Register `->ucs' value to
2526 `Vcharacter_variant_table'.
2527 (syms_of_mule_charset): Add new function `char-variants' and new
2529 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2531 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2533 * mule-charset.c (get_char_code_table): Allow negative character
2535 (put_char_code_table): Likewise.
2536 (Vcharacter_composition_table): New variable.
2537 (Q_decomposition): New variable.
2538 (Qwide): New variable.
2539 (Qnarrow): New variable.
2540 (Qcompat): New variable.
2541 (QnoBreak): New variable.
2542 (Qsuper): New variable.
2543 (Qfraction): New variable.
2544 (to_char_code): New function.
2545 (Fget_composite_char): New function.
2546 (Fput_char_attribute): Register `->decomposition' value to
2547 `Vcharacter_composition_table'.
2548 (syms_of_mule_charset): Add new function `get-composite-char', new
2549 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2550 `super' and `fraction'.
2551 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2553 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2555 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2556 character; copy the return value.
2558 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2560 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2562 * mule-charset.c (range_charset_code_point): Must use make_int.
2563 (split_builtin_char): New function.
2565 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2567 * mule-charset.c (char_byte_table): Change name from
2568 "char-code-table" to "char-byte-table".
2569 (mark_char_code_table): New function.
2570 (char_code_table_equal): New function.
2571 (char_code_table_hash): New function.
2572 (char_code_table_description): New constant.
2573 (char_code_table): New type.
2574 (make_char_code_table): New function.
2575 (copy_char_code_table): New function.
2576 (get_char_code_table): Modify for `char_code_table' type.
2577 (put_char_code_table): Likewise.
2578 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2581 * char-ucs.h (char_code_table): New type.
2582 (XCHAR_CODE_TABLE): New macro.
2583 (XSETCHAR_CODE_TABLE): New macro.
2584 (CHAR_CODE_TABLE_P): New macro.
2585 (GC_CHAR_CODE_TABLE_P): New macro.
2586 (struct Lisp_Char_Code_Table): New structure.
2588 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2590 * mule-charset.c (Fmake_charset): Setup byte_offset for
2593 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2595 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2598 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2600 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2603 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2605 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2606 charset, it is regarded as a charset.
2607 (put_char_attribute): New function in UTF-2000.
2608 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2609 charset, mapping-table of the charset is modified.
2610 (Fdefine_char): New function in UTF-2000.
2611 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2612 `Fput_char_attribute'.
2613 (syms_of_mule_charset): Add new function `define-char' and new
2614 symbol `ucs' in UTF-2000.
2615 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2617 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2619 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2620 non-UTF-2000 configuration.
2622 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2624 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2625 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2627 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2629 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2630 (Fset_charset_mapping_table): Likewise.
2632 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2633 (CHARSET_ENCODING_TABLE): Delete.
2634 (XCHARSET_ENCODING_TABLE): Delete.
2635 (charset_code_point): New interface.
2637 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2639 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2640 instead of `charset_get_byte1' and `charset_get_byte2'.
2642 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2643 (charset_get_byte2): Deleted.
2645 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2647 * char-ucs.h (SPLIT_CHAR): New inline function.
2648 (breakup_char_1): Use `SPLIT_CHAR'.
2650 * mule-charset.c (range_charset_code_point): New function.
2651 (charset_code_point): New function.
2653 * char-ucs.h (range_charset_code_point): New interface.
2654 (breakup_char_1): Use `range_charset_code_point'.
2656 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2658 * mule-charset.c (Fmake_charset): Delete unused local variable
2661 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2662 (breakup_char_1): Find a charset and code-point in
2663 `Vcharacter_attribute_table'.
2665 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2667 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2670 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2672 * mule-charset.c (Vcharacter_attribute_table): New variable.
2673 (Fchar_attribute_alist): New function.
2674 (Fget_char_attribute): New function.
2675 (Fput_char_attribute): New function.
2676 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2678 (syms_of_mule_charset): Add new function `char-attribute-alist',
2679 `get-char-attribute' and `put-char-attribute'.
2680 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2682 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2684 * mule-charset.c (Fmake_charset): Just use
2685 `get_unallocated_leading_byte'.
2687 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2688 sets; don't use final-byte based number for private sets.
2690 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2692 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2695 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2697 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2700 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2702 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2703 of `CHAR_LEADING_BYTE' in UTF-2000.
2705 * insdel.c (find_charsets_in_bufbyte_string): Use
2706 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2707 (find_charsets_in_emchar_string): Likewise.
2709 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2710 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2712 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2713 (CHAR_CHARSET_ID): New macro.
2715 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2717 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2718 charset-id - MIN_LEADING_BYTE.
2719 (put_char_table): Likewise.
2721 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2723 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2724 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2725 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2726 (CHARSET_ID_OFFSET): New macro.
2727 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2728 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2729 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2730 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2732 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2734 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2735 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2736 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2737 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2738 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2740 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2742 * mule-charset.c (next_allocated_leading_byte): New variable in
2744 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2745 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2746 (get_unallocated_leading_byte): Simply use
2747 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2748 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2751 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2752 (MAX_LEADING_BYTE_PRIVATE): New macro.
2753 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2754 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2756 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2758 * mule-charset.c (Fmake_charset): Allocate final-byte based
2759 charset-id for 94-set, 96-set and 94x94-set.
2761 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2763 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
2765 (Fmake_charset): Likewise.
2766 (complex_vars_of_mule_charset): Modify the font registry of
2767 `ucs-bmp' not to match `Ethiopic-Unicode'.
2769 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2771 * mule-charset.c (complex_vars_of_mule_charset): Add font
2772 registory of `ucs-bmp'.
2774 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2776 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2777 coded-charsets in `default-coded-charset-priority-list' when
2778 breaking up a character.
2780 * mule-charset.c (Vcharset_latin_viscii): New variable.
2781 (Qlatin_viscii): New variable.
2782 (make_charset): Don't use `decoding_table'.
2783 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
2785 (Fset_charset_mapping_table): New implementation.
2786 (syms_of_mule_charset): Add new symbol `latin-viscii'.
2787 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
2788 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
2789 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
2790 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
2791 charset `latin_viscii'.
2793 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
2794 (CHARSET_TYPE_94X94): Change to 1 from 2.
2795 (CHARSET_TYPE_96): Change to 2 from 1.
2796 (CHARSET_TYPE_128): New macro.
2797 (CHARSET_TYPE_128X128): Change to 5 from 4.
2798 (CHARSET_TYPE_256): New macro.
2799 (CHARSET_TYPE_256X256): Change to 7 from 5.
2800 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
2802 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2804 * text-coding.c (char_encode_shift_jis): Refer
2805 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
2806 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
2808 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
2809 (char_byte_table_equal): New function in UTF-2000.
2810 (char_byte_table_hash): New function in UTF-2000.
2811 (char_byte_table_description): New constant in UTF-2000.
2812 (char_byte_table): New type in UTF-2000.
2813 (make_char_byte_table): New function in UTF-2000.
2814 (copy_char_byte_table): New function in UTF-2000.
2815 (make_char_code_table): New macro in UTF-2000.
2816 (get_char_code_table): New function in UTF-2000.
2817 (put_char_code_table): New function in UTF-2000.
2818 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2819 (charset_description): Add setting in UTF-2000.
2820 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
2821 `CHARSET_TO_BYTE1_TABLE(cs)'.
2822 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
2823 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
2824 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
2825 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
2826 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
2827 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
2828 `CHARSET_TO_BYTE2_TABLE(cs)'.
2830 * char-ucs.h (char_byte_table): New type.
2831 (XCHAR_BYTE_TABLE): New macro.
2832 (XSETCHAR_BYTE_TABLE): New macro.
2833 (CHAR_BYTE_TABLE_P): New macro.
2834 (GC_CHAR_BYTE_TABLE_P): New macro.
2835 (struct Lisp_Char_Byte_Table): New structure.
2836 (get_char_code_table): New interface.
2837 (Emchar_to_byte_table): Deleted.
2838 (get_byte_from_character_table): Deleted.
2839 (struct Lisp_Charset): Add `encoding_table'; delete
2840 `to_byte1_table' and `to_byte2_table'.
2841 (CHARSET_ENCODING_TABLE): New macro.
2842 (CHARSET_TO_BYTE1_TABLE): Deleted.
2843 (CHARSET_TO_BYTE2_TABLE): Deleted.
2844 (XCHARSET_ENCODING_TABLE): New macro.
2845 (XCHARSET_TO_BYTE1_TABLE): Deleted.
2846 (XCHARSET_TO_BYTE2_TABLE): Deleted.
2848 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2850 * mule-charset.c (syms_of_mule_charset): Delete charset alias
2851 `vietnamese-viscii-*'.
2853 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2855 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
2856 (Qvietnamese_viscii_upper): New variable.
2857 (Fdefine_charset_alias): New function.
2858 (syms_of_mule_charset): Add new function `define-charset-alias'.
2859 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
2860 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
2863 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
2865 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
2866 (MAX_CHAR_OBS_94x94): New macro.
2867 (breakup_char_1): Support obsolete XEmacs-UCS private code space
2870 * mule-charset.c (put_byte_from_character_table): Change unit size
2872 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
2874 (Fmake_reverse_direction_charset): Modify dummy argument of
2875 `make_charset' for non-UTF-2000 environment.
2877 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2879 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
2881 * mule-charset.c (destroy_byte_from_character_table): New macro.
2882 (latin_jisx0201_to_ucs): Deleted.
2883 (latin_iso8859_2_to_ucs): Deleted.
2884 (latin_iso8859_3_to_ucs): Deleted.
2885 (latin_iso8859_4_to_ucs): Deleted.
2886 (latin_iso8859_9_to_ucs): Deleted.
2887 (latin_viscii_lower_to_ucs): Deleted.
2888 (latin_viscii_upper_to_ucs): Deleted.
2889 (mark_charset): Mark `cs->decoding_table'.
2890 (Fcharset_mapping_table): Fix DOC-string.
2891 (Fset_charset_mapping_table): New function.
2892 (syms_of_mule_charset): Add nwe function
2893 `set-charset-mapping-table'.
2894 (complex_vars_of_mule_charset): Don't setup and use
2897 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
2899 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
2902 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
2904 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
2905 (Vcharset_katakana_jisx0208): New variable.
2906 (Qhiragana_jisx0208): New variable.
2907 (Qkatakana_jisx0208): New variable.
2908 (make_charset): Add new argument `byte_offset'.
2909 (charset_get_byte1): Modify for new coded-charset definition; use
2910 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2911 `XCHARSET_BYTE_OFFSET'.
2912 (Fmake_charset): Modify for `make_charset'.
2913 (Fmake_reverse_direction_charset): Likewise.
2914 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
2915 `katakana-jisx0208'.
2916 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
2917 `.' in font registry of charset `katakana-jisx0201',
2918 `latin-jisx0201', `vietnamese-viscii-lower' and
2919 `vietnamese-viscii-upper'; modify DOC-string of charset
2920 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
2921 registry of charset `japanese-jisx0208' not to use font for JIS
2922 X0208:1990; add new charset `hiragana-jisx0208' and
2923 `katakana-jisx0208'.
2925 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
2926 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
2927 (struct Lisp_Charset): Add `byte_offset'.
2928 (CHARSET_BYTE_OFFSET): New macro.
2929 (XCHARSET_UCS_MIN): New macro.
2930 (XCHARSET_UCS_MAX): New macro.
2931 (XCHARSET_CODE_OFFSET): New macro.
2932 (XCHARSET_BYTE_OFFSET): New macro.
2933 (MIN_CHAR_HIRAGANA): New macro.
2934 (MAX_CHAR_HIRAGANA): New macro.
2935 (MIN_CHAR_KATAKANA): New macro.
2936 (MAX_CHAR_KATAKANA): New macro.
2937 (MAKE_CHAR): Modify for new coded-charset definition; use
2938 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2939 `XCHARSET_BYTE_OFFSET'.
2941 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2943 * mule-charset.c (CHAR96): Deleted.
2944 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
2946 (latin_iso8859_2_to_ucs): Likewise.
2947 (latin_iso8859_3_to_ucs): Likewise.
2948 (latin_iso8859_4_to_ucs): Likewise.
2949 (latin_iso8859_9_to_ucs): Likewise.
2950 (latin_viscii_lower_to_ucs): Likewise.
2951 (latin_viscii_upper_to_ucs): Likewise.
2952 (latin_tcvn5712_to_ucs): Commented out.
2953 (make_charset): Change type of argument `decoding_table' from
2954 <Emchar*> to <Lisp_Object> [vector of characters].
2955 (Fmake_charset): Modify for `make_charset'.
2956 (Fmake_reverse_direction_charset): Likewise.
2957 (Fcharset_mapping_table): New function in UTF-2000.
2958 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
2960 (complex_vars_of_mule_charset): Modify for type change of
2961 `*_to_ucs'; modify for `make_charset'.
2963 * char-ucs.h (struct Lisp_Charset): Change type of
2964 `decoding_table' from <Emchar*> to <Lisp_Object>.
2965 (MAKE_CHAR): Modify for new specification of `decoding_table'.
2967 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2969 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
2970 error with non-UTF-2000-Mule.
2972 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
2974 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
2976 (Vcharset_chinese_cns11643_4): Likewise.
2977 (Vcharset_chinese_cns11643_5): Likewise.
2978 (Vcharset_chinese_cns11643_6): Likewise.
2979 (Vcharset_chinese_cns11643_7): Likewise.
2980 (Qchinese_cns11643_3): Likewise.
2981 (Qchinese_cns11643_4): Likewise.
2982 (Qchinese_cns11643_5): Likewise.
2983 (Qchinese_cns11643_6): Likewise.
2984 (Qchinese_cns11643_7): Likewise.
2985 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
2986 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
2987 and `chinese-cns11643-7' to lisp/mule/chinese.el.
2988 (complex_vars_of_mule_charset): Likewise.
2990 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2992 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
2994 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
2995 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
2997 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2999 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3001 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3002 (breakup_char_1): Likewise.
3004 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3005 one of them includes the specified character.
3007 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3009 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3011 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3013 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3015 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3017 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3018 definition for non-UTF-2000 Mule.
3019 (latin_iso8859_3_to_ucs): Likewise.
3020 (latin_iso8859_4_to_ucs): Likewise.
3021 (latin_iso8859_9_to_ucs): Likewise.
3022 (latin_jisx0201_to_ucs): Likewise.
3023 (MIN_CHAR_THAI): Likewise.
3024 (MAX_CHAR_THAI): Likewise.
3025 (MIN_CHAR_GREEK): Likewise.
3026 (MAX_CHAR_GREEK): Likewise.
3027 (MIN_CHAR_HEBREW): Likewise.
3028 (MAX_CHAR_HEBREW): Likewise.
3029 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3030 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3031 (MIN_CHAR_CYRILLIC): Likewise.
3032 (MAX_CHAR_CYRILLIC): Likewise.
3034 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3036 * char-ucs.h (breakup_char_1): Use
3037 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3038 thai-tis620 and katakana-jisx0201 area.
3040 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3042 * char-ucs.h (breakup_char_1): Use
3043 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3046 * text-coding.c (reset_encoding_stream): Fixed.
3047 (char_encode_ucs4): Delete `& 255'.
3049 * char-ucs.h (breakup_char_1): Use
3050 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3052 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3054 * file-coding.c (Fmake_coding_system): Don't set up
3055 `codesys->fixed.size'.
3056 (encode_coding_no_conversion): Don't refer
3057 `str->codesys->fixed.size'.
3059 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3061 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3062 (latin_a_char_to_byte1): Deleted.
3063 (latin_a_char_to_byte2): Deleted.
3065 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3067 * mule-charset.c (make_charset): Add new argument `ucs_min',
3068 `ucs_max' and `code_offset'.
3069 (charset_get_byte1): New implementation [delete specific charset
3070 depended implementations].
3071 (Fmake_charset): Modify for `make_charset'.
3072 (Fmake_reverse_direction_charset): Likewise.
3073 (complex_vars_of_mule_charset): Likewise.
3075 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3077 (CHARSET_UCS_MIN): New macro.
3078 (CHARSET_UCS_MAX): New macro.
3079 (CHARSET_CODE_OFFSET): New macro.
3080 (MAKE_CHAR): Delete charset depended definitions [except
3083 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3085 * char-ucs.h (breakup_char_1): Use
3086 `Vdefault_coded_charset_priority_list' for C0-Controls,
3087 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3089 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3091 * char-ucs.h (charset_get_byte1): New function.
3092 (XCHARSET_GET_BYTE1): Deleted.
3093 (charset_get_byte2): New function.
3094 (XCHARSET_GET_BYTE2): Deleted.
3095 (Vdefault_coded_charset_priority_list): New external variable.
3096 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3097 `Vdefault_preferred_coded_charset_list'.
3099 * mule-charset.c (charset_get_byte1): New function.
3100 (charset_get_byte2): New function.
3101 (Vdefault_coded_charset_priority_list): New variable.
3102 (vars_of_mule_charset): Add new variable
3103 `default-coded-charset-priority-list'.
3105 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3107 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3108 (XCHARSET_GET_BYTE2): New inline function.
3109 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3110 `XCHARSET_GET_BYTE2'.
3112 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3114 * mule-charset.c (make_charset): Initialize
3115 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3116 NULL if table is not defined.
3118 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3120 * text-coding.c (char_encode_shift_jis): Use
3121 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3122 `ucs_to_latin_jisx0201'.
3124 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3125 (ucs_to_latin_iso8859_2): Deleted.
3126 (ucs_to_latin_iso8859_3): Deleted.
3127 (ucs_to_latin_iso8859_4): Deleted.
3128 (ucs_to_latin_iso8859_9): Deleted.
3129 (ucs_to_latin_viscii_lower): Deleted.
3130 (ucs_to_latin_viscii_upper): Deleted.
3131 (ucs_to_latin_tcvn5712): Deleted.
3132 (make_charset): Add new argument `decoding_table'; set up
3133 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3134 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3135 `decoding_table' is defined in UTF-2000.
3136 (Fmake_charset): Modify for `make_charset'.
3137 (Fmake_reverse_direction_charset): Likewise.
3138 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3139 and `GENERATE_96_SET'.
3141 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3142 (ucs_to_latin_jisx0201): Deleted.
3143 (latin_iso8859_2_to_ucs): Deleted.
3144 (ucs_to_latin_iso8859_2): Deleted.
3145 (latin_iso8859_3_to_ucs): Deleted.
3146 (ucs_to_latin_iso8859_3): Deleted.
3147 (latin_iso8859_4_to_ucs): Deleted.
3148 (ucs_to_latin_iso8859_4): Deleted.
3149 (latin_iso8859_9_to_ucs): Deleted.
3150 (ucs_to_latin_iso8859_9): Deleted.
3151 (latin_viscii_lower_to_ucs): Deleted.
3152 (ucs_to_latin_viscii_lower): Deleted.
3153 (latin_viscii_upper_to_ucs): Deleted.
3154 (ucs_to_latin_viscii_upper): Deleted.
3155 (struct Lisp_Charset): Renamed `encoding_table' to
3156 `to_byte1_table'; add `to_byte2_table'.
3157 (CHARSET_DECODING_TABLE): New macro.
3158 (CHARSET_TO_BYTE1_TABLE): New macro.
3159 (CHARSET_TO_BYTE2_TABLE): New macro.
3160 (XCHARSET_DECODING_TABLE): New macro.
3161 (XCHARSET_TO_BYTE1_TABLE): New macro.
3162 (XCHARSET_TO_BYTE2_TABLE): New macro.
3163 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3165 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3166 don't use `ucs_to_*' tables.
3168 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3170 * text-coding.c (Fmake_coding_system): Don't set up
3171 `codesys->fixed.size'.
3172 (encode_coding_no_conversion): Use `if' instead of `switch'.
3174 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3176 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3178 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3179 (Fmake_charset): Modify for `make_charset'.
3180 (Fmake_reverse_direction_charset): Likewise.
3181 (complex_vars_of_mule_charset): Likewise.
3183 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3185 * text-coding.c (char_encode_shift_jis): Use table
3186 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3188 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3190 * text-coding.c (text_encode_generic): Use `if' instead of
3192 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3195 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3197 * text-coding.c (encode_coding_sjis): Deleted.
3198 (char_encode_shift_jis): New function.
3199 (char_finish_shift_jis): New function.
3200 (reset_encoding_stream): Set up `encode_char' and `finish' for
3201 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3202 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3203 (char_encode_utf8): Treat `eol_type'.
3205 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3207 * file-coding.c (decode_coding_iso2022): Use
3208 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3210 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3212 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3215 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3217 * char-lb.h (CHAR_COLUMNS): New macro.
3219 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3221 * text-coding.c (char_encode_ucs4): New function.
3222 (char_finish_ucs4): New function.
3223 (encode_coding_ucs4): Deleted.
3224 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3225 (text_encode_generic): Delete local variable `charset' and `half'.
3226 (ucs_to_mule_table): Deleted.
3227 (mule_to_ucs_table): Deleted.
3228 (Fset_ucs_char): Deleted.
3229 (ucs_to_char): Deleted.
3230 (Fucs_char): Deleted.
3231 (Fset_char_ucs): Deleted.
3232 (Fchar_ucs): Deleted.
3233 (decode_ucs4): Deleted.
3234 (mule_char_to_ucs4): Deleted.
3235 (encode_ucs4): Deleted.
3236 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3237 (decode_coding_utf8): Likewise.
3238 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3239 (char_encode_iso2022): Fixed.
3240 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3241 `Fset_char_ucs' and `Fchar_ucs'.
3242 (complex_vars_of_file_coding): Don't initialize
3243 `ucs_to_mule_table'.
3245 * objects-tty.c (tty_initialize_font_instance): Don't use
3248 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3251 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3252 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3254 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3255 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3256 (emchar_string_displayed_columns): Likewise.
3258 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3259 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3260 (string_column_at_point): Likewise.
3261 (Fmove_to_column): Likewise.
3263 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3264 `encoding_table' and `decoding_table'.
3265 (CHARSET_REP_BYTES): Deleted.
3266 (XCHARSET_REP_BYTES): Deleted.
3267 (XCHARSET_COLUMNS): Deleted.
3268 (CHAR_COLUMNS): New macro.
3269 (lookup_composite_char): Deleted unconditionally.
3270 (composite_char_string): Likewise.
3272 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3274 * char-ucs.h (Emchar_to_byte_table): New type.
3275 (get_byte_from_character_table): New function interface.
3276 (Vcharset_latin_jisx0201): New variable.
3277 (latin_jisx0201_to_ucs): New variable.
3278 (ucs_to_latin_jisx0201): New variable.
3279 (Vcharset_latin_iso8859_2): New variable.
3280 (latin_iso8859_2_to_ucs): New variable.
3281 (ucs_to_latin_iso8859_2): New variable.
3282 (Vcharset_latin_iso8859_3): New variable.
3283 (latin_iso8859_3_to_ucs): New variable.
3284 (ucs_to_latin_iso8859_3): New variable.
3285 (Vcharset_latin_iso8859_4): New variable.
3286 (latin_iso8859_4_to_ucs): New variable.
3287 (ucs_to_latin_iso8859_4): New variable.
3288 (Vcharset_latin_iso8859_9): New variable.
3289 (latin_iso8859_9_to_ucs): New variable.
3290 (ucs_to_latin_iso8859_9): New variable.
3291 (Vcharset_latin_viscii_lower): New variable.
3292 (latin_viscii_lower_to_ucs): New variable.
3293 (ucs_to_latin_viscii_lower): New variable.
3294 (Vcharset_latin_viscii_upper): New variable.
3295 (latin_viscii_upper_to_ucs): New variable.
3296 (ucs_to_latin_viscii_upper): New variable.
3297 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3298 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3299 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3300 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3301 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3302 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3303 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3304 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3305 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3306 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3308 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3309 (Vcharset_latin_viscii_upper): New variable.
3310 (make_byte_from_character_table): New function.
3311 (put_byte_from_character_table): New function.
3312 (get_byte_from_character_table): New function.
3313 (CHAR96): New macro.
3314 (ucs_to_latin_jisx0201): New variable.
3315 (latin_jisx0201_to_ucs): New variable.
3316 (ucs_to_latin_iso8859_2): New variable.
3317 (latin_iso8859_2_to_ucs): New variable.
3318 (ucs_to_latin_iso8859_3): New variable.
3319 (latin_iso8859_3_to_ucs): New variable.
3320 (ucs_to_latin_iso8859_4): New variable.
3321 (latin_iso8859_4_to_ucs): New variable.
3322 (ucs_to_latin_iso8859_9): New variable.
3323 (latin_iso8859_9_to_ucs): New variable.
3324 (ucs_to_latin_viscii_lower): New variable.
3325 (latin_viscii_lower_to_ucs): New variable.
3326 (ucs_to_latin_viscii_upper): New variable.
3327 (latin_viscii_upper_to_ucs): New variable.
3328 (ucs_to_latin_tcvn5712): New variable.
3329 (latin_tcvn5712_to_ucs): New variable.
3330 (Qlatin_viscii_lower): New variable.
3331 (Qlatin_viscii_upper): New variable.
3332 (syms_of_mule_charset): Set up new symbol
3333 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3334 (complex_vars_of_mule_charset): Set up new charset
3335 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3336 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3337 `ucs_to_<CHARSET>' tables.
3339 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3341 * text-coding.c: New file.
3343 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3345 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3347 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3348 (MAKE_CHAR): Modify for `ucs-bmp'.
3349 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3350 non-MULE characters of BMP.
3352 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3354 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3357 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3360 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3361 - Include character.h for `CHAR_ASCII_P'.
3363 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3365 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3366 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3368 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3369 (BYTE_C0_P): Likewise.
3370 (BYTE_C1_P): Likewise.
3371 (Lstream_get_emchar_1): Likewise.
3372 (Lstream_fput_emchar): Likewise.
3373 (Lstream_funget_emchar): Likewise.
3374 (copy_internal_to_external): Likewise.
3375 (copy_external_to_internal): Likewise.
3377 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3378 (BYTE_C0_P): Likewise.
3379 (BYTE_C1_P): Likewise.
3380 (Lstream_get_emchar_1): Likewise.
3381 (Lstream_fput_emchar): Likewise.
3382 (Lstream_funget_emchar): Likewise.
3383 (copy_internal_to_external): Likewise.
3384 (copy_external_to_internal): Likewise.
3386 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3387 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3389 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3390 (BYTE_ASCII_P): Moved to mb-1byte.h.
3392 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3394 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3396 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3397 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3398 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3399 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3400 (VALIDATE_CHARPTR_FORWARD): Likewise.
3401 (simple_charptr_emchar): Moved to mb-multibyte.h.
3402 (simple_set_charptr_emchar): Likewise.
3403 (simple_charptr_copy_char): Likewise.
3404 (non_ascii_charptr_emchar): Likewise.
3405 (non_ascii_set_charptr_emchar): Likewise.
3406 (non_ascii_charptr_copy_char): Likewise.
3407 (charptr_emchar): Moved to mb-*byte.h.
3408 (set_charptr_emchar): Likewise.
3409 (charptr_copy_char): Likewise.
3411 * mb-1byte.h, mb-multibyte.h: New files.
3413 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3415 * mb-utf-8.h (MULTIBYTE): New macro.
3416 (MAX_EMCHAR_LEN): Moved from buffer.h.
3417 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3419 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3421 * mb-lb.h, multibyte.h: New files.
3423 * char-1byte.h (Charset_ID): Moved from buffer.h.
3424 (MIN_LEADING_BYTE): Likewise.
3425 (LEADING_BYTE_ASCII): Likewise.
3426 (NUM_LEADING_BYTES): Likewise.
3427 (CHARSETP): Likewise.
3428 (CHARSET_BY_LEADING_BYTE): Likewise.
3429 (XCHARSET_LEADING_BYTE): Likewise.
3430 (XCHARSET_GRAPHIC): Likewise.
3431 (XCHARSET_COLUMNS): Likewise.
3432 (XCHARSET_DIMENSION): Likewise.
3433 (CHAR_CHARSET): Likewise.
3434 (CHAR_LEADING_BYTE): Likewise.
3435 (BREAKUP_CHAR): Likewise.
3436 (Vcharset_ascii): Likewise.
3438 * buffer.h: Include multibyte.h unconditionally.
3439 (VALID_CHARPTR_P): Moved to multibyte.h.
3440 (ASSERT_VALID_CHARPTR): Likewise.
3441 (REAL_INC_CHARPTR): Likewise.
3442 (REAL_INC_CHARBYTIND): Likewise.
3443 (REAL_DEC_CHARPTR): Likewise.
3444 (INC_CHARPTR): Likewise.
3445 (INC_CHARBYTIND): Likewise.
3446 (DEC_CHARPTR): Likewise.
3447 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3448 (VALIDATE_CHARPTR_FORWARD): Likewise.
3449 (charptr_n_addr): Likewise.
3450 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3451 (simple_charptr_emchar): Moved to multibyte.h.
3452 (simple_set_charptr_emchar): Likewise.
3453 (simple_charptr_copy_char): Likewise.
3454 (non_ascii_charptr_emchar): Likewise.
3455 (non_ascii_set_charptr_emchar): Likewise.
3456 (non_ascii_charptr_copy_char): Likewise.
3457 (charptr_emchar): Likewise.
3458 (set_charptr_emchar): Likewise.
3459 (charptr_copy_char): Likewise.
3460 (charptr_emchar_n): Likewise.
3461 (Charset_ID): Moved to char-1byte.h.
3462 (Vcharset_ascii): Likewise.
3463 (CHAR_CHARSET): Likewise.
3464 (CHAR_LEADING_BYTE): Likewise.
3465 (LEADING_BYTE_ASCII): Likewise.
3466 (NUM_LEADING_BYTES): Likewise.
3467 (MIN_LEADING_BYTE): Likewise.
3468 (CHARSETP): Likewise.
3469 (CHARSET_BY_LEADING_BYTE): Likewise.
3470 (XCHARSET_LEADING_BYTE): Likewise.
3471 (XCHARSET_GRAPHIC): Likewise.
3472 (XCHARSET_COLUMNS): Likewise.
3473 (XCHARSET_DIMENSION): Likewise.
3474 (BREAKUP_CHAR): Likewise.
3476 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3478 * character.h: Add document about interface for characters.
3480 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3481 (MAKE_CHAR): Delete comment about
3482 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3483 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3484 (BREAKUP_CHAR): Modify name of arguments.
3485 (CHAR_CHARSET): Modify name of argument.
3487 * buffer.h: Delete document about Emchar accessors.
3489 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3491 * character.h (CHAR_INTP): Moved from buffer.h
3492 (CHAR_OR_CHAR_INTP): Likewise.
3493 (XCHAR_OR_CHAR_INT): Likewise.
3494 (CHECK_CHAR_COERCE_INT): Likewise.
3496 * buffer.h (CHAR_INTP): Moved to character.h
3497 (CHAR_OR_CHAR_INTP): Likewise.
3498 (XCHAR_OR_CHAR_INT): Likewise.
3499 (CHECK_CHAR_COERCE_INT): Likewise.
3501 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3504 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3505 - Include char-1byte.h, char-lb.h or char-ucs.h.
3507 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3509 * buffer.h: Include character unconditionally.
3510 (valid_char_p): Moved to char-*.h.
3511 (non_ascii_valid_char_p): Moved to char-lb.h.
3513 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3515 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3517 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3518 in UTF-2000 because it is not ported yet and not to use
3519 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3520 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3521 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3523 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3524 (CHAR_ASCII_P): Moved from character.h.
3526 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3527 (CHAR_ASCII_P): Likewise.
3528 (CHAR_FIELD1_MASK): Deleted.
3529 (CHAR_FIELD2_MASK): Deleted.
3530 (CHAR_FIELD3_MASK): Deleted.
3531 (MAX_CHAR_BASIC_LATIN): New macro.
3532 (CHAR_FIELD1): Deleted.
3533 (CHAR_FIELD2_INTERNAL): Deleted.
3534 (CHAR_FIELD3_INTERNAL): Deleted.
3535 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3536 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3537 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3538 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3539 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3540 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3541 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3542 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3543 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3544 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3545 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3546 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3547 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3548 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3549 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3550 (MIN_CHAR_COMPOSITION): Deleted.
3551 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3552 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3554 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3556 * buffer.h: Include mb-utf-8.h in UTF-2000.
3558 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3560 * mb-utf-8.h: New file.
3562 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3564 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3567 * mule-charset.h, buffer.h (Charset_ID): New type.
3569 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3571 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3572 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3573 instead of `MULE_CHAR_PRIVATE_OFFSET',
3574 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3575 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3576 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3578 * character.h (Vcharset_japanese_jisx0212): New variable
3581 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3583 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3584 (charset_by_attributes): Delete array about direction.
3585 (latin_a_char_to_charset): New variable in UTF-2000.
3586 (latin_a_char_to_byte1): New variable in UTF-2000.
3587 (latin_a_char_to_byte2): New variable in UTF-2000.
3588 (Qucs_bmp): New variable.
3589 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3591 (next_allocated_2_byte_leading_byte): Likewise.
3592 (non_ascii_set_charptr_emchar): Likewise.
3593 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3594 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3595 `charset_by_attributes'.
3596 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3597 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3598 and `CHARSET_BY_LEADING_BYTE'.
3599 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3600 `utf-2000-version' to `vars_of_mule_charset'.
3601 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3602 define `leading-code-private-11' in UTF-2000; move setting of
3603 `utf-2000-version' from `syms_of_mule_charset'.
3604 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3607 * character.h (Charset_ID): New type.
3608 (LEADING_BYTE_UCS_BMP): New macro.
3609 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3610 (CHARSET_ID_OFFSET_94): New macro.
3611 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3612 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3613 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3615 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3616 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3617 (CHARSET_ID_OFFSET_96): New macro.
3618 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3619 CHARSET_ID_OFFSET_96 and final-byte.
3620 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3621 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3622 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3623 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3624 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3625 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3626 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3627 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3628 (LEADING_BYTE_THAI_TIS620): Likewise.
3629 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3630 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3631 (CHARSET_ID_OFFSET_94x94): New macro.
3632 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3633 CHARSET_ID_OFFSET_94x94 and final-byte.
3634 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3635 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3636 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3637 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3638 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3639 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3640 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3641 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3642 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3643 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3644 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3645 (CHARSET_TYPE_128X128): New macro.
3646 (CHARSET_TYPE_256X256): New macro.
3647 (XCHARSET_PRIVATE_P): Delete unconditionally.
3648 (charset_by_attributes): Delete array about direction.
3649 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3650 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3651 (MIN_CHAR_94): New macro.
3652 (MAX_CHAR_94): New macro.
3653 (MIN_CHAR_96): New macro.
3654 (MAX_CHAR_96): New macro.
3655 (MIN_CHAR_94x94): New macro.
3656 (MAX_CHAR_94x94): New macro.
3657 (MIN_CHAR_96x96): New macro.
3658 (MAX_CHAR_96x96): New macro.
3659 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3660 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3661 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3663 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3664 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3665 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3666 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3667 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3668 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3669 `XCHARSET_LEADING_BYTE' to make code-point.
3670 (latin_a_char_to_charset): New variable.
3671 (latin_a_char_to_byte1): New variable.
3672 (latin_a_char_to_byte2): New variable.
3673 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3674 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3675 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3677 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3678 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3679 (find_charsets_in_emchar_string): Likewise.
3680 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3682 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3684 (decode_coding_iso2022): Likewise.
3686 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3689 * redisplay.c (redisplay_text_width_emchar_string): Use
3690 `Charset_ID' instead of `unsigned char'.
3691 (redisplay_frame_text_width_string): Likewise.
3693 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3696 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3697 instead of `unsigned char'.
3698 (face_cachel_charset_font_metric_info): Likewise.
3700 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3701 (get_non_ascii_char_table_value): Likewise.
3702 (get_char_table): Likewise.
3703 (put_char_table): Likewise.
3704 (map_over_other_charset): Likewise.
3705 (map_char_table): Likewise.
3707 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3708 instead of `unsigned char'.
3710 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3712 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3713 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3715 * mule-charset.c (leading_code_private_11): Don't define in
3718 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3719 in UTF-2000 because it is not ported yet and not to use
3720 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3722 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3724 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3726 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3728 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3731 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3732 of unsigned char to store leading-byte.
3734 * chartab.c (get_non_ascii_char_table_value): Don't use
3735 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3737 * file-coding.c (encode_coding_big5): Delete bogus implementation
3740 * character.h (LEADING_BYTE_*): Delete definition for
3742 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3743 (LEADING_BYTE_PREFIX_P): Deleted.
3744 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3745 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3746 (BUFBYTE_LEADING_BYTE_P): Deleted.
3747 (CHARSET_PRIVATE_P): Deleted unconditionally.
3748 (rep_bytes_by_first_byte): Deleted unconditionally.
3749 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3750 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3751 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3752 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3753 (CHAR_FIELD2): Deleted.
3754 (CHAR_FIELD3): Deleted.
3755 (MAKE_CHAR): Delete definition for non-UTF-2000.
3756 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3757 (breakup_char_1): New implementation.
3758 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
3759 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
3761 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3763 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3766 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3768 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3769 (CHARSET_PRIVATE_P): Likewise.
3770 (XCHARSET_PRIVATE_P): Likewise.
3771 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3773 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3775 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3777 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3779 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3780 (NUM_LEADING_BYTES): Changed from 128 to 256.
3781 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3782 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
3784 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3786 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
3788 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
3789 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
3790 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
3791 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
3792 (Qchinese_cns11643_3): New variable in UTF2000.
3793 (Qchinese_cns11643_4): New variable in UTF2000.
3794 (Qchinese_cns11643_5): New variable in UTF2000.
3795 (Qchinese_cns11643_6): New variable in UTF2000.
3796 (Qchinese_cns11643_7): New variable in UTF2000.
3797 (syms_of_mule_charset): Define `chinese-cns11643-3',
3798 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3799 and `chinese-cns11643-7' in UTF2000.
3800 (vars_of_mule_charset): Initialize
3801 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
3803 (complex_vars_of_mule_charset): Setup charset
3804 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
3805 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
3807 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3809 * mule-charset.c: Move setting for `leading-code-private-11' from
3810 `syms_of_mule_charset' to `vars_of_mule_charset'.
3812 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3814 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
3815 and `NUM_LEADING_BYTES' in assert.
3817 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3819 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
3821 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
3822 `NUM_LEADING_BYTES' instead of 128.
3824 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3826 * mule-charset.h (charset_by_leading_byte): Use
3827 `NUM_LEADING_BYTES' instead of 128.
3828 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
3830 * mule-charset.c (charset_by_leading_byte): Use
3831 `NUM_LEADING_BYTES' instead of 128.
3832 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
3834 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
3837 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3839 * mule-charset.c (syms_of_mule_charset): Update to
3842 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3844 * file-coding.c (encode_coding_sjis): New implementation for
3845 UTF2000. (decode_coding_sjis): Ditto.
3847 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3849 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
3850 Don't define in UTF2000.
3852 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
3855 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3856 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
3859 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3861 * config.h.in (CHAR_IS_UCS4): New macro.
3863 * mule-charset.c (rep_bytes_by_first_byte): Modify for
3864 conventional MULE representation.
3865 (syms_of_mule_charset): Update to 0.3 (Imamiya).
3867 * mule-charset.h: Reverted to original.
3869 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3870 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
3871 "mule-charset.h" if CHAR_IS_UCS4 is defined.
3873 * character.h: New file.
3875 * file-coding.c (Fmake_coding_system): Set 1 to
3876 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
3878 (encode_coding_no_conversion): New implementation for UTF2000.
3880 * file-coding.h (struct Lisp_Coding_System): Add new member
3883 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3885 * file-coding.c (decode_coding_iso2022): Code-point arguments of
3886 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
3887 (encode_coding_iso2022): New implementation for UTF2000.
3889 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3891 * mule-canna.c (c2mu): New implementation for UTF2000.
3894 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3896 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
3898 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3900 * file-coding.c (reset_encoding_stream): Set 0 to
3901 `str->iso2022.current_char_boundary' in UTF2000.
3902 (encode_utf8): Don't define in UTF2000.
3903 (encode_coding_utf8): New implementation for UTF-8 representation
3905 (complex_vars_of_file_coding): Define coding-system `utf-8'.
3907 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3909 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
3911 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
3913 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3915 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
3917 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
3918 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
3919 as UTF-8 in UTF2000.
3920 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
3921 (non_ascii_valid_char_p): Don't define in UTF2000.
3922 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
3923 (Lstream_get_emchar_1): Likewise.
3924 (utf-2000-version): New variable in UTF2000.
3926 * lread.c (read_escape): Add new reader `u'.
3928 * insdel.c (three_to_one_table): Don't define in UTF2000.
3929 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
3930 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3932 (bytind_to_bufpos_func): Likewise.
3933 (buffer_mule_signal_inserted_region): Likewise.
3934 (vars_of_insdel): Don't initialize `three_to_one_table'.
3935 (init_buffer_text): Use `buf->text->mule_size' instead of
3936 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3939 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
3940 UTF-8 representation in UTF2000.
3941 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
3942 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
3943 (decode_coding_iso2022): Don't define local variable `lb' in
3944 UTF2000; don't use LEADING_BYTE in UTF2000; use
3945 `DECODE_ADD_UCS_CHAR' in UTF2000.
3946 (convert_to_external_format): Decode as UTF-8 in UTF2000.
3948 * config.h.in (UTF2000): New macro.
3950 * buffer.h (struct buffer_text): Add new member `mule_size' and
3951 don't add `mule_shifter' and `mule_three_p' in UTF2000.
3952 (valid_char_p): Return always 1 in UTF2000.
3953 (MAX_EMCHAR_LEN): 6 in UTF2000.
3954 (three_to_one_table): Don't define in UTF2000.
3955 (real_bufpos_to_bytind): Modify for UTF-8 representation in
3957 (real_bytind_to_bufpos): Likewise.
3959 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
3961 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3963 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
3964 representation change.
3965 (Vutf_2000_version): New variable.
3966 (leading_code_private_11): New variable.
3967 (syms_of_mule_charset): Add new variables `utf-2000-version' and
3968 `leading-code-private-11'.
3970 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
3971 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
3972 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
3973 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
3974 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
3975 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
3976 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
3977 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
3978 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
3979 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
3980 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
3981 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
3982 (MIN_CHAR_GREEK): New macro.
3983 (MAX_CHAR_GREEK): New macro.
3984 (MIN_CHAR_CYRILLIC): New macro.
3985 (MAX_CHAR_CYRILLIC): New macro.
3986 (MIN_CHAR_HEBREW): New macro.
3987 (MAX_CHAR_HEBREW): New macro.
3988 (MIN_CHAR_THAI): New macro.
3989 (MAX_CHAR_THAI): New macro.
3990 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
3991 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
3992 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
3993 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
3994 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
3995 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
3996 (CHAR_FIELD2): New inline function.
3997 (CHAR_FIELD3): New inline function.
3998 (MULE_CHAR_PRIVATE_OFFSET): New macro.
3999 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4000 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4001 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4002 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4003 (MIN_CHAR_COMPOSITION): Likewise.
4004 (CHAR_LEADING_BYTE): Modified for character representation change.
4005 (MAKE_CHAR): Likewise.
4007 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4008 (Vcharset_greek_iso8859_7): Likewise.
4009 (Vcharset_cyrillic_iso8859_5): Likewise.
4010 (Vcharset_hebrew_iso8859_8): Likewise.
4011 (Vcharset_thai_tis620): Likewise.
4012 (Vcharset_katakana_jisx0201): Likewise.
4014 2001-02-08 Martin Buchholz <martin@xemacs.org>
4016 * XEmacs 21.2.44 "Thalia" is released.
4018 2001-02-06 Martin Buchholz <martin@xemacs.org>
4020 Fixes crashes in kill-emacs on some systems.
4021 * process-unix.c (unix_kill_child_process):
4022 It's OK for kill() to fail with ESRCH.
4024 2001-02-07 Martin Buchholz <martin@xemacs.org>
4026 Contortions to make .gdbinit tricks work on most systems.
4027 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
4028 * alloc.c (dbg_valmask): Make non-const.
4029 * alloc.c (dbg_typemask): Make non-const.
4030 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
4031 * alloc.c (dbg_valbits): Make non-const.
4032 * alloc.c (dbg_gctypebits): Make non-const.
4033 * .gdbinit (decode_object): Make it work with AIX cc.
4035 2001-02-06 Martin Buchholz <martin@xemacs.org>
4037 * elhash.c (make_general_lisp_hash_table):
4038 Use simpler and more efficient calloc to clear entries.
4040 2001-02-07 Martin Buchholz <martin@xemacs.org>
4042 * window.c (window_scroll): Work around an AIX C compiler bug.
4043 Fixes 'scroll-up' does nothing problem with xlC.
4045 2001-02-05 Martin Buchholz <martin@xemacs.org>
4047 * .gdbinit: Remove obsolete comment.
4049 2001-01-31 Mike Alexander <mta@arbortext.com>
4051 * select.c (Fown_selection_internal): Set owned_p for device
4054 2001-02-01 Martin Buchholz <martin@xemacs.org>
4057 "not" cannot be used as a macro name as it is an operator in C++
4058 * config.h.in: Stop #defining `not'.
4059 * chartab.c (check_category_char): not ==> not_p
4060 * chartab.h: Likewise.
4061 * regex.c (re_match_2_internal): Likewise.
4063 2001-02-02 Martin Buchholz <martin@xemacs.org>
4065 * lisp-disunion.h: Fix up comments.
4067 2001-01-31 Martin Buchholz <martin@xemacs.org>
4069 * keymap.c (define_key_check_and_coerce_keysym):
4071 Support mouse-6 and mouse-7 bindings in the obvious way.
4073 2001-02-01 Martin Buchholz <martin@xemacs.org>
4075 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
4077 2001-01-30 Martin Buchholz <martin@xemacs.org>
4079 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
4080 Previous patch missed DEFVAR_INT_MAGIC.
4081 Make sure future DEFVAR_foo use correct types.
4082 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
4083 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
4084 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
4085 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
4086 * (DEFVAR_INT): Likewise.
4087 * redisplay.c (vertical_clip): Should be of type Fixnum.
4088 * redisplay.c (horizontal_clip): Likewise.
4089 * lisp.h (dump_add_opaque_int): New.
4090 (dump_add_opaque_fixnum): New.
4092 2001-01-29 Andy Piper <andy@xemacs.org>
4094 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4095 since they can be eval'ed
4097 2001-01-29 Martin Buchholz <martin@xemacs.org>
4099 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4100 Oops, XEmacs redefines `class'. Use `typename' instead.
4102 2001-01-28 Martin Buchholz <martin@xemacs.org>
4104 * dumper.c: Fix C++ compile errors.
4106 2001-01-29 Martin Buchholz <martin@xemacs.org>
4108 * tparam.c: Use correct prototypes.
4110 2001-01-28 Martin Buchholz <martin@xemacs.org>
4112 * sysproc.h: #include util.h for NetBSD's openpty.
4114 2001-01-27 Martin Buchholz <martin@xemacs.org>
4116 More 64-bit correctness.
4117 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4118 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4120 This finally finishes the 64-bit SGI port.
4121 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4122 * symbols.c: Fix up comments and type casts.
4123 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4124 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4125 * symeval.h (Fixnum): New type.
4126 * symeval.h (symbol_value_type): Fix up comment.
4142 * mule-canna.c: A million DEFVAR_INTs here...
4143 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4156 s/int/Fixnum/g in DEFVAR_INT declarations.
4158 2001-01-26 Martin Buchholz <martin@xemacs.org>
4160 Port pdump to SGI alignment-sensitive environment.
4161 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4162 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4164 Define and use aligned reading and writing macros.
4165 Use buffered stdio instead of posix i/o for faster dumping.
4166 Eliminate kludgy 256 byte space for header.
4167 Read and write from dump file using structs for alignment safety.
4168 * dumper.c (pdump_align_stream): New.
4169 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4170 * dumper.c (PDUMP_READ_ALIGNED): New.
4171 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4172 * dumper.c (pdump_static_Lisp_Object): New struct.
4173 * dumper.c (pdump_static_pointer): New struct.
4174 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4175 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4176 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4177 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4179 * dumper.c (pdump_backtrace):
4180 * dumper.c (pdump_get_indirect_count):
4181 * dumper.c (pdump_register_object):
4182 * dumper.c (pdump_register_struct):
4183 * dumper.c (pdump_reloc_one):
4184 * dumper.c (pdump_scan_by_alignment):
4185 * dumper.c (pdump_dump_from_root_struct_ptrs):
4186 * dumper.c (pdump_dump_opaques):
4187 * dumper.c (pdump_dump_rtables):
4188 * dumper.c (pdump_dump_from_root_objects):
4190 * dumper.c (pdump_load_finish):
4191 Use aligned reading and writing.
4193 * dumper.c (pdump_free): Make static.
4194 * dumper.c (pdump_hFile): Likewise.
4195 * dumper.c (pdump_hMap): Likewise.
4197 2001-01-26 Martin Buchholz <martin@xemacs.org>
4199 * XEmacs 21.2.43 "Terspichore" is released.
4201 2001-01-25 Martin Buchholz <martin@xemacs.org>
4203 Type fiddling for window_config.saved_windows_count
4204 * window.c (struct window_config):
4205 Make saved_windows_count member unsigned.
4206 * window.c (sizeof_window_config_for_n_windows):
4207 Make parameter unsigned.
4208 * window.c (mark_window_config):
4209 * window.c (window_config_equal):
4210 * window.c (free_window_configuration):
4211 * window.c (Fset_window_configuration):
4212 * window.c (count_windows):
4213 * window.c (Fcurrent_window_configuration):
4214 * window.c (reinit_vars_of_window):
4215 Update all callers and users.
4217 2001-01-25 Martin Buchholz <martin@xemacs.org>
4219 Alignment correctness for flexible arrays.
4220 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4221 Make alignment-correct. Add interesting comments.
4222 * alloc.c (size_vector):
4223 * alloc.c (make_vector_internal):
4224 * alloc.c (make_bit_vector_internal):
4225 * alloc.c (sweep_bit_vectors_1):
4226 * fns.c (size_bit_vector):
4227 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4228 * window.c (sizeof_window_config_for_n_windows):
4229 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4231 2001-01-24 Martin Buchholz <martin@xemacs.org>
4233 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4235 2001-01-23 Andy Piper <andy@xemacs.org>
4237 * select.c (Fown_selection_internal): pass owned_p
4239 * select-msw.c (mswindows_own_selection): New Signature.
4241 * console.h (struct console_methods): add owned_p to
4244 * select-x.c (x_own_selection): pass owned_p
4245 (hack_motif_clipboard_selection): use owned_p
4246 (vars_of_select_x): new variable -
4247 x_selection_strict_motif_ownership.
4249 2001-01-23 Martin Buchholz <martin@xemacs.org>
4251 * specifier.h (specifier_data_offset): Remove pointless parens.
4252 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4254 2001-01-24 Martin Buchholz <martin@xemacs.org>
4256 Make Lisp_Object sizeof methods be alignment-correct.
4257 pdump must restore objects to the same alignment as the C compiler
4258 assumes. It really matters on SGIs.
4259 * lstream.c (aligned_sizeof_lstream): New.
4260 (sizeof_lstream): Use aligned_sizeof_lstream.
4261 (Lstream_new): Likewise.
4262 * opaque.c (aligned_sizeof_opaque): New.
4263 (sizeof_opaque): Use aligned_sizeof_opaque.
4264 (make_opaque): Likewise.
4265 * specifier.c (aligned_sizeof_specifier): New.
4266 (sizeof_specifier): Use aligned_sizeof_specifier.
4267 (make_specifier_internal): Likewise.
4269 2001-01-23 Martin Buchholz <martin@xemacs.org>
4271 * lstream.h (struct lstream): Use max_align_t for trailing data.
4272 * specifier.h (struct Lisp_Specifier): Likewise.
4274 2001-01-22 Martin Buchholz <martin@xemacs.org>
4276 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4277 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4278 (CCL_SUSPEND): Likewise.
4279 (CCL_INVALID_CMD): Likewise.
4280 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4281 (ccl_driver): Likewise.
4282 (CCL_WRITE_CHAR): Macro hygiene.
4283 (CCL_WRITE_STRING): Macro hygiene.
4285 2001-01-22 Martin Buchholz <martin@xemacs.org>
4287 Port "portable" dumper to SunOS 4 and HP-UX.
4288 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4289 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4290 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4292 2001-01-22 Martin Buchholz <martin@xemacs.org>
4294 * lisp.h (ALIGNOF): A better definition for C++.
4296 2001-01-20 Martin Buchholz <martin@xemacs.org>
4299 Fix printf warnings: int format, long int arg.
4300 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4301 (PUSH_FAILURE_POINT): Use correct printf formats.
4302 (POP_FAILURE_POINT): Use correct printf formats.
4303 Use do {...} while (0)
4305 2001-01-20 Martin Buchholz <martin@xemacs.org>
4307 * XEmacs 21.2.42 "Poseidon" is released.
4309 2001-01-20 Martin Buchholz <martin@xemacs.org>
4311 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4313 2001-01-19 Martin Buchholz <martin@xemacs.org>
4315 De-kludgify FIXED_TYPE free list frobbing.
4316 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4317 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4318 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4319 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4320 * alloc.c (LRECORD_FREE_P): New.
4321 * alloc.c (MARK_LRECORD_AS_FREE): New.
4322 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4323 * alloc.c (STRUCT_FREE_P): Deleted.
4324 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4325 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4326 * alloc.c (STRING_CHARS_FREE_P): New.
4327 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4328 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4329 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4330 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4331 * alloc.c (resize_string): Use new definitions.
4332 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4333 * alloc.c (verify_string_chars_integrity): Use new definitions.
4334 * alloc.c (compact_string_chars): Use new definitions.
4335 * alloc.c: Update monster comments.
4336 * lrecord.h (lrecord_type): Add some new lrecord types for
4339 2001-01-18 Martin Buchholz <martin@xemacs.org>
4341 Improve alignment hackery.
4342 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4343 (max_align_t): Moved from opaque.h - general purpose.
4344 (ALIGN_PTR): Use size_t, not long.
4345 * opaque.h (max_align_t): Move to lisp.h.
4347 2001-01-18 Norbert Koch <nk@LF.net>
4349 * gui.h: Fix and add prototypes to fix build problems.
4351 2001-01-18 Martin Buchholz <martin@xemacs.org>
4353 temacs is going away, so `dump-temacs' is now a bad name.
4354 * .dbxrc (dump-temacs): Rename to `dmp'.
4355 * .gdbinit (dump-temacs): Rename to `dmp'.
4357 2001-01-17 Andy Piper <andy@xemacs.org>
4359 * glyphs.c (print_image_instance): comment to make martin happy.
4361 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4364 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4366 (mswindows_tab_control_redisplay): warning suppression.
4368 * glyphs-widget.c (widget_update): re-write to cope with updated
4370 (widget_instantiate): use new gui_item functions.
4371 (tab_control_update): deleted.
4372 (progress_gauge_update): deleted.
4373 (image_instantiator_progress_guage): take out update reference.
4374 (image_instantiator_tree_view): ditto.
4375 (image_instantiator_tab_control): ditto.
4377 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4379 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4380 return whether anything was changed.
4381 (update_gui_item_keywords): as it sounds.
4383 * gui.h: declare widget_gui_parse_item_keywords.
4385 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4386 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4388 2001-01-17 Martin Buchholz <martin@xemacs.org>
4390 * XEmacs 21.2.41 "Polyhymnia" is released.
4392 2001-01-16 Didier Verna <didier@xemacs.org>
4394 * glyphs.c (image_instantiate): don't use fallbacks when
4395 instantiating a face's background pixmap by inheritance.
4397 2001-01-14 Mike Sperber <mike@xemacs.org>
4399 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4400 Conditionalize accordingly.
4402 2001-01-16 Martin Buchholz <martin@xemacs.org>
4404 * dumper.c (pdump_file_get): Fix a compiler warning.
4406 2001-01-15 Martin Buchholz <martin@xemacs.org>
4408 Make Purify happy when pdumping.
4409 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4410 iniitalizing all bits of new lisp object memory.
4411 * symbols.c (Fmake_local_variable): Likewise.
4412 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4413 * symbols.c (Fdefvaralias): Likewise.
4414 * mule-charset.c (vars_of_mule_charset): Likewise.
4416 2001-01-15 Martin Buchholz <martin@xemacs.org>
4417 Add the `-nd' flag when running pre-dump operations under the debugger.
4418 * .dbxrc (run-temacs): Add `-nd'.
4419 * .dbxrc (update-elc): Likewise.
4420 * .dbxrc (dump-temacs): Likewise.
4421 * .gdbinit (run-temacs): Likewise.
4422 * .gdbinit (check-temacs): Likewise.
4423 * .gdbinit (update-elc): Likewise.
4424 * .gdbinit (dump-temacs): Likewise.
4426 2001-01-14 Martin Buchholz <martin@xemacs.org>
4428 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4429 export OBJECT_MODE=64
4430 configure --pdump --use-union-type=no
4431 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4432 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4434 * miscplay.c (sndcnv8U_2mono):
4435 Avoid two uses of `++' in the same expression.
4436 Suppresses a GCC warning.
4438 2001-01-13 Martin Buchholz <martin@xemacs.org>
4440 Make sure future compilers don't miscompile alloc.c.
4442 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4443 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4445 2001-01-12 Martin Buchholz <martin@xemacs.org>
4447 * dumper.c: A little post-pdump-rename comment fixup.
4449 2001-01-09 Jerry James <james@eecs.ku.edu>
4451 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4453 2001-01-13 Martin Buchholz <martin@xemacs.org>
4455 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4459 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4462 replace_symbol pdump_wire_lists pdump_weak_object_chains
4463 replace_symbol pdump_wire_list dump_add_weak_object_chain
4465 replace_symbol pdump_wires pdump_root_objects
4466 replace_symbol pdump_wire dump_add_root_object
4468 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4469 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4471 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4472 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4473 replace_symbol dumpstructinfo pdump_root_struct_ptr
4474 replace_symbol dumpstruct dump_add_root_struct_ptr
4476 replace_symbol dumpopaque dump_add_opaque
4477 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4478 replace_symbol dumpopaqueinfos pdump_opaques
4479 replace_symbol dumpopaqueinfo pdump_opaque
4481 replace_symbol nb_structdump nb_root_struct_ptrs
4482 replace_symbol nb_opaquedump nb_opaques
4484 replace_symbol align_table pdump_align_table
4485 replace_symbol dump_header pdump_header
4487 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4488 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4491 2001-01-12 Martin Buchholz <martin@xemacs.org>
4493 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4494 optimizing bytecount_to_charcount().
4496 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4499 (HAVE_DLFCN_H): Removed.
4500 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4502 2001-01-06 Martin Buchholz <martin@xemacs.org>
4504 Portable dumper maintainability improvements.
4505 * alloc.c (staticpro):
4506 * alloc.c (staticpro_nodump):
4507 * alloc.c (garbage_collect_1):
4508 * alloc.c (reinit_alloc_once_early):
4509 * alloc.c (init_alloc_once_early):
4510 * alloc.c: Move dumper functions to alloc.c.
4511 * dumper.c (pdump_backtrace):
4512 * dumper.c (pdump_dump_structs):
4513 * dumper.c (pdump_dump_opaques):
4514 * dumper.c (pdump_dump_rtables):
4515 * dumper.c (pdump_dump_wired):
4517 * dumper.c (pdump_load_check):
4518 * dumper.c (pdump_load_finish):
4519 * dumper.c (pdump_file_unmap):
4520 * dumper.c (pdump_file_get):
4521 * dumper.c (pdump_resource_free):
4522 * dumper.c (pdump_resource_get):
4523 * dumper.c (pdump_file_free):
4524 * dumper.c (pdump_file_try):
4525 * dumper.c (pdump_load):
4526 Remove fixed size limits on staticpro(), staticpro_nodump(),
4527 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4528 Remove custom code for dumping lrecord_implementations_table - use
4530 Remove (most of the) custom code for dumping staticpros - dump it
4531 like any other dynarr.
4533 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4534 * dumper.c: Moved functions from alloc.c.
4535 * alloc.c (dumpstruct): Moved to dumper.c.
4536 * alloc.c (dumpopaque): Likewise.
4537 * alloc.c (pdump_wire): Likewise.
4538 * alloc.c (pdump_wire_list): Likewise.
4540 * lisp.h (Dynarr_sizeof): New.
4541 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4542 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4543 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4545 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4546 * lisp.h (dumpopaque): ditto.
4547 * lisp.h (pdump_wire): ditto.
4548 * lisp.h (pdump_wire_list): ditto.
4550 2001-01-09 Martin Buchholz <martin@xemacs.org>
4552 * make-src-depend (PrintPatternDeps):
4553 Use `sort' to make output independent of perl version.
4555 2001-01-08 Martin Buchholz <martin@xemacs.org>
4558 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4559 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4561 2001-01-03 Didier Verna <didier@xemacs.org>
4563 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4564 that `focus_frame' is alive before thinking of calling
4565 `redisplay_redraw_cursor' on it.
4567 2001-01-08 Martin Buchholz <martin@xemacs.org>
4569 * XEmacs 21.2.40 is released.
4571 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4573 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4575 2001-01-06 Martin Buchholz <martin@xemacs.org>
4577 * alloc.c (dbg_valmask): Make const.
4578 * alloc.c (dbg_typemask): Make const.
4579 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4580 * alloc.c (dbg_valbits): Make const.
4581 * alloc.c (dbg_gctypebits): Make const.
4583 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4585 * redisplay-x.c (x_bevel_area):
4586 redisplay.h (struct rune):
4587 Typo fixes in comments.
4589 2001-01-05 Andy Piper <andy@xemacs.org>
4591 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4594 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4596 2001-01-05 Martin Buchholz <martin@xemacs.org>
4598 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4600 * mule-ccl.c (stack_idx_of_map_multiple):
4601 Non const global data must not be initialized!
4602 Found by MIYASHITA Hisashi.
4604 2001-01-02 Andy Piper <andy@xemacs.org>
4606 * frame.c (change_frame_size): make sure frame size is always
4609 * glyphs.c (image_instance_layout): minor code reuse.
4611 * window.c (Fcurrent_window_configuration): revert previous
4614 2001-01-02 Martin Buchholz <martin@xemacs.org>
4617 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4619 2000-12-31 Andy Piper <andy@xemacs.org>
4621 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4622 when widget gets unmapped.
4624 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4625 function. Make sure widgets losing focus don't just drop it.
4626 (handle_focus_event_1): record the widget with focus.
4628 2000-12-31 Andy Piper <andy@xemacs.org>
4630 * window.c (allocate_window): use
4631 make_image_instance_cache_hash_table.
4632 (make_dummy_parent): ditto.
4633 (Fset_window_configuration): ditto.
4635 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4637 * glyphs.c (process_image_string_instantiator): use
4639 (get_image_instantiator_governing_domain): ditto.
4640 (normalize_image_instantiator): ditto.
4641 (instantiate_image_instantiator): ditto.
4642 (make_image_instance_1): ditto.
4643 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4644 (instantiator_eq_equal): new function for use with instance hash
4646 (instantiator_eq_hash): ditto.
4647 (make_image_instance_cache_hash_table): create a suitable hash
4648 table for storing image instances.
4650 * elhash.h (hash_table_weakness): new internal weakness type
4651 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4652 declare new functions.
4654 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4655 another weakness type for glyphs.
4656 (make_standard_lisp_hash_table): new function split out from
4657 make_general_lisp_hash_table.
4658 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4659 (hash_table_instantiate): ditto.
4660 (Fmake_hash_table): ditto.
4662 2000-12-31 Martin Buchholz <martin@xemacs.org>
4664 * XEmacs 21.2.39 is released.
4666 2000-12-29 Andy Piper <andy@xemacs.org>
4668 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4670 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4671 the frame has changed so that we pick up geometry changes such as
4674 2000-12-28 Andy Piper <andy@xemacs.org>
4676 * lastfile.c (my_ebss): make a char array so we can pad the
4677 bss. Fixes cygwin unexec.
4679 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4681 2000-12-26 Andy Piper <andy@xemacs.org>
4683 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
4684 comments and try and be more precise about a non-/SIGIO world.
4685 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
4688 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
4689 we don't normalize to zero width or height.
4691 2000-12-24 Andy Piper <andy@xemacs.org>
4693 * Makefile.in.in (ldflags): add -mwindows when appropriate.
4695 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
4697 * s/sco5.h: SCO 5 has pty support.
4699 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
4701 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
4702 input-method-xlib.c contains whole contents of input-method-xfs.c,
4703 so we can use input-method-xlib.c's code for USE_XFONTSET
4705 * input-method-xfs.c: removed.
4707 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
4709 * file-coding.h (enum coding_category_type): reorder enumerators to
4710 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
4711 (now one greater than largest real coding_category_type enumerator).
4712 * file-coding.c (coding_category_symbol, coding_category_by_priority,
4713 coding_category_system, fcd_descriptihon_1, decode_coding_category,
4714 Fcoding_category_list, Fset_coding_priority_list,
4715 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
4716 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
4718 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4720 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
4721 * redisplay-output.c (redisplay_output_window): Clear top of window
4722 when face is changed.
4723 * redisplay-x.c (x_redraw_exposed_window): Call
4724 redisplay_clear_top_of_window.
4725 * redisplay.h: Publish redisplay_clear_top_of_window.
4727 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4729 * buffer.c (Fkill_buffer): Map over all devices.
4730 * window.c (window_loop): Remove UNSHOW_BUFFER code.
4731 (list_windows): New function.
4732 (list_all_windows): Ditto.
4733 (Freplace_buffer_in_windows): Use them.
4735 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4737 * database.c (berkdb_subtype): Recognize new subtype `queue'.
4738 (Fopen_database): Use `db_create' instead of `db_open'.
4739 (syms_of_database): Initialize Qqueue.
4741 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4743 * buffer.c (common_init_complex_vars_of_buffer): Initialize
4744 buffer_local_face_property.
4745 * buffer.h (struct buffer): New member buffer_local_face_property.
4746 * window.c (Fset_window_buffer): Mark window's face as changed
4747 when buffer has buffer local face.
4748 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
4749 * objects.c (color_after_change): Set buffer_local_face_property
4750 when locale of face specifier is buffer.
4751 * objects.c (font_after_change): Ditto.
4752 * objects.c (face_boolean_after_change): Ditto.
4753 * glyphs.c (image_after_change): Ditto.
4755 2000-12-09 Dan Holmsand <dan@eyebee.com>
4757 * nt.c (mswindows_fstat): Report file permissions, volume serial
4758 number, etc. Code adapted from FSF Emacs 20.7.
4760 2000-12-09 Dan Holmsand <dan@eyebee.com>
4762 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
4763 of stat when we don't have symbolic links, to make sure
4764 mswindows_stat is called on mswindows.
4766 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
4768 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
4770 2000-12-12 Martin Buchholz <martin@xemacs.org>
4772 * doprnt.c (emacs_doprnt_1): More printing fixes.
4773 Make printing of numbers compatible with libc and FSF Emacs.
4774 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
4775 Use the system printf to do most of the hard work of formatting,
4776 instead of doprnt_1().
4777 Calculate memory to allocate for format string.
4778 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
4779 (doprnt_1): Cleaner code and documentation.
4781 2000-12-01 Jerry James <james@eecs.ukans.edu>
4783 * Makefile.in.in: Use the loop variable to install headers.
4785 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4787 * window.c (Fsplit_window): Don't invalidate face cache.
4789 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4791 * minibuf.c (Fall_completions): Undo the previous change
4792 which removed checking elements start with space.
4794 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4796 * mule-canna.c: Didier suppression.
4798 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4800 * mule-canna.c: rename static unsigned char buf[] to key_buffer
4801 (warning suppression). Add English comment translations.
4803 2000-12-05 Martin Buchholz <martin@xemacs.org>
4805 * unexelfsgi.c (unexec): Better test for mmap failure.
4807 2000-12-05 Martin Buchholz <martin@xemacs.org>
4809 * XEmacs 21.2.38 is released.
4811 2000-12-05 Martin Buchholz <martin@xemacs.org>
4813 * redisplay.c (bar-cursor): Make a user variable.
4815 * symsinit.h: Add init_postgresql_from_environment.
4817 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4819 * regex.c: Convert to clean C.
4821 2000-12-05 Dan Holmsand <dan@eyebee.com>
4824 Don't #include sysfile.h. Revert to duplicating PATH_MAX
4826 (sys_readlink): renamed to system_readlink to avoid conflict with
4827 the other sys_readlink.
4829 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
4831 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
4833 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
4835 * postgresql.c (init_postgresql_from_environment): new function.
4836 (vars_of_postgresql): Move code initializing Lisp variables out and
4837 into init_postgresql_from_environment.
4838 emacs.c (main_1): Call init_postgresql_from_environment if and only
4839 if running a dumped XEmacs.
4841 2000-08-31 Dan Holmsand <dan@eyebee.com>
4843 * buffer.c: Make find-file-compare-truenames default to true on
4846 * realpath.c (win32_abs_start):
4848 (win32_readlink): New functions.
4849 (xrealpath): Return really real filenames on windows.
4851 * fileio.c (Ffile_truename): Make file-truename work on windows.
4853 2000-11-29 Didier Verna <didier@xemacs.org>
4855 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
4856 * faces.c (update_face_cachel_data): use it.
4857 * faces.c (add_face_cachel): use it. Complete background pixmap
4858 frobbing in face cache if `update_face_cachel_data' has not done so.
4860 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
4862 * search.c (string_match_1): Don't set last_thing_searched
4865 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
4867 * buffer.c: Include casetab.h
4868 (common_init_complex_vars_of_buffer): Use new case-table object.
4869 * buffer.h: Include casetab.h
4870 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
4871 (DOWNCASE_TABLE_OF): Ditto.
4872 * bufslots.h: Remove char-tables and add case-table.
4873 * casetab.c: Include casetab.h
4874 (CASE_TABLE_P): Removed.
4875 (mark_case_table): New function.
4876 (allocate_case_table): New function.
4877 (Fcase_table_p): Use new case-table.
4878 (case_table_char): New function.
4879 (Fget_case_table): Ditto.
4880 (Fput_case_table): Ditto.
4881 (Fput_case_table_pair): Ditto.
4882 (Fcopy_case_table): Ditto.
4883 (Fcurrent_case_table): Return case-table.
4884 (Fstandard_case_table): Return case-table.
4885 (Fset_case_table): Fix doc-string.
4886 (set_case_table): Use case-table
4887 (syms_of_casetab): DEFSUBR new functions.
4888 (complex_vars_of_casetab): Set up standard case-table.
4889 * casetab.h: New file.
4890 * editfns.c: Include casetab.h
4891 (Fcompare_buffer_substrings): Use case-table.
4892 * inline.c: Include casetab.h
4893 * lisp.h: Remove bogus extern.
4894 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
4895 * search.c: Include casetab.h
4896 (TRANSLATE_ASCII): Removed.
4897 (TRANSLATE): Unconditionally translate character.
4898 (looking_at_1): Use case-table.
4899 (string_match_1): Ditto.
4900 (fast_string_match): Ditto.
4901 (search_command): Ditto.
4902 (search_buffer): Separate boyer_moore. Check whether
4903 boyer_moore is possible.
4904 (simple_search): New function.
4905 (boyer_moore): Separated from search_buffer. Translate char.
4907 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
4909 * regex.c (RE_TR_ASCII): Removed.
4910 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
4911 (PATFETCH): Call PATFETCH_RAW.
4912 (PATFETCH_RAW): Fetch Emchar.
4913 (PATUNFETCH): Decrement charptr.
4914 (GET_BUFFER_SPACE): Rename b to buf_end.
4916 (BUF_PUSH_2): Ditto.
4917 (BUF_PUSH_3): Ditto.
4918 (EXTEND_BUFFER): Ditto.
4919 (SET_LIST_BIT): Ditto.
4920 (regex_compile): Ditto. Translate non ASCII char.
4921 (compile_range): Ditto.
4922 (re_search_2): Ditto.
4923 (re_match_2_internal): Compare Emchar.
4924 (bcmp_translate): Ditto.
4926 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
4928 * lisp.h (basic char/int typedefs): comment improvement.
4930 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
4932 * emacs.c (main_1): unconditional pdump unstomping; don't save and
4933 unstomp inhibit_site_lisp. Improve comments.
4935 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
4937 * mule-charset.c (Fcharset_property): improve type checking, comments.
4939 2000-11-28 Andy Piper <andy@xemacs.org>
4941 * redisplay-output.c (redisplay_output_subwindow): make sure we do
4942 clipped display for windows in the gutter also.
4943 (redisplay_display_boxes_in_window_p): change semantics of return
4944 codes to be more intuitive.
4946 * gutter.h: declare display_boxes_in_gutter_p.
4948 * gutter.c (display_boxes_in_gutter_p): new function for
4951 2000-11-22 Andy Piper <andy@xemacs.org>
4953 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
4956 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
4958 * callproc.c (Fold_call_process_internal):
4959 * gpm.c (Freceive_gpm_event):
4960 (tty_get_foreign_selection): Might be just warning supression.
4961 * fileio.c (Fwrite_region_internal):
4962 (Fset_visited_file_modtime):
4963 * keymap.c (event_matches_key_specifier_p):
4964 Initialize GCPROed variable.
4966 * menubar-x.c (command_builder_find_menu_accelerator):
4967 Initialize before use.
4969 2000-11-23 Andy Piper <andy@xemacs.org>
4971 * unexcw.c (unexec): make the resulting executable executable.
4973 2000-11-21 Martin Buchholz <martin@xemacs.org>
4975 * doc.c (get_doc_string):
4976 Use size_t, not int, for result of XSTRING_LENGTH.
4978 * cmds.c (Fdelete_char):
4979 * cmds.c (Fpoint_at_eol):
4980 * cmds.c (Fself_insert_command):
4981 Use EMACS_INT, not int, for result of XINT.
4982 Someday, someone will want to insert more than 2**31 identical characters.
4984 * cmds.c (Fdelete_char):
4985 * cmds.c (Fdelete_backward_char):
4986 * syntax.c (Fforward_word):
4987 * syntax.c (Fforward_comment):
4988 Make COUNT argument optional, for consistency with forward-char et al.
4990 2000-11-22 Martin Buchholz <martin@xemacs.org>
4993 * print.c (long_to_string):
4994 Return a useful value: the pointer at end of data written.
4997 Use `static const char * const' for constant strings.
4998 (union printf_arg): Delete `i', `ui' members.
5001 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
5002 Do all printf-ing via the `l' specifier.
5003 Use EMACS_INT instead of int.
5006 2000-11-20 Didier Verna <didier@xemacs.org>
5008 * faces.c (update_face_cachel_data): don't frob the background
5009 pixmap when the window is being created. The face is needed but
5012 2000-11-20 Andy Piper <andy@xemacs.org>
5014 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
5015 messing with a debug environment.
5017 2000-11-20 Martin Buchholz <martin@xemacs.org>
5019 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
5021 2000-11-20 Martin Buchholz <martin@xemacs.org>
5023 * casetab.c (Fcase_table_p): Fix compile error and crash.
5025 2000-11-18 Philip Aston <philipa@mail.com>
5027 * s/cygwin32.h: Cygwin has SVR4-like pty support.
5029 2000-11-18 Martin Buchholz <martin@xemacs.org>
5031 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
5032 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
5034 2000-11-17 Martin Buchholz <martin@xemacs.org>
5036 * config.h.in: Define HAVE_ELF_H if elf.h exists.
5037 * unexelf.c: Use HAVE_ELF_H.
5038 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
5039 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
5040 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
5041 Greg Harrington <greg_harrington@hotmail.com> provided a machine
5043 So this is an unexelfsgi.c from a different line of development.
5045 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5047 * regex.c (RE_TR_ASCII): New function.
5048 (RE_TRANSLATE): Call it.
5050 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5052 * buffer.h (TRT_TABLE_OF): Remove assert.
5053 (IN_TRT_TABLE_DOMAIN): Removed.
5055 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
5057 * free-hook.c (log_gcpro):
5058 (show_gcprohist): Add support for GCPRO5.
5060 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
5062 * emacs.c (main_1): Improve -sd error message when --pdump=no.
5064 2000-11-16 Olivier Galibert <galibert@xemacs.org>
5066 * symeval.h: Declare flush_all_buffer_local_cache.
5068 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
5069 (flush_buffer_local_cache): Added.
5070 (flush_all_buffer_local_cache): Added.
5072 * lrecord.h: Remove unused XD_LO_RESET_NIL.
5074 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
5075 (pdump_dump_data): Ditto.
5076 (pdump_reloc_one): Ditto.
5077 (pdump): Remove unused pdump_qnil. Flush buffer local caches
5081 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5083 * buffer.c: Remove if 0'ed entry.
5084 * buffer.h: Rewrite TRT to use char-table.
5085 * bufslots.h: Remove mirror tables.
5086 * casetab.c: Remove mirror tables.
5087 (CASE_TABLE_P): New macro.
5088 (Fcase_table_p): Element of a case table is string or char-table.
5089 (make_mirror_trt_table): Removed.
5090 (set_case_table): Setup char-table from strings for backward
5092 * dired.c (Fdirectory_files):
5093 * dired-msw.c: (mswindows_get_files):
5094 * lisp.h: Change prototype of re_pattern_buffer.
5095 * regex.c: (RE_TRANSLATE): New macro.
5096 (TRANSLATE_P): Ditto.
5097 Change translate to type RE_TRANSLATE_TYPE.
5098 * regex.h: Define RE_TRANSLATE_TYPE
5099 * search.c (TRANSLATE): New macro.
5100 (TRANSLATE_ASCII): New macro.
5101 Translate table is changed to Lisp_Object.
5102 (signal_failure): Inhibit return.
5104 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5111 Do UNGCPRO before return.
5113 2000-11-14 Martin Buchholz <martin@xemacs.org>
5115 * XEmacs 21.2.37 is released.
5117 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5119 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5120 Add comments about discarded return value.
5122 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5125 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5127 2000-10-27 Andy Piper <andy@xemacs.org>
5129 * gutter.c (Fset_default_gutter_position): default left and right
5131 (calculate_gutter_size): calculate resonable heuristic for left
5132 and right gutter sizes.
5133 (specifier_vars_of_gutter): change left and right gutter sizes to
5135 (calculate_gutter_size_from_display_lines): new function.
5136 (output_gutter): check for resizing on left and right gutters.
5137 (clear_gutter): don't special case top and left gutters.
5138 (specifier_vars_of_gutter): use new signature for
5139 set_specifier_caching.
5141 * glyphs-x.c (x_redisplay_widget): spelling fix.
5142 * glyphs.c (specifier_vars_of_glyphs):
5143 * menubar.c (specifier_vars_of_menubar):
5144 * redisplay.c (specifier_vars_of_redisplay):
5145 * toolbar.c (specifier_vars_of_toolbar):
5146 * window.c (specifier_vars_of_window):
5147 * scrollbar.c (specifier_vars_of_scrollbar):
5148 (complex_vars_of_scrollbar): use new signature for
5149 set_specifier_caching.
5151 * specifier.c (set_specifier_caching): include recompute flag.
5152 (recompute_one_cached_specifier_in_window): always recompute if
5154 (recompute_one_cached_specifier_in_frame): ditto.
5156 * specifier.h (struct specifier_caching): add recompute flag.
5158 2000-10-24 Andy Piper <andy@xemacs.org>
5160 * unexcw.c (copy_executable_and_dump_data_section): add new
5161 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5164 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5166 * console-x.h (x_device): New member modifier_release_time.
5167 * event-Xt.c (x_handle_sticky_modifiers):
5168 Bound interval modifier keys are sticky.
5169 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5170 * events.h: extern it.
5172 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5174 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5176 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5178 * event-stream.c (execute_command_event): Preserve current_events
5179 and the like when event is misc-user-event.
5180 Inhibit quit during the call to maybe_echo_keys.
5182 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5184 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5185 symlink when buffer is killed.
5186 (inhibit_clash_detection): New variable.
5188 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5190 * console.c (Fset_input_method): Trigger redisplay on tty.
5192 2000-11-07 Martin Buchholz <martin@xemacs.org>
5194 * process.c (Fprocess_status): Revert to previous behavior:
5195 (process-status "nosuchprocess") ==> nil
5197 2000-11-06 Martin Buchholz <martin@xemacs.org>
5199 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5200 Work around another GCC 2.95.2 optimizer bug.
5202 2000-11-02 Martin Buchholz <martin@xemacs.org>
5204 * process.c (Fget_process): Use LIST_LOOP_2.
5205 (kill_buffer_processes): Use LIST_LOOP_2.
5207 * minibuf.c (Fall_completions):
5208 Delete old non-functional code for FSF fourth argument.
5210 * frame.c (frame_matches_frame_spec):
5211 Renamed from `frame_matches_frametype'. Update all callers.
5212 (device_matches_device_spec):
5213 Renamed from 'device_matches_console_spec'. Update all callers.
5215 * doc.c (Fsubstitute_command_keys):
5216 Remove buffer overflow crash. Small code cleanups.
5218 * casetab.c (check_case_table): Simpler code.
5220 * window.c (Freplace_buffer_in_windows):
5221 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5222 (and similar implementation) as Fdelete_windows_on.
5225 * alloc.c (Fmake_list):
5226 * alloc.c (make_vector):
5227 * alloc.c (Fmake_vector):
5228 * alloc.c (make_bit_vector):
5229 * alloc.c (Fmake_bit_vector):
5230 * alloc.c (Fbit_vector):
5231 * alloc.c (Fmake_string):
5232 * alloc.c (Fpurecopy):
5233 * alloc.c (Fmemory_limit):
5235 * buffer.c (Fget_buffer):
5236 * buffer.c (Fkill_buffer):
5237 * buffer.c (complex_vars_of_buffer):
5238 * bytecode.c (Fcompiled_function_stack_depth):
5239 * callint.c (Fprefix_numeric_value):
5241 * event-stream.c (Fread_key_sequence):
5243 * casetab.c (Fcase_table_p):
5244 * casetab.c (check_case_table):
5245 * casetab.c (Fset_case_table):
5246 * casetab.c (Fset_standard_case_table):
5248 * chartab.c (Fchar_table_type):
5249 * chartab.c (Freset_char_table):
5250 * chartab.c (Fget_char_table):
5251 * chartab.c (Fget_range_char_table):
5252 * chartab.c (Fput_char_table):
5253 * chartab.c (Fmap_char_table):
5254 * chartab.c (Fcategory_table_p):
5255 * chartab.c (Fcheck_category_at):
5256 * chartab.c (Fchar_in_category_p):
5257 * chartab.c (Fcategory_table):
5258 * chartab.c (Fcopy_category_table):
5259 * chartab.c (Fset_category_table):
5260 * chartab.c (Fcategory_designator_p):
5261 * chartab.c (Fcategory_table_value_p):
5262 * cmds.c (Fdelete_char):
5263 * cmds.c (Fdelete_backward_char):
5264 * cmds.c (Fself_insert_command):
5265 * cmds.c (Fself_insert_internal):
5266 * console.c (Fvalid_console_type_p):
5267 * console.c (Fcdfw_console):
5268 * console.c (Fconsole_type):
5269 * console.c (Fconsole_name):
5270 * console.c (Fconsole_device_list):
5271 * console.c (Fconsole_on_window_system_p):
5275 * data.c (Fsubr_interactive):
5276 * data.c (Fchar_to_int):
5277 * data.c (Fint_to_char):
5280 * data.c (Fnumber_to_string):
5281 * data.c (Fstring_to_number):
5283 * database.c (mark_database):
5284 * database.c (finalize_database):
5285 * database.c (Fdatabase_live_p):
5286 * database.c (Fdatabasep):
5287 * device-x.c (Fx_get_resource):
5288 * device.c (Fdfw_device):
5290 * dired.c (Ffile_name_completion):
5291 * dired.c (Ffile_name_all_completions):
5292 * dired.c (Fuser_name_completion):
5293 * dired.c (Fuser_name_completion_1):
5294 * dired.c (Fuser_name_all_completions):
5295 * doc.c (Fdocumentation):
5296 * doc.c (Fdocumentation_property):
5297 * doc.c (Fsubstitute_command_keys):
5299 * editfns.c (Fchar_to_string):
5300 * editfns.c (Fstring_to_char):
5301 * editfns.c (Ftemp_directory):
5302 * editfns.c (Finsert_char):
5303 * editfns.c (Fbuffer_substring_no_properties):
5304 * editfns.c (Fnarrow_to_region):
5305 * editfns.c (Fchar_equal):
5306 * editfns.c (Fchar_Equal):
5307 * editfns.c (Ftranspose_regions):
5308 * emacs.c (Fdump_emacs):
5310 * eval.c (Fcommand_execute):
5311 * eval.c (Fautoload):
5312 * eval.c (Fbacktrace):
5313 * eval.c (Fbacktrace_frame):
5315 * events.c (Fcopy_event):
5316 * events.c (Fcharacter_to_event):
5317 * events.c (Fevent_button):
5318 * events.c (Fevent_process):
5320 * extents.c (Fnext_extent_change):
5321 * extents.c (Fextent_property):
5323 * faces.c (Fmake_face):
5325 * file-coding.c (Fencode_shift_jis_char):
5326 * file-coding.c (Fencode_big5_char):
5327 * fileio.c (Ffile_name_directory):
5328 * fileio.c (Ffile_name_nondirectory):
5329 * fileio.c (Ffile_name_as_directory):
5330 * fileio.c (Fdirectory_file_name):
5331 * fileio.c (Ffile_truename):
5332 * fileio.c (Fsubstitute_in_file_name):
5333 * fileio.c (Ffile_modes):
5334 * fileio.c (Fset_file_modes):
5335 * fileio.c (Fset_default_file_modes):
5336 * fileio.c (Fverify_visited_file_modtime):
5337 * floatfns.c (Facos):
5338 * floatfns.c (Fasin):
5339 * floatfns.c (Fatan):
5340 * floatfns.c (Fcos):
5341 * floatfns.c (Fsin):
5342 * floatfns.c (Ftan):
5343 * floatfns.c (Fbessel_j0):
5344 * floatfns.c (Fbessel_j1):
5345 * floatfns.c (Fbessel_jn):
5346 * floatfns.c (Fbessel_y0):
5347 * floatfns.c (Fbessel_y1):
5348 * floatfns.c (Fbessel_yn):
5349 * floatfns.c (Ferf):
5350 * floatfns.c (Ferfc):
5351 * floatfns.c (Flog_gamma):
5352 * floatfns.c (Fexp):
5353 * floatfns.c (Fexpt):
5354 * floatfns.c (Flog):
5355 * floatfns.c (Flog10):
5356 * floatfns.c (Fsqrt):
5357 * floatfns.c (Fcube_root):
5358 * floatfns.c (Facosh):
5359 * floatfns.c (Fasinh):
5360 * floatfns.c (Fatanh):
5361 * floatfns.c (Fcosh):
5362 * floatfns.c (Fsinh):
5363 * floatfns.c (Ftanh):
5364 * floatfns.c (Fabs):
5365 * floatfns.c (Ffloat):
5366 * floatfns.c (Flogb):
5367 * floatfns.c (Fceiling):
5368 * floatfns.c (Ffloor):
5369 * floatfns.c (Fround):
5370 * floatfns.c (Ftruncate):
5371 * floatfns.c (Ffceiling):
5372 * floatfns.c (Fffloor):
5373 * floatfns.c (Ffround):
5374 * floatfns.c (Fftruncate):
5375 * fns.c (Fstring_equal):
5376 * fns.c (Fstring_lessp):
5381 * fns.c (Fsubstring):
5383 * fns.c (Fold_assoc):
5384 * fns.c (assoc_no_quit):
5386 * fns.c (Fold_assq):
5387 * fns.c (assq_no_quit):
5389 * fns.c (Fold_rassoc):
5391 * fns.c (Fold_rassq):
5392 * fns.c (rassq_no_quit):
5393 * fns.c (Fremassoc):
5394 * fns.c (remassoc_no_quit):
5396 * fns.c (remassq_no_quit):
5397 * fns.c (Fremrassoc):
5398 * fns.c (Fremrassq):
5399 * fns.c (remrassq_no_quit):
5401 * fns.c (Fplist_get):
5402 * fns.c (Fplist_put):
5403 * fns.c (Fplist_remprop):
5404 * fns.c (Fplist_member):
5405 * fns.c (Flax_plist_get):
5406 * fns.c (Flax_plist_put):
5407 * fns.c (Flax_plist_remprop):
5408 * fns.c (Flax_plist_member):
5410 * fns.c (Fold_equal):
5412 * fns.c (Fbase64_encode_region):
5413 * fns.c (Fbase64_encode_string):
5414 * fns.c (Fbase64_decode_region):
5416 * frame.c (frame_matches_frame_spec):
5417 * frame.c (device_matches_device_spec):
5418 * frame.c (next_frame):
5419 * frame.c (previous_frame):
5420 * frame.c (Fnext_frame):
5421 * frame.c (Fprevious_frame):
5422 * frame.c (Fframe_property):
5423 * frame.c (Fset_frame_height):
5424 * frame.c (Fset_frame_size):
5428 * glyphs.c (decode_error_behavior_flag):
5429 * glyphs.c (Fmake_image_instance):
5430 * indent.c (Findent_to):
5431 * intl.c (Fignore_defer_gettext):
5432 * keymap.c (Fkeymapp):
5433 * keymap.c (Flookup_key):
5435 * lread.c (Fload_internal):
5436 * lread.c (Feval_buffer):
5437 * lread.c (Feval_region):
5438 * macros.c (Fexecute_kbd_macro):
5439 * marker.c (set_marker_internal):
5440 * marker.c (Fset_marker):
5441 * marker.c (set_marker_restricted):
5442 * marker.c (Fcopy_marker):
5443 * marker.c (noseeum_copy_marker):
5445 * menubar.c (Fpopup_menu):
5447 * mule-charset.c (Fcharset_name):
5448 * mule-charset.c (Fchar_charset):
5449 * mule-charset.c (Fchar_octet):
5450 * mule-charset.c (Fsplit_char):
5451 * mule-wnnfns.c (Fwnn_open):
5452 * mule-wnnfns.c (Fwnn_dict_comment):
5453 * mule-wnnfns.c (Fwnn_quit_henkan):
5454 * mule-wnnfns.c (Fwnn_word_toroku):
5455 * mule-wnnfns.c (Fwnn_word_sakujo):
5456 * mule-wnnfns.c (Fwnn_word_use):
5457 * mule-wnnfns.c (Fwnn_hindo_set):
5459 * objects.c (Fmake_color_instance):
5460 * objects.c (Fmake_font_instance):
5461 * print.c (Fwrite_char):
5463 * process.c (mark_process):
5464 * process.c (print_process):
5465 * process.c (get_process_from_usid):
5466 * process.c (Fprocessp):
5467 * process.c (Fprocess_live_p):
5468 * process.c (Fget_process):
5469 * process.c (Fget_buffer_process):
5470 * process.c (get_process):
5471 * process.c (Fprocess_id):
5472 * process.c (Fprocess_name):
5473 * process.c (Fprocess_command):
5474 * process.c (init_process_io_handles):
5475 * process.c (start_process_unwind):
5476 * process.c (Fstart_process_internal):
5477 * process.c (Fopen_multicast_group_internal):
5478 * process.c (Fset_process_window_size):
5479 * process.c (read_process_output):
5480 * process.c (send_process):
5481 * process.c (Fprocess_tty_name):
5482 * process.c (Fset_process_buffer):
5483 * process.c (Fprocess_buffer):
5484 * process.c (Fprocess_mark):
5485 * process.c (set_process_filter):
5486 * process.c (Fset_process_filter):
5487 * process.c (Fprocess_filter):
5488 * process.c (Fprocess_send_region):
5489 * process.c (Fprocess_send_string):
5490 * process.c (exec_sentinel):
5491 * process.c (Fset_process_sentinel):
5492 * process.c (Fprocess_sentinel):
5493 * process.c (status_notify):
5494 * process.c (Fprocess_status):
5495 * process.c (Fprocess_exit_status):
5496 * process.c (process_send_signal):
5497 * process.c (Fprocess_send_eof):
5498 * process.c (deactivate_process):
5499 * process.c (remove_process):
5500 * process.c (Fdelete_process):
5501 * process.c (kill_buffer_processes):
5502 * process.c (Fprocess_kill_without_query):
5503 * process.c (Fprocess_kill_without_query_p):
5505 * rangetab.c (Fget_range_table):
5506 * rangetab.c (Fput_range_table):
5507 * rangetab.c (Fremove_range_table):
5508 * rangetab.c (Fclear_range_table):
5510 * search.c (Fskip_chars_forward):
5511 * search.c (Fskip_chars_backward):
5512 * search.c (Fskip_syntax_forward):
5513 * search.c (Fskip_syntax_backward):
5514 * search.c (search_command):
5515 * search.c (Freplace_match):
5516 * search.c (Fregexp_quote):
5517 * select.c (Fown_selection_internal):
5518 * select.c (Fselection_owner_p):
5519 * select.c (Fselection_exists_p):
5520 * select.c (Fget_selection_internal):
5523 * symbols.c (Fintern):
5524 * symbols.c (Fintern_soft):
5525 * symbols.c (Funintern):
5526 * symbols.c (Fapropos_internal):
5527 * symbols.c (Fset_default):
5529 * syntax.c (Fsyntax_table_p):
5530 * syntax.c (Fcopy_syntax_table):
5531 * syntax.c (Fset_syntax_table):
5532 * syntax.c (Fchar_syntax):
5533 * syntax.c (syntax_match):
5534 * syntax.c (Fmatching_paren):
5535 * syntax.c (Fforward_word):
5536 * syntax.c (scan_lists):
5537 * syntax.c (Fscan_lists):
5538 * syntax.c (Fscan_sexps):
5539 * syntax.c (Fparse_partial_sexp):
5540 * toolbar.c (Fcheck_toolbar_button_syntax):
5543 * window.c (Fwindowp):
5544 * window.c (Fwindow_live_p):
5545 * window.c (Fwindow_point):
5546 * window.c (Fdelete_window):
5547 * window.c (Fnext_window):
5548 * window.c (Fprevious_window):
5549 * window.c (Fother_window):
5550 * window.c (window_loop):
5551 * window.c (Fget_lru_window):
5552 * window.c (Fsplit_window):
5553 * window.c (Fenlarge_window):
5554 * window.c (Fenlarge_window_pixels):
5555 * window.c (Fshrink_window):
5556 * window.c (Fshrink_window_pixels):
5557 * window.c (change_window_height):
5558 * window.c (Fwindow_configuration_p):
5559 * window.c (Fcurrent_window_configuration):
5561 * casefiddle.c (casify_object):
5562 * casefiddle.c (Fupcase):
5563 * casefiddle.c (Fdowncase):
5564 * casefiddle.c (Fcapitalize):
5565 * casefiddle.c (Fupcase_initials):
5566 * casefiddle.c (casify_region_internal):
5567 * casefiddle.c (casify_region):
5568 * casefiddle.c (Fupcase_region):
5569 * casefiddle.c (Fdowncase_region):
5570 * casefiddle.c (Fcapitalize_region):
5571 * casefiddle.c (Fupcase_initials_region):
5572 * casefiddle.c (Fupcase_word):
5573 * casefiddle.c (Fdowncase_word):
5574 * casefiddle.c (Fcapitalize_word):
5575 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5576 Replace 0 with '\0' when working with bytes.
5577 Replace initial "(" with "\(" in docstrings.
5579 2000-11-01 Martin Buchholz <martin@xemacs.org>
5581 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5583 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5585 2000-10-31 Martin Buchholz <martin@xemacs.org>
5587 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5589 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5591 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5594 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5596 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5597 (inhibit_auto_save_session): New variable.
5598 (vars_of_fileio): Declare and initialize them.
5599 * fileio.c (Fdo_auto_save): Don't create session file if
5600 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5602 2000-10-31 Martin Buchholz <martin@xemacs.org>
5604 * sgiplay.c (play_internal): C++ compilability.
5605 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5606 * callproc.c (Fold_call_process_internal):
5607 Remove unused vars `env', `first'.
5608 * scrollbar.c (update_scrollbar_instance):
5609 #### unused var `current_window'.
5610 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5611 etc. within #ifdef NOT_YET.
5612 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5613 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5614 * specifier.c (specifier_instance):
5615 #### unused var `tag'.
5616 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5618 2000-10-27 Martin Buchholz <martin@xemacs.org>
5621 * fns.c (list_sort):
5622 * fns.c (Ffillarray):
5623 * fns.c (bytecode_nconc2):
5626 * fns.c (Fmapconcat):
5627 Be pedantically 64-bit correct. For the time when someone will
5628 want to have a list with length > 2**32.
5630 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5631 Work around MIPSpro compiler bug.
5633 * process-unix.c (unix_kill_child_process): Add snarky comment.
5634 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5636 * config.h.in: Oops, _getpt ==> _getpty
5638 2000-10-26 Martin Buchholz <martin@xemacs.org>
5642 Use void*, not char*, as return type of alloca().
5644 * alloc.c (free_marker): Side effect inside assert expression!
5646 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5648 * mule-charset.c (Fset_charset_ccl_program): To check
5649 if the given ccl program is valid, use setup_ccl_program()
5650 instead of CHECK_VECTOR().
5651 (Fmake_charset): Likewise.
5653 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5655 * faces.c (get_extent_fragment_face_cache_index):
5656 Fix cachel.merged_faces memory leak.
5658 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5660 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5661 Reset MSB of octets obtained by DECODE_SJIS
5662 because of the incompatibility with Emacs.
5663 (ccl_driver)<CCL_ENCODE_SJIS>:
5664 Set MSB of octets before passing them to
5665 ENCODE_SJIS because of the incompatibility
5668 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5670 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5671 (DECLARE_LRECORD): Undo the last change.
5672 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5674 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5676 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5677 the implementation to lrecord_implementations_table.
5679 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5681 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5682 initial value of `lrecord_type_##c_name' and
5683 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
5684 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
5685 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
5686 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
5687 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
5689 2000-10-17 Martin Buchholz <martin@xemacs.org>
5691 * miscplay.c (sndcnv8S_2mono):
5692 (sndcnv2monounsigned):
5693 (sndcnvULaw_2linear):
5695 Remove implementation-defined behavior.
5697 2000-10-12 Martin Buchholz <martin@xemacs.org>
5699 * input-method-xlib.c: Warning suppression.
5701 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
5703 * mule-ccl.c: Sync up with Emacs 21.0.90.
5704 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
5706 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
5708 (ccl_driver[WriteMultibyteChar2]): Bug fix.
5709 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
5710 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
5711 leading char belongs to official 2-dimensional charset.
5712 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
5713 write the given character as is. Otherwise,
5714 if it is a multibyte char, convert it by
5715 non_ascii_set_charptr_emchar, then write it.
5716 (CCL_WRITE_STRING): Likewise.
5717 (ccl_get_compiled_code): New function.
5718 (setup_ccl_program): When ccl_prog is invalid,
5720 (Fregister_code_conversion_map): New function.
5721 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
5723 * mule-ccl.h: Sync up with Emacs 21.0.90.
5724 (Fregister_ccl_program): export it.
5726 * redisplay-msw.c (separate_textual_runs):
5727 If ccl program is not valid, don't do ccl conversion.
5729 * redisplay-x.c (separate_textual_runs): Ditto.
5731 * file-coding.c (Fmake_coding_system):
5732 When type is ccl and value is vector, register it
5733 with a proper symbol. And checks whether the
5734 given ccl program is valid.
5735 (mule_decode): When calling ccl_driver, if src indicates
5736 NULL pointer, set an empty string instead.
5737 (mule_encode): Likewise.
5739 2000-10-11 Martin Buchholz <martin@xemacs.org>
5741 The following large batch of changes gets us back to a state of
5742 C++ compilability. Extbyte is now a char, which means that
5743 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
5745 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
5747 * sound.c (Fplay_sound): Type correctness.
5749 * select-x.c (hack_motif_clipboard_selection): Type correctness.
5750 (x_get_window_property): Type correctness.
5751 (receive_incremental_selection): unsigned char ==> Extbyte
5752 (selection_data_to_lisp_data): unsigned char ==> Extbyte
5753 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
5754 (Fx_store_cutbuffer_internal): Type correctness.
5756 * process-unix.c (try_to_initialize_subtty): Type correctness.
5758 * objects-x.c (x_print_color_instance): Type correctness.
5759 (x_print_font_instance): Type correctness.
5760 (x_list_fonts): SExtbyte ==> Extbyte.
5761 (valid_x_font_name_p): SExtbyte ==> Extbyte.
5762 (x_find_charset_font): SExtbyte ==> Extbyte.
5763 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
5764 (truename_via_XListFonts): SExtbyte ==> Extbyte.
5765 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
5768 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
5769 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
5770 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
5771 (BYTE_C0_P): Use bit ops for char-signedness safety.
5772 (BYTE_C1_P): Use bit ops for char-signedness safety.
5773 (CHARSET_BY_LEADING_BYTE):
5774 (CHARSET_BY_ATTRIBUTES):
5775 Always use inline function.
5776 Use type_checking_assert.
5779 * mule-charset.c (non_ascii_charptr_copy_char):
5780 Modify to work with both ASCII and non-ASCII characters.
5781 Improve docs and variable names.
5782 Replace over-clever fall-through switch with a simple loop.
5783 (Lstream_get_emchar_1):
5784 Replace over-clever fall-through switch with a simple loop.
5786 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5787 Warning suppression.
5789 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
5790 the return value of Lstream_getc, which could be EOF as well.
5792 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
5794 * lisp.h: Make Extbyte a char, not unsigned char, so that external
5795 APIs can be used on Extbytes without casts. Risky!
5799 * input-method-xlib.c (XIM_init_device):
5800 Use Xlib.h instead of IntrinsicP.h.
5801 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
5802 which will break in X11R7.
5803 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
5804 to call XRegisterIMInstantiateCallback with correct types.
5806 * gui-x.c (button_item_to_widget_value): Type correctness.
5808 * glyphs.c (bitmap_to_lisp_data): Type correctness.
5810 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
5811 (xbm_instantiate_1): Type correctness.
5812 (BUILD_GLYPH_INST): Type correctness.
5814 * fileio.c (Fsubstitute_in_file_name): Type correctness.
5817 (decode_coding_sjis):
5818 (decode_coding_big5):
5819 (decode_coding_ucs4):
5820 (decode_coding_utf8):
5821 (decode_coding_iso2022):
5822 (decode_coding_no_conversion):
5823 Make all decoding functions take an Extbyte * arg.
5824 (encode_coding_sjis):
5825 (encode_coding_big5):
5826 (encode_coding_ucs4):
5827 (encode_coding_utf8):
5828 (encode_coding_iso2022):
5829 (encode_coding_no_conversion):
5830 Make all encoding functions take a Bufbyte * arg.
5831 Use size_t instead of unsigned int for memory sizes.
5832 Only cast to unsigned char whenever dereferencing Extbyte *.
5834 * doc.c (unparesseuxify_doc_string): Type correctness.
5836 * console-x.c (split_up_display_spec):
5837 Rewrite without using details of internal string representation.
5838 (x_semi_canonicalize_device_connection): Type correctness.
5841 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
5842 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
5843 (HAVE_XFREE386): Removed.
5845 * buffer.h (DEC_CHARPTR): `const' correctness.
5846 (bufbyte_strcmp): New.
5847 (bufbyte_memcmp): New.
5849 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
5851 * buffer.h (XCHAR_OR_CHAR_INT):
5852 Always use inline function.
5853 Remove redundant type checking assert() - XINT will abort quite nicely.
5855 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
5857 * search.c (Freplace_match): Set newtext to an empty string.
5859 2000-10-10 Martin Buchholz <martin@xemacs.org>
5861 * s/decosf1-3.h: Remove #include of stropts.h
5862 * s/ptx.h: Remove #include of stropts.h
5863 * s/usg5-4.h: Remove #include of stropts.h
5866 Use stropts.h, not sys/stropts.h.
5867 Use strtio.h, not sys/strtio.h.
5869 2000-10-04 Martin Buchholz <martin@xemacs.org>
5871 * XEmacs 21.2.36 is released.
5873 2000-09-21 Andy Piper <andy@xemacs.org>
5875 * glyphs-x.c (x_redisplay_widget): make sure non-structural
5876 changes still involve copying the widget tree.
5877 (update_widget_face): make sure a change is register in the widget
5878 tree. Call update_tab_widget_face appropriately.
5879 (update_tab_widget_face): ditto.
5880 (x_tab_control_redisplay): make sure non-structural changes still
5881 involve copying the widget tree.
5883 2000-08-31 Daiki Ueno <ueno@unixuser.org>
5885 * lread.c (locate_file): Check the path element is non-nil.
5887 2000-10-02 Martin Buchholz <martin@xemacs.org>
5889 * lisp.h: Warning suppression for SCO compilers.
5891 * redisplay-tty.c (reset_tty_modes): Fix crash.
5892 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
5894 2000-09-27 Martin Buchholz <martin@xemacs.org>
5896 Big signal/process handling overhaul. Bugs fixed:
5897 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
5898 M-x comint-kill-subjob should work for both values nil and t of
5899 process-connection-type. It was broken on most platforms.
5900 Testing on Irix and Cygwin still needed. Other plaforms tested.
5901 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
5902 * process-unix.c: Signal/Process handling overhaul.
5903 (pty_name): make 64 bytes, as `expect' does, for paranoia.
5904 (allocate_pty): Use all available modern methods of allocating
5905 ptys, falling back to old style BSD allocation as a last resort.
5906 Use allegedly more secure Unix98 pty allocation by default.
5907 (allocate_pty_the_old_fashioned_way): New. the last resort.
5908 (unix_create_process): Push ptem, ldterm, ttcompat where
5909 available. Autoconfiscate.
5910 (try_to_initialize_subtty): New.
5911 (unix_kill_child_process): Proper signal handling for ptys on most
5912 platforms, using special knowledge of AIX, BSD, etc...
5913 (unix_create_process): Always disconnect_controlling_terminal() for
5914 subprocesses, whether using ptys or not.
5915 * process.h: Remove old getpt-dependent PTY code.
5916 * process.c (Fprocess_send_signal): New, obvious generic function.
5917 (decode_signal): New.
5918 (Finterrupt_process):
5922 (Fcontinue_process):
5923 (Fsignal_process): Use decode_signal.
5924 (process_send_signal):
5925 Many docstring corrections.
5926 Allow any signal to be sent to a process object.
5927 * config.h.in: Add symbols for big signal/process overhaul.
5928 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
5929 * sysproc.h: Include process-related headers, where available:
5930 sys/stropts.h sys/strtio.h pty.h libutil.h
5938 Remove old S&M pty stuff.
5939 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
5940 * systty.h: Simplify cpp hackery, improve comments.
5941 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
5943 * editfns.c (Fformat_time_string):
5944 Be a little more paranoid with the return value of ctime.
5946 * fileio.c (check_executable):
5948 Use symbolic constants X_OK, W_OK.
5950 * console-x.c (split_up_display_spec): Fix a warning.
5952 2000-10-02 Martin Buchholz <martin@xemacs.org>
5954 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
5955 * ntproc.c (sys_spawnve): make_string ==> build_string
5956 Small clarity improvements.
5958 2000-09-30 Martin Buchholz <martin@xemacs.org>
5960 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
5962 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
5964 * config.h.in (HAVE_STRCASECMP): Remove.
5966 2000-09-29 Martin Buchholz <martin@xemacs.org>
5968 * redisplay-output.c (redisplay_output_pixmap):
5969 Cleaner and possibly more 64-bit correct code.
5971 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5973 * dumper.c (pdump_load_finish): move restoration of
5974 `noninteractive1' to emacs.c (main_1).
5975 * emacs.c (main_1): protect LISP-visible command-line flags
5978 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
5980 * Makefile.in.in (versionclean): Use EXE_TARGET and
5981 DUMP_TARGET instead of literal program names.
5983 2000-09-20 Martin Buchholz <martin@xemacs.org>
5985 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
5987 2000-09-19 Martin Buchholz <martin@xemacs.org>
5989 * *: Spelling mega-patch
5991 2000-09-19 Martin Buchholz <martin@xemacs.org>
5993 * fns.c (bad_bad_turtle):
5994 Delete "Eek!" comment, since we fixed the bug to which it refers.
5996 2000-09-16 Martin Buchholz <martin@xemacs.org>
5998 * alloca.c: Replace REGISTER with register.
6000 2000-09-16 Daiki Ueno <ueno@unixuser.org>
6002 * file-coding.c (ucs_to_char): Use countof.
6004 2000-09-16 Martin Buchholz <martin@xemacs.org>
6006 * file-coding.c: (ucs_to_char):
6007 (complex_vars_of_file_coding):
6008 Use countof instead of sizeof.
6009 Use CHECK_NATNUM instead of CHECK_INT.
6011 * sysdep.c (strcasecmp): Remove.
6012 * device-x.c (ascii_strcasecmp): New.
6013 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
6014 Avoid using non-standard non-portable strcasecmp.
6016 2000-09-16 Martin Buchholz <martin@xemacs.org>
6018 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
6019 * font-lock.c: remove reference to emacsfns.h.
6020 * search.c: small doc improvement.
6021 * event-Xt.c: correct file names in comments.
6022 * console-x.h Correct file names in comments.
6023 * frame.c: Correct file names in comments.
6024 * event-stream.c: remove Energize from comments.
6026 2000-09-15 Martin Buchholz <martin@xemacs.org>
6028 * symeval.h (DEFERROR_STANDARD):
6031 (DEFSYMBOL_NO_DUMP):
6032 (DEFSYMBOL_MULTIWORD_PREDICATE):
6033 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
6035 The construct &##name is not sensible C.
6036 Fixes compilation errors with Unixware native compiler.
6038 2000-09-14 Martin Buchholz <martin@xemacs.org>
6040 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
6041 (next_frame_internal): Removed. We now just have next_frame.
6043 Write a simpler and cleaner one-pass algorithm.
6044 Remove called_from_delete_device arg and #ifdefed-out code.
6046 Renamed from prev_frame. Update callers.
6047 Cleaned up to have an analogous implementation to next_frame.
6048 (other_visible_frames_internal): Remove the
6049 called_from_delete_device bogus arg, and hence, remove this
6050 function. Just use other_visible_frames().
6052 * window.c (Fnext_window):
6054 Since next_frame() is guaranteed to return a frame, remove check
6055 for nil inserted in previous patch.
6058 Make code look more like Fnext_window.
6060 Respect the `console' arg when iterating through windows.
6061 Fixes bug: (get-buffer-window buffer t device) not respecting
6063 This function needs more work, as others have pointed out.
6065 * frame.h: Rename prev_frame to previous_frame.
6066 device_matches_console_spec no longer takes a `frame' arg.
6071 Use EMACS_BLOCK_SIGNAL instead of sigblock.
6072 From "Golubev I. N." <gin@mo.msk.ru>.
6074 * make-src-depend: Fix typo.
6076 2000-09-13 Martin Buchholz <martin@xemacs.org>
6078 * window.c (Fnext_window):
6079 next_frame() might return nil, not a frame.
6081 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6083 * frame.c (next_frame_internal):
6084 We've passed a frame if we've passed its device.
6086 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6087 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
6089 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6091 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6092 Allow option to suppress accelerators in menu/dialog items.
6093 (populate_or_checksum_helper): Pass dialog title through above.
6095 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6097 * event-msw.c (mswindows_key_to_emacs_keysym):
6098 Add "pause" key, fix "menu" key.
6100 2000-09-09 Martin Buchholz <martin@xemacs.org>
6102 * eval.c (reinit_vars_of_eval):
6103 Increase max_lisp_eval_depth to 1000,
6104 required for thai-xtis.el to byte-compile under some circumstances.
6106 2000-09-04 Martin Buchholz <martin@xemacs.org>
6108 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6111 2000-09-01 Martin Buchholz <martin@xemacs.org>
6113 * make-src-depend: Make the generated Makefiles smaller.
6115 * s/hpux.h (SETUP_SLAVE_PTY):
6116 Provide a %d in the format string for the errno argument.
6118 * editfns.c (Ftemp_directory):
6120 Avoid buffer overrun on very long file name.
6122 * input-method-xlib.c (XIM_init_device):
6123 6th parameter of XRegisterIMInstantiateCallback has different
6124 pointer types on different OSes, so simply cast to (void *).
6126 * unexhp9k800.c: Warning fixes. Fiddly changes.
6128 * sysdll.c (dll_open):
6129 shl_load will hang hard if passed a NULL filename.
6130 Simply return NULL for compatibility with dlopen.
6131 * sysdll.c: Conform to XEmacs coding standards.
6133 * sysdep.c (get_pty_max_bytes):
6134 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6136 2000-08-31 Martin Buchholz <martin@xemacs.org>
6138 * tooltalk.c: Add #include <syssignal.h>
6140 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6142 * s/hpux.h: Don't use undefined function sigunblock().
6144 2000-08-31 Martin Buchholz <martin@xemacs.org>
6146 * config.h.in: Add HAVE_BALLOON_HELP.
6147 * emacs.c: Use HAVE_BALLOON_HELP.
6148 * Makefile.in.in (x_objs):
6149 Make Balloon Help conditional on finding shape.h.
6151 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6153 * syntax.c (regex_emacs_buffer_p): New variable.
6154 * syntax.h (regex_emacs_buffer_p): extern.
6155 * search.c (looking_at_1):
6157 (fast_string_match):
6158 (search_buffer): Set regex_emacs_buffer_p.
6159 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6160 when before_dot, at_dot, after_dot.
6162 2000-08-23 Andy Piper <andy@xemacs.org>
6164 * gui-x.c (popup_selection_callback): Only set action_occurred
6165 when we really have an image instance.
6166 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6168 2000-08-23 Andy Piper <andy@xemacs.org>
6170 * gui-msw.c (mswindows_handle_gui_wm_command): set
6172 * gui-x.c (popup_selection_callback): ditto.
6174 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6175 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6176 (struct Lisp_Image_Instance): add action_occurred flag.
6178 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6179 (image_instance_changed): ditto.
6180 (reset_frame_subwindow_instance_cache): only unmap windows - do
6181 not remove them from the cache also.
6183 * glyphs-widget.c (tab_control_update): better debug.
6184 (progress_gauge_update): ditto.
6185 (layout_update): ditto.
6186 (layout_instantiate): ditto.
6187 (tab_control_order_only_changed): cope with null pending items.
6189 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6190 debug. Force selection of an item when an action occurred. Cope
6191 with null pending_items.
6192 (mswindows_progress_gauge_redisplay): better debug.
6193 * glyphs-x.c (x_tab_control_redisplay): ditto.
6195 * redisplay.c (redisplay_frame): reset the frame cache if the
6198 * window.c (Fset_window_configuration): potentially re-enable
6200 (window_unmap_subwindows): need to finalize instances here since
6201 it is only used in mark_window_as_deleted.
6203 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6205 * nas.c (SndOpenDataForReading):
6206 nas.c (WaveOpenDataForReading):
6207 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6208 Somehow escaped from the 2000-08-14 patch.
6210 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6212 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6213 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6215 2000-08-21 Andy Piper <andy@xemacs.org>
6217 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6218 window if it is not already displayed.
6220 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6221 it is not already displayed.
6223 * window.c (Fset_window_configuration): don't reset the frame
6226 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6227 instances from the frame cache if we are actually finalizing them.
6228 (reset_frame_subwindow_instance_cache): reset frame cache only
6229 after unmapping everything.
6230 (map_subwindow): set displayed flag after mapping.
6232 2000-08-21 Martin Buchholz <martin@xemacs.org>
6234 * data.c (indirect_function):
6235 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6237 * eval.c (function_argcount):
6238 Use original function when signaling errors.
6240 2000-08-18 Andy Piper <andy@xemacs.org>
6242 * frame.c (delete_frame_internal): use new
6243 free_frame_subwindow_instances name.
6245 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6246 (add_tab_item): make return type correct.
6247 (mswindows_tab_control_instantiate): assert index of tab.
6248 (mswindows_tab_control_redisplay): Re-code to use
6249 gui_item_equal_sans_selected and gui_item_list_find_selected.
6251 * glyphs-widget.c (tab_control_update): Correct comment.
6253 * window.c (window_unmap_subwindows): use new
6254 unmap_subwindow_instance_cache_mapper.
6255 (window_unmap_subwindows_cache_mapper): deleted.
6256 (Fset_window_configuration): comparisons should now be with
6257 EQ. Preserve the subwindow instance cache across configuration
6259 (allocate_window): ditto.
6260 (make_dummy_parent): ditto.
6262 * glyphs.c (free_frame_subwindow_instances): rename from
6263 free_frame_subwindow_instance_cache. finalize all instances rather
6264 than just those in the display cache.
6265 (finalize_all_subwindow_instances): walk windows unmapping and
6266 finalizing subwindows.
6267 (unmap_subwindow_instance_cache_mapper): moved from
6268 window.c. Allow finalization as well as unmapping.
6270 * gui.c (gui_item_list_find_selected): new function.
6272 * gui.h (gui_item_list_find_selected): declare.
6274 * glyphs-x.c (x_tab_control_redisplay): pick tab
6275 explicitly. Re-code to use gui_item_equal_sans_selected and
6276 gui_item_list_find_selected.
6278 * glyphs-x.h: add lwlib-utils.h
6280 * buffer.c (Frecord_buffer): undo previous change.
6282 2000-08-09 Vin Shelton <acs@xemacs.org>
6284 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6285 possible. Create temporary files more securely. The patch was
6286 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6287 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6288 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6291 2000-08-07 Ben Wing <ben@xemacs.org>
6293 * getloadavg.c: remove duplicate (and windows-breaking)
6294 includes of fcntl.h and sys/file.h.
6296 * nt.c: remove duplicate getloadavg() definition.
6298 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6301 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6303 * eval.c (function_argcount): If function needs to be autoloaded
6304 actually use the loaded definition.
6307 2000-08-05 Ben Wing <ben@xemacs.org>
6309 * getloadavg.c: add prototype for getloadavg(). remove
6310 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6311 of the code). remove duplicate header includes.
6313 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6315 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6316 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6317 useful load average.
6319 * alloc.c (reinit_alloc_once_early): removed references to
6320 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6321 the lisp vars are the only things referencing the malloc_sbrk_*
6322 vars, and they were already if 0'd out. these vars only exist
6323 in the older malloc.c, which is basically unused, and they're
6324 only for informational purposes.
6326 * m\*.h: removed useless VIRT_ADDR_VARIES.
6328 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6330 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6332 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6333 color if the image is a mono pixmap.
6335 2000-07-30 Ben Wing <ben@xemacs.org>
6337 * Makefile.in.in (release):
6340 * buffer.c (directory_is_current_directory):
6341 * dired-msw.c (mswindows_get_files):
6343 * dired.c (Fdirectory_files):
6344 * dired.c (file_name_completion_stat):
6345 * dired.c (Ffile_attributes):
6346 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6347 preprocessor tricks, to avoid problems on some machines
6350 * callproc.c (egetenv): GC docs.
6353 * console-msw.h (struct mswindows_dialog_id):
6354 * lrecord.h (lrecord_type):
6355 New object for use with MSW dialogs.
6357 * console.h (struct console_methods):
6358 New enable/disable frame methods, for proper modal dialogs.
6360 * device-msw.c (msprinter_default_printer): Fix to follow
6361 proper Mule conventions.
6364 * device-msw.c (signal_open_printer_error):
6365 * device-msw.c (msprinter_init_device):
6366 * device-msw.c (ensure_not_printing):
6367 * device-msw.c (plist_get_margin):
6368 * device-msw.c (Fmsprinter_select_settings):
6369 * device-msw.c (finalize_devmode):
6370 * device-msw.c (Fmsprinter_settings_despecialize):
6371 * device-msw.c (signal_enum_priner_error):
6372 * extents.c (decode_extent):
6373 * extents.c (decode_map_extents_flags):
6374 * extents.c (decode_extent_at_flag):
6375 * extents.c (Fextent_at):
6376 * extents.c (Fextents_at):
6377 * extents.c (symbol_to_glyph_layout):
6378 [[[[2]]]] Use structured errors.
6381 * dialog-msw.c (mswindows_is_dialog_msg):
6382 * dialog-msw.c (mark_mswindows_dialog_id):
6383 * dialog-msw.c (dialog_proc):
6384 * dialog-msw.c (handle_question_dialog_box):
6385 * dialog-msw.c (syms_of_dialog_mswindows):
6386 Define new object to clean up marking; use it as a dialog identifier.
6387 Call new delete-dialog-box-hook.
6389 * dialog-x.c (dbox_selection_callback):
6390 * dialog-x.c (dbox_descriptor_to_widget_value):
6391 * dialog-x.c (x_make_dialog_box_internal):
6392 Call new delete-dialog-box-hook.
6396 * dialog.c (syms_of_dialog):
6397 * dialog.c (vars_of_dialog):
6398 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6401 * eval.c (signal_call_debugger):
6402 when noninteractive, output stack traces on the console instead
6403 of in a (never-seen) buffer.
6405 * eval.c (signal_type_error):
6406 * eval.c (invalid_argument_2):
6408 new funs for use w/structured errors.
6411 * event-Xt.c (x_to_emacs_keysym):
6412 * event-Xt.c (describe_event):
6413 * event-Xt.c (emacs_Xt_event_handler):
6414 * event-Xt.c (vars_of_event_Xt):
6416 * event-msw.c (mswindows_wnd_proc):
6417 * event-msw.c (vars_of_event_mswindows):
6418 rename {x,mswindows}-debug-events to debug-{}-events for
6419 consistency with other debug-foo variables.
6422 document next-event more clearly.
6424 * fileio.c (Ffile_name_directory):
6425 * fileio.c (Ffile_name_nondirectory):
6426 * fileio.c (Funhandled_file_name_directory):
6427 * fileio.c (file_name_as_directory):
6428 * fileio.c (Ffile_name_as_directory):
6429 * fileio.c (directory_file_name):
6430 * fileio.c (Fdirectory_file_name):
6431 * fileio.c (Fmake_temp_name):
6432 * fileio.c (Ffile_truename):
6433 * fileio.c (Fsubstitute_in_file_name):
6434 * fileio.c (expand_and_dir_to_file):
6435 * fileio.c (barf_or_query_if_file_exists):
6436 * fileio.c (check_executable):
6437 * fileio.c (Ffile_exists_p):
6438 * fileio.c (Ffile_writable_p):
6439 * fileio.c (Ffile_directory_p):
6440 * fileio.c (Ffile_regular_p):
6441 * fileio.c (Ffile_modes):
6442 * fileio.c (Ffile_newer_than_file_p):
6443 * fileio.c (Fverify_visited_file_modtime):
6444 * fileio.c (Fset_visited_file_modtime):
6445 * fileio.c (auto_save_1):
6450 * frame-msw.c (mswindows_init_frame_1):
6451 * frame-msw.c (mswindows_enable_frame):
6452 * frame-msw.c (error_frame_unsizable):
6453 * frame-msw.c (msprinter_init_frame_1):
6454 * frame-msw.c (msprinter_init_frame_3):
6455 * frame-msw.c (console_type_create_frame_mswindows):
6457 implement new enable/disable frame methods.
6460 * frame-x.c (x_enable_frame):
6461 * frame-x.c (console_type_create_frame_x):
6462 implement new enable/disable frame methods.
6465 * frame.c (Fdisable_frame):
6466 * frame.c (syms_of_frame):
6467 * frame.h (struct frame):
6468 implement new enable/disable frame methods/functions.
6473 * glyphs-msw.c (mswindows_widget_instantiate):
6474 comment that initial-focus should be implemented.
6477 * glyphs-widget.c (check_valid_instantiator):
6478 * glyphs-widget.c (check_valid_orientation):
6479 * glyphs-widget.c (check_valid_tab_orientation):
6480 * glyphs-widget.c (check_valid_justification):
6481 * glyphs-widget.c (check_valid_border):
6482 * glyphs-widget.c (check_valid_callback):
6483 * glyphs-widget.c (check_valid_int_or_function):
6484 * glyphs-widget.c (check_valid_string_or_vector):
6485 * glyphs-widget.c (check_valid_item_list_1):
6486 * glyphs-widget.c (widget_validate):
6487 * glyphs-widget.c (combo_box_validate):
6488 * glyphs-widget.c (widget_instantiate):
6489 * glyphs-widget.c (syms_of_glyphs_widget):
6490 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6491 * glyphs-widget.c (image_instantiator_combo_box):
6492 * glyphs-widget.c (image_instantiator_scrollbar):
6493 * glyphs-widget.c (image_instantiator_tab_control):
6494 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6496 support (unimplemented) keyword initial-focus.
6497 reindent long macros.
6499 * glyphs-x.c (x_redisplay_widget):
6500 * glyphs-x.c (x_button_instantiate):
6501 * glyphs-x.c (x_button_redisplay):
6502 * glyphs-x.c (x_progress_gauge_instantiate):
6503 * glyphs-x.c (x_edit_field_instantiate):
6504 * glyphs-x.c (x_combo_box_instantiate):
6505 * glyphs-x.c (x_tab_control_instantiate):
6506 * glyphs-x.c (x_label_instantiate):
6508 * gui-x.c (button_item_to_widget_value):
6509 * gui-x.c (gui_items_to_widget_values_1):
6510 * gui-x.c (gui_item_children_to_widget_values):
6511 * gui-x.c (gui_items_to_widget_values):
6513 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6514 add new flag to gui-parsing routines to indicate whether
6515 accelerator specs should be supported.
6517 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6519 * glyphs.h (struct Lisp_Image_Instance):
6520 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6521 add initial-focus flag.
6524 * gui.c (syms_of_gui):
6525 * gui.c (vars_of_gui):
6526 clean up menu-no-selection-hook.
6529 support delete-dialog-box-hook.
6531 * lread.c (Fload_internal):
6532 * lread.c (locate_file_in_directory_mapper):
6536 * lrecord.h (struct toolbar_button):
6537 * lrecord.h (syms_of_toolbar):
6538 document how to create a new object.
6540 * menubar-msw.c (mswindows_char_is_accelerator):
6541 may be called on frames w/o menus.
6543 * menubar.c (vars_of_menubar):
6544 clean up :filter docs.
6551 * process-nt.c (validate_signal_number):
6552 * process-nt.c (signal_cannot_launch):
6553 * process-nt.c (nt_create_process):
6554 * process-nt.c (nt_send_process):
6555 * process-nt.c (nt_kill_child_process):
6556 * process-nt.c (nt_open_network_stream):
6557 * process-nt.c (syms_of_process_nt):
6559 delete quote-handling. call new lisp code that does it better.
6561 * process-unix.c (connect_to_file_descriptor):
6562 * process-unix.c (allocate_pty):
6563 * process-unix.c (unix_send_process):
6564 * process-unix.c (unix_kill_child_process):
6565 * process-unix.c (unix_open_network_stream):
6566 * process-unix.c (unix_open_multicast_group):
6570 * process.c (Fstart_process_internal):
6571 (2). need to canonicalize process path even if absolute.
6573 * select-msw.c (symbol_to_ms_cf):
6574 * select-msw.c (ms_cf_to_symbol):
6575 * select-msw.c (cf_is_autofreed):
6576 * select-msw.c (mswindows_destroy_selection):
6578 * select.c (syms_of_select):
6580 support dibv5, fix bugs. (from Mike Alexander)
6582 * select.c (Fget_selection_internal):
6583 * select.c (select_convert_out):
6586 * sysdep.c (xemacs_stat):
6591 but keep original stat() here because we provide encapsulation
6595 * sysfile.h (fstat):
6596 remove stat garbage.
6600 don't include tchar.h. it's inappropriate because it makes
6601 compile-time distinctions when we want runtime distinctions.
6602 (we provide our own tchar replacements)
6605 use default object printer for toolbar-button.
6608 make sure we don't encapsulate.
6610 * window.c (vars_of_window):
6611 emphasize that temp-buffer-show-hook is obsolete.
6613 2000-08-05 Martin Buchholz <martin@xemacs.org>
6615 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6616 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6618 * events.c (Fevent_timestamp_lessp):
6619 Not 64-bit clean. Use EMACS_INT, not int.
6621 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6623 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6624 unsigned int and changed the last enum to
6625 lrecord_type_last_built_in_type.
6626 (lrecord_implementations_table): changed prototype to know how
6627 long the array is supposed to be.
6628 (lrecord_type_count): new unsigned int to keep track of the
6629 current number of lisp lrecord types.
6630 (DEFINE_EXTERNAL_LRECORD):
6631 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6632 dynamic-modules to declare new lisp types. They are the same
6633 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6634 int for each new type, and increment lrecord_type_count by 1.
6636 * alloc.c (lrecord_implementations_table): Changed to reference
6637 lrecord_type_last_built_in_type for the size of the array.
6638 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6640 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6642 * glyphs.h (check_valid_item_list): Renamed from
6643 check_valid_item_list_1.
6645 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6647 * select.c (Qselect_coerce): New.
6648 * select.c (Vselection_coercion_alist): New.
6649 * select.c (syms_of_select): Declare.
6650 * select.c (get-selection-internal): Use it.
6651 Use the new select-coerce functionality.
6653 * select.c (select_coerce): New.
6654 * select.h (select_coerce): Declare.
6655 New function to coerce one type of data into another.
6657 2000-08-03 Martin Buchholz <martin@xemacs.org>
6659 * callproc.c (Fcall_process_internal):
6660 (Fcall_process_internal):
6661 * process-unix.c (unix_create_process):
6662 Save and restore the value of errno, so that error messages are accurate.
6664 2000-08-01 Martin Buchholz <martin@xemacs.org>
6666 * elhash.c (print_hash_table):
6667 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6668 Prettify docstrings and indentation.
6670 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6672 * window.c (Fwindow_pixel_edges): Subtract frame border and
6675 2000-07-31 Andy Piper <andy@xemacs.org>
6677 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6678 will acknowledge the change.
6680 * glyphs.h: declare tab_control_order_only_changed.
6682 * glyphs-x.c (x_tab_control_redisplay): use
6683 tab_control_order_only_changed.
6685 * glyphs-widget.c (tab_control_order_only_changed): new function.
6687 * glyphs-msw.c (mswindows_tab_control_redisplay): use
6688 tab_control_order_only_changed.
6690 * gui.c (gui_item_equal_sans_selected): new function.
6691 (gui_item_equal): use it.
6693 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
6694 :properties in favor of :items..
6696 * glyphs-widget.c (check_valid_item_list): rename from
6697 check_valid_item_list_1.
6698 (check_valid_item_list_1): renamed.
6699 (combo_box_validate): deprecate :properties in favor of :items.
6700 (widget_instantiate): ditto.
6701 (tab_control_update): ditto.
6702 (image_instantiator_combo_box): ditto.
6703 (image_instantiator_tree_view): ditto.
6704 (image_instantiator_tab_control): ditto.
6705 (layout_post_instantiate): remove dead code.
6707 * print.c (debug_print_no_newline): only write to debugger if in
6710 * elhash.c (Fmake_hash_table): update doc string.
6712 * event-msw.c (mswindows_wnd_proc): don't allow processing of
6713 messages whilst in GC. This at least stops XEmacs crashing but has
6714 the potential for wierd behaviour.
6716 2000-07-31 Martin Buchholz <martin@xemacs.org>
6719 Make existence of s&m files optional.
6721 * s/bsd386.h: Remove HAVE_GETLOADAVG.
6722 * s/freebsd.h: Remove HAVE_GETLOADAVG.
6723 * s/gnu.h: Remove HAVE_GETLOADAVG.
6724 * s/netbsd.h: Remove HAVE_GETLOADAVG.
6725 * s/sol2.h: Remove HAVE_GETLOADAVG.
6726 * lisp.h: Remove getloadavg() declaration.
6728 Include <sys/loadavg.h> if available.
6729 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
6730 * config.h.in: Group together getloadavg()-related macros.
6731 Use only configure-time tests to detect getloadavg().
6733 2000-07-30 Martin Buchholz <martin@xemacs.org>
6735 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
6737 2000-07-25 Andy Piper <andy@xemacs.org>
6739 * syswindows.h: add tchar.h for native builds.
6741 * frame.c (syms_of_frame): remove set-glyph-image.
6743 * general-slots.h: add Qset_glyph_image.
6745 * glyphs-widget.c (layout_update): add domain arg to
6747 (syms_of_glyphs_widget): remove set-glyph-image.
6749 2000-07-23 Ben Wing <ben@xemacs.org>
6751 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
6754 2000-07-22 Andy Piper <andy@xemacs.org>
6756 * symsinit.h: add syms_of_win32().
6758 * gui-msw.c (syms_of_gui_mswindows): remove
6759 Fmswindows_shell_execute.
6760 (Fmswindows_shell_execute): moved to win32.c.
6762 * emacs.c (main_1): add syms_of_win32 ().
6764 * win32.c (init_potentially_nonexistent_functions): rewrite in
6765 compiler-friendly terms.
6766 (Fmswindows_shell_execute): move here from gui-msw.c.
6767 (syms_of_win32): new.
6769 * device-msw.c (Fmswindows_printer_list): clean up args to
6771 Don't include tchar under cygwin or mingw.
6772 (msprinter_default_printer): make cygwin-friendly.
6774 2000-07-21 Andy Piper <andy@xemacs.org>
6776 * glyphs-widget.c (image_instantiator_tree_view): use tab
6777 control's update function.
6778 (layout_property): new function. Retrieve items.
6780 * glyphs-msw.c (mswindows_tree_view_redisplay): new
6781 function. Re-populate the tree view from the pending items.
6783 * glyphs.c (instantiate_image_instantiator): Make sure the domain
6784 is designated the parent if the domain is an image instance. This
6785 is needed so that dirtiness can be cascade up the hierarchy and
6786 thus for layout children to be redisplayed correctly.
6787 (allocate_image_instance): rename glyph -> parent.
6789 * redisplay.h: change redisplay_output_layout signature.
6791 * redisplay-msw.c (mswindows_output_display_block): use domain
6794 * redisplay-x.c (x_output_display_block): use domain arg.
6796 2000-07-10 Andy Piper <andy@xemacs.org>
6798 * window.c (Fset_window_configuration): add comment.
6800 * redisplay-output.c (compare_runes):
6801 (redisplay_output_subwindow): redisplay rather than update subwindow.
6802 (redisplay_output_layout): ditto.
6804 * redisplay-msw.c (mswindows_frame_output_end):
6805 (mswindows_frame_output_end): make defer window pos optional.
6807 * lisp.h: add Flast.
6809 * glyphs.h (struct image_instantiator_methods): add dest_mask top
6810 normalize method. Change update method to be for changed
6811 instantiators. Add redisplay method. Change signature of layout
6813 (struct Lisp_Image_Instance): add instantiator.
6814 (IMAGE_INSTANCE_INSTANTIATOR): new.
6815 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
6816 (XIMAGE_INSTANCE_INSTANTIATOR): new.
6817 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
6820 (find_instantiator_differences): new function.
6821 (Fset_instantiator_property): new convenience function.
6822 (check_image_instance_structure): strictly check for vector
6824 (normalize_image_instantiator): make non-static.
6825 (instantiate_image_instantiator): pass on dest_mask and use new
6826 signatures for image_instance_layout and friends.
6827 (mark_image_instance): mark the instantiator. Mark the subwindow
6828 face not the widget face.
6829 (image_instance_equal): add instantiator.
6830 (image_instance_hash): ditto.
6831 (allocate_image_instance): ditto.
6832 (Fset_image_instance_property): removed.
6833 (Fimage_instance_file_name): ditto.
6834 (Fcolorize_image_instance): ditto.
6835 (image_instance_layout): add offsets to be set.
6836 (update_image_instance): new function. update an image instance
6837 from its changed instantiator.
6838 (inherit_normalize): add dest_mask.
6839 (xbm_normalize): ditto.
6840 (xface_normalize): ditto.
6841 (xpm_normalize): ditto.
6842 (text_update): set_property -> update.
6843 (image_instantiate): use the glyph identity as a hash key, not the
6845 (glyph_width): use new image_instance_layout signature.
6846 (glyph_ascent): ditto.
6847 (glyph_descent): ditto.
6848 (glyph_height): ditto.
6849 (glyph_query_geometry): ressurrect.
6850 (glyph_layout): ditto.
6851 (redisplay_subwindow): update -> redisplay.
6852 (syms_of_glyphs): add Fset_instantiator_property.
6853 (image_instantiator_format_create): set_property -> update.
6856 (autodetect_normalize): add dest_maks to signature.
6857 (x_redisplay_subwindow): update -> redisplay.
6858 (x_redisplay_widget): ditto.
6859 (x_button_redisplay): ditto.
6860 (x_progress_gauge_redisplay): ditto.
6861 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
6863 (console_type_create_glyphs_x): update -> redisplay.
6864 (image_instantiator_format_create_glyphs_x): ditto.
6867 (check_valid_instantiator): disallow glyphs in the instantiator,
6868 they must now be vectors.
6869 (check_valid_instantiator_list): ditto.
6870 (glyph_instantiator_to_glyph): use internal symbol rather than
6872 (widget_update): renamed from widget_set_property. Call cascaded
6874 (redisplay_widget): renamed from update_widget.
6875 (widget_layout): image_instance_layout now takes position as well
6877 (widget_normalize): ditto.
6878 (widget_instantiate): ditto.
6879 (tab_control_query_geometry) ditto.:
6880 (tab_control_update): renamed from tab_control_set_property.
6881 (progress_gauge_update): set_property -> update.
6882 (layout_normalize): rewrite so that child instantiators are
6884 (layout_update): new function. Create glyphs from the normalized
6885 children and cope with any other layout keywords. We do not
6886 instantiate children here that will be take care of by
6887 redisplay_output_layout.
6888 (layout_instantiate): call layout_update and not much else.
6889 (layout_post_instantiate): not sure whether this is needed
6891 (layout_query_geometry): query glyph geometry rather than
6892 image_instance geometry.
6893 (layout_layout): set offsets from pass in parameters. Use glyph
6894 geometry and layout functions rather than image instance ones.
6895 (native_layout_layout): ditto.
6896 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
6897 (image_instantiator_widget): set_property -> update.
6898 (image_instantiator_buttons): ditto.
6899 (image_instantiator_progress_guage): ditto.
6900 (image_instantiator_tab_control): ditto.
6901 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
6902 (image_instantiator_layout): add update method.
6904 * glyphs-msw.c (bmp_normalize):
6905 (mswindows_resource_normalize): add dest_mask so that it can be
6906 proprogated by layout_normalize.
6907 (begin_defer_window_pos): make optional because it may not be the
6908 right thing to do and it introduces differences with X.
6909 (mswindows_unmap_subwindow): ditto.
6910 (mswindows_map_subwindow): ditto.
6911 (mswindows_redisplay_subwindow): renamed from
6912 mswindows_update_subwindow.
6913 (mswindows_redisplay_widget): ditto.
6914 (mswindows_button_redisplay): renamed from
6915 mswindows_button_update. Update is now what the instantiation
6916 function does for a changed instantiator.
6917 (mswindows_progress_gauge_instantiate): set the progress value
6918 here if appropriate.
6919 (mswindows_tab_control_redisplay): cope with re-ordering of the
6920 members of the tab widget by simply selecting the new top
6921 widget. This makes things appear ok if you click on a tab.
6922 (mswindows_combo_box_instantiate): image_instance_layout now takes
6923 position as well as size.
6924 (mswindows_progress_gauge_redisplay): renamed from
6925 mswindows_progress_gauge_update.
6926 (console_type_create_glyphs_mswindows): fix update -> redisplay.
6927 (image_instantiator_format_create_glyphs_mswindows): ditto.
6929 * glyphs-eimage.c (jpeg_normalize):
6932 (tiff_normalize): add dest_mask so that it can be proprogated by
6937 (hash_table_weakness_validate):
6938 (decode_hash_table_weakness):
6939 (Fhash_table_weakness):
6941 (syms_of_elhash): use Ben's naming scheme for hashtable types..
6943 * console.h (struct console_methods): move update_* to
6946 2000-07-20 Ben Wing <ben@xemacs.org>
6948 * *.[ch] (XSETOBJ): remove unused middle argument.
6949 lisp-disunion.h: correct wrap_object() to one argument.
6951 2000-07-15 Ben Wing <ben@xemacs.org>
6954 * s/cygwin32.h (CYGWIN_CONV_PATH):
6955 Add missing logb prototype for v1.1.
6956 Use post-b20 names and alias to pre-b20 names when pre-b20.
6958 * s/windowsnt.h: [5].
6960 2000-07-15 Ben Wing <ben@xemacs.org>
6962 * Makefile.in.in (x_objs):
6963 * Makefile.in.in (sheap_objs):
6964 * Makefile.in.in (objs):
6965 added win32.o, cosmetic cleanups.
6967 * alloc.c (Fmake_byte_code):
6968 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
6969 etc. macros which declare their own args now.
6971 * alloc.c (syms_of_alloc):
6972 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
6975 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
6977 * buffer.c (Fget_file_buffer):
6978 Fixed GCPRO problem.
6980 * buffer.c (get_truename_buffer):
6981 Fixed comment about GC checking.
6983 * buffer.c (syms_of_buffer):
6984 Undeclared those dedicated frame funs.
6988 Define convenience macros for internal/external conversions.
6989 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
6990 and Qenvironment_variable_encoding for cleaner code.
6993 Remove dedicated-frame; in lisp.
6995 * bytecode.c (funcall_compiled_function):
6998 * bytecode.c (syms_of_bytecode):
7002 * console-msw.c (mswindows_show_console): Rewrote.
7004 * console-msw.c (Fmswindows_debugging_output): New.
7005 Sends to OutputDebugString (special MSWin debugger interface).
7007 * console-msw.c (Fmswindows_message_box):
7008 Fixed stupid bugs so it works when called from kill-emacs.
7010 * console-msw.c (syms_of_console_mswindows):
7011 Declare Fmswindows_debugging_output.
7014 New MSWin prototypes.
7016 * console-msw.h (struct mswindows_frame):
7017 New entry last-click-mods for improved button-modifier support.
7019 * console-msw.h (FRAME_MSWINDOWS_POPUP):
7020 New struct entry `popup' with corresponding accessor.
7023 * console-x.c (split_up_display_spec):
7024 * console-x.c (get_display_arg_connection):
7025 * console-x.c (x_semi_canonicalize_console_connection):
7026 * console-x.c (x_canonicalize_device_connection):
7027 [[[6]]]: Change char to more specific type.
7028 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
7030 * console-x.c (x_semi_canonicalize_console_connection):
7031 * console-x.c (x_canonicalize_device_connection):
7032 [[[9]]]: Fix up error signalling to use new structured error system.
7035 [[[4]]]: Define codesys aliases:
7036 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
7037 Qx_color_name_encoding, Qx_display_name_encoding.
7039 * console.h (struct console_methods):
7040 New method make_dialog_box_internal supersedes older
7041 popup_dialog_box method.
7044 Define many new errors, part of new structured errors.
7046 * data.c (init_errors_once_early):
7047 * data.c (syms_of_data):
7050 * device-msw.c (mswindows_init_device):
7051 [[[5]]]: Cleanup to support NT 3.51.
7053 * device-msw.c (decode_devmode): Cleanup.
7055 * device-msw.c (mswindows_handle_print_setup_dialog_box):
7056 * device-msw.c (mswindows_handle_print_dialog_box):
7057 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7058 * device-msw.c (syms_of_device_mswindows):
7059 Delete the dialog box primitives recently introduced by Kirill and
7060 instead interface to general dialog box interface.
7063 * device-x.c (compute_x_app_name):
7064 * device-x.c (x_init_device):
7065 * device-x.c (Fx_valid_keysym_name_p):
7066 * device-x.c (Fx_set_font_path):
7070 * device.h (wrap_device): New.
7071 First of its kind; meant to replace XSETDEVICE.
7073 * dialog-msw.c: Many file-dialog symbols.
7075 * dialog-msw.c (mswindows_register_popup_frame): New.
7076 * dialog-msw.c (mswindows_is_dialog_msg): New.
7077 For supporting kbd traversal in dialog boxes.
7079 * dialog-msw.c (dialog_proc):
7080 Support hitting ESC in dialogs.
7082 * dialog-msw.c (struct):
7083 Common dialog box errors.
7085 * dialog-msw.c (handle_file_dialog_box): New.
7086 Add file dialog code.
7088 * dialog-msw.c (handle_question_dialog_box):
7089 Redo existing code to support new question dialog syntax.
7091 * dialog-msw.c (console_type_create_dialog_mswindows):
7092 We support new dialog console method.
7094 * dialog-msw.c (syms_of_dialog_mswindows):
7095 * dialog-msw.c (vars_of_dialog_mswindows):
7096 New file dialog symbols, vars.
7099 * dialog-x.c (maybe_run_dbox_text_callback):
7100 * dialog-x.c (dbox_descriptor_to_widget_value):
7101 * dialog-x.c (x_make_dialog_box_internal):
7102 * dialog-x.c (console_type_create_dialog_x):
7103 Mule-ize entire file.
7104 Redo to support question dialog syntax.
7108 * dialog.c (Fmake_dialog_box_internal):
7109 * dialog.c (syms_of_dialog):
7110 Kill old popup-dialog-box, replace with new primitive.
7111 Just call device method or signal error.
7113 * eldap.c (Fldap_open):
7114 * eldap.c (Fldap_search_basic):
7115 * eldap.c (Fldap_add):
7116 * eldap.c (Fldap_modify):
7121 * emacs.c (make_arg_list_1):
7122 * emacs.c (make_arg_list):
7123 Mule-ize call to dll_init().
7127 * emacs.c (make_argc_argv):
7128 * emacs.c (free_argc_argv):
7129 * emacs.c (init_cmdargs):
7131 * emacs.c (Fkill_emacs):
7132 * emacs.c (Fdump_emacs):
7133 Update comments about what can be used in syms_* etc.
7134 Call init_win32() when necessary.
7135 Fix up MS Win dialog box in kill-buffer to actually work right.
7146 * eval.c (condition_case_3):
7148 * eval.c (function_argcount):
7149 * eval.c (funcall_lambda):
7152 * eval.c (type_error): New.
7153 * eval.c (maybe_type_error): New.
7154 * eval.c (continuable_type_error): New.
7155 * eval.c (maybe_continuable_type_error): New.
7156 * eval.c (type_error_with_frob): New.
7157 * eval.c (maybe_type_error_with_frob): New.
7158 * eval.c (continuable_type_error_with_frob): New.
7159 * eval.c (maybe_continuable_type_error_with_frob): New.
7160 New functions for use with structured errors.
7163 * event-Xt.c (x_event_to_emacs_event):
7164 Buttons are now modifiers too.
7166 * event-Xt.c (emacs_Xt_current_event_timestamp):
7167 Implement new event method.
7168 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7171 * event-msw.c (ntpipe_shove_writer): [5].
7172 * event-msw.c (mswindows_enqueue_mouse_button_event):
7173 * event-msw.c (mswindows_drain_windows_queue):
7174 * event-msw.c (mswindows_wnd_proc): [7].
7175 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7176 * event-msw.c (mswindows_modifier_state):
7177 Throughout: support new button modifiers.
7179 * event-msw.c (emacs_mswindows_current_event_timestamp):
7180 Implement new event method.
7181 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7184 * event-stream.c (event_stream_current_event_timestamp): New.
7185 * event-stream.c (maybe_kbd_translate): New functionality.
7186 * event-stream.c (vars_of_event_stream):
7187 Document new kbd-translate-table functionality.
7189 * event-stream.c (Fcurrent_event_timestamp): New.
7190 New primitive for use in fabricated events.
7191 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7193 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7196 * events.c (Fmake_event):
7197 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7201 * events.c (format_event_object): fix gcc warnings.
7203 * events.c (Fevent_timestamp): Document new primitives.
7205 * events.c (TIMESTAMP_HALFSPACE): New.
7207 * events.c (Fevent_timestamp_lessp): New. New primitive for
7208 comparing timestamps correctly (half-space algorithm).
7210 * events.c (Fevent_modifier_bits): Doc fix.
7212 * events.c (Fevent_modifiers): Major doc addition.
7213 * events.c (event_x_y_pixel_internal): Typo fix.
7214 * events.c (syms_of_events): Declare new primitives.
7217 Update long comment for button modifiers, timestamps.
7219 * events.h (struct event_stream):
7220 New current_event_timestamp method.
7223 * extents.c (extent_in_region_p):
7224 * extents.c (decode_extent):
7225 * extents.c (Fset_extent_parent):
7226 * extents.c (decode_map_extents_flags):
7230 * extents.c (struct extent_at_arg):
7231 * extents.c (decode_extent_at_flag):
7232 * extents.c (extent_at_mapper):
7233 * extents.c (extent_at_bytind):
7234 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7235 * extents.c (Fextents_at): New primitive. [9].
7236 * extents.c (symbol_to_glyph_layout): [9].
7237 Support new primitive `extents-at'.
7240 * extents.c (get_text_property_bytind):
7241 extent_at_bytind has another arg.
7244 * extents.c (syms_of_extents): New primitive.
7246 * file-coding.c (Fmake_coding_system): [1].
7247 * file-coding.c (subsidiary_coding_system): fix gcc warning
7248 * file-coding.c (syms_of_file_coding): [2].
7250 * fileio.c (Fexpand_file_name):
7251 * fileio.c (Fsysnetunam):
7252 * fileio.c (Ffile_exists_p):
7253 * fileio.c (Ffile_executable_p):
7254 * fileio.c (Fverify_visited_file_modtime):
7257 * fileio.c (syms_of_fileio): [2].
7259 * filelock.c (lock_file_1):
7260 * filelock.c (current_lock_owner):
7261 * filelock.c (lock_if_free):
7262 * filelock.c (lock_file):
7263 * filelock.c (unlock_file):
7266 * fns.c (concat): Fix gcc warning.
7269 * fns.c (Fold_member):
7271 * fns.c (Fold_memq):
7272 * fns.c (memq_no_quit):
7274 * fns.c (Fold_assoc):
7276 * fns.c (Fold_assq):
7277 * fns.c (assq_no_quit):
7279 * fns.c (Fold_rassoc):
7281 * fns.c (Fold_rassq):
7282 * fns.c (rassq_no_quit):
7284 * fns.c (Fold_delete):
7286 * fns.c (Fold_delq):
7287 * fns.c (delq_no_quit):
7288 * fns.c (Fremassoc):
7290 * fns.c (remassq_no_quit):
7291 * fns.c (Fremrassoc):
7292 * fns.c (Fremrassq):
7293 * fns.c (remrassq_no_quit):
7298 * frame-msw.c (mswindows_init_frame_1):
7299 * frame-msw.c (mswindows_delete_frame):
7300 Register popups with dialog code so keyboard traversing works.
7302 * frame-tty.c (tty_raise_frame_no_select): [1].
7305 * frame-x.c (x_set_frame_text_value):
7306 * frame-x.c (x_set_frame_properties):
7307 * frame-x.c (x_create_widgets):
7311 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7313 * frame.h (wrap_frame): New.
7314 Macro like wrap_device.
7317 * general.c (SYMBOL):
7318 * general.c (syms_of_general):
7319 Major reorg. This is now just a wrapper and symbols themselves
7320 are listed in general-slots.h.
7322 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7323 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7325 * glyphs-msw.c (mswindows_native_layout_instantiate):
7326 Add DS_CONTROL so keyboard traversal will work.
7329 * glyphs-widget.c (syms_of_glyphs_widget):
7330 Move some symbols to general-slots.h.
7333 * glyphs-x.c (xbm_instantiate_1):
7334 * glyphs-x.c (x_xbm_instantiate):
7335 * glyphs-x.c (x_xface_instantiate):
7336 * glyphs-x.c (autodetect_instantiate):
7337 * glyphs-x.c (cursor_font_instantiate):
7338 * glyphs-x.c (x_update_widget):
7339 * glyphs-x.c (x_widget_instantiate):
7340 * glyphs.c (bitmap_to_lisp_data):
7341 * glyphs.c (pixmap_to_lisp_data):
7344 * glyphs.c (syms_of_glyphs):
7348 * gui-x.c (print_widget_value):
7349 * gui-x.c (menu_separator_style_and_to_external):
7350 * gui-x.c (add_accel_and_to_external):
7351 * gui-x.c (button_item_to_widget_value):
7352 * gui-x.c (gui_items_to_widget_values_1):
7353 * gui-x.c (gui_items_to_widget_values):
7354 * gui-x.c (syms_of_gui_x):
7355 * gui-x.c (vars_of_gui_x):
7356 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7360 Muleize, prototype changes matching gui-x.c.
7363 * gui.c (separator_string_p):
7364 * gui.c (gui_item_add_keyval_pair):
7365 * gui.c (make_gui_item_from_keywords_internal):
7366 * gui.c (signal_too_long_error):
7367 * gui.c (parse_gui_item_tree_item):
7368 * gui.c (syms_of_gui):
7369 * gui.c (vars_of_gui):
7371 menu-no-selection-hook moved here (used by MSWin).
7372 Move some symbols to general-slots.h.
7376 * insdel.c (get_buffer_pos_char):
7377 * insdel.c (get_buffer_range_char):
7380 * keymap.c (keymap_lookup_directly):
7381 * keymap.c (keymap_store):
7382 * keymap.c (ensure_meta_prefix_char_keymapp):
7383 * keymap.c (describe_map):
7385 Support new button modifiers.
7387 * lisp-disunion.h (wrap_object):
7388 * lisp-disunion.h (XSETOBJ):
7389 Rename make_obj to wrap_object.
7392 * lisp-union.h (make_int):
7393 * lisp-union.h (make_char):
7394 Support wrap_object.
7397 * lisp.h (LIST_LOOP):
7398 * lisp.h (EXTERNAL_LIST_LOOP):
7399 * lisp.h (LIST_LOOP_2):
7400 * lisp.h (EXTERNAL_LIST_LOOP_1):
7401 * lisp.h (EXTERNAL_LIST_LOOP_2):
7402 * lisp.h (EXTERNAL_LIST_LOOP_3):
7403 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7404 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7405 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7406 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7407 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7408 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7409 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7410 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7411 * lisp.h (struct Lisp_Symbol):
7412 * lisp.h (maybe_continuable_error_with_frob):
7413 Fix up section comments.
7414 Add new types for char to indicate usage.
7415 Delete symbols auto-generated from general-slots.h.
7416 Add prototypes for structured error functions.
7417 Add long comments describing looping macros and change interface
7418 so that lvalues are automatically declared.
7419 Add NO_DECLARE macro in case callers want to declare lvalues
7422 * lread.c (read_syntax_error):
7423 * lread.c (continuable_read_syntax_error):
7424 * lread.c (read_structure):
7425 * lread.c (sequence_reader):
7426 * lread.c (read_list_conser):
7427 * lread.c (read_compiled_function):
7428 Rename syntax_error and continuable_syntax_error to avoid clash
7429 with same-named structured error functions.
7431 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7432 * menubar-msw.c (populate_menu_add_item):
7433 * menubar-msw.c (populate_or_checksum_helper):
7438 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7439 Mule-ize whole file.
7441 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7443 * mule-charset.c (Fmake_charset):
7444 * mule-wnnfns.c (Fwnn_set_param):
7447 * ntproc.c (create_child):
7448 * ntproc.c (Fwin32_set_current_locale):
7449 Add comments portending doom.
7452 * objects-msw.c (old_font_enum_callback_2):
7453 * objects-msw.c (font_enum_callback_1):
7454 * objects-msw.c (mswindows_enumerate_fonts):
7458 * objects-x.c (allocate_nearest_color):
7459 * objects-x.c (x_parse_nearest_color):
7460 * objects-x.c (x_initialize_color_instance):
7461 * objects-x.c (x_print_color_instance):
7462 * objects-x.c (x_finalize_color_instance):
7463 * objects-x.c (x_valid_color_name_p):
7464 * objects-x.c (x_initialize_font_instance):
7465 * objects-x.c (x_print_font_instance):
7466 * objects-x.c (valid_x_font_name_p):
7467 * objects-x.c (truename_via_FONT_prop):
7468 * objects-x.c (truename_via_random_props):
7469 * objects-x.c (truename_via_XListFonts):
7470 * objects-x.c (x_font_truename):
7471 * objects-x.c (x_font_instance_truename):
7472 * objects-x.c (x_font_instance_properties):
7473 * objects-x.c (x_list_fonts):
7474 * objects-x.c (x_find_charset_font):
7475 Mule-ize entire file.
7482 * print.c (std_handle_out_external):
7483 * print.c (debug_print_no_newline):
7484 * print.c (syms_of_print):
7485 Output to all debugger kinds in debug-print.
7486 Fix console-output code under MSWin to actually work.
7488 * process-nt.c (send_signal):
7489 * process-nt.c (nt_create_process):
7490 Use newer Unicode macros.
7492 * process-unix.c (unix_create_process):
7493 * process-unix.c (unix_canonicalize_host_name):
7494 * process-unix.c (unix_open_network_stream):
7500 * search.c (syms_of_search):
7503 * select-msw.c (mswindows_destroy_selection):
7506 * select-x.c (symbol_to_x_atom):
7509 * select.c (syms_of_select):
7512 * sound.c (Fplay_sound_file):
7516 * specifier.c (decode_specifier_type):
7517 * specifier.c (Fvalid_specifier_locale_type_p):
7518 * specifier.c (check_valid_locale_or_locale_type):
7519 * specifier.c (decode_locale):
7520 * specifier.c (decode_locale_type):
7521 * specifier.c (decode_locale_list):
7522 * specifier.c (check_valid_domain):
7523 * specifier.c (decode_specifier_tag_set):
7524 * specifier.c (Fcanonicalize_tag_set):
7525 * specifier.c (Fdefine_specifier_tag):
7526 * specifier.c (Fspecifier_tag_predicate):
7527 * specifier.c (check_valid_inst_list):
7528 * specifier.c (check_valid_spec_list):
7529 * specifier.c (decode_how_to_add_specification):
7530 * specifier.c (check_modifiable_specifier):
7531 * specifier.c (specifier_add_spec):
7532 * specifier.c (boolean_validate):
7533 * specifier.c (display_table_validate):
7536 * specifier.c (syms_of_specifier):
7537 Move some symbols to general-slots.h.
7541 * symbols.c (Fmapatoms):
7542 * symbols.c (Fapropos_internal):
7545 * symbols.c (set_default_buffer_slot_variable):
7546 * symbols.c (set_default_console_slot_variable):
7549 * symbols.c (defsymbol_massage_name_1):
7550 * symbols.c (defkeyword_massage_name):
7551 * symbols.c (deferror_1):
7552 * symbols.c (deferror):
7553 * symbols.c (deferror_massage_name_and_message):
7555 * symeval.h (DEFSYMBOL):
7556 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7558 * symbols.c (syms_of_symbols):
7562 * symsinit.h (init_win32): New.
7563 Also new is syms_of_dialog_mswindows.
7566 Add new Unicode macros, missing Cygwin wide-char functions,
7567 convenience conversion macros for Qmswindows_tstr, macros for
7568 encapsulating required MSWin <-> Cygwin filename conversions,
7569 prototype for dynamically-extracted (not in NT 3.51) functions.
7574 * tooltalk.c (Fadd_tooltalk_message_arg):
7575 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7576 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7579 * tooltalk.c (syms_of_tooltalk):
7583 * unexnt.c (unexec):
7584 Fix up headers, declaration of unexec() to be more standard.
7586 2000-07-20 Martin Buchholz <martin@xemacs.org>
7588 * offix.h: Revert change to guard macros - they're used in offix.c!
7590 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7592 * lisp.h: Defsubred Fdelete.
7594 * console-msw.h: (msprinter_default_printer): Added.
7596 * console-msw.c (msprinter_canonicalize_console_connection):
7597 (msprinter_canonicalize_device_connection): Added.
7599 * device-msw.c (msprinter_default_printer):
7600 (Fmswingows_get_default_printer):
7601 (signal_enum_priner_error):
7602 (Fmswingows_printer_list): Added.
7604 2000-07-19 Martin Buchholz <martin@xemacs.org>
7606 * XEmacs 21.2.35 is released.
7608 2000-07-19 Martin Buchholz <martin@xemacs.org>
7610 * select-x.c (x_handle_selection_request):
7611 Text selected in xemacs and pasted into xterm failed to appear.
7612 Spelling fixes and cosmetic changes.
7614 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7616 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7617 XEmacs frame (fix for doubling chars in dialog boxes).
7619 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7621 * select.c (select_convert_in, select_convert_out):
7622 Don't call intern() every time.
7624 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7625 * select.c (vars_of_select): Initialise them.
7627 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7629 * select.c (selection-coercible-types): New.
7631 * select.c (own-selection-internal):
7632 * select.c (get-selection-internal):
7633 MULE bug fix - these should default to COMPOUND_TEXT and not
7634 STRING for MULE. I think.
7636 * select.c (select_convert_out): Use selection-coercible-types
7637 to find types that we can attempt to perform coercions on.
7639 2000-07-18 Martin Buchholz <martin@xemacs.org>
7643 Add coding: cookie to identify encoding.
7645 * mule-canna.c (CANNA_mode_keys): make static.
7646 Use proper prototypes, even for functions of no arguments.
7647 Remove external prototype for Fding().
7649 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7651 * select.c (syms_of_select): Add missing DEFSUBR.
7653 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7655 * select.c (get_selection_internal, own_selection_internal):
7656 Make the type default to STRING, rather than placing a nil type
7657 into Vselection_alist.
7659 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7661 * gpmevent.c (tty_selection_exists_p):
7662 * gpmevent.c (tty_own_selection):
7663 Updated parameter lists.
7665 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7667 * select.h (selection-alist): Removed declaration.
7669 * select.h (get_local_selection):
7670 * select.c (get_local_selection):
7673 * select.h (convert_selection): Removed declaration.
7674 * select.c (convert_selection): Removed.
7675 This function belongs in Lisp.
7677 * select.h (select_convert_in): Declare.
7678 * select.h (select_convert_out): Declare.
7679 * select.c (select_convert_in): New.
7680 * select.c (select_convert_out): New.
7681 New conversion functions for other files to call.
7683 * select.h (select_notify_buffer_kill): Declare.
7684 * select.c (select_notify_buffer_kill): New.
7685 New functions that get called from kill-buffer.
7687 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
7688 X-specific lisp code.
7690 * select.h: Declare some of the lisp-visible functions for
7693 * select.c (clean_local_selection_data): Removed. This was
7694 a disgusting function, and previously should have been in
7695 select-x.c in any case. The functionality is now provided
7696 in select-convert-from-integer (select.el).
7698 * select.c (available-selection-types): Fixed stupidity where
7699 INTEGER and ATOM got added twice. Also add STRING when we see an
7702 * select.c (get-selection-internal): Removed symbol stripping. No
7703 longer causes conversion when data comes from the internal cache.
7705 * select.c (syms_of_select): Added new functions.
7707 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
7708 error checking - previously this called abort!
7710 * select-x.c (x_own_selection): Changed comment.
7712 * select-x.c (x_handle_selection_request): Use select_convert_out.
7713 Don't mess with selection-alist; it's an internal variable of select.c.
7715 * select-x.c (x_get_foreign_selection): Use select_convert_in.
7717 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
7718 rather than messing with selection-alist.
7720 * select-msw.c (mswindows_get_foreign_selection):
7721 Use TO_INTERNAL_FORMAT rather than hacking.
7723 2000-07-14 Martin Buchholz <martin@xemacs.org>
7725 * process-unix.c (unix_open_multicast_group):
7726 (unix_open_multicast_group): Remove useless casts.
7728 2000-07-13 Martin Buchholz <martin@xemacs.org>
7730 * sound.c (Fplay_sound): Fix `unused variable' warning.
7732 * emacs.c (main): Use correct type for _environ on SCO5.
7734 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
7736 * console.h (own_selection_method):
7737 * console.h (selection_exists_p_method):
7738 * console.h (available_selection_types_method): New.
7739 * console.h (register_selection_data_type_method): New.
7740 * console.h (selection_data_type_name): New.
7742 * console-msw.h (mswindows_destroy_selection): Declare it. New
7743 function & alist to track GlobalAlloc()'d handles that need
7744 releasing when the clipboard data gets replaced or emptied.
7746 * event-msw.c (mswindows_wnd_proc): Call it.
7748 * lisp.h, general.c (Qappend): New symbol representing a
7751 * select.c (own-selection-internal):
7752 * select.c (selection-exists-p):
7753 * select.c (available-selection-types): New.
7754 * select.c (register-selection-data-type): New.
7755 * select.c (selection-data-type-name): New. New functions to deal
7756 with device-specific selection data formats.
7757 * select.c (selection-converter-out-alist): Renamed.
7758 * select.c (selection-converter-in-alist): New.
7759 * select.c (selection-appender-alist): New. Added new alists.
7760 * select.c (syms_of_select, vars_of_select): Added new symbols &
7762 * select.c (get_local_selection): Split.
7763 * select.c: Removed spurious type checking - selections may now be
7764 of any type, not just strings.
7765 * select.c (own-selection-internal):
7767 * select.h, select.c (convert_selection): New. Created
7768 convert_selection() function based on get_local_selection().
7769 * select.h, select.c (QCF_*): New symbols representing mswindows
7771 * select.h, select.c (Qreplace_all, Qreplace_existing): New
7772 symbols representing `how-to-add' modes.
7774 * select-msw.c (x_sym_p): New.
7775 * select-msw.c (symbol_to_ms_cf): New.
7776 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
7777 symbols & clipboard formats. Can also handle string names.
7778 * select-msw.c (mswindows_own_selection):
7779 * select-msw.c (mswindows_selection_exists_p):
7780 Added `data-type' parameter. Use it.
7781 * select-msw.c (mswindows_available_selection_types): New.
7782 * select-msw.c (mswindows_register_selection_data_type): New.
7783 * select-msw.c (mswindows_selection_data_type_name): New.
7784 * select-msw.c (mswindows_own_selection):
7785 * select-msw.c (mswindows_get_foreign_selection):
7786 * select-msw.c (mswindows_selection_exists_p): Rewrote.
7787 * select-msw.c (console_create_select_mswindows): Added new methods.
7788 * select-msw.c (mswindows_destroy_selection): New.
7789 * select-msw.c (Vhandle_alist): New list.
7790 * select-msw.c (mswindows_own_selection):
7792 * select-x.c (x_own_selection):
7793 * select-x.c (x_selection_exists_p):
7794 * select-x.c: Added some comments about maybe using new
7796 * select-x.c (x_own_selection):
7798 * specifier.c: Remove definition of Qappend (now in general.c)
7799 * specifier.c (syms_of_specifier): Remove Qappend.
7801 2000-07-12 Martin Buchholz <martin@xemacs.org>
7803 * config.h.in: Add socklen_t.
7805 * s/decosf4-0.h: No special compiler flags needed or desired.
7806 In particular, undefine _BSD for DEC OSF 4.0.
7808 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7810 * redisplay-msw.c (msprinter_frame_output_end): Added.
7811 (console_type_create_redisplay_mswindows): Referred the above.
7813 * frame.c (setup_frame_without_minibuffer): Do not create a
7814 default minibuffer frame on a printer device.
7816 * frame-msw.c (apply_dc_geometry): Added.
7817 (msprinter_start_page):
7818 (msprinter_init_frame_3):
7819 (msprinter_eject_page): Use it.
7821 * console-msw.h (struct msprinter_frame): Added pix_left and top,
7822 and removed residual duplex and orientation properties.
7824 2000-07-11 Martin Buchholz <martin@xemacs.org>
7826 * eval.c (function_argcount): Work around a DEC CC compiler bug.
7828 * unexalpha.c: Remove system prototypes from C sources!
7830 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
7832 * eval.c: Remove references to M-x edit-options in DEFUNs for
7833 `defvar' and `defconst'.
7835 2000-07-09 Martin Buchholz <martin@xemacs.org>
7837 * config.h.in: Remove SMART_INCLUDE hackery.
7840 * config.h.in: Don't use SMART_INCLUDE.
7842 * postgresql.h: Include libpq-fe.h here. Fix typo.
7843 * inline.c: Simply #include "postgresql.h"
7845 - Don't use SMART_INCLUDE
7846 - Use simply "const".
7847 - Use standard doc string conventions.
7848 - Use correct type for result of PQstatus.
7850 2000-07-09 Martin Buchholz <martin@xemacs.org>
7852 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
7854 C++ compilation changes.
7855 * config.h.in (EXTERN_C): Define.
7856 * config.h.in (not): This is also a C++ keyword.
7857 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
7858 * cm.c: Use EXTERN_C.
7859 * redisplay-tty.c: Use EXTERN_C.
7860 * sysdep.c: Use EXTERN_C. Remove Gould support.
7862 2000-07-09 Martin Buchholz <martin@xemacs.org>
7864 * general.c: Remove duplicate definition for Qfunction.
7866 2000-07-08 Ben Wing <ben@xemacs.org>
7868 * device-msw.c (msprinter_init_device):
7869 * device-msw.c (sync_printer_with_devmode):
7870 * device-msw.c (handle_devmode_changes):
7871 * device-msw.c (print_dialog_worker):
7872 * device-msw.c (Fmsprinter_apply_settings):
7873 * device-msw.c (hash_devmode):
7874 * device-msw.c (Fmsprinter_settings_despecialize):
7875 use Qmswindows_tstr, not Qctext.
7877 * vm-limit.c (check_memory_limits):
7878 avoid infinite loop printing warning messages.
7880 2000-07-05 Craig Lanning <lanning@scra.org>
7882 * Makefile.in.in: Add support for including the Windows resources
7883 when building with the cygwin and mingw targets.
7885 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
7886 not set or not correct.
7887 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
7888 (init_initial_directory): Don't try to use $PWD on the
7889 WIN32_NATIVE target.
7892 [[Add -mwindows to eliminate console window.]] not required --ben
7893 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7894 (MAIL_USE_POP): removed; now handled by configure.
7896 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
7897 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
7898 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7899 (MAIL_USE_POP): removed; now handled by configure.
7900 (ENCAPSULATE_STAT): from Dan Holmsand, added.
7901 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
7902 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
7904 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
7905 up from <winsock.h> via systime.h.
7906 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
7907 (getpagesize): from Dan Holmsand, added.
7908 Added #endif which was left dangling by Ben's mega patch; added
7909 comment to help prevent this in the future.
7911 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
7913 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7915 * console-msw.h (struct mswindows_device): Removed unnecessary
7916 cached device geometry values.
7917 Added update_tick and an accessor macro.
7918 (Lisp_Devmode): Added lrecord declaration.
7919 (struct msprinter_device): Contain devmode as a Lisp object.
7920 Added mswindows_get_selected_frame_hwnd();
7922 * console.h (struct console_methods): Indentation nitpicking.
7924 * device-msw.c (mswindows_init_device): Do not initialize geometry
7925 cache. Initialize update tick.
7926 (mswindows_device_system_metrics): Ask the device for its geometry.
7927 (global_free_2_maybe):
7928 (devmode_to_hglobal):
7929 (handle_printer_changes):
7930 (ensure_not_printing):
7931 (print_dialog_worker):
7932 (Fmsprinter_print_setup_dialog):
7933 (Fmsprinter_print_dialog):
7936 (Fmsprinter_page_setup_dialog): Added functions.
7937 (sync_printer_with_devmode):
7938 (handle_devmode_changes):
7939 (Fmsprinter_get_settings):
7940 (Fmsprinter_select_settings):
7941 (Fmsprinter_apply_settings):
7943 (Fmsprinter_settings_copy):
7944 (Fmsprinter_settings_despecialize):
7948 (hash_devmode): Added functions
7949 (syms_of_device_mswindows): Init devmode lrecord class.
7951 * device.h: Added an exfun for find-device.
7953 * event-msw.c (mswindows_wnd_proc): Do not update the cached
7954 geometry; although, recreate the device compatible DC.
7956 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
7957 (msprinter_init_frame_3):
7958 (msprinter_frame_property):
7959 (msprinter_internal_frame_property_p):
7960 (msprinter_frame_properties):
7961 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
7962 print job properties (will move to device settings).
7964 * lisp.h: Added symbols.
7966 * general.c (syms_of_general): Declared them.
7968 * hash.c (string_hash): Added.
7970 * lrecord.h (lrecord_type): Added devmode lrecord type.
7972 2000-07-02 Mike Sperber <mike@xemacs.org>
7974 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
7977 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
7979 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
7982 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
7984 * data.c (Fstring_to_number): Don't recognize floating point if
7987 2000-06-22 Martin Buchholz <martin@xemacs.org>
7989 * glyphs-widget.c (tab_control_query_geometry):
7990 (widget_query_geometry):
7991 (button_query_geometry):
7992 * glyphs.c (text_query_geometry):
7993 Enforce type correctness.
7995 2000-06-18 Martin Buchholz <martin@xemacs.org>
7997 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
7998 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
8000 2000-06-17 Martin Buchholz <martin@xemacs.org>
8002 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
8003 conflicts with gcc's fixincluded version of FOO.h.
8005 * glyphs.h (image_instance_geometry): Remove trailing `,'
8007 2000-06-08 Mike Alexander <mta@arbortext.com>
8009 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
8010 (shove_thread): Don't write the same output twice
8011 (make_ntpipe_output_stream): Increase priority of shove thread
8012 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
8014 (ntpipe_shove_closer): Don't delete the pipe until we're done with
8017 2000-06-12 Ben Wing <ben@xemacs.org>
8019 * s\mingw32.h (sigset):
8020 * s\windowsnt.h (sigset):
8021 rename msw_ to mswindows_ for consistency with general convention.
8023 2000-06-12 Ben Wing <ben@xemacs.org>
8026 * console-msw.c (mswindows_get_console_hwnd):
8027 * console-msw.c (mswindows_ensure_console_allocated):
8028 * console-msw.c (mswindows_hide_console):
8029 * console-msw.c (mswindows_show_console):
8030 * console-msw.c (mswindows_ensure_console_buffered):
8031 * console-msw.c (mswindows_output_console_string):
8032 * console-msw.c (mswindows_windows9x_p):
8034 * device-msw.c (mswindows_get_workspace_coords):
8035 * device-msw.c (mswindows_device_system_metrics):
8036 * dialog-msw.c (mswindows_popup_dialog_box):
8037 * event-msw.c (mswindows_wnd_proc):
8038 * frame-msw.c (mswindows_size_frame_internal):
8039 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8040 * menubar-msw.c (displayable_menu_item):
8041 * menubar-msw.c (mswindows_char_is_accelerator):
8043 * nt.c (mswindows_sigset):
8044 * nt.c (mswindows_sigrelse):
8045 * nt.c (mswindows_sigpause):
8046 * nt.c (mswindows_raise):
8047 * nt.c (timer_proc):
8049 * ntproc.c (find_child_console):
8050 * ntproc.c (sys_kill):
8052 * print.c (std_handle_out_external):
8053 * process-nt.c (find_child_console):
8054 * process-nt.c (send_signal_the_95_way):
8055 * process-nt.c (ensure_console_window_exists):
8056 * process-nt.c (nt_create_process):
8058 rename msw_ to mswindows_ for consistency with general convention.
8062 include nt.h, not syswindows.h.
8064 * nt.c (mswindows_fstat):
8065 * nt.c (mswindows_stat):
8066 prefix mswindows_ instead of attempting to directly override the
8067 library functions. fix declarations.
8070 include syswindows.h. move some sysdep.h stuff here.
8073 include syswindows.h, not <windows.h>.
8081 * sysdep.c (sys_fstat):
8082 * sysdep.c (sys_stat):
8083 call mswindows versions when appropriate.
8086 move mswin decls to nt.h.
8089 add long comment describing appropriate use of the various windows
8092 2000-06-11 Ben Wing <ben@xemacs.org>
8094 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8096 2000-06-10 Ben Wing <ben@xemacs.org>
8098 * Makefile.in.in (release):
8099 Correction to make sure xemacs.exe always dumped when correct.
8103 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8105 * buffer.c (set_buffer_internal):
8106 [[[[2]]]]: Remove HAVE_FEP code.
8108 * buffer.c (init_initial_directory):
8112 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8116 * callproc.c (call_process_cleanup):
8117 * callproc.c (Fold_call_process_internal):
8118 * callproc.c (child_setup):
8119 * callproc.c (getenv_internal):
8120 * callproc.c (init_callproc):
8121 * callproc.c (vars_of_callproc):
8122 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8123 __CYGWIN32__ -> CYGWIN.
8124 DOS_NT -> WIN32_NATIVE.
8125 Remove MSDOS support/references, converting to WIN32_NATIVE
8127 __MINGW32__ -> MINGW.
8128 Fix windows.h includes.
8129 Remove bogus HAVE_NTGUI.
8135 mswindows_message_outputted added for use in allowing startup
8136 errors on the console to be seen.
8138 * console-msw.c (msw_ensure_console_allocated):
8139 * console-msw.c (msw_output_console_string):
8140 * console-msw.c (DHEADER):
8141 * console-msw.c (DOPAQUE_DATA):
8142 * console-msw.c (DEVENT):
8143 * console-msw.c (DCONS):
8144 * console-msw.c (DCONSCDR):
8145 * console-msw.c (DSTRING):
8146 * console-msw.c (DVECTOR):
8147 * console-msw.c (DSYMBOL):
8148 * console-msw.c (DSYMNAME):
8151 * console-stream.c (stream_init_console):
8152 Fix text/binary problems.
8155 * device-msw.c (mswindows_finish_init_device):
8156 * device-msw.c (mswindows_delete_device):
8159 * device.c (handle_asynch_device_change):
8163 * dgif_lib.c (DGifOpenFileName):
8164 * dgif_lib.c (DGifOpenFileHandle):
8165 * dgif_lib.c (DGifGetLine):
8166 * dgif_lib.c (DGifGetPixel):
8167 Added config.h/lisp.h, fix up includes.
8174 * dired.c (file_name_completion):
8175 * dired.c (Ffile_attributes):
8176 * dired.c (syms_of_dired):
8180 * dumper.c (pdump_file_unmap):
8181 * dumper.c (pdump_load):
8185 * editfns.c (Ftemp_directory):
8186 * editfns.c (user_login_name):
8187 * editfns.c (Fuser_real_login_name):
8188 * editfns.c (get_home_directory):
8191 * elhash.c (finish_marking_weak_hash_tables):
8192 [[[[5]]]]: Fix GCC warnings.
8195 * emacs.c (mswindows_handle_hardware_exceptions):
8196 * emacs.c (make_arg_list_1):
8198 * emacs.c (Fkill_emacs):
8199 * emacs.c (Fdump_emacs):
8201 Fix problems with nested crashes, add long comment.
8203 * event-Xt.c (init_event_Xt_late):
8207 * event-msw.c (mswindows_dde_callback):
8208 * event-msw.c (mswindows_handle_sticky_modifiers):
8209 * event-msw.c (mswindows_wnd_proc):
8213 * events.c (character_to_event):
8217 * fileio.c (Ffile_name_directory):
8218 * fileio.c (Ffile_name_nondirectory):
8219 * fileio.c (directory_file_name):
8220 * fileio.c (Fexpand_file_name):
8221 * fileio.c (Fsubstitute_in_file_name):
8222 * fileio.c (Ffile_name_absolute_p):
8223 * fileio.c (check_executable):
8224 * fileio.c (Ffile_readable_p):
8225 * fileio.c (Ffile_accessible_directory_p):
8226 * fileio.c (Ffile_modes):
8227 * fileio.c (Funix_sync):
8228 * fileio.c (vars_of_fileio):
8231 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8233 Expand getdefdir defn.
8234 Fix bogus rename() comment.
8236 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8237 to use standard XEmacs include files, e.g. sysfile.h, rather
8238 than system-specific includes.
8244 * frame.c (vars_of_frame):
8248 * getloadavg.c (getloadavg):
8250 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8251 (We don't use it elsewhere in the code; just add a comment.)
8258 * glyphs-msw.c (mswindows_resource_instantiate):
8261 * glyphs-x.c (x_native_layout_instantiate):
8264 * gui-msw.c (Fmswindows_shell_execute):
8273 * lread.c (locate_file_in_directory_mapper):
8280 * mem-limits.h (get_lim_data):
8292 * nt.c (rva_to_section):
8293 * nt.c (mswindows_executable_type):
8295 Fix closedir() defn.
8298 [[[[8]]]]: *_OK defs moved to sysfile.h.
8307 * print.c (std_handle_out_external):
8311 * process-nt.c (nt_create_process):
8313 try to fix process quoting somewhat.
8315 * process-unix.c (unix_create_process):
8319 * process.c (vars_of_process):
8326 * realpath.c (xrealpath):
8329 * redisplay-tty.c (init_tty_for_redisplay):
8339 * sheap.c (more_static_core):
8340 * sheap.c (report_sheap_usage):
8344 * signal.c (alarm_signal):
8351 * strftime.c (zone_name):
8354 * symsinit.h (init_sunpro):
8358 commctrl.h not in Cygwin b20.1.
8362 * sysdep.c (sys_subshell):
8363 * sysdep.c (init_baud_rate):
8364 * sysdep.c (emacs_get_tty):
8365 * sysdep.c (emacs_set_tty):
8366 * sysdep.c (tty_init_sys_modes_on_device):
8367 * sysdep.c (init_system_name):
8368 * sysdep.c (sys_open):
8369 * sysdep.c (interruptible_open):
8370 * sysdep.c (sys_fopen):
8371 * sysdep.c (sys_mkdir):
8372 * sysdep.c (sys_rename):
8373 * sysdep.c (get_process_times_1):
8380 * sysdir.h (DIRENTRY_NONEMPTY):
8383 * sysdll.c (dll_init):
8389 added text/binary defs.
8395 * sysproc.h (EDESTADDRREQ):
8396 * sysproc.h (poll_fds_for_input):
8413 Always define WIN32_LEAN_AND_MEAN.
8415 * unexcw.c (unexec):
8419 * unexec.c (copy_text_and_data):
8420 * unexec.c (adjust_lnnoptrs):
8424 * unexnt.c (_start):
8427 2000-06-07 Ben Wing <ben@xemacs.org>
8429 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8430 was used only as a model. We've long since extracted any useful
8431 logic or code out of this. (I just did an exhaustive search.)
8433 * s\msdos.h: Removed.
8435 * s\windows95.h: Removed.
8437 2000-06-10 Ben Wing <ben@xemacs.org>
8441 Don't use extern with fun defs.
8445 Remove nt\inc include.
8446 Remove getdisk, getdefdir. (The former is unused, the latter
8447 expanded in fileio.h.)
8450 * s\windowsnt.h (WIN32_NATIVE):
8451 * s\windowsnt.h (HAVE_STRCASECMP):
8453 Add long comment about preprocessor changes.
8454 Remove getdisk, getdefdir. (The former is unused, the latter
8455 expanded in fileio.h.)
8457 2000-06-10 Ben Wing <ben@xemacs.org>
8466 Remove bogus/unused NO_SOCK_SIGIO.
8468 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8470 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8473 2000-06-04 Mike Sperber <mike@xemacs.org>
8475 * casetab.c (set_case_table): For `set-standard-case-table',
8476 actually deposit the new case tables where the rest of XEmacs can
8479 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8481 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8483 2000-06-05 Ben Wing <ben@xemacs.org>
8485 * callproc.c (child_setup): Don't do close_load_descs() under
8486 MS Windows. Put in a comment explaining why.
8488 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8490 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8491 Toolkit shell" which breaks `kill-compilation' on Windows NT
8492 native, retaining STDERR handling improvements.
8494 2000-06-01 Andreas Jaeger <aj@suse.de>
8496 * s/s390.h: Support for S390, based on a patch by Martin
8497 Schwidefsky <schwidefsky@de.ibm.com>.
8499 2000-05-30 Andy Piper <andy@xemacs.org>
8501 * window.c (allocate_window):
8502 (make_dummy_parent):
8503 (Fset_window_configuration): use new hashtable type.
8505 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8506 (struct image_instantiator_methods):
8507 (struct Lisp_Image_Instance): make instance geometry signed.
8509 * glyphs.c (instantiate_image_instantiator):
8510 (image_instance_query_geometry):
8511 (image_instance_layout):
8512 (image_instance_layout):
8513 (query_string_geometry):
8514 (text_query_geometry):
8515 (image_instantiate):
8516 (image_instantiate):
8517 (cache_subwindow_instance_in_frame_maybe):
8518 (subwindow_query_geometry): make instance geometry signed.
8520 * glyphs-widget.c (widget_query_geometry):
8522 (button_query_geometry):
8523 (tree_view_query_geometry):
8524 (tab_control_query_geometry):
8525 (layout_query_geometry):
8527 (native_layout_layout): make instance geometry signed.
8529 2000-05-29 Olivier Galibert <galibert@pobox.com>
8531 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8534 * general.c (syms_of_general): Add Qfull_assoc symbol.
8536 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8538 (decode_weak_list_type): Decode full-assoc type.
8539 (encode_weak_list_type): Encode full-assoc type.
8540 (Fmake_weak_list): Update doc string.
8542 2000-05-30 Andy Piper <andy@xemacs.org>
8544 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8546 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8547 (decode_hash_table_weakness): ditto.
8548 (Fhash_table_weakness): ditto.
8549 (Fhash_table_type): ditto.
8550 (finish_marking_weak_hash_tables): ditto.
8551 (hash_table_weakness_validate): ditto.
8552 (syms_of_elhash): ditto.
8554 2000-05-28 Martin Buchholz <martin@xemacs.org>
8556 * XEmacs 21.2.34 is released.
8558 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8560 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8562 (updating_line_start_cache): Gone.
8563 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8564 generic code to force a minimum of 1 line laid out in the
8567 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8569 * glyphs.c (instantiate_image_instantiator): Check for initialized
8570 height & width no longer special cases IMAGE_NOTHING.
8571 (nothing_instantiate): Set height and width of instance.
8573 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8575 * unexelf.c (unexec): Search for ".data" section.
8576 Initialize new_data2_offset from old_data_index.
8577 Remove redundant check for ElfW.
8579 2000-05-23 Andy Piper <andy@xemacs.org>
8581 * glyphs.c (get_image_instantiator_governing_domain): allow more
8582 specific domains as the governing domain rather than expecting an
8583 exact match. This fixes problems with layouts.
8585 2000-05-22 Andy Piper <andy@xemacs.org>
8587 * redisplay-output.c (compare_runes): check for non-images
8589 * glyphs.c (set_glyph_dirty_p): ditto.
8590 (update_glyph_cachel_data): ditto.
8592 * glyphs-widget.c (layout_post_instantiate): ditto.
8593 (layout_post_instantiate): ditto.
8595 * event-msw.c (mswindows_wnd_proc): warning removal.
8597 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8599 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8601 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8603 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8605 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8606 (mswindows_executable_type): mingw32 now has enough headers for
8609 2000-05-20 Andy Piper <andy@xemacs.org>
8611 * console-msw.c (mswindows_output_last_error): ; -> ,
8613 2000-05-12 Andy Piper <andy@xemacs.org>
8615 * console-msw.c (FROB): compare ints with ints.
8617 2000-05-11 Andy Piper <andy@xemacs.org>
8619 * glyphs-x.c (x_finalize_image_instance): make minimal build
8622 2000-05-20 Ben Wing <ben@xemacs.org>
8625 * event-Xt.c (vars_of_event_Xt):
8626 move modifier-keys-are-sticky to event-stream.c.
8629 * event-msw.c (mswindows_enqueue_mouse_button_event):
8630 * event-msw.c (key_needs_default_processing_p):
8631 * event-msw.c (XEMSW_LCONTROL):
8632 * event-msw.c (mswindows_handle_sticky_modifiers):
8633 * event-msw.c (FROB):
8634 * event-msw.c (clear_sticky_modifiers):
8635 * event-msw.c (output_modifier_keyboard_state):
8636 * event-msw.c (output_alt_keyboard_state):
8637 * event-msw.c (mswindows_wnd_proc):
8638 * event-msw.c (mswindows_modifier_state):
8639 * event-msw.c (emacs_mswindows_handle_magic_event):
8640 implement sticky modifiers.
8643 * event-stream.c (vars_of_event_stream):
8644 move modifier-keys-are-sticky here.
8650 implement map-range-table.
8653 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8655 * redisplay-tty.c (reset_tty_modes):
8656 (tty_redisplay_shutdown): Adjust argument type to
8657 tty_frame_output_end.
8659 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8661 * eval.c (Fbacktrace): Don't output a line with only right
8664 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8666 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8667 (Fpq_reset_poll): Ditto.
8669 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8671 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8673 2000-05-16 Ben Wing <ben@xemacs.org>
8676 * buffer.c (dfc_convert_to/from_internal_format):
8677 * buffer.c (reinit_vars_of_buffer):
8678 Fix conversion functions to allow reentrancy.
8681 * console-msw.c (mswindows_output_last_error):
8682 New fun, generally useful -- output a human-readable
8683 version of GetLastError() on the console.
8686 * console-msw.h (struct mswindows_frame):
8687 Changes for DeferWindowPos. Declare mswindows_output_last_error().
8689 * console-stream.c (stream_output_begin):
8690 * console-stream.c (stream_output_end):
8691 * console-stream.c (stream_output_vertical_divider):
8692 * console-stream.c (stream_clear_region):
8693 * console-stream.c (stream_flash):
8694 * console-stream.c (console_type_create_stream):
8695 Delete blank stream methods, not needed.
8697 * console.h (struct console_methods):
8698 Split begin/end methods into window and frame.
8701 * event-msw.c (mswindows_handle_paint):
8702 * event-msw.c (output_alt_keyboard_state):
8703 * event-msw.c (mswindows_wnd_proc):
8704 * event-msw.c (vars_of_event_mswindows):
8705 Comment about problems with ignored-expose.
8706 Define mswindows-debug-events; not really implemented.
8708 * frame-msw.c (mswindows_init_frame_1):
8712 * glyphs-msw.c (begin_defer_window_pos):
8713 * glyphs-msw.c (mswindows_unmap_subwindow):
8714 * glyphs-msw.c (mswindows_map_subwindow):
8715 * glyphs-msw.c (mswindows_resize_subwindow):
8716 Use DeferWindowPos to reduce flashing when mapping/unmapping.
8718 * glyphs.c (make_image_instance_1):
8721 * gutter.c (Fredisplay_gutter_area):
8722 Use new begin/end methods.
8724 * lisp.h (Dynarr_new2):
8728 * redisplay-msw.c (mswindows_frame_output_begin):
8729 * redisplay-msw.c (mswindows_frame_output_end):
8730 * redisplay-msw.c (console_type_create_redisplay_mswindows):
8731 New begin/end methods -- handle DeferWindowPos.
8733 * redisplay-output.c (redisplay_move_cursor):
8734 * redisplay-output.c (redraw_cursor_in_window):
8735 * redisplay-output.c (redisplay_update_line):
8736 * redisplay-output.c (redisplay_output_window):
8737 New begin/end methods.
8740 * redisplay-tty.c (tty_frame_output_begin):
8741 * redisplay-tty.c (tty_frame_output_end):
8742 * redisplay-tty.c (console_type_create_redisplay_tty):
8743 New begin/end methods.
8746 * redisplay-x.c (x_window_output_begin):
8747 * redisplay-x.c (x_window_output_end):
8748 * redisplay-x.c (console_type_create_redisplay_x):
8749 New begin/end methods.
8751 * redisplay.c (redisplay_frame):
8752 * redisplay.c (Fredisplay_echo_area):
8753 New begin/end methods.
8754 use MAYBE_DEVMETH for clear_frame; it may not exist.
8756 * window.h (WINDOW_XFRAME):
8757 WINDOW_XFOO macros -- get locale and decode struct pointer.
8760 2000-05-12 Ben Wing <ben@xemacs.org>
8763 * emacs.c (ensure_no_quitting_from_now_on):
8764 * emacs.c (fatal_error_signal):
8765 * emacs.c (mswindows_handle_hardware_exceptions):
8767 * emacs.c (Fkill_emacs):
8768 * emacs.c (shut_down_emacs):
8769 * emacs.c (assert_failed):
8770 various improvements in fatal error handling.
8773 move preparing_for_armageddon to emacs.c.
8776 declare fatal_error_in_progress.
8779 * print.c (std_handle_out_external):
8780 * print.c (std_handle_out_va):
8781 * print.c (stderr_out):
8782 * print.c (stdout_out):
8783 use console under mswin when no standard output.
8784 don't do code conversion during fatal error.
8786 * scrollbar.c (Fscrollbar_page_up):
8787 * scrollbar.c (Fscrollbar_page_down):
8788 fix missing else. reindent.
8790 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
8794 * glyphs.h (GLYPH_CACHEL_DESCENT):
8795 (GLYPH_CACHEL_DESCENT):
8796 (GLYPH_CACHEL_DESCENT):
8797 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
8798 used in case these are inline functions.
8799 Use more absurd values to error check.
8801 include window.h for error check functions.
8803 2000-05-11 Ben Wing <ben@xemacs.org>
8805 * cmdloop.c (Freally_early_error_handler):
8806 Display message box under windows; otherwise, message will disappear
8807 before it can be viewed.
8810 * console-msw.c (Fmswindows_message_box):
8811 * console-msw.c (FROB):
8812 * console-msw.c (syms_of_console_mswindows):
8813 Define new fun `mswindows-message-box'.
8814 #### I will merge this into `popup-dialog-box'; just give me
8818 * general.c (syms_of_general):
8819 Some new symbols used in `mswindows-message-box'.
8822 * glyphs.c (Fset_image_instance_property):
8823 put warning in this fun.
8826 * glyphs.h (GLYPH_CACHEL_WIDTH):
8827 * glyphs.h (GLYPH_CACHEL_ASCENT):
8828 * glyphs.h (GLYPH_CACHEL):
8829 * glyphs.h (GLYPH_CACHEL_GLYPH):
8830 define error-checking versions to try to catch a bug i've seen --
8831 redisplay gets in an infinite loop because the glyph width of the
8832 continuation glyph is 65535.
8835 Extern message-box stuff.
8837 * window.c (allocate_window):
8838 * window.c (make_dummy_parent):
8839 * window.c (Fset_window_configuration):
8840 Use EQUAL not EQ for subwindow caches to make them work a bit
8841 better. (Something is still very broken.)
8844 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8846 * glyphs.c (image_instantiate): Suppress gcc warnings.
8847 (Fmake_image_instance): Fix doc string.
8848 * specifier.c (Fmake_specifier): Ditto.
8850 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
8852 * paths.h.in (PATH_LOCK): Removed.
8853 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
8854 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
8856 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8858 * fns.c (Ffeaturep): Update e-mail address in doc-string.
8859 Document (featurep '(and xemacs 21.02)).
8861 2000-05-09 Ben Wing <ben@xemacs.org>
8863 * buffer.c (complex_vars_of_buffer):
8864 update modeline-format doc.
8867 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
8870 timeline of all released versions of Emacs, for use in creating
8871 authorship comments and in synching up.
8873 * glyphs-widget.c (image_instantiator_buttons):
8874 * glyphs-widget.c (image_instantiator_edit_fields):
8875 * glyphs-widget.c (image_instantiator_combo_box):
8876 * glyphs-widget.c (image_instantiator_scrollbar):
8877 * glyphs-widget.c (image_instantiator_progress_guage):
8878 * glyphs-widget.c (image_instantiator_tree_view):
8879 * glyphs-widget.c (image_instantiator_tab_control):
8880 * glyphs-widget.c (image_instantiator_labels):
8881 * glyphs-widget.c (image_instantiator_layout):
8882 * glyphs-widget.c (image_instantiator_native_layout):
8883 rename decode_domain method to governing_domain.
8886 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
8887 * glyphs.c (add_entry_to_device_ii_format_list):
8888 make sure we don't put an entry more than once into the list.
8889 * glyphs.c (check_instance_cache_mapper):
8890 *************************************************************
8891 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8893 *************************************************************
8894 * glyphs.c (get_image_instantiator_governing_domain):
8895 clean up, expand on new concept of governing domain.
8896 * glyphs.c (instantiate_image_instantiator):
8897 * glyphs.c (allocate_image_instance):
8898 use governing_domain instead of cache_domain in naming.
8899 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
8900 * glyphs.c (make_image_instance_1):
8901 * glyphs.c (Fmake_image_instance):
8902 allow for any domain (not just device), and process the
8903 governing domain correctly. very big doc fix.
8904 * glyphs.c (Fimage_instance_domain):
8905 new primitive, to retrieve the governing domain of an image instance.
8906 * glyphs.c (image_instantiate):
8907 use new governing_domain stuff. this fixes a crash you could get
8908 by instantiating certain widget glyphs in frame locales. (should
8909 signal an error instead of crashing.)
8910 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
8911 * glyphs.c (Fglyphp): clean up doc.
8912 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
8913 * glyphs.c (syms_of_glyphs):
8914 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
8915 * glyphs.c (image_instantiator_format_create): add some comments about
8917 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
8918 for current-display-table. (Apparently Hrjove implemented in 1998 a
8919 design I wrote up in 1996, but didn't update the doc string.)
8921 * glyphs.h: clean up a doc string.
8922 * glyphs.h (governing_domain):
8923 * glyphs.h (struct image_instantiator_methods):
8924 changes for governing_domain stuff.
8927 * gutter.c (Fgutter_specifier_p):
8928 * gutter.c (Fgutter_size_specifier_p):
8929 * gutter.c (Fgutter_visible_specifier_p):
8931 * objects.c (Fcolor_specifier_p):
8932 * objects.c (Ffont_specifier_p):
8933 * objects.c (Fface_boolean_specifier_p):
8934 doc strings moved to make-*-specifier.
8936 * redisplay.c (add_disp_table_entry_runes_1):
8937 * redisplay.c (generate_fstring_runes):
8938 * redisplay.c (screen):
8939 add random comments and doc strings.
8942 * specifier.c (Fmake_specifier):
8943 major overhaul of this doc string.
8945 * specifier.c (Fvalid_specifier_domain_p):
8946 comment about the bogosity of image instances being domains.
8947 * specifier.c (decode_domain):
8948 now non-static, used in glyphs.c.
8949 * specifier.c (specifier_instance):
8950 comment about the bogosity of image instances being domains.
8951 * specifier.c (Fgeneric_specifier_p):
8952 move doc string to make-generic-specifier.
8953 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
8957 * specifier.h (DOMAIN_FRAME):
8958 * specifier.h (DOMAIN_LIVE_P):
8959 * specifier.h (DOMAIN_XDEVICE):
8961 add comments about problems with these macros.
8962 prototype for decode_domain.
8965 * toolbar.c (Ftoolbar_specifier_p):
8966 move doc string to `make-toolbar-specifier'.
8968 * window.c (window_unmap_subwindows_cache_mapper):
8969 *************************************************************
8970 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8972 *************************************************************
8974 2000-05-09 Andy Piper <andy@xemacs.org>
8976 * glyphs.h: declare reset_frame_subwindow_instance_cache.
8978 * window.c (Fset_window_configuration): reset the frame subwindow
8979 cache and re-initialize the window subwindow caches.
8981 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
8983 2000-05-09 Ben Wing <ben@xemacs.org>
8985 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
8988 2000-04-26 Mike Woolley <mike@bulsara.com>
8990 * ntheap.c: Changed recreate_heap to limit the amount reserved
8991 for the heap to that which is actually available. Also now
8992 displays a message box (with some dignostics) in the event that
8993 it still can't start.
8995 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
8997 * callproc.c (Fold_call_process_internal): GCPRO path
8999 2000-05-08 Jan Vroonhof <jan@xemacs.org>
9001 Patch by Bill Perry.
9003 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
9004 back data instead of #ifdef.
9005 (Fscrollbar_page_down): ditto.
9007 2000-05-07 Ben Wing <ben@xemacs.org>
9010 Kludge for defining Qmswindows_tstr.
9013 * nt.c (open_input_file):
9014 * nt.c (open_output_file):
9015 * nt.c (rva_to_section):
9016 * nt.c (mswindows_executable_type):
9017 Move all memory-mapped-file routines here (some were in unexnt.c,
9018 which is bad because they are used by process-nt.c, and unexnt
9019 won't be around when portable dumping). Synched the above routines
9023 Removed ifdef'd out bogus code.
9024 Fixed some prototypes.
9027 * nt.h (OFFSET_TO_RVA):
9028 * nt.h (RVA_TO_OFFSET):
9029 * nt.h (RVA_TO_PTR):
9030 Moved the memory-mapped-file structures, macros and prototypes
9031 here, to parallel nt.c. ntheap.h should really be removed
9032 entirely, and it's a non-portable-dumper specific file.
9034 * ntheap.h (round_to_next):
9035 Moved the memory-mapped-file structures, macros and prototypes
9038 * ntproc.c (compare_env):
9039 Moved rva_to_section and mswindows_executable_type to nt.c.
9040 Moved compare_env to process-nt.c.
9041 ntproc.c will die, one day.
9043 * ntproc.c (sys_spawnve):
9044 Account for win32_ -> mswindows_.
9047 * process-nt.c (struct nt_process_data):
9048 * process-nt.c (ensure_console_window_exists):
9049 * process-nt.c (compare_env):
9050 * process-nt.c (nt_create_process):
9051 * process-nt.c (nt_kill_process_by_pid):
9052 * process-nt.c (syms_of_process_nt):
9053 * process-nt.c (vars_of_process_nt):
9054 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
9055 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
9056 changes). Eliminate our old `nt-quote-process-args' mechanism.
9057 Synch up nt_create_process with FSF 20.6 sys_spawnve.
9058 Move compare_env here from ntproc.c.
9060 * process.c (Fprocess_send_region):
9061 Takes an optional fourth argument, BUFFER, which should fix some
9062 problems with call-process.
9065 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
9068 Move ICC_BAR_CLASSES to syscommctrl.h.
9069 Add preliminary macros for MSWindows/Mule. More to come.
9072 * unexnt.c (unexec):
9073 open_output_file moved to nt.c.
9076 2000-05-05 Andy Piper <andy@xemacs.org>
9078 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
9079 instance from the frame cache also since GC may catch up too late
9080 to make frame deletion sane.
9082 2000-05-04 Andy Piper <andy@xemacs.org>
9084 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
9085 (x_finalize_image_instance): ungcpro on deletion.
9087 * glyphs.c (image_instantiator_format_create): give pointers a
9088 query geometry method so that the geometry is at least set.
9090 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
9091 initialize layouts if using widgets.
9093 2000-05-03 Andy Piper <andy@xemacs.org>
9095 * nt.c: remove bogus reference to sysmmsystem.h
9097 * gui-x.c (popup_selection_callback): fix no selection abort.
9099 2000-05-02 Andy Piper <andy@xemacs.org>
9101 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9102 (mswindows_widget_instantiate): ditto.
9104 * glyphs-widget.c (initialize_widget_image_instance): initialize
9106 (widget_instantiate): cope with children and items in the same
9109 * glyphs.c (mark_image_instance): cope with children as a first
9111 (image_instance_equal): ditto.
9112 (image_instance_hash): ditto.
9113 (image_instance_changed): ditto.
9115 2000-04-30 Andy Piper <andy@xemacs.org>
9117 * glyphs.c (subwindow_query_geometry): new function. Return some
9119 (subwindow_instantiate): don't assign dimensions if none have been
9121 (image_instantiator_format_create): add subwindow_query_geometry.
9122 (print_image_instance): cope with layouts as widgets.
9124 2000-04-29 Andy Piper <andy@xemacs.org>
9126 * frame.c (delete_frame_internal): call
9127 free_frame_subwindow_instance_cache so that all subwindows are
9128 finalized before their parent.
9129 (mark_frame): remove subwindow_cachels.
9130 (Fmake_frame): remove subwindow_cachel manipulation.
9131 (allocate_frame_core): subwindow_instance_cache is a weak list.
9132 (delete_frame_internal): set subwindow_instance_cache to nil.
9134 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9136 (mswindows_finalize_image_instance): use the device
9137 not the domain as the domain may have died already.
9139 * glyphs-x.c (x_finalize_image_instance): ditto.
9140 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9143 * redisplay-output.c (redisplay_unmap_subwindows): update for
9144 subwindow instance cache as a weak list.
9145 (redisplay_unmap_subwindows_maybe): ditto.
9146 (redisplay_unmap_subwindows_except_us): ditto.
9148 * glyphs.c (unmap_subwindow): error checking will check the domain
9149 so don't deal with it here. Don't use cachels anymore.
9150 (map_subwindow): ditto.
9151 (update_subwindow_cachel_data): remove old accessor names.
9152 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9153 (Fresize_subwindow): don't update cachel.
9154 (mark_subwindow_cachels):
9155 (update_subwindow_cachel_data):
9156 (add_subwindow_cachel):
9157 (get_subwindow_cachel_index):
9158 (update_subwindow_cachel):
9159 (reset_subwindow_cachels):
9160 (mark_subwindow_cachels_as_not_updated): deleted.
9161 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9162 subwindow instance to the frame cache.
9163 (find_matching_subwindow): update for subwindow instance cache as
9165 (update_widget_instances): ditto.
9166 (image_instance_type_to_mask):inlined.
9167 (free_frame_subwindow_instance_cache): new function. finalize all
9168 subwindows that are instantiated.
9170 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9171 of cachel information.
9172 (IMAGE_INSTANCE_DISPLAY_X):
9173 (IMAGE_INSTANCE_DISPLAY_Y):
9174 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9175 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9176 (XIMAGE_INSTANCE_DISPLAY_X):
9177 (XIMAGE_INSTANCE_DISPLAY_Y):
9178 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9179 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9180 remove subwindow_cachel structure and function references.
9181 (image_instance_type_to_mask): inline from glyphs.c
9183 * redisplay.c (redisplay_frame): remove subwindow_cachel
9186 * frame.h (struct frame): remove subwindow_cachels.
9187 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9189 * frameslots.h: add subwindow_instance_cache.
9191 * window.c (replace_window): check subwindow cache of replacement.
9192 (window_unmap_subwindows_cache_mapper):
9193 (window_unmap_subwindows): new functions. Unmap all subwindows
9194 cached on this window.
9195 (mark_window_as_deleted): unmap all subwindows.
9197 2000-04-27 Andy Piper <andy@xemacs.org>
9199 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9201 * glyphs-widget.c (widget_layout): return something.
9202 (layout_layout): return something. Fail if not initialized.
9203 (layout_query_geometry): ditto.
9204 (image_instantiator_native_layout): new function. Initialized the
9206 (widget_instantiate): don't do layout stuff here.
9208 * glyphs.c (instantiate_image_instantiator): reorded calling or
9209 instantiate and post_instantiate with layout in between.
9210 (image_instance_layout): be more selective about deciding whether
9211 the layout has been done or not.
9213 * glyphs.h (struct image_instantiator_methods): return a value
9216 2000-04-26 Andy Piper <andy@xemacs.org>
9218 * glyphs.c (allocate_image_instance): make initial width and
9219 height unspecified. Set initialized to 0.
9221 * syscommctrl.h new file. Encapsulates commctrl.h.
9223 * syswindows.h new file. Encapsulates windows.h.
9225 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9227 * console-msw.h: ditto.
9229 * redisplay-tty.c (tty_output_display_block): remove layout references.
9231 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9232 window handle rather than just the frame.
9234 * glyphs.c (mark_image_instance): remove layout references.
9235 (print_image_instance): ditto.
9236 (image_instance_equal): ditto.
9237 (image_instance_hash): ditto.
9238 (decode_image_instance_type): ditto.
9239 (encode_image_instance_type): ditto.
9240 (image_instantiate): ditto.
9241 (allocate_glyph): ditto.
9242 (Fimage_instance_height): ditto.
9243 (Fimage_instance_width): ditto.
9244 (update_subwindow): ditto.
9246 * redisplay-x.c (x_output_display_block): recode for layouts as
9249 * redisplay-output.c (redisplay_output_layout): recode for layouts
9251 (compare_runes): remove layout references.
9253 * redisplay-msw.c (mswindows_output_display_block): recode for
9256 * glyphs-widget.c (image_instantiator_layout): remove
9257 layout_possible_dest_types.
9258 (layout_possible_dest_types): deleted.
9260 * glyphs.h (image_instance_type): remove layout references.
9261 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9262 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9263 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9265 2000-04-25 Andy Piper <andy@xemacs.org>
9267 * glyphs-widget.c (image_instantiator_buttons):
9268 (image_instantiator_edit_fields):
9269 (image_instantiator_combo_box):
9270 (image_instantiator_scrollbar):
9271 (image_instantiator_progress_guage):
9272 (image_instantiator_tree_view):
9273 (image_instantiator_tab_control):
9274 (image_instantiator_labels):
9275 (image_instantiator_layout): call default post_instantiate method.
9276 (widget_post_instantiate): new function. Simply lays out the
9279 * glyphs.h (struct image_instantiator_methods): add
9280 post_instantiate method.
9282 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9285 2000-04-23 Andy Piper <andy@xemacs.org>
9287 * glyphs.h (struct image_instantiator_methods): add
9288 decode_domain_method.
9289 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9290 derived from the domain.
9291 (IMAGE_INSTANCE_FRAME): new accessor.
9292 (XIMAGE_INSTANCE_FRAME): ditto.
9294 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9295 instead of _SUBWINDOW_FRAME.
9296 (finalize_image_instance): ditto.
9297 (Fimage_instance_foreground): ditto.
9298 (Fimage_instance_background): ditto.
9299 (image_instantiate): ditto.
9300 (update_subwindow_cachel): ditto.
9301 (update_subwindow): ditto.
9302 (unmap_subwindow): ditto.
9303 (map_subwindow): ditto
9304 (subwindow_instantiate): ditto.
9305 * glyphs-msw.c (mswindows_update_widget): ditto.
9306 (mswindows_progress_gauge_instantiate): ditto.
9307 (mswindows_tab_control_update): ditto.
9308 * glyphs-x.c (x_update_widget): ditto.
9309 (x_widget_instantiate): ditto.
9310 (x_tab_control_instantiate): ditto.
9311 (x_tab_control_update): ditto.
9312 * event-msw.c (mswindows_wnd_proc): ditto
9314 * glyphs-widget.c (image_instantiator_layout): use
9315 subwindow_decode_domain.
9316 (image_instantiator_buttons): ditto.
9317 (image_instantiator_edit_fields): ditto.
9318 (image_instantiator_combo_box): ditto.
9319 (image_instantiator_scrollbar): ditto.
9320 (image_instantiator_progress_guage): ditto.
9321 (image_instantiator_tree_view): ditto.
9322 (image_instantiator_tab_control): ditto.
9323 (image_instantiator_labels): ditto.
9324 (image_instantiator_layout): ditto.
9326 * glyphs.c: add instance error checking to many functions.
9327 (instantiate_image_instantiator): decode device from cache_domain.
9328 (image_instantiate): partially rewrite by using
9329 decode_image_instantiator_domain to determine what domain the
9330 instance needs to be cached in.
9331 (decode_image_instantiator_domain): new function. Determine what
9332 domain the image needs to be cached in.
9333 (check_window_subwindow_cache): new error checking function.
9334 (check_instance_cache_mapper): ditto.
9335 (check_image_instance_structure): ditto.
9336 (subwindow_decode_domain): new function. Encodes a window as a
9337 subwindow's cache domain.
9338 (image_instantiator_format_create): use it for text and
9341 2000-04-21 Andy Piper <andy@xemacs.org>
9343 * glyphs.c (image_instance_device): new function.
9344 (image_instance_frame): new function.
9345 (image_instance_window): new function.
9346 (image_instance_live_p): new function.
9348 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9351 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9352 (IMAGE_INSTANCE_DOMAIN): new accessor.
9353 (XIMAGE_INSTANCE_DOMAIN): ditto.
9355 * glyphs-x.c (x_finalize_image_instance): device->domain.
9357 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9358 (mswindows_finalize_image_instance): ditto.
9360 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9361 (gif_instantiate): ditto.
9362 (png_instantiate): ditto.
9363 (tiff_instantiate): ditto.
9365 * glyphs.c (instantiate_image_instantiator): use domain rather
9367 (mark_image_instance): device -> domain.
9368 (print_image_instance): ditto.
9369 (finalize_image_instance): ditto.
9370 (image_instance_equal): ditto.
9371 (allocate_image_instance): ditto.
9372 (Fcolorize_image_instance): ditto.
9373 (query_string_geometry): ditto.
9374 (image_instantiate): ditto
9375 (query_string_font): ditto.
9376 (image_instantiate): ditto.
9377 (update_subwindow): ditto.
9378 (unmap_subwindow): ditto.
9379 (map_subwindow): ditto.
9380 (subwindow_instantiate): ditto.
9382 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9383 (DOMAIN_FRAME): ditto.
9384 (DOMAIN_WINDOW): ditto.
9385 (DOMAIN_LIVE_P): ditto.
9386 (XDOMAIN_DEVICE): ditto.
9387 (XDOMAIN_FRAME): ditto.
9388 (XDOMAIN_WINDOW): ditto.
9390 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9391 a valid specifier domain.
9393 2000-04-19 Andy Piper <andy@xemacs.org>
9395 * glyphs-widget.c (syms_of_glyphs_widget): remove
9396 widget-callback-current-channel.
9397 (vars_of_glyphs_widget): ditto.
9400 * gui.c (get_gui_callback): revert to previous behaviour.
9402 2000-04-18 Andy Piper <andy@xemacs.org>
9404 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9405 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9406 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9408 * glyphs.c (image_instance_equal): add margin_width.
9409 (image_instance_hash): ditto.
9411 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9412 (layout_query_geometry): ditto.
9413 (layout_layout): ditto.
9414 (syms_of_glyphs_widget): add margin-width.
9415 (image_instantiator_layout): allow margin-width.
9417 * glyphs.c (update_widget_instances): make a normal function.
9418 (syms_of_glyphs): remove Qupdate_widget_instances.
9421 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9422 so that we don't corrupt ideas about the last event or
9423 command. Remove widget-callback-current-channel fiddling.
9424 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9426 2000-05-01 Martin Buchholz <martin@xemacs.org>
9428 * XEmacs 21.2.33 is released.
9430 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9432 * make-src-depend: Allow dots in header file name.
9434 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9436 * mule-charset.h (struct charset_lookup): Add
9437 next_allocated_1_byte_leading_byte and
9438 next_allocated_2_byte_leading_byte.
9439 * mule-charset.c: Move above two variables so that those values
9442 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9444 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9445 when string length is zero.
9446 (find_charsets_in_emchar_string): Ditto.
9448 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9450 * lisp.h: extern Qdialog and Qmenubar.
9452 * gui-x.c: added events.h.
9453 also fixed typo which made the file uncompilable.
9455 * general.c: Added Qmenubar and Qdialog
9457 2000-04-28 Ben Wing <ben@xemacs.org>
9459 * frame-msw.c (mswindows_init_frame_1):
9460 * frame-msw.c (mswindows_mark_frame):
9461 * event-msw.c (mswindows_enqueue_dispatch_event):
9463 * console-msw.h (struct mswindows_frame):
9464 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9465 there are now three hash tables for callbacks.
9466 mswindows_enqueue_dispatch_event is no longer static.
9468 * dialog-x.c (maybe_run_dbox_text_callback):
9469 * dialog-x.c (dbox_descriptor_to_widget_value):
9470 switch to new cons3 form for callbacks.
9472 * glyphs-msw.c (mswindows_register_gui_item):
9473 * glyphs-msw.c (mswindows_widget_instantiate):
9474 * glyphs-msw.c (add_tree_item):
9475 * glyphs-msw.c (add_tab_item):
9476 new image instance parameter, so it can be passed to callback-ex.
9477 respect :callback-ex as well as :callback.
9479 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9482 * glyphs.c (print_image_instance):
9483 prettify, e.g. now prints widget type.
9486 certain funs have new image instance parameter.
9489 * gui.c (get_gui_callback):
9490 * gui.c (gui_item_add_keyval_pair):
9491 * gui.c (gui_item_init):
9492 * gui.c (gui_add_item_keywords_to_plist):
9493 * gui.c (mark_gui_item):
9494 * gui.c (gui_item_hash):
9495 * gui.c (gui_item_equal):
9496 * gui.c (copy_gui_item):
9497 * gui.c (syms_of_gui):
9498 recognize callback-ex in a number of places.
9499 also, fix the annoying "can't get out of yes-no dialog" bug.
9502 * gui.h (struct Lisp_Gui_Item):
9503 recognize callback-ex in a number of places.
9505 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9506 new parameter in button_item_to_widget_value.
9508 * glyphs-x.c (x_update_widget):
9509 * glyphs-x.c (x_button_instantiate):
9510 * glyphs-x.c (x_button_update):
9511 * glyphs-x.c (x_progress_gauge_instantiate):
9512 * glyphs-x.c (x_edit_field_instantiate):
9513 * glyphs-x.c (x_combo_box_instantiate):
9514 * glyphs-x.c (x_tab_control_instantiate):
9515 * glyphs-x.c (x_label_instantiate):
9516 new image instance parameter in various places.
9519 * event-Xt.c (enqueue_Xt_dispatch_event):
9520 this fun gets exported.
9523 * gui-msw.c (mswindows_handle_gui_wm_command):
9524 handle both :callback and :callback-ex, and generate our own
9525 event because it's one of the callback-ex arguments.
9528 * gui-x.c (popup_selection_callback):
9529 handle both :callback and :callback-ex, and generate our own
9530 event because it's one of the callback-ex arguments.
9531 * gui-x.c (button_item_to_widget_value):
9532 * gui-x.c (gui_items_to_widget_values_1):
9533 * gui-x.c (gui_item_children_to_widget_values):
9534 * gui-x.c (gui_items_to_widget_values):
9535 new image instance parameter in various places.
9537 * fns.c (Freplace_list):
9538 fix small typo in doc string.
9541 declare enqueue_Xt_dispatch_event.
9543 2000-04-28 Ben Wing <ben@xemacs.org>
9546 * buffer.c (Frecord_buffer):
9547 * buffer.c (syms_of_buffer):
9548 delete record-buffer-hook.
9551 * fns.c (Freplace_list):
9552 * fns.c (syms_of_fns):
9553 new primitive replace-list.
9556 slot for old buffer-alist.
9562 * redisplay.c (redisplay_frame):
9563 * redisplay.c (syms_of_redisplay):
9564 * redisplay.c (vars_of_redisplay):
9565 new hook buffer-list-changed-hook.
9568 2000-04-27 Ben Wing <ben@xemacs.org>
9570 * extents.h: extern in_modeline_generation.
9572 * redisplay.c (generate_formatted_string_db): set
9573 in_modeline_generation.
9575 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9576 flags if in modeline generation. otherwise frame-modified-tick
9577 is ticked far too often.
9578 Declare in_modeline_generation.
9580 2000-04-26 Ben Wing <ben@xemacs.org>
9582 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9584 (vars_of_emacs): add quick-build as an error-checking option.
9585 A bit kludgy, but there doesn't seem much point in creating
9586 a real var for this.
9588 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9590 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9592 * redisplay.h (struct display_line): Add a new variable,
9595 * redisplay.c (create_text_block): Set dl->line_continuation if
9597 (create_string_text_block): Ditto.
9598 (regenerate_window_incrementally): Use line_continuation instead
9599 of searching continuation glyph.
9600 (add_margin_runes): Call add_glyph_rune.
9601 (add_glyph_rune): Handle margin glyph.
9603 2000-04-20 Martin Buchholz <martin@xemacs.org>
9605 * filelock.c (fill_in_lock_file_name):
9607 Check for IS_ANY_SEP instead of '/'.
9609 Avoid generating gratuitous garbage. Call user_login_name() directly.
9610 Never check errno without first seeing that system call failed.
9611 (unlock_file): Add GCPRO.
9612 (Flock_buffer): Fix docstring.
9613 (Ffile_locked_p): Fix docstring. Add GCPRO.
9615 2000-04-19 Martin Buchholz <martin@xemacs.org>
9617 * sysdep.c (get_pty_max_bytes):
9618 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9619 strings longer than 252 bytes.
9621 * md5.c: Unconditionally include ANSI header <limits.h>
9623 * glyphs-x.c (convert_EImage_to_XImage):
9624 * lisp-union.h (union Lisp_Object):
9625 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9627 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9629 * filelock.c (current_lock_owner): Remove unused variable o, p.
9631 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9633 * callint.c: Remove multiply defined symbol Qlet
9634 (syms_of_callint): ditto.
9636 2000-04-14 Andy Piper <andy@xemacs.org>
9638 * general.c (syms_of_general): add last-command, this-command, let
9641 * lisp.h: declare various symbols.
9643 * glyphs.h: declare Qwidget_callback_current_channel;
9645 * glyphs-widget.c (syms_of_glyphs_widget): add
9646 Qgui_callback_current_channel.
9647 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9649 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9650 widget-callback-current-channel when invoking the interactive
9651 arg. Also bind last-command and next-command when invoking the
9653 * gui-x.c (popup_selection_callback): ditto.
9655 * gui.c (get_gui_callback): massage args so that we are always
9656 calling eval. This allows us to add our own variable bindings
9659 * glyphs-x.c (x_button_instantiate): use
9660 gui_items_to_widget_values since this is GC safe.
9661 (x_progress_gauge_instantiate): ditto.
9662 (x_edit_field_instantiate): ditto.
9663 (x_label_instantiate): ditto.
9665 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9666 (emacs_Xt_event_widget_focus_out): new function
9667 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9669 (emacs_Xt_event_add_widget_actions): new function. add focus
9670 functions as actions.
9671 (init_event_Xt_late): use it.
9673 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9675 * event-stream.c (Fdispatch_event): Doc fix.
9677 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9679 * postgresql.c: Remove all references to PQsetenv*.
9681 * postgresql.h: Remove references to PGsetenvHandler object.
9682 * lrecord.h (lrecord_type): Ditto.
9684 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9686 * glyphs-msw.h (struct mswindows_image_instance_data): Added
9687 real_heigh and real_width members, and accessor macros for these.
9689 * glyphs-msw.c (init_image_instance_geometry): New function.
9690 (init_image_instance_from_dibitmap): Use it.
9691 (mswindows_resource_instantiate): Use it.
9692 (init_image_instance_from_xbm_inline): Use it.
9693 (mswindows_initialize_image_instance_mask): Use real bitmap
9695 (mswindows_create_resized_bitmap): Ditto.
9696 (mswindows_create_resized_mask): Ditto.
9698 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
9699 and bitmap to their surface size.
9701 2000-04-11 Jan Vroonhof <jan@xemacs.org>
9703 * process-unix.c (unix_send_process): Guard against process MIA
9704 after Faccept_process_output.
9706 2000-04-11 Ben Wing <ben@xemacs.org>
9708 * eval.c (unbind_to_hairy): fix brokenness introduced by
9709 nanosecond speed improvements.
9711 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
9713 * sunplay.c (init_device): To play sounds correctly, the device
9714 apparently needs to be initialized at least once by XEmacs. Make
9717 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
9719 * redisplay.c (add_margin_runes): Add text image glyph
9722 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9724 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
9725 gcc is newer than 2.5.
9727 2000-04-06 Colin Rafferty <colin@xemacs.org>
9729 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
9731 * fns.c (size_bit_vector):
9732 * alloc.c (size_vector):
9733 (make_vector_internal):
9734 (make_bit_vector_internal):
9735 (sweep_bit_vectors_1):
9736 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
9738 2000-04-06 Andy Piper <andy@xemacs.org>
9740 * gmalloc.c (malloc): undo previous change.
9745 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
9747 * line-number.c (buffer_line_number): Revert to former version.
9749 2000-04-06 Andy Piper <andy@xemacs.org>
9751 * gmalloc.c (malloc): add error checking.
9756 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
9757 button_item_to_widget_value arg.
9759 * glyphs-x.c (x_button_instantiate): add extra
9760 button_item_to_widget_value arg.
9761 (x_progress_gauge_instantiate): ditto.
9762 (x_edit_field_instantiate): ditto.
9763 (x_label_instantiate): ditto.
9765 * gui-x.c (gui_items_to_widget_values_1): add extra
9766 button_item_to_widget_value arg.
9767 (button_item_to_widget_value): add extra menu_item_p arg.
9769 * gui-x.h: change signature of button_item_to_widget_value.
9771 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
9772 button_item_to_widget_value arg.
9774 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9776 * buffer.h (struct buffer): auto_save_modified should be long.
9778 2000-04-05 Andy Piper <andy@xemacs.org>
9780 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
9782 (button_query_geometry): give a little more room so that athena
9785 2000-04-05 Andy Piper <andy@xemacs.org>
9787 * faces.c (complex_vars_of_faces): The widget face should inherit
9788 the font of the gui-element face.
9790 2000-04-04 Andy Piper <andy@xemacs.org>
9792 * glyphs-x.c (x_button_update): new function. unconditionally
9793 update a button's state when the instance is dirty.
9794 (image_instantiator_format_create_glyphs_x): add x_button_update.
9795 (x_widget_instantiate): remove old resize cruft.
9797 2000-04-02 Andy Piper <andy@xemacs.org>
9799 * frame.c (change_frame_size_1): The introduction of gutters means
9800 that we need to allow 0 as a potential frame dimension.
9802 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
9804 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
9805 image glyph if allow_cursor.
9806 (add_hscroll_rune): Don't allow cursor to border glyph.
9807 (create_text_block): Ditto.
9809 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
9811 (redisplay_output_layout): Call ensure_face_cachel_complete for
9815 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
9817 * redisplay.c (add_glyph_rune): Adding text image as text runes.
9819 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
9822 * redisplay-tty.c (tty_output_display_block): Delete the routine
9823 for text image glyph
9824 * redisplay-x.c (x_output_display_block): ditto
9825 * redisplay-msw.c (mswindows_output_display_block): ditto
9827 2000-02-02 Mike Alexander <mta@arbortext.com>
9829 Note: Some of these were committed by accident as part of other
9832 * regex.c (regex_compile): Avoid compiler warnings.
9834 * ntproc.c (sys_spawnve): Avoid compiler warnings.
9836 * nt.h: Declare term_ntproc correctly.
9838 * nt.c: Remove incorrect declaration of get_home_directory which
9839 is declared correctly in lisp.h.
9841 * keymap.c (get_keyelt): Avoid compiler warnings.
9842 (raw_lookup_key_mapper): Avoid compiler warnings.
9844 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
9846 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
9848 * filemode.c (mode_string): Avoid compiler warnings.
9850 * file-coding.c (Fcoding_system_aliasee): Add return statement to
9853 * events-mod.h: Undef some things that winuser.h defines differently.
9855 * data.c (Faset): Avoid compiler warnings.
9857 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
9859 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9861 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
9862 Fall through to simple beep on error.
9863 Replace "extern" by real header file.
9865 * linuxplay.c: Use nativesound.h
9866 (play_sound_data): Return error code. Be less verbose on error.
9868 * sunplay.c: Use nativesound.h
9869 (play_sound_data): Return error code. Be less verbose on error.
9871 * ntplay.c: Use nativesound.h
9872 (play_sound_data): Return fake error code
9874 * sgiplay.c: Use nativesound.h
9875 (play_sound_data): Return error code
9877 * hpplay.c: Use nativesound.h, partially implement
9878 new error code. Break compilation until finished.
9879 (play_sound_data): error code.
9881 * nativesound.h (play_sound_file):
9882 (play_sound_data): Prototype in new header.
9884 2000-03-31 Andy Piper <andy@xemacs.org>
9886 * glyphs-widget.c: (button_query_geometry): new function. Adjust
9887 for toggle and radio buttons.
9888 (image_instantiator_buttons): use it.
9890 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9892 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
9893 (x_update_horizontal_scrollbar_callback): Return if no mirror was
9894 found. Scrollbar event probably belonged to some old config.
9896 2000-03-31 Andy Piper <andy@xemacs.org>
9898 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
9900 (initialize_widget_image_instance): default layout to
9901 LAYOUT_HORIZONTAL rather than 0.
9902 (widget_instantiate): reverse the item list at the end rather than
9904 (layout_layout): re-code for the border text at the front of the
9905 item list rather than at the end.
9906 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
9907 provided by the user.
9908 (widget_query_geometry): comment.
9910 2000-03-30 Andy Piper <andy@xemacs.org>
9912 * glyphs-widget.c (image_instantiator_layout): allow standard
9913 widget keywords in layouts.
9915 * gutter.c (output_gutter): cope with nil gutter contents.
9917 * frame.c (Fset_frame_properties): add gutter docs.
9919 2000-03-29 Andy Piper <andy@xemacs.org>
9921 * toolbar-msw.c (TBSTYLE_FLAT): add.
9922 (mswindows_output_toolbar): minor fiddling.
9924 2000-03-29 Andy Piper <andy@xemacs.org>
9926 * gutter.c (output_gutter): force gutter size recalculation if
9927 what we are trying to display won't fit.
9928 (update_gutter_geometry): new function. A per-gutter version of
9929 update_frame_gutter_geometry.
9930 (update_frame_gutter_geometry): use it.
9931 (redraw_exposed_gutter): add extra debugging output.
9933 2000-03-28 Mike Alexander <mta@arbortext.com>
9935 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
9936 (pdump_file_unmap): Implement it on Windows
9937 (pdump_file_get): Save alocated handles for pdump_file_unmap
9939 2000-03-28 Andy Piper <andy@xemacs.org>
9941 * gui.c (get_gui_callback): treat Quit specially.
9943 2000-03-27 Andy Piper <andy@xemacs.org>
9945 * glyphs.c (image_instantiate): be careful to check in the same
9948 2000-03-27 Didier Verna <didier@xemacs.org>
9950 * config.h.in: define the proper SMART_INCLUDE macro.
9951 handle renaming of `foo_h_path' to `foo_h_file'.
9953 * database.c: ditto.
9957 * linuxplay.c: ditto.
9959 * terminfo.c: ditto.
9961 * tooltalk.h: ditto.
9963 2000-03-27 Andy Piper <andy@xemacs.org>
9965 * glyphs-msw.c (mswindows_update_widget): make sure the widget
9966 gets updated whenever the face might have changed.
9968 2000-03-26 Mike Alexander <mta@arbortext.com>
9970 * dumper.c (pdump_resource_free): Fix the comment.
9972 2000-03-21 Olivier Galibert <galibert@pobox.com>
9974 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
9976 2000-03-22 Mike Alexander <mta@arbortext.com>
9978 * dumper.c: Include Windows headers on Windows
9979 (pdump_resource_free): Add a body to the function
9980 (pdump_load): exe_name -> exe_path and add some comments.
9982 2000-03-25 Mike Alexander <mta@arbortext.com>
9984 * gui.c (copy_gui_item_tree): Return a value in all cases
9986 2000-03-21 Didier Verna <didier@xemacs.org>
9988 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
9990 (SMART_INCLUDE): new macro.
9991 (POSTGRES_INCLUDE): new macro to include postgresql headers from
9992 the proper location.
9994 * postgresql.c: use it.
9998 2000-03-24 Andy Piper <andy@xemacs.org>
10000 * gutter.c (redraw_exposed_gutters): must be "in display" when we
10003 2000-03-24 Andy Piper <andy@xemacs.org>
10005 * redisplay-output.c (compare_runes): use image_instance_changed
10006 to detect changes. Do not depend on glyphs_changed, only depend on
10008 (redisplay_output_layout): add debug messages.
10009 (compare_runes): ditto.
10011 * glyphs.h: declare new functions.
10012 (struct Lisp_Image_Instance): remove percent and associated
10015 * gui.h: declare new copying functions.
10017 * gui.c (copy_gui_item_tree): new function.
10018 (copy_gui_item): new function.
10019 (gui_item_id_hash): revert to standard hash.
10020 (gui_item_hash): ditto.
10021 (gui_item_hash_internal): deleted.
10022 (mark_gui_item): mark value.
10023 (gui_item_add_keyval_pair): add value.
10024 (gui_item_init): ditto.
10025 (gui_add_item_keywords_to_plist): ditto.
10026 (gui_item_equal): ditto.
10027 (syms_of_gui): add Q_value.
10029 * glyphs-x.c (x_progress_gauge_update): use pending items and
10030 value for setting the state.
10031 (x_update_widget): don't set items from pending here.
10033 * glyphs-widget.c (update_widget): update items here.
10034 (progress_gauge_set_property): use items for storing value. Put
10035 new value in pending items.
10037 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
10038 items for new value. Convert percent -> value.
10039 (mswindows_tab_control_update): don't update items here.
10041 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
10042 (update_subwindow): ditto.
10043 (image_instance_changed): new function. Compare hash values and
10044 past and present widget items.
10045 (image_instantiate): We more careful about where we instantiate
10047 (image_instantiate): add error checking.
10049 * gutter.c (syms_of_gutter): use -hook.
10051 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
10053 * console-tty.c (Fset_console_tty_input_coding_system): Use
10055 (Fset_console_tty_output_coding_system): Use Qterminal.
10056 (tty_init_console): Use Qkeyboard and Qterminal.
10058 2000-03-21 Ben Wing <ben@xemacs.org>
10060 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
10061 From Mike Alexander <mta@arbortext.com>.
10063 2000-03-21 Ben Wing <ben@xemacs.org>
10065 * event-msw.c (mswindows_need_event): Horrible kludge to fix
10066 process brokenness. Proper implementation to come.
10068 Rename call-process-internal to old-call-process-internal.
10069 New impl. in process.el.
10071 2000-03-21 Martin Buchholz <martin@xemacs.org>
10073 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
10075 2000-03-20 Andy Piper <andy@xemacs.org>
10077 * glyphs.c (full_list_hash): make hashes of the same elements in
10078 different orders return different values.
10080 2000-03-20 Martin Buchholz <martin@xemacs.org>
10082 * XEmacs 21.2.32 is released.
10084 2000-03-20 Martin Buchholz <martin@xemacs.org>
10086 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
10087 (DFC_MALLOC_USE_CONVERTED_DATA):
10088 Add aliasing-safe casts to allow use with char* or unsigned char*
10091 * eldap.c (Fldap_open):
10092 (Fldap_search_basic):
10095 Make C++-compilable.
10096 Make sure GCPRO'ed variables are initialized.
10097 Use temp variables to avoid repeated calls to Flength.
10099 2000-03-16 Martin Buchholz <martin@xemacs.org>
10102 Make sure PATH_MAX is always defined.
10103 Include limits.h for PATH_MAX.
10104 Deprecate use of MAXPATHLEN.
10106 2000-03-10 Martin Buchholz <martin@xemacs.org>
10108 * emacs.c: Add reinit_vars_of_fileio.
10109 * symsinit.h: Add reinit_vars_of_fileio.
10110 * fileio.c (reinit_vars_of_fileio): New.
10111 * fileio.c (Fmake_temp_name):
10112 Initialize temp_name random number from microseconds to make
10113 collisions even less likely. Initialize always at process startup
10114 time. (make-temp-name) used to return the same file name twice in
10116 Random stylistic fiddling.
10119 2000-03-20 Andy Piper <andy@xemacs.org>
10121 * glyphs.c (image_instantiate): allow text glyphs to be
10122 instantiated in the minibuffer window.
10124 2000-03-19 Andy Piper <andy@xemacs.org>
10126 * glyphs.c (image_instance_hash): be careful about which items we
10129 * glyphs-widget.c (tab_control_set_property): record into pending
10130 items rather than the actual items.
10132 * glyphs-x.c (x_update_widget): use pending items to update with.
10134 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10137 * glyphs.c (mark_image_instance): mark pending items.
10139 * window.c (Fset_window_configuration): record the buffer.
10140 (Fselect_window): totally revert previous change which breaks many
10143 2000-03-18 Andy Piper <andy@xemacs.org>
10145 * glyphs-msw.c (mswindows_tab_control_update): force selected
10148 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10149 window domain cache, otherwise we get inconsistencies at
10150 startup. There is something fishy at startup which can lead to the
10151 minibuffer being the selected window when the gutter content is
10154 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10156 (parse_gui_item_tree_children): ditto.
10157 (parse_gui_item_tree_item): ditto.
10159 * glyphs.c (Fupdate_widget_instances): return something.
10161 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10163 * window.c (Fselect_window): Undo 2000-03-17 change.
10165 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10167 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10168 against v7.0 libraries. Insta-coredump city until the postgres
10171 2000-03-17 Andy Piper <andy@xemacs.org>
10173 * faces.c (complex_vars_of_faces): don't give the widget face an
10174 inherited background pixmap.
10176 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10179 * event-stream.c (Fdispatch_non_command_events): return something.
10181 * gutter.c (output_gutter): use widget face.
10182 (clear_gutter): ditto.
10184 * NEWS: adjust again.
10186 * window.c (Fselect_window): make sure this runs to completion to
10187 avoid oddities with Fset_window_configuration.
10188 (Fcurrent_window_configuration): in general do not save the
10189 minibuffer as the selected window.
10191 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10193 2000-03-16 Olivier Galibert <galibert@pobox.com>
10195 * emacs.c (Frunning_temacs_p): Revert previous patch.
10196 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10198 2000-03-16 Andy Piper <andy@xemacs.org>
10200 * glyphs-x.c (x_tab_control_update): if no widget values then
10203 * NEWS: update for new features.
10205 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10206 synthetic event to the native system.
10207 (reinit_vars_of_event_Xt): set force_event_pending to
10208 emacs_Xt_force_event_pending.
10210 * events.h (struct event_stream): add force_event_pending.
10212 * specifier.c (recompute_one_cached_specifier_in_window): add
10215 * redisplay.c (redisplay_frame): don't call
10216 update_frame_subwindows. Reset subwindow cachels when
10217 subwindows_changed, removing this was an optimization too far.
10219 * redisplay-output.c (compare_runes): reorganize so that we catch
10220 glyph changes when we want them. Set optimize_output when this
10221 would help layouts.
10222 (redisplay_output_layout): remove frame_really_changed, use
10223 optimize_output instead.
10225 * redisplay-msw.c (mswindows_output_display_block): reset
10226 optimize_output after outputting a glyph.
10227 * redisplay-x.c (x_output_display_block): ditto.
10228 * redisplay-tty.c (tty_output_display_block): ditto.
10230 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10232 (gutter_specs_changed): do specific gutter positions.
10233 (top_gutter_specs_changed): new function. Only update the
10234 specified gutter specs.
10235 (bottom_gutter_specs_changed): ditto.
10236 (left_gutter_specs_changed): ditto.
10237 (right_gutter_specs_changed): ditto.
10239 * gui.c (gui_item_hash_internal): new function, does a real hash.
10240 (gui_item_id_hash): use it.
10241 (gui_item_hash): hash the eval'ed gui_item.
10243 * gui-x.c (popup_selection_callback): send an eval event to call
10244 Fupdate_widget_instances.
10246 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10247 to call Fupdate_widget_instances.
10249 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10250 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10252 * glyphs.c: (update_frame_subwindows): deleted.
10253 (Fupdate_widget_instances): new function for updating the dirty
10254 state of widgets that might have changed.
10255 (syms_of_glyphs): add Qupdate_widget_instances.
10256 (full_list_hash): hash a list completely.
10257 (image_instance_hash): use it for items and properties.
10259 * frame-msw.c (mswindows_size_frame_internal): remove unused
10262 * faces.h (struct face_cachel): fix comment.
10264 * event-stream.c (Fdispatch_non_command_events): new
10265 function. Process non-command events, forcing an event cycle
10267 (syms_of_event_stream): declare.
10268 (event_stream_force_event_pending): new function. Force an event
10269 on the native event queue so that an event cycle will occur next
10273 (struct ntpipe_shove_stream):
10274 (mswindows_enqueue_dispatch_event):
10275 (mswindows_dequeue_dispatch_event):
10276 (mswindows_cancel_dispatch_event):
10277 (mswindows_pump_outstanding_events):
10278 (mswindows_drain_windows_queue):
10279 (mswindows_handle_paint):
10280 (mswindows_wnd_proc):
10281 (mswindows_key_to_emacs_keysym):
10282 (get_process_input_waitable):
10283 (emacs_mswindows_delete_stream_pair): re-indent file.
10284 (mswindows_need_event): do not process further fds if the windows
10285 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10286 fixes the 100% cpu problem.
10287 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10289 2000-03-15 Olivier Galibert <galibert@pobox.com>
10295 * emacs.c: Moved dump file searching to dumper.c.
10296 (Frunning_temacs_p): Fixed.
10298 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10299 last_lrecord_type_index_assigned.
10301 2000-02-20 Olivier Galibert <galibert@pobox.com>
10303 * symsinit.h: Added reinit parameter to init_console_stream
10306 * lisp.h: Added file parameter to pdump_load declaration.
10308 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10309 support. Added dump file searching.
10311 * config.h.in: Added EMACS_PROGNAME.
10313 * console-stream.c (init_console_stream): Fix reinitialisation
10314 when running from temacs.
10316 * alloc.c (pdump): Add id support.
10317 (pdump_load): Add file parameter and signature/id support.
10319 * Makefile.in.in: Add full pdump support.
10321 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10323 * postgresql.c: Update documentation to reflect latest code
10325 (print_result): Show tuple counts in printed representation when
10327 (Fpq_put_nbytes): MULE-ize.
10328 (Fpq_get_line_async): Ditto.
10330 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10332 * postgresql.c (Fpq_lo_import): Fix return value.
10333 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10335 2000-03-13 Ben Wing <ben@xemacs.org>
10337 * alloc.c (pdump_load):
10338 Fix compile warning under mswin.
10340 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10342 * postgresql.c: Mule-ization, bug fixes.
10343 Use PG_CODING to encapsulate coding system name changes.
10344 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10345 (pg-coding-system): Create.
10347 (Fpq_conn_defaults): Mule-ize.
10348 (Fpq_connectdb): Mule-ize & bug fix.
10349 (Fpq_connect_start): Mule-ize.
10350 (Fpq_set_client_encoding): Mule-ize.
10351 (Fpq_finish): Document `DEAD' connection status.
10352 (Fpq_clear): Ditto.
10353 (Fpq_pgconn): Mule-ize.
10354 (Fpq_exec): Mule-ize & bug fix.
10355 (Fpq_send_query): Ditto.
10356 (Fpq_get_result): Ditto.
10357 (Fpq_res_status): Mule-ize.
10358 (Fpq_result_error_message): Mule-ize.
10359 (Fpq_ntuples): fix comments.
10360 (Fpq_fname): Mule-ize.
10361 (Fpq_fnumber): Mule-ize.
10362 (Fpq_ftype): fix comments.
10363 (Fpq_get_value): Mule-ize.
10364 (Fpq_cmd_status): Ditto.
10365 (Fpq_cmd_tuples): Ditto.
10366 (Fpq_oid_value): Ditto.
10367 (Fpq_notifies): Ditto.
10368 (Fpq_lo_import): Ditto.
10369 (Fpq_lo_export): Ditto.
10370 (Fpq_get_line): Ditto.
10371 (Fpq_put_line): Mule-ize and bug fix.
10372 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10374 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10376 * postgresql.c (vars_of_postgresql): Mule-ize.
10377 (Fpq_conn_defaults): Ditto.
10379 2000-03-12 Ben Wing <ben@xemacs.org>
10381 * alloc.c (Fmake_byte_code):
10382 * alloc.c (debug_string_purity_print):
10383 * alloc.c (pdump_backtrace):
10384 * alloc.c (pdump_get_indirect_count):
10385 * alloc.c (pdump_register_sub):
10386 * alloc.c (pdump_register_object):
10387 * alloc.c (pdump_register_struct):
10388 * alloc.c (pdump_dump_data):
10389 * alloc.c (pdump_reloc_one):
10393 * console-msw.c (GetConsoleHwnd):
10394 * console-msw.c (msw_hide_console):
10395 * console-msw.c (msw_show_console):
10396 * console-msw.c (msw_ensure_console_buffered):
10397 * console-msw.c (msw_output_console_string):
10398 * console-msw.c (console_type_create_mswindows):
10400 a) Added functions to manipulate the console window for use with
10403 b) Added support for writing text to the console, which is now
10404 used under Windows when xemacs is not being run non-interactively,
10405 to write text that would otherwise be destined for stdout because
10406 under these circumstances, text written to stdout tends to
10407 disappear and not be seen.
10411 * event-Xt.c (x_event_to_emacs_event):
10412 * event-Xt.c (describe_event_window):
10413 * events-mod.h (XEMACS_MOD_CONTROL):
10415 * events.c (Fmake_event):
10416 * events.c (character_to_event):
10417 * events.c (event_to_character):
10418 * events.c (format_event_object):
10419 * events.c (Fevent_modifiers):
10421 * events.h (struct key_data):
10422 * events.h (struct button_data):
10423 * events.h (struct misc_user_data):
10424 * frame-x.c (Fcde_start_drag_internal):
10425 * frame-x.c (Foffix_start_drag_internal):
10426 * gpmevent.c (Freceive_gpm_event):
10428 * keymap.c (bucky_sym_to_bucky_bit):
10429 * keymap.c (control_meta_superify):
10430 * keymap.c (make_key_description):
10431 * keymap.c (keymap_lookup_directly):
10432 * keymap.c (create_bucky_submap):
10433 * keymap.c (keymap_store):
10434 * keymap.c (define_key_check_and_coerce_keysym):
10435 * keymap.c (define_key_parser):
10436 * keymap.c (define_key_alternate_name):
10437 * keymap.c (Fdefine_key):
10438 * keymap.c (raw_lookup_key_mapper):
10439 * keymap.c (struct map_keymap_unsorted_closure):
10440 * keymap.c (map_keymap_unsorted_mapper):
10441 * keymap.c (map_keymap_sort_predicate):
10442 * keymap.c (map_keymap_sorted):
10443 * keymap.c (accessible_keymaps_mapper_1):
10444 * keymap.c (where_is_recursive_mapper):
10445 * keymap.c (describe_map_mapper):
10446 * keymap.c (describe_map_sort_predicate):
10447 * keymap.c (describe_map):
10448 * keymap.c (complex_vars_of_keymap):
10449 And a number of other files, the key modifier preprocessor
10450 constants that xemacs uses have names that conflict with constants
10451 defined under MS Windows for other purposes, so they were renamed
10452 to begin with the prefix XEMACS_. The variables that hold such
10453 modifiers were changed to consistently be of type int to fix
10454 various compile warnings.
10456 * console.c (complex_vars_of_console):
10459 * device-msw.c (mswindows_finish_init_device):
10460 * device-msw.c (msw_get_workspace_coords):
10461 * device-msw.c (mswindows_device_system_metrics):
10462 and various other files, added support for a new
10463 device property called offset-workspace which returns the position
10464 of the upper left corner of the workspace area and goes along with
10465 the existing size-workspace property.
10468 * dialog-msw.c (push_bufbyte_string_as_unicode):
10469 * dialog-msw.c (mswindows_popup_dialog_box):
10470 Added support for XEmacs-style accelerator specifications in
10471 button text. Note: I didn't add support for this under X Windows,
10472 and somebody needs to do this.
10475 * dialog.c (Fpopup_dialog_box):
10476 Documented the support for accelerators that was just mentioned.
10478 editfns.c (get_home_directory): Changed behavior under Windows
10479 when HOME not defined; former behavior was irretrievably broken.
10482 * emacs.c (main_1):
10484 * minibuf.c (clear_echo_area_internal):
10485 * minibuf.c (echo_area_append):
10487 * print.c (std_handle_out_external):
10488 * print.c (std_handle_out_va):
10490 * print.c (write_string_to_stdio_stream):
10491 * print.c (output_string):
10492 * print.c (debug_print):
10493 * print.c (debug_backtrace):
10494 * print.c (debug_short_backtrace):
10495 Cleaned up the code that prints text to stdout so that this can be
10496 changed to output into a console window instead under MS Windows,
10497 as described above.
10500 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10501 * eval.c (internal_catch):
10502 * eval.c (unwind_to_catch):
10503 * eval.c (throw_or_bomb_out):
10504 * eval.c (condition_case_1):
10505 * eval.c (signal_1):
10506 * eval.c (check_error_state_sanity):
10507 * eval.c (call_with_suspended_errors_1):
10508 * eval.c (call_with_suspended_errors):
10509 * eval.c (reinit_vars_of_eval):
10510 Added code to catch throw loops and check for a pesky bug that may
10514 * event-msw.c (key_needs_default_processing_p):
10515 * event-msw.c (mswindows_wnd_proc):
10516 * event-msw.c (mswindows_modifier_state):
10517 * event-msw.c (emacs_mswindows_quit_p):
10518 * event-msw.c (vars_of_event_mswindows):
10519 a) Added support for using the alt key to select menu items as is
10520 standard under MS Windows. This is controlled using the variable
10521 menu-accelerator-enabled, just like under X Windows. There is an
10522 option on the options menu to turn this support on. I really
10523 think that it should be on by default under Windows, but I'm not
10524 going to make this change yet.
10526 b) Added support for dynamic display size changes under Windows.
10529 * event-stream.c (maybe_echo_keys):
10530 * event-stream.c (Fnext_event):
10531 * event-stream.c (command_builder_find_leaf):
10532 * event-stream.c (lookup_command_event):
10533 * event-stream.c (execute_command_event):
10534 * event-stream.c (pre_command_hook):
10535 * event-stream.c (post_command_hook):
10536 * event-stream.c (syms_of_event_stream):
10537 * event-stream.c (vars_of_event_stream):
10538 * event-stream.c (complex_vars_of_event_stream):
10539 * events.h (struct command_builder):
10541 a) Tried to clean up a little bit the horribly written x-specific
10542 accelerator code that crept into this file. I moved this code
10543 into menubar-x.c where it belongs. I also needed to move the
10544 command builder structure into the file events.h because it is
10545 accessed directly by this accelerator code. What I didn't do, but
10546 which should be done at some point, is to properly abstract this
10547 code using device methods instead of the kludgy way that it
10548 currently hooks into the event code.
10550 b) Added the lisp variables this-command-properties and
10551 last-command- properties, which should be used to synchronize two
10552 adjacent commands in preference to playing games with the variable
10553 this-command, which is typically what happens.
10555 c) Added some slightly nasty code to hook into the lisp support
10556 for shifted- motion-key selection. This is actually necessary for
10557 somewhat complicated reasons, which are described in
10558 simple.el. (NB: I think the proper thing would be to have the code
10559 that calls the pre and post command hooks also call out to generic
10560 lisp functions in simple.el, where all built-in stuff could be
10561 added. I will think about this more.)
10563 * event-unixoid.c (poll_fds_for_input):
10564 * lread.c (readchar):
10565 * redisplay-tty.c (tty_clear_frame):
10566 * redisplay-x.c (x_get_gc):
10567 * signal.c (interrupt_signal):
10568 And a whole bunch of other files: fixed up places that printed
10569 directly to stderr to instead call the function stderr_out so that
10570 the changes I made under Windows work correctly.
10572 * filemode.c (mode_string):
10576 * frame-msw.c (mswindows_size_frame_internal):
10577 Fixed the computation of frame size and position to keep the frame
10578 within the workspace area, rather than within the physical
10579 dimensions of the screen, so that the frame doesn't overlap window
10580 manager decorations, such as the start menu and toolbar, typically
10581 at the bottom of the screen.
10583 * frame.c (vars_of_frame):
10584 Changed the default frame title format under MS Windows to consist
10585 of buffername-XEmacs, which is standard under MS Windows. I think
10586 it might be a good idea to change this everywhere because I think
10587 it is superior to the current frame title format, but this is the
10588 kind of change that is likely to cause some people to get annoyed,
10589 so I'm not making it.
10591 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10593 * gui-msw.c (mswindows_handle_gui_wm_command):
10594 Fixed compile warnings.
10597 * gui-x.c (strdup_and_add_accel):
10598 * gui-x.c (button_item_to_widget_value):
10600 Added code to automatically put an accelerator onto the beginning
10601 of menu items that don't have one as is now the standard, and is
10602 described more later. Also fixed things so that the menu item
10603 name can be an evaluated expression, again a new standard.
10606 * gui.c (gui_item_add_keyval_pair):
10607 * gui.c (make_gui_item_from_keywords_internal):
10608 * gui.c (gui_add_item_keywords_to_plist):
10609 * gui.c (gui_item_accelerator):
10610 * gui.c (gui_name_accelerator):
10611 * gui.c (gui_item_included_p):
10612 * gui.c (gui_item_display_flush_left):
10613 * gui.c (gui_item_display_flush_right):
10614 * gui.c (parse_gui_item_tree_item):
10615 * gui.c (parse_gui_item_tree_children):
10616 * gui.c (parse_gui_item_tree_list):
10617 Mule-ized. Cleanup. GCPRO addition.
10619 * line-number.c (buffer_line_number):
10621 * lisp.h (EMACS_INT_MAX):
10622 Added the manifest constant EMACS_INT_MIN corresponding to the
10623 existing constant EMACS_INT_MAX. This is partially to fix compile
10624 warnings under Windows, and partly for cleanliness.
10627 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10628 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10629 * menubar-msw.c (displayable_menu_item):
10630 * menubar-msw.c (populate_menu_add_item):
10631 * menubar-msw.c (populate_or_checksum_helper):
10632 * menubar-msw.c (populate_menu):
10633 * menubar-msw.c (update_frame_menubar_maybe):
10634 * menubar-msw.c (prune_menubar):
10635 * menubar-msw.c (msw_char_is_accelerator):
10636 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10637 * menubar-msw.c (mswindows_handle_wm_command):
10638 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10639 * menubar-msw.c (mswindows_handle_wm_initmenu):
10640 * menubar-msw.c (mswindows_update_frame_menubars):
10641 * menubar-msw.c (mswindows_free_frame_menubars):
10642 * menubar-msw.c (mswindows_popup_menu):
10643 Fixed a bug in handling accelerators where an extra character
10644 would be displayed in the menu item. Also generalized the
10645 function displayable_menu_item because it is now used by the
10646 dialog box code as well. And finally, added code in the functions
10647 that create the menubar to extract a list of accelerators for the
10648 top level menubar, which is used in the event code to determine
10649 whether a particular alt-key combination should be used to invoke
10650 a menu item, or should be passed through to access the standard
10651 XEmacs keymap binding for this key combination.
10653 Much needed GCPROing.
10656 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10657 * menubar-x.c (menu_item_descriptor_to_widget_value):
10658 * menubar-x.c (restore_in_menu_callback):
10659 * menubar-x.c (x_popup_menu):
10660 * menubar-x.c (menu_move_up):
10661 * menubar-x.c (menu_move_down):
10662 * menubar-x.c (menu_move_left):
10663 * menubar-x.c (menu_move_right):
10664 * menubar-x.c (menu_select_item):
10665 * menubar-x.c (command_builder_operate_menu_accelerator):
10666 * menubar-x.c (menu_accelerator_junk_on_error):
10667 * menubar-x.c (command_builder_find_menu_accelerator):
10668 * menubar-x.c (Faccelerate_menu):
10670 Moved a whole bunch of code here that was previously in
10671 event-stream.c as described above. There is also code connected
10672 to the new standard of adding an accelerator to the beginning of
10673 menu items that don't have one as described above and below.
10676 * menubar.c (menu_parse_submenu_keywords):
10677 * menubar.c (Fmenu_find_real_submenu):
10678 * menubar.c (Fnormalize_menu_item_name):
10679 * menubar.c (syms_of_menubar):
10680 * menubar.c (vars_of_menubar):
10681 * menubar.c (complex_vars_of_menubar):
10683 a) Cleaned up a bunch of documentation and improved it.
10685 b) XEmacs now automatically adds an accelerator onto the beginning
10686 of any menu items that don't have one. I did this because there
10687 will inevitably be some menu items on the main menubar that don't
10688 have accelerators on them because the package that adds that
10689 particular menu item hasn't yet been fixed up to have accelerators
10690 in them and it looked rather strange to have some items with and
10691 some items without accelerators, especially since even in items
10692 without accelerators, you can, at least under windows, still
10693 access the item through an accelerator corresponding to the first
10694 character in the item's name. If people don't like this behavior,
10695 I can add a variable to turn it off optionally, but I'm not sure
10696 this is a good idea because we really do need to have accelerators
10697 on all of the menu items, and if a package doesn't like the
10698 accelerators being put on the first character, then it should put
10699 the accelerators where they belong.
10701 c) I made a behavior change, which is that the descriptor that
10702 specifies the text of the menu item, which formerly was just a
10703 string, can now also be an evaluated expression. This makes this
10704 descriptor parallel with all of the others, which could also be
10705 evaluated expressions. This also obviates the need for the
10706 keyword :label, which was previously listed in the documentation
10707 as unimplemented, and which was for the same purpose.
10712 * ntproc.c (new_child):
10713 * ntproc.c (sys_spawnve):
10714 * ntproc.c (find_child_console):
10715 * ntproc.c (sys_kill):
10716 Fixed compile warnings. By the way, this file should really go
10717 away entirely, and this will happen as soon as Kirill makes his
10718 final round of process cleanups, which affect the function
10722 * process-nt.c (struct nt_process_data):
10723 * process-nt.c (find_process_from_pid):
10724 * process-nt.c (send_signal_the_nt_way):
10725 * process-nt.c (enable_child_signals):
10726 * process-nt.c (find_child_console):
10727 * process-nt.c (send_signal_the_95_way):
10728 * process-nt.c (nt_finalize_process_data):
10729 * process-nt.c (ensure_console_window_exists):
10730 * process-nt.c (nt_create_process):
10731 * process-nt.c (nt_kill_child_process):
10732 * process-nt.c (nt_kill_process_by_pid):
10733 * process-nt.c (nt_open_network_stream):
10734 * process-nt.c (vars_of_process_nt):
10735 Copied over code from Emacs 20.5 to correctly send signals to sub-
10736 processes under Windows 95. Also added code to automatically
10737 create and hide console window when a sub-process is created under
10738 Windows 95, which obviates the need for the separate runemacs.exe
10739 executable, and finally implemented some variables that were
10740 implemented in Emacs 20.5, but previously not in XEmacs. These
10741 include mswindows- start-process-share-console and
10742 mswindows-start-process-inherit-error-mode. (Both of these only
10743 apply to Windows 95.)
10745 * regex.c (regex_compile): Fixed a compile warning.
10748 * select-msw.c (mswindows_own_selection):
10749 * select-msw.c (mswindows_get_foreign_selection):
10750 * select-msw.c (mswindows_disown_selection):
10751 * select-msw.c (console_type_create_select_mswindows):
10752 * select-msw.c (syms_of_select_mswindows):
10753 Cleaned up the file and implemented the device method
10754 selection_exists_p, which had accidentally been left out. Also
10755 removed four lisp functions that were remnants from before the
10756 time when the selection code was properly device abstracted.
10757 These functions are no longer needed because there are generic
10758 equivalents, and because they were added recently and don't exist
10759 in FSF Emacs, I don't think there's any problem with just deleting
10763 * sysdep.c (sys_subshell):
10764 Fixed a compile warning, although in this case there's probably
10765 something wrong with this code, and it ought to be looked into
10766 more thoroughly by somebody who understands it.
10769 * window.c (Fwindow_text_area_height):
10770 * window.c (Fwindow_width):
10771 * window.c (Fwindow_full_width):
10772 * window.c (Fwindow_pixel_width):
10773 * window.c (debug_print_window):
10774 * window.c (syms_of_window):
10775 Added functions window-text-area-height and window-full-width,
10776 which are functions for returning various width and height
10777 characteristics of a window. (One of these functions is necessary
10778 for making the file dialog box work correctly, and the other one
10779 was added for completeness.) Also added a table to the
10780 documentation for window-height which describes the entire scheme
10781 for accessing width and height characteristics of a window.
10783 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10785 * nt.c (fstat): Added a comment for another problem with
10786 non-encapsulated [f]stat(), reported by Adrian Aichner
10787 <aichner@ecf.teradyne.com>.
10789 2000-03-11 Andy Piper <andy@xemacs.org>
10791 * window.c (make_dummy_parent): initialize subwindow instance
10793 (Fset_window_configuration): zero extent_modiff.
10795 2000-03-10 Andy Piper <andy@xemacs.org>
10797 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
10798 more changes can be triggered.
10799 (Fredisplay_frame): ditto.
10800 (Fredraw_device): ditto.
10801 (Fredisplay_device): ditto.
10802 (redisplay_frame): make non-static.
10803 (redisplay_frame): call update_frame_gutter_geometry outside of
10806 * gutter.h: declare update_frame_gutter_geometry.
10808 * redisplay.h: declare redisplay_frame.
10810 * gutter.c (update_frame_gutter_geometry): move geometry changes
10811 in update_frame_gutters here. Geometry changes can only occur
10812 outside of redisplay.
10813 (update_frame_gutters): remove geometry change code.
10814 (Fredisplay_gutter_area): make sure that we are in display when we
10815 update and that we have flushed any size changes.
10817 2000-03-11 Andy Piper <andy@xemacs.org>
10819 * alloc.c (pdump_dump_data): remove i & count shadows.
10821 2000-02-27 Mike Alexander <mta@arbortext.com>
10823 * sysdep.h: Declare pdump_read_file
10825 * sysdep.c (pdump_read_file): New function
10827 * alloc.c (pdump_load): Call pdump_read_file to get the portable
10830 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10832 * lrecord.h: add `lrecord_type_pgsetenv'.
10834 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
10836 * symsinit.h: declare (vars|syms)_of* functions.
10837 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
10839 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
10841 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
10843 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
10846 * emacs.c (main_1): Call postgres initialization code.
10848 * postgresql.h: New file. PostgreSQL RDBMS support.
10849 * postgresql.c: New file.
10851 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
10853 * redisplay-output.c (redisplay_output_display_block): Disable
10856 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10858 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
10859 (Fcanna_henkan_next): Ditto.
10860 (Fcanna_bunsetu_henkou): Ditto.
10861 (Fcanna_henkan_kakutei): Ditto.
10862 (Fcanna_henkan_end): Ditto.
10863 (Fcanna_henkan_quit): Ditto.
10864 (Fcanna_henkan_next): Set retun value correctly.
10865 (c2mu): Use unsigned char instead of signed char.
10867 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10869 * emacs.c (main_1): Always call syms_of_gui.
10870 * inline.c: include gui.h
10872 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10874 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
10875 converted to Lisp_Object.
10876 (Qtop_bottom): New variable.
10877 (syms_of_redisplay): Initialize it.
10878 * redisplay.h (Vvisible_bell): Ditto.
10879 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
10880 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
10881 only flash top and bottom.
10883 2000-03-08 Andy Piper <andy@xemacs.org>
10885 * buffer.c (Frename_buffer): record new buffer name the right way.
10887 2000-03-08 Andy Piper <andy@xemacs.org>
10889 * glyphs.c (update_subwindow): increase hash depth so that widget
10890 items get picked up properly.
10892 * redisplay-output.c (compare_runes): increase hash depth so that
10893 widget items get picked up properly.
10895 2000-03-08 Andy Piper <andy@xemacs.org>
10897 * gutter.c (output_gutter): add some debug.
10899 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
10900 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
10901 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
10903 * redisplay-output.c (compare_runes): use display_hash to
10904 determine if glyphs really are not the same.
10906 * glyphs.c (update_subwindow): check display_hash to see if
10907 anything really needs to be updated. If not then do
10908 nothing. Record the display_hash after updating.
10909 (image_instance_equal): compare the image_instance face also.
10911 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
10913 * redisplay.h: Fix comment style.
10915 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
10917 * consle-msw.h (struct mswindows_frame):
10918 Added new member paint_pending to indicate whether a WM_PAINT
10919 magic event has been queued for this frame.
10921 * event-msw.c (mswindows_drain_windows_queue):
10922 Don't queue a WM_PAINT magic event if one is already queued.
10923 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
10925 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
10927 2000-03-07 Didier Verna <didier@xemacs.org>
10929 * dired.c: #include `regex.h' after `sysfile.h'.
10931 2000-03-06 Martin Buchholz <martin@xemacs.org>
10933 * sound.c (init_nas_sound): Fix compiler warning.
10935 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
10937 (MARK_STRUCT_AS_FREE):
10938 (MARK_STRUCT_AS_NOT_FREE):
10939 Make `gcc -fstrict-aliasing' work properly.
10941 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
10943 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
10944 (mswindows_delete_device): Call CoUnnitialize().
10946 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
10948 2000-02-25 <CraigL@DyCon.com>
10950 * process-nt.c: MinGW now has <shellapi.h>, but still needs
10953 * sysdep.c: This extern declaration for environ prevents MinGW
10954 from finding the variable in CRTDLL.DLL.
10956 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
10958 (SHGFI_EXETYPE): ..
10959 (WM_MOUSEWHEEL): ..
10960 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
10962 (MMRESULT): Removed, now defined in cygwin's windows headers.
10964 (uid_t,gid_t,pid_t,ssize_t): ..
10965 (_timeb): Removed, MinGW defines both _timeb and timeb.
10966 (HAVE_H_ERRNO): Added.
10967 (HAVE_TZNAME): Added, configure is not detecting this.
10969 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
10971 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
10972 * syntax.c (syntax_match): Use it.
10974 * cmds.c: Import auto-fill-chars from FSF Emacs.
10975 (Vauto_fill_chars): New variables.
10976 (internal_self_insert): Check Vauto_fill_chars.
10978 Declare auto-fill-chars as a Lisp variable and initialize it.
10980 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10982 * fileio.c (Fmake_symbolic_link):
10984 Run handlers even if local machine doesn't have symlinks.
10986 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10988 * event-msw.c (mswindows_drain_windows_queue):
10989 Don't generate paint magic events for non-XEmacs frames.
10991 2000-03-05 Andy Piper <andy@xemacs.org>
10993 * redisplay.c (redisplay_frame): generate_displayable_area and
10994 friends assumes that we are not in GC, we therefore have to make
10995 sure that this doesn't happen.
10997 * gutter.c (calculate_gutter_size): generate_displayable_area
10998 assumes that we are not in GC, we therefore have to make sure that
10999 this doesn't happen.
11001 2000-03-05 Martin Buchholz <martin@xemacs.org>
11003 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
11005 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
11007 * redisplay.c (regenerate_window): Make sure we set a sane value
11008 for end_pos even if we jump out of the loop.
11009 (regenerate_window): Answer Ben's question :-).
11010 (start_end_of_last_line): Add may_error argument.
11011 (start_of_last_line):
11012 (end_of_last_line): Pass may_error = 0.
11013 (end_of_last_line_may_error): New function.
11014 (pixel_to_glyph_translation): Use it, so we don't crash in
11017 2000-03-04 Andy Piper <andy@xemacs.org>
11019 * window.h (struct window): add gutter_extent_modiff.
11021 * window.c (allocate_window): zero out gutter_extent_modiff.
11023 * redisplay.h: declare sync_display_line_structs.
11025 * redisplay.c (add_glyph_rune): add a better comment.
11027 * redisplay-output.c (sync_display_line_structs): made non-static.
11028 (compare_runes): remove unneccesary glyph cachel access.
11030 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
11032 * gutter.c (output_gutter): don't output the gutter if extent
11033 changes only involve extents in buffers. use 4 sets of display
11035 (gutter_extent_signal_changed_region_maybe): new function. Mark
11036 extents in gutters as changed.
11037 (update_frame_gutters): use 4 sets of display lines.
11038 (reset_gutter_display_lines): ditto.
11039 (free_frame_gutters): ditto.
11040 (redraw_exposed_gutter): force output of gutters.
11042 * frame.h (struct frame): add 4 sets of gutter display lines.
11044 * extents.c: (extent_changed_for_redisplay): signal changes to
11045 extents in strings in the gutter as well as extents in buffers.
11047 2000-03-02 Andy Piper <andy@xemacs.org>
11049 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
11051 * frame.c (Fmake_frame): make sure the gutters get initialized
11052 after the frame is visible.
11053 (set_frame_selected_window): re-arrange compilation macros a
11055 (change_frame_size_1): mark gutters changed.
11057 * device.c (Fset_device_class): mark gutters changed.
11059 2000-03-01 Andy Piper <andy@xemacs.org>
11061 * window.c (window_top_frame_gutter_height): deleted.
11062 (window_bottom_frame_gutter_height): ditto.
11063 (window_left_frame_gutter_height): ditto.
11064 (window_right_frame_gutter_height): ditto.
11065 (window_top_gutter_height): don't use them.
11066 (window_bottom_gutter_height): ditto.
11067 (window_left_gutter_width): ditto.
11068 (window_right_gutter_width): ditto.
11069 (Fsplit_window): ditto.
11070 (Fwindow_pixel_edges): don't use border dimensions here.
11072 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
11073 (update_scrollbar_instance): ditto.
11075 * redisplay.c (generate_modeline): don't take gutters into account.
11076 (generate_modeline): ditto.
11077 (redisplay_frame): small gutter display optimization.
11079 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
11081 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
11082 gutters into account.
11084 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
11085 for window position and type.
11087 * gutter.c (get_gutter_coords): fix for frame gutters.
11088 (update_frame_gutters): update frame geometry if the gutters have
11090 (init_frame_gutters): record current gutter geometries.
11092 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
11094 (mswindows_widget_instantiate): ditto.
11096 * frame.h (struct frame): add current_gutter_bounds.
11098 * frame.c (change_frame_size_1): position window and minibuffer
11099 appropriately taking into account the frame gutters.
11101 * frame-x.c: (x_initialize_frame_size): take into account the
11104 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11106 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11108 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11110 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11112 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11114 * file-coding.c (reset_decoding_stream): Clear previous
11115 detection state when autodetect.
11117 2000-02-29 Didier Verna <didier@xemacs.org>
11119 * extents.c (set_extent_glyph_1): don't require extents to be
11122 2000-02-27 Andy Piper <andy@xemacs.org>
11124 * gutter.c (Fset_default_gutter_position): don't default left and
11125 right gutter visibility to t.
11126 (Fset_default_gutter_position): run
11127 default-gutter-position-changed-hook.
11128 (syms_of_gutter): add default-gutter-position-changed-hook.
11130 2000-02-26 Andy Piper <andy@xemacs.org>
11132 * specifier.c (Fmake_specifier): add gutter references.
11134 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11136 * lisp.h: declare Fvalid_plist_p.
11138 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11140 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11141 well as its visibility so that it gets reconstructed.
11142 (construct_window_gutter_spec): new function. Construct a string
11143 to be displayed in the gutter from a plist of strings. Take care
11144 to only use elements that are declared as visible.
11145 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11147 (gutter_validate): allow plists of strings in the specifier.
11148 (gutter_specs_changed): construct the real_gutter from the gutter
11149 specs using construct_window_gutter_spec.
11150 (gutter_visible_validate): gutter-visible is a new specifier type.
11151 (Fgutter_visible_specifier_p): new function for the new specifier.
11152 (syms_of_gutter): declare gutter-visible and
11153 Fgutter_visible_specifier_p.
11154 (specifier_type_create_gutter): intitalize new gutter-visible
11156 (reinit_specifier_type_create_gutter): ditto.
11157 (specifier_vars_of_gutter): use new specifier type for gutter
11159 (init_frame_gutters): construct real_gutter correctly.
11160 (Fgutter_specifier_p): beef up documentation.
11161 (Fgutter_size_specifier_p): ditto.
11163 * winslots.h: add real_gutter slots.
11165 2000-02-25 Andy Piper <andy@xemacs.org>
11167 * device-msw.c: Be kind to older cygwin versions. From Raymond
11168 Toy <toy@rtp.ericsson.se>.
11170 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11171 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11173 2000-02-25 Martin Buchholz <martin@xemacs.org>
11175 * elhash.c (MARK_OBJ): Practice macro hygiene.
11177 2000-02-24 Martin Buchholz <martin@xemacs.org>
11179 * miscplay.c: s/__inline__/inline/g;
11180 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11181 (get_device_compdc): INLINE ==> static inline
11182 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11183 find -name '*.h' | \
11184 xargs global-replace \
11185 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11187 2000-02-25 Andy Piper <andy@xemacs.org>
11189 * window.c (window_top_frame_gutter_height): new function.
11190 (window_top_window_gutter_height): ditto.
11191 (window_top_gutter_height): use them.
11192 (window_bottom_frame_gutter_height): new function.
11193 (window_bottom_window_gutter_height): ditto.
11194 (window_bottom_gutter_height): use them.
11195 (window_left_window_gutter_width): new function.
11196 (window_left_frame_gutter_width): ditto.
11197 (window_left_gutter_width): use them.
11198 (window_right_window_gutter_width): new function.
11199 (window_right_frame_gutter_width): ditto.
11200 (window_right_gutter_width): use them.
11201 (window_pixel_height): new function. calulate window pixel height
11202 with frame gutter involvement.
11203 (Fsplit_window): calculate new sizes taking frame gutters into
11205 (window_char_height_to_pixel_height): don't include frame gutters.
11206 (window_char_height): use window_pixel_height.
11207 (window_pixheight): rename from window_pixel_height.
11208 (change_window_height): use it.
11209 (window_pixel_height_to_char_height): don't include frame gutters.
11210 (window_char_width_to_pixel_width): ditto.
11212 2000-02-25 Andy Piper <andy@xemacs.org>
11214 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11217 2000-02-24 Martin Buchholz <martin@xemacs.org>
11219 * alloc.c (staticpro):
11220 (staticpro_nodump):
11225 (compact_string_chars):
11226 (pdump_dump_wired):
11227 Convert: if (foo) abort(); ==> assert (! foo);
11229 * eldap.c (Fldap_search_basic):
11233 Fix compiler warnings, and possible crashes if (random) return
11234 value were to be used.
11236 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11238 * device-msw.c: Workaround ResetDC failure.
11240 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11241 applying a devmode.
11243 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11244 (mswindows_text_width): Do not start printer page.
11246 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11248 * glyphs-msw.c: Added image methods to msprinter console and
11249 msprinter-specific image instantiation.
11251 2000-02-20 Mike Alexander <mta@arbortext.com>
11253 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11254 to avoid crashes when selection-sets-clipboard is on
11255 (mswindows_own_selection): ditto
11257 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11260 * redisplay-msw.c (get_frame_dc):
11261 (get_frame_compdc):
11263 * device-msw.c (mswindows_init_device):
11264 (mswindows_delete_device):
11265 (msprinter_init_device):
11266 (msprinter_delete_device):
11267 * frame-msw.c (mswindows_init_frame_1):
11268 (mswindows_delete_frame):
11269 (msprinter_init_frame_3):
11270 (msprinter_delete_frame): Move compatible DC to device object from
11271 frame object, for both mswindows and msprinter. Only one at a time
11272 is needed, it is a real waste to have one per frame!
11274 2000-02-23 Andy Piper <andy@xemacs.org>
11276 * glyphs.c: add dynamic width and height elements.
11277 (image_instance_equal): ditto.
11279 * glyphs-widget.c (widget_query_geometry): calculate width and
11280 height dynamically if required.
11281 (initialize_widget_image_instance): initialize dynamic dimensions.
11282 (widget_instantiate): pick-up dynamic dimensions.
11284 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11285 dynamic determination. Add appropriate macros.
11287 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11289 (WINDOW_GUTTER_SIZE): ditto.
11290 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11292 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11294 (get_frame_dc): ditto.
11296 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11299 2000-02-23 Martin Buchholz <martin@xemacs.org>
11301 * XEmacs 21.2.31 is released.
11303 2000-02-22 Ben Wing <ben@xemacs.org>
11305 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11307 2000-02-22 Andy Piper <andy@xemacs.org>
11309 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11311 2000-02-21 Mike Sperber <mike@xemacs.org>
11315 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11318 2000-02-21 Mike Sperber <mike@xemacs.org>
11320 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11322 2000-02-21 Martin Buchholz <martin@xemacs.org>
11324 * XEmacs 21.2.30 is released.
11326 2000-02-20 Martin Buchholz <martin@xemacs.org>
11328 Performance hacking.
11330 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11331 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11332 * emacs.c (main_1):
11334 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11335 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11336 * symeval.h (DEFVAR_SYMVAL_FWD):
11337 * symbols.c (guts_of_unbound_marker):
11338 Make all c_readonly objects also lisp_readonly and marked for life.
11339 * lrecord.h (struct lrecord_implementation):
11340 Document flags better.
11341 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11342 * lrecord.h (DECLARE_LRECORD):
11343 * lrecord.h (XSETRECORD):
11344 * lrecord.h (RECORDP):
11345 * lrecord.h (RECORD_TYPEP):
11346 * lrecord.h (RECORD_MARKER): New.
11347 * lrecord.h (error_check_*):
11348 * lrecord.h (CONCHECK_NONRECORD):
11349 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11350 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11351 * lrecord.h (set_lheader_implementation):
11352 * lrecord.h (enum lrecord_type): New.
11353 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11354 * alloc.c (disksave_object_finalization_1):
11355 * alloc.c (mark_object):
11356 * alloc.c (lrecord_type_index):
11357 * alloc.c (tick_lcrecord_stats):
11358 * alloc.c (Fgarbage_collect):
11359 * alloc.c (init_alloc_once_early):
11360 * alloc.c (pdump_load):
11361 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11362 * alloc.c (lrecord_type_index): Delete.
11363 Make lisp object type indexes be constant.
11364 Makes (byte-compile) 5% faster.
11365 Put all marker functions into their own array.
11366 Makes (garbage-collect) 5% faster.
11367 Optimize SYMBOL_VALUE_MAGIC_P.
11368 Makes (byte-compile) 2-3% faster.
11369 * config.h.in (gc_checking_assert): New.
11370 * alloc.c: Use gc_checking_assert().
11371 * .dbxrc: Make compatible with new object type implementation.
11372 * .gdbinit: Make compatible with new object type implementation.
11373 * alloc.c: Delete all symbols defined only for debugging, such as
11374 Lisp_Type_Vector and lrecord_charset.
11376 2000-02-21 Andy Piper <andy@xemacs.org>
11378 * gui-msw.c (Fmswindows_shell_execute): fix file location
11381 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11382 unshowing so that set_window_buffer doesn't undo
11383 kill_buffer_hook's hard work.
11385 * glyphs-widget.c (tab_control_query_geometry): don't count the
11386 first item when calculating geometry.
11388 * glyphs.c (map_subwindow): remove redundant code.
11389 (update_frame_subwindows): be more circumspect about when to
11392 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11393 when items haven't changed. Update faces if faces have changed as
11394 well as just the widget face.
11395 (x_tab_control_update): Update faces if faces have changed as well
11396 as just the widget face.
11398 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11400 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11402 (build_syscolor_string): Use mswindows_color_to_string to try to
11404 (mswindows_device_system_metrics): Reverse the foreground and
11405 background colors so that they match the documentation.
11407 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11408 they match the default Windows palette.
11409 (mswindows_color_to_string): New function.
11411 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11413 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11415 2000-02-18 Olivier Galibert <galibert@pobox.com>
11417 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11418 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11420 * symbols.c (init_symbols_once_early): Removed obsolete
11421 DATA_SEG_BITS related kludge.
11422 (defvar_magic): Ditto.
11424 * malloc.c: Removed obsolete DATA_SEG_BITS
11426 * mem-limits.h: Ditto.
11428 * Makefile.in.in: Removed obsolete HAVE_SHM
11431 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11433 * device-msw.c (mswindows_delete_device): Free DDE string
11436 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11438 * keymap.c (get_keyelt):
11439 * unexnt.c (unexec):
11440 * vm-limit.c (memory_warnings):
11441 * ntheap.c (recreate_heap):
11442 * ntheap.h (UNINIT_PTR):
11443 * select-msw.c (Fmswindows_get_clipboard):
11444 (Fmswindows_set_clipboard):
11445 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11447 * menubar-msw.c (displayable_menu_item):
11449 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11450 * sysdep.c (sys_subshell):
11451 * process-nt.c (nt_create_process):
11452 * nt.c (normalize_filename):
11453 (dostounix_filename):
11454 (unixtodos_filename):
11455 * ntproc.c (win32_executable_type):
11456 * ntplay.c (play_sound_data_1):
11458 * editfns.c (get_home_directory):
11459 * event-msw.c (struct winsock_stream):
11460 (mswindows_dde_callback):
11461 * device-msw.c (msprinter_init_device):
11462 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11464 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11465 mswindows_clear_toolbar were swapped!
11467 * objects-msw.c:(colormap_t):
11469 * emacs.c (struct standard_args): Fixed const jumble.
11471 * glyphs-widget.c (update_widget): Fixed comparison notation.
11473 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11475 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11476 __declspec(noreturn) syntax.
11478 2000-02-19 Martin Buchholz <martin@xemacs.org>
11480 * eldap.c (Fldap_open):
11481 (Fldap_search_basic):
11484 Use new coding system conversion macros.
11486 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11488 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11490 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11492 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11493 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11495 * eldap.c (Qadd, Qreplace): New constant symbols
11496 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11497 interruptions by XEmacs signals
11498 Remove unnecessary calls to slow_down_interrupts and
11499 speed_up_interrupts
11500 (Fldap_search_basic): Renamed from Fldap_search_internal
11501 Added new optional parameter VERBOSE that triggers the
11502 display of progress messages
11503 Remove unnecessary calls to slow_down_interrupts and
11504 speed_up_interrupts
11505 LDAP result code analysis rewritten
11506 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11507 (syms_of_eldap): Define the new symbols and functions
11510 2000-02-17 Martin Buchholz <martin@xemacs.org>
11512 * realpath.c: Determine PATH_MAX maximally portably.
11514 * insdel.c (bytecount_to_charcount): Optimize.
11515 The function used to be optimized for entirely ASCII sequences.
11516 Now it is optimized for successive characters from the same
11517 charset. This also wins big for _mostly_ ASCII sequences.
11519 * fileio.c (Ffile_truename): convert return from realpath() using
11520 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11521 - Rewrite GCPROing slightly.
11523 * sysdep.c (sys_open): Do filename conversion, like all other
11524 sys_* functions. Fixes bug:
11525 (let ((file-name-coding-system 'iso-8859-2))
11526 (write-region x y latin2-name))
11527 ==> writes filename using internal encoding.
11529 2000-02-18 Martin Buchholz <martin@xemacs.org>
11531 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11532 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11533 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11534 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11535 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11536 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11537 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11538 (CONST_IF_NOT_DEBUG): Delete.
11539 * alloc.c (this_one_is_unmarkable): Delete.
11540 (mark_object): Don't check for this_one_is_unmarkable. Use the
11541 c_readonly flag instead.
11542 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11544 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11546 * event-msw.c (mswindows_drain_windows_queue):
11547 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11548 away redundant repaint events.
11550 2000-02-17 Andy Piper <andy@xemacs.org>
11552 * redisplay.h: declare mark_redisplay_structs.
11554 * redisplay.c (redisplay_window):
11555 (redisplay_frame): don't check subwindows_state_changed.
11556 (mark_redisplay): mark gutters here.
11558 * glyphs.c: (instantiate_image_instantiator): always layout if we
11559 haven't done so already.
11560 (allocate_image_instance): don't mark as dirty.
11561 (update_subwindow): bind inhibit_quit.
11563 * gutter.c (mark_gutters): new function.
11565 * glyphs-x.c (x_update_widget): Always resize to get round a
11568 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11569 breaking absolutely everything.
11571 * gutter.h: declare mark_gutters.
11573 2000-02-16 Martin Buchholz <martin@xemacs.org>
11575 * XEmacs 21.2.29 is released.
11577 2000-02-15 Olivier Galibert <galibert@pobox.com>
11579 * fns.c (size_bit_vector): Fix computation of the size.
11581 2000-02-15 Martin Buchholz <martin@xemacs.org>
11583 * *.[ch]: Change CONST to const globally.
11584 find -name '*.[ch]' | \
11585 xargs global-replace \
11586 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11587 - Remove vestigial references to CONST_IS_LOSING
11589 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11591 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11592 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11593 events instead of dispatching them directly.
11594 (mswindows_handle_paint): New function to do repainting.
11595 (mswindows_wnd_proc):
11596 (emacs_mswindows_handle_magic_event): Call above function.
11598 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11600 * objects-msw.c (mswindows_create_font_variant): Return the new
11602 (initialize_font_instance): Get font metrics from the underlined
11603 variant of the font to cope with the case where the underlined
11604 font has a bigger descent.
11606 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11608 * gui.c (gui_item_accelerator): Return the first underlined
11609 character in item name.
11611 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11613 * lisp.h: Added Qprinter.
11615 * general.c (syms_of_general): Initialized it.
11617 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11619 (get_frame_compdc): Made inline.
11621 * console.h (struct console_methods): Added eject_page method.
11623 * frame.h: Added FRAME_DISPLAY_P and friends.
11624 Aligned backslahes in many macros in more readable fashion.
11625 Added page_number to struct frame, and an accessor macro
11628 * defice.h: Added DEVICE_DISPLAY_P and friends.
11630 * device.c (Fdevice_printer_p): Used these.
11632 * frame.c (allocate_frame_core): Initialize page number.
11633 (Fprint_job_page_number):
11634 (Fprint_job_eject_page): Implemented.
11636 * frame-msw.c (msprinter_eject_page): Added method.
11637 (msprinter_start_page): Added.
11639 * window.c (Fwindow_truncated_p): Fixed docstring.
11640 (Fwindow_last_line_visible_height): Implemented.
11642 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11644 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11646 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11648 * syntax.c (scan_words): Always advance at least one character.
11650 2000-02-13 Andy Piper <andy@xemacs.org>
11652 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11653 to make sure the glyph is in the cachels.
11655 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11656 global image instance flag.
11657 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11658 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11660 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11661 (Fset_image_instance_property): mark layout as changed.
11662 (invalidate_glyph_geometry_maybe): mark layout as changed.
11663 (glyph_width): use new NEEDS_LAYOUT macro.
11664 (glyph_ascent): ditto.
11665 (glyph_descent): ditto.
11666 (glyph_height): ditto.
11667 (image_instance_layout): mark layout as clean after laying out.
11668 (update_subwindow): don't mark layout as clean here.
11670 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11671 should no longer be needed.
11673 * glyphs-x.c (x_update_widget): sanitize asserts.
11674 (x_finalize_image_instance): sanitize assignment to widgets.
11676 * glyphs-widget.c (widget_instantiate): don't need to clear the
11679 2000-02-13 Martin Buchholz <martin@xemacs.org>
11681 * sysdep.c (getcwd): Use standard prototype.
11682 * sysdep.h (getcwd): Use standard prototype.
11684 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
11685 (sequence, start, end).
11686 Remove redundant type checking.
11687 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
11688 view of `caller-protects') to avoid a crash where the real fix was
11691 2000-02-12 Martin Buchholz <martin@xemacs.org>
11693 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
11695 * s/sol2.h: Remove feature macro initialization.
11697 * alloc.c (alloc_lcrecord): Add more type checking assertions.
11698 (vector_hash): New. Code from internal_hash.
11700 Fix up allocation subsystem comments.
11702 * config.h.in: Add __EXTENSIONS__ for Solaris.
11704 * systime.h (EMACS_GETTIMEOFDAY): New.
11705 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
11706 Remove Solaris-specific code.
11707 Use void* for the (ignored) second arg for gettimeofday().
11709 * elhash.c (hash_table_hash): Implement it, finally.
11710 * elhash.c: Use hashcode_t.
11712 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
11713 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
11715 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
11716 * fns.c (size_bit_vector):
11717 * alloc.c (size_vector):
11718 (make_vector_internal):
11719 (make_bit_vector_internal):
11720 (sweep_bit_vectors_1):
11721 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
11723 2000-02-10 Martin Buchholz <martin@xemacs.org>
11725 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
11726 Include strings.h to avoid warnings for bzero and strcasecmp.
11728 2000-02-10 Olivier Galibert <galibert@pobox.com>
11730 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
11731 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
11733 * fns.c (size_bit_vector): New. Declare bit vectors as a
11736 2000-02-10 Olivier Galibert <galibert@pobox.com>
11738 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
11739 use a value field instead.
11740 (symbol_value_forward_forward): Use value field.
11741 (DEFVAR_SYMVAL_FWD): Use value field.
11742 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
11743 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
11744 (DEFVAR_CONST_INT): Ditto.
11745 (DEFVAR_BOOL): Ditto.
11746 (DEFVAR_CONST_BOOL): Ditto.
11747 (DEFVAR_INT_MAGIC): Ditto.
11748 (DEFVAR_BOOL_MAGIC): Ditto.
11750 * symbols.c (guts_of_unbound_marker): Use value field.
11751 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
11752 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
11754 * lisp.h: Declare dumpopaque and noninteractive1.
11756 * alloc.c (dumpopaque): Added.
11757 (pdump_dump_opaquevec): Added.
11758 (pdump): Call pdump_dump_opaquevec to dump opaque data.
11759 (pdump_load): Reload opaque data. Sync noninteractive1 with
11762 2000-02-10 Andy Piper <andy@xemacs.org>
11764 * glyphs.c (image_instance_layout): if the size changes, mark it
11767 * redisplay-output.c (redisplay_output_layout): Update the
11769 (redisplay_output_subwindow): ditto.
11771 * glyphs.c (update_subwindow): make sure we reset flags for
11772 layouts as well as everything else.
11774 * glyphs-widget.c (layout_layout): don't need to set the instances
11777 2000-02-09 Martin Buchholz <martin@xemacs.org>
11779 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
11780 not HAVE_DLOPEN, which is a lower-level thing.
11782 * .cvsignore: Ignore gmon.out
11784 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
11786 * .cvsignore: Ignore portable dumper xemacs.dmp file
11788 2000-02-09 Andy Piper <andy@xemacs.org>
11790 * redisplay-output.c (redisplay_output_layout): be more clever
11791 about when we output based on the changed flags.
11793 * glyphs.h (struct image_instantiator_methods): add update_method.
11794 (struct Lisp_Image_Instance): add changed flags. Declare new
11795 macros for manipulating them.
11797 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
11798 (image_instance_parent_glyph): find an image_instance's parent
11799 glyph or image_instance.
11800 (image_instance_layout): mark the size as changed.
11801 (set_image_instance_dirty_p): new function. mark an image
11802 instance, plus all of its parents, as dirty.
11803 (Fset_image_instance_property): use it.
11804 (Fglyph_animated_timeout_handler): use it.
11805 (update_subwindow): call update_widget and device methods for
11806 update_subwindow. Mark all changed flags as clean.
11807 (Fresize_subwindow): mark size as changed.
11809 * glyphs-x.c (x_finalize_image_instance): try and detect gc
11811 (x_update_subwindow): only resize subwindows here.
11812 (x_update_widget): new function. Update all changed properties of
11814 (x_resize_subwindow): deleted.
11815 (x_widget_set_property): deleted.
11816 (x_progress_gauge_set_property): deleted.
11817 (x_progress_gauge_update): new function. Implement recorded
11819 (x_tab_control_update): ditto.
11820 (x_tab_control_set_property): deleted.
11821 (console_type_create_glyphs_x): declare new functions.
11822 (image_instantiator_format_create_glyphs_x): ditto.
11824 * glyphs-widget.c (widget_set_property): mark text changed.
11825 (update_widget): new function. Update properties of a widget.
11826 (widget_instantiate): for layouts make sure we set their
11827 children's parent correctly.
11828 (tab_control_set_property): new function. Record changes that will
11829 take place under redisplay's control.
11830 (progress_gauge_set_property): ditto.
11831 (image_instantiator_progress_guage): declare new functions.
11832 (image_instantiator_tab_control): ditto.
11834 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
11836 (mswindows_update_widget): new function. Update all properties on
11837 a widget that have changed.
11838 (mswindows_button_update): new function. Update a button's set
11840 (mswindows_tab_control_update): new function. Update the items in
11842 (mswindows_tab_control_set_property): deleted.
11843 (mswindows_progress_gauge_update): new function. Update the
11844 progress gauge's progress.
11845 (mswindows_widget_set_property): deleted. This is all done
11846 asynchronously now.
11847 (mswindows_progress_gauge_set_property): ditto.
11848 (console_type_create_glyphs_mswindows): declare new methods.
11849 (image_instantiator_format_create_glyphs_mswindows): ditto.
11851 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
11852 (msprinter_set_frame_properties): ditto.
11854 * console.h (struct console_methods): Add update_widget_method.
11856 2000-02-09 Andy Piper <andy@xemacs.org>
11858 * gui-msw.c (Fmswindows_shell_execute): Make
11859 mswindows-shell-execute industrial strength.
11861 2000-02-08 Martin Buchholz <martin@xemacs.org>
11863 * lrecord.h: Make macro argument `props' match member function `plist'.
11866 * fns.c (Fremprop):
11867 * fns.c (Fobject_plist):
11870 Object property list frobbing cleanup.
11871 - Allow any lisp object (compared with `eq'), not just symbols, as
11872 keys in object plists.
11873 - Move symbol plist frobbing into symbols.c, where it belongs.
11874 - Move string plist frobbing into alloc.c, where it belongs.
11875 - Everything's an lrecord now, so no need to test for symbolp, etc.
11876 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
11878 * extents.c: Reorder code to remove declarations.
11880 * frame.h (store_in_alist): Remove useless declaration.
11882 2000-02-07 Martin Buchholz <martin@xemacs.org>
11884 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
11885 * config.h.in: Add HAVE_XCONVERTCASE.
11887 2000-02-07 Andy Piper <andy@xemacs.org>
11889 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
11890 it breaks many things.
11892 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11894 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
11895 actually can start a common comment type.
11896 * src/syntax.h (SYNTAX_END_P): ditto for end.
11898 2000-02-07 Martin Buchholz <martin@xemacs.org>
11900 * XEmacs 21.2.28 is released.
11902 2000-02-06 Martin Buchholz <martin@xemacs.org>
11904 * event-Xt.c (x_keysym_to_character): New.
11905 (maybe_define_x_key_as_self_inserting_character): New.
11906 (x_has_keysym): New.
11907 Auto-define all keys on the keyboard as self-insert-key.
11909 2000-02-02 Martin Buchholz <martin@xemacs.org>
11911 * menubar.c (vars_of_menubar): A small code simplification.
11913 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
11916 * ExternalClient.c:
11917 * EmacsShell-sub.c:
11920 Use consistent style for specifying X resources.
11922 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
11923 This makes (dontusethis-set-symbol-value-handler) actually usable.
11925 * lrecord.h (lrecord_decription_type):
11926 * alloc.c (pdump_register_sub):
11929 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
11930 Comply with XEmacs coding style.
11931 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
11932 args, and XD_LISP_OBJECT_ARRAY with 3 args.
11934 * keymap.c (Faccessible_keymaps):
11935 Make (accessible-keymaps map "\C-h") do the Right Thing.
11936 Make (accessible-keymaps map []) do the Right Thing.
11937 Make (accessible-keymaps map "") do the Right Thing.
11938 (check_keymap_definition_loop): New function.
11939 (keymap_store_internal): Keep luser from shooting self in foot,
11940 via (define-key ctl-x-4-map "p" global-map).
11941 Remove fullness slot from struct Lisp_Keymap, since hash tables
11943 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
11945 2000-01-30 Martin Buchholz <martin@xemacs.org>
11947 * redisplay.c (init_redisplay): Fix small memory leak.
11949 * elhash.c (pdump_reorganize_hash_table):
11950 Rename from reorganize_hash_table. Change prototype.
11951 Reuse the original memory for hentries. Save 100k.
11952 * alloc.c (PDUMP_READ): new macro.
11953 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
11954 * alloc.c: No need to #ifndef before #undef.
11956 * print.c: Allow debug_print() to print readably by modifying
11957 debug_print_readably. Use consistent variable names.
11959 * .dbxrc: Try to get things to work even if stopped in a function
11960 without source available by explicitly specifying source files.
11961 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11963 * unexnt.c (_start): Removed bogus code which caused loading heap
11964 from differrent executable file.
11965 Removed bogus assignment to _fmode, which caused inconsistencies.
11967 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11969 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
11970 Have spawnve encapsulation regard DONT_ENCAPSULATE.
11971 Do not preliminary `#define signal sigset'.
11973 * systime.h: Do not prototype environ on windows nt and cygwin,
11974 this conflicts with system header.
11976 * syssignal.h: Use correct define for WINDOWSNT
11978 * sysdep.h: Do not prototype environ on windows nt, this conflicts
11979 with system header.
11981 * sysdep.c (near start of file): Fixed commentary and rearranged
11982 ifdefs in readable order.
11983 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
11986 (end_of_data): Do not compile in if using PDUMP.
11988 * symsinit.h: Prototyped vars_of_nt().
11990 * ntproc.c (windows9x_p): Added, instead of os_subtype.
11991 (find_child_console): Use it.
11992 (sys_kill): Use it.
11994 * ntheap.h: Do not extern os_subtype.
11996 * ntheap.c (cache_system_info): Do not cache unneeded:
11997 nt_major_version, nt_minor_version and os_subtype.
11998 (recreate_heap): Do not compile in when PDUMPing.
12000 * nt.c (geteuid and friends): Use the new varibale
12001 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
12002 (init_user_info): Removed the above mentioned hackery.
12003 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
12004 stat has been fixed in the C runtime.
12005 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
12007 * file-coding.c (struct file_coding_dump): Do not define
12008 ucs_to_mule_table in the struct if not MULE.
12009 (struct struct lrecord_description fcd_description_1): Do not dump
12012 * emacs.c (main_1): Call vars_of_nt().
12013 (right before Fdump_emacs_data): Don't need lastfile if using both
12014 portabe dumper and system malloc.
12016 * alloc.c (Fmemory_limit): Conditionalized out.
12017 (pdump): Use OPEN_BINARY for the portable dump file.
12018 (pdump_load): Ditto.
12020 2000-02-02 Mike Alexander <mta@arbortext.com>
12022 * nt.c (convert_time): Set tm_isdst before calling mktime and
12023 avoid calling it at all if the compiler supports 64 bit integers.
12024 Also initialize utc_base_ft before using it.
12026 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
12028 * frame.c (change_frame_size_1): Take f->internal_border_width
12029 into consideration when calculating the width of the frame.
12031 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12033 * window.c (frame_min_height):
12034 (frame_size_valid_p):
12035 (frame_pixsize_valid_p): Added.
12036 (check_frame_size): Generalized.
12038 * window.h: Prototyped the above.
12041 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
12042 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
12043 Deleted Vwin32_* and Vbinary_process_* unused variables.
12045 * device-msw.c (msprinter_init_device): Do not get printer font
12046 list; Added DEVMODE functions.
12048 * frame-msw.c: Added lots of printer code.
12050 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
12053 * console-msw.h: Added more msprinter device private slots.
12055 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12057 * event-msw.c (key_needs_default_processing_p): Added.
12058 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
12060 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12062 * glyphs.c (image_instance_layout): Mark image instance as clean
12064 (glyph_dirty_p): Removed redundant function.
12065 (invalidate_glyph_geometry_maybe): Added.
12066 (update_glyph_cachel_data): Call it.
12068 * glyphs.h: Prototyped it.
12070 * redisplay.c (add_glyph_rune): Call it.
12071 (redisplay_window): Reset glyphs cachels when frame faces have
12072 changed, thus forcing recomputation of built-in border glyphs.
12074 2000-01-30 Martin Buchholz <martin@xemacs.org>
12076 * Makefile.in.in: Make portable dumper and purify play well together.
12077 Add imperfect, but better than nothing, support for pdump.
12078 Remove xemacs.dmp when temacs is re-generated.
12079 Don't ignore errors when dumping xemacs.
12081 * symbols.c (maybe_call_magic_handler): Remove one magic number.
12083 2000-01-28 Andy Piper <andy@xemacs.org>
12085 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
12086 (setup_normal_frame): ditto.
12087 (setup_frame_without_minibuffer): ditto.
12088 (setup_minibuffer_frame): ditto.
12089 (delete_frame_internal): ditto.
12090 (Fmake_frame_invisible): ditto.
12091 (Ficonify_frame): ditto.
12093 * window.h: change Fset_window_buffer signature.
12095 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12096 (Fset_window_buffer): allow recording of buffer if the window is
12097 the selected window.
12098 (window_loop): Use new Fset_window signature.
12100 2000-01-23 Daniel Pittman <daniel@danann.net>
12102 * config.h.in: Added template for `HAVE_ATHENA_3D'
12104 2000-01-29 Andy Piper <andy@xemacs.org>
12106 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12108 * gutter.c (output_gutter): Don't output if the window isn't live.
12110 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12112 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12113 of 01/12/00: Moved SetFocus back here where it belongs.
12115 2000-01-23 Andy Piper <andy@xemacs.org>
12117 * s/cygwin32.h: declare printer things.
12119 2000-01-26 Andy Piper <andy@xemacs.org>
12121 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12124 2000-01-24 Andy Piper <andy@xemacs.org>
12126 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12127 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12129 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12131 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12133 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12135 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12136 (mswindows_output_display_block): Avoid local shadows.
12138 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12139 (mswindows_enqueue_mouse_button_event): ditto.
12140 (mswindows_handle_gui_wm_command): remove declaration.
12142 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12145 * console-msw.h: Avoid shadows.
12146 (mswindows_get_toolbar_button_text):
12147 (emacs_mswindows_create_stream_pair):
12148 (emacs_mswindows_delete_stream_pair):
12149 (mswindows_handle_toolbar_wm_command): declare.
12151 * device-msw.c (build_syscolor_string): Avoid shadows.
12153 2000-01-23 Andy Piper <andy@xemacs.org>
12155 * glyphs-widget.c (widget_instantiate): reverse the items for
12156 layouts so that children are in the expected order.
12158 2000-01-28 Martin Buchholz <martin@xemacs.org>
12160 * ralloc.c: safe_bcopy ==> memmove
12161 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12162 * s/msdos.h: Remove BCOPY macros.
12163 * insdel.c (gap_right): Remove BCOPY conditional code.
12164 * insdel.c (gap_left): Remove BCOPY conditional code.
12165 XEmacs demands a working ANSI C compiler - hence memmove.
12167 * regex.c (regex_compile): Remove accidental use of trigraphs.
12169 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12171 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12174 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12176 * event-msw.c (mswindows_drain_windows_queue): Added the
12178 (mswindows_need_event): Commented the call to
12179 mswindows_drain_windows_queue().
12180 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12183 * console-msw.h: Moved a few function prototypes here from
12186 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12187 parameter from unsigned short to unsigned long.
12188 (Fmswindows_shell_execute): Added return value.
12190 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12192 * sysdep.c (init_system_name):
12193 process-unix.c (unix_canonicalized_host_name):
12194 Don't call freeaddrinfo() if getaddrinfo() fails.
12196 * process-unix.c (unix_open_unix_network_stream):
12197 Moved the code to get a port # into address loop.
12199 2000-01-27 Martin Buchholz <martin@xemacs.org>
12201 * buffer.c (reinit_vars_of_buffer):
12202 The right place to initialize conversion_in_dynarr and
12203 conversion_out_dynarr.
12205 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12207 * process-unix.c (unix_canonicalize_host_name): Muleize.
12208 (unix_open_network_stream): Muleize.
12210 * buffer.h: Fix up prototypes for ralloc.c functions.
12212 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12213 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12214 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12215 instead of gethostbyname()
12216 * process-unix.c: In unix_canonicalize_host_name() and
12217 unix_open_network_stream(), add code to use getaddrinfo()
12218 instead of gethostbyname().
12220 2000-01-27 Daniel Pittman <daniel@danann.net>
12222 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12223 libs when built with flat Athena.
12225 2000-01-27 Martin Buchholz <martin@xemacs.org>
12227 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12228 Use coding standards for function prototypes.
12230 2000-01-25 Martin Buchholz <martin@xemacs.org>
12232 * dialog-msw.c (push_lisp_string_as_unicode):
12233 * doc.c (unparesseuxify_doc_string):
12234 * dired.c (Fuser_name_completion_1):
12235 * dired.c (Fuser_name_all_completions):
12236 * dired.c (free_user_cache):
12237 * dired.c (user_name_completion):
12238 * console-x.c (get_display_arg_connection):
12239 * minibuf.c (clear_echo_area_internal):
12240 * minibuf.c (echo_area_append):
12241 * eldap.c (Fldap_open):
12242 * eldap.c (Fldap_search_internal):
12243 * frame-x.c (x_set_frame_text_value):
12244 * frame-x.c (x_set_frame_properties):
12245 * frame-x.c (x_create_widgets):
12246 * redisplay-tty.c (term_get_fkeys_1):
12247 * objects-x.c (x_parse_nearest_color):
12248 * objects-x.c (x_valid_color_name_p):
12249 * objects-x.c (x_initialize_font_instance):
12250 * objects-x.c (x_list_fonts):
12251 * objects-x.c (x_find_charset_font):
12252 * tooltalk.c (Fadd_tooltalk_message_arg):
12253 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12254 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12255 * process-unix.c (unix_create_process):
12256 * ntproc.c (sys_spawnve):
12257 * sound.c (Fplay_sound_file):
12258 * sound.c (Fplay_sound):
12259 * buffer.c (init_initial_directory):
12260 * buffer.c (init_buffer):
12261 * editfns.c (init_editfns):
12262 * editfns.c (Ftemp_directory):
12263 * editfns.c (Fuser_full_name):
12264 * editfns.c (uncache_home_directory):
12265 * editfns.c (get_home_directory):
12266 * editfns.c (Fuser_home_directory):
12267 * editfns.c (Fformat_time_string):
12268 * editfns.c (Fcurrent_time_string):
12269 * gui-x.c (button_item_to_widget_value):
12270 * database.c (Fopen_database):
12271 * event-Xt.c (x_to_emacs_keysym):
12272 * event-Xt.c (x_event_to_emacs_event):
12273 * event-Xt.c (describe_event_window):
12274 * event-msw.c (mswindows_wnd_proc):
12275 * glyphs-eimage.c (jpeg_instantiate):
12276 * glyphs-eimage.c (gif_instantiate):
12277 * glyphs-eimage.c (png_instantiate):
12278 * glyphs-eimage.c (tiff_instantiate):
12279 * glyphs-x.c (xbm_instantiate_1):
12280 * glyphs-x.c (x_xbm_instantiate):
12281 * glyphs-x.c (x_xface_instantiate):
12282 * glyphs-x.c (autodetect_instantiate):
12283 * glyphs-x.c (cursor_font_instantiate):
12284 * glyphs-x.c (x_widget_instantiate):
12285 * glyphs-x.c (x_widget_set_property):
12286 * glyphs-x.c (x_widget_property):
12287 * glyphs-x.c (BUILD_GLYPH_INST):
12288 * print.c (write_string_to_stdio_stream):
12289 * print.c (output_string):
12290 * print.c (Falternate_debugging_output):
12291 * print.c (Fexternal_debugging_output):
12292 * glyphs-msw.c (extract_xpm_color_names):
12293 * glyphs-msw.c (mswindows_xpm_instantiate):
12294 * glyphs-msw.c (bmp_instantiate):
12295 * glyphs-msw.c (resource_name_to_resource):
12296 * glyphs-msw.c (mswindows_resource_instantiate):
12297 * glyphs-msw.c (xbm_instantiate_1):
12298 * glyphs-msw.c (mswindows_xbm_instantiate):
12299 * glyphs-msw.c (mswindows_xface_instantiate):
12300 * glyphs-msw.c (mswindows_widget_instantiate):
12301 * glyphs-msw.c (add_tree_item):
12302 * glyphs-msw.c (add_tab_item):
12303 * glyphs-msw.c (mswindows_combo_box_instantiate):
12304 * glyphs-msw.c (mswindows_widget_property):
12305 * glyphs-msw.c (mswindows_combo_box_property):
12306 * glyphs-msw.c (mswindows_widget_set_property):
12307 * console.c (stuff_buffered_input):
12308 * objects-msw.c (mswindows_initialize_color_instance):
12309 * objects-msw.c (mswindows_valid_color_name_p):
12310 * objects-msw.c (mswindows_list_fonts):
12311 * objects-msw.c (mswindows_font_instance_truename):
12312 * bytecode.c (optimize_compiled_function):
12313 * select-x.c (symbol_to_x_atom):
12314 * select-x.c (x_atom_to_symbol):
12315 * select-x.c (hack_motif_clipboard_selection):
12316 * select-x.c (selection_data_to_lisp_data):
12317 * select-x.c (lisp_data_to_selection_data):
12318 * select-x.c (Fx_get_cutbuffer_internal):
12319 * select-x.c (Fx_store_cutbuffer_internal):
12320 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12321 * buffer.h (TO_INTERNAL_FORMAT): New function.
12322 * emacs.c (make_arg_list_1):
12323 * emacs.c (make_argc_argv):
12324 * emacs.c (main_1):
12325 * emacs.c (Fdump_emacs):
12326 * emacs.c (split_string_by_emchar_1):
12331 * device-x.c (x_init_device):
12332 * device-x.c (Fx_valid_keysym_name_p):
12333 * device-x.c (Fx_get_font_path):
12334 * device-x.c (Fx_set_font_path):
12335 * glyphs.c (bitmap_to_lisp_data):
12336 * glyphs.c (pixmap_to_lisp_data):
12337 * alloc.c (make_ext_string): Use coding system arguments. Update
12339 * alloc.c (build_string):
12340 * callproc.c (child_setup):
12341 * callproc.c (init_callproc):
12342 * fileio.c (lisp_strerror):
12343 * fileio.c (directory_file_name):
12344 * fileio.c (Fexpand_file_name):
12345 * fileio.c (Ffile_truename):
12346 * fileio.c (Fsysnetunam):
12347 * fileio.c (Fdo_auto_save):
12348 * sysdep.c (sys_readdir):
12349 * tests.c: New file. Allow adding C tests.
12350 Replace GET_* macros with a more comprehensible and flexible
12351 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12353 Any coding system can be used to do format conversion.
12354 Eliminate enum external_data_format.
12355 Eliminate convert_to_external_format.
12356 Eliminate convert_to_internal_format.
12357 Make sure file-name, keyboard, terminal, and ctext are always
12358 defined as coding systems or aliases. Make
12359 file-name-coding-system, terminal-coding-system, and
12360 keyboard-coding-system magical variables that are equivalent to
12361 defining the corresponding coding system aliases.
12363 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12364 * file-coding.c (Fcoding_system_alias_p): New function.
12365 * file-coding.c (Fcoding_system_aliasee): New function.
12366 * file-coding.c (append_suffix_to_symbol): New function.
12367 * file-coding.c (dangling_coding_system_alias_p): New function.
12368 * file-coding.c (Ffind_coding_system):
12369 * file-coding.c (Fcopy_coding_system):
12370 * file-coding.c (encode_coding_no_conversion):
12371 * file-coding.c (syms_of_file_coding):
12372 * file-coding.c (vars_of_file_coding):
12373 Rewrite coding system alias code.
12374 Allow nested aliases, like symbolic links.
12375 Allow redefinition of coding system aliases.
12376 Prevent existence of dangling coding system aliases.
12378 * dired.c (Fuser_name_completion_1):
12379 * dired.c (Fuser_name_all_completions):
12380 A crash would happen if user did QUIT in the middle of building
12381 user_name_cache. Remove redundant code in mainline and unwind_protect.
12384 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12386 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12387 an unsigned char *. Update all callers.
12389 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12391 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12393 2000-01-25 Martin Buchholz <martin@xemacs.org>
12395 * elhash.c (hentry_description): Use more portable definition.
12396 (resize_hash_table): Initialize new hentries using
12397 xnew_array_and_zero, thereby simplifying the code.
12399 * mule-charset.c (make_charset): Make sure entire object is
12400 initialized, to avoid Purify warnings.
12402 * alloc.c (resize_string): Fix unlikely crash with big strings.
12404 2000-01-24 Martin Buchholz <martin@xemacs.org>
12406 * realpath.c (xrealpath):
12407 Don't call getwd().
12409 2000-01-25 Martin Buchholz <martin@xemacs.org>
12411 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12413 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12415 * unexelfsgi.c (unexec): Change the way we decide which segment
12416 should be extended.
12418 Assumption that .bss section should be outside the PT_LOADable
12419 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12420 it's present) is inside the 'data' segment. This would fail the
12421 test which was used to find a segment to grow and cover new
12422 heap. Instead of this assumption, I created another one - on IRIX
12423 the segment to grow should start below .bss and it's address
12424 should extent above the end of .bss. Once this segment is
12425 identified, it's grown to accommodate the new heap and new
12426 zero-length .bss section is added at the end of .data2.
12428 2000-01-25 Martin Buchholz <martin@xemacs.org>
12430 * eval.c (Feval): Wrong number of arguments should use original
12431 function, not the indirect_function version of it.
12433 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12435 * glyphs-x.c (x_button_instantiate): Don't add image if
12436 it is not a pixmap.
12437 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12440 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12442 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12444 (DEFVAR_INT_MAGIC): Ditto.
12445 (DEFVAR_BOOL_MAGIC): Ditto.
12446 * glyphs.h: Reindent backslash.
12448 2000-01-24 Martin Buchholz <martin@xemacs.org>
12450 * glyphs-widget.c (layout_query_geometry):
12451 (layout_layout): Use correct types for gheight, gwidth.
12453 2000-01-24 Martin Buchholz <martin@xemacs.org>
12455 * EmacsManager.c (QueryGeometry): Purified.
12457 2000-01-23 Martin Buchholz <martin@xemacs.org>
12459 * alloc.c (make_float): Make sure entire object is initialized, to
12460 avoid Purify warnings.
12461 (pdump_register_sub): Remove useless assignment.
12462 (pdump): Use xmalloc, not malloc.
12463 (pdump_load): Use xmalloc, not malloc.
12465 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12472 * sysdep.c: Removed redundant #include <windows.h>
12474 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12476 * frame.c (delete_frame_internal): Do not delete device when its
12477 implementation so declares.
12478 (delete_frame_internal): Set device selected frame to nil when
12479 last frame goes away.
12481 * device-msw.c (msprinter_device_system_metrics): Implemented.
12482 (mswindows_device_system_metrics): Added 'device-dpi property.
12484 * device.c: (Fdevice_printer_p): Added.
12485 Added 'offset-workspace device metric.
12487 * console.h (device_metrics): Declared DM_offset_workspace.
12489 2000-01-23 Martin Buchholz <martin@xemacs.org>
12491 * fileio.c (Ffile_truename): Remove pointless and confusing
12492 initialization of elen.
12494 * glyphs-widget.c: Compiler warning fixes.
12496 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12498 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12499 instead of a Lisp_Object as argument to make it consistent with
12500 the other LIVE_P macros.
12501 (CHECK_LIVE_PROCESS): New macro.
12503 * process.c: Declare Qprocess_live_p.
12504 (Fprocess_live_p): New function.
12505 (create_process): Use PROCESS_LIVE_P.
12506 (read_process_output): Ditto.
12507 (set_process_filter): Ditto.
12508 (Fdelete_process): Ditto.
12509 (kill_buffer_processes): Ditto
12510 (process_send_signal): Use CHECK_LIVE_PROCESS.
12511 (Fprocess_input_coding_system): Check whether process is still
12512 alive (fix PR#1061).
12513 (Fprocess_output_coding_system): Ditto.
12514 (Fprocess_coding_system): Ditto.
12515 (Fset_process_input_coding_system): Ditto.
12516 (Fset_process_output_coding_system): Ditto.
12518 2000-01-23 Andy Piper <andy@xemacs.org>
12520 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12523 * glyphs.c (mark_image_instance): take into account changed
12524 image_instance format.
12525 (image_instance_equal): ditto.
12526 (image_instance_hash): ditto.
12528 * glyphs-widget.c (widget_instantiate): Incorporate layout
12529 instantiation here. Delay layout of the layout until later.
12530 (layout_instantiate): deleted.
12531 (layout_query_geometry): new function. get the geometry of a
12533 (layout_layout): layout a layout dynamically.
12534 (image_instantiator_widget): New function - splitting up
12535 image_instantiator_format_create_glyphs_widget for netwinder
12537 (image_instantiator_buttons):
12538 (image_instantiator_edit_fields):
12539 (image_instantiator_combo_box):
12540 (image_instantiator_scrollbar):
12541 (image_instantiator_progress_guage):
12542 (image_instantiator_tree_view):
12543 (image_instantiator_tab_control):
12544 (image_instantiator_labels):
12545 (image_instantiator_layout): ditto.
12546 (image_instantiator_format_create_glyphs_widget): Call preceding
12549 2000-01-22 Martin Buchholz <martin@xemacs.org>
12551 * process.c (Fset_process_coding_system):
12552 * device-x.c (Fx_keysym_hash_table):
12555 * lstream.c (Lstream_write): Return documented value, not 0.
12557 * fileio.c (directory_file_name):
12558 (Fsubstitute_in_file_name):
12559 (Fsubstitute_insert_file_contents_internal):
12560 (Fwrite_region_internal):
12565 Remove vestigial APOLLO-conditional code.
12567 2000-01-21 Martin Buchholz <martin@xemacs.org>
12569 * getpagesize.h: Add guard macros.
12570 * libsst.h: Add guard macros.
12571 * libst.h: Add guard macros.
12572 * line-number.h: Add guard macros.
12573 * ndir.h: Add guard macros.
12574 * sysfloat.h: Add guard macros.
12575 * sysfile.h: Add guard macros.
12576 * sysproc.h: Add guard macros.
12577 * syswait.h: Add guard macros.
12578 * xintrinsic.h: Add guard macros.
12579 * xintrinsicp.h: Add guard macros.
12580 * xmmanager.h: Add guard macros.
12581 * xmmanagerp.h: Add guard macros.
12582 * xmprimitive.h: Add guard macros.
12583 * xmu.h: Add guard macros.
12584 * gpmevent.h: Add copyright statement. Add guard macros.
12585 * miscplay.h: Add guard macros.
12586 * *.h: Use consistent C-standards-approved guard macro names.
12588 * opaque.c (make_opaque): Switch parameter order.
12589 * opaque.h (make_opaque): Switch parameter order.
12590 Update all callers.
12591 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12593 * config.h.in (type_checking_assert): Added.
12594 (bufpos_checking_assert): Added.
12596 2000-01-21 Martin Buchholz <martin@xemacs.org>
12598 * alloc.c: Harmless pdump changes.
12600 - spell alignment correctly.
12601 * sysdep.c: Use countof()
12603 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12605 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12606 initially_selected_for_input() console method, default to 0.
12607 (semi_canonicalize_console_connection): Try to delegate to
12608 canonicalize_console_connection if no such console method.
12609 (canonicalize_console_connection): Vice versa.
12610 (print_console): Do not print nil connection.
12612 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12613 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12614 (XDEVIMPF_FRAMELESS_OK): Added.
12615 (CONSOLE_INHERITS_METHOD): Added.
12617 * console-msw.c (mswindows_canonicalize_console_connection):
12619 (mswindows_canonicalize_device_connection): Added.
12621 * console-msw.h (struct msprinter_device): Added this struct and
12623 (mswindows_device): Made fontlist a lisp object.
12625 * device.c (semi_canonicalize_device_connection): Try to delegate
12626 to canonicalize_device_connection if no such console method.
12627 (canonicalize_device_connection): Vice versa.
12628 (print_device): Do not print nil connection.
12630 * device-msw.c (mswindows_init_device): Call InitCommonControls
12632 (mswindows_delete_device): Removed fontlist deallocation.
12633 (mswindows_mark_device): Added.
12635 * events.c (event_equal): Added abort() at unreached code.
12636 (event_hash): Ditto.
12638 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12639 fallback tags of Windows devices.
12641 * general.c (syms_of_general): Initialized Qmsprinter.
12643 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12644 of fallback tags of Windows devices.
12646 * lisp.h: Declared Qmsprinter.
12648 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12650 (mswindows_list_fonts): Ditto.
12651 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12652 that it can be used by both mswindows and msprinter devices.
12653 (initialize_font_instance): Added.
12654 (mswindows_initialize_font_instance): Use it.
12655 (msprinter_initialize_font_instance): Added.
12657 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12658 and implementation flags check.
12659 (redisplay_without_hooks): Changed the call to the above.
12660 (Fredraw_device): Ditto.
12661 (Fredisplay_device): Ditto.
12663 * redisplay-msw.c (get_frame_dc): Implemented.
12664 (get_frame_compdc): Implemented.
12665 (many functions): Use the two functions above to get device
12666 contexts, ether for a window or a printer.
12668 2000-01-21 Olivier Galibert <galibert@pobox.com>
12670 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12671 initialization here.
12672 (init_symbols_once_early): Call it.
12673 * emacs.c (main_1): Call it.
12674 * symsinit.h: Declare it.
12676 2000-01-19 Olivier Galibert <galibert@pobox.com>
12678 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12680 (pdump_backtrace): Ditto.
12681 (pdump_register_object): Ditto. Cleanup use of the pointers.
12682 (pdump_get_entry): Abort if trying to register a null pointer.
12683 (pdump_dump_data): Cleanup types when relocating.
12684 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
12685 (pdump_dump_rtables): Remove bad casts.
12686 (pdump_load): Cleanup relocation w.r.t union type. Use a
12687 Lisp_Object instead of a EMACS_INT for the hashtable
12690 2000-01-20 Martin Buchholz <martin@xemacs.org>
12692 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
12694 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
12696 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
12698 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
12700 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12702 * faces.h (FACE_STRIKETHRU_P): Added.
12704 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
12707 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
12708 (mswindows_set_dc_font): New function, aware of font variants,
12709 separated from mswindows_update_dc.
12711 * objects-msw.h (struct mswindows_font_instance_data): Added
12714 * objects-msw.c (mswindows_finalize_font_instance): Delete all
12715 cached fonts and the data structure.
12716 (mswindows_initialize_font_instance): Added creation of font data
12718 (mswindows_print_font_instance): Print at least something.
12719 (mswindows_create_font_variant): Implemented.
12720 (mswindows_get_hfont): Implemented.
12722 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
12724 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
12725 prototyping problem with msvc.
12727 * emacs.c (main_1): added syms_of_gui_mswindows() call
12729 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
12730 syms_of_gui_mswindows() function
12732 * symsinit.h: added the prototype for syms_of_gui_mswindows()
12734 2000-01-18 Martin Buchholz <martin@xemacs.org>
12736 * XEmacs 21.2.27 is released.
12738 2000-01-18 Martin Buchholz <martin@xemacs.org>
12740 * glyphs-eimage.c (struct tiff_error_struct):
12742 (tiff_warning_func):
12743 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
12748 * unexec.c: Remove vestigial Lucid C code.
12752 * libsst.c: Ansify.
12753 Remove declarations of errno and strerror().
12755 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
12757 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
12759 2000-01-16 Martin Buchholz <martin@xemacs.org>
12761 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
12764 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12769 Change enum eol_type to eol_type_t.
12771 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12773 * gui.c (get_gui_callback): Check cons before accessing car.
12775 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12777 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
12778 (XSETSPECIFIER_TYPE): Ditto.
12780 2000-01-17 Didier Verna <didier@xemacs.org>
12782 * redisplay.c (generate_fstring_runes): compute string size in
12783 characters, not bytes.
12785 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12787 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
12789 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
12791 * print.c (print_error_message): Call print_prepare().
12793 2000-01-14 Martin Buchholz <martin@xemacs.org>
12795 * .dbxrc: Renamed from dbxrc.
12797 * events.c (event_to_character):
12798 Use `assert (foo)' instead of `if (!foo) abort()'
12800 * .gdbinit (xtype): Add documentation.
12801 * .gdbinit (check-temacs): New function.
12802 * .gdbinit (check-xemacs): New function.
12803 * dbxrc (check-xemacs): New function.
12804 * dbxrc (check-xemacs): New function.
12806 2000-01-14 Andy Piper <andy@xemacs.org>
12808 * glyphs-widget.c (widget_query_geometry): Make sure that we
12809 calculate default dimensions correctly.
12811 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12813 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
12815 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
12816 pdump_wire'd variable.
12818 * emacs.c: (main_1): Conditionalized calls to
12819 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
12821 2000-01-13 Martin Buchholz <martin@xemacs.org>
12823 * window.c (Fset_window_configuration):
12824 * sysdep.c (_start):
12825 * input-method-motif.c (res):
12826 * event-Xt.c (Xt_process_to_emacs_event):
12827 Simple compiler warning fixes.
12829 * bytecode.c (funcall_compiled_function): Use the original
12830 function symbol on the backtrace list in preference to the
12831 compiled_function object in error messages.
12833 2000-01-13 Andy Piper <andy@xemacs.org>
12835 * glyphs-x.c (update_widget_face): Make sure we update the widget
12836 background as well as foreground.
12838 2000-01-13 Andy Piper <andy@xemacs.org>
12840 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
12841 fields to subwindow.
12842 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
12843 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
12844 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12845 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12847 * glyphs-widget.c (check_valid_tab_orientation): new function.
12848 (initialize_widget_image_instance): zero orientation and
12850 (widget_instantiate): pick up orientation.
12851 (tab_control_query_geometry): return appropriate values for
12854 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
12855 appropriate creation flags for left, right and bottom tabs.
12857 * s/cygwin32.h: add tab definitions.
12859 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12861 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
12862 frame upon hiding a subwindow.
12863 (mswindows_button_instantiate): Changed the push button style to
12865 (mswindows_button_instantiate): Removed button BS_NOTIFY
12867 (mswindows_button_instantiate): Removed redundant check for
12868 a disabled gui item.
12869 (mswindows_button_instantiate): Made use of WS_TABSTOP
12870 consistent: "operable" controls (edit, button, tree, scroll) have
12871 this style, "display-only" ones (static, progress gauge) do
12872 not. This style is currently ignored by XEmacs though. Also,
12873 removed the WS_EX_CONTROLPARENT style - it is not for children,
12874 it is for their parents!
12875 (mswindows_edit_field_instantiate): Ditto.
12876 (mswindows_progress_gauge_instantiate): Ditto.
12877 (mswindows_tree_view_instantiate): Ditto.
12878 (mswindows_tab_control_instantiate): Ditto.
12879 (mswindows_scrollbar_instantiate): Ditto.
12880 (mswindows_combo_box_instantiate): Ditto.
12881 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
12882 style to the "clip" window.
12883 (mswindows_button_instantiate): Removed compilation warning by
12884 equally typing terms of the ?: operator.
12886 2000-01-12 Didier Verna <didier@xemacs.org>
12888 * redisplay.c (generate_fstring_runes): new parameter holding the
12889 last modeline-format extent.
12890 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
12891 extent, fill the glyph block with it.
12892 (generate_fstring_runes): handle these parameters.
12893 (generate_formatted_string_db): ditto.
12895 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
12896 glyphs'extents in the modeline.
12898 1999-01-11 Mike Woolley <mike@bulsara.com>
12900 * ntheap.c: Reduced the reserved heap space from 1Gb down to
12901 256Mb, as a workaround for the non-starting problem many people
12904 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12906 * console-tty.c (Fset_console_tty_output_coding_system):
12907 Force redrawing tty frame.
12909 2000-01-10 Didier Verna <didier@xemacs.org>
12911 * redisplay.c (generate_fstring_runes): fix size computation bug.
12913 2000-01-09 William M. Perry <wmperry@aventail.com>
12915 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
12917 2000-01-09 Andy Piper <andy@xemacs.org>
12919 * glyphs-msw.c: index -> i to avoid shadows.
12920 (xbm_create_bitmap_from_data): make static.
12921 (check_valid_string_or_int): deleted.
12922 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
12924 * glyphs-x.c (x_update_subwindow): remove unused args.
12926 * glyphs.c (glyph_image_instance): return the thing. Don't set the
12927 back pointer - this is done in allocate_image_instance.
12928 (query_string_font): return Qnil to make the compiler happy.
12929 (unmap_subwindow): set to ~0 to make the compiler happy.
12930 (glyph_query_geometry): comment out until used.
12931 (glyph_layout): ditto.
12933 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12935 * insdel.c (signal_after_change): Remove extraneous unbind_to().