1 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
5 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
7 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
8 (Qideograph_cbeta): Deleted.
9 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
10 (complex_vars_of_mule_charset): Likewise.
12 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
13 (MIN_CHAR_CBETA): Comment out.
14 (MAX_CHAR_CBETA): Likewise.
16 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
18 * mule-charset.c (charset_lookup_description_1): Use
19 `NUM_LEADING_BYTES' in UTF-2000.
21 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
23 * mule-charset.c (Vcharset_china3_jef): Deleted.
24 (Qchina3_jef): Deleted.
25 (syms_of_mule_charset): Don't define `china3-jef'.
26 (complex_vars_of_mule_charset): Likewise.
28 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
29 (MIN_CHAR_CHINA3_JEF): Comment out.
30 (MAX_CHAR_CHINA3_JEF): Comment out.
32 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
34 * mule-charset.c (Vcharset_ucs_gb): New variable.
35 (Qucs_gb): New variable.
36 (syms_of_mule_charset): Add new symbol `ucs-gb'.
37 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
39 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
41 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
43 * mule-charset.c (charset_code_point): if a coded-charset has a
44 final-byte, don't inherit the builtin range of the mother CCS.
46 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
48 * mule-charset.c (charset_code_point): Fix problem about
51 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
53 * mule-charset.c (decode_builtin_char): Reorganized.
55 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
57 * text-coding.c (char_encode_shift_jis): Modify for
59 (char_encode_big5): Likewise.
60 (char_encode_utf8): Likewise.
61 (char_encode_iso2022): Likewise.
63 * mule-charset.c (charset_code_point): Add new argument
65 (Fencode_char): Add new optional argument `defined_only'.
67 * chartab.c (put_char_table): Modify for `charset_code_point'.
68 (map_char_table): Likewise.
70 * char-ucs.h (charset_code_point): Add new argument
72 (encode_char_1): Modify for `charset_code_point'.
74 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
76 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
77 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
79 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
81 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
82 (Qjis_x0208): Likewise.
83 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
84 XCHARSET_FINAL(charset).
85 (charset_code_point): Modify condition for final-byte based
87 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
88 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
89 in UTF-2000; specify `=jis-x0208' as the mother of
90 `japanese-jisx0208-1978', `japanese-jisx0208' and
91 `japanese-jisx0208-1990' in UTF-2000.
93 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
95 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
97 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
99 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
100 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
101 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
102 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
103 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
104 CONVERSION_96x96x96x96 are introduced.
105 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
106 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
107 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
109 * char-ucs.h (CONVERSION_94): New macro.
110 (CONVERSION_96): New macro.
111 (CONVERSION_94x94): New macro.
112 (CONVERSION_96x96): New macro.
113 (CONVERSION_94x94x94): New macro.
114 (CONVERSION_96x96x96): New macro.
115 (CONVERSION_94x94x94x60): New macro.
116 (CONVERSION_94x94x94x94): New macro.
117 (CONVERSION_96x96x96x96): New macro.
119 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
121 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
123 * fns.c (Qideographic_structure): New variable.
124 (Qkeyword_char): New variable.
125 (ids_format_unit): New function.
126 (Fideographic_structure_to_ids): New function.
127 (syms_of_fns): Add new symbols `ideographic-structure' and
128 `:char'; add new builtin function `ideographic-structure-to-ids'.
130 * data.c (Fchar_ref_p): New function.
131 (syms_of_data): Add new builtin function `char-ref-p'.
133 * chartab.h: Add an EXFUN for `Ffind_char'.
135 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
137 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
138 and `COMPOSE_ADD_CHAR'.
139 (decode_coding_iso2022): Use `decode_flush_er_chars'.
141 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
143 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
144 instead of `DECODE_ADD_UCS_CHAR'.
145 (COMPOSE_ADD_CHAR): Likewise.
147 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
149 * text-coding.c (decode_flush_er_chars): New inline function.
150 (decode_add_er_char): New function.
151 (decode_coding_utf8): Use `decode_flush_er_chars' and
152 `decode_add_er_char'.
154 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
156 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
157 done before `decode_output_utf8_partial_char'.
159 * mule-charset.c (complex_vars_of_mule_charset): Specify
160 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
161 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
163 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
165 * mule-charset.c (decode_defined_char): New function; search
167 (decode_builtin_char): Don't search mother if
168 XCHARSET_MAX_CODE(charset) == 0.
169 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
170 == 0 even if code >= XCHARSET_MAX_CODE(charset).
171 (Fdecode_char): Use `decode_defined_char' instead of
172 `DECODE_DEFINED_CHAR'.
173 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
174 mother of `Vcharset_ucs_jis'.
176 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
177 instead of `DECODE_DEFINED_CHAR'.
179 * char-ucs.h (decode_defined_char): Renamed from
180 `DECODE_DEFINED_CHAR'; changed to normal function.
181 (DECODE_CHAR): Use `decode_defined_char' instead of
182 `DECODE_DEFINED_CHAR'.
184 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
186 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
188 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
190 * text-coding.c (Vcoded_charset_entity_reference_alist): New
192 (Quse_entity_reference): New variable.
196 (coding_system_description): Add description for
198 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
199 (allocate_coding_system): Initialize `ccs_priority_list' in
201 (Fmake_coding_system): Add description about
202 'use-entity-reference; setup
203 CODING_SYSTEM_USE_ENTITY_REFERENCE(codesys).
204 (Fcoding_system_property): Accept `disable-composition' and
205 `use-entity-reference' in UTF-2000.
206 (struct decoding_stream): Add new member `er_counter' and `er_buf'
208 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
209 (decode_coding_utf8): Decode entity-reference if
210 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
211 (char_encode_utf8): Encode non-Unicode characters as
212 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
214 (syms_of_file_coding): Add new symbols `use-entity-reference',
216 (vars_of_file_coding): Add new variable
217 `coded-charset-entity-reference-alist'.
218 (complex_vars_of_file_coding): Declare `disable-composition' and
219 `use-entity-reference' to be coding-system-properties in UTF-2000.
221 * file-coding.h (struct Lisp_Coding_System): Add new member
222 `use_entity_reference' and `ccs_priority_list'.
223 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
224 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
225 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
227 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
229 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
231 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
233 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
234 `XCHARSET_GRAPHIC(ccs)'.
236 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
238 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
241 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
243 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
244 instead of `XCHARSET_CHARS'.
246 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
248 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
249 (XCHARSET_BYTE_SIZE): Likewise.
251 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
253 (XCHARSET_BYTE_SIZE): Likewise.
255 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
257 * char-ucs.h (decoding_table_check_elements): Delete prototype.
258 (get_ccs_octet_table): New inline function.
259 (put_ccs_octet_table): Likewise.
260 (decoding_table_put_char): Use `get_ccs_octet_table' and
261 `put_ccs_octet_table'.
262 (decoding_table_remove_char): Use `decoding_table_put_char'.
263 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
265 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
267 (make_charset): Use Qunbound instead Qnil as initial value of
270 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
272 * mule-charset.c (put_char_ccs_code_point): Modify for
273 `decoding_table_remove_char' and `decoding_table_put_char'.
274 (remove_char_ccs): Modify for `decoding_table_remove_char'.
276 * char-ucs.h (decoding_table_remove_char): Change arguments to
277 hide decoding_table vector.
278 (decoding_table_put_char): Likewise.
280 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
282 * mule-charset.c (decoding_table_remove_char): Moved to
284 (decoding_table_put_char): Likewise.
286 * char-ucs.h (decoding_table_check_elements): New prototype [moved
287 from mule-charset.c].
288 (decoding_table_remove_char): New inline function [moved from
290 (decoding_table_put_char): Likewise.
292 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
294 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
295 instead of `DECODE_CHAR' for mother; don't use special code for
296 chinese-big5 to use code space of chinese-big5-1 and
298 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
299 `MAX_CHAR_BIG5_CDP' for chinese-big5.
301 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
302 (MAX_CHAR_BIG5_CDP): Revival.
304 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
306 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
307 the XLFD registry-encoding name of `chinese-big5'.
309 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
311 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
312 (Qchinese_big5_cdp): Deleted.
313 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
314 (complex_vars_of_mule_charset): Delete coded-charset
317 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
318 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
319 `CHARSET_ID_OFFSET - n' for private CCS.
320 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
321 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
322 of `MIN_LEADING_BYTE'.
323 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
324 `(CHARSET_ID_OFFSET - 97)'.
325 (MIN_CHAR_BIG5_CDP): Deleted.
326 (MAX_CHAR_BIG5_CDP): Deleted.
328 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
330 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
333 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
335 * mule-charset.c (decode_builtin_char): Support mother charsets.
337 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
339 * mule-charset.c (Q94x94x60): New variable.
340 (charset_code_point): Support conversion `94x94x60'.
341 (Fmake_charset): Likewise.
342 (syms_of_mule_charset): Add new symbol `94x94x60'.
344 * char-ucs.h (CONVERSION_94x94x60): New macro.
346 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
348 * mule-charset.c (charset_code_point): Unify code about
351 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
353 * mule-charset.c (charset_code_point): Merge code about builtin
354 characters into code about mother charsets; don't use
355 `range_charset_code_point'.
356 (range_charset_code_point): Deleted.
358 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
360 * mule-charset.c (Qcode_offset): New variable.
361 (Fmake_charset): Use `XUINT' to get value of `min-code' and
362 `max-code'; accept new property `code-offset'.
363 (syms_of_mule_charset): Add new symbol `code-offset'.
365 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
367 * mule-charset.c (range_charset_code_point): Fixed.
369 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
371 * mule-charset.c (decode_builtin_char): Change semantics of
372 code-offset of coded-charset.
373 (charset_code_point): Likewise.
374 (range_charset_code_point): Likewise.
375 (complex_vars_of_mule_charset): Modify for the change.
377 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
379 * mule-charset.c (Fencode_char): Reverse arguments.
381 * mule-charset.c (charset_code_point): Fixed.
383 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
385 * mule-charset.c (Vcharset_mojikyo): Deleted.
386 (Vcharset_mojikyo_2022_1): Deleted.
387 (Vcharset_mojikyo_pj_{1..21}): Deleted.
388 (Qmin_code): New variable in UTF-2000.
389 (Qmax_code): Likewise.
391 (Qconversion): Likewise.
394 (Qmojikyo_2022_1): Deleted.
395 (Qmojikyo_pj_{1..22}): Deleted.
396 (mark_charset): Mark `cs->mother'.
397 (charset_description): Add description for `mother'.
398 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
399 new arguments `mother' and `conversion'; use
400 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
401 (charset_code_point): Moved from char-ucs.h; support `mother'
403 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
404 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
405 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
406 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
407 allow 2 as the value of `graphic' in UTF-2000; add new properties
408 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
409 require `final' in UTF-2000; modify for `make_charset'.
410 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
411 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
412 (Fcharset_property): Support `mother', `min-code' and `max-code'.
413 (Fencode_char): New function.
414 (syms_of_mule_charset): Add new builtin function `encode-char' in
415 UTF-2000; add new symbols `min-code', `max-code', `mother',
416 `conversion' and `94x60'; delete symbols `mojikyo',
417 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
418 (complex_vars_of_mule_charset): Modify for `make_charset' change;
419 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
420 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
422 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
423 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
425 * char-ucs.h (Vcharset_mojikyo): Deleted.
426 (Vcharset_mojikyo_2022_1): Deleted.
427 (LEADING_BYTE_MOJIKYO): Deleted.
428 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
429 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
430 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
431 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
432 add new member `mother'; add new member `conversion'.
433 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
434 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
435 (CHARSET_MOTHER): New macro.
436 (CHARSET_CONVERSION): New macro.
437 (CONVERSION_IDENTICAL): New macro.
438 (CONVERSION_94x60): New macro.
439 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
440 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
441 (XCHARSET_MOTHER): New macro.
442 (XCHARSET_CONVERSION): New macro.
443 (MIN_CHAR_MOJIKYO): Deleted.
444 (MAX_CHAR_MOJIKYO): Deleted.
445 (DECODE_MOJIKYO_2022): Deleted.
446 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
447 (charset_code_point): Changed to non-inline function.
448 (encode_char_1): Use `charset_code_point'.
449 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
451 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
453 * lread.c (read_compiled_function): Fix prototype.
454 (read_vector): Likewise.
456 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
458 * lrecord.h (struct lrecord_header): Delete `older'.
459 (set_lheader_implementation): Delete code for `older'.
460 (set_lheader_older_implementation): Deleted.
461 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
462 (OLDER_RECORD_P): Deleted.
463 (OLDER_RECORD_HEADER_P): Deleted.
464 (alloc_older_lcrecord): Deleted.
465 (alloc_older_lcrecord_type): Deleted.
467 * alloc.c (all_older_lcrecords): Deleted.
468 (alloc_older_lcrecord): Deleted.
469 (disksave_object_finalization_1): Delete code for older objects.
470 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
471 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
473 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
475 * mule-charset.c (decoding_table_put_char): Use `make_vector'
476 instead of `make_older_vector'.
477 (put_char_ccs_code_point): Likewise.
478 (mark_charset): Mark `cs->decoding_table'.
479 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
481 * lisp.h (make_older_vector): Deleted.
482 (make_vector_newer): Deleted.
484 * config.h.in (HAVE_GGC): Deleted.
486 * alloc.c (make_older_vector): Deleted.
487 (make_vector_newer_1): Deleted.
488 (make_vector_newer): Deleted.
490 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
492 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
493 (Qideograph_daikanwa_2): New variable.
494 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
495 (complex_vars_of_mule_charset): Add new coded-charset
496 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
497 `LEADING_BYTE_DAIKANWA'.
499 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
500 (LEADING_BYTE_DAIKANWA_1): New macro.
501 (LEADING_BYTE_DAIKANWA_2): New macro.
502 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
504 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
506 * mule-charset.c (complex_vars_of_mule_charset): Change
507 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
508 the second revised version.
510 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
512 * mule-charset.c (Vcharset_ucs_smp): New variable.
513 (Vcharset_ucs_sip): New variable.
514 (Qucs_smp): New variable.
515 (Qucs_sip): New variable.
516 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
517 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
518 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
519 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
520 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
521 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
523 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
524 (LEADING_BYTE_UCS_SIP): New macro.
525 (MIN_CHAR_SMP): New macro.
526 (MAX_CHAR_SMP): New macro.
527 (MIN_CHAR_SIP): New macro.
528 (MAX_CHAR_SIP): New macro.
530 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
532 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
535 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
537 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
538 value; don't store value into `encoding_table' of `Lisp_Charset'.
539 (mark_charset): `encoding_table' was deleted.
540 (charset_description): Likewise.
541 (make_charset): Likewise.
542 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
543 `put_char_ccs_code_point'.
545 * chartab.h (Fput_char_attribute): New EXFUN.
547 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
548 is unified with normal symbol space.
549 (Fget_char_attribute): Likewise.
550 (Fput_char_attribute): Likewise; behavior of
551 `put_char_ccs_code_point' is changed.
553 * char-ucs.h: Include "elhash.h".
554 (Vchar_attribute_hash_table): New external variable.
555 (struct Lisp_Charset): Delete `encoding_table'.
556 (CHARSET_ENCODING_TABLE): New implementation; refer
557 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
560 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
562 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
565 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
567 * text-coding.c (char_encode_big5): Prefer charset-g1 than
570 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
572 * chartab.c (uint8_byte_table_description): New constant.
573 (uint8-byte-table): Use `uint8_byte_table_description'.
574 (uint16_byte_table_description): New constant.
575 (uint16-byte-table): Use `uint16_byte_table_description'.
577 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
579 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
580 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
582 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
584 * mule-charset.c (Vcharset_ucs_ks): New variable.
585 (Qucs_ks): New variable.
586 (syms_of_mule_charset): Add new symbol `ucs-ks'.
587 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
589 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
591 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
593 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
594 (Fdecode_char): Likewise.
596 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
598 (Fdefine_char): Modify for Fdecode_char.
599 (Ffind_char): Likewise.
601 * mule-charset.c (Fdecode_char): Add new optional argument
603 (Fdecode_builtin_char): Modify for `Fdecode_char'.
605 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
607 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
608 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
609 (allocate_coding_system): Initialize initial-charsets of
610 CODESYS_BIG5 in XEmacs UTF-2000.
611 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
612 CODESYS_BIG5 in XEmacs UTF-2000.
613 (decode_coding_big5): Use initial-charset-g0 and -g1 of
614 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
616 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
618 (Qideograph_hanziku_{1 .. 12}): Likewise.
619 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
621 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
622 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
623 `ideograph-hanziku-{1 .. 12}'.
625 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
626 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
627 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
628 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
629 (DECODE_DEFINED_CHAR): New inline function.
630 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
632 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
634 * mule-charset.c (Vcharset_china3_jef): Renamed from
635 `Vcharset_japanese_jef_china3'.
636 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
637 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
638 `{MIN|MAX}_CHAR_JEF_CHINA3'..
639 (syms_of_mule_charset): Rename `china3-jef' from
640 `japanese-jef-china3'.
641 (complex_vars_of_mule_charset): Likewise; rename
642 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
644 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
645 `LEADING_BYTE_JEF_CHINA3'.
646 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
647 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
649 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
651 * mule-charset.c (encode_builtin_char_1): Comment out special code
652 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
654 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
655 (MAX_CHAR_MOJIKYO_0): Comment out.
656 (MIN_CHAR_CBETA): Changed to 0x00E20000.
657 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
658 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
659 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
661 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
663 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
664 (Qideograph_cbeta): New variable.
665 (encode_builtin_char_1): Comment out special code for
666 coded-charset `mojikyo' and `japanese-jef-china3'.
667 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
668 (complex_vars_of_mule_charset): Add new coded-charset
671 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
672 (MIN_CHAR_CBETA): New macro.
673 (MAX_CHAR_CBETA): New macro.
675 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
677 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
678 (LEADING_BYTE_JEF_CHINA3): New macro.
679 (MIN_CHAR_JEF_CHINA3): New macro.
680 (MAX_CHAR_JEF_CHINA3): Likewise.
681 (DECODE_CHAR): Fixed.
683 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
685 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
686 (Qjapanese_jef_china3): New variable.
687 (encode_builtin_char_1): Support `japanese-jef-china3'.
688 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
689 (complex_vars_of_mule_charset): Add new coded-charset
690 `japanese-jef-china3'.
692 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
694 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
695 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
696 94^4, 96^3, 96^4, 128^n and 256^n set.
697 (put_char_table): Use `XCHARSET_CELL_RANGE'.
698 (map_char_table): Likewise.
700 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
702 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
705 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
707 * chartab.h (get_char_id_table): New inline function.
709 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
712 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
714 * chartab.h (decode_char_table_range): New prototype in XEmacs
716 (put_char_id_table): New inline function in XEmacs UTF-2000.
718 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
720 (decode_char_table_range): Delete static declaration in XEmacs
723 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
725 * chartab.c (put_char_id_table): Use `put_char_table'.
727 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
729 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
730 (map_over_uint16_byte_table): Likewise.
731 (map_over_byte_table): Likewise.
732 (map_char_table): Modify for `map_over_uint8_byte_table',
733 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
736 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
738 * chartab.c (struct map_char_table_for_charset_arg): New
740 (map_char_table_for_charset_fun): New function.
741 (map_char_table): Use `map_char_table' for encoding_table of
744 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
746 * chartab.c (map_char_table): Check a character is found in
747 range->charset instead of non default value is defined in
748 char-table when range is CHARTAB_RANGE_ROW.
750 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
752 * chartab.c (map_char_id_table): Deleted.
753 (Fmap_char_attribute): Use `map_char_table' instead of
756 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
758 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
760 (update_syntax_table): Deleted in XEmacs UTF-2000.
762 * syntax.c (find_defun_start): Use `syntax_table' instead of
763 `mirror_syntax_table' in XEmacs UTF-2000.
764 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
766 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
768 (Fmatching_paren): Likewise.
769 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
771 (find_start_of_comment): Likewise.
772 (find_end_of_comment): Likewise.
773 (Fforward_comment): Likewise.
774 (scan_lists): Likewise.
775 (char_quoted): Likewise.
776 (Fbackward_prefix_chars): Likewise.
777 (scan_sexps_forward): Likewise.
778 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
779 (update_syntax_table): Likewise.
781 * search.c (skip_chars): Use `syntax_table' instead of
782 `mirror_syntax_table' in XEmacs UTF-2000.
784 (Freplace_match): Likewise.
786 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
787 `mirror_syntax_table' in XEmacs UTF-2000.
788 (WORDCHAR_P_UNSAFE): Likewise.
789 (re_match_2_internal): Likewise.
791 * font-lock.c (find_context): Use `buf->syntax_table' instead of
792 `buf->mirror_syntax_table' in XEmacs UTF-2000.
794 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
795 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
797 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
800 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
802 (print_char_table): Print `default_value' in XEmacs UTF-2000.
803 (char_table_description): Delete `mirror_table' in XEmacs
805 (fill_char_table): Don't call `update_syntax_table' in XEmacs
807 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
808 (Fcopy_char_table): Likewise.
809 (put_char_table): Don't call `update_syntax_table' in XEmacs
812 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
813 `buf->mirror_syntax_table' in XEmacs UTF-2000.
814 (casify_region_internal): Likewise.
816 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
818 * buffer.c (common_init_complex_vars_of_buffer): Don't use
819 `mirror_syntax_table' in XEmacs UTF-2000.
821 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
822 `buf->mirror_syntax_table' in XEmacs UTF-2000.
823 (Fexpand_abbrev): Likewise.
825 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
827 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
829 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
831 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
832 (map_over_uint16_byte_table): Likewise.
833 (map_over_byte_table): Likewise.
834 (get_char_id_table): Refer `cit->default_value'.
835 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
836 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
837 of character-id ranges.
838 (mark_char_table): Mark `ct->default_value'.
839 (char_table_description): Add `default_value'.
840 (fill_char_table): Use `default_value'.
841 (decode_char_table_range): Decode `nil' as
842 `CHARTAB_RANGE_DEFAULT'.
843 (get_char_id_table): Refer `cit->default_value'.
844 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
845 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
846 temporary hack; check value of char-table is bound or not.
847 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
849 * chartab.h (struct Lisp_Char_Table): Add new member
850 `default_value' in XEmacs UTF-2000.
851 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
852 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
855 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
857 * chartab.h (Lisp_Char_ID_Table): Deleted.
859 * chartab.c (char_table_description): Fix typo.
860 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
861 `Lisp_Char_ID_Table'.
863 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
865 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
868 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
871 * chartab.h (XCHAR_ID_TABLE): Deleted.
872 (XSETCHAR_ID_TABLE): Deleted.
873 (CHAR_ID_TABLE_P): Deleted.
875 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
877 (Fget_composite_char): Likewise.
878 (put_char_table): Likewise.
879 (add_char_attribute_alist_mapper): Fixed.
880 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
882 (Fget_char_attribute): Likewise.
883 (Fget_char_attribute): Likewise.
884 (Fmap_char_attribute): Likewise.
886 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
888 (encode_char_1): Likewise.
890 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
892 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
895 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
896 instead of `XCHAR_ID_TABLE'.
897 (remove_char_ccs): Likewise.
899 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
901 (Fget_composite_char): Likewise.
902 (Fchar_variants): Likewise.
903 (put_char_table): Likewise.
904 (add_char_attribute_alist_mapper): Likewise.
905 (Fchar_attribute_alist): Likewise.
906 (Fget_char_attribute): Likewise.
907 (Fput_char_attribute): Likewise.
908 (Fmap_char_attribute): Likewise.
909 (Fmap_char_attribute): Likewise.
911 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
913 (encode_char_1): Likewise.
915 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
917 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
918 `Lisp_Char_ID_Table'.
919 (mark_char_id_table): Deleted.
920 (print_char_id_table): Likewise.
921 (char_id_table_equal): Likewise.
922 (char_id_table_hash): Likewise.
923 (char_id_table_description): Likewise.
924 (char_id_table): Likewise.
925 (make_char_id_table): Use `Fmake_char_table' and
927 (get_char_id_table): Use `Lisp_Char_Table' instead of
928 `Lisp_Char_ID_Table'.
929 (put_char_id_table): Likewise.
930 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
932 (Fremove_char_attribute): Likewise.
933 (syms_of_chartab): Don't define type `char-id-table'.
935 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
936 (char_id_table): Likewise.
937 (GC_CHAR_ID_TABLE_P): Likewise.
938 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
939 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
940 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
941 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
942 (get_char_id_table): Use `Lisp_Char_Table' instead of
943 `Lisp_Char_ID_Table'.
944 (put_char_id_table_0): Likewise.
945 (put_char_id_table): Likewise.
947 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
949 * chartab.h: Lisp_Byte_Table related codes are moved from
952 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
954 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
956 * chartab.h: Don't include "chartab.h".
957 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
958 (Lisp_Char_ID_Table): Likewise.
959 (char_id_table): Likewise.
960 (XCHAR_ID_TABLE): Likewise.
961 (XSETCHAR_ID_TABLE): Likewise.
962 (CHAR_ID_TABLE_P): Likewise.
963 (GC_CHAR_ID_TABLE_P): Likewise.
964 (get_char_id_table): Likewise.
966 * char-ucs.h: Include "chartab.h".
967 (struct Lisp_Char_ID_Table): Moved to chartab.h.
968 (Lisp_Char_ID_Table): Likewise.
969 (char_id_table): Likewise.
970 (XCHAR_ID_TABLE): Likewise.
971 (XSETCHAR_ID_TABLE): Likewise.
972 (CHAR_ID_TABLE_P): Likewise.
973 (GC_CHAR_ID_TABLE_P): Likewise.
974 (get_char_id_table): Likewise.
976 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
978 * chartab.c (copy_uint8_byte_table): New function.
979 (copy_uint16_byte_table): New function.
980 (copy_byte_table): New function.
981 (map_over_uint8_byte_table): Modify to avoid huge numbers of
983 (map_over_uint16_byte_table): Likewise.
984 (map_over_byte_table): Likewise.
985 (get_byte_table): Move prototype to chartab.h.
986 (put_byte_table): Likewise.
987 (put_char_id_table_0): Moved to chartab.h.
988 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
989 (char_table_entry_equal): Likewise.
990 (char_table_entry_hash): Likewise.
991 (char_table_entry_description): Likewise.
992 (char_table_entry): Likewise.
993 (make_char_table_entry): Likewise.
994 (copy_char_table_entry): Likewise.
995 (get_non_ascii_char_table_value): Likewise.
996 (map_over_charset_ascii): Likewise.
997 (map_over_charset_control_1): Likewise.
998 (map_over_charset_row): Likewise.
999 (map_over_other_charset): Likewise.
1000 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1001 (print_char_table): Likewise.
1002 (char_table_equal): Likewise.
1003 (char_table_hash): Likewise.
1004 (char_table_description): Likewise.
1005 (fill_char_table): Likewise.
1006 (Fcopy_char_table): Likewise.
1007 (get_char_table): Likewise.
1008 (Fget_range_char_table): Likewise.
1009 (put_char_table): Likewise.
1010 (map_char_table): Likewise.
1011 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1014 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1016 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1017 `Vauto_fill_chars' in XEmacs UTF-2000.
1019 * chartab.h (get_byte_table): New prototype [moved from
1021 (put_byte_table): Likewise [moved from chartab.c].
1022 (put_char_id_table_0): New inline function [moved from chartab.c].
1023 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1024 (Lisp_Char_Table_Entry): Likewise.
1025 (char_table_entry): Likewise.
1026 (XCHAR_TABLE_ENTRY): Likewise.
1027 (XSETCHAR_TABLE_ENTRY): Likewise.
1028 (CHAR_TABLE_ENTRYP): Likewise.
1029 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1030 (NUM_ASCII_CHARS): Likewise.
1031 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1032 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1034 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1036 * chartab.c (get_char_id_table): Change interface.
1037 (put_char_id_table_0): New function.
1038 (put_char_id_table): Change interface; new implementation.
1039 (Fget_composite_char): Modify for interface change of
1040 `get_char_id_table'.
1041 (Fchar_variants): Likewise.
1042 (add_char_attribute_alist_mapper): Likewise.
1043 (Fchar_attribute_alist): Likewise.
1044 (Fget_char_attribute): Likewise.
1045 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1046 as same as character as the first argument like `put-char-table';
1047 modify for interface change of `put_char_id_table'.
1048 (Fremove_char_attribute): Modify for interface change of
1049 `put_char_id_table'.
1051 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1053 * text-coding.c: Sync up with XEmacs 21.2.41.
1054 (COMPOSE_ADD_CHAR): Modify for interface change of
1055 `get_char_id_table'.
1057 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1058 change of `put_char_id_table'.
1059 (remove_char_ccs): Likewise.
1061 * chartab.h (put_char_id_table): Change interface.
1063 * char-ucs.h (get_char_id_table): Change interface.
1064 (charset_code_point): Modify for interface change of
1065 `get_char_id_table'.
1066 (encode_char_1): Likewise.
1068 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1070 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1072 (map_over_uint16_byte_table): Likewise.
1073 (map_over_byte_table): Likewise.
1074 (map_char_id_table): Add new argument `range' like
1076 (Fmap_char_attribute): Add new argument `range' like
1079 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1081 * chartab.c (map_over_uint8_byte_table): Change interface of
1082 mapping function to use struct chartab_range instead of Emchar.
1083 (map_over_uint16_byte_table): Likewise.
1084 (map_over_byte_table): Likewise.
1085 (map_char_id_table): Likewise.
1086 (struct slow_map_char_id_table_arg): Deleted.
1087 (slow_map_char_id_table_fun): Deleted.
1088 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1089 function `slow_map_char_table_fun' instead of struct
1090 `slow_map_char_id_table_arg' and function
1091 `slow_map_char_id_table_fun'.
1093 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1095 * mule-charset.c: Move char-it-table related codes to chartab.c.
1096 (Vutf_2000_version): Moved to chartab.c.
1097 (Fdefine_char): Likewise.
1098 (Ffind_char): Likewise.
1099 (syms_of_mule_charset): Move types `uint8-byte-table',
1100 `uint16-byte-table', `byte-table' and `char-id-table' to
1101 chartab.c; move functions `char_attribute_list,
1102 `find_char_attribute_table, `char_attribute_alist,
1103 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1104 `map_char_attribute, `define_char, `find_char, `char_variants and
1105 `get_composite_char to chartab.c; move symbols `=>ucs',
1106 `->decomposition', `compat', `isolated', `initial', `medial',
1107 `final', `vertical', `noBreak', `fraction', `super', `sub',
1108 `circle', `square', `wide', `narrow', `small' and `font' to
1110 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1111 setting codes for `Vcharacter_composition_table' and
1112 `Vcharacter_variant_table' to chartab.c.
1113 (complex_vars_of_mule_charset): Move setting code for
1114 `Vchar_attribute_hash_table' to chartab.c.
1116 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1117 (make_char_id_table): New prototype.
1118 (put_char_id_table): Likewise.
1119 (Fget_char_attribute): Likewise.
1121 * chartab.c: Move char-id-table related code from mule-charset.c.
1122 (Vutf_2000_version): Moved from mule-charset.c.
1124 * char-ucs.h (Qucs): New external variable.
1125 (put_char_ccs_code_point): New prototype.
1126 (remove_char_ccs): Likewise.
1128 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1130 * mule-charset.c (Vcharset_ucs_jis): New variable.
1131 (Qucs_jis): Likewise.
1132 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1133 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1135 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1137 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1139 * mule-charset.c (map_over_uint8_byte_table): New function.
1140 (map_over_uint16_byte_table): Likewise.
1141 (map_over_byte_table): Likewise.
1142 (map_char_id_table): Likewise.
1143 (slow_map_char_id_table_fun): Likewise.
1144 (Fmap_char_attribute): Likewise.
1145 (syms_of_mule_charset): Add new function `map-char-attribute'.
1147 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1149 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1150 (syms_of_mule_charset): Add new function `find-char'.
1152 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1154 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1156 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1157 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1159 (complex_vars_of_mule_charset): Add new coded-charset
1160 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1161 `ideograph-gt-pj-*'.
1163 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1165 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1167 * mule-charset.c (encode_builtin_char_1): Purge codes about
1168 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1169 {MIN|MAX}_CHAR_HEBREW.
1170 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1171 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1173 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1174 (MAX_CHAR_GREEK): Purged.
1175 (MIN_CHAR_CYRILLIC): Purged.
1176 (MAX_CHAR_CYRILLIC): Purged.
1177 (MIN_CHAR_HEBREW): Commented out.
1178 (MAX_CHAR_HEBREW): Likewise.
1180 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1182 * mule-charset.c (Qto_ucs): New variable.
1183 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1184 (Fdefine_char): Likewise.
1185 (syms_of_mule_charset): Add new symbol `=>ucs'.
1187 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1189 * mule-charset.c (Fdecode_char): Fixed.
1191 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1193 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1194 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1197 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1199 * mule-charset.c (Vcharset_ucs_big5): New variable.
1200 (Qucs_big5): Likewise.
1201 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1202 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1204 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1206 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1208 * mule-charset.c (decode_builtin_char): Check Big5 code range
1209 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1211 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1213 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1214 (Qchinese_gb12345): Likewise.
1215 (Fdecode_builtin_char): Fixed.
1216 (syms_of_mule_charset): Add `chinese-gb12345'.
1217 (complex_vars_of_mule_charset): Add coded-charset
1220 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1221 (LEADING_BYTE_CHINESE_GB12345): New macro.
1223 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1225 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1226 and `latin-viscii-upper' for `latin-viscii'.
1228 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1230 * mule-charset.c (Fdecode_builtin_char): Comment out
1231 regularization code for ISO-IR GR representation.
1233 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1235 * mule-charset.c (decode_builtin_char): New function; renamed from
1236 `make_builtin_char'; return -1 instead of signal.
1237 (Fdecode_builtin_char): Use `decode_builtin_char'.
1239 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1240 `make_builtin_char'.
1241 (DECODE_CHAR): Use `decode_builtin_char' instead of
1242 `make_builtin_char'; use mapping table of `chinese-big5' for
1243 `chinese-big5-{1,2}'.
1245 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1247 * text-coding.c (char_encode_big5): New function.
1248 (char_finish_big5): Likewise.
1249 (reset_encoding_stream): Use `char_encode_big5' and
1250 `char_finish_big5' for CODESYS_BIG5.
1251 (mule_encode): Don't use `encode_coding_big5'.
1252 (encode_coding_big5): Deleted.
1254 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1256 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1257 0x81- in XEmacs UTF-2000.
1258 (detect_coding_big5): Likewise.
1260 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1262 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1263 generate character-id if the CCS property does not have
1264 corresponding predefined character.
1265 (make_builtin_char): Return -1 if corresponding predefined
1266 character is not found.
1267 (Fdecode_char): Return nil if corresponding character is not
1269 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1270 don't map to builtin ucs space.
1272 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1274 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1275 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1277 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1279 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1280 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1281 (Qideograph_gt): Likewise.
1282 (Qideograph_gt_pj_{1..11}): Likewise.
1283 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1284 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1285 `ideograph-gt-pj-11'.
1286 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1287 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1288 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1290 * char-ucs.h (LEADING_BYTE_GT): New macro.
1291 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1292 (MIN_CHAR_GT): Likewise.
1293 (MAX_CHAR_GT): Likewise.
1295 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1297 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1298 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1300 * doprnt.c (unsigned_int_converters): Add `c'.
1301 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1303 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1304 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1306 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1307 (MAX_CHAR_MOJIKYO_0): New macro.
1308 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1310 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1312 * mule-charset.c (Fdefine_char): Delete cemented out code.
1313 (encode_builtin_char_1): Modify for new allocation of builtin
1316 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1318 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1320 * mule-charset.c (Vcharset_ucs_cns): New variable.
1321 (Qucs_cns): New variable.
1322 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1323 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1325 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1327 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1329 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1331 * search.c (search_buffer): Make `charset_base_code' as
1332 character-id >> 6 to eliminate the corresponding last byte in
1333 UTF-8 representation [I'm not sure it is right thing].
1334 (boyer_moore): Likewise.
1336 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1338 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1339 representation in MULE.
1341 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1343 * text-coding.c (Fmake_coding_system): Use
1344 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1345 `EXTERNAL_PROPERTY_LIST_LOOP'.
1347 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1349 * text-coding.c (decode_output_utf8_partial_char): New function.
1350 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1352 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1354 * text-coding.c (decode_coding_utf8): Output original byte
1355 sequence if it is broken; change order of conditions.
1357 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1360 * mb-multibyte.h (BYTE_ASCII_P):
1361 Use bit ops for char-signedness safety.
1362 (BYTE_C0_P): Use bit ops for char-signedness safety.
1363 (BYTE_C1_P): Use bit ops for char-signedness safety.
1365 * character.h: (XCHAR_OR_CHAR_INT):
1366 Always use inline function.
1367 Remove redundant type checking assert() - XINT will abort quite
1370 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1372 * text-coding.c: (Fencode_shift_jis_char):
1373 (Fencode_big5_char):
1374 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1375 Replace 0 with '\0' when working with bytes.
1376 Replace initial "(" with "\(" in docstrings.
1378 (Fmake_coding_system):
1379 When type is ccl and value is vector, register it with a proper
1380 symbol. And checks whether the given ccl program is valid.
1381 (mule_decode): When calling ccl_driver, if src indicates
1382 NULL pointer, set an empty string instead.
1383 (mule_encode): Likewise.
1386 (detect_coding_sjis):
1387 (decode_coding_sjis):
1388 (detect_coding_big5):
1389 (decode_coding_big5):
1390 (detect_coding_ucs4):
1391 (decode_coding_ucs4):
1392 (detect_coding_utf8):
1393 (decode_coding_utf8):
1394 (detect_coding_iso2022):
1395 (decode_coding_iso2022):
1396 (decode_coding_no_conversion):
1398 Make all detecting and decoding functions take an Extbyte * arg.
1399 (text_encode_generic):
1400 (encode_coding_big5):
1401 (encode_coding_no_conversion):
1403 Make all encoding functions take a Bufbyte * arg.
1404 Use size_t instead of unsigned int for memory sizes.
1405 Only cast to unsigned char whenever dereferencing Extbyte *.
1407 (struct lrecord_description fcd_description_1): Use countof.
1408 (complex_vars_of_file_coding):
1409 Use countof instead of sizeof.
1410 Use CHECK_NATNUM instead of CHECK_INT.
1412 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1414 * mule-charset.c (Fget_char_attribute): Add new optional argument
1416 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1417 (remove_char_ccs): Likewise.
1419 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1421 * text-coding.c (char_encode_shift_jis): New implementation in
1423 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1426 * mule-charset.c (Vcharset_chinese_big5): New variable in
1428 (Qchinese_big5): New variable in UTF-2000.
1429 (BIG5_SAME_ROW): New macro in UTF-2000.
1430 (make_builtin_char): Use builtin characters of
1431 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1432 characters of `Vcharset_chinese_big5'.
1433 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1434 (complex_vars_of_mule_charset): Add new coded-charset
1435 `chinese-big5' in UTF-2000.
1437 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1438 (Vcharset_chinese_big5): New external variable declaration.
1439 (Vcharset_japanese_jisx0208_1990): Likewise.
1441 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1443 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1445 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1447 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1449 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1450 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1451 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1454 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1456 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1458 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1460 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1463 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1465 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1466 for `CHARSET_BY_ATTRIBUTES'.
1467 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1468 `CHARSET_BY_ATTRIBUTES'.
1470 * text-coding.c (struct decoding_stream): Rename member `CH' to
1472 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1473 (decode_coding_sjis): Likewise.
1474 (decode_coding_big5): Likewise.
1475 (decode_coding_ucs4): Likewise.
1476 (decode_coding_utf8): Likewise.
1477 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1478 `CHARSET_BY_ATTRIBUTES'.
1479 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1480 `str->counter'; decode 3, 4 bytes sets.
1481 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1483 (decode_coding_no_conversion): Use `str->cpos' instead of
1486 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1487 (Qmojikyo_2022_1): New variable.
1488 (make_charset): Don't use `CHARSET_TYPE_*'.
1489 (range_charset_code_point): Support coded-charset
1491 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1492 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1493 `CHARSET_BY_ATTRIBUTES'.
1494 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1495 `CHARSET_BY_ATTRIBUTES'.
1496 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1497 (complex_vars_of_mule_charset): Add new coded-charset
1500 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1501 interface; changed to inline function.
1503 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1504 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1505 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1506 (CHARSET_TYPE_94): Deleted.
1507 (CHARSET_TYPE_94X94): Deleted.
1508 (CHARSET_TYPE_96): Deleted.
1509 (CHARSET_TYPE_96X96): Deleted.
1510 (CHARSET_TYPE_128): Deleted.
1511 (CHARSET_TYPE_128X128): Deleted.
1512 (CHARSET_TYPE_256): Deleted.
1513 (CHARSET_TYPE_256X256): Deleted.
1514 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1516 (DECODE_MOJIKYO_2022): New inline function.
1517 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1518 `Vcharset_mojikyo_2022_1'.
1520 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1522 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1524 (put_byte_table): Likewise.
1525 (char_id_table_equal): Use `get_byte_table' [new implementation].
1527 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1529 * mule-charset.c: Include <limits.h> in UTF-2000.
1530 (BT_UINT8_MIN): New macro in UTF-2000.
1531 (BT_UINT8_MAX): New macro in UTF-2000.
1532 (BT_UINT8_t): New macro in UTF-2000.
1533 (BT_UINT8_nil): New macro in UTF-2000.
1534 (BT_UINT8_unbound): New macro in UTF-2000.
1535 (INT_UINT8_P): New inline function in UTF-2000.
1536 (UINT8_VALUE_P): New inline function in UTF-2000.
1537 (UINT8_ENCODE): New inline function in UTF-2000.
1538 (UINT8_DECODE): New inline function in UTF-2000.
1539 (mark_uint8_byte_table): New function in UTF-2000.
1540 (print_uint8_byte_table): New function in UTF-2000.
1541 (uint8_byte_table_equal): New function in UTF-2000.
1542 (uint8_byte_table_hash): New function in UTF-2000.
1543 (make_uint8_byte_table): New function in UTF-2000.
1544 (uint8_byte_table_same_value_p): New function in UTF-2000.
1545 (BT_UINT16_MIN): New macro in UTF-2000.
1546 (BT_UINT16_MAX): New macro in UTF-2000.
1547 (BT_UINT16_t): New macro in UTF-2000.
1548 (BT_UINT16_nil): New macro in UTF-2000.
1549 (BT_UINT16_unbound): New macro in UTF-2000.
1550 (INT_UINT16_P): New inline function in UTF-2000.
1551 (UINT16_VALUE_P): New inline function in UTF-2000.
1552 (UINT16_ENCODE): New inline function in UTF-2000.
1553 (UINT16_DECODE): New inline function in UTF-2000.
1554 (UINT8_TO_UINT16): New inline function in UTF-2000.
1555 (mark_uint16_byte_table): New function in UTF-2000.
1556 (print_uint16_byte_table): New function in UTF-2000.
1557 (uint16_byte_table_equal): New function in UTF-2000.
1558 (uint16_byte_table_hash): New function in UTF-2000.
1559 (make_uint16_byte_table): New function in UTF-2000.
1560 (uint16_byte_table_same_value_p): New function in UTF-2000.
1561 (print_byte_table): New function in UTF-2000.
1562 (byte-table): Use `print_byte_table' as printer.
1563 (make_byte_table): Delete second argument `older'.
1564 (byte_table_same_value_p): New function in UTF-2000.
1565 (copy_byte_table): Deleted.
1566 (get_byte_table): New function in UTF-2000.
1567 (put_byte_table): New function in UTF-2000.
1568 (print_char_id_table): New function in UTF-2000.
1569 (char-id-table): Use `print_char_id_table' as printer.
1570 (make_char_id_table): Delete second argument `older'.
1571 (get_char_id_table): Use `get_byte_table [new implementation].
1572 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1574 (Ffind_char_attribute_table): New function in UTF-2000.
1575 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1576 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1577 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1578 (syms_of_mule_charset): Add new function
1579 `find-char-attribute-table' in UTF-2000.
1581 * lrecord.h (enum lrecord_type): Add
1582 `lrecord_type_uint16_byte_table' and
1583 `lrecord_type_uint8_byte_table'.
1585 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1586 (Lisp_Uint8_Byte_Table): New type.
1587 (XUINT8_BYTE_TABLE): New macro.
1588 (XSETUINT8_BYTE_TABLE): New macro.
1589 (UINT8_BYTE_TABLE_P): New macro.
1590 (GC_UINT8_BYTE_TABLE_P): New macro.
1591 (struct Lisp_Uint16_Byte_Table): New structure.
1592 (Lisp_Uint16_Byte_Table): New type.
1593 (XUINT16_BYTE_TABLE): New macro.
1594 (XSETUINT16_BYTE_TABLE): New macro.
1595 (UINT16_BYTE_TABLE_P): New macro.
1596 (GC_UINT16_BYTE_TABLE_P): New macro.
1598 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1600 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1601 (Vcharacter_ideographic_strokes_table): Deleted.
1602 (Vcharacter_total_strokes_table): Deleted.
1603 (Vcharacter_morohashi_daikanwa_table): Deleted.
1604 (Vcharacter_decomposition_table): Deleted.
1605 (Qname): Deleted because it is duplicated.
1606 (Qideographic_radical): Deleted.
1607 (Qideographic_strokes): Deleted.
1608 (Qtotal_strokes): Deleted.
1609 (Qmorohashi_daikanwa): Deleted.
1610 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1611 `ideographic-radical', `ideographic-strokes', `total-strokes',
1612 `morohashi-daikanwa' and `->decomposition'.
1613 (Fget_char_attribute): Likewise.
1614 (Fput_char_attribute): Likewise; use `make-vector' instead of
1615 `make_older_vector' for `->decomposition' value.
1616 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1617 `ideograph-daikanwa'.
1618 (syms_of_mule_charset): Delete builtin symbols `name',
1619 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1620 `morohashi-daikanwa'.
1621 (vars_of_mule_charset): Don't setup
1622 `Vcharacter_ideographic_radical_table',
1623 `Vcharacter_ideographic_strokes_table',
1624 `Vcharacter_total_strokes_table',
1625 `Vcharacter_morohashi_daikanwa_table' and
1626 `Vcharacter_decomposition_table'.
1628 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1630 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1631 `make_older_vector', `make_vector_newer_1' and
1632 `make_vector_newer'.
1634 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1635 `make_older_vector' and `make_vector_newer'.
1637 * config.h.in (HAVE_GGC): New macro.
1639 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1641 * mule-charset.c (struct char_attribute_list_closure): New
1642 structure in UTF-2000.
1643 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1644 (Fchar_attribute_list): Likewise.
1645 (Fset_charset_mapping_table): Use `make_vector_newer'.
1646 (Fdecode_builtin_char): New function in UTF-2000.
1647 (syms_of_mule_charset): Add new function `char-attribute-list' and
1648 `decode-builtin-char' in UTF-2000.
1650 * lisp.h (make_vector_newer): New prototype.
1652 * alloc.c (make_vector_newer_1): New function.
1653 (make_vector_newer): New function.
1655 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1657 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1660 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1662 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1663 (Vcharacter_attribute_table): Deleted.
1664 (Vcharacter_name_table): Deleted.
1665 (put_char_attribute): Deleted.
1666 (remove_char_attribute): Deleted.
1667 (struct char_attribute_alist_closure): New structure.
1668 (add_char_attribute_alist_mapper): New function.
1669 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1670 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1671 (Fget_char_attribute): Likewise.
1672 (Fput_char_attribute): Likewise.
1673 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1674 of `remove_char_attribute'.
1675 (Fdefine_char): Return character.
1676 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1677 and `Vcharacter_name_table'.
1678 (complex_vars_of_mule_charset): Likewise
1679 `Vchar_attribute_hash_table'.
1681 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1683 * character.h (CHARC_CHARSET): New macro.
1684 (CHARC_CHARSET_ID): New macro.
1685 (CHARC_CODE_POINT): New macro.
1686 (CHARC_COLUMNS): New macro.
1687 (CHARC_TO_CHAR): New inline function.
1688 (CHARC_EQ): New inline function.
1689 (CHARC_ASCII_EQ): New inline function.
1690 (CHARC_IS_SPACE): New inline function.
1691 (ASCII_TO_CHARC): New inline function.
1693 * char-ucs.h (encode_char_2): Deleted.
1694 (ENCODE_CHAR): Use `encode_char_1' again.
1695 (breakup_char_1): Likewise.
1696 (CHAR_TO_CHARC): New inline function.
1698 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1700 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1702 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1703 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1704 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1705 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1706 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1708 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1710 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1712 (x_output_display_block): Use `CHARC_CHARSET' and
1715 * redisplay-tty.c (tty_output_display_block): Use
1717 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1719 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1721 * insdel.c (find_charsets_in_charc_string): Use
1723 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1724 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1725 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1726 (convert_charc_string_into_malloced_string): Likewise.
1728 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1730 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1731 instead of <Emchar_dynarr *> for buf; use
1732 `convert_bufbyte_string_into_charc_dynarr' instead of
1733 `convert_bufbyte_string_into_emchar_dynarr'; use
1734 `find_charsets_in_charc_string' instead of
1735 `find_charsets_in_emchar_string'.
1738 - Include "character.h".
1739 (struct rune): New member `cglyph'; delete member `chr'.
1741 * redisplay.c (redisplay_text_width_charc_string): New function;
1742 delete `redisplay_text_width_emchar_string'.
1743 (rtw_charc_dynarr): New variable; renamed from
1744 `rtw_emchar_dynarr'.
1745 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
1746 `rtw_emchar_dynarr'; use
1747 `convert_bufbyte_string_into_charc_dynarr' instead of
1748 `convert_bufbyte_string_into_emchar_dynarr'; use
1749 `redisplay_text_width_charc_string' instead of
1750 `redisplay_text_width_emchar_string'.
1751 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1752 instead of `rtw_emchar_dynarr'; use
1753 `convert_bufbyte_string_into_charc_dynarr' instead of
1754 `convert_bufbyte_string_into_emchar_dynarr'.
1755 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1756 `redisplay_text_width_charc_string' instead of
1757 `redisplay_text_width_emchar_string'.
1758 (create_text_block): Modify for <struct rune> change.
1759 (generate_formatted_string_db): Likewise.
1760 (create_string_text_block): Likewise.
1761 (pixel_to_glyph_translation): Likewise.
1763 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
1764 instead of <const Emchar *>.
1765 (x_text_width): Likewise.
1766 (x_output_display_block): Use <Charc_dynarr *> instead
1767 <Emchar_dynarr *>; modify for <structure rune> change.
1768 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
1771 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
1772 <const Emchar *>; use `charc_string_displayed_columns' instead of
1773 `emchar_string_displayed_columns'.
1774 (tty_output_display_block): Use <Charc_dynarr *> instead of
1775 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
1776 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
1777 (tty_output_charc_dynarr_dynarr): New variable; renamed from
1778 `tty_output_emchar_dynarr_dynarr'.
1779 (tty_output_charc_dynarr): New function; delete
1780 `tty_output_charc_dynarr'.
1782 * redisplay-output.c (compare_runes): Modify for `struct rune'.
1783 (redisplay_output_layout): Use <Charc_dynarr *> instead of
1784 <Emchar_dynarr *> for buf; use
1785 `convert_bufbyte_string_into_charc_dynarr' instead of
1786 `convert_bufbyte_string_into_emchar_dynarr'.
1788 * frame.c (title_string_charc_dynarr): New variable; renamed from
1789 `title_string_emchar_dynarr'.
1790 (generate_title_string): Use `title_string_charc_dynarr' instead
1791 of `title_string_emchar_dynarr'; use
1792 `convert_charc_string_into_malloced_string' instead of
1793 `convert_emchar_string_into_malloced_string'.
1794 (init_frame): Use `title_string_charc_dynarr' instead of
1795 `title_string_emchar_dynarr'.
1798 - Include "character.h".
1799 (struct console_methods): Use <const Charc *> instead of <const
1800 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
1801 <Emchar_dynarr *> in output_string_method.
1803 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
1806 * console-stream.c (stream_text_width): Use <const Charc *>
1807 instead of <const Emchar *>.
1809 * character.h (Charc_dynarr): New type.
1811 * char-ucs.h (structure Charc): New structure; define new type
1814 * char-lb.h (DECODE_CHAR): New inline function.
1815 (encode_char_1): New inline function.
1816 (ENCODE_CHAR): New macro.
1817 (structure Charc): New structure; define new type `Charc'.
1819 * char-1byte.h (Vcharset_control_1): New macro.
1820 (Vcharset_latin_iso8859_1): New macro.
1821 (DECODE_CHAR): New inline function.
1822 (encode_char_1): New inline function.
1823 (ENCODE_CHAR): New macro.
1824 (structure Charc): New structure; define new type `Charc'.
1826 * insdel.c (find_charsets_in_charc_string): New function; delete
1827 `find_charsets_in_emchar_string'.
1828 (charc_string_displayed_columns): New function; delete
1829 `emchar_string_displayed_columns'.
1830 (convert_bufbyte_string_into_charc_dynarr): New function; delete
1831 `convert_bufbyte_string_into_emchar_dynarr'.
1832 (convert_charc_string_into_bufbyte_dynarr): New function; delete
1833 `convert_charc_string_into_bufbyte_dynarr'.
1834 (convert_charc_string_into_malloced_string): New function; delete
1835 `convert_charc_string_into_malloced_string'.
1837 * buffer.h (find_charsets_in_charc_string): New prototype; delete
1838 `find_charsets_in_emchar_string'.
1839 (charc_string_displayed_columns): New prototype; delete
1840 `emchar_string_displayed_columns'.
1841 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
1842 `convert_charc_string_into_bufbyte_dynarr'.
1843 (convert_charc_string_into_malloced_string): New prototype; delete
1844 `convert_charc_string_into_malloced_string'.
1846 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1848 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
1850 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1852 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
1854 * char-ucs.h: Use <short> for <Charset_ID>.
1856 * mule-charset.h, char-1byte.h: Use <unsigned char> for
1859 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1861 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1864 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1866 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
1868 (Qmorohashi_daikanwa): New variable.
1869 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
1870 for `morohashi-daikanwa' attribute.
1871 (Fget_char_attribute): Likewise.
1872 (Fput_char_attribute): Likewise.
1873 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
1874 has the same value of `ideograph-daikanwa'.
1875 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
1876 (vars_of_mule_charset): Setup
1877 `Vcharacter_morohashi_daikanwa_table'.
1879 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1881 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
1883 (add_charset_to_list_mapper): Add `key' instead of
1884 `XCHARSET_NAME (value)' to return aliases.
1886 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1888 * mule-charset.c (Vcharacter_ideographic_radical_table): New
1890 (Vcharacter_ideographic_strokes_table): New variable.
1891 (Qideographic_radical): New variable.
1892 (Qideographic_strokes): New variable.
1893 (Fchar_attribute_alist): Use
1894 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
1895 attribute; use `Vcharacter_ideographic_strokes_table' for
1896 `ideographic-strokes' attribute.
1897 (Fget_char_attribute): Likewise.
1898 (Fput_char_attribute): Likewise.
1899 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
1900 `ideographic-strokes'.
1901 (vars_of_mule_charset): Setup
1902 `Vcharacter_ideographic_radical_table' and
1903 `Vcharacter_ideographic_strokes_table'.
1905 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1907 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
1908 (Qtotal_strokes): New variable.
1909 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
1910 `total-strokes' attribute.
1911 (Fget_char_attribute): Likewise.
1912 (Fput_char_attribute): Likewise.
1913 (syms_of_mule_charset): Add new symbol `total-strokes'.
1914 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
1916 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1918 * mule-charset.c (Vcharacter_decomposition_table): New variable.
1919 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
1921 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
1922 `->decomposition' attribute.
1923 (Fput_char_attribute): Likewise.
1924 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
1926 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1928 * mule-charset.c (decoding_table_check_elements): New function.
1929 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
1931 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1933 * mule-charset.c (Fset_charset_mapping_table): Use
1934 `put_char_ccs_code_point'.
1936 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1938 * mule-charset.c (decoding_table_put_char): New inline function.
1939 (put_char_ccs_code_point): Use `decoding_table_put_char'.
1941 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1943 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
1944 (XCHARSET_BYTE_SIZE): New macro.
1945 (decoding_table_remove_char): New inline function.
1946 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
1947 `decoding_table_remove_char'.
1948 (remove_char_ccs): Use `decoding_table_remove_char'.
1949 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
1951 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1953 * mule-charset.c (Vcharacter_name_table): New variable.
1954 (Qname): New variable.
1955 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
1957 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
1958 `Vcharacter_name_table' for `name' attribute.
1959 (Fremove_char_attribute): Use function `remove_char_ccs'.
1960 (put_char_ccs_code_point): New function.
1961 (remove_char_ccs): New function.
1962 (syms_of_mule_charset): Add new symbol `name'.
1963 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
1965 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1967 * mule-charset.c (make_byte_table): Add new argument `older'.
1968 (make_char_id_table): Likewise.
1969 (copy_char_id_table): Comment out because it is not used.
1970 (put_char_id_table): Modify for `make_byte_table'.
1971 (Fput_char_attribute): Make encoding_table as older object;
1972 inherit older bit of `Vcharacter_composition_table'.
1973 (mark_charset): Don't mark `cs->encoding_table'.
1974 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
1975 normal object; make `Vcharacter_composition_table' as an older
1976 object; delete staticpro for `Vcharacter_composition_table'; make
1977 `Vcharacter_variant_table' as a normal object.
1979 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
1980 (mark_object): Don't check older object in UTF-2000.
1982 * lrecord.h (struct lrecord_header): Add new member `older' in
1984 (set_lheader_implementation): Setup `SLI_header->older' in
1986 (set_lheader_older_implementation): New macro in UTF-2000.
1987 (OLDER_RECORD_P): New macro in UTF-2000.
1988 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
1989 (alloc_older_lcrecord): New prototype in UTF-2000.
1990 (alloc_older_lcrecord_type): New macro in UTF-2000.
1992 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1994 * mule-charset.c (byte_table_description): Use
1995 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
1996 (char_id_table_description): Delete bogus `, 1'.
1997 (Fget_char_attribute): Refer encoding_table of each coded-charset
1998 to get value of coded-charset attribute of a character.
1999 (Fput_char_attribute): Use `make_older_vector' instead of
2000 `make_vector'; use encoding_table of each coded-charset to store
2001 value of coded-charset attribute of a character.
2002 (Fremove_char_attribute): Use encoding_table of each coded-charset
2003 to store value of coded-charset attribute of a character.
2004 (mark_charset): Mark `cs->encoding_table'; don't mark
2005 `cs->decoding_table'.
2006 (charset_description): Add description of new member
2008 (make_charset): Initialize `encoding_table'.
2010 * char-ucs.h (struct Lisp_Charset): Add new member
2012 (CHARSET_ENCODING_TABLE): New macro.
2013 (XCHARSET_ENCODING_TABLE): New macro.
2014 (charset_code_point): New implementation.
2015 (encode_char_1): Likewise.
2017 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2018 (disksave_object_finalization_1): Call finalizers of
2019 `all_older_lcrecords' in UTF-2000.
2020 (make_older_vector): New function in UTF-2000.
2021 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2024 * lisp.h (make_older_vector): New prototype in UTF-2000.
2026 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2028 * lrecord.h (enum lrecord_type): Rename
2029 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2031 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2032 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2033 `get_char_code_table'.
2035 * mule-charset.c (mark_char_id_table): Renamed from
2036 `mark_char_code_table'.
2037 (char_id_table_equal): Renamed from `char_code_table_equal'.
2038 (char_id_table_hash): Renamed from `char_code_table_hash'.
2039 (make_char_id_table): Renamed from `make_char_code_table'.
2040 (copy_char_id_table): Renamed from `copy_char_code_table'.
2041 (get_char_id_table): Renamed from `get_char_code_table'.
2042 (put_char_id_table): Renamed from `put_char_code_table'.
2043 (to_char_id): Renamed from `to_char_code'.
2045 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2046 `Lisp_Char_Code_Table'.
2047 (char_id_table): Renamed from `char_code_table'.
2048 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2049 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2050 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2051 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2052 (get_char_id_table): Renamed from `get_char_code_table'.
2054 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2056 * lrecord.h (enum lrecord_type): Rename
2057 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2059 * mule-charset.c (mark_byte_table): Renamed from
2060 `mark_char_byte_table'.
2061 (byte_table_equal): Renamed from `char_byte_table_equal'.
2062 (byte_table_hash): Renamed from `byte_table_hash'.
2063 (make_byte_table): Renamed from `make_byte_table'.
2064 (copy_byte_table): Renamed from `copy_char_byte_table'.
2066 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2067 `Lisp_Char_Byte_Table'.
2068 (byte_table): Renamed from `char_byte_table'.
2069 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2070 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2071 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2072 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2074 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2076 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2077 (dfc_convert_to_internal_format): Likewise.
2079 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2080 * text-coding.c (Fcoding_system_alias_p): New function.
2081 * text-coding.c (Fcoding_system_aliasee): New function.
2082 * text-coding.c (append_suffix_to_symbol): New function.
2083 * text-coding.c (dangling_coding_system_alias_p): New function.
2084 * text-coding.c (Ffind_coding_system):
2085 * text-coding.c (Fcopy_coding_system):
2086 * text-coding.c (encode_coding_no_conversion):
2087 * text-coding.c (syms_of_file_coding):
2088 * text-coding.c (vars_of_file_coding):
2089 Rewrite coding system alias code.
2090 Allow nested aliases, like symbolic links.
2091 Allow redefinition of coding system aliases.
2092 Prevent existence of dangling coding system aliases.
2093 Eliminate convert_to_external_format.
2094 Eliminate convert_to_internal_format.
2096 * text-coding.c: Change enum eol_type to eol_type_t.
2098 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2100 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2101 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2103 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2104 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2106 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2108 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2109 `ideograph-daikanwa'.
2111 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2112 (Vcharset_ucs_bmp): Likewise.
2113 (Vcharset_mojikyo): Add new extern variable definition.
2114 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2115 (Vcharset_latin_iso8859_3): Likewise.
2116 (Vcharset_latin_iso8859_4): Likewise.
2117 (Vcharset_latin_iso8859_9): Likewise.
2118 (Vcharset_latin_viscii_lower): Likewise.
2119 (Vcharset_latin_viscii_upper): Likewise.
2120 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2121 `mojikyo' code-point is used to decode.
2122 (encode_char_2): New function [to convert `mojikyo' code-point to
2123 Mojikyo font encoding].
2124 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2125 (breakup_char_1): Likewise.
2126 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2128 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2130 * text-coding.c (Fmake_coding_system): Add document about
2131 `disable-composition' property.
2133 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2135 * text-coding.c (Qdisable_composition): New variable; delete
2137 (Fmake_coding_system): Add new property `disable-composite';
2138 delete property `composite'.
2139 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2140 instead of `!CODING_SYSTEM_COMPOSITE'.
2141 (syms_of_file_coding): Add new symbol `disable-composition';
2142 delete symbol `composite'.
2144 * file-coding.h (struct Lisp_Coding_System): Add
2145 `disable_composition'; delete `enable_composition'.
2146 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2147 `CODING_SYSTEM_COMPOSITE'.
2148 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2149 `XCODING_SYSTEM_COMPOSITE'.
2151 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2153 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2156 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2158 * text-coding.c (Qcomposite): New variable.
2159 (Fmake_coding_system): Add new property `composite'.
2160 (struct decoding_stream): Add `combined_char_count',
2161 `combined_chars' and `combining_table' in UTF-2000.
2162 (COMPOSE_FLUSH_CHARS): New macro.
2163 (COMPOSE_ADD_CHAR): New macro.
2164 (reset_decoding_stream): Reset `str->combined_char_count' and
2165 `str->combining_table' in UTF-2000.
2166 (decode_coding_iso2022): Modify for character-decomposition.
2167 (syms_of_file_coding): Add new symbol `composite'.
2169 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2171 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2172 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2173 of `Vcharacter_composition_table' if `->decomposition' property
2175 (Qlatin_tcvn5712): New variable.
2176 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2177 (complex_vars_of_mule_charset): Add new coded-charset
2180 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2182 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2184 * file-coding.h (struct Lisp_Coding_System): Add
2185 `enable_composition'.
2186 (CODING_SYSTEM_COMPOSITE): New macro.
2187 (XCODING_SYSTEM_COMPOSITE): New macro.
2189 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2191 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2193 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2195 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2196 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2198 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2200 * mule-charset.c (Vcharset_mojikyo): New variable.
2201 (Fdefine_char): Don't use coded-charset which does not have
2202 non-builtin character range to allocate character-id.
2203 (Qmojikyo): New variable.
2204 (syms_of_mule_charset): Add new symbol `mojikyo'.
2205 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2207 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2208 (LEADING_BYTE_MOJIKYO): New macro.
2209 (MIN_CHAR_MOJIKYO): New macro.
2210 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2211 (MAX_CHAR_MOJIKYO): New macro.
2213 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2215 * mule-charset.c (remove_char_attribute): Fixed.
2217 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2219 * mule-charset.c (remove_char_attribute): New function.
2220 (Fremove_char_attribute): New function.
2221 (encode_builtin_char_1): Comment out builtin-support for
2222 greek-iso8859-7 and cyrillic-iso8859-5.
2223 (Fdecode_char): Check `code' is an integer.
2224 (syms_of_mule_charset): Add `remove-char-attribute'.
2225 (MIN_CHAR_GREEK): Deleted.
2226 (MAX_CHAR_GREEK): Likewise.
2227 (MIN_CHAR_CYRILLIC): Likewise.
2228 (MAX_CHAR_CYRILLIC): Likewise.
2229 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2230 MAX_CHAR_GREEK for `greek-iso8859-7'.
2232 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2233 (MAX_CHAR_GREEK): Likewise.
2234 (MIN_CHAR_CYRILLIC): Likewise.
2235 (MAX_CHAR_CYRILLIC): Likewise.
2237 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2239 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2240 format is used without `ucs' property.
2241 (Fdecode_char): Fix problem with GR representation.
2242 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2243 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2245 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2247 * mule-charset.c (make_builtin_char): New function.
2248 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2249 (Fset_charset_mapping_table): Modify for new representation of
2251 (Fdecode_char): New function.
2252 (syms_of_mule_charset): Add new builtin function `decode-char' in
2255 * char-ucs.h (make_builtin_char): New prototype.
2256 (DECODE_CHAR): New inline function.
2257 (MAKE_CHAR): Use `DECODE_CHAR'.
2259 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2261 * text-coding.c (parse_charset_conversion_specs): Use
2262 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2264 (iso2022_designate): Likewise.
2266 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2267 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2269 * mule-charset.c (Vcharset_ucs): New variable.
2270 (print_charset): Change design; use `CHARSET_CHARS' and
2271 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2272 (make_charset): Change signature to specify `chars' and
2273 `dimension' instead of `type'.
2274 (range_charset_code_point): Modify for 256^n-set.
2275 (encode_builtin_char_1): Encode as `ucs' in default.
2276 (Fmake_charset): Modify for `make_charset'.
2277 (Fmake_reverse_direction_charset): Likewise.
2278 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2280 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2283 * char-ucs.h (Vcharset_ucs): New variable.
2284 (LEADING_BYTE_UCS): New macro.
2285 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2286 and `chars' to `unsigned short' from `unsigned int'.
2287 (CHARSET_TYPE): Deleted.
2288 (XCHARSET_TYPE): Deleted.
2290 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2292 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2294 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2295 (ENCODE_CHAR): New macro.
2297 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2299 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2300 to 0.14 (Kawachi-Katakami).
2302 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2304 * text-coding.c (char_encode_shift_jis): Modify for
2305 `charset_code_point'.
2306 (char_encode_iso2022): Likewise.
2308 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2309 (integer) instead of list of <Lisp_Object>s (integers) as the
2310 format of code-point of a coded-charset.
2311 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2312 (encode_builtin_char_1): New function; delete
2313 `split_builtin_char'.
2314 (charset_code_point): Return <int> instead of <Lisp_Object>.
2315 (Fsplit_char): Don't use `SPLIT_CHAR'.
2317 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2318 prototype for `split_builtin_char'.
2319 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2320 (charset_code_point): Likewise.
2321 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2322 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2324 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2326 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2327 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2329 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2331 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2333 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2334 (MAX_CHAR_OBS_94x94): Deleted.
2336 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2338 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2340 * char-ucs.h (MAX_CHAR_BMP): New macro.
2342 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2344 * text-coding.c: Sync with r21-2-24.
2346 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2348 * file-coding.c: Modify for UTF-2000.
2350 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2352 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2355 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2357 * mule-charset.c (split_builtin_char): Delete builtin support for
2358 `katakana-jisx0201'.
2359 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2360 BMP area in builtin representation.
2362 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2363 `Vcharset_katakana_jisx0201'.
2365 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2367 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2368 (Qisolated): New variable.
2369 (Qinitial): New variable.
2370 (Qmedial): New variable.
2371 (Qfinal): New variable.
2372 (Qvertical): New variable.
2373 (Qsmall): New variable.
2374 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2375 `Qvertical' and `Qsmall'.
2376 (Qmojikyo_pj_[1 .. 21]): New variable.
2377 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2378 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2379 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2382 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2384 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2385 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2386 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2388 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2390 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2391 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2393 (Qjapanese_jisx0208_1990): New variable.
2394 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2395 (complex_vars_of_mule_charset): Add new coded-charset
2396 `japanese-jisx0208-1990'.
2398 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2399 (MIN_CHAR_JIS_X0208_1990): New macro.
2400 (MAX_CHAR_JIS_X0208_1990): New macro.
2402 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2404 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2405 coded-charset is not found.
2407 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2409 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2410 (Fdefine_char): Use `Fmake_char'.
2412 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2414 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2415 (Vcharset_hiragana_jisx0208): Deleted.
2416 (Vcharset_katakana_jisx0208): Deleted.
2417 (Qideograph_daikanwa): New variable.
2418 (Qhiragana_jisx0208): Deleted.
2419 (Qkatakana_jisx0208): Deleted.
2420 (split_builtin_char): Split `ideograph-daikanwa'.
2421 (Fsplit_char): New implementation for UTF-2000.
2422 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2423 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2424 (complex_vars_of_mule_charset): Add new coded-charset
2425 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2426 `katakana-jisx0208'.
2428 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2429 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2430 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2431 (MIN_CHAR_DAIKANWA): New macro.
2432 (MAX_CHAR_DAIKANWA): New macro.
2434 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2436 * data.c (Fstring_to_number): Don't recognize floating point if
2439 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2441 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2443 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2445 * mule-charset.c (Qsquare): New variable.
2446 (to_char_code): Add `Qsquare'.
2447 (syms_of_mule_charset): Add new symbol `square'.
2449 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2451 * mule-charset.c (Qcircle): New variable.
2452 (to_char_code): Add `Qcircle'.
2453 (syms_of_mule_charset): Add new symbol `circle'.
2455 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2457 * mule-charset.c (Qfont): New variable.
2458 (to_char_code): Add `Qfont'.
2459 (syms_of_mule_charset): Add new symbol `font'.
2461 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2463 * mule-charset.c (Qsub): New variable.
2464 (to_char_code): Add `Qsub'.
2465 (syms_of_mule_charset): Add new symbol `sub'.
2467 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2469 * mule-charset.c (Fput_char_attribute): Convert each element of
2470 VALUE to GL position if ATTRIBUTE is a GR-set,
2472 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2474 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2475 coded-charset is a GR-set.
2477 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2479 * mule-charset.c (Fput_char_attribute): Check each element of
2480 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2482 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2484 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2486 (Qethiopic_ucs): New variable in UTF-2000.
2487 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2488 (complex_vars_of_mule_charset): Add new coded-charset
2489 `ethiopic-ucs' in UTF-2000.
2491 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2492 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2494 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2496 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2498 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2500 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2503 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2505 * mule-charset.c (Vcharacter_variant_table): New variable.
2506 (Q_ucs): New variable.
2507 (Fchar_variants): New function.
2508 (Fput_char_attribute): Register `->ucs' value to
2509 `Vcharacter_variant_table'.
2510 (syms_of_mule_charset): Add new function `char-variants' and new
2512 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2514 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2516 * mule-charset.c (get_char_code_table): Allow negative character
2518 (put_char_code_table): Likewise.
2519 (Vcharacter_composition_table): New variable.
2520 (Q_decomposition): New variable.
2521 (Qwide): New variable.
2522 (Qnarrow): New variable.
2523 (Qcompat): New variable.
2524 (QnoBreak): New variable.
2525 (Qsuper): New variable.
2526 (Qfraction): New variable.
2527 (to_char_code): New function.
2528 (Fget_composite_char): New function.
2529 (Fput_char_attribute): Register `->decomposition' value to
2530 `Vcharacter_composition_table'.
2531 (syms_of_mule_charset): Add new function `get-composite-char', new
2532 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2533 `super' and `fraction'.
2534 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2536 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2538 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2539 character; copy the return value.
2541 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2543 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2545 * mule-charset.c (range_charset_code_point): Must use make_int.
2546 (split_builtin_char): New function.
2548 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2550 * mule-charset.c (char_byte_table): Change name from
2551 "char-code-table" to "char-byte-table".
2552 (mark_char_code_table): New function.
2553 (char_code_table_equal): New function.
2554 (char_code_table_hash): New function.
2555 (char_code_table_description): New constant.
2556 (char_code_table): New type.
2557 (make_char_code_table): New function.
2558 (copy_char_code_table): New function.
2559 (get_char_code_table): Modify for `char_code_table' type.
2560 (put_char_code_table): Likewise.
2561 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2564 * char-ucs.h (char_code_table): New type.
2565 (XCHAR_CODE_TABLE): New macro.
2566 (XSETCHAR_CODE_TABLE): New macro.
2567 (CHAR_CODE_TABLE_P): New macro.
2568 (GC_CHAR_CODE_TABLE_P): New macro.
2569 (struct Lisp_Char_Code_Table): New structure.
2571 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2573 * mule-charset.c (Fmake_charset): Setup byte_offset for
2576 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2578 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2581 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2583 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2586 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2588 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2589 charset, it is regarded as a charset.
2590 (put_char_attribute): New function in UTF-2000.
2591 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2592 charset, mapping-table of the charset is modified.
2593 (Fdefine_char): New function in UTF-2000.
2594 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2595 `Fput_char_attribute'.
2596 (syms_of_mule_charset): Add new function `define-char' and new
2597 symbol `ucs' in UTF-2000.
2598 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2600 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2602 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2603 non-UTF-2000 configuration.
2605 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2607 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2608 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2610 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2612 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2613 (Fset_charset_mapping_table): Likewise.
2615 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2616 (CHARSET_ENCODING_TABLE): Delete.
2617 (XCHARSET_ENCODING_TABLE): Delete.
2618 (charset_code_point): New interface.
2620 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2622 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2623 instead of `charset_get_byte1' and `charset_get_byte2'.
2625 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2626 (charset_get_byte2): Deleted.
2628 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2630 * char-ucs.h (SPLIT_CHAR): New inline function.
2631 (breakup_char_1): Use `SPLIT_CHAR'.
2633 * mule-charset.c (range_charset_code_point): New function.
2634 (charset_code_point): New function.
2636 * char-ucs.h (range_charset_code_point): New interface.
2637 (breakup_char_1): Use `range_charset_code_point'.
2639 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2641 * mule-charset.c (Fmake_charset): Delete unused local variable
2644 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2645 (breakup_char_1): Find a charset and code-point in
2646 `Vcharacter_attribute_table'.
2648 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2650 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2653 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2655 * mule-charset.c (Vcharacter_attribute_table): New variable.
2656 (Fchar_attribute_alist): New function.
2657 (Fget_char_attribute): New function.
2658 (Fput_char_attribute): New function.
2659 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2661 (syms_of_mule_charset): Add new function `char-attribute-alist',
2662 `get-char-attribute' and `put-char-attribute'.
2663 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2665 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2667 * mule-charset.c (Fmake_charset): Just use
2668 `get_unallocated_leading_byte'.
2670 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2671 sets; don't use final-byte based number for private sets.
2673 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2675 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2678 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2680 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2683 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2685 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2686 of `CHAR_LEADING_BYTE' in UTF-2000.
2688 * insdel.c (find_charsets_in_bufbyte_string): Use
2689 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2690 (find_charsets_in_emchar_string): Likewise.
2692 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2693 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2695 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2696 (CHAR_CHARSET_ID): New macro.
2698 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2700 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2701 charset-id - MIN_LEADING_BYTE.
2702 (put_char_table): Likewise.
2704 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2706 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2707 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2708 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2709 (CHARSET_ID_OFFSET): New macro.
2710 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2711 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2712 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2713 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2715 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2717 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2718 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2719 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2720 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2721 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2723 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2725 * mule-charset.c (next_allocated_leading_byte): New variable in
2727 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2728 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2729 (get_unallocated_leading_byte): Simply use
2730 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2731 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2734 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2735 (MAX_LEADING_BYTE_PRIVATE): New macro.
2736 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2737 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2739 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2741 * mule-charset.c (Fmake_charset): Allocate final-byte based
2742 charset-id for 94-set, 96-set and 94x94-set.
2744 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2746 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
2748 (Fmake_charset): Likewise.
2749 (complex_vars_of_mule_charset): Modify the font registry of
2750 `ucs-bmp' not to match `Ethiopic-Unicode'.
2752 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2754 * mule-charset.c (complex_vars_of_mule_charset): Add font
2755 registory of `ucs-bmp'.
2757 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2759 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2760 coded-charsets in `default-coded-charset-priority-list' when
2761 breaking up a character.
2763 * mule-charset.c (Vcharset_latin_viscii): New variable.
2764 (Qlatin_viscii): New variable.
2765 (make_charset): Don't use `decoding_table'.
2766 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
2768 (Fset_charset_mapping_table): New implementation.
2769 (syms_of_mule_charset): Add new symbol `latin-viscii'.
2770 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
2771 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
2772 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
2773 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
2774 charset `latin_viscii'.
2776 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
2777 (CHARSET_TYPE_94X94): Change to 1 from 2.
2778 (CHARSET_TYPE_96): Change to 2 from 1.
2779 (CHARSET_TYPE_128): New macro.
2780 (CHARSET_TYPE_128X128): Change to 5 from 4.
2781 (CHARSET_TYPE_256): New macro.
2782 (CHARSET_TYPE_256X256): Change to 7 from 5.
2783 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
2785 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2787 * text-coding.c (char_encode_shift_jis): Refer
2788 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
2789 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
2791 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
2792 (char_byte_table_equal): New function in UTF-2000.
2793 (char_byte_table_hash): New function in UTF-2000.
2794 (char_byte_table_description): New constant in UTF-2000.
2795 (char_byte_table): New type in UTF-2000.
2796 (make_char_byte_table): New function in UTF-2000.
2797 (copy_char_byte_table): New function in UTF-2000.
2798 (make_char_code_table): New macro in UTF-2000.
2799 (get_char_code_table): New function in UTF-2000.
2800 (put_char_code_table): New function in UTF-2000.
2801 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2802 (charset_description): Add setting in UTF-2000.
2803 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
2804 `CHARSET_TO_BYTE1_TABLE(cs)'.
2805 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
2806 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
2807 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
2808 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
2809 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
2810 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
2811 `CHARSET_TO_BYTE2_TABLE(cs)'.
2813 * char-ucs.h (char_byte_table): New type.
2814 (XCHAR_BYTE_TABLE): New macro.
2815 (XSETCHAR_BYTE_TABLE): New macro.
2816 (CHAR_BYTE_TABLE_P): New macro.
2817 (GC_CHAR_BYTE_TABLE_P): New macro.
2818 (struct Lisp_Char_Byte_Table): New structure.
2819 (get_char_code_table): New interface.
2820 (Emchar_to_byte_table): Deleted.
2821 (get_byte_from_character_table): Deleted.
2822 (struct Lisp_Charset): Add `encoding_table'; delete
2823 `to_byte1_table' and `to_byte2_table'.
2824 (CHARSET_ENCODING_TABLE): New macro.
2825 (CHARSET_TO_BYTE1_TABLE): Deleted.
2826 (CHARSET_TO_BYTE2_TABLE): Deleted.
2827 (XCHARSET_ENCODING_TABLE): New macro.
2828 (XCHARSET_TO_BYTE1_TABLE): Deleted.
2829 (XCHARSET_TO_BYTE2_TABLE): Deleted.
2831 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2833 * mule-charset.c (syms_of_mule_charset): Delete charset alias
2834 `vietnamese-viscii-*'.
2836 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2838 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
2839 (Qvietnamese_viscii_upper): New variable.
2840 (Fdefine_charset_alias): New function.
2841 (syms_of_mule_charset): Add new function `define-charset-alias'.
2842 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
2843 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
2846 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
2848 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
2849 (MAX_CHAR_OBS_94x94): New macro.
2850 (breakup_char_1): Support obsolete XEmacs-UCS private code space
2853 * mule-charset.c (put_byte_from_character_table): Change unit size
2855 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
2857 (Fmake_reverse_direction_charset): Modify dummy argument of
2858 `make_charset' for non-UTF-2000 environment.
2860 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2862 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
2864 * mule-charset.c (destroy_byte_from_character_table): New macro.
2865 (latin_jisx0201_to_ucs): Deleted.
2866 (latin_iso8859_2_to_ucs): Deleted.
2867 (latin_iso8859_3_to_ucs): Deleted.
2868 (latin_iso8859_4_to_ucs): Deleted.
2869 (latin_iso8859_9_to_ucs): Deleted.
2870 (latin_viscii_lower_to_ucs): Deleted.
2871 (latin_viscii_upper_to_ucs): Deleted.
2872 (mark_charset): Mark `cs->decoding_table'.
2873 (Fcharset_mapping_table): Fix DOC-string.
2874 (Fset_charset_mapping_table): New function.
2875 (syms_of_mule_charset): Add nwe function
2876 `set-charset-mapping-table'.
2877 (complex_vars_of_mule_charset): Don't setup and use
2880 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
2882 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
2885 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
2887 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
2888 (Vcharset_katakana_jisx0208): New variable.
2889 (Qhiragana_jisx0208): New variable.
2890 (Qkatakana_jisx0208): New variable.
2891 (make_charset): Add new argument `byte_offset'.
2892 (charset_get_byte1): Modify for new coded-charset definition; use
2893 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2894 `XCHARSET_BYTE_OFFSET'.
2895 (Fmake_charset): Modify for `make_charset'.
2896 (Fmake_reverse_direction_charset): Likewise.
2897 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
2898 `katakana-jisx0208'.
2899 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
2900 `.' in font registry of charset `katakana-jisx0201',
2901 `latin-jisx0201', `vietnamese-viscii-lower' and
2902 `vietnamese-viscii-upper'; modify DOC-string of charset
2903 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
2904 registry of charset `japanese-jisx0208' not to use font for JIS
2905 X0208:1990; add new charset `hiragana-jisx0208' and
2906 `katakana-jisx0208'.
2908 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
2909 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
2910 (struct Lisp_Charset): Add `byte_offset'.
2911 (CHARSET_BYTE_OFFSET): New macro.
2912 (XCHARSET_UCS_MIN): New macro.
2913 (XCHARSET_UCS_MAX): New macro.
2914 (XCHARSET_CODE_OFFSET): New macro.
2915 (XCHARSET_BYTE_OFFSET): New macro.
2916 (MIN_CHAR_HIRAGANA): New macro.
2917 (MAX_CHAR_HIRAGANA): New macro.
2918 (MIN_CHAR_KATAKANA): New macro.
2919 (MAX_CHAR_KATAKANA): New macro.
2920 (MAKE_CHAR): Modify for new coded-charset definition; use
2921 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2922 `XCHARSET_BYTE_OFFSET'.
2924 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2926 * mule-charset.c (CHAR96): Deleted.
2927 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
2929 (latin_iso8859_2_to_ucs): Likewise.
2930 (latin_iso8859_3_to_ucs): Likewise.
2931 (latin_iso8859_4_to_ucs): Likewise.
2932 (latin_iso8859_9_to_ucs): Likewise.
2933 (latin_viscii_lower_to_ucs): Likewise.
2934 (latin_viscii_upper_to_ucs): Likewise.
2935 (latin_tcvn5712_to_ucs): Commented out.
2936 (make_charset): Change type of argument `decoding_table' from
2937 <Emchar*> to <Lisp_Object> [vector of characters].
2938 (Fmake_charset): Modify for `make_charset'.
2939 (Fmake_reverse_direction_charset): Likewise.
2940 (Fcharset_mapping_table): New function in UTF-2000.
2941 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
2943 (complex_vars_of_mule_charset): Modify for type change of
2944 `*_to_ucs'; modify for `make_charset'.
2946 * char-ucs.h (struct Lisp_Charset): Change type of
2947 `decoding_table' from <Emchar*> to <Lisp_Object>.
2948 (MAKE_CHAR): Modify for new specification of `decoding_table'.
2950 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2952 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
2953 error with non-UTF-2000-Mule.
2955 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
2957 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
2959 (Vcharset_chinese_cns11643_4): Likewise.
2960 (Vcharset_chinese_cns11643_5): Likewise.
2961 (Vcharset_chinese_cns11643_6): Likewise.
2962 (Vcharset_chinese_cns11643_7): Likewise.
2963 (Qchinese_cns11643_3): Likewise.
2964 (Qchinese_cns11643_4): Likewise.
2965 (Qchinese_cns11643_5): Likewise.
2966 (Qchinese_cns11643_6): Likewise.
2967 (Qchinese_cns11643_7): Likewise.
2968 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
2969 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
2970 and `chinese-cns11643-7' to lisp/mule/chinese.el.
2971 (complex_vars_of_mule_charset): Likewise.
2973 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2975 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
2977 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
2978 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
2980 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2982 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
2984 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
2985 (breakup_char_1): Likewise.
2987 * text-coding.c (char_encode_iso2022): Keep designated charsets if
2988 one of them includes the specified character.
2990 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2992 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
2994 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2996 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
2998 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3000 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3001 definition for non-UTF-2000 Mule.
3002 (latin_iso8859_3_to_ucs): Likewise.
3003 (latin_iso8859_4_to_ucs): Likewise.
3004 (latin_iso8859_9_to_ucs): Likewise.
3005 (latin_jisx0201_to_ucs): Likewise.
3006 (MIN_CHAR_THAI): Likewise.
3007 (MAX_CHAR_THAI): Likewise.
3008 (MIN_CHAR_GREEK): Likewise.
3009 (MAX_CHAR_GREEK): Likewise.
3010 (MIN_CHAR_HEBREW): Likewise.
3011 (MAX_CHAR_HEBREW): Likewise.
3012 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3013 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3014 (MIN_CHAR_CYRILLIC): Likewise.
3015 (MAX_CHAR_CYRILLIC): Likewise.
3017 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3019 * char-ucs.h (breakup_char_1): Use
3020 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3021 thai-tis620 and katakana-jisx0201 area.
3023 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3025 * char-ucs.h (breakup_char_1): Use
3026 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3029 * text-coding.c (reset_encoding_stream): Fixed.
3030 (char_encode_ucs4): Delete `& 255'.
3032 * char-ucs.h (breakup_char_1): Use
3033 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3035 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3037 * file-coding.c (Fmake_coding_system): Don't set up
3038 `codesys->fixed.size'.
3039 (encode_coding_no_conversion): Don't refer
3040 `str->codesys->fixed.size'.
3042 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3044 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3045 (latin_a_char_to_byte1): Deleted.
3046 (latin_a_char_to_byte2): Deleted.
3048 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3050 * mule-charset.c (make_charset): Add new argument `ucs_min',
3051 `ucs_max' and `code_offset'.
3052 (charset_get_byte1): New implementation [delete specific charset
3053 depended implementations].
3054 (Fmake_charset): Modify for `make_charset'.
3055 (Fmake_reverse_direction_charset): Likewise.
3056 (complex_vars_of_mule_charset): Likewise.
3058 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3060 (CHARSET_UCS_MIN): New macro.
3061 (CHARSET_UCS_MAX): New macro.
3062 (CHARSET_CODE_OFFSET): New macro.
3063 (MAKE_CHAR): Delete charset depended definitions [except
3066 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3068 * char-ucs.h (breakup_char_1): Use
3069 `Vdefault_coded_charset_priority_list' for C0-Controls,
3070 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3072 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3074 * char-ucs.h (charset_get_byte1): New function.
3075 (XCHARSET_GET_BYTE1): Deleted.
3076 (charset_get_byte2): New function.
3077 (XCHARSET_GET_BYTE2): Deleted.
3078 (Vdefault_coded_charset_priority_list): New external variable.
3079 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3080 `Vdefault_preferred_coded_charset_list'.
3082 * mule-charset.c (charset_get_byte1): New function.
3083 (charset_get_byte2): New function.
3084 (Vdefault_coded_charset_priority_list): New variable.
3085 (vars_of_mule_charset): Add new variable
3086 `default-coded-charset-priority-list'.
3088 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3090 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3091 (XCHARSET_GET_BYTE2): New inline function.
3092 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3093 `XCHARSET_GET_BYTE2'.
3095 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3097 * mule-charset.c (make_charset): Initialize
3098 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3099 NULL if table is not defined.
3101 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3103 * text-coding.c (char_encode_shift_jis): Use
3104 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3105 `ucs_to_latin_jisx0201'.
3107 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3108 (ucs_to_latin_iso8859_2): Deleted.
3109 (ucs_to_latin_iso8859_3): Deleted.
3110 (ucs_to_latin_iso8859_4): Deleted.
3111 (ucs_to_latin_iso8859_9): Deleted.
3112 (ucs_to_latin_viscii_lower): Deleted.
3113 (ucs_to_latin_viscii_upper): Deleted.
3114 (ucs_to_latin_tcvn5712): Deleted.
3115 (make_charset): Add new argument `decoding_table'; set up
3116 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3117 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3118 `decoding_table' is defined in UTF-2000.
3119 (Fmake_charset): Modify for `make_charset'.
3120 (Fmake_reverse_direction_charset): Likewise.
3121 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3122 and `GENERATE_96_SET'.
3124 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3125 (ucs_to_latin_jisx0201): Deleted.
3126 (latin_iso8859_2_to_ucs): Deleted.
3127 (ucs_to_latin_iso8859_2): Deleted.
3128 (latin_iso8859_3_to_ucs): Deleted.
3129 (ucs_to_latin_iso8859_3): Deleted.
3130 (latin_iso8859_4_to_ucs): Deleted.
3131 (ucs_to_latin_iso8859_4): Deleted.
3132 (latin_iso8859_9_to_ucs): Deleted.
3133 (ucs_to_latin_iso8859_9): Deleted.
3134 (latin_viscii_lower_to_ucs): Deleted.
3135 (ucs_to_latin_viscii_lower): Deleted.
3136 (latin_viscii_upper_to_ucs): Deleted.
3137 (ucs_to_latin_viscii_upper): Deleted.
3138 (struct Lisp_Charset): Renamed `encoding_table' to
3139 `to_byte1_table'; add `to_byte2_table'.
3140 (CHARSET_DECODING_TABLE): New macro.
3141 (CHARSET_TO_BYTE1_TABLE): New macro.
3142 (CHARSET_TO_BYTE2_TABLE): New macro.
3143 (XCHARSET_DECODING_TABLE): New macro.
3144 (XCHARSET_TO_BYTE1_TABLE): New macro.
3145 (XCHARSET_TO_BYTE2_TABLE): New macro.
3146 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3148 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3149 don't use `ucs_to_*' tables.
3151 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3153 * text-coding.c (Fmake_coding_system): Don't set up
3154 `codesys->fixed.size'.
3155 (encode_coding_no_conversion): Use `if' instead of `switch'.
3157 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3159 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3161 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3162 (Fmake_charset): Modify for `make_charset'.
3163 (Fmake_reverse_direction_charset): Likewise.
3164 (complex_vars_of_mule_charset): Likewise.
3166 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3168 * text-coding.c (char_encode_shift_jis): Use table
3169 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3171 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3173 * text-coding.c (text_encode_generic): Use `if' instead of
3175 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3178 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3180 * text-coding.c (encode_coding_sjis): Deleted.
3181 (char_encode_shift_jis): New function.
3182 (char_finish_shift_jis): New function.
3183 (reset_encoding_stream): Set up `encode_char' and `finish' for
3184 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3185 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3186 (char_encode_utf8): Treat `eol_type'.
3188 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3190 * file-coding.c (decode_coding_iso2022): Use
3191 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3193 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3195 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3198 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3200 * char-lb.h (CHAR_COLUMNS): New macro.
3202 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3204 * text-coding.c (char_encode_ucs4): New function.
3205 (char_finish_ucs4): New function.
3206 (encode_coding_ucs4): Deleted.
3207 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3208 (text_encode_generic): Delete local variable `charset' and `half'.
3209 (ucs_to_mule_table): Deleted.
3210 (mule_to_ucs_table): Deleted.
3211 (Fset_ucs_char): Deleted.
3212 (ucs_to_char): Deleted.
3213 (Fucs_char): Deleted.
3214 (Fset_char_ucs): Deleted.
3215 (Fchar_ucs): Deleted.
3216 (decode_ucs4): Deleted.
3217 (mule_char_to_ucs4): Deleted.
3218 (encode_ucs4): Deleted.
3219 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3220 (decode_coding_utf8): Likewise.
3221 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3222 (char_encode_iso2022): Fixed.
3223 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3224 `Fset_char_ucs' and `Fchar_ucs'.
3225 (complex_vars_of_file_coding): Don't initialize
3226 `ucs_to_mule_table'.
3228 * objects-tty.c (tty_initialize_font_instance): Don't use
3231 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3234 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3235 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3237 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3238 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3239 (emchar_string_displayed_columns): Likewise.
3241 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3242 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3243 (string_column_at_point): Likewise.
3244 (Fmove_to_column): Likewise.
3246 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3247 `encoding_table' and `decoding_table'.
3248 (CHARSET_REP_BYTES): Deleted.
3249 (XCHARSET_REP_BYTES): Deleted.
3250 (XCHARSET_COLUMNS): Deleted.
3251 (CHAR_COLUMNS): New macro.
3252 (lookup_composite_char): Deleted unconditionally.
3253 (composite_char_string): Likewise.
3255 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3257 * char-ucs.h (Emchar_to_byte_table): New type.
3258 (get_byte_from_character_table): New function interface.
3259 (Vcharset_latin_jisx0201): New variable.
3260 (latin_jisx0201_to_ucs): New variable.
3261 (ucs_to_latin_jisx0201): New variable.
3262 (Vcharset_latin_iso8859_2): New variable.
3263 (latin_iso8859_2_to_ucs): New variable.
3264 (ucs_to_latin_iso8859_2): New variable.
3265 (Vcharset_latin_iso8859_3): New variable.
3266 (latin_iso8859_3_to_ucs): New variable.
3267 (ucs_to_latin_iso8859_3): New variable.
3268 (Vcharset_latin_iso8859_4): New variable.
3269 (latin_iso8859_4_to_ucs): New variable.
3270 (ucs_to_latin_iso8859_4): New variable.
3271 (Vcharset_latin_iso8859_9): New variable.
3272 (latin_iso8859_9_to_ucs): New variable.
3273 (ucs_to_latin_iso8859_9): New variable.
3274 (Vcharset_latin_viscii_lower): New variable.
3275 (latin_viscii_lower_to_ucs): New variable.
3276 (ucs_to_latin_viscii_lower): New variable.
3277 (Vcharset_latin_viscii_upper): New variable.
3278 (latin_viscii_upper_to_ucs): New variable.
3279 (ucs_to_latin_viscii_upper): New variable.
3280 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3281 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3282 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3283 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3284 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3285 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3286 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3287 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3288 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3289 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3291 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3292 (Vcharset_latin_viscii_upper): New variable.
3293 (make_byte_from_character_table): New function.
3294 (put_byte_from_character_table): New function.
3295 (get_byte_from_character_table): New function.
3296 (CHAR96): New macro.
3297 (ucs_to_latin_jisx0201): New variable.
3298 (latin_jisx0201_to_ucs): New variable.
3299 (ucs_to_latin_iso8859_2): New variable.
3300 (latin_iso8859_2_to_ucs): New variable.
3301 (ucs_to_latin_iso8859_3): New variable.
3302 (latin_iso8859_3_to_ucs): New variable.
3303 (ucs_to_latin_iso8859_4): New variable.
3304 (latin_iso8859_4_to_ucs): New variable.
3305 (ucs_to_latin_iso8859_9): New variable.
3306 (latin_iso8859_9_to_ucs): New variable.
3307 (ucs_to_latin_viscii_lower): New variable.
3308 (latin_viscii_lower_to_ucs): New variable.
3309 (ucs_to_latin_viscii_upper): New variable.
3310 (latin_viscii_upper_to_ucs): New variable.
3311 (ucs_to_latin_tcvn5712): New variable.
3312 (latin_tcvn5712_to_ucs): New variable.
3313 (Qlatin_viscii_lower): New variable.
3314 (Qlatin_viscii_upper): New variable.
3315 (syms_of_mule_charset): Set up new symbol
3316 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3317 (complex_vars_of_mule_charset): Set up new charset
3318 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3319 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3320 `ucs_to_<CHARSET>' tables.
3322 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3324 * text-coding.c: New file.
3326 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3328 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3330 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3331 (MAKE_CHAR): Modify for `ucs-bmp'.
3332 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3333 non-MULE characters of BMP.
3335 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3337 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3340 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3343 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3344 - Include character.h for `CHAR_ASCII_P'.
3346 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3348 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3349 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3351 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3352 (BYTE_C0_P): Likewise.
3353 (BYTE_C1_P): Likewise.
3354 (Lstream_get_emchar_1): Likewise.
3355 (Lstream_fput_emchar): Likewise.
3356 (Lstream_funget_emchar): Likewise.
3357 (copy_internal_to_external): Likewise.
3358 (copy_external_to_internal): Likewise.
3360 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3361 (BYTE_C0_P): Likewise.
3362 (BYTE_C1_P): Likewise.
3363 (Lstream_get_emchar_1): Likewise.
3364 (Lstream_fput_emchar): Likewise.
3365 (Lstream_funget_emchar): Likewise.
3366 (copy_internal_to_external): Likewise.
3367 (copy_external_to_internal): Likewise.
3369 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3370 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3372 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3373 (BYTE_ASCII_P): Moved to mb-1byte.h.
3375 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3377 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3379 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3380 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3381 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3382 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3383 (VALIDATE_CHARPTR_FORWARD): Likewise.
3384 (simple_charptr_emchar): Moved to mb-multibyte.h.
3385 (simple_set_charptr_emchar): Likewise.
3386 (simple_charptr_copy_char): Likewise.
3387 (non_ascii_charptr_emchar): Likewise.
3388 (non_ascii_set_charptr_emchar): Likewise.
3389 (non_ascii_charptr_copy_char): Likewise.
3390 (charptr_emchar): Moved to mb-*byte.h.
3391 (set_charptr_emchar): Likewise.
3392 (charptr_copy_char): Likewise.
3394 * mb-1byte.h, mb-multibyte.h: New files.
3396 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3398 * mb-utf-8.h (MULTIBYTE): New macro.
3399 (MAX_EMCHAR_LEN): Moved from buffer.h.
3400 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3402 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3404 * mb-lb.h, multibyte.h: New files.
3406 * char-1byte.h (Charset_ID): Moved from buffer.h.
3407 (MIN_LEADING_BYTE): Likewise.
3408 (LEADING_BYTE_ASCII): Likewise.
3409 (NUM_LEADING_BYTES): Likewise.
3410 (CHARSETP): Likewise.
3411 (CHARSET_BY_LEADING_BYTE): Likewise.
3412 (XCHARSET_LEADING_BYTE): Likewise.
3413 (XCHARSET_GRAPHIC): Likewise.
3414 (XCHARSET_COLUMNS): Likewise.
3415 (XCHARSET_DIMENSION): Likewise.
3416 (CHAR_CHARSET): Likewise.
3417 (CHAR_LEADING_BYTE): Likewise.
3418 (BREAKUP_CHAR): Likewise.
3419 (Vcharset_ascii): Likewise.
3421 * buffer.h: Include multibyte.h unconditionally.
3422 (VALID_CHARPTR_P): Moved to multibyte.h.
3423 (ASSERT_VALID_CHARPTR): Likewise.
3424 (REAL_INC_CHARPTR): Likewise.
3425 (REAL_INC_CHARBYTIND): Likewise.
3426 (REAL_DEC_CHARPTR): Likewise.
3427 (INC_CHARPTR): Likewise.
3428 (INC_CHARBYTIND): Likewise.
3429 (DEC_CHARPTR): Likewise.
3430 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3431 (VALIDATE_CHARPTR_FORWARD): Likewise.
3432 (charptr_n_addr): Likewise.
3433 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3434 (simple_charptr_emchar): Moved to multibyte.h.
3435 (simple_set_charptr_emchar): Likewise.
3436 (simple_charptr_copy_char): Likewise.
3437 (non_ascii_charptr_emchar): Likewise.
3438 (non_ascii_set_charptr_emchar): Likewise.
3439 (non_ascii_charptr_copy_char): Likewise.
3440 (charptr_emchar): Likewise.
3441 (set_charptr_emchar): Likewise.
3442 (charptr_copy_char): Likewise.
3443 (charptr_emchar_n): Likewise.
3444 (Charset_ID): Moved to char-1byte.h.
3445 (Vcharset_ascii): Likewise.
3446 (CHAR_CHARSET): Likewise.
3447 (CHAR_LEADING_BYTE): Likewise.
3448 (LEADING_BYTE_ASCII): Likewise.
3449 (NUM_LEADING_BYTES): Likewise.
3450 (MIN_LEADING_BYTE): Likewise.
3451 (CHARSETP): Likewise.
3452 (CHARSET_BY_LEADING_BYTE): Likewise.
3453 (XCHARSET_LEADING_BYTE): Likewise.
3454 (XCHARSET_GRAPHIC): Likewise.
3455 (XCHARSET_COLUMNS): Likewise.
3456 (XCHARSET_DIMENSION): Likewise.
3457 (BREAKUP_CHAR): Likewise.
3459 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3461 * character.h: Add document about interface for characters.
3463 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3464 (MAKE_CHAR): Delete comment about
3465 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3466 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3467 (BREAKUP_CHAR): Modify name of arguments.
3468 (CHAR_CHARSET): Modify name of argument.
3470 * buffer.h: Delete document about Emchar accessors.
3472 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3474 * character.h (CHAR_INTP): Moved from buffer.h
3475 (CHAR_OR_CHAR_INTP): Likewise.
3476 (XCHAR_OR_CHAR_INT): Likewise.
3477 (CHECK_CHAR_COERCE_INT): Likewise.
3479 * buffer.h (CHAR_INTP): Moved to character.h
3480 (CHAR_OR_CHAR_INTP): Likewise.
3481 (XCHAR_OR_CHAR_INT): Likewise.
3482 (CHECK_CHAR_COERCE_INT): Likewise.
3484 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3487 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3488 - Include char-1byte.h, char-lb.h or char-ucs.h.
3490 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3492 * buffer.h: Include character unconditionally.
3493 (valid_char_p): Moved to char-*.h.
3494 (non_ascii_valid_char_p): Moved to char-lb.h.
3496 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3498 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3500 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3501 in UTF-2000 because it is not ported yet and not to use
3502 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3503 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3504 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3506 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3507 (CHAR_ASCII_P): Moved from character.h.
3509 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3510 (CHAR_ASCII_P): Likewise.
3511 (CHAR_FIELD1_MASK): Deleted.
3512 (CHAR_FIELD2_MASK): Deleted.
3513 (CHAR_FIELD3_MASK): Deleted.
3514 (MAX_CHAR_BASIC_LATIN): New macro.
3515 (CHAR_FIELD1): Deleted.
3516 (CHAR_FIELD2_INTERNAL): Deleted.
3517 (CHAR_FIELD3_INTERNAL): Deleted.
3518 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3519 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3520 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3521 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3522 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3523 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3524 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3525 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3526 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3527 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3528 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3529 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3530 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3531 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3532 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3533 (MIN_CHAR_COMPOSITION): Deleted.
3534 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3535 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3537 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3539 * buffer.h: Include mb-utf-8.h in UTF-2000.
3541 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3543 * mb-utf-8.h: New file.
3545 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3547 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3550 * mule-charset.h, buffer.h (Charset_ID): New type.
3552 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3554 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3555 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3556 instead of `MULE_CHAR_PRIVATE_OFFSET',
3557 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3558 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3559 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3561 * character.h (Vcharset_japanese_jisx0212): New variable
3564 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3566 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3567 (charset_by_attributes): Delete array about direction.
3568 (latin_a_char_to_charset): New variable in UTF-2000.
3569 (latin_a_char_to_byte1): New variable in UTF-2000.
3570 (latin_a_char_to_byte2): New variable in UTF-2000.
3571 (Qucs_bmp): New variable.
3572 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3574 (next_allocated_2_byte_leading_byte): Likewise.
3575 (non_ascii_set_charptr_emchar): Likewise.
3576 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3577 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3578 `charset_by_attributes'.
3579 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3580 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3581 and `CHARSET_BY_LEADING_BYTE'.
3582 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3583 `utf-2000-version' to `vars_of_mule_charset'.
3584 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3585 define `leading-code-private-11' in UTF-2000; move setting of
3586 `utf-2000-version' from `syms_of_mule_charset'.
3587 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3590 * character.h (Charset_ID): New type.
3591 (LEADING_BYTE_UCS_BMP): New macro.
3592 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3593 (CHARSET_ID_OFFSET_94): New macro.
3594 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3595 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3596 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3598 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3599 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3600 (CHARSET_ID_OFFSET_96): New macro.
3601 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3602 CHARSET_ID_OFFSET_96 and final-byte.
3603 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3604 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3605 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3606 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3607 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3608 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3609 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3610 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3611 (LEADING_BYTE_THAI_TIS620): Likewise.
3612 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3613 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3614 (CHARSET_ID_OFFSET_94x94): New macro.
3615 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3616 CHARSET_ID_OFFSET_94x94 and final-byte.
3617 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3618 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3619 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3620 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3621 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3622 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3623 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3624 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3625 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3626 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3627 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3628 (CHARSET_TYPE_128X128): New macro.
3629 (CHARSET_TYPE_256X256): New macro.
3630 (XCHARSET_PRIVATE_P): Delete unconditionally.
3631 (charset_by_attributes): Delete array about direction.
3632 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3633 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3634 (MIN_CHAR_94): New macro.
3635 (MAX_CHAR_94): New macro.
3636 (MIN_CHAR_96): New macro.
3637 (MAX_CHAR_96): New macro.
3638 (MIN_CHAR_94x94): New macro.
3639 (MAX_CHAR_94x94): New macro.
3640 (MIN_CHAR_96x96): New macro.
3641 (MAX_CHAR_96x96): New macro.
3642 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3643 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3644 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3646 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3647 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3648 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3649 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3650 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3651 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3652 `XCHARSET_LEADING_BYTE' to make code-point.
3653 (latin_a_char_to_charset): New variable.
3654 (latin_a_char_to_byte1): New variable.
3655 (latin_a_char_to_byte2): New variable.
3656 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3657 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3658 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3660 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3661 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3662 (find_charsets_in_emchar_string): Likewise.
3663 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3665 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3667 (decode_coding_iso2022): Likewise.
3669 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3672 * redisplay.c (redisplay_text_width_emchar_string): Use
3673 `Charset_ID' instead of `unsigned char'.
3674 (redisplay_frame_text_width_string): Likewise.
3676 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3679 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3680 instead of `unsigned char'.
3681 (face_cachel_charset_font_metric_info): Likewise.
3683 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3684 (get_non_ascii_char_table_value): Likewise.
3685 (get_char_table): Likewise.
3686 (put_char_table): Likewise.
3687 (map_over_other_charset): Likewise.
3688 (map_char_table): Likewise.
3690 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3691 instead of `unsigned char'.
3693 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3695 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3696 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3698 * mule-charset.c (leading_code_private_11): Don't define in
3701 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3702 in UTF-2000 because it is not ported yet and not to use
3703 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3705 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3707 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3709 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3711 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3714 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3715 of unsigned char to store leading-byte.
3717 * chartab.c (get_non_ascii_char_table_value): Don't use
3718 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3720 * file-coding.c (encode_coding_big5): Delete bogus implementation
3723 * character.h (LEADING_BYTE_*): Delete definition for
3725 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3726 (LEADING_BYTE_PREFIX_P): Deleted.
3727 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3728 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3729 (BUFBYTE_LEADING_BYTE_P): Deleted.
3730 (CHARSET_PRIVATE_P): Deleted unconditionally.
3731 (rep_bytes_by_first_byte): Deleted unconditionally.
3732 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3733 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3734 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3735 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3736 (CHAR_FIELD2): Deleted.
3737 (CHAR_FIELD3): Deleted.
3738 (MAKE_CHAR): Delete definition for non-UTF-2000.
3739 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3740 (breakup_char_1): New implementation.
3741 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
3742 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
3744 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3746 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3749 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3751 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3752 (CHARSET_PRIVATE_P): Likewise.
3753 (XCHARSET_PRIVATE_P): Likewise.
3754 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3756 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3758 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3760 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3762 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3763 (NUM_LEADING_BYTES): Changed from 128 to 256.
3764 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3765 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
3767 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3769 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
3771 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
3772 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
3773 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
3774 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
3775 (Qchinese_cns11643_3): New variable in UTF2000.
3776 (Qchinese_cns11643_4): New variable in UTF2000.
3777 (Qchinese_cns11643_5): New variable in UTF2000.
3778 (Qchinese_cns11643_6): New variable in UTF2000.
3779 (Qchinese_cns11643_7): New variable in UTF2000.
3780 (syms_of_mule_charset): Define `chinese-cns11643-3',
3781 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3782 and `chinese-cns11643-7' in UTF2000.
3783 (vars_of_mule_charset): Initialize
3784 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
3786 (complex_vars_of_mule_charset): Setup charset
3787 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
3788 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
3790 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3792 * mule-charset.c: Move setting for `leading-code-private-11' from
3793 `syms_of_mule_charset' to `vars_of_mule_charset'.
3795 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3797 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
3798 and `NUM_LEADING_BYTES' in assert.
3800 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3802 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
3804 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
3805 `NUM_LEADING_BYTES' instead of 128.
3807 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3809 * mule-charset.h (charset_by_leading_byte): Use
3810 `NUM_LEADING_BYTES' instead of 128.
3811 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
3813 * mule-charset.c (charset_by_leading_byte): Use
3814 `NUM_LEADING_BYTES' instead of 128.
3815 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
3817 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
3820 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3822 * mule-charset.c (syms_of_mule_charset): Update to
3825 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3827 * file-coding.c (encode_coding_sjis): New implementation for
3828 UTF2000. (decode_coding_sjis): Ditto.
3830 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3832 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
3833 Don't define in UTF2000.
3835 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
3838 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3839 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
3842 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3844 * config.h.in (CHAR_IS_UCS4): New macro.
3846 * mule-charset.c (rep_bytes_by_first_byte): Modify for
3847 conventional MULE representation.
3848 (syms_of_mule_charset): Update to 0.3 (Imamiya).
3850 * mule-charset.h: Reverted to original.
3852 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3853 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
3854 "mule-charset.h" if CHAR_IS_UCS4 is defined.
3856 * character.h: New file.
3858 * file-coding.c (Fmake_coding_system): Set 1 to
3859 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
3861 (encode_coding_no_conversion): New implementation for UTF2000.
3863 * file-coding.h (struct Lisp_Coding_System): Add new member
3866 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3868 * file-coding.c (decode_coding_iso2022): Code-point arguments of
3869 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
3870 (encode_coding_iso2022): New implementation for UTF2000.
3872 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3874 * mule-canna.c (c2mu): New implementation for UTF2000.
3877 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3879 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
3881 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3883 * file-coding.c (reset_encoding_stream): Set 0 to
3884 `str->iso2022.current_char_boundary' in UTF2000.
3885 (encode_utf8): Don't define in UTF2000.
3886 (encode_coding_utf8): New implementation for UTF-8 representation
3888 (complex_vars_of_file_coding): Define coding-system `utf-8'.
3890 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3892 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
3894 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
3896 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3898 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
3900 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
3901 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
3902 as UTF-8 in UTF2000.
3903 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
3904 (non_ascii_valid_char_p): Don't define in UTF2000.
3905 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
3906 (Lstream_get_emchar_1): Likewise.
3907 (utf-2000-version): New variable in UTF2000.
3909 * lread.c (read_escape): Add new reader `u'.
3911 * insdel.c (three_to_one_table): Don't define in UTF2000.
3912 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
3913 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3915 (bytind_to_bufpos_func): Likewise.
3916 (buffer_mule_signal_inserted_region): Likewise.
3917 (vars_of_insdel): Don't initialize `three_to_one_table'.
3918 (init_buffer_text): Use `buf->text->mule_size' instead of
3919 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3922 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
3923 UTF-8 representation in UTF2000.
3924 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
3925 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
3926 (decode_coding_iso2022): Don't define local variable `lb' in
3927 UTF2000; don't use LEADING_BYTE in UTF2000; use
3928 `DECODE_ADD_UCS_CHAR' in UTF2000.
3929 (convert_to_external_format): Decode as UTF-8 in UTF2000.
3931 * config.h.in (UTF2000): New macro.
3933 * buffer.h (struct buffer_text): Add new member `mule_size' and
3934 don't add `mule_shifter' and `mule_three_p' in UTF2000.
3935 (valid_char_p): Return always 1 in UTF2000.
3936 (MAX_EMCHAR_LEN): 6 in UTF2000.
3937 (three_to_one_table): Don't define in UTF2000.
3938 (real_bufpos_to_bytind): Modify for UTF-8 representation in
3940 (real_bytind_to_bufpos): Likewise.
3942 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
3944 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3946 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
3947 representation change.
3948 (Vutf_2000_version): New variable.
3949 (leading_code_private_11): New variable.
3950 (syms_of_mule_charset): Add new variables `utf-2000-version' and
3951 `leading-code-private-11'.
3953 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
3954 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
3955 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
3956 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
3957 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
3958 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
3959 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
3960 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
3961 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
3962 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
3963 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
3964 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
3965 (MIN_CHAR_GREEK): New macro.
3966 (MAX_CHAR_GREEK): New macro.
3967 (MIN_CHAR_CYRILLIC): New macro.
3968 (MAX_CHAR_CYRILLIC): New macro.
3969 (MIN_CHAR_HEBREW): New macro.
3970 (MAX_CHAR_HEBREW): New macro.
3971 (MIN_CHAR_THAI): New macro.
3972 (MAX_CHAR_THAI): New macro.
3973 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
3974 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
3975 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
3976 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
3977 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
3978 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
3979 (CHAR_FIELD2): New inline function.
3980 (CHAR_FIELD3): New inline function.
3981 (MULE_CHAR_PRIVATE_OFFSET): New macro.
3982 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
3983 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
3984 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
3985 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
3986 (MIN_CHAR_COMPOSITION): Likewise.
3987 (CHAR_LEADING_BYTE): Modified for character representation change.
3988 (MAKE_CHAR): Likewise.
3990 * lisp.h (Vcharset_latin_iso8859_1): New variable.
3991 (Vcharset_greek_iso8859_7): Likewise.
3992 (Vcharset_cyrillic_iso8859_5): Likewise.
3993 (Vcharset_hebrew_iso8859_8): Likewise.
3994 (Vcharset_thai_tis620): Likewise.
3995 (Vcharset_katakana_jisx0201): Likewise.
3997 2001-02-08 Martin Buchholz <martin@xemacs.org>
3999 * XEmacs 21.2.44 "Thalia" is released.
4001 2001-02-06 Martin Buchholz <martin@xemacs.org>
4003 Fixes crashes in kill-emacs on some systems.
4004 * process-unix.c (unix_kill_child_process):
4005 It's OK for kill() to fail with ESRCH.
4007 2001-02-07 Martin Buchholz <martin@xemacs.org>
4009 Contortions to make .gdbinit tricks work on most systems.
4010 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
4011 * alloc.c (dbg_valmask): Make non-const.
4012 * alloc.c (dbg_typemask): Make non-const.
4013 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
4014 * alloc.c (dbg_valbits): Make non-const.
4015 * alloc.c (dbg_gctypebits): Make non-const.
4016 * .gdbinit (decode_object): Make it work with AIX cc.
4018 2001-02-06 Martin Buchholz <martin@xemacs.org>
4020 * elhash.c (make_general_lisp_hash_table):
4021 Use simpler and more efficient calloc to clear entries.
4023 2001-02-07 Martin Buchholz <martin@xemacs.org>
4025 * window.c (window_scroll): Work around an AIX C compiler bug.
4026 Fixes 'scroll-up' does nothing problem with xlC.
4028 2001-02-05 Martin Buchholz <martin@xemacs.org>
4030 * .gdbinit: Remove obsolete comment.
4032 2001-01-31 Mike Alexander <mta@arbortext.com>
4034 * select.c (Fown_selection_internal): Set owned_p for device
4037 2001-02-01 Martin Buchholz <martin@xemacs.org>
4040 "not" cannot be used as a macro name as it is an operator in C++
4041 * config.h.in: Stop #defining `not'.
4042 * chartab.c (check_category_char): not ==> not_p
4043 * chartab.h: Likewise.
4044 * regex.c (re_match_2_internal): Likewise.
4046 2001-02-02 Martin Buchholz <martin@xemacs.org>
4048 * lisp-disunion.h: Fix up comments.
4050 2001-01-31 Martin Buchholz <martin@xemacs.org>
4052 * keymap.c (define_key_check_and_coerce_keysym):
4054 Support mouse-6 and mouse-7 bindings in the obvious way.
4056 2001-02-01 Martin Buchholz <martin@xemacs.org>
4058 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
4060 2001-01-30 Martin Buchholz <martin@xemacs.org>
4062 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
4063 Previous patch missed DEFVAR_INT_MAGIC.
4064 Make sure future DEFVAR_foo use correct types.
4065 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
4066 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
4067 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
4068 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
4069 * (DEFVAR_INT): Likewise.
4070 * redisplay.c (vertical_clip): Should be of type Fixnum.
4071 * redisplay.c (horizontal_clip): Likewise.
4072 * lisp.h (dump_add_opaque_int): New.
4073 (dump_add_opaque_fixnum): New.
4075 2001-01-29 Andy Piper <andy@xemacs.org>
4077 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4078 since they can be eval'ed
4080 2001-01-29 Martin Buchholz <martin@xemacs.org>
4082 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4083 Oops, XEmacs redefines `class'. Use `typename' instead.
4085 2001-01-28 Martin Buchholz <martin@xemacs.org>
4087 * dumper.c: Fix C++ compile errors.
4089 2001-01-29 Martin Buchholz <martin@xemacs.org>
4091 * tparam.c: Use correct prototypes.
4093 2001-01-28 Martin Buchholz <martin@xemacs.org>
4095 * sysproc.h: #include util.h for NetBSD's openpty.
4097 2001-01-27 Martin Buchholz <martin@xemacs.org>
4099 More 64-bit correctness.
4100 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4101 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4103 This finally finishes the 64-bit SGI port.
4104 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4105 * symbols.c: Fix up comments and type casts.
4106 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4107 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4108 * symeval.h (Fixnum): New type.
4109 * symeval.h (symbol_value_type): Fix up comment.
4125 * mule-canna.c: A million DEFVAR_INTs here...
4126 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4139 s/int/Fixnum/g in DEFVAR_INT declarations.
4141 2001-01-26 Martin Buchholz <martin@xemacs.org>
4143 Port pdump to SGI alignment-sensitive environment.
4144 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4145 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4147 Define and use aligned reading and writing macros.
4148 Use buffered stdio instead of posix i/o for faster dumping.
4149 Eliminate kludgy 256 byte space for header.
4150 Read and write from dump file using structs for alignment safety.
4151 * dumper.c (pdump_align_stream): New.
4152 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4153 * dumper.c (PDUMP_READ_ALIGNED): New.
4154 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4155 * dumper.c (pdump_static_Lisp_Object): New struct.
4156 * dumper.c (pdump_static_pointer): New struct.
4157 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4158 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4159 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4160 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4162 * dumper.c (pdump_backtrace):
4163 * dumper.c (pdump_get_indirect_count):
4164 * dumper.c (pdump_register_object):
4165 * dumper.c (pdump_register_struct):
4166 * dumper.c (pdump_reloc_one):
4167 * dumper.c (pdump_scan_by_alignment):
4168 * dumper.c (pdump_dump_from_root_struct_ptrs):
4169 * dumper.c (pdump_dump_opaques):
4170 * dumper.c (pdump_dump_rtables):
4171 * dumper.c (pdump_dump_from_root_objects):
4173 * dumper.c (pdump_load_finish):
4174 Use aligned reading and writing.
4176 * dumper.c (pdump_free): Make static.
4177 * dumper.c (pdump_hFile): Likewise.
4178 * dumper.c (pdump_hMap): Likewise.
4180 2001-01-26 Martin Buchholz <martin@xemacs.org>
4182 * XEmacs 21.2.43 "Terspichore" is released.
4184 2001-01-25 Martin Buchholz <martin@xemacs.org>
4186 Type fiddling for window_config.saved_windows_count
4187 * window.c (struct window_config):
4188 Make saved_windows_count member unsigned.
4189 * window.c (sizeof_window_config_for_n_windows):
4190 Make parameter unsigned.
4191 * window.c (mark_window_config):
4192 * window.c (window_config_equal):
4193 * window.c (free_window_configuration):
4194 * window.c (Fset_window_configuration):
4195 * window.c (count_windows):
4196 * window.c (Fcurrent_window_configuration):
4197 * window.c (reinit_vars_of_window):
4198 Update all callers and users.
4200 2001-01-25 Martin Buchholz <martin@xemacs.org>
4202 Alignment correctness for flexible arrays.
4203 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4204 Make alignment-correct. Add interesting comments.
4205 * alloc.c (size_vector):
4206 * alloc.c (make_vector_internal):
4207 * alloc.c (make_bit_vector_internal):
4208 * alloc.c (sweep_bit_vectors_1):
4209 * fns.c (size_bit_vector):
4210 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4211 * window.c (sizeof_window_config_for_n_windows):
4212 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4214 2001-01-24 Martin Buchholz <martin@xemacs.org>
4216 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4218 2001-01-23 Andy Piper <andy@xemacs.org>
4220 * select.c (Fown_selection_internal): pass owned_p
4222 * select-msw.c (mswindows_own_selection): New Signature.
4224 * console.h (struct console_methods): add owned_p to
4227 * select-x.c (x_own_selection): pass owned_p
4228 (hack_motif_clipboard_selection): use owned_p
4229 (vars_of_select_x): new variable -
4230 x_selection_strict_motif_ownership.
4232 2001-01-23 Martin Buchholz <martin@xemacs.org>
4234 * specifier.h (specifier_data_offset): Remove pointless parens.
4235 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4237 2001-01-24 Martin Buchholz <martin@xemacs.org>
4239 Make Lisp_Object sizeof methods be alignment-correct.
4240 pdump must restore objects to the same alignment as the C compiler
4241 assumes. It really matters on SGIs.
4242 * lstream.c (aligned_sizeof_lstream): New.
4243 (sizeof_lstream): Use aligned_sizeof_lstream.
4244 (Lstream_new): Likewise.
4245 * opaque.c (aligned_sizeof_opaque): New.
4246 (sizeof_opaque): Use aligned_sizeof_opaque.
4247 (make_opaque): Likewise.
4248 * specifier.c (aligned_sizeof_specifier): New.
4249 (sizeof_specifier): Use aligned_sizeof_specifier.
4250 (make_specifier_internal): Likewise.
4252 2001-01-23 Martin Buchholz <martin@xemacs.org>
4254 * lstream.h (struct lstream): Use max_align_t for trailing data.
4255 * specifier.h (struct Lisp_Specifier): Likewise.
4257 2001-01-22 Martin Buchholz <martin@xemacs.org>
4259 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4260 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4261 (CCL_SUSPEND): Likewise.
4262 (CCL_INVALID_CMD): Likewise.
4263 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4264 (ccl_driver): Likewise.
4265 (CCL_WRITE_CHAR): Macro hygiene.
4266 (CCL_WRITE_STRING): Macro hygiene.
4268 2001-01-22 Martin Buchholz <martin@xemacs.org>
4270 Port "portable" dumper to SunOS 4 and HP-UX.
4271 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4272 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4273 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4275 2001-01-22 Martin Buchholz <martin@xemacs.org>
4277 * lisp.h (ALIGNOF): A better definition for C++.
4279 2001-01-20 Martin Buchholz <martin@xemacs.org>
4282 Fix printf warnings: int format, long int arg.
4283 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4284 (PUSH_FAILURE_POINT): Use correct printf formats.
4285 (POP_FAILURE_POINT): Use correct printf formats.
4286 Use do {...} while (0)
4288 2001-01-20 Martin Buchholz <martin@xemacs.org>
4290 * XEmacs 21.2.42 "Poseidon" is released.
4292 2001-01-20 Martin Buchholz <martin@xemacs.org>
4294 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4296 2001-01-19 Martin Buchholz <martin@xemacs.org>
4298 De-kludgify FIXED_TYPE free list frobbing.
4299 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4300 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4301 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4302 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4303 * alloc.c (LRECORD_FREE_P): New.
4304 * alloc.c (MARK_LRECORD_AS_FREE): New.
4305 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4306 * alloc.c (STRUCT_FREE_P): Deleted.
4307 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4308 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4309 * alloc.c (STRING_CHARS_FREE_P): New.
4310 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4311 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4312 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4313 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4314 * alloc.c (resize_string): Use new definitions.
4315 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4316 * alloc.c (verify_string_chars_integrity): Use new definitions.
4317 * alloc.c (compact_string_chars): Use new definitions.
4318 * alloc.c: Update monster comments.
4319 * lrecord.h (lrecord_type): Add some new lrecord types for
4322 2001-01-18 Martin Buchholz <martin@xemacs.org>
4324 Improve alignment hackery.
4325 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4326 (max_align_t): Moved from opaque.h - general purpose.
4327 (ALIGN_PTR): Use size_t, not long.
4328 * opaque.h (max_align_t): Move to lisp.h.
4330 2001-01-18 Norbert Koch <nk@LF.net>
4332 * gui.h: Fix and add prototypes to fix build problems.
4334 2001-01-18 Martin Buchholz <martin@xemacs.org>
4336 temacs is going away, so `dump-temacs' is now a bad name.
4337 * .dbxrc (dump-temacs): Rename to `dmp'.
4338 * .gdbinit (dump-temacs): Rename to `dmp'.
4340 2001-01-17 Andy Piper <andy@xemacs.org>
4342 * glyphs.c (print_image_instance): comment to make martin happy.
4344 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4347 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4349 (mswindows_tab_control_redisplay): warning suppression.
4351 * glyphs-widget.c (widget_update): re-write to cope with updated
4353 (widget_instantiate): use new gui_item functions.
4354 (tab_control_update): deleted.
4355 (progress_gauge_update): deleted.
4356 (image_instantiator_progress_guage): take out update reference.
4357 (image_instantiator_tree_view): ditto.
4358 (image_instantiator_tab_control): ditto.
4360 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4362 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4363 return whether anything was changed.
4364 (update_gui_item_keywords): as it sounds.
4366 * gui.h: declare widget_gui_parse_item_keywords.
4368 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4369 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4371 2001-01-17 Martin Buchholz <martin@xemacs.org>
4373 * XEmacs 21.2.41 "Polyhymnia" is released.
4375 2001-01-16 Didier Verna <didier@xemacs.org>
4377 * glyphs.c (image_instantiate): don't use fallbacks when
4378 instantiating a face's background pixmap by inheritance.
4380 2001-01-14 Mike Sperber <mike@xemacs.org>
4382 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4383 Conditionalize accordingly.
4385 2001-01-16 Martin Buchholz <martin@xemacs.org>
4387 * dumper.c (pdump_file_get): Fix a compiler warning.
4389 2001-01-15 Martin Buchholz <martin@xemacs.org>
4391 Make Purify happy when pdumping.
4392 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4393 iniitalizing all bits of new lisp object memory.
4394 * symbols.c (Fmake_local_variable): Likewise.
4395 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4396 * symbols.c (Fdefvaralias): Likewise.
4397 * mule-charset.c (vars_of_mule_charset): Likewise.
4399 2001-01-15 Martin Buchholz <martin@xemacs.org>
4400 Add the `-nd' flag when running pre-dump operations under the debugger.
4401 * .dbxrc (run-temacs): Add `-nd'.
4402 * .dbxrc (update-elc): Likewise.
4403 * .dbxrc (dump-temacs): Likewise.
4404 * .gdbinit (run-temacs): Likewise.
4405 * .gdbinit (check-temacs): Likewise.
4406 * .gdbinit (update-elc): Likewise.
4407 * .gdbinit (dump-temacs): Likewise.
4409 2001-01-14 Martin Buchholz <martin@xemacs.org>
4411 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4412 export OBJECT_MODE=64
4413 configure --pdump --use-union-type=no
4414 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4415 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4417 * miscplay.c (sndcnv8U_2mono):
4418 Avoid two uses of `++' in the same expression.
4419 Suppresses a GCC warning.
4421 2001-01-13 Martin Buchholz <martin@xemacs.org>
4423 Make sure future compilers don't miscompile alloc.c.
4425 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4426 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4428 2001-01-12 Martin Buchholz <martin@xemacs.org>
4430 * dumper.c: A little post-pdump-rename comment fixup.
4432 2001-01-09 Jerry James <james@eecs.ku.edu>
4434 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4436 2001-01-13 Martin Buchholz <martin@xemacs.org>
4438 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4442 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4445 replace_symbol pdump_wire_lists pdump_weak_object_chains
4446 replace_symbol pdump_wire_list dump_add_weak_object_chain
4448 replace_symbol pdump_wires pdump_root_objects
4449 replace_symbol pdump_wire dump_add_root_object
4451 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4452 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4454 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4455 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4456 replace_symbol dumpstructinfo pdump_root_struct_ptr
4457 replace_symbol dumpstruct dump_add_root_struct_ptr
4459 replace_symbol dumpopaque dump_add_opaque
4460 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4461 replace_symbol dumpopaqueinfos pdump_opaques
4462 replace_symbol dumpopaqueinfo pdump_opaque
4464 replace_symbol nb_structdump nb_root_struct_ptrs
4465 replace_symbol nb_opaquedump nb_opaques
4467 replace_symbol align_table pdump_align_table
4468 replace_symbol dump_header pdump_header
4470 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4471 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4474 2001-01-12 Martin Buchholz <martin@xemacs.org>
4476 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4477 optimizing bytecount_to_charcount().
4479 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4482 (HAVE_DLFCN_H): Removed.
4483 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4485 2001-01-06 Martin Buchholz <martin@xemacs.org>
4487 Portable dumper maintainability improvements.
4488 * alloc.c (staticpro):
4489 * alloc.c (staticpro_nodump):
4490 * alloc.c (garbage_collect_1):
4491 * alloc.c (reinit_alloc_once_early):
4492 * alloc.c (init_alloc_once_early):
4493 * alloc.c: Move dumper functions to alloc.c.
4494 * dumper.c (pdump_backtrace):
4495 * dumper.c (pdump_dump_structs):
4496 * dumper.c (pdump_dump_opaques):
4497 * dumper.c (pdump_dump_rtables):
4498 * dumper.c (pdump_dump_wired):
4500 * dumper.c (pdump_load_check):
4501 * dumper.c (pdump_load_finish):
4502 * dumper.c (pdump_file_unmap):
4503 * dumper.c (pdump_file_get):
4504 * dumper.c (pdump_resource_free):
4505 * dumper.c (pdump_resource_get):
4506 * dumper.c (pdump_file_free):
4507 * dumper.c (pdump_file_try):
4508 * dumper.c (pdump_load):
4509 Remove fixed size limits on staticpro(), staticpro_nodump(),
4510 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4511 Remove custom code for dumping lrecord_implementations_table - use
4513 Remove (most of the) custom code for dumping staticpros - dump it
4514 like any other dynarr.
4516 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4517 * dumper.c: Moved functions from alloc.c.
4518 * alloc.c (dumpstruct): Moved to dumper.c.
4519 * alloc.c (dumpopaque): Likewise.
4520 * alloc.c (pdump_wire): Likewise.
4521 * alloc.c (pdump_wire_list): Likewise.
4523 * lisp.h (Dynarr_sizeof): New.
4524 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4525 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4526 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4528 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4529 * lisp.h (dumpopaque): ditto.
4530 * lisp.h (pdump_wire): ditto.
4531 * lisp.h (pdump_wire_list): ditto.
4533 2001-01-09 Martin Buchholz <martin@xemacs.org>
4535 * make-src-depend (PrintPatternDeps):
4536 Use `sort' to make output independent of perl version.
4538 2001-01-08 Martin Buchholz <martin@xemacs.org>
4541 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4542 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4544 2001-01-03 Didier Verna <didier@xemacs.org>
4546 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4547 that `focus_frame' is alive before thinking of calling
4548 `redisplay_redraw_cursor' on it.
4550 2001-01-08 Martin Buchholz <martin@xemacs.org>
4552 * XEmacs 21.2.40 is released.
4554 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4556 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4558 2001-01-06 Martin Buchholz <martin@xemacs.org>
4560 * alloc.c (dbg_valmask): Make const.
4561 * alloc.c (dbg_typemask): Make const.
4562 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4563 * alloc.c (dbg_valbits): Make const.
4564 * alloc.c (dbg_gctypebits): Make const.
4566 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4568 * redisplay-x.c (x_bevel_area):
4569 redisplay.h (struct rune):
4570 Typo fixes in comments.
4572 2001-01-05 Andy Piper <andy@xemacs.org>
4574 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4577 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4579 2001-01-05 Martin Buchholz <martin@xemacs.org>
4581 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4583 * mule-ccl.c (stack_idx_of_map_multiple):
4584 Non const global data must not be initialized!
4585 Found by MIYASHITA Hisashi.
4587 2001-01-02 Andy Piper <andy@xemacs.org>
4589 * frame.c (change_frame_size): make sure frame size is always
4592 * glyphs.c (image_instance_layout): minor code reuse.
4594 * window.c (Fcurrent_window_configuration): revert previous
4597 2001-01-02 Martin Buchholz <martin@xemacs.org>
4600 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4602 2000-12-31 Andy Piper <andy@xemacs.org>
4604 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4605 when widget gets unmapped.
4607 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4608 function. Make sure widgets losing focus don't just drop it.
4609 (handle_focus_event_1): record the widget with focus.
4611 2000-12-31 Andy Piper <andy@xemacs.org>
4613 * window.c (allocate_window): use
4614 make_image_instance_cache_hash_table.
4615 (make_dummy_parent): ditto.
4616 (Fset_window_configuration): ditto.
4618 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4620 * glyphs.c (process_image_string_instantiator): use
4622 (get_image_instantiator_governing_domain): ditto.
4623 (normalize_image_instantiator): ditto.
4624 (instantiate_image_instantiator): ditto.
4625 (make_image_instance_1): ditto.
4626 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4627 (instantiator_eq_equal): new function for use with instance hash
4629 (instantiator_eq_hash): ditto.
4630 (make_image_instance_cache_hash_table): create a suitable hash
4631 table for storing image instances.
4633 * elhash.h (hash_table_weakness): new internal weakness type
4634 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4635 declare new functions.
4637 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4638 another weakness type for glyphs.
4639 (make_standard_lisp_hash_table): new function split out from
4640 make_general_lisp_hash_table.
4641 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4642 (hash_table_instantiate): ditto.
4643 (Fmake_hash_table): ditto.
4645 2000-12-31 Martin Buchholz <martin@xemacs.org>
4647 * XEmacs 21.2.39 is released.
4649 2000-12-29 Andy Piper <andy@xemacs.org>
4651 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4653 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4654 the frame has changed so that we pick up geometry changes such as
4657 2000-12-28 Andy Piper <andy@xemacs.org>
4659 * lastfile.c (my_ebss): make a char array so we can pad the
4660 bss. Fixes cygwin unexec.
4662 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4664 2000-12-26 Andy Piper <andy@xemacs.org>
4666 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
4667 comments and try and be more precise about a non-/SIGIO world.
4668 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
4671 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
4672 we don't normalize to zero width or height.
4674 2000-12-24 Andy Piper <andy@xemacs.org>
4676 * Makefile.in.in (ldflags): add -mwindows when appropriate.
4678 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
4680 * s/sco5.h: SCO 5 has pty support.
4682 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
4684 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
4685 input-method-xlib.c contains whole contents of input-method-xfs.c,
4686 so we can use input-method-xlib.c's code for USE_XFONTSET
4688 * input-method-xfs.c: removed.
4690 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
4692 * file-coding.h (enum coding_category_type): reorder enumerators to
4693 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
4694 (now one greater than largest real coding_category_type enumerator).
4695 * file-coding.c (coding_category_symbol, coding_category_by_priority,
4696 coding_category_system, fcd_descriptihon_1, decode_coding_category,
4697 Fcoding_category_list, Fset_coding_priority_list,
4698 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
4699 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
4701 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4703 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
4704 * redisplay-output.c (redisplay_output_window): Clear top of window
4705 when face is changed.
4706 * redisplay-x.c (x_redraw_exposed_window): Call
4707 redisplay_clear_top_of_window.
4708 * redisplay.h: Publish redisplay_clear_top_of_window.
4710 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4712 * buffer.c (Fkill_buffer): Map over all devices.
4713 * window.c (window_loop): Remove UNSHOW_BUFFER code.
4714 (list_windows): New function.
4715 (list_all_windows): Ditto.
4716 (Freplace_buffer_in_windows): Use them.
4718 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4720 * database.c (berkdb_subtype): Recognize new subtype `queue'.
4721 (Fopen_database): Use `db_create' instead of `db_open'.
4722 (syms_of_database): Initialize Qqueue.
4724 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4726 * buffer.c (common_init_complex_vars_of_buffer): Initialize
4727 buffer_local_face_property.
4728 * buffer.h (struct buffer): New member buffer_local_face_property.
4729 * window.c (Fset_window_buffer): Mark window's face as changed
4730 when buffer has buffer local face.
4731 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
4732 * objects.c (color_after_change): Set buffer_local_face_property
4733 when locale of face specifier is buffer.
4734 * objects.c (font_after_change): Ditto.
4735 * objects.c (face_boolean_after_change): Ditto.
4736 * glyphs.c (image_after_change): Ditto.
4738 2000-12-09 Dan Holmsand <dan@eyebee.com>
4740 * nt.c (mswindows_fstat): Report file permissions, volume serial
4741 number, etc. Code adapted from FSF Emacs 20.7.
4743 2000-12-09 Dan Holmsand <dan@eyebee.com>
4745 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
4746 of stat when we don't have symbolic links, to make sure
4747 mswindows_stat is called on mswindows.
4749 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
4751 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
4753 2000-12-12 Martin Buchholz <martin@xemacs.org>
4755 * doprnt.c (emacs_doprnt_1): More printing fixes.
4756 Make printing of numbers compatible with libc and FSF Emacs.
4757 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
4758 Use the system printf to do most of the hard work of formatting,
4759 instead of doprnt_1().
4760 Calculate memory to allocate for format string.
4761 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
4762 (doprnt_1): Cleaner code and documentation.
4764 2000-12-01 Jerry James <james@eecs.ukans.edu>
4766 * Makefile.in.in: Use the loop variable to install headers.
4768 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4770 * window.c (Fsplit_window): Don't invalidate face cache.
4772 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4774 * minibuf.c (Fall_completions): Undo the previous change
4775 which removed checking elements start with space.
4777 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4779 * mule-canna.c: Didier suppression.
4781 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4783 * mule-canna.c: rename static unsigned char buf[] to key_buffer
4784 (warning suppression). Add English comment translations.
4786 2000-12-05 Martin Buchholz <martin@xemacs.org>
4788 * unexelfsgi.c (unexec): Better test for mmap failure.
4790 2000-12-05 Martin Buchholz <martin@xemacs.org>
4792 * XEmacs 21.2.38 is released.
4794 2000-12-05 Martin Buchholz <martin@xemacs.org>
4796 * redisplay.c (bar-cursor): Make a user variable.
4798 * symsinit.h: Add init_postgresql_from_environment.
4800 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4802 * regex.c: Convert to clean C.
4804 2000-12-05 Dan Holmsand <dan@eyebee.com>
4807 Don't #include sysfile.h. Revert to duplicating PATH_MAX
4809 (sys_readlink): renamed to system_readlink to avoid conflict with
4810 the other sys_readlink.
4812 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
4814 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
4816 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
4818 * postgresql.c (init_postgresql_from_environment): new function.
4819 (vars_of_postgresql): Move code initializing Lisp variables out and
4820 into init_postgresql_from_environment.
4821 emacs.c (main_1): Call init_postgresql_from_environment if and only
4822 if running a dumped XEmacs.
4824 2000-08-31 Dan Holmsand <dan@eyebee.com>
4826 * buffer.c: Make find-file-compare-truenames default to true on
4829 * realpath.c (win32_abs_start):
4831 (win32_readlink): New functions.
4832 (xrealpath): Return really real filenames on windows.
4834 * fileio.c (Ffile_truename): Make file-truename work on windows.
4836 2000-11-29 Didier Verna <didier@xemacs.org>
4838 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
4839 * faces.c (update_face_cachel_data): use it.
4840 * faces.c (add_face_cachel): use it. Complete background pixmap
4841 frobbing in face cache if `update_face_cachel_data' has not done so.
4843 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
4845 * search.c (string_match_1): Don't set last_thing_searched
4848 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
4850 * buffer.c: Include casetab.h
4851 (common_init_complex_vars_of_buffer): Use new case-table object.
4852 * buffer.h: Include casetab.h
4853 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
4854 (DOWNCASE_TABLE_OF): Ditto.
4855 * bufslots.h: Remove char-tables and add case-table.
4856 * casetab.c: Include casetab.h
4857 (CASE_TABLE_P): Removed.
4858 (mark_case_table): New function.
4859 (allocate_case_table): New function.
4860 (Fcase_table_p): Use new case-table.
4861 (case_table_char): New function.
4862 (Fget_case_table): Ditto.
4863 (Fput_case_table): Ditto.
4864 (Fput_case_table_pair): Ditto.
4865 (Fcopy_case_table): Ditto.
4866 (Fcurrent_case_table): Return case-table.
4867 (Fstandard_case_table): Return case-table.
4868 (Fset_case_table): Fix doc-string.
4869 (set_case_table): Use case-table
4870 (syms_of_casetab): DEFSUBR new functions.
4871 (complex_vars_of_casetab): Set up standard case-table.
4872 * casetab.h: New file.
4873 * editfns.c: Include casetab.h
4874 (Fcompare_buffer_substrings): Use case-table.
4875 * inline.c: Include casetab.h
4876 * lisp.h: Remove bogus extern.
4877 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
4878 * search.c: Include casetab.h
4879 (TRANSLATE_ASCII): Removed.
4880 (TRANSLATE): Unconditionally translate character.
4881 (looking_at_1): Use case-table.
4882 (string_match_1): Ditto.
4883 (fast_string_match): Ditto.
4884 (search_command): Ditto.
4885 (search_buffer): Separate boyer_moore. Check whether
4886 boyer_moore is possible.
4887 (simple_search): New function.
4888 (boyer_moore): Separated from search_buffer. Translate char.
4890 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
4892 * regex.c (RE_TR_ASCII): Removed.
4893 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
4894 (PATFETCH): Call PATFETCH_RAW.
4895 (PATFETCH_RAW): Fetch Emchar.
4896 (PATUNFETCH): Decrement charptr.
4897 (GET_BUFFER_SPACE): Rename b to buf_end.
4899 (BUF_PUSH_2): Ditto.
4900 (BUF_PUSH_3): Ditto.
4901 (EXTEND_BUFFER): Ditto.
4902 (SET_LIST_BIT): Ditto.
4903 (regex_compile): Ditto. Translate non ASCII char.
4904 (compile_range): Ditto.
4905 (re_search_2): Ditto.
4906 (re_match_2_internal): Compare Emchar.
4907 (bcmp_translate): Ditto.
4909 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
4911 * lisp.h (basic char/int typedefs): comment improvement.
4913 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
4915 * emacs.c (main_1): unconditional pdump unstomping; don't save and
4916 unstomp inhibit_site_lisp. Improve comments.
4918 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
4920 * mule-charset.c (Fcharset_property): improve type checking, comments.
4922 2000-11-28 Andy Piper <andy@xemacs.org>
4924 * redisplay-output.c (redisplay_output_subwindow): make sure we do
4925 clipped display for windows in the gutter also.
4926 (redisplay_display_boxes_in_window_p): change semantics of return
4927 codes to be more intuitive.
4929 * gutter.h: declare display_boxes_in_gutter_p.
4931 * gutter.c (display_boxes_in_gutter_p): new function for
4934 2000-11-22 Andy Piper <andy@xemacs.org>
4936 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
4939 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
4941 * callproc.c (Fold_call_process_internal):
4942 * gpm.c (Freceive_gpm_event):
4943 (tty_get_foreign_selection): Might be just warning supression.
4944 * fileio.c (Fwrite_region_internal):
4945 (Fset_visited_file_modtime):
4946 * keymap.c (event_matches_key_specifier_p):
4947 Initialize GCPROed variable.
4949 * menubar-x.c (command_builder_find_menu_accelerator):
4950 Initialize before use.
4952 2000-11-23 Andy Piper <andy@xemacs.org>
4954 * unexcw.c (unexec): make the resulting executable executable.
4956 2000-11-21 Martin Buchholz <martin@xemacs.org>
4958 * doc.c (get_doc_string):
4959 Use size_t, not int, for result of XSTRING_LENGTH.
4961 * cmds.c (Fdelete_char):
4962 * cmds.c (Fpoint_at_eol):
4963 * cmds.c (Fself_insert_command):
4964 Use EMACS_INT, not int, for result of XINT.
4965 Someday, someone will want to insert more than 2**31 identical characters.
4967 * cmds.c (Fdelete_char):
4968 * cmds.c (Fdelete_backward_char):
4969 * syntax.c (Fforward_word):
4970 * syntax.c (Fforward_comment):
4971 Make COUNT argument optional, for consistency with forward-char et al.
4973 2000-11-22 Martin Buchholz <martin@xemacs.org>
4976 * print.c (long_to_string):
4977 Return a useful value: the pointer at end of data written.
4980 Use `static const char * const' for constant strings.
4981 (union printf_arg): Delete `i', `ui' members.
4984 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
4985 Do all printf-ing via the `l' specifier.
4986 Use EMACS_INT instead of int.
4989 2000-11-20 Didier Verna <didier@xemacs.org>
4991 * faces.c (update_face_cachel_data): don't frob the background
4992 pixmap when the window is being created. The face is needed but
4995 2000-11-20 Andy Piper <andy@xemacs.org>
4997 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
4998 messing with a debug environment.
5000 2000-11-20 Martin Buchholz <martin@xemacs.org>
5002 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
5004 2000-11-20 Martin Buchholz <martin@xemacs.org>
5006 * casetab.c (Fcase_table_p): Fix compile error and crash.
5008 2000-11-18 Philip Aston <philipa@mail.com>
5010 * s/cygwin32.h: Cygwin has SVR4-like pty support.
5012 2000-11-18 Martin Buchholz <martin@xemacs.org>
5014 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
5015 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
5017 2000-11-17 Martin Buchholz <martin@xemacs.org>
5019 * config.h.in: Define HAVE_ELF_H if elf.h exists.
5020 * unexelf.c: Use HAVE_ELF_H.
5021 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
5022 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
5023 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
5024 Greg Harrington <greg_harrington@hotmail.com> provided a machine
5026 So this is an unexelfsgi.c from a different line of development.
5028 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5030 * regex.c (RE_TR_ASCII): New function.
5031 (RE_TRANSLATE): Call it.
5033 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5035 * buffer.h (TRT_TABLE_OF): Remove assert.
5036 (IN_TRT_TABLE_DOMAIN): Removed.
5038 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
5040 * free-hook.c (log_gcpro):
5041 (show_gcprohist): Add support for GCPRO5.
5043 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
5045 * emacs.c (main_1): Improve -sd error message when --pdump=no.
5047 2000-11-16 Olivier Galibert <galibert@xemacs.org>
5049 * symeval.h: Declare flush_all_buffer_local_cache.
5051 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
5052 (flush_buffer_local_cache): Added.
5053 (flush_all_buffer_local_cache): Added.
5055 * lrecord.h: Remove unused XD_LO_RESET_NIL.
5057 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
5058 (pdump_dump_data): Ditto.
5059 (pdump_reloc_one): Ditto.
5060 (pdump): Remove unused pdump_qnil. Flush buffer local caches
5064 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5066 * buffer.c: Remove if 0'ed entry.
5067 * buffer.h: Rewrite TRT to use char-table.
5068 * bufslots.h: Remove mirror tables.
5069 * casetab.c: Remove mirror tables.
5070 (CASE_TABLE_P): New macro.
5071 (Fcase_table_p): Element of a case table is string or char-table.
5072 (make_mirror_trt_table): Removed.
5073 (set_case_table): Setup char-table from strings for backward
5075 * dired.c (Fdirectory_files):
5076 * dired-msw.c: (mswindows_get_files):
5077 * lisp.h: Change prototype of re_pattern_buffer.
5078 * regex.c: (RE_TRANSLATE): New macro.
5079 (TRANSLATE_P): Ditto.
5080 Change translate to type RE_TRANSLATE_TYPE.
5081 * regex.h: Define RE_TRANSLATE_TYPE
5082 * search.c (TRANSLATE): New macro.
5083 (TRANSLATE_ASCII): New macro.
5084 Translate table is changed to Lisp_Object.
5085 (signal_failure): Inhibit return.
5087 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5094 Do UNGCPRO before return.
5096 2000-11-14 Martin Buchholz <martin@xemacs.org>
5098 * XEmacs 21.2.37 is released.
5100 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5102 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5103 Add comments about discarded return value.
5105 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5108 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5110 2000-10-27 Andy Piper <andy@xemacs.org>
5112 * gutter.c (Fset_default_gutter_position): default left and right
5114 (calculate_gutter_size): calculate resonable heuristic for left
5115 and right gutter sizes.
5116 (specifier_vars_of_gutter): change left and right gutter sizes to
5118 (calculate_gutter_size_from_display_lines): new function.
5119 (output_gutter): check for resizing on left and right gutters.
5120 (clear_gutter): don't special case top and left gutters.
5121 (specifier_vars_of_gutter): use new signature for
5122 set_specifier_caching.
5124 * glyphs-x.c (x_redisplay_widget): spelling fix.
5125 * glyphs.c (specifier_vars_of_glyphs):
5126 * menubar.c (specifier_vars_of_menubar):
5127 * redisplay.c (specifier_vars_of_redisplay):
5128 * toolbar.c (specifier_vars_of_toolbar):
5129 * window.c (specifier_vars_of_window):
5130 * scrollbar.c (specifier_vars_of_scrollbar):
5131 (complex_vars_of_scrollbar): use new signature for
5132 set_specifier_caching.
5134 * specifier.c (set_specifier_caching): include recompute flag.
5135 (recompute_one_cached_specifier_in_window): always recompute if
5137 (recompute_one_cached_specifier_in_frame): ditto.
5139 * specifier.h (struct specifier_caching): add recompute flag.
5141 2000-10-24 Andy Piper <andy@xemacs.org>
5143 * unexcw.c (copy_executable_and_dump_data_section): add new
5144 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5147 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5149 * console-x.h (x_device): New member modifier_release_time.
5150 * event-Xt.c (x_handle_sticky_modifiers):
5151 Bound interval modifier keys are sticky.
5152 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5153 * events.h: extern it.
5155 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5157 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5159 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5161 * event-stream.c (execute_command_event): Preserve current_events
5162 and the like when event is misc-user-event.
5163 Inhibit quit during the call to maybe_echo_keys.
5165 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5167 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5168 symlink when buffer is killed.
5169 (inhibit_clash_detection): New variable.
5171 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5173 * console.c (Fset_input_method): Trigger redisplay on tty.
5175 2000-11-07 Martin Buchholz <martin@xemacs.org>
5177 * process.c (Fprocess_status): Revert to previous behavior:
5178 (process-status "nosuchprocess") ==> nil
5180 2000-11-06 Martin Buchholz <martin@xemacs.org>
5182 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5183 Work around another GCC 2.95.2 optimizer bug.
5185 2000-11-02 Martin Buchholz <martin@xemacs.org>
5187 * process.c (Fget_process): Use LIST_LOOP_2.
5188 (kill_buffer_processes): Use LIST_LOOP_2.
5190 * minibuf.c (Fall_completions):
5191 Delete old non-functional code for FSF fourth argument.
5193 * frame.c (frame_matches_frame_spec):
5194 Renamed from `frame_matches_frametype'. Update all callers.
5195 (device_matches_device_spec):
5196 Renamed from 'device_matches_console_spec'. Update all callers.
5198 * doc.c (Fsubstitute_command_keys):
5199 Remove buffer overflow crash. Small code cleanups.
5201 * casetab.c (check_case_table): Simpler code.
5203 * window.c (Freplace_buffer_in_windows):
5204 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5205 (and similar implementation) as Fdelete_windows_on.
5208 * alloc.c (Fmake_list):
5209 * alloc.c (make_vector):
5210 * alloc.c (Fmake_vector):
5211 * alloc.c (make_bit_vector):
5212 * alloc.c (Fmake_bit_vector):
5213 * alloc.c (Fbit_vector):
5214 * alloc.c (Fmake_string):
5215 * alloc.c (Fpurecopy):
5216 * alloc.c (Fmemory_limit):
5218 * buffer.c (Fget_buffer):
5219 * buffer.c (Fkill_buffer):
5220 * buffer.c (complex_vars_of_buffer):
5221 * bytecode.c (Fcompiled_function_stack_depth):
5222 * callint.c (Fprefix_numeric_value):
5224 * event-stream.c (Fread_key_sequence):
5226 * casetab.c (Fcase_table_p):
5227 * casetab.c (check_case_table):
5228 * casetab.c (Fset_case_table):
5229 * casetab.c (Fset_standard_case_table):
5231 * chartab.c (Fchar_table_type):
5232 * chartab.c (Freset_char_table):
5233 * chartab.c (Fget_char_table):
5234 * chartab.c (Fget_range_char_table):
5235 * chartab.c (Fput_char_table):
5236 * chartab.c (Fmap_char_table):
5237 * chartab.c (Fcategory_table_p):
5238 * chartab.c (Fcheck_category_at):
5239 * chartab.c (Fchar_in_category_p):
5240 * chartab.c (Fcategory_table):
5241 * chartab.c (Fcopy_category_table):
5242 * chartab.c (Fset_category_table):
5243 * chartab.c (Fcategory_designator_p):
5244 * chartab.c (Fcategory_table_value_p):
5245 * cmds.c (Fdelete_char):
5246 * cmds.c (Fdelete_backward_char):
5247 * cmds.c (Fself_insert_command):
5248 * cmds.c (Fself_insert_internal):
5249 * console.c (Fvalid_console_type_p):
5250 * console.c (Fcdfw_console):
5251 * console.c (Fconsole_type):
5252 * console.c (Fconsole_name):
5253 * console.c (Fconsole_device_list):
5254 * console.c (Fconsole_on_window_system_p):
5258 * data.c (Fsubr_interactive):
5259 * data.c (Fchar_to_int):
5260 * data.c (Fint_to_char):
5263 * data.c (Fnumber_to_string):
5264 * data.c (Fstring_to_number):
5266 * database.c (mark_database):
5267 * database.c (finalize_database):
5268 * database.c (Fdatabase_live_p):
5269 * database.c (Fdatabasep):
5270 * device-x.c (Fx_get_resource):
5271 * device.c (Fdfw_device):
5273 * dired.c (Ffile_name_completion):
5274 * dired.c (Ffile_name_all_completions):
5275 * dired.c (Fuser_name_completion):
5276 * dired.c (Fuser_name_completion_1):
5277 * dired.c (Fuser_name_all_completions):
5278 * doc.c (Fdocumentation):
5279 * doc.c (Fdocumentation_property):
5280 * doc.c (Fsubstitute_command_keys):
5282 * editfns.c (Fchar_to_string):
5283 * editfns.c (Fstring_to_char):
5284 * editfns.c (Ftemp_directory):
5285 * editfns.c (Finsert_char):
5286 * editfns.c (Fbuffer_substring_no_properties):
5287 * editfns.c (Fnarrow_to_region):
5288 * editfns.c (Fchar_equal):
5289 * editfns.c (Fchar_Equal):
5290 * editfns.c (Ftranspose_regions):
5291 * emacs.c (Fdump_emacs):
5293 * eval.c (Fcommand_execute):
5294 * eval.c (Fautoload):
5295 * eval.c (Fbacktrace):
5296 * eval.c (Fbacktrace_frame):
5298 * events.c (Fcopy_event):
5299 * events.c (Fcharacter_to_event):
5300 * events.c (Fevent_button):
5301 * events.c (Fevent_process):
5303 * extents.c (Fnext_extent_change):
5304 * extents.c (Fextent_property):
5306 * faces.c (Fmake_face):
5308 * file-coding.c (Fencode_shift_jis_char):
5309 * file-coding.c (Fencode_big5_char):
5310 * fileio.c (Ffile_name_directory):
5311 * fileio.c (Ffile_name_nondirectory):
5312 * fileio.c (Ffile_name_as_directory):
5313 * fileio.c (Fdirectory_file_name):
5314 * fileio.c (Ffile_truename):
5315 * fileio.c (Fsubstitute_in_file_name):
5316 * fileio.c (Ffile_modes):
5317 * fileio.c (Fset_file_modes):
5318 * fileio.c (Fset_default_file_modes):
5319 * fileio.c (Fverify_visited_file_modtime):
5320 * floatfns.c (Facos):
5321 * floatfns.c (Fasin):
5322 * floatfns.c (Fatan):
5323 * floatfns.c (Fcos):
5324 * floatfns.c (Fsin):
5325 * floatfns.c (Ftan):
5326 * floatfns.c (Fbessel_j0):
5327 * floatfns.c (Fbessel_j1):
5328 * floatfns.c (Fbessel_jn):
5329 * floatfns.c (Fbessel_y0):
5330 * floatfns.c (Fbessel_y1):
5331 * floatfns.c (Fbessel_yn):
5332 * floatfns.c (Ferf):
5333 * floatfns.c (Ferfc):
5334 * floatfns.c (Flog_gamma):
5335 * floatfns.c (Fexp):
5336 * floatfns.c (Fexpt):
5337 * floatfns.c (Flog):
5338 * floatfns.c (Flog10):
5339 * floatfns.c (Fsqrt):
5340 * floatfns.c (Fcube_root):
5341 * floatfns.c (Facosh):
5342 * floatfns.c (Fasinh):
5343 * floatfns.c (Fatanh):
5344 * floatfns.c (Fcosh):
5345 * floatfns.c (Fsinh):
5346 * floatfns.c (Ftanh):
5347 * floatfns.c (Fabs):
5348 * floatfns.c (Ffloat):
5349 * floatfns.c (Flogb):
5350 * floatfns.c (Fceiling):
5351 * floatfns.c (Ffloor):
5352 * floatfns.c (Fround):
5353 * floatfns.c (Ftruncate):
5354 * floatfns.c (Ffceiling):
5355 * floatfns.c (Fffloor):
5356 * floatfns.c (Ffround):
5357 * floatfns.c (Fftruncate):
5358 * fns.c (Fstring_equal):
5359 * fns.c (Fstring_lessp):
5364 * fns.c (Fsubstring):
5366 * fns.c (Fold_assoc):
5367 * fns.c (assoc_no_quit):
5369 * fns.c (Fold_assq):
5370 * fns.c (assq_no_quit):
5372 * fns.c (Fold_rassoc):
5374 * fns.c (Fold_rassq):
5375 * fns.c (rassq_no_quit):
5376 * fns.c (Fremassoc):
5377 * fns.c (remassoc_no_quit):
5379 * fns.c (remassq_no_quit):
5380 * fns.c (Fremrassoc):
5381 * fns.c (Fremrassq):
5382 * fns.c (remrassq_no_quit):
5384 * fns.c (Fplist_get):
5385 * fns.c (Fplist_put):
5386 * fns.c (Fplist_remprop):
5387 * fns.c (Fplist_member):
5388 * fns.c (Flax_plist_get):
5389 * fns.c (Flax_plist_put):
5390 * fns.c (Flax_plist_remprop):
5391 * fns.c (Flax_plist_member):
5393 * fns.c (Fold_equal):
5395 * fns.c (Fbase64_encode_region):
5396 * fns.c (Fbase64_encode_string):
5397 * fns.c (Fbase64_decode_region):
5399 * frame.c (frame_matches_frame_spec):
5400 * frame.c (device_matches_device_spec):
5401 * frame.c (next_frame):
5402 * frame.c (previous_frame):
5403 * frame.c (Fnext_frame):
5404 * frame.c (Fprevious_frame):
5405 * frame.c (Fframe_property):
5406 * frame.c (Fset_frame_height):
5407 * frame.c (Fset_frame_size):
5411 * glyphs.c (decode_error_behavior_flag):
5412 * glyphs.c (Fmake_image_instance):
5413 * indent.c (Findent_to):
5414 * intl.c (Fignore_defer_gettext):
5415 * keymap.c (Fkeymapp):
5416 * keymap.c (Flookup_key):
5418 * lread.c (Fload_internal):
5419 * lread.c (Feval_buffer):
5420 * lread.c (Feval_region):
5421 * macros.c (Fexecute_kbd_macro):
5422 * marker.c (set_marker_internal):
5423 * marker.c (Fset_marker):
5424 * marker.c (set_marker_restricted):
5425 * marker.c (Fcopy_marker):
5426 * marker.c (noseeum_copy_marker):
5428 * menubar.c (Fpopup_menu):
5430 * mule-charset.c (Fcharset_name):
5431 * mule-charset.c (Fchar_charset):
5432 * mule-charset.c (Fchar_octet):
5433 * mule-charset.c (Fsplit_char):
5434 * mule-wnnfns.c (Fwnn_open):
5435 * mule-wnnfns.c (Fwnn_dict_comment):
5436 * mule-wnnfns.c (Fwnn_quit_henkan):
5437 * mule-wnnfns.c (Fwnn_word_toroku):
5438 * mule-wnnfns.c (Fwnn_word_sakujo):
5439 * mule-wnnfns.c (Fwnn_word_use):
5440 * mule-wnnfns.c (Fwnn_hindo_set):
5442 * objects.c (Fmake_color_instance):
5443 * objects.c (Fmake_font_instance):
5444 * print.c (Fwrite_char):
5446 * process.c (mark_process):
5447 * process.c (print_process):
5448 * process.c (get_process_from_usid):
5449 * process.c (Fprocessp):
5450 * process.c (Fprocess_live_p):
5451 * process.c (Fget_process):
5452 * process.c (Fget_buffer_process):
5453 * process.c (get_process):
5454 * process.c (Fprocess_id):
5455 * process.c (Fprocess_name):
5456 * process.c (Fprocess_command):
5457 * process.c (init_process_io_handles):
5458 * process.c (start_process_unwind):
5459 * process.c (Fstart_process_internal):
5460 * process.c (Fopen_multicast_group_internal):
5461 * process.c (Fset_process_window_size):
5462 * process.c (read_process_output):
5463 * process.c (send_process):
5464 * process.c (Fprocess_tty_name):
5465 * process.c (Fset_process_buffer):
5466 * process.c (Fprocess_buffer):
5467 * process.c (Fprocess_mark):
5468 * process.c (set_process_filter):
5469 * process.c (Fset_process_filter):
5470 * process.c (Fprocess_filter):
5471 * process.c (Fprocess_send_region):
5472 * process.c (Fprocess_send_string):
5473 * process.c (exec_sentinel):
5474 * process.c (Fset_process_sentinel):
5475 * process.c (Fprocess_sentinel):
5476 * process.c (status_notify):
5477 * process.c (Fprocess_status):
5478 * process.c (Fprocess_exit_status):
5479 * process.c (process_send_signal):
5480 * process.c (Fprocess_send_eof):
5481 * process.c (deactivate_process):
5482 * process.c (remove_process):
5483 * process.c (Fdelete_process):
5484 * process.c (kill_buffer_processes):
5485 * process.c (Fprocess_kill_without_query):
5486 * process.c (Fprocess_kill_without_query_p):
5488 * rangetab.c (Fget_range_table):
5489 * rangetab.c (Fput_range_table):
5490 * rangetab.c (Fremove_range_table):
5491 * rangetab.c (Fclear_range_table):
5493 * search.c (Fskip_chars_forward):
5494 * search.c (Fskip_chars_backward):
5495 * search.c (Fskip_syntax_forward):
5496 * search.c (Fskip_syntax_backward):
5497 * search.c (search_command):
5498 * search.c (Freplace_match):
5499 * search.c (Fregexp_quote):
5500 * select.c (Fown_selection_internal):
5501 * select.c (Fselection_owner_p):
5502 * select.c (Fselection_exists_p):
5503 * select.c (Fget_selection_internal):
5506 * symbols.c (Fintern):
5507 * symbols.c (Fintern_soft):
5508 * symbols.c (Funintern):
5509 * symbols.c (Fapropos_internal):
5510 * symbols.c (Fset_default):
5512 * syntax.c (Fsyntax_table_p):
5513 * syntax.c (Fcopy_syntax_table):
5514 * syntax.c (Fset_syntax_table):
5515 * syntax.c (Fchar_syntax):
5516 * syntax.c (syntax_match):
5517 * syntax.c (Fmatching_paren):
5518 * syntax.c (Fforward_word):
5519 * syntax.c (scan_lists):
5520 * syntax.c (Fscan_lists):
5521 * syntax.c (Fscan_sexps):
5522 * syntax.c (Fparse_partial_sexp):
5523 * toolbar.c (Fcheck_toolbar_button_syntax):
5526 * window.c (Fwindowp):
5527 * window.c (Fwindow_live_p):
5528 * window.c (Fwindow_point):
5529 * window.c (Fdelete_window):
5530 * window.c (Fnext_window):
5531 * window.c (Fprevious_window):
5532 * window.c (Fother_window):
5533 * window.c (window_loop):
5534 * window.c (Fget_lru_window):
5535 * window.c (Fsplit_window):
5536 * window.c (Fenlarge_window):
5537 * window.c (Fenlarge_window_pixels):
5538 * window.c (Fshrink_window):
5539 * window.c (Fshrink_window_pixels):
5540 * window.c (change_window_height):
5541 * window.c (Fwindow_configuration_p):
5542 * window.c (Fcurrent_window_configuration):
5544 * casefiddle.c (casify_object):
5545 * casefiddle.c (Fupcase):
5546 * casefiddle.c (Fdowncase):
5547 * casefiddle.c (Fcapitalize):
5548 * casefiddle.c (Fupcase_initials):
5549 * casefiddle.c (casify_region_internal):
5550 * casefiddle.c (casify_region):
5551 * casefiddle.c (Fupcase_region):
5552 * casefiddle.c (Fdowncase_region):
5553 * casefiddle.c (Fcapitalize_region):
5554 * casefiddle.c (Fupcase_initials_region):
5555 * casefiddle.c (Fupcase_word):
5556 * casefiddle.c (Fdowncase_word):
5557 * casefiddle.c (Fcapitalize_word):
5558 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5559 Replace 0 with '\0' when working with bytes.
5560 Replace initial "(" with "\(" in docstrings.
5562 2000-11-01 Martin Buchholz <martin@xemacs.org>
5564 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5566 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5568 2000-10-31 Martin Buchholz <martin@xemacs.org>
5570 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5572 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5574 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5577 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5579 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5580 (inhibit_auto_save_session): New variable.
5581 (vars_of_fileio): Declare and initialize them.
5582 * fileio.c (Fdo_auto_save): Don't create session file if
5583 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5585 2000-10-31 Martin Buchholz <martin@xemacs.org>
5587 * sgiplay.c (play_internal): C++ compilability.
5588 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5589 * callproc.c (Fold_call_process_internal):
5590 Remove unused vars `env', `first'.
5591 * scrollbar.c (update_scrollbar_instance):
5592 #### unused var `current_window'.
5593 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5594 etc. within #ifdef NOT_YET.
5595 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5596 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5597 * specifier.c (specifier_instance):
5598 #### unused var `tag'.
5599 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5601 2000-10-27 Martin Buchholz <martin@xemacs.org>
5604 * fns.c (list_sort):
5605 * fns.c (Ffillarray):
5606 * fns.c (bytecode_nconc2):
5609 * fns.c (Fmapconcat):
5610 Be pedantically 64-bit correct. For the time when someone will
5611 want to have a list with length > 2**32.
5613 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5614 Work around MIPSpro compiler bug.
5616 * process-unix.c (unix_kill_child_process): Add snarky comment.
5617 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5619 * config.h.in: Oops, _getpt ==> _getpty
5621 2000-10-26 Martin Buchholz <martin@xemacs.org>
5625 Use void*, not char*, as return type of alloca().
5627 * alloc.c (free_marker): Side effect inside assert expression!
5629 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5631 * mule-charset.c (Fset_charset_ccl_program): To check
5632 if the given ccl program is valid, use setup_ccl_program()
5633 instead of CHECK_VECTOR().
5634 (Fmake_charset): Likewise.
5636 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5638 * faces.c (get_extent_fragment_face_cache_index):
5639 Fix cachel.merged_faces memory leak.
5641 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5643 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5644 Reset MSB of octets obtained by DECODE_SJIS
5645 because of the incompatibility with Emacs.
5646 (ccl_driver)<CCL_ENCODE_SJIS>:
5647 Set MSB of octets before passing them to
5648 ENCODE_SJIS because of the incompatibility
5651 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5653 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5654 (DECLARE_LRECORD): Undo the last change.
5655 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5657 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5659 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5660 the implementation to lrecord_implementations_table.
5662 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5664 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5665 initial value of `lrecord_type_##c_name' and
5666 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
5667 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
5668 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
5669 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
5670 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
5672 2000-10-17 Martin Buchholz <martin@xemacs.org>
5674 * miscplay.c (sndcnv8S_2mono):
5675 (sndcnv2monounsigned):
5676 (sndcnvULaw_2linear):
5678 Remove implementation-defined behavior.
5680 2000-10-12 Martin Buchholz <martin@xemacs.org>
5682 * input-method-xlib.c: Warning suppression.
5684 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
5686 * mule-ccl.c: Sync up with Emacs 21.0.90.
5687 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
5689 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
5691 (ccl_driver[WriteMultibyteChar2]): Bug fix.
5692 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
5693 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
5694 leading char belongs to official 2-dimensional charset.
5695 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
5696 write the given character as is. Otherwise,
5697 if it is a multibyte char, convert it by
5698 non_ascii_set_charptr_emchar, then write it.
5699 (CCL_WRITE_STRING): Likewise.
5700 (ccl_get_compiled_code): New function.
5701 (setup_ccl_program): When ccl_prog is invalid,
5703 (Fregister_code_conversion_map): New function.
5704 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
5706 * mule-ccl.h: Sync up with Emacs 21.0.90.
5707 (Fregister_ccl_program): export it.
5709 * redisplay-msw.c (separate_textual_runs):
5710 If ccl program is not valid, don't do ccl conversion.
5712 * redisplay-x.c (separate_textual_runs): Ditto.
5714 * file-coding.c (Fmake_coding_system):
5715 When type is ccl and value is vector, register it
5716 with a proper symbol. And checks whether the
5717 given ccl program is valid.
5718 (mule_decode): When calling ccl_driver, if src indicates
5719 NULL pointer, set an empty string instead.
5720 (mule_encode): Likewise.
5722 2000-10-11 Martin Buchholz <martin@xemacs.org>
5724 The following large batch of changes gets us back to a state of
5725 C++ compilability. Extbyte is now a char, which means that
5726 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
5728 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
5730 * sound.c (Fplay_sound): Type correctness.
5732 * select-x.c (hack_motif_clipboard_selection): Type correctness.
5733 (x_get_window_property): Type correctness.
5734 (receive_incremental_selection): unsigned char ==> Extbyte
5735 (selection_data_to_lisp_data): unsigned char ==> Extbyte
5736 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
5737 (Fx_store_cutbuffer_internal): Type correctness.
5739 * process-unix.c (try_to_initialize_subtty): Type correctness.
5741 * objects-x.c (x_print_color_instance): Type correctness.
5742 (x_print_font_instance): Type correctness.
5743 (x_list_fonts): SExtbyte ==> Extbyte.
5744 (valid_x_font_name_p): SExtbyte ==> Extbyte.
5745 (x_find_charset_font): SExtbyte ==> Extbyte.
5746 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
5747 (truename_via_XListFonts): SExtbyte ==> Extbyte.
5748 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
5751 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
5752 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
5753 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
5754 (BYTE_C0_P): Use bit ops for char-signedness safety.
5755 (BYTE_C1_P): Use bit ops for char-signedness safety.
5756 (CHARSET_BY_LEADING_BYTE):
5757 (CHARSET_BY_ATTRIBUTES):
5758 Always use inline function.
5759 Use type_checking_assert.
5762 * mule-charset.c (non_ascii_charptr_copy_char):
5763 Modify to work with both ASCII and non-ASCII characters.
5764 Improve docs and variable names.
5765 Replace over-clever fall-through switch with a simple loop.
5766 (Lstream_get_emchar_1):
5767 Replace over-clever fall-through switch with a simple loop.
5769 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5770 Warning suppression.
5772 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
5773 the return value of Lstream_getc, which could be EOF as well.
5775 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
5777 * lisp.h: Make Extbyte a char, not unsigned char, so that external
5778 APIs can be used on Extbytes without casts. Risky!
5782 * input-method-xlib.c (XIM_init_device):
5783 Use Xlib.h instead of IntrinsicP.h.
5784 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
5785 which will break in X11R7.
5786 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
5787 to call XRegisterIMInstantiateCallback with correct types.
5789 * gui-x.c (button_item_to_widget_value): Type correctness.
5791 * glyphs.c (bitmap_to_lisp_data): Type correctness.
5793 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
5794 (xbm_instantiate_1): Type correctness.
5795 (BUILD_GLYPH_INST): Type correctness.
5797 * fileio.c (Fsubstitute_in_file_name): Type correctness.
5800 (decode_coding_sjis):
5801 (decode_coding_big5):
5802 (decode_coding_ucs4):
5803 (decode_coding_utf8):
5804 (decode_coding_iso2022):
5805 (decode_coding_no_conversion):
5806 Make all decoding functions take an Extbyte * arg.
5807 (encode_coding_sjis):
5808 (encode_coding_big5):
5809 (encode_coding_ucs4):
5810 (encode_coding_utf8):
5811 (encode_coding_iso2022):
5812 (encode_coding_no_conversion):
5813 Make all encoding functions take a Bufbyte * arg.
5814 Use size_t instead of unsigned int for memory sizes.
5815 Only cast to unsigned char whenever dereferencing Extbyte *.
5817 * doc.c (unparesseuxify_doc_string): Type correctness.
5819 * console-x.c (split_up_display_spec):
5820 Rewrite without using details of internal string representation.
5821 (x_semi_canonicalize_device_connection): Type correctness.
5824 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
5825 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
5826 (HAVE_XFREE386): Removed.
5828 * buffer.h (DEC_CHARPTR): `const' correctness.
5829 (bufbyte_strcmp): New.
5830 (bufbyte_memcmp): New.
5832 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
5834 * buffer.h (XCHAR_OR_CHAR_INT):
5835 Always use inline function.
5836 Remove redundant type checking assert() - XINT will abort quite nicely.
5838 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
5840 * search.c (Freplace_match): Set newtext to an empty string.
5842 2000-10-10 Martin Buchholz <martin@xemacs.org>
5844 * s/decosf1-3.h: Remove #include of stropts.h
5845 * s/ptx.h: Remove #include of stropts.h
5846 * s/usg5-4.h: Remove #include of stropts.h
5849 Use stropts.h, not sys/stropts.h.
5850 Use strtio.h, not sys/strtio.h.
5852 2000-10-04 Martin Buchholz <martin@xemacs.org>
5854 * XEmacs 21.2.36 is released.
5856 2000-09-21 Andy Piper <andy@xemacs.org>
5858 * glyphs-x.c (x_redisplay_widget): make sure non-structural
5859 changes still involve copying the widget tree.
5860 (update_widget_face): make sure a change is register in the widget
5861 tree. Call update_tab_widget_face appropriately.
5862 (update_tab_widget_face): ditto.
5863 (x_tab_control_redisplay): make sure non-structural changes still
5864 involve copying the widget tree.
5866 2000-08-31 Daiki Ueno <ueno@unixuser.org>
5868 * lread.c (locate_file): Check the path element is non-nil.
5870 2000-10-02 Martin Buchholz <martin@xemacs.org>
5872 * lisp.h: Warning suppression for SCO compilers.
5874 * redisplay-tty.c (reset_tty_modes): Fix crash.
5875 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
5877 2000-09-27 Martin Buchholz <martin@xemacs.org>
5879 Big signal/process handling overhaul. Bugs fixed:
5880 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
5881 M-x comint-kill-subjob should work for both values nil and t of
5882 process-connection-type. It was broken on most platforms.
5883 Testing on Irix and Cygwin still needed. Other plaforms tested.
5884 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
5885 * process-unix.c: Signal/Process handling overhaul.
5886 (pty_name): make 64 bytes, as `expect' does, for paranoia.
5887 (allocate_pty): Use all available modern methods of allocating
5888 ptys, falling back to old style BSD allocation as a last resort.
5889 Use allegedly more secure Unix98 pty allocation by default.
5890 (allocate_pty_the_old_fashioned_way): New. the last resort.
5891 (unix_create_process): Push ptem, ldterm, ttcompat where
5892 available. Autoconfiscate.
5893 (try_to_initialize_subtty): New.
5894 (unix_kill_child_process): Proper signal handling for ptys on most
5895 platforms, using special knowledge of AIX, BSD, etc...
5896 (unix_create_process): Always disconnect_controlling_terminal() for
5897 subprocesses, whether using ptys or not.
5898 * process.h: Remove old getpt-dependent PTY code.
5899 * process.c (Fprocess_send_signal): New, obvious generic function.
5900 (decode_signal): New.
5901 (Finterrupt_process):
5905 (Fcontinue_process):
5906 (Fsignal_process): Use decode_signal.
5907 (process_send_signal):
5908 Many docstring corrections.
5909 Allow any signal to be sent to a process object.
5910 * config.h.in: Add symbols for big signal/process overhaul.
5911 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
5912 * sysproc.h: Include process-related headers, where available:
5913 sys/stropts.h sys/strtio.h pty.h libutil.h
5921 Remove old S&M pty stuff.
5922 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
5923 * systty.h: Simplify cpp hackery, improve comments.
5924 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
5926 * editfns.c (Fformat_time_string):
5927 Be a little more paranoid with the return value of ctime.
5929 * fileio.c (check_executable):
5931 Use symbolic constants X_OK, W_OK.
5933 * console-x.c (split_up_display_spec): Fix a warning.
5935 2000-10-02 Martin Buchholz <martin@xemacs.org>
5937 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
5938 * ntproc.c (sys_spawnve): make_string ==> build_string
5939 Small clarity improvements.
5941 2000-09-30 Martin Buchholz <martin@xemacs.org>
5943 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
5945 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
5947 * config.h.in (HAVE_STRCASECMP): Remove.
5949 2000-09-29 Martin Buchholz <martin@xemacs.org>
5951 * redisplay-output.c (redisplay_output_pixmap):
5952 Cleaner and possibly more 64-bit correct code.
5954 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5956 * dumper.c (pdump_load_finish): move restoration of
5957 `noninteractive1' to emacs.c (main_1).
5958 * emacs.c (main_1): protect LISP-visible command-line flags
5961 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
5963 * Makefile.in.in (versionclean): Use EXE_TARGET and
5964 DUMP_TARGET instead of literal program names.
5966 2000-09-20 Martin Buchholz <martin@xemacs.org>
5968 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
5970 2000-09-19 Martin Buchholz <martin@xemacs.org>
5972 * *: Spelling mega-patch
5974 2000-09-19 Martin Buchholz <martin@xemacs.org>
5976 * fns.c (bad_bad_turtle):
5977 Delete "Eek!" comment, since we fixed the bug to which it refers.
5979 2000-09-16 Martin Buchholz <martin@xemacs.org>
5981 * alloca.c: Replace REGISTER with register.
5983 2000-09-16 Daiki Ueno <ueno@unixuser.org>
5985 * file-coding.c (ucs_to_char): Use countof.
5987 2000-09-16 Martin Buchholz <martin@xemacs.org>
5989 * file-coding.c: (ucs_to_char):
5990 (complex_vars_of_file_coding):
5991 Use countof instead of sizeof.
5992 Use CHECK_NATNUM instead of CHECK_INT.
5994 * sysdep.c (strcasecmp): Remove.
5995 * device-x.c (ascii_strcasecmp): New.
5996 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
5997 Avoid using non-standard non-portable strcasecmp.
5999 2000-09-16 Martin Buchholz <martin@xemacs.org>
6001 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
6002 * font-lock.c: remove reference to emacsfns.h.
6003 * search.c: small doc improvement.
6004 * event-Xt.c: correct file names in comments.
6005 * console-x.h Correct file names in comments.
6006 * frame.c: Correct file names in comments.
6007 * event-stream.c: remove Energize from comments.
6009 2000-09-15 Martin Buchholz <martin@xemacs.org>
6011 * symeval.h (DEFERROR_STANDARD):
6014 (DEFSYMBOL_NO_DUMP):
6015 (DEFSYMBOL_MULTIWORD_PREDICATE):
6016 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
6018 The construct &##name is not sensible C.
6019 Fixes compilation errors with Unixware native compiler.
6021 2000-09-14 Martin Buchholz <martin@xemacs.org>
6023 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
6024 (next_frame_internal): Removed. We now just have next_frame.
6026 Write a simpler and cleaner one-pass algorithm.
6027 Remove called_from_delete_device arg and #ifdefed-out code.
6029 Renamed from prev_frame. Update callers.
6030 Cleaned up to have an analogous implementation to next_frame.
6031 (other_visible_frames_internal): Remove the
6032 called_from_delete_device bogus arg, and hence, remove this
6033 function. Just use other_visible_frames().
6035 * window.c (Fnext_window):
6037 Since next_frame() is guaranteed to return a frame, remove check
6038 for nil inserted in previous patch.
6041 Make code look more like Fnext_window.
6043 Respect the `console' arg when iterating through windows.
6044 Fixes bug: (get-buffer-window buffer t device) not respecting
6046 This function needs more work, as others have pointed out.
6048 * frame.h: Rename prev_frame to previous_frame.
6049 device_matches_console_spec no longer takes a `frame' arg.
6054 Use EMACS_BLOCK_SIGNAL instead of sigblock.
6055 From "Golubev I. N." <gin@mo.msk.ru>.
6057 * make-src-depend: Fix typo.
6059 2000-09-13 Martin Buchholz <martin@xemacs.org>
6061 * window.c (Fnext_window):
6062 next_frame() might return nil, not a frame.
6064 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6066 * frame.c (next_frame_internal):
6067 We've passed a frame if we've passed its device.
6069 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6070 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
6072 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6074 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6075 Allow option to suppress accelerators in menu/dialog items.
6076 (populate_or_checksum_helper): Pass dialog title through above.
6078 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6080 * event-msw.c (mswindows_key_to_emacs_keysym):
6081 Add "pause" key, fix "menu" key.
6083 2000-09-09 Martin Buchholz <martin@xemacs.org>
6085 * eval.c (reinit_vars_of_eval):
6086 Increase max_lisp_eval_depth to 1000,
6087 required for thai-xtis.el to byte-compile under some circumstances.
6089 2000-09-04 Martin Buchholz <martin@xemacs.org>
6091 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6094 2000-09-01 Martin Buchholz <martin@xemacs.org>
6096 * make-src-depend: Make the generated Makefiles smaller.
6098 * s/hpux.h (SETUP_SLAVE_PTY):
6099 Provide a %d in the format string for the errno argument.
6101 * editfns.c (Ftemp_directory):
6103 Avoid buffer overrun on very long file name.
6105 * input-method-xlib.c (XIM_init_device):
6106 6th parameter of XRegisterIMInstantiateCallback has different
6107 pointer types on different OSes, so simply cast to (void *).
6109 * unexhp9k800.c: Warning fixes. Fiddly changes.
6111 * sysdll.c (dll_open):
6112 shl_load will hang hard if passed a NULL filename.
6113 Simply return NULL for compatibility with dlopen.
6114 * sysdll.c: Conform to XEmacs coding standards.
6116 * sysdep.c (get_pty_max_bytes):
6117 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6119 2000-08-31 Martin Buchholz <martin@xemacs.org>
6121 * tooltalk.c: Add #include <syssignal.h>
6123 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6125 * s/hpux.h: Don't use undefined function sigunblock().
6127 2000-08-31 Martin Buchholz <martin@xemacs.org>
6129 * config.h.in: Add HAVE_BALLOON_HELP.
6130 * emacs.c: Use HAVE_BALLOON_HELP.
6131 * Makefile.in.in (x_objs):
6132 Make Balloon Help conditional on finding shape.h.
6134 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6136 * syntax.c (regex_emacs_buffer_p): New variable.
6137 * syntax.h (regex_emacs_buffer_p): extern.
6138 * search.c (looking_at_1):
6140 (fast_string_match):
6141 (search_buffer): Set regex_emacs_buffer_p.
6142 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6143 when before_dot, at_dot, after_dot.
6145 2000-08-23 Andy Piper <andy@xemacs.org>
6147 * gui-x.c (popup_selection_callback): Only set action_occurred
6148 when we really have an image instance.
6149 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6151 2000-08-23 Andy Piper <andy@xemacs.org>
6153 * gui-msw.c (mswindows_handle_gui_wm_command): set
6155 * gui-x.c (popup_selection_callback): ditto.
6157 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6158 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6159 (struct Lisp_Image_Instance): add action_occurred flag.
6161 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6162 (image_instance_changed): ditto.
6163 (reset_frame_subwindow_instance_cache): only unmap windows - do
6164 not remove them from the cache also.
6166 * glyphs-widget.c (tab_control_update): better debug.
6167 (progress_gauge_update): ditto.
6168 (layout_update): ditto.
6169 (layout_instantiate): ditto.
6170 (tab_control_order_only_changed): cope with null pending items.
6172 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6173 debug. Force selection of an item when an action occurred. Cope
6174 with null pending_items.
6175 (mswindows_progress_gauge_redisplay): better debug.
6176 * glyphs-x.c (x_tab_control_redisplay): ditto.
6178 * redisplay.c (redisplay_frame): reset the frame cache if the
6181 * window.c (Fset_window_configuration): potentially re-enable
6183 (window_unmap_subwindows): need to finalize instances here since
6184 it is only used in mark_window_as_deleted.
6186 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6188 * nas.c (SndOpenDataForReading):
6189 nas.c (WaveOpenDataForReading):
6190 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6191 Somehow escaped from the 2000-08-14 patch.
6193 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6195 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6196 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6198 2000-08-21 Andy Piper <andy@xemacs.org>
6200 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6201 window if it is not already displayed.
6203 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6204 it is not already displayed.
6206 * window.c (Fset_window_configuration): don't reset the frame
6209 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6210 instances from the frame cache if we are actually finalizing them.
6211 (reset_frame_subwindow_instance_cache): reset frame cache only
6212 after unmapping everything.
6213 (map_subwindow): set displayed flag after mapping.
6215 2000-08-21 Martin Buchholz <martin@xemacs.org>
6217 * data.c (indirect_function):
6218 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6220 * eval.c (function_argcount):
6221 Use original function when signaling errors.
6223 2000-08-18 Andy Piper <andy@xemacs.org>
6225 * frame.c (delete_frame_internal): use new
6226 free_frame_subwindow_instances name.
6228 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6229 (add_tab_item): make return type correct.
6230 (mswindows_tab_control_instantiate): assert index of tab.
6231 (mswindows_tab_control_redisplay): Re-code to use
6232 gui_item_equal_sans_selected and gui_item_list_find_selected.
6234 * glyphs-widget.c (tab_control_update): Correct comment.
6236 * window.c (window_unmap_subwindows): use new
6237 unmap_subwindow_instance_cache_mapper.
6238 (window_unmap_subwindows_cache_mapper): deleted.
6239 (Fset_window_configuration): comparisons should now be with
6240 EQ. Preserve the subwindow instance cache across configuration
6242 (allocate_window): ditto.
6243 (make_dummy_parent): ditto.
6245 * glyphs.c (free_frame_subwindow_instances): rename from
6246 free_frame_subwindow_instance_cache. finalize all instances rather
6247 than just those in the display cache.
6248 (finalize_all_subwindow_instances): walk windows unmapping and
6249 finalizing subwindows.
6250 (unmap_subwindow_instance_cache_mapper): moved from
6251 window.c. Allow finalization as well as unmapping.
6253 * gui.c (gui_item_list_find_selected): new function.
6255 * gui.h (gui_item_list_find_selected): declare.
6257 * glyphs-x.c (x_tab_control_redisplay): pick tab
6258 explicitly. Re-code to use gui_item_equal_sans_selected and
6259 gui_item_list_find_selected.
6261 * glyphs-x.h: add lwlib-utils.h
6263 * buffer.c (Frecord_buffer): undo previous change.
6265 2000-08-09 Vin Shelton <acs@xemacs.org>
6267 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6268 possible. Create temporary files more securely. The patch was
6269 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6270 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6271 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6274 2000-08-07 Ben Wing <ben@xemacs.org>
6276 * getloadavg.c: remove duplicate (and windows-breaking)
6277 includes of fcntl.h and sys/file.h.
6279 * nt.c: remove duplicate getloadavg() definition.
6281 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6284 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6286 * eval.c (function_argcount): If function needs to be autoloaded
6287 actually use the loaded definition.
6290 2000-08-05 Ben Wing <ben@xemacs.org>
6292 * getloadavg.c: add prototype for getloadavg(). remove
6293 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6294 of the code). remove duplicate header includes.
6296 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6298 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6299 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6300 useful load average.
6302 * alloc.c (reinit_alloc_once_early): removed references to
6303 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6304 the lisp vars are the only things referencing the malloc_sbrk_*
6305 vars, and they were already if 0'd out. these vars only exist
6306 in the older malloc.c, which is basically unused, and they're
6307 only for informational purposes.
6309 * m\*.h: removed useless VIRT_ADDR_VARIES.
6311 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6313 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6315 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6316 color if the image is a mono pixmap.
6318 2000-07-30 Ben Wing <ben@xemacs.org>
6320 * Makefile.in.in (release):
6323 * buffer.c (directory_is_current_directory):
6324 * dired-msw.c (mswindows_get_files):
6326 * dired.c (Fdirectory_files):
6327 * dired.c (file_name_completion_stat):
6328 * dired.c (Ffile_attributes):
6329 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6330 preprocessor tricks, to avoid problems on some machines
6333 * callproc.c (egetenv): GC docs.
6336 * console-msw.h (struct mswindows_dialog_id):
6337 * lrecord.h (lrecord_type):
6338 New object for use with MSW dialogs.
6340 * console.h (struct console_methods):
6341 New enable/disable frame methods, for proper modal dialogs.
6343 * device-msw.c (msprinter_default_printer): Fix to follow
6344 proper Mule conventions.
6347 * device-msw.c (signal_open_printer_error):
6348 * device-msw.c (msprinter_init_device):
6349 * device-msw.c (ensure_not_printing):
6350 * device-msw.c (plist_get_margin):
6351 * device-msw.c (Fmsprinter_select_settings):
6352 * device-msw.c (finalize_devmode):
6353 * device-msw.c (Fmsprinter_settings_despecialize):
6354 * device-msw.c (signal_enum_priner_error):
6355 * extents.c (decode_extent):
6356 * extents.c (decode_map_extents_flags):
6357 * extents.c (decode_extent_at_flag):
6358 * extents.c (Fextent_at):
6359 * extents.c (Fextents_at):
6360 * extents.c (symbol_to_glyph_layout):
6361 [[[[2]]]] Use structured errors.
6364 * dialog-msw.c (mswindows_is_dialog_msg):
6365 * dialog-msw.c (mark_mswindows_dialog_id):
6366 * dialog-msw.c (dialog_proc):
6367 * dialog-msw.c (handle_question_dialog_box):
6368 * dialog-msw.c (syms_of_dialog_mswindows):
6369 Define new object to clean up marking; use it as a dialog identifier.
6370 Call new delete-dialog-box-hook.
6372 * dialog-x.c (dbox_selection_callback):
6373 * dialog-x.c (dbox_descriptor_to_widget_value):
6374 * dialog-x.c (x_make_dialog_box_internal):
6375 Call new delete-dialog-box-hook.
6379 * dialog.c (syms_of_dialog):
6380 * dialog.c (vars_of_dialog):
6381 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6384 * eval.c (signal_call_debugger):
6385 when noninteractive, output stack traces on the console instead
6386 of in a (never-seen) buffer.
6388 * eval.c (signal_type_error):
6389 * eval.c (invalid_argument_2):
6391 new funs for use w/structured errors.
6394 * event-Xt.c (x_to_emacs_keysym):
6395 * event-Xt.c (describe_event):
6396 * event-Xt.c (emacs_Xt_event_handler):
6397 * event-Xt.c (vars_of_event_Xt):
6399 * event-msw.c (mswindows_wnd_proc):
6400 * event-msw.c (vars_of_event_mswindows):
6401 rename {x,mswindows}-debug-events to debug-{}-events for
6402 consistency with other debug-foo variables.
6405 document next-event more clearly.
6407 * fileio.c (Ffile_name_directory):
6408 * fileio.c (Ffile_name_nondirectory):
6409 * fileio.c (Funhandled_file_name_directory):
6410 * fileio.c (file_name_as_directory):
6411 * fileio.c (Ffile_name_as_directory):
6412 * fileio.c (directory_file_name):
6413 * fileio.c (Fdirectory_file_name):
6414 * fileio.c (Fmake_temp_name):
6415 * fileio.c (Ffile_truename):
6416 * fileio.c (Fsubstitute_in_file_name):
6417 * fileio.c (expand_and_dir_to_file):
6418 * fileio.c (barf_or_query_if_file_exists):
6419 * fileio.c (check_executable):
6420 * fileio.c (Ffile_exists_p):
6421 * fileio.c (Ffile_writable_p):
6422 * fileio.c (Ffile_directory_p):
6423 * fileio.c (Ffile_regular_p):
6424 * fileio.c (Ffile_modes):
6425 * fileio.c (Ffile_newer_than_file_p):
6426 * fileio.c (Fverify_visited_file_modtime):
6427 * fileio.c (Fset_visited_file_modtime):
6428 * fileio.c (auto_save_1):
6433 * frame-msw.c (mswindows_init_frame_1):
6434 * frame-msw.c (mswindows_enable_frame):
6435 * frame-msw.c (error_frame_unsizable):
6436 * frame-msw.c (msprinter_init_frame_1):
6437 * frame-msw.c (msprinter_init_frame_3):
6438 * frame-msw.c (console_type_create_frame_mswindows):
6440 implement new enable/disable frame methods.
6443 * frame-x.c (x_enable_frame):
6444 * frame-x.c (console_type_create_frame_x):
6445 implement new enable/disable frame methods.
6448 * frame.c (Fdisable_frame):
6449 * frame.c (syms_of_frame):
6450 * frame.h (struct frame):
6451 implement new enable/disable frame methods/functions.
6456 * glyphs-msw.c (mswindows_widget_instantiate):
6457 comment that initial-focus should be implemented.
6460 * glyphs-widget.c (check_valid_instantiator):
6461 * glyphs-widget.c (check_valid_orientation):
6462 * glyphs-widget.c (check_valid_tab_orientation):
6463 * glyphs-widget.c (check_valid_justification):
6464 * glyphs-widget.c (check_valid_border):
6465 * glyphs-widget.c (check_valid_callback):
6466 * glyphs-widget.c (check_valid_int_or_function):
6467 * glyphs-widget.c (check_valid_string_or_vector):
6468 * glyphs-widget.c (check_valid_item_list_1):
6469 * glyphs-widget.c (widget_validate):
6470 * glyphs-widget.c (combo_box_validate):
6471 * glyphs-widget.c (widget_instantiate):
6472 * glyphs-widget.c (syms_of_glyphs_widget):
6473 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6474 * glyphs-widget.c (image_instantiator_combo_box):
6475 * glyphs-widget.c (image_instantiator_scrollbar):
6476 * glyphs-widget.c (image_instantiator_tab_control):
6477 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6479 support (unimplemented) keyword initial-focus.
6480 reindent long macros.
6482 * glyphs-x.c (x_redisplay_widget):
6483 * glyphs-x.c (x_button_instantiate):
6484 * glyphs-x.c (x_button_redisplay):
6485 * glyphs-x.c (x_progress_gauge_instantiate):
6486 * glyphs-x.c (x_edit_field_instantiate):
6487 * glyphs-x.c (x_combo_box_instantiate):
6488 * glyphs-x.c (x_tab_control_instantiate):
6489 * glyphs-x.c (x_label_instantiate):
6491 * gui-x.c (button_item_to_widget_value):
6492 * gui-x.c (gui_items_to_widget_values_1):
6493 * gui-x.c (gui_item_children_to_widget_values):
6494 * gui-x.c (gui_items_to_widget_values):
6496 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6497 add new flag to gui-parsing routines to indicate whether
6498 accelerator specs should be supported.
6500 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6502 * glyphs.h (struct Lisp_Image_Instance):
6503 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6504 add initial-focus flag.
6507 * gui.c (syms_of_gui):
6508 * gui.c (vars_of_gui):
6509 clean up menu-no-selection-hook.
6512 support delete-dialog-box-hook.
6514 * lread.c (Fload_internal):
6515 * lread.c (locate_file_in_directory_mapper):
6519 * lrecord.h (struct toolbar_button):
6520 * lrecord.h (syms_of_toolbar):
6521 document how to create a new object.
6523 * menubar-msw.c (mswindows_char_is_accelerator):
6524 may be called on frames w/o menus.
6526 * menubar.c (vars_of_menubar):
6527 clean up :filter docs.
6534 * process-nt.c (validate_signal_number):
6535 * process-nt.c (signal_cannot_launch):
6536 * process-nt.c (nt_create_process):
6537 * process-nt.c (nt_send_process):
6538 * process-nt.c (nt_kill_child_process):
6539 * process-nt.c (nt_open_network_stream):
6540 * process-nt.c (syms_of_process_nt):
6542 delete quote-handling. call new lisp code that does it better.
6544 * process-unix.c (connect_to_file_descriptor):
6545 * process-unix.c (allocate_pty):
6546 * process-unix.c (unix_send_process):
6547 * process-unix.c (unix_kill_child_process):
6548 * process-unix.c (unix_open_network_stream):
6549 * process-unix.c (unix_open_multicast_group):
6553 * process.c (Fstart_process_internal):
6554 (2). need to canonicalize process path even if absolute.
6556 * select-msw.c (symbol_to_ms_cf):
6557 * select-msw.c (ms_cf_to_symbol):
6558 * select-msw.c (cf_is_autofreed):
6559 * select-msw.c (mswindows_destroy_selection):
6561 * select.c (syms_of_select):
6563 support dibv5, fix bugs. (from Mike Alexander)
6565 * select.c (Fget_selection_internal):
6566 * select.c (select_convert_out):
6569 * sysdep.c (xemacs_stat):
6574 but keep original stat() here because we provide encapsulation
6578 * sysfile.h (fstat):
6579 remove stat garbage.
6583 don't include tchar.h. it's inappropriate because it makes
6584 compile-time distinctions when we want runtime distinctions.
6585 (we provide our own tchar replacements)
6588 use default object printer for toolbar-button.
6591 make sure we don't encapsulate.
6593 * window.c (vars_of_window):
6594 emphasize that temp-buffer-show-hook is obsolete.
6596 2000-08-05 Martin Buchholz <martin@xemacs.org>
6598 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6599 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6601 * events.c (Fevent_timestamp_lessp):
6602 Not 64-bit clean. Use EMACS_INT, not int.
6604 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6606 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6607 unsigned int and changed the last enum to
6608 lrecord_type_last_built_in_type.
6609 (lrecord_implementations_table): changed prototype to know how
6610 long the array is supposed to be.
6611 (lrecord_type_count): new unsigned int to keep track of the
6612 current number of lisp lrecord types.
6613 (DEFINE_EXTERNAL_LRECORD):
6614 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6615 dynamic-modules to declare new lisp types. They are the same
6616 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6617 int for each new type, and increment lrecord_type_count by 1.
6619 * alloc.c (lrecord_implementations_table): Changed to reference
6620 lrecord_type_last_built_in_type for the size of the array.
6621 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6623 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6625 * glyphs.h (check_valid_item_list): Renamed from
6626 check_valid_item_list_1.
6628 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6630 * select.c (Qselect_coerce): New.
6631 * select.c (Vselection_coercion_alist): New.
6632 * select.c (syms_of_select): Declare.
6633 * select.c (get-selection-internal): Use it.
6634 Use the new select-coerce functionality.
6636 * select.c (select_coerce): New.
6637 * select.h (select_coerce): Declare.
6638 New function to coerce one type of data into another.
6640 2000-08-03 Martin Buchholz <martin@xemacs.org>
6642 * callproc.c (Fcall_process_internal):
6643 (Fcall_process_internal):
6644 * process-unix.c (unix_create_process):
6645 Save and restore the value of errno, so that error messages are accurate.
6647 2000-08-01 Martin Buchholz <martin@xemacs.org>
6649 * elhash.c (print_hash_table):
6650 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6651 Prettify docstrings and indentation.
6653 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6655 * window.c (Fwindow_pixel_edges): Subtract frame border and
6658 2000-07-31 Andy Piper <andy@xemacs.org>
6660 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6661 will acknowledge the change.
6663 * glyphs.h: declare tab_control_order_only_changed.
6665 * glyphs-x.c (x_tab_control_redisplay): use
6666 tab_control_order_only_changed.
6668 * glyphs-widget.c (tab_control_order_only_changed): new function.
6670 * glyphs-msw.c (mswindows_tab_control_redisplay): use
6671 tab_control_order_only_changed.
6673 * gui.c (gui_item_equal_sans_selected): new function.
6674 (gui_item_equal): use it.
6676 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
6677 :properties in favor of :items..
6679 * glyphs-widget.c (check_valid_item_list): rename from
6680 check_valid_item_list_1.
6681 (check_valid_item_list_1): renamed.
6682 (combo_box_validate): deprecate :properties in favor of :items.
6683 (widget_instantiate): ditto.
6684 (tab_control_update): ditto.
6685 (image_instantiator_combo_box): ditto.
6686 (image_instantiator_tree_view): ditto.
6687 (image_instantiator_tab_control): ditto.
6688 (layout_post_instantiate): remove dead code.
6690 * print.c (debug_print_no_newline): only write to debugger if in
6693 * elhash.c (Fmake_hash_table): update doc string.
6695 * event-msw.c (mswindows_wnd_proc): don't allow processing of
6696 messages whilst in GC. This at least stops XEmacs crashing but has
6697 the potential for wierd behaviour.
6699 2000-07-31 Martin Buchholz <martin@xemacs.org>
6702 Make existence of s&m files optional.
6704 * s/bsd386.h: Remove HAVE_GETLOADAVG.
6705 * s/freebsd.h: Remove HAVE_GETLOADAVG.
6706 * s/gnu.h: Remove HAVE_GETLOADAVG.
6707 * s/netbsd.h: Remove HAVE_GETLOADAVG.
6708 * s/sol2.h: Remove HAVE_GETLOADAVG.
6709 * lisp.h: Remove getloadavg() declaration.
6711 Include <sys/loadavg.h> if available.
6712 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
6713 * config.h.in: Group together getloadavg()-related macros.
6714 Use only configure-time tests to detect getloadavg().
6716 2000-07-30 Martin Buchholz <martin@xemacs.org>
6718 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
6720 2000-07-25 Andy Piper <andy@xemacs.org>
6722 * syswindows.h: add tchar.h for native builds.
6724 * frame.c (syms_of_frame): remove set-glyph-image.
6726 * general-slots.h: add Qset_glyph_image.
6728 * glyphs-widget.c (layout_update): add domain arg to
6730 (syms_of_glyphs_widget): remove set-glyph-image.
6732 2000-07-23 Ben Wing <ben@xemacs.org>
6734 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
6737 2000-07-22 Andy Piper <andy@xemacs.org>
6739 * symsinit.h: add syms_of_win32().
6741 * gui-msw.c (syms_of_gui_mswindows): remove
6742 Fmswindows_shell_execute.
6743 (Fmswindows_shell_execute): moved to win32.c.
6745 * emacs.c (main_1): add syms_of_win32 ().
6747 * win32.c (init_potentially_nonexistent_functions): rewrite in
6748 compiler-friendly terms.
6749 (Fmswindows_shell_execute): move here from gui-msw.c.
6750 (syms_of_win32): new.
6752 * device-msw.c (Fmswindows_printer_list): clean up args to
6754 Don't include tchar under cygwin or mingw.
6755 (msprinter_default_printer): make cygwin-friendly.
6757 2000-07-21 Andy Piper <andy@xemacs.org>
6759 * glyphs-widget.c (image_instantiator_tree_view): use tab
6760 control's update function.
6761 (layout_property): new function. Retrieve items.
6763 * glyphs-msw.c (mswindows_tree_view_redisplay): new
6764 function. Re-populate the tree view from the pending items.
6766 * glyphs.c (instantiate_image_instantiator): Make sure the domain
6767 is designated the parent if the domain is an image instance. This
6768 is needed so that dirtiness can be cascade up the hierarchy and
6769 thus for layout children to be redisplayed correctly.
6770 (allocate_image_instance): rename glyph -> parent.
6772 * redisplay.h: change redisplay_output_layout signature.
6774 * redisplay-msw.c (mswindows_output_display_block): use domain
6777 * redisplay-x.c (x_output_display_block): use domain arg.
6779 2000-07-10 Andy Piper <andy@xemacs.org>
6781 * window.c (Fset_window_configuration): add comment.
6783 * redisplay-output.c (compare_runes):
6784 (redisplay_output_subwindow): redisplay rather than update subwindow.
6785 (redisplay_output_layout): ditto.
6787 * redisplay-msw.c (mswindows_frame_output_end):
6788 (mswindows_frame_output_end): make defer window pos optional.
6790 * lisp.h: add Flast.
6792 * glyphs.h (struct image_instantiator_methods): add dest_mask top
6793 normalize method. Change update method to be for changed
6794 instantiators. Add redisplay method. Change signature of layout
6796 (struct Lisp_Image_Instance): add instantiator.
6797 (IMAGE_INSTANCE_INSTANTIATOR): new.
6798 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
6799 (XIMAGE_INSTANCE_INSTANTIATOR): new.
6800 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
6803 (find_instantiator_differences): new function.
6804 (Fset_instantiator_property): new convenience function.
6805 (check_image_instance_structure): strictly check for vector
6807 (normalize_image_instantiator): make non-static.
6808 (instantiate_image_instantiator): pass on dest_mask and use new
6809 signatures for image_instance_layout and friends.
6810 (mark_image_instance): mark the instantiator. Mark the subwindow
6811 face not the widget face.
6812 (image_instance_equal): add instantiator.
6813 (image_instance_hash): ditto.
6814 (allocate_image_instance): ditto.
6815 (Fset_image_instance_property): removed.
6816 (Fimage_instance_file_name): ditto.
6817 (Fcolorize_image_instance): ditto.
6818 (image_instance_layout): add offsets to be set.
6819 (update_image_instance): new function. update an image instance
6820 from its changed instantiator.
6821 (inherit_normalize): add dest_mask.
6822 (xbm_normalize): ditto.
6823 (xface_normalize): ditto.
6824 (xpm_normalize): ditto.
6825 (text_update): set_property -> update.
6826 (image_instantiate): use the glyph identity as a hash key, not the
6828 (glyph_width): use new image_instance_layout signature.
6829 (glyph_ascent): ditto.
6830 (glyph_descent): ditto.
6831 (glyph_height): ditto.
6832 (glyph_query_geometry): ressurrect.
6833 (glyph_layout): ditto.
6834 (redisplay_subwindow): update -> redisplay.
6835 (syms_of_glyphs): add Fset_instantiator_property.
6836 (image_instantiator_format_create): set_property -> update.
6839 (autodetect_normalize): add dest_maks to signature.
6840 (x_redisplay_subwindow): update -> redisplay.
6841 (x_redisplay_widget): ditto.
6842 (x_button_redisplay): ditto.
6843 (x_progress_gauge_redisplay): ditto.
6844 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
6846 (console_type_create_glyphs_x): update -> redisplay.
6847 (image_instantiator_format_create_glyphs_x): ditto.
6850 (check_valid_instantiator): disallow glyphs in the instantiator,
6851 they must now be vectors.
6852 (check_valid_instantiator_list): ditto.
6853 (glyph_instantiator_to_glyph): use internal symbol rather than
6855 (widget_update): renamed from widget_set_property. Call cascaded
6857 (redisplay_widget): renamed from update_widget.
6858 (widget_layout): image_instance_layout now takes position as well
6860 (widget_normalize): ditto.
6861 (widget_instantiate): ditto.
6862 (tab_control_query_geometry) ditto.:
6863 (tab_control_update): renamed from tab_control_set_property.
6864 (progress_gauge_update): set_property -> update.
6865 (layout_normalize): rewrite so that child instantiators are
6867 (layout_update): new function. Create glyphs from the normalized
6868 children and cope with any other layout keywords. We do not
6869 instantiate children here that will be take care of by
6870 redisplay_output_layout.
6871 (layout_instantiate): call layout_update and not much else.
6872 (layout_post_instantiate): not sure whether this is needed
6874 (layout_query_geometry): query glyph geometry rather than
6875 image_instance geometry.
6876 (layout_layout): set offsets from pass in parameters. Use glyph
6877 geometry and layout functions rather than image instance ones.
6878 (native_layout_layout): ditto.
6879 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
6880 (image_instantiator_widget): set_property -> update.
6881 (image_instantiator_buttons): ditto.
6882 (image_instantiator_progress_guage): ditto.
6883 (image_instantiator_tab_control): ditto.
6884 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
6885 (image_instantiator_layout): add update method.
6887 * glyphs-msw.c (bmp_normalize):
6888 (mswindows_resource_normalize): add dest_mask so that it can be
6889 proprogated by layout_normalize.
6890 (begin_defer_window_pos): make optional because it may not be the
6891 right thing to do and it introduces differences with X.
6892 (mswindows_unmap_subwindow): ditto.
6893 (mswindows_map_subwindow): ditto.
6894 (mswindows_redisplay_subwindow): renamed from
6895 mswindows_update_subwindow.
6896 (mswindows_redisplay_widget): ditto.
6897 (mswindows_button_redisplay): renamed from
6898 mswindows_button_update. Update is now what the instantiation
6899 function does for a changed instantiator.
6900 (mswindows_progress_gauge_instantiate): set the progress value
6901 here if appropriate.
6902 (mswindows_tab_control_redisplay): cope with re-ordering of the
6903 members of the tab widget by simply selecting the new top
6904 widget. This makes things appear ok if you click on a tab.
6905 (mswindows_combo_box_instantiate): image_instance_layout now takes
6906 position as well as size.
6907 (mswindows_progress_gauge_redisplay): renamed from
6908 mswindows_progress_gauge_update.
6909 (console_type_create_glyphs_mswindows): fix update -> redisplay.
6910 (image_instantiator_format_create_glyphs_mswindows): ditto.
6912 * glyphs-eimage.c (jpeg_normalize):
6915 (tiff_normalize): add dest_mask so that it can be proprogated by
6920 (hash_table_weakness_validate):
6921 (decode_hash_table_weakness):
6922 (Fhash_table_weakness):
6924 (syms_of_elhash): use Ben's naming scheme for hashtable types..
6926 * console.h (struct console_methods): move update_* to
6929 2000-07-20 Ben Wing <ben@xemacs.org>
6931 * *.[ch] (XSETOBJ): remove unused middle argument.
6932 lisp-disunion.h: correct wrap_object() to one argument.
6934 2000-07-15 Ben Wing <ben@xemacs.org>
6937 * s/cygwin32.h (CYGWIN_CONV_PATH):
6938 Add missing logb prototype for v1.1.
6939 Use post-b20 names and alias to pre-b20 names when pre-b20.
6941 * s/windowsnt.h: [5].
6943 2000-07-15 Ben Wing <ben@xemacs.org>
6945 * Makefile.in.in (x_objs):
6946 * Makefile.in.in (sheap_objs):
6947 * Makefile.in.in (objs):
6948 added win32.o, cosmetic cleanups.
6950 * alloc.c (Fmake_byte_code):
6951 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
6952 etc. macros which declare their own args now.
6954 * alloc.c (syms_of_alloc):
6955 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
6958 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
6960 * buffer.c (Fget_file_buffer):
6961 Fixed GCPRO problem.
6963 * buffer.c (get_truename_buffer):
6964 Fixed comment about GC checking.
6966 * buffer.c (syms_of_buffer):
6967 Undeclared those dedicated frame funs.
6971 Define convenience macros for internal/external conversions.
6972 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
6973 and Qenvironment_variable_encoding for cleaner code.
6976 Remove dedicated-frame; in lisp.
6978 * bytecode.c (funcall_compiled_function):
6981 * bytecode.c (syms_of_bytecode):
6985 * console-msw.c (mswindows_show_console): Rewrote.
6987 * console-msw.c (Fmswindows_debugging_output): New.
6988 Sends to OutputDebugString (special MSWin debugger interface).
6990 * console-msw.c (Fmswindows_message_box):
6991 Fixed stupid bugs so it works when called from kill-emacs.
6993 * console-msw.c (syms_of_console_mswindows):
6994 Declare Fmswindows_debugging_output.
6997 New MSWin prototypes.
6999 * console-msw.h (struct mswindows_frame):
7000 New entry last-click-mods for improved button-modifier support.
7002 * console-msw.h (FRAME_MSWINDOWS_POPUP):
7003 New struct entry `popup' with corresponding accessor.
7006 * console-x.c (split_up_display_spec):
7007 * console-x.c (get_display_arg_connection):
7008 * console-x.c (x_semi_canonicalize_console_connection):
7009 * console-x.c (x_canonicalize_device_connection):
7010 [[[6]]]: Change char to more specific type.
7011 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
7013 * console-x.c (x_semi_canonicalize_console_connection):
7014 * console-x.c (x_canonicalize_device_connection):
7015 [[[9]]]: Fix up error signalling to use new structured error system.
7018 [[[4]]]: Define codesys aliases:
7019 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
7020 Qx_color_name_encoding, Qx_display_name_encoding.
7022 * console.h (struct console_methods):
7023 New method make_dialog_box_internal supersedes older
7024 popup_dialog_box method.
7027 Define many new errors, part of new structured errors.
7029 * data.c (init_errors_once_early):
7030 * data.c (syms_of_data):
7033 * device-msw.c (mswindows_init_device):
7034 [[[5]]]: Cleanup to support NT 3.51.
7036 * device-msw.c (decode_devmode): Cleanup.
7038 * device-msw.c (mswindows_handle_print_setup_dialog_box):
7039 * device-msw.c (mswindows_handle_print_dialog_box):
7040 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7041 * device-msw.c (syms_of_device_mswindows):
7042 Delete the dialog box primitives recently introduced by Kirill and
7043 instead interface to general dialog box interface.
7046 * device-x.c (compute_x_app_name):
7047 * device-x.c (x_init_device):
7048 * device-x.c (Fx_valid_keysym_name_p):
7049 * device-x.c (Fx_set_font_path):
7053 * device.h (wrap_device): New.
7054 First of its kind; meant to replace XSETDEVICE.
7056 * dialog-msw.c: Many file-dialog symbols.
7058 * dialog-msw.c (mswindows_register_popup_frame): New.
7059 * dialog-msw.c (mswindows_is_dialog_msg): New.
7060 For supporting kbd traversal in dialog boxes.
7062 * dialog-msw.c (dialog_proc):
7063 Support hitting ESC in dialogs.
7065 * dialog-msw.c (struct):
7066 Common dialog box errors.
7068 * dialog-msw.c (handle_file_dialog_box): New.
7069 Add file dialog code.
7071 * dialog-msw.c (handle_question_dialog_box):
7072 Redo existing code to support new question dialog syntax.
7074 * dialog-msw.c (console_type_create_dialog_mswindows):
7075 We support new dialog console method.
7077 * dialog-msw.c (syms_of_dialog_mswindows):
7078 * dialog-msw.c (vars_of_dialog_mswindows):
7079 New file dialog symbols, vars.
7082 * dialog-x.c (maybe_run_dbox_text_callback):
7083 * dialog-x.c (dbox_descriptor_to_widget_value):
7084 * dialog-x.c (x_make_dialog_box_internal):
7085 * dialog-x.c (console_type_create_dialog_x):
7086 Mule-ize entire file.
7087 Redo to support question dialog syntax.
7091 * dialog.c (Fmake_dialog_box_internal):
7092 * dialog.c (syms_of_dialog):
7093 Kill old popup-dialog-box, replace with new primitive.
7094 Just call device method or signal error.
7096 * eldap.c (Fldap_open):
7097 * eldap.c (Fldap_search_basic):
7098 * eldap.c (Fldap_add):
7099 * eldap.c (Fldap_modify):
7104 * emacs.c (make_arg_list_1):
7105 * emacs.c (make_arg_list):
7106 Mule-ize call to dll_init().
7110 * emacs.c (make_argc_argv):
7111 * emacs.c (free_argc_argv):
7112 * emacs.c (init_cmdargs):
7114 * emacs.c (Fkill_emacs):
7115 * emacs.c (Fdump_emacs):
7116 Update comments about what can be used in syms_* etc.
7117 Call init_win32() when necessary.
7118 Fix up MS Win dialog box in kill-buffer to actually work right.
7129 * eval.c (condition_case_3):
7131 * eval.c (function_argcount):
7132 * eval.c (funcall_lambda):
7135 * eval.c (type_error): New.
7136 * eval.c (maybe_type_error): New.
7137 * eval.c (continuable_type_error): New.
7138 * eval.c (maybe_continuable_type_error): New.
7139 * eval.c (type_error_with_frob): New.
7140 * eval.c (maybe_type_error_with_frob): New.
7141 * eval.c (continuable_type_error_with_frob): New.
7142 * eval.c (maybe_continuable_type_error_with_frob): New.
7143 New functions for use with structured errors.
7146 * event-Xt.c (x_event_to_emacs_event):
7147 Buttons are now modifiers too.
7149 * event-Xt.c (emacs_Xt_current_event_timestamp):
7150 Implement new event method.
7151 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7154 * event-msw.c (ntpipe_shove_writer): [5].
7155 * event-msw.c (mswindows_enqueue_mouse_button_event):
7156 * event-msw.c (mswindows_drain_windows_queue):
7157 * event-msw.c (mswindows_wnd_proc): [7].
7158 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7159 * event-msw.c (mswindows_modifier_state):
7160 Throughout: support new button modifiers.
7162 * event-msw.c (emacs_mswindows_current_event_timestamp):
7163 Implement new event method.
7164 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7167 * event-stream.c (event_stream_current_event_timestamp): New.
7168 * event-stream.c (maybe_kbd_translate): New functionality.
7169 * event-stream.c (vars_of_event_stream):
7170 Document new kbd-translate-table functionality.
7172 * event-stream.c (Fcurrent_event_timestamp): New.
7173 New primitive for use in fabricated events.
7174 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7176 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7179 * events.c (Fmake_event):
7180 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7184 * events.c (format_event_object): fix gcc warnings.
7186 * events.c (Fevent_timestamp): Document new primitives.
7188 * events.c (TIMESTAMP_HALFSPACE): New.
7190 * events.c (Fevent_timestamp_lessp): New. New primitive for
7191 comparing timestamps correctly (half-space algorithm).
7193 * events.c (Fevent_modifier_bits): Doc fix.
7195 * events.c (Fevent_modifiers): Major doc addition.
7196 * events.c (event_x_y_pixel_internal): Typo fix.
7197 * events.c (syms_of_events): Declare new primitives.
7200 Update long comment for button modifiers, timestamps.
7202 * events.h (struct event_stream):
7203 New current_event_timestamp method.
7206 * extents.c (extent_in_region_p):
7207 * extents.c (decode_extent):
7208 * extents.c (Fset_extent_parent):
7209 * extents.c (decode_map_extents_flags):
7213 * extents.c (struct extent_at_arg):
7214 * extents.c (decode_extent_at_flag):
7215 * extents.c (extent_at_mapper):
7216 * extents.c (extent_at_bytind):
7217 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7218 * extents.c (Fextents_at): New primitive. [9].
7219 * extents.c (symbol_to_glyph_layout): [9].
7220 Support new primitive `extents-at'.
7223 * extents.c (get_text_property_bytind):
7224 extent_at_bytind has another arg.
7227 * extents.c (syms_of_extents): New primitive.
7229 * file-coding.c (Fmake_coding_system): [1].
7230 * file-coding.c (subsidiary_coding_system): fix gcc warning
7231 * file-coding.c (syms_of_file_coding): [2].
7233 * fileio.c (Fexpand_file_name):
7234 * fileio.c (Fsysnetunam):
7235 * fileio.c (Ffile_exists_p):
7236 * fileio.c (Ffile_executable_p):
7237 * fileio.c (Fverify_visited_file_modtime):
7240 * fileio.c (syms_of_fileio): [2].
7242 * filelock.c (lock_file_1):
7243 * filelock.c (current_lock_owner):
7244 * filelock.c (lock_if_free):
7245 * filelock.c (lock_file):
7246 * filelock.c (unlock_file):
7249 * fns.c (concat): Fix gcc warning.
7252 * fns.c (Fold_member):
7254 * fns.c (Fold_memq):
7255 * fns.c (memq_no_quit):
7257 * fns.c (Fold_assoc):
7259 * fns.c (Fold_assq):
7260 * fns.c (assq_no_quit):
7262 * fns.c (Fold_rassoc):
7264 * fns.c (Fold_rassq):
7265 * fns.c (rassq_no_quit):
7267 * fns.c (Fold_delete):
7269 * fns.c (Fold_delq):
7270 * fns.c (delq_no_quit):
7271 * fns.c (Fremassoc):
7273 * fns.c (remassq_no_quit):
7274 * fns.c (Fremrassoc):
7275 * fns.c (Fremrassq):
7276 * fns.c (remrassq_no_quit):
7281 * frame-msw.c (mswindows_init_frame_1):
7282 * frame-msw.c (mswindows_delete_frame):
7283 Register popups with dialog code so keyboard traversing works.
7285 * frame-tty.c (tty_raise_frame_no_select): [1].
7288 * frame-x.c (x_set_frame_text_value):
7289 * frame-x.c (x_set_frame_properties):
7290 * frame-x.c (x_create_widgets):
7294 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7296 * frame.h (wrap_frame): New.
7297 Macro like wrap_device.
7300 * general.c (SYMBOL):
7301 * general.c (syms_of_general):
7302 Major reorg. This is now just a wrapper and symbols themselves
7303 are listed in general-slots.h.
7305 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7306 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7308 * glyphs-msw.c (mswindows_native_layout_instantiate):
7309 Add DS_CONTROL so keyboard traversal will work.
7312 * glyphs-widget.c (syms_of_glyphs_widget):
7313 Move some symbols to general-slots.h.
7316 * glyphs-x.c (xbm_instantiate_1):
7317 * glyphs-x.c (x_xbm_instantiate):
7318 * glyphs-x.c (x_xface_instantiate):
7319 * glyphs-x.c (autodetect_instantiate):
7320 * glyphs-x.c (cursor_font_instantiate):
7321 * glyphs-x.c (x_update_widget):
7322 * glyphs-x.c (x_widget_instantiate):
7323 * glyphs.c (bitmap_to_lisp_data):
7324 * glyphs.c (pixmap_to_lisp_data):
7327 * glyphs.c (syms_of_glyphs):
7331 * gui-x.c (print_widget_value):
7332 * gui-x.c (menu_separator_style_and_to_external):
7333 * gui-x.c (add_accel_and_to_external):
7334 * gui-x.c (button_item_to_widget_value):
7335 * gui-x.c (gui_items_to_widget_values_1):
7336 * gui-x.c (gui_items_to_widget_values):
7337 * gui-x.c (syms_of_gui_x):
7338 * gui-x.c (vars_of_gui_x):
7339 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7343 Muleize, prototype changes matching gui-x.c.
7346 * gui.c (separator_string_p):
7347 * gui.c (gui_item_add_keyval_pair):
7348 * gui.c (make_gui_item_from_keywords_internal):
7349 * gui.c (signal_too_long_error):
7350 * gui.c (parse_gui_item_tree_item):
7351 * gui.c (syms_of_gui):
7352 * gui.c (vars_of_gui):
7354 menu-no-selection-hook moved here (used by MSWin).
7355 Move some symbols to general-slots.h.
7359 * insdel.c (get_buffer_pos_char):
7360 * insdel.c (get_buffer_range_char):
7363 * keymap.c (keymap_lookup_directly):
7364 * keymap.c (keymap_store):
7365 * keymap.c (ensure_meta_prefix_char_keymapp):
7366 * keymap.c (describe_map):
7368 Support new button modifiers.
7370 * lisp-disunion.h (wrap_object):
7371 * lisp-disunion.h (XSETOBJ):
7372 Rename make_obj to wrap_object.
7375 * lisp-union.h (make_int):
7376 * lisp-union.h (make_char):
7377 Support wrap_object.
7380 * lisp.h (LIST_LOOP):
7381 * lisp.h (EXTERNAL_LIST_LOOP):
7382 * lisp.h (LIST_LOOP_2):
7383 * lisp.h (EXTERNAL_LIST_LOOP_1):
7384 * lisp.h (EXTERNAL_LIST_LOOP_2):
7385 * lisp.h (EXTERNAL_LIST_LOOP_3):
7386 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7387 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7388 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7389 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7390 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7391 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7392 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7393 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7394 * lisp.h (struct Lisp_Symbol):
7395 * lisp.h (maybe_continuable_error_with_frob):
7396 Fix up section comments.
7397 Add new types for char to indicate usage.
7398 Delete symbols auto-generated from general-slots.h.
7399 Add prototypes for structured error functions.
7400 Add long comments describing looping macros and change interface
7401 so that lvalues are automatically declared.
7402 Add NO_DECLARE macro in case callers want to declare lvalues
7405 * lread.c (read_syntax_error):
7406 * lread.c (continuable_read_syntax_error):
7407 * lread.c (read_structure):
7408 * lread.c (sequence_reader):
7409 * lread.c (read_list_conser):
7410 * lread.c (read_compiled_function):
7411 Rename syntax_error and continuable_syntax_error to avoid clash
7412 with same-named structured error functions.
7414 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7415 * menubar-msw.c (populate_menu_add_item):
7416 * menubar-msw.c (populate_or_checksum_helper):
7421 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7422 Mule-ize whole file.
7424 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7426 * mule-charset.c (Fmake_charset):
7427 * mule-wnnfns.c (Fwnn_set_param):
7430 * ntproc.c (create_child):
7431 * ntproc.c (Fwin32_set_current_locale):
7432 Add comments portending doom.
7435 * objects-msw.c (old_font_enum_callback_2):
7436 * objects-msw.c (font_enum_callback_1):
7437 * objects-msw.c (mswindows_enumerate_fonts):
7441 * objects-x.c (allocate_nearest_color):
7442 * objects-x.c (x_parse_nearest_color):
7443 * objects-x.c (x_initialize_color_instance):
7444 * objects-x.c (x_print_color_instance):
7445 * objects-x.c (x_finalize_color_instance):
7446 * objects-x.c (x_valid_color_name_p):
7447 * objects-x.c (x_initialize_font_instance):
7448 * objects-x.c (x_print_font_instance):
7449 * objects-x.c (valid_x_font_name_p):
7450 * objects-x.c (truename_via_FONT_prop):
7451 * objects-x.c (truename_via_random_props):
7452 * objects-x.c (truename_via_XListFonts):
7453 * objects-x.c (x_font_truename):
7454 * objects-x.c (x_font_instance_truename):
7455 * objects-x.c (x_font_instance_properties):
7456 * objects-x.c (x_list_fonts):
7457 * objects-x.c (x_find_charset_font):
7458 Mule-ize entire file.
7465 * print.c (std_handle_out_external):
7466 * print.c (debug_print_no_newline):
7467 * print.c (syms_of_print):
7468 Output to all debugger kinds in debug-print.
7469 Fix console-output code under MSWin to actually work.
7471 * process-nt.c (send_signal):
7472 * process-nt.c (nt_create_process):
7473 Use newer Unicode macros.
7475 * process-unix.c (unix_create_process):
7476 * process-unix.c (unix_canonicalize_host_name):
7477 * process-unix.c (unix_open_network_stream):
7483 * search.c (syms_of_search):
7486 * select-msw.c (mswindows_destroy_selection):
7489 * select-x.c (symbol_to_x_atom):
7492 * select.c (syms_of_select):
7495 * sound.c (Fplay_sound_file):
7499 * specifier.c (decode_specifier_type):
7500 * specifier.c (Fvalid_specifier_locale_type_p):
7501 * specifier.c (check_valid_locale_or_locale_type):
7502 * specifier.c (decode_locale):
7503 * specifier.c (decode_locale_type):
7504 * specifier.c (decode_locale_list):
7505 * specifier.c (check_valid_domain):
7506 * specifier.c (decode_specifier_tag_set):
7507 * specifier.c (Fcanonicalize_tag_set):
7508 * specifier.c (Fdefine_specifier_tag):
7509 * specifier.c (Fspecifier_tag_predicate):
7510 * specifier.c (check_valid_inst_list):
7511 * specifier.c (check_valid_spec_list):
7512 * specifier.c (decode_how_to_add_specification):
7513 * specifier.c (check_modifiable_specifier):
7514 * specifier.c (specifier_add_spec):
7515 * specifier.c (boolean_validate):
7516 * specifier.c (display_table_validate):
7519 * specifier.c (syms_of_specifier):
7520 Move some symbols to general-slots.h.
7524 * symbols.c (Fmapatoms):
7525 * symbols.c (Fapropos_internal):
7528 * symbols.c (set_default_buffer_slot_variable):
7529 * symbols.c (set_default_console_slot_variable):
7532 * symbols.c (defsymbol_massage_name_1):
7533 * symbols.c (defkeyword_massage_name):
7534 * symbols.c (deferror_1):
7535 * symbols.c (deferror):
7536 * symbols.c (deferror_massage_name_and_message):
7538 * symeval.h (DEFSYMBOL):
7539 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7541 * symbols.c (syms_of_symbols):
7545 * symsinit.h (init_win32): New.
7546 Also new is syms_of_dialog_mswindows.
7549 Add new Unicode macros, missing Cygwin wide-char functions,
7550 convenience conversion macros for Qmswindows_tstr, macros for
7551 encapsulating required MSWin <-> Cygwin filename conversions,
7552 prototype for dynamically-extracted (not in NT 3.51) functions.
7557 * tooltalk.c (Fadd_tooltalk_message_arg):
7558 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7559 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7562 * tooltalk.c (syms_of_tooltalk):
7566 * unexnt.c (unexec):
7567 Fix up headers, declaration of unexec() to be more standard.
7569 2000-07-20 Martin Buchholz <martin@xemacs.org>
7571 * offix.h: Revert change to guard macros - they're used in offix.c!
7573 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7575 * lisp.h: Defsubred Fdelete.
7577 * console-msw.h: (msprinter_default_printer): Added.
7579 * console-msw.c (msprinter_canonicalize_console_connection):
7580 (msprinter_canonicalize_device_connection): Added.
7582 * device-msw.c (msprinter_default_printer):
7583 (Fmswingows_get_default_printer):
7584 (signal_enum_priner_error):
7585 (Fmswingows_printer_list): Added.
7587 2000-07-19 Martin Buchholz <martin@xemacs.org>
7589 * XEmacs 21.2.35 is released.
7591 2000-07-19 Martin Buchholz <martin@xemacs.org>
7593 * select-x.c (x_handle_selection_request):
7594 Text selected in xemacs and pasted into xterm failed to appear.
7595 Spelling fixes and cosmetic changes.
7597 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7599 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7600 XEmacs frame (fix for doubling chars in dialog boxes).
7602 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7604 * select.c (select_convert_in, select_convert_out):
7605 Don't call intern() every time.
7607 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7608 * select.c (vars_of_select): Initialise them.
7610 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7612 * select.c (selection-coercible-types): New.
7614 * select.c (own-selection-internal):
7615 * select.c (get-selection-internal):
7616 MULE bug fix - these should default to COMPOUND_TEXT and not
7617 STRING for MULE. I think.
7619 * select.c (select_convert_out): Use selection-coercible-types
7620 to find types that we can attempt to perform coercions on.
7622 2000-07-18 Martin Buchholz <martin@xemacs.org>
7626 Add coding: cookie to identify encoding.
7628 * mule-canna.c (CANNA_mode_keys): make static.
7629 Use proper prototypes, even for functions of no arguments.
7630 Remove external prototype for Fding().
7632 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7634 * select.c (syms_of_select): Add missing DEFSUBR.
7636 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7638 * select.c (get_selection_internal, own_selection_internal):
7639 Make the type default to STRING, rather than placing a nil type
7640 into Vselection_alist.
7642 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7644 * gpmevent.c (tty_selection_exists_p):
7645 * gpmevent.c (tty_own_selection):
7646 Updated parameter lists.
7648 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7650 * select.h (selection-alist): Removed declaration.
7652 * select.h (get_local_selection):
7653 * select.c (get_local_selection):
7656 * select.h (convert_selection): Removed declaration.
7657 * select.c (convert_selection): Removed.
7658 This function belongs in Lisp.
7660 * select.h (select_convert_in): Declare.
7661 * select.h (select_convert_out): Declare.
7662 * select.c (select_convert_in): New.
7663 * select.c (select_convert_out): New.
7664 New conversion functions for other files to call.
7666 * select.h (select_notify_buffer_kill): Declare.
7667 * select.c (select_notify_buffer_kill): New.
7668 New functions that get called from kill-buffer.
7670 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
7671 X-specific lisp code.
7673 * select.h: Declare some of the lisp-visible functions for
7676 * select.c (clean_local_selection_data): Removed. This was
7677 a disgusting function, and previously should have been in
7678 select-x.c in any case. The functionality is now provided
7679 in select-convert-from-integer (select.el).
7681 * select.c (available-selection-types): Fixed stupidity where
7682 INTEGER and ATOM got added twice. Also add STRING when we see an
7685 * select.c (get-selection-internal): Removed symbol stripping. No
7686 longer causes conversion when data comes from the internal cache.
7688 * select.c (syms_of_select): Added new functions.
7690 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
7691 error checking - previously this called abort!
7693 * select-x.c (x_own_selection): Changed comment.
7695 * select-x.c (x_handle_selection_request): Use select_convert_out.
7696 Don't mess with selection-alist; it's an internal variable of select.c.
7698 * select-x.c (x_get_foreign_selection): Use select_convert_in.
7700 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
7701 rather than messing with selection-alist.
7703 * select-msw.c (mswindows_get_foreign_selection):
7704 Use TO_INTERNAL_FORMAT rather than hacking.
7706 2000-07-14 Martin Buchholz <martin@xemacs.org>
7708 * process-unix.c (unix_open_multicast_group):
7709 (unix_open_multicast_group): Remove useless casts.
7711 2000-07-13 Martin Buchholz <martin@xemacs.org>
7713 * sound.c (Fplay_sound): Fix `unused variable' warning.
7715 * emacs.c (main): Use correct type for _environ on SCO5.
7717 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
7719 * console.h (own_selection_method):
7720 * console.h (selection_exists_p_method):
7721 * console.h (available_selection_types_method): New.
7722 * console.h (register_selection_data_type_method): New.
7723 * console.h (selection_data_type_name): New.
7725 * console-msw.h (mswindows_destroy_selection): Declare it. New
7726 function & alist to track GlobalAlloc()'d handles that need
7727 releasing when the clipboard data gets replaced or emptied.
7729 * event-msw.c (mswindows_wnd_proc): Call it.
7731 * lisp.h, general.c (Qappend): New symbol representing a
7734 * select.c (own-selection-internal):
7735 * select.c (selection-exists-p):
7736 * select.c (available-selection-types): New.
7737 * select.c (register-selection-data-type): New.
7738 * select.c (selection-data-type-name): New. New functions to deal
7739 with device-specific selection data formats.
7740 * select.c (selection-converter-out-alist): Renamed.
7741 * select.c (selection-converter-in-alist): New.
7742 * select.c (selection-appender-alist): New. Added new alists.
7743 * select.c (syms_of_select, vars_of_select): Added new symbols &
7745 * select.c (get_local_selection): Split.
7746 * select.c: Removed spurious type checking - selections may now be
7747 of any type, not just strings.
7748 * select.c (own-selection-internal):
7750 * select.h, select.c (convert_selection): New. Created
7751 convert_selection() function based on get_local_selection().
7752 * select.h, select.c (QCF_*): New symbols representing mswindows
7754 * select.h, select.c (Qreplace_all, Qreplace_existing): New
7755 symbols representing `how-to-add' modes.
7757 * select-msw.c (x_sym_p): New.
7758 * select-msw.c (symbol_to_ms_cf): New.
7759 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
7760 symbols & clipboard formats. Can also handle string names.
7761 * select-msw.c (mswindows_own_selection):
7762 * select-msw.c (mswindows_selection_exists_p):
7763 Added `data-type' parameter. Use it.
7764 * select-msw.c (mswindows_available_selection_types): New.
7765 * select-msw.c (mswindows_register_selection_data_type): New.
7766 * select-msw.c (mswindows_selection_data_type_name): New.
7767 * select-msw.c (mswindows_own_selection):
7768 * select-msw.c (mswindows_get_foreign_selection):
7769 * select-msw.c (mswindows_selection_exists_p): Rewrote.
7770 * select-msw.c (console_create_select_mswindows): Added new methods.
7771 * select-msw.c (mswindows_destroy_selection): New.
7772 * select-msw.c (Vhandle_alist): New list.
7773 * select-msw.c (mswindows_own_selection):
7775 * select-x.c (x_own_selection):
7776 * select-x.c (x_selection_exists_p):
7777 * select-x.c: Added some comments about maybe using new
7779 * select-x.c (x_own_selection):
7781 * specifier.c: Remove definition of Qappend (now in general.c)
7782 * specifier.c (syms_of_specifier): Remove Qappend.
7784 2000-07-12 Martin Buchholz <martin@xemacs.org>
7786 * config.h.in: Add socklen_t.
7788 * s/decosf4-0.h: No special compiler flags needed or desired.
7789 In particular, undefine _BSD for DEC OSF 4.0.
7791 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7793 * redisplay-msw.c (msprinter_frame_output_end): Added.
7794 (console_type_create_redisplay_mswindows): Referred the above.
7796 * frame.c (setup_frame_without_minibuffer): Do not create a
7797 default minibuffer frame on a printer device.
7799 * frame-msw.c (apply_dc_geometry): Added.
7800 (msprinter_start_page):
7801 (msprinter_init_frame_3):
7802 (msprinter_eject_page): Use it.
7804 * console-msw.h (struct msprinter_frame): Added pix_left and top,
7805 and removed residual duplex and orientation properties.
7807 2000-07-11 Martin Buchholz <martin@xemacs.org>
7809 * eval.c (function_argcount): Work around a DEC CC compiler bug.
7811 * unexalpha.c: Remove system prototypes from C sources!
7813 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
7815 * eval.c: Remove references to M-x edit-options in DEFUNs for
7816 `defvar' and `defconst'.
7818 2000-07-09 Martin Buchholz <martin@xemacs.org>
7820 * config.h.in: Remove SMART_INCLUDE hackery.
7823 * config.h.in: Don't use SMART_INCLUDE.
7825 * postgresql.h: Include libpq-fe.h here. Fix typo.
7826 * inline.c: Simply #include "postgresql.h"
7828 - Don't use SMART_INCLUDE
7829 - Use simply "const".
7830 - Use standard doc string conventions.
7831 - Use correct type for result of PQstatus.
7833 2000-07-09 Martin Buchholz <martin@xemacs.org>
7835 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
7837 C++ compilation changes.
7838 * config.h.in (EXTERN_C): Define.
7839 * config.h.in (not): This is also a C++ keyword.
7840 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
7841 * cm.c: Use EXTERN_C.
7842 * redisplay-tty.c: Use EXTERN_C.
7843 * sysdep.c: Use EXTERN_C. Remove Gould support.
7845 2000-07-09 Martin Buchholz <martin@xemacs.org>
7847 * general.c: Remove duplicate definition for Qfunction.
7849 2000-07-08 Ben Wing <ben@xemacs.org>
7851 * device-msw.c (msprinter_init_device):
7852 * device-msw.c (sync_printer_with_devmode):
7853 * device-msw.c (handle_devmode_changes):
7854 * device-msw.c (print_dialog_worker):
7855 * device-msw.c (Fmsprinter_apply_settings):
7856 * device-msw.c (hash_devmode):
7857 * device-msw.c (Fmsprinter_settings_despecialize):
7858 use Qmswindows_tstr, not Qctext.
7860 * vm-limit.c (check_memory_limits):
7861 avoid infinite loop printing warning messages.
7863 2000-07-05 Craig Lanning <lanning@scra.org>
7865 * Makefile.in.in: Add support for including the Windows resources
7866 when building with the cygwin and mingw targets.
7868 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
7869 not set or not correct.
7870 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
7871 (init_initial_directory): Don't try to use $PWD on the
7872 WIN32_NATIVE target.
7875 [[Add -mwindows to eliminate console window.]] not required --ben
7876 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7877 (MAIL_USE_POP): removed; now handled by configure.
7879 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
7880 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
7881 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7882 (MAIL_USE_POP): removed; now handled by configure.
7883 (ENCAPSULATE_STAT): from Dan Holmsand, added.
7884 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
7885 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
7887 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
7888 up from <winsock.h> via systime.h.
7889 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
7890 (getpagesize): from Dan Holmsand, added.
7891 Added #endif which was left dangling by Ben's mega patch; added
7892 comment to help prevent this in the future.
7894 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
7896 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7898 * console-msw.h (struct mswindows_device): Removed unnecessary
7899 cached device geometry values.
7900 Added update_tick and an accessor macro.
7901 (Lisp_Devmode): Added lrecord declaration.
7902 (struct msprinter_device): Contain devmode as a Lisp object.
7903 Added mswindows_get_selected_frame_hwnd();
7905 * console.h (struct console_methods): Indentation nitpicking.
7907 * device-msw.c (mswindows_init_device): Do not initialize geometry
7908 cache. Initialize update tick.
7909 (mswindows_device_system_metrics): Ask the device for its geometry.
7910 (global_free_2_maybe):
7911 (devmode_to_hglobal):
7912 (handle_printer_changes):
7913 (ensure_not_printing):
7914 (print_dialog_worker):
7915 (Fmsprinter_print_setup_dialog):
7916 (Fmsprinter_print_dialog):
7919 (Fmsprinter_page_setup_dialog): Added functions.
7920 (sync_printer_with_devmode):
7921 (handle_devmode_changes):
7922 (Fmsprinter_get_settings):
7923 (Fmsprinter_select_settings):
7924 (Fmsprinter_apply_settings):
7926 (Fmsprinter_settings_copy):
7927 (Fmsprinter_settings_despecialize):
7931 (hash_devmode): Added functions
7932 (syms_of_device_mswindows): Init devmode lrecord class.
7934 * device.h: Added an exfun for find-device.
7936 * event-msw.c (mswindows_wnd_proc): Do not update the cached
7937 geometry; although, recreate the device compatible DC.
7939 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
7940 (msprinter_init_frame_3):
7941 (msprinter_frame_property):
7942 (msprinter_internal_frame_property_p):
7943 (msprinter_frame_properties):
7944 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
7945 print job properties (will move to device settings).
7947 * lisp.h: Added symbols.
7949 * general.c (syms_of_general): Declared them.
7951 * hash.c (string_hash): Added.
7953 * lrecord.h (lrecord_type): Added devmode lrecord type.
7955 2000-07-02 Mike Sperber <mike@xemacs.org>
7957 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
7960 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
7962 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
7965 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
7967 * data.c (Fstring_to_number): Don't recognize floating point if
7970 2000-06-22 Martin Buchholz <martin@xemacs.org>
7972 * glyphs-widget.c (tab_control_query_geometry):
7973 (widget_query_geometry):
7974 (button_query_geometry):
7975 * glyphs.c (text_query_geometry):
7976 Enforce type correctness.
7978 2000-06-18 Martin Buchholz <martin@xemacs.org>
7980 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
7981 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
7983 2000-06-17 Martin Buchholz <martin@xemacs.org>
7985 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
7986 conflicts with gcc's fixincluded version of FOO.h.
7988 * glyphs.h (image_instance_geometry): Remove trailing `,'
7990 2000-06-08 Mike Alexander <mta@arbortext.com>
7992 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
7993 (shove_thread): Don't write the same output twice
7994 (make_ntpipe_output_stream): Increase priority of shove thread
7995 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
7997 (ntpipe_shove_closer): Don't delete the pipe until we're done with
8000 2000-06-12 Ben Wing <ben@xemacs.org>
8002 * s\mingw32.h (sigset):
8003 * s\windowsnt.h (sigset):
8004 rename msw_ to mswindows_ for consistency with general convention.
8006 2000-06-12 Ben Wing <ben@xemacs.org>
8009 * console-msw.c (mswindows_get_console_hwnd):
8010 * console-msw.c (mswindows_ensure_console_allocated):
8011 * console-msw.c (mswindows_hide_console):
8012 * console-msw.c (mswindows_show_console):
8013 * console-msw.c (mswindows_ensure_console_buffered):
8014 * console-msw.c (mswindows_output_console_string):
8015 * console-msw.c (mswindows_windows9x_p):
8017 * device-msw.c (mswindows_get_workspace_coords):
8018 * device-msw.c (mswindows_device_system_metrics):
8019 * dialog-msw.c (mswindows_popup_dialog_box):
8020 * event-msw.c (mswindows_wnd_proc):
8021 * frame-msw.c (mswindows_size_frame_internal):
8022 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8023 * menubar-msw.c (displayable_menu_item):
8024 * menubar-msw.c (mswindows_char_is_accelerator):
8026 * nt.c (mswindows_sigset):
8027 * nt.c (mswindows_sigrelse):
8028 * nt.c (mswindows_sigpause):
8029 * nt.c (mswindows_raise):
8030 * nt.c (timer_proc):
8032 * ntproc.c (find_child_console):
8033 * ntproc.c (sys_kill):
8035 * print.c (std_handle_out_external):
8036 * process-nt.c (find_child_console):
8037 * process-nt.c (send_signal_the_95_way):
8038 * process-nt.c (ensure_console_window_exists):
8039 * process-nt.c (nt_create_process):
8041 rename msw_ to mswindows_ for consistency with general convention.
8045 include nt.h, not syswindows.h.
8047 * nt.c (mswindows_fstat):
8048 * nt.c (mswindows_stat):
8049 prefix mswindows_ instead of attempting to directly override the
8050 library functions. fix declarations.
8053 include syswindows.h. move some sysdep.h stuff here.
8056 include syswindows.h, not <windows.h>.
8064 * sysdep.c (sys_fstat):
8065 * sysdep.c (sys_stat):
8066 call mswindows versions when appropriate.
8069 move mswin decls to nt.h.
8072 add long comment describing appropriate use of the various windows
8075 2000-06-11 Ben Wing <ben@xemacs.org>
8077 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8079 2000-06-10 Ben Wing <ben@xemacs.org>
8081 * Makefile.in.in (release):
8082 Correction to make sure xemacs.exe always dumped when correct.
8086 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8088 * buffer.c (set_buffer_internal):
8089 [[[[2]]]]: Remove HAVE_FEP code.
8091 * buffer.c (init_initial_directory):
8095 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8099 * callproc.c (call_process_cleanup):
8100 * callproc.c (Fold_call_process_internal):
8101 * callproc.c (child_setup):
8102 * callproc.c (getenv_internal):
8103 * callproc.c (init_callproc):
8104 * callproc.c (vars_of_callproc):
8105 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8106 __CYGWIN32__ -> CYGWIN.
8107 DOS_NT -> WIN32_NATIVE.
8108 Remove MSDOS support/references, converting to WIN32_NATIVE
8110 __MINGW32__ -> MINGW.
8111 Fix windows.h includes.
8112 Remove bogus HAVE_NTGUI.
8118 mswindows_message_outputted added for use in allowing startup
8119 errors on the console to be seen.
8121 * console-msw.c (msw_ensure_console_allocated):
8122 * console-msw.c (msw_output_console_string):
8123 * console-msw.c (DHEADER):
8124 * console-msw.c (DOPAQUE_DATA):
8125 * console-msw.c (DEVENT):
8126 * console-msw.c (DCONS):
8127 * console-msw.c (DCONSCDR):
8128 * console-msw.c (DSTRING):
8129 * console-msw.c (DVECTOR):
8130 * console-msw.c (DSYMBOL):
8131 * console-msw.c (DSYMNAME):
8134 * console-stream.c (stream_init_console):
8135 Fix text/binary problems.
8138 * device-msw.c (mswindows_finish_init_device):
8139 * device-msw.c (mswindows_delete_device):
8142 * device.c (handle_asynch_device_change):
8146 * dgif_lib.c (DGifOpenFileName):
8147 * dgif_lib.c (DGifOpenFileHandle):
8148 * dgif_lib.c (DGifGetLine):
8149 * dgif_lib.c (DGifGetPixel):
8150 Added config.h/lisp.h, fix up includes.
8157 * dired.c (file_name_completion):
8158 * dired.c (Ffile_attributes):
8159 * dired.c (syms_of_dired):
8163 * dumper.c (pdump_file_unmap):
8164 * dumper.c (pdump_load):
8168 * editfns.c (Ftemp_directory):
8169 * editfns.c (user_login_name):
8170 * editfns.c (Fuser_real_login_name):
8171 * editfns.c (get_home_directory):
8174 * elhash.c (finish_marking_weak_hash_tables):
8175 [[[[5]]]]: Fix GCC warnings.
8178 * emacs.c (mswindows_handle_hardware_exceptions):
8179 * emacs.c (make_arg_list_1):
8181 * emacs.c (Fkill_emacs):
8182 * emacs.c (Fdump_emacs):
8184 Fix problems with nested crashes, add long comment.
8186 * event-Xt.c (init_event_Xt_late):
8190 * event-msw.c (mswindows_dde_callback):
8191 * event-msw.c (mswindows_handle_sticky_modifiers):
8192 * event-msw.c (mswindows_wnd_proc):
8196 * events.c (character_to_event):
8200 * fileio.c (Ffile_name_directory):
8201 * fileio.c (Ffile_name_nondirectory):
8202 * fileio.c (directory_file_name):
8203 * fileio.c (Fexpand_file_name):
8204 * fileio.c (Fsubstitute_in_file_name):
8205 * fileio.c (Ffile_name_absolute_p):
8206 * fileio.c (check_executable):
8207 * fileio.c (Ffile_readable_p):
8208 * fileio.c (Ffile_accessible_directory_p):
8209 * fileio.c (Ffile_modes):
8210 * fileio.c (Funix_sync):
8211 * fileio.c (vars_of_fileio):
8214 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8216 Expand getdefdir defn.
8217 Fix bogus rename() comment.
8219 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8220 to use standard XEmacs include files, e.g. sysfile.h, rather
8221 than system-specific includes.
8227 * frame.c (vars_of_frame):
8231 * getloadavg.c (getloadavg):
8233 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8234 (We don't use it elsewhere in the code; just add a comment.)
8241 * glyphs-msw.c (mswindows_resource_instantiate):
8244 * glyphs-x.c (x_native_layout_instantiate):
8247 * gui-msw.c (Fmswindows_shell_execute):
8256 * lread.c (locate_file_in_directory_mapper):
8263 * mem-limits.h (get_lim_data):
8275 * nt.c (rva_to_section):
8276 * nt.c (mswindows_executable_type):
8278 Fix closedir() defn.
8281 [[[[8]]]]: *_OK defs moved to sysfile.h.
8290 * print.c (std_handle_out_external):
8294 * process-nt.c (nt_create_process):
8296 try to fix process quoting somewhat.
8298 * process-unix.c (unix_create_process):
8302 * process.c (vars_of_process):
8309 * realpath.c (xrealpath):
8312 * redisplay-tty.c (init_tty_for_redisplay):
8322 * sheap.c (more_static_core):
8323 * sheap.c (report_sheap_usage):
8327 * signal.c (alarm_signal):
8334 * strftime.c (zone_name):
8337 * symsinit.h (init_sunpro):
8341 commctrl.h not in Cygwin b20.1.
8345 * sysdep.c (sys_subshell):
8346 * sysdep.c (init_baud_rate):
8347 * sysdep.c (emacs_get_tty):
8348 * sysdep.c (emacs_set_tty):
8349 * sysdep.c (tty_init_sys_modes_on_device):
8350 * sysdep.c (init_system_name):
8351 * sysdep.c (sys_open):
8352 * sysdep.c (interruptible_open):
8353 * sysdep.c (sys_fopen):
8354 * sysdep.c (sys_mkdir):
8355 * sysdep.c (sys_rename):
8356 * sysdep.c (get_process_times_1):
8363 * sysdir.h (DIRENTRY_NONEMPTY):
8366 * sysdll.c (dll_init):
8372 added text/binary defs.
8378 * sysproc.h (EDESTADDRREQ):
8379 * sysproc.h (poll_fds_for_input):
8396 Always define WIN32_LEAN_AND_MEAN.
8398 * unexcw.c (unexec):
8402 * unexec.c (copy_text_and_data):
8403 * unexec.c (adjust_lnnoptrs):
8407 * unexnt.c (_start):
8410 2000-06-07 Ben Wing <ben@xemacs.org>
8412 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8413 was used only as a model. We've long since extracted any useful
8414 logic or code out of this. (I just did an exhaustive search.)
8416 * s\msdos.h: Removed.
8418 * s\windows95.h: Removed.
8420 2000-06-10 Ben Wing <ben@xemacs.org>
8424 Don't use extern with fun defs.
8428 Remove nt\inc include.
8429 Remove getdisk, getdefdir. (The former is unused, the latter
8430 expanded in fileio.h.)
8433 * s\windowsnt.h (WIN32_NATIVE):
8434 * s\windowsnt.h (HAVE_STRCASECMP):
8436 Add long comment about preprocessor changes.
8437 Remove getdisk, getdefdir. (The former is unused, the latter
8438 expanded in fileio.h.)
8440 2000-06-10 Ben Wing <ben@xemacs.org>
8449 Remove bogus/unused NO_SOCK_SIGIO.
8451 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8453 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8456 2000-06-04 Mike Sperber <mike@xemacs.org>
8458 * casetab.c (set_case_table): For `set-standard-case-table',
8459 actually deposit the new case tables where the rest of XEmacs can
8462 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8464 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8466 2000-06-05 Ben Wing <ben@xemacs.org>
8468 * callproc.c (child_setup): Don't do close_load_descs() under
8469 MS Windows. Put in a comment explaining why.
8471 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8473 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8474 Toolkit shell" which breaks `kill-compilation' on Windows NT
8475 native, retaining STDERR handling improvements.
8477 2000-06-01 Andreas Jaeger <aj@suse.de>
8479 * s/s390.h: Support for S390, based on a patch by Martin
8480 Schwidefsky <schwidefsky@de.ibm.com>.
8482 2000-05-30 Andy Piper <andy@xemacs.org>
8484 * window.c (allocate_window):
8485 (make_dummy_parent):
8486 (Fset_window_configuration): use new hashtable type.
8488 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8489 (struct image_instantiator_methods):
8490 (struct Lisp_Image_Instance): make instance geometry signed.
8492 * glyphs.c (instantiate_image_instantiator):
8493 (image_instance_query_geometry):
8494 (image_instance_layout):
8495 (image_instance_layout):
8496 (query_string_geometry):
8497 (text_query_geometry):
8498 (image_instantiate):
8499 (image_instantiate):
8500 (cache_subwindow_instance_in_frame_maybe):
8501 (subwindow_query_geometry): make instance geometry signed.
8503 * glyphs-widget.c (widget_query_geometry):
8505 (button_query_geometry):
8506 (tree_view_query_geometry):
8507 (tab_control_query_geometry):
8508 (layout_query_geometry):
8510 (native_layout_layout): make instance geometry signed.
8512 2000-05-29 Olivier Galibert <galibert@pobox.com>
8514 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8517 * general.c (syms_of_general): Add Qfull_assoc symbol.
8519 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8521 (decode_weak_list_type): Decode full-assoc type.
8522 (encode_weak_list_type): Encode full-assoc type.
8523 (Fmake_weak_list): Update doc string.
8525 2000-05-30 Andy Piper <andy@xemacs.org>
8527 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8529 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8530 (decode_hash_table_weakness): ditto.
8531 (Fhash_table_weakness): ditto.
8532 (Fhash_table_type): ditto.
8533 (finish_marking_weak_hash_tables): ditto.
8534 (hash_table_weakness_validate): ditto.
8535 (syms_of_elhash): ditto.
8537 2000-05-28 Martin Buchholz <martin@xemacs.org>
8539 * XEmacs 21.2.34 is released.
8541 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8543 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8545 (updating_line_start_cache): Gone.
8546 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8547 generic code to force a minimum of 1 line laid out in the
8550 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8552 * glyphs.c (instantiate_image_instantiator): Check for initialized
8553 height & width no longer special cases IMAGE_NOTHING.
8554 (nothing_instantiate): Set height and width of instance.
8556 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8558 * unexelf.c (unexec): Search for ".data" section.
8559 Initialize new_data2_offset from old_data_index.
8560 Remove redundant check for ElfW.
8562 2000-05-23 Andy Piper <andy@xemacs.org>
8564 * glyphs.c (get_image_instantiator_governing_domain): allow more
8565 specific domains as the governing domain rather than expecting an
8566 exact match. This fixes problems with layouts.
8568 2000-05-22 Andy Piper <andy@xemacs.org>
8570 * redisplay-output.c (compare_runes): check for non-images
8572 * glyphs.c (set_glyph_dirty_p): ditto.
8573 (update_glyph_cachel_data): ditto.
8575 * glyphs-widget.c (layout_post_instantiate): ditto.
8576 (layout_post_instantiate): ditto.
8578 * event-msw.c (mswindows_wnd_proc): warning removal.
8580 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8582 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8584 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8586 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8588 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8589 (mswindows_executable_type): mingw32 now has enough headers for
8592 2000-05-20 Andy Piper <andy@xemacs.org>
8594 * console-msw.c (mswindows_output_last_error): ; -> ,
8596 2000-05-12 Andy Piper <andy@xemacs.org>
8598 * console-msw.c (FROB): compare ints with ints.
8600 2000-05-11 Andy Piper <andy@xemacs.org>
8602 * glyphs-x.c (x_finalize_image_instance): make minimal build
8605 2000-05-20 Ben Wing <ben@xemacs.org>
8608 * event-Xt.c (vars_of_event_Xt):
8609 move modifier-keys-are-sticky to event-stream.c.
8612 * event-msw.c (mswindows_enqueue_mouse_button_event):
8613 * event-msw.c (key_needs_default_processing_p):
8614 * event-msw.c (XEMSW_LCONTROL):
8615 * event-msw.c (mswindows_handle_sticky_modifiers):
8616 * event-msw.c (FROB):
8617 * event-msw.c (clear_sticky_modifiers):
8618 * event-msw.c (output_modifier_keyboard_state):
8619 * event-msw.c (output_alt_keyboard_state):
8620 * event-msw.c (mswindows_wnd_proc):
8621 * event-msw.c (mswindows_modifier_state):
8622 * event-msw.c (emacs_mswindows_handle_magic_event):
8623 implement sticky modifiers.
8626 * event-stream.c (vars_of_event_stream):
8627 move modifier-keys-are-sticky here.
8633 implement map-range-table.
8636 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8638 * redisplay-tty.c (reset_tty_modes):
8639 (tty_redisplay_shutdown): Adjust argument type to
8640 tty_frame_output_end.
8642 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8644 * eval.c (Fbacktrace): Don't output a line with only right
8647 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8649 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8650 (Fpq_reset_poll): Ditto.
8652 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8654 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8656 2000-05-16 Ben Wing <ben@xemacs.org>
8659 * buffer.c (dfc_convert_to/from_internal_format):
8660 * buffer.c (reinit_vars_of_buffer):
8661 Fix conversion functions to allow reentrancy.
8664 * console-msw.c (mswindows_output_last_error):
8665 New fun, generally useful -- output a human-readable
8666 version of GetLastError() on the console.
8669 * console-msw.h (struct mswindows_frame):
8670 Changes for DeferWindowPos. Declare mswindows_output_last_error().
8672 * console-stream.c (stream_output_begin):
8673 * console-stream.c (stream_output_end):
8674 * console-stream.c (stream_output_vertical_divider):
8675 * console-stream.c (stream_clear_region):
8676 * console-stream.c (stream_flash):
8677 * console-stream.c (console_type_create_stream):
8678 Delete blank stream methods, not needed.
8680 * console.h (struct console_methods):
8681 Split begin/end methods into window and frame.
8684 * event-msw.c (mswindows_handle_paint):
8685 * event-msw.c (output_alt_keyboard_state):
8686 * event-msw.c (mswindows_wnd_proc):
8687 * event-msw.c (vars_of_event_mswindows):
8688 Comment about problems with ignored-expose.
8689 Define mswindows-debug-events; not really implemented.
8691 * frame-msw.c (mswindows_init_frame_1):
8695 * glyphs-msw.c (begin_defer_window_pos):
8696 * glyphs-msw.c (mswindows_unmap_subwindow):
8697 * glyphs-msw.c (mswindows_map_subwindow):
8698 * glyphs-msw.c (mswindows_resize_subwindow):
8699 Use DeferWindowPos to reduce flashing when mapping/unmapping.
8701 * glyphs.c (make_image_instance_1):
8704 * gutter.c (Fredisplay_gutter_area):
8705 Use new begin/end methods.
8707 * lisp.h (Dynarr_new2):
8711 * redisplay-msw.c (mswindows_frame_output_begin):
8712 * redisplay-msw.c (mswindows_frame_output_end):
8713 * redisplay-msw.c (console_type_create_redisplay_mswindows):
8714 New begin/end methods -- handle DeferWindowPos.
8716 * redisplay-output.c (redisplay_move_cursor):
8717 * redisplay-output.c (redraw_cursor_in_window):
8718 * redisplay-output.c (redisplay_update_line):
8719 * redisplay-output.c (redisplay_output_window):
8720 New begin/end methods.
8723 * redisplay-tty.c (tty_frame_output_begin):
8724 * redisplay-tty.c (tty_frame_output_end):
8725 * redisplay-tty.c (console_type_create_redisplay_tty):
8726 New begin/end methods.
8729 * redisplay-x.c (x_window_output_begin):
8730 * redisplay-x.c (x_window_output_end):
8731 * redisplay-x.c (console_type_create_redisplay_x):
8732 New begin/end methods.
8734 * redisplay.c (redisplay_frame):
8735 * redisplay.c (Fredisplay_echo_area):
8736 New begin/end methods.
8737 use MAYBE_DEVMETH for clear_frame; it may not exist.
8739 * window.h (WINDOW_XFRAME):
8740 WINDOW_XFOO macros -- get locale and decode struct pointer.
8743 2000-05-12 Ben Wing <ben@xemacs.org>
8746 * emacs.c (ensure_no_quitting_from_now_on):
8747 * emacs.c (fatal_error_signal):
8748 * emacs.c (mswindows_handle_hardware_exceptions):
8750 * emacs.c (Fkill_emacs):
8751 * emacs.c (shut_down_emacs):
8752 * emacs.c (assert_failed):
8753 various improvements in fatal error handling.
8756 move preparing_for_armageddon to emacs.c.
8759 declare fatal_error_in_progress.
8762 * print.c (std_handle_out_external):
8763 * print.c (std_handle_out_va):
8764 * print.c (stderr_out):
8765 * print.c (stdout_out):
8766 use console under mswin when no standard output.
8767 don't do code conversion during fatal error.
8769 * scrollbar.c (Fscrollbar_page_up):
8770 * scrollbar.c (Fscrollbar_page_down):
8771 fix missing else. reindent.
8773 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
8777 * glyphs.h (GLYPH_CACHEL_DESCENT):
8778 (GLYPH_CACHEL_DESCENT):
8779 (GLYPH_CACHEL_DESCENT):
8780 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
8781 used in case these are inline functions.
8782 Use more absurd values to error check.
8784 include window.h for error check functions.
8786 2000-05-11 Ben Wing <ben@xemacs.org>
8788 * cmdloop.c (Freally_early_error_handler):
8789 Display message box under windows; otherwise, message will disappear
8790 before it can be viewed.
8793 * console-msw.c (Fmswindows_message_box):
8794 * console-msw.c (FROB):
8795 * console-msw.c (syms_of_console_mswindows):
8796 Define new fun `mswindows-message-box'.
8797 #### I will merge this into `popup-dialog-box'; just give me
8801 * general.c (syms_of_general):
8802 Some new symbols used in `mswindows-message-box'.
8805 * glyphs.c (Fset_image_instance_property):
8806 put warning in this fun.
8809 * glyphs.h (GLYPH_CACHEL_WIDTH):
8810 * glyphs.h (GLYPH_CACHEL_ASCENT):
8811 * glyphs.h (GLYPH_CACHEL):
8812 * glyphs.h (GLYPH_CACHEL_GLYPH):
8813 define error-checking versions to try to catch a bug i've seen --
8814 redisplay gets in an infinite loop because the glyph width of the
8815 continuation glyph is 65535.
8818 Extern message-box stuff.
8820 * window.c (allocate_window):
8821 * window.c (make_dummy_parent):
8822 * window.c (Fset_window_configuration):
8823 Use EQUAL not EQ for subwindow caches to make them work a bit
8824 better. (Something is still very broken.)
8827 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8829 * glyphs.c (image_instantiate): Suppress gcc warnings.
8830 (Fmake_image_instance): Fix doc string.
8831 * specifier.c (Fmake_specifier): Ditto.
8833 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
8835 * paths.h.in (PATH_LOCK): Removed.
8836 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
8837 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
8839 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8841 * fns.c (Ffeaturep): Update e-mail address in doc-string.
8842 Document (featurep '(and xemacs 21.02)).
8844 2000-05-09 Ben Wing <ben@xemacs.org>
8846 * buffer.c (complex_vars_of_buffer):
8847 update modeline-format doc.
8850 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
8853 timeline of all released versions of Emacs, for use in creating
8854 authorship comments and in synching up.
8856 * glyphs-widget.c (image_instantiator_buttons):
8857 * glyphs-widget.c (image_instantiator_edit_fields):
8858 * glyphs-widget.c (image_instantiator_combo_box):
8859 * glyphs-widget.c (image_instantiator_scrollbar):
8860 * glyphs-widget.c (image_instantiator_progress_guage):
8861 * glyphs-widget.c (image_instantiator_tree_view):
8862 * glyphs-widget.c (image_instantiator_tab_control):
8863 * glyphs-widget.c (image_instantiator_labels):
8864 * glyphs-widget.c (image_instantiator_layout):
8865 * glyphs-widget.c (image_instantiator_native_layout):
8866 rename decode_domain method to governing_domain.
8869 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
8870 * glyphs.c (add_entry_to_device_ii_format_list):
8871 make sure we don't put an entry more than once into the list.
8872 * glyphs.c (check_instance_cache_mapper):
8873 *************************************************************
8874 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8876 *************************************************************
8877 * glyphs.c (get_image_instantiator_governing_domain):
8878 clean up, expand on new concept of governing domain.
8879 * glyphs.c (instantiate_image_instantiator):
8880 * glyphs.c (allocate_image_instance):
8881 use governing_domain instead of cache_domain in naming.
8882 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
8883 * glyphs.c (make_image_instance_1):
8884 * glyphs.c (Fmake_image_instance):
8885 allow for any domain (not just device), and process the
8886 governing domain correctly. very big doc fix.
8887 * glyphs.c (Fimage_instance_domain):
8888 new primitive, to retrieve the governing domain of an image instance.
8889 * glyphs.c (image_instantiate):
8890 use new governing_domain stuff. this fixes a crash you could get
8891 by instantiating certain widget glyphs in frame locales. (should
8892 signal an error instead of crashing.)
8893 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
8894 * glyphs.c (Fglyphp): clean up doc.
8895 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
8896 * glyphs.c (syms_of_glyphs):
8897 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
8898 * glyphs.c (image_instantiator_format_create): add some comments about
8900 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
8901 for current-display-table. (Apparently Hrjove implemented in 1998 a
8902 design I wrote up in 1996, but didn't update the doc string.)
8904 * glyphs.h: clean up a doc string.
8905 * glyphs.h (governing_domain):
8906 * glyphs.h (struct image_instantiator_methods):
8907 changes for governing_domain stuff.
8910 * gutter.c (Fgutter_specifier_p):
8911 * gutter.c (Fgutter_size_specifier_p):
8912 * gutter.c (Fgutter_visible_specifier_p):
8914 * objects.c (Fcolor_specifier_p):
8915 * objects.c (Ffont_specifier_p):
8916 * objects.c (Fface_boolean_specifier_p):
8917 doc strings moved to make-*-specifier.
8919 * redisplay.c (add_disp_table_entry_runes_1):
8920 * redisplay.c (generate_fstring_runes):
8921 * redisplay.c (screen):
8922 add random comments and doc strings.
8925 * specifier.c (Fmake_specifier):
8926 major overhaul of this doc string.
8928 * specifier.c (Fvalid_specifier_domain_p):
8929 comment about the bogosity of image instances being domains.
8930 * specifier.c (decode_domain):
8931 now non-static, used in glyphs.c.
8932 * specifier.c (specifier_instance):
8933 comment about the bogosity of image instances being domains.
8934 * specifier.c (Fgeneric_specifier_p):
8935 move doc string to make-generic-specifier.
8936 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
8940 * specifier.h (DOMAIN_FRAME):
8941 * specifier.h (DOMAIN_LIVE_P):
8942 * specifier.h (DOMAIN_XDEVICE):
8944 add comments about problems with these macros.
8945 prototype for decode_domain.
8948 * toolbar.c (Ftoolbar_specifier_p):
8949 move doc string to `make-toolbar-specifier'.
8951 * window.c (window_unmap_subwindows_cache_mapper):
8952 *************************************************************
8953 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8955 *************************************************************
8957 2000-05-09 Andy Piper <andy@xemacs.org>
8959 * glyphs.h: declare reset_frame_subwindow_instance_cache.
8961 * window.c (Fset_window_configuration): reset the frame subwindow
8962 cache and re-initialize the window subwindow caches.
8964 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
8966 2000-05-09 Ben Wing <ben@xemacs.org>
8968 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
8971 2000-04-26 Mike Woolley <mike@bulsara.com>
8973 * ntheap.c: Changed recreate_heap to limit the amount reserved
8974 for the heap to that which is actually available. Also now
8975 displays a message box (with some dignostics) in the event that
8976 it still can't start.
8978 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
8980 * callproc.c (Fold_call_process_internal): GCPRO path
8982 2000-05-08 Jan Vroonhof <jan@xemacs.org>
8984 Patch by Bill Perry.
8986 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
8987 back data instead of #ifdef.
8988 (Fscrollbar_page_down): ditto.
8990 2000-05-07 Ben Wing <ben@xemacs.org>
8993 Kludge for defining Qmswindows_tstr.
8996 * nt.c (open_input_file):
8997 * nt.c (open_output_file):
8998 * nt.c (rva_to_section):
8999 * nt.c (mswindows_executable_type):
9000 Move all memory-mapped-file routines here (some were in unexnt.c,
9001 which is bad because they are used by process-nt.c, and unexnt
9002 won't be around when portable dumping). Synched the above routines
9006 Removed ifdef'd out bogus code.
9007 Fixed some prototypes.
9010 * nt.h (OFFSET_TO_RVA):
9011 * nt.h (RVA_TO_OFFSET):
9012 * nt.h (RVA_TO_PTR):
9013 Moved the memory-mapped-file structures, macros and prototypes
9014 here, to parallel nt.c. ntheap.h should really be removed
9015 entirely, and it's a non-portable-dumper specific file.
9017 * ntheap.h (round_to_next):
9018 Moved the memory-mapped-file structures, macros and prototypes
9021 * ntproc.c (compare_env):
9022 Moved rva_to_section and mswindows_executable_type to nt.c.
9023 Moved compare_env to process-nt.c.
9024 ntproc.c will die, one day.
9026 * ntproc.c (sys_spawnve):
9027 Account for win32_ -> mswindows_.
9030 * process-nt.c (struct nt_process_data):
9031 * process-nt.c (ensure_console_window_exists):
9032 * process-nt.c (compare_env):
9033 * process-nt.c (nt_create_process):
9034 * process-nt.c (nt_kill_process_by_pid):
9035 * process-nt.c (syms_of_process_nt):
9036 * process-nt.c (vars_of_process_nt):
9037 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
9038 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
9039 changes). Eliminate our old `nt-quote-process-args' mechanism.
9040 Synch up nt_create_process with FSF 20.6 sys_spawnve.
9041 Move compare_env here from ntproc.c.
9043 * process.c (Fprocess_send_region):
9044 Takes an optional fourth argument, BUFFER, which should fix some
9045 problems with call-process.
9048 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
9051 Move ICC_BAR_CLASSES to syscommctrl.h.
9052 Add preliminary macros for MSWindows/Mule. More to come.
9055 * unexnt.c (unexec):
9056 open_output_file moved to nt.c.
9059 2000-05-05 Andy Piper <andy@xemacs.org>
9061 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
9062 instance from the frame cache also since GC may catch up too late
9063 to make frame deletion sane.
9065 2000-05-04 Andy Piper <andy@xemacs.org>
9067 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
9068 (x_finalize_image_instance): ungcpro on deletion.
9070 * glyphs.c (image_instantiator_format_create): give pointers a
9071 query geometry method so that the geometry is at least set.
9073 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
9074 initialize layouts if using widgets.
9076 2000-05-03 Andy Piper <andy@xemacs.org>
9078 * nt.c: remove bogus reference to sysmmsystem.h
9080 * gui-x.c (popup_selection_callback): fix no selection abort.
9082 2000-05-02 Andy Piper <andy@xemacs.org>
9084 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9085 (mswindows_widget_instantiate): ditto.
9087 * glyphs-widget.c (initialize_widget_image_instance): initialize
9089 (widget_instantiate): cope with children and items in the same
9092 * glyphs.c (mark_image_instance): cope with children as a first
9094 (image_instance_equal): ditto.
9095 (image_instance_hash): ditto.
9096 (image_instance_changed): ditto.
9098 2000-04-30 Andy Piper <andy@xemacs.org>
9100 * glyphs.c (subwindow_query_geometry): new function. Return some
9102 (subwindow_instantiate): don't assign dimensions if none have been
9104 (image_instantiator_format_create): add subwindow_query_geometry.
9105 (print_image_instance): cope with layouts as widgets.
9107 2000-04-29 Andy Piper <andy@xemacs.org>
9109 * frame.c (delete_frame_internal): call
9110 free_frame_subwindow_instance_cache so that all subwindows are
9111 finalized before their parent.
9112 (mark_frame): remove subwindow_cachels.
9113 (Fmake_frame): remove subwindow_cachel manipulation.
9114 (allocate_frame_core): subwindow_instance_cache is a weak list.
9115 (delete_frame_internal): set subwindow_instance_cache to nil.
9117 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9119 (mswindows_finalize_image_instance): use the device
9120 not the domain as the domain may have died already.
9122 * glyphs-x.c (x_finalize_image_instance): ditto.
9123 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9126 * redisplay-output.c (redisplay_unmap_subwindows): update for
9127 subwindow instance cache as a weak list.
9128 (redisplay_unmap_subwindows_maybe): ditto.
9129 (redisplay_unmap_subwindows_except_us): ditto.
9131 * glyphs.c (unmap_subwindow): error checking will check the domain
9132 so don't deal with it here. Don't use cachels anymore.
9133 (map_subwindow): ditto.
9134 (update_subwindow_cachel_data): remove old accessor names.
9135 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9136 (Fresize_subwindow): don't update cachel.
9137 (mark_subwindow_cachels):
9138 (update_subwindow_cachel_data):
9139 (add_subwindow_cachel):
9140 (get_subwindow_cachel_index):
9141 (update_subwindow_cachel):
9142 (reset_subwindow_cachels):
9143 (mark_subwindow_cachels_as_not_updated): deleted.
9144 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9145 subwindow instance to the frame cache.
9146 (find_matching_subwindow): update for subwindow instance cache as
9148 (update_widget_instances): ditto.
9149 (image_instance_type_to_mask):inlined.
9150 (free_frame_subwindow_instance_cache): new function. finalize all
9151 subwindows that are instantiated.
9153 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9154 of cachel information.
9155 (IMAGE_INSTANCE_DISPLAY_X):
9156 (IMAGE_INSTANCE_DISPLAY_Y):
9157 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9158 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9159 (XIMAGE_INSTANCE_DISPLAY_X):
9160 (XIMAGE_INSTANCE_DISPLAY_Y):
9161 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9162 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9163 remove subwindow_cachel structure and function references.
9164 (image_instance_type_to_mask): inline from glyphs.c
9166 * redisplay.c (redisplay_frame): remove subwindow_cachel
9169 * frame.h (struct frame): remove subwindow_cachels.
9170 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9172 * frameslots.h: add subwindow_instance_cache.
9174 * window.c (replace_window): check subwindow cache of replacement.
9175 (window_unmap_subwindows_cache_mapper):
9176 (window_unmap_subwindows): new functions. Unmap all subwindows
9177 cached on this window.
9178 (mark_window_as_deleted): unmap all subwindows.
9180 2000-04-27 Andy Piper <andy@xemacs.org>
9182 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9184 * glyphs-widget.c (widget_layout): return something.
9185 (layout_layout): return something. Fail if not initialized.
9186 (layout_query_geometry): ditto.
9187 (image_instantiator_native_layout): new function. Initialized the
9189 (widget_instantiate): don't do layout stuff here.
9191 * glyphs.c (instantiate_image_instantiator): reorded calling or
9192 instantiate and post_instantiate with layout in between.
9193 (image_instance_layout): be more selective about deciding whether
9194 the layout has been done or not.
9196 * glyphs.h (struct image_instantiator_methods): return a value
9199 2000-04-26 Andy Piper <andy@xemacs.org>
9201 * glyphs.c (allocate_image_instance): make initial width and
9202 height unspecified. Set initialized to 0.
9204 * syscommctrl.h new file. Encapsulates commctrl.h.
9206 * syswindows.h new file. Encapsulates windows.h.
9208 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9210 * console-msw.h: ditto.
9212 * redisplay-tty.c (tty_output_display_block): remove layout references.
9214 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9215 window handle rather than just the frame.
9217 * glyphs.c (mark_image_instance): remove layout references.
9218 (print_image_instance): ditto.
9219 (image_instance_equal): ditto.
9220 (image_instance_hash): ditto.
9221 (decode_image_instance_type): ditto.
9222 (encode_image_instance_type): ditto.
9223 (image_instantiate): ditto.
9224 (allocate_glyph): ditto.
9225 (Fimage_instance_height): ditto.
9226 (Fimage_instance_width): ditto.
9227 (update_subwindow): ditto.
9229 * redisplay-x.c (x_output_display_block): recode for layouts as
9232 * redisplay-output.c (redisplay_output_layout): recode for layouts
9234 (compare_runes): remove layout references.
9236 * redisplay-msw.c (mswindows_output_display_block): recode for
9239 * glyphs-widget.c (image_instantiator_layout): remove
9240 layout_possible_dest_types.
9241 (layout_possible_dest_types): deleted.
9243 * glyphs.h (image_instance_type): remove layout references.
9244 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9245 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9246 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9248 2000-04-25 Andy Piper <andy@xemacs.org>
9250 * glyphs-widget.c (image_instantiator_buttons):
9251 (image_instantiator_edit_fields):
9252 (image_instantiator_combo_box):
9253 (image_instantiator_scrollbar):
9254 (image_instantiator_progress_guage):
9255 (image_instantiator_tree_view):
9256 (image_instantiator_tab_control):
9257 (image_instantiator_labels):
9258 (image_instantiator_layout): call default post_instantiate method.
9259 (widget_post_instantiate): new function. Simply lays out the
9262 * glyphs.h (struct image_instantiator_methods): add
9263 post_instantiate method.
9265 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9268 2000-04-23 Andy Piper <andy@xemacs.org>
9270 * glyphs.h (struct image_instantiator_methods): add
9271 decode_domain_method.
9272 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9273 derived from the domain.
9274 (IMAGE_INSTANCE_FRAME): new accessor.
9275 (XIMAGE_INSTANCE_FRAME): ditto.
9277 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9278 instead of _SUBWINDOW_FRAME.
9279 (finalize_image_instance): ditto.
9280 (Fimage_instance_foreground): ditto.
9281 (Fimage_instance_background): ditto.
9282 (image_instantiate): ditto.
9283 (update_subwindow_cachel): ditto.
9284 (update_subwindow): ditto.
9285 (unmap_subwindow): ditto.
9286 (map_subwindow): ditto
9287 (subwindow_instantiate): ditto.
9288 * glyphs-msw.c (mswindows_update_widget): ditto.
9289 (mswindows_progress_gauge_instantiate): ditto.
9290 (mswindows_tab_control_update): ditto.
9291 * glyphs-x.c (x_update_widget): ditto.
9292 (x_widget_instantiate): ditto.
9293 (x_tab_control_instantiate): ditto.
9294 (x_tab_control_update): ditto.
9295 * event-msw.c (mswindows_wnd_proc): ditto
9297 * glyphs-widget.c (image_instantiator_layout): use
9298 subwindow_decode_domain.
9299 (image_instantiator_buttons): ditto.
9300 (image_instantiator_edit_fields): ditto.
9301 (image_instantiator_combo_box): ditto.
9302 (image_instantiator_scrollbar): ditto.
9303 (image_instantiator_progress_guage): ditto.
9304 (image_instantiator_tree_view): ditto.
9305 (image_instantiator_tab_control): ditto.
9306 (image_instantiator_labels): ditto.
9307 (image_instantiator_layout): ditto.
9309 * glyphs.c: add instance error checking to many functions.
9310 (instantiate_image_instantiator): decode device from cache_domain.
9311 (image_instantiate): partially rewrite by using
9312 decode_image_instantiator_domain to determine what domain the
9313 instance needs to be cached in.
9314 (decode_image_instantiator_domain): new function. Determine what
9315 domain the image needs to be cached in.
9316 (check_window_subwindow_cache): new error checking function.
9317 (check_instance_cache_mapper): ditto.
9318 (check_image_instance_structure): ditto.
9319 (subwindow_decode_domain): new function. Encodes a window as a
9320 subwindow's cache domain.
9321 (image_instantiator_format_create): use it for text and
9324 2000-04-21 Andy Piper <andy@xemacs.org>
9326 * glyphs.c (image_instance_device): new function.
9327 (image_instance_frame): new function.
9328 (image_instance_window): new function.
9329 (image_instance_live_p): new function.
9331 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9334 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9335 (IMAGE_INSTANCE_DOMAIN): new accessor.
9336 (XIMAGE_INSTANCE_DOMAIN): ditto.
9338 * glyphs-x.c (x_finalize_image_instance): device->domain.
9340 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9341 (mswindows_finalize_image_instance): ditto.
9343 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9344 (gif_instantiate): ditto.
9345 (png_instantiate): ditto.
9346 (tiff_instantiate): ditto.
9348 * glyphs.c (instantiate_image_instantiator): use domain rather
9350 (mark_image_instance): device -> domain.
9351 (print_image_instance): ditto.
9352 (finalize_image_instance): ditto.
9353 (image_instance_equal): ditto.
9354 (allocate_image_instance): ditto.
9355 (Fcolorize_image_instance): ditto.
9356 (query_string_geometry): ditto.
9357 (image_instantiate): ditto
9358 (query_string_font): ditto.
9359 (image_instantiate): ditto.
9360 (update_subwindow): ditto.
9361 (unmap_subwindow): ditto.
9362 (map_subwindow): ditto.
9363 (subwindow_instantiate): ditto.
9365 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9366 (DOMAIN_FRAME): ditto.
9367 (DOMAIN_WINDOW): ditto.
9368 (DOMAIN_LIVE_P): ditto.
9369 (XDOMAIN_DEVICE): ditto.
9370 (XDOMAIN_FRAME): ditto.
9371 (XDOMAIN_WINDOW): ditto.
9373 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9374 a valid specifier domain.
9376 2000-04-19 Andy Piper <andy@xemacs.org>
9378 * glyphs-widget.c (syms_of_glyphs_widget): remove
9379 widget-callback-current-channel.
9380 (vars_of_glyphs_widget): ditto.
9383 * gui.c (get_gui_callback): revert to previous behaviour.
9385 2000-04-18 Andy Piper <andy@xemacs.org>
9387 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9388 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9389 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9391 * glyphs.c (image_instance_equal): add margin_width.
9392 (image_instance_hash): ditto.
9394 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9395 (layout_query_geometry): ditto.
9396 (layout_layout): ditto.
9397 (syms_of_glyphs_widget): add margin-width.
9398 (image_instantiator_layout): allow margin-width.
9400 * glyphs.c (update_widget_instances): make a normal function.
9401 (syms_of_glyphs): remove Qupdate_widget_instances.
9404 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9405 so that we don't corrupt ideas about the last event or
9406 command. Remove widget-callback-current-channel fiddling.
9407 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9409 2000-05-01 Martin Buchholz <martin@xemacs.org>
9411 * XEmacs 21.2.33 is released.
9413 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9415 * make-src-depend: Allow dots in header file name.
9417 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9419 * mule-charset.h (struct charset_lookup): Add
9420 next_allocated_1_byte_leading_byte and
9421 next_allocated_2_byte_leading_byte.
9422 * mule-charset.c: Move above two variables so that those values
9425 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9427 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9428 when string length is zero.
9429 (find_charsets_in_emchar_string): Ditto.
9431 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9433 * lisp.h: extern Qdialog and Qmenubar.
9435 * gui-x.c: added events.h.
9436 also fixed typo which made the file uncompilable.
9438 * general.c: Added Qmenubar and Qdialog
9440 2000-04-28 Ben Wing <ben@xemacs.org>
9442 * frame-msw.c (mswindows_init_frame_1):
9443 * frame-msw.c (mswindows_mark_frame):
9444 * event-msw.c (mswindows_enqueue_dispatch_event):
9446 * console-msw.h (struct mswindows_frame):
9447 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9448 there are now three hash tables for callbacks.
9449 mswindows_enqueue_dispatch_event is no longer static.
9451 * dialog-x.c (maybe_run_dbox_text_callback):
9452 * dialog-x.c (dbox_descriptor_to_widget_value):
9453 switch to new cons3 form for callbacks.
9455 * glyphs-msw.c (mswindows_register_gui_item):
9456 * glyphs-msw.c (mswindows_widget_instantiate):
9457 * glyphs-msw.c (add_tree_item):
9458 * glyphs-msw.c (add_tab_item):
9459 new image instance parameter, so it can be passed to callback-ex.
9460 respect :callback-ex as well as :callback.
9462 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9465 * glyphs.c (print_image_instance):
9466 prettify, e.g. now prints widget type.
9469 certain funs have new image instance parameter.
9472 * gui.c (get_gui_callback):
9473 * gui.c (gui_item_add_keyval_pair):
9474 * gui.c (gui_item_init):
9475 * gui.c (gui_add_item_keywords_to_plist):
9476 * gui.c (mark_gui_item):
9477 * gui.c (gui_item_hash):
9478 * gui.c (gui_item_equal):
9479 * gui.c (copy_gui_item):
9480 * gui.c (syms_of_gui):
9481 recognize callback-ex in a number of places.
9482 also, fix the annoying "can't get out of yes-no dialog" bug.
9485 * gui.h (struct Lisp_Gui_Item):
9486 recognize callback-ex in a number of places.
9488 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9489 new parameter in button_item_to_widget_value.
9491 * glyphs-x.c (x_update_widget):
9492 * glyphs-x.c (x_button_instantiate):
9493 * glyphs-x.c (x_button_update):
9494 * glyphs-x.c (x_progress_gauge_instantiate):
9495 * glyphs-x.c (x_edit_field_instantiate):
9496 * glyphs-x.c (x_combo_box_instantiate):
9497 * glyphs-x.c (x_tab_control_instantiate):
9498 * glyphs-x.c (x_label_instantiate):
9499 new image instance parameter in various places.
9502 * event-Xt.c (enqueue_Xt_dispatch_event):
9503 this fun gets exported.
9506 * gui-msw.c (mswindows_handle_gui_wm_command):
9507 handle both :callback and :callback-ex, and generate our own
9508 event because it's one of the callback-ex arguments.
9511 * gui-x.c (popup_selection_callback):
9512 handle both :callback and :callback-ex, and generate our own
9513 event because it's one of the callback-ex arguments.
9514 * gui-x.c (button_item_to_widget_value):
9515 * gui-x.c (gui_items_to_widget_values_1):
9516 * gui-x.c (gui_item_children_to_widget_values):
9517 * gui-x.c (gui_items_to_widget_values):
9518 new image instance parameter in various places.
9520 * fns.c (Freplace_list):
9521 fix small typo in doc string.
9524 declare enqueue_Xt_dispatch_event.
9526 2000-04-28 Ben Wing <ben@xemacs.org>
9529 * buffer.c (Frecord_buffer):
9530 * buffer.c (syms_of_buffer):
9531 delete record-buffer-hook.
9534 * fns.c (Freplace_list):
9535 * fns.c (syms_of_fns):
9536 new primitive replace-list.
9539 slot for old buffer-alist.
9545 * redisplay.c (redisplay_frame):
9546 * redisplay.c (syms_of_redisplay):
9547 * redisplay.c (vars_of_redisplay):
9548 new hook buffer-list-changed-hook.
9551 2000-04-27 Ben Wing <ben@xemacs.org>
9553 * extents.h: extern in_modeline_generation.
9555 * redisplay.c (generate_formatted_string_db): set
9556 in_modeline_generation.
9558 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9559 flags if in modeline generation. otherwise frame-modified-tick
9560 is ticked far too often.
9561 Declare in_modeline_generation.
9563 2000-04-26 Ben Wing <ben@xemacs.org>
9565 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9567 (vars_of_emacs): add quick-build as an error-checking option.
9568 A bit kludgy, but there doesn't seem much point in creating
9569 a real var for this.
9571 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9573 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9575 * redisplay.h (struct display_line): Add a new variable,
9578 * redisplay.c (create_text_block): Set dl->line_continuation if
9580 (create_string_text_block): Ditto.
9581 (regenerate_window_incrementally): Use line_continuation instead
9582 of searching continuation glyph.
9583 (add_margin_runes): Call add_glyph_rune.
9584 (add_glyph_rune): Handle margin glyph.
9586 2000-04-20 Martin Buchholz <martin@xemacs.org>
9588 * filelock.c (fill_in_lock_file_name):
9590 Check for IS_ANY_SEP instead of '/'.
9592 Avoid generating gratuitous garbage. Call user_login_name() directly.
9593 Never check errno without first seeing that system call failed.
9594 (unlock_file): Add GCPRO.
9595 (Flock_buffer): Fix docstring.
9596 (Ffile_locked_p): Fix docstring. Add GCPRO.
9598 2000-04-19 Martin Buchholz <martin@xemacs.org>
9600 * sysdep.c (get_pty_max_bytes):
9601 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9602 strings longer than 252 bytes.
9604 * md5.c: Unconditionally include ANSI header <limits.h>
9606 * glyphs-x.c (convert_EImage_to_XImage):
9607 * lisp-union.h (union Lisp_Object):
9608 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9610 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9612 * filelock.c (current_lock_owner): Remove unused variable o, p.
9614 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9616 * callint.c: Remove multiply defined symbol Qlet
9617 (syms_of_callint): ditto.
9619 2000-04-14 Andy Piper <andy@xemacs.org>
9621 * general.c (syms_of_general): add last-command, this-command, let
9624 * lisp.h: declare various symbols.
9626 * glyphs.h: declare Qwidget_callback_current_channel;
9628 * glyphs-widget.c (syms_of_glyphs_widget): add
9629 Qgui_callback_current_channel.
9630 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9632 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9633 widget-callback-current-channel when invoking the interactive
9634 arg. Also bind last-command and next-command when invoking the
9636 * gui-x.c (popup_selection_callback): ditto.
9638 * gui.c (get_gui_callback): massage args so that we are always
9639 calling eval. This allows us to add our own variable bindings
9642 * glyphs-x.c (x_button_instantiate): use
9643 gui_items_to_widget_values since this is GC safe.
9644 (x_progress_gauge_instantiate): ditto.
9645 (x_edit_field_instantiate): ditto.
9646 (x_label_instantiate): ditto.
9648 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9649 (emacs_Xt_event_widget_focus_out): new function
9650 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9652 (emacs_Xt_event_add_widget_actions): new function. add focus
9653 functions as actions.
9654 (init_event_Xt_late): use it.
9656 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9658 * event-stream.c (Fdispatch_event): Doc fix.
9660 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9662 * postgresql.c: Remove all references to PQsetenv*.
9664 * postgresql.h: Remove references to PGsetenvHandler object.
9665 * lrecord.h (lrecord_type): Ditto.
9667 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9669 * glyphs-msw.h (struct mswindows_image_instance_data): Added
9670 real_heigh and real_width members, and accessor macros for these.
9672 * glyphs-msw.c (init_image_instance_geometry): New function.
9673 (init_image_instance_from_dibitmap): Use it.
9674 (mswindows_resource_instantiate): Use it.
9675 (init_image_instance_from_xbm_inline): Use it.
9676 (mswindows_initialize_image_instance_mask): Use real bitmap
9678 (mswindows_create_resized_bitmap): Ditto.
9679 (mswindows_create_resized_mask): Ditto.
9681 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
9682 and bitmap to their surface size.
9684 2000-04-11 Jan Vroonhof <jan@xemacs.org>
9686 * process-unix.c (unix_send_process): Guard against process MIA
9687 after Faccept_process_output.
9689 2000-04-11 Ben Wing <ben@xemacs.org>
9691 * eval.c (unbind_to_hairy): fix brokenness introduced by
9692 nanosecond speed improvements.
9694 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
9696 * sunplay.c (init_device): To play sounds correctly, the device
9697 apparently needs to be initialized at least once by XEmacs. Make
9700 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
9702 * redisplay.c (add_margin_runes): Add text image glyph
9705 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9707 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
9708 gcc is newer than 2.5.
9710 2000-04-06 Colin Rafferty <colin@xemacs.org>
9712 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
9714 * fns.c (size_bit_vector):
9715 * alloc.c (size_vector):
9716 (make_vector_internal):
9717 (make_bit_vector_internal):
9718 (sweep_bit_vectors_1):
9719 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
9721 2000-04-06 Andy Piper <andy@xemacs.org>
9723 * gmalloc.c (malloc): undo previous change.
9728 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
9730 * line-number.c (buffer_line_number): Revert to former version.
9732 2000-04-06 Andy Piper <andy@xemacs.org>
9734 * gmalloc.c (malloc): add error checking.
9739 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
9740 button_item_to_widget_value arg.
9742 * glyphs-x.c (x_button_instantiate): add extra
9743 button_item_to_widget_value arg.
9744 (x_progress_gauge_instantiate): ditto.
9745 (x_edit_field_instantiate): ditto.
9746 (x_label_instantiate): ditto.
9748 * gui-x.c (gui_items_to_widget_values_1): add extra
9749 button_item_to_widget_value arg.
9750 (button_item_to_widget_value): add extra menu_item_p arg.
9752 * gui-x.h: change signature of button_item_to_widget_value.
9754 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
9755 button_item_to_widget_value arg.
9757 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9759 * buffer.h (struct buffer): auto_save_modified should be long.
9761 2000-04-05 Andy Piper <andy@xemacs.org>
9763 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
9765 (button_query_geometry): give a little more room so that athena
9768 2000-04-05 Andy Piper <andy@xemacs.org>
9770 * faces.c (complex_vars_of_faces): The widget face should inherit
9771 the font of the gui-element face.
9773 2000-04-04 Andy Piper <andy@xemacs.org>
9775 * glyphs-x.c (x_button_update): new function. unconditionally
9776 update a button's state when the instance is dirty.
9777 (image_instantiator_format_create_glyphs_x): add x_button_update.
9778 (x_widget_instantiate): remove old resize cruft.
9780 2000-04-02 Andy Piper <andy@xemacs.org>
9782 * frame.c (change_frame_size_1): The introduction of gutters means
9783 that we need to allow 0 as a potential frame dimension.
9785 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
9787 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
9788 image glyph if allow_cursor.
9789 (add_hscroll_rune): Don't allow cursor to border glyph.
9790 (create_text_block): Ditto.
9792 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
9794 (redisplay_output_layout): Call ensure_face_cachel_complete for
9798 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
9800 * redisplay.c (add_glyph_rune): Adding text image as text runes.
9802 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
9805 * redisplay-tty.c (tty_output_display_block): Delete the routine
9806 for text image glyph
9807 * redisplay-x.c (x_output_display_block): ditto
9808 * redisplay-msw.c (mswindows_output_display_block): ditto
9810 2000-02-02 Mike Alexander <mta@arbortext.com>
9812 Note: Some of these were committed by accident as part of other
9815 * regex.c (regex_compile): Avoid compiler warnings.
9817 * ntproc.c (sys_spawnve): Avoid compiler warnings.
9819 * nt.h: Declare term_ntproc correctly.
9821 * nt.c: Remove incorrect declaration of get_home_directory which
9822 is declared correctly in lisp.h.
9824 * keymap.c (get_keyelt): Avoid compiler warnings.
9825 (raw_lookup_key_mapper): Avoid compiler warnings.
9827 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
9829 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
9831 * filemode.c (mode_string): Avoid compiler warnings.
9833 * file-coding.c (Fcoding_system_aliasee): Add return statement to
9836 * events-mod.h: Undef some things that winuser.h defines differently.
9838 * data.c (Faset): Avoid compiler warnings.
9840 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
9842 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9844 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
9845 Fall through to simple beep on error.
9846 Replace "extern" by real header file.
9848 * linuxplay.c: Use nativesound.h
9849 (play_sound_data): Return error code. Be less verbose on error.
9851 * sunplay.c: Use nativesound.h
9852 (play_sound_data): Return error code. Be less verbose on error.
9854 * ntplay.c: Use nativesound.h
9855 (play_sound_data): Return fake error code
9857 * sgiplay.c: Use nativesound.h
9858 (play_sound_data): Return error code
9860 * hpplay.c: Use nativesound.h, partially implement
9861 new error code. Break compilation until finished.
9862 (play_sound_data): error code.
9864 * nativesound.h (play_sound_file):
9865 (play_sound_data): Prototype in new header.
9867 2000-03-31 Andy Piper <andy@xemacs.org>
9869 * glyphs-widget.c: (button_query_geometry): new function. Adjust
9870 for toggle and radio buttons.
9871 (image_instantiator_buttons): use it.
9873 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9875 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
9876 (x_update_horizontal_scrollbar_callback): Return if no mirror was
9877 found. Scrollbar event probably belonged to some old config.
9879 2000-03-31 Andy Piper <andy@xemacs.org>
9881 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
9883 (initialize_widget_image_instance): default layout to
9884 LAYOUT_HORIZONTAL rather than 0.
9885 (widget_instantiate): reverse the item list at the end rather than
9887 (layout_layout): re-code for the border text at the front of the
9888 item list rather than at the end.
9889 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
9890 provided by the user.
9891 (widget_query_geometry): comment.
9893 2000-03-30 Andy Piper <andy@xemacs.org>
9895 * glyphs-widget.c (image_instantiator_layout): allow standard
9896 widget keywords in layouts.
9898 * gutter.c (output_gutter): cope with nil gutter contents.
9900 * frame.c (Fset_frame_properties): add gutter docs.
9902 2000-03-29 Andy Piper <andy@xemacs.org>
9904 * toolbar-msw.c (TBSTYLE_FLAT): add.
9905 (mswindows_output_toolbar): minor fiddling.
9907 2000-03-29 Andy Piper <andy@xemacs.org>
9909 * gutter.c (output_gutter): force gutter size recalculation if
9910 what we are trying to display won't fit.
9911 (update_gutter_geometry): new function. A per-gutter version of
9912 update_frame_gutter_geometry.
9913 (update_frame_gutter_geometry): use it.
9914 (redraw_exposed_gutter): add extra debugging output.
9916 2000-03-28 Mike Alexander <mta@arbortext.com>
9918 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
9919 (pdump_file_unmap): Implement it on Windows
9920 (pdump_file_get): Save alocated handles for pdump_file_unmap
9922 2000-03-28 Andy Piper <andy@xemacs.org>
9924 * gui.c (get_gui_callback): treat Quit specially.
9926 2000-03-27 Andy Piper <andy@xemacs.org>
9928 * glyphs.c (image_instantiate): be careful to check in the same
9931 2000-03-27 Didier Verna <didier@xemacs.org>
9933 * config.h.in: define the proper SMART_INCLUDE macro.
9934 handle renaming of `foo_h_path' to `foo_h_file'.
9936 * database.c: ditto.
9940 * linuxplay.c: ditto.
9942 * terminfo.c: ditto.
9944 * tooltalk.h: ditto.
9946 2000-03-27 Andy Piper <andy@xemacs.org>
9948 * glyphs-msw.c (mswindows_update_widget): make sure the widget
9949 gets updated whenever the face might have changed.
9951 2000-03-26 Mike Alexander <mta@arbortext.com>
9953 * dumper.c (pdump_resource_free): Fix the comment.
9955 2000-03-21 Olivier Galibert <galibert@pobox.com>
9957 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
9959 2000-03-22 Mike Alexander <mta@arbortext.com>
9961 * dumper.c: Include Windows headers on Windows
9962 (pdump_resource_free): Add a body to the function
9963 (pdump_load): exe_name -> exe_path and add some comments.
9965 2000-03-25 Mike Alexander <mta@arbortext.com>
9967 * gui.c (copy_gui_item_tree): Return a value in all cases
9969 2000-03-21 Didier Verna <didier@xemacs.org>
9971 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
9973 (SMART_INCLUDE): new macro.
9974 (POSTGRES_INCLUDE): new macro to include postgresql headers from
9975 the proper location.
9977 * postgresql.c: use it.
9981 2000-03-24 Andy Piper <andy@xemacs.org>
9983 * gutter.c (redraw_exposed_gutters): must be "in display" when we
9986 2000-03-24 Andy Piper <andy@xemacs.org>
9988 * redisplay-output.c (compare_runes): use image_instance_changed
9989 to detect changes. Do not depend on glyphs_changed, only depend on
9991 (redisplay_output_layout): add debug messages.
9992 (compare_runes): ditto.
9994 * glyphs.h: declare new functions.
9995 (struct Lisp_Image_Instance): remove percent and associated
9998 * gui.h: declare new copying functions.
10000 * gui.c (copy_gui_item_tree): new function.
10001 (copy_gui_item): new function.
10002 (gui_item_id_hash): revert to standard hash.
10003 (gui_item_hash): ditto.
10004 (gui_item_hash_internal): deleted.
10005 (mark_gui_item): mark value.
10006 (gui_item_add_keyval_pair): add value.
10007 (gui_item_init): ditto.
10008 (gui_add_item_keywords_to_plist): ditto.
10009 (gui_item_equal): ditto.
10010 (syms_of_gui): add Q_value.
10012 * glyphs-x.c (x_progress_gauge_update): use pending items and
10013 value for setting the state.
10014 (x_update_widget): don't set items from pending here.
10016 * glyphs-widget.c (update_widget): update items here.
10017 (progress_gauge_set_property): use items for storing value. Put
10018 new value in pending items.
10020 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
10021 items for new value. Convert percent -> value.
10022 (mswindows_tab_control_update): don't update items here.
10024 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
10025 (update_subwindow): ditto.
10026 (image_instance_changed): new function. Compare hash values and
10027 past and present widget items.
10028 (image_instantiate): We more careful about where we instantiate
10030 (image_instantiate): add error checking.
10032 * gutter.c (syms_of_gutter): use -hook.
10034 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
10036 * console-tty.c (Fset_console_tty_input_coding_system): Use
10038 (Fset_console_tty_output_coding_system): Use Qterminal.
10039 (tty_init_console): Use Qkeyboard and Qterminal.
10041 2000-03-21 Ben Wing <ben@xemacs.org>
10043 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
10044 From Mike Alexander <mta@arbortext.com>.
10046 2000-03-21 Ben Wing <ben@xemacs.org>
10048 * event-msw.c (mswindows_need_event): Horrible kludge to fix
10049 process brokenness. Proper implementation to come.
10051 Rename call-process-internal to old-call-process-internal.
10052 New impl. in process.el.
10054 2000-03-21 Martin Buchholz <martin@xemacs.org>
10056 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
10058 2000-03-20 Andy Piper <andy@xemacs.org>
10060 * glyphs.c (full_list_hash): make hashes of the same elements in
10061 different orders return different values.
10063 2000-03-20 Martin Buchholz <martin@xemacs.org>
10065 * XEmacs 21.2.32 is released.
10067 2000-03-20 Martin Buchholz <martin@xemacs.org>
10069 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
10070 (DFC_MALLOC_USE_CONVERTED_DATA):
10071 Add aliasing-safe casts to allow use with char* or unsigned char*
10074 * eldap.c (Fldap_open):
10075 (Fldap_search_basic):
10078 Make C++-compilable.
10079 Make sure GCPRO'ed variables are initialized.
10080 Use temp variables to avoid repeated calls to Flength.
10082 2000-03-16 Martin Buchholz <martin@xemacs.org>
10085 Make sure PATH_MAX is always defined.
10086 Include limits.h for PATH_MAX.
10087 Deprecate use of MAXPATHLEN.
10089 2000-03-10 Martin Buchholz <martin@xemacs.org>
10091 * emacs.c: Add reinit_vars_of_fileio.
10092 * symsinit.h: Add reinit_vars_of_fileio.
10093 * fileio.c (reinit_vars_of_fileio): New.
10094 * fileio.c (Fmake_temp_name):
10095 Initialize temp_name random number from microseconds to make
10096 collisions even less likely. Initialize always at process startup
10097 time. (make-temp-name) used to return the same file name twice in
10099 Random stylistic fiddling.
10102 2000-03-20 Andy Piper <andy@xemacs.org>
10104 * glyphs.c (image_instantiate): allow text glyphs to be
10105 instantiated in the minibuffer window.
10107 2000-03-19 Andy Piper <andy@xemacs.org>
10109 * glyphs.c (image_instance_hash): be careful about which items we
10112 * glyphs-widget.c (tab_control_set_property): record into pending
10113 items rather than the actual items.
10115 * glyphs-x.c (x_update_widget): use pending items to update with.
10117 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10120 * glyphs.c (mark_image_instance): mark pending items.
10122 * window.c (Fset_window_configuration): record the buffer.
10123 (Fselect_window): totally revert previous change which breaks many
10126 2000-03-18 Andy Piper <andy@xemacs.org>
10128 * glyphs-msw.c (mswindows_tab_control_update): force selected
10131 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10132 window domain cache, otherwise we get inconsistencies at
10133 startup. There is something fishy at startup which can lead to the
10134 minibuffer being the selected window when the gutter content is
10137 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10139 (parse_gui_item_tree_children): ditto.
10140 (parse_gui_item_tree_item): ditto.
10142 * glyphs.c (Fupdate_widget_instances): return something.
10144 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10146 * window.c (Fselect_window): Undo 2000-03-17 change.
10148 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10150 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10151 against v7.0 libraries. Insta-coredump city until the postgres
10154 2000-03-17 Andy Piper <andy@xemacs.org>
10156 * faces.c (complex_vars_of_faces): don't give the widget face an
10157 inherited background pixmap.
10159 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10162 * event-stream.c (Fdispatch_non_command_events): return something.
10164 * gutter.c (output_gutter): use widget face.
10165 (clear_gutter): ditto.
10167 * NEWS: adjust again.
10169 * window.c (Fselect_window): make sure this runs to completion to
10170 avoid oddities with Fset_window_configuration.
10171 (Fcurrent_window_configuration): in general do not save the
10172 minibuffer as the selected window.
10174 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10176 2000-03-16 Olivier Galibert <galibert@pobox.com>
10178 * emacs.c (Frunning_temacs_p): Revert previous patch.
10179 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10181 2000-03-16 Andy Piper <andy@xemacs.org>
10183 * glyphs-x.c (x_tab_control_update): if no widget values then
10186 * NEWS: update for new features.
10188 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10189 synthetic event to the native system.
10190 (reinit_vars_of_event_Xt): set force_event_pending to
10191 emacs_Xt_force_event_pending.
10193 * events.h (struct event_stream): add force_event_pending.
10195 * specifier.c (recompute_one_cached_specifier_in_window): add
10198 * redisplay.c (redisplay_frame): don't call
10199 update_frame_subwindows. Reset subwindow cachels when
10200 subwindows_changed, removing this was an optimization too far.
10202 * redisplay-output.c (compare_runes): reorganize so that we catch
10203 glyph changes when we want them. Set optimize_output when this
10204 would help layouts.
10205 (redisplay_output_layout): remove frame_really_changed, use
10206 optimize_output instead.
10208 * redisplay-msw.c (mswindows_output_display_block): reset
10209 optimize_output after outputting a glyph.
10210 * redisplay-x.c (x_output_display_block): ditto.
10211 * redisplay-tty.c (tty_output_display_block): ditto.
10213 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10215 (gutter_specs_changed): do specific gutter positions.
10216 (top_gutter_specs_changed): new function. Only update the
10217 specified gutter specs.
10218 (bottom_gutter_specs_changed): ditto.
10219 (left_gutter_specs_changed): ditto.
10220 (right_gutter_specs_changed): ditto.
10222 * gui.c (gui_item_hash_internal): new function, does a real hash.
10223 (gui_item_id_hash): use it.
10224 (gui_item_hash): hash the eval'ed gui_item.
10226 * gui-x.c (popup_selection_callback): send an eval event to call
10227 Fupdate_widget_instances.
10229 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10230 to call Fupdate_widget_instances.
10232 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10233 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10235 * glyphs.c: (update_frame_subwindows): deleted.
10236 (Fupdate_widget_instances): new function for updating the dirty
10237 state of widgets that might have changed.
10238 (syms_of_glyphs): add Qupdate_widget_instances.
10239 (full_list_hash): hash a list completely.
10240 (image_instance_hash): use it for items and properties.
10242 * frame-msw.c (mswindows_size_frame_internal): remove unused
10245 * faces.h (struct face_cachel): fix comment.
10247 * event-stream.c (Fdispatch_non_command_events): new
10248 function. Process non-command events, forcing an event cycle
10250 (syms_of_event_stream): declare.
10251 (event_stream_force_event_pending): new function. Force an event
10252 on the native event queue so that an event cycle will occur next
10256 (struct ntpipe_shove_stream):
10257 (mswindows_enqueue_dispatch_event):
10258 (mswindows_dequeue_dispatch_event):
10259 (mswindows_cancel_dispatch_event):
10260 (mswindows_pump_outstanding_events):
10261 (mswindows_drain_windows_queue):
10262 (mswindows_handle_paint):
10263 (mswindows_wnd_proc):
10264 (mswindows_key_to_emacs_keysym):
10265 (get_process_input_waitable):
10266 (emacs_mswindows_delete_stream_pair): re-indent file.
10267 (mswindows_need_event): do not process further fds if the windows
10268 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10269 fixes the 100% cpu problem.
10270 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10272 2000-03-15 Olivier Galibert <galibert@pobox.com>
10278 * emacs.c: Moved dump file searching to dumper.c.
10279 (Frunning_temacs_p): Fixed.
10281 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10282 last_lrecord_type_index_assigned.
10284 2000-02-20 Olivier Galibert <galibert@pobox.com>
10286 * symsinit.h: Added reinit parameter to init_console_stream
10289 * lisp.h: Added file parameter to pdump_load declaration.
10291 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10292 support. Added dump file searching.
10294 * config.h.in: Added EMACS_PROGNAME.
10296 * console-stream.c (init_console_stream): Fix reinitialisation
10297 when running from temacs.
10299 * alloc.c (pdump): Add id support.
10300 (pdump_load): Add file parameter and signature/id support.
10302 * Makefile.in.in: Add full pdump support.
10304 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10306 * postgresql.c: Update documentation to reflect latest code
10308 (print_result): Show tuple counts in printed representation when
10310 (Fpq_put_nbytes): MULE-ize.
10311 (Fpq_get_line_async): Ditto.
10313 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10315 * postgresql.c (Fpq_lo_import): Fix return value.
10316 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10318 2000-03-13 Ben Wing <ben@xemacs.org>
10320 * alloc.c (pdump_load):
10321 Fix compile warning under mswin.
10323 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10325 * postgresql.c: Mule-ization, bug fixes.
10326 Use PG_CODING to encapsulate coding system name changes.
10327 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10328 (pg-coding-system): Create.
10330 (Fpq_conn_defaults): Mule-ize.
10331 (Fpq_connectdb): Mule-ize & bug fix.
10332 (Fpq_connect_start): Mule-ize.
10333 (Fpq_set_client_encoding): Mule-ize.
10334 (Fpq_finish): Document `DEAD' connection status.
10335 (Fpq_clear): Ditto.
10336 (Fpq_pgconn): Mule-ize.
10337 (Fpq_exec): Mule-ize & bug fix.
10338 (Fpq_send_query): Ditto.
10339 (Fpq_get_result): Ditto.
10340 (Fpq_res_status): Mule-ize.
10341 (Fpq_result_error_message): Mule-ize.
10342 (Fpq_ntuples): fix comments.
10343 (Fpq_fname): Mule-ize.
10344 (Fpq_fnumber): Mule-ize.
10345 (Fpq_ftype): fix comments.
10346 (Fpq_get_value): Mule-ize.
10347 (Fpq_cmd_status): Ditto.
10348 (Fpq_cmd_tuples): Ditto.
10349 (Fpq_oid_value): Ditto.
10350 (Fpq_notifies): Ditto.
10351 (Fpq_lo_import): Ditto.
10352 (Fpq_lo_export): Ditto.
10353 (Fpq_get_line): Ditto.
10354 (Fpq_put_line): Mule-ize and bug fix.
10355 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10357 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10359 * postgresql.c (vars_of_postgresql): Mule-ize.
10360 (Fpq_conn_defaults): Ditto.
10362 2000-03-12 Ben Wing <ben@xemacs.org>
10364 * alloc.c (Fmake_byte_code):
10365 * alloc.c (debug_string_purity_print):
10366 * alloc.c (pdump_backtrace):
10367 * alloc.c (pdump_get_indirect_count):
10368 * alloc.c (pdump_register_sub):
10369 * alloc.c (pdump_register_object):
10370 * alloc.c (pdump_register_struct):
10371 * alloc.c (pdump_dump_data):
10372 * alloc.c (pdump_reloc_one):
10376 * console-msw.c (GetConsoleHwnd):
10377 * console-msw.c (msw_hide_console):
10378 * console-msw.c (msw_show_console):
10379 * console-msw.c (msw_ensure_console_buffered):
10380 * console-msw.c (msw_output_console_string):
10381 * console-msw.c (console_type_create_mswindows):
10383 a) Added functions to manipulate the console window for use with
10386 b) Added support for writing text to the console, which is now
10387 used under Windows when xemacs is not being run non-interactively,
10388 to write text that would otherwise be destined for stdout because
10389 under these circumstances, text written to stdout tends to
10390 disappear and not be seen.
10394 * event-Xt.c (x_event_to_emacs_event):
10395 * event-Xt.c (describe_event_window):
10396 * events-mod.h (XEMACS_MOD_CONTROL):
10398 * events.c (Fmake_event):
10399 * events.c (character_to_event):
10400 * events.c (event_to_character):
10401 * events.c (format_event_object):
10402 * events.c (Fevent_modifiers):
10404 * events.h (struct key_data):
10405 * events.h (struct button_data):
10406 * events.h (struct misc_user_data):
10407 * frame-x.c (Fcde_start_drag_internal):
10408 * frame-x.c (Foffix_start_drag_internal):
10409 * gpmevent.c (Freceive_gpm_event):
10411 * keymap.c (bucky_sym_to_bucky_bit):
10412 * keymap.c (control_meta_superify):
10413 * keymap.c (make_key_description):
10414 * keymap.c (keymap_lookup_directly):
10415 * keymap.c (create_bucky_submap):
10416 * keymap.c (keymap_store):
10417 * keymap.c (define_key_check_and_coerce_keysym):
10418 * keymap.c (define_key_parser):
10419 * keymap.c (define_key_alternate_name):
10420 * keymap.c (Fdefine_key):
10421 * keymap.c (raw_lookup_key_mapper):
10422 * keymap.c (struct map_keymap_unsorted_closure):
10423 * keymap.c (map_keymap_unsorted_mapper):
10424 * keymap.c (map_keymap_sort_predicate):
10425 * keymap.c (map_keymap_sorted):
10426 * keymap.c (accessible_keymaps_mapper_1):
10427 * keymap.c (where_is_recursive_mapper):
10428 * keymap.c (describe_map_mapper):
10429 * keymap.c (describe_map_sort_predicate):
10430 * keymap.c (describe_map):
10431 * keymap.c (complex_vars_of_keymap):
10432 And a number of other files, the key modifier preprocessor
10433 constants that xemacs uses have names that conflict with constants
10434 defined under MS Windows for other purposes, so they were renamed
10435 to begin with the prefix XEMACS_. The variables that hold such
10436 modifiers were changed to consistently be of type int to fix
10437 various compile warnings.
10439 * console.c (complex_vars_of_console):
10442 * device-msw.c (mswindows_finish_init_device):
10443 * device-msw.c (msw_get_workspace_coords):
10444 * device-msw.c (mswindows_device_system_metrics):
10445 and various other files, added support for a new
10446 device property called offset-workspace which returns the position
10447 of the upper left corner of the workspace area and goes along with
10448 the existing size-workspace property.
10451 * dialog-msw.c (push_bufbyte_string_as_unicode):
10452 * dialog-msw.c (mswindows_popup_dialog_box):
10453 Added support for XEmacs-style accelerator specifications in
10454 button text. Note: I didn't add support for this under X Windows,
10455 and somebody needs to do this.
10458 * dialog.c (Fpopup_dialog_box):
10459 Documented the support for accelerators that was just mentioned.
10461 editfns.c (get_home_directory): Changed behavior under Windows
10462 when HOME not defined; former behavior was irretrievably broken.
10465 * emacs.c (main_1):
10467 * minibuf.c (clear_echo_area_internal):
10468 * minibuf.c (echo_area_append):
10470 * print.c (std_handle_out_external):
10471 * print.c (std_handle_out_va):
10473 * print.c (write_string_to_stdio_stream):
10474 * print.c (output_string):
10475 * print.c (debug_print):
10476 * print.c (debug_backtrace):
10477 * print.c (debug_short_backtrace):
10478 Cleaned up the code that prints text to stdout so that this can be
10479 changed to output into a console window instead under MS Windows,
10480 as described above.
10483 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10484 * eval.c (internal_catch):
10485 * eval.c (unwind_to_catch):
10486 * eval.c (throw_or_bomb_out):
10487 * eval.c (condition_case_1):
10488 * eval.c (signal_1):
10489 * eval.c (check_error_state_sanity):
10490 * eval.c (call_with_suspended_errors_1):
10491 * eval.c (call_with_suspended_errors):
10492 * eval.c (reinit_vars_of_eval):
10493 Added code to catch throw loops and check for a pesky bug that may
10497 * event-msw.c (key_needs_default_processing_p):
10498 * event-msw.c (mswindows_wnd_proc):
10499 * event-msw.c (mswindows_modifier_state):
10500 * event-msw.c (emacs_mswindows_quit_p):
10501 * event-msw.c (vars_of_event_mswindows):
10502 a) Added support for using the alt key to select menu items as is
10503 standard under MS Windows. This is controlled using the variable
10504 menu-accelerator-enabled, just like under X Windows. There is an
10505 option on the options menu to turn this support on. I really
10506 think that it should be on by default under Windows, but I'm not
10507 going to make this change yet.
10509 b) Added support for dynamic display size changes under Windows.
10512 * event-stream.c (maybe_echo_keys):
10513 * event-stream.c (Fnext_event):
10514 * event-stream.c (command_builder_find_leaf):
10515 * event-stream.c (lookup_command_event):
10516 * event-stream.c (execute_command_event):
10517 * event-stream.c (pre_command_hook):
10518 * event-stream.c (post_command_hook):
10519 * event-stream.c (syms_of_event_stream):
10520 * event-stream.c (vars_of_event_stream):
10521 * event-stream.c (complex_vars_of_event_stream):
10522 * events.h (struct command_builder):
10524 a) Tried to clean up a little bit the horribly written x-specific
10525 accelerator code that crept into this file. I moved this code
10526 into menubar-x.c where it belongs. I also needed to move the
10527 command builder structure into the file events.h because it is
10528 accessed directly by this accelerator code. What I didn't do, but
10529 which should be done at some point, is to properly abstract this
10530 code using device methods instead of the kludgy way that it
10531 currently hooks into the event code.
10533 b) Added the lisp variables this-command-properties and
10534 last-command- properties, which should be used to synchronize two
10535 adjacent commands in preference to playing games with the variable
10536 this-command, which is typically what happens.
10538 c) Added some slightly nasty code to hook into the lisp support
10539 for shifted- motion-key selection. This is actually necessary for
10540 somewhat complicated reasons, which are described in
10541 simple.el. (NB: I think the proper thing would be to have the code
10542 that calls the pre and post command hooks also call out to generic
10543 lisp functions in simple.el, where all built-in stuff could be
10544 added. I will think about this more.)
10546 * event-unixoid.c (poll_fds_for_input):
10547 * lread.c (readchar):
10548 * redisplay-tty.c (tty_clear_frame):
10549 * redisplay-x.c (x_get_gc):
10550 * signal.c (interrupt_signal):
10551 And a whole bunch of other files: fixed up places that printed
10552 directly to stderr to instead call the function stderr_out so that
10553 the changes I made under Windows work correctly.
10555 * filemode.c (mode_string):
10559 * frame-msw.c (mswindows_size_frame_internal):
10560 Fixed the computation of frame size and position to keep the frame
10561 within the workspace area, rather than within the physical
10562 dimensions of the screen, so that the frame doesn't overlap window
10563 manager decorations, such as the start menu and toolbar, typically
10564 at the bottom of the screen.
10566 * frame.c (vars_of_frame):
10567 Changed the default frame title format under MS Windows to consist
10568 of buffername-XEmacs, which is standard under MS Windows. I think
10569 it might be a good idea to change this everywhere because I think
10570 it is superior to the current frame title format, but this is the
10571 kind of change that is likely to cause some people to get annoyed,
10572 so I'm not making it.
10574 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10576 * gui-msw.c (mswindows_handle_gui_wm_command):
10577 Fixed compile warnings.
10580 * gui-x.c (strdup_and_add_accel):
10581 * gui-x.c (button_item_to_widget_value):
10583 Added code to automatically put an accelerator onto the beginning
10584 of menu items that don't have one as is now the standard, and is
10585 described more later. Also fixed things so that the menu item
10586 name can be an evaluated expression, again a new standard.
10589 * gui.c (gui_item_add_keyval_pair):
10590 * gui.c (make_gui_item_from_keywords_internal):
10591 * gui.c (gui_add_item_keywords_to_plist):
10592 * gui.c (gui_item_accelerator):
10593 * gui.c (gui_name_accelerator):
10594 * gui.c (gui_item_included_p):
10595 * gui.c (gui_item_display_flush_left):
10596 * gui.c (gui_item_display_flush_right):
10597 * gui.c (parse_gui_item_tree_item):
10598 * gui.c (parse_gui_item_tree_children):
10599 * gui.c (parse_gui_item_tree_list):
10600 Mule-ized. Cleanup. GCPRO addition.
10602 * line-number.c (buffer_line_number):
10604 * lisp.h (EMACS_INT_MAX):
10605 Added the manifest constant EMACS_INT_MIN corresponding to the
10606 existing constant EMACS_INT_MAX. This is partially to fix compile
10607 warnings under Windows, and partly for cleanliness.
10610 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10611 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10612 * menubar-msw.c (displayable_menu_item):
10613 * menubar-msw.c (populate_menu_add_item):
10614 * menubar-msw.c (populate_or_checksum_helper):
10615 * menubar-msw.c (populate_menu):
10616 * menubar-msw.c (update_frame_menubar_maybe):
10617 * menubar-msw.c (prune_menubar):
10618 * menubar-msw.c (msw_char_is_accelerator):
10619 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10620 * menubar-msw.c (mswindows_handle_wm_command):
10621 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10622 * menubar-msw.c (mswindows_handle_wm_initmenu):
10623 * menubar-msw.c (mswindows_update_frame_menubars):
10624 * menubar-msw.c (mswindows_free_frame_menubars):
10625 * menubar-msw.c (mswindows_popup_menu):
10626 Fixed a bug in handling accelerators where an extra character
10627 would be displayed in the menu item. Also generalized the
10628 function displayable_menu_item because it is now used by the
10629 dialog box code as well. And finally, added code in the functions
10630 that create the menubar to extract a list of accelerators for the
10631 top level menubar, which is used in the event code to determine
10632 whether a particular alt-key combination should be used to invoke
10633 a menu item, or should be passed through to access the standard
10634 XEmacs keymap binding for this key combination.
10636 Much needed GCPROing.
10639 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10640 * menubar-x.c (menu_item_descriptor_to_widget_value):
10641 * menubar-x.c (restore_in_menu_callback):
10642 * menubar-x.c (x_popup_menu):
10643 * menubar-x.c (menu_move_up):
10644 * menubar-x.c (menu_move_down):
10645 * menubar-x.c (menu_move_left):
10646 * menubar-x.c (menu_move_right):
10647 * menubar-x.c (menu_select_item):
10648 * menubar-x.c (command_builder_operate_menu_accelerator):
10649 * menubar-x.c (menu_accelerator_junk_on_error):
10650 * menubar-x.c (command_builder_find_menu_accelerator):
10651 * menubar-x.c (Faccelerate_menu):
10653 Moved a whole bunch of code here that was previously in
10654 event-stream.c as described above. There is also code connected
10655 to the new standard of adding an accelerator to the beginning of
10656 menu items that don't have one as described above and below.
10659 * menubar.c (menu_parse_submenu_keywords):
10660 * menubar.c (Fmenu_find_real_submenu):
10661 * menubar.c (Fnormalize_menu_item_name):
10662 * menubar.c (syms_of_menubar):
10663 * menubar.c (vars_of_menubar):
10664 * menubar.c (complex_vars_of_menubar):
10666 a) Cleaned up a bunch of documentation and improved it.
10668 b) XEmacs now automatically adds an accelerator onto the beginning
10669 of any menu items that don't have one. I did this because there
10670 will inevitably be some menu items on the main menubar that don't
10671 have accelerators on them because the package that adds that
10672 particular menu item hasn't yet been fixed up to have accelerators
10673 in them and it looked rather strange to have some items with and
10674 some items without accelerators, especially since even in items
10675 without accelerators, you can, at least under windows, still
10676 access the item through an accelerator corresponding to the first
10677 character in the item's name. If people don't like this behavior,
10678 I can add a variable to turn it off optionally, but I'm not sure
10679 this is a good idea because we really do need to have accelerators
10680 on all of the menu items, and if a package doesn't like the
10681 accelerators being put on the first character, then it should put
10682 the accelerators where they belong.
10684 c) I made a behavior change, which is that the descriptor that
10685 specifies the text of the menu item, which formerly was just a
10686 string, can now also be an evaluated expression. This makes this
10687 descriptor parallel with all of the others, which could also be
10688 evaluated expressions. This also obviates the need for the
10689 keyword :label, which was previously listed in the documentation
10690 as unimplemented, and which was for the same purpose.
10695 * ntproc.c (new_child):
10696 * ntproc.c (sys_spawnve):
10697 * ntproc.c (find_child_console):
10698 * ntproc.c (sys_kill):
10699 Fixed compile warnings. By the way, this file should really go
10700 away entirely, and this will happen as soon as Kirill makes his
10701 final round of process cleanups, which affect the function
10705 * process-nt.c (struct nt_process_data):
10706 * process-nt.c (find_process_from_pid):
10707 * process-nt.c (send_signal_the_nt_way):
10708 * process-nt.c (enable_child_signals):
10709 * process-nt.c (find_child_console):
10710 * process-nt.c (send_signal_the_95_way):
10711 * process-nt.c (nt_finalize_process_data):
10712 * process-nt.c (ensure_console_window_exists):
10713 * process-nt.c (nt_create_process):
10714 * process-nt.c (nt_kill_child_process):
10715 * process-nt.c (nt_kill_process_by_pid):
10716 * process-nt.c (nt_open_network_stream):
10717 * process-nt.c (vars_of_process_nt):
10718 Copied over code from Emacs 20.5 to correctly send signals to sub-
10719 processes under Windows 95. Also added code to automatically
10720 create and hide console window when a sub-process is created under
10721 Windows 95, which obviates the need for the separate runemacs.exe
10722 executable, and finally implemented some variables that were
10723 implemented in Emacs 20.5, but previously not in XEmacs. These
10724 include mswindows- start-process-share-console and
10725 mswindows-start-process-inherit-error-mode. (Both of these only
10726 apply to Windows 95.)
10728 * regex.c (regex_compile): Fixed a compile warning.
10731 * select-msw.c (mswindows_own_selection):
10732 * select-msw.c (mswindows_get_foreign_selection):
10733 * select-msw.c (mswindows_disown_selection):
10734 * select-msw.c (console_type_create_select_mswindows):
10735 * select-msw.c (syms_of_select_mswindows):
10736 Cleaned up the file and implemented the device method
10737 selection_exists_p, which had accidentally been left out. Also
10738 removed four lisp functions that were remnants from before the
10739 time when the selection code was properly device abstracted.
10740 These functions are no longer needed because there are generic
10741 equivalents, and because they were added recently and don't exist
10742 in FSF Emacs, I don't think there's any problem with just deleting
10746 * sysdep.c (sys_subshell):
10747 Fixed a compile warning, although in this case there's probably
10748 something wrong with this code, and it ought to be looked into
10749 more thoroughly by somebody who understands it.
10752 * window.c (Fwindow_text_area_height):
10753 * window.c (Fwindow_width):
10754 * window.c (Fwindow_full_width):
10755 * window.c (Fwindow_pixel_width):
10756 * window.c (debug_print_window):
10757 * window.c (syms_of_window):
10758 Added functions window-text-area-height and window-full-width,
10759 which are functions for returning various width and height
10760 characteristics of a window. (One of these functions is necessary
10761 for making the file dialog box work correctly, and the other one
10762 was added for completeness.) Also added a table to the
10763 documentation for window-height which describes the entire scheme
10764 for accessing width and height characteristics of a window.
10766 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10768 * nt.c (fstat): Added a comment for another problem with
10769 non-encapsulated [f]stat(), reported by Adrian Aichner
10770 <aichner@ecf.teradyne.com>.
10772 2000-03-11 Andy Piper <andy@xemacs.org>
10774 * window.c (make_dummy_parent): initialize subwindow instance
10776 (Fset_window_configuration): zero extent_modiff.
10778 2000-03-10 Andy Piper <andy@xemacs.org>
10780 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
10781 more changes can be triggered.
10782 (Fredisplay_frame): ditto.
10783 (Fredraw_device): ditto.
10784 (Fredisplay_device): ditto.
10785 (redisplay_frame): make non-static.
10786 (redisplay_frame): call update_frame_gutter_geometry outside of
10789 * gutter.h: declare update_frame_gutter_geometry.
10791 * redisplay.h: declare redisplay_frame.
10793 * gutter.c (update_frame_gutter_geometry): move geometry changes
10794 in update_frame_gutters here. Geometry changes can only occur
10795 outside of redisplay.
10796 (update_frame_gutters): remove geometry change code.
10797 (Fredisplay_gutter_area): make sure that we are in display when we
10798 update and that we have flushed any size changes.
10800 2000-03-11 Andy Piper <andy@xemacs.org>
10802 * alloc.c (pdump_dump_data): remove i & count shadows.
10804 2000-02-27 Mike Alexander <mta@arbortext.com>
10806 * sysdep.h: Declare pdump_read_file
10808 * sysdep.c (pdump_read_file): New function
10810 * alloc.c (pdump_load): Call pdump_read_file to get the portable
10813 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10815 * lrecord.h: add `lrecord_type_pgsetenv'.
10817 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
10819 * symsinit.h: declare (vars|syms)_of* functions.
10820 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
10822 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
10824 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
10826 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
10829 * emacs.c (main_1): Call postgres initialization code.
10831 * postgresql.h: New file. PostgreSQL RDBMS support.
10832 * postgresql.c: New file.
10834 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
10836 * redisplay-output.c (redisplay_output_display_block): Disable
10839 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10841 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
10842 (Fcanna_henkan_next): Ditto.
10843 (Fcanna_bunsetu_henkou): Ditto.
10844 (Fcanna_henkan_kakutei): Ditto.
10845 (Fcanna_henkan_end): Ditto.
10846 (Fcanna_henkan_quit): Ditto.
10847 (Fcanna_henkan_next): Set retun value correctly.
10848 (c2mu): Use unsigned char instead of signed char.
10850 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10852 * emacs.c (main_1): Always call syms_of_gui.
10853 * inline.c: include gui.h
10855 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10857 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
10858 converted to Lisp_Object.
10859 (Qtop_bottom): New variable.
10860 (syms_of_redisplay): Initialize it.
10861 * redisplay.h (Vvisible_bell): Ditto.
10862 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
10863 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
10864 only flash top and bottom.
10866 2000-03-08 Andy Piper <andy@xemacs.org>
10868 * buffer.c (Frename_buffer): record new buffer name the right way.
10870 2000-03-08 Andy Piper <andy@xemacs.org>
10872 * glyphs.c (update_subwindow): increase hash depth so that widget
10873 items get picked up properly.
10875 * redisplay-output.c (compare_runes): increase hash depth so that
10876 widget items get picked up properly.
10878 2000-03-08 Andy Piper <andy@xemacs.org>
10880 * gutter.c (output_gutter): add some debug.
10882 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
10883 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
10884 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
10886 * redisplay-output.c (compare_runes): use display_hash to
10887 determine if glyphs really are not the same.
10889 * glyphs.c (update_subwindow): check display_hash to see if
10890 anything really needs to be updated. If not then do
10891 nothing. Record the display_hash after updating.
10892 (image_instance_equal): compare the image_instance face also.
10894 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
10896 * redisplay.h: Fix comment style.
10898 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
10900 * consle-msw.h (struct mswindows_frame):
10901 Added new member paint_pending to indicate whether a WM_PAINT
10902 magic event has been queued for this frame.
10904 * event-msw.c (mswindows_drain_windows_queue):
10905 Don't queue a WM_PAINT magic event if one is already queued.
10906 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
10908 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
10910 2000-03-07 Didier Verna <didier@xemacs.org>
10912 * dired.c: #include `regex.h' after `sysfile.h'.
10914 2000-03-06 Martin Buchholz <martin@xemacs.org>
10916 * sound.c (init_nas_sound): Fix compiler warning.
10918 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
10920 (MARK_STRUCT_AS_FREE):
10921 (MARK_STRUCT_AS_NOT_FREE):
10922 Make `gcc -fstrict-aliasing' work properly.
10924 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
10926 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
10927 (mswindows_delete_device): Call CoUnnitialize().
10929 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
10931 2000-02-25 <CraigL@DyCon.com>
10933 * process-nt.c: MinGW now has <shellapi.h>, but still needs
10936 * sysdep.c: This extern declaration for environ prevents MinGW
10937 from finding the variable in CRTDLL.DLL.
10939 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
10941 (SHGFI_EXETYPE): ..
10942 (WM_MOUSEWHEEL): ..
10943 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
10945 (MMRESULT): Removed, now defined in cygwin's windows headers.
10947 (uid_t,gid_t,pid_t,ssize_t): ..
10948 (_timeb): Removed, MinGW defines both _timeb and timeb.
10949 (HAVE_H_ERRNO): Added.
10950 (HAVE_TZNAME): Added, configure is not detecting this.
10952 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
10954 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
10955 * syntax.c (syntax_match): Use it.
10957 * cmds.c: Import auto-fill-chars from FSF Emacs.
10958 (Vauto_fill_chars): New variables.
10959 (internal_self_insert): Check Vauto_fill_chars.
10961 Declare auto-fill-chars as a Lisp variable and initialize it.
10963 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10965 * fileio.c (Fmake_symbolic_link):
10967 Run handlers even if local machine doesn't have symlinks.
10969 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10971 * event-msw.c (mswindows_drain_windows_queue):
10972 Don't generate paint magic events for non-XEmacs frames.
10974 2000-03-05 Andy Piper <andy@xemacs.org>
10976 * redisplay.c (redisplay_frame): generate_displayable_area and
10977 friends assumes that we are not in GC, we therefore have to make
10978 sure that this doesn't happen.
10980 * gutter.c (calculate_gutter_size): generate_displayable_area
10981 assumes that we are not in GC, we therefore have to make sure that
10982 this doesn't happen.
10984 2000-03-05 Martin Buchholz <martin@xemacs.org>
10986 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
10988 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10990 * redisplay.c (regenerate_window): Make sure we set a sane value
10991 for end_pos even if we jump out of the loop.
10992 (regenerate_window): Answer Ben's question :-).
10993 (start_end_of_last_line): Add may_error argument.
10994 (start_of_last_line):
10995 (end_of_last_line): Pass may_error = 0.
10996 (end_of_last_line_may_error): New function.
10997 (pixel_to_glyph_translation): Use it, so we don't crash in
11000 2000-03-04 Andy Piper <andy@xemacs.org>
11002 * window.h (struct window): add gutter_extent_modiff.
11004 * window.c (allocate_window): zero out gutter_extent_modiff.
11006 * redisplay.h: declare sync_display_line_structs.
11008 * redisplay.c (add_glyph_rune): add a better comment.
11010 * redisplay-output.c (sync_display_line_structs): made non-static.
11011 (compare_runes): remove unneccesary glyph cachel access.
11013 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
11015 * gutter.c (output_gutter): don't output the gutter if extent
11016 changes only involve extents in buffers. use 4 sets of display
11018 (gutter_extent_signal_changed_region_maybe): new function. Mark
11019 extents in gutters as changed.
11020 (update_frame_gutters): use 4 sets of display lines.
11021 (reset_gutter_display_lines): ditto.
11022 (free_frame_gutters): ditto.
11023 (redraw_exposed_gutter): force output of gutters.
11025 * frame.h (struct frame): add 4 sets of gutter display lines.
11027 * extents.c: (extent_changed_for_redisplay): signal changes to
11028 extents in strings in the gutter as well as extents in buffers.
11030 2000-03-02 Andy Piper <andy@xemacs.org>
11032 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
11034 * frame.c (Fmake_frame): make sure the gutters get initialized
11035 after the frame is visible.
11036 (set_frame_selected_window): re-arrange compilation macros a
11038 (change_frame_size_1): mark gutters changed.
11040 * device.c (Fset_device_class): mark gutters changed.
11042 2000-03-01 Andy Piper <andy@xemacs.org>
11044 * window.c (window_top_frame_gutter_height): deleted.
11045 (window_bottom_frame_gutter_height): ditto.
11046 (window_left_frame_gutter_height): ditto.
11047 (window_right_frame_gutter_height): ditto.
11048 (window_top_gutter_height): don't use them.
11049 (window_bottom_gutter_height): ditto.
11050 (window_left_gutter_width): ditto.
11051 (window_right_gutter_width): ditto.
11052 (Fsplit_window): ditto.
11053 (Fwindow_pixel_edges): don't use border dimensions here.
11055 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
11056 (update_scrollbar_instance): ditto.
11058 * redisplay.c (generate_modeline): don't take gutters into account.
11059 (generate_modeline): ditto.
11060 (redisplay_frame): small gutter display optimization.
11062 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
11064 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
11065 gutters into account.
11067 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
11068 for window position and type.
11070 * gutter.c (get_gutter_coords): fix for frame gutters.
11071 (update_frame_gutters): update frame geometry if the gutters have
11073 (init_frame_gutters): record current gutter geometries.
11075 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
11077 (mswindows_widget_instantiate): ditto.
11079 * frame.h (struct frame): add current_gutter_bounds.
11081 * frame.c (change_frame_size_1): position window and minibuffer
11082 appropriately taking into account the frame gutters.
11084 * frame-x.c: (x_initialize_frame_size): take into account the
11087 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11089 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11091 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11093 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11095 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11097 * file-coding.c (reset_decoding_stream): Clear previous
11098 detection state when autodetect.
11100 2000-02-29 Didier Verna <didier@xemacs.org>
11102 * extents.c (set_extent_glyph_1): don't require extents to be
11105 2000-02-27 Andy Piper <andy@xemacs.org>
11107 * gutter.c (Fset_default_gutter_position): don't default left and
11108 right gutter visibility to t.
11109 (Fset_default_gutter_position): run
11110 default-gutter-position-changed-hook.
11111 (syms_of_gutter): add default-gutter-position-changed-hook.
11113 2000-02-26 Andy Piper <andy@xemacs.org>
11115 * specifier.c (Fmake_specifier): add gutter references.
11117 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11119 * lisp.h: declare Fvalid_plist_p.
11121 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11123 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11124 well as its visibility so that it gets reconstructed.
11125 (construct_window_gutter_spec): new function. Construct a string
11126 to be displayed in the gutter from a plist of strings. Take care
11127 to only use elements that are declared as visible.
11128 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11130 (gutter_validate): allow plists of strings in the specifier.
11131 (gutter_specs_changed): construct the real_gutter from the gutter
11132 specs using construct_window_gutter_spec.
11133 (gutter_visible_validate): gutter-visible is a new specifier type.
11134 (Fgutter_visible_specifier_p): new function for the new specifier.
11135 (syms_of_gutter): declare gutter-visible and
11136 Fgutter_visible_specifier_p.
11137 (specifier_type_create_gutter): intitalize new gutter-visible
11139 (reinit_specifier_type_create_gutter): ditto.
11140 (specifier_vars_of_gutter): use new specifier type for gutter
11142 (init_frame_gutters): construct real_gutter correctly.
11143 (Fgutter_specifier_p): beef up documentation.
11144 (Fgutter_size_specifier_p): ditto.
11146 * winslots.h: add real_gutter slots.
11148 2000-02-25 Andy Piper <andy@xemacs.org>
11150 * device-msw.c: Be kind to older cygwin versions. From Raymond
11151 Toy <toy@rtp.ericsson.se>.
11153 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11154 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11156 2000-02-25 Martin Buchholz <martin@xemacs.org>
11158 * elhash.c (MARK_OBJ): Practice macro hygiene.
11160 2000-02-24 Martin Buchholz <martin@xemacs.org>
11162 * miscplay.c: s/__inline__/inline/g;
11163 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11164 (get_device_compdc): INLINE ==> static inline
11165 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11166 find -name '*.h' | \
11167 xargs global-replace \
11168 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11170 2000-02-25 Andy Piper <andy@xemacs.org>
11172 * window.c (window_top_frame_gutter_height): new function.
11173 (window_top_window_gutter_height): ditto.
11174 (window_top_gutter_height): use them.
11175 (window_bottom_frame_gutter_height): new function.
11176 (window_bottom_window_gutter_height): ditto.
11177 (window_bottom_gutter_height): use them.
11178 (window_left_window_gutter_width): new function.
11179 (window_left_frame_gutter_width): ditto.
11180 (window_left_gutter_width): use them.
11181 (window_right_window_gutter_width): new function.
11182 (window_right_frame_gutter_width): ditto.
11183 (window_right_gutter_width): use them.
11184 (window_pixel_height): new function. calulate window pixel height
11185 with frame gutter involvement.
11186 (Fsplit_window): calculate new sizes taking frame gutters into
11188 (window_char_height_to_pixel_height): don't include frame gutters.
11189 (window_char_height): use window_pixel_height.
11190 (window_pixheight): rename from window_pixel_height.
11191 (change_window_height): use it.
11192 (window_pixel_height_to_char_height): don't include frame gutters.
11193 (window_char_width_to_pixel_width): ditto.
11195 2000-02-25 Andy Piper <andy@xemacs.org>
11197 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11200 2000-02-24 Martin Buchholz <martin@xemacs.org>
11202 * alloc.c (staticpro):
11203 (staticpro_nodump):
11208 (compact_string_chars):
11209 (pdump_dump_wired):
11210 Convert: if (foo) abort(); ==> assert (! foo);
11212 * eldap.c (Fldap_search_basic):
11216 Fix compiler warnings, and possible crashes if (random) return
11217 value were to be used.
11219 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11221 * device-msw.c: Workaround ResetDC failure.
11223 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11224 applying a devmode.
11226 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11227 (mswindows_text_width): Do not start printer page.
11229 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11231 * glyphs-msw.c: Added image methods to msprinter console and
11232 msprinter-specific image instantiation.
11234 2000-02-20 Mike Alexander <mta@arbortext.com>
11236 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11237 to avoid crashes when selection-sets-clipboard is on
11238 (mswindows_own_selection): ditto
11240 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11243 * redisplay-msw.c (get_frame_dc):
11244 (get_frame_compdc):
11246 * device-msw.c (mswindows_init_device):
11247 (mswindows_delete_device):
11248 (msprinter_init_device):
11249 (msprinter_delete_device):
11250 * frame-msw.c (mswindows_init_frame_1):
11251 (mswindows_delete_frame):
11252 (msprinter_init_frame_3):
11253 (msprinter_delete_frame): Move compatible DC to device object from
11254 frame object, for both mswindows and msprinter. Only one at a time
11255 is needed, it is a real waste to have one per frame!
11257 2000-02-23 Andy Piper <andy@xemacs.org>
11259 * glyphs.c: add dynamic width and height elements.
11260 (image_instance_equal): ditto.
11262 * glyphs-widget.c (widget_query_geometry): calculate width and
11263 height dynamically if required.
11264 (initialize_widget_image_instance): initialize dynamic dimensions.
11265 (widget_instantiate): pick-up dynamic dimensions.
11267 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11268 dynamic determination. Add appropriate macros.
11270 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11272 (WINDOW_GUTTER_SIZE): ditto.
11273 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11275 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11277 (get_frame_dc): ditto.
11279 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11282 2000-02-23 Martin Buchholz <martin@xemacs.org>
11284 * XEmacs 21.2.31 is released.
11286 2000-02-22 Ben Wing <ben@xemacs.org>
11288 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11290 2000-02-22 Andy Piper <andy@xemacs.org>
11292 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11294 2000-02-21 Mike Sperber <mike@xemacs.org>
11298 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11301 2000-02-21 Mike Sperber <mike@xemacs.org>
11303 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11305 2000-02-21 Martin Buchholz <martin@xemacs.org>
11307 * XEmacs 21.2.30 is released.
11309 2000-02-20 Martin Buchholz <martin@xemacs.org>
11311 Performance hacking.
11313 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11314 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11315 * emacs.c (main_1):
11317 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11318 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11319 * symeval.h (DEFVAR_SYMVAL_FWD):
11320 * symbols.c (guts_of_unbound_marker):
11321 Make all c_readonly objects also lisp_readonly and marked for life.
11322 * lrecord.h (struct lrecord_implementation):
11323 Document flags better.
11324 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11325 * lrecord.h (DECLARE_LRECORD):
11326 * lrecord.h (XSETRECORD):
11327 * lrecord.h (RECORDP):
11328 * lrecord.h (RECORD_TYPEP):
11329 * lrecord.h (RECORD_MARKER): New.
11330 * lrecord.h (error_check_*):
11331 * lrecord.h (CONCHECK_NONRECORD):
11332 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11333 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11334 * lrecord.h (set_lheader_implementation):
11335 * lrecord.h (enum lrecord_type): New.
11336 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11337 * alloc.c (disksave_object_finalization_1):
11338 * alloc.c (mark_object):
11339 * alloc.c (lrecord_type_index):
11340 * alloc.c (tick_lcrecord_stats):
11341 * alloc.c (Fgarbage_collect):
11342 * alloc.c (init_alloc_once_early):
11343 * alloc.c (pdump_load):
11344 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11345 * alloc.c (lrecord_type_index): Delete.
11346 Make lisp object type indexes be constant.
11347 Makes (byte-compile) 5% faster.
11348 Put all marker functions into their own array.
11349 Makes (garbage-collect) 5% faster.
11350 Optimize SYMBOL_VALUE_MAGIC_P.
11351 Makes (byte-compile) 2-3% faster.
11352 * config.h.in (gc_checking_assert): New.
11353 * alloc.c: Use gc_checking_assert().
11354 * .dbxrc: Make compatible with new object type implementation.
11355 * .gdbinit: Make compatible with new object type implementation.
11356 * alloc.c: Delete all symbols defined only for debugging, such as
11357 Lisp_Type_Vector and lrecord_charset.
11359 2000-02-21 Andy Piper <andy@xemacs.org>
11361 * gui-msw.c (Fmswindows_shell_execute): fix file location
11364 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11365 unshowing so that set_window_buffer doesn't undo
11366 kill_buffer_hook's hard work.
11368 * glyphs-widget.c (tab_control_query_geometry): don't count the
11369 first item when calculating geometry.
11371 * glyphs.c (map_subwindow): remove redundant code.
11372 (update_frame_subwindows): be more circumspect about when to
11375 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11376 when items haven't changed. Update faces if faces have changed as
11377 well as just the widget face.
11378 (x_tab_control_update): Update faces if faces have changed as well
11379 as just the widget face.
11381 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11383 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11385 (build_syscolor_string): Use mswindows_color_to_string to try to
11387 (mswindows_device_system_metrics): Reverse the foreground and
11388 background colors so that they match the documentation.
11390 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11391 they match the default Windows palette.
11392 (mswindows_color_to_string): New function.
11394 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11396 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11398 2000-02-18 Olivier Galibert <galibert@pobox.com>
11400 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11401 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11403 * symbols.c (init_symbols_once_early): Removed obsolete
11404 DATA_SEG_BITS related kludge.
11405 (defvar_magic): Ditto.
11407 * malloc.c: Removed obsolete DATA_SEG_BITS
11409 * mem-limits.h: Ditto.
11411 * Makefile.in.in: Removed obsolete HAVE_SHM
11414 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11416 * device-msw.c (mswindows_delete_device): Free DDE string
11419 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11421 * keymap.c (get_keyelt):
11422 * unexnt.c (unexec):
11423 * vm-limit.c (memory_warnings):
11424 * ntheap.c (recreate_heap):
11425 * ntheap.h (UNINIT_PTR):
11426 * select-msw.c (Fmswindows_get_clipboard):
11427 (Fmswindows_set_clipboard):
11428 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11430 * menubar-msw.c (displayable_menu_item):
11432 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11433 * sysdep.c (sys_subshell):
11434 * process-nt.c (nt_create_process):
11435 * nt.c (normalize_filename):
11436 (dostounix_filename):
11437 (unixtodos_filename):
11438 * ntproc.c (win32_executable_type):
11439 * ntplay.c (play_sound_data_1):
11441 * editfns.c (get_home_directory):
11442 * event-msw.c (struct winsock_stream):
11443 (mswindows_dde_callback):
11444 * device-msw.c (msprinter_init_device):
11445 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11447 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11448 mswindows_clear_toolbar were swapped!
11450 * objects-msw.c:(colormap_t):
11452 * emacs.c (struct standard_args): Fixed const jumble.
11454 * glyphs-widget.c (update_widget): Fixed comparison notation.
11456 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11458 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11459 __declspec(noreturn) syntax.
11461 2000-02-19 Martin Buchholz <martin@xemacs.org>
11463 * eldap.c (Fldap_open):
11464 (Fldap_search_basic):
11467 Use new coding system conversion macros.
11469 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11471 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11473 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11475 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11476 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11478 * eldap.c (Qadd, Qreplace): New constant symbols
11479 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11480 interruptions by XEmacs signals
11481 Remove unnecessary calls to slow_down_interrupts and
11482 speed_up_interrupts
11483 (Fldap_search_basic): Renamed from Fldap_search_internal
11484 Added new optional parameter VERBOSE that triggers the
11485 display of progress messages
11486 Remove unnecessary calls to slow_down_interrupts and
11487 speed_up_interrupts
11488 LDAP result code analysis rewritten
11489 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11490 (syms_of_eldap): Define the new symbols and functions
11493 2000-02-17 Martin Buchholz <martin@xemacs.org>
11495 * realpath.c: Determine PATH_MAX maximally portably.
11497 * insdel.c (bytecount_to_charcount): Optimize.
11498 The function used to be optimized for entirely ASCII sequences.
11499 Now it is optimized for successive characters from the same
11500 charset. This also wins big for _mostly_ ASCII sequences.
11502 * fileio.c (Ffile_truename): convert return from realpath() using
11503 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11504 - Rewrite GCPROing slightly.
11506 * sysdep.c (sys_open): Do filename conversion, like all other
11507 sys_* functions. Fixes bug:
11508 (let ((file-name-coding-system 'iso-8859-2))
11509 (write-region x y latin2-name))
11510 ==> writes filename using internal encoding.
11512 2000-02-18 Martin Buchholz <martin@xemacs.org>
11514 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11515 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11516 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11517 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11518 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11519 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11520 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11521 (CONST_IF_NOT_DEBUG): Delete.
11522 * alloc.c (this_one_is_unmarkable): Delete.
11523 (mark_object): Don't check for this_one_is_unmarkable. Use the
11524 c_readonly flag instead.
11525 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11527 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11529 * event-msw.c (mswindows_drain_windows_queue):
11530 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11531 away redundant repaint events.
11533 2000-02-17 Andy Piper <andy@xemacs.org>
11535 * redisplay.h: declare mark_redisplay_structs.
11537 * redisplay.c (redisplay_window):
11538 (redisplay_frame): don't check subwindows_state_changed.
11539 (mark_redisplay): mark gutters here.
11541 * glyphs.c: (instantiate_image_instantiator): always layout if we
11542 haven't done so already.
11543 (allocate_image_instance): don't mark as dirty.
11544 (update_subwindow): bind inhibit_quit.
11546 * gutter.c (mark_gutters): new function.
11548 * glyphs-x.c (x_update_widget): Always resize to get round a
11551 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11552 breaking absolutely everything.
11554 * gutter.h: declare mark_gutters.
11556 2000-02-16 Martin Buchholz <martin@xemacs.org>
11558 * XEmacs 21.2.29 is released.
11560 2000-02-15 Olivier Galibert <galibert@pobox.com>
11562 * fns.c (size_bit_vector): Fix computation of the size.
11564 2000-02-15 Martin Buchholz <martin@xemacs.org>
11566 * *.[ch]: Change CONST to const globally.
11567 find -name '*.[ch]' | \
11568 xargs global-replace \
11569 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11570 - Remove vestigial references to CONST_IS_LOSING
11572 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11574 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11575 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11576 events instead of dispatching them directly.
11577 (mswindows_handle_paint): New function to do repainting.
11578 (mswindows_wnd_proc):
11579 (emacs_mswindows_handle_magic_event): Call above function.
11581 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11583 * objects-msw.c (mswindows_create_font_variant): Return the new
11585 (initialize_font_instance): Get font metrics from the underlined
11586 variant of the font to cope with the case where the underlined
11587 font has a bigger descent.
11589 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11591 * gui.c (gui_item_accelerator): Return the first underlined
11592 character in item name.
11594 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11596 * lisp.h: Added Qprinter.
11598 * general.c (syms_of_general): Initialized it.
11600 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11602 (get_frame_compdc): Made inline.
11604 * console.h (struct console_methods): Added eject_page method.
11606 * frame.h: Added FRAME_DISPLAY_P and friends.
11607 Aligned backslahes in many macros in more readable fashion.
11608 Added page_number to struct frame, and an accessor macro
11611 * defice.h: Added DEVICE_DISPLAY_P and friends.
11613 * device.c (Fdevice_printer_p): Used these.
11615 * frame.c (allocate_frame_core): Initialize page number.
11616 (Fprint_job_page_number):
11617 (Fprint_job_eject_page): Implemented.
11619 * frame-msw.c (msprinter_eject_page): Added method.
11620 (msprinter_start_page): Added.
11622 * window.c (Fwindow_truncated_p): Fixed docstring.
11623 (Fwindow_last_line_visible_height): Implemented.
11625 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11627 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11629 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11631 * syntax.c (scan_words): Always advance at least one character.
11633 2000-02-13 Andy Piper <andy@xemacs.org>
11635 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11636 to make sure the glyph is in the cachels.
11638 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11639 global image instance flag.
11640 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11641 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11643 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11644 (Fset_image_instance_property): mark layout as changed.
11645 (invalidate_glyph_geometry_maybe): mark layout as changed.
11646 (glyph_width): use new NEEDS_LAYOUT macro.
11647 (glyph_ascent): ditto.
11648 (glyph_descent): ditto.
11649 (glyph_height): ditto.
11650 (image_instance_layout): mark layout as clean after laying out.
11651 (update_subwindow): don't mark layout as clean here.
11653 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11654 should no longer be needed.
11656 * glyphs-x.c (x_update_widget): sanitize asserts.
11657 (x_finalize_image_instance): sanitize assignment to widgets.
11659 * glyphs-widget.c (widget_instantiate): don't need to clear the
11662 2000-02-13 Martin Buchholz <martin@xemacs.org>
11664 * sysdep.c (getcwd): Use standard prototype.
11665 * sysdep.h (getcwd): Use standard prototype.
11667 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
11668 (sequence, start, end).
11669 Remove redundant type checking.
11670 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
11671 view of `caller-protects') to avoid a crash where the real fix was
11674 2000-02-12 Martin Buchholz <martin@xemacs.org>
11676 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
11678 * s/sol2.h: Remove feature macro initialization.
11680 * alloc.c (alloc_lcrecord): Add more type checking assertions.
11681 (vector_hash): New. Code from internal_hash.
11683 Fix up allocation subsystem comments.
11685 * config.h.in: Add __EXTENSIONS__ for Solaris.
11687 * systime.h (EMACS_GETTIMEOFDAY): New.
11688 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
11689 Remove Solaris-specific code.
11690 Use void* for the (ignored) second arg for gettimeofday().
11692 * elhash.c (hash_table_hash): Implement it, finally.
11693 * elhash.c: Use hashcode_t.
11695 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
11696 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
11698 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
11699 * fns.c (size_bit_vector):
11700 * alloc.c (size_vector):
11701 (make_vector_internal):
11702 (make_bit_vector_internal):
11703 (sweep_bit_vectors_1):
11704 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
11706 2000-02-10 Martin Buchholz <martin@xemacs.org>
11708 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
11709 Include strings.h to avoid warnings for bzero and strcasecmp.
11711 2000-02-10 Olivier Galibert <galibert@pobox.com>
11713 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
11714 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
11716 * fns.c (size_bit_vector): New. Declare bit vectors as a
11719 2000-02-10 Olivier Galibert <galibert@pobox.com>
11721 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
11722 use a value field instead.
11723 (symbol_value_forward_forward): Use value field.
11724 (DEFVAR_SYMVAL_FWD): Use value field.
11725 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
11726 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
11727 (DEFVAR_CONST_INT): Ditto.
11728 (DEFVAR_BOOL): Ditto.
11729 (DEFVAR_CONST_BOOL): Ditto.
11730 (DEFVAR_INT_MAGIC): Ditto.
11731 (DEFVAR_BOOL_MAGIC): Ditto.
11733 * symbols.c (guts_of_unbound_marker): Use value field.
11734 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
11735 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
11737 * lisp.h: Declare dumpopaque and noninteractive1.
11739 * alloc.c (dumpopaque): Added.
11740 (pdump_dump_opaquevec): Added.
11741 (pdump): Call pdump_dump_opaquevec to dump opaque data.
11742 (pdump_load): Reload opaque data. Sync noninteractive1 with
11745 2000-02-10 Andy Piper <andy@xemacs.org>
11747 * glyphs.c (image_instance_layout): if the size changes, mark it
11750 * redisplay-output.c (redisplay_output_layout): Update the
11752 (redisplay_output_subwindow): ditto.
11754 * glyphs.c (update_subwindow): make sure we reset flags for
11755 layouts as well as everything else.
11757 * glyphs-widget.c (layout_layout): don't need to set the instances
11760 2000-02-09 Martin Buchholz <martin@xemacs.org>
11762 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
11763 not HAVE_DLOPEN, which is a lower-level thing.
11765 * .cvsignore: Ignore gmon.out
11767 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
11769 * .cvsignore: Ignore portable dumper xemacs.dmp file
11771 2000-02-09 Andy Piper <andy@xemacs.org>
11773 * redisplay-output.c (redisplay_output_layout): be more clever
11774 about when we output based on the changed flags.
11776 * glyphs.h (struct image_instantiator_methods): add update_method.
11777 (struct Lisp_Image_Instance): add changed flags. Declare new
11778 macros for manipulating them.
11780 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
11781 (image_instance_parent_glyph): find an image_instance's parent
11782 glyph or image_instance.
11783 (image_instance_layout): mark the size as changed.
11784 (set_image_instance_dirty_p): new function. mark an image
11785 instance, plus all of its parents, as dirty.
11786 (Fset_image_instance_property): use it.
11787 (Fglyph_animated_timeout_handler): use it.
11788 (update_subwindow): call update_widget and device methods for
11789 update_subwindow. Mark all changed flags as clean.
11790 (Fresize_subwindow): mark size as changed.
11792 * glyphs-x.c (x_finalize_image_instance): try and detect gc
11794 (x_update_subwindow): only resize subwindows here.
11795 (x_update_widget): new function. Update all changed properties of
11797 (x_resize_subwindow): deleted.
11798 (x_widget_set_property): deleted.
11799 (x_progress_gauge_set_property): deleted.
11800 (x_progress_gauge_update): new function. Implement recorded
11802 (x_tab_control_update): ditto.
11803 (x_tab_control_set_property): deleted.
11804 (console_type_create_glyphs_x): declare new functions.
11805 (image_instantiator_format_create_glyphs_x): ditto.
11807 * glyphs-widget.c (widget_set_property): mark text changed.
11808 (update_widget): new function. Update properties of a widget.
11809 (widget_instantiate): for layouts make sure we set their
11810 children's parent correctly.
11811 (tab_control_set_property): new function. Record changes that will
11812 take place under redisplay's control.
11813 (progress_gauge_set_property): ditto.
11814 (image_instantiator_progress_guage): declare new functions.
11815 (image_instantiator_tab_control): ditto.
11817 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
11819 (mswindows_update_widget): new function. Update all properties on
11820 a widget that have changed.
11821 (mswindows_button_update): new function. Update a button's set
11823 (mswindows_tab_control_update): new function. Update the items in
11825 (mswindows_tab_control_set_property): deleted.
11826 (mswindows_progress_gauge_update): new function. Update the
11827 progress gauge's progress.
11828 (mswindows_widget_set_property): deleted. This is all done
11829 asynchronously now.
11830 (mswindows_progress_gauge_set_property): ditto.
11831 (console_type_create_glyphs_mswindows): declare new methods.
11832 (image_instantiator_format_create_glyphs_mswindows): ditto.
11834 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
11835 (msprinter_set_frame_properties): ditto.
11837 * console.h (struct console_methods): Add update_widget_method.
11839 2000-02-09 Andy Piper <andy@xemacs.org>
11841 * gui-msw.c (Fmswindows_shell_execute): Make
11842 mswindows-shell-execute industrial strength.
11844 2000-02-08 Martin Buchholz <martin@xemacs.org>
11846 * lrecord.h: Make macro argument `props' match member function `plist'.
11849 * fns.c (Fremprop):
11850 * fns.c (Fobject_plist):
11853 Object property list frobbing cleanup.
11854 - Allow any lisp object (compared with `eq'), not just symbols, as
11855 keys in object plists.
11856 - Move symbol plist frobbing into symbols.c, where it belongs.
11857 - Move string plist frobbing into alloc.c, where it belongs.
11858 - Everything's an lrecord now, so no need to test for symbolp, etc.
11859 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
11861 * extents.c: Reorder code to remove declarations.
11863 * frame.h (store_in_alist): Remove useless declaration.
11865 2000-02-07 Martin Buchholz <martin@xemacs.org>
11867 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
11868 * config.h.in: Add HAVE_XCONVERTCASE.
11870 2000-02-07 Andy Piper <andy@xemacs.org>
11872 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
11873 it breaks many things.
11875 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11877 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
11878 actually can start a common comment type.
11879 * src/syntax.h (SYNTAX_END_P): ditto for end.
11881 2000-02-07 Martin Buchholz <martin@xemacs.org>
11883 * XEmacs 21.2.28 is released.
11885 2000-02-06 Martin Buchholz <martin@xemacs.org>
11887 * event-Xt.c (x_keysym_to_character): New.
11888 (maybe_define_x_key_as_self_inserting_character): New.
11889 (x_has_keysym): New.
11890 Auto-define all keys on the keyboard as self-insert-key.
11892 2000-02-02 Martin Buchholz <martin@xemacs.org>
11894 * menubar.c (vars_of_menubar): A small code simplification.
11896 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
11899 * ExternalClient.c:
11900 * EmacsShell-sub.c:
11903 Use consistent style for specifying X resources.
11905 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
11906 This makes (dontusethis-set-symbol-value-handler) actually usable.
11908 * lrecord.h (lrecord_decription_type):
11909 * alloc.c (pdump_register_sub):
11912 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
11913 Comply with XEmacs coding style.
11914 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
11915 args, and XD_LISP_OBJECT_ARRAY with 3 args.
11917 * keymap.c (Faccessible_keymaps):
11918 Make (accessible-keymaps map "\C-h") do the Right Thing.
11919 Make (accessible-keymaps map []) do the Right Thing.
11920 Make (accessible-keymaps map "") do the Right Thing.
11921 (check_keymap_definition_loop): New function.
11922 (keymap_store_internal): Keep luser from shooting self in foot,
11923 via (define-key ctl-x-4-map "p" global-map).
11924 Remove fullness slot from struct Lisp_Keymap, since hash tables
11926 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
11928 2000-01-30 Martin Buchholz <martin@xemacs.org>
11930 * redisplay.c (init_redisplay): Fix small memory leak.
11932 * elhash.c (pdump_reorganize_hash_table):
11933 Rename from reorganize_hash_table. Change prototype.
11934 Reuse the original memory for hentries. Save 100k.
11935 * alloc.c (PDUMP_READ): new macro.
11936 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
11937 * alloc.c: No need to #ifndef before #undef.
11939 * print.c: Allow debug_print() to print readably by modifying
11940 debug_print_readably. Use consistent variable names.
11942 * .dbxrc: Try to get things to work even if stopped in a function
11943 without source available by explicitly specifying source files.
11944 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11946 * unexnt.c (_start): Removed bogus code which caused loading heap
11947 from differrent executable file.
11948 Removed bogus assignment to _fmode, which caused inconsistencies.
11950 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11952 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
11953 Have spawnve encapsulation regard DONT_ENCAPSULATE.
11954 Do not preliminary `#define signal sigset'.
11956 * systime.h: Do not prototype environ on windows nt and cygwin,
11957 this conflicts with system header.
11959 * syssignal.h: Use correct define for WINDOWSNT
11961 * sysdep.h: Do not prototype environ on windows nt, this conflicts
11962 with system header.
11964 * sysdep.c (near start of file): Fixed commentary and rearranged
11965 ifdefs in readable order.
11966 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
11969 (end_of_data): Do not compile in if using PDUMP.
11971 * symsinit.h: Prototyped vars_of_nt().
11973 * ntproc.c (windows9x_p): Added, instead of os_subtype.
11974 (find_child_console): Use it.
11975 (sys_kill): Use it.
11977 * ntheap.h: Do not extern os_subtype.
11979 * ntheap.c (cache_system_info): Do not cache unneeded:
11980 nt_major_version, nt_minor_version and os_subtype.
11981 (recreate_heap): Do not compile in when PDUMPing.
11983 * nt.c (geteuid and friends): Use the new varibale
11984 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
11985 (init_user_info): Removed the above mentioned hackery.
11986 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
11987 stat has been fixed in the C runtime.
11988 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
11990 * file-coding.c (struct file_coding_dump): Do not define
11991 ucs_to_mule_table in the struct if not MULE.
11992 (struct struct lrecord_description fcd_description_1): Do not dump
11995 * emacs.c (main_1): Call vars_of_nt().
11996 (right before Fdump_emacs_data): Don't need lastfile if using both
11997 portabe dumper and system malloc.
11999 * alloc.c (Fmemory_limit): Conditionalized out.
12000 (pdump): Use OPEN_BINARY for the portable dump file.
12001 (pdump_load): Ditto.
12003 2000-02-02 Mike Alexander <mta@arbortext.com>
12005 * nt.c (convert_time): Set tm_isdst before calling mktime and
12006 avoid calling it at all if the compiler supports 64 bit integers.
12007 Also initialize utc_base_ft before using it.
12009 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
12011 * frame.c (change_frame_size_1): Take f->internal_border_width
12012 into consideration when calculating the width of the frame.
12014 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12016 * window.c (frame_min_height):
12017 (frame_size_valid_p):
12018 (frame_pixsize_valid_p): Added.
12019 (check_frame_size): Generalized.
12021 * window.h: Prototyped the above.
12024 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
12025 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
12026 Deleted Vwin32_* and Vbinary_process_* unused variables.
12028 * device-msw.c (msprinter_init_device): Do not get printer font
12029 list; Added DEVMODE functions.
12031 * frame-msw.c: Added lots of printer code.
12033 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
12036 * console-msw.h: Added more msprinter device private slots.
12038 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12040 * event-msw.c (key_needs_default_processing_p): Added.
12041 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
12043 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12045 * glyphs.c (image_instance_layout): Mark image instance as clean
12047 (glyph_dirty_p): Removed redundant function.
12048 (invalidate_glyph_geometry_maybe): Added.
12049 (update_glyph_cachel_data): Call it.
12051 * glyphs.h: Prototyped it.
12053 * redisplay.c (add_glyph_rune): Call it.
12054 (redisplay_window): Reset glyphs cachels when frame faces have
12055 changed, thus forcing recomputation of built-in border glyphs.
12057 2000-01-30 Martin Buchholz <martin@xemacs.org>
12059 * Makefile.in.in: Make portable dumper and purify play well together.
12060 Add imperfect, but better than nothing, support for pdump.
12061 Remove xemacs.dmp when temacs is re-generated.
12062 Don't ignore errors when dumping xemacs.
12064 * symbols.c (maybe_call_magic_handler): Remove one magic number.
12066 2000-01-28 Andy Piper <andy@xemacs.org>
12068 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
12069 (setup_normal_frame): ditto.
12070 (setup_frame_without_minibuffer): ditto.
12071 (setup_minibuffer_frame): ditto.
12072 (delete_frame_internal): ditto.
12073 (Fmake_frame_invisible): ditto.
12074 (Ficonify_frame): ditto.
12076 * window.h: change Fset_window_buffer signature.
12078 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12079 (Fset_window_buffer): allow recording of buffer if the window is
12080 the selected window.
12081 (window_loop): Use new Fset_window signature.
12083 2000-01-23 Daniel Pittman <daniel@danann.net>
12085 * config.h.in: Added template for `HAVE_ATHENA_3D'
12087 2000-01-29 Andy Piper <andy@xemacs.org>
12089 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12091 * gutter.c (output_gutter): Don't output if the window isn't live.
12093 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12095 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12096 of 01/12/00: Moved SetFocus back here where it belongs.
12098 2000-01-23 Andy Piper <andy@xemacs.org>
12100 * s/cygwin32.h: declare printer things.
12102 2000-01-26 Andy Piper <andy@xemacs.org>
12104 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12107 2000-01-24 Andy Piper <andy@xemacs.org>
12109 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12110 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12112 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12114 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12116 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12118 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12119 (mswindows_output_display_block): Avoid local shadows.
12121 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12122 (mswindows_enqueue_mouse_button_event): ditto.
12123 (mswindows_handle_gui_wm_command): remove declaration.
12125 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12128 * console-msw.h: Avoid shadows.
12129 (mswindows_get_toolbar_button_text):
12130 (emacs_mswindows_create_stream_pair):
12131 (emacs_mswindows_delete_stream_pair):
12132 (mswindows_handle_toolbar_wm_command): declare.
12134 * device-msw.c (build_syscolor_string): Avoid shadows.
12136 2000-01-23 Andy Piper <andy@xemacs.org>
12138 * glyphs-widget.c (widget_instantiate): reverse the items for
12139 layouts so that children are in the expected order.
12141 2000-01-28 Martin Buchholz <martin@xemacs.org>
12143 * ralloc.c: safe_bcopy ==> memmove
12144 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12145 * s/msdos.h: Remove BCOPY macros.
12146 * insdel.c (gap_right): Remove BCOPY conditional code.
12147 * insdel.c (gap_left): Remove BCOPY conditional code.
12148 XEmacs demands a working ANSI C compiler - hence memmove.
12150 * regex.c (regex_compile): Remove accidental use of trigraphs.
12152 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12154 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12157 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12159 * event-msw.c (mswindows_drain_windows_queue): Added the
12161 (mswindows_need_event): Commented the call to
12162 mswindows_drain_windows_queue().
12163 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12166 * console-msw.h: Moved a few function prototypes here from
12169 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12170 parameter from unsigned short to unsigned long.
12171 (Fmswindows_shell_execute): Added return value.
12173 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12175 * sysdep.c (init_system_name):
12176 process-unix.c (unix_canonicalized_host_name):
12177 Don't call freeaddrinfo() if getaddrinfo() fails.
12179 * process-unix.c (unix_open_unix_network_stream):
12180 Moved the code to get a port # into address loop.
12182 2000-01-27 Martin Buchholz <martin@xemacs.org>
12184 * buffer.c (reinit_vars_of_buffer):
12185 The right place to initialize conversion_in_dynarr and
12186 conversion_out_dynarr.
12188 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12190 * process-unix.c (unix_canonicalize_host_name): Muleize.
12191 (unix_open_network_stream): Muleize.
12193 * buffer.h: Fix up prototypes for ralloc.c functions.
12195 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12196 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12197 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12198 instead of gethostbyname()
12199 * process-unix.c: In unix_canonicalize_host_name() and
12200 unix_open_network_stream(), add code to use getaddrinfo()
12201 instead of gethostbyname().
12203 2000-01-27 Daniel Pittman <daniel@danann.net>
12205 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12206 libs when built with flat Athena.
12208 2000-01-27 Martin Buchholz <martin@xemacs.org>
12210 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12211 Use coding standards for function prototypes.
12213 2000-01-25 Martin Buchholz <martin@xemacs.org>
12215 * dialog-msw.c (push_lisp_string_as_unicode):
12216 * doc.c (unparesseuxify_doc_string):
12217 * dired.c (Fuser_name_completion_1):
12218 * dired.c (Fuser_name_all_completions):
12219 * dired.c (free_user_cache):
12220 * dired.c (user_name_completion):
12221 * console-x.c (get_display_arg_connection):
12222 * minibuf.c (clear_echo_area_internal):
12223 * minibuf.c (echo_area_append):
12224 * eldap.c (Fldap_open):
12225 * eldap.c (Fldap_search_internal):
12226 * frame-x.c (x_set_frame_text_value):
12227 * frame-x.c (x_set_frame_properties):
12228 * frame-x.c (x_create_widgets):
12229 * redisplay-tty.c (term_get_fkeys_1):
12230 * objects-x.c (x_parse_nearest_color):
12231 * objects-x.c (x_valid_color_name_p):
12232 * objects-x.c (x_initialize_font_instance):
12233 * objects-x.c (x_list_fonts):
12234 * objects-x.c (x_find_charset_font):
12235 * tooltalk.c (Fadd_tooltalk_message_arg):
12236 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12237 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12238 * process-unix.c (unix_create_process):
12239 * ntproc.c (sys_spawnve):
12240 * sound.c (Fplay_sound_file):
12241 * sound.c (Fplay_sound):
12242 * buffer.c (init_initial_directory):
12243 * buffer.c (init_buffer):
12244 * editfns.c (init_editfns):
12245 * editfns.c (Ftemp_directory):
12246 * editfns.c (Fuser_full_name):
12247 * editfns.c (uncache_home_directory):
12248 * editfns.c (get_home_directory):
12249 * editfns.c (Fuser_home_directory):
12250 * editfns.c (Fformat_time_string):
12251 * editfns.c (Fcurrent_time_string):
12252 * gui-x.c (button_item_to_widget_value):
12253 * database.c (Fopen_database):
12254 * event-Xt.c (x_to_emacs_keysym):
12255 * event-Xt.c (x_event_to_emacs_event):
12256 * event-Xt.c (describe_event_window):
12257 * event-msw.c (mswindows_wnd_proc):
12258 * glyphs-eimage.c (jpeg_instantiate):
12259 * glyphs-eimage.c (gif_instantiate):
12260 * glyphs-eimage.c (png_instantiate):
12261 * glyphs-eimage.c (tiff_instantiate):
12262 * glyphs-x.c (xbm_instantiate_1):
12263 * glyphs-x.c (x_xbm_instantiate):
12264 * glyphs-x.c (x_xface_instantiate):
12265 * glyphs-x.c (autodetect_instantiate):
12266 * glyphs-x.c (cursor_font_instantiate):
12267 * glyphs-x.c (x_widget_instantiate):
12268 * glyphs-x.c (x_widget_set_property):
12269 * glyphs-x.c (x_widget_property):
12270 * glyphs-x.c (BUILD_GLYPH_INST):
12271 * print.c (write_string_to_stdio_stream):
12272 * print.c (output_string):
12273 * print.c (Falternate_debugging_output):
12274 * print.c (Fexternal_debugging_output):
12275 * glyphs-msw.c (extract_xpm_color_names):
12276 * glyphs-msw.c (mswindows_xpm_instantiate):
12277 * glyphs-msw.c (bmp_instantiate):
12278 * glyphs-msw.c (resource_name_to_resource):
12279 * glyphs-msw.c (mswindows_resource_instantiate):
12280 * glyphs-msw.c (xbm_instantiate_1):
12281 * glyphs-msw.c (mswindows_xbm_instantiate):
12282 * glyphs-msw.c (mswindows_xface_instantiate):
12283 * glyphs-msw.c (mswindows_widget_instantiate):
12284 * glyphs-msw.c (add_tree_item):
12285 * glyphs-msw.c (add_tab_item):
12286 * glyphs-msw.c (mswindows_combo_box_instantiate):
12287 * glyphs-msw.c (mswindows_widget_property):
12288 * glyphs-msw.c (mswindows_combo_box_property):
12289 * glyphs-msw.c (mswindows_widget_set_property):
12290 * console.c (stuff_buffered_input):
12291 * objects-msw.c (mswindows_initialize_color_instance):
12292 * objects-msw.c (mswindows_valid_color_name_p):
12293 * objects-msw.c (mswindows_list_fonts):
12294 * objects-msw.c (mswindows_font_instance_truename):
12295 * bytecode.c (optimize_compiled_function):
12296 * select-x.c (symbol_to_x_atom):
12297 * select-x.c (x_atom_to_symbol):
12298 * select-x.c (hack_motif_clipboard_selection):
12299 * select-x.c (selection_data_to_lisp_data):
12300 * select-x.c (lisp_data_to_selection_data):
12301 * select-x.c (Fx_get_cutbuffer_internal):
12302 * select-x.c (Fx_store_cutbuffer_internal):
12303 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12304 * buffer.h (TO_INTERNAL_FORMAT): New function.
12305 * emacs.c (make_arg_list_1):
12306 * emacs.c (make_argc_argv):
12307 * emacs.c (main_1):
12308 * emacs.c (Fdump_emacs):
12309 * emacs.c (split_string_by_emchar_1):
12314 * device-x.c (x_init_device):
12315 * device-x.c (Fx_valid_keysym_name_p):
12316 * device-x.c (Fx_get_font_path):
12317 * device-x.c (Fx_set_font_path):
12318 * glyphs.c (bitmap_to_lisp_data):
12319 * glyphs.c (pixmap_to_lisp_data):
12320 * alloc.c (make_ext_string): Use coding system arguments. Update
12322 * alloc.c (build_string):
12323 * callproc.c (child_setup):
12324 * callproc.c (init_callproc):
12325 * fileio.c (lisp_strerror):
12326 * fileio.c (directory_file_name):
12327 * fileio.c (Fexpand_file_name):
12328 * fileio.c (Ffile_truename):
12329 * fileio.c (Fsysnetunam):
12330 * fileio.c (Fdo_auto_save):
12331 * sysdep.c (sys_readdir):
12332 * tests.c: New file. Allow adding C tests.
12333 Replace GET_* macros with a more comprehensible and flexible
12334 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12336 Any coding system can be used to do format conversion.
12337 Eliminate enum external_data_format.
12338 Eliminate convert_to_external_format.
12339 Eliminate convert_to_internal_format.
12340 Make sure file-name, keyboard, terminal, and ctext are always
12341 defined as coding systems or aliases. Make
12342 file-name-coding-system, terminal-coding-system, and
12343 keyboard-coding-system magical variables that are equivalent to
12344 defining the corresponding coding system aliases.
12346 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12347 * file-coding.c (Fcoding_system_alias_p): New function.
12348 * file-coding.c (Fcoding_system_aliasee): New function.
12349 * file-coding.c (append_suffix_to_symbol): New function.
12350 * file-coding.c (dangling_coding_system_alias_p): New function.
12351 * file-coding.c (Ffind_coding_system):
12352 * file-coding.c (Fcopy_coding_system):
12353 * file-coding.c (encode_coding_no_conversion):
12354 * file-coding.c (syms_of_file_coding):
12355 * file-coding.c (vars_of_file_coding):
12356 Rewrite coding system alias code.
12357 Allow nested aliases, like symbolic links.
12358 Allow redefinition of coding system aliases.
12359 Prevent existence of dangling coding system aliases.
12361 * dired.c (Fuser_name_completion_1):
12362 * dired.c (Fuser_name_all_completions):
12363 A crash would happen if user did QUIT in the middle of building
12364 user_name_cache. Remove redundant code in mainline and unwind_protect.
12367 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12369 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12370 an unsigned char *. Update all callers.
12372 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12374 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12376 2000-01-25 Martin Buchholz <martin@xemacs.org>
12378 * elhash.c (hentry_description): Use more portable definition.
12379 (resize_hash_table): Initialize new hentries using
12380 xnew_array_and_zero, thereby simplifying the code.
12382 * mule-charset.c (make_charset): Make sure entire object is
12383 initialized, to avoid Purify warnings.
12385 * alloc.c (resize_string): Fix unlikely crash with big strings.
12387 2000-01-24 Martin Buchholz <martin@xemacs.org>
12389 * realpath.c (xrealpath):
12390 Don't call getwd().
12392 2000-01-25 Martin Buchholz <martin@xemacs.org>
12394 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12396 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12398 * unexelfsgi.c (unexec): Change the way we decide which segment
12399 should be extended.
12401 Assumption that .bss section should be outside the PT_LOADable
12402 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12403 it's present) is inside the 'data' segment. This would fail the
12404 test which was used to find a segment to grow and cover new
12405 heap. Instead of this assumption, I created another one - on IRIX
12406 the segment to grow should start below .bss and it's address
12407 should extent above the end of .bss. Once this segment is
12408 identified, it's grown to accommodate the new heap and new
12409 zero-length .bss section is added at the end of .data2.
12411 2000-01-25 Martin Buchholz <martin@xemacs.org>
12413 * eval.c (Feval): Wrong number of arguments should use original
12414 function, not the indirect_function version of it.
12416 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12418 * glyphs-x.c (x_button_instantiate): Don't add image if
12419 it is not a pixmap.
12420 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12423 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12425 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12427 (DEFVAR_INT_MAGIC): Ditto.
12428 (DEFVAR_BOOL_MAGIC): Ditto.
12429 * glyphs.h: Reindent backslash.
12431 2000-01-24 Martin Buchholz <martin@xemacs.org>
12433 * glyphs-widget.c (layout_query_geometry):
12434 (layout_layout): Use correct types for gheight, gwidth.
12436 2000-01-24 Martin Buchholz <martin@xemacs.org>
12438 * EmacsManager.c (QueryGeometry): Purified.
12440 2000-01-23 Martin Buchholz <martin@xemacs.org>
12442 * alloc.c (make_float): Make sure entire object is initialized, to
12443 avoid Purify warnings.
12444 (pdump_register_sub): Remove useless assignment.
12445 (pdump): Use xmalloc, not malloc.
12446 (pdump_load): Use xmalloc, not malloc.
12448 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12455 * sysdep.c: Removed redundant #include <windows.h>
12457 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12459 * frame.c (delete_frame_internal): Do not delete device when its
12460 implementation so declares.
12461 (delete_frame_internal): Set device selected frame to nil when
12462 last frame goes away.
12464 * device-msw.c (msprinter_device_system_metrics): Implemented.
12465 (mswindows_device_system_metrics): Added 'device-dpi property.
12467 * device.c: (Fdevice_printer_p): Added.
12468 Added 'offset-workspace device metric.
12470 * console.h (device_metrics): Declared DM_offset_workspace.
12472 2000-01-23 Martin Buchholz <martin@xemacs.org>
12474 * fileio.c (Ffile_truename): Remove pointless and confusing
12475 initialization of elen.
12477 * glyphs-widget.c: Compiler warning fixes.
12479 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12481 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12482 instead of a Lisp_Object as argument to make it consistent with
12483 the other LIVE_P macros.
12484 (CHECK_LIVE_PROCESS): New macro.
12486 * process.c: Declare Qprocess_live_p.
12487 (Fprocess_live_p): New function.
12488 (create_process): Use PROCESS_LIVE_P.
12489 (read_process_output): Ditto.
12490 (set_process_filter): Ditto.
12491 (Fdelete_process): Ditto.
12492 (kill_buffer_processes): Ditto
12493 (process_send_signal): Use CHECK_LIVE_PROCESS.
12494 (Fprocess_input_coding_system): Check whether process is still
12495 alive (fix PR#1061).
12496 (Fprocess_output_coding_system): Ditto.
12497 (Fprocess_coding_system): Ditto.
12498 (Fset_process_input_coding_system): Ditto.
12499 (Fset_process_output_coding_system): Ditto.
12501 2000-01-23 Andy Piper <andy@xemacs.org>
12503 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12506 * glyphs.c (mark_image_instance): take into account changed
12507 image_instance format.
12508 (image_instance_equal): ditto.
12509 (image_instance_hash): ditto.
12511 * glyphs-widget.c (widget_instantiate): Incorporate layout
12512 instantiation here. Delay layout of the layout until later.
12513 (layout_instantiate): deleted.
12514 (layout_query_geometry): new function. get the geometry of a
12516 (layout_layout): layout a layout dynamically.
12517 (image_instantiator_widget): New function - splitting up
12518 image_instantiator_format_create_glyphs_widget for netwinder
12520 (image_instantiator_buttons):
12521 (image_instantiator_edit_fields):
12522 (image_instantiator_combo_box):
12523 (image_instantiator_scrollbar):
12524 (image_instantiator_progress_guage):
12525 (image_instantiator_tree_view):
12526 (image_instantiator_tab_control):
12527 (image_instantiator_labels):
12528 (image_instantiator_layout): ditto.
12529 (image_instantiator_format_create_glyphs_widget): Call preceding
12532 2000-01-22 Martin Buchholz <martin@xemacs.org>
12534 * process.c (Fset_process_coding_system):
12535 * device-x.c (Fx_keysym_hash_table):
12538 * lstream.c (Lstream_write): Return documented value, not 0.
12540 * fileio.c (directory_file_name):
12541 (Fsubstitute_in_file_name):
12542 (Fsubstitute_insert_file_contents_internal):
12543 (Fwrite_region_internal):
12548 Remove vestigial APOLLO-conditional code.
12550 2000-01-21 Martin Buchholz <martin@xemacs.org>
12552 * getpagesize.h: Add guard macros.
12553 * libsst.h: Add guard macros.
12554 * libst.h: Add guard macros.
12555 * line-number.h: Add guard macros.
12556 * ndir.h: Add guard macros.
12557 * sysfloat.h: Add guard macros.
12558 * sysfile.h: Add guard macros.
12559 * sysproc.h: Add guard macros.
12560 * syswait.h: Add guard macros.
12561 * xintrinsic.h: Add guard macros.
12562 * xintrinsicp.h: Add guard macros.
12563 * xmmanager.h: Add guard macros.
12564 * xmmanagerp.h: Add guard macros.
12565 * xmprimitive.h: Add guard macros.
12566 * xmu.h: Add guard macros.
12567 * gpmevent.h: Add copyright statement. Add guard macros.
12568 * miscplay.h: Add guard macros.
12569 * *.h: Use consistent C-standards-approved guard macro names.
12571 * opaque.c (make_opaque): Switch parameter order.
12572 * opaque.h (make_opaque): Switch parameter order.
12573 Update all callers.
12574 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12576 * config.h.in (type_checking_assert): Added.
12577 (bufpos_checking_assert): Added.
12579 2000-01-21 Martin Buchholz <martin@xemacs.org>
12581 * alloc.c: Harmless pdump changes.
12583 - spell alignment correctly.
12584 * sysdep.c: Use countof()
12586 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12588 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12589 initially_selected_for_input() console method, default to 0.
12590 (semi_canonicalize_console_connection): Try to delegate to
12591 canonicalize_console_connection if no such console method.
12592 (canonicalize_console_connection): Vice versa.
12593 (print_console): Do not print nil connection.
12595 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12596 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12597 (XDEVIMPF_FRAMELESS_OK): Added.
12598 (CONSOLE_INHERITS_METHOD): Added.
12600 * console-msw.c (mswindows_canonicalize_console_connection):
12602 (mswindows_canonicalize_device_connection): Added.
12604 * console-msw.h (struct msprinter_device): Added this struct and
12606 (mswindows_device): Made fontlist a lisp object.
12608 * device.c (semi_canonicalize_device_connection): Try to delegate
12609 to canonicalize_device_connection if no such console method.
12610 (canonicalize_device_connection): Vice versa.
12611 (print_device): Do not print nil connection.
12613 * device-msw.c (mswindows_init_device): Call InitCommonControls
12615 (mswindows_delete_device): Removed fontlist deallocation.
12616 (mswindows_mark_device): Added.
12618 * events.c (event_equal): Added abort() at unreached code.
12619 (event_hash): Ditto.
12621 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12622 fallback tags of Windows devices.
12624 * general.c (syms_of_general): Initialized Qmsprinter.
12626 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12627 of fallback tags of Windows devices.
12629 * lisp.h: Declared Qmsprinter.
12631 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12633 (mswindows_list_fonts): Ditto.
12634 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12635 that it can be used by both mswindows and msprinter devices.
12636 (initialize_font_instance): Added.
12637 (mswindows_initialize_font_instance): Use it.
12638 (msprinter_initialize_font_instance): Added.
12640 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12641 and implementation flags check.
12642 (redisplay_without_hooks): Changed the call to the above.
12643 (Fredraw_device): Ditto.
12644 (Fredisplay_device): Ditto.
12646 * redisplay-msw.c (get_frame_dc): Implemented.
12647 (get_frame_compdc): Implemented.
12648 (many functions): Use the two functions above to get device
12649 contexts, ether for a window or a printer.
12651 2000-01-21 Olivier Galibert <galibert@pobox.com>
12653 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12654 initialization here.
12655 (init_symbols_once_early): Call it.
12656 * emacs.c (main_1): Call it.
12657 * symsinit.h: Declare it.
12659 2000-01-19 Olivier Galibert <galibert@pobox.com>
12661 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12663 (pdump_backtrace): Ditto.
12664 (pdump_register_object): Ditto. Cleanup use of the pointers.
12665 (pdump_get_entry): Abort if trying to register a null pointer.
12666 (pdump_dump_data): Cleanup types when relocating.
12667 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
12668 (pdump_dump_rtables): Remove bad casts.
12669 (pdump_load): Cleanup relocation w.r.t union type. Use a
12670 Lisp_Object instead of a EMACS_INT for the hashtable
12673 2000-01-20 Martin Buchholz <martin@xemacs.org>
12675 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
12677 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
12679 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
12681 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
12683 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12685 * faces.h (FACE_STRIKETHRU_P): Added.
12687 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
12690 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
12691 (mswindows_set_dc_font): New function, aware of font variants,
12692 separated from mswindows_update_dc.
12694 * objects-msw.h (struct mswindows_font_instance_data): Added
12697 * objects-msw.c (mswindows_finalize_font_instance): Delete all
12698 cached fonts and the data structure.
12699 (mswindows_initialize_font_instance): Added creation of font data
12701 (mswindows_print_font_instance): Print at least something.
12702 (mswindows_create_font_variant): Implemented.
12703 (mswindows_get_hfont): Implemented.
12705 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
12707 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
12708 prototyping problem with msvc.
12710 * emacs.c (main_1): added syms_of_gui_mswindows() call
12712 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
12713 syms_of_gui_mswindows() function
12715 * symsinit.h: added the prototype for syms_of_gui_mswindows()
12717 2000-01-18 Martin Buchholz <martin@xemacs.org>
12719 * XEmacs 21.2.27 is released.
12721 2000-01-18 Martin Buchholz <martin@xemacs.org>
12723 * glyphs-eimage.c (struct tiff_error_struct):
12725 (tiff_warning_func):
12726 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
12731 * unexec.c: Remove vestigial Lucid C code.
12735 * libsst.c: Ansify.
12736 Remove declarations of errno and strerror().
12738 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
12740 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
12742 2000-01-16 Martin Buchholz <martin@xemacs.org>
12744 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
12747 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12752 Change enum eol_type to eol_type_t.
12754 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12756 * gui.c (get_gui_callback): Check cons before accessing car.
12758 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12760 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
12761 (XSETSPECIFIER_TYPE): Ditto.
12763 2000-01-17 Didier Verna <didier@xemacs.org>
12765 * redisplay.c (generate_fstring_runes): compute string size in
12766 characters, not bytes.
12768 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12770 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
12772 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
12774 * print.c (print_error_message): Call print_prepare().
12776 2000-01-14 Martin Buchholz <martin@xemacs.org>
12778 * .dbxrc: Renamed from dbxrc.
12780 * events.c (event_to_character):
12781 Use `assert (foo)' instead of `if (!foo) abort()'
12783 * .gdbinit (xtype): Add documentation.
12784 * .gdbinit (check-temacs): New function.
12785 * .gdbinit (check-xemacs): New function.
12786 * dbxrc (check-xemacs): New function.
12787 * dbxrc (check-xemacs): New function.
12789 2000-01-14 Andy Piper <andy@xemacs.org>
12791 * glyphs-widget.c (widget_query_geometry): Make sure that we
12792 calculate default dimensions correctly.
12794 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12796 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
12798 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
12799 pdump_wire'd variable.
12801 * emacs.c: (main_1): Conditionalized calls to
12802 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
12804 2000-01-13 Martin Buchholz <martin@xemacs.org>
12806 * window.c (Fset_window_configuration):
12807 * sysdep.c (_start):
12808 * input-method-motif.c (res):
12809 * event-Xt.c (Xt_process_to_emacs_event):
12810 Simple compiler warning fixes.
12812 * bytecode.c (funcall_compiled_function): Use the original
12813 function symbol on the backtrace list in preference to the
12814 compiled_function object in error messages.
12816 2000-01-13 Andy Piper <andy@xemacs.org>
12818 * glyphs-x.c (update_widget_face): Make sure we update the widget
12819 background as well as foreground.
12821 2000-01-13 Andy Piper <andy@xemacs.org>
12823 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
12824 fields to subwindow.
12825 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
12826 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
12827 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12828 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12830 * glyphs-widget.c (check_valid_tab_orientation): new function.
12831 (initialize_widget_image_instance): zero orientation and
12833 (widget_instantiate): pick up orientation.
12834 (tab_control_query_geometry): return appropriate values for
12837 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
12838 appropriate creation flags for left, right and bottom tabs.
12840 * s/cygwin32.h: add tab definitions.
12842 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12844 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
12845 frame upon hiding a subwindow.
12846 (mswindows_button_instantiate): Changed the push button style to
12848 (mswindows_button_instantiate): Removed button BS_NOTIFY
12850 (mswindows_button_instantiate): Removed redundant check for
12851 a disabled gui item.
12852 (mswindows_button_instantiate): Made use of WS_TABSTOP
12853 consistent: "operable" controls (edit, button, tree, scroll) have
12854 this style, "display-only" ones (static, progress gauge) do
12855 not. This style is currently ignored by XEmacs though. Also,
12856 removed the WS_EX_CONTROLPARENT style - it is not for children,
12857 it is for their parents!
12858 (mswindows_edit_field_instantiate): Ditto.
12859 (mswindows_progress_gauge_instantiate): Ditto.
12860 (mswindows_tree_view_instantiate): Ditto.
12861 (mswindows_tab_control_instantiate): Ditto.
12862 (mswindows_scrollbar_instantiate): Ditto.
12863 (mswindows_combo_box_instantiate): Ditto.
12864 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
12865 style to the "clip" window.
12866 (mswindows_button_instantiate): Removed compilation warning by
12867 equally typing terms of the ?: operator.
12869 2000-01-12 Didier Verna <didier@xemacs.org>
12871 * redisplay.c (generate_fstring_runes): new parameter holding the
12872 last modeline-format extent.
12873 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
12874 extent, fill the glyph block with it.
12875 (generate_fstring_runes): handle these parameters.
12876 (generate_formatted_string_db): ditto.
12878 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
12879 glyphs'extents in the modeline.
12881 1999-01-11 Mike Woolley <mike@bulsara.com>
12883 * ntheap.c: Reduced the reserved heap space from 1Gb down to
12884 256Mb, as a workaround for the non-starting problem many people
12887 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12889 * console-tty.c (Fset_console_tty_output_coding_system):
12890 Force redrawing tty frame.
12892 2000-01-10 Didier Verna <didier@xemacs.org>
12894 * redisplay.c (generate_fstring_runes): fix size computation bug.
12896 2000-01-09 William M. Perry <wmperry@aventail.com>
12898 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
12900 2000-01-09 Andy Piper <andy@xemacs.org>
12902 * glyphs-msw.c: index -> i to avoid shadows.
12903 (xbm_create_bitmap_from_data): make static.
12904 (check_valid_string_or_int): deleted.
12905 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
12907 * glyphs-x.c (x_update_subwindow): remove unused args.
12909 * glyphs.c (glyph_image_instance): return the thing. Don't set the
12910 back pointer - this is done in allocate_image_instance.
12911 (query_string_font): return Qnil to make the compiler happy.
12912 (unmap_subwindow): set to ~0 to make the compiler happy.
12913 (glyph_query_geometry): comment out until used.
12914 (glyph_layout): ditto.
12916 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12918 * insdel.c (signal_after_change): Remove extraneous unbind_to().