1 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
3 * char-ucs.h (DECODE_CHAR): Delete special code for
4 `chinese-big5-1' and `chinese-big5-2'.
6 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
8 (decode_defined_char): Support CONVERSION_BIG5_1 and
10 (decode_builtin_char): Likewise.
11 (charset_code_point): Likewise.
12 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
13 'conversion in UTF-2000.
14 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
15 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
16 `chinese-big5-2' as children of `chinese-big5'.
18 * char-ucs.h (CONVERSION_BIG5_1): New macro.
19 (CONVERSION_BIG5_2): New macro.
21 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
23 * text-coding.c (char_encode_big5): Support entity-reference.
25 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
27 * text-coding.c (char_encode_as_entity_reference): New function.
28 (char_encode_utf8): Use `char_encode_as_entity_reference'.
30 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
32 * text-coding.c (decode_coding_big5): Support entity-reference
35 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
37 * text-coding.c (allocate_coding_system): Initialize initial
38 charsets for CODESYS_UTF8.
39 (Fmake_coding_system): Accept charset-g0, charset-g1 and
40 charset-g2 for CODESYS_UTF8.
41 (decode_coding_utf8): Use charset-g0.
42 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
43 to force variants to map to UCS.
45 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
47 * text-coding.c (Qutf_8_mcs): New variable.
48 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
49 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
50 instead of `utf-8' in UTF-2000.
52 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
54 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
55 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
56 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
57 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
58 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
59 CONVERSION_96x96x96x96 are introduced.
60 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
61 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
62 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
64 * char-ucs.h (CONVERSION_94): New macro.
65 (CONVERSION_96): New macro.
66 (CONVERSION_94x94): New macro.
67 (CONVERSION_96x96): New macro.
68 (CONVERSION_94x94x94): New macro.
69 (CONVERSION_96x96x96): New macro.
70 (CONVERSION_94x94x94x60): New macro.
71 (CONVERSION_94x94x94x94): New macro.
72 (CONVERSION_96x96x96x96): New macro.
74 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
76 * chartab.c (Vcharacter_variant_table): Deleted.
77 (Fchar_variants): Use character-attribute `->ucs-variants' instead
78 of `Vcharacter_variant_table'.
79 (Fput_char_attribute): Likewise.
80 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
81 (complex_vars_of_chartab): Likewise.
83 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
85 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
87 * fns.c (Qideographic_structure): New variable.
88 (Qkeyword_char): New variable.
89 (ids_format_unit): New function.
90 (Fideographic_structure_to_ids): New function.
91 (syms_of_fns): Add new symbols `ideographic-structure' and
92 `:char'; add new builtin function `ideographic-structure-to-ids'.
94 * data.c (Fchar_ref_p): New function.
95 (syms_of_data): Add new builtin function `char-ref-p'.
97 * chartab.h: Add an EXFUN for `Ffind_char'.
99 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
101 * text-coding.c (Vcharacter_composition_table): Deleted.
102 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
105 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
107 (Vcharacter_composition_table): Deleted.
108 (Fget_composite_char): Use the implementation for external-DB
109 support in every UTF-2000.
110 (Fput_char_attribute): Likewise.
111 (char_attribute_system_db_file): Don't define if external-DB
112 feature is not available.
113 (Fsave_char_attribute_table): Likewise.
114 (Fmount_char_attribute_table): Likewise.
115 (Fclose_char_attribute_table): Likewise.
116 (Freset_char_attribute_table): Likewise.
117 (Fload_char_attribute_table): Likewise.
118 (syms_of_chartab): Don't define `save-char-attribute-table',
119 `mount-char-attribute-table', `reset-char-attribute-table',
120 `close-char-attribute-table' and `load-char-attribute-table' if
121 external-DB feature is not available.
122 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
124 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
126 * text-coding.c (Qcomposition): Add extern if external-DB feature
128 (Vcharacter_composition_table): Don't add extern if external-DB
129 feature is supported.
130 (COMPOSE_ADD_CHAR): Modify for new data-representation of
131 character composition rule if external-DB feature is supported.
133 * chartab.c (Vcharacter_composition_table): Don't define if
134 external-DB feature is supported.
135 (Qcomposition): New variable.
136 (Fget_composite_char): New implementation for external-DB support.
137 (Fput_char_attribute): Use `composition' property of each
138 character instead of `Vcharacter_composition_table' to store
139 character-composition rules if external-DB feature is supported.
140 (syms_of_chartab): Add new symbol `composition'.
141 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
142 external-DB feature is supported.
144 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
146 * chartab.c (Vchar_db_stingy_mode): New variable.
147 (load_char_attribute_maybe): Close database if
148 Vchar_db_stingy_mode is not NIL.
149 (Fload_char_attribute_table_map_function): Use
150 `get_char_id_table_0' instead of `get_char_id_table'.
151 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
153 * chartab.h (get_char_id_table_0): New inline function.
154 (get_char_id_table): Use `get_char_id_table_0'.
156 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
158 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
159 and `COMPOSE_ADD_CHAR'.
160 (decode_coding_iso2022): Use `decode_flush_er_chars'.
162 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
164 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
165 instead of `DECODE_ADD_UCS_CHAR'.
166 (COMPOSE_ADD_CHAR): Likewise.
168 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
170 * text-coding.c (decode_flush_er_chars): New inline function.
171 (decode_add_er_char): New function.
172 (decode_coding_utf8): Use `decode_flush_er_chars' and
173 `decode_add_er_char'.
175 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
177 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
178 done before `decode_output_utf8_partial_char'.
180 * mule-charset.c (complex_vars_of_mule_charset): Specify
181 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
182 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
184 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
186 * mule-charset.c (decode_defined_char): New function; search
188 (decode_builtin_char): Don't search mother if
189 XCHARSET_MAX_CODE(charset) == 0.
190 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
191 == 0 even if code >= XCHARSET_MAX_CODE(charset).
192 (Fdecode_char): Use `decode_defined_char' instead of
193 `DECODE_DEFINED_CHAR'.
194 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
195 mother of `Vcharset_ucs_jis'.
197 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
198 instead of `DECODE_DEFINED_CHAR'.
200 * char-ucs.h (decode_defined_char): Renamed from
201 `DECODE_DEFINED_CHAR'; changed to normal function.
202 (DECODE_CHAR): Use `decode_defined_char' instead of
203 `DECODE_DEFINED_CHAR'.
205 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
207 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
209 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
211 * text-coding.c (Vcoded_charset_entity_reference_alist): New
213 (Quse_entity_reference): New variable.
217 (coding_system_description): Add description for
219 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
220 (allocate_coding_system): Initialize `ccs_priority_list' in
222 (Fmake_coding_system): Add description about
223 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
225 (Fcoding_system_property): Accept `disable-composition' and
226 `use-entity-reference' in UTF-2000.
227 (struct decoding_stream): Add new member `er_counter' and `er_buf'
229 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
230 (decode_coding_utf8): Decode entity-reference if
231 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
232 (char_encode_utf8): Encode non-Unicode characters as
233 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
235 (syms_of_file_coding): Add new symbols `use-entity-reference',
237 (vars_of_file_coding): Add new variable
238 `coded-charset-entity-reference-alist'.
239 (complex_vars_of_file_coding): Declare `disable-composition' and
240 `use-entity-reference' to be coding-system-properties in UTF-2000.
242 * file-coding.h (struct Lisp_Coding_System): Add new member
243 `use_entity_reference' and `ccs_priority_list'.
244 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
245 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
246 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
248 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
250 * chartab.c (save_uint8_byte_table): Don't clear the table.
251 (save_uint16_byte_table): Likewise.
252 (save_byte_table): Likewise.
253 (Fmount_char_attribute_table): New function.
254 (syms_of_chartab): Add new builtin function
255 `mount-char-attribute-table'.
257 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
259 * mule-charset.c (Fsave_charset_mapping_table): Open database as
261 (load_char_decoding_entry_maybe): Open database as read-only mode.
263 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
264 open database as "w+" mode.
265 (load_char_attribute_maybe): Open database as read-only mode.
266 (Fload_char_attribute_table): Likewise.
268 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
270 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
271 (char_table_description): Delete member `db_file'.
272 (Fmake_char_table): Don't refer `ct->db_file'.
273 (Fcopy_char_table): Likewise.
274 (Fsave_char_attribute_table): Likewise.
275 (Fclose_char_attribute_table): Likewise.
276 (Freset_char_attribute_table): Likewise.
277 (load_char_attribute_maybe): Likewise.
278 (Fload_char_attribute_table): Likewise.
280 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
282 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
284 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
285 (Fsave_char_attribute_table): Don't check `ct->db_file' if
287 (load_char_attribute_maybe): Likewise.
288 (Fload_char_attribute_table): Likewise.
290 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
292 * chartab.c (Fclose_char_attribute_table): Set Qnil on
293 `ct->db_file' unconditionally.
295 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
297 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
299 (char_table_description): Add description for `db_file' and `db'
301 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
303 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
304 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
305 (Fclose_char_attribute_table): New function.
306 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
307 (load_char_attribute_maybe): Change interface; use `cit->db_file'
309 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
310 (syms_of_chartab): Add new builtin function
311 `Fclose_char_attribute_table'.
313 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
315 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
317 (load_char_attribute_maybe): Change interface.
318 (get_char_id_table): Modify for `load_char_attribute_maybe'.
320 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
322 * database.h: Add an EXFUN for `Fdatabase_live_p'.
324 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
326 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
327 instead of `DECODE_CHAR' for mother; don't use special code for
328 chinese-big5 to use code space of chinese-big5-1 and
330 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
331 `MAX_CHAR_BIG5_CDP' for chinese-big5.
333 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
334 (MAX_CHAR_BIG5_CDP): Revival.
336 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
338 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
339 the XLFD registry-encoding name of `chinese-big5'.
341 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
343 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
344 (Qchinese_big5_cdp): Deleted.
345 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
346 (complex_vars_of_mule_charset): Delete coded-charset
349 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
350 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
351 `CHARSET_ID_OFFSET - n' for private CCS.
352 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
353 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
354 of `MIN_LEADING_BYTE'.
355 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
356 `(CHARSET_ID_OFFSET - 97)'.
357 (MIN_CHAR_BIG5_CDP): Deleted.
358 (MAX_CHAR_BIG5_CDP): Deleted.
360 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
362 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
364 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
366 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
367 (vars_of_mule): Add new variable `utf-2000-version' [moved from
370 * chartab.c (Vutf_2000_version): Moved to mule.c.
371 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
373 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
375 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
376 when HAVE_CHISE_CLIENT is not defined.
378 * mule.c (vars_of_mule): Provide feature `chise' when
379 HAVE_CHISE_CLIENT is defined.
381 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
383 * config.h.in (UTF2000): Add comment.
384 (HAVE_CHISE_CLIENT): New macro.
386 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
388 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
390 (Fput_char_attribute): Likewise.
391 (char_attribute_system_db_file): Encode file-name of attribute.
392 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
395 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
397 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
398 (Fsave_charset_mapping_table): Use
399 `char_attribute_system_db_file'.
400 (load_char_decoding_entry_maybe): Likewise.
402 * chartab.h (Qsystem_char_id): New external variable.
403 (char_attribute_system_db_file): New prototype.
405 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
406 (char_attribute_system_db_file): New function.
407 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
408 (Freset_char_attribute_table): Likewise.
409 (load_char_attribute_maybe): Likewise.
410 (Fload_char_attribute_table): Likewise.
411 (syms_of_chartab): Add new symbol `system-char-id'.
413 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
415 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
416 `XCHARSET_GRAPHIC(ccs)'.
418 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
420 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
422 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
424 * chartab.c (Q_ucs_variants): New variable.
425 (syms_of_chartab): Add new symbol `->ucs-variants'.
426 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
427 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
428 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
430 * mule-charset.c (load_char_decoding_entry_maybe): New function.
432 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
433 `HAVE_DATABASE' is defined.
434 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
435 `HAVE_DATABASE' is defined.
437 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
439 * chartab.c (Fsave_char_attribute_table): Don't clear internal
441 (Freset_char_attribute_table): New function.
442 (syms_of_chartab): Add new builtin function
443 `reset-char-attribute-table'.
445 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
447 * chartab.c (load_char_attribute_maybe): Don't make directories.
449 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
451 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
453 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
456 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
458 * mule-charset.c (Fsave_charset_mapping_table): Use
459 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
461 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
462 instead of `XCHARSET_CHARS'.
464 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
466 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
467 (XCHARSET_BYTE_SIZE): Likewise.
469 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
471 (XCHARSET_BYTE_SIZE): Likewise.
473 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
475 * chartab.c (Fput_char_attribute): Use exec-directory instead of
476 data-directory to store database.
477 (Fsave_char_attribute_table): Likewise.
478 (load_char_attribute_maybe): Likewise.
479 (Fload_char_attribute_table): Likewise.
481 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
483 * mule-charset.c (Fsave_charset_mapping_table): New function.
484 (syms_of_mule_charset): Add new builtin function
485 `save-charset-mapping-table'.
487 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
489 * char-ucs.h (decoding_table_check_elements): Delete prototype.
490 (get_ccs_octet_table): New inline function.
491 (put_ccs_octet_table): Likewise.
492 (decoding_table_put_char): Use `get_ccs_octet_table' and
493 `put_ccs_octet_table'.
494 (decoding_table_remove_char): Use `decoding_table_put_char'.
495 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
497 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
499 (make_charset): Use Qunbound instead Qnil as initial value of
502 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
504 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
505 element is Qunloaded.
506 (map_over_uint16_byte_table): Likewise.
507 (map_over_byte_table): Likewise.
508 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
509 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
510 database support, load encoding-table of the specified
511 coded-charset if it is not loaded yet.
512 (save_uint8_byte_table): New function of UTF-2000 with external
514 (save_uint16_byte_table): Likewise.
515 (save_byte_table): Likewise.
516 (Fput_char_attribute): Don't store value into external database
517 even if the external database feature is supported in UTF-2000;
518 set `attribute' as name of char-table if the external database
519 feature is supported.
520 (Fsave_char_attribute_table): New function in UTF-2000.
521 (syms_of_chartab): Add new builtin function
522 `save-char-attribute-table' in UTF-2000.
524 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
526 * chartab.c (char_attribute_table_to_put): New variable in
528 (Qput_char_table_map_function): Likewise.
529 (value_to_put): Likewise.
530 (Fput_char_table_map_function): New function in UTF-2000.
531 (put_char_table): Use `Fmap_char_attribute' for
532 CHARTAB_RANGE_CHARSET in UTF-2000.
533 (Fput_char_attribute): Store symbol instead of string in
534 `XCHAR_TABLE_NAME (table)'.
535 (load_char_attribute_maybe): Likewise.
536 (syms_of_chartab): Add new symbol/function
537 `put-char-table-map-function'.
539 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
541 * database.h: Add new EXFUN for `Fmap_database'.
543 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
544 (syms_of_database): Likewise.
546 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
548 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
549 (XCHAR_TABLE_UNLOADED): Likewise.
551 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
552 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
553 HAVE_DATABASE is defined.
554 (char_attribute_table_to_load): New variable of UTF-2000 with
555 external database support.
556 (Qload_char_attribute_table_map_function): Likewise.
557 (Fload_char_attribute_table_map_function): New function of
558 UTF-2000 with external database support.
559 (Fload_char_attribute_table): New function of UTF-2000.
560 (Fmap_char_attribute): Call Fload_char_attribute_table if
561 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
562 (syms_of_chartab): Add new symbol and function
563 `load-char-attribute-table-map-function' in UTF-2000 with external
564 database support; add new function `load-char-attribute-table' in
567 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
569 * chartab.h (load_char_attribute_maybe): New prototype for
570 UTF-2000 with DATABASE support.
571 (get_char_id_table): Use `load_char_attribute_maybe' if
572 HAVE_DATABASE is defined.
574 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
575 with DATABASE support.
577 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
579 * chartab.c (Fput_char_attribute): Use S-expression as key of
582 * chartab.h (get_char_id_table): Use S-expression as key of
585 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
587 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
588 if an element is not loaded, load the corresponding attributes
589 from an external database.
590 (map_over_uint16_byte_table): Likewise.
591 (map_over_byte_table): Likewise.
592 (map_char_table): Modify for `map_over_uint8_byte_table',
593 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
594 element is not loaded, load the corresponding attributes from an
596 (Fput_char_attribute): Change initial values to Qunloaded.
598 * chartab.h (get_char_id_table): If a character attribute is not
599 loaded and the attribute value is not found in an external
600 database, store Qunbound as the attribute value.
602 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
604 * chartab.c (BT_UINT8_unloaded): New macro.
605 (UINT8_VALUE_P): Accept Qunloaded.
606 (UINT8_ENCODE): Likewise.
607 (UINT8_DECODE): Likewise.
608 (BT_UINT16_unloaded): New macro.
609 (UINT16_VALUE_P): Accept Qunloaded.
610 (UINT16_ENCODE): Likewise.
611 (UINT16_DECODE): Likewise.
612 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
614 (mark_char_table): Mark `ct->name' in UTF-2000.
615 (char_table_description): Add `name' in UTF-2000.
616 (Fmake_char_table): Initialize `ct->name'.
617 (Fcopy_char_table): Copy `ct->name'.
618 (Fput_char_attribute): Store value into an external database if
619 HAVE_DATABASE is defined.
621 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
623 (CHAR_TABLE_NAME): New macro in UTF-2000.
624 (XCHAR_TABLE_NAME): New macro in UTF-2000.
625 (get_char_id_table): Try to read an external database if Qunloaded
626 is stored in a table.
628 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
631 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
633 * database.h: Add EXFUN definitions for Fopen_database,
634 Fput_database, Fget_database and Fclose_database.
636 * data.c (Qunloaded): New variable in UTF-2000.
638 * lisp.h (Qunloaded): New variable in UTF-2000.
640 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
642 * mule-charset.c (put_char_ccs_code_point): Modify for
643 `decoding_table_remove_char' and `decoding_table_put_char'.
644 (remove_char_ccs): Modify for `decoding_table_remove_char'.
646 * char-ucs.h (decoding_table_remove_char): Change arguments to
647 hide decoding_table vector.
648 (decoding_table_put_char): Likewise.
650 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
652 * mule-charset.c (decoding_table_remove_char): Moved to
654 (decoding_table_put_char): Likewise.
656 * char-ucs.h (decoding_table_check_elements): New prototype [moved
657 from mule-charset.c].
658 (decoding_table_remove_char): New inline function [moved from
660 (decoding_table_put_char): Likewise.
662 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
664 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
667 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
669 * mule-charset.c (decode_builtin_char): Support mother charsets.
671 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
673 * mule-charset.c (Q94x94x60): New variable.
674 (charset_code_point): Support conversion `94x94x60'.
675 (Fmake_charset): Likewise.
676 (syms_of_mule_charset): Add new symbol `94x94x60'.
678 * char-ucs.h (CONVERSION_94x94x60): New macro.
680 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
682 * mule-charset.c (charset_code_point): Unify code about
685 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
687 * mule-charset.c (charset_code_point): Merge code about builtin
688 characters into code about mother charsets; don't use
689 `range_charset_code_point'.
690 (range_charset_code_point): Deleted.
692 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
694 * mule-charset.c (Qcode_offset): New variable.
695 (Fmake_charset): Use `XUINT' to get value of `min-code' and
696 `max-code'; accept new property `code-offset'.
697 (syms_of_mule_charset): Add new symbol `code-offset'.
699 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
701 * mule-charset.c (range_charset_code_point): Fixed.
703 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
705 * mule-charset.c (decode_builtin_char): Change semantics of
706 code-offset of coded-charset.
707 (charset_code_point): Likewise.
708 (range_charset_code_point): Likewise.
709 (complex_vars_of_mule_charset): Modify for the change.
711 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
713 * mule-charset.c (Fencode_char): Reverse arguments.
715 * mule-charset.c (charset_code_point): Fixed.
717 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
719 * mule-charset.c (Vcharset_mojikyo): Deleted.
720 (Vcharset_mojikyo_2022_1): Deleted.
721 (Vcharset_mojikyo_pj_{1..21}): Deleted.
722 (Qmin_code): New variable in UTF-2000.
723 (Qmax_code): Likewise.
725 (Qconversion): Likewise.
728 (Qmojikyo_2022_1): Deleted.
729 (Qmojikyo_pj_{1..22}): Deleted.
730 (mark_charset): Mark `cs->mother'.
731 (charset_description): Add description for `mother'.
732 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
733 new arguments `mother' and `conversion'; use
734 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
735 (charset_code_point): Moved from char-ucs.h; support `mother'
737 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
738 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
739 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
740 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
741 allow 2 as the value of `graphic' in UTF-2000; add new properties
742 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
743 require `final' in UTF-2000; modify for `make_charset'.
744 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
745 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
746 (Fcharset_property): Support `mother', `min-code' and `max-code'.
747 (Fencode_char): New function.
748 (syms_of_mule_charset): Add new builtin function `encode-char' in
749 UTF-2000; add new symbols `min-code', `max-code', `mother',
750 `conversion' and `94x60'; delete symbols `mojikyo',
751 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
752 (complex_vars_of_mule_charset): Modify for `make_charset' change;
753 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
754 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
756 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
757 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
759 * char-ucs.h (Vcharset_mojikyo): Deleted.
760 (Vcharset_mojikyo_2022_1): Deleted.
761 (LEADING_BYTE_MOJIKYO): Deleted.
762 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
763 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
764 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
765 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
766 add new member `mother'; add new member `conversion'.
767 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
768 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
769 (CHARSET_MOTHER): New macro.
770 (CHARSET_CONVERSION): New macro.
771 (CONVERSION_IDENTICAL): New macro.
772 (CONVERSION_94x60): New macro.
773 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
774 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
775 (XCHARSET_MOTHER): New macro.
776 (XCHARSET_CONVERSION): New macro.
777 (MIN_CHAR_MOJIKYO): Deleted.
778 (MAX_CHAR_MOJIKYO): Deleted.
779 (DECODE_MOJIKYO_2022): Deleted.
780 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
781 (charset_code_point): Changed to non-inline function.
782 (encode_char_1): Use `charset_code_point'.
783 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
785 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
787 * lread.c (read_compiled_function): Fix prototype.
788 (read_vector): Likewise.
790 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
792 * lrecord.h (struct lrecord_header): Delete `older'.
793 (set_lheader_implementation): Delete code for `older'.
794 (set_lheader_older_implementation): Deleted.
795 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
796 (OLDER_RECORD_P): Deleted.
797 (OLDER_RECORD_HEADER_P): Deleted.
798 (alloc_older_lcrecord): Deleted.
799 (alloc_older_lcrecord_type): Deleted.
801 * alloc.c (all_older_lcrecords): Deleted.
802 (alloc_older_lcrecord): Deleted.
803 (disksave_object_finalization_1): Delete code for older objects.
804 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
805 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
807 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
809 * mule-charset.c (decoding_table_put_char): Use `make_vector'
810 instead of `make_older_vector'.
811 (put_char_ccs_code_point): Likewise.
812 (mark_charset): Mark `cs->decoding_table'.
813 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
815 * lisp.h (make_older_vector): Deleted.
816 (make_vector_newer): Deleted.
818 * config.h.in (HAVE_GGC): Deleted.
820 * alloc.c (make_older_vector): Deleted.
821 (make_vector_newer_1): Deleted.
822 (make_vector_newer): Deleted.
824 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
826 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
827 (Qideograph_daikanwa_2): New variable.
828 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
829 (complex_vars_of_mule_charset): Add new coded-charset
830 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
831 `LEADING_BYTE_DAIKANWA'.
833 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
834 (LEADING_BYTE_DAIKANWA_1): New macro.
835 (LEADING_BYTE_DAIKANWA_2): New macro.
836 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
838 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
840 * mule-charset.c (complex_vars_of_mule_charset): Change
841 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
842 the second revised version.
844 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
846 * mule-charset.c (Vcharset_ucs_smp): New variable.
847 (Vcharset_ucs_sip): New variable.
848 (Qucs_smp): New variable.
849 (Qucs_sip): New variable.
850 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
851 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
852 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
853 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
854 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
855 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
857 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
858 (LEADING_BYTE_UCS_SIP): New macro.
859 (MIN_CHAR_SMP): New macro.
860 (MAX_CHAR_SMP): New macro.
861 (MIN_CHAR_SIP): New macro.
862 (MAX_CHAR_SIP): New macro.
864 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
866 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
869 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
871 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
872 value; don't store value into `encoding_table' of `Lisp_Charset'.
873 (mark_charset): `encoding_table' was deleted.
874 (charset_description): Likewise.
875 (make_charset): Likewise.
876 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
877 `put_char_ccs_code_point'.
879 * chartab.h (Fput_char_attribute): New EXFUN.
881 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
882 is unified with normal symbol space.
883 (Fget_char_attribute): Likewise.
884 (Fput_char_attribute): Likewise; behavior of
885 `put_char_ccs_code_point' is changed.
887 * char-ucs.h: Include "elhash.h".
888 (Vchar_attribute_hash_table): New external variable.
889 (struct Lisp_Charset): Delete `encoding_table'.
890 (CHARSET_ENCODING_TABLE): New implementation; refer
891 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
894 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
896 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
899 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
901 * text-coding.c (char_encode_big5): Prefer charset-g1 than
904 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
906 * chartab.c (uint8_byte_table_description): New constant.
907 (uint8-byte-table): Use `uint8_byte_table_description'.
908 (uint16_byte_table_description): New constant.
909 (uint16-byte-table): Use `uint16_byte_table_description'.
911 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
913 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
914 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
916 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
918 * mule-charset.c (Vcharset_ucs_ks): New variable.
919 (Qucs_ks): New variable.
920 (syms_of_mule_charset): Add new symbol `ucs-ks'.
921 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
923 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
925 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
927 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
928 (Fdecode_char): Likewise.
930 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
932 (Fdefine_char): Modify for Fdecode_char.
933 (Ffind_char): Likewise.
935 * mule-charset.c (Fdecode_char): Add new optional argument
937 (Fdecode_builtin_char): Modify for `Fdecode_char'.
939 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
941 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
942 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
943 (allocate_coding_system): Initialize initial-charsets of
944 CODESYS_BIG5 in XEmacs UTF-2000.
945 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
946 CODESYS_BIG5 in XEmacs UTF-2000.
947 (decode_coding_big5): Use initial-charset-g0 and -g1 of
948 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
950 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
952 (Qideograph_hanziku_{1 .. 12}): Likewise.
953 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
955 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
956 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
957 `ideograph-hanziku-{1 .. 12}'.
959 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
960 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
961 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
962 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
963 (DECODE_DEFINED_CHAR): New inline function.
964 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
966 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
968 * mule-charset.c (Vcharset_china3_jef): Renamed from
969 `Vcharset_japanese_jef_china3'.
970 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
971 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
972 `{MIN|MAX}_CHAR_JEF_CHINA3'..
973 (syms_of_mule_charset): Rename `china3-jef' from
974 `japanese-jef-china3'.
975 (complex_vars_of_mule_charset): Likewise; rename
976 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
978 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
979 `LEADING_BYTE_JEF_CHINA3'.
980 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
981 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
983 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
985 * mule-charset.c (encode_builtin_char_1): Comment out special code
986 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
988 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
989 (MAX_CHAR_MOJIKYO_0): Comment out.
990 (MIN_CHAR_CBETA): Changed to 0x00E20000.
991 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
992 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
993 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
995 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
997 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
998 (Qideograph_cbeta): New variable.
999 (encode_builtin_char_1): Comment out special code for
1000 coded-charset `mojikyo' and `japanese-jef-china3'.
1001 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1002 (complex_vars_of_mule_charset): Add new coded-charset
1005 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1006 (MIN_CHAR_CBETA): New macro.
1007 (MAX_CHAR_CBETA): New macro.
1009 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1011 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1012 (LEADING_BYTE_JEF_CHINA3): New macro.
1013 (MIN_CHAR_JEF_CHINA3): New macro.
1014 (MAX_CHAR_JEF_CHINA3): Likewise.
1015 (DECODE_CHAR): Fixed.
1017 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1019 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1020 (Qjapanese_jef_china3): New variable.
1021 (encode_builtin_char_1): Support `japanese-jef-china3'.
1022 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1023 (complex_vars_of_mule_charset): Add new coded-charset
1024 `japanese-jef-china3'.
1026 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1028 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1029 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1030 94^4, 96^3, 96^4, 128^n and 256^n set.
1031 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1032 (map_char_table): Likewise.
1034 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1036 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1039 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1041 * chartab.h (get_char_id_table): New inline function.
1043 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1046 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1048 * chartab.h (decode_char_table_range): New prototype in XEmacs
1050 (put_char_id_table): New inline function in XEmacs UTF-2000.
1052 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1054 (decode_char_table_range): Delete static declaration in XEmacs
1057 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1059 * chartab.c (put_char_id_table): Use `put_char_table'.
1061 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1063 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1064 (map_over_uint16_byte_table): Likewise.
1065 (map_over_byte_table): Likewise.
1066 (map_char_table): Modify for `map_over_uint8_byte_table',
1067 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1070 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1072 * chartab.c (struct map_char_table_for_charset_arg): New
1074 (map_char_table_for_charset_fun): New function.
1075 (map_char_table): Use `map_char_table' for encoding_table of
1078 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1080 * chartab.c (map_char_table): Check a character is found in
1081 range->charset instead of non default value is defined in
1082 char-table when range is CHARTAB_RANGE_ROW.
1084 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1086 * chartab.c (map_char_id_table): Deleted.
1087 (Fmap_char_attribute): Use `map_char_table' instead of
1088 `map_char_id_table'.
1090 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1092 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1094 (update_syntax_table): Deleted in XEmacs UTF-2000.
1096 * syntax.c (find_defun_start): Use `syntax_table' instead of
1097 `mirror_syntax_table' in XEmacs UTF-2000.
1098 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1100 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1102 (Fmatching_paren): Likewise.
1103 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1105 (find_start_of_comment): Likewise.
1106 (find_end_of_comment): Likewise.
1107 (Fforward_comment): Likewise.
1108 (scan_lists): Likewise.
1109 (char_quoted): Likewise.
1110 (Fbackward_prefix_chars): Likewise.
1111 (scan_sexps_forward): Likewise.
1112 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1113 (update_syntax_table): Likewise.
1115 * search.c (skip_chars): Use `syntax_table' instead of
1116 `mirror_syntax_table' in XEmacs UTF-2000.
1117 (wordify): Likewise.
1118 (Freplace_match): Likewise.
1120 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1121 `mirror_syntax_table' in XEmacs UTF-2000.
1122 (WORDCHAR_P_UNSAFE): Likewise.
1123 (re_match_2_internal): Likewise.
1125 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1126 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1128 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1129 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1131 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1134 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1136 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1137 (char_table_description): Delete `mirror_table' in XEmacs
1139 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1141 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1142 (Fcopy_char_table): Likewise.
1143 (put_char_table): Don't call `update_syntax_table' in XEmacs
1146 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1147 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1148 (casify_region_internal): Likewise.
1150 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1152 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1153 `mirror_syntax_table' in XEmacs UTF-2000.
1155 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1156 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1157 (Fexpand_abbrev): Likewise.
1159 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1161 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1163 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1165 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1166 (map_over_uint16_byte_table): Likewise.
1167 (map_over_byte_table): Likewise.
1168 (get_char_id_table): Refer `cit->default_value'.
1169 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1170 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1171 of character-id ranges.
1172 (mark_char_table): Mark `ct->default_value'.
1173 (char_table_description): Add `default_value'.
1174 (fill_char_table): Use `default_value'.
1175 (decode_char_table_range): Decode `nil' as
1176 `CHARTAB_RANGE_DEFAULT'.
1177 (get_char_id_table): Refer `cit->default_value'.
1178 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1179 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1180 temporary hack; check value of char-table is bound or not.
1181 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1183 * chartab.h (struct Lisp_Char_Table): Add new member
1184 `default_value' in XEmacs UTF-2000.
1185 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1186 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1189 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1191 * chartab.h (Lisp_Char_ID_Table): Deleted.
1193 * chartab.c (char_table_description): Fix typo.
1194 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1195 `Lisp_Char_ID_Table'.
1197 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1199 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1202 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1205 * chartab.h (XCHAR_ID_TABLE): Deleted.
1206 (XSETCHAR_ID_TABLE): Deleted.
1207 (CHAR_ID_TABLE_P): Deleted.
1209 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1211 (Fget_composite_char): Likewise.
1212 (put_char_table): Likewise.
1213 (add_char_attribute_alist_mapper): Fixed.
1214 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1216 (Fget_char_attribute): Likewise.
1217 (Fget_char_attribute): Likewise.
1218 (Fmap_char_attribute): Likewise.
1220 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1222 (encode_char_1): Likewise.
1224 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1226 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1229 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1230 instead of `XCHAR_ID_TABLE'.
1231 (remove_char_ccs): Likewise.
1233 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1235 (Fget_composite_char): Likewise.
1236 (Fchar_variants): Likewise.
1237 (put_char_table): Likewise.
1238 (add_char_attribute_alist_mapper): Likewise.
1239 (Fchar_attribute_alist): Likewise.
1240 (Fget_char_attribute): Likewise.
1241 (Fput_char_attribute): Likewise.
1242 (Fmap_char_attribute): Likewise.
1243 (Fmap_char_attribute): Likewise.
1245 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1247 (encode_char_1): Likewise.
1249 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1251 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1252 `Lisp_Char_ID_Table'.
1253 (mark_char_id_table): Deleted.
1254 (print_char_id_table): Likewise.
1255 (char_id_table_equal): Likewise.
1256 (char_id_table_hash): Likewise.
1257 (char_id_table_description): Likewise.
1258 (char_id_table): Likewise.
1259 (make_char_id_table): Use `Fmake_char_table' and
1261 (get_char_id_table): Use `Lisp_Char_Table' instead of
1262 `Lisp_Char_ID_Table'.
1263 (put_char_id_table): Likewise.
1264 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1266 (Fremove_char_attribute): Likewise.
1267 (syms_of_chartab): Don't define type `char-id-table'.
1269 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1270 (char_id_table): Likewise.
1271 (GC_CHAR_ID_TABLE_P): Likewise.
1272 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1273 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1274 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1275 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1276 (get_char_id_table): Use `Lisp_Char_Table' instead of
1277 `Lisp_Char_ID_Table'.
1278 (put_char_id_table_0): Likewise.
1279 (put_char_id_table): Likewise.
1281 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1283 * chartab.h: Lisp_Byte_Table related codes are moved from
1286 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1288 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1290 * chartab.h: Don't include "chartab.h".
1291 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1292 (Lisp_Char_ID_Table): Likewise.
1293 (char_id_table): Likewise.
1294 (XCHAR_ID_TABLE): Likewise.
1295 (XSETCHAR_ID_TABLE): Likewise.
1296 (CHAR_ID_TABLE_P): Likewise.
1297 (GC_CHAR_ID_TABLE_P): Likewise.
1298 (get_char_id_table): Likewise.
1300 * char-ucs.h: Include "chartab.h".
1301 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1302 (Lisp_Char_ID_Table): Likewise.
1303 (char_id_table): Likewise.
1304 (XCHAR_ID_TABLE): Likewise.
1305 (XSETCHAR_ID_TABLE): Likewise.
1306 (CHAR_ID_TABLE_P): Likewise.
1307 (GC_CHAR_ID_TABLE_P): Likewise.
1308 (get_char_id_table): Likewise.
1310 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1312 * chartab.c (copy_uint8_byte_table): New function.
1313 (copy_uint16_byte_table): New function.
1314 (copy_byte_table): New function.
1315 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1317 (map_over_uint16_byte_table): Likewise.
1318 (map_over_byte_table): Likewise.
1319 (get_byte_table): Move prototype to chartab.h.
1320 (put_byte_table): Likewise.
1321 (put_char_id_table_0): Moved to chartab.h.
1322 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1323 (char_table_entry_equal): Likewise.
1324 (char_table_entry_hash): Likewise.
1325 (char_table_entry_description): Likewise.
1326 (char_table_entry): Likewise.
1327 (make_char_table_entry): Likewise.
1328 (copy_char_table_entry): Likewise.
1329 (get_non_ascii_char_table_value): Likewise.
1330 (map_over_charset_ascii): Likewise.
1331 (map_over_charset_control_1): Likewise.
1332 (map_over_charset_row): Likewise.
1333 (map_over_other_charset): Likewise.
1334 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1335 (print_char_table): Likewise.
1336 (char_table_equal): Likewise.
1337 (char_table_hash): Likewise.
1338 (char_table_description): Likewise.
1339 (fill_char_table): Likewise.
1340 (Fcopy_char_table): Likewise.
1341 (get_char_table): Likewise.
1342 (Fget_range_char_table): Likewise.
1343 (put_char_table): Likewise.
1344 (map_char_table): Likewise.
1345 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1348 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1350 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1351 `Vauto_fill_chars' in XEmacs UTF-2000.
1353 * chartab.h (get_byte_table): New prototype [moved from
1355 (put_byte_table): Likewise [moved from chartab.c].
1356 (put_char_id_table_0): New inline function [moved from chartab.c].
1357 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1358 (Lisp_Char_Table_Entry): Likewise.
1359 (char_table_entry): Likewise.
1360 (XCHAR_TABLE_ENTRY): Likewise.
1361 (XSETCHAR_TABLE_ENTRY): Likewise.
1362 (CHAR_TABLE_ENTRYP): Likewise.
1363 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1364 (NUM_ASCII_CHARS): Likewise.
1365 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1366 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1368 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1370 * chartab.c (get_char_id_table): Change interface.
1371 (put_char_id_table_0): New function.
1372 (put_char_id_table): Change interface; new implementation.
1373 (Fget_composite_char): Modify for interface change of
1374 `get_char_id_table'.
1375 (Fchar_variants): Likewise.
1376 (add_char_attribute_alist_mapper): Likewise.
1377 (Fchar_attribute_alist): Likewise.
1378 (Fget_char_attribute): Likewise.
1379 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1380 as same as character as the first argument like `put-char-table';
1381 modify for interface change of `put_char_id_table'.
1382 (Fremove_char_attribute): Modify for interface change of
1383 `put_char_id_table'.
1385 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1387 * text-coding.c: Sync up with XEmacs 21.2.41.
1388 (COMPOSE_ADD_CHAR): Modify for interface change of
1389 `get_char_id_table'.
1391 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1392 change of `put_char_id_table'.
1393 (remove_char_ccs): Likewise.
1395 * chartab.h (put_char_id_table): Change interface.
1397 * char-ucs.h (get_char_id_table): Change interface.
1398 (charset_code_point): Modify for interface change of
1399 `get_char_id_table'.
1400 (encode_char_1): Likewise.
1402 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1404 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1406 (map_over_uint16_byte_table): Likewise.
1407 (map_over_byte_table): Likewise.
1408 (map_char_id_table): Add new argument `range' like
1410 (Fmap_char_attribute): Add new argument `range' like
1413 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1415 * chartab.c (map_over_uint8_byte_table): Change interface of
1416 mapping function to use struct chartab_range instead of Emchar.
1417 (map_over_uint16_byte_table): Likewise.
1418 (map_over_byte_table): Likewise.
1419 (map_char_id_table): Likewise.
1420 (struct slow_map_char_id_table_arg): Deleted.
1421 (slow_map_char_id_table_fun): Deleted.
1422 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1423 function `slow_map_char_table_fun' instead of struct
1424 `slow_map_char_id_table_arg' and function
1425 `slow_map_char_id_table_fun'.
1427 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1429 * mule-charset.c: Move char-it-table related codes to chartab.c.
1430 (Vutf_2000_version): Moved to chartab.c.
1431 (Fdefine_char): Likewise.
1432 (Ffind_char): Likewise.
1433 (syms_of_mule_charset): Move types `uint8-byte-table',
1434 `uint16-byte-table', `byte-table' and `char-id-table' to
1435 chartab.c; move functions `char_attribute_list,
1436 `find_char_attribute_table, `char_attribute_alist,
1437 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1438 `map_char_attribute, `define_char, `find_char, `char_variants and
1439 `get_composite_char to chartab.c; move symbols `=>ucs',
1440 `->decomposition', `compat', `isolated', `initial', `medial',
1441 `final', `vertical', `noBreak', `fraction', `super', `sub',
1442 `circle', `square', `wide', `narrow', `small' and `font' to
1444 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1445 setting codes for `Vcharacter_composition_table' and
1446 `Vcharacter_variant_table' to chartab.c.
1447 (complex_vars_of_mule_charset): Move setting code for
1448 `Vchar_attribute_hash_table' to chartab.c.
1450 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1451 (make_char_id_table): New prototype.
1452 (put_char_id_table): Likewise.
1453 (Fget_char_attribute): Likewise.
1455 * chartab.c: Move char-id-table related code from mule-charset.c.
1456 (Vutf_2000_version): Moved from mule-charset.c.
1458 * char-ucs.h (Qucs): New external variable.
1459 (put_char_ccs_code_point): New prototype.
1460 (remove_char_ccs): Likewise.
1462 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1464 * mule-charset.c (Vcharset_ucs_jis): New variable.
1465 (Qucs_jis): Likewise.
1466 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1467 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1469 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1471 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1473 * mule-charset.c (map_over_uint8_byte_table): New function.
1474 (map_over_uint16_byte_table): Likewise.
1475 (map_over_byte_table): Likewise.
1476 (map_char_id_table): Likewise.
1477 (slow_map_char_id_table_fun): Likewise.
1478 (Fmap_char_attribute): Likewise.
1479 (syms_of_mule_charset): Add new function `map-char-attribute'.
1481 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1483 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1484 (syms_of_mule_charset): Add new function `find-char'.
1486 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1488 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1490 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1491 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1493 (complex_vars_of_mule_charset): Add new coded-charset
1494 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1495 `ideograph-gt-pj-*'.
1497 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1499 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1501 * mule-charset.c (encode_builtin_char_1): Purge codes about
1502 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1503 {MIN|MAX}_CHAR_HEBREW.
1504 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1505 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1507 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1508 (MAX_CHAR_GREEK): Purged.
1509 (MIN_CHAR_CYRILLIC): Purged.
1510 (MAX_CHAR_CYRILLIC): Purged.
1511 (MIN_CHAR_HEBREW): Commented out.
1512 (MAX_CHAR_HEBREW): Likewise.
1514 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1516 * mule-charset.c (Qto_ucs): New variable.
1517 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1518 (Fdefine_char): Likewise.
1519 (syms_of_mule_charset): Add new symbol `=>ucs'.
1521 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1523 * mule-charset.c (Fdecode_char): Fixed.
1525 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1527 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1528 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1531 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1533 * mule-charset.c (Vcharset_ucs_big5): New variable.
1534 (Qucs_big5): Likewise.
1535 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1536 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1538 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1540 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1542 * mule-charset.c (decode_builtin_char): Check Big5 code range
1543 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1545 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1547 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1548 (Qchinese_gb12345): Likewise.
1549 (Fdecode_builtin_char): Fixed.
1550 (syms_of_mule_charset): Add `chinese-gb12345'.
1551 (complex_vars_of_mule_charset): Add coded-charset
1554 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1555 (LEADING_BYTE_CHINESE_GB12345): New macro.
1557 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1559 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1560 and `latin-viscii-upper' for `latin-viscii'.
1562 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1564 * mule-charset.c (Fdecode_builtin_char): Comment out
1565 regularization code for ISO-IR GR representation.
1567 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1569 * mule-charset.c (decode_builtin_char): New function; renamed from
1570 `make_builtin_char'; return -1 instead of signal.
1571 (Fdecode_builtin_char): Use `decode_builtin_char'.
1573 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1574 `make_builtin_char'.
1575 (DECODE_CHAR): Use `decode_builtin_char' instead of
1576 `make_builtin_char'; use mapping table of `chinese-big5' for
1577 `chinese-big5-{1,2}'.
1579 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1581 * text-coding.c (char_encode_big5): New function.
1582 (char_finish_big5): Likewise.
1583 (reset_encoding_stream): Use `char_encode_big5' and
1584 `char_finish_big5' for CODESYS_BIG5.
1585 (mule_encode): Don't use `encode_coding_big5'.
1586 (encode_coding_big5): Deleted.
1588 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1590 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1591 0x81- in XEmacs UTF-2000.
1592 (detect_coding_big5): Likewise.
1594 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1596 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1597 generate character-id if the CCS property does not have
1598 corresponding predefined character.
1599 (make_builtin_char): Return -1 if corresponding predefined
1600 character is not found.
1601 (Fdecode_char): Return nil if corresponding character is not
1603 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1604 don't map to builtin ucs space.
1606 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1608 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1609 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1611 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1613 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1614 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1615 (Qideograph_gt): Likewise.
1616 (Qideograph_gt_pj_{1..11}): Likewise.
1617 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1618 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1619 `ideograph-gt-pj-11'.
1620 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1621 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1622 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1624 * char-ucs.h (LEADING_BYTE_GT): New macro.
1625 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1626 (MIN_CHAR_GT): Likewise.
1627 (MAX_CHAR_GT): Likewise.
1629 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1631 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1632 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1634 * doprnt.c (unsigned_int_converters): Add `c'.
1635 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1637 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1638 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1640 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1641 (MAX_CHAR_MOJIKYO_0): New macro.
1642 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1644 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1646 * mule-charset.c (Fdefine_char): Delete cemented out code.
1647 (encode_builtin_char_1): Modify for new allocation of builtin
1650 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1652 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1654 * mule-charset.c (Vcharset_ucs_cns): New variable.
1655 (Qucs_cns): New variable.
1656 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1657 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1659 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1661 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1663 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1665 * search.c (search_buffer): Make `charset_base_code' as
1666 character-id >> 6 to eliminate the corresponding last byte in
1667 UTF-8 representation [I'm not sure it is right thing].
1668 (boyer_moore): Likewise.
1670 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1672 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1673 representation in MULE.
1675 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1677 * text-coding.c (Fmake_coding_system): Use
1678 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1679 `EXTERNAL_PROPERTY_LIST_LOOP'.
1681 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1683 * text-coding.c (decode_output_utf8_partial_char): New function.
1684 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1686 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1688 * text-coding.c (decode_coding_utf8): Output original byte
1689 sequence if it is broken; change order of conditions.
1691 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1694 * mb-multibyte.h (BYTE_ASCII_P):
1695 Use bit ops for char-signedness safety.
1696 (BYTE_C0_P): Use bit ops for char-signedness safety.
1697 (BYTE_C1_P): Use bit ops for char-signedness safety.
1699 * character.h: (XCHAR_OR_CHAR_INT):
1700 Always use inline function.
1701 Remove redundant type checking assert() - XINT will abort quite
1704 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1706 * text-coding.c: (Fencode_shift_jis_char):
1707 (Fencode_big5_char):
1708 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1709 Replace 0 with '\0' when working with bytes.
1710 Replace initial "(" with "\(" in docstrings.
1712 (Fmake_coding_system):
1713 When type is ccl and value is vector, register it with a proper
1714 symbol. And checks whether the given ccl program is valid.
1715 (mule_decode): When calling ccl_driver, if src indicates
1716 NULL pointer, set an empty string instead.
1717 (mule_encode): Likewise.
1720 (detect_coding_sjis):
1721 (decode_coding_sjis):
1722 (detect_coding_big5):
1723 (decode_coding_big5):
1724 (detect_coding_ucs4):
1725 (decode_coding_ucs4):
1726 (detect_coding_utf8):
1727 (decode_coding_utf8):
1728 (detect_coding_iso2022):
1729 (decode_coding_iso2022):
1730 (decode_coding_no_conversion):
1732 Make all detecting and decoding functions take an Extbyte * arg.
1733 (text_encode_generic):
1734 (encode_coding_big5):
1735 (encode_coding_no_conversion):
1737 Make all encoding functions take a Bufbyte * arg.
1738 Use size_t instead of unsigned int for memory sizes.
1739 Only cast to unsigned char whenever dereferencing Extbyte *.
1741 (struct lrecord_description fcd_description_1): Use countof.
1742 (complex_vars_of_file_coding):
1743 Use countof instead of sizeof.
1744 Use CHECK_NATNUM instead of CHECK_INT.
1746 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1748 * mule-charset.c (Fget_char_attribute): Add new optional argument
1750 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1751 (remove_char_ccs): Likewise.
1753 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1755 * text-coding.c (char_encode_shift_jis): New implementation in
1757 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1760 * mule-charset.c (Vcharset_chinese_big5): New variable in
1762 (Qchinese_big5): New variable in UTF-2000.
1763 (BIG5_SAME_ROW): New macro in UTF-2000.
1764 (make_builtin_char): Use builtin characters of
1765 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1766 characters of `Vcharset_chinese_big5'.
1767 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1768 (complex_vars_of_mule_charset): Add new coded-charset
1769 `chinese-big5' in UTF-2000.
1771 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1772 (Vcharset_chinese_big5): New external variable declaration.
1773 (Vcharset_japanese_jisx0208_1990): Likewise.
1775 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1777 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1779 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1781 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1783 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1784 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1785 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1788 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1790 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1792 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1794 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1797 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1799 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1800 for `CHARSET_BY_ATTRIBUTES'.
1801 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1802 `CHARSET_BY_ATTRIBUTES'.
1804 * text-coding.c (struct decoding_stream): Rename member `CH' to
1806 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1807 (decode_coding_sjis): Likewise.
1808 (decode_coding_big5): Likewise.
1809 (decode_coding_ucs4): Likewise.
1810 (decode_coding_utf8): Likewise.
1811 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1812 `CHARSET_BY_ATTRIBUTES'.
1813 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1814 `str->counter'; decode 3, 4 bytes sets.
1815 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1817 (decode_coding_no_conversion): Use `str->cpos' instead of
1820 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1821 (Qmojikyo_2022_1): New variable.
1822 (make_charset): Don't use `CHARSET_TYPE_*'.
1823 (range_charset_code_point): Support coded-charset
1825 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1826 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1827 `CHARSET_BY_ATTRIBUTES'.
1828 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1829 `CHARSET_BY_ATTRIBUTES'.
1830 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1831 (complex_vars_of_mule_charset): Add new coded-charset
1834 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1835 interface; changed to inline function.
1837 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1838 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1839 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1840 (CHARSET_TYPE_94): Deleted.
1841 (CHARSET_TYPE_94X94): Deleted.
1842 (CHARSET_TYPE_96): Deleted.
1843 (CHARSET_TYPE_96X96): Deleted.
1844 (CHARSET_TYPE_128): Deleted.
1845 (CHARSET_TYPE_128X128): Deleted.
1846 (CHARSET_TYPE_256): Deleted.
1847 (CHARSET_TYPE_256X256): Deleted.
1848 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1850 (DECODE_MOJIKYO_2022): New inline function.
1851 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1852 `Vcharset_mojikyo_2022_1'.
1854 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1856 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1858 (put_byte_table): Likewise.
1859 (char_id_table_equal): Use `get_byte_table' [new implementation].
1861 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1863 * mule-charset.c: Include <limits.h> in UTF-2000.
1864 (BT_UINT8_MIN): New macro in UTF-2000.
1865 (BT_UINT8_MAX): New macro in UTF-2000.
1866 (BT_UINT8_t): New macro in UTF-2000.
1867 (BT_UINT8_nil): New macro in UTF-2000.
1868 (BT_UINT8_unbound): New macro in UTF-2000.
1869 (INT_UINT8_P): New inline function in UTF-2000.
1870 (UINT8_VALUE_P): New inline function in UTF-2000.
1871 (UINT8_ENCODE): New inline function in UTF-2000.
1872 (UINT8_DECODE): New inline function in UTF-2000.
1873 (mark_uint8_byte_table): New function in UTF-2000.
1874 (print_uint8_byte_table): New function in UTF-2000.
1875 (uint8_byte_table_equal): New function in UTF-2000.
1876 (uint8_byte_table_hash): New function in UTF-2000.
1877 (make_uint8_byte_table): New function in UTF-2000.
1878 (uint8_byte_table_same_value_p): New function in UTF-2000.
1879 (BT_UINT16_MIN): New macro in UTF-2000.
1880 (BT_UINT16_MAX): New macro in UTF-2000.
1881 (BT_UINT16_t): New macro in UTF-2000.
1882 (BT_UINT16_nil): New macro in UTF-2000.
1883 (BT_UINT16_unbound): New macro in UTF-2000.
1884 (INT_UINT16_P): New inline function in UTF-2000.
1885 (UINT16_VALUE_P): New inline function in UTF-2000.
1886 (UINT16_ENCODE): New inline function in UTF-2000.
1887 (UINT16_DECODE): New inline function in UTF-2000.
1888 (UINT8_TO_UINT16): New inline function in UTF-2000.
1889 (mark_uint16_byte_table): New function in UTF-2000.
1890 (print_uint16_byte_table): New function in UTF-2000.
1891 (uint16_byte_table_equal): New function in UTF-2000.
1892 (uint16_byte_table_hash): New function in UTF-2000.
1893 (make_uint16_byte_table): New function in UTF-2000.
1894 (uint16_byte_table_same_value_p): New function in UTF-2000.
1895 (print_byte_table): New function in UTF-2000.
1896 (byte-table): Use `print_byte_table' as printer.
1897 (make_byte_table): Delete second argument `older'.
1898 (byte_table_same_value_p): New function in UTF-2000.
1899 (copy_byte_table): Deleted.
1900 (get_byte_table): New function in UTF-2000.
1901 (put_byte_table): New function in UTF-2000.
1902 (print_char_id_table): New function in UTF-2000.
1903 (char-id-table): Use `print_char_id_table' as printer.
1904 (make_char_id_table): Delete second argument `older'.
1905 (get_char_id_table): Use `get_byte_table [new implementation].
1906 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1908 (Ffind_char_attribute_table): New function in UTF-2000.
1909 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1910 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1911 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1912 (syms_of_mule_charset): Add new function
1913 `find-char-attribute-table' in UTF-2000.
1915 * lrecord.h (enum lrecord_type): Add
1916 `lrecord_type_uint16_byte_table' and
1917 `lrecord_type_uint8_byte_table'.
1919 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1920 (Lisp_Uint8_Byte_Table): New type.
1921 (XUINT8_BYTE_TABLE): New macro.
1922 (XSETUINT8_BYTE_TABLE): New macro.
1923 (UINT8_BYTE_TABLE_P): New macro.
1924 (GC_UINT8_BYTE_TABLE_P): New macro.
1925 (struct Lisp_Uint16_Byte_Table): New structure.
1926 (Lisp_Uint16_Byte_Table): New type.
1927 (XUINT16_BYTE_TABLE): New macro.
1928 (XSETUINT16_BYTE_TABLE): New macro.
1929 (UINT16_BYTE_TABLE_P): New macro.
1930 (GC_UINT16_BYTE_TABLE_P): New macro.
1932 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1934 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1935 (Vcharacter_ideographic_strokes_table): Deleted.
1936 (Vcharacter_total_strokes_table): Deleted.
1937 (Vcharacter_morohashi_daikanwa_table): Deleted.
1938 (Vcharacter_decomposition_table): Deleted.
1939 (Qname): Deleted because it is duplicated.
1940 (Qideographic_radical): Deleted.
1941 (Qideographic_strokes): Deleted.
1942 (Qtotal_strokes): Deleted.
1943 (Qmorohashi_daikanwa): Deleted.
1944 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1945 `ideographic-radical', `ideographic-strokes', `total-strokes',
1946 `morohashi-daikanwa' and `->decomposition'.
1947 (Fget_char_attribute): Likewise.
1948 (Fput_char_attribute): Likewise; use `make-vector' instead of
1949 `make_older_vector' for `->decomposition' value.
1950 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1951 `ideograph-daikanwa'.
1952 (syms_of_mule_charset): Delete builtin symbols `name',
1953 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1954 `morohashi-daikanwa'.
1955 (vars_of_mule_charset): Don't setup
1956 `Vcharacter_ideographic_radical_table',
1957 `Vcharacter_ideographic_strokes_table',
1958 `Vcharacter_total_strokes_table',
1959 `Vcharacter_morohashi_daikanwa_table' and
1960 `Vcharacter_decomposition_table'.
1962 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1964 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1965 `make_older_vector', `make_vector_newer_1' and
1966 `make_vector_newer'.
1968 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1969 `make_older_vector' and `make_vector_newer'.
1971 * config.h.in (HAVE_GGC): New macro.
1973 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1975 * mule-charset.c (struct char_attribute_list_closure): New
1976 structure in UTF-2000.
1977 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1978 (Fchar_attribute_list): Likewise.
1979 (Fset_charset_mapping_table): Use `make_vector_newer'.
1980 (Fdecode_builtin_char): New function in UTF-2000.
1981 (syms_of_mule_charset): Add new function `char-attribute-list' and
1982 `decode-builtin-char' in UTF-2000.
1984 * lisp.h (make_vector_newer): New prototype.
1986 * alloc.c (make_vector_newer_1): New function.
1987 (make_vector_newer): New function.
1989 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1991 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1994 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1996 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1997 (Vcharacter_attribute_table): Deleted.
1998 (Vcharacter_name_table): Deleted.
1999 (put_char_attribute): Deleted.
2000 (remove_char_attribute): Deleted.
2001 (struct char_attribute_alist_closure): New structure.
2002 (add_char_attribute_alist_mapper): New function.
2003 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2004 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2005 (Fget_char_attribute): Likewise.
2006 (Fput_char_attribute): Likewise.
2007 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2008 of `remove_char_attribute'.
2009 (Fdefine_char): Return character.
2010 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2011 and `Vcharacter_name_table'.
2012 (complex_vars_of_mule_charset): Likewise
2013 `Vchar_attribute_hash_table'.
2015 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2017 * character.h (CHARC_CHARSET): New macro.
2018 (CHARC_CHARSET_ID): New macro.
2019 (CHARC_CODE_POINT): New macro.
2020 (CHARC_COLUMNS): New macro.
2021 (CHARC_TO_CHAR): New inline function.
2022 (CHARC_EQ): New inline function.
2023 (CHARC_ASCII_EQ): New inline function.
2024 (CHARC_IS_SPACE): New inline function.
2025 (ASCII_TO_CHARC): New inline function.
2027 * char-ucs.h (encode_char_2): Deleted.
2028 (ENCODE_CHAR): Use `encode_char_1' again.
2029 (breakup_char_1): Likewise.
2030 (CHAR_TO_CHARC): New inline function.
2032 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2034 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2036 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2037 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2038 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2039 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2040 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2042 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2044 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2046 (x_output_display_block): Use `CHARC_CHARSET' and
2049 * redisplay-tty.c (tty_output_display_block): Use
2051 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2053 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2055 * insdel.c (find_charsets_in_charc_string): Use
2057 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2058 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2059 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2060 (convert_charc_string_into_malloced_string): Likewise.
2062 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2064 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2065 instead of <Emchar_dynarr *> for buf; use
2066 `convert_bufbyte_string_into_charc_dynarr' instead of
2067 `convert_bufbyte_string_into_emchar_dynarr'; use
2068 `find_charsets_in_charc_string' instead of
2069 `find_charsets_in_emchar_string'.
2072 - Include "character.h".
2073 (struct rune): New member `cglyph'; delete member `chr'.
2075 * redisplay.c (redisplay_text_width_charc_string): New function;
2076 delete `redisplay_text_width_emchar_string'.
2077 (rtw_charc_dynarr): New variable; renamed from
2078 `rtw_emchar_dynarr'.
2079 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2080 `rtw_emchar_dynarr'; use
2081 `convert_bufbyte_string_into_charc_dynarr' instead of
2082 `convert_bufbyte_string_into_emchar_dynarr'; use
2083 `redisplay_text_width_charc_string' instead of
2084 `redisplay_text_width_emchar_string'.
2085 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2086 instead of `rtw_emchar_dynarr'; use
2087 `convert_bufbyte_string_into_charc_dynarr' instead of
2088 `convert_bufbyte_string_into_emchar_dynarr'.
2089 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2090 `redisplay_text_width_charc_string' instead of
2091 `redisplay_text_width_emchar_string'.
2092 (create_text_block): Modify for <struct rune> change.
2093 (generate_formatted_string_db): Likewise.
2094 (create_string_text_block): Likewise.
2095 (pixel_to_glyph_translation): Likewise.
2097 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2098 instead of <const Emchar *>.
2099 (x_text_width): Likewise.
2100 (x_output_display_block): Use <Charc_dynarr *> instead
2101 <Emchar_dynarr *>; modify for <structure rune> change.
2102 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2105 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2106 <const Emchar *>; use `charc_string_displayed_columns' instead of
2107 `emchar_string_displayed_columns'.
2108 (tty_output_display_block): Use <Charc_dynarr *> instead of
2109 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2110 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2111 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2112 `tty_output_emchar_dynarr_dynarr'.
2113 (tty_output_charc_dynarr): New function; delete
2114 `tty_output_charc_dynarr'.
2116 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2117 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2118 <Emchar_dynarr *> for buf; use
2119 `convert_bufbyte_string_into_charc_dynarr' instead of
2120 `convert_bufbyte_string_into_emchar_dynarr'.
2122 * frame.c (title_string_charc_dynarr): New variable; renamed from
2123 `title_string_emchar_dynarr'.
2124 (generate_title_string): Use `title_string_charc_dynarr' instead
2125 of `title_string_emchar_dynarr'; use
2126 `convert_charc_string_into_malloced_string' instead of
2127 `convert_emchar_string_into_malloced_string'.
2128 (init_frame): Use `title_string_charc_dynarr' instead of
2129 `title_string_emchar_dynarr'.
2132 - Include "character.h".
2133 (struct console_methods): Use <const Charc *> instead of <const
2134 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2135 <Emchar_dynarr *> in output_string_method.
2137 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2140 * console-stream.c (stream_text_width): Use <const Charc *>
2141 instead of <const Emchar *>.
2143 * character.h (Charc_dynarr): New type.
2145 * char-ucs.h (structure Charc): New structure; define new type
2148 * char-lb.h (DECODE_CHAR): New inline function.
2149 (encode_char_1): New inline function.
2150 (ENCODE_CHAR): New macro.
2151 (structure Charc): New structure; define new type `Charc'.
2153 * char-1byte.h (Vcharset_control_1): New macro.
2154 (Vcharset_latin_iso8859_1): New macro.
2155 (DECODE_CHAR): New inline function.
2156 (encode_char_1): New inline function.
2157 (ENCODE_CHAR): New macro.
2158 (structure Charc): New structure; define new type `Charc'.
2160 * insdel.c (find_charsets_in_charc_string): New function; delete
2161 `find_charsets_in_emchar_string'.
2162 (charc_string_displayed_columns): New function; delete
2163 `emchar_string_displayed_columns'.
2164 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2165 `convert_bufbyte_string_into_emchar_dynarr'.
2166 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2167 `convert_charc_string_into_bufbyte_dynarr'.
2168 (convert_charc_string_into_malloced_string): New function; delete
2169 `convert_charc_string_into_malloced_string'.
2171 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2172 `find_charsets_in_emchar_string'.
2173 (charc_string_displayed_columns): New prototype; delete
2174 `emchar_string_displayed_columns'.
2175 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2176 `convert_charc_string_into_bufbyte_dynarr'.
2177 (convert_charc_string_into_malloced_string): New prototype; delete
2178 `convert_charc_string_into_malloced_string'.
2180 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2182 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2184 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2186 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2188 * char-ucs.h: Use <short> for <Charset_ID>.
2190 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2193 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2195 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2198 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2200 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2202 (Qmorohashi_daikanwa): New variable.
2203 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2204 for `morohashi-daikanwa' attribute.
2205 (Fget_char_attribute): Likewise.
2206 (Fput_char_attribute): Likewise.
2207 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2208 has the same value of `ideograph-daikanwa'.
2209 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2210 (vars_of_mule_charset): Setup
2211 `Vcharacter_morohashi_daikanwa_table'.
2213 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2215 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2217 (add_charset_to_list_mapper): Add `key' instead of
2218 `XCHARSET_NAME (value)' to return aliases.
2220 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2222 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2224 (Vcharacter_ideographic_strokes_table): New variable.
2225 (Qideographic_radical): New variable.
2226 (Qideographic_strokes): New variable.
2227 (Fchar_attribute_alist): Use
2228 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2229 attribute; use `Vcharacter_ideographic_strokes_table' for
2230 `ideographic-strokes' attribute.
2231 (Fget_char_attribute): Likewise.
2232 (Fput_char_attribute): Likewise.
2233 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2234 `ideographic-strokes'.
2235 (vars_of_mule_charset): Setup
2236 `Vcharacter_ideographic_radical_table' and
2237 `Vcharacter_ideographic_strokes_table'.
2239 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2241 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2242 (Qtotal_strokes): New variable.
2243 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2244 `total-strokes' attribute.
2245 (Fget_char_attribute): Likewise.
2246 (Fput_char_attribute): Likewise.
2247 (syms_of_mule_charset): Add new symbol `total-strokes'.
2248 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2250 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2252 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2253 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2255 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2256 `->decomposition' attribute.
2257 (Fput_char_attribute): Likewise.
2258 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2260 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2262 * mule-charset.c (decoding_table_check_elements): New function.
2263 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2265 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2267 * mule-charset.c (Fset_charset_mapping_table): Use
2268 `put_char_ccs_code_point'.
2270 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2272 * mule-charset.c (decoding_table_put_char): New inline function.
2273 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2275 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2277 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2278 (XCHARSET_BYTE_SIZE): New macro.
2279 (decoding_table_remove_char): New inline function.
2280 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2281 `decoding_table_remove_char'.
2282 (remove_char_ccs): Use `decoding_table_remove_char'.
2283 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2285 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2287 * mule-charset.c (Vcharacter_name_table): New variable.
2288 (Qname): New variable.
2289 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2291 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2292 `Vcharacter_name_table' for `name' attribute.
2293 (Fremove_char_attribute): Use function `remove_char_ccs'.
2294 (put_char_ccs_code_point): New function.
2295 (remove_char_ccs): New function.
2296 (syms_of_mule_charset): Add new symbol `name'.
2297 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2299 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2301 * mule-charset.c (make_byte_table): Add new argument `older'.
2302 (make_char_id_table): Likewise.
2303 (copy_char_id_table): Comment out because it is not used.
2304 (put_char_id_table): Modify for `make_byte_table'.
2305 (Fput_char_attribute): Make encoding_table as older object;
2306 inherit older bit of `Vcharacter_composition_table'.
2307 (mark_charset): Don't mark `cs->encoding_table'.
2308 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2309 normal object; make `Vcharacter_composition_table' as an older
2310 object; delete staticpro for `Vcharacter_composition_table'; make
2311 `Vcharacter_variant_table' as a normal object.
2313 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2314 (mark_object): Don't check older object in UTF-2000.
2316 * lrecord.h (struct lrecord_header): Add new member `older' in
2318 (set_lheader_implementation): Setup `SLI_header->older' in
2320 (set_lheader_older_implementation): New macro in UTF-2000.
2321 (OLDER_RECORD_P): New macro in UTF-2000.
2322 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2323 (alloc_older_lcrecord): New prototype in UTF-2000.
2324 (alloc_older_lcrecord_type): New macro in UTF-2000.
2326 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2328 * mule-charset.c (byte_table_description): Use
2329 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2330 (char_id_table_description): Delete bogus `, 1'.
2331 (Fget_char_attribute): Refer encoding_table of each coded-charset
2332 to get value of coded-charset attribute of a character.
2333 (Fput_char_attribute): Use `make_older_vector' instead of
2334 `make_vector'; use encoding_table of each coded-charset to store
2335 value of coded-charset attribute of a character.
2336 (Fremove_char_attribute): Use encoding_table of each coded-charset
2337 to store value of coded-charset attribute of a character.
2338 (mark_charset): Mark `cs->encoding_table'; don't mark
2339 `cs->decoding_table'.
2340 (charset_description): Add description of new member
2342 (make_charset): Initialize `encoding_table'.
2344 * char-ucs.h (struct Lisp_Charset): Add new member
2346 (CHARSET_ENCODING_TABLE): New macro.
2347 (XCHARSET_ENCODING_TABLE): New macro.
2348 (charset_code_point): New implementation.
2349 (encode_char_1): Likewise.
2351 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2352 (disksave_object_finalization_1): Call finalizers of
2353 `all_older_lcrecords' in UTF-2000.
2354 (make_older_vector): New function in UTF-2000.
2355 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2358 * lisp.h (make_older_vector): New prototype in UTF-2000.
2360 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2362 * lrecord.h (enum lrecord_type): Rename
2363 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2365 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2366 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2367 `get_char_code_table'.
2369 * mule-charset.c (mark_char_id_table): Renamed from
2370 `mark_char_code_table'.
2371 (char_id_table_equal): Renamed from `char_code_table_equal'.
2372 (char_id_table_hash): Renamed from `char_code_table_hash'.
2373 (make_char_id_table): Renamed from `make_char_code_table'.
2374 (copy_char_id_table): Renamed from `copy_char_code_table'.
2375 (get_char_id_table): Renamed from `get_char_code_table'.
2376 (put_char_id_table): Renamed from `put_char_code_table'.
2377 (to_char_id): Renamed from `to_char_code'.
2379 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2380 `Lisp_Char_Code_Table'.
2381 (char_id_table): Renamed from `char_code_table'.
2382 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2383 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2384 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2385 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2386 (get_char_id_table): Renamed from `get_char_code_table'.
2388 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2390 * lrecord.h (enum lrecord_type): Rename
2391 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2393 * mule-charset.c (mark_byte_table): Renamed from
2394 `mark_char_byte_table'.
2395 (byte_table_equal): Renamed from `char_byte_table_equal'.
2396 (byte_table_hash): Renamed from `byte_table_hash'.
2397 (make_byte_table): Renamed from `make_byte_table'.
2398 (copy_byte_table): Renamed from `copy_char_byte_table'.
2400 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2401 `Lisp_Char_Byte_Table'.
2402 (byte_table): Renamed from `char_byte_table'.
2403 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2404 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2405 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2406 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2408 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2410 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2411 (dfc_convert_to_internal_format): Likewise.
2413 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2414 * text-coding.c (Fcoding_system_alias_p): New function.
2415 * text-coding.c (Fcoding_system_aliasee): New function.
2416 * text-coding.c (append_suffix_to_symbol): New function.
2417 * text-coding.c (dangling_coding_system_alias_p): New function.
2418 * text-coding.c (Ffind_coding_system):
2419 * text-coding.c (Fcopy_coding_system):
2420 * text-coding.c (encode_coding_no_conversion):
2421 * text-coding.c (syms_of_file_coding):
2422 * text-coding.c (vars_of_file_coding):
2423 Rewrite coding system alias code.
2424 Allow nested aliases, like symbolic links.
2425 Allow redefinition of coding system aliases.
2426 Prevent existence of dangling coding system aliases.
2427 Eliminate convert_to_external_format.
2428 Eliminate convert_to_internal_format.
2430 * text-coding.c: Change enum eol_type to eol_type_t.
2432 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2434 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2435 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2437 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2438 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2440 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2442 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2443 `ideograph-daikanwa'.
2445 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2446 (Vcharset_ucs_bmp): Likewise.
2447 (Vcharset_mojikyo): Add new extern variable definition.
2448 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2449 (Vcharset_latin_iso8859_3): Likewise.
2450 (Vcharset_latin_iso8859_4): Likewise.
2451 (Vcharset_latin_iso8859_9): Likewise.
2452 (Vcharset_latin_viscii_lower): Likewise.
2453 (Vcharset_latin_viscii_upper): Likewise.
2454 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2455 `mojikyo' code-point is used to decode.
2456 (encode_char_2): New function [to convert `mojikyo' code-point to
2457 Mojikyo font encoding].
2458 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2459 (breakup_char_1): Likewise.
2460 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2462 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2464 * text-coding.c (Fmake_coding_system): Add document about
2465 `disable-composition' property.
2467 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2469 * text-coding.c (Qdisable_composition): New variable; delete
2471 (Fmake_coding_system): Add new property `disable-composite';
2472 delete property `composite'.
2473 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2474 instead of `!CODING_SYSTEM_COMPOSITE'.
2475 (syms_of_file_coding): Add new symbol `disable-composition';
2476 delete symbol `composite'.
2478 * file-coding.h (struct Lisp_Coding_System): Add
2479 `disable_composition'; delete `enable_composition'.
2480 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2481 `CODING_SYSTEM_COMPOSITE'.
2482 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2483 `XCODING_SYSTEM_COMPOSITE'.
2485 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2487 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2490 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2492 * text-coding.c (Qcomposite): New variable.
2493 (Fmake_coding_system): Add new property `composite'.
2494 (struct decoding_stream): Add `combined_char_count',
2495 `combined_chars' and `combining_table' in UTF-2000.
2496 (COMPOSE_FLUSH_CHARS): New macro.
2497 (COMPOSE_ADD_CHAR): New macro.
2498 (reset_decoding_stream): Reset `str->combined_char_count' and
2499 `str->combining_table' in UTF-2000.
2500 (decode_coding_iso2022): Modify for character-decomposition.
2501 (syms_of_file_coding): Add new symbol `composite'.
2503 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2505 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2506 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2507 of `Vcharacter_composition_table' if `->decomposition' property
2509 (Qlatin_tcvn5712): New variable.
2510 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2511 (complex_vars_of_mule_charset): Add new coded-charset
2514 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2516 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2518 * file-coding.h (struct Lisp_Coding_System): Add
2519 `enable_composition'.
2520 (CODING_SYSTEM_COMPOSITE): New macro.
2521 (XCODING_SYSTEM_COMPOSITE): New macro.
2523 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2525 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2527 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2529 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2530 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2532 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2534 * mule-charset.c (Vcharset_mojikyo): New variable.
2535 (Fdefine_char): Don't use coded-charset which does not have
2536 non-builtin character range to allocate character-id.
2537 (Qmojikyo): New variable.
2538 (syms_of_mule_charset): Add new symbol `mojikyo'.
2539 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2541 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2542 (LEADING_BYTE_MOJIKYO): New macro.
2543 (MIN_CHAR_MOJIKYO): New macro.
2544 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2545 (MAX_CHAR_MOJIKYO): New macro.
2547 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2549 * mule-charset.c (remove_char_attribute): Fixed.
2551 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2553 * mule-charset.c (remove_char_attribute): New function.
2554 (Fremove_char_attribute): New function.
2555 (encode_builtin_char_1): Comment out builtin-support for
2556 greek-iso8859-7 and cyrillic-iso8859-5.
2557 (Fdecode_char): Check `code' is an integer.
2558 (syms_of_mule_charset): Add `remove-char-attribute'.
2559 (MIN_CHAR_GREEK): Deleted.
2560 (MAX_CHAR_GREEK): Likewise.
2561 (MIN_CHAR_CYRILLIC): Likewise.
2562 (MAX_CHAR_CYRILLIC): Likewise.
2563 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2564 MAX_CHAR_GREEK for `greek-iso8859-7'.
2566 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2567 (MAX_CHAR_GREEK): Likewise.
2568 (MIN_CHAR_CYRILLIC): Likewise.
2569 (MAX_CHAR_CYRILLIC): Likewise.
2571 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2573 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2574 format is used without `ucs' property.
2575 (Fdecode_char): Fix problem with GR representation.
2576 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2577 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2579 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2581 * mule-charset.c (make_builtin_char): New function.
2582 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2583 (Fset_charset_mapping_table): Modify for new representation of
2585 (Fdecode_char): New function.
2586 (syms_of_mule_charset): Add new builtin function `decode-char' in
2589 * char-ucs.h (make_builtin_char): New prototype.
2590 (DECODE_CHAR): New inline function.
2591 (MAKE_CHAR): Use `DECODE_CHAR'.
2593 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2595 * text-coding.c (parse_charset_conversion_specs): Use
2596 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2598 (iso2022_designate): Likewise.
2600 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2601 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2603 * mule-charset.c (Vcharset_ucs): New variable.
2604 (print_charset): Change design; use `CHARSET_CHARS' and
2605 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2606 (make_charset): Change signature to specify `chars' and
2607 `dimension' instead of `type'.
2608 (range_charset_code_point): Modify for 256^n-set.
2609 (encode_builtin_char_1): Encode as `ucs' in default.
2610 (Fmake_charset): Modify for `make_charset'.
2611 (Fmake_reverse_direction_charset): Likewise.
2612 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2614 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2617 * char-ucs.h (Vcharset_ucs): New variable.
2618 (LEADING_BYTE_UCS): New macro.
2619 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2620 and `chars' to `unsigned short' from `unsigned int'.
2621 (CHARSET_TYPE): Deleted.
2622 (XCHARSET_TYPE): Deleted.
2624 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2626 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2628 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2629 (ENCODE_CHAR): New macro.
2631 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2633 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2634 to 0.14 (Kawachi-Katakami).
2636 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2638 * text-coding.c (char_encode_shift_jis): Modify for
2639 `charset_code_point'.
2640 (char_encode_iso2022): Likewise.
2642 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2643 (integer) instead of list of <Lisp_Object>s (integers) as the
2644 format of code-point of a coded-charset.
2645 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2646 (encode_builtin_char_1): New function; delete
2647 `split_builtin_char'.
2648 (charset_code_point): Return <int> instead of <Lisp_Object>.
2649 (Fsplit_char): Don't use `SPLIT_CHAR'.
2651 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2652 prototype for `split_builtin_char'.
2653 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2654 (charset_code_point): Likewise.
2655 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2656 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2658 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2660 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2661 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2663 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2665 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2667 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2668 (MAX_CHAR_OBS_94x94): Deleted.
2670 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2672 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2674 * char-ucs.h (MAX_CHAR_BMP): New macro.
2676 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2678 * text-coding.c: Sync with r21-2-24.
2680 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2682 * file-coding.c: Modify for UTF-2000.
2684 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2686 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2689 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2691 * mule-charset.c (split_builtin_char): Delete builtin support for
2692 `katakana-jisx0201'.
2693 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2694 BMP area in builtin representation.
2696 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2697 `Vcharset_katakana_jisx0201'.
2699 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2701 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2702 (Qisolated): New variable.
2703 (Qinitial): New variable.
2704 (Qmedial): New variable.
2705 (Qfinal): New variable.
2706 (Qvertical): New variable.
2707 (Qsmall): New variable.
2708 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2709 `Qvertical' and `Qsmall'.
2710 (Qmojikyo_pj_[1 .. 21]): New variable.
2711 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2712 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2713 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2716 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2718 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2719 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2720 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2722 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2724 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2725 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2727 (Qjapanese_jisx0208_1990): New variable.
2728 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2729 (complex_vars_of_mule_charset): Add new coded-charset
2730 `japanese-jisx0208-1990'.
2732 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2733 (MIN_CHAR_JIS_X0208_1990): New macro.
2734 (MAX_CHAR_JIS_X0208_1990): New macro.
2736 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2738 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2739 coded-charset is not found.
2741 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2743 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2744 (Fdefine_char): Use `Fmake_char'.
2746 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2748 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2749 (Vcharset_hiragana_jisx0208): Deleted.
2750 (Vcharset_katakana_jisx0208): Deleted.
2751 (Qideograph_daikanwa): New variable.
2752 (Qhiragana_jisx0208): Deleted.
2753 (Qkatakana_jisx0208): Deleted.
2754 (split_builtin_char): Split `ideograph-daikanwa'.
2755 (Fsplit_char): New implementation for UTF-2000.
2756 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2757 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2758 (complex_vars_of_mule_charset): Add new coded-charset
2759 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2760 `katakana-jisx0208'.
2762 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2763 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2764 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2765 (MIN_CHAR_DAIKANWA): New macro.
2766 (MAX_CHAR_DAIKANWA): New macro.
2768 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2770 * data.c (Fstring_to_number): Don't recognize floating point if
2773 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2775 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2777 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2779 * mule-charset.c (Qsquare): New variable.
2780 (to_char_code): Add `Qsquare'.
2781 (syms_of_mule_charset): Add new symbol `square'.
2783 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2785 * mule-charset.c (Qcircle): New variable.
2786 (to_char_code): Add `Qcircle'.
2787 (syms_of_mule_charset): Add new symbol `circle'.
2789 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2791 * mule-charset.c (Qfont): New variable.
2792 (to_char_code): Add `Qfont'.
2793 (syms_of_mule_charset): Add new symbol `font'.
2795 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2797 * mule-charset.c (Qsub): New variable.
2798 (to_char_code): Add `Qsub'.
2799 (syms_of_mule_charset): Add new symbol `sub'.
2801 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2803 * mule-charset.c (Fput_char_attribute): Convert each element of
2804 VALUE to GL position if ATTRIBUTE is a GR-set,
2806 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2808 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2809 coded-charset is a GR-set.
2811 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2813 * mule-charset.c (Fput_char_attribute): Check each element of
2814 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2816 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2818 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2820 (Qethiopic_ucs): New variable in UTF-2000.
2821 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2822 (complex_vars_of_mule_charset): Add new coded-charset
2823 `ethiopic-ucs' in UTF-2000.
2825 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2826 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2828 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2830 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2832 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2834 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2837 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2839 * mule-charset.c (Vcharacter_variant_table): New variable.
2840 (Q_ucs): New variable.
2841 (Fchar_variants): New function.
2842 (Fput_char_attribute): Register `->ucs' value to
2843 `Vcharacter_variant_table'.
2844 (syms_of_mule_charset): Add new function `char-variants' and new
2846 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2848 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2850 * mule-charset.c (get_char_code_table): Allow negative character
2852 (put_char_code_table): Likewise.
2853 (Vcharacter_composition_table): New variable.
2854 (Q_decomposition): New variable.
2855 (Qwide): New variable.
2856 (Qnarrow): New variable.
2857 (Qcompat): New variable.
2858 (QnoBreak): New variable.
2859 (Qsuper): New variable.
2860 (Qfraction): New variable.
2861 (to_char_code): New function.
2862 (Fget_composite_char): New function.
2863 (Fput_char_attribute): Register `->decomposition' value to
2864 `Vcharacter_composition_table'.
2865 (syms_of_mule_charset): Add new function `get-composite-char', new
2866 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2867 `super' and `fraction'.
2868 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2870 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2872 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2873 character; copy the return value.
2875 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2877 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2879 * mule-charset.c (range_charset_code_point): Must use make_int.
2880 (split_builtin_char): New function.
2882 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2884 * mule-charset.c (char_byte_table): Change name from
2885 "char-code-table" to "char-byte-table".
2886 (mark_char_code_table): New function.
2887 (char_code_table_equal): New function.
2888 (char_code_table_hash): New function.
2889 (char_code_table_description): New constant.
2890 (char_code_table): New type.
2891 (make_char_code_table): New function.
2892 (copy_char_code_table): New function.
2893 (get_char_code_table): Modify for `char_code_table' type.
2894 (put_char_code_table): Likewise.
2895 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2898 * char-ucs.h (char_code_table): New type.
2899 (XCHAR_CODE_TABLE): New macro.
2900 (XSETCHAR_CODE_TABLE): New macro.
2901 (CHAR_CODE_TABLE_P): New macro.
2902 (GC_CHAR_CODE_TABLE_P): New macro.
2903 (struct Lisp_Char_Code_Table): New structure.
2905 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2907 * mule-charset.c (Fmake_charset): Setup byte_offset for
2910 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2912 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2915 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2917 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2920 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2922 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2923 charset, it is regarded as a charset.
2924 (put_char_attribute): New function in UTF-2000.
2925 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2926 charset, mapping-table of the charset is modified.
2927 (Fdefine_char): New function in UTF-2000.
2928 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2929 `Fput_char_attribute'.
2930 (syms_of_mule_charset): Add new function `define-char' and new
2931 symbol `ucs' in UTF-2000.
2932 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2934 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2936 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2937 non-UTF-2000 configuration.
2939 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2941 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2942 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2944 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2946 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2947 (Fset_charset_mapping_table): Likewise.
2949 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2950 (CHARSET_ENCODING_TABLE): Delete.
2951 (XCHARSET_ENCODING_TABLE): Delete.
2952 (charset_code_point): New interface.
2954 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2956 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2957 instead of `charset_get_byte1' and `charset_get_byte2'.
2959 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2960 (charset_get_byte2): Deleted.
2962 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2964 * char-ucs.h (SPLIT_CHAR): New inline function.
2965 (breakup_char_1): Use `SPLIT_CHAR'.
2967 * mule-charset.c (range_charset_code_point): New function.
2968 (charset_code_point): New function.
2970 * char-ucs.h (range_charset_code_point): New interface.
2971 (breakup_char_1): Use `range_charset_code_point'.
2973 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2975 * mule-charset.c (Fmake_charset): Delete unused local variable
2978 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2979 (breakup_char_1): Find a charset and code-point in
2980 `Vcharacter_attribute_table'.
2982 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2984 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2987 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2989 * mule-charset.c (Vcharacter_attribute_table): New variable.
2990 (Fchar_attribute_alist): New function.
2991 (Fget_char_attribute): New function.
2992 (Fput_char_attribute): New function.
2993 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2995 (syms_of_mule_charset): Add new function `char-attribute-alist',
2996 `get-char-attribute' and `put-char-attribute'.
2997 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2999 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3001 * mule-charset.c (Fmake_charset): Just use
3002 `get_unallocated_leading_byte'.
3004 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3005 sets; don't use final-byte based number for private sets.
3007 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3009 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3012 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3014 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3017 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3019 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3020 of `CHAR_LEADING_BYTE' in UTF-2000.
3022 * insdel.c (find_charsets_in_bufbyte_string): Use
3023 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3024 (find_charsets_in_emchar_string): Likewise.
3026 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3027 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3029 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3030 (CHAR_CHARSET_ID): New macro.
3032 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3034 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3035 charset-id - MIN_LEADING_BYTE.
3036 (put_char_table): Likewise.
3038 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3040 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3041 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3042 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3043 (CHARSET_ID_OFFSET): New macro.
3044 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3045 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3046 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3047 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3049 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3051 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3052 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3053 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3054 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3055 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3057 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3059 * mule-charset.c (next_allocated_leading_byte): New variable in
3061 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3062 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3063 (get_unallocated_leading_byte): Simply use
3064 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3065 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3068 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3069 (MAX_LEADING_BYTE_PRIVATE): New macro.
3070 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3071 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3073 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3075 * mule-charset.c (Fmake_charset): Allocate final-byte based
3076 charset-id for 94-set, 96-set and 94x94-set.
3078 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3080 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3082 (Fmake_charset): Likewise.
3083 (complex_vars_of_mule_charset): Modify the font registry of
3084 `ucs-bmp' not to match `Ethiopic-Unicode'.
3086 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3088 * mule-charset.c (complex_vars_of_mule_charset): Add font
3089 registory of `ucs-bmp'.
3091 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3093 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3094 coded-charsets in `default-coded-charset-priority-list' when
3095 breaking up a character.
3097 * mule-charset.c (Vcharset_latin_viscii): New variable.
3098 (Qlatin_viscii): New variable.
3099 (make_charset): Don't use `decoding_table'.
3100 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3102 (Fset_charset_mapping_table): New implementation.
3103 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3104 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3105 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3106 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3107 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3108 charset `latin_viscii'.
3110 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3111 (CHARSET_TYPE_94X94): Change to 1 from 2.
3112 (CHARSET_TYPE_96): Change to 2 from 1.
3113 (CHARSET_TYPE_128): New macro.
3114 (CHARSET_TYPE_128X128): Change to 5 from 4.
3115 (CHARSET_TYPE_256): New macro.
3116 (CHARSET_TYPE_256X256): Change to 7 from 5.
3117 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3119 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3121 * text-coding.c (char_encode_shift_jis): Refer
3122 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3123 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3125 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3126 (char_byte_table_equal): New function in UTF-2000.
3127 (char_byte_table_hash): New function in UTF-2000.
3128 (char_byte_table_description): New constant in UTF-2000.
3129 (char_byte_table): New type in UTF-2000.
3130 (make_char_byte_table): New function in UTF-2000.
3131 (copy_char_byte_table): New function in UTF-2000.
3132 (make_char_code_table): New macro in UTF-2000.
3133 (get_char_code_table): New function in UTF-2000.
3134 (put_char_code_table): New function in UTF-2000.
3135 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3136 (charset_description): Add setting in UTF-2000.
3137 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3138 `CHARSET_TO_BYTE1_TABLE(cs)'.
3139 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3140 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3141 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3142 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3143 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3144 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3145 `CHARSET_TO_BYTE2_TABLE(cs)'.
3147 * char-ucs.h (char_byte_table): New type.
3148 (XCHAR_BYTE_TABLE): New macro.
3149 (XSETCHAR_BYTE_TABLE): New macro.
3150 (CHAR_BYTE_TABLE_P): New macro.
3151 (GC_CHAR_BYTE_TABLE_P): New macro.
3152 (struct Lisp_Char_Byte_Table): New structure.
3153 (get_char_code_table): New interface.
3154 (Emchar_to_byte_table): Deleted.
3155 (get_byte_from_character_table): Deleted.
3156 (struct Lisp_Charset): Add `encoding_table'; delete
3157 `to_byte1_table' and `to_byte2_table'.
3158 (CHARSET_ENCODING_TABLE): New macro.
3159 (CHARSET_TO_BYTE1_TABLE): Deleted.
3160 (CHARSET_TO_BYTE2_TABLE): Deleted.
3161 (XCHARSET_ENCODING_TABLE): New macro.
3162 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3163 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3165 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3167 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3168 `vietnamese-viscii-*'.
3170 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3172 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3173 (Qvietnamese_viscii_upper): New variable.
3174 (Fdefine_charset_alias): New function.
3175 (syms_of_mule_charset): Add new function `define-charset-alias'.
3176 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3177 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3180 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3182 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3183 (MAX_CHAR_OBS_94x94): New macro.
3184 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3187 * mule-charset.c (put_byte_from_character_table): Change unit size
3189 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3191 (Fmake_reverse_direction_charset): Modify dummy argument of
3192 `make_charset' for non-UTF-2000 environment.
3194 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3196 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3198 * mule-charset.c (destroy_byte_from_character_table): New macro.
3199 (latin_jisx0201_to_ucs): Deleted.
3200 (latin_iso8859_2_to_ucs): Deleted.
3201 (latin_iso8859_3_to_ucs): Deleted.
3202 (latin_iso8859_4_to_ucs): Deleted.
3203 (latin_iso8859_9_to_ucs): Deleted.
3204 (latin_viscii_lower_to_ucs): Deleted.
3205 (latin_viscii_upper_to_ucs): Deleted.
3206 (mark_charset): Mark `cs->decoding_table'.
3207 (Fcharset_mapping_table): Fix DOC-string.
3208 (Fset_charset_mapping_table): New function.
3209 (syms_of_mule_charset): Add nwe function
3210 `set-charset-mapping-table'.
3211 (complex_vars_of_mule_charset): Don't setup and use
3214 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3216 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3219 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3221 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3222 (Vcharset_katakana_jisx0208): New variable.
3223 (Qhiragana_jisx0208): New variable.
3224 (Qkatakana_jisx0208): New variable.
3225 (make_charset): Add new argument `byte_offset'.
3226 (charset_get_byte1): Modify for new coded-charset definition; use
3227 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3228 `XCHARSET_BYTE_OFFSET'.
3229 (Fmake_charset): Modify for `make_charset'.
3230 (Fmake_reverse_direction_charset): Likewise.
3231 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3232 `katakana-jisx0208'.
3233 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3234 `.' in font registry of charset `katakana-jisx0201',
3235 `latin-jisx0201', `vietnamese-viscii-lower' and
3236 `vietnamese-viscii-upper'; modify DOC-string of charset
3237 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3238 registry of charset `japanese-jisx0208' not to use font for JIS
3239 X0208:1990; add new charset `hiragana-jisx0208' and
3240 `katakana-jisx0208'.
3242 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3243 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3244 (struct Lisp_Charset): Add `byte_offset'.
3245 (CHARSET_BYTE_OFFSET): New macro.
3246 (XCHARSET_UCS_MIN): New macro.
3247 (XCHARSET_UCS_MAX): New macro.
3248 (XCHARSET_CODE_OFFSET): New macro.
3249 (XCHARSET_BYTE_OFFSET): New macro.
3250 (MIN_CHAR_HIRAGANA): New macro.
3251 (MAX_CHAR_HIRAGANA): New macro.
3252 (MIN_CHAR_KATAKANA): New macro.
3253 (MAX_CHAR_KATAKANA): New macro.
3254 (MAKE_CHAR): Modify for new coded-charset definition; use
3255 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3256 `XCHARSET_BYTE_OFFSET'.
3258 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3260 * mule-charset.c (CHAR96): Deleted.
3261 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3263 (latin_iso8859_2_to_ucs): Likewise.
3264 (latin_iso8859_3_to_ucs): Likewise.
3265 (latin_iso8859_4_to_ucs): Likewise.
3266 (latin_iso8859_9_to_ucs): Likewise.
3267 (latin_viscii_lower_to_ucs): Likewise.
3268 (latin_viscii_upper_to_ucs): Likewise.
3269 (latin_tcvn5712_to_ucs): Commented out.
3270 (make_charset): Change type of argument `decoding_table' from
3271 <Emchar*> to <Lisp_Object> [vector of characters].
3272 (Fmake_charset): Modify for `make_charset'.
3273 (Fmake_reverse_direction_charset): Likewise.
3274 (Fcharset_mapping_table): New function in UTF-2000.
3275 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3277 (complex_vars_of_mule_charset): Modify for type change of
3278 `*_to_ucs'; modify for `make_charset'.
3280 * char-ucs.h (struct Lisp_Charset): Change type of
3281 `decoding_table' from <Emchar*> to <Lisp_Object>.
3282 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3284 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3286 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3287 error with non-UTF-2000-Mule.
3289 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3291 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3293 (Vcharset_chinese_cns11643_4): Likewise.
3294 (Vcharset_chinese_cns11643_5): Likewise.
3295 (Vcharset_chinese_cns11643_6): Likewise.
3296 (Vcharset_chinese_cns11643_7): Likewise.
3297 (Qchinese_cns11643_3): Likewise.
3298 (Qchinese_cns11643_4): Likewise.
3299 (Qchinese_cns11643_5): Likewise.
3300 (Qchinese_cns11643_6): Likewise.
3301 (Qchinese_cns11643_7): Likewise.
3302 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3303 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3304 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3305 (complex_vars_of_mule_charset): Likewise.
3307 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3309 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3311 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3312 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3314 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3316 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3318 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3319 (breakup_char_1): Likewise.
3321 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3322 one of them includes the specified character.
3324 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3326 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3328 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3330 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3332 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3334 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3335 definition for non-UTF-2000 Mule.
3336 (latin_iso8859_3_to_ucs): Likewise.
3337 (latin_iso8859_4_to_ucs): Likewise.
3338 (latin_iso8859_9_to_ucs): Likewise.
3339 (latin_jisx0201_to_ucs): Likewise.
3340 (MIN_CHAR_THAI): Likewise.
3341 (MAX_CHAR_THAI): Likewise.
3342 (MIN_CHAR_GREEK): Likewise.
3343 (MAX_CHAR_GREEK): Likewise.
3344 (MIN_CHAR_HEBREW): Likewise.
3345 (MAX_CHAR_HEBREW): Likewise.
3346 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3347 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3348 (MIN_CHAR_CYRILLIC): Likewise.
3349 (MAX_CHAR_CYRILLIC): Likewise.
3351 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3353 * char-ucs.h (breakup_char_1): Use
3354 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3355 thai-tis620 and katakana-jisx0201 area.
3357 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3359 * char-ucs.h (breakup_char_1): Use
3360 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3363 * text-coding.c (reset_encoding_stream): Fixed.
3364 (char_encode_ucs4): Delete `& 255'.
3366 * char-ucs.h (breakup_char_1): Use
3367 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3369 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3371 * file-coding.c (Fmake_coding_system): Don't set up
3372 `codesys->fixed.size'.
3373 (encode_coding_no_conversion): Don't refer
3374 `str->codesys->fixed.size'.
3376 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3378 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3379 (latin_a_char_to_byte1): Deleted.
3380 (latin_a_char_to_byte2): Deleted.
3382 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3384 * mule-charset.c (make_charset): Add new argument `ucs_min',
3385 `ucs_max' and `code_offset'.
3386 (charset_get_byte1): New implementation [delete specific charset
3387 depended implementations].
3388 (Fmake_charset): Modify for `make_charset'.
3389 (Fmake_reverse_direction_charset): Likewise.
3390 (complex_vars_of_mule_charset): Likewise.
3392 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3394 (CHARSET_UCS_MIN): New macro.
3395 (CHARSET_UCS_MAX): New macro.
3396 (CHARSET_CODE_OFFSET): New macro.
3397 (MAKE_CHAR): Delete charset depended definitions [except
3400 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3402 * char-ucs.h (breakup_char_1): Use
3403 `Vdefault_coded_charset_priority_list' for C0-Controls,
3404 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3406 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3408 * char-ucs.h (charset_get_byte1): New function.
3409 (XCHARSET_GET_BYTE1): Deleted.
3410 (charset_get_byte2): New function.
3411 (XCHARSET_GET_BYTE2): Deleted.
3412 (Vdefault_coded_charset_priority_list): New external variable.
3413 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3414 `Vdefault_preferred_coded_charset_list'.
3416 * mule-charset.c (charset_get_byte1): New function.
3417 (charset_get_byte2): New function.
3418 (Vdefault_coded_charset_priority_list): New variable.
3419 (vars_of_mule_charset): Add new variable
3420 `default-coded-charset-priority-list'.
3422 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3424 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3425 (XCHARSET_GET_BYTE2): New inline function.
3426 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3427 `XCHARSET_GET_BYTE2'.
3429 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3431 * mule-charset.c (make_charset): Initialize
3432 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3433 NULL if table is not defined.
3435 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3437 * text-coding.c (char_encode_shift_jis): Use
3438 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3439 `ucs_to_latin_jisx0201'.
3441 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3442 (ucs_to_latin_iso8859_2): Deleted.
3443 (ucs_to_latin_iso8859_3): Deleted.
3444 (ucs_to_latin_iso8859_4): Deleted.
3445 (ucs_to_latin_iso8859_9): Deleted.
3446 (ucs_to_latin_viscii_lower): Deleted.
3447 (ucs_to_latin_viscii_upper): Deleted.
3448 (ucs_to_latin_tcvn5712): Deleted.
3449 (make_charset): Add new argument `decoding_table'; set up
3450 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3451 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3452 `decoding_table' is defined in UTF-2000.
3453 (Fmake_charset): Modify for `make_charset'.
3454 (Fmake_reverse_direction_charset): Likewise.
3455 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3456 and `GENERATE_96_SET'.
3458 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3459 (ucs_to_latin_jisx0201): Deleted.
3460 (latin_iso8859_2_to_ucs): Deleted.
3461 (ucs_to_latin_iso8859_2): Deleted.
3462 (latin_iso8859_3_to_ucs): Deleted.
3463 (ucs_to_latin_iso8859_3): Deleted.
3464 (latin_iso8859_4_to_ucs): Deleted.
3465 (ucs_to_latin_iso8859_4): Deleted.
3466 (latin_iso8859_9_to_ucs): Deleted.
3467 (ucs_to_latin_iso8859_9): Deleted.
3468 (latin_viscii_lower_to_ucs): Deleted.
3469 (ucs_to_latin_viscii_lower): Deleted.
3470 (latin_viscii_upper_to_ucs): Deleted.
3471 (ucs_to_latin_viscii_upper): Deleted.
3472 (struct Lisp_Charset): Renamed `encoding_table' to
3473 `to_byte1_table'; add `to_byte2_table'.
3474 (CHARSET_DECODING_TABLE): New macro.
3475 (CHARSET_TO_BYTE1_TABLE): New macro.
3476 (CHARSET_TO_BYTE2_TABLE): New macro.
3477 (XCHARSET_DECODING_TABLE): New macro.
3478 (XCHARSET_TO_BYTE1_TABLE): New macro.
3479 (XCHARSET_TO_BYTE2_TABLE): New macro.
3480 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3482 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3483 don't use `ucs_to_*' tables.
3485 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3487 * text-coding.c (Fmake_coding_system): Don't set up
3488 `codesys->fixed.size'.
3489 (encode_coding_no_conversion): Use `if' instead of `switch'.
3491 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3493 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3495 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3496 (Fmake_charset): Modify for `make_charset'.
3497 (Fmake_reverse_direction_charset): Likewise.
3498 (complex_vars_of_mule_charset): Likewise.
3500 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3502 * text-coding.c (char_encode_shift_jis): Use table
3503 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3505 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3507 * text-coding.c (text_encode_generic): Use `if' instead of
3509 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3512 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3514 * text-coding.c (encode_coding_sjis): Deleted.
3515 (char_encode_shift_jis): New function.
3516 (char_finish_shift_jis): New function.
3517 (reset_encoding_stream): Set up `encode_char' and `finish' for
3518 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3519 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3520 (char_encode_utf8): Treat `eol_type'.
3522 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3524 * file-coding.c (decode_coding_iso2022): Use
3525 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3527 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3529 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3532 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3534 * char-lb.h (CHAR_COLUMNS): New macro.
3536 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3538 * text-coding.c (char_encode_ucs4): New function.
3539 (char_finish_ucs4): New function.
3540 (encode_coding_ucs4): Deleted.
3541 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3542 (text_encode_generic): Delete local variable `charset' and `half'.
3543 (ucs_to_mule_table): Deleted.
3544 (mule_to_ucs_table): Deleted.
3545 (Fset_ucs_char): Deleted.
3546 (ucs_to_char): Deleted.
3547 (Fucs_char): Deleted.
3548 (Fset_char_ucs): Deleted.
3549 (Fchar_ucs): Deleted.
3550 (decode_ucs4): Deleted.
3551 (mule_char_to_ucs4): Deleted.
3552 (encode_ucs4): Deleted.
3553 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3554 (decode_coding_utf8): Likewise.
3555 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3556 (char_encode_iso2022): Fixed.
3557 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3558 `Fset_char_ucs' and `Fchar_ucs'.
3559 (complex_vars_of_file_coding): Don't initialize
3560 `ucs_to_mule_table'.
3562 * objects-tty.c (tty_initialize_font_instance): Don't use
3565 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3568 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3569 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3571 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3572 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3573 (emchar_string_displayed_columns): Likewise.
3575 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3576 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3577 (string_column_at_point): Likewise.
3578 (Fmove_to_column): Likewise.
3580 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3581 `encoding_table' and `decoding_table'.
3582 (CHARSET_REP_BYTES): Deleted.
3583 (XCHARSET_REP_BYTES): Deleted.
3584 (XCHARSET_COLUMNS): Deleted.
3585 (CHAR_COLUMNS): New macro.
3586 (lookup_composite_char): Deleted unconditionally.
3587 (composite_char_string): Likewise.
3589 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3591 * char-ucs.h (Emchar_to_byte_table): New type.
3592 (get_byte_from_character_table): New function interface.
3593 (Vcharset_latin_jisx0201): New variable.
3594 (latin_jisx0201_to_ucs): New variable.
3595 (ucs_to_latin_jisx0201): New variable.
3596 (Vcharset_latin_iso8859_2): New variable.
3597 (latin_iso8859_2_to_ucs): New variable.
3598 (ucs_to_latin_iso8859_2): New variable.
3599 (Vcharset_latin_iso8859_3): New variable.
3600 (latin_iso8859_3_to_ucs): New variable.
3601 (ucs_to_latin_iso8859_3): New variable.
3602 (Vcharset_latin_iso8859_4): New variable.
3603 (latin_iso8859_4_to_ucs): New variable.
3604 (ucs_to_latin_iso8859_4): New variable.
3605 (Vcharset_latin_iso8859_9): New variable.
3606 (latin_iso8859_9_to_ucs): New variable.
3607 (ucs_to_latin_iso8859_9): New variable.
3608 (Vcharset_latin_viscii_lower): New variable.
3609 (latin_viscii_lower_to_ucs): New variable.
3610 (ucs_to_latin_viscii_lower): New variable.
3611 (Vcharset_latin_viscii_upper): New variable.
3612 (latin_viscii_upper_to_ucs): New variable.
3613 (ucs_to_latin_viscii_upper): New variable.
3614 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3615 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3616 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3617 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3618 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3619 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3620 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3621 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3622 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3623 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3625 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3626 (Vcharset_latin_viscii_upper): New variable.
3627 (make_byte_from_character_table): New function.
3628 (put_byte_from_character_table): New function.
3629 (get_byte_from_character_table): New function.
3630 (CHAR96): New macro.
3631 (ucs_to_latin_jisx0201): New variable.
3632 (latin_jisx0201_to_ucs): New variable.
3633 (ucs_to_latin_iso8859_2): New variable.
3634 (latin_iso8859_2_to_ucs): New variable.
3635 (ucs_to_latin_iso8859_3): New variable.
3636 (latin_iso8859_3_to_ucs): New variable.
3637 (ucs_to_latin_iso8859_4): New variable.
3638 (latin_iso8859_4_to_ucs): New variable.
3639 (ucs_to_latin_iso8859_9): New variable.
3640 (latin_iso8859_9_to_ucs): New variable.
3641 (ucs_to_latin_viscii_lower): New variable.
3642 (latin_viscii_lower_to_ucs): New variable.
3643 (ucs_to_latin_viscii_upper): New variable.
3644 (latin_viscii_upper_to_ucs): New variable.
3645 (ucs_to_latin_tcvn5712): New variable.
3646 (latin_tcvn5712_to_ucs): New variable.
3647 (Qlatin_viscii_lower): New variable.
3648 (Qlatin_viscii_upper): New variable.
3649 (syms_of_mule_charset): Set up new symbol
3650 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3651 (complex_vars_of_mule_charset): Set up new charset
3652 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3653 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3654 `ucs_to_<CHARSET>' tables.
3656 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3658 * text-coding.c: New file.
3660 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3662 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3664 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3665 (MAKE_CHAR): Modify for `ucs-bmp'.
3666 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3667 non-MULE characters of BMP.
3669 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3671 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3674 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3677 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3678 - Include character.h for `CHAR_ASCII_P'.
3680 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3682 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3683 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3685 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3686 (BYTE_C0_P): Likewise.
3687 (BYTE_C1_P): Likewise.
3688 (Lstream_get_emchar_1): Likewise.
3689 (Lstream_fput_emchar): Likewise.
3690 (Lstream_funget_emchar): Likewise.
3691 (copy_internal_to_external): Likewise.
3692 (copy_external_to_internal): Likewise.
3694 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3695 (BYTE_C0_P): Likewise.
3696 (BYTE_C1_P): Likewise.
3697 (Lstream_get_emchar_1): Likewise.
3698 (Lstream_fput_emchar): Likewise.
3699 (Lstream_funget_emchar): Likewise.
3700 (copy_internal_to_external): Likewise.
3701 (copy_external_to_internal): Likewise.
3703 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3704 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3706 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3707 (BYTE_ASCII_P): Moved to mb-1byte.h.
3709 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3711 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3713 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3714 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3715 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3716 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3717 (VALIDATE_CHARPTR_FORWARD): Likewise.
3718 (simple_charptr_emchar): Moved to mb-multibyte.h.
3719 (simple_set_charptr_emchar): Likewise.
3720 (simple_charptr_copy_char): Likewise.
3721 (non_ascii_charptr_emchar): Likewise.
3722 (non_ascii_set_charptr_emchar): Likewise.
3723 (non_ascii_charptr_copy_char): Likewise.
3724 (charptr_emchar): Moved to mb-*byte.h.
3725 (set_charptr_emchar): Likewise.
3726 (charptr_copy_char): Likewise.
3728 * mb-1byte.h, mb-multibyte.h: New files.
3730 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3732 * mb-utf-8.h (MULTIBYTE): New macro.
3733 (MAX_EMCHAR_LEN): Moved from buffer.h.
3734 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3736 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3738 * mb-lb.h, multibyte.h: New files.
3740 * char-1byte.h (Charset_ID): Moved from buffer.h.
3741 (MIN_LEADING_BYTE): Likewise.
3742 (LEADING_BYTE_ASCII): Likewise.
3743 (NUM_LEADING_BYTES): Likewise.
3744 (CHARSETP): Likewise.
3745 (CHARSET_BY_LEADING_BYTE): Likewise.
3746 (XCHARSET_LEADING_BYTE): Likewise.
3747 (XCHARSET_GRAPHIC): Likewise.
3748 (XCHARSET_COLUMNS): Likewise.
3749 (XCHARSET_DIMENSION): Likewise.
3750 (CHAR_CHARSET): Likewise.
3751 (CHAR_LEADING_BYTE): Likewise.
3752 (BREAKUP_CHAR): Likewise.
3753 (Vcharset_ascii): Likewise.
3755 * buffer.h: Include multibyte.h unconditionally.
3756 (VALID_CHARPTR_P): Moved to multibyte.h.
3757 (ASSERT_VALID_CHARPTR): Likewise.
3758 (REAL_INC_CHARPTR): Likewise.
3759 (REAL_INC_CHARBYTIND): Likewise.
3760 (REAL_DEC_CHARPTR): Likewise.
3761 (INC_CHARPTR): Likewise.
3762 (INC_CHARBYTIND): Likewise.
3763 (DEC_CHARPTR): Likewise.
3764 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3765 (VALIDATE_CHARPTR_FORWARD): Likewise.
3766 (charptr_n_addr): Likewise.
3767 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3768 (simple_charptr_emchar): Moved to multibyte.h.
3769 (simple_set_charptr_emchar): Likewise.
3770 (simple_charptr_copy_char): Likewise.
3771 (non_ascii_charptr_emchar): Likewise.
3772 (non_ascii_set_charptr_emchar): Likewise.
3773 (non_ascii_charptr_copy_char): Likewise.
3774 (charptr_emchar): Likewise.
3775 (set_charptr_emchar): Likewise.
3776 (charptr_copy_char): Likewise.
3777 (charptr_emchar_n): Likewise.
3778 (Charset_ID): Moved to char-1byte.h.
3779 (Vcharset_ascii): Likewise.
3780 (CHAR_CHARSET): Likewise.
3781 (CHAR_LEADING_BYTE): Likewise.
3782 (LEADING_BYTE_ASCII): Likewise.
3783 (NUM_LEADING_BYTES): Likewise.
3784 (MIN_LEADING_BYTE): Likewise.
3785 (CHARSETP): Likewise.
3786 (CHARSET_BY_LEADING_BYTE): Likewise.
3787 (XCHARSET_LEADING_BYTE): Likewise.
3788 (XCHARSET_GRAPHIC): Likewise.
3789 (XCHARSET_COLUMNS): Likewise.
3790 (XCHARSET_DIMENSION): Likewise.
3791 (BREAKUP_CHAR): Likewise.
3793 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3795 * character.h: Add document about interface for characters.
3797 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3798 (MAKE_CHAR): Delete comment about
3799 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3800 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3801 (BREAKUP_CHAR): Modify name of arguments.
3802 (CHAR_CHARSET): Modify name of argument.
3804 * buffer.h: Delete document about Emchar accessors.
3806 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3808 * character.h (CHAR_INTP): Moved from buffer.h
3809 (CHAR_OR_CHAR_INTP): Likewise.
3810 (XCHAR_OR_CHAR_INT): Likewise.
3811 (CHECK_CHAR_COERCE_INT): Likewise.
3813 * buffer.h (CHAR_INTP): Moved to character.h
3814 (CHAR_OR_CHAR_INTP): Likewise.
3815 (XCHAR_OR_CHAR_INT): Likewise.
3816 (CHECK_CHAR_COERCE_INT): Likewise.
3818 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3821 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3822 - Include char-1byte.h, char-lb.h or char-ucs.h.
3824 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3826 * buffer.h: Include character unconditionally.
3827 (valid_char_p): Moved to char-*.h.
3828 (non_ascii_valid_char_p): Moved to char-lb.h.
3830 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3832 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3834 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3835 in UTF-2000 because it is not ported yet and not to use
3836 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3837 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3838 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3840 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3841 (CHAR_ASCII_P): Moved from character.h.
3843 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3844 (CHAR_ASCII_P): Likewise.
3845 (CHAR_FIELD1_MASK): Deleted.
3846 (CHAR_FIELD2_MASK): Deleted.
3847 (CHAR_FIELD3_MASK): Deleted.
3848 (MAX_CHAR_BASIC_LATIN): New macro.
3849 (CHAR_FIELD1): Deleted.
3850 (CHAR_FIELD2_INTERNAL): Deleted.
3851 (CHAR_FIELD3_INTERNAL): Deleted.
3852 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3853 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3854 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3855 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3856 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3857 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3858 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3859 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3860 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3861 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3862 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3863 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3864 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3865 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3866 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3867 (MIN_CHAR_COMPOSITION): Deleted.
3868 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3869 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3871 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3873 * buffer.h: Include mb-utf-8.h in UTF-2000.
3875 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3877 * mb-utf-8.h: New file.
3879 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3881 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3884 * mule-charset.h, buffer.h (Charset_ID): New type.
3886 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3888 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3889 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3890 instead of `MULE_CHAR_PRIVATE_OFFSET',
3891 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3892 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3893 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3895 * character.h (Vcharset_japanese_jisx0212): New variable
3898 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3900 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3901 (charset_by_attributes): Delete array about direction.
3902 (latin_a_char_to_charset): New variable in UTF-2000.
3903 (latin_a_char_to_byte1): New variable in UTF-2000.
3904 (latin_a_char_to_byte2): New variable in UTF-2000.
3905 (Qucs_bmp): New variable.
3906 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3908 (next_allocated_2_byte_leading_byte): Likewise.
3909 (non_ascii_set_charptr_emchar): Likewise.
3910 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3911 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3912 `charset_by_attributes'.
3913 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3914 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3915 and `CHARSET_BY_LEADING_BYTE'.
3916 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3917 `utf-2000-version' to `vars_of_mule_charset'.
3918 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3919 define `leading-code-private-11' in UTF-2000; move setting of
3920 `utf-2000-version' from `syms_of_mule_charset'.
3921 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3924 * character.h (Charset_ID): New type.
3925 (LEADING_BYTE_UCS_BMP): New macro.
3926 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3927 (CHARSET_ID_OFFSET_94): New macro.
3928 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3929 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3930 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3932 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3933 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3934 (CHARSET_ID_OFFSET_96): New macro.
3935 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3936 CHARSET_ID_OFFSET_96 and final-byte.
3937 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3938 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3939 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3940 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3941 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3942 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3943 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3944 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3945 (LEADING_BYTE_THAI_TIS620): Likewise.
3946 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3947 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3948 (CHARSET_ID_OFFSET_94x94): New macro.
3949 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3950 CHARSET_ID_OFFSET_94x94 and final-byte.
3951 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3952 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3953 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3954 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3955 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3956 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3957 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3958 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3959 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3960 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3961 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3962 (CHARSET_TYPE_128X128): New macro.
3963 (CHARSET_TYPE_256X256): New macro.
3964 (XCHARSET_PRIVATE_P): Delete unconditionally.
3965 (charset_by_attributes): Delete array about direction.
3966 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3967 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3968 (MIN_CHAR_94): New macro.
3969 (MAX_CHAR_94): New macro.
3970 (MIN_CHAR_96): New macro.
3971 (MAX_CHAR_96): New macro.
3972 (MIN_CHAR_94x94): New macro.
3973 (MAX_CHAR_94x94): New macro.
3974 (MIN_CHAR_96x96): New macro.
3975 (MAX_CHAR_96x96): New macro.
3976 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3977 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3978 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3980 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3981 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3982 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3983 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3984 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3985 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3986 `XCHARSET_LEADING_BYTE' to make code-point.
3987 (latin_a_char_to_charset): New variable.
3988 (latin_a_char_to_byte1): New variable.
3989 (latin_a_char_to_byte2): New variable.
3990 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3991 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3992 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3994 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3995 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3996 (find_charsets_in_emchar_string): Likewise.
3997 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3999 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4001 (decode_coding_iso2022): Likewise.
4003 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4006 * redisplay.c (redisplay_text_width_emchar_string): Use
4007 `Charset_ID' instead of `unsigned char'.
4008 (redisplay_frame_text_width_string): Likewise.
4010 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4013 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4014 instead of `unsigned char'.
4015 (face_cachel_charset_font_metric_info): Likewise.
4017 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4018 (get_non_ascii_char_table_value): Likewise.
4019 (get_char_table): Likewise.
4020 (put_char_table): Likewise.
4021 (map_over_other_charset): Likewise.
4022 (map_char_table): Likewise.
4024 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4025 instead of `unsigned char'.
4027 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4029 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4030 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4032 * mule-charset.c (leading_code_private_11): Don't define in
4035 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4036 in UTF-2000 because it is not ported yet and not to use
4037 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4039 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4041 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4043 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4045 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4048 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4049 of unsigned char to store leading-byte.
4051 * chartab.c (get_non_ascii_char_table_value): Don't use
4052 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4054 * file-coding.c (encode_coding_big5): Delete bogus implementation
4057 * character.h (LEADING_BYTE_*): Delete definition for
4059 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4060 (LEADING_BYTE_PREFIX_P): Deleted.
4061 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4062 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4063 (BUFBYTE_LEADING_BYTE_P): Deleted.
4064 (CHARSET_PRIVATE_P): Deleted unconditionally.
4065 (rep_bytes_by_first_byte): Deleted unconditionally.
4066 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4067 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4068 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4069 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4070 (CHAR_FIELD2): Deleted.
4071 (CHAR_FIELD3): Deleted.
4072 (MAKE_CHAR): Delete definition for non-UTF-2000.
4073 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4074 (breakup_char_1): New implementation.
4075 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4076 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4078 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4080 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4083 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4085 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4086 (CHARSET_PRIVATE_P): Likewise.
4087 (XCHARSET_PRIVATE_P): Likewise.
4088 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4090 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4092 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4094 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4096 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4097 (NUM_LEADING_BYTES): Changed from 128 to 256.
4098 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4099 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4101 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4103 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4105 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4106 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4107 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4108 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4109 (Qchinese_cns11643_3): New variable in UTF2000.
4110 (Qchinese_cns11643_4): New variable in UTF2000.
4111 (Qchinese_cns11643_5): New variable in UTF2000.
4112 (Qchinese_cns11643_6): New variable in UTF2000.
4113 (Qchinese_cns11643_7): New variable in UTF2000.
4114 (syms_of_mule_charset): Define `chinese-cns11643-3',
4115 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4116 and `chinese-cns11643-7' in UTF2000.
4117 (vars_of_mule_charset): Initialize
4118 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4120 (complex_vars_of_mule_charset): Setup charset
4121 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4122 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4124 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4126 * mule-charset.c: Move setting for `leading-code-private-11' from
4127 `syms_of_mule_charset' to `vars_of_mule_charset'.
4129 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4131 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4132 and `NUM_LEADING_BYTES' in assert.
4134 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4136 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4138 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4139 `NUM_LEADING_BYTES' instead of 128.
4141 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4143 * mule-charset.h (charset_by_leading_byte): Use
4144 `NUM_LEADING_BYTES' instead of 128.
4145 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4147 * mule-charset.c (charset_by_leading_byte): Use
4148 `NUM_LEADING_BYTES' instead of 128.
4149 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4151 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4154 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4156 * mule-charset.c (syms_of_mule_charset): Update to
4159 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4161 * file-coding.c (encode_coding_sjis): New implementation for
4162 UTF2000. (decode_coding_sjis): Ditto.
4164 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4166 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4167 Don't define in UTF2000.
4169 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4172 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4173 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4176 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4178 * config.h.in (CHAR_IS_UCS4): New macro.
4180 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4181 conventional MULE representation.
4182 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4184 * mule-charset.h: Reverted to original.
4186 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4187 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4188 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4190 * character.h: New file.
4192 * file-coding.c (Fmake_coding_system): Set 1 to
4193 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4195 (encode_coding_no_conversion): New implementation for UTF2000.
4197 * file-coding.h (struct Lisp_Coding_System): Add new member
4200 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4202 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4203 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4204 (encode_coding_iso2022): New implementation for UTF2000.
4206 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4208 * mule-canna.c (c2mu): New implementation for UTF2000.
4211 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4213 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4215 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4217 * file-coding.c (reset_encoding_stream): Set 0 to
4218 `str->iso2022.current_char_boundary' in UTF2000.
4219 (encode_utf8): Don't define in UTF2000.
4220 (encode_coding_utf8): New implementation for UTF-8 representation
4222 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4224 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4226 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4228 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4230 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4232 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4234 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4235 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4236 as UTF-8 in UTF2000.
4237 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4238 (non_ascii_valid_char_p): Don't define in UTF2000.
4239 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4240 (Lstream_get_emchar_1): Likewise.
4241 (utf-2000-version): New variable in UTF2000.
4243 * lread.c (read_escape): Add new reader `u'.
4245 * insdel.c (three_to_one_table): Don't define in UTF2000.
4246 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4247 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4249 (bytind_to_bufpos_func): Likewise.
4250 (buffer_mule_signal_inserted_region): Likewise.
4251 (vars_of_insdel): Don't initialize `three_to_one_table'.
4252 (init_buffer_text): Use `buf->text->mule_size' instead of
4253 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4256 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4257 UTF-8 representation in UTF2000.
4258 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4259 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4260 (decode_coding_iso2022): Don't define local variable `lb' in
4261 UTF2000; don't use LEADING_BYTE in UTF2000; use
4262 `DECODE_ADD_UCS_CHAR' in UTF2000.
4263 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4265 * config.h.in (UTF2000): New macro.
4267 * buffer.h (struct buffer_text): Add new member `mule_size' and
4268 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4269 (valid_char_p): Return always 1 in UTF2000.
4270 (MAX_EMCHAR_LEN): 6 in UTF2000.
4271 (three_to_one_table): Don't define in UTF2000.
4272 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4274 (real_bytind_to_bufpos): Likewise.
4276 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4278 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4280 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4281 representation change.
4282 (Vutf_2000_version): New variable.
4283 (leading_code_private_11): New variable.
4284 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4285 `leading-code-private-11'.
4287 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4288 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4289 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4290 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4291 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4292 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4293 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4294 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4295 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4296 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4297 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4298 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4299 (MIN_CHAR_GREEK): New macro.
4300 (MAX_CHAR_GREEK): New macro.
4301 (MIN_CHAR_CYRILLIC): New macro.
4302 (MAX_CHAR_CYRILLIC): New macro.
4303 (MIN_CHAR_HEBREW): New macro.
4304 (MAX_CHAR_HEBREW): New macro.
4305 (MIN_CHAR_THAI): New macro.
4306 (MAX_CHAR_THAI): New macro.
4307 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4308 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4309 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4310 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4311 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4312 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4313 (CHAR_FIELD2): New inline function.
4314 (CHAR_FIELD3): New inline function.
4315 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4316 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4317 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4318 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4319 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4320 (MIN_CHAR_COMPOSITION): Likewise.
4321 (CHAR_LEADING_BYTE): Modified for character representation change.
4322 (MAKE_CHAR): Likewise.
4324 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4325 (Vcharset_greek_iso8859_7): Likewise.
4326 (Vcharset_cyrillic_iso8859_5): Likewise.
4327 (Vcharset_hebrew_iso8859_8): Likewise.
4328 (Vcharset_thai_tis620): Likewise.
4329 (Vcharset_katakana_jisx0201): Likewise.
4331 2001-02-08 Martin Buchholz <martin@xemacs.org>
4333 * XEmacs 21.2.44 "Thalia" is released.
4335 2001-02-06 Martin Buchholz <martin@xemacs.org>
4337 Fixes crashes in kill-emacs on some systems.
4338 * process-unix.c (unix_kill_child_process):
4339 It's OK for kill() to fail with ESRCH.
4341 2001-02-07 Martin Buchholz <martin@xemacs.org>
4343 Contortions to make .gdbinit tricks work on most systems.
4344 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
4345 * alloc.c (dbg_valmask): Make non-const.
4346 * alloc.c (dbg_typemask): Make non-const.
4347 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
4348 * alloc.c (dbg_valbits): Make non-const.
4349 * alloc.c (dbg_gctypebits): Make non-const.
4350 * .gdbinit (decode_object): Make it work with AIX cc.
4352 2001-02-06 Martin Buchholz <martin@xemacs.org>
4354 * elhash.c (make_general_lisp_hash_table):
4355 Use simpler and more efficient calloc to clear entries.
4357 2001-02-07 Martin Buchholz <martin@xemacs.org>
4359 * window.c (window_scroll): Work around an AIX C compiler bug.
4360 Fixes 'scroll-up' does nothing problem with xlC.
4362 2001-02-05 Martin Buchholz <martin@xemacs.org>
4364 * .gdbinit: Remove obsolete comment.
4366 2001-01-31 Mike Alexander <mta@arbortext.com>
4368 * select.c (Fown_selection_internal): Set owned_p for device
4371 2001-02-01 Martin Buchholz <martin@xemacs.org>
4374 "not" cannot be used as a macro name as it is an operator in C++
4375 * config.h.in: Stop #defining `not'.
4376 * chartab.c (check_category_char): not ==> not_p
4377 * chartab.h: Likewise.
4378 * regex.c (re_match_2_internal): Likewise.
4380 2001-02-02 Martin Buchholz <martin@xemacs.org>
4382 * lisp-disunion.h: Fix up comments.
4384 2001-01-31 Martin Buchholz <martin@xemacs.org>
4386 * keymap.c (define_key_check_and_coerce_keysym):
4388 Support mouse-6 and mouse-7 bindings in the obvious way.
4390 2001-02-01 Martin Buchholz <martin@xemacs.org>
4392 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
4394 2001-01-30 Martin Buchholz <martin@xemacs.org>
4396 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
4397 Previous patch missed DEFVAR_INT_MAGIC.
4398 Make sure future DEFVAR_foo use correct types.
4399 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
4400 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
4401 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
4402 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
4403 * (DEFVAR_INT): Likewise.
4404 * redisplay.c (vertical_clip): Should be of type Fixnum.
4405 * redisplay.c (horizontal_clip): Likewise.
4406 * lisp.h (dump_add_opaque_int): New.
4407 (dump_add_opaque_fixnum): New.
4409 2001-01-29 Andy Piper <andy@xemacs.org>
4411 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4412 since they can be eval'ed
4414 2001-01-29 Martin Buchholz <martin@xemacs.org>
4416 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4417 Oops, XEmacs redefines `class'. Use `typename' instead.
4419 2001-01-28 Martin Buchholz <martin@xemacs.org>
4421 * dumper.c: Fix C++ compile errors.
4423 2001-01-29 Martin Buchholz <martin@xemacs.org>
4425 * tparam.c: Use correct prototypes.
4427 2001-01-28 Martin Buchholz <martin@xemacs.org>
4429 * sysproc.h: #include util.h for NetBSD's openpty.
4431 2001-01-27 Martin Buchholz <martin@xemacs.org>
4433 More 64-bit correctness.
4434 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4435 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4437 This finally finishes the 64-bit SGI port.
4438 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4439 * symbols.c: Fix up comments and type casts.
4440 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4441 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4442 * symeval.h (Fixnum): New type.
4443 * symeval.h (symbol_value_type): Fix up comment.
4459 * mule-canna.c: A million DEFVAR_INTs here...
4460 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4473 s/int/Fixnum/g in DEFVAR_INT declarations.
4475 2001-01-26 Martin Buchholz <martin@xemacs.org>
4477 Port pdump to SGI alignment-sensitive environment.
4478 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4479 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4481 Define and use aligned reading and writing macros.
4482 Use buffered stdio instead of posix i/o for faster dumping.
4483 Eliminate kludgy 256 byte space for header.
4484 Read and write from dump file using structs for alignment safety.
4485 * dumper.c (pdump_align_stream): New.
4486 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4487 * dumper.c (PDUMP_READ_ALIGNED): New.
4488 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4489 * dumper.c (pdump_static_Lisp_Object): New struct.
4490 * dumper.c (pdump_static_pointer): New struct.
4491 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4492 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4493 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4494 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4496 * dumper.c (pdump_backtrace):
4497 * dumper.c (pdump_get_indirect_count):
4498 * dumper.c (pdump_register_object):
4499 * dumper.c (pdump_register_struct):
4500 * dumper.c (pdump_reloc_one):
4501 * dumper.c (pdump_scan_by_alignment):
4502 * dumper.c (pdump_dump_from_root_struct_ptrs):
4503 * dumper.c (pdump_dump_opaques):
4504 * dumper.c (pdump_dump_rtables):
4505 * dumper.c (pdump_dump_from_root_objects):
4507 * dumper.c (pdump_load_finish):
4508 Use aligned reading and writing.
4510 * dumper.c (pdump_free): Make static.
4511 * dumper.c (pdump_hFile): Likewise.
4512 * dumper.c (pdump_hMap): Likewise.
4514 2001-01-26 Martin Buchholz <martin@xemacs.org>
4516 * XEmacs 21.2.43 "Terspichore" is released.
4518 2001-01-25 Martin Buchholz <martin@xemacs.org>
4520 Type fiddling for window_config.saved_windows_count
4521 * window.c (struct window_config):
4522 Make saved_windows_count member unsigned.
4523 * window.c (sizeof_window_config_for_n_windows):
4524 Make parameter unsigned.
4525 * window.c (mark_window_config):
4526 * window.c (window_config_equal):
4527 * window.c (free_window_configuration):
4528 * window.c (Fset_window_configuration):
4529 * window.c (count_windows):
4530 * window.c (Fcurrent_window_configuration):
4531 * window.c (reinit_vars_of_window):
4532 Update all callers and users.
4534 2001-01-25 Martin Buchholz <martin@xemacs.org>
4536 Alignment correctness for flexible arrays.
4537 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4538 Make alignment-correct. Add interesting comments.
4539 * alloc.c (size_vector):
4540 * alloc.c (make_vector_internal):
4541 * alloc.c (make_bit_vector_internal):
4542 * alloc.c (sweep_bit_vectors_1):
4543 * fns.c (size_bit_vector):
4544 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4545 * window.c (sizeof_window_config_for_n_windows):
4546 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4548 2001-01-24 Martin Buchholz <martin@xemacs.org>
4550 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4552 2001-01-23 Andy Piper <andy@xemacs.org>
4554 * select.c (Fown_selection_internal): pass owned_p
4556 * select-msw.c (mswindows_own_selection): New Signature.
4558 * console.h (struct console_methods): add owned_p to
4561 * select-x.c (x_own_selection): pass owned_p
4562 (hack_motif_clipboard_selection): use owned_p
4563 (vars_of_select_x): new variable -
4564 x_selection_strict_motif_ownership.
4566 2001-01-23 Martin Buchholz <martin@xemacs.org>
4568 * specifier.h (specifier_data_offset): Remove pointless parens.
4569 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4571 2001-01-24 Martin Buchholz <martin@xemacs.org>
4573 Make Lisp_Object sizeof methods be alignment-correct.
4574 pdump must restore objects to the same alignment as the C compiler
4575 assumes. It really matters on SGIs.
4576 * lstream.c (aligned_sizeof_lstream): New.
4577 (sizeof_lstream): Use aligned_sizeof_lstream.
4578 (Lstream_new): Likewise.
4579 * opaque.c (aligned_sizeof_opaque): New.
4580 (sizeof_opaque): Use aligned_sizeof_opaque.
4581 (make_opaque): Likewise.
4582 * specifier.c (aligned_sizeof_specifier): New.
4583 (sizeof_specifier): Use aligned_sizeof_specifier.
4584 (make_specifier_internal): Likewise.
4586 2001-01-23 Martin Buchholz <martin@xemacs.org>
4588 * lstream.h (struct lstream): Use max_align_t for trailing data.
4589 * specifier.h (struct Lisp_Specifier): Likewise.
4591 2001-01-22 Martin Buchholz <martin@xemacs.org>
4593 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4594 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4595 (CCL_SUSPEND): Likewise.
4596 (CCL_INVALID_CMD): Likewise.
4597 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4598 (ccl_driver): Likewise.
4599 (CCL_WRITE_CHAR): Macro hygiene.
4600 (CCL_WRITE_STRING): Macro hygiene.
4602 2001-01-22 Martin Buchholz <martin@xemacs.org>
4604 Port "portable" dumper to SunOS 4 and HP-UX.
4605 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4606 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4607 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4609 2001-01-22 Martin Buchholz <martin@xemacs.org>
4611 * lisp.h (ALIGNOF): A better definition for C++.
4613 2001-01-20 Martin Buchholz <martin@xemacs.org>
4616 Fix printf warnings: int format, long int arg.
4617 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4618 (PUSH_FAILURE_POINT): Use correct printf formats.
4619 (POP_FAILURE_POINT): Use correct printf formats.
4620 Use do {...} while (0)
4622 2001-01-20 Martin Buchholz <martin@xemacs.org>
4624 * XEmacs 21.2.42 "Poseidon" is released.
4626 2001-01-20 Martin Buchholz <martin@xemacs.org>
4628 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4630 2001-01-19 Martin Buchholz <martin@xemacs.org>
4632 De-kludgify FIXED_TYPE free list frobbing.
4633 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4634 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4635 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4636 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4637 * alloc.c (LRECORD_FREE_P): New.
4638 * alloc.c (MARK_LRECORD_AS_FREE): New.
4639 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4640 * alloc.c (STRUCT_FREE_P): Deleted.
4641 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4642 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4643 * alloc.c (STRING_CHARS_FREE_P): New.
4644 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4645 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4646 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4647 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4648 * alloc.c (resize_string): Use new definitions.
4649 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4650 * alloc.c (verify_string_chars_integrity): Use new definitions.
4651 * alloc.c (compact_string_chars): Use new definitions.
4652 * alloc.c: Update monster comments.
4653 * lrecord.h (lrecord_type): Add some new lrecord types for
4656 2001-01-18 Martin Buchholz <martin@xemacs.org>
4658 Improve alignment hackery.
4659 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4660 (max_align_t): Moved from opaque.h - general purpose.
4661 (ALIGN_PTR): Use size_t, not long.
4662 * opaque.h (max_align_t): Move to lisp.h.
4664 2001-01-18 Norbert Koch <nk@LF.net>
4666 * gui.h: Fix and add prototypes to fix build problems.
4668 2001-01-18 Martin Buchholz <martin@xemacs.org>
4670 temacs is going away, so `dump-temacs' is now a bad name.
4671 * .dbxrc (dump-temacs): Rename to `dmp'.
4672 * .gdbinit (dump-temacs): Rename to `dmp'.
4674 2001-01-17 Andy Piper <andy@xemacs.org>
4676 * glyphs.c (print_image_instance): comment to make martin happy.
4678 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4681 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4683 (mswindows_tab_control_redisplay): warning suppression.
4685 * glyphs-widget.c (widget_update): re-write to cope with updated
4687 (widget_instantiate): use new gui_item functions.
4688 (tab_control_update): deleted.
4689 (progress_gauge_update): deleted.
4690 (image_instantiator_progress_guage): take out update reference.
4691 (image_instantiator_tree_view): ditto.
4692 (image_instantiator_tab_control): ditto.
4694 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4696 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4697 return whether anything was changed.
4698 (update_gui_item_keywords): as it sounds.
4700 * gui.h: declare widget_gui_parse_item_keywords.
4702 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4703 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4705 2001-01-17 Martin Buchholz <martin@xemacs.org>
4707 * XEmacs 21.2.41 "Polyhymnia" is released.
4709 2001-01-16 Didier Verna <didier@xemacs.org>
4711 * glyphs.c (image_instantiate): don't use fallbacks when
4712 instantiating a face's background pixmap by inheritance.
4714 2001-01-14 Mike Sperber <mike@xemacs.org>
4716 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4717 Conditionalize accordingly.
4719 2001-01-16 Martin Buchholz <martin@xemacs.org>
4721 * dumper.c (pdump_file_get): Fix a compiler warning.
4723 2001-01-15 Martin Buchholz <martin@xemacs.org>
4725 Make Purify happy when pdumping.
4726 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4727 iniitalizing all bits of new lisp object memory.
4728 * symbols.c (Fmake_local_variable): Likewise.
4729 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4730 * symbols.c (Fdefvaralias): Likewise.
4731 * mule-charset.c (vars_of_mule_charset): Likewise.
4733 2001-01-15 Martin Buchholz <martin@xemacs.org>
4734 Add the `-nd' flag when running pre-dump operations under the debugger.
4735 * .dbxrc (run-temacs): Add `-nd'.
4736 * .dbxrc (update-elc): Likewise.
4737 * .dbxrc (dump-temacs): Likewise.
4738 * .gdbinit (run-temacs): Likewise.
4739 * .gdbinit (check-temacs): Likewise.
4740 * .gdbinit (update-elc): Likewise.
4741 * .gdbinit (dump-temacs): Likewise.
4743 2001-01-14 Martin Buchholz <martin@xemacs.org>
4745 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4746 export OBJECT_MODE=64
4747 configure --pdump --use-union-type=no
4748 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4749 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4751 * miscplay.c (sndcnv8U_2mono):
4752 Avoid two uses of `++' in the same expression.
4753 Suppresses a GCC warning.
4755 2001-01-13 Martin Buchholz <martin@xemacs.org>
4757 Make sure future compilers don't miscompile alloc.c.
4759 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4760 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4762 2001-01-12 Martin Buchholz <martin@xemacs.org>
4764 * dumper.c: A little post-pdump-rename comment fixup.
4766 2001-01-09 Jerry James <james@eecs.ku.edu>
4768 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4770 2001-01-13 Martin Buchholz <martin@xemacs.org>
4772 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4776 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4779 replace_symbol pdump_wire_lists pdump_weak_object_chains
4780 replace_symbol pdump_wire_list dump_add_weak_object_chain
4782 replace_symbol pdump_wires pdump_root_objects
4783 replace_symbol pdump_wire dump_add_root_object
4785 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4786 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4788 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4789 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4790 replace_symbol dumpstructinfo pdump_root_struct_ptr
4791 replace_symbol dumpstruct dump_add_root_struct_ptr
4793 replace_symbol dumpopaque dump_add_opaque
4794 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4795 replace_symbol dumpopaqueinfos pdump_opaques
4796 replace_symbol dumpopaqueinfo pdump_opaque
4798 replace_symbol nb_structdump nb_root_struct_ptrs
4799 replace_symbol nb_opaquedump nb_opaques
4801 replace_symbol align_table pdump_align_table
4802 replace_symbol dump_header pdump_header
4804 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4805 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4808 2001-01-12 Martin Buchholz <martin@xemacs.org>
4810 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4811 optimizing bytecount_to_charcount().
4813 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4816 (HAVE_DLFCN_H): Removed.
4817 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4819 2001-01-06 Martin Buchholz <martin@xemacs.org>
4821 Portable dumper maintainability improvements.
4822 * alloc.c (staticpro):
4823 * alloc.c (staticpro_nodump):
4824 * alloc.c (garbage_collect_1):
4825 * alloc.c (reinit_alloc_once_early):
4826 * alloc.c (init_alloc_once_early):
4827 * alloc.c: Move dumper functions to alloc.c.
4828 * dumper.c (pdump_backtrace):
4829 * dumper.c (pdump_dump_structs):
4830 * dumper.c (pdump_dump_opaques):
4831 * dumper.c (pdump_dump_rtables):
4832 * dumper.c (pdump_dump_wired):
4834 * dumper.c (pdump_load_check):
4835 * dumper.c (pdump_load_finish):
4836 * dumper.c (pdump_file_unmap):
4837 * dumper.c (pdump_file_get):
4838 * dumper.c (pdump_resource_free):
4839 * dumper.c (pdump_resource_get):
4840 * dumper.c (pdump_file_free):
4841 * dumper.c (pdump_file_try):
4842 * dumper.c (pdump_load):
4843 Remove fixed size limits on staticpro(), staticpro_nodump(),
4844 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4845 Remove custom code for dumping lrecord_implementations_table - use
4847 Remove (most of the) custom code for dumping staticpros - dump it
4848 like any other dynarr.
4850 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4851 * dumper.c: Moved functions from alloc.c.
4852 * alloc.c (dumpstruct): Moved to dumper.c.
4853 * alloc.c (dumpopaque): Likewise.
4854 * alloc.c (pdump_wire): Likewise.
4855 * alloc.c (pdump_wire_list): Likewise.
4857 * lisp.h (Dynarr_sizeof): New.
4858 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4859 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4860 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4862 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4863 * lisp.h (dumpopaque): ditto.
4864 * lisp.h (pdump_wire): ditto.
4865 * lisp.h (pdump_wire_list): ditto.
4867 2001-01-09 Martin Buchholz <martin@xemacs.org>
4869 * make-src-depend (PrintPatternDeps):
4870 Use `sort' to make output independent of perl version.
4872 2001-01-08 Martin Buchholz <martin@xemacs.org>
4875 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4876 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4878 2001-01-03 Didier Verna <didier@xemacs.org>
4880 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4881 that `focus_frame' is alive before thinking of calling
4882 `redisplay_redraw_cursor' on it.
4884 2001-01-08 Martin Buchholz <martin@xemacs.org>
4886 * XEmacs 21.2.40 is released.
4888 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4890 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4892 2001-01-06 Martin Buchholz <martin@xemacs.org>
4894 * alloc.c (dbg_valmask): Make const.
4895 * alloc.c (dbg_typemask): Make const.
4896 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4897 * alloc.c (dbg_valbits): Make const.
4898 * alloc.c (dbg_gctypebits): Make const.
4900 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4902 * redisplay-x.c (x_bevel_area):
4903 redisplay.h (struct rune):
4904 Typo fixes in comments.
4906 2001-01-05 Andy Piper <andy@xemacs.org>
4908 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4911 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4913 2001-01-05 Martin Buchholz <martin@xemacs.org>
4915 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4917 * mule-ccl.c (stack_idx_of_map_multiple):
4918 Non const global data must not be initialized!
4919 Found by MIYASHITA Hisashi.
4921 2001-01-02 Andy Piper <andy@xemacs.org>
4923 * frame.c (change_frame_size): make sure frame size is always
4926 * glyphs.c (image_instance_layout): minor code reuse.
4928 * window.c (Fcurrent_window_configuration): revert previous
4931 2001-01-02 Martin Buchholz <martin@xemacs.org>
4934 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4936 2000-12-31 Andy Piper <andy@xemacs.org>
4938 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4939 when widget gets unmapped.
4941 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4942 function. Make sure widgets losing focus don't just drop it.
4943 (handle_focus_event_1): record the widget with focus.
4945 2000-12-31 Andy Piper <andy@xemacs.org>
4947 * window.c (allocate_window): use
4948 make_image_instance_cache_hash_table.
4949 (make_dummy_parent): ditto.
4950 (Fset_window_configuration): ditto.
4952 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4954 * glyphs.c (process_image_string_instantiator): use
4956 (get_image_instantiator_governing_domain): ditto.
4957 (normalize_image_instantiator): ditto.
4958 (instantiate_image_instantiator): ditto.
4959 (make_image_instance_1): ditto.
4960 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4961 (instantiator_eq_equal): new function for use with instance hash
4963 (instantiator_eq_hash): ditto.
4964 (make_image_instance_cache_hash_table): create a suitable hash
4965 table for storing image instances.
4967 * elhash.h (hash_table_weakness): new internal weakness type
4968 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4969 declare new functions.
4971 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4972 another weakness type for glyphs.
4973 (make_standard_lisp_hash_table): new function split out from
4974 make_general_lisp_hash_table.
4975 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4976 (hash_table_instantiate): ditto.
4977 (Fmake_hash_table): ditto.
4979 2000-12-31 Martin Buchholz <martin@xemacs.org>
4981 * XEmacs 21.2.39 is released.
4983 2000-12-29 Andy Piper <andy@xemacs.org>
4985 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4987 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4988 the frame has changed so that we pick up geometry changes such as
4991 2000-12-28 Andy Piper <andy@xemacs.org>
4993 * lastfile.c (my_ebss): make a char array so we can pad the
4994 bss. Fixes cygwin unexec.
4996 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4998 2000-12-26 Andy Piper <andy@xemacs.org>
5000 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
5001 comments and try and be more precise about a non-/SIGIO world.
5002 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
5005 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
5006 we don't normalize to zero width or height.
5008 2000-12-24 Andy Piper <andy@xemacs.org>
5010 * Makefile.in.in (ldflags): add -mwindows when appropriate.
5012 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
5014 * s/sco5.h: SCO 5 has pty support.
5016 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
5018 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
5019 input-method-xlib.c contains whole contents of input-method-xfs.c,
5020 so we can use input-method-xlib.c's code for USE_XFONTSET
5022 * input-method-xfs.c: removed.
5024 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
5026 * file-coding.h (enum coding_category_type): reorder enumerators to
5027 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
5028 (now one greater than largest real coding_category_type enumerator).
5029 * file-coding.c (coding_category_symbol, coding_category_by_priority,
5030 coding_category_system, fcd_descriptihon_1, decode_coding_category,
5031 Fcoding_category_list, Fset_coding_priority_list,
5032 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
5033 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
5035 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
5037 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
5038 * redisplay-output.c (redisplay_output_window): Clear top of window
5039 when face is changed.
5040 * redisplay-x.c (x_redraw_exposed_window): Call
5041 redisplay_clear_top_of_window.
5042 * redisplay.h: Publish redisplay_clear_top_of_window.
5044 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
5046 * buffer.c (Fkill_buffer): Map over all devices.
5047 * window.c (window_loop): Remove UNSHOW_BUFFER code.
5048 (list_windows): New function.
5049 (list_all_windows): Ditto.
5050 (Freplace_buffer_in_windows): Use them.
5052 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5054 * database.c (berkdb_subtype): Recognize new subtype `queue'.
5055 (Fopen_database): Use `db_create' instead of `db_open'.
5056 (syms_of_database): Initialize Qqueue.
5058 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5060 * buffer.c (common_init_complex_vars_of_buffer): Initialize
5061 buffer_local_face_property.
5062 * buffer.h (struct buffer): New member buffer_local_face_property.
5063 * window.c (Fset_window_buffer): Mark window's face as changed
5064 when buffer has buffer local face.
5065 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
5066 * objects.c (color_after_change): Set buffer_local_face_property
5067 when locale of face specifier is buffer.
5068 * objects.c (font_after_change): Ditto.
5069 * objects.c (face_boolean_after_change): Ditto.
5070 * glyphs.c (image_after_change): Ditto.
5072 2000-12-09 Dan Holmsand <dan@eyebee.com>
5074 * nt.c (mswindows_fstat): Report file permissions, volume serial
5075 number, etc. Code adapted from FSF Emacs 20.7.
5077 2000-12-09 Dan Holmsand <dan@eyebee.com>
5079 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
5080 of stat when we don't have symbolic links, to make sure
5081 mswindows_stat is called on mswindows.
5083 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
5085 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
5087 2000-12-12 Martin Buchholz <martin@xemacs.org>
5089 * doprnt.c (emacs_doprnt_1): More printing fixes.
5090 Make printing of numbers compatible with libc and FSF Emacs.
5091 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
5092 Use the system printf to do most of the hard work of formatting,
5093 instead of doprnt_1().
5094 Calculate memory to allocate for format string.
5095 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
5096 (doprnt_1): Cleaner code and documentation.
5098 2000-12-01 Jerry James <james@eecs.ukans.edu>
5100 * Makefile.in.in: Use the loop variable to install headers.
5102 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
5104 * window.c (Fsplit_window): Don't invalidate face cache.
5106 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
5108 * minibuf.c (Fall_completions): Undo the previous change
5109 which removed checking elements start with space.
5111 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
5113 * mule-canna.c: Didier suppression.
5115 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
5117 * mule-canna.c: rename static unsigned char buf[] to key_buffer
5118 (warning suppression). Add English comment translations.
5120 2000-12-05 Martin Buchholz <martin@xemacs.org>
5122 * unexelfsgi.c (unexec): Better test for mmap failure.
5124 2000-12-05 Martin Buchholz <martin@xemacs.org>
5126 * XEmacs 21.2.38 is released.
5128 2000-12-05 Martin Buchholz <martin@xemacs.org>
5130 * redisplay.c (bar-cursor): Make a user variable.
5132 * symsinit.h: Add init_postgresql_from_environment.
5134 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
5136 * regex.c: Convert to clean C.
5138 2000-12-05 Dan Holmsand <dan@eyebee.com>
5141 Don't #include sysfile.h. Revert to duplicating PATH_MAX
5143 (sys_readlink): renamed to system_readlink to avoid conflict with
5144 the other sys_readlink.
5146 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
5148 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
5150 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
5152 * postgresql.c (init_postgresql_from_environment): new function.
5153 (vars_of_postgresql): Move code initializing Lisp variables out and
5154 into init_postgresql_from_environment.
5155 emacs.c (main_1): Call init_postgresql_from_environment if and only
5156 if running a dumped XEmacs.
5158 2000-08-31 Dan Holmsand <dan@eyebee.com>
5160 * buffer.c: Make find-file-compare-truenames default to true on
5163 * realpath.c (win32_abs_start):
5165 (win32_readlink): New functions.
5166 (xrealpath): Return really real filenames on windows.
5168 * fileio.c (Ffile_truename): Make file-truename work on windows.
5170 2000-11-29 Didier Verna <didier@xemacs.org>
5172 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
5173 * faces.c (update_face_cachel_data): use it.
5174 * faces.c (add_face_cachel): use it. Complete background pixmap
5175 frobbing in face cache if `update_face_cachel_data' has not done so.
5177 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
5179 * search.c (string_match_1): Don't set last_thing_searched
5182 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
5184 * buffer.c: Include casetab.h
5185 (common_init_complex_vars_of_buffer): Use new case-table object.
5186 * buffer.h: Include casetab.h
5187 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
5188 (DOWNCASE_TABLE_OF): Ditto.
5189 * bufslots.h: Remove char-tables and add case-table.
5190 * casetab.c: Include casetab.h
5191 (CASE_TABLE_P): Removed.
5192 (mark_case_table): New function.
5193 (allocate_case_table): New function.
5194 (Fcase_table_p): Use new case-table.
5195 (case_table_char): New function.
5196 (Fget_case_table): Ditto.
5197 (Fput_case_table): Ditto.
5198 (Fput_case_table_pair): Ditto.
5199 (Fcopy_case_table): Ditto.
5200 (Fcurrent_case_table): Return case-table.
5201 (Fstandard_case_table): Return case-table.
5202 (Fset_case_table): Fix doc-string.
5203 (set_case_table): Use case-table
5204 (syms_of_casetab): DEFSUBR new functions.
5205 (complex_vars_of_casetab): Set up standard case-table.
5206 * casetab.h: New file.
5207 * editfns.c: Include casetab.h
5208 (Fcompare_buffer_substrings): Use case-table.
5209 * inline.c: Include casetab.h
5210 * lisp.h: Remove bogus extern.
5211 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
5212 * search.c: Include casetab.h
5213 (TRANSLATE_ASCII): Removed.
5214 (TRANSLATE): Unconditionally translate character.
5215 (looking_at_1): Use case-table.
5216 (string_match_1): Ditto.
5217 (fast_string_match): Ditto.
5218 (search_command): Ditto.
5219 (search_buffer): Separate boyer_moore. Check whether
5220 boyer_moore is possible.
5221 (simple_search): New function.
5222 (boyer_moore): Separated from search_buffer. Translate char.
5224 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
5226 * regex.c (RE_TR_ASCII): Removed.
5227 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
5228 (PATFETCH): Call PATFETCH_RAW.
5229 (PATFETCH_RAW): Fetch Emchar.
5230 (PATUNFETCH): Decrement charptr.
5231 (GET_BUFFER_SPACE): Rename b to buf_end.
5233 (BUF_PUSH_2): Ditto.
5234 (BUF_PUSH_3): Ditto.
5235 (EXTEND_BUFFER): Ditto.
5236 (SET_LIST_BIT): Ditto.
5237 (regex_compile): Ditto. Translate non ASCII char.
5238 (compile_range): Ditto.
5239 (re_search_2): Ditto.
5240 (re_match_2_internal): Compare Emchar.
5241 (bcmp_translate): Ditto.
5243 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
5245 * lisp.h (basic char/int typedefs): comment improvement.
5247 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
5249 * emacs.c (main_1): unconditional pdump unstomping; don't save and
5250 unstomp inhibit_site_lisp. Improve comments.
5252 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
5254 * mule-charset.c (Fcharset_property): improve type checking, comments.
5256 2000-11-28 Andy Piper <andy@xemacs.org>
5258 * redisplay-output.c (redisplay_output_subwindow): make sure we do
5259 clipped display for windows in the gutter also.
5260 (redisplay_display_boxes_in_window_p): change semantics of return
5261 codes to be more intuitive.
5263 * gutter.h: declare display_boxes_in_gutter_p.
5265 * gutter.c (display_boxes_in_gutter_p): new function for
5268 2000-11-22 Andy Piper <andy@xemacs.org>
5270 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
5273 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
5275 * callproc.c (Fold_call_process_internal):
5276 * gpm.c (Freceive_gpm_event):
5277 (tty_get_foreign_selection): Might be just warning supression.
5278 * fileio.c (Fwrite_region_internal):
5279 (Fset_visited_file_modtime):
5280 * keymap.c (event_matches_key_specifier_p):
5281 Initialize GCPROed variable.
5283 * menubar-x.c (command_builder_find_menu_accelerator):
5284 Initialize before use.
5286 2000-11-23 Andy Piper <andy@xemacs.org>
5288 * unexcw.c (unexec): make the resulting executable executable.
5290 2000-11-21 Martin Buchholz <martin@xemacs.org>
5292 * doc.c (get_doc_string):
5293 Use size_t, not int, for result of XSTRING_LENGTH.
5295 * cmds.c (Fdelete_char):
5296 * cmds.c (Fpoint_at_eol):
5297 * cmds.c (Fself_insert_command):
5298 Use EMACS_INT, not int, for result of XINT.
5299 Someday, someone will want to insert more than 2**31 identical characters.
5301 * cmds.c (Fdelete_char):
5302 * cmds.c (Fdelete_backward_char):
5303 * syntax.c (Fforward_word):
5304 * syntax.c (Fforward_comment):
5305 Make COUNT argument optional, for consistency with forward-char et al.
5307 2000-11-22 Martin Buchholz <martin@xemacs.org>
5310 * print.c (long_to_string):
5311 Return a useful value: the pointer at end of data written.
5314 Use `static const char * const' for constant strings.
5315 (union printf_arg): Delete `i', `ui' members.
5318 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
5319 Do all printf-ing via the `l' specifier.
5320 Use EMACS_INT instead of int.
5323 2000-11-20 Didier Verna <didier@xemacs.org>
5325 * faces.c (update_face_cachel_data): don't frob the background
5326 pixmap when the window is being created. The face is needed but
5329 2000-11-20 Andy Piper <andy@xemacs.org>
5331 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
5332 messing with a debug environment.
5334 2000-11-20 Martin Buchholz <martin@xemacs.org>
5336 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
5338 2000-11-20 Martin Buchholz <martin@xemacs.org>
5340 * casetab.c (Fcase_table_p): Fix compile error and crash.
5342 2000-11-18 Philip Aston <philipa@mail.com>
5344 * s/cygwin32.h: Cygwin has SVR4-like pty support.
5346 2000-11-18 Martin Buchholz <martin@xemacs.org>
5348 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
5349 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
5351 2000-11-17 Martin Buchholz <martin@xemacs.org>
5353 * config.h.in: Define HAVE_ELF_H if elf.h exists.
5354 * unexelf.c: Use HAVE_ELF_H.
5355 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
5356 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
5357 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
5358 Greg Harrington <greg_harrington@hotmail.com> provided a machine
5360 So this is an unexelfsgi.c from a different line of development.
5362 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5364 * regex.c (RE_TR_ASCII): New function.
5365 (RE_TRANSLATE): Call it.
5367 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5369 * buffer.h (TRT_TABLE_OF): Remove assert.
5370 (IN_TRT_TABLE_DOMAIN): Removed.
5372 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
5374 * free-hook.c (log_gcpro):
5375 (show_gcprohist): Add support for GCPRO5.
5377 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
5379 * emacs.c (main_1): Improve -sd error message when --pdump=no.
5381 2000-11-16 Olivier Galibert <galibert@xemacs.org>
5383 * symeval.h: Declare flush_all_buffer_local_cache.
5385 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
5386 (flush_buffer_local_cache): Added.
5387 (flush_all_buffer_local_cache): Added.
5389 * lrecord.h: Remove unused XD_LO_RESET_NIL.
5391 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
5392 (pdump_dump_data): Ditto.
5393 (pdump_reloc_one): Ditto.
5394 (pdump): Remove unused pdump_qnil. Flush buffer local caches
5398 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5400 * buffer.c: Remove if 0'ed entry.
5401 * buffer.h: Rewrite TRT to use char-table.
5402 * bufslots.h: Remove mirror tables.
5403 * casetab.c: Remove mirror tables.
5404 (CASE_TABLE_P): New macro.
5405 (Fcase_table_p): Element of a case table is string or char-table.
5406 (make_mirror_trt_table): Removed.
5407 (set_case_table): Setup char-table from strings for backward
5409 * dired.c (Fdirectory_files):
5410 * dired-msw.c: (mswindows_get_files):
5411 * lisp.h: Change prototype of re_pattern_buffer.
5412 * regex.c: (RE_TRANSLATE): New macro.
5413 (TRANSLATE_P): Ditto.
5414 Change translate to type RE_TRANSLATE_TYPE.
5415 * regex.h: Define RE_TRANSLATE_TYPE
5416 * search.c (TRANSLATE): New macro.
5417 (TRANSLATE_ASCII): New macro.
5418 Translate table is changed to Lisp_Object.
5419 (signal_failure): Inhibit return.
5421 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5428 Do UNGCPRO before return.
5430 2000-11-14 Martin Buchholz <martin@xemacs.org>
5432 * XEmacs 21.2.37 is released.
5434 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5436 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5437 Add comments about discarded return value.
5439 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5442 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5444 2000-10-27 Andy Piper <andy@xemacs.org>
5446 * gutter.c (Fset_default_gutter_position): default left and right
5448 (calculate_gutter_size): calculate resonable heuristic for left
5449 and right gutter sizes.
5450 (specifier_vars_of_gutter): change left and right gutter sizes to
5452 (calculate_gutter_size_from_display_lines): new function.
5453 (output_gutter): check for resizing on left and right gutters.
5454 (clear_gutter): don't special case top and left gutters.
5455 (specifier_vars_of_gutter): use new signature for
5456 set_specifier_caching.
5458 * glyphs-x.c (x_redisplay_widget): spelling fix.
5459 * glyphs.c (specifier_vars_of_glyphs):
5460 * menubar.c (specifier_vars_of_menubar):
5461 * redisplay.c (specifier_vars_of_redisplay):
5462 * toolbar.c (specifier_vars_of_toolbar):
5463 * window.c (specifier_vars_of_window):
5464 * scrollbar.c (specifier_vars_of_scrollbar):
5465 (complex_vars_of_scrollbar): use new signature for
5466 set_specifier_caching.
5468 * specifier.c (set_specifier_caching): include recompute flag.
5469 (recompute_one_cached_specifier_in_window): always recompute if
5471 (recompute_one_cached_specifier_in_frame): ditto.
5473 * specifier.h (struct specifier_caching): add recompute flag.
5475 2000-10-24 Andy Piper <andy@xemacs.org>
5477 * unexcw.c (copy_executable_and_dump_data_section): add new
5478 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5481 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5483 * console-x.h (x_device): New member modifier_release_time.
5484 * event-Xt.c (x_handle_sticky_modifiers):
5485 Bound interval modifier keys are sticky.
5486 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5487 * events.h: extern it.
5489 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5491 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5493 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5495 * event-stream.c (execute_command_event): Preserve current_events
5496 and the like when event is misc-user-event.
5497 Inhibit quit during the call to maybe_echo_keys.
5499 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5501 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5502 symlink when buffer is killed.
5503 (inhibit_clash_detection): New variable.
5505 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5507 * console.c (Fset_input_method): Trigger redisplay on tty.
5509 2000-11-07 Martin Buchholz <martin@xemacs.org>
5511 * process.c (Fprocess_status): Revert to previous behavior:
5512 (process-status "nosuchprocess") ==> nil
5514 2000-11-06 Martin Buchholz <martin@xemacs.org>
5516 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5517 Work around another GCC 2.95.2 optimizer bug.
5519 2000-11-02 Martin Buchholz <martin@xemacs.org>
5521 * process.c (Fget_process): Use LIST_LOOP_2.
5522 (kill_buffer_processes): Use LIST_LOOP_2.
5524 * minibuf.c (Fall_completions):
5525 Delete old non-functional code for FSF fourth argument.
5527 * frame.c (frame_matches_frame_spec):
5528 Renamed from `frame_matches_frametype'. Update all callers.
5529 (device_matches_device_spec):
5530 Renamed from 'device_matches_console_spec'. Update all callers.
5532 * doc.c (Fsubstitute_command_keys):
5533 Remove buffer overflow crash. Small code cleanups.
5535 * casetab.c (check_case_table): Simpler code.
5537 * window.c (Freplace_buffer_in_windows):
5538 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5539 (and similar implementation) as Fdelete_windows_on.
5542 * alloc.c (Fmake_list):
5543 * alloc.c (make_vector):
5544 * alloc.c (Fmake_vector):
5545 * alloc.c (make_bit_vector):
5546 * alloc.c (Fmake_bit_vector):
5547 * alloc.c (Fbit_vector):
5548 * alloc.c (Fmake_string):
5549 * alloc.c (Fpurecopy):
5550 * alloc.c (Fmemory_limit):
5552 * buffer.c (Fget_buffer):
5553 * buffer.c (Fkill_buffer):
5554 * buffer.c (complex_vars_of_buffer):
5555 * bytecode.c (Fcompiled_function_stack_depth):
5556 * callint.c (Fprefix_numeric_value):
5558 * event-stream.c (Fread_key_sequence):
5560 * casetab.c (Fcase_table_p):
5561 * casetab.c (check_case_table):
5562 * casetab.c (Fset_case_table):
5563 * casetab.c (Fset_standard_case_table):
5565 * chartab.c (Fchar_table_type):
5566 * chartab.c (Freset_char_table):
5567 * chartab.c (Fget_char_table):
5568 * chartab.c (Fget_range_char_table):
5569 * chartab.c (Fput_char_table):
5570 * chartab.c (Fmap_char_table):
5571 * chartab.c (Fcategory_table_p):
5572 * chartab.c (Fcheck_category_at):
5573 * chartab.c (Fchar_in_category_p):
5574 * chartab.c (Fcategory_table):
5575 * chartab.c (Fcopy_category_table):
5576 * chartab.c (Fset_category_table):
5577 * chartab.c (Fcategory_designator_p):
5578 * chartab.c (Fcategory_table_value_p):
5579 * cmds.c (Fdelete_char):
5580 * cmds.c (Fdelete_backward_char):
5581 * cmds.c (Fself_insert_command):
5582 * cmds.c (Fself_insert_internal):
5583 * console.c (Fvalid_console_type_p):
5584 * console.c (Fcdfw_console):
5585 * console.c (Fconsole_type):
5586 * console.c (Fconsole_name):
5587 * console.c (Fconsole_device_list):
5588 * console.c (Fconsole_on_window_system_p):
5592 * data.c (Fsubr_interactive):
5593 * data.c (Fchar_to_int):
5594 * data.c (Fint_to_char):
5597 * data.c (Fnumber_to_string):
5598 * data.c (Fstring_to_number):
5600 * database.c (mark_database):
5601 * database.c (finalize_database):
5602 * database.c (Fdatabase_live_p):
5603 * database.c (Fdatabasep):
5604 * device-x.c (Fx_get_resource):
5605 * device.c (Fdfw_device):
5607 * dired.c (Ffile_name_completion):
5608 * dired.c (Ffile_name_all_completions):
5609 * dired.c (Fuser_name_completion):
5610 * dired.c (Fuser_name_completion_1):
5611 * dired.c (Fuser_name_all_completions):
5612 * doc.c (Fdocumentation):
5613 * doc.c (Fdocumentation_property):
5614 * doc.c (Fsubstitute_command_keys):
5616 * editfns.c (Fchar_to_string):
5617 * editfns.c (Fstring_to_char):
5618 * editfns.c (Ftemp_directory):
5619 * editfns.c (Finsert_char):
5620 * editfns.c (Fbuffer_substring_no_properties):
5621 * editfns.c (Fnarrow_to_region):
5622 * editfns.c (Fchar_equal):
5623 * editfns.c (Fchar_Equal):
5624 * editfns.c (Ftranspose_regions):
5625 * emacs.c (Fdump_emacs):
5627 * eval.c (Fcommand_execute):
5628 * eval.c (Fautoload):
5629 * eval.c (Fbacktrace):
5630 * eval.c (Fbacktrace_frame):
5632 * events.c (Fcopy_event):
5633 * events.c (Fcharacter_to_event):
5634 * events.c (Fevent_button):
5635 * events.c (Fevent_process):
5637 * extents.c (Fnext_extent_change):
5638 * extents.c (Fextent_property):
5640 * faces.c (Fmake_face):
5642 * file-coding.c (Fencode_shift_jis_char):
5643 * file-coding.c (Fencode_big5_char):
5644 * fileio.c (Ffile_name_directory):
5645 * fileio.c (Ffile_name_nondirectory):
5646 * fileio.c (Ffile_name_as_directory):
5647 * fileio.c (Fdirectory_file_name):
5648 * fileio.c (Ffile_truename):
5649 * fileio.c (Fsubstitute_in_file_name):
5650 * fileio.c (Ffile_modes):
5651 * fileio.c (Fset_file_modes):
5652 * fileio.c (Fset_default_file_modes):
5653 * fileio.c (Fverify_visited_file_modtime):
5654 * floatfns.c (Facos):
5655 * floatfns.c (Fasin):
5656 * floatfns.c (Fatan):
5657 * floatfns.c (Fcos):
5658 * floatfns.c (Fsin):
5659 * floatfns.c (Ftan):
5660 * floatfns.c (Fbessel_j0):
5661 * floatfns.c (Fbessel_j1):
5662 * floatfns.c (Fbessel_jn):
5663 * floatfns.c (Fbessel_y0):
5664 * floatfns.c (Fbessel_y1):
5665 * floatfns.c (Fbessel_yn):
5666 * floatfns.c (Ferf):
5667 * floatfns.c (Ferfc):
5668 * floatfns.c (Flog_gamma):
5669 * floatfns.c (Fexp):
5670 * floatfns.c (Fexpt):
5671 * floatfns.c (Flog):
5672 * floatfns.c (Flog10):
5673 * floatfns.c (Fsqrt):
5674 * floatfns.c (Fcube_root):
5675 * floatfns.c (Facosh):
5676 * floatfns.c (Fasinh):
5677 * floatfns.c (Fatanh):
5678 * floatfns.c (Fcosh):
5679 * floatfns.c (Fsinh):
5680 * floatfns.c (Ftanh):
5681 * floatfns.c (Fabs):
5682 * floatfns.c (Ffloat):
5683 * floatfns.c (Flogb):
5684 * floatfns.c (Fceiling):
5685 * floatfns.c (Ffloor):
5686 * floatfns.c (Fround):
5687 * floatfns.c (Ftruncate):
5688 * floatfns.c (Ffceiling):
5689 * floatfns.c (Fffloor):
5690 * floatfns.c (Ffround):
5691 * floatfns.c (Fftruncate):
5692 * fns.c (Fstring_equal):
5693 * fns.c (Fstring_lessp):
5698 * fns.c (Fsubstring):
5700 * fns.c (Fold_assoc):
5701 * fns.c (assoc_no_quit):
5703 * fns.c (Fold_assq):
5704 * fns.c (assq_no_quit):
5706 * fns.c (Fold_rassoc):
5708 * fns.c (Fold_rassq):
5709 * fns.c (rassq_no_quit):
5710 * fns.c (Fremassoc):
5711 * fns.c (remassoc_no_quit):
5713 * fns.c (remassq_no_quit):
5714 * fns.c (Fremrassoc):
5715 * fns.c (Fremrassq):
5716 * fns.c (remrassq_no_quit):
5718 * fns.c (Fplist_get):
5719 * fns.c (Fplist_put):
5720 * fns.c (Fplist_remprop):
5721 * fns.c (Fplist_member):
5722 * fns.c (Flax_plist_get):
5723 * fns.c (Flax_plist_put):
5724 * fns.c (Flax_plist_remprop):
5725 * fns.c (Flax_plist_member):
5727 * fns.c (Fold_equal):
5729 * fns.c (Fbase64_encode_region):
5730 * fns.c (Fbase64_encode_string):
5731 * fns.c (Fbase64_decode_region):
5733 * frame.c (frame_matches_frame_spec):
5734 * frame.c (device_matches_device_spec):
5735 * frame.c (next_frame):
5736 * frame.c (previous_frame):
5737 * frame.c (Fnext_frame):
5738 * frame.c (Fprevious_frame):
5739 * frame.c (Fframe_property):
5740 * frame.c (Fset_frame_height):
5741 * frame.c (Fset_frame_size):
5745 * glyphs.c (decode_error_behavior_flag):
5746 * glyphs.c (Fmake_image_instance):
5747 * indent.c (Findent_to):
5748 * intl.c (Fignore_defer_gettext):
5749 * keymap.c (Fkeymapp):
5750 * keymap.c (Flookup_key):
5752 * lread.c (Fload_internal):
5753 * lread.c (Feval_buffer):
5754 * lread.c (Feval_region):
5755 * macros.c (Fexecute_kbd_macro):
5756 * marker.c (set_marker_internal):
5757 * marker.c (Fset_marker):
5758 * marker.c (set_marker_restricted):
5759 * marker.c (Fcopy_marker):
5760 * marker.c (noseeum_copy_marker):
5762 * menubar.c (Fpopup_menu):
5764 * mule-charset.c (Fcharset_name):
5765 * mule-charset.c (Fchar_charset):
5766 * mule-charset.c (Fchar_octet):
5767 * mule-charset.c (Fsplit_char):
5768 * mule-wnnfns.c (Fwnn_open):
5769 * mule-wnnfns.c (Fwnn_dict_comment):
5770 * mule-wnnfns.c (Fwnn_quit_henkan):
5771 * mule-wnnfns.c (Fwnn_word_toroku):
5772 * mule-wnnfns.c (Fwnn_word_sakujo):
5773 * mule-wnnfns.c (Fwnn_word_use):
5774 * mule-wnnfns.c (Fwnn_hindo_set):
5776 * objects.c (Fmake_color_instance):
5777 * objects.c (Fmake_font_instance):
5778 * print.c (Fwrite_char):
5780 * process.c (mark_process):
5781 * process.c (print_process):
5782 * process.c (get_process_from_usid):
5783 * process.c (Fprocessp):
5784 * process.c (Fprocess_live_p):
5785 * process.c (Fget_process):
5786 * process.c (Fget_buffer_process):
5787 * process.c (get_process):
5788 * process.c (Fprocess_id):
5789 * process.c (Fprocess_name):
5790 * process.c (Fprocess_command):
5791 * process.c (init_process_io_handles):
5792 * process.c (start_process_unwind):
5793 * process.c (Fstart_process_internal):
5794 * process.c (Fopen_multicast_group_internal):
5795 * process.c (Fset_process_window_size):
5796 * process.c (read_process_output):
5797 * process.c (send_process):
5798 * process.c (Fprocess_tty_name):
5799 * process.c (Fset_process_buffer):
5800 * process.c (Fprocess_buffer):
5801 * process.c (Fprocess_mark):
5802 * process.c (set_process_filter):
5803 * process.c (Fset_process_filter):
5804 * process.c (Fprocess_filter):
5805 * process.c (Fprocess_send_region):
5806 * process.c (Fprocess_send_string):
5807 * process.c (exec_sentinel):
5808 * process.c (Fset_process_sentinel):
5809 * process.c (Fprocess_sentinel):
5810 * process.c (status_notify):
5811 * process.c (Fprocess_status):
5812 * process.c (Fprocess_exit_status):
5813 * process.c (process_send_signal):
5814 * process.c (Fprocess_send_eof):
5815 * process.c (deactivate_process):
5816 * process.c (remove_process):
5817 * process.c (Fdelete_process):
5818 * process.c (kill_buffer_processes):
5819 * process.c (Fprocess_kill_without_query):
5820 * process.c (Fprocess_kill_without_query_p):
5822 * rangetab.c (Fget_range_table):
5823 * rangetab.c (Fput_range_table):
5824 * rangetab.c (Fremove_range_table):
5825 * rangetab.c (Fclear_range_table):
5827 * search.c (Fskip_chars_forward):
5828 * search.c (Fskip_chars_backward):
5829 * search.c (Fskip_syntax_forward):
5830 * search.c (Fskip_syntax_backward):
5831 * search.c (search_command):
5832 * search.c (Freplace_match):
5833 * search.c (Fregexp_quote):
5834 * select.c (Fown_selection_internal):
5835 * select.c (Fselection_owner_p):
5836 * select.c (Fselection_exists_p):
5837 * select.c (Fget_selection_internal):
5840 * symbols.c (Fintern):
5841 * symbols.c (Fintern_soft):
5842 * symbols.c (Funintern):
5843 * symbols.c (Fapropos_internal):
5844 * symbols.c (Fset_default):
5846 * syntax.c (Fsyntax_table_p):
5847 * syntax.c (Fcopy_syntax_table):
5848 * syntax.c (Fset_syntax_table):
5849 * syntax.c (Fchar_syntax):
5850 * syntax.c (syntax_match):
5851 * syntax.c (Fmatching_paren):
5852 * syntax.c (Fforward_word):
5853 * syntax.c (scan_lists):
5854 * syntax.c (Fscan_lists):
5855 * syntax.c (Fscan_sexps):
5856 * syntax.c (Fparse_partial_sexp):
5857 * toolbar.c (Fcheck_toolbar_button_syntax):
5860 * window.c (Fwindowp):
5861 * window.c (Fwindow_live_p):
5862 * window.c (Fwindow_point):
5863 * window.c (Fdelete_window):
5864 * window.c (Fnext_window):
5865 * window.c (Fprevious_window):
5866 * window.c (Fother_window):
5867 * window.c (window_loop):
5868 * window.c (Fget_lru_window):
5869 * window.c (Fsplit_window):
5870 * window.c (Fenlarge_window):
5871 * window.c (Fenlarge_window_pixels):
5872 * window.c (Fshrink_window):
5873 * window.c (Fshrink_window_pixels):
5874 * window.c (change_window_height):
5875 * window.c (Fwindow_configuration_p):
5876 * window.c (Fcurrent_window_configuration):
5878 * casefiddle.c (casify_object):
5879 * casefiddle.c (Fupcase):
5880 * casefiddle.c (Fdowncase):
5881 * casefiddle.c (Fcapitalize):
5882 * casefiddle.c (Fupcase_initials):
5883 * casefiddle.c (casify_region_internal):
5884 * casefiddle.c (casify_region):
5885 * casefiddle.c (Fupcase_region):
5886 * casefiddle.c (Fdowncase_region):
5887 * casefiddle.c (Fcapitalize_region):
5888 * casefiddle.c (Fupcase_initials_region):
5889 * casefiddle.c (Fupcase_word):
5890 * casefiddle.c (Fdowncase_word):
5891 * casefiddle.c (Fcapitalize_word):
5892 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5893 Replace 0 with '\0' when working with bytes.
5894 Replace initial "(" with "\(" in docstrings.
5896 2000-11-01 Martin Buchholz <martin@xemacs.org>
5898 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5900 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5902 2000-10-31 Martin Buchholz <martin@xemacs.org>
5904 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5906 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5908 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5911 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5913 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5914 (inhibit_auto_save_session): New variable.
5915 (vars_of_fileio): Declare and initialize them.
5916 * fileio.c (Fdo_auto_save): Don't create session file if
5917 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5919 2000-10-31 Martin Buchholz <martin@xemacs.org>
5921 * sgiplay.c (play_internal): C++ compilability.
5922 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5923 * callproc.c (Fold_call_process_internal):
5924 Remove unused vars `env', `first'.
5925 * scrollbar.c (update_scrollbar_instance):
5926 #### unused var `current_window'.
5927 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5928 etc. within #ifdef NOT_YET.
5929 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5930 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5931 * specifier.c (specifier_instance):
5932 #### unused var `tag'.
5933 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5935 2000-10-27 Martin Buchholz <martin@xemacs.org>
5938 * fns.c (list_sort):
5939 * fns.c (Ffillarray):
5940 * fns.c (bytecode_nconc2):
5943 * fns.c (Fmapconcat):
5944 Be pedantically 64-bit correct. For the time when someone will
5945 want to have a list with length > 2**32.
5947 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5948 Work around MIPSpro compiler bug.
5950 * process-unix.c (unix_kill_child_process): Add snarky comment.
5951 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5953 * config.h.in: Oops, _getpt ==> _getpty
5955 2000-10-26 Martin Buchholz <martin@xemacs.org>
5959 Use void*, not char*, as return type of alloca().
5961 * alloc.c (free_marker): Side effect inside assert expression!
5963 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5965 * mule-charset.c (Fset_charset_ccl_program): To check
5966 if the given ccl program is valid, use setup_ccl_program()
5967 instead of CHECK_VECTOR().
5968 (Fmake_charset): Likewise.
5970 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5972 * faces.c (get_extent_fragment_face_cache_index):
5973 Fix cachel.merged_faces memory leak.
5975 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5977 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5978 Reset MSB of octets obtained by DECODE_SJIS
5979 because of the incompatibility with Emacs.
5980 (ccl_driver)<CCL_ENCODE_SJIS>:
5981 Set MSB of octets before passing them to
5982 ENCODE_SJIS because of the incompatibility
5985 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5987 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5988 (DECLARE_LRECORD): Undo the last change.
5989 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5991 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5993 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5994 the implementation to lrecord_implementations_table.
5996 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5998 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5999 initial value of `lrecord_type_##c_name' and
6000 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
6001 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
6002 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
6003 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
6004 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
6006 2000-10-17 Martin Buchholz <martin@xemacs.org>
6008 * miscplay.c (sndcnv8S_2mono):
6009 (sndcnv2monounsigned):
6010 (sndcnvULaw_2linear):
6012 Remove implementation-defined behavior.
6014 2000-10-12 Martin Buchholz <martin@xemacs.org>
6016 * input-method-xlib.c: Warning suppression.
6018 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
6020 * mule-ccl.c: Sync up with Emacs 21.0.90.
6021 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
6023 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
6025 (ccl_driver[WriteMultibyteChar2]): Bug fix.
6026 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
6027 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
6028 leading char belongs to official 2-dimensional charset.
6029 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
6030 write the given character as is. Otherwise,
6031 if it is a multibyte char, convert it by
6032 non_ascii_set_charptr_emchar, then write it.
6033 (CCL_WRITE_STRING): Likewise.
6034 (ccl_get_compiled_code): New function.
6035 (setup_ccl_program): When ccl_prog is invalid,
6037 (Fregister_code_conversion_map): New function.
6038 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
6040 * mule-ccl.h: Sync up with Emacs 21.0.90.
6041 (Fregister_ccl_program): export it.
6043 * redisplay-msw.c (separate_textual_runs):
6044 If ccl program is not valid, don't do ccl conversion.
6046 * redisplay-x.c (separate_textual_runs): Ditto.
6048 * file-coding.c (Fmake_coding_system):
6049 When type is ccl and value is vector, register it
6050 with a proper symbol. And checks whether the
6051 given ccl program is valid.
6052 (mule_decode): When calling ccl_driver, if src indicates
6053 NULL pointer, set an empty string instead.
6054 (mule_encode): Likewise.
6056 2000-10-11 Martin Buchholz <martin@xemacs.org>
6058 The following large batch of changes gets us back to a state of
6059 C++ compilability. Extbyte is now a char, which means that
6060 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
6062 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
6064 * sound.c (Fplay_sound): Type correctness.
6066 * select-x.c (hack_motif_clipboard_selection): Type correctness.
6067 (x_get_window_property): Type correctness.
6068 (receive_incremental_selection): unsigned char ==> Extbyte
6069 (selection_data_to_lisp_data): unsigned char ==> Extbyte
6070 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
6071 (Fx_store_cutbuffer_internal): Type correctness.
6073 * process-unix.c (try_to_initialize_subtty): Type correctness.
6075 * objects-x.c (x_print_color_instance): Type correctness.
6076 (x_print_font_instance): Type correctness.
6077 (x_list_fonts): SExtbyte ==> Extbyte.
6078 (valid_x_font_name_p): SExtbyte ==> Extbyte.
6079 (x_find_charset_font): SExtbyte ==> Extbyte.
6080 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
6081 (truename_via_XListFonts): SExtbyte ==> Extbyte.
6082 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
6085 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
6086 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
6087 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
6088 (BYTE_C0_P): Use bit ops for char-signedness safety.
6089 (BYTE_C1_P): Use bit ops for char-signedness safety.
6090 (CHARSET_BY_LEADING_BYTE):
6091 (CHARSET_BY_ATTRIBUTES):
6092 Always use inline function.
6093 Use type_checking_assert.
6096 * mule-charset.c (non_ascii_charptr_copy_char):
6097 Modify to work with both ASCII and non-ASCII characters.
6098 Improve docs and variable names.
6099 Replace over-clever fall-through switch with a simple loop.
6100 (Lstream_get_emchar_1):
6101 Replace over-clever fall-through switch with a simple loop.
6103 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6104 Warning suppression.
6106 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
6107 the return value of Lstream_getc, which could be EOF as well.
6109 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
6111 * lisp.h: Make Extbyte a char, not unsigned char, so that external
6112 APIs can be used on Extbytes without casts. Risky!
6116 * input-method-xlib.c (XIM_init_device):
6117 Use Xlib.h instead of IntrinsicP.h.
6118 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
6119 which will break in X11R7.
6120 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
6121 to call XRegisterIMInstantiateCallback with correct types.
6123 * gui-x.c (button_item_to_widget_value): Type correctness.
6125 * glyphs.c (bitmap_to_lisp_data): Type correctness.
6127 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
6128 (xbm_instantiate_1): Type correctness.
6129 (BUILD_GLYPH_INST): Type correctness.
6131 * fileio.c (Fsubstitute_in_file_name): Type correctness.
6134 (decode_coding_sjis):
6135 (decode_coding_big5):
6136 (decode_coding_ucs4):
6137 (decode_coding_utf8):
6138 (decode_coding_iso2022):
6139 (decode_coding_no_conversion):
6140 Make all decoding functions take an Extbyte * arg.
6141 (encode_coding_sjis):
6142 (encode_coding_big5):
6143 (encode_coding_ucs4):
6144 (encode_coding_utf8):
6145 (encode_coding_iso2022):
6146 (encode_coding_no_conversion):
6147 Make all encoding functions take a Bufbyte * arg.
6148 Use size_t instead of unsigned int for memory sizes.
6149 Only cast to unsigned char whenever dereferencing Extbyte *.
6151 * doc.c (unparesseuxify_doc_string): Type correctness.
6153 * console-x.c (split_up_display_spec):
6154 Rewrite without using details of internal string representation.
6155 (x_semi_canonicalize_device_connection): Type correctness.
6158 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
6159 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
6160 (HAVE_XFREE386): Removed.
6162 * buffer.h (DEC_CHARPTR): `const' correctness.
6163 (bufbyte_strcmp): New.
6164 (bufbyte_memcmp): New.
6166 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
6168 * buffer.h (XCHAR_OR_CHAR_INT):
6169 Always use inline function.
6170 Remove redundant type checking assert() - XINT will abort quite nicely.
6172 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6174 * search.c (Freplace_match): Set newtext to an empty string.
6176 2000-10-10 Martin Buchholz <martin@xemacs.org>
6178 * s/decosf1-3.h: Remove #include of stropts.h
6179 * s/ptx.h: Remove #include of stropts.h
6180 * s/usg5-4.h: Remove #include of stropts.h
6183 Use stropts.h, not sys/stropts.h.
6184 Use strtio.h, not sys/strtio.h.
6186 2000-10-04 Martin Buchholz <martin@xemacs.org>
6188 * XEmacs 21.2.36 is released.
6190 2000-09-21 Andy Piper <andy@xemacs.org>
6192 * glyphs-x.c (x_redisplay_widget): make sure non-structural
6193 changes still involve copying the widget tree.
6194 (update_widget_face): make sure a change is register in the widget
6195 tree. Call update_tab_widget_face appropriately.
6196 (update_tab_widget_face): ditto.
6197 (x_tab_control_redisplay): make sure non-structural changes still
6198 involve copying the widget tree.
6200 2000-08-31 Daiki Ueno <ueno@unixuser.org>
6202 * lread.c (locate_file): Check the path element is non-nil.
6204 2000-10-02 Martin Buchholz <martin@xemacs.org>
6206 * lisp.h: Warning suppression for SCO compilers.
6208 * redisplay-tty.c (reset_tty_modes): Fix crash.
6209 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
6211 2000-09-27 Martin Buchholz <martin@xemacs.org>
6213 Big signal/process handling overhaul. Bugs fixed:
6214 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
6215 M-x comint-kill-subjob should work for both values nil and t of
6216 process-connection-type. It was broken on most platforms.
6217 Testing on Irix and Cygwin still needed. Other plaforms tested.
6218 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
6219 * process-unix.c: Signal/Process handling overhaul.
6220 (pty_name): make 64 bytes, as `expect' does, for paranoia.
6221 (allocate_pty): Use all available modern methods of allocating
6222 ptys, falling back to old style BSD allocation as a last resort.
6223 Use allegedly more secure Unix98 pty allocation by default.
6224 (allocate_pty_the_old_fashioned_way): New. the last resort.
6225 (unix_create_process): Push ptem, ldterm, ttcompat where
6226 available. Autoconfiscate.
6227 (try_to_initialize_subtty): New.
6228 (unix_kill_child_process): Proper signal handling for ptys on most
6229 platforms, using special knowledge of AIX, BSD, etc...
6230 (unix_create_process): Always disconnect_controlling_terminal() for
6231 subprocesses, whether using ptys or not.
6232 * process.h: Remove old getpt-dependent PTY code.
6233 * process.c (Fprocess_send_signal): New, obvious generic function.
6234 (decode_signal): New.
6235 (Finterrupt_process):
6239 (Fcontinue_process):
6240 (Fsignal_process): Use decode_signal.
6241 (process_send_signal):
6242 Many docstring corrections.
6243 Allow any signal to be sent to a process object.
6244 * config.h.in: Add symbols for big signal/process overhaul.
6245 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
6246 * sysproc.h: Include process-related headers, where available:
6247 sys/stropts.h sys/strtio.h pty.h libutil.h
6255 Remove old S&M pty stuff.
6256 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
6257 * systty.h: Simplify cpp hackery, improve comments.
6258 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
6260 * editfns.c (Fformat_time_string):
6261 Be a little more paranoid with the return value of ctime.
6263 * fileio.c (check_executable):
6265 Use symbolic constants X_OK, W_OK.
6267 * console-x.c (split_up_display_spec): Fix a warning.
6269 2000-10-02 Martin Buchholz <martin@xemacs.org>
6271 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
6272 * ntproc.c (sys_spawnve): make_string ==> build_string
6273 Small clarity improvements.
6275 2000-09-30 Martin Buchholz <martin@xemacs.org>
6277 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
6279 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
6281 * config.h.in (HAVE_STRCASECMP): Remove.
6283 2000-09-29 Martin Buchholz <martin@xemacs.org>
6285 * redisplay-output.c (redisplay_output_pixmap):
6286 Cleaner and possibly more 64-bit correct code.
6288 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6290 * dumper.c (pdump_load_finish): move restoration of
6291 `noninteractive1' to emacs.c (main_1).
6292 * emacs.c (main_1): protect LISP-visible command-line flags
6295 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
6297 * Makefile.in.in (versionclean): Use EXE_TARGET and
6298 DUMP_TARGET instead of literal program names.
6300 2000-09-20 Martin Buchholz <martin@xemacs.org>
6302 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
6304 2000-09-19 Martin Buchholz <martin@xemacs.org>
6306 * *: Spelling mega-patch
6308 2000-09-19 Martin Buchholz <martin@xemacs.org>
6310 * fns.c (bad_bad_turtle):
6311 Delete "Eek!" comment, since we fixed the bug to which it refers.
6313 2000-09-16 Martin Buchholz <martin@xemacs.org>
6315 * alloca.c: Replace REGISTER with register.
6317 2000-09-16 Daiki Ueno <ueno@unixuser.org>
6319 * file-coding.c (ucs_to_char): Use countof.
6321 2000-09-16 Martin Buchholz <martin@xemacs.org>
6323 * file-coding.c: (ucs_to_char):
6324 (complex_vars_of_file_coding):
6325 Use countof instead of sizeof.
6326 Use CHECK_NATNUM instead of CHECK_INT.
6328 * sysdep.c (strcasecmp): Remove.
6329 * device-x.c (ascii_strcasecmp): New.
6330 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
6331 Avoid using non-standard non-portable strcasecmp.
6333 2000-09-16 Martin Buchholz <martin@xemacs.org>
6335 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
6336 * font-lock.c: remove reference to emacsfns.h.
6337 * search.c: small doc improvement.
6338 * event-Xt.c: correct file names in comments.
6339 * console-x.h Correct file names in comments.
6340 * frame.c: Correct file names in comments.
6341 * event-stream.c: remove Energize from comments.
6343 2000-09-15 Martin Buchholz <martin@xemacs.org>
6345 * symeval.h (DEFERROR_STANDARD):
6348 (DEFSYMBOL_NO_DUMP):
6349 (DEFSYMBOL_MULTIWORD_PREDICATE):
6350 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
6352 The construct &##name is not sensible C.
6353 Fixes compilation errors with Unixware native compiler.
6355 2000-09-14 Martin Buchholz <martin@xemacs.org>
6357 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
6358 (next_frame_internal): Removed. We now just have next_frame.
6360 Write a simpler and cleaner one-pass algorithm.
6361 Remove called_from_delete_device arg and #ifdefed-out code.
6363 Renamed from prev_frame. Update callers.
6364 Cleaned up to have an analogous implementation to next_frame.
6365 (other_visible_frames_internal): Remove the
6366 called_from_delete_device bogus arg, and hence, remove this
6367 function. Just use other_visible_frames().
6369 * window.c (Fnext_window):
6371 Since next_frame() is guaranteed to return a frame, remove check
6372 for nil inserted in previous patch.
6375 Make code look more like Fnext_window.
6377 Respect the `console' arg when iterating through windows.
6378 Fixes bug: (get-buffer-window buffer t device) not respecting
6380 This function needs more work, as others have pointed out.
6382 * frame.h: Rename prev_frame to previous_frame.
6383 device_matches_console_spec no longer takes a `frame' arg.
6388 Use EMACS_BLOCK_SIGNAL instead of sigblock.
6389 From "Golubev I. N." <gin@mo.msk.ru>.
6391 * make-src-depend: Fix typo.
6393 2000-09-13 Martin Buchholz <martin@xemacs.org>
6395 * window.c (Fnext_window):
6396 next_frame() might return nil, not a frame.
6398 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6400 * frame.c (next_frame_internal):
6401 We've passed a frame if we've passed its device.
6403 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6404 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
6406 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6408 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6409 Allow option to suppress accelerators in menu/dialog items.
6410 (populate_or_checksum_helper): Pass dialog title through above.
6412 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6414 * event-msw.c (mswindows_key_to_emacs_keysym):
6415 Add "pause" key, fix "menu" key.
6417 2000-09-09 Martin Buchholz <martin@xemacs.org>
6419 * eval.c (reinit_vars_of_eval):
6420 Increase max_lisp_eval_depth to 1000,
6421 required for thai-xtis.el to byte-compile under some circumstances.
6423 2000-09-04 Martin Buchholz <martin@xemacs.org>
6425 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6428 2000-09-01 Martin Buchholz <martin@xemacs.org>
6430 * make-src-depend: Make the generated Makefiles smaller.
6432 * s/hpux.h (SETUP_SLAVE_PTY):
6433 Provide a %d in the format string for the errno argument.
6435 * editfns.c (Ftemp_directory):
6437 Avoid buffer overrun on very long file name.
6439 * input-method-xlib.c (XIM_init_device):
6440 6th parameter of XRegisterIMInstantiateCallback has different
6441 pointer types on different OSes, so simply cast to (void *).
6443 * unexhp9k800.c: Warning fixes. Fiddly changes.
6445 * sysdll.c (dll_open):
6446 shl_load will hang hard if passed a NULL filename.
6447 Simply return NULL for compatibility with dlopen.
6448 * sysdll.c: Conform to XEmacs coding standards.
6450 * sysdep.c (get_pty_max_bytes):
6451 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6453 2000-08-31 Martin Buchholz <martin@xemacs.org>
6455 * tooltalk.c: Add #include <syssignal.h>
6457 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6459 * s/hpux.h: Don't use undefined function sigunblock().
6461 2000-08-31 Martin Buchholz <martin@xemacs.org>
6463 * config.h.in: Add HAVE_BALLOON_HELP.
6464 * emacs.c: Use HAVE_BALLOON_HELP.
6465 * Makefile.in.in (x_objs):
6466 Make Balloon Help conditional on finding shape.h.
6468 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6470 * syntax.c (regex_emacs_buffer_p): New variable.
6471 * syntax.h (regex_emacs_buffer_p): extern.
6472 * search.c (looking_at_1):
6474 (fast_string_match):
6475 (search_buffer): Set regex_emacs_buffer_p.
6476 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6477 when before_dot, at_dot, after_dot.
6479 2000-08-23 Andy Piper <andy@xemacs.org>
6481 * gui-x.c (popup_selection_callback): Only set action_occurred
6482 when we really have an image instance.
6483 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6485 2000-08-23 Andy Piper <andy@xemacs.org>
6487 * gui-msw.c (mswindows_handle_gui_wm_command): set
6489 * gui-x.c (popup_selection_callback): ditto.
6491 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6492 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6493 (struct Lisp_Image_Instance): add action_occurred flag.
6495 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6496 (image_instance_changed): ditto.
6497 (reset_frame_subwindow_instance_cache): only unmap windows - do
6498 not remove them from the cache also.
6500 * glyphs-widget.c (tab_control_update): better debug.
6501 (progress_gauge_update): ditto.
6502 (layout_update): ditto.
6503 (layout_instantiate): ditto.
6504 (tab_control_order_only_changed): cope with null pending items.
6506 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6507 debug. Force selection of an item when an action occurred. Cope
6508 with null pending_items.
6509 (mswindows_progress_gauge_redisplay): better debug.
6510 * glyphs-x.c (x_tab_control_redisplay): ditto.
6512 * redisplay.c (redisplay_frame): reset the frame cache if the
6515 * window.c (Fset_window_configuration): potentially re-enable
6517 (window_unmap_subwindows): need to finalize instances here since
6518 it is only used in mark_window_as_deleted.
6520 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6522 * nas.c (SndOpenDataForReading):
6523 nas.c (WaveOpenDataForReading):
6524 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6525 Somehow escaped from the 2000-08-14 patch.
6527 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6529 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6530 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6532 2000-08-21 Andy Piper <andy@xemacs.org>
6534 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6535 window if it is not already displayed.
6537 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6538 it is not already displayed.
6540 * window.c (Fset_window_configuration): don't reset the frame
6543 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6544 instances from the frame cache if we are actually finalizing them.
6545 (reset_frame_subwindow_instance_cache): reset frame cache only
6546 after unmapping everything.
6547 (map_subwindow): set displayed flag after mapping.
6549 2000-08-21 Martin Buchholz <martin@xemacs.org>
6551 * data.c (indirect_function):
6552 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6554 * eval.c (function_argcount):
6555 Use original function when signaling errors.
6557 2000-08-18 Andy Piper <andy@xemacs.org>
6559 * frame.c (delete_frame_internal): use new
6560 free_frame_subwindow_instances name.
6562 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6563 (add_tab_item): make return type correct.
6564 (mswindows_tab_control_instantiate): assert index of tab.
6565 (mswindows_tab_control_redisplay): Re-code to use
6566 gui_item_equal_sans_selected and gui_item_list_find_selected.
6568 * glyphs-widget.c (tab_control_update): Correct comment.
6570 * window.c (window_unmap_subwindows): use new
6571 unmap_subwindow_instance_cache_mapper.
6572 (window_unmap_subwindows_cache_mapper): deleted.
6573 (Fset_window_configuration): comparisons should now be with
6574 EQ. Preserve the subwindow instance cache across configuration
6576 (allocate_window): ditto.
6577 (make_dummy_parent): ditto.
6579 * glyphs.c (free_frame_subwindow_instances): rename from
6580 free_frame_subwindow_instance_cache. finalize all instances rather
6581 than just those in the display cache.
6582 (finalize_all_subwindow_instances): walk windows unmapping and
6583 finalizing subwindows.
6584 (unmap_subwindow_instance_cache_mapper): moved from
6585 window.c. Allow finalization as well as unmapping.
6587 * gui.c (gui_item_list_find_selected): new function.
6589 * gui.h (gui_item_list_find_selected): declare.
6591 * glyphs-x.c (x_tab_control_redisplay): pick tab
6592 explicitly. Re-code to use gui_item_equal_sans_selected and
6593 gui_item_list_find_selected.
6595 * glyphs-x.h: add lwlib-utils.h
6597 * buffer.c (Frecord_buffer): undo previous change.
6599 2000-08-09 Vin Shelton <acs@xemacs.org>
6601 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6602 possible. Create temporary files more securely. The patch was
6603 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6604 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6605 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6608 2000-08-07 Ben Wing <ben@xemacs.org>
6610 * getloadavg.c: remove duplicate (and windows-breaking)
6611 includes of fcntl.h and sys/file.h.
6613 * nt.c: remove duplicate getloadavg() definition.
6615 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6618 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6620 * eval.c (function_argcount): If function needs to be autoloaded
6621 actually use the loaded definition.
6624 2000-08-05 Ben Wing <ben@xemacs.org>
6626 * getloadavg.c: add prototype for getloadavg(). remove
6627 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6628 of the code). remove duplicate header includes.
6630 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6632 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6633 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6634 useful load average.
6636 * alloc.c (reinit_alloc_once_early): removed references to
6637 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6638 the lisp vars are the only things referencing the malloc_sbrk_*
6639 vars, and they were already if 0'd out. these vars only exist
6640 in the older malloc.c, which is basically unused, and they're
6641 only for informational purposes.
6643 * m\*.h: removed useless VIRT_ADDR_VARIES.
6645 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6647 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6649 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6650 color if the image is a mono pixmap.
6652 2000-07-30 Ben Wing <ben@xemacs.org>
6654 * Makefile.in.in (release):
6657 * buffer.c (directory_is_current_directory):
6658 * dired-msw.c (mswindows_get_files):
6660 * dired.c (Fdirectory_files):
6661 * dired.c (file_name_completion_stat):
6662 * dired.c (Ffile_attributes):
6663 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6664 preprocessor tricks, to avoid problems on some machines
6667 * callproc.c (egetenv): GC docs.
6670 * console-msw.h (struct mswindows_dialog_id):
6671 * lrecord.h (lrecord_type):
6672 New object for use with MSW dialogs.
6674 * console.h (struct console_methods):
6675 New enable/disable frame methods, for proper modal dialogs.
6677 * device-msw.c (msprinter_default_printer): Fix to follow
6678 proper Mule conventions.
6681 * device-msw.c (signal_open_printer_error):
6682 * device-msw.c (msprinter_init_device):
6683 * device-msw.c (ensure_not_printing):
6684 * device-msw.c (plist_get_margin):
6685 * device-msw.c (Fmsprinter_select_settings):
6686 * device-msw.c (finalize_devmode):
6687 * device-msw.c (Fmsprinter_settings_despecialize):
6688 * device-msw.c (signal_enum_priner_error):
6689 * extents.c (decode_extent):
6690 * extents.c (decode_map_extents_flags):
6691 * extents.c (decode_extent_at_flag):
6692 * extents.c (Fextent_at):
6693 * extents.c (Fextents_at):
6694 * extents.c (symbol_to_glyph_layout):
6695 [[[[2]]]] Use structured errors.
6698 * dialog-msw.c (mswindows_is_dialog_msg):
6699 * dialog-msw.c (mark_mswindows_dialog_id):
6700 * dialog-msw.c (dialog_proc):
6701 * dialog-msw.c (handle_question_dialog_box):
6702 * dialog-msw.c (syms_of_dialog_mswindows):
6703 Define new object to clean up marking; use it as a dialog identifier.
6704 Call new delete-dialog-box-hook.
6706 * dialog-x.c (dbox_selection_callback):
6707 * dialog-x.c (dbox_descriptor_to_widget_value):
6708 * dialog-x.c (x_make_dialog_box_internal):
6709 Call new delete-dialog-box-hook.
6713 * dialog.c (syms_of_dialog):
6714 * dialog.c (vars_of_dialog):
6715 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6718 * eval.c (signal_call_debugger):
6719 when noninteractive, output stack traces on the console instead
6720 of in a (never-seen) buffer.
6722 * eval.c (signal_type_error):
6723 * eval.c (invalid_argument_2):
6725 new funs for use w/structured errors.
6728 * event-Xt.c (x_to_emacs_keysym):
6729 * event-Xt.c (describe_event):
6730 * event-Xt.c (emacs_Xt_event_handler):
6731 * event-Xt.c (vars_of_event_Xt):
6733 * event-msw.c (mswindows_wnd_proc):
6734 * event-msw.c (vars_of_event_mswindows):
6735 rename {x,mswindows}-debug-events to debug-{}-events for
6736 consistency with other debug-foo variables.
6739 document next-event more clearly.
6741 * fileio.c (Ffile_name_directory):
6742 * fileio.c (Ffile_name_nondirectory):
6743 * fileio.c (Funhandled_file_name_directory):
6744 * fileio.c (file_name_as_directory):
6745 * fileio.c (Ffile_name_as_directory):
6746 * fileio.c (directory_file_name):
6747 * fileio.c (Fdirectory_file_name):
6748 * fileio.c (Fmake_temp_name):
6749 * fileio.c (Ffile_truename):
6750 * fileio.c (Fsubstitute_in_file_name):
6751 * fileio.c (expand_and_dir_to_file):
6752 * fileio.c (barf_or_query_if_file_exists):
6753 * fileio.c (check_executable):
6754 * fileio.c (Ffile_exists_p):
6755 * fileio.c (Ffile_writable_p):
6756 * fileio.c (Ffile_directory_p):
6757 * fileio.c (Ffile_regular_p):
6758 * fileio.c (Ffile_modes):
6759 * fileio.c (Ffile_newer_than_file_p):
6760 * fileio.c (Fverify_visited_file_modtime):
6761 * fileio.c (Fset_visited_file_modtime):
6762 * fileio.c (auto_save_1):
6767 * frame-msw.c (mswindows_init_frame_1):
6768 * frame-msw.c (mswindows_enable_frame):
6769 * frame-msw.c (error_frame_unsizable):
6770 * frame-msw.c (msprinter_init_frame_1):
6771 * frame-msw.c (msprinter_init_frame_3):
6772 * frame-msw.c (console_type_create_frame_mswindows):
6774 implement new enable/disable frame methods.
6777 * frame-x.c (x_enable_frame):
6778 * frame-x.c (console_type_create_frame_x):
6779 implement new enable/disable frame methods.
6782 * frame.c (Fdisable_frame):
6783 * frame.c (syms_of_frame):
6784 * frame.h (struct frame):
6785 implement new enable/disable frame methods/functions.
6790 * glyphs-msw.c (mswindows_widget_instantiate):
6791 comment that initial-focus should be implemented.
6794 * glyphs-widget.c (check_valid_instantiator):
6795 * glyphs-widget.c (check_valid_orientation):
6796 * glyphs-widget.c (check_valid_tab_orientation):
6797 * glyphs-widget.c (check_valid_justification):
6798 * glyphs-widget.c (check_valid_border):
6799 * glyphs-widget.c (check_valid_callback):
6800 * glyphs-widget.c (check_valid_int_or_function):
6801 * glyphs-widget.c (check_valid_string_or_vector):
6802 * glyphs-widget.c (check_valid_item_list_1):
6803 * glyphs-widget.c (widget_validate):
6804 * glyphs-widget.c (combo_box_validate):
6805 * glyphs-widget.c (widget_instantiate):
6806 * glyphs-widget.c (syms_of_glyphs_widget):
6807 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6808 * glyphs-widget.c (image_instantiator_combo_box):
6809 * glyphs-widget.c (image_instantiator_scrollbar):
6810 * glyphs-widget.c (image_instantiator_tab_control):
6811 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6813 support (unimplemented) keyword initial-focus.
6814 reindent long macros.
6816 * glyphs-x.c (x_redisplay_widget):
6817 * glyphs-x.c (x_button_instantiate):
6818 * glyphs-x.c (x_button_redisplay):
6819 * glyphs-x.c (x_progress_gauge_instantiate):
6820 * glyphs-x.c (x_edit_field_instantiate):
6821 * glyphs-x.c (x_combo_box_instantiate):
6822 * glyphs-x.c (x_tab_control_instantiate):
6823 * glyphs-x.c (x_label_instantiate):
6825 * gui-x.c (button_item_to_widget_value):
6826 * gui-x.c (gui_items_to_widget_values_1):
6827 * gui-x.c (gui_item_children_to_widget_values):
6828 * gui-x.c (gui_items_to_widget_values):
6830 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6831 add new flag to gui-parsing routines to indicate whether
6832 accelerator specs should be supported.
6834 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6836 * glyphs.h (struct Lisp_Image_Instance):
6837 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6838 add initial-focus flag.
6841 * gui.c (syms_of_gui):
6842 * gui.c (vars_of_gui):
6843 clean up menu-no-selection-hook.
6846 support delete-dialog-box-hook.
6848 * lread.c (Fload_internal):
6849 * lread.c (locate_file_in_directory_mapper):
6853 * lrecord.h (struct toolbar_button):
6854 * lrecord.h (syms_of_toolbar):
6855 document how to create a new object.
6857 * menubar-msw.c (mswindows_char_is_accelerator):
6858 may be called on frames w/o menus.
6860 * menubar.c (vars_of_menubar):
6861 clean up :filter docs.
6868 * process-nt.c (validate_signal_number):
6869 * process-nt.c (signal_cannot_launch):
6870 * process-nt.c (nt_create_process):
6871 * process-nt.c (nt_send_process):
6872 * process-nt.c (nt_kill_child_process):
6873 * process-nt.c (nt_open_network_stream):
6874 * process-nt.c (syms_of_process_nt):
6876 delete quote-handling. call new lisp code that does it better.
6878 * process-unix.c (connect_to_file_descriptor):
6879 * process-unix.c (allocate_pty):
6880 * process-unix.c (unix_send_process):
6881 * process-unix.c (unix_kill_child_process):
6882 * process-unix.c (unix_open_network_stream):
6883 * process-unix.c (unix_open_multicast_group):
6887 * process.c (Fstart_process_internal):
6888 (2). need to canonicalize process path even if absolute.
6890 * select-msw.c (symbol_to_ms_cf):
6891 * select-msw.c (ms_cf_to_symbol):
6892 * select-msw.c (cf_is_autofreed):
6893 * select-msw.c (mswindows_destroy_selection):
6895 * select.c (syms_of_select):
6897 support dibv5, fix bugs. (from Mike Alexander)
6899 * select.c (Fget_selection_internal):
6900 * select.c (select_convert_out):
6903 * sysdep.c (xemacs_stat):
6908 but keep original stat() here because we provide encapsulation
6912 * sysfile.h (fstat):
6913 remove stat garbage.
6917 don't include tchar.h. it's inappropriate because it makes
6918 compile-time distinctions when we want runtime distinctions.
6919 (we provide our own tchar replacements)
6922 use default object printer for toolbar-button.
6925 make sure we don't encapsulate.
6927 * window.c (vars_of_window):
6928 emphasize that temp-buffer-show-hook is obsolete.
6930 2000-08-05 Martin Buchholz <martin@xemacs.org>
6932 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6933 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6935 * events.c (Fevent_timestamp_lessp):
6936 Not 64-bit clean. Use EMACS_INT, not int.
6938 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6940 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6941 unsigned int and changed the last enum to
6942 lrecord_type_last_built_in_type.
6943 (lrecord_implementations_table): changed prototype to know how
6944 long the array is supposed to be.
6945 (lrecord_type_count): new unsigned int to keep track of the
6946 current number of lisp lrecord types.
6947 (DEFINE_EXTERNAL_LRECORD):
6948 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6949 dynamic-modules to declare new lisp types. They are the same
6950 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6951 int for each new type, and increment lrecord_type_count by 1.
6953 * alloc.c (lrecord_implementations_table): Changed to reference
6954 lrecord_type_last_built_in_type for the size of the array.
6955 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6957 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6959 * glyphs.h (check_valid_item_list): Renamed from
6960 check_valid_item_list_1.
6962 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6964 * select.c (Qselect_coerce): New.
6965 * select.c (Vselection_coercion_alist): New.
6966 * select.c (syms_of_select): Declare.
6967 * select.c (get-selection-internal): Use it.
6968 Use the new select-coerce functionality.
6970 * select.c (select_coerce): New.
6971 * select.h (select_coerce): Declare.
6972 New function to coerce one type of data into another.
6974 2000-08-03 Martin Buchholz <martin@xemacs.org>
6976 * callproc.c (Fcall_process_internal):
6977 (Fcall_process_internal):
6978 * process-unix.c (unix_create_process):
6979 Save and restore the value of errno, so that error messages are accurate.
6981 2000-08-01 Martin Buchholz <martin@xemacs.org>
6983 * elhash.c (print_hash_table):
6984 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6985 Prettify docstrings and indentation.
6987 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6989 * window.c (Fwindow_pixel_edges): Subtract frame border and
6992 2000-07-31 Andy Piper <andy@xemacs.org>
6994 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6995 will acknowledge the change.
6997 * glyphs.h: declare tab_control_order_only_changed.
6999 * glyphs-x.c (x_tab_control_redisplay): use
7000 tab_control_order_only_changed.
7002 * glyphs-widget.c (tab_control_order_only_changed): new function.
7004 * glyphs-msw.c (mswindows_tab_control_redisplay): use
7005 tab_control_order_only_changed.
7007 * gui.c (gui_item_equal_sans_selected): new function.
7008 (gui_item_equal): use it.
7010 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
7011 :properties in favor of :items..
7013 * glyphs-widget.c (check_valid_item_list): rename from
7014 check_valid_item_list_1.
7015 (check_valid_item_list_1): renamed.
7016 (combo_box_validate): deprecate :properties in favor of :items.
7017 (widget_instantiate): ditto.
7018 (tab_control_update): ditto.
7019 (image_instantiator_combo_box): ditto.
7020 (image_instantiator_tree_view): ditto.
7021 (image_instantiator_tab_control): ditto.
7022 (layout_post_instantiate): remove dead code.
7024 * print.c (debug_print_no_newline): only write to debugger if in
7027 * elhash.c (Fmake_hash_table): update doc string.
7029 * event-msw.c (mswindows_wnd_proc): don't allow processing of
7030 messages whilst in GC. This at least stops XEmacs crashing but has
7031 the potential for wierd behaviour.
7033 2000-07-31 Martin Buchholz <martin@xemacs.org>
7036 Make existence of s&m files optional.
7038 * s/bsd386.h: Remove HAVE_GETLOADAVG.
7039 * s/freebsd.h: Remove HAVE_GETLOADAVG.
7040 * s/gnu.h: Remove HAVE_GETLOADAVG.
7041 * s/netbsd.h: Remove HAVE_GETLOADAVG.
7042 * s/sol2.h: Remove HAVE_GETLOADAVG.
7043 * lisp.h: Remove getloadavg() declaration.
7045 Include <sys/loadavg.h> if available.
7046 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
7047 * config.h.in: Group together getloadavg()-related macros.
7048 Use only configure-time tests to detect getloadavg().
7050 2000-07-30 Martin Buchholz <martin@xemacs.org>
7052 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
7054 2000-07-25 Andy Piper <andy@xemacs.org>
7056 * syswindows.h: add tchar.h for native builds.
7058 * frame.c (syms_of_frame): remove set-glyph-image.
7060 * general-slots.h: add Qset_glyph_image.
7062 * glyphs-widget.c (layout_update): add domain arg to
7064 (syms_of_glyphs_widget): remove set-glyph-image.
7066 2000-07-23 Ben Wing <ben@xemacs.org>
7068 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
7071 2000-07-22 Andy Piper <andy@xemacs.org>
7073 * symsinit.h: add syms_of_win32().
7075 * gui-msw.c (syms_of_gui_mswindows): remove
7076 Fmswindows_shell_execute.
7077 (Fmswindows_shell_execute): moved to win32.c.
7079 * emacs.c (main_1): add syms_of_win32 ().
7081 * win32.c (init_potentially_nonexistent_functions): rewrite in
7082 compiler-friendly terms.
7083 (Fmswindows_shell_execute): move here from gui-msw.c.
7084 (syms_of_win32): new.
7086 * device-msw.c (Fmswindows_printer_list): clean up args to
7088 Don't include tchar under cygwin or mingw.
7089 (msprinter_default_printer): make cygwin-friendly.
7091 2000-07-21 Andy Piper <andy@xemacs.org>
7093 * glyphs-widget.c (image_instantiator_tree_view): use tab
7094 control's update function.
7095 (layout_property): new function. Retrieve items.
7097 * glyphs-msw.c (mswindows_tree_view_redisplay): new
7098 function. Re-populate the tree view from the pending items.
7100 * glyphs.c (instantiate_image_instantiator): Make sure the domain
7101 is designated the parent if the domain is an image instance. This
7102 is needed so that dirtiness can be cascade up the hierarchy and
7103 thus for layout children to be redisplayed correctly.
7104 (allocate_image_instance): rename glyph -> parent.
7106 * redisplay.h: change redisplay_output_layout signature.
7108 * redisplay-msw.c (mswindows_output_display_block): use domain
7111 * redisplay-x.c (x_output_display_block): use domain arg.
7113 2000-07-10 Andy Piper <andy@xemacs.org>
7115 * window.c (Fset_window_configuration): add comment.
7117 * redisplay-output.c (compare_runes):
7118 (redisplay_output_subwindow): redisplay rather than update subwindow.
7119 (redisplay_output_layout): ditto.
7121 * redisplay-msw.c (mswindows_frame_output_end):
7122 (mswindows_frame_output_end): make defer window pos optional.
7124 * lisp.h: add Flast.
7126 * glyphs.h (struct image_instantiator_methods): add dest_mask top
7127 normalize method. Change update method to be for changed
7128 instantiators. Add redisplay method. Change signature of layout
7130 (struct Lisp_Image_Instance): add instantiator.
7131 (IMAGE_INSTANCE_INSTANTIATOR): new.
7132 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
7133 (XIMAGE_INSTANCE_INSTANTIATOR): new.
7134 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
7137 (find_instantiator_differences): new function.
7138 (Fset_instantiator_property): new convenience function.
7139 (check_image_instance_structure): strictly check for vector
7141 (normalize_image_instantiator): make non-static.
7142 (instantiate_image_instantiator): pass on dest_mask and use new
7143 signatures for image_instance_layout and friends.
7144 (mark_image_instance): mark the instantiator. Mark the subwindow
7145 face not the widget face.
7146 (image_instance_equal): add instantiator.
7147 (image_instance_hash): ditto.
7148 (allocate_image_instance): ditto.
7149 (Fset_image_instance_property): removed.
7150 (Fimage_instance_file_name): ditto.
7151 (Fcolorize_image_instance): ditto.
7152 (image_instance_layout): add offsets to be set.
7153 (update_image_instance): new function. update an image instance
7154 from its changed instantiator.
7155 (inherit_normalize): add dest_mask.
7156 (xbm_normalize): ditto.
7157 (xface_normalize): ditto.
7158 (xpm_normalize): ditto.
7159 (text_update): set_property -> update.
7160 (image_instantiate): use the glyph identity as a hash key, not the
7162 (glyph_width): use new image_instance_layout signature.
7163 (glyph_ascent): ditto.
7164 (glyph_descent): ditto.
7165 (glyph_height): ditto.
7166 (glyph_query_geometry): ressurrect.
7167 (glyph_layout): ditto.
7168 (redisplay_subwindow): update -> redisplay.
7169 (syms_of_glyphs): add Fset_instantiator_property.
7170 (image_instantiator_format_create): set_property -> update.
7173 (autodetect_normalize): add dest_maks to signature.
7174 (x_redisplay_subwindow): update -> redisplay.
7175 (x_redisplay_widget): ditto.
7176 (x_button_redisplay): ditto.
7177 (x_progress_gauge_redisplay): ditto.
7178 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
7180 (console_type_create_glyphs_x): update -> redisplay.
7181 (image_instantiator_format_create_glyphs_x): ditto.
7184 (check_valid_instantiator): disallow glyphs in the instantiator,
7185 they must now be vectors.
7186 (check_valid_instantiator_list): ditto.
7187 (glyph_instantiator_to_glyph): use internal symbol rather than
7189 (widget_update): renamed from widget_set_property. Call cascaded
7191 (redisplay_widget): renamed from update_widget.
7192 (widget_layout): image_instance_layout now takes position as well
7194 (widget_normalize): ditto.
7195 (widget_instantiate): ditto.
7196 (tab_control_query_geometry) ditto.:
7197 (tab_control_update): renamed from tab_control_set_property.
7198 (progress_gauge_update): set_property -> update.
7199 (layout_normalize): rewrite so that child instantiators are
7201 (layout_update): new function. Create glyphs from the normalized
7202 children and cope with any other layout keywords. We do not
7203 instantiate children here that will be take care of by
7204 redisplay_output_layout.
7205 (layout_instantiate): call layout_update and not much else.
7206 (layout_post_instantiate): not sure whether this is needed
7208 (layout_query_geometry): query glyph geometry rather than
7209 image_instance geometry.
7210 (layout_layout): set offsets from pass in parameters. Use glyph
7211 geometry and layout functions rather than image instance ones.
7212 (native_layout_layout): ditto.
7213 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
7214 (image_instantiator_widget): set_property -> update.
7215 (image_instantiator_buttons): ditto.
7216 (image_instantiator_progress_guage): ditto.
7217 (image_instantiator_tab_control): ditto.
7218 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
7219 (image_instantiator_layout): add update method.
7221 * glyphs-msw.c (bmp_normalize):
7222 (mswindows_resource_normalize): add dest_mask so that it can be
7223 proprogated by layout_normalize.
7224 (begin_defer_window_pos): make optional because it may not be the
7225 right thing to do and it introduces differences with X.
7226 (mswindows_unmap_subwindow): ditto.
7227 (mswindows_map_subwindow): ditto.
7228 (mswindows_redisplay_subwindow): renamed from
7229 mswindows_update_subwindow.
7230 (mswindows_redisplay_widget): ditto.
7231 (mswindows_button_redisplay): renamed from
7232 mswindows_button_update. Update is now what the instantiation
7233 function does for a changed instantiator.
7234 (mswindows_progress_gauge_instantiate): set the progress value
7235 here if appropriate.
7236 (mswindows_tab_control_redisplay): cope with re-ordering of the
7237 members of the tab widget by simply selecting the new top
7238 widget. This makes things appear ok if you click on a tab.
7239 (mswindows_combo_box_instantiate): image_instance_layout now takes
7240 position as well as size.
7241 (mswindows_progress_gauge_redisplay): renamed from
7242 mswindows_progress_gauge_update.
7243 (console_type_create_glyphs_mswindows): fix update -> redisplay.
7244 (image_instantiator_format_create_glyphs_mswindows): ditto.
7246 * glyphs-eimage.c (jpeg_normalize):
7249 (tiff_normalize): add dest_mask so that it can be proprogated by
7254 (hash_table_weakness_validate):
7255 (decode_hash_table_weakness):
7256 (Fhash_table_weakness):
7258 (syms_of_elhash): use Ben's naming scheme for hashtable types..
7260 * console.h (struct console_methods): move update_* to
7263 2000-07-20 Ben Wing <ben@xemacs.org>
7265 * *.[ch] (XSETOBJ): remove unused middle argument.
7266 lisp-disunion.h: correct wrap_object() to one argument.
7268 2000-07-15 Ben Wing <ben@xemacs.org>
7271 * s/cygwin32.h (CYGWIN_CONV_PATH):
7272 Add missing logb prototype for v1.1.
7273 Use post-b20 names and alias to pre-b20 names when pre-b20.
7275 * s/windowsnt.h: [5].
7277 2000-07-15 Ben Wing <ben@xemacs.org>
7279 * Makefile.in.in (x_objs):
7280 * Makefile.in.in (sheap_objs):
7281 * Makefile.in.in (objs):
7282 added win32.o, cosmetic cleanups.
7284 * alloc.c (Fmake_byte_code):
7285 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
7286 etc. macros which declare their own args now.
7288 * alloc.c (syms_of_alloc):
7289 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
7292 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
7294 * buffer.c (Fget_file_buffer):
7295 Fixed GCPRO problem.
7297 * buffer.c (get_truename_buffer):
7298 Fixed comment about GC checking.
7300 * buffer.c (syms_of_buffer):
7301 Undeclared those dedicated frame funs.
7305 Define convenience macros for internal/external conversions.
7306 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
7307 and Qenvironment_variable_encoding for cleaner code.
7310 Remove dedicated-frame; in lisp.
7312 * bytecode.c (funcall_compiled_function):
7315 * bytecode.c (syms_of_bytecode):
7319 * console-msw.c (mswindows_show_console): Rewrote.
7321 * console-msw.c (Fmswindows_debugging_output): New.
7322 Sends to OutputDebugString (special MSWin debugger interface).
7324 * console-msw.c (Fmswindows_message_box):
7325 Fixed stupid bugs so it works when called from kill-emacs.
7327 * console-msw.c (syms_of_console_mswindows):
7328 Declare Fmswindows_debugging_output.
7331 New MSWin prototypes.
7333 * console-msw.h (struct mswindows_frame):
7334 New entry last-click-mods for improved button-modifier support.
7336 * console-msw.h (FRAME_MSWINDOWS_POPUP):
7337 New struct entry `popup' with corresponding accessor.
7340 * console-x.c (split_up_display_spec):
7341 * console-x.c (get_display_arg_connection):
7342 * console-x.c (x_semi_canonicalize_console_connection):
7343 * console-x.c (x_canonicalize_device_connection):
7344 [[[6]]]: Change char to more specific type.
7345 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
7347 * console-x.c (x_semi_canonicalize_console_connection):
7348 * console-x.c (x_canonicalize_device_connection):
7349 [[[9]]]: Fix up error signalling to use new structured error system.
7352 [[[4]]]: Define codesys aliases:
7353 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
7354 Qx_color_name_encoding, Qx_display_name_encoding.
7356 * console.h (struct console_methods):
7357 New method make_dialog_box_internal supersedes older
7358 popup_dialog_box method.
7361 Define many new errors, part of new structured errors.
7363 * data.c (init_errors_once_early):
7364 * data.c (syms_of_data):
7367 * device-msw.c (mswindows_init_device):
7368 [[[5]]]: Cleanup to support NT 3.51.
7370 * device-msw.c (decode_devmode): Cleanup.
7372 * device-msw.c (mswindows_handle_print_setup_dialog_box):
7373 * device-msw.c (mswindows_handle_print_dialog_box):
7374 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7375 * device-msw.c (syms_of_device_mswindows):
7376 Delete the dialog box primitives recently introduced by Kirill and
7377 instead interface to general dialog box interface.
7380 * device-x.c (compute_x_app_name):
7381 * device-x.c (x_init_device):
7382 * device-x.c (Fx_valid_keysym_name_p):
7383 * device-x.c (Fx_set_font_path):
7387 * device.h (wrap_device): New.
7388 First of its kind; meant to replace XSETDEVICE.
7390 * dialog-msw.c: Many file-dialog symbols.
7392 * dialog-msw.c (mswindows_register_popup_frame): New.
7393 * dialog-msw.c (mswindows_is_dialog_msg): New.
7394 For supporting kbd traversal in dialog boxes.
7396 * dialog-msw.c (dialog_proc):
7397 Support hitting ESC in dialogs.
7399 * dialog-msw.c (struct):
7400 Common dialog box errors.
7402 * dialog-msw.c (handle_file_dialog_box): New.
7403 Add file dialog code.
7405 * dialog-msw.c (handle_question_dialog_box):
7406 Redo existing code to support new question dialog syntax.
7408 * dialog-msw.c (console_type_create_dialog_mswindows):
7409 We support new dialog console method.
7411 * dialog-msw.c (syms_of_dialog_mswindows):
7412 * dialog-msw.c (vars_of_dialog_mswindows):
7413 New file dialog symbols, vars.
7416 * dialog-x.c (maybe_run_dbox_text_callback):
7417 * dialog-x.c (dbox_descriptor_to_widget_value):
7418 * dialog-x.c (x_make_dialog_box_internal):
7419 * dialog-x.c (console_type_create_dialog_x):
7420 Mule-ize entire file.
7421 Redo to support question dialog syntax.
7425 * dialog.c (Fmake_dialog_box_internal):
7426 * dialog.c (syms_of_dialog):
7427 Kill old popup-dialog-box, replace with new primitive.
7428 Just call device method or signal error.
7430 * eldap.c (Fldap_open):
7431 * eldap.c (Fldap_search_basic):
7432 * eldap.c (Fldap_add):
7433 * eldap.c (Fldap_modify):
7438 * emacs.c (make_arg_list_1):
7439 * emacs.c (make_arg_list):
7440 Mule-ize call to dll_init().
7444 * emacs.c (make_argc_argv):
7445 * emacs.c (free_argc_argv):
7446 * emacs.c (init_cmdargs):
7448 * emacs.c (Fkill_emacs):
7449 * emacs.c (Fdump_emacs):
7450 Update comments about what can be used in syms_* etc.
7451 Call init_win32() when necessary.
7452 Fix up MS Win dialog box in kill-buffer to actually work right.
7463 * eval.c (condition_case_3):
7465 * eval.c (function_argcount):
7466 * eval.c (funcall_lambda):
7469 * eval.c (type_error): New.
7470 * eval.c (maybe_type_error): New.
7471 * eval.c (continuable_type_error): New.
7472 * eval.c (maybe_continuable_type_error): New.
7473 * eval.c (type_error_with_frob): New.
7474 * eval.c (maybe_type_error_with_frob): New.
7475 * eval.c (continuable_type_error_with_frob): New.
7476 * eval.c (maybe_continuable_type_error_with_frob): New.
7477 New functions for use with structured errors.
7480 * event-Xt.c (x_event_to_emacs_event):
7481 Buttons are now modifiers too.
7483 * event-Xt.c (emacs_Xt_current_event_timestamp):
7484 Implement new event method.
7485 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7488 * event-msw.c (ntpipe_shove_writer): [5].
7489 * event-msw.c (mswindows_enqueue_mouse_button_event):
7490 * event-msw.c (mswindows_drain_windows_queue):
7491 * event-msw.c (mswindows_wnd_proc): [7].
7492 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7493 * event-msw.c (mswindows_modifier_state):
7494 Throughout: support new button modifiers.
7496 * event-msw.c (emacs_mswindows_current_event_timestamp):
7497 Implement new event method.
7498 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7501 * event-stream.c (event_stream_current_event_timestamp): New.
7502 * event-stream.c (maybe_kbd_translate): New functionality.
7503 * event-stream.c (vars_of_event_stream):
7504 Document new kbd-translate-table functionality.
7506 * event-stream.c (Fcurrent_event_timestamp): New.
7507 New primitive for use in fabricated events.
7508 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7510 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7513 * events.c (Fmake_event):
7514 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7518 * events.c (format_event_object): fix gcc warnings.
7520 * events.c (Fevent_timestamp): Document new primitives.
7522 * events.c (TIMESTAMP_HALFSPACE): New.
7524 * events.c (Fevent_timestamp_lessp): New. New primitive for
7525 comparing timestamps correctly (half-space algorithm).
7527 * events.c (Fevent_modifier_bits): Doc fix.
7529 * events.c (Fevent_modifiers): Major doc addition.
7530 * events.c (event_x_y_pixel_internal): Typo fix.
7531 * events.c (syms_of_events): Declare new primitives.
7534 Update long comment for button modifiers, timestamps.
7536 * events.h (struct event_stream):
7537 New current_event_timestamp method.
7540 * extents.c (extent_in_region_p):
7541 * extents.c (decode_extent):
7542 * extents.c (Fset_extent_parent):
7543 * extents.c (decode_map_extents_flags):
7547 * extents.c (struct extent_at_arg):
7548 * extents.c (decode_extent_at_flag):
7549 * extents.c (extent_at_mapper):
7550 * extents.c (extent_at_bytind):
7551 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7552 * extents.c (Fextents_at): New primitive. [9].
7553 * extents.c (symbol_to_glyph_layout): [9].
7554 Support new primitive `extents-at'.
7557 * extents.c (get_text_property_bytind):
7558 extent_at_bytind has another arg.
7561 * extents.c (syms_of_extents): New primitive.
7563 * file-coding.c (Fmake_coding_system): [1].
7564 * file-coding.c (subsidiary_coding_system): fix gcc warning
7565 * file-coding.c (syms_of_file_coding): [2].
7567 * fileio.c (Fexpand_file_name):
7568 * fileio.c (Fsysnetunam):
7569 * fileio.c (Ffile_exists_p):
7570 * fileio.c (Ffile_executable_p):
7571 * fileio.c (Fverify_visited_file_modtime):
7574 * fileio.c (syms_of_fileio): [2].
7576 * filelock.c (lock_file_1):
7577 * filelock.c (current_lock_owner):
7578 * filelock.c (lock_if_free):
7579 * filelock.c (lock_file):
7580 * filelock.c (unlock_file):
7583 * fns.c (concat): Fix gcc warning.
7586 * fns.c (Fold_member):
7588 * fns.c (Fold_memq):
7589 * fns.c (memq_no_quit):
7591 * fns.c (Fold_assoc):
7593 * fns.c (Fold_assq):
7594 * fns.c (assq_no_quit):
7596 * fns.c (Fold_rassoc):
7598 * fns.c (Fold_rassq):
7599 * fns.c (rassq_no_quit):
7601 * fns.c (Fold_delete):
7603 * fns.c (Fold_delq):
7604 * fns.c (delq_no_quit):
7605 * fns.c (Fremassoc):
7607 * fns.c (remassq_no_quit):
7608 * fns.c (Fremrassoc):
7609 * fns.c (Fremrassq):
7610 * fns.c (remrassq_no_quit):
7615 * frame-msw.c (mswindows_init_frame_1):
7616 * frame-msw.c (mswindows_delete_frame):
7617 Register popups with dialog code so keyboard traversing works.
7619 * frame-tty.c (tty_raise_frame_no_select): [1].
7622 * frame-x.c (x_set_frame_text_value):
7623 * frame-x.c (x_set_frame_properties):
7624 * frame-x.c (x_create_widgets):
7628 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7630 * frame.h (wrap_frame): New.
7631 Macro like wrap_device.
7634 * general.c (SYMBOL):
7635 * general.c (syms_of_general):
7636 Major reorg. This is now just a wrapper and symbols themselves
7637 are listed in general-slots.h.
7639 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7640 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7642 * glyphs-msw.c (mswindows_native_layout_instantiate):
7643 Add DS_CONTROL so keyboard traversal will work.
7646 * glyphs-widget.c (syms_of_glyphs_widget):
7647 Move some symbols to general-slots.h.
7650 * glyphs-x.c (xbm_instantiate_1):
7651 * glyphs-x.c (x_xbm_instantiate):
7652 * glyphs-x.c (x_xface_instantiate):
7653 * glyphs-x.c (autodetect_instantiate):
7654 * glyphs-x.c (cursor_font_instantiate):
7655 * glyphs-x.c (x_update_widget):
7656 * glyphs-x.c (x_widget_instantiate):
7657 * glyphs.c (bitmap_to_lisp_data):
7658 * glyphs.c (pixmap_to_lisp_data):
7661 * glyphs.c (syms_of_glyphs):
7665 * gui-x.c (print_widget_value):
7666 * gui-x.c (menu_separator_style_and_to_external):
7667 * gui-x.c (add_accel_and_to_external):
7668 * gui-x.c (button_item_to_widget_value):
7669 * gui-x.c (gui_items_to_widget_values_1):
7670 * gui-x.c (gui_items_to_widget_values):
7671 * gui-x.c (syms_of_gui_x):
7672 * gui-x.c (vars_of_gui_x):
7673 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7677 Muleize, prototype changes matching gui-x.c.
7680 * gui.c (separator_string_p):
7681 * gui.c (gui_item_add_keyval_pair):
7682 * gui.c (make_gui_item_from_keywords_internal):
7683 * gui.c (signal_too_long_error):
7684 * gui.c (parse_gui_item_tree_item):
7685 * gui.c (syms_of_gui):
7686 * gui.c (vars_of_gui):
7688 menu-no-selection-hook moved here (used by MSWin).
7689 Move some symbols to general-slots.h.
7693 * insdel.c (get_buffer_pos_char):
7694 * insdel.c (get_buffer_range_char):
7697 * keymap.c (keymap_lookup_directly):
7698 * keymap.c (keymap_store):
7699 * keymap.c (ensure_meta_prefix_char_keymapp):
7700 * keymap.c (describe_map):
7702 Support new button modifiers.
7704 * lisp-disunion.h (wrap_object):
7705 * lisp-disunion.h (XSETOBJ):
7706 Rename make_obj to wrap_object.
7709 * lisp-union.h (make_int):
7710 * lisp-union.h (make_char):
7711 Support wrap_object.
7714 * lisp.h (LIST_LOOP):
7715 * lisp.h (EXTERNAL_LIST_LOOP):
7716 * lisp.h (LIST_LOOP_2):
7717 * lisp.h (EXTERNAL_LIST_LOOP_1):
7718 * lisp.h (EXTERNAL_LIST_LOOP_2):
7719 * lisp.h (EXTERNAL_LIST_LOOP_3):
7720 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7721 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7722 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7723 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7724 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7725 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7726 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7727 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7728 * lisp.h (struct Lisp_Symbol):
7729 * lisp.h (maybe_continuable_error_with_frob):
7730 Fix up section comments.
7731 Add new types for char to indicate usage.
7732 Delete symbols auto-generated from general-slots.h.
7733 Add prototypes for structured error functions.
7734 Add long comments describing looping macros and change interface
7735 so that lvalues are automatically declared.
7736 Add NO_DECLARE macro in case callers want to declare lvalues
7739 * lread.c (read_syntax_error):
7740 * lread.c (continuable_read_syntax_error):
7741 * lread.c (read_structure):
7742 * lread.c (sequence_reader):
7743 * lread.c (read_list_conser):
7744 * lread.c (read_compiled_function):
7745 Rename syntax_error and continuable_syntax_error to avoid clash
7746 with same-named structured error functions.
7748 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7749 * menubar-msw.c (populate_menu_add_item):
7750 * menubar-msw.c (populate_or_checksum_helper):
7755 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7756 Mule-ize whole file.
7758 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7760 * mule-charset.c (Fmake_charset):
7761 * mule-wnnfns.c (Fwnn_set_param):
7764 * ntproc.c (create_child):
7765 * ntproc.c (Fwin32_set_current_locale):
7766 Add comments portending doom.
7769 * objects-msw.c (old_font_enum_callback_2):
7770 * objects-msw.c (font_enum_callback_1):
7771 * objects-msw.c (mswindows_enumerate_fonts):
7775 * objects-x.c (allocate_nearest_color):
7776 * objects-x.c (x_parse_nearest_color):
7777 * objects-x.c (x_initialize_color_instance):
7778 * objects-x.c (x_print_color_instance):
7779 * objects-x.c (x_finalize_color_instance):
7780 * objects-x.c (x_valid_color_name_p):
7781 * objects-x.c (x_initialize_font_instance):
7782 * objects-x.c (x_print_font_instance):
7783 * objects-x.c (valid_x_font_name_p):
7784 * objects-x.c (truename_via_FONT_prop):
7785 * objects-x.c (truename_via_random_props):
7786 * objects-x.c (truename_via_XListFonts):
7787 * objects-x.c (x_font_truename):
7788 * objects-x.c (x_font_instance_truename):
7789 * objects-x.c (x_font_instance_properties):
7790 * objects-x.c (x_list_fonts):
7791 * objects-x.c (x_find_charset_font):
7792 Mule-ize entire file.
7799 * print.c (std_handle_out_external):
7800 * print.c (debug_print_no_newline):
7801 * print.c (syms_of_print):
7802 Output to all debugger kinds in debug-print.
7803 Fix console-output code under MSWin to actually work.
7805 * process-nt.c (send_signal):
7806 * process-nt.c (nt_create_process):
7807 Use newer Unicode macros.
7809 * process-unix.c (unix_create_process):
7810 * process-unix.c (unix_canonicalize_host_name):
7811 * process-unix.c (unix_open_network_stream):
7817 * search.c (syms_of_search):
7820 * select-msw.c (mswindows_destroy_selection):
7823 * select-x.c (symbol_to_x_atom):
7826 * select.c (syms_of_select):
7829 * sound.c (Fplay_sound_file):
7833 * specifier.c (decode_specifier_type):
7834 * specifier.c (Fvalid_specifier_locale_type_p):
7835 * specifier.c (check_valid_locale_or_locale_type):
7836 * specifier.c (decode_locale):
7837 * specifier.c (decode_locale_type):
7838 * specifier.c (decode_locale_list):
7839 * specifier.c (check_valid_domain):
7840 * specifier.c (decode_specifier_tag_set):
7841 * specifier.c (Fcanonicalize_tag_set):
7842 * specifier.c (Fdefine_specifier_tag):
7843 * specifier.c (Fspecifier_tag_predicate):
7844 * specifier.c (check_valid_inst_list):
7845 * specifier.c (check_valid_spec_list):
7846 * specifier.c (decode_how_to_add_specification):
7847 * specifier.c (check_modifiable_specifier):
7848 * specifier.c (specifier_add_spec):
7849 * specifier.c (boolean_validate):
7850 * specifier.c (display_table_validate):
7853 * specifier.c (syms_of_specifier):
7854 Move some symbols to general-slots.h.
7858 * symbols.c (Fmapatoms):
7859 * symbols.c (Fapropos_internal):
7862 * symbols.c (set_default_buffer_slot_variable):
7863 * symbols.c (set_default_console_slot_variable):
7866 * symbols.c (defsymbol_massage_name_1):
7867 * symbols.c (defkeyword_massage_name):
7868 * symbols.c (deferror_1):
7869 * symbols.c (deferror):
7870 * symbols.c (deferror_massage_name_and_message):
7872 * symeval.h (DEFSYMBOL):
7873 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7875 * symbols.c (syms_of_symbols):
7879 * symsinit.h (init_win32): New.
7880 Also new is syms_of_dialog_mswindows.
7883 Add new Unicode macros, missing Cygwin wide-char functions,
7884 convenience conversion macros for Qmswindows_tstr, macros for
7885 encapsulating required MSWin <-> Cygwin filename conversions,
7886 prototype for dynamically-extracted (not in NT 3.51) functions.
7891 * tooltalk.c (Fadd_tooltalk_message_arg):
7892 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7893 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7896 * tooltalk.c (syms_of_tooltalk):
7900 * unexnt.c (unexec):
7901 Fix up headers, declaration of unexec() to be more standard.
7903 2000-07-20 Martin Buchholz <martin@xemacs.org>
7905 * offix.h: Revert change to guard macros - they're used in offix.c!
7907 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7909 * lisp.h: Defsubred Fdelete.
7911 * console-msw.h: (msprinter_default_printer): Added.
7913 * console-msw.c (msprinter_canonicalize_console_connection):
7914 (msprinter_canonicalize_device_connection): Added.
7916 * device-msw.c (msprinter_default_printer):
7917 (Fmswingows_get_default_printer):
7918 (signal_enum_priner_error):
7919 (Fmswingows_printer_list): Added.
7921 2000-07-19 Martin Buchholz <martin@xemacs.org>
7923 * XEmacs 21.2.35 is released.
7925 2000-07-19 Martin Buchholz <martin@xemacs.org>
7927 * select-x.c (x_handle_selection_request):
7928 Text selected in xemacs and pasted into xterm failed to appear.
7929 Spelling fixes and cosmetic changes.
7931 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7933 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7934 XEmacs frame (fix for doubling chars in dialog boxes).
7936 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7938 * select.c (select_convert_in, select_convert_out):
7939 Don't call intern() every time.
7941 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7942 * select.c (vars_of_select): Initialise them.
7944 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7946 * select.c (selection-coercible-types): New.
7948 * select.c (own-selection-internal):
7949 * select.c (get-selection-internal):
7950 MULE bug fix - these should default to COMPOUND_TEXT and not
7951 STRING for MULE. I think.
7953 * select.c (select_convert_out): Use selection-coercible-types
7954 to find types that we can attempt to perform coercions on.
7956 2000-07-18 Martin Buchholz <martin@xemacs.org>
7960 Add coding: cookie to identify encoding.
7962 * mule-canna.c (CANNA_mode_keys): make static.
7963 Use proper prototypes, even for functions of no arguments.
7964 Remove external prototype for Fding().
7966 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7968 * select.c (syms_of_select): Add missing DEFSUBR.
7970 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7972 * select.c (get_selection_internal, own_selection_internal):
7973 Make the type default to STRING, rather than placing a nil type
7974 into Vselection_alist.
7976 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7978 * gpmevent.c (tty_selection_exists_p):
7979 * gpmevent.c (tty_own_selection):
7980 Updated parameter lists.
7982 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7984 * select.h (selection-alist): Removed declaration.
7986 * select.h (get_local_selection):
7987 * select.c (get_local_selection):
7990 * select.h (convert_selection): Removed declaration.
7991 * select.c (convert_selection): Removed.
7992 This function belongs in Lisp.
7994 * select.h (select_convert_in): Declare.
7995 * select.h (select_convert_out): Declare.
7996 * select.c (select_convert_in): New.
7997 * select.c (select_convert_out): New.
7998 New conversion functions for other files to call.
8000 * select.h (select_notify_buffer_kill): Declare.
8001 * select.c (select_notify_buffer_kill): New.
8002 New functions that get called from kill-buffer.
8004 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
8005 X-specific lisp code.
8007 * select.h: Declare some of the lisp-visible functions for
8010 * select.c (clean_local_selection_data): Removed. This was
8011 a disgusting function, and previously should have been in
8012 select-x.c in any case. The functionality is now provided
8013 in select-convert-from-integer (select.el).
8015 * select.c (available-selection-types): Fixed stupidity where
8016 INTEGER and ATOM got added twice. Also add STRING when we see an
8019 * select.c (get-selection-internal): Removed symbol stripping. No
8020 longer causes conversion when data comes from the internal cache.
8022 * select.c (syms_of_select): Added new functions.
8024 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
8025 error checking - previously this called abort!
8027 * select-x.c (x_own_selection): Changed comment.
8029 * select-x.c (x_handle_selection_request): Use select_convert_out.
8030 Don't mess with selection-alist; it's an internal variable of select.c.
8032 * select-x.c (x_get_foreign_selection): Use select_convert_in.
8034 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
8035 rather than messing with selection-alist.
8037 * select-msw.c (mswindows_get_foreign_selection):
8038 Use TO_INTERNAL_FORMAT rather than hacking.
8040 2000-07-14 Martin Buchholz <martin@xemacs.org>
8042 * process-unix.c (unix_open_multicast_group):
8043 (unix_open_multicast_group): Remove useless casts.
8045 2000-07-13 Martin Buchholz <martin@xemacs.org>
8047 * sound.c (Fplay_sound): Fix `unused variable' warning.
8049 * emacs.c (main): Use correct type for _environ on SCO5.
8051 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
8053 * console.h (own_selection_method):
8054 * console.h (selection_exists_p_method):
8055 * console.h (available_selection_types_method): New.
8056 * console.h (register_selection_data_type_method): New.
8057 * console.h (selection_data_type_name): New.
8059 * console-msw.h (mswindows_destroy_selection): Declare it. New
8060 function & alist to track GlobalAlloc()'d handles that need
8061 releasing when the clipboard data gets replaced or emptied.
8063 * event-msw.c (mswindows_wnd_proc): Call it.
8065 * lisp.h, general.c (Qappend): New symbol representing a
8068 * select.c (own-selection-internal):
8069 * select.c (selection-exists-p):
8070 * select.c (available-selection-types): New.
8071 * select.c (register-selection-data-type): New.
8072 * select.c (selection-data-type-name): New. New functions to deal
8073 with device-specific selection data formats.
8074 * select.c (selection-converter-out-alist): Renamed.
8075 * select.c (selection-converter-in-alist): New.
8076 * select.c (selection-appender-alist): New. Added new alists.
8077 * select.c (syms_of_select, vars_of_select): Added new symbols &
8079 * select.c (get_local_selection): Split.
8080 * select.c: Removed spurious type checking - selections may now be
8081 of any type, not just strings.
8082 * select.c (own-selection-internal):
8084 * select.h, select.c (convert_selection): New. Created
8085 convert_selection() function based on get_local_selection().
8086 * select.h, select.c (QCF_*): New symbols representing mswindows
8088 * select.h, select.c (Qreplace_all, Qreplace_existing): New
8089 symbols representing `how-to-add' modes.
8091 * select-msw.c (x_sym_p): New.
8092 * select-msw.c (symbol_to_ms_cf): New.
8093 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
8094 symbols & clipboard formats. Can also handle string names.
8095 * select-msw.c (mswindows_own_selection):
8096 * select-msw.c (mswindows_selection_exists_p):
8097 Added `data-type' parameter. Use it.
8098 * select-msw.c (mswindows_available_selection_types): New.
8099 * select-msw.c (mswindows_register_selection_data_type): New.
8100 * select-msw.c (mswindows_selection_data_type_name): New.
8101 * select-msw.c (mswindows_own_selection):
8102 * select-msw.c (mswindows_get_foreign_selection):
8103 * select-msw.c (mswindows_selection_exists_p): Rewrote.
8104 * select-msw.c (console_create_select_mswindows): Added new methods.
8105 * select-msw.c (mswindows_destroy_selection): New.
8106 * select-msw.c (Vhandle_alist): New list.
8107 * select-msw.c (mswindows_own_selection):
8109 * select-x.c (x_own_selection):
8110 * select-x.c (x_selection_exists_p):
8111 * select-x.c: Added some comments about maybe using new
8113 * select-x.c (x_own_selection):
8115 * specifier.c: Remove definition of Qappend (now in general.c)
8116 * specifier.c (syms_of_specifier): Remove Qappend.
8118 2000-07-12 Martin Buchholz <martin@xemacs.org>
8120 * config.h.in: Add socklen_t.
8122 * s/decosf4-0.h: No special compiler flags needed or desired.
8123 In particular, undefine _BSD for DEC OSF 4.0.
8125 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8127 * redisplay-msw.c (msprinter_frame_output_end): Added.
8128 (console_type_create_redisplay_mswindows): Referred the above.
8130 * frame.c (setup_frame_without_minibuffer): Do not create a
8131 default minibuffer frame on a printer device.
8133 * frame-msw.c (apply_dc_geometry): Added.
8134 (msprinter_start_page):
8135 (msprinter_init_frame_3):
8136 (msprinter_eject_page): Use it.
8138 * console-msw.h (struct msprinter_frame): Added pix_left and top,
8139 and removed residual duplex and orientation properties.
8141 2000-07-11 Martin Buchholz <martin@xemacs.org>
8143 * eval.c (function_argcount): Work around a DEC CC compiler bug.
8145 * unexalpha.c: Remove system prototypes from C sources!
8147 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
8149 * eval.c: Remove references to M-x edit-options in DEFUNs for
8150 `defvar' and `defconst'.
8152 2000-07-09 Martin Buchholz <martin@xemacs.org>
8154 * config.h.in: Remove SMART_INCLUDE hackery.
8157 * config.h.in: Don't use SMART_INCLUDE.
8159 * postgresql.h: Include libpq-fe.h here. Fix typo.
8160 * inline.c: Simply #include "postgresql.h"
8162 - Don't use SMART_INCLUDE
8163 - Use simply "const".
8164 - Use standard doc string conventions.
8165 - Use correct type for result of PQstatus.
8167 2000-07-09 Martin Buchholz <martin@xemacs.org>
8169 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
8171 C++ compilation changes.
8172 * config.h.in (EXTERN_C): Define.
8173 * config.h.in (not): This is also a C++ keyword.
8174 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
8175 * cm.c: Use EXTERN_C.
8176 * redisplay-tty.c: Use EXTERN_C.
8177 * sysdep.c: Use EXTERN_C. Remove Gould support.
8179 2000-07-09 Martin Buchholz <martin@xemacs.org>
8181 * general.c: Remove duplicate definition for Qfunction.
8183 2000-07-08 Ben Wing <ben@xemacs.org>
8185 * device-msw.c (msprinter_init_device):
8186 * device-msw.c (sync_printer_with_devmode):
8187 * device-msw.c (handle_devmode_changes):
8188 * device-msw.c (print_dialog_worker):
8189 * device-msw.c (Fmsprinter_apply_settings):
8190 * device-msw.c (hash_devmode):
8191 * device-msw.c (Fmsprinter_settings_despecialize):
8192 use Qmswindows_tstr, not Qctext.
8194 * vm-limit.c (check_memory_limits):
8195 avoid infinite loop printing warning messages.
8197 2000-07-05 Craig Lanning <lanning@scra.org>
8199 * Makefile.in.in: Add support for including the Windows resources
8200 when building with the cygwin and mingw targets.
8202 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
8203 not set or not correct.
8204 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
8205 (init_initial_directory): Don't try to use $PWD on the
8206 WIN32_NATIVE target.
8209 [[Add -mwindows to eliminate console window.]] not required --ben
8210 (HAVE_NATIVE_SOUND): removed; now handled by configure.
8211 (MAIL_USE_POP): removed; now handled by configure.
8213 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
8214 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
8215 (HAVE_NATIVE_SOUND): removed; now handled by configure.
8216 (MAIL_USE_POP): removed; now handled by configure.
8217 (ENCAPSULATE_STAT): from Dan Holmsand, added.
8218 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
8219 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
8221 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
8222 up from <winsock.h> via systime.h.
8223 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
8224 (getpagesize): from Dan Holmsand, added.
8225 Added #endif which was left dangling by Ben's mega patch; added
8226 comment to help prevent this in the future.
8228 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
8230 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8232 * console-msw.h (struct mswindows_device): Removed unnecessary
8233 cached device geometry values.
8234 Added update_tick and an accessor macro.
8235 (Lisp_Devmode): Added lrecord declaration.
8236 (struct msprinter_device): Contain devmode as a Lisp object.
8237 Added mswindows_get_selected_frame_hwnd();
8239 * console.h (struct console_methods): Indentation nitpicking.
8241 * device-msw.c (mswindows_init_device): Do not initialize geometry
8242 cache. Initialize update tick.
8243 (mswindows_device_system_metrics): Ask the device for its geometry.
8244 (global_free_2_maybe):
8245 (devmode_to_hglobal):
8246 (handle_printer_changes):
8247 (ensure_not_printing):
8248 (print_dialog_worker):
8249 (Fmsprinter_print_setup_dialog):
8250 (Fmsprinter_print_dialog):
8253 (Fmsprinter_page_setup_dialog): Added functions.
8254 (sync_printer_with_devmode):
8255 (handle_devmode_changes):
8256 (Fmsprinter_get_settings):
8257 (Fmsprinter_select_settings):
8258 (Fmsprinter_apply_settings):
8260 (Fmsprinter_settings_copy):
8261 (Fmsprinter_settings_despecialize):
8265 (hash_devmode): Added functions
8266 (syms_of_device_mswindows): Init devmode lrecord class.
8268 * device.h: Added an exfun for find-device.
8270 * event-msw.c (mswindows_wnd_proc): Do not update the cached
8271 geometry; although, recreate the device compatible DC.
8273 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
8274 (msprinter_init_frame_3):
8275 (msprinter_frame_property):
8276 (msprinter_internal_frame_property_p):
8277 (msprinter_frame_properties):
8278 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
8279 print job properties (will move to device settings).
8281 * lisp.h: Added symbols.
8283 * general.c (syms_of_general): Declared them.
8285 * hash.c (string_hash): Added.
8287 * lrecord.h (lrecord_type): Added devmode lrecord type.
8289 2000-07-02 Mike Sperber <mike@xemacs.org>
8291 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
8294 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
8296 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
8299 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
8301 * data.c (Fstring_to_number): Don't recognize floating point if
8304 2000-06-22 Martin Buchholz <martin@xemacs.org>
8306 * glyphs-widget.c (tab_control_query_geometry):
8307 (widget_query_geometry):
8308 (button_query_geometry):
8309 * glyphs.c (text_query_geometry):
8310 Enforce type correctness.
8312 2000-06-18 Martin Buchholz <martin@xemacs.org>
8314 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
8315 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
8317 2000-06-17 Martin Buchholz <martin@xemacs.org>
8319 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
8320 conflicts with gcc's fixincluded version of FOO.h.
8322 * glyphs.h (image_instance_geometry): Remove trailing `,'
8324 2000-06-08 Mike Alexander <mta@arbortext.com>
8326 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
8327 (shove_thread): Don't write the same output twice
8328 (make_ntpipe_output_stream): Increase priority of shove thread
8329 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
8331 (ntpipe_shove_closer): Don't delete the pipe until we're done with
8334 2000-06-12 Ben Wing <ben@xemacs.org>
8336 * s\mingw32.h (sigset):
8337 * s\windowsnt.h (sigset):
8338 rename msw_ to mswindows_ for consistency with general convention.
8340 2000-06-12 Ben Wing <ben@xemacs.org>
8343 * console-msw.c (mswindows_get_console_hwnd):
8344 * console-msw.c (mswindows_ensure_console_allocated):
8345 * console-msw.c (mswindows_hide_console):
8346 * console-msw.c (mswindows_show_console):
8347 * console-msw.c (mswindows_ensure_console_buffered):
8348 * console-msw.c (mswindows_output_console_string):
8349 * console-msw.c (mswindows_windows9x_p):
8351 * device-msw.c (mswindows_get_workspace_coords):
8352 * device-msw.c (mswindows_device_system_metrics):
8353 * dialog-msw.c (mswindows_popup_dialog_box):
8354 * event-msw.c (mswindows_wnd_proc):
8355 * frame-msw.c (mswindows_size_frame_internal):
8356 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8357 * menubar-msw.c (displayable_menu_item):
8358 * menubar-msw.c (mswindows_char_is_accelerator):
8360 * nt.c (mswindows_sigset):
8361 * nt.c (mswindows_sigrelse):
8362 * nt.c (mswindows_sigpause):
8363 * nt.c (mswindows_raise):
8364 * nt.c (timer_proc):
8366 * ntproc.c (find_child_console):
8367 * ntproc.c (sys_kill):
8369 * print.c (std_handle_out_external):
8370 * process-nt.c (find_child_console):
8371 * process-nt.c (send_signal_the_95_way):
8372 * process-nt.c (ensure_console_window_exists):
8373 * process-nt.c (nt_create_process):
8375 rename msw_ to mswindows_ for consistency with general convention.
8379 include nt.h, not syswindows.h.
8381 * nt.c (mswindows_fstat):
8382 * nt.c (mswindows_stat):
8383 prefix mswindows_ instead of attempting to directly override the
8384 library functions. fix declarations.
8387 include syswindows.h. move some sysdep.h stuff here.
8390 include syswindows.h, not <windows.h>.
8398 * sysdep.c (sys_fstat):
8399 * sysdep.c (sys_stat):
8400 call mswindows versions when appropriate.
8403 move mswin decls to nt.h.
8406 add long comment describing appropriate use of the various windows
8409 2000-06-11 Ben Wing <ben@xemacs.org>
8411 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8413 2000-06-10 Ben Wing <ben@xemacs.org>
8415 * Makefile.in.in (release):
8416 Correction to make sure xemacs.exe always dumped when correct.
8420 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8422 * buffer.c (set_buffer_internal):
8423 [[[[2]]]]: Remove HAVE_FEP code.
8425 * buffer.c (init_initial_directory):
8429 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8433 * callproc.c (call_process_cleanup):
8434 * callproc.c (Fold_call_process_internal):
8435 * callproc.c (child_setup):
8436 * callproc.c (getenv_internal):
8437 * callproc.c (init_callproc):
8438 * callproc.c (vars_of_callproc):
8439 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8440 __CYGWIN32__ -> CYGWIN.
8441 DOS_NT -> WIN32_NATIVE.
8442 Remove MSDOS support/references, converting to WIN32_NATIVE
8444 __MINGW32__ -> MINGW.
8445 Fix windows.h includes.
8446 Remove bogus HAVE_NTGUI.
8452 mswindows_message_outputted added for use in allowing startup
8453 errors on the console to be seen.
8455 * console-msw.c (msw_ensure_console_allocated):
8456 * console-msw.c (msw_output_console_string):
8457 * console-msw.c (DHEADER):
8458 * console-msw.c (DOPAQUE_DATA):
8459 * console-msw.c (DEVENT):
8460 * console-msw.c (DCONS):
8461 * console-msw.c (DCONSCDR):
8462 * console-msw.c (DSTRING):
8463 * console-msw.c (DVECTOR):
8464 * console-msw.c (DSYMBOL):
8465 * console-msw.c (DSYMNAME):
8468 * console-stream.c (stream_init_console):
8469 Fix text/binary problems.
8472 * device-msw.c (mswindows_finish_init_device):
8473 * device-msw.c (mswindows_delete_device):
8476 * device.c (handle_asynch_device_change):
8480 * dgif_lib.c (DGifOpenFileName):
8481 * dgif_lib.c (DGifOpenFileHandle):
8482 * dgif_lib.c (DGifGetLine):
8483 * dgif_lib.c (DGifGetPixel):
8484 Added config.h/lisp.h, fix up includes.
8491 * dired.c (file_name_completion):
8492 * dired.c (Ffile_attributes):
8493 * dired.c (syms_of_dired):
8497 * dumper.c (pdump_file_unmap):
8498 * dumper.c (pdump_load):
8502 * editfns.c (Ftemp_directory):
8503 * editfns.c (user_login_name):
8504 * editfns.c (Fuser_real_login_name):
8505 * editfns.c (get_home_directory):
8508 * elhash.c (finish_marking_weak_hash_tables):
8509 [[[[5]]]]: Fix GCC warnings.
8512 * emacs.c (mswindows_handle_hardware_exceptions):
8513 * emacs.c (make_arg_list_1):
8515 * emacs.c (Fkill_emacs):
8516 * emacs.c (Fdump_emacs):
8518 Fix problems with nested crashes, add long comment.
8520 * event-Xt.c (init_event_Xt_late):
8524 * event-msw.c (mswindows_dde_callback):
8525 * event-msw.c (mswindows_handle_sticky_modifiers):
8526 * event-msw.c (mswindows_wnd_proc):
8530 * events.c (character_to_event):
8534 * fileio.c (Ffile_name_directory):
8535 * fileio.c (Ffile_name_nondirectory):
8536 * fileio.c (directory_file_name):
8537 * fileio.c (Fexpand_file_name):
8538 * fileio.c (Fsubstitute_in_file_name):
8539 * fileio.c (Ffile_name_absolute_p):
8540 * fileio.c (check_executable):
8541 * fileio.c (Ffile_readable_p):
8542 * fileio.c (Ffile_accessible_directory_p):
8543 * fileio.c (Ffile_modes):
8544 * fileio.c (Funix_sync):
8545 * fileio.c (vars_of_fileio):
8548 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8550 Expand getdefdir defn.
8551 Fix bogus rename() comment.
8553 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8554 to use standard XEmacs include files, e.g. sysfile.h, rather
8555 than system-specific includes.
8561 * frame.c (vars_of_frame):
8565 * getloadavg.c (getloadavg):
8567 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8568 (We don't use it elsewhere in the code; just add a comment.)
8575 * glyphs-msw.c (mswindows_resource_instantiate):
8578 * glyphs-x.c (x_native_layout_instantiate):
8581 * gui-msw.c (Fmswindows_shell_execute):
8590 * lread.c (locate_file_in_directory_mapper):
8597 * mem-limits.h (get_lim_data):
8609 * nt.c (rva_to_section):
8610 * nt.c (mswindows_executable_type):
8612 Fix closedir() defn.
8615 [[[[8]]]]: *_OK defs moved to sysfile.h.
8624 * print.c (std_handle_out_external):
8628 * process-nt.c (nt_create_process):
8630 try to fix process quoting somewhat.
8632 * process-unix.c (unix_create_process):
8636 * process.c (vars_of_process):
8643 * realpath.c (xrealpath):
8646 * redisplay-tty.c (init_tty_for_redisplay):
8656 * sheap.c (more_static_core):
8657 * sheap.c (report_sheap_usage):
8661 * signal.c (alarm_signal):
8668 * strftime.c (zone_name):
8671 * symsinit.h (init_sunpro):
8675 commctrl.h not in Cygwin b20.1.
8679 * sysdep.c (sys_subshell):
8680 * sysdep.c (init_baud_rate):
8681 * sysdep.c (emacs_get_tty):
8682 * sysdep.c (emacs_set_tty):
8683 * sysdep.c (tty_init_sys_modes_on_device):
8684 * sysdep.c (init_system_name):
8685 * sysdep.c (sys_open):
8686 * sysdep.c (interruptible_open):
8687 * sysdep.c (sys_fopen):
8688 * sysdep.c (sys_mkdir):
8689 * sysdep.c (sys_rename):
8690 * sysdep.c (get_process_times_1):
8697 * sysdir.h (DIRENTRY_NONEMPTY):
8700 * sysdll.c (dll_init):
8706 added text/binary defs.
8712 * sysproc.h (EDESTADDRREQ):
8713 * sysproc.h (poll_fds_for_input):
8730 Always define WIN32_LEAN_AND_MEAN.
8732 * unexcw.c (unexec):
8736 * unexec.c (copy_text_and_data):
8737 * unexec.c (adjust_lnnoptrs):
8741 * unexnt.c (_start):
8744 2000-06-07 Ben Wing <ben@xemacs.org>
8746 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8747 was used only as a model. We've long since extracted any useful
8748 logic or code out of this. (I just did an exhaustive search.)
8750 * s\msdos.h: Removed.
8752 * s\windows95.h: Removed.
8754 2000-06-10 Ben Wing <ben@xemacs.org>
8758 Don't use extern with fun defs.
8762 Remove nt\inc include.
8763 Remove getdisk, getdefdir. (The former is unused, the latter
8764 expanded in fileio.h.)
8767 * s\windowsnt.h (WIN32_NATIVE):
8768 * s\windowsnt.h (HAVE_STRCASECMP):
8770 Add long comment about preprocessor changes.
8771 Remove getdisk, getdefdir. (The former is unused, the latter
8772 expanded in fileio.h.)
8774 2000-06-10 Ben Wing <ben@xemacs.org>
8783 Remove bogus/unused NO_SOCK_SIGIO.
8785 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8787 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8790 2000-06-04 Mike Sperber <mike@xemacs.org>
8792 * casetab.c (set_case_table): For `set-standard-case-table',
8793 actually deposit the new case tables where the rest of XEmacs can
8796 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8798 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8800 2000-06-05 Ben Wing <ben@xemacs.org>
8802 * callproc.c (child_setup): Don't do close_load_descs() under
8803 MS Windows. Put in a comment explaining why.
8805 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8807 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8808 Toolkit shell" which breaks `kill-compilation' on Windows NT
8809 native, retaining STDERR handling improvements.
8811 2000-06-01 Andreas Jaeger <aj@suse.de>
8813 * s/s390.h: Support for S390, based on a patch by Martin
8814 Schwidefsky <schwidefsky@de.ibm.com>.
8816 2000-05-30 Andy Piper <andy@xemacs.org>
8818 * window.c (allocate_window):
8819 (make_dummy_parent):
8820 (Fset_window_configuration): use new hashtable type.
8822 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8823 (struct image_instantiator_methods):
8824 (struct Lisp_Image_Instance): make instance geometry signed.
8826 * glyphs.c (instantiate_image_instantiator):
8827 (image_instance_query_geometry):
8828 (image_instance_layout):
8829 (image_instance_layout):
8830 (query_string_geometry):
8831 (text_query_geometry):
8832 (image_instantiate):
8833 (image_instantiate):
8834 (cache_subwindow_instance_in_frame_maybe):
8835 (subwindow_query_geometry): make instance geometry signed.
8837 * glyphs-widget.c (widget_query_geometry):
8839 (button_query_geometry):
8840 (tree_view_query_geometry):
8841 (tab_control_query_geometry):
8842 (layout_query_geometry):
8844 (native_layout_layout): make instance geometry signed.
8846 2000-05-29 Olivier Galibert <galibert@pobox.com>
8848 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8851 * general.c (syms_of_general): Add Qfull_assoc symbol.
8853 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8855 (decode_weak_list_type): Decode full-assoc type.
8856 (encode_weak_list_type): Encode full-assoc type.
8857 (Fmake_weak_list): Update doc string.
8859 2000-05-30 Andy Piper <andy@xemacs.org>
8861 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8863 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8864 (decode_hash_table_weakness): ditto.
8865 (Fhash_table_weakness): ditto.
8866 (Fhash_table_type): ditto.
8867 (finish_marking_weak_hash_tables): ditto.
8868 (hash_table_weakness_validate): ditto.
8869 (syms_of_elhash): ditto.
8871 2000-05-28 Martin Buchholz <martin@xemacs.org>
8873 * XEmacs 21.2.34 is released.
8875 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8877 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8879 (updating_line_start_cache): Gone.
8880 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8881 generic code to force a minimum of 1 line laid out in the
8884 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8886 * glyphs.c (instantiate_image_instantiator): Check for initialized
8887 height & width no longer special cases IMAGE_NOTHING.
8888 (nothing_instantiate): Set height and width of instance.
8890 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8892 * unexelf.c (unexec): Search for ".data" section.
8893 Initialize new_data2_offset from old_data_index.
8894 Remove redundant check for ElfW.
8896 2000-05-23 Andy Piper <andy@xemacs.org>
8898 * glyphs.c (get_image_instantiator_governing_domain): allow more
8899 specific domains as the governing domain rather than expecting an
8900 exact match. This fixes problems with layouts.
8902 2000-05-22 Andy Piper <andy@xemacs.org>
8904 * redisplay-output.c (compare_runes): check for non-images
8906 * glyphs.c (set_glyph_dirty_p): ditto.
8907 (update_glyph_cachel_data): ditto.
8909 * glyphs-widget.c (layout_post_instantiate): ditto.
8910 (layout_post_instantiate): ditto.
8912 * event-msw.c (mswindows_wnd_proc): warning removal.
8914 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8916 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8918 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8920 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8922 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8923 (mswindows_executable_type): mingw32 now has enough headers for
8926 2000-05-20 Andy Piper <andy@xemacs.org>
8928 * console-msw.c (mswindows_output_last_error): ; -> ,
8930 2000-05-12 Andy Piper <andy@xemacs.org>
8932 * console-msw.c (FROB): compare ints with ints.
8934 2000-05-11 Andy Piper <andy@xemacs.org>
8936 * glyphs-x.c (x_finalize_image_instance): make minimal build
8939 2000-05-20 Ben Wing <ben@xemacs.org>
8942 * event-Xt.c (vars_of_event_Xt):
8943 move modifier-keys-are-sticky to event-stream.c.
8946 * event-msw.c (mswindows_enqueue_mouse_button_event):
8947 * event-msw.c (key_needs_default_processing_p):
8948 * event-msw.c (XEMSW_LCONTROL):
8949 * event-msw.c (mswindows_handle_sticky_modifiers):
8950 * event-msw.c (FROB):
8951 * event-msw.c (clear_sticky_modifiers):
8952 * event-msw.c (output_modifier_keyboard_state):
8953 * event-msw.c (output_alt_keyboard_state):
8954 * event-msw.c (mswindows_wnd_proc):
8955 * event-msw.c (mswindows_modifier_state):
8956 * event-msw.c (emacs_mswindows_handle_magic_event):
8957 implement sticky modifiers.
8960 * event-stream.c (vars_of_event_stream):
8961 move modifier-keys-are-sticky here.
8967 implement map-range-table.
8970 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8972 * redisplay-tty.c (reset_tty_modes):
8973 (tty_redisplay_shutdown): Adjust argument type to
8974 tty_frame_output_end.
8976 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8978 * eval.c (Fbacktrace): Don't output a line with only right
8981 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8983 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8984 (Fpq_reset_poll): Ditto.
8986 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8988 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8990 2000-05-16 Ben Wing <ben@xemacs.org>
8993 * buffer.c (dfc_convert_to/from_internal_format):
8994 * buffer.c (reinit_vars_of_buffer):
8995 Fix conversion functions to allow reentrancy.
8998 * console-msw.c (mswindows_output_last_error):
8999 New fun, generally useful -- output a human-readable
9000 version of GetLastError() on the console.
9003 * console-msw.h (struct mswindows_frame):
9004 Changes for DeferWindowPos. Declare mswindows_output_last_error().
9006 * console-stream.c (stream_output_begin):
9007 * console-stream.c (stream_output_end):
9008 * console-stream.c (stream_output_vertical_divider):
9009 * console-stream.c (stream_clear_region):
9010 * console-stream.c (stream_flash):
9011 * console-stream.c (console_type_create_stream):
9012 Delete blank stream methods, not needed.
9014 * console.h (struct console_methods):
9015 Split begin/end methods into window and frame.
9018 * event-msw.c (mswindows_handle_paint):
9019 * event-msw.c (output_alt_keyboard_state):
9020 * event-msw.c (mswindows_wnd_proc):
9021 * event-msw.c (vars_of_event_mswindows):
9022 Comment about problems with ignored-expose.
9023 Define mswindows-debug-events; not really implemented.
9025 * frame-msw.c (mswindows_init_frame_1):
9029 * glyphs-msw.c (begin_defer_window_pos):
9030 * glyphs-msw.c (mswindows_unmap_subwindow):
9031 * glyphs-msw.c (mswindows_map_subwindow):
9032 * glyphs-msw.c (mswindows_resize_subwindow):
9033 Use DeferWindowPos to reduce flashing when mapping/unmapping.
9035 * glyphs.c (make_image_instance_1):
9038 * gutter.c (Fredisplay_gutter_area):
9039 Use new begin/end methods.
9041 * lisp.h (Dynarr_new2):
9045 * redisplay-msw.c (mswindows_frame_output_begin):
9046 * redisplay-msw.c (mswindows_frame_output_end):
9047 * redisplay-msw.c (console_type_create_redisplay_mswindows):
9048 New begin/end methods -- handle DeferWindowPos.
9050 * redisplay-output.c (redisplay_move_cursor):
9051 * redisplay-output.c (redraw_cursor_in_window):
9052 * redisplay-output.c (redisplay_update_line):
9053 * redisplay-output.c (redisplay_output_window):
9054 New begin/end methods.
9057 * redisplay-tty.c (tty_frame_output_begin):
9058 * redisplay-tty.c (tty_frame_output_end):
9059 * redisplay-tty.c (console_type_create_redisplay_tty):
9060 New begin/end methods.
9063 * redisplay-x.c (x_window_output_begin):
9064 * redisplay-x.c (x_window_output_end):
9065 * redisplay-x.c (console_type_create_redisplay_x):
9066 New begin/end methods.
9068 * redisplay.c (redisplay_frame):
9069 * redisplay.c (Fredisplay_echo_area):
9070 New begin/end methods.
9071 use MAYBE_DEVMETH for clear_frame; it may not exist.
9073 * window.h (WINDOW_XFRAME):
9074 WINDOW_XFOO macros -- get locale and decode struct pointer.
9077 2000-05-12 Ben Wing <ben@xemacs.org>
9080 * emacs.c (ensure_no_quitting_from_now_on):
9081 * emacs.c (fatal_error_signal):
9082 * emacs.c (mswindows_handle_hardware_exceptions):
9084 * emacs.c (Fkill_emacs):
9085 * emacs.c (shut_down_emacs):
9086 * emacs.c (assert_failed):
9087 various improvements in fatal error handling.
9090 move preparing_for_armageddon to emacs.c.
9093 declare fatal_error_in_progress.
9096 * print.c (std_handle_out_external):
9097 * print.c (std_handle_out_va):
9098 * print.c (stderr_out):
9099 * print.c (stdout_out):
9100 use console under mswin when no standard output.
9101 don't do code conversion during fatal error.
9103 * scrollbar.c (Fscrollbar_page_up):
9104 * scrollbar.c (Fscrollbar_page_down):
9105 fix missing else. reindent.
9107 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
9111 * glyphs.h (GLYPH_CACHEL_DESCENT):
9112 (GLYPH_CACHEL_DESCENT):
9113 (GLYPH_CACHEL_DESCENT):
9114 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
9115 used in case these are inline functions.
9116 Use more absurd values to error check.
9118 include window.h for error check functions.
9120 2000-05-11 Ben Wing <ben@xemacs.org>
9122 * cmdloop.c (Freally_early_error_handler):
9123 Display message box under windows; otherwise, message will disappear
9124 before it can be viewed.
9127 * console-msw.c (Fmswindows_message_box):
9128 * console-msw.c (FROB):
9129 * console-msw.c (syms_of_console_mswindows):
9130 Define new fun `mswindows-message-box'.
9131 #### I will merge this into `popup-dialog-box'; just give me
9135 * general.c (syms_of_general):
9136 Some new symbols used in `mswindows-message-box'.
9139 * glyphs.c (Fset_image_instance_property):
9140 put warning in this fun.
9143 * glyphs.h (GLYPH_CACHEL_WIDTH):
9144 * glyphs.h (GLYPH_CACHEL_ASCENT):
9145 * glyphs.h (GLYPH_CACHEL):
9146 * glyphs.h (GLYPH_CACHEL_GLYPH):
9147 define error-checking versions to try to catch a bug i've seen --
9148 redisplay gets in an infinite loop because the glyph width of the
9149 continuation glyph is 65535.
9152 Extern message-box stuff.
9154 * window.c (allocate_window):
9155 * window.c (make_dummy_parent):
9156 * window.c (Fset_window_configuration):
9157 Use EQUAL not EQ for subwindow caches to make them work a bit
9158 better. (Something is still very broken.)
9161 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
9163 * glyphs.c (image_instantiate): Suppress gcc warnings.
9164 (Fmake_image_instance): Fix doc string.
9165 * specifier.c (Fmake_specifier): Ditto.
9167 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
9169 * paths.h.in (PATH_LOCK): Removed.
9170 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
9171 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
9173 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
9175 * fns.c (Ffeaturep): Update e-mail address in doc-string.
9176 Document (featurep '(and xemacs 21.02)).
9178 2000-05-09 Ben Wing <ben@xemacs.org>
9180 * buffer.c (complex_vars_of_buffer):
9181 update modeline-format doc.
9184 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
9187 timeline of all released versions of Emacs, for use in creating
9188 authorship comments and in synching up.
9190 * glyphs-widget.c (image_instantiator_buttons):
9191 * glyphs-widget.c (image_instantiator_edit_fields):
9192 * glyphs-widget.c (image_instantiator_combo_box):
9193 * glyphs-widget.c (image_instantiator_scrollbar):
9194 * glyphs-widget.c (image_instantiator_progress_guage):
9195 * glyphs-widget.c (image_instantiator_tree_view):
9196 * glyphs-widget.c (image_instantiator_tab_control):
9197 * glyphs-widget.c (image_instantiator_labels):
9198 * glyphs-widget.c (image_instantiator_layout):
9199 * glyphs-widget.c (image_instantiator_native_layout):
9200 rename decode_domain method to governing_domain.
9203 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
9204 * glyphs.c (add_entry_to_device_ii_format_list):
9205 make sure we don't put an entry more than once into the list.
9206 * glyphs.c (check_instance_cache_mapper):
9207 *************************************************************
9208 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9210 *************************************************************
9211 * glyphs.c (get_image_instantiator_governing_domain):
9212 clean up, expand on new concept of governing domain.
9213 * glyphs.c (instantiate_image_instantiator):
9214 * glyphs.c (allocate_image_instance):
9215 use governing_domain instead of cache_domain in naming.
9216 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
9217 * glyphs.c (make_image_instance_1):
9218 * glyphs.c (Fmake_image_instance):
9219 allow for any domain (not just device), and process the
9220 governing domain correctly. very big doc fix.
9221 * glyphs.c (Fimage_instance_domain):
9222 new primitive, to retrieve the governing domain of an image instance.
9223 * glyphs.c (image_instantiate):
9224 use new governing_domain stuff. this fixes a crash you could get
9225 by instantiating certain widget glyphs in frame locales. (should
9226 signal an error instead of crashing.)
9227 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
9228 * glyphs.c (Fglyphp): clean up doc.
9229 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
9230 * glyphs.c (syms_of_glyphs):
9231 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
9232 * glyphs.c (image_instantiator_format_create): add some comments about
9234 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
9235 for current-display-table. (Apparently Hrjove implemented in 1998 a
9236 design I wrote up in 1996, but didn't update the doc string.)
9238 * glyphs.h: clean up a doc string.
9239 * glyphs.h (governing_domain):
9240 * glyphs.h (struct image_instantiator_methods):
9241 changes for governing_domain stuff.
9244 * gutter.c (Fgutter_specifier_p):
9245 * gutter.c (Fgutter_size_specifier_p):
9246 * gutter.c (Fgutter_visible_specifier_p):
9248 * objects.c (Fcolor_specifier_p):
9249 * objects.c (Ffont_specifier_p):
9250 * objects.c (Fface_boolean_specifier_p):
9251 doc strings moved to make-*-specifier.
9253 * redisplay.c (add_disp_table_entry_runes_1):
9254 * redisplay.c (generate_fstring_runes):
9255 * redisplay.c (screen):
9256 add random comments and doc strings.
9259 * specifier.c (Fmake_specifier):
9260 major overhaul of this doc string.
9262 * specifier.c (Fvalid_specifier_domain_p):
9263 comment about the bogosity of image instances being domains.
9264 * specifier.c (decode_domain):
9265 now non-static, used in glyphs.c.
9266 * specifier.c (specifier_instance):
9267 comment about the bogosity of image instances being domains.
9268 * specifier.c (Fgeneric_specifier_p):
9269 move doc string to make-generic-specifier.
9270 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
9274 * specifier.h (DOMAIN_FRAME):
9275 * specifier.h (DOMAIN_LIVE_P):
9276 * specifier.h (DOMAIN_XDEVICE):
9278 add comments about problems with these macros.
9279 prototype for decode_domain.
9282 * toolbar.c (Ftoolbar_specifier_p):
9283 move doc string to `make-toolbar-specifier'.
9285 * window.c (window_unmap_subwindows_cache_mapper):
9286 *************************************************************
9287 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9289 *************************************************************
9291 2000-05-09 Andy Piper <andy@xemacs.org>
9293 * glyphs.h: declare reset_frame_subwindow_instance_cache.
9295 * window.c (Fset_window_configuration): reset the frame subwindow
9296 cache and re-initialize the window subwindow caches.
9298 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
9300 2000-05-09 Ben Wing <ben@xemacs.org>
9302 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
9305 2000-04-26 Mike Woolley <mike@bulsara.com>
9307 * ntheap.c: Changed recreate_heap to limit the amount reserved
9308 for the heap to that which is actually available. Also now
9309 displays a message box (with some dignostics) in the event that
9310 it still can't start.
9312 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
9314 * callproc.c (Fold_call_process_internal): GCPRO path
9316 2000-05-08 Jan Vroonhof <jan@xemacs.org>
9318 Patch by Bill Perry.
9320 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
9321 back data instead of #ifdef.
9322 (Fscrollbar_page_down): ditto.
9324 2000-05-07 Ben Wing <ben@xemacs.org>
9327 Kludge for defining Qmswindows_tstr.
9330 * nt.c (open_input_file):
9331 * nt.c (open_output_file):
9332 * nt.c (rva_to_section):
9333 * nt.c (mswindows_executable_type):
9334 Move all memory-mapped-file routines here (some were in unexnt.c,
9335 which is bad because they are used by process-nt.c, and unexnt
9336 won't be around when portable dumping). Synched the above routines
9340 Removed ifdef'd out bogus code.
9341 Fixed some prototypes.
9344 * nt.h (OFFSET_TO_RVA):
9345 * nt.h (RVA_TO_OFFSET):
9346 * nt.h (RVA_TO_PTR):
9347 Moved the memory-mapped-file structures, macros and prototypes
9348 here, to parallel nt.c. ntheap.h should really be removed
9349 entirely, and it's a non-portable-dumper specific file.
9351 * ntheap.h (round_to_next):
9352 Moved the memory-mapped-file structures, macros and prototypes
9355 * ntproc.c (compare_env):
9356 Moved rva_to_section and mswindows_executable_type to nt.c.
9357 Moved compare_env to process-nt.c.
9358 ntproc.c will die, one day.
9360 * ntproc.c (sys_spawnve):
9361 Account for win32_ -> mswindows_.
9364 * process-nt.c (struct nt_process_data):
9365 * process-nt.c (ensure_console_window_exists):
9366 * process-nt.c (compare_env):
9367 * process-nt.c (nt_create_process):
9368 * process-nt.c (nt_kill_process_by_pid):
9369 * process-nt.c (syms_of_process_nt):
9370 * process-nt.c (vars_of_process_nt):
9371 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
9372 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
9373 changes). Eliminate our old `nt-quote-process-args' mechanism.
9374 Synch up nt_create_process with FSF 20.6 sys_spawnve.
9375 Move compare_env here from ntproc.c.
9377 * process.c (Fprocess_send_region):
9378 Takes an optional fourth argument, BUFFER, which should fix some
9379 problems with call-process.
9382 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
9385 Move ICC_BAR_CLASSES to syscommctrl.h.
9386 Add preliminary macros for MSWindows/Mule. More to come.
9389 * unexnt.c (unexec):
9390 open_output_file moved to nt.c.
9393 2000-05-05 Andy Piper <andy@xemacs.org>
9395 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
9396 instance from the frame cache also since GC may catch up too late
9397 to make frame deletion sane.
9399 2000-05-04 Andy Piper <andy@xemacs.org>
9401 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
9402 (x_finalize_image_instance): ungcpro on deletion.
9404 * glyphs.c (image_instantiator_format_create): give pointers a
9405 query geometry method so that the geometry is at least set.
9407 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
9408 initialize layouts if using widgets.
9410 2000-05-03 Andy Piper <andy@xemacs.org>
9412 * nt.c: remove bogus reference to sysmmsystem.h
9414 * gui-x.c (popup_selection_callback): fix no selection abort.
9416 2000-05-02 Andy Piper <andy@xemacs.org>
9418 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9419 (mswindows_widget_instantiate): ditto.
9421 * glyphs-widget.c (initialize_widget_image_instance): initialize
9423 (widget_instantiate): cope with children and items in the same
9426 * glyphs.c (mark_image_instance): cope with children as a first
9428 (image_instance_equal): ditto.
9429 (image_instance_hash): ditto.
9430 (image_instance_changed): ditto.
9432 2000-04-30 Andy Piper <andy@xemacs.org>
9434 * glyphs.c (subwindow_query_geometry): new function. Return some
9436 (subwindow_instantiate): don't assign dimensions if none have been
9438 (image_instantiator_format_create): add subwindow_query_geometry.
9439 (print_image_instance): cope with layouts as widgets.
9441 2000-04-29 Andy Piper <andy@xemacs.org>
9443 * frame.c (delete_frame_internal): call
9444 free_frame_subwindow_instance_cache so that all subwindows are
9445 finalized before their parent.
9446 (mark_frame): remove subwindow_cachels.
9447 (Fmake_frame): remove subwindow_cachel manipulation.
9448 (allocate_frame_core): subwindow_instance_cache is a weak list.
9449 (delete_frame_internal): set subwindow_instance_cache to nil.
9451 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9453 (mswindows_finalize_image_instance): use the device
9454 not the domain as the domain may have died already.
9456 * glyphs-x.c (x_finalize_image_instance): ditto.
9457 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9460 * redisplay-output.c (redisplay_unmap_subwindows): update for
9461 subwindow instance cache as a weak list.
9462 (redisplay_unmap_subwindows_maybe): ditto.
9463 (redisplay_unmap_subwindows_except_us): ditto.
9465 * glyphs.c (unmap_subwindow): error checking will check the domain
9466 so don't deal with it here. Don't use cachels anymore.
9467 (map_subwindow): ditto.
9468 (update_subwindow_cachel_data): remove old accessor names.
9469 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9470 (Fresize_subwindow): don't update cachel.
9471 (mark_subwindow_cachels):
9472 (update_subwindow_cachel_data):
9473 (add_subwindow_cachel):
9474 (get_subwindow_cachel_index):
9475 (update_subwindow_cachel):
9476 (reset_subwindow_cachels):
9477 (mark_subwindow_cachels_as_not_updated): deleted.
9478 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9479 subwindow instance to the frame cache.
9480 (find_matching_subwindow): update for subwindow instance cache as
9482 (update_widget_instances): ditto.
9483 (image_instance_type_to_mask):inlined.
9484 (free_frame_subwindow_instance_cache): new function. finalize all
9485 subwindows that are instantiated.
9487 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9488 of cachel information.
9489 (IMAGE_INSTANCE_DISPLAY_X):
9490 (IMAGE_INSTANCE_DISPLAY_Y):
9491 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9492 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9493 (XIMAGE_INSTANCE_DISPLAY_X):
9494 (XIMAGE_INSTANCE_DISPLAY_Y):
9495 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9496 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9497 remove subwindow_cachel structure and function references.
9498 (image_instance_type_to_mask): inline from glyphs.c
9500 * redisplay.c (redisplay_frame): remove subwindow_cachel
9503 * frame.h (struct frame): remove subwindow_cachels.
9504 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9506 * frameslots.h: add subwindow_instance_cache.
9508 * window.c (replace_window): check subwindow cache of replacement.
9509 (window_unmap_subwindows_cache_mapper):
9510 (window_unmap_subwindows): new functions. Unmap all subwindows
9511 cached on this window.
9512 (mark_window_as_deleted): unmap all subwindows.
9514 2000-04-27 Andy Piper <andy@xemacs.org>
9516 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9518 * glyphs-widget.c (widget_layout): return something.
9519 (layout_layout): return something. Fail if not initialized.
9520 (layout_query_geometry): ditto.
9521 (image_instantiator_native_layout): new function. Initialized the
9523 (widget_instantiate): don't do layout stuff here.
9525 * glyphs.c (instantiate_image_instantiator): reorded calling or
9526 instantiate and post_instantiate with layout in between.
9527 (image_instance_layout): be more selective about deciding whether
9528 the layout has been done or not.
9530 * glyphs.h (struct image_instantiator_methods): return a value
9533 2000-04-26 Andy Piper <andy@xemacs.org>
9535 * glyphs.c (allocate_image_instance): make initial width and
9536 height unspecified. Set initialized to 0.
9538 * syscommctrl.h new file. Encapsulates commctrl.h.
9540 * syswindows.h new file. Encapsulates windows.h.
9542 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9544 * console-msw.h: ditto.
9546 * redisplay-tty.c (tty_output_display_block): remove layout references.
9548 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9549 window handle rather than just the frame.
9551 * glyphs.c (mark_image_instance): remove layout references.
9552 (print_image_instance): ditto.
9553 (image_instance_equal): ditto.
9554 (image_instance_hash): ditto.
9555 (decode_image_instance_type): ditto.
9556 (encode_image_instance_type): ditto.
9557 (image_instantiate): ditto.
9558 (allocate_glyph): ditto.
9559 (Fimage_instance_height): ditto.
9560 (Fimage_instance_width): ditto.
9561 (update_subwindow): ditto.
9563 * redisplay-x.c (x_output_display_block): recode for layouts as
9566 * redisplay-output.c (redisplay_output_layout): recode for layouts
9568 (compare_runes): remove layout references.
9570 * redisplay-msw.c (mswindows_output_display_block): recode for
9573 * glyphs-widget.c (image_instantiator_layout): remove
9574 layout_possible_dest_types.
9575 (layout_possible_dest_types): deleted.
9577 * glyphs.h (image_instance_type): remove layout references.
9578 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9579 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9580 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9582 2000-04-25 Andy Piper <andy@xemacs.org>
9584 * glyphs-widget.c (image_instantiator_buttons):
9585 (image_instantiator_edit_fields):
9586 (image_instantiator_combo_box):
9587 (image_instantiator_scrollbar):
9588 (image_instantiator_progress_guage):
9589 (image_instantiator_tree_view):
9590 (image_instantiator_tab_control):
9591 (image_instantiator_labels):
9592 (image_instantiator_layout): call default post_instantiate method.
9593 (widget_post_instantiate): new function. Simply lays out the
9596 * glyphs.h (struct image_instantiator_methods): add
9597 post_instantiate method.
9599 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9602 2000-04-23 Andy Piper <andy@xemacs.org>
9604 * glyphs.h (struct image_instantiator_methods): add
9605 decode_domain_method.
9606 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9607 derived from the domain.
9608 (IMAGE_INSTANCE_FRAME): new accessor.
9609 (XIMAGE_INSTANCE_FRAME): ditto.
9611 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9612 instead of _SUBWINDOW_FRAME.
9613 (finalize_image_instance): ditto.
9614 (Fimage_instance_foreground): ditto.
9615 (Fimage_instance_background): ditto.
9616 (image_instantiate): ditto.
9617 (update_subwindow_cachel): ditto.
9618 (update_subwindow): ditto.
9619 (unmap_subwindow): ditto.
9620 (map_subwindow): ditto
9621 (subwindow_instantiate): ditto.
9622 * glyphs-msw.c (mswindows_update_widget): ditto.
9623 (mswindows_progress_gauge_instantiate): ditto.
9624 (mswindows_tab_control_update): ditto.
9625 * glyphs-x.c (x_update_widget): ditto.
9626 (x_widget_instantiate): ditto.
9627 (x_tab_control_instantiate): ditto.
9628 (x_tab_control_update): ditto.
9629 * event-msw.c (mswindows_wnd_proc): ditto
9631 * glyphs-widget.c (image_instantiator_layout): use
9632 subwindow_decode_domain.
9633 (image_instantiator_buttons): ditto.
9634 (image_instantiator_edit_fields): ditto.
9635 (image_instantiator_combo_box): ditto.
9636 (image_instantiator_scrollbar): ditto.
9637 (image_instantiator_progress_guage): ditto.
9638 (image_instantiator_tree_view): ditto.
9639 (image_instantiator_tab_control): ditto.
9640 (image_instantiator_labels): ditto.
9641 (image_instantiator_layout): ditto.
9643 * glyphs.c: add instance error checking to many functions.
9644 (instantiate_image_instantiator): decode device from cache_domain.
9645 (image_instantiate): partially rewrite by using
9646 decode_image_instantiator_domain to determine what domain the
9647 instance needs to be cached in.
9648 (decode_image_instantiator_domain): new function. Determine what
9649 domain the image needs to be cached in.
9650 (check_window_subwindow_cache): new error checking function.
9651 (check_instance_cache_mapper): ditto.
9652 (check_image_instance_structure): ditto.
9653 (subwindow_decode_domain): new function. Encodes a window as a
9654 subwindow's cache domain.
9655 (image_instantiator_format_create): use it for text and
9658 2000-04-21 Andy Piper <andy@xemacs.org>
9660 * glyphs.c (image_instance_device): new function.
9661 (image_instance_frame): new function.
9662 (image_instance_window): new function.
9663 (image_instance_live_p): new function.
9665 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9668 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9669 (IMAGE_INSTANCE_DOMAIN): new accessor.
9670 (XIMAGE_INSTANCE_DOMAIN): ditto.
9672 * glyphs-x.c (x_finalize_image_instance): device->domain.
9674 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9675 (mswindows_finalize_image_instance): ditto.
9677 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9678 (gif_instantiate): ditto.
9679 (png_instantiate): ditto.
9680 (tiff_instantiate): ditto.
9682 * glyphs.c (instantiate_image_instantiator): use domain rather
9684 (mark_image_instance): device -> domain.
9685 (print_image_instance): ditto.
9686 (finalize_image_instance): ditto.
9687 (image_instance_equal): ditto.
9688 (allocate_image_instance): ditto.
9689 (Fcolorize_image_instance): ditto.
9690 (query_string_geometry): ditto.
9691 (image_instantiate): ditto
9692 (query_string_font): ditto.
9693 (image_instantiate): ditto.
9694 (update_subwindow): ditto.
9695 (unmap_subwindow): ditto.
9696 (map_subwindow): ditto.
9697 (subwindow_instantiate): ditto.
9699 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9700 (DOMAIN_FRAME): ditto.
9701 (DOMAIN_WINDOW): ditto.
9702 (DOMAIN_LIVE_P): ditto.
9703 (XDOMAIN_DEVICE): ditto.
9704 (XDOMAIN_FRAME): ditto.
9705 (XDOMAIN_WINDOW): ditto.
9707 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9708 a valid specifier domain.
9710 2000-04-19 Andy Piper <andy@xemacs.org>
9712 * glyphs-widget.c (syms_of_glyphs_widget): remove
9713 widget-callback-current-channel.
9714 (vars_of_glyphs_widget): ditto.
9717 * gui.c (get_gui_callback): revert to previous behaviour.
9719 2000-04-18 Andy Piper <andy@xemacs.org>
9721 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9722 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9723 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9725 * glyphs.c (image_instance_equal): add margin_width.
9726 (image_instance_hash): ditto.
9728 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9729 (layout_query_geometry): ditto.
9730 (layout_layout): ditto.
9731 (syms_of_glyphs_widget): add margin-width.
9732 (image_instantiator_layout): allow margin-width.
9734 * glyphs.c (update_widget_instances): make a normal function.
9735 (syms_of_glyphs): remove Qupdate_widget_instances.
9738 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9739 so that we don't corrupt ideas about the last event or
9740 command. Remove widget-callback-current-channel fiddling.
9741 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9743 2000-05-01 Martin Buchholz <martin@xemacs.org>
9745 * XEmacs 21.2.33 is released.
9747 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9749 * make-src-depend: Allow dots in header file name.
9751 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9753 * mule-charset.h (struct charset_lookup): Add
9754 next_allocated_1_byte_leading_byte and
9755 next_allocated_2_byte_leading_byte.
9756 * mule-charset.c: Move above two variables so that those values
9759 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9761 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9762 when string length is zero.
9763 (find_charsets_in_emchar_string): Ditto.
9765 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9767 * lisp.h: extern Qdialog and Qmenubar.
9769 * gui-x.c: added events.h.
9770 also fixed typo which made the file uncompilable.
9772 * general.c: Added Qmenubar and Qdialog
9774 2000-04-28 Ben Wing <ben@xemacs.org>
9776 * frame-msw.c (mswindows_init_frame_1):
9777 * frame-msw.c (mswindows_mark_frame):
9778 * event-msw.c (mswindows_enqueue_dispatch_event):
9780 * console-msw.h (struct mswindows_frame):
9781 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9782 there are now three hash tables for callbacks.
9783 mswindows_enqueue_dispatch_event is no longer static.
9785 * dialog-x.c (maybe_run_dbox_text_callback):
9786 * dialog-x.c (dbox_descriptor_to_widget_value):
9787 switch to new cons3 form for callbacks.
9789 * glyphs-msw.c (mswindows_register_gui_item):
9790 * glyphs-msw.c (mswindows_widget_instantiate):
9791 * glyphs-msw.c (add_tree_item):
9792 * glyphs-msw.c (add_tab_item):
9793 new image instance parameter, so it can be passed to callback-ex.
9794 respect :callback-ex as well as :callback.
9796 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9799 * glyphs.c (print_image_instance):
9800 prettify, e.g. now prints widget type.
9803 certain funs have new image instance parameter.
9806 * gui.c (get_gui_callback):
9807 * gui.c (gui_item_add_keyval_pair):
9808 * gui.c (gui_item_init):
9809 * gui.c (gui_add_item_keywords_to_plist):
9810 * gui.c (mark_gui_item):
9811 * gui.c (gui_item_hash):
9812 * gui.c (gui_item_equal):
9813 * gui.c (copy_gui_item):
9814 * gui.c (syms_of_gui):
9815 recognize callback-ex in a number of places.
9816 also, fix the annoying "can't get out of yes-no dialog" bug.
9819 * gui.h (struct Lisp_Gui_Item):
9820 recognize callback-ex in a number of places.
9822 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9823 new parameter in button_item_to_widget_value.
9825 * glyphs-x.c (x_update_widget):
9826 * glyphs-x.c (x_button_instantiate):
9827 * glyphs-x.c (x_button_update):
9828 * glyphs-x.c (x_progress_gauge_instantiate):
9829 * glyphs-x.c (x_edit_field_instantiate):
9830 * glyphs-x.c (x_combo_box_instantiate):
9831 * glyphs-x.c (x_tab_control_instantiate):
9832 * glyphs-x.c (x_label_instantiate):
9833 new image instance parameter in various places.
9836 * event-Xt.c (enqueue_Xt_dispatch_event):
9837 this fun gets exported.
9840 * gui-msw.c (mswindows_handle_gui_wm_command):
9841 handle both :callback and :callback-ex, and generate our own
9842 event because it's one of the callback-ex arguments.
9845 * gui-x.c (popup_selection_callback):
9846 handle both :callback and :callback-ex, and generate our own
9847 event because it's one of the callback-ex arguments.
9848 * gui-x.c (button_item_to_widget_value):
9849 * gui-x.c (gui_items_to_widget_values_1):
9850 * gui-x.c (gui_item_children_to_widget_values):
9851 * gui-x.c (gui_items_to_widget_values):
9852 new image instance parameter in various places.
9854 * fns.c (Freplace_list):
9855 fix small typo in doc string.
9858 declare enqueue_Xt_dispatch_event.
9860 2000-04-28 Ben Wing <ben@xemacs.org>
9863 * buffer.c (Frecord_buffer):
9864 * buffer.c (syms_of_buffer):
9865 delete record-buffer-hook.
9868 * fns.c (Freplace_list):
9869 * fns.c (syms_of_fns):
9870 new primitive replace-list.
9873 slot for old buffer-alist.
9879 * redisplay.c (redisplay_frame):
9880 * redisplay.c (syms_of_redisplay):
9881 * redisplay.c (vars_of_redisplay):
9882 new hook buffer-list-changed-hook.
9885 2000-04-27 Ben Wing <ben@xemacs.org>
9887 * extents.h: extern in_modeline_generation.
9889 * redisplay.c (generate_formatted_string_db): set
9890 in_modeline_generation.
9892 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9893 flags if in modeline generation. otherwise frame-modified-tick
9894 is ticked far too often.
9895 Declare in_modeline_generation.
9897 2000-04-26 Ben Wing <ben@xemacs.org>
9899 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9901 (vars_of_emacs): add quick-build as an error-checking option.
9902 A bit kludgy, but there doesn't seem much point in creating
9903 a real var for this.
9905 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9907 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9909 * redisplay.h (struct display_line): Add a new variable,
9912 * redisplay.c (create_text_block): Set dl->line_continuation if
9914 (create_string_text_block): Ditto.
9915 (regenerate_window_incrementally): Use line_continuation instead
9916 of searching continuation glyph.
9917 (add_margin_runes): Call add_glyph_rune.
9918 (add_glyph_rune): Handle margin glyph.
9920 2000-04-20 Martin Buchholz <martin@xemacs.org>
9922 * filelock.c (fill_in_lock_file_name):
9924 Check for IS_ANY_SEP instead of '/'.
9926 Avoid generating gratuitous garbage. Call user_login_name() directly.
9927 Never check errno without first seeing that system call failed.
9928 (unlock_file): Add GCPRO.
9929 (Flock_buffer): Fix docstring.
9930 (Ffile_locked_p): Fix docstring. Add GCPRO.
9932 2000-04-19 Martin Buchholz <martin@xemacs.org>
9934 * sysdep.c (get_pty_max_bytes):
9935 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9936 strings longer than 252 bytes.
9938 * md5.c: Unconditionally include ANSI header <limits.h>
9940 * glyphs-x.c (convert_EImage_to_XImage):
9941 * lisp-union.h (union Lisp_Object):
9942 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9944 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9946 * filelock.c (current_lock_owner): Remove unused variable o, p.
9948 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9950 * callint.c: Remove multiply defined symbol Qlet
9951 (syms_of_callint): ditto.
9953 2000-04-14 Andy Piper <andy@xemacs.org>
9955 * general.c (syms_of_general): add last-command, this-command, let
9958 * lisp.h: declare various symbols.
9960 * glyphs.h: declare Qwidget_callback_current_channel;
9962 * glyphs-widget.c (syms_of_glyphs_widget): add
9963 Qgui_callback_current_channel.
9964 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9966 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9967 widget-callback-current-channel when invoking the interactive
9968 arg. Also bind last-command and next-command when invoking the
9970 * gui-x.c (popup_selection_callback): ditto.
9972 * gui.c (get_gui_callback): massage args so that we are always
9973 calling eval. This allows us to add our own variable bindings
9976 * glyphs-x.c (x_button_instantiate): use
9977 gui_items_to_widget_values since this is GC safe.
9978 (x_progress_gauge_instantiate): ditto.
9979 (x_edit_field_instantiate): ditto.
9980 (x_label_instantiate): ditto.
9982 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9983 (emacs_Xt_event_widget_focus_out): new function
9984 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9986 (emacs_Xt_event_add_widget_actions): new function. add focus
9987 functions as actions.
9988 (init_event_Xt_late): use it.
9990 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9992 * event-stream.c (Fdispatch_event): Doc fix.
9994 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9996 * postgresql.c: Remove all references to PQsetenv*.
9998 * postgresql.h: Remove references to PGsetenvHandler object.
9999 * lrecord.h (lrecord_type): Ditto.
10001 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10003 * glyphs-msw.h (struct mswindows_image_instance_data): Added
10004 real_heigh and real_width members, and accessor macros for these.
10006 * glyphs-msw.c (init_image_instance_geometry): New function.
10007 (init_image_instance_from_dibitmap): Use it.
10008 (mswindows_resource_instantiate): Use it.
10009 (init_image_instance_from_xbm_inline): Use it.
10010 (mswindows_initialize_image_instance_mask): Use real bitmap
10012 (mswindows_create_resized_bitmap): Ditto.
10013 (mswindows_create_resized_mask): Ditto.
10015 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
10016 and bitmap to their surface size.
10018 2000-04-11 Jan Vroonhof <jan@xemacs.org>
10020 * process-unix.c (unix_send_process): Guard against process MIA
10021 after Faccept_process_output.
10023 2000-04-11 Ben Wing <ben@xemacs.org>
10025 * eval.c (unbind_to_hairy): fix brokenness introduced by
10026 nanosecond speed improvements.
10028 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
10030 * sunplay.c (init_device): To play sounds correctly, the device
10031 apparently needs to be initialized at least once by XEmacs. Make
10034 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
10036 * redisplay.c (add_margin_runes): Add text image glyph
10039 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10041 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
10042 gcc is newer than 2.5.
10044 2000-04-06 Colin Rafferty <colin@xemacs.org>
10046 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
10048 * fns.c (size_bit_vector):
10049 * alloc.c (size_vector):
10050 (make_vector_internal):
10051 (make_bit_vector_internal):
10052 (sweep_bit_vectors_1):
10053 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
10055 2000-04-06 Andy Piper <andy@xemacs.org>
10057 * gmalloc.c (malloc): undo previous change.
10062 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
10064 * line-number.c (buffer_line_number): Revert to former version.
10066 2000-04-06 Andy Piper <andy@xemacs.org>
10068 * gmalloc.c (malloc): add error checking.
10073 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
10074 button_item_to_widget_value arg.
10076 * glyphs-x.c (x_button_instantiate): add extra
10077 button_item_to_widget_value arg.
10078 (x_progress_gauge_instantiate): ditto.
10079 (x_edit_field_instantiate): ditto.
10080 (x_label_instantiate): ditto.
10082 * gui-x.c (gui_items_to_widget_values_1): add extra
10083 button_item_to_widget_value arg.
10084 (button_item_to_widget_value): add extra menu_item_p arg.
10086 * gui-x.h: change signature of button_item_to_widget_value.
10088 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
10089 button_item_to_widget_value arg.
10091 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10093 * buffer.h (struct buffer): auto_save_modified should be long.
10095 2000-04-05 Andy Piper <andy@xemacs.org>
10097 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
10099 (button_query_geometry): give a little more room so that athena
10102 2000-04-05 Andy Piper <andy@xemacs.org>
10104 * faces.c (complex_vars_of_faces): The widget face should inherit
10105 the font of the gui-element face.
10107 2000-04-04 Andy Piper <andy@xemacs.org>
10109 * glyphs-x.c (x_button_update): new function. unconditionally
10110 update a button's state when the instance is dirty.
10111 (image_instantiator_format_create_glyphs_x): add x_button_update.
10112 (x_widget_instantiate): remove old resize cruft.
10114 2000-04-02 Andy Piper <andy@xemacs.org>
10116 * frame.c (change_frame_size_1): The introduction of gutters means
10117 that we need to allow 0 as a potential frame dimension.
10119 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
10121 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
10122 image glyph if allow_cursor.
10123 (add_hscroll_rune): Don't allow cursor to border glyph.
10124 (create_text_block): Ditto.
10126 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
10127 text not in buffer.
10128 (redisplay_output_layout): Call ensure_face_cachel_complete for
10132 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
10134 * redisplay.c (add_glyph_rune): Adding text image as text runes.
10136 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
10139 * redisplay-tty.c (tty_output_display_block): Delete the routine
10140 for text image glyph
10141 * redisplay-x.c (x_output_display_block): ditto
10142 * redisplay-msw.c (mswindows_output_display_block): ditto
10144 2000-02-02 Mike Alexander <mta@arbortext.com>
10146 Note: Some of these were committed by accident as part of other
10149 * regex.c (regex_compile): Avoid compiler warnings.
10151 * ntproc.c (sys_spawnve): Avoid compiler warnings.
10153 * nt.h: Declare term_ntproc correctly.
10155 * nt.c: Remove incorrect declaration of get_home_directory which
10156 is declared correctly in lisp.h.
10158 * keymap.c (get_keyelt): Avoid compiler warnings.
10159 (raw_lookup_key_mapper): Avoid compiler warnings.
10161 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
10163 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
10165 * filemode.c (mode_string): Avoid compiler warnings.
10167 * file-coding.c (Fcoding_system_aliasee): Add return statement to
10170 * events-mod.h: Undef some things that winuser.h defines differently.
10172 * data.c (Faset): Avoid compiler warnings.
10174 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
10176 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10178 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
10179 Fall through to simple beep on error.
10180 Replace "extern" by real header file.
10182 * linuxplay.c: Use nativesound.h
10183 (play_sound_data): Return error code. Be less verbose on error.
10185 * sunplay.c: Use nativesound.h
10186 (play_sound_data): Return error code. Be less verbose on error.
10188 * ntplay.c: Use nativesound.h
10189 (play_sound_data): Return fake error code
10191 * sgiplay.c: Use nativesound.h
10192 (play_sound_data): Return error code
10194 * hpplay.c: Use nativesound.h, partially implement
10195 new error code. Break compilation until finished.
10196 (play_sound_data): error code.
10198 * nativesound.h (play_sound_file):
10199 (play_sound_data): Prototype in new header.
10201 2000-03-31 Andy Piper <andy@xemacs.org>
10203 * glyphs-widget.c: (button_query_geometry): new function. Adjust
10204 for toggle and radio buttons.
10205 (image_instantiator_buttons): use it.
10207 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10209 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
10210 (x_update_horizontal_scrollbar_callback): Return if no mirror was
10211 found. Scrollbar event probably belonged to some old config.
10213 2000-03-31 Andy Piper <andy@xemacs.org>
10215 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
10217 (initialize_widget_image_instance): default layout to
10218 LAYOUT_HORIZONTAL rather than 0.
10219 (widget_instantiate): reverse the item list at the end rather than
10221 (layout_layout): re-code for the border text at the front of the
10222 item list rather than at the end.
10223 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
10224 provided by the user.
10225 (widget_query_geometry): comment.
10227 2000-03-30 Andy Piper <andy@xemacs.org>
10229 * glyphs-widget.c (image_instantiator_layout): allow standard
10230 widget keywords in layouts.
10232 * gutter.c (output_gutter): cope with nil gutter contents.
10234 * frame.c (Fset_frame_properties): add gutter docs.
10236 2000-03-29 Andy Piper <andy@xemacs.org>
10238 * toolbar-msw.c (TBSTYLE_FLAT): add.
10239 (mswindows_output_toolbar): minor fiddling.
10241 2000-03-29 Andy Piper <andy@xemacs.org>
10243 * gutter.c (output_gutter): force gutter size recalculation if
10244 what we are trying to display won't fit.
10245 (update_gutter_geometry): new function. A per-gutter version of
10246 update_frame_gutter_geometry.
10247 (update_frame_gutter_geometry): use it.
10248 (redraw_exposed_gutter): add extra debugging output.
10250 2000-03-28 Mike Alexander <mta@arbortext.com>
10252 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
10253 (pdump_file_unmap): Implement it on Windows
10254 (pdump_file_get): Save alocated handles for pdump_file_unmap
10256 2000-03-28 Andy Piper <andy@xemacs.org>
10258 * gui.c (get_gui_callback): treat Quit specially.
10260 2000-03-27 Andy Piper <andy@xemacs.org>
10262 * glyphs.c (image_instantiate): be careful to check in the same
10265 2000-03-27 Didier Verna <didier@xemacs.org>
10267 * config.h.in: define the proper SMART_INCLUDE macro.
10268 handle renaming of `foo_h_path' to `foo_h_file'.
10270 * database.c: ditto.
10274 * linuxplay.c: ditto.
10276 * terminfo.c: ditto.
10278 * tooltalk.h: ditto.
10280 2000-03-27 Andy Piper <andy@xemacs.org>
10282 * glyphs-msw.c (mswindows_update_widget): make sure the widget
10283 gets updated whenever the face might have changed.
10285 2000-03-26 Mike Alexander <mta@arbortext.com>
10287 * dumper.c (pdump_resource_free): Fix the comment.
10289 2000-03-21 Olivier Galibert <galibert@pobox.com>
10291 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
10293 2000-03-22 Mike Alexander <mta@arbortext.com>
10295 * dumper.c: Include Windows headers on Windows
10296 (pdump_resource_free): Add a body to the function
10297 (pdump_load): exe_name -> exe_path and add some comments.
10299 2000-03-25 Mike Alexander <mta@arbortext.com>
10301 * gui.c (copy_gui_item_tree): Return a value in all cases
10303 2000-03-21 Didier Verna <didier@xemacs.org>
10305 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
10307 (SMART_INCLUDE): new macro.
10308 (POSTGRES_INCLUDE): new macro to include postgresql headers from
10309 the proper location.
10311 * postgresql.c: use it.
10315 2000-03-24 Andy Piper <andy@xemacs.org>
10317 * gutter.c (redraw_exposed_gutters): must be "in display" when we
10320 2000-03-24 Andy Piper <andy@xemacs.org>
10322 * redisplay-output.c (compare_runes): use image_instance_changed
10323 to detect changes. Do not depend on glyphs_changed, only depend on
10325 (redisplay_output_layout): add debug messages.
10326 (compare_runes): ditto.
10328 * glyphs.h: declare new functions.
10329 (struct Lisp_Image_Instance): remove percent and associated
10332 * gui.h: declare new copying functions.
10334 * gui.c (copy_gui_item_tree): new function.
10335 (copy_gui_item): new function.
10336 (gui_item_id_hash): revert to standard hash.
10337 (gui_item_hash): ditto.
10338 (gui_item_hash_internal): deleted.
10339 (mark_gui_item): mark value.
10340 (gui_item_add_keyval_pair): add value.
10341 (gui_item_init): ditto.
10342 (gui_add_item_keywords_to_plist): ditto.
10343 (gui_item_equal): ditto.
10344 (syms_of_gui): add Q_value.
10346 * glyphs-x.c (x_progress_gauge_update): use pending items and
10347 value for setting the state.
10348 (x_update_widget): don't set items from pending here.
10350 * glyphs-widget.c (update_widget): update items here.
10351 (progress_gauge_set_property): use items for storing value. Put
10352 new value in pending items.
10354 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
10355 items for new value. Convert percent -> value.
10356 (mswindows_tab_control_update): don't update items here.
10358 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
10359 (update_subwindow): ditto.
10360 (image_instance_changed): new function. Compare hash values and
10361 past and present widget items.
10362 (image_instantiate): We more careful about where we instantiate
10364 (image_instantiate): add error checking.
10366 * gutter.c (syms_of_gutter): use -hook.
10368 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
10370 * console-tty.c (Fset_console_tty_input_coding_system): Use
10372 (Fset_console_tty_output_coding_system): Use Qterminal.
10373 (tty_init_console): Use Qkeyboard and Qterminal.
10375 2000-03-21 Ben Wing <ben@xemacs.org>
10377 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
10378 From Mike Alexander <mta@arbortext.com>.
10380 2000-03-21 Ben Wing <ben@xemacs.org>
10382 * event-msw.c (mswindows_need_event): Horrible kludge to fix
10383 process brokenness. Proper implementation to come.
10385 Rename call-process-internal to old-call-process-internal.
10386 New impl. in process.el.
10388 2000-03-21 Martin Buchholz <martin@xemacs.org>
10390 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
10392 2000-03-20 Andy Piper <andy@xemacs.org>
10394 * glyphs.c (full_list_hash): make hashes of the same elements in
10395 different orders return different values.
10397 2000-03-20 Martin Buchholz <martin@xemacs.org>
10399 * XEmacs 21.2.32 is released.
10401 2000-03-20 Martin Buchholz <martin@xemacs.org>
10403 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
10404 (DFC_MALLOC_USE_CONVERTED_DATA):
10405 Add aliasing-safe casts to allow use with char* or unsigned char*
10408 * eldap.c (Fldap_open):
10409 (Fldap_search_basic):
10412 Make C++-compilable.
10413 Make sure GCPRO'ed variables are initialized.
10414 Use temp variables to avoid repeated calls to Flength.
10416 2000-03-16 Martin Buchholz <martin@xemacs.org>
10419 Make sure PATH_MAX is always defined.
10420 Include limits.h for PATH_MAX.
10421 Deprecate use of MAXPATHLEN.
10423 2000-03-10 Martin Buchholz <martin@xemacs.org>
10425 * emacs.c: Add reinit_vars_of_fileio.
10426 * symsinit.h: Add reinit_vars_of_fileio.
10427 * fileio.c (reinit_vars_of_fileio): New.
10428 * fileio.c (Fmake_temp_name):
10429 Initialize temp_name random number from microseconds to make
10430 collisions even less likely. Initialize always at process startup
10431 time. (make-temp-name) used to return the same file name twice in
10433 Random stylistic fiddling.
10436 2000-03-20 Andy Piper <andy@xemacs.org>
10438 * glyphs.c (image_instantiate): allow text glyphs to be
10439 instantiated in the minibuffer window.
10441 2000-03-19 Andy Piper <andy@xemacs.org>
10443 * glyphs.c (image_instance_hash): be careful about which items we
10446 * glyphs-widget.c (tab_control_set_property): record into pending
10447 items rather than the actual items.
10449 * glyphs-x.c (x_update_widget): use pending items to update with.
10451 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10454 * glyphs.c (mark_image_instance): mark pending items.
10456 * window.c (Fset_window_configuration): record the buffer.
10457 (Fselect_window): totally revert previous change which breaks many
10460 2000-03-18 Andy Piper <andy@xemacs.org>
10462 * glyphs-msw.c (mswindows_tab_control_update): force selected
10465 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10466 window domain cache, otherwise we get inconsistencies at
10467 startup. There is something fishy at startup which can lead to the
10468 minibuffer being the selected window when the gutter content is
10471 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10473 (parse_gui_item_tree_children): ditto.
10474 (parse_gui_item_tree_item): ditto.
10476 * glyphs.c (Fupdate_widget_instances): return something.
10478 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10480 * window.c (Fselect_window): Undo 2000-03-17 change.
10482 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10484 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10485 against v7.0 libraries. Insta-coredump city until the postgres
10488 2000-03-17 Andy Piper <andy@xemacs.org>
10490 * faces.c (complex_vars_of_faces): don't give the widget face an
10491 inherited background pixmap.
10493 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10496 * event-stream.c (Fdispatch_non_command_events): return something.
10498 * gutter.c (output_gutter): use widget face.
10499 (clear_gutter): ditto.
10501 * NEWS: adjust again.
10503 * window.c (Fselect_window): make sure this runs to completion to
10504 avoid oddities with Fset_window_configuration.
10505 (Fcurrent_window_configuration): in general do not save the
10506 minibuffer as the selected window.
10508 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10510 2000-03-16 Olivier Galibert <galibert@pobox.com>
10512 * emacs.c (Frunning_temacs_p): Revert previous patch.
10513 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10515 2000-03-16 Andy Piper <andy@xemacs.org>
10517 * glyphs-x.c (x_tab_control_update): if no widget values then
10520 * NEWS: update for new features.
10522 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10523 synthetic event to the native system.
10524 (reinit_vars_of_event_Xt): set force_event_pending to
10525 emacs_Xt_force_event_pending.
10527 * events.h (struct event_stream): add force_event_pending.
10529 * specifier.c (recompute_one_cached_specifier_in_window): add
10532 * redisplay.c (redisplay_frame): don't call
10533 update_frame_subwindows. Reset subwindow cachels when
10534 subwindows_changed, removing this was an optimization too far.
10536 * redisplay-output.c (compare_runes): reorganize so that we catch
10537 glyph changes when we want them. Set optimize_output when this
10538 would help layouts.
10539 (redisplay_output_layout): remove frame_really_changed, use
10540 optimize_output instead.
10542 * redisplay-msw.c (mswindows_output_display_block): reset
10543 optimize_output after outputting a glyph.
10544 * redisplay-x.c (x_output_display_block): ditto.
10545 * redisplay-tty.c (tty_output_display_block): ditto.
10547 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10549 (gutter_specs_changed): do specific gutter positions.
10550 (top_gutter_specs_changed): new function. Only update the
10551 specified gutter specs.
10552 (bottom_gutter_specs_changed): ditto.
10553 (left_gutter_specs_changed): ditto.
10554 (right_gutter_specs_changed): ditto.
10556 * gui.c (gui_item_hash_internal): new function, does a real hash.
10557 (gui_item_id_hash): use it.
10558 (gui_item_hash): hash the eval'ed gui_item.
10560 * gui-x.c (popup_selection_callback): send an eval event to call
10561 Fupdate_widget_instances.
10563 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10564 to call Fupdate_widget_instances.
10566 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10567 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10569 * glyphs.c: (update_frame_subwindows): deleted.
10570 (Fupdate_widget_instances): new function for updating the dirty
10571 state of widgets that might have changed.
10572 (syms_of_glyphs): add Qupdate_widget_instances.
10573 (full_list_hash): hash a list completely.
10574 (image_instance_hash): use it for items and properties.
10576 * frame-msw.c (mswindows_size_frame_internal): remove unused
10579 * faces.h (struct face_cachel): fix comment.
10581 * event-stream.c (Fdispatch_non_command_events): new
10582 function. Process non-command events, forcing an event cycle
10584 (syms_of_event_stream): declare.
10585 (event_stream_force_event_pending): new function. Force an event
10586 on the native event queue so that an event cycle will occur next
10590 (struct ntpipe_shove_stream):
10591 (mswindows_enqueue_dispatch_event):
10592 (mswindows_dequeue_dispatch_event):
10593 (mswindows_cancel_dispatch_event):
10594 (mswindows_pump_outstanding_events):
10595 (mswindows_drain_windows_queue):
10596 (mswindows_handle_paint):
10597 (mswindows_wnd_proc):
10598 (mswindows_key_to_emacs_keysym):
10599 (get_process_input_waitable):
10600 (emacs_mswindows_delete_stream_pair): re-indent file.
10601 (mswindows_need_event): do not process further fds if the windows
10602 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10603 fixes the 100% cpu problem.
10604 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10606 2000-03-15 Olivier Galibert <galibert@pobox.com>
10612 * emacs.c: Moved dump file searching to dumper.c.
10613 (Frunning_temacs_p): Fixed.
10615 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10616 last_lrecord_type_index_assigned.
10618 2000-02-20 Olivier Galibert <galibert@pobox.com>
10620 * symsinit.h: Added reinit parameter to init_console_stream
10623 * lisp.h: Added file parameter to pdump_load declaration.
10625 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10626 support. Added dump file searching.
10628 * config.h.in: Added EMACS_PROGNAME.
10630 * console-stream.c (init_console_stream): Fix reinitialisation
10631 when running from temacs.
10633 * alloc.c (pdump): Add id support.
10634 (pdump_load): Add file parameter and signature/id support.
10636 * Makefile.in.in: Add full pdump support.
10638 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10640 * postgresql.c: Update documentation to reflect latest code
10642 (print_result): Show tuple counts in printed representation when
10644 (Fpq_put_nbytes): MULE-ize.
10645 (Fpq_get_line_async): Ditto.
10647 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10649 * postgresql.c (Fpq_lo_import): Fix return value.
10650 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10652 2000-03-13 Ben Wing <ben@xemacs.org>
10654 * alloc.c (pdump_load):
10655 Fix compile warning under mswin.
10657 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10659 * postgresql.c: Mule-ization, bug fixes.
10660 Use PG_CODING to encapsulate coding system name changes.
10661 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10662 (pg-coding-system): Create.
10664 (Fpq_conn_defaults): Mule-ize.
10665 (Fpq_connectdb): Mule-ize & bug fix.
10666 (Fpq_connect_start): Mule-ize.
10667 (Fpq_set_client_encoding): Mule-ize.
10668 (Fpq_finish): Document `DEAD' connection status.
10669 (Fpq_clear): Ditto.
10670 (Fpq_pgconn): Mule-ize.
10671 (Fpq_exec): Mule-ize & bug fix.
10672 (Fpq_send_query): Ditto.
10673 (Fpq_get_result): Ditto.
10674 (Fpq_res_status): Mule-ize.
10675 (Fpq_result_error_message): Mule-ize.
10676 (Fpq_ntuples): fix comments.
10677 (Fpq_fname): Mule-ize.
10678 (Fpq_fnumber): Mule-ize.
10679 (Fpq_ftype): fix comments.
10680 (Fpq_get_value): Mule-ize.
10681 (Fpq_cmd_status): Ditto.
10682 (Fpq_cmd_tuples): Ditto.
10683 (Fpq_oid_value): Ditto.
10684 (Fpq_notifies): Ditto.
10685 (Fpq_lo_import): Ditto.
10686 (Fpq_lo_export): Ditto.
10687 (Fpq_get_line): Ditto.
10688 (Fpq_put_line): Mule-ize and bug fix.
10689 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10691 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10693 * postgresql.c (vars_of_postgresql): Mule-ize.
10694 (Fpq_conn_defaults): Ditto.
10696 2000-03-12 Ben Wing <ben@xemacs.org>
10698 * alloc.c (Fmake_byte_code):
10699 * alloc.c (debug_string_purity_print):
10700 * alloc.c (pdump_backtrace):
10701 * alloc.c (pdump_get_indirect_count):
10702 * alloc.c (pdump_register_sub):
10703 * alloc.c (pdump_register_object):
10704 * alloc.c (pdump_register_struct):
10705 * alloc.c (pdump_dump_data):
10706 * alloc.c (pdump_reloc_one):
10710 * console-msw.c (GetConsoleHwnd):
10711 * console-msw.c (msw_hide_console):
10712 * console-msw.c (msw_show_console):
10713 * console-msw.c (msw_ensure_console_buffered):
10714 * console-msw.c (msw_output_console_string):
10715 * console-msw.c (console_type_create_mswindows):
10717 a) Added functions to manipulate the console window for use with
10720 b) Added support for writing text to the console, which is now
10721 used under Windows when xemacs is not being run non-interactively,
10722 to write text that would otherwise be destined for stdout because
10723 under these circumstances, text written to stdout tends to
10724 disappear and not be seen.
10728 * event-Xt.c (x_event_to_emacs_event):
10729 * event-Xt.c (describe_event_window):
10730 * events-mod.h (XEMACS_MOD_CONTROL):
10732 * events.c (Fmake_event):
10733 * events.c (character_to_event):
10734 * events.c (event_to_character):
10735 * events.c (format_event_object):
10736 * events.c (Fevent_modifiers):
10738 * events.h (struct key_data):
10739 * events.h (struct button_data):
10740 * events.h (struct misc_user_data):
10741 * frame-x.c (Fcde_start_drag_internal):
10742 * frame-x.c (Foffix_start_drag_internal):
10743 * gpmevent.c (Freceive_gpm_event):
10745 * keymap.c (bucky_sym_to_bucky_bit):
10746 * keymap.c (control_meta_superify):
10747 * keymap.c (make_key_description):
10748 * keymap.c (keymap_lookup_directly):
10749 * keymap.c (create_bucky_submap):
10750 * keymap.c (keymap_store):
10751 * keymap.c (define_key_check_and_coerce_keysym):
10752 * keymap.c (define_key_parser):
10753 * keymap.c (define_key_alternate_name):
10754 * keymap.c (Fdefine_key):
10755 * keymap.c (raw_lookup_key_mapper):
10756 * keymap.c (struct map_keymap_unsorted_closure):
10757 * keymap.c (map_keymap_unsorted_mapper):
10758 * keymap.c (map_keymap_sort_predicate):
10759 * keymap.c (map_keymap_sorted):
10760 * keymap.c (accessible_keymaps_mapper_1):
10761 * keymap.c (where_is_recursive_mapper):
10762 * keymap.c (describe_map_mapper):
10763 * keymap.c (describe_map_sort_predicate):
10764 * keymap.c (describe_map):
10765 * keymap.c (complex_vars_of_keymap):
10766 And a number of other files, the key modifier preprocessor
10767 constants that xemacs uses have names that conflict with constants
10768 defined under MS Windows for other purposes, so they were renamed
10769 to begin with the prefix XEMACS_. The variables that hold such
10770 modifiers were changed to consistently be of type int to fix
10771 various compile warnings.
10773 * console.c (complex_vars_of_console):
10776 * device-msw.c (mswindows_finish_init_device):
10777 * device-msw.c (msw_get_workspace_coords):
10778 * device-msw.c (mswindows_device_system_metrics):
10779 and various other files, added support for a new
10780 device property called offset-workspace which returns the position
10781 of the upper left corner of the workspace area and goes along with
10782 the existing size-workspace property.
10785 * dialog-msw.c (push_bufbyte_string_as_unicode):
10786 * dialog-msw.c (mswindows_popup_dialog_box):
10787 Added support for XEmacs-style accelerator specifications in
10788 button text. Note: I didn't add support for this under X Windows,
10789 and somebody needs to do this.
10792 * dialog.c (Fpopup_dialog_box):
10793 Documented the support for accelerators that was just mentioned.
10795 editfns.c (get_home_directory): Changed behavior under Windows
10796 when HOME not defined; former behavior was irretrievably broken.
10799 * emacs.c (main_1):
10801 * minibuf.c (clear_echo_area_internal):
10802 * minibuf.c (echo_area_append):
10804 * print.c (std_handle_out_external):
10805 * print.c (std_handle_out_va):
10807 * print.c (write_string_to_stdio_stream):
10808 * print.c (output_string):
10809 * print.c (debug_print):
10810 * print.c (debug_backtrace):
10811 * print.c (debug_short_backtrace):
10812 Cleaned up the code that prints text to stdout so that this can be
10813 changed to output into a console window instead under MS Windows,
10814 as described above.
10817 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10818 * eval.c (internal_catch):
10819 * eval.c (unwind_to_catch):
10820 * eval.c (throw_or_bomb_out):
10821 * eval.c (condition_case_1):
10822 * eval.c (signal_1):
10823 * eval.c (check_error_state_sanity):
10824 * eval.c (call_with_suspended_errors_1):
10825 * eval.c (call_with_suspended_errors):
10826 * eval.c (reinit_vars_of_eval):
10827 Added code to catch throw loops and check for a pesky bug that may
10831 * event-msw.c (key_needs_default_processing_p):
10832 * event-msw.c (mswindows_wnd_proc):
10833 * event-msw.c (mswindows_modifier_state):
10834 * event-msw.c (emacs_mswindows_quit_p):
10835 * event-msw.c (vars_of_event_mswindows):
10836 a) Added support for using the alt key to select menu items as is
10837 standard under MS Windows. This is controlled using the variable
10838 menu-accelerator-enabled, just like under X Windows. There is an
10839 option on the options menu to turn this support on. I really
10840 think that it should be on by default under Windows, but I'm not
10841 going to make this change yet.
10843 b) Added support for dynamic display size changes under Windows.
10846 * event-stream.c (maybe_echo_keys):
10847 * event-stream.c (Fnext_event):
10848 * event-stream.c (command_builder_find_leaf):
10849 * event-stream.c (lookup_command_event):
10850 * event-stream.c (execute_command_event):
10851 * event-stream.c (pre_command_hook):
10852 * event-stream.c (post_command_hook):
10853 * event-stream.c (syms_of_event_stream):
10854 * event-stream.c (vars_of_event_stream):
10855 * event-stream.c (complex_vars_of_event_stream):
10856 * events.h (struct command_builder):
10858 a) Tried to clean up a little bit the horribly written x-specific
10859 accelerator code that crept into this file. I moved this code
10860 into menubar-x.c where it belongs. I also needed to move the
10861 command builder structure into the file events.h because it is
10862 accessed directly by this accelerator code. What I didn't do, but
10863 which should be done at some point, is to properly abstract this
10864 code using device methods instead of the kludgy way that it
10865 currently hooks into the event code.
10867 b) Added the lisp variables this-command-properties and
10868 last-command- properties, which should be used to synchronize two
10869 adjacent commands in preference to playing games with the variable
10870 this-command, which is typically what happens.
10872 c) Added some slightly nasty code to hook into the lisp support
10873 for shifted- motion-key selection. This is actually necessary for
10874 somewhat complicated reasons, which are described in
10875 simple.el. (NB: I think the proper thing would be to have the code
10876 that calls the pre and post command hooks also call out to generic
10877 lisp functions in simple.el, where all built-in stuff could be
10878 added. I will think about this more.)
10880 * event-unixoid.c (poll_fds_for_input):
10881 * lread.c (readchar):
10882 * redisplay-tty.c (tty_clear_frame):
10883 * redisplay-x.c (x_get_gc):
10884 * signal.c (interrupt_signal):
10885 And a whole bunch of other files: fixed up places that printed
10886 directly to stderr to instead call the function stderr_out so that
10887 the changes I made under Windows work correctly.
10889 * filemode.c (mode_string):
10893 * frame-msw.c (mswindows_size_frame_internal):
10894 Fixed the computation of frame size and position to keep the frame
10895 within the workspace area, rather than within the physical
10896 dimensions of the screen, so that the frame doesn't overlap window
10897 manager decorations, such as the start menu and toolbar, typically
10898 at the bottom of the screen.
10900 * frame.c (vars_of_frame):
10901 Changed the default frame title format under MS Windows to consist
10902 of buffername-XEmacs, which is standard under MS Windows. I think
10903 it might be a good idea to change this everywhere because I think
10904 it is superior to the current frame title format, but this is the
10905 kind of change that is likely to cause some people to get annoyed,
10906 so I'm not making it.
10908 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10910 * gui-msw.c (mswindows_handle_gui_wm_command):
10911 Fixed compile warnings.
10914 * gui-x.c (strdup_and_add_accel):
10915 * gui-x.c (button_item_to_widget_value):
10917 Added code to automatically put an accelerator onto the beginning
10918 of menu items that don't have one as is now the standard, and is
10919 described more later. Also fixed things so that the menu item
10920 name can be an evaluated expression, again a new standard.
10923 * gui.c (gui_item_add_keyval_pair):
10924 * gui.c (make_gui_item_from_keywords_internal):
10925 * gui.c (gui_add_item_keywords_to_plist):
10926 * gui.c (gui_item_accelerator):
10927 * gui.c (gui_name_accelerator):
10928 * gui.c (gui_item_included_p):
10929 * gui.c (gui_item_display_flush_left):
10930 * gui.c (gui_item_display_flush_right):
10931 * gui.c (parse_gui_item_tree_item):
10932 * gui.c (parse_gui_item_tree_children):
10933 * gui.c (parse_gui_item_tree_list):
10934 Mule-ized. Cleanup. GCPRO addition.
10936 * line-number.c (buffer_line_number):
10938 * lisp.h (EMACS_INT_MAX):
10939 Added the manifest constant EMACS_INT_MIN corresponding to the
10940 existing constant EMACS_INT_MAX. This is partially to fix compile
10941 warnings under Windows, and partly for cleanliness.
10944 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10945 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10946 * menubar-msw.c (displayable_menu_item):
10947 * menubar-msw.c (populate_menu_add_item):
10948 * menubar-msw.c (populate_or_checksum_helper):
10949 * menubar-msw.c (populate_menu):
10950 * menubar-msw.c (update_frame_menubar_maybe):
10951 * menubar-msw.c (prune_menubar):
10952 * menubar-msw.c (msw_char_is_accelerator):
10953 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10954 * menubar-msw.c (mswindows_handle_wm_command):
10955 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10956 * menubar-msw.c (mswindows_handle_wm_initmenu):
10957 * menubar-msw.c (mswindows_update_frame_menubars):
10958 * menubar-msw.c (mswindows_free_frame_menubars):
10959 * menubar-msw.c (mswindows_popup_menu):
10960 Fixed a bug in handling accelerators where an extra character
10961 would be displayed in the menu item. Also generalized the
10962 function displayable_menu_item because it is now used by the
10963 dialog box code as well. And finally, added code in the functions
10964 that create the menubar to extract a list of accelerators for the
10965 top level menubar, which is used in the event code to determine
10966 whether a particular alt-key combination should be used to invoke
10967 a menu item, or should be passed through to access the standard
10968 XEmacs keymap binding for this key combination.
10970 Much needed GCPROing.
10973 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10974 * menubar-x.c (menu_item_descriptor_to_widget_value):
10975 * menubar-x.c (restore_in_menu_callback):
10976 * menubar-x.c (x_popup_menu):
10977 * menubar-x.c (menu_move_up):
10978 * menubar-x.c (menu_move_down):
10979 * menubar-x.c (menu_move_left):
10980 * menubar-x.c (menu_move_right):
10981 * menubar-x.c (menu_select_item):
10982 * menubar-x.c (command_builder_operate_menu_accelerator):
10983 * menubar-x.c (menu_accelerator_junk_on_error):
10984 * menubar-x.c (command_builder_find_menu_accelerator):
10985 * menubar-x.c (Faccelerate_menu):
10987 Moved a whole bunch of code here that was previously in
10988 event-stream.c as described above. There is also code connected
10989 to the new standard of adding an accelerator to the beginning of
10990 menu items that don't have one as described above and below.
10993 * menubar.c (menu_parse_submenu_keywords):
10994 * menubar.c (Fmenu_find_real_submenu):
10995 * menubar.c (Fnormalize_menu_item_name):
10996 * menubar.c (syms_of_menubar):
10997 * menubar.c (vars_of_menubar):
10998 * menubar.c (complex_vars_of_menubar):
11000 a) Cleaned up a bunch of documentation and improved it.
11002 b) XEmacs now automatically adds an accelerator onto the beginning
11003 of any menu items that don't have one. I did this because there
11004 will inevitably be some menu items on the main menubar that don't
11005 have accelerators on them because the package that adds that
11006 particular menu item hasn't yet been fixed up to have accelerators
11007 in them and it looked rather strange to have some items with and
11008 some items without accelerators, especially since even in items
11009 without accelerators, you can, at least under windows, still
11010 access the item through an accelerator corresponding to the first
11011 character in the item's name. If people don't like this behavior,
11012 I can add a variable to turn it off optionally, but I'm not sure
11013 this is a good idea because we really do need to have accelerators
11014 on all of the menu items, and if a package doesn't like the
11015 accelerators being put on the first character, then it should put
11016 the accelerators where they belong.
11018 c) I made a behavior change, which is that the descriptor that
11019 specifies the text of the menu item, which formerly was just a
11020 string, can now also be an evaluated expression. This makes this
11021 descriptor parallel with all of the others, which could also be
11022 evaluated expressions. This also obviates the need for the
11023 keyword :label, which was previously listed in the documentation
11024 as unimplemented, and which was for the same purpose.
11029 * ntproc.c (new_child):
11030 * ntproc.c (sys_spawnve):
11031 * ntproc.c (find_child_console):
11032 * ntproc.c (sys_kill):
11033 Fixed compile warnings. By the way, this file should really go
11034 away entirely, and this will happen as soon as Kirill makes his
11035 final round of process cleanups, which affect the function
11039 * process-nt.c (struct nt_process_data):
11040 * process-nt.c (find_process_from_pid):
11041 * process-nt.c (send_signal_the_nt_way):
11042 * process-nt.c (enable_child_signals):
11043 * process-nt.c (find_child_console):
11044 * process-nt.c (send_signal_the_95_way):
11045 * process-nt.c (nt_finalize_process_data):
11046 * process-nt.c (ensure_console_window_exists):
11047 * process-nt.c (nt_create_process):
11048 * process-nt.c (nt_kill_child_process):
11049 * process-nt.c (nt_kill_process_by_pid):
11050 * process-nt.c (nt_open_network_stream):
11051 * process-nt.c (vars_of_process_nt):
11052 Copied over code from Emacs 20.5 to correctly send signals to sub-
11053 processes under Windows 95. Also added code to automatically
11054 create and hide console window when a sub-process is created under
11055 Windows 95, which obviates the need for the separate runemacs.exe
11056 executable, and finally implemented some variables that were
11057 implemented in Emacs 20.5, but previously not in XEmacs. These
11058 include mswindows- start-process-share-console and
11059 mswindows-start-process-inherit-error-mode. (Both of these only
11060 apply to Windows 95.)
11062 * regex.c (regex_compile): Fixed a compile warning.
11065 * select-msw.c (mswindows_own_selection):
11066 * select-msw.c (mswindows_get_foreign_selection):
11067 * select-msw.c (mswindows_disown_selection):
11068 * select-msw.c (console_type_create_select_mswindows):
11069 * select-msw.c (syms_of_select_mswindows):
11070 Cleaned up the file and implemented the device method
11071 selection_exists_p, which had accidentally been left out. Also
11072 removed four lisp functions that were remnants from before the
11073 time when the selection code was properly device abstracted.
11074 These functions are no longer needed because there are generic
11075 equivalents, and because they were added recently and don't exist
11076 in FSF Emacs, I don't think there's any problem with just deleting
11080 * sysdep.c (sys_subshell):
11081 Fixed a compile warning, although in this case there's probably
11082 something wrong with this code, and it ought to be looked into
11083 more thoroughly by somebody who understands it.
11086 * window.c (Fwindow_text_area_height):
11087 * window.c (Fwindow_width):
11088 * window.c (Fwindow_full_width):
11089 * window.c (Fwindow_pixel_width):
11090 * window.c (debug_print_window):
11091 * window.c (syms_of_window):
11092 Added functions window-text-area-height and window-full-width,
11093 which are functions for returning various width and height
11094 characteristics of a window. (One of these functions is necessary
11095 for making the file dialog box work correctly, and the other one
11096 was added for completeness.) Also added a table to the
11097 documentation for window-height which describes the entire scheme
11098 for accessing width and height characteristics of a window.
11100 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11102 * nt.c (fstat): Added a comment for another problem with
11103 non-encapsulated [f]stat(), reported by Adrian Aichner
11104 <aichner@ecf.teradyne.com>.
11106 2000-03-11 Andy Piper <andy@xemacs.org>
11108 * window.c (make_dummy_parent): initialize subwindow instance
11110 (Fset_window_configuration): zero extent_modiff.
11112 2000-03-10 Andy Piper <andy@xemacs.org>
11114 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
11115 more changes can be triggered.
11116 (Fredisplay_frame): ditto.
11117 (Fredraw_device): ditto.
11118 (Fredisplay_device): ditto.
11119 (redisplay_frame): make non-static.
11120 (redisplay_frame): call update_frame_gutter_geometry outside of
11123 * gutter.h: declare update_frame_gutter_geometry.
11125 * redisplay.h: declare redisplay_frame.
11127 * gutter.c (update_frame_gutter_geometry): move geometry changes
11128 in update_frame_gutters here. Geometry changes can only occur
11129 outside of redisplay.
11130 (update_frame_gutters): remove geometry change code.
11131 (Fredisplay_gutter_area): make sure that we are in display when we
11132 update and that we have flushed any size changes.
11134 2000-03-11 Andy Piper <andy@xemacs.org>
11136 * alloc.c (pdump_dump_data): remove i & count shadows.
11138 2000-02-27 Mike Alexander <mta@arbortext.com>
11140 * sysdep.h: Declare pdump_read_file
11142 * sysdep.c (pdump_read_file): New function
11144 * alloc.c (pdump_load): Call pdump_read_file to get the portable
11147 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
11149 * lrecord.h: add `lrecord_type_pgsetenv'.
11151 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
11153 * symsinit.h: declare (vars|syms)_of* functions.
11154 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
11156 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
11158 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
11160 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
11163 * emacs.c (main_1): Call postgres initialization code.
11165 * postgresql.h: New file. PostgreSQL RDBMS support.
11166 * postgresql.c: New file.
11168 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11170 * redisplay-output.c (redisplay_output_display_block): Disable
11173 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11175 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
11176 (Fcanna_henkan_next): Ditto.
11177 (Fcanna_bunsetu_henkou): Ditto.
11178 (Fcanna_henkan_kakutei): Ditto.
11179 (Fcanna_henkan_end): Ditto.
11180 (Fcanna_henkan_quit): Ditto.
11181 (Fcanna_henkan_next): Set retun value correctly.
11182 (c2mu): Use unsigned char instead of signed char.
11184 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11186 * emacs.c (main_1): Always call syms_of_gui.
11187 * inline.c: include gui.h
11189 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11191 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
11192 converted to Lisp_Object.
11193 (Qtop_bottom): New variable.
11194 (syms_of_redisplay): Initialize it.
11195 * redisplay.h (Vvisible_bell): Ditto.
11196 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
11197 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
11198 only flash top and bottom.
11200 2000-03-08 Andy Piper <andy@xemacs.org>
11202 * buffer.c (Frename_buffer): record new buffer name the right way.
11204 2000-03-08 Andy Piper <andy@xemacs.org>
11206 * glyphs.c (update_subwindow): increase hash depth so that widget
11207 items get picked up properly.
11209 * redisplay-output.c (compare_runes): increase hash depth so that
11210 widget items get picked up properly.
11212 2000-03-08 Andy Piper <andy@xemacs.org>
11214 * gutter.c (output_gutter): add some debug.
11216 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
11217 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
11218 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
11220 * redisplay-output.c (compare_runes): use display_hash to
11221 determine if glyphs really are not the same.
11223 * glyphs.c (update_subwindow): check display_hash to see if
11224 anything really needs to be updated. If not then do
11225 nothing. Record the display_hash after updating.
11226 (image_instance_equal): compare the image_instance face also.
11228 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
11230 * redisplay.h: Fix comment style.
11232 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
11234 * consle-msw.h (struct mswindows_frame):
11235 Added new member paint_pending to indicate whether a WM_PAINT
11236 magic event has been queued for this frame.
11238 * event-msw.c (mswindows_drain_windows_queue):
11239 Don't queue a WM_PAINT magic event if one is already queued.
11240 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
11242 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
11244 2000-03-07 Didier Verna <didier@xemacs.org>
11246 * dired.c: #include `regex.h' after `sysfile.h'.
11248 2000-03-06 Martin Buchholz <martin@xemacs.org>
11250 * sound.c (init_nas_sound): Fix compiler warning.
11252 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
11254 (MARK_STRUCT_AS_FREE):
11255 (MARK_STRUCT_AS_NOT_FREE):
11256 Make `gcc -fstrict-aliasing' work properly.
11258 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
11260 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
11261 (mswindows_delete_device): Call CoUnnitialize().
11263 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
11265 2000-02-25 <CraigL@DyCon.com>
11267 * process-nt.c: MinGW now has <shellapi.h>, but still needs
11270 * sysdep.c: This extern declaration for environ prevents MinGW
11271 from finding the variable in CRTDLL.DLL.
11273 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
11275 (SHGFI_EXETYPE): ..
11276 (WM_MOUSEWHEEL): ..
11277 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
11279 (MMRESULT): Removed, now defined in cygwin's windows headers.
11281 (uid_t,gid_t,pid_t,ssize_t): ..
11282 (_timeb): Removed, MinGW defines both _timeb and timeb.
11283 (HAVE_H_ERRNO): Added.
11284 (HAVE_TZNAME): Added, configure is not detecting this.
11286 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
11288 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
11289 * syntax.c (syntax_match): Use it.
11291 * cmds.c: Import auto-fill-chars from FSF Emacs.
11292 (Vauto_fill_chars): New variables.
11293 (internal_self_insert): Check Vauto_fill_chars.
11295 Declare auto-fill-chars as a Lisp variable and initialize it.
11297 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11299 * fileio.c (Fmake_symbolic_link):
11301 Run handlers even if local machine doesn't have symlinks.
11303 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11305 * event-msw.c (mswindows_drain_windows_queue):
11306 Don't generate paint magic events for non-XEmacs frames.
11308 2000-03-05 Andy Piper <andy@xemacs.org>
11310 * redisplay.c (redisplay_frame): generate_displayable_area and
11311 friends assumes that we are not in GC, we therefore have to make
11312 sure that this doesn't happen.
11314 * gutter.c (calculate_gutter_size): generate_displayable_area
11315 assumes that we are not in GC, we therefore have to make sure that
11316 this doesn't happen.
11318 2000-03-05 Martin Buchholz <martin@xemacs.org>
11320 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
11322 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
11324 * redisplay.c (regenerate_window): Make sure we set a sane value
11325 for end_pos even if we jump out of the loop.
11326 (regenerate_window): Answer Ben's question :-).
11327 (start_end_of_last_line): Add may_error argument.
11328 (start_of_last_line):
11329 (end_of_last_line): Pass may_error = 0.
11330 (end_of_last_line_may_error): New function.
11331 (pixel_to_glyph_translation): Use it, so we don't crash in
11334 2000-03-04 Andy Piper <andy@xemacs.org>
11336 * window.h (struct window): add gutter_extent_modiff.
11338 * window.c (allocate_window): zero out gutter_extent_modiff.
11340 * redisplay.h: declare sync_display_line_structs.
11342 * redisplay.c (add_glyph_rune): add a better comment.
11344 * redisplay-output.c (sync_display_line_structs): made non-static.
11345 (compare_runes): remove unneccesary glyph cachel access.
11347 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
11349 * gutter.c (output_gutter): don't output the gutter if extent
11350 changes only involve extents in buffers. use 4 sets of display
11352 (gutter_extent_signal_changed_region_maybe): new function. Mark
11353 extents in gutters as changed.
11354 (update_frame_gutters): use 4 sets of display lines.
11355 (reset_gutter_display_lines): ditto.
11356 (free_frame_gutters): ditto.
11357 (redraw_exposed_gutter): force output of gutters.
11359 * frame.h (struct frame): add 4 sets of gutter display lines.
11361 * extents.c: (extent_changed_for_redisplay): signal changes to
11362 extents in strings in the gutter as well as extents in buffers.
11364 2000-03-02 Andy Piper <andy@xemacs.org>
11366 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
11368 * frame.c (Fmake_frame): make sure the gutters get initialized
11369 after the frame is visible.
11370 (set_frame_selected_window): re-arrange compilation macros a
11372 (change_frame_size_1): mark gutters changed.
11374 * device.c (Fset_device_class): mark gutters changed.
11376 2000-03-01 Andy Piper <andy@xemacs.org>
11378 * window.c (window_top_frame_gutter_height): deleted.
11379 (window_bottom_frame_gutter_height): ditto.
11380 (window_left_frame_gutter_height): ditto.
11381 (window_right_frame_gutter_height): ditto.
11382 (window_top_gutter_height): don't use them.
11383 (window_bottom_gutter_height): ditto.
11384 (window_left_gutter_width): ditto.
11385 (window_right_gutter_width): ditto.
11386 (Fsplit_window): ditto.
11387 (Fwindow_pixel_edges): don't use border dimensions here.
11389 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
11390 (update_scrollbar_instance): ditto.
11392 * redisplay.c (generate_modeline): don't take gutters into account.
11393 (generate_modeline): ditto.
11394 (redisplay_frame): small gutter display optimization.
11396 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
11398 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
11399 gutters into account.
11401 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
11402 for window position and type.
11404 * gutter.c (get_gutter_coords): fix for frame gutters.
11405 (update_frame_gutters): update frame geometry if the gutters have
11407 (init_frame_gutters): record current gutter geometries.
11409 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
11411 (mswindows_widget_instantiate): ditto.
11413 * frame.h (struct frame): add current_gutter_bounds.
11415 * frame.c (change_frame_size_1): position window and minibuffer
11416 appropriately taking into account the frame gutters.
11418 * frame-x.c: (x_initialize_frame_size): take into account the
11421 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11423 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11425 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11427 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11429 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11431 * file-coding.c (reset_decoding_stream): Clear previous
11432 detection state when autodetect.
11434 2000-02-29 Didier Verna <didier@xemacs.org>
11436 * extents.c (set_extent_glyph_1): don't require extents to be
11439 2000-02-27 Andy Piper <andy@xemacs.org>
11441 * gutter.c (Fset_default_gutter_position): don't default left and
11442 right gutter visibility to t.
11443 (Fset_default_gutter_position): run
11444 default-gutter-position-changed-hook.
11445 (syms_of_gutter): add default-gutter-position-changed-hook.
11447 2000-02-26 Andy Piper <andy@xemacs.org>
11449 * specifier.c (Fmake_specifier): add gutter references.
11451 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11453 * lisp.h: declare Fvalid_plist_p.
11455 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11457 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11458 well as its visibility so that it gets reconstructed.
11459 (construct_window_gutter_spec): new function. Construct a string
11460 to be displayed in the gutter from a plist of strings. Take care
11461 to only use elements that are declared as visible.
11462 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11464 (gutter_validate): allow plists of strings in the specifier.
11465 (gutter_specs_changed): construct the real_gutter from the gutter
11466 specs using construct_window_gutter_spec.
11467 (gutter_visible_validate): gutter-visible is a new specifier type.
11468 (Fgutter_visible_specifier_p): new function for the new specifier.
11469 (syms_of_gutter): declare gutter-visible and
11470 Fgutter_visible_specifier_p.
11471 (specifier_type_create_gutter): intitalize new gutter-visible
11473 (reinit_specifier_type_create_gutter): ditto.
11474 (specifier_vars_of_gutter): use new specifier type for gutter
11476 (init_frame_gutters): construct real_gutter correctly.
11477 (Fgutter_specifier_p): beef up documentation.
11478 (Fgutter_size_specifier_p): ditto.
11480 * winslots.h: add real_gutter slots.
11482 2000-02-25 Andy Piper <andy@xemacs.org>
11484 * device-msw.c: Be kind to older cygwin versions. From Raymond
11485 Toy <toy@rtp.ericsson.se>.
11487 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11488 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11490 2000-02-25 Martin Buchholz <martin@xemacs.org>
11492 * elhash.c (MARK_OBJ): Practice macro hygiene.
11494 2000-02-24 Martin Buchholz <martin@xemacs.org>
11496 * miscplay.c: s/__inline__/inline/g;
11497 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11498 (get_device_compdc): INLINE ==> static inline
11499 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11500 find -name '*.h' | \
11501 xargs global-replace \
11502 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11504 2000-02-25 Andy Piper <andy@xemacs.org>
11506 * window.c (window_top_frame_gutter_height): new function.
11507 (window_top_window_gutter_height): ditto.
11508 (window_top_gutter_height): use them.
11509 (window_bottom_frame_gutter_height): new function.
11510 (window_bottom_window_gutter_height): ditto.
11511 (window_bottom_gutter_height): use them.
11512 (window_left_window_gutter_width): new function.
11513 (window_left_frame_gutter_width): ditto.
11514 (window_left_gutter_width): use them.
11515 (window_right_window_gutter_width): new function.
11516 (window_right_frame_gutter_width): ditto.
11517 (window_right_gutter_width): use them.
11518 (window_pixel_height): new function. calulate window pixel height
11519 with frame gutter involvement.
11520 (Fsplit_window): calculate new sizes taking frame gutters into
11522 (window_char_height_to_pixel_height): don't include frame gutters.
11523 (window_char_height): use window_pixel_height.
11524 (window_pixheight): rename from window_pixel_height.
11525 (change_window_height): use it.
11526 (window_pixel_height_to_char_height): don't include frame gutters.
11527 (window_char_width_to_pixel_width): ditto.
11529 2000-02-25 Andy Piper <andy@xemacs.org>
11531 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11534 2000-02-24 Martin Buchholz <martin@xemacs.org>
11536 * alloc.c (staticpro):
11537 (staticpro_nodump):
11542 (compact_string_chars):
11543 (pdump_dump_wired):
11544 Convert: if (foo) abort(); ==> assert (! foo);
11546 * eldap.c (Fldap_search_basic):
11550 Fix compiler warnings, and possible crashes if (random) return
11551 value were to be used.
11553 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11555 * device-msw.c: Workaround ResetDC failure.
11557 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11558 applying a devmode.
11560 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11561 (mswindows_text_width): Do not start printer page.
11563 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11565 * glyphs-msw.c: Added image methods to msprinter console and
11566 msprinter-specific image instantiation.
11568 2000-02-20 Mike Alexander <mta@arbortext.com>
11570 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11571 to avoid crashes when selection-sets-clipboard is on
11572 (mswindows_own_selection): ditto
11574 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11577 * redisplay-msw.c (get_frame_dc):
11578 (get_frame_compdc):
11580 * device-msw.c (mswindows_init_device):
11581 (mswindows_delete_device):
11582 (msprinter_init_device):
11583 (msprinter_delete_device):
11584 * frame-msw.c (mswindows_init_frame_1):
11585 (mswindows_delete_frame):
11586 (msprinter_init_frame_3):
11587 (msprinter_delete_frame): Move compatible DC to device object from
11588 frame object, for both mswindows and msprinter. Only one at a time
11589 is needed, it is a real waste to have one per frame!
11591 2000-02-23 Andy Piper <andy@xemacs.org>
11593 * glyphs.c: add dynamic width and height elements.
11594 (image_instance_equal): ditto.
11596 * glyphs-widget.c (widget_query_geometry): calculate width and
11597 height dynamically if required.
11598 (initialize_widget_image_instance): initialize dynamic dimensions.
11599 (widget_instantiate): pick-up dynamic dimensions.
11601 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11602 dynamic determination. Add appropriate macros.
11604 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11606 (WINDOW_GUTTER_SIZE): ditto.
11607 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11609 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11611 (get_frame_dc): ditto.
11613 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11616 2000-02-23 Martin Buchholz <martin@xemacs.org>
11618 * XEmacs 21.2.31 is released.
11620 2000-02-22 Ben Wing <ben@xemacs.org>
11622 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11624 2000-02-22 Andy Piper <andy@xemacs.org>
11626 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11628 2000-02-21 Mike Sperber <mike@xemacs.org>
11632 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11635 2000-02-21 Mike Sperber <mike@xemacs.org>
11637 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11639 2000-02-21 Martin Buchholz <martin@xemacs.org>
11641 * XEmacs 21.2.30 is released.
11643 2000-02-20 Martin Buchholz <martin@xemacs.org>
11645 Performance hacking.
11647 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11648 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11649 * emacs.c (main_1):
11651 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11652 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11653 * symeval.h (DEFVAR_SYMVAL_FWD):
11654 * symbols.c (guts_of_unbound_marker):
11655 Make all c_readonly objects also lisp_readonly and marked for life.
11656 * lrecord.h (struct lrecord_implementation):
11657 Document flags better.
11658 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11659 * lrecord.h (DECLARE_LRECORD):
11660 * lrecord.h (XSETRECORD):
11661 * lrecord.h (RECORDP):
11662 * lrecord.h (RECORD_TYPEP):
11663 * lrecord.h (RECORD_MARKER): New.
11664 * lrecord.h (error_check_*):
11665 * lrecord.h (CONCHECK_NONRECORD):
11666 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11667 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11668 * lrecord.h (set_lheader_implementation):
11669 * lrecord.h (enum lrecord_type): New.
11670 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11671 * alloc.c (disksave_object_finalization_1):
11672 * alloc.c (mark_object):
11673 * alloc.c (lrecord_type_index):
11674 * alloc.c (tick_lcrecord_stats):
11675 * alloc.c (Fgarbage_collect):
11676 * alloc.c (init_alloc_once_early):
11677 * alloc.c (pdump_load):
11678 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11679 * alloc.c (lrecord_type_index): Delete.
11680 Make lisp object type indexes be constant.
11681 Makes (byte-compile) 5% faster.
11682 Put all marker functions into their own array.
11683 Makes (garbage-collect) 5% faster.
11684 Optimize SYMBOL_VALUE_MAGIC_P.
11685 Makes (byte-compile) 2-3% faster.
11686 * config.h.in (gc_checking_assert): New.
11687 * alloc.c: Use gc_checking_assert().
11688 * .dbxrc: Make compatible with new object type implementation.
11689 * .gdbinit: Make compatible with new object type implementation.
11690 * alloc.c: Delete all symbols defined only for debugging, such as
11691 Lisp_Type_Vector and lrecord_charset.
11693 2000-02-21 Andy Piper <andy@xemacs.org>
11695 * gui-msw.c (Fmswindows_shell_execute): fix file location
11698 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11699 unshowing so that set_window_buffer doesn't undo
11700 kill_buffer_hook's hard work.
11702 * glyphs-widget.c (tab_control_query_geometry): don't count the
11703 first item when calculating geometry.
11705 * glyphs.c (map_subwindow): remove redundant code.
11706 (update_frame_subwindows): be more circumspect about when to
11709 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11710 when items haven't changed. Update faces if faces have changed as
11711 well as just the widget face.
11712 (x_tab_control_update): Update faces if faces have changed as well
11713 as just the widget face.
11715 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11717 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11719 (build_syscolor_string): Use mswindows_color_to_string to try to
11721 (mswindows_device_system_metrics): Reverse the foreground and
11722 background colors so that they match the documentation.
11724 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11725 they match the default Windows palette.
11726 (mswindows_color_to_string): New function.
11728 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11730 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11732 2000-02-18 Olivier Galibert <galibert@pobox.com>
11734 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11735 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11737 * symbols.c (init_symbols_once_early): Removed obsolete
11738 DATA_SEG_BITS related kludge.
11739 (defvar_magic): Ditto.
11741 * malloc.c: Removed obsolete DATA_SEG_BITS
11743 * mem-limits.h: Ditto.
11745 * Makefile.in.in: Removed obsolete HAVE_SHM
11748 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11750 * device-msw.c (mswindows_delete_device): Free DDE string
11753 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11755 * keymap.c (get_keyelt):
11756 * unexnt.c (unexec):
11757 * vm-limit.c (memory_warnings):
11758 * ntheap.c (recreate_heap):
11759 * ntheap.h (UNINIT_PTR):
11760 * select-msw.c (Fmswindows_get_clipboard):
11761 (Fmswindows_set_clipboard):
11762 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11764 * menubar-msw.c (displayable_menu_item):
11766 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11767 * sysdep.c (sys_subshell):
11768 * process-nt.c (nt_create_process):
11769 * nt.c (normalize_filename):
11770 (dostounix_filename):
11771 (unixtodos_filename):
11772 * ntproc.c (win32_executable_type):
11773 * ntplay.c (play_sound_data_1):
11775 * editfns.c (get_home_directory):
11776 * event-msw.c (struct winsock_stream):
11777 (mswindows_dde_callback):
11778 * device-msw.c (msprinter_init_device):
11779 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11781 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11782 mswindows_clear_toolbar were swapped!
11784 * objects-msw.c:(colormap_t):
11786 * emacs.c (struct standard_args): Fixed const jumble.
11788 * glyphs-widget.c (update_widget): Fixed comparison notation.
11790 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11792 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11793 __declspec(noreturn) syntax.
11795 2000-02-19 Martin Buchholz <martin@xemacs.org>
11797 * eldap.c (Fldap_open):
11798 (Fldap_search_basic):
11801 Use new coding system conversion macros.
11803 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11805 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11807 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11809 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11810 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11812 * eldap.c (Qadd, Qreplace): New constant symbols
11813 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11814 interruptions by XEmacs signals
11815 Remove unnecessary calls to slow_down_interrupts and
11816 speed_up_interrupts
11817 (Fldap_search_basic): Renamed from Fldap_search_internal
11818 Added new optional parameter VERBOSE that triggers the
11819 display of progress messages
11820 Remove unnecessary calls to slow_down_interrupts and
11821 speed_up_interrupts
11822 LDAP result code analysis rewritten
11823 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11824 (syms_of_eldap): Define the new symbols and functions
11827 2000-02-17 Martin Buchholz <martin@xemacs.org>
11829 * realpath.c: Determine PATH_MAX maximally portably.
11831 * insdel.c (bytecount_to_charcount): Optimize.
11832 The function used to be optimized for entirely ASCII sequences.
11833 Now it is optimized for successive characters from the same
11834 charset. This also wins big for _mostly_ ASCII sequences.
11836 * fileio.c (Ffile_truename): convert return from realpath() using
11837 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11838 - Rewrite GCPROing slightly.
11840 * sysdep.c (sys_open): Do filename conversion, like all other
11841 sys_* functions. Fixes bug:
11842 (let ((file-name-coding-system 'iso-8859-2))
11843 (write-region x y latin2-name))
11844 ==> writes filename using internal encoding.
11846 2000-02-18 Martin Buchholz <martin@xemacs.org>
11848 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11849 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11850 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11851 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11852 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11853 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11854 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11855 (CONST_IF_NOT_DEBUG): Delete.
11856 * alloc.c (this_one_is_unmarkable): Delete.
11857 (mark_object): Don't check for this_one_is_unmarkable. Use the
11858 c_readonly flag instead.
11859 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11861 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11863 * event-msw.c (mswindows_drain_windows_queue):
11864 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11865 away redundant repaint events.
11867 2000-02-17 Andy Piper <andy@xemacs.org>
11869 * redisplay.h: declare mark_redisplay_structs.
11871 * redisplay.c (redisplay_window):
11872 (redisplay_frame): don't check subwindows_state_changed.
11873 (mark_redisplay): mark gutters here.
11875 * glyphs.c: (instantiate_image_instantiator): always layout if we
11876 haven't done so already.
11877 (allocate_image_instance): don't mark as dirty.
11878 (update_subwindow): bind inhibit_quit.
11880 * gutter.c (mark_gutters): new function.
11882 * glyphs-x.c (x_update_widget): Always resize to get round a
11885 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11886 breaking absolutely everything.
11888 * gutter.h: declare mark_gutters.
11890 2000-02-16 Martin Buchholz <martin@xemacs.org>
11892 * XEmacs 21.2.29 is released.
11894 2000-02-15 Olivier Galibert <galibert@pobox.com>
11896 * fns.c (size_bit_vector): Fix computation of the size.
11898 2000-02-15 Martin Buchholz <martin@xemacs.org>
11900 * *.[ch]: Change CONST to const globally.
11901 find -name '*.[ch]' | \
11902 xargs global-replace \
11903 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11904 - Remove vestigial references to CONST_IS_LOSING
11906 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11908 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11909 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11910 events instead of dispatching them directly.
11911 (mswindows_handle_paint): New function to do repainting.
11912 (mswindows_wnd_proc):
11913 (emacs_mswindows_handle_magic_event): Call above function.
11915 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11917 * objects-msw.c (mswindows_create_font_variant): Return the new
11919 (initialize_font_instance): Get font metrics from the underlined
11920 variant of the font to cope with the case where the underlined
11921 font has a bigger descent.
11923 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11925 * gui.c (gui_item_accelerator): Return the first underlined
11926 character in item name.
11928 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11930 * lisp.h: Added Qprinter.
11932 * general.c (syms_of_general): Initialized it.
11934 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11936 (get_frame_compdc): Made inline.
11938 * console.h (struct console_methods): Added eject_page method.
11940 * frame.h: Added FRAME_DISPLAY_P and friends.
11941 Aligned backslahes in many macros in more readable fashion.
11942 Added page_number to struct frame, and an accessor macro
11945 * defice.h: Added DEVICE_DISPLAY_P and friends.
11947 * device.c (Fdevice_printer_p): Used these.
11949 * frame.c (allocate_frame_core): Initialize page number.
11950 (Fprint_job_page_number):
11951 (Fprint_job_eject_page): Implemented.
11953 * frame-msw.c (msprinter_eject_page): Added method.
11954 (msprinter_start_page): Added.
11956 * window.c (Fwindow_truncated_p): Fixed docstring.
11957 (Fwindow_last_line_visible_height): Implemented.
11959 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11961 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11963 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11965 * syntax.c (scan_words): Always advance at least one character.
11967 2000-02-13 Andy Piper <andy@xemacs.org>
11969 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11970 to make sure the glyph is in the cachels.
11972 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11973 global image instance flag.
11974 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11975 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11977 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11978 (Fset_image_instance_property): mark layout as changed.
11979 (invalidate_glyph_geometry_maybe): mark layout as changed.
11980 (glyph_width): use new NEEDS_LAYOUT macro.
11981 (glyph_ascent): ditto.
11982 (glyph_descent): ditto.
11983 (glyph_height): ditto.
11984 (image_instance_layout): mark layout as clean after laying out.
11985 (update_subwindow): don't mark layout as clean here.
11987 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11988 should no longer be needed.
11990 * glyphs-x.c (x_update_widget): sanitize asserts.
11991 (x_finalize_image_instance): sanitize assignment to widgets.
11993 * glyphs-widget.c (widget_instantiate): don't need to clear the
11996 2000-02-13 Martin Buchholz <martin@xemacs.org>
11998 * sysdep.c (getcwd): Use standard prototype.
11999 * sysdep.h (getcwd): Use standard prototype.
12001 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
12002 (sequence, start, end).
12003 Remove redundant type checking.
12004 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
12005 view of `caller-protects') to avoid a crash where the real fix was
12008 2000-02-12 Martin Buchholz <martin@xemacs.org>
12010 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
12012 * s/sol2.h: Remove feature macro initialization.
12014 * alloc.c (alloc_lcrecord): Add more type checking assertions.
12015 (vector_hash): New. Code from internal_hash.
12017 Fix up allocation subsystem comments.
12019 * config.h.in: Add __EXTENSIONS__ for Solaris.
12021 * systime.h (EMACS_GETTIMEOFDAY): New.
12022 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
12023 Remove Solaris-specific code.
12024 Use void* for the (ignored) second arg for gettimeofday().
12026 * elhash.c (hash_table_hash): Implement it, finally.
12027 * elhash.c: Use hashcode_t.
12029 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
12030 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
12032 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
12033 * fns.c (size_bit_vector):
12034 * alloc.c (size_vector):
12035 (make_vector_internal):
12036 (make_bit_vector_internal):
12037 (sweep_bit_vectors_1):
12038 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
12040 2000-02-10 Martin Buchholz <martin@xemacs.org>
12042 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
12043 Include strings.h to avoid warnings for bzero and strcasecmp.
12045 2000-02-10 Olivier Galibert <galibert@pobox.com>
12047 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
12048 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
12050 * fns.c (size_bit_vector): New. Declare bit vectors as a
12053 2000-02-10 Olivier Galibert <galibert@pobox.com>
12055 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
12056 use a value field instead.
12057 (symbol_value_forward_forward): Use value field.
12058 (DEFVAR_SYMVAL_FWD): Use value field.
12059 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
12060 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
12061 (DEFVAR_CONST_INT): Ditto.
12062 (DEFVAR_BOOL): Ditto.
12063 (DEFVAR_CONST_BOOL): Ditto.
12064 (DEFVAR_INT_MAGIC): Ditto.
12065 (DEFVAR_BOOL_MAGIC): Ditto.
12067 * symbols.c (guts_of_unbound_marker): Use value field.
12068 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
12069 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
12071 * lisp.h: Declare dumpopaque and noninteractive1.
12073 * alloc.c (dumpopaque): Added.
12074 (pdump_dump_opaquevec): Added.
12075 (pdump): Call pdump_dump_opaquevec to dump opaque data.
12076 (pdump_load): Reload opaque data. Sync noninteractive1 with
12079 2000-02-10 Andy Piper <andy@xemacs.org>
12081 * glyphs.c (image_instance_layout): if the size changes, mark it
12084 * redisplay-output.c (redisplay_output_layout): Update the
12086 (redisplay_output_subwindow): ditto.
12088 * glyphs.c (update_subwindow): make sure we reset flags for
12089 layouts as well as everything else.
12091 * glyphs-widget.c (layout_layout): don't need to set the instances
12094 2000-02-09 Martin Buchholz <martin@xemacs.org>
12096 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
12097 not HAVE_DLOPEN, which is a lower-level thing.
12099 * .cvsignore: Ignore gmon.out
12101 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
12103 * .cvsignore: Ignore portable dumper xemacs.dmp file
12105 2000-02-09 Andy Piper <andy@xemacs.org>
12107 * redisplay-output.c (redisplay_output_layout): be more clever
12108 about when we output based on the changed flags.
12110 * glyphs.h (struct image_instantiator_methods): add update_method.
12111 (struct Lisp_Image_Instance): add changed flags. Declare new
12112 macros for manipulating them.
12114 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
12115 (image_instance_parent_glyph): find an image_instance's parent
12116 glyph or image_instance.
12117 (image_instance_layout): mark the size as changed.
12118 (set_image_instance_dirty_p): new function. mark an image
12119 instance, plus all of its parents, as dirty.
12120 (Fset_image_instance_property): use it.
12121 (Fglyph_animated_timeout_handler): use it.
12122 (update_subwindow): call update_widget and device methods for
12123 update_subwindow. Mark all changed flags as clean.
12124 (Fresize_subwindow): mark size as changed.
12126 * glyphs-x.c (x_finalize_image_instance): try and detect gc
12128 (x_update_subwindow): only resize subwindows here.
12129 (x_update_widget): new function. Update all changed properties of
12131 (x_resize_subwindow): deleted.
12132 (x_widget_set_property): deleted.
12133 (x_progress_gauge_set_property): deleted.
12134 (x_progress_gauge_update): new function. Implement recorded
12136 (x_tab_control_update): ditto.
12137 (x_tab_control_set_property): deleted.
12138 (console_type_create_glyphs_x): declare new functions.
12139 (image_instantiator_format_create_glyphs_x): ditto.
12141 * glyphs-widget.c (widget_set_property): mark text changed.
12142 (update_widget): new function. Update properties of a widget.
12143 (widget_instantiate): for layouts make sure we set their
12144 children's parent correctly.
12145 (tab_control_set_property): new function. Record changes that will
12146 take place under redisplay's control.
12147 (progress_gauge_set_property): ditto.
12148 (image_instantiator_progress_guage): declare new functions.
12149 (image_instantiator_tab_control): ditto.
12151 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
12153 (mswindows_update_widget): new function. Update all properties on
12154 a widget that have changed.
12155 (mswindows_button_update): new function. Update a button's set
12157 (mswindows_tab_control_update): new function. Update the items in
12159 (mswindows_tab_control_set_property): deleted.
12160 (mswindows_progress_gauge_update): new function. Update the
12161 progress gauge's progress.
12162 (mswindows_widget_set_property): deleted. This is all done
12163 asynchronously now.
12164 (mswindows_progress_gauge_set_property): ditto.
12165 (console_type_create_glyphs_mswindows): declare new methods.
12166 (image_instantiator_format_create_glyphs_mswindows): ditto.
12168 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
12169 (msprinter_set_frame_properties): ditto.
12171 * console.h (struct console_methods): Add update_widget_method.
12173 2000-02-09 Andy Piper <andy@xemacs.org>
12175 * gui-msw.c (Fmswindows_shell_execute): Make
12176 mswindows-shell-execute industrial strength.
12178 2000-02-08 Martin Buchholz <martin@xemacs.org>
12180 * lrecord.h: Make macro argument `props' match member function `plist'.
12183 * fns.c (Fremprop):
12184 * fns.c (Fobject_plist):
12187 Object property list frobbing cleanup.
12188 - Allow any lisp object (compared with `eq'), not just symbols, as
12189 keys in object plists.
12190 - Move symbol plist frobbing into symbols.c, where it belongs.
12191 - Move string plist frobbing into alloc.c, where it belongs.
12192 - Everything's an lrecord now, so no need to test for symbolp, etc.
12193 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
12195 * extents.c: Reorder code to remove declarations.
12197 * frame.h (store_in_alist): Remove useless declaration.
12199 2000-02-07 Martin Buchholz <martin@xemacs.org>
12201 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
12202 * config.h.in: Add HAVE_XCONVERTCASE.
12204 2000-02-07 Andy Piper <andy@xemacs.org>
12206 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
12207 it breaks many things.
12209 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12211 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
12212 actually can start a common comment type.
12213 * src/syntax.h (SYNTAX_END_P): ditto for end.
12215 2000-02-07 Martin Buchholz <martin@xemacs.org>
12217 * XEmacs 21.2.28 is released.
12219 2000-02-06 Martin Buchholz <martin@xemacs.org>
12221 * event-Xt.c (x_keysym_to_character): New.
12222 (maybe_define_x_key_as_self_inserting_character): New.
12223 (x_has_keysym): New.
12224 Auto-define all keys on the keyboard as self-insert-key.
12226 2000-02-02 Martin Buchholz <martin@xemacs.org>
12228 * menubar.c (vars_of_menubar): A small code simplification.
12230 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
12233 * ExternalClient.c:
12234 * EmacsShell-sub.c:
12237 Use consistent style for specifying X resources.
12239 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
12240 This makes (dontusethis-set-symbol-value-handler) actually usable.
12242 * lrecord.h (lrecord_decription_type):
12243 * alloc.c (pdump_register_sub):
12246 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
12247 Comply with XEmacs coding style.
12248 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
12249 args, and XD_LISP_OBJECT_ARRAY with 3 args.
12251 * keymap.c (Faccessible_keymaps):
12252 Make (accessible-keymaps map "\C-h") do the Right Thing.
12253 Make (accessible-keymaps map []) do the Right Thing.
12254 Make (accessible-keymaps map "") do the Right Thing.
12255 (check_keymap_definition_loop): New function.
12256 (keymap_store_internal): Keep luser from shooting self in foot,
12257 via (define-key ctl-x-4-map "p" global-map).
12258 Remove fullness slot from struct Lisp_Keymap, since hash tables
12260 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
12262 2000-01-30 Martin Buchholz <martin@xemacs.org>
12264 * redisplay.c (init_redisplay): Fix small memory leak.
12266 * elhash.c (pdump_reorganize_hash_table):
12267 Rename from reorganize_hash_table. Change prototype.
12268 Reuse the original memory for hentries. Save 100k.
12269 * alloc.c (PDUMP_READ): new macro.
12270 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
12271 * alloc.c: No need to #ifndef before #undef.
12273 * print.c: Allow debug_print() to print readably by modifying
12274 debug_print_readably. Use consistent variable names.
12276 * .dbxrc: Try to get things to work even if stopped in a function
12277 without source available by explicitly specifying source files.
12278 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12280 * unexnt.c (_start): Removed bogus code which caused loading heap
12281 from differrent executable file.
12282 Removed bogus assignment to _fmode, which caused inconsistencies.
12284 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12286 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
12287 Have spawnve encapsulation regard DONT_ENCAPSULATE.
12288 Do not preliminary `#define signal sigset'.
12290 * systime.h: Do not prototype environ on windows nt and cygwin,
12291 this conflicts with system header.
12293 * syssignal.h: Use correct define for WINDOWSNT
12295 * sysdep.h: Do not prototype environ on windows nt, this conflicts
12296 with system header.
12298 * sysdep.c (near start of file): Fixed commentary and rearranged
12299 ifdefs in readable order.
12300 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
12303 (end_of_data): Do not compile in if using PDUMP.
12305 * symsinit.h: Prototyped vars_of_nt().
12307 * ntproc.c (windows9x_p): Added, instead of os_subtype.
12308 (find_child_console): Use it.
12309 (sys_kill): Use it.
12311 * ntheap.h: Do not extern os_subtype.
12313 * ntheap.c (cache_system_info): Do not cache unneeded:
12314 nt_major_version, nt_minor_version and os_subtype.
12315 (recreate_heap): Do not compile in when PDUMPing.
12317 * nt.c (geteuid and friends): Use the new varibale
12318 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
12319 (init_user_info): Removed the above mentioned hackery.
12320 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
12321 stat has been fixed in the C runtime.
12322 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
12324 * file-coding.c (struct file_coding_dump): Do not define
12325 ucs_to_mule_table in the struct if not MULE.
12326 (struct struct lrecord_description fcd_description_1): Do not dump
12329 * emacs.c (main_1): Call vars_of_nt().
12330 (right before Fdump_emacs_data): Don't need lastfile if using both
12331 portabe dumper and system malloc.
12333 * alloc.c (Fmemory_limit): Conditionalized out.
12334 (pdump): Use OPEN_BINARY for the portable dump file.
12335 (pdump_load): Ditto.
12337 2000-02-02 Mike Alexander <mta@arbortext.com>
12339 * nt.c (convert_time): Set tm_isdst before calling mktime and
12340 avoid calling it at all if the compiler supports 64 bit integers.
12341 Also initialize utc_base_ft before using it.
12343 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
12345 * frame.c (change_frame_size_1): Take f->internal_border_width
12346 into consideration when calculating the width of the frame.
12348 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12350 * window.c (frame_min_height):
12351 (frame_size_valid_p):
12352 (frame_pixsize_valid_p): Added.
12353 (check_frame_size): Generalized.
12355 * window.h: Prototyped the above.
12358 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
12359 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
12360 Deleted Vwin32_* and Vbinary_process_* unused variables.
12362 * device-msw.c (msprinter_init_device): Do not get printer font
12363 list; Added DEVMODE functions.
12365 * frame-msw.c: Added lots of printer code.
12367 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
12370 * console-msw.h: Added more msprinter device private slots.
12372 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12374 * event-msw.c (key_needs_default_processing_p): Added.
12375 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
12377 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12379 * glyphs.c (image_instance_layout): Mark image instance as clean
12381 (glyph_dirty_p): Removed redundant function.
12382 (invalidate_glyph_geometry_maybe): Added.
12383 (update_glyph_cachel_data): Call it.
12385 * glyphs.h: Prototyped it.
12387 * redisplay.c (add_glyph_rune): Call it.
12388 (redisplay_window): Reset glyphs cachels when frame faces have
12389 changed, thus forcing recomputation of built-in border glyphs.
12391 2000-01-30 Martin Buchholz <martin@xemacs.org>
12393 * Makefile.in.in: Make portable dumper and purify play well together.
12394 Add imperfect, but better than nothing, support for pdump.
12395 Remove xemacs.dmp when temacs is re-generated.
12396 Don't ignore errors when dumping xemacs.
12398 * symbols.c (maybe_call_magic_handler): Remove one magic number.
12400 2000-01-28 Andy Piper <andy@xemacs.org>
12402 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
12403 (setup_normal_frame): ditto.
12404 (setup_frame_without_minibuffer): ditto.
12405 (setup_minibuffer_frame): ditto.
12406 (delete_frame_internal): ditto.
12407 (Fmake_frame_invisible): ditto.
12408 (Ficonify_frame): ditto.
12410 * window.h: change Fset_window_buffer signature.
12412 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12413 (Fset_window_buffer): allow recording of buffer if the window is
12414 the selected window.
12415 (window_loop): Use new Fset_window signature.
12417 2000-01-23 Daniel Pittman <daniel@danann.net>
12419 * config.h.in: Added template for `HAVE_ATHENA_3D'
12421 2000-01-29 Andy Piper <andy@xemacs.org>
12423 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12425 * gutter.c (output_gutter): Don't output if the window isn't live.
12427 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12429 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12430 of 01/12/00: Moved SetFocus back here where it belongs.
12432 2000-01-23 Andy Piper <andy@xemacs.org>
12434 * s/cygwin32.h: declare printer things.
12436 2000-01-26 Andy Piper <andy@xemacs.org>
12438 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12441 2000-01-24 Andy Piper <andy@xemacs.org>
12443 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12444 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12446 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12448 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12450 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12452 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12453 (mswindows_output_display_block): Avoid local shadows.
12455 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12456 (mswindows_enqueue_mouse_button_event): ditto.
12457 (mswindows_handle_gui_wm_command): remove declaration.
12459 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12462 * console-msw.h: Avoid shadows.
12463 (mswindows_get_toolbar_button_text):
12464 (emacs_mswindows_create_stream_pair):
12465 (emacs_mswindows_delete_stream_pair):
12466 (mswindows_handle_toolbar_wm_command): declare.
12468 * device-msw.c (build_syscolor_string): Avoid shadows.
12470 2000-01-23 Andy Piper <andy@xemacs.org>
12472 * glyphs-widget.c (widget_instantiate): reverse the items for
12473 layouts so that children are in the expected order.
12475 2000-01-28 Martin Buchholz <martin@xemacs.org>
12477 * ralloc.c: safe_bcopy ==> memmove
12478 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12479 * s/msdos.h: Remove BCOPY macros.
12480 * insdel.c (gap_right): Remove BCOPY conditional code.
12481 * insdel.c (gap_left): Remove BCOPY conditional code.
12482 XEmacs demands a working ANSI C compiler - hence memmove.
12484 * regex.c (regex_compile): Remove accidental use of trigraphs.
12486 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12488 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12491 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12493 * event-msw.c (mswindows_drain_windows_queue): Added the
12495 (mswindows_need_event): Commented the call to
12496 mswindows_drain_windows_queue().
12497 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12500 * console-msw.h: Moved a few function prototypes here from
12503 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12504 parameter from unsigned short to unsigned long.
12505 (Fmswindows_shell_execute): Added return value.
12507 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12509 * sysdep.c (init_system_name):
12510 process-unix.c (unix_canonicalized_host_name):
12511 Don't call freeaddrinfo() if getaddrinfo() fails.
12513 * process-unix.c (unix_open_unix_network_stream):
12514 Moved the code to get a port # into address loop.
12516 2000-01-27 Martin Buchholz <martin@xemacs.org>
12518 * buffer.c (reinit_vars_of_buffer):
12519 The right place to initialize conversion_in_dynarr and
12520 conversion_out_dynarr.
12522 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12524 * process-unix.c (unix_canonicalize_host_name): Muleize.
12525 (unix_open_network_stream): Muleize.
12527 * buffer.h: Fix up prototypes for ralloc.c functions.
12529 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12530 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12531 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12532 instead of gethostbyname()
12533 * process-unix.c: In unix_canonicalize_host_name() and
12534 unix_open_network_stream(), add code to use getaddrinfo()
12535 instead of gethostbyname().
12537 2000-01-27 Daniel Pittman <daniel@danann.net>
12539 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12540 libs when built with flat Athena.
12542 2000-01-27 Martin Buchholz <martin@xemacs.org>
12544 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12545 Use coding standards for function prototypes.
12547 2000-01-25 Martin Buchholz <martin@xemacs.org>
12549 * dialog-msw.c (push_lisp_string_as_unicode):
12550 * doc.c (unparesseuxify_doc_string):
12551 * dired.c (Fuser_name_completion_1):
12552 * dired.c (Fuser_name_all_completions):
12553 * dired.c (free_user_cache):
12554 * dired.c (user_name_completion):
12555 * console-x.c (get_display_arg_connection):
12556 * minibuf.c (clear_echo_area_internal):
12557 * minibuf.c (echo_area_append):
12558 * eldap.c (Fldap_open):
12559 * eldap.c (Fldap_search_internal):
12560 * frame-x.c (x_set_frame_text_value):
12561 * frame-x.c (x_set_frame_properties):
12562 * frame-x.c (x_create_widgets):
12563 * redisplay-tty.c (term_get_fkeys_1):
12564 * objects-x.c (x_parse_nearest_color):
12565 * objects-x.c (x_valid_color_name_p):
12566 * objects-x.c (x_initialize_font_instance):
12567 * objects-x.c (x_list_fonts):
12568 * objects-x.c (x_find_charset_font):
12569 * tooltalk.c (Fadd_tooltalk_message_arg):
12570 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12571 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12572 * process-unix.c (unix_create_process):
12573 * ntproc.c (sys_spawnve):
12574 * sound.c (Fplay_sound_file):
12575 * sound.c (Fplay_sound):
12576 * buffer.c (init_initial_directory):
12577 * buffer.c (init_buffer):
12578 * editfns.c (init_editfns):
12579 * editfns.c (Ftemp_directory):
12580 * editfns.c (Fuser_full_name):
12581 * editfns.c (uncache_home_directory):
12582 * editfns.c (get_home_directory):
12583 * editfns.c (Fuser_home_directory):
12584 * editfns.c (Fformat_time_string):
12585 * editfns.c (Fcurrent_time_string):
12586 * gui-x.c (button_item_to_widget_value):
12587 * database.c (Fopen_database):
12588 * event-Xt.c (x_to_emacs_keysym):
12589 * event-Xt.c (x_event_to_emacs_event):
12590 * event-Xt.c (describe_event_window):
12591 * event-msw.c (mswindows_wnd_proc):
12592 * glyphs-eimage.c (jpeg_instantiate):
12593 * glyphs-eimage.c (gif_instantiate):
12594 * glyphs-eimage.c (png_instantiate):
12595 * glyphs-eimage.c (tiff_instantiate):
12596 * glyphs-x.c (xbm_instantiate_1):
12597 * glyphs-x.c (x_xbm_instantiate):
12598 * glyphs-x.c (x_xface_instantiate):
12599 * glyphs-x.c (autodetect_instantiate):
12600 * glyphs-x.c (cursor_font_instantiate):
12601 * glyphs-x.c (x_widget_instantiate):
12602 * glyphs-x.c (x_widget_set_property):
12603 * glyphs-x.c (x_widget_property):
12604 * glyphs-x.c (BUILD_GLYPH_INST):
12605 * print.c (write_string_to_stdio_stream):
12606 * print.c (output_string):
12607 * print.c (Falternate_debugging_output):
12608 * print.c (Fexternal_debugging_output):
12609 * glyphs-msw.c (extract_xpm_color_names):
12610 * glyphs-msw.c (mswindows_xpm_instantiate):
12611 * glyphs-msw.c (bmp_instantiate):
12612 * glyphs-msw.c (resource_name_to_resource):
12613 * glyphs-msw.c (mswindows_resource_instantiate):
12614 * glyphs-msw.c (xbm_instantiate_1):
12615 * glyphs-msw.c (mswindows_xbm_instantiate):
12616 * glyphs-msw.c (mswindows_xface_instantiate):
12617 * glyphs-msw.c (mswindows_widget_instantiate):
12618 * glyphs-msw.c (add_tree_item):
12619 * glyphs-msw.c (add_tab_item):
12620 * glyphs-msw.c (mswindows_combo_box_instantiate):
12621 * glyphs-msw.c (mswindows_widget_property):
12622 * glyphs-msw.c (mswindows_combo_box_property):
12623 * glyphs-msw.c (mswindows_widget_set_property):
12624 * console.c (stuff_buffered_input):
12625 * objects-msw.c (mswindows_initialize_color_instance):
12626 * objects-msw.c (mswindows_valid_color_name_p):
12627 * objects-msw.c (mswindows_list_fonts):
12628 * objects-msw.c (mswindows_font_instance_truename):
12629 * bytecode.c (optimize_compiled_function):
12630 * select-x.c (symbol_to_x_atom):
12631 * select-x.c (x_atom_to_symbol):
12632 * select-x.c (hack_motif_clipboard_selection):
12633 * select-x.c (selection_data_to_lisp_data):
12634 * select-x.c (lisp_data_to_selection_data):
12635 * select-x.c (Fx_get_cutbuffer_internal):
12636 * select-x.c (Fx_store_cutbuffer_internal):
12637 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12638 * buffer.h (TO_INTERNAL_FORMAT): New function.
12639 * emacs.c (make_arg_list_1):
12640 * emacs.c (make_argc_argv):
12641 * emacs.c (main_1):
12642 * emacs.c (Fdump_emacs):
12643 * emacs.c (split_string_by_emchar_1):
12648 * device-x.c (x_init_device):
12649 * device-x.c (Fx_valid_keysym_name_p):
12650 * device-x.c (Fx_get_font_path):
12651 * device-x.c (Fx_set_font_path):
12652 * glyphs.c (bitmap_to_lisp_data):
12653 * glyphs.c (pixmap_to_lisp_data):
12654 * alloc.c (make_ext_string): Use coding system arguments. Update
12656 * alloc.c (build_string):
12657 * callproc.c (child_setup):
12658 * callproc.c (init_callproc):
12659 * fileio.c (lisp_strerror):
12660 * fileio.c (directory_file_name):
12661 * fileio.c (Fexpand_file_name):
12662 * fileio.c (Ffile_truename):
12663 * fileio.c (Fsysnetunam):
12664 * fileio.c (Fdo_auto_save):
12665 * sysdep.c (sys_readdir):
12666 * tests.c: New file. Allow adding C tests.
12667 Replace GET_* macros with a more comprehensible and flexible
12668 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12670 Any coding system can be used to do format conversion.
12671 Eliminate enum external_data_format.
12672 Eliminate convert_to_external_format.
12673 Eliminate convert_to_internal_format.
12674 Make sure file-name, keyboard, terminal, and ctext are always
12675 defined as coding systems or aliases. Make
12676 file-name-coding-system, terminal-coding-system, and
12677 keyboard-coding-system magical variables that are equivalent to
12678 defining the corresponding coding system aliases.
12680 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12681 * file-coding.c (Fcoding_system_alias_p): New function.
12682 * file-coding.c (Fcoding_system_aliasee): New function.
12683 * file-coding.c (append_suffix_to_symbol): New function.
12684 * file-coding.c (dangling_coding_system_alias_p): New function.
12685 * file-coding.c (Ffind_coding_system):
12686 * file-coding.c (Fcopy_coding_system):
12687 * file-coding.c (encode_coding_no_conversion):
12688 * file-coding.c (syms_of_file_coding):
12689 * file-coding.c (vars_of_file_coding):
12690 Rewrite coding system alias code.
12691 Allow nested aliases, like symbolic links.
12692 Allow redefinition of coding system aliases.
12693 Prevent existence of dangling coding system aliases.
12695 * dired.c (Fuser_name_completion_1):
12696 * dired.c (Fuser_name_all_completions):
12697 A crash would happen if user did QUIT in the middle of building
12698 user_name_cache. Remove redundant code in mainline and unwind_protect.
12701 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12703 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12704 an unsigned char *. Update all callers.
12706 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12708 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12710 2000-01-25 Martin Buchholz <martin@xemacs.org>
12712 * elhash.c (hentry_description): Use more portable definition.
12713 (resize_hash_table): Initialize new hentries using
12714 xnew_array_and_zero, thereby simplifying the code.
12716 * mule-charset.c (make_charset): Make sure entire object is
12717 initialized, to avoid Purify warnings.
12719 * alloc.c (resize_string): Fix unlikely crash with big strings.
12721 2000-01-24 Martin Buchholz <martin@xemacs.org>
12723 * realpath.c (xrealpath):
12724 Don't call getwd().
12726 2000-01-25 Martin Buchholz <martin@xemacs.org>
12728 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12730 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12732 * unexelfsgi.c (unexec): Change the way we decide which segment
12733 should be extended.
12735 Assumption that .bss section should be outside the PT_LOADable
12736 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12737 it's present) is inside the 'data' segment. This would fail the
12738 test which was used to find a segment to grow and cover new
12739 heap. Instead of this assumption, I created another one - on IRIX
12740 the segment to grow should start below .bss and it's address
12741 should extent above the end of .bss. Once this segment is
12742 identified, it's grown to accommodate the new heap and new
12743 zero-length .bss section is added at the end of .data2.
12745 2000-01-25 Martin Buchholz <martin@xemacs.org>
12747 * eval.c (Feval): Wrong number of arguments should use original
12748 function, not the indirect_function version of it.
12750 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12752 * glyphs-x.c (x_button_instantiate): Don't add image if
12753 it is not a pixmap.
12754 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12757 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12759 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12761 (DEFVAR_INT_MAGIC): Ditto.
12762 (DEFVAR_BOOL_MAGIC): Ditto.
12763 * glyphs.h: Reindent backslash.
12765 2000-01-24 Martin Buchholz <martin@xemacs.org>
12767 * glyphs-widget.c (layout_query_geometry):
12768 (layout_layout): Use correct types for gheight, gwidth.
12770 2000-01-24 Martin Buchholz <martin@xemacs.org>
12772 * EmacsManager.c (QueryGeometry): Purified.
12774 2000-01-23 Martin Buchholz <martin@xemacs.org>
12776 * alloc.c (make_float): Make sure entire object is initialized, to
12777 avoid Purify warnings.
12778 (pdump_register_sub): Remove useless assignment.
12779 (pdump): Use xmalloc, not malloc.
12780 (pdump_load): Use xmalloc, not malloc.
12782 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12789 * sysdep.c: Removed redundant #include <windows.h>
12791 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12793 * frame.c (delete_frame_internal): Do not delete device when its
12794 implementation so declares.
12795 (delete_frame_internal): Set device selected frame to nil when
12796 last frame goes away.
12798 * device-msw.c (msprinter_device_system_metrics): Implemented.
12799 (mswindows_device_system_metrics): Added 'device-dpi property.
12801 * device.c: (Fdevice_printer_p): Added.
12802 Added 'offset-workspace device metric.
12804 * console.h (device_metrics): Declared DM_offset_workspace.
12806 2000-01-23 Martin Buchholz <martin@xemacs.org>
12808 * fileio.c (Ffile_truename): Remove pointless and confusing
12809 initialization of elen.
12811 * glyphs-widget.c: Compiler warning fixes.
12813 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12815 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12816 instead of a Lisp_Object as argument to make it consistent with
12817 the other LIVE_P macros.
12818 (CHECK_LIVE_PROCESS): New macro.
12820 * process.c: Declare Qprocess_live_p.
12821 (Fprocess_live_p): New function.
12822 (create_process): Use PROCESS_LIVE_P.
12823 (read_process_output): Ditto.
12824 (set_process_filter): Ditto.
12825 (Fdelete_process): Ditto.
12826 (kill_buffer_processes): Ditto
12827 (process_send_signal): Use CHECK_LIVE_PROCESS.
12828 (Fprocess_input_coding_system): Check whether process is still
12829 alive (fix PR#1061).
12830 (Fprocess_output_coding_system): Ditto.
12831 (Fprocess_coding_system): Ditto.
12832 (Fset_process_input_coding_system): Ditto.
12833 (Fset_process_output_coding_system): Ditto.
12835 2000-01-23 Andy Piper <andy@xemacs.org>
12837 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12840 * glyphs.c (mark_image_instance): take into account changed
12841 image_instance format.
12842 (image_instance_equal): ditto.
12843 (image_instance_hash): ditto.
12845 * glyphs-widget.c (widget_instantiate): Incorporate layout
12846 instantiation here. Delay layout of the layout until later.
12847 (layout_instantiate): deleted.
12848 (layout_query_geometry): new function. get the geometry of a
12850 (layout_layout): layout a layout dynamically.
12851 (image_instantiator_widget): New function - splitting up
12852 image_instantiator_format_create_glyphs_widget for netwinder
12854 (image_instantiator_buttons):
12855 (image_instantiator_edit_fields):
12856 (image_instantiator_combo_box):
12857 (image_instantiator_scrollbar):
12858 (image_instantiator_progress_guage):
12859 (image_instantiator_tree_view):
12860 (image_instantiator_tab_control):
12861 (image_instantiator_labels):
12862 (image_instantiator_layout): ditto.
12863 (image_instantiator_format_create_glyphs_widget): Call preceding
12866 2000-01-22 Martin Buchholz <martin@xemacs.org>
12868 * process.c (Fset_process_coding_system):
12869 * device-x.c (Fx_keysym_hash_table):
12872 * lstream.c (Lstream_write): Return documented value, not 0.
12874 * fileio.c (directory_file_name):
12875 (Fsubstitute_in_file_name):
12876 (Fsubstitute_insert_file_contents_internal):
12877 (Fwrite_region_internal):
12882 Remove vestigial APOLLO-conditional code.
12884 2000-01-21 Martin Buchholz <martin@xemacs.org>
12886 * getpagesize.h: Add guard macros.
12887 * libsst.h: Add guard macros.
12888 * libst.h: Add guard macros.
12889 * line-number.h: Add guard macros.
12890 * ndir.h: Add guard macros.
12891 * sysfloat.h: Add guard macros.
12892 * sysfile.h: Add guard macros.
12893 * sysproc.h: Add guard macros.
12894 * syswait.h: Add guard macros.
12895 * xintrinsic.h: Add guard macros.
12896 * xintrinsicp.h: Add guard macros.
12897 * xmmanager.h: Add guard macros.
12898 * xmmanagerp.h: Add guard macros.
12899 * xmprimitive.h: Add guard macros.
12900 * xmu.h: Add guard macros.
12901 * gpmevent.h: Add copyright statement. Add guard macros.
12902 * miscplay.h: Add guard macros.
12903 * *.h: Use consistent C-standards-approved guard macro names.
12905 * opaque.c (make_opaque): Switch parameter order.
12906 * opaque.h (make_opaque): Switch parameter order.
12907 Update all callers.
12908 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12910 * config.h.in (type_checking_assert): Added.
12911 (bufpos_checking_assert): Added.
12913 2000-01-21 Martin Buchholz <martin@xemacs.org>
12915 * alloc.c: Harmless pdump changes.
12917 - spell alignment correctly.
12918 * sysdep.c: Use countof()
12920 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12922 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12923 initially_selected_for_input() console method, default to 0.
12924 (semi_canonicalize_console_connection): Try to delegate to
12925 canonicalize_console_connection if no such console method.
12926 (canonicalize_console_connection): Vice versa.
12927 (print_console): Do not print nil connection.
12929 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12930 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12931 (XDEVIMPF_FRAMELESS_OK): Added.
12932 (CONSOLE_INHERITS_METHOD): Added.
12934 * console-msw.c (mswindows_canonicalize_console_connection):
12936 (mswindows_canonicalize_device_connection): Added.
12938 * console-msw.h (struct msprinter_device): Added this struct and
12940 (mswindows_device): Made fontlist a lisp object.
12942 * device.c (semi_canonicalize_device_connection): Try to delegate
12943 to canonicalize_device_connection if no such console method.
12944 (canonicalize_device_connection): Vice versa.
12945 (print_device): Do not print nil connection.
12947 * device-msw.c (mswindows_init_device): Call InitCommonControls
12949 (mswindows_delete_device): Removed fontlist deallocation.
12950 (mswindows_mark_device): Added.
12952 * events.c (event_equal): Added abort() at unreached code.
12953 (event_hash): Ditto.
12955 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12956 fallback tags of Windows devices.
12958 * general.c (syms_of_general): Initialized Qmsprinter.
12960 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12961 of fallback tags of Windows devices.
12963 * lisp.h: Declared Qmsprinter.
12965 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12967 (mswindows_list_fonts): Ditto.
12968 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12969 that it can be used by both mswindows and msprinter devices.
12970 (initialize_font_instance): Added.
12971 (mswindows_initialize_font_instance): Use it.
12972 (msprinter_initialize_font_instance): Added.
12974 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12975 and implementation flags check.
12976 (redisplay_without_hooks): Changed the call to the above.
12977 (Fredraw_device): Ditto.
12978 (Fredisplay_device): Ditto.
12980 * redisplay-msw.c (get_frame_dc): Implemented.
12981 (get_frame_compdc): Implemented.
12982 (many functions): Use the two functions above to get device
12983 contexts, ether for a window or a printer.
12985 2000-01-21 Olivier Galibert <galibert@pobox.com>
12987 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12988 initialization here.
12989 (init_symbols_once_early): Call it.
12990 * emacs.c (main_1): Call it.
12991 * symsinit.h: Declare it.
12993 2000-01-19 Olivier Galibert <galibert@pobox.com>
12995 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12997 (pdump_backtrace): Ditto.
12998 (pdump_register_object): Ditto. Cleanup use of the pointers.
12999 (pdump_get_entry): Abort if trying to register a null pointer.
13000 (pdump_dump_data): Cleanup types when relocating.
13001 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
13002 (pdump_dump_rtables): Remove bad casts.
13003 (pdump_load): Cleanup relocation w.r.t union type. Use a
13004 Lisp_Object instead of a EMACS_INT for the hashtable
13007 2000-01-20 Martin Buchholz <martin@xemacs.org>
13009 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
13011 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
13013 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
13015 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
13017 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13019 * faces.h (FACE_STRIKETHRU_P): Added.
13021 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
13024 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
13025 (mswindows_set_dc_font): New function, aware of font variants,
13026 separated from mswindows_update_dc.
13028 * objects-msw.h (struct mswindows_font_instance_data): Added
13031 * objects-msw.c (mswindows_finalize_font_instance): Delete all
13032 cached fonts and the data structure.
13033 (mswindows_initialize_font_instance): Added creation of font data
13035 (mswindows_print_font_instance): Print at least something.
13036 (mswindows_create_font_variant): Implemented.
13037 (mswindows_get_hfont): Implemented.
13039 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
13041 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
13042 prototyping problem with msvc.
13044 * emacs.c (main_1): added syms_of_gui_mswindows() call
13046 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
13047 syms_of_gui_mswindows() function
13049 * symsinit.h: added the prototype for syms_of_gui_mswindows()
13051 2000-01-18 Martin Buchholz <martin@xemacs.org>
13053 * XEmacs 21.2.27 is released.
13055 2000-01-18 Martin Buchholz <martin@xemacs.org>
13057 * glyphs-eimage.c (struct tiff_error_struct):
13059 (tiff_warning_func):
13060 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
13065 * unexec.c: Remove vestigial Lucid C code.
13069 * libsst.c: Ansify.
13070 Remove declarations of errno and strerror().
13072 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
13074 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
13076 2000-01-16 Martin Buchholz <martin@xemacs.org>
13078 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
13081 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13086 Change enum eol_type to eol_type_t.
13088 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13090 * gui.c (get_gui_callback): Check cons before accessing car.
13092 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13094 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
13095 (XSETSPECIFIER_TYPE): Ditto.
13097 2000-01-17 Didier Verna <didier@xemacs.org>
13099 * redisplay.c (generate_fstring_runes): compute string size in
13100 characters, not bytes.
13102 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
13104 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
13106 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
13108 * print.c (print_error_message): Call print_prepare().
13110 2000-01-14 Martin Buchholz <martin@xemacs.org>
13112 * .dbxrc: Renamed from dbxrc.
13114 * events.c (event_to_character):
13115 Use `assert (foo)' instead of `if (!foo) abort()'
13117 * .gdbinit (xtype): Add documentation.
13118 * .gdbinit (check-temacs): New function.
13119 * .gdbinit (check-xemacs): New function.
13120 * dbxrc (check-xemacs): New function.
13121 * dbxrc (check-xemacs): New function.
13123 2000-01-14 Andy Piper <andy@xemacs.org>
13125 * glyphs-widget.c (widget_query_geometry): Make sure that we
13126 calculate default dimensions correctly.
13128 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13130 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
13132 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
13133 pdump_wire'd variable.
13135 * emacs.c: (main_1): Conditionalized calls to
13136 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
13138 2000-01-13 Martin Buchholz <martin@xemacs.org>
13140 * window.c (Fset_window_configuration):
13141 * sysdep.c (_start):
13142 * input-method-motif.c (res):
13143 * event-Xt.c (Xt_process_to_emacs_event):
13144 Simple compiler warning fixes.
13146 * bytecode.c (funcall_compiled_function): Use the original
13147 function symbol on the backtrace list in preference to the
13148 compiled_function object in error messages.
13150 2000-01-13 Andy Piper <andy@xemacs.org>
13152 * glyphs-x.c (update_widget_face): Make sure we update the widget
13153 background as well as foreground.
13155 2000-01-13 Andy Piper <andy@xemacs.org>
13157 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
13158 fields to subwindow.
13159 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
13160 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
13161 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
13162 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
13164 * glyphs-widget.c (check_valid_tab_orientation): new function.
13165 (initialize_widget_image_instance): zero orientation and
13167 (widget_instantiate): pick up orientation.
13168 (tab_control_query_geometry): return appropriate values for
13171 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
13172 appropriate creation flags for left, right and bottom tabs.
13174 * s/cygwin32.h: add tab definitions.
13176 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13178 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
13179 frame upon hiding a subwindow.
13180 (mswindows_button_instantiate): Changed the push button style to
13182 (mswindows_button_instantiate): Removed button BS_NOTIFY
13184 (mswindows_button_instantiate): Removed redundant check for
13185 a disabled gui item.
13186 (mswindows_button_instantiate): Made use of WS_TABSTOP
13187 consistent: "operable" controls (edit, button, tree, scroll) have
13188 this style, "display-only" ones (static, progress gauge) do
13189 not. This style is currently ignored by XEmacs though. Also,
13190 removed the WS_EX_CONTROLPARENT style - it is not for children,
13191 it is for their parents!
13192 (mswindows_edit_field_instantiate): Ditto.
13193 (mswindows_progress_gauge_instantiate): Ditto.
13194 (mswindows_tree_view_instantiate): Ditto.
13195 (mswindows_tab_control_instantiate): Ditto.
13196 (mswindows_scrollbar_instantiate): Ditto.
13197 (mswindows_combo_box_instantiate): Ditto.
13198 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
13199 style to the "clip" window.
13200 (mswindows_button_instantiate): Removed compilation warning by
13201 equally typing terms of the ?: operator.
13203 2000-01-12 Didier Verna <didier@xemacs.org>
13205 * redisplay.c (generate_fstring_runes): new parameter holding the
13206 last modeline-format extent.
13207 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
13208 extent, fill the glyph block with it.
13209 (generate_fstring_runes): handle these parameters.
13210 (generate_formatted_string_db): ditto.
13212 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
13213 glyphs'extents in the modeline.
13215 1999-01-11 Mike Woolley <mike@bulsara.com>
13217 * ntheap.c: Reduced the reserved heap space from 1Gb down to
13218 256Mb, as a workaround for the non-starting problem many people
13221 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13223 * console-tty.c (Fset_console_tty_output_coding_system):
13224 Force redrawing tty frame.
13226 2000-01-10 Didier Verna <didier@xemacs.org>
13228 * redisplay.c (generate_fstring_runes): fix size computation bug.
13230 2000-01-09 William M. Perry <wmperry@aventail.com>
13232 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
13234 2000-01-09 Andy Piper <andy@xemacs.org>
13236 * glyphs-msw.c: index -> i to avoid shadows.
13237 (xbm_create_bitmap_from_data): make static.
13238 (check_valid_string_or_int): deleted.
13239 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
13241 * glyphs-x.c (x_update_subwindow): remove unused args.
13243 * glyphs.c (glyph_image_instance): return the thing. Don't set the
13244 back pointer - this is done in allocate_image_instance.
13245 (query_string_font): return Qnil to make the compiler happy.
13246 (unmap_subwindow): set to ~0 to make the compiler happy.
13247 (glyph_query_geometry): comment out until used.
13248 (glyph_layout): ditto.
13250 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
13252 * insdel.c (signal_after_change): Remove extraneous unbind_to().