1 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
3 * emacs.c (Vutf_2000_lisp_directory): New variable.
4 (Vconfigure_utf_2000_lisp_directory): Likewise.
5 (complex_vars_of_emacs): Add new variable
6 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
8 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
10 * char-ucs.h (DECODE_CHAR): Delete special code for
11 `chinese-big5-1' and `chinese-big5-2'.
13 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
15 (decode_defined_char): Support CONVERSION_BIG5_1 and
17 (decode_builtin_char): Likewise.
18 (charset_code_point): Likewise.
19 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
20 'conversion in UTF-2000.
21 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
22 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
23 `chinese-big5-2' as children of `chinese-big5'.
25 * char-ucs.h (CONVERSION_BIG5_1): New macro.
26 (CONVERSION_BIG5_2): New macro.
28 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
30 * text-coding.c (char_encode_big5): Support entity-reference.
32 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
34 * text-coding.c (char_encode_as_entity_reference): New function.
35 (char_encode_utf8): Use `char_encode_as_entity_reference'.
37 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
39 * text-coding.c (decode_coding_big5): Support entity-reference
42 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
44 * text-coding.c (allocate_coding_system): Initialize initial
45 charsets for CODESYS_UTF8.
46 (Fmake_coding_system): Accept charset-g0, charset-g1 and
47 charset-g2 for CODESYS_UTF8.
48 (decode_coding_utf8): Use charset-g0.
49 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
50 to force variants to map to UCS.
52 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
54 * text-coding.c (Qutf_8_mcs): New variable.
55 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
56 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
57 instead of `utf-8' in UTF-2000.
59 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
61 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
62 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
63 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
64 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
65 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
66 CONVERSION_96x96x96x96 are introduced.
67 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
68 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
69 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
71 * char-ucs.h (CONVERSION_94): New macro.
72 (CONVERSION_96): New macro.
73 (CONVERSION_94x94): New macro.
74 (CONVERSION_96x96): New macro.
75 (CONVERSION_94x94x94): New macro.
76 (CONVERSION_96x96x96): New macro.
77 (CONVERSION_94x94x94x60): New macro.
78 (CONVERSION_94x94x94x94): New macro.
79 (CONVERSION_96x96x96x96): New macro.
81 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
83 * chartab.c (Vcharacter_variant_table): Deleted.
84 (Fchar_variants): Use character-attribute `->ucs-variants' instead
85 of `Vcharacter_variant_table'.
86 (Fput_char_attribute): Likewise.
87 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
88 (complex_vars_of_chartab): Likewise.
90 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
92 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
94 * fns.c (Qideographic_structure): New variable.
95 (Qkeyword_char): New variable.
96 (ids_format_unit): New function.
97 (Fideographic_structure_to_ids): New function.
98 (syms_of_fns): Add new symbols `ideographic-structure' and
99 `:char'; add new builtin function `ideographic-structure-to-ids'.
101 * data.c (Fchar_ref_p): New function.
102 (syms_of_data): Add new builtin function `char-ref-p'.
104 * chartab.h: Add an EXFUN for `Ffind_char'.
106 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
108 * text-coding.c (Vcharacter_composition_table): Deleted.
109 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
112 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
114 (Vcharacter_composition_table): Deleted.
115 (Fget_composite_char): Use the implementation for external-DB
116 support in every UTF-2000.
117 (Fput_char_attribute): Likewise.
118 (char_attribute_system_db_file): Don't define if external-DB
119 feature is not available.
120 (Fsave_char_attribute_table): Likewise.
121 (Fmount_char_attribute_table): Likewise.
122 (Fclose_char_attribute_table): Likewise.
123 (Freset_char_attribute_table): Likewise.
124 (Fload_char_attribute_table): Likewise.
125 (syms_of_chartab): Don't define `save-char-attribute-table',
126 `mount-char-attribute-table', `reset-char-attribute-table',
127 `close-char-attribute-table' and `load-char-attribute-table' if
128 external-DB feature is not available.
129 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
131 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
133 * text-coding.c (Qcomposition): Add extern if external-DB feature
135 (Vcharacter_composition_table): Don't add extern if external-DB
136 feature is supported.
137 (COMPOSE_ADD_CHAR): Modify for new data-representation of
138 character composition rule if external-DB feature is supported.
140 * chartab.c (Vcharacter_composition_table): Don't define if
141 external-DB feature is supported.
142 (Qcomposition): New variable.
143 (Fget_composite_char): New implementation for external-DB support.
144 (Fput_char_attribute): Use `composition' property of each
145 character instead of `Vcharacter_composition_table' to store
146 character-composition rules if external-DB feature is supported.
147 (syms_of_chartab): Add new symbol `composition'.
148 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
149 external-DB feature is supported.
151 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
153 * chartab.c (Vchar_db_stingy_mode): New variable.
154 (load_char_attribute_maybe): Close database if
155 Vchar_db_stingy_mode is not NIL.
156 (Fload_char_attribute_table_map_function): Use
157 `get_char_id_table_0' instead of `get_char_id_table'.
158 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
160 * chartab.h (get_char_id_table_0): New inline function.
161 (get_char_id_table): Use `get_char_id_table_0'.
163 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
165 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
166 and `COMPOSE_ADD_CHAR'.
167 (decode_coding_iso2022): Use `decode_flush_er_chars'.
169 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
171 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
172 instead of `DECODE_ADD_UCS_CHAR'.
173 (COMPOSE_ADD_CHAR): Likewise.
175 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
177 * text-coding.c (decode_flush_er_chars): New inline function.
178 (decode_add_er_char): New function.
179 (decode_coding_utf8): Use `decode_flush_er_chars' and
180 `decode_add_er_char'.
182 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
184 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
185 done before `decode_output_utf8_partial_char'.
187 * mule-charset.c (complex_vars_of_mule_charset): Specify
188 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
189 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
191 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
193 * mule-charset.c (decode_defined_char): New function; search
195 (decode_builtin_char): Don't search mother if
196 XCHARSET_MAX_CODE(charset) == 0.
197 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
198 == 0 even if code >= XCHARSET_MAX_CODE(charset).
199 (Fdecode_char): Use `decode_defined_char' instead of
200 `DECODE_DEFINED_CHAR'.
201 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
202 mother of `Vcharset_ucs_jis'.
204 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
205 instead of `DECODE_DEFINED_CHAR'.
207 * char-ucs.h (decode_defined_char): Renamed from
208 `DECODE_DEFINED_CHAR'; changed to normal function.
209 (DECODE_CHAR): Use `decode_defined_char' instead of
210 `DECODE_DEFINED_CHAR'.
212 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
214 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
216 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
218 * text-coding.c (Vcoded_charset_entity_reference_alist): New
220 (Quse_entity_reference): New variable.
224 (coding_system_description): Add description for
226 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
227 (allocate_coding_system): Initialize `ccs_priority_list' in
229 (Fmake_coding_system): Add description about
230 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
232 (Fcoding_system_property): Accept `disable-composition' and
233 `use-entity-reference' in UTF-2000.
234 (struct decoding_stream): Add new member `er_counter' and `er_buf'
236 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
237 (decode_coding_utf8): Decode entity-reference if
238 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
239 (char_encode_utf8): Encode non-Unicode characters as
240 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
242 (syms_of_file_coding): Add new symbols `use-entity-reference',
244 (vars_of_file_coding): Add new variable
245 `coded-charset-entity-reference-alist'.
246 (complex_vars_of_file_coding): Declare `disable-composition' and
247 `use-entity-reference' to be coding-system-properties in UTF-2000.
249 * file-coding.h (struct Lisp_Coding_System): Add new member
250 `use_entity_reference' and `ccs_priority_list'.
251 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
252 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
253 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
255 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
257 * chartab.c (save_uint8_byte_table): Don't clear the table.
258 (save_uint16_byte_table): Likewise.
259 (save_byte_table): Likewise.
260 (Fmount_char_attribute_table): New function.
261 (syms_of_chartab): Add new builtin function
262 `mount-char-attribute-table'.
264 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
266 * mule-charset.c (Fsave_charset_mapping_table): Open database as
268 (load_char_decoding_entry_maybe): Open database as read-only mode.
270 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
271 open database as "w+" mode.
272 (load_char_attribute_maybe): Open database as read-only mode.
273 (Fload_char_attribute_table): Likewise.
275 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
277 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
278 (char_table_description): Delete member `db_file'.
279 (Fmake_char_table): Don't refer `ct->db_file'.
280 (Fcopy_char_table): Likewise.
281 (Fsave_char_attribute_table): Likewise.
282 (Fclose_char_attribute_table): Likewise.
283 (Freset_char_attribute_table): Likewise.
284 (load_char_attribute_maybe): Likewise.
285 (Fload_char_attribute_table): Likewise.
287 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
289 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
291 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
292 (Fsave_char_attribute_table): Don't check `ct->db_file' if
294 (load_char_attribute_maybe): Likewise.
295 (Fload_char_attribute_table): Likewise.
297 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
299 * chartab.c (Fclose_char_attribute_table): Set Qnil on
300 `ct->db_file' unconditionally.
302 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
304 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
306 (char_table_description): Add description for `db_file' and `db'
308 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
310 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
311 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
312 (Fclose_char_attribute_table): New function.
313 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
314 (load_char_attribute_maybe): Change interface; use `cit->db_file'
316 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
317 (syms_of_chartab): Add new builtin function
318 `Fclose_char_attribute_table'.
320 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
322 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
324 (load_char_attribute_maybe): Change interface.
325 (get_char_id_table): Modify for `load_char_attribute_maybe'.
327 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
329 * database.h: Add an EXFUN for `Fdatabase_live_p'.
331 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
333 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
334 instead of `DECODE_CHAR' for mother; don't use special code for
335 chinese-big5 to use code space of chinese-big5-1 and
337 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
338 `MAX_CHAR_BIG5_CDP' for chinese-big5.
340 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
341 (MAX_CHAR_BIG5_CDP): Revival.
343 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
345 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
346 the XLFD registry-encoding name of `chinese-big5'.
348 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
350 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
351 (Qchinese_big5_cdp): Deleted.
352 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
353 (complex_vars_of_mule_charset): Delete coded-charset
356 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
357 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
358 `CHARSET_ID_OFFSET - n' for private CCS.
359 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
360 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
361 of `MIN_LEADING_BYTE'.
362 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
363 `(CHARSET_ID_OFFSET - 97)'.
364 (MIN_CHAR_BIG5_CDP): Deleted.
365 (MAX_CHAR_BIG5_CDP): Deleted.
367 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
369 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
371 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
373 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
374 (vars_of_mule): Add new variable `utf-2000-version' [moved from
377 * chartab.c (Vutf_2000_version): Moved to mule.c.
378 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
380 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
382 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
383 when HAVE_CHISE_CLIENT is not defined.
385 * mule.c (vars_of_mule): Provide feature `chise' when
386 HAVE_CHISE_CLIENT is defined.
388 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
390 * config.h.in (UTF2000): Add comment.
391 (HAVE_CHISE_CLIENT): New macro.
393 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
395 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
397 (Fput_char_attribute): Likewise.
398 (char_attribute_system_db_file): Encode file-name of attribute.
399 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
402 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
404 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
405 (Fsave_charset_mapping_table): Use
406 `char_attribute_system_db_file'.
407 (load_char_decoding_entry_maybe): Likewise.
409 * chartab.h (Qsystem_char_id): New external variable.
410 (char_attribute_system_db_file): New prototype.
412 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
413 (char_attribute_system_db_file): New function.
414 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
415 (Freset_char_attribute_table): Likewise.
416 (load_char_attribute_maybe): Likewise.
417 (Fload_char_attribute_table): Likewise.
418 (syms_of_chartab): Add new symbol `system-char-id'.
420 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
422 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
423 `XCHARSET_GRAPHIC(ccs)'.
425 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
427 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
429 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
431 * chartab.c (Q_ucs_variants): New variable.
432 (syms_of_chartab): Add new symbol `->ucs-variants'.
433 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
434 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
435 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
437 * mule-charset.c (load_char_decoding_entry_maybe): New function.
439 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
440 `HAVE_DATABASE' is defined.
441 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
442 `HAVE_DATABASE' is defined.
444 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
446 * chartab.c (Fsave_char_attribute_table): Don't clear internal
448 (Freset_char_attribute_table): New function.
449 (syms_of_chartab): Add new builtin function
450 `reset-char-attribute-table'.
452 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
454 * chartab.c (load_char_attribute_maybe): Don't make directories.
456 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
458 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
460 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
463 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
465 * mule-charset.c (Fsave_charset_mapping_table): Use
466 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
468 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
469 instead of `XCHARSET_CHARS'.
471 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
473 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
474 (XCHARSET_BYTE_SIZE): Likewise.
476 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
478 (XCHARSET_BYTE_SIZE): Likewise.
480 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
482 * chartab.c (Fput_char_attribute): Use exec-directory instead of
483 data-directory to store database.
484 (Fsave_char_attribute_table): Likewise.
485 (load_char_attribute_maybe): Likewise.
486 (Fload_char_attribute_table): Likewise.
488 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
490 * mule-charset.c (Fsave_charset_mapping_table): New function.
491 (syms_of_mule_charset): Add new builtin function
492 `save-charset-mapping-table'.
494 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
496 * char-ucs.h (decoding_table_check_elements): Delete prototype.
497 (get_ccs_octet_table): New inline function.
498 (put_ccs_octet_table): Likewise.
499 (decoding_table_put_char): Use `get_ccs_octet_table' and
500 `put_ccs_octet_table'.
501 (decoding_table_remove_char): Use `decoding_table_put_char'.
502 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
504 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
506 (make_charset): Use Qunbound instead Qnil as initial value of
509 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
511 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
512 element is Qunloaded.
513 (map_over_uint16_byte_table): Likewise.
514 (map_over_byte_table): Likewise.
515 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
516 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
517 database support, load encoding-table of the specified
518 coded-charset if it is not loaded yet.
519 (save_uint8_byte_table): New function of UTF-2000 with external
521 (save_uint16_byte_table): Likewise.
522 (save_byte_table): Likewise.
523 (Fput_char_attribute): Don't store value into external database
524 even if the external database feature is supported in UTF-2000;
525 set `attribute' as name of char-table if the external database
526 feature is supported.
527 (Fsave_char_attribute_table): New function in UTF-2000.
528 (syms_of_chartab): Add new builtin function
529 `save-char-attribute-table' in UTF-2000.
531 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
533 * chartab.c (char_attribute_table_to_put): New variable in
535 (Qput_char_table_map_function): Likewise.
536 (value_to_put): Likewise.
537 (Fput_char_table_map_function): New function in UTF-2000.
538 (put_char_table): Use `Fmap_char_attribute' for
539 CHARTAB_RANGE_CHARSET in UTF-2000.
540 (Fput_char_attribute): Store symbol instead of string in
541 `XCHAR_TABLE_NAME (table)'.
542 (load_char_attribute_maybe): Likewise.
543 (syms_of_chartab): Add new symbol/function
544 `put-char-table-map-function'.
546 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
548 * database.h: Add new EXFUN for `Fmap_database'.
550 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
551 (syms_of_database): Likewise.
553 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
555 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
556 (XCHAR_TABLE_UNLOADED): Likewise.
558 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
559 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
560 HAVE_DATABASE is defined.
561 (char_attribute_table_to_load): New variable of UTF-2000 with
562 external database support.
563 (Qload_char_attribute_table_map_function): Likewise.
564 (Fload_char_attribute_table_map_function): New function of
565 UTF-2000 with external database support.
566 (Fload_char_attribute_table): New function of UTF-2000.
567 (Fmap_char_attribute): Call Fload_char_attribute_table if
568 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
569 (syms_of_chartab): Add new symbol and function
570 `load-char-attribute-table-map-function' in UTF-2000 with external
571 database support; add new function `load-char-attribute-table' in
574 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
576 * chartab.h (load_char_attribute_maybe): New prototype for
577 UTF-2000 with DATABASE support.
578 (get_char_id_table): Use `load_char_attribute_maybe' if
579 HAVE_DATABASE is defined.
581 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
582 with DATABASE support.
584 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
586 * chartab.c (Fput_char_attribute): Use S-expression as key of
589 * chartab.h (get_char_id_table): Use S-expression as key of
592 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
594 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
595 if an element is not loaded, load the corresponding attributes
596 from an external database.
597 (map_over_uint16_byte_table): Likewise.
598 (map_over_byte_table): Likewise.
599 (map_char_table): Modify for `map_over_uint8_byte_table',
600 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
601 element is not loaded, load the corresponding attributes from an
603 (Fput_char_attribute): Change initial values to Qunloaded.
605 * chartab.h (get_char_id_table): If a character attribute is not
606 loaded and the attribute value is not found in an external
607 database, store Qunbound as the attribute value.
609 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
611 * chartab.c (BT_UINT8_unloaded): New macro.
612 (UINT8_VALUE_P): Accept Qunloaded.
613 (UINT8_ENCODE): Likewise.
614 (UINT8_DECODE): Likewise.
615 (BT_UINT16_unloaded): New macro.
616 (UINT16_VALUE_P): Accept Qunloaded.
617 (UINT16_ENCODE): Likewise.
618 (UINT16_DECODE): Likewise.
619 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
621 (mark_char_table): Mark `ct->name' in UTF-2000.
622 (char_table_description): Add `name' in UTF-2000.
623 (Fmake_char_table): Initialize `ct->name'.
624 (Fcopy_char_table): Copy `ct->name'.
625 (Fput_char_attribute): Store value into an external database if
626 HAVE_DATABASE is defined.
628 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
630 (CHAR_TABLE_NAME): New macro in UTF-2000.
631 (XCHAR_TABLE_NAME): New macro in UTF-2000.
632 (get_char_id_table): Try to read an external database if Qunloaded
633 is stored in a table.
635 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
638 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
640 * database.h: Add EXFUN definitions for Fopen_database,
641 Fput_database, Fget_database and Fclose_database.
643 * data.c (Qunloaded): New variable in UTF-2000.
645 * lisp.h (Qunloaded): New variable in UTF-2000.
647 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
649 * mule-charset.c (put_char_ccs_code_point): Modify for
650 `decoding_table_remove_char' and `decoding_table_put_char'.
651 (remove_char_ccs): Modify for `decoding_table_remove_char'.
653 * char-ucs.h (decoding_table_remove_char): Change arguments to
654 hide decoding_table vector.
655 (decoding_table_put_char): Likewise.
657 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
659 * mule-charset.c (decoding_table_remove_char): Moved to
661 (decoding_table_put_char): Likewise.
663 * char-ucs.h (decoding_table_check_elements): New prototype [moved
664 from mule-charset.c].
665 (decoding_table_remove_char): New inline function [moved from
667 (decoding_table_put_char): Likewise.
669 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
671 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
674 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
676 * mule-charset.c (decode_builtin_char): Support mother charsets.
678 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
680 * mule-charset.c (Q94x94x60): New variable.
681 (charset_code_point): Support conversion `94x94x60'.
682 (Fmake_charset): Likewise.
683 (syms_of_mule_charset): Add new symbol `94x94x60'.
685 * char-ucs.h (CONVERSION_94x94x60): New macro.
687 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
689 * mule-charset.c (charset_code_point): Unify code about
692 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
694 * mule-charset.c (charset_code_point): Merge code about builtin
695 characters into code about mother charsets; don't use
696 `range_charset_code_point'.
697 (range_charset_code_point): Deleted.
699 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
701 * mule-charset.c (Qcode_offset): New variable.
702 (Fmake_charset): Use `XUINT' to get value of `min-code' and
703 `max-code'; accept new property `code-offset'.
704 (syms_of_mule_charset): Add new symbol `code-offset'.
706 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
708 * mule-charset.c (range_charset_code_point): Fixed.
710 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
712 * mule-charset.c (decode_builtin_char): Change semantics of
713 code-offset of coded-charset.
714 (charset_code_point): Likewise.
715 (range_charset_code_point): Likewise.
716 (complex_vars_of_mule_charset): Modify for the change.
718 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
720 * mule-charset.c (Fencode_char): Reverse arguments.
722 * mule-charset.c (charset_code_point): Fixed.
724 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
726 * mule-charset.c (Vcharset_mojikyo): Deleted.
727 (Vcharset_mojikyo_2022_1): Deleted.
728 (Vcharset_mojikyo_pj_{1..21}): Deleted.
729 (Qmin_code): New variable in UTF-2000.
730 (Qmax_code): Likewise.
732 (Qconversion): Likewise.
735 (Qmojikyo_2022_1): Deleted.
736 (Qmojikyo_pj_{1..22}): Deleted.
737 (mark_charset): Mark `cs->mother'.
738 (charset_description): Add description for `mother'.
739 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
740 new arguments `mother' and `conversion'; use
741 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
742 (charset_code_point): Moved from char-ucs.h; support `mother'
744 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
745 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
746 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
747 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
748 allow 2 as the value of `graphic' in UTF-2000; add new properties
749 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
750 require `final' in UTF-2000; modify for `make_charset'.
751 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
752 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
753 (Fcharset_property): Support `mother', `min-code' and `max-code'.
754 (Fencode_char): New function.
755 (syms_of_mule_charset): Add new builtin function `encode-char' in
756 UTF-2000; add new symbols `min-code', `max-code', `mother',
757 `conversion' and `94x60'; delete symbols `mojikyo',
758 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
759 (complex_vars_of_mule_charset): Modify for `make_charset' change;
760 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
761 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
763 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
764 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
766 * char-ucs.h (Vcharset_mojikyo): Deleted.
767 (Vcharset_mojikyo_2022_1): Deleted.
768 (LEADING_BYTE_MOJIKYO): Deleted.
769 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
770 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
771 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
772 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
773 add new member `mother'; add new member `conversion'.
774 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
775 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
776 (CHARSET_MOTHER): New macro.
777 (CHARSET_CONVERSION): New macro.
778 (CONVERSION_IDENTICAL): New macro.
779 (CONVERSION_94x60): New macro.
780 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
781 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
782 (XCHARSET_MOTHER): New macro.
783 (XCHARSET_CONVERSION): New macro.
784 (MIN_CHAR_MOJIKYO): Deleted.
785 (MAX_CHAR_MOJIKYO): Deleted.
786 (DECODE_MOJIKYO_2022): Deleted.
787 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
788 (charset_code_point): Changed to non-inline function.
789 (encode_char_1): Use `charset_code_point'.
790 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
792 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
794 * lread.c (read_compiled_function): Fix prototype.
795 (read_vector): Likewise.
797 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
799 * lrecord.h (struct lrecord_header): Delete `older'.
800 (set_lheader_implementation): Delete code for `older'.
801 (set_lheader_older_implementation): Deleted.
802 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
803 (OLDER_RECORD_P): Deleted.
804 (OLDER_RECORD_HEADER_P): Deleted.
805 (alloc_older_lcrecord): Deleted.
806 (alloc_older_lcrecord_type): Deleted.
808 * alloc.c (all_older_lcrecords): Deleted.
809 (alloc_older_lcrecord): Deleted.
810 (disksave_object_finalization_1): Delete code for older objects.
811 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
812 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
814 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
816 * mule-charset.c (decoding_table_put_char): Use `make_vector'
817 instead of `make_older_vector'.
818 (put_char_ccs_code_point): Likewise.
819 (mark_charset): Mark `cs->decoding_table'.
820 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
822 * lisp.h (make_older_vector): Deleted.
823 (make_vector_newer): Deleted.
825 * config.h.in (HAVE_GGC): Deleted.
827 * alloc.c (make_older_vector): Deleted.
828 (make_vector_newer_1): Deleted.
829 (make_vector_newer): Deleted.
831 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
833 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
834 (Qideograph_daikanwa_2): New variable.
835 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
836 (complex_vars_of_mule_charset): Add new coded-charset
837 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
838 `LEADING_BYTE_DAIKANWA'.
840 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
841 (LEADING_BYTE_DAIKANWA_1): New macro.
842 (LEADING_BYTE_DAIKANWA_2): New macro.
843 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
845 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
847 * mule-charset.c (complex_vars_of_mule_charset): Change
848 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
849 the second revised version.
851 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
853 * mule-charset.c (Vcharset_ucs_smp): New variable.
854 (Vcharset_ucs_sip): New variable.
855 (Qucs_smp): New variable.
856 (Qucs_sip): New variable.
857 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
858 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
859 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
860 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
861 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
862 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
864 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
865 (LEADING_BYTE_UCS_SIP): New macro.
866 (MIN_CHAR_SMP): New macro.
867 (MAX_CHAR_SMP): New macro.
868 (MIN_CHAR_SIP): New macro.
869 (MAX_CHAR_SIP): New macro.
871 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
873 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
876 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
878 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
879 value; don't store value into `encoding_table' of `Lisp_Charset'.
880 (mark_charset): `encoding_table' was deleted.
881 (charset_description): Likewise.
882 (make_charset): Likewise.
883 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
884 `put_char_ccs_code_point'.
886 * chartab.h (Fput_char_attribute): New EXFUN.
888 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
889 is unified with normal symbol space.
890 (Fget_char_attribute): Likewise.
891 (Fput_char_attribute): Likewise; behavior of
892 `put_char_ccs_code_point' is changed.
894 * char-ucs.h: Include "elhash.h".
895 (Vchar_attribute_hash_table): New external variable.
896 (struct Lisp_Charset): Delete `encoding_table'.
897 (CHARSET_ENCODING_TABLE): New implementation; refer
898 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
901 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
903 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
906 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
908 * text-coding.c (char_encode_big5): Prefer charset-g1 than
911 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
913 * chartab.c (uint8_byte_table_description): New constant.
914 (uint8-byte-table): Use `uint8_byte_table_description'.
915 (uint16_byte_table_description): New constant.
916 (uint16-byte-table): Use `uint16_byte_table_description'.
918 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
920 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
921 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
923 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
925 * mule-charset.c (Vcharset_ucs_ks): New variable.
926 (Qucs_ks): New variable.
927 (syms_of_mule_charset): Add new symbol `ucs-ks'.
928 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
930 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
932 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
934 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
935 (Fdecode_char): Likewise.
937 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
939 (Fdefine_char): Modify for Fdecode_char.
940 (Ffind_char): Likewise.
942 * mule-charset.c (Fdecode_char): Add new optional argument
944 (Fdecode_builtin_char): Modify for `Fdecode_char'.
946 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
948 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
949 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
950 (allocate_coding_system): Initialize initial-charsets of
951 CODESYS_BIG5 in XEmacs UTF-2000.
952 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
953 CODESYS_BIG5 in XEmacs UTF-2000.
954 (decode_coding_big5): Use initial-charset-g0 and -g1 of
955 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
957 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
959 (Qideograph_hanziku_{1 .. 12}): Likewise.
960 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
962 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
963 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
964 `ideograph-hanziku-{1 .. 12}'.
966 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
967 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
968 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
969 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
970 (DECODE_DEFINED_CHAR): New inline function.
971 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
973 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
975 * mule-charset.c (Vcharset_china3_jef): Renamed from
976 `Vcharset_japanese_jef_china3'.
977 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
978 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
979 `{MIN|MAX}_CHAR_JEF_CHINA3'..
980 (syms_of_mule_charset): Rename `china3-jef' from
981 `japanese-jef-china3'.
982 (complex_vars_of_mule_charset): Likewise; rename
983 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
985 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
986 `LEADING_BYTE_JEF_CHINA3'.
987 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
988 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
990 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
992 * mule-charset.c (encode_builtin_char_1): Comment out special code
993 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
995 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
996 (MAX_CHAR_MOJIKYO_0): Comment out.
997 (MIN_CHAR_CBETA): Changed to 0x00E20000.
998 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
999 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1000 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1002 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1004 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1005 (Qideograph_cbeta): New variable.
1006 (encode_builtin_char_1): Comment out special code for
1007 coded-charset `mojikyo' and `japanese-jef-china3'.
1008 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1009 (complex_vars_of_mule_charset): Add new coded-charset
1012 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1013 (MIN_CHAR_CBETA): New macro.
1014 (MAX_CHAR_CBETA): New macro.
1016 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1018 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1019 (LEADING_BYTE_JEF_CHINA3): New macro.
1020 (MIN_CHAR_JEF_CHINA3): New macro.
1021 (MAX_CHAR_JEF_CHINA3): Likewise.
1022 (DECODE_CHAR): Fixed.
1024 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1026 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1027 (Qjapanese_jef_china3): New variable.
1028 (encode_builtin_char_1): Support `japanese-jef-china3'.
1029 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1030 (complex_vars_of_mule_charset): Add new coded-charset
1031 `japanese-jef-china3'.
1033 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1035 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1036 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1037 94^4, 96^3, 96^4, 128^n and 256^n set.
1038 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1039 (map_char_table): Likewise.
1041 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1043 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1046 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1048 * chartab.h (get_char_id_table): New inline function.
1050 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1053 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1055 * chartab.h (decode_char_table_range): New prototype in XEmacs
1057 (put_char_id_table): New inline function in XEmacs UTF-2000.
1059 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1061 (decode_char_table_range): Delete static declaration in XEmacs
1064 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1066 * chartab.c (put_char_id_table): Use `put_char_table'.
1068 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1070 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1071 (map_over_uint16_byte_table): Likewise.
1072 (map_over_byte_table): Likewise.
1073 (map_char_table): Modify for `map_over_uint8_byte_table',
1074 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1077 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1079 * chartab.c (struct map_char_table_for_charset_arg): New
1081 (map_char_table_for_charset_fun): New function.
1082 (map_char_table): Use `map_char_table' for encoding_table of
1085 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1087 * chartab.c (map_char_table): Check a character is found in
1088 range->charset instead of non default value is defined in
1089 char-table when range is CHARTAB_RANGE_ROW.
1091 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1093 * chartab.c (map_char_id_table): Deleted.
1094 (Fmap_char_attribute): Use `map_char_table' instead of
1095 `map_char_id_table'.
1097 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1099 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1101 (update_syntax_table): Deleted in XEmacs UTF-2000.
1103 * syntax.c (find_defun_start): Use `syntax_table' instead of
1104 `mirror_syntax_table' in XEmacs UTF-2000.
1105 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1107 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1109 (Fmatching_paren): Likewise.
1110 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1112 (find_start_of_comment): Likewise.
1113 (find_end_of_comment): Likewise.
1114 (Fforward_comment): Likewise.
1115 (scan_lists): Likewise.
1116 (char_quoted): Likewise.
1117 (Fbackward_prefix_chars): Likewise.
1118 (scan_sexps_forward): Likewise.
1119 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1120 (update_syntax_table): Likewise.
1122 * search.c (skip_chars): Use `syntax_table' instead of
1123 `mirror_syntax_table' in XEmacs UTF-2000.
1124 (wordify): Likewise.
1125 (Freplace_match): Likewise.
1127 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1128 `mirror_syntax_table' in XEmacs UTF-2000.
1129 (WORDCHAR_P_UNSAFE): Likewise.
1130 (re_match_2_internal): Likewise.
1132 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1133 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1135 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1136 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1138 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1141 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1143 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1144 (char_table_description): Delete `mirror_table' in XEmacs
1146 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1148 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1149 (Fcopy_char_table): Likewise.
1150 (put_char_table): Don't call `update_syntax_table' in XEmacs
1153 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1154 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1155 (casify_region_internal): Likewise.
1157 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1159 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1160 `mirror_syntax_table' in XEmacs UTF-2000.
1162 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1163 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1164 (Fexpand_abbrev): Likewise.
1166 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1168 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1170 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1172 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1173 (map_over_uint16_byte_table): Likewise.
1174 (map_over_byte_table): Likewise.
1175 (get_char_id_table): Refer `cit->default_value'.
1176 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1177 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1178 of character-id ranges.
1179 (mark_char_table): Mark `ct->default_value'.
1180 (char_table_description): Add `default_value'.
1181 (fill_char_table): Use `default_value'.
1182 (decode_char_table_range): Decode `nil' as
1183 `CHARTAB_RANGE_DEFAULT'.
1184 (get_char_id_table): Refer `cit->default_value'.
1185 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1186 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1187 temporary hack; check value of char-table is bound or not.
1188 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1190 * chartab.h (struct Lisp_Char_Table): Add new member
1191 `default_value' in XEmacs UTF-2000.
1192 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1193 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1196 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1198 * chartab.h (Lisp_Char_ID_Table): Deleted.
1200 * chartab.c (char_table_description): Fix typo.
1201 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1202 `Lisp_Char_ID_Table'.
1204 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1206 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1209 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1212 * chartab.h (XCHAR_ID_TABLE): Deleted.
1213 (XSETCHAR_ID_TABLE): Deleted.
1214 (CHAR_ID_TABLE_P): Deleted.
1216 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1218 (Fget_composite_char): Likewise.
1219 (put_char_table): Likewise.
1220 (add_char_attribute_alist_mapper): Fixed.
1221 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1223 (Fget_char_attribute): Likewise.
1224 (Fget_char_attribute): Likewise.
1225 (Fmap_char_attribute): Likewise.
1227 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1229 (encode_char_1): Likewise.
1231 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1233 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1236 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1237 instead of `XCHAR_ID_TABLE'.
1238 (remove_char_ccs): Likewise.
1240 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1242 (Fget_composite_char): Likewise.
1243 (Fchar_variants): Likewise.
1244 (put_char_table): Likewise.
1245 (add_char_attribute_alist_mapper): Likewise.
1246 (Fchar_attribute_alist): Likewise.
1247 (Fget_char_attribute): Likewise.
1248 (Fput_char_attribute): Likewise.
1249 (Fmap_char_attribute): Likewise.
1250 (Fmap_char_attribute): Likewise.
1252 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1254 (encode_char_1): Likewise.
1256 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1258 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1259 `Lisp_Char_ID_Table'.
1260 (mark_char_id_table): Deleted.
1261 (print_char_id_table): Likewise.
1262 (char_id_table_equal): Likewise.
1263 (char_id_table_hash): Likewise.
1264 (char_id_table_description): Likewise.
1265 (char_id_table): Likewise.
1266 (make_char_id_table): Use `Fmake_char_table' and
1268 (get_char_id_table): Use `Lisp_Char_Table' instead of
1269 `Lisp_Char_ID_Table'.
1270 (put_char_id_table): Likewise.
1271 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1273 (Fremove_char_attribute): Likewise.
1274 (syms_of_chartab): Don't define type `char-id-table'.
1276 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1277 (char_id_table): Likewise.
1278 (GC_CHAR_ID_TABLE_P): Likewise.
1279 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1280 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1281 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1282 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1283 (get_char_id_table): Use `Lisp_Char_Table' instead of
1284 `Lisp_Char_ID_Table'.
1285 (put_char_id_table_0): Likewise.
1286 (put_char_id_table): Likewise.
1288 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1290 * chartab.h: Lisp_Byte_Table related codes are moved from
1293 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1295 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1297 * chartab.h: Don't include "chartab.h".
1298 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1299 (Lisp_Char_ID_Table): Likewise.
1300 (char_id_table): Likewise.
1301 (XCHAR_ID_TABLE): Likewise.
1302 (XSETCHAR_ID_TABLE): Likewise.
1303 (CHAR_ID_TABLE_P): Likewise.
1304 (GC_CHAR_ID_TABLE_P): Likewise.
1305 (get_char_id_table): Likewise.
1307 * char-ucs.h: Include "chartab.h".
1308 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1309 (Lisp_Char_ID_Table): Likewise.
1310 (char_id_table): Likewise.
1311 (XCHAR_ID_TABLE): Likewise.
1312 (XSETCHAR_ID_TABLE): Likewise.
1313 (CHAR_ID_TABLE_P): Likewise.
1314 (GC_CHAR_ID_TABLE_P): Likewise.
1315 (get_char_id_table): Likewise.
1317 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1319 * chartab.c (copy_uint8_byte_table): New function.
1320 (copy_uint16_byte_table): New function.
1321 (copy_byte_table): New function.
1322 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1324 (map_over_uint16_byte_table): Likewise.
1325 (map_over_byte_table): Likewise.
1326 (get_byte_table): Move prototype to chartab.h.
1327 (put_byte_table): Likewise.
1328 (put_char_id_table_0): Moved to chartab.h.
1329 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1330 (char_table_entry_equal): Likewise.
1331 (char_table_entry_hash): Likewise.
1332 (char_table_entry_description): Likewise.
1333 (char_table_entry): Likewise.
1334 (make_char_table_entry): Likewise.
1335 (copy_char_table_entry): Likewise.
1336 (get_non_ascii_char_table_value): Likewise.
1337 (map_over_charset_ascii): Likewise.
1338 (map_over_charset_control_1): Likewise.
1339 (map_over_charset_row): Likewise.
1340 (map_over_other_charset): Likewise.
1341 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1342 (print_char_table): Likewise.
1343 (char_table_equal): Likewise.
1344 (char_table_hash): Likewise.
1345 (char_table_description): Likewise.
1346 (fill_char_table): Likewise.
1347 (Fcopy_char_table): Likewise.
1348 (get_char_table): Likewise.
1349 (Fget_range_char_table): Likewise.
1350 (put_char_table): Likewise.
1351 (map_char_table): Likewise.
1352 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1355 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1357 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1358 `Vauto_fill_chars' in XEmacs UTF-2000.
1360 * chartab.h (get_byte_table): New prototype [moved from
1362 (put_byte_table): Likewise [moved from chartab.c].
1363 (put_char_id_table_0): New inline function [moved from chartab.c].
1364 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1365 (Lisp_Char_Table_Entry): Likewise.
1366 (char_table_entry): Likewise.
1367 (XCHAR_TABLE_ENTRY): Likewise.
1368 (XSETCHAR_TABLE_ENTRY): Likewise.
1369 (CHAR_TABLE_ENTRYP): Likewise.
1370 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1371 (NUM_ASCII_CHARS): Likewise.
1372 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1373 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1375 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1377 * chartab.c (get_char_id_table): Change interface.
1378 (put_char_id_table_0): New function.
1379 (put_char_id_table): Change interface; new implementation.
1380 (Fget_composite_char): Modify for interface change of
1381 `get_char_id_table'.
1382 (Fchar_variants): Likewise.
1383 (add_char_attribute_alist_mapper): Likewise.
1384 (Fchar_attribute_alist): Likewise.
1385 (Fget_char_attribute): Likewise.
1386 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1387 as same as character as the first argument like `put-char-table';
1388 modify for interface change of `put_char_id_table'.
1389 (Fremove_char_attribute): Modify for interface change of
1390 `put_char_id_table'.
1392 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1394 * text-coding.c: Sync up with XEmacs 21.2.41.
1395 (COMPOSE_ADD_CHAR): Modify for interface change of
1396 `get_char_id_table'.
1398 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1399 change of `put_char_id_table'.
1400 (remove_char_ccs): Likewise.
1402 * chartab.h (put_char_id_table): Change interface.
1404 * char-ucs.h (get_char_id_table): Change interface.
1405 (charset_code_point): Modify for interface change of
1406 `get_char_id_table'.
1407 (encode_char_1): Likewise.
1409 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1411 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1413 (map_over_uint16_byte_table): Likewise.
1414 (map_over_byte_table): Likewise.
1415 (map_char_id_table): Add new argument `range' like
1417 (Fmap_char_attribute): Add new argument `range' like
1420 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1422 * chartab.c (map_over_uint8_byte_table): Change interface of
1423 mapping function to use struct chartab_range instead of Emchar.
1424 (map_over_uint16_byte_table): Likewise.
1425 (map_over_byte_table): Likewise.
1426 (map_char_id_table): Likewise.
1427 (struct slow_map_char_id_table_arg): Deleted.
1428 (slow_map_char_id_table_fun): Deleted.
1429 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1430 function `slow_map_char_table_fun' instead of struct
1431 `slow_map_char_id_table_arg' and function
1432 `slow_map_char_id_table_fun'.
1434 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1436 * mule-charset.c: Move char-it-table related codes to chartab.c.
1437 (Vutf_2000_version): Moved to chartab.c.
1438 (Fdefine_char): Likewise.
1439 (Ffind_char): Likewise.
1440 (syms_of_mule_charset): Move types `uint8-byte-table',
1441 `uint16-byte-table', `byte-table' and `char-id-table' to
1442 chartab.c; move functions `char_attribute_list,
1443 `find_char_attribute_table, `char_attribute_alist,
1444 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1445 `map_char_attribute, `define_char, `find_char, `char_variants and
1446 `get_composite_char to chartab.c; move symbols `=>ucs',
1447 `->decomposition', `compat', `isolated', `initial', `medial',
1448 `final', `vertical', `noBreak', `fraction', `super', `sub',
1449 `circle', `square', `wide', `narrow', `small' and `font' to
1451 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1452 setting codes for `Vcharacter_composition_table' and
1453 `Vcharacter_variant_table' to chartab.c.
1454 (complex_vars_of_mule_charset): Move setting code for
1455 `Vchar_attribute_hash_table' to chartab.c.
1457 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1458 (make_char_id_table): New prototype.
1459 (put_char_id_table): Likewise.
1460 (Fget_char_attribute): Likewise.
1462 * chartab.c: Move char-id-table related code from mule-charset.c.
1463 (Vutf_2000_version): Moved from mule-charset.c.
1465 * char-ucs.h (Qucs): New external variable.
1466 (put_char_ccs_code_point): New prototype.
1467 (remove_char_ccs): Likewise.
1469 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1471 * mule-charset.c (Vcharset_ucs_jis): New variable.
1472 (Qucs_jis): Likewise.
1473 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1474 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1476 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1478 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1480 * mule-charset.c (map_over_uint8_byte_table): New function.
1481 (map_over_uint16_byte_table): Likewise.
1482 (map_over_byte_table): Likewise.
1483 (map_char_id_table): Likewise.
1484 (slow_map_char_id_table_fun): Likewise.
1485 (Fmap_char_attribute): Likewise.
1486 (syms_of_mule_charset): Add new function `map-char-attribute'.
1488 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1490 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1491 (syms_of_mule_charset): Add new function `find-char'.
1493 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1495 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1497 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1498 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1500 (complex_vars_of_mule_charset): Add new coded-charset
1501 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1502 `ideograph-gt-pj-*'.
1504 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1506 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1508 * mule-charset.c (encode_builtin_char_1): Purge codes about
1509 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1510 {MIN|MAX}_CHAR_HEBREW.
1511 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1512 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1514 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1515 (MAX_CHAR_GREEK): Purged.
1516 (MIN_CHAR_CYRILLIC): Purged.
1517 (MAX_CHAR_CYRILLIC): Purged.
1518 (MIN_CHAR_HEBREW): Commented out.
1519 (MAX_CHAR_HEBREW): Likewise.
1521 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1523 * mule-charset.c (Qto_ucs): New variable.
1524 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1525 (Fdefine_char): Likewise.
1526 (syms_of_mule_charset): Add new symbol `=>ucs'.
1528 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1530 * mule-charset.c (Fdecode_char): Fixed.
1532 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1534 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1535 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1538 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1540 * mule-charset.c (Vcharset_ucs_big5): New variable.
1541 (Qucs_big5): Likewise.
1542 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1543 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1545 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1547 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1549 * mule-charset.c (decode_builtin_char): Check Big5 code range
1550 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1552 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1554 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1555 (Qchinese_gb12345): Likewise.
1556 (Fdecode_builtin_char): Fixed.
1557 (syms_of_mule_charset): Add `chinese-gb12345'.
1558 (complex_vars_of_mule_charset): Add coded-charset
1561 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1562 (LEADING_BYTE_CHINESE_GB12345): New macro.
1564 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1566 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1567 and `latin-viscii-upper' for `latin-viscii'.
1569 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1571 * mule-charset.c (Fdecode_builtin_char): Comment out
1572 regularization code for ISO-IR GR representation.
1574 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1576 * mule-charset.c (decode_builtin_char): New function; renamed from
1577 `make_builtin_char'; return -1 instead of signal.
1578 (Fdecode_builtin_char): Use `decode_builtin_char'.
1580 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1581 `make_builtin_char'.
1582 (DECODE_CHAR): Use `decode_builtin_char' instead of
1583 `make_builtin_char'; use mapping table of `chinese-big5' for
1584 `chinese-big5-{1,2}'.
1586 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1588 * text-coding.c (char_encode_big5): New function.
1589 (char_finish_big5): Likewise.
1590 (reset_encoding_stream): Use `char_encode_big5' and
1591 `char_finish_big5' for CODESYS_BIG5.
1592 (mule_encode): Don't use `encode_coding_big5'.
1593 (encode_coding_big5): Deleted.
1595 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1597 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1598 0x81- in XEmacs UTF-2000.
1599 (detect_coding_big5): Likewise.
1601 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1603 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1604 generate character-id if the CCS property does not have
1605 corresponding predefined character.
1606 (make_builtin_char): Return -1 if corresponding predefined
1607 character is not found.
1608 (Fdecode_char): Return nil if corresponding character is not
1610 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1611 don't map to builtin ucs space.
1613 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1615 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1616 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1618 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1620 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1621 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1622 (Qideograph_gt): Likewise.
1623 (Qideograph_gt_pj_{1..11}): Likewise.
1624 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1625 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1626 `ideograph-gt-pj-11'.
1627 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1628 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1629 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1631 * char-ucs.h (LEADING_BYTE_GT): New macro.
1632 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1633 (MIN_CHAR_GT): Likewise.
1634 (MAX_CHAR_GT): Likewise.
1636 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1638 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1639 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1641 * doprnt.c (unsigned_int_converters): Add `c'.
1642 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1644 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1645 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1647 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1648 (MAX_CHAR_MOJIKYO_0): New macro.
1649 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1651 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1653 * mule-charset.c (Fdefine_char): Delete cemented out code.
1654 (encode_builtin_char_1): Modify for new allocation of builtin
1657 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1659 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1661 * mule-charset.c (Vcharset_ucs_cns): New variable.
1662 (Qucs_cns): New variable.
1663 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1664 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1666 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1668 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1670 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1672 * search.c (search_buffer): Make `charset_base_code' as
1673 character-id >> 6 to eliminate the corresponding last byte in
1674 UTF-8 representation [I'm not sure it is right thing].
1675 (boyer_moore): Likewise.
1677 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1679 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1680 representation in MULE.
1682 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1684 * text-coding.c (Fmake_coding_system): Use
1685 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1686 `EXTERNAL_PROPERTY_LIST_LOOP'.
1688 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1690 * text-coding.c (decode_output_utf8_partial_char): New function.
1691 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1693 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1695 * text-coding.c (decode_coding_utf8): Output original byte
1696 sequence if it is broken; change order of conditions.
1698 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1701 * mb-multibyte.h (BYTE_ASCII_P):
1702 Use bit ops for char-signedness safety.
1703 (BYTE_C0_P): Use bit ops for char-signedness safety.
1704 (BYTE_C1_P): Use bit ops for char-signedness safety.
1706 * character.h: (XCHAR_OR_CHAR_INT):
1707 Always use inline function.
1708 Remove redundant type checking assert() - XINT will abort quite
1711 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1713 * text-coding.c: (Fencode_shift_jis_char):
1714 (Fencode_big5_char):
1715 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1716 Replace 0 with '\0' when working with bytes.
1717 Replace initial "(" with "\(" in docstrings.
1719 (Fmake_coding_system):
1720 When type is ccl and value is vector, register it with a proper
1721 symbol. And checks whether the given ccl program is valid.
1722 (mule_decode): When calling ccl_driver, if src indicates
1723 NULL pointer, set an empty string instead.
1724 (mule_encode): Likewise.
1727 (detect_coding_sjis):
1728 (decode_coding_sjis):
1729 (detect_coding_big5):
1730 (decode_coding_big5):
1731 (detect_coding_ucs4):
1732 (decode_coding_ucs4):
1733 (detect_coding_utf8):
1734 (decode_coding_utf8):
1735 (detect_coding_iso2022):
1736 (decode_coding_iso2022):
1737 (decode_coding_no_conversion):
1739 Make all detecting and decoding functions take an Extbyte * arg.
1740 (text_encode_generic):
1741 (encode_coding_big5):
1742 (encode_coding_no_conversion):
1744 Make all encoding functions take a Bufbyte * arg.
1745 Use size_t instead of unsigned int for memory sizes.
1746 Only cast to unsigned char whenever dereferencing Extbyte *.
1748 (struct lrecord_description fcd_description_1): Use countof.
1749 (complex_vars_of_file_coding):
1750 Use countof instead of sizeof.
1751 Use CHECK_NATNUM instead of CHECK_INT.
1753 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1755 * mule-charset.c (Fget_char_attribute): Add new optional argument
1757 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1758 (remove_char_ccs): Likewise.
1760 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1762 * text-coding.c (char_encode_shift_jis): New implementation in
1764 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1767 * mule-charset.c (Vcharset_chinese_big5): New variable in
1769 (Qchinese_big5): New variable in UTF-2000.
1770 (BIG5_SAME_ROW): New macro in UTF-2000.
1771 (make_builtin_char): Use builtin characters of
1772 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1773 characters of `Vcharset_chinese_big5'.
1774 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1775 (complex_vars_of_mule_charset): Add new coded-charset
1776 `chinese-big5' in UTF-2000.
1778 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1779 (Vcharset_chinese_big5): New external variable declaration.
1780 (Vcharset_japanese_jisx0208_1990): Likewise.
1782 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1784 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1786 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1788 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1790 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1791 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1792 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1795 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1797 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1799 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1801 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1804 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1806 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1807 for `CHARSET_BY_ATTRIBUTES'.
1808 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1809 `CHARSET_BY_ATTRIBUTES'.
1811 * text-coding.c (struct decoding_stream): Rename member `CH' to
1813 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1814 (decode_coding_sjis): Likewise.
1815 (decode_coding_big5): Likewise.
1816 (decode_coding_ucs4): Likewise.
1817 (decode_coding_utf8): Likewise.
1818 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1819 `CHARSET_BY_ATTRIBUTES'.
1820 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1821 `str->counter'; decode 3, 4 bytes sets.
1822 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1824 (decode_coding_no_conversion): Use `str->cpos' instead of
1827 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1828 (Qmojikyo_2022_1): New variable.
1829 (make_charset): Don't use `CHARSET_TYPE_*'.
1830 (range_charset_code_point): Support coded-charset
1832 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1833 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1834 `CHARSET_BY_ATTRIBUTES'.
1835 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1836 `CHARSET_BY_ATTRIBUTES'.
1837 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1838 (complex_vars_of_mule_charset): Add new coded-charset
1841 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1842 interface; changed to inline function.
1844 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1845 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1846 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1847 (CHARSET_TYPE_94): Deleted.
1848 (CHARSET_TYPE_94X94): Deleted.
1849 (CHARSET_TYPE_96): Deleted.
1850 (CHARSET_TYPE_96X96): Deleted.
1851 (CHARSET_TYPE_128): Deleted.
1852 (CHARSET_TYPE_128X128): Deleted.
1853 (CHARSET_TYPE_256): Deleted.
1854 (CHARSET_TYPE_256X256): Deleted.
1855 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1857 (DECODE_MOJIKYO_2022): New inline function.
1858 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1859 `Vcharset_mojikyo_2022_1'.
1861 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1863 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1865 (put_byte_table): Likewise.
1866 (char_id_table_equal): Use `get_byte_table' [new implementation].
1868 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1870 * mule-charset.c: Include <limits.h> in UTF-2000.
1871 (BT_UINT8_MIN): New macro in UTF-2000.
1872 (BT_UINT8_MAX): New macro in UTF-2000.
1873 (BT_UINT8_t): New macro in UTF-2000.
1874 (BT_UINT8_nil): New macro in UTF-2000.
1875 (BT_UINT8_unbound): New macro in UTF-2000.
1876 (INT_UINT8_P): New inline function in UTF-2000.
1877 (UINT8_VALUE_P): New inline function in UTF-2000.
1878 (UINT8_ENCODE): New inline function in UTF-2000.
1879 (UINT8_DECODE): New inline function in UTF-2000.
1880 (mark_uint8_byte_table): New function in UTF-2000.
1881 (print_uint8_byte_table): New function in UTF-2000.
1882 (uint8_byte_table_equal): New function in UTF-2000.
1883 (uint8_byte_table_hash): New function in UTF-2000.
1884 (make_uint8_byte_table): New function in UTF-2000.
1885 (uint8_byte_table_same_value_p): New function in UTF-2000.
1886 (BT_UINT16_MIN): New macro in UTF-2000.
1887 (BT_UINT16_MAX): New macro in UTF-2000.
1888 (BT_UINT16_t): New macro in UTF-2000.
1889 (BT_UINT16_nil): New macro in UTF-2000.
1890 (BT_UINT16_unbound): New macro in UTF-2000.
1891 (INT_UINT16_P): New inline function in UTF-2000.
1892 (UINT16_VALUE_P): New inline function in UTF-2000.
1893 (UINT16_ENCODE): New inline function in UTF-2000.
1894 (UINT16_DECODE): New inline function in UTF-2000.
1895 (UINT8_TO_UINT16): New inline function in UTF-2000.
1896 (mark_uint16_byte_table): New function in UTF-2000.
1897 (print_uint16_byte_table): New function in UTF-2000.
1898 (uint16_byte_table_equal): New function in UTF-2000.
1899 (uint16_byte_table_hash): New function in UTF-2000.
1900 (make_uint16_byte_table): New function in UTF-2000.
1901 (uint16_byte_table_same_value_p): New function in UTF-2000.
1902 (print_byte_table): New function in UTF-2000.
1903 (byte-table): Use `print_byte_table' as printer.
1904 (make_byte_table): Delete second argument `older'.
1905 (byte_table_same_value_p): New function in UTF-2000.
1906 (copy_byte_table): Deleted.
1907 (get_byte_table): New function in UTF-2000.
1908 (put_byte_table): New function in UTF-2000.
1909 (print_char_id_table): New function in UTF-2000.
1910 (char-id-table): Use `print_char_id_table' as printer.
1911 (make_char_id_table): Delete second argument `older'.
1912 (get_char_id_table): Use `get_byte_table [new implementation].
1913 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1915 (Ffind_char_attribute_table): New function in UTF-2000.
1916 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1917 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1918 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1919 (syms_of_mule_charset): Add new function
1920 `find-char-attribute-table' in UTF-2000.
1922 * lrecord.h (enum lrecord_type): Add
1923 `lrecord_type_uint16_byte_table' and
1924 `lrecord_type_uint8_byte_table'.
1926 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1927 (Lisp_Uint8_Byte_Table): New type.
1928 (XUINT8_BYTE_TABLE): New macro.
1929 (XSETUINT8_BYTE_TABLE): New macro.
1930 (UINT8_BYTE_TABLE_P): New macro.
1931 (GC_UINT8_BYTE_TABLE_P): New macro.
1932 (struct Lisp_Uint16_Byte_Table): New structure.
1933 (Lisp_Uint16_Byte_Table): New type.
1934 (XUINT16_BYTE_TABLE): New macro.
1935 (XSETUINT16_BYTE_TABLE): New macro.
1936 (UINT16_BYTE_TABLE_P): New macro.
1937 (GC_UINT16_BYTE_TABLE_P): New macro.
1939 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1941 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1942 (Vcharacter_ideographic_strokes_table): Deleted.
1943 (Vcharacter_total_strokes_table): Deleted.
1944 (Vcharacter_morohashi_daikanwa_table): Deleted.
1945 (Vcharacter_decomposition_table): Deleted.
1946 (Qname): Deleted because it is duplicated.
1947 (Qideographic_radical): Deleted.
1948 (Qideographic_strokes): Deleted.
1949 (Qtotal_strokes): Deleted.
1950 (Qmorohashi_daikanwa): Deleted.
1951 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1952 `ideographic-radical', `ideographic-strokes', `total-strokes',
1953 `morohashi-daikanwa' and `->decomposition'.
1954 (Fget_char_attribute): Likewise.
1955 (Fput_char_attribute): Likewise; use `make-vector' instead of
1956 `make_older_vector' for `->decomposition' value.
1957 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1958 `ideograph-daikanwa'.
1959 (syms_of_mule_charset): Delete builtin symbols `name',
1960 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1961 `morohashi-daikanwa'.
1962 (vars_of_mule_charset): Don't setup
1963 `Vcharacter_ideographic_radical_table',
1964 `Vcharacter_ideographic_strokes_table',
1965 `Vcharacter_total_strokes_table',
1966 `Vcharacter_morohashi_daikanwa_table' and
1967 `Vcharacter_decomposition_table'.
1969 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1971 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1972 `make_older_vector', `make_vector_newer_1' and
1973 `make_vector_newer'.
1975 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1976 `make_older_vector' and `make_vector_newer'.
1978 * config.h.in (HAVE_GGC): New macro.
1980 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1982 * mule-charset.c (struct char_attribute_list_closure): New
1983 structure in UTF-2000.
1984 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1985 (Fchar_attribute_list): Likewise.
1986 (Fset_charset_mapping_table): Use `make_vector_newer'.
1987 (Fdecode_builtin_char): New function in UTF-2000.
1988 (syms_of_mule_charset): Add new function `char-attribute-list' and
1989 `decode-builtin-char' in UTF-2000.
1991 * lisp.h (make_vector_newer): New prototype.
1993 * alloc.c (make_vector_newer_1): New function.
1994 (make_vector_newer): New function.
1996 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1998 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2001 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2003 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2004 (Vcharacter_attribute_table): Deleted.
2005 (Vcharacter_name_table): Deleted.
2006 (put_char_attribute): Deleted.
2007 (remove_char_attribute): Deleted.
2008 (struct char_attribute_alist_closure): New structure.
2009 (add_char_attribute_alist_mapper): New function.
2010 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2011 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2012 (Fget_char_attribute): Likewise.
2013 (Fput_char_attribute): Likewise.
2014 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2015 of `remove_char_attribute'.
2016 (Fdefine_char): Return character.
2017 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2018 and `Vcharacter_name_table'.
2019 (complex_vars_of_mule_charset): Likewise
2020 `Vchar_attribute_hash_table'.
2022 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2024 * character.h (CHARC_CHARSET): New macro.
2025 (CHARC_CHARSET_ID): New macro.
2026 (CHARC_CODE_POINT): New macro.
2027 (CHARC_COLUMNS): New macro.
2028 (CHARC_TO_CHAR): New inline function.
2029 (CHARC_EQ): New inline function.
2030 (CHARC_ASCII_EQ): New inline function.
2031 (CHARC_IS_SPACE): New inline function.
2032 (ASCII_TO_CHARC): New inline function.
2034 * char-ucs.h (encode_char_2): Deleted.
2035 (ENCODE_CHAR): Use `encode_char_1' again.
2036 (breakup_char_1): Likewise.
2037 (CHAR_TO_CHARC): New inline function.
2039 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2041 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2043 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2044 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2045 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2046 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2047 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2049 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2051 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2053 (x_output_display_block): Use `CHARC_CHARSET' and
2056 * redisplay-tty.c (tty_output_display_block): Use
2058 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2060 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2062 * insdel.c (find_charsets_in_charc_string): Use
2064 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2065 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2066 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2067 (convert_charc_string_into_malloced_string): Likewise.
2069 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2071 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2072 instead of <Emchar_dynarr *> for buf; use
2073 `convert_bufbyte_string_into_charc_dynarr' instead of
2074 `convert_bufbyte_string_into_emchar_dynarr'; use
2075 `find_charsets_in_charc_string' instead of
2076 `find_charsets_in_emchar_string'.
2079 - Include "character.h".
2080 (struct rune): New member `cglyph'; delete member `chr'.
2082 * redisplay.c (redisplay_text_width_charc_string): New function;
2083 delete `redisplay_text_width_emchar_string'.
2084 (rtw_charc_dynarr): New variable; renamed from
2085 `rtw_emchar_dynarr'.
2086 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2087 `rtw_emchar_dynarr'; use
2088 `convert_bufbyte_string_into_charc_dynarr' instead of
2089 `convert_bufbyte_string_into_emchar_dynarr'; use
2090 `redisplay_text_width_charc_string' instead of
2091 `redisplay_text_width_emchar_string'.
2092 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2093 instead of `rtw_emchar_dynarr'; use
2094 `convert_bufbyte_string_into_charc_dynarr' instead of
2095 `convert_bufbyte_string_into_emchar_dynarr'.
2096 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2097 `redisplay_text_width_charc_string' instead of
2098 `redisplay_text_width_emchar_string'.
2099 (create_text_block): Modify for <struct rune> change.
2100 (generate_formatted_string_db): Likewise.
2101 (create_string_text_block): Likewise.
2102 (pixel_to_glyph_translation): Likewise.
2104 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2105 instead of <const Emchar *>.
2106 (x_text_width): Likewise.
2107 (x_output_display_block): Use <Charc_dynarr *> instead
2108 <Emchar_dynarr *>; modify for <structure rune> change.
2109 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2112 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2113 <const Emchar *>; use `charc_string_displayed_columns' instead of
2114 `emchar_string_displayed_columns'.
2115 (tty_output_display_block): Use <Charc_dynarr *> instead of
2116 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2117 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2118 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2119 `tty_output_emchar_dynarr_dynarr'.
2120 (tty_output_charc_dynarr): New function; delete
2121 `tty_output_charc_dynarr'.
2123 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2124 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2125 <Emchar_dynarr *> for buf; use
2126 `convert_bufbyte_string_into_charc_dynarr' instead of
2127 `convert_bufbyte_string_into_emchar_dynarr'.
2129 * frame.c (title_string_charc_dynarr): New variable; renamed from
2130 `title_string_emchar_dynarr'.
2131 (generate_title_string): Use `title_string_charc_dynarr' instead
2132 of `title_string_emchar_dynarr'; use
2133 `convert_charc_string_into_malloced_string' instead of
2134 `convert_emchar_string_into_malloced_string'.
2135 (init_frame): Use `title_string_charc_dynarr' instead of
2136 `title_string_emchar_dynarr'.
2139 - Include "character.h".
2140 (struct console_methods): Use <const Charc *> instead of <const
2141 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2142 <Emchar_dynarr *> in output_string_method.
2144 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2147 * console-stream.c (stream_text_width): Use <const Charc *>
2148 instead of <const Emchar *>.
2150 * character.h (Charc_dynarr): New type.
2152 * char-ucs.h (structure Charc): New structure; define new type
2155 * char-lb.h (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 * char-1byte.h (Vcharset_control_1): New macro.
2161 (Vcharset_latin_iso8859_1): New macro.
2162 (DECODE_CHAR): New inline function.
2163 (encode_char_1): New inline function.
2164 (ENCODE_CHAR): New macro.
2165 (structure Charc): New structure; define new type `Charc'.
2167 * insdel.c (find_charsets_in_charc_string): New function; delete
2168 `find_charsets_in_emchar_string'.
2169 (charc_string_displayed_columns): New function; delete
2170 `emchar_string_displayed_columns'.
2171 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2172 `convert_bufbyte_string_into_emchar_dynarr'.
2173 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2174 `convert_charc_string_into_bufbyte_dynarr'.
2175 (convert_charc_string_into_malloced_string): New function; delete
2176 `convert_charc_string_into_malloced_string'.
2178 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2179 `find_charsets_in_emchar_string'.
2180 (charc_string_displayed_columns): New prototype; delete
2181 `emchar_string_displayed_columns'.
2182 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2183 `convert_charc_string_into_bufbyte_dynarr'.
2184 (convert_charc_string_into_malloced_string): New prototype; delete
2185 `convert_charc_string_into_malloced_string'.
2187 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2189 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2191 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2193 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2195 * char-ucs.h: Use <short> for <Charset_ID>.
2197 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2200 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2202 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2205 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2207 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2209 (Qmorohashi_daikanwa): New variable.
2210 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2211 for `morohashi-daikanwa' attribute.
2212 (Fget_char_attribute): Likewise.
2213 (Fput_char_attribute): Likewise.
2214 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2215 has the same value of `ideograph-daikanwa'.
2216 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2217 (vars_of_mule_charset): Setup
2218 `Vcharacter_morohashi_daikanwa_table'.
2220 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2222 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2224 (add_charset_to_list_mapper): Add `key' instead of
2225 `XCHARSET_NAME (value)' to return aliases.
2227 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2229 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2231 (Vcharacter_ideographic_strokes_table): New variable.
2232 (Qideographic_radical): New variable.
2233 (Qideographic_strokes): New variable.
2234 (Fchar_attribute_alist): Use
2235 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2236 attribute; use `Vcharacter_ideographic_strokes_table' for
2237 `ideographic-strokes' attribute.
2238 (Fget_char_attribute): Likewise.
2239 (Fput_char_attribute): Likewise.
2240 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2241 `ideographic-strokes'.
2242 (vars_of_mule_charset): Setup
2243 `Vcharacter_ideographic_radical_table' and
2244 `Vcharacter_ideographic_strokes_table'.
2246 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2248 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2249 (Qtotal_strokes): New variable.
2250 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2251 `total-strokes' attribute.
2252 (Fget_char_attribute): Likewise.
2253 (Fput_char_attribute): Likewise.
2254 (syms_of_mule_charset): Add new symbol `total-strokes'.
2255 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2257 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2259 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2260 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2262 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2263 `->decomposition' attribute.
2264 (Fput_char_attribute): Likewise.
2265 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2267 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2269 * mule-charset.c (decoding_table_check_elements): New function.
2270 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2272 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2274 * mule-charset.c (Fset_charset_mapping_table): Use
2275 `put_char_ccs_code_point'.
2277 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2279 * mule-charset.c (decoding_table_put_char): New inline function.
2280 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2282 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2284 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2285 (XCHARSET_BYTE_SIZE): New macro.
2286 (decoding_table_remove_char): New inline function.
2287 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2288 `decoding_table_remove_char'.
2289 (remove_char_ccs): Use `decoding_table_remove_char'.
2290 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2292 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2294 * mule-charset.c (Vcharacter_name_table): New variable.
2295 (Qname): New variable.
2296 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2298 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2299 `Vcharacter_name_table' for `name' attribute.
2300 (Fremove_char_attribute): Use function `remove_char_ccs'.
2301 (put_char_ccs_code_point): New function.
2302 (remove_char_ccs): New function.
2303 (syms_of_mule_charset): Add new symbol `name'.
2304 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2306 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2308 * mule-charset.c (make_byte_table): Add new argument `older'.
2309 (make_char_id_table): Likewise.
2310 (copy_char_id_table): Comment out because it is not used.
2311 (put_char_id_table): Modify for `make_byte_table'.
2312 (Fput_char_attribute): Make encoding_table as older object;
2313 inherit older bit of `Vcharacter_composition_table'.
2314 (mark_charset): Don't mark `cs->encoding_table'.
2315 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2316 normal object; make `Vcharacter_composition_table' as an older
2317 object; delete staticpro for `Vcharacter_composition_table'; make
2318 `Vcharacter_variant_table' as a normal object.
2320 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2321 (mark_object): Don't check older object in UTF-2000.
2323 * lrecord.h (struct lrecord_header): Add new member `older' in
2325 (set_lheader_implementation): Setup `SLI_header->older' in
2327 (set_lheader_older_implementation): New macro in UTF-2000.
2328 (OLDER_RECORD_P): New macro in UTF-2000.
2329 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2330 (alloc_older_lcrecord): New prototype in UTF-2000.
2331 (alloc_older_lcrecord_type): New macro in UTF-2000.
2333 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2335 * mule-charset.c (byte_table_description): Use
2336 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2337 (char_id_table_description): Delete bogus `, 1'.
2338 (Fget_char_attribute): Refer encoding_table of each coded-charset
2339 to get value of coded-charset attribute of a character.
2340 (Fput_char_attribute): Use `make_older_vector' instead of
2341 `make_vector'; use encoding_table of each coded-charset to store
2342 value of coded-charset attribute of a character.
2343 (Fremove_char_attribute): Use encoding_table of each coded-charset
2344 to store value of coded-charset attribute of a character.
2345 (mark_charset): Mark `cs->encoding_table'; don't mark
2346 `cs->decoding_table'.
2347 (charset_description): Add description of new member
2349 (make_charset): Initialize `encoding_table'.
2351 * char-ucs.h (struct Lisp_Charset): Add new member
2353 (CHARSET_ENCODING_TABLE): New macro.
2354 (XCHARSET_ENCODING_TABLE): New macro.
2355 (charset_code_point): New implementation.
2356 (encode_char_1): Likewise.
2358 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2359 (disksave_object_finalization_1): Call finalizers of
2360 `all_older_lcrecords' in UTF-2000.
2361 (make_older_vector): New function in UTF-2000.
2362 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2365 * lisp.h (make_older_vector): New prototype in UTF-2000.
2367 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2369 * lrecord.h (enum lrecord_type): Rename
2370 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2372 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2373 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2374 `get_char_code_table'.
2376 * mule-charset.c (mark_char_id_table): Renamed from
2377 `mark_char_code_table'.
2378 (char_id_table_equal): Renamed from `char_code_table_equal'.
2379 (char_id_table_hash): Renamed from `char_code_table_hash'.
2380 (make_char_id_table): Renamed from `make_char_code_table'.
2381 (copy_char_id_table): Renamed from `copy_char_code_table'.
2382 (get_char_id_table): Renamed from `get_char_code_table'.
2383 (put_char_id_table): Renamed from `put_char_code_table'.
2384 (to_char_id): Renamed from `to_char_code'.
2386 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2387 `Lisp_Char_Code_Table'.
2388 (char_id_table): Renamed from `char_code_table'.
2389 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2390 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2391 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2392 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2393 (get_char_id_table): Renamed from `get_char_code_table'.
2395 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2397 * lrecord.h (enum lrecord_type): Rename
2398 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2400 * mule-charset.c (mark_byte_table): Renamed from
2401 `mark_char_byte_table'.
2402 (byte_table_equal): Renamed from `char_byte_table_equal'.
2403 (byte_table_hash): Renamed from `byte_table_hash'.
2404 (make_byte_table): Renamed from `make_byte_table'.
2405 (copy_byte_table): Renamed from `copy_char_byte_table'.
2407 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2408 `Lisp_Char_Byte_Table'.
2409 (byte_table): Renamed from `char_byte_table'.
2410 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2411 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2412 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2413 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2415 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2417 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2418 (dfc_convert_to_internal_format): Likewise.
2420 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2421 * text-coding.c (Fcoding_system_alias_p): New function.
2422 * text-coding.c (Fcoding_system_aliasee): New function.
2423 * text-coding.c (append_suffix_to_symbol): New function.
2424 * text-coding.c (dangling_coding_system_alias_p): New function.
2425 * text-coding.c (Ffind_coding_system):
2426 * text-coding.c (Fcopy_coding_system):
2427 * text-coding.c (encode_coding_no_conversion):
2428 * text-coding.c (syms_of_file_coding):
2429 * text-coding.c (vars_of_file_coding):
2430 Rewrite coding system alias code.
2431 Allow nested aliases, like symbolic links.
2432 Allow redefinition of coding system aliases.
2433 Prevent existence of dangling coding system aliases.
2434 Eliminate convert_to_external_format.
2435 Eliminate convert_to_internal_format.
2437 * text-coding.c: Change enum eol_type to eol_type_t.
2439 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2441 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2442 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2444 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2445 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2447 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2449 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2450 `ideograph-daikanwa'.
2452 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2453 (Vcharset_ucs_bmp): Likewise.
2454 (Vcharset_mojikyo): Add new extern variable definition.
2455 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2456 (Vcharset_latin_iso8859_3): Likewise.
2457 (Vcharset_latin_iso8859_4): Likewise.
2458 (Vcharset_latin_iso8859_9): Likewise.
2459 (Vcharset_latin_viscii_lower): Likewise.
2460 (Vcharset_latin_viscii_upper): Likewise.
2461 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2462 `mojikyo' code-point is used to decode.
2463 (encode_char_2): New function [to convert `mojikyo' code-point to
2464 Mojikyo font encoding].
2465 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2466 (breakup_char_1): Likewise.
2467 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2469 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2471 * text-coding.c (Fmake_coding_system): Add document about
2472 `disable-composition' property.
2474 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2476 * text-coding.c (Qdisable_composition): New variable; delete
2478 (Fmake_coding_system): Add new property `disable-composite';
2479 delete property `composite'.
2480 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2481 instead of `!CODING_SYSTEM_COMPOSITE'.
2482 (syms_of_file_coding): Add new symbol `disable-composition';
2483 delete symbol `composite'.
2485 * file-coding.h (struct Lisp_Coding_System): Add
2486 `disable_composition'; delete `enable_composition'.
2487 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2488 `CODING_SYSTEM_COMPOSITE'.
2489 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2490 `XCODING_SYSTEM_COMPOSITE'.
2492 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2494 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2497 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2499 * text-coding.c (Qcomposite): New variable.
2500 (Fmake_coding_system): Add new property `composite'.
2501 (struct decoding_stream): Add `combined_char_count',
2502 `combined_chars' and `combining_table' in UTF-2000.
2503 (COMPOSE_FLUSH_CHARS): New macro.
2504 (COMPOSE_ADD_CHAR): New macro.
2505 (reset_decoding_stream): Reset `str->combined_char_count' and
2506 `str->combining_table' in UTF-2000.
2507 (decode_coding_iso2022): Modify for character-decomposition.
2508 (syms_of_file_coding): Add new symbol `composite'.
2510 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2512 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2513 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2514 of `Vcharacter_composition_table' if `->decomposition' property
2516 (Qlatin_tcvn5712): New variable.
2517 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2518 (complex_vars_of_mule_charset): Add new coded-charset
2521 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2523 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2525 * file-coding.h (struct Lisp_Coding_System): Add
2526 `enable_composition'.
2527 (CODING_SYSTEM_COMPOSITE): New macro.
2528 (XCODING_SYSTEM_COMPOSITE): New macro.
2530 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2532 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2534 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2536 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2537 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2539 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2541 * mule-charset.c (Vcharset_mojikyo): New variable.
2542 (Fdefine_char): Don't use coded-charset which does not have
2543 non-builtin character range to allocate character-id.
2544 (Qmojikyo): New variable.
2545 (syms_of_mule_charset): Add new symbol `mojikyo'.
2546 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2548 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2549 (LEADING_BYTE_MOJIKYO): New macro.
2550 (MIN_CHAR_MOJIKYO): New macro.
2551 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2552 (MAX_CHAR_MOJIKYO): New macro.
2554 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2556 * mule-charset.c (remove_char_attribute): Fixed.
2558 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2560 * mule-charset.c (remove_char_attribute): New function.
2561 (Fremove_char_attribute): New function.
2562 (encode_builtin_char_1): Comment out builtin-support for
2563 greek-iso8859-7 and cyrillic-iso8859-5.
2564 (Fdecode_char): Check `code' is an integer.
2565 (syms_of_mule_charset): Add `remove-char-attribute'.
2566 (MIN_CHAR_GREEK): Deleted.
2567 (MAX_CHAR_GREEK): Likewise.
2568 (MIN_CHAR_CYRILLIC): Likewise.
2569 (MAX_CHAR_CYRILLIC): Likewise.
2570 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2571 MAX_CHAR_GREEK for `greek-iso8859-7'.
2573 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2574 (MAX_CHAR_GREEK): Likewise.
2575 (MIN_CHAR_CYRILLIC): Likewise.
2576 (MAX_CHAR_CYRILLIC): Likewise.
2578 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2580 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2581 format is used without `ucs' property.
2582 (Fdecode_char): Fix problem with GR representation.
2583 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2584 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2586 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2588 * mule-charset.c (make_builtin_char): New function.
2589 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2590 (Fset_charset_mapping_table): Modify for new representation of
2592 (Fdecode_char): New function.
2593 (syms_of_mule_charset): Add new builtin function `decode-char' in
2596 * char-ucs.h (make_builtin_char): New prototype.
2597 (DECODE_CHAR): New inline function.
2598 (MAKE_CHAR): Use `DECODE_CHAR'.
2600 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2602 * text-coding.c (parse_charset_conversion_specs): Use
2603 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2605 (iso2022_designate): Likewise.
2607 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2608 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2610 * mule-charset.c (Vcharset_ucs): New variable.
2611 (print_charset): Change design; use `CHARSET_CHARS' and
2612 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2613 (make_charset): Change signature to specify `chars' and
2614 `dimension' instead of `type'.
2615 (range_charset_code_point): Modify for 256^n-set.
2616 (encode_builtin_char_1): Encode as `ucs' in default.
2617 (Fmake_charset): Modify for `make_charset'.
2618 (Fmake_reverse_direction_charset): Likewise.
2619 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2621 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2624 * char-ucs.h (Vcharset_ucs): New variable.
2625 (LEADING_BYTE_UCS): New macro.
2626 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2627 and `chars' to `unsigned short' from `unsigned int'.
2628 (CHARSET_TYPE): Deleted.
2629 (XCHARSET_TYPE): Deleted.
2631 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2633 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2635 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2636 (ENCODE_CHAR): New macro.
2638 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2640 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2641 to 0.14 (Kawachi-Katakami).
2643 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2645 * text-coding.c (char_encode_shift_jis): Modify for
2646 `charset_code_point'.
2647 (char_encode_iso2022): Likewise.
2649 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2650 (integer) instead of list of <Lisp_Object>s (integers) as the
2651 format of code-point of a coded-charset.
2652 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2653 (encode_builtin_char_1): New function; delete
2654 `split_builtin_char'.
2655 (charset_code_point): Return <int> instead of <Lisp_Object>.
2656 (Fsplit_char): Don't use `SPLIT_CHAR'.
2658 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2659 prototype for `split_builtin_char'.
2660 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2661 (charset_code_point): Likewise.
2662 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2663 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2665 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2667 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2668 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2670 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2672 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2674 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2675 (MAX_CHAR_OBS_94x94): Deleted.
2677 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2679 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2681 * char-ucs.h (MAX_CHAR_BMP): New macro.
2683 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2685 * text-coding.c: Sync with r21-2-24.
2687 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2689 * file-coding.c: Modify for UTF-2000.
2691 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2693 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2696 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2698 * mule-charset.c (split_builtin_char): Delete builtin support for
2699 `katakana-jisx0201'.
2700 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2701 BMP area in builtin representation.
2703 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2704 `Vcharset_katakana_jisx0201'.
2706 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2708 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2709 (Qisolated): New variable.
2710 (Qinitial): New variable.
2711 (Qmedial): New variable.
2712 (Qfinal): New variable.
2713 (Qvertical): New variable.
2714 (Qsmall): New variable.
2715 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2716 `Qvertical' and `Qsmall'.
2717 (Qmojikyo_pj_[1 .. 21]): New variable.
2718 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2719 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2720 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2723 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2725 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2726 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2727 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2729 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2731 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2732 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2734 (Qjapanese_jisx0208_1990): New variable.
2735 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2736 (complex_vars_of_mule_charset): Add new coded-charset
2737 `japanese-jisx0208-1990'.
2739 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2740 (MIN_CHAR_JIS_X0208_1990): New macro.
2741 (MAX_CHAR_JIS_X0208_1990): New macro.
2743 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2745 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2746 coded-charset is not found.
2748 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2750 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2751 (Fdefine_char): Use `Fmake_char'.
2753 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2755 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2756 (Vcharset_hiragana_jisx0208): Deleted.
2757 (Vcharset_katakana_jisx0208): Deleted.
2758 (Qideograph_daikanwa): New variable.
2759 (Qhiragana_jisx0208): Deleted.
2760 (Qkatakana_jisx0208): Deleted.
2761 (split_builtin_char): Split `ideograph-daikanwa'.
2762 (Fsplit_char): New implementation for UTF-2000.
2763 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2764 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2765 (complex_vars_of_mule_charset): Add new coded-charset
2766 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2767 `katakana-jisx0208'.
2769 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2770 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2771 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2772 (MIN_CHAR_DAIKANWA): New macro.
2773 (MAX_CHAR_DAIKANWA): New macro.
2775 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2777 * data.c (Fstring_to_number): Don't recognize floating point if
2780 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2782 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2784 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2786 * mule-charset.c (Qsquare): New variable.
2787 (to_char_code): Add `Qsquare'.
2788 (syms_of_mule_charset): Add new symbol `square'.
2790 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2792 * mule-charset.c (Qcircle): New variable.
2793 (to_char_code): Add `Qcircle'.
2794 (syms_of_mule_charset): Add new symbol `circle'.
2796 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2798 * mule-charset.c (Qfont): New variable.
2799 (to_char_code): Add `Qfont'.
2800 (syms_of_mule_charset): Add new symbol `font'.
2802 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2804 * mule-charset.c (Qsub): New variable.
2805 (to_char_code): Add `Qsub'.
2806 (syms_of_mule_charset): Add new symbol `sub'.
2808 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2810 * mule-charset.c (Fput_char_attribute): Convert each element of
2811 VALUE to GL position if ATTRIBUTE is a GR-set,
2813 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2815 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2816 coded-charset is a GR-set.
2818 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2820 * mule-charset.c (Fput_char_attribute): Check each element of
2821 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2823 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2825 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2827 (Qethiopic_ucs): New variable in UTF-2000.
2828 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2829 (complex_vars_of_mule_charset): Add new coded-charset
2830 `ethiopic-ucs' in UTF-2000.
2832 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2833 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2835 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2837 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2839 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2841 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2844 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2846 * mule-charset.c (Vcharacter_variant_table): New variable.
2847 (Q_ucs): New variable.
2848 (Fchar_variants): New function.
2849 (Fput_char_attribute): Register `->ucs' value to
2850 `Vcharacter_variant_table'.
2851 (syms_of_mule_charset): Add new function `char-variants' and new
2853 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2855 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2857 * mule-charset.c (get_char_code_table): Allow negative character
2859 (put_char_code_table): Likewise.
2860 (Vcharacter_composition_table): New variable.
2861 (Q_decomposition): New variable.
2862 (Qwide): New variable.
2863 (Qnarrow): New variable.
2864 (Qcompat): New variable.
2865 (QnoBreak): New variable.
2866 (Qsuper): New variable.
2867 (Qfraction): New variable.
2868 (to_char_code): New function.
2869 (Fget_composite_char): New function.
2870 (Fput_char_attribute): Register `->decomposition' value to
2871 `Vcharacter_composition_table'.
2872 (syms_of_mule_charset): Add new function `get-composite-char', new
2873 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2874 `super' and `fraction'.
2875 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2877 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2879 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2880 character; copy the return value.
2882 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2884 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2886 * mule-charset.c (range_charset_code_point): Must use make_int.
2887 (split_builtin_char): New function.
2889 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2891 * mule-charset.c (char_byte_table): Change name from
2892 "char-code-table" to "char-byte-table".
2893 (mark_char_code_table): New function.
2894 (char_code_table_equal): New function.
2895 (char_code_table_hash): New function.
2896 (char_code_table_description): New constant.
2897 (char_code_table): New type.
2898 (make_char_code_table): New function.
2899 (copy_char_code_table): New function.
2900 (get_char_code_table): Modify for `char_code_table' type.
2901 (put_char_code_table): Likewise.
2902 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2905 * char-ucs.h (char_code_table): New type.
2906 (XCHAR_CODE_TABLE): New macro.
2907 (XSETCHAR_CODE_TABLE): New macro.
2908 (CHAR_CODE_TABLE_P): New macro.
2909 (GC_CHAR_CODE_TABLE_P): New macro.
2910 (struct Lisp_Char_Code_Table): New structure.
2912 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2914 * mule-charset.c (Fmake_charset): Setup byte_offset for
2917 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2919 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2922 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2924 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2927 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2929 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2930 charset, it is regarded as a charset.
2931 (put_char_attribute): New function in UTF-2000.
2932 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2933 charset, mapping-table of the charset is modified.
2934 (Fdefine_char): New function in UTF-2000.
2935 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2936 `Fput_char_attribute'.
2937 (syms_of_mule_charset): Add new function `define-char' and new
2938 symbol `ucs' in UTF-2000.
2939 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2941 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2943 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2944 non-UTF-2000 configuration.
2946 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2948 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2949 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2951 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2953 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2954 (Fset_charset_mapping_table): Likewise.
2956 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2957 (CHARSET_ENCODING_TABLE): Delete.
2958 (XCHARSET_ENCODING_TABLE): Delete.
2959 (charset_code_point): New interface.
2961 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2963 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2964 instead of `charset_get_byte1' and `charset_get_byte2'.
2966 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2967 (charset_get_byte2): Deleted.
2969 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2971 * char-ucs.h (SPLIT_CHAR): New inline function.
2972 (breakup_char_1): Use `SPLIT_CHAR'.
2974 * mule-charset.c (range_charset_code_point): New function.
2975 (charset_code_point): New function.
2977 * char-ucs.h (range_charset_code_point): New interface.
2978 (breakup_char_1): Use `range_charset_code_point'.
2980 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2982 * mule-charset.c (Fmake_charset): Delete unused local variable
2985 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2986 (breakup_char_1): Find a charset and code-point in
2987 `Vcharacter_attribute_table'.
2989 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2991 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2994 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2996 * mule-charset.c (Vcharacter_attribute_table): New variable.
2997 (Fchar_attribute_alist): New function.
2998 (Fget_char_attribute): New function.
2999 (Fput_char_attribute): New function.
3000 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3002 (syms_of_mule_charset): Add new function `char-attribute-alist',
3003 `get-char-attribute' and `put-char-attribute'.
3004 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3006 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3008 * mule-charset.c (Fmake_charset): Just use
3009 `get_unallocated_leading_byte'.
3011 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3012 sets; don't use final-byte based number for private sets.
3014 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3016 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3019 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3021 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3024 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3026 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3027 of `CHAR_LEADING_BYTE' in UTF-2000.
3029 * insdel.c (find_charsets_in_bufbyte_string): Use
3030 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3031 (find_charsets_in_emchar_string): Likewise.
3033 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3034 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3036 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3037 (CHAR_CHARSET_ID): New macro.
3039 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3041 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3042 charset-id - MIN_LEADING_BYTE.
3043 (put_char_table): Likewise.
3045 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3047 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3048 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3049 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3050 (CHARSET_ID_OFFSET): New macro.
3051 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3052 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3053 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3054 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3056 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3058 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3059 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3060 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3061 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3062 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3064 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3066 * mule-charset.c (next_allocated_leading_byte): New variable in
3068 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3069 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3070 (get_unallocated_leading_byte): Simply use
3071 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3072 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3075 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3076 (MAX_LEADING_BYTE_PRIVATE): New macro.
3077 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3078 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3080 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3082 * mule-charset.c (Fmake_charset): Allocate final-byte based
3083 charset-id for 94-set, 96-set and 94x94-set.
3085 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3087 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3089 (Fmake_charset): Likewise.
3090 (complex_vars_of_mule_charset): Modify the font registry of
3091 `ucs-bmp' not to match `Ethiopic-Unicode'.
3093 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3095 * mule-charset.c (complex_vars_of_mule_charset): Add font
3096 registory of `ucs-bmp'.
3098 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3100 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3101 coded-charsets in `default-coded-charset-priority-list' when
3102 breaking up a character.
3104 * mule-charset.c (Vcharset_latin_viscii): New variable.
3105 (Qlatin_viscii): New variable.
3106 (make_charset): Don't use `decoding_table'.
3107 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3109 (Fset_charset_mapping_table): New implementation.
3110 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3111 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3112 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3113 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3114 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3115 charset `latin_viscii'.
3117 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3118 (CHARSET_TYPE_94X94): Change to 1 from 2.
3119 (CHARSET_TYPE_96): Change to 2 from 1.
3120 (CHARSET_TYPE_128): New macro.
3121 (CHARSET_TYPE_128X128): Change to 5 from 4.
3122 (CHARSET_TYPE_256): New macro.
3123 (CHARSET_TYPE_256X256): Change to 7 from 5.
3124 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3126 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3128 * text-coding.c (char_encode_shift_jis): Refer
3129 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3130 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3132 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3133 (char_byte_table_equal): New function in UTF-2000.
3134 (char_byte_table_hash): New function in UTF-2000.
3135 (char_byte_table_description): New constant in UTF-2000.
3136 (char_byte_table): New type in UTF-2000.
3137 (make_char_byte_table): New function in UTF-2000.
3138 (copy_char_byte_table): New function in UTF-2000.
3139 (make_char_code_table): New macro in UTF-2000.
3140 (get_char_code_table): New function in UTF-2000.
3141 (put_char_code_table): New function in UTF-2000.
3142 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3143 (charset_description): Add setting in UTF-2000.
3144 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3145 `CHARSET_TO_BYTE1_TABLE(cs)'.
3146 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3147 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3148 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3149 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3150 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3151 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3152 `CHARSET_TO_BYTE2_TABLE(cs)'.
3154 * char-ucs.h (char_byte_table): New type.
3155 (XCHAR_BYTE_TABLE): New macro.
3156 (XSETCHAR_BYTE_TABLE): New macro.
3157 (CHAR_BYTE_TABLE_P): New macro.
3158 (GC_CHAR_BYTE_TABLE_P): New macro.
3159 (struct Lisp_Char_Byte_Table): New structure.
3160 (get_char_code_table): New interface.
3161 (Emchar_to_byte_table): Deleted.
3162 (get_byte_from_character_table): Deleted.
3163 (struct Lisp_Charset): Add `encoding_table'; delete
3164 `to_byte1_table' and `to_byte2_table'.
3165 (CHARSET_ENCODING_TABLE): New macro.
3166 (CHARSET_TO_BYTE1_TABLE): Deleted.
3167 (CHARSET_TO_BYTE2_TABLE): Deleted.
3168 (XCHARSET_ENCODING_TABLE): New macro.
3169 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3170 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3172 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3174 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3175 `vietnamese-viscii-*'.
3177 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3179 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3180 (Qvietnamese_viscii_upper): New variable.
3181 (Fdefine_charset_alias): New function.
3182 (syms_of_mule_charset): Add new function `define-charset-alias'.
3183 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3184 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3187 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3189 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3190 (MAX_CHAR_OBS_94x94): New macro.
3191 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3194 * mule-charset.c (put_byte_from_character_table): Change unit size
3196 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3198 (Fmake_reverse_direction_charset): Modify dummy argument of
3199 `make_charset' for non-UTF-2000 environment.
3201 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3203 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3205 * mule-charset.c (destroy_byte_from_character_table): New macro.
3206 (latin_jisx0201_to_ucs): Deleted.
3207 (latin_iso8859_2_to_ucs): Deleted.
3208 (latin_iso8859_3_to_ucs): Deleted.
3209 (latin_iso8859_4_to_ucs): Deleted.
3210 (latin_iso8859_9_to_ucs): Deleted.
3211 (latin_viscii_lower_to_ucs): Deleted.
3212 (latin_viscii_upper_to_ucs): Deleted.
3213 (mark_charset): Mark `cs->decoding_table'.
3214 (Fcharset_mapping_table): Fix DOC-string.
3215 (Fset_charset_mapping_table): New function.
3216 (syms_of_mule_charset): Add nwe function
3217 `set-charset-mapping-table'.
3218 (complex_vars_of_mule_charset): Don't setup and use
3221 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3223 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3226 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3228 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3229 (Vcharset_katakana_jisx0208): New variable.
3230 (Qhiragana_jisx0208): New variable.
3231 (Qkatakana_jisx0208): New variable.
3232 (make_charset): Add new argument `byte_offset'.
3233 (charset_get_byte1): Modify for new coded-charset definition; use
3234 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3235 `XCHARSET_BYTE_OFFSET'.
3236 (Fmake_charset): Modify for `make_charset'.
3237 (Fmake_reverse_direction_charset): Likewise.
3238 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3239 `katakana-jisx0208'.
3240 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3241 `.' in font registry of charset `katakana-jisx0201',
3242 `latin-jisx0201', `vietnamese-viscii-lower' and
3243 `vietnamese-viscii-upper'; modify DOC-string of charset
3244 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3245 registry of charset `japanese-jisx0208' not to use font for JIS
3246 X0208:1990; add new charset `hiragana-jisx0208' and
3247 `katakana-jisx0208'.
3249 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3250 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3251 (struct Lisp_Charset): Add `byte_offset'.
3252 (CHARSET_BYTE_OFFSET): New macro.
3253 (XCHARSET_UCS_MIN): New macro.
3254 (XCHARSET_UCS_MAX): New macro.
3255 (XCHARSET_CODE_OFFSET): New macro.
3256 (XCHARSET_BYTE_OFFSET): New macro.
3257 (MIN_CHAR_HIRAGANA): New macro.
3258 (MAX_CHAR_HIRAGANA): New macro.
3259 (MIN_CHAR_KATAKANA): New macro.
3260 (MAX_CHAR_KATAKANA): New macro.
3261 (MAKE_CHAR): Modify for new coded-charset definition; use
3262 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3263 `XCHARSET_BYTE_OFFSET'.
3265 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3267 * mule-charset.c (CHAR96): Deleted.
3268 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3270 (latin_iso8859_2_to_ucs): Likewise.
3271 (latin_iso8859_3_to_ucs): Likewise.
3272 (latin_iso8859_4_to_ucs): Likewise.
3273 (latin_iso8859_9_to_ucs): Likewise.
3274 (latin_viscii_lower_to_ucs): Likewise.
3275 (latin_viscii_upper_to_ucs): Likewise.
3276 (latin_tcvn5712_to_ucs): Commented out.
3277 (make_charset): Change type of argument `decoding_table' from
3278 <Emchar*> to <Lisp_Object> [vector of characters].
3279 (Fmake_charset): Modify for `make_charset'.
3280 (Fmake_reverse_direction_charset): Likewise.
3281 (Fcharset_mapping_table): New function in UTF-2000.
3282 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3284 (complex_vars_of_mule_charset): Modify for type change of
3285 `*_to_ucs'; modify for `make_charset'.
3287 * char-ucs.h (struct Lisp_Charset): Change type of
3288 `decoding_table' from <Emchar*> to <Lisp_Object>.
3289 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3291 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3293 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3294 error with non-UTF-2000-Mule.
3296 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3298 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3300 (Vcharset_chinese_cns11643_4): Likewise.
3301 (Vcharset_chinese_cns11643_5): Likewise.
3302 (Vcharset_chinese_cns11643_6): Likewise.
3303 (Vcharset_chinese_cns11643_7): Likewise.
3304 (Qchinese_cns11643_3): Likewise.
3305 (Qchinese_cns11643_4): Likewise.
3306 (Qchinese_cns11643_5): Likewise.
3307 (Qchinese_cns11643_6): Likewise.
3308 (Qchinese_cns11643_7): Likewise.
3309 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3310 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3311 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3312 (complex_vars_of_mule_charset): Likewise.
3314 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3316 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3318 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3319 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3321 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3323 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3325 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3326 (breakup_char_1): Likewise.
3328 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3329 one of them includes the specified character.
3331 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3333 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3335 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3337 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3339 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3341 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3342 definition for non-UTF-2000 Mule.
3343 (latin_iso8859_3_to_ucs): Likewise.
3344 (latin_iso8859_4_to_ucs): Likewise.
3345 (latin_iso8859_9_to_ucs): Likewise.
3346 (latin_jisx0201_to_ucs): Likewise.
3347 (MIN_CHAR_THAI): Likewise.
3348 (MAX_CHAR_THAI): Likewise.
3349 (MIN_CHAR_GREEK): Likewise.
3350 (MAX_CHAR_GREEK): Likewise.
3351 (MIN_CHAR_HEBREW): Likewise.
3352 (MAX_CHAR_HEBREW): Likewise.
3353 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3354 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3355 (MIN_CHAR_CYRILLIC): Likewise.
3356 (MAX_CHAR_CYRILLIC): Likewise.
3358 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3360 * char-ucs.h (breakup_char_1): Use
3361 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3362 thai-tis620 and katakana-jisx0201 area.
3364 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3366 * char-ucs.h (breakup_char_1): Use
3367 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3370 * text-coding.c (reset_encoding_stream): Fixed.
3371 (char_encode_ucs4): Delete `& 255'.
3373 * char-ucs.h (breakup_char_1): Use
3374 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3376 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3378 * file-coding.c (Fmake_coding_system): Don't set up
3379 `codesys->fixed.size'.
3380 (encode_coding_no_conversion): Don't refer
3381 `str->codesys->fixed.size'.
3383 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3385 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3386 (latin_a_char_to_byte1): Deleted.
3387 (latin_a_char_to_byte2): Deleted.
3389 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3391 * mule-charset.c (make_charset): Add new argument `ucs_min',
3392 `ucs_max' and `code_offset'.
3393 (charset_get_byte1): New implementation [delete specific charset
3394 depended implementations].
3395 (Fmake_charset): Modify for `make_charset'.
3396 (Fmake_reverse_direction_charset): Likewise.
3397 (complex_vars_of_mule_charset): Likewise.
3399 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3401 (CHARSET_UCS_MIN): New macro.
3402 (CHARSET_UCS_MAX): New macro.
3403 (CHARSET_CODE_OFFSET): New macro.
3404 (MAKE_CHAR): Delete charset depended definitions [except
3407 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3409 * char-ucs.h (breakup_char_1): Use
3410 `Vdefault_coded_charset_priority_list' for C0-Controls,
3411 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3413 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3415 * char-ucs.h (charset_get_byte1): New function.
3416 (XCHARSET_GET_BYTE1): Deleted.
3417 (charset_get_byte2): New function.
3418 (XCHARSET_GET_BYTE2): Deleted.
3419 (Vdefault_coded_charset_priority_list): New external variable.
3420 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3421 `Vdefault_preferred_coded_charset_list'.
3423 * mule-charset.c (charset_get_byte1): New function.
3424 (charset_get_byte2): New function.
3425 (Vdefault_coded_charset_priority_list): New variable.
3426 (vars_of_mule_charset): Add new variable
3427 `default-coded-charset-priority-list'.
3429 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3431 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3432 (XCHARSET_GET_BYTE2): New inline function.
3433 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3434 `XCHARSET_GET_BYTE2'.
3436 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3438 * mule-charset.c (make_charset): Initialize
3439 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3440 NULL if table is not defined.
3442 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3444 * text-coding.c (char_encode_shift_jis): Use
3445 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3446 `ucs_to_latin_jisx0201'.
3448 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3449 (ucs_to_latin_iso8859_2): Deleted.
3450 (ucs_to_latin_iso8859_3): Deleted.
3451 (ucs_to_latin_iso8859_4): Deleted.
3452 (ucs_to_latin_iso8859_9): Deleted.
3453 (ucs_to_latin_viscii_lower): Deleted.
3454 (ucs_to_latin_viscii_upper): Deleted.
3455 (ucs_to_latin_tcvn5712): Deleted.
3456 (make_charset): Add new argument `decoding_table'; set up
3457 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3458 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3459 `decoding_table' is defined in UTF-2000.
3460 (Fmake_charset): Modify for `make_charset'.
3461 (Fmake_reverse_direction_charset): Likewise.
3462 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3463 and `GENERATE_96_SET'.
3465 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3466 (ucs_to_latin_jisx0201): Deleted.
3467 (latin_iso8859_2_to_ucs): Deleted.
3468 (ucs_to_latin_iso8859_2): Deleted.
3469 (latin_iso8859_3_to_ucs): Deleted.
3470 (ucs_to_latin_iso8859_3): Deleted.
3471 (latin_iso8859_4_to_ucs): Deleted.
3472 (ucs_to_latin_iso8859_4): Deleted.
3473 (latin_iso8859_9_to_ucs): Deleted.
3474 (ucs_to_latin_iso8859_9): Deleted.
3475 (latin_viscii_lower_to_ucs): Deleted.
3476 (ucs_to_latin_viscii_lower): Deleted.
3477 (latin_viscii_upper_to_ucs): Deleted.
3478 (ucs_to_latin_viscii_upper): Deleted.
3479 (struct Lisp_Charset): Renamed `encoding_table' to
3480 `to_byte1_table'; add `to_byte2_table'.
3481 (CHARSET_DECODING_TABLE): New macro.
3482 (CHARSET_TO_BYTE1_TABLE): New macro.
3483 (CHARSET_TO_BYTE2_TABLE): New macro.
3484 (XCHARSET_DECODING_TABLE): New macro.
3485 (XCHARSET_TO_BYTE1_TABLE): New macro.
3486 (XCHARSET_TO_BYTE2_TABLE): New macro.
3487 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3489 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3490 don't use `ucs_to_*' tables.
3492 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3494 * text-coding.c (Fmake_coding_system): Don't set up
3495 `codesys->fixed.size'.
3496 (encode_coding_no_conversion): Use `if' instead of `switch'.
3498 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3500 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3502 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3503 (Fmake_charset): Modify for `make_charset'.
3504 (Fmake_reverse_direction_charset): Likewise.
3505 (complex_vars_of_mule_charset): Likewise.
3507 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3509 * text-coding.c (char_encode_shift_jis): Use table
3510 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3512 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3514 * text-coding.c (text_encode_generic): Use `if' instead of
3516 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3519 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3521 * text-coding.c (encode_coding_sjis): Deleted.
3522 (char_encode_shift_jis): New function.
3523 (char_finish_shift_jis): New function.
3524 (reset_encoding_stream): Set up `encode_char' and `finish' for
3525 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3526 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3527 (char_encode_utf8): Treat `eol_type'.
3529 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3531 * file-coding.c (decode_coding_iso2022): Use
3532 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3534 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3536 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3539 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3541 * char-lb.h (CHAR_COLUMNS): New macro.
3543 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3545 * text-coding.c (char_encode_ucs4): New function.
3546 (char_finish_ucs4): New function.
3547 (encode_coding_ucs4): Deleted.
3548 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3549 (text_encode_generic): Delete local variable `charset' and `half'.
3550 (ucs_to_mule_table): Deleted.
3551 (mule_to_ucs_table): Deleted.
3552 (Fset_ucs_char): Deleted.
3553 (ucs_to_char): Deleted.
3554 (Fucs_char): Deleted.
3555 (Fset_char_ucs): Deleted.
3556 (Fchar_ucs): Deleted.
3557 (decode_ucs4): Deleted.
3558 (mule_char_to_ucs4): Deleted.
3559 (encode_ucs4): Deleted.
3560 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3561 (decode_coding_utf8): Likewise.
3562 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3563 (char_encode_iso2022): Fixed.
3564 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3565 `Fset_char_ucs' and `Fchar_ucs'.
3566 (complex_vars_of_file_coding): Don't initialize
3567 `ucs_to_mule_table'.
3569 * objects-tty.c (tty_initialize_font_instance): Don't use
3572 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3575 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3576 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3578 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3579 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3580 (emchar_string_displayed_columns): Likewise.
3582 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3583 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3584 (string_column_at_point): Likewise.
3585 (Fmove_to_column): Likewise.
3587 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3588 `encoding_table' and `decoding_table'.
3589 (CHARSET_REP_BYTES): Deleted.
3590 (XCHARSET_REP_BYTES): Deleted.
3591 (XCHARSET_COLUMNS): Deleted.
3592 (CHAR_COLUMNS): New macro.
3593 (lookup_composite_char): Deleted unconditionally.
3594 (composite_char_string): Likewise.
3596 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3598 * char-ucs.h (Emchar_to_byte_table): New type.
3599 (get_byte_from_character_table): New function interface.
3600 (Vcharset_latin_jisx0201): New variable.
3601 (latin_jisx0201_to_ucs): New variable.
3602 (ucs_to_latin_jisx0201): New variable.
3603 (Vcharset_latin_iso8859_2): New variable.
3604 (latin_iso8859_2_to_ucs): New variable.
3605 (ucs_to_latin_iso8859_2): New variable.
3606 (Vcharset_latin_iso8859_3): New variable.
3607 (latin_iso8859_3_to_ucs): New variable.
3608 (ucs_to_latin_iso8859_3): New variable.
3609 (Vcharset_latin_iso8859_4): New variable.
3610 (latin_iso8859_4_to_ucs): New variable.
3611 (ucs_to_latin_iso8859_4): New variable.
3612 (Vcharset_latin_iso8859_9): New variable.
3613 (latin_iso8859_9_to_ucs): New variable.
3614 (ucs_to_latin_iso8859_9): New variable.
3615 (Vcharset_latin_viscii_lower): New variable.
3616 (latin_viscii_lower_to_ucs): New variable.
3617 (ucs_to_latin_viscii_lower): New variable.
3618 (Vcharset_latin_viscii_upper): New variable.
3619 (latin_viscii_upper_to_ucs): New variable.
3620 (ucs_to_latin_viscii_upper): New variable.
3621 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3622 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3623 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3624 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3625 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3626 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3627 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3628 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3629 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3630 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3632 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3633 (Vcharset_latin_viscii_upper): New variable.
3634 (make_byte_from_character_table): New function.
3635 (put_byte_from_character_table): New function.
3636 (get_byte_from_character_table): New function.
3637 (CHAR96): New macro.
3638 (ucs_to_latin_jisx0201): New variable.
3639 (latin_jisx0201_to_ucs): New variable.
3640 (ucs_to_latin_iso8859_2): New variable.
3641 (latin_iso8859_2_to_ucs): New variable.
3642 (ucs_to_latin_iso8859_3): New variable.
3643 (latin_iso8859_3_to_ucs): New variable.
3644 (ucs_to_latin_iso8859_4): New variable.
3645 (latin_iso8859_4_to_ucs): New variable.
3646 (ucs_to_latin_iso8859_9): New variable.
3647 (latin_iso8859_9_to_ucs): New variable.
3648 (ucs_to_latin_viscii_lower): New variable.
3649 (latin_viscii_lower_to_ucs): New variable.
3650 (ucs_to_latin_viscii_upper): New variable.
3651 (latin_viscii_upper_to_ucs): New variable.
3652 (ucs_to_latin_tcvn5712): New variable.
3653 (latin_tcvn5712_to_ucs): New variable.
3654 (Qlatin_viscii_lower): New variable.
3655 (Qlatin_viscii_upper): New variable.
3656 (syms_of_mule_charset): Set up new symbol
3657 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3658 (complex_vars_of_mule_charset): Set up new charset
3659 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3660 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3661 `ucs_to_<CHARSET>' tables.
3663 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3665 * text-coding.c: New file.
3667 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3669 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3671 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3672 (MAKE_CHAR): Modify for `ucs-bmp'.
3673 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3674 non-MULE characters of BMP.
3676 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3678 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3681 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3684 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3685 - Include character.h for `CHAR_ASCII_P'.
3687 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3689 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3690 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3692 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3693 (BYTE_C0_P): Likewise.
3694 (BYTE_C1_P): Likewise.
3695 (Lstream_get_emchar_1): Likewise.
3696 (Lstream_fput_emchar): Likewise.
3697 (Lstream_funget_emchar): Likewise.
3698 (copy_internal_to_external): Likewise.
3699 (copy_external_to_internal): Likewise.
3701 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3702 (BYTE_C0_P): Likewise.
3703 (BYTE_C1_P): Likewise.
3704 (Lstream_get_emchar_1): Likewise.
3705 (Lstream_fput_emchar): Likewise.
3706 (Lstream_funget_emchar): Likewise.
3707 (copy_internal_to_external): Likewise.
3708 (copy_external_to_internal): Likewise.
3710 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3711 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3713 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3714 (BYTE_ASCII_P): Moved to mb-1byte.h.
3716 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3718 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3720 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3721 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3722 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3723 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3724 (VALIDATE_CHARPTR_FORWARD): Likewise.
3725 (simple_charptr_emchar): Moved to mb-multibyte.h.
3726 (simple_set_charptr_emchar): Likewise.
3727 (simple_charptr_copy_char): Likewise.
3728 (non_ascii_charptr_emchar): Likewise.
3729 (non_ascii_set_charptr_emchar): Likewise.
3730 (non_ascii_charptr_copy_char): Likewise.
3731 (charptr_emchar): Moved to mb-*byte.h.
3732 (set_charptr_emchar): Likewise.
3733 (charptr_copy_char): Likewise.
3735 * mb-1byte.h, mb-multibyte.h: New files.
3737 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3739 * mb-utf-8.h (MULTIBYTE): New macro.
3740 (MAX_EMCHAR_LEN): Moved from buffer.h.
3741 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3743 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3745 * mb-lb.h, multibyte.h: New files.
3747 * char-1byte.h (Charset_ID): Moved from buffer.h.
3748 (MIN_LEADING_BYTE): Likewise.
3749 (LEADING_BYTE_ASCII): Likewise.
3750 (NUM_LEADING_BYTES): Likewise.
3751 (CHARSETP): Likewise.
3752 (CHARSET_BY_LEADING_BYTE): Likewise.
3753 (XCHARSET_LEADING_BYTE): Likewise.
3754 (XCHARSET_GRAPHIC): Likewise.
3755 (XCHARSET_COLUMNS): Likewise.
3756 (XCHARSET_DIMENSION): Likewise.
3757 (CHAR_CHARSET): Likewise.
3758 (CHAR_LEADING_BYTE): Likewise.
3759 (BREAKUP_CHAR): Likewise.
3760 (Vcharset_ascii): Likewise.
3762 * buffer.h: Include multibyte.h unconditionally.
3763 (VALID_CHARPTR_P): Moved to multibyte.h.
3764 (ASSERT_VALID_CHARPTR): Likewise.
3765 (REAL_INC_CHARPTR): Likewise.
3766 (REAL_INC_CHARBYTIND): Likewise.
3767 (REAL_DEC_CHARPTR): Likewise.
3768 (INC_CHARPTR): Likewise.
3769 (INC_CHARBYTIND): Likewise.
3770 (DEC_CHARPTR): Likewise.
3771 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3772 (VALIDATE_CHARPTR_FORWARD): Likewise.
3773 (charptr_n_addr): Likewise.
3774 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3775 (simple_charptr_emchar): Moved to multibyte.h.
3776 (simple_set_charptr_emchar): Likewise.
3777 (simple_charptr_copy_char): Likewise.
3778 (non_ascii_charptr_emchar): Likewise.
3779 (non_ascii_set_charptr_emchar): Likewise.
3780 (non_ascii_charptr_copy_char): Likewise.
3781 (charptr_emchar): Likewise.
3782 (set_charptr_emchar): Likewise.
3783 (charptr_copy_char): Likewise.
3784 (charptr_emchar_n): Likewise.
3785 (Charset_ID): Moved to char-1byte.h.
3786 (Vcharset_ascii): Likewise.
3787 (CHAR_CHARSET): Likewise.
3788 (CHAR_LEADING_BYTE): Likewise.
3789 (LEADING_BYTE_ASCII): Likewise.
3790 (NUM_LEADING_BYTES): Likewise.
3791 (MIN_LEADING_BYTE): Likewise.
3792 (CHARSETP): Likewise.
3793 (CHARSET_BY_LEADING_BYTE): Likewise.
3794 (XCHARSET_LEADING_BYTE): Likewise.
3795 (XCHARSET_GRAPHIC): Likewise.
3796 (XCHARSET_COLUMNS): Likewise.
3797 (XCHARSET_DIMENSION): Likewise.
3798 (BREAKUP_CHAR): Likewise.
3800 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3802 * character.h: Add document about interface for characters.
3804 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3805 (MAKE_CHAR): Delete comment about
3806 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3807 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3808 (BREAKUP_CHAR): Modify name of arguments.
3809 (CHAR_CHARSET): Modify name of argument.
3811 * buffer.h: Delete document about Emchar accessors.
3813 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3815 * character.h (CHAR_INTP): Moved from buffer.h
3816 (CHAR_OR_CHAR_INTP): Likewise.
3817 (XCHAR_OR_CHAR_INT): Likewise.
3818 (CHECK_CHAR_COERCE_INT): Likewise.
3820 * buffer.h (CHAR_INTP): Moved to character.h
3821 (CHAR_OR_CHAR_INTP): Likewise.
3822 (XCHAR_OR_CHAR_INT): Likewise.
3823 (CHECK_CHAR_COERCE_INT): Likewise.
3825 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3828 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3829 - Include char-1byte.h, char-lb.h or char-ucs.h.
3831 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3833 * buffer.h: Include character unconditionally.
3834 (valid_char_p): Moved to char-*.h.
3835 (non_ascii_valid_char_p): Moved to char-lb.h.
3837 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3839 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3841 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3842 in UTF-2000 because it is not ported yet and not to use
3843 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3844 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3845 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3847 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3848 (CHAR_ASCII_P): Moved from character.h.
3850 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3851 (CHAR_ASCII_P): Likewise.
3852 (CHAR_FIELD1_MASK): Deleted.
3853 (CHAR_FIELD2_MASK): Deleted.
3854 (CHAR_FIELD3_MASK): Deleted.
3855 (MAX_CHAR_BASIC_LATIN): New macro.
3856 (CHAR_FIELD1): Deleted.
3857 (CHAR_FIELD2_INTERNAL): Deleted.
3858 (CHAR_FIELD3_INTERNAL): Deleted.
3859 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3860 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3861 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3862 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3863 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3864 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3865 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3866 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3867 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3868 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3869 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3870 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3871 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3872 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3873 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3874 (MIN_CHAR_COMPOSITION): Deleted.
3875 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3876 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3878 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3880 * buffer.h: Include mb-utf-8.h in UTF-2000.
3882 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3884 * mb-utf-8.h: New file.
3886 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3888 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3891 * mule-charset.h, buffer.h (Charset_ID): New type.
3893 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3895 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3896 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3897 instead of `MULE_CHAR_PRIVATE_OFFSET',
3898 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3899 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3900 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3902 * character.h (Vcharset_japanese_jisx0212): New variable
3905 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3907 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3908 (charset_by_attributes): Delete array about direction.
3909 (latin_a_char_to_charset): New variable in UTF-2000.
3910 (latin_a_char_to_byte1): New variable in UTF-2000.
3911 (latin_a_char_to_byte2): New variable in UTF-2000.
3912 (Qucs_bmp): New variable.
3913 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3915 (next_allocated_2_byte_leading_byte): Likewise.
3916 (non_ascii_set_charptr_emchar): Likewise.
3917 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3918 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3919 `charset_by_attributes'.
3920 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3921 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3922 and `CHARSET_BY_LEADING_BYTE'.
3923 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3924 `utf-2000-version' to `vars_of_mule_charset'.
3925 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3926 define `leading-code-private-11' in UTF-2000; move setting of
3927 `utf-2000-version' from `syms_of_mule_charset'.
3928 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3931 * character.h (Charset_ID): New type.
3932 (LEADING_BYTE_UCS_BMP): New macro.
3933 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3934 (CHARSET_ID_OFFSET_94): New macro.
3935 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3936 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3937 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3939 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3940 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3941 (CHARSET_ID_OFFSET_96): New macro.
3942 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3943 CHARSET_ID_OFFSET_96 and final-byte.
3944 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3945 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3946 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3947 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3948 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3949 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3950 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3951 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3952 (LEADING_BYTE_THAI_TIS620): Likewise.
3953 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3954 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3955 (CHARSET_ID_OFFSET_94x94): New macro.
3956 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3957 CHARSET_ID_OFFSET_94x94 and final-byte.
3958 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3959 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3960 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3961 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3962 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3963 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3964 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3965 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3966 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3967 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3968 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3969 (CHARSET_TYPE_128X128): New macro.
3970 (CHARSET_TYPE_256X256): New macro.
3971 (XCHARSET_PRIVATE_P): Delete unconditionally.
3972 (charset_by_attributes): Delete array about direction.
3973 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3974 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3975 (MIN_CHAR_94): New macro.
3976 (MAX_CHAR_94): New macro.
3977 (MIN_CHAR_96): New macro.
3978 (MAX_CHAR_96): New macro.
3979 (MIN_CHAR_94x94): New macro.
3980 (MAX_CHAR_94x94): New macro.
3981 (MIN_CHAR_96x96): New macro.
3982 (MAX_CHAR_96x96): New macro.
3983 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3984 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3985 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3987 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3988 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3989 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3990 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3991 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3992 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3993 `XCHARSET_LEADING_BYTE' to make code-point.
3994 (latin_a_char_to_charset): New variable.
3995 (latin_a_char_to_byte1): New variable.
3996 (latin_a_char_to_byte2): New variable.
3997 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3998 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3999 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4001 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4002 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4003 (find_charsets_in_emchar_string): Likewise.
4004 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4006 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4008 (decode_coding_iso2022): Likewise.
4010 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4013 * redisplay.c (redisplay_text_width_emchar_string): Use
4014 `Charset_ID' instead of `unsigned char'.
4015 (redisplay_frame_text_width_string): Likewise.
4017 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4020 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4021 instead of `unsigned char'.
4022 (face_cachel_charset_font_metric_info): Likewise.
4024 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4025 (get_non_ascii_char_table_value): Likewise.
4026 (get_char_table): Likewise.
4027 (put_char_table): Likewise.
4028 (map_over_other_charset): Likewise.
4029 (map_char_table): Likewise.
4031 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4032 instead of `unsigned char'.
4034 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4036 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4037 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4039 * mule-charset.c (leading_code_private_11): Don't define in
4042 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4043 in UTF-2000 because it is not ported yet and not to use
4044 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4046 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4048 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4050 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4052 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4055 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4056 of unsigned char to store leading-byte.
4058 * chartab.c (get_non_ascii_char_table_value): Don't use
4059 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4061 * file-coding.c (encode_coding_big5): Delete bogus implementation
4064 * character.h (LEADING_BYTE_*): Delete definition for
4066 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4067 (LEADING_BYTE_PREFIX_P): Deleted.
4068 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4069 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4070 (BUFBYTE_LEADING_BYTE_P): Deleted.
4071 (CHARSET_PRIVATE_P): Deleted unconditionally.
4072 (rep_bytes_by_first_byte): Deleted unconditionally.
4073 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4074 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4075 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4076 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4077 (CHAR_FIELD2): Deleted.
4078 (CHAR_FIELD3): Deleted.
4079 (MAKE_CHAR): Delete definition for non-UTF-2000.
4080 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4081 (breakup_char_1): New implementation.
4082 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4083 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4085 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4087 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4090 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4092 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4093 (CHARSET_PRIVATE_P): Likewise.
4094 (XCHARSET_PRIVATE_P): Likewise.
4095 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4097 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4099 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4101 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4103 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4104 (NUM_LEADING_BYTES): Changed from 128 to 256.
4105 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4106 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4108 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4110 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4112 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4113 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4114 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4115 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4116 (Qchinese_cns11643_3): New variable in UTF2000.
4117 (Qchinese_cns11643_4): New variable in UTF2000.
4118 (Qchinese_cns11643_5): New variable in UTF2000.
4119 (Qchinese_cns11643_6): New variable in UTF2000.
4120 (Qchinese_cns11643_7): New variable in UTF2000.
4121 (syms_of_mule_charset): Define `chinese-cns11643-3',
4122 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4123 and `chinese-cns11643-7' in UTF2000.
4124 (vars_of_mule_charset): Initialize
4125 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4127 (complex_vars_of_mule_charset): Setup charset
4128 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4129 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4131 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4133 * mule-charset.c: Move setting for `leading-code-private-11' from
4134 `syms_of_mule_charset' to `vars_of_mule_charset'.
4136 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4138 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4139 and `NUM_LEADING_BYTES' in assert.
4141 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4143 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4145 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4146 `NUM_LEADING_BYTES' instead of 128.
4148 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4150 * mule-charset.h (charset_by_leading_byte): Use
4151 `NUM_LEADING_BYTES' instead of 128.
4152 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4154 * mule-charset.c (charset_by_leading_byte): Use
4155 `NUM_LEADING_BYTES' instead of 128.
4156 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4158 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4161 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4163 * mule-charset.c (syms_of_mule_charset): Update to
4166 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4168 * file-coding.c (encode_coding_sjis): New implementation for
4169 UTF2000. (decode_coding_sjis): Ditto.
4171 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4173 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4174 Don't define in UTF2000.
4176 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4179 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4180 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4183 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4185 * config.h.in (CHAR_IS_UCS4): New macro.
4187 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4188 conventional MULE representation.
4189 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4191 * mule-charset.h: Reverted to original.
4193 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4194 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4195 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4197 * character.h: New file.
4199 * file-coding.c (Fmake_coding_system): Set 1 to
4200 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4202 (encode_coding_no_conversion): New implementation for UTF2000.
4204 * file-coding.h (struct Lisp_Coding_System): Add new member
4207 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4209 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4210 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4211 (encode_coding_iso2022): New implementation for UTF2000.
4213 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4215 * mule-canna.c (c2mu): New implementation for UTF2000.
4218 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4220 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4222 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4224 * file-coding.c (reset_encoding_stream): Set 0 to
4225 `str->iso2022.current_char_boundary' in UTF2000.
4226 (encode_utf8): Don't define in UTF2000.
4227 (encode_coding_utf8): New implementation for UTF-8 representation
4229 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4231 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4233 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4235 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4237 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4239 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4241 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4242 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4243 as UTF-8 in UTF2000.
4244 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4245 (non_ascii_valid_char_p): Don't define in UTF2000.
4246 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4247 (Lstream_get_emchar_1): Likewise.
4248 (utf-2000-version): New variable in UTF2000.
4250 * lread.c (read_escape): Add new reader `u'.
4252 * insdel.c (three_to_one_table): Don't define in UTF2000.
4253 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4254 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4256 (bytind_to_bufpos_func): Likewise.
4257 (buffer_mule_signal_inserted_region): Likewise.
4258 (vars_of_insdel): Don't initialize `three_to_one_table'.
4259 (init_buffer_text): Use `buf->text->mule_size' instead of
4260 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4263 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4264 UTF-8 representation in UTF2000.
4265 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4266 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4267 (decode_coding_iso2022): Don't define local variable `lb' in
4268 UTF2000; don't use LEADING_BYTE in UTF2000; use
4269 `DECODE_ADD_UCS_CHAR' in UTF2000.
4270 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4272 * config.h.in (UTF2000): New macro.
4274 * buffer.h (struct buffer_text): Add new member `mule_size' and
4275 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4276 (valid_char_p): Return always 1 in UTF2000.
4277 (MAX_EMCHAR_LEN): 6 in UTF2000.
4278 (three_to_one_table): Don't define in UTF2000.
4279 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4281 (real_bytind_to_bufpos): Likewise.
4283 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4285 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4287 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4288 representation change.
4289 (Vutf_2000_version): New variable.
4290 (leading_code_private_11): New variable.
4291 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4292 `leading-code-private-11'.
4294 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4295 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4296 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4297 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4298 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4299 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4300 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4301 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4302 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4303 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4304 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4305 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4306 (MIN_CHAR_GREEK): New macro.
4307 (MAX_CHAR_GREEK): New macro.
4308 (MIN_CHAR_CYRILLIC): New macro.
4309 (MAX_CHAR_CYRILLIC): New macro.
4310 (MIN_CHAR_HEBREW): New macro.
4311 (MAX_CHAR_HEBREW): New macro.
4312 (MIN_CHAR_THAI): New macro.
4313 (MAX_CHAR_THAI): New macro.
4314 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4315 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4316 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4317 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4318 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4319 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4320 (CHAR_FIELD2): New inline function.
4321 (CHAR_FIELD3): New inline function.
4322 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4323 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4324 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4325 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4326 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4327 (MIN_CHAR_COMPOSITION): Likewise.
4328 (CHAR_LEADING_BYTE): Modified for character representation change.
4329 (MAKE_CHAR): Likewise.
4331 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4332 (Vcharset_greek_iso8859_7): Likewise.
4333 (Vcharset_cyrillic_iso8859_5): Likewise.
4334 (Vcharset_hebrew_iso8859_8): Likewise.
4335 (Vcharset_thai_tis620): Likewise.
4336 (Vcharset_katakana_jisx0201): Likewise.
4338 2001-02-23 Martin Buchholz <martin@xemacs.org>
4340 * XEmacs 21.2.45 "Thelxepeia" is released.
4342 2001-02-21 Martin Buchholz <martin@xemacs.org>
4344 * lisp-union.h (XSETINT):
4347 Reverse previous change of 2001-02-06.
4349 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
4351 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
4353 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
4354 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
4355 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
4356 * regex.c (POS_AS_IN_BUFFER): removed
4357 * regex.c (re_search_2):
4358 * regex.c (re_match_2):
4359 Don't use an offset of 1 when calculating buffer positions, since
4360 `BI_BUF_BEGV' does it already.
4362 2001-02-18 Wim Dumon <wim@easics.be>
4364 * insdel.c (prepare_to_modify_buffer): Also check for
4365 supersession when clash-detection is enabled.
4367 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
4369 * regex.c (re_match_2_internal):
4370 Convert temp characters from 'const unsigned char' to 're_char'.
4371 Fix crashing bug with extended characters under mule.
4372 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
4373 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
4374 font-lock, pdump, and new syntax-table code.
4375 * syntax.c (find_start_of_comment):
4376 (find_end_of_comment):
4378 Fix crashing bugs involving moving beyond end of buffer.
4379 * syntax.c (find_start_of_comment):
4380 Fixed logic to allow proper detection of cases where the same
4381 character is used to end both a two-char comment start and a
4382 two-char comment end sequence. Fixes `(forward-comment -1)'.
4383 * syntax.c (find_start_of_comment):
4384 Return position just past last comment-end character for all cases
4385 (previously was only done for two-char comment-end sequences).
4386 * syntax.c (forward-comment):
4387 Take value returned from `find_end_of_comment', rather than
4389 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
4390 Properly deal with BUFFERP (syntax_cache.object)
4392 2001-02-17 Martin Buchholz <martin@xemacs.org>
4394 * alloc.c (Fgarbage_collect):
4395 * alloc.c (make_bit_vector_from_byte_vector):
4396 -Wsign-compare-correctness.
4398 2001-02-16 Martin Buchholz <martin@xemacs.org>
4400 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
4401 (XSETCHAR): Likewise.
4402 (XSETOBJ): Likewise.
4404 2001-02-15 Martin Buchholz <martin@xemacs.org>
4406 * mule-canna.c (canna-func-delete_previous):
4407 Rename to canna-func-delete-previous.
4409 2001-02-14 Martin Buchholz <martin@xemacs.org>
4411 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
4413 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
4415 * font-lock.c (find_context): Fix C++ compile errors introduced by
4418 2001-02-13 Martin Buchholz <martin@xemacs.org>
4420 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
4421 pragma, but earlier ones barf on the same pragma.
4423 2001-02-06 Mike Sperber <mike@xemacs.org>
4425 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
4426 `configure-mule-lisp-directory'.
4428 2001-02-12 Martin Buchholz <martin@xemacs.org>
4430 Make sure dump-id.c is compiled in the same way as other .c's.
4431 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
4432 * dump-id.h: Remove.
4433 * emacs.c: Move dump-id.h into dumper.h.
4434 * dumper.h: Move dump-id.h into dumper.h.
4436 Use standard .c.o rule for building dump-id.o.
4437 Remove preprocessor flags from link command.
4438 Add dump-id.o to ${otherobjs} if PDUMP.
4440 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
4442 Port FSF 20.7 syntax table improvements.
4446 Fixups for new syntax table stuff.
4447 * dired.c: Include syntax.c.
4448 (Fdirectory_files): Initialize regex_match_object and
4450 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
4451 and Fget_char_property.
4453 Use ported FSF 20.7 syntax table improvements.
4458 2001-02-09 Martin Buchholz <martin@xemacs.org>
4460 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
4461 Unixware's enum boolean from sys/types.h.
4463 2001-02-10 Martin Buchholz <martin@xemacs.org>
4465 Fix support for building with latest Purify.
4466 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
4467 (PURIFY_FLAGS): Likewise.
4469 2001-02-09 Martin Buchholz <martin@xemacs.org>
4471 * fileio.c (lisp_string_set_file_times): New.
4472 * fileio.c (Fcopy_file): Use it.
4474 (copy-file filename non-ascii-filename t t)
4475 ==> No such file or directory, non-ascii-filename
4477 2001-02-10 Martin Buchholz <martin@xemacs.org>
4479 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
4480 USHRT_MAX seems clearer than ~0 anyways.
4482 2001-02-09 Martin Buchholz <martin@xemacs.org>
4484 dumper improvements. Inspired by Olivier.
4485 * dumper.c (pdump_max_align): New.
4486 * dumper.c (pdump_add_entry): Use pdump_max_align.
4487 * dumper.c (pdump_get_entry_list): Likewise.
4488 * dumper.c (pdump_scan_by_alignment): Likewise.
4489 Don't iterate through unnecessary alignments.
4490 * dumper.c (pdump_file_get): No need to align result of malloc().
4491 * dumper.c (pdump_mallocadr): Remove.
4492 The result of malloc() is guaranteed to be maximally aligned.
4493 * dumper.c: s/elmt/elt/g;
4494 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
4495 * dumper.c (pdump_alert_undump_object): Likewise.
4496 * dumper.c (pdump_align_table):
4497 Don't support alignments > 64.
4498 Store ALIGNOF's, not shift counts, in table.
4500 2001-02-09 Martin Buchholz <martin@xemacs.org>
4502 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
4503 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
4504 * systime.h: Use HAVE_UTIME.
4505 * sysdep.c (struct utimbuf): Remove.
4506 * sysdep.c (set_file_times): Prefer utime() to utimes().
4507 * config.h.in (HAVE_UTIME): New.
4508 * config.h.in (HAVE_UTIME_H): Remove.
4509 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
4511 2001-02-09 Martin Buchholz <martin@xemacs.org>
4513 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
4515 2001-02-08 Martin Buchholz <martin@xemacs.org>
4517 * s/irix6-0.h: Use the standard system memmove, not bcopy.
4519 2001-02-08 Martin Buchholz <martin@xemacs.org>
4521 * XEmacs 21.2.44 "Thalia" is released.
4523 2001-02-06 Martin Buchholz <martin@xemacs.org>
4525 Fixes crashes in kill-emacs on some systems.
4526 * process-unix.c (unix_kill_child_process):
4527 It's OK for kill() to fail with ESRCH.
4529 2001-02-07 Martin Buchholz <martin@xemacs.org>
4531 Contortions to make .gdbinit tricks work on most systems.
4532 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
4533 * alloc.c (dbg_valmask): Make non-const.
4534 * alloc.c (dbg_typemask): Make non-const.
4535 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
4536 * alloc.c (dbg_valbits): Make non-const.
4537 * alloc.c (dbg_gctypebits): Make non-const.
4538 * .gdbinit (decode_object): Make it work with AIX cc.
4540 2001-02-06 Martin Buchholz <martin@xemacs.org>
4542 * elhash.c (make_general_lisp_hash_table):
4543 Use simpler and more efficient calloc to clear entries.
4545 2001-02-07 Martin Buchholz <martin@xemacs.org>
4547 * window.c (window_scroll): Work around an AIX C compiler bug.
4548 Fixes 'scroll-up' does nothing problem with xlC.
4550 2001-02-05 Martin Buchholz <martin@xemacs.org>
4552 * .gdbinit: Remove obsolete comment.
4554 2001-01-31 Mike Alexander <mta@arbortext.com>
4556 * select.c (Fown_selection_internal): Set owned_p for device
4559 2001-02-01 Martin Buchholz <martin@xemacs.org>
4562 "not" cannot be used as a macro name as it is an operator in C++
4563 * config.h.in: Stop #defining `not'.
4564 * chartab.c (check_category_char): not ==> not_p
4565 * chartab.h: Likewise.
4566 * regex.c (re_match_2_internal): Likewise.
4568 2001-02-02 Martin Buchholz <martin@xemacs.org>
4570 * lisp-disunion.h: Fix up comments.
4572 2001-01-31 Martin Buchholz <martin@xemacs.org>
4574 * keymap.c (define_key_check_and_coerce_keysym):
4576 Support mouse-6 and mouse-7 bindings in the obvious way.
4578 2001-02-01 Martin Buchholz <martin@xemacs.org>
4580 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
4582 2001-01-30 Martin Buchholz <martin@xemacs.org>
4584 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
4585 Previous patch missed DEFVAR_INT_MAGIC.
4586 Make sure future DEFVAR_foo use correct types.
4587 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
4588 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
4589 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
4590 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
4591 * (DEFVAR_INT): Likewise.
4592 * redisplay.c (vertical_clip): Should be of type Fixnum.
4593 * redisplay.c (horizontal_clip): Likewise.
4594 * lisp.h (dump_add_opaque_int): New.
4595 (dump_add_opaque_fixnum): New.
4597 2001-01-29 Andy Piper <andy@xemacs.org>
4599 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4600 since they can be eval'ed
4602 2001-01-29 Martin Buchholz <martin@xemacs.org>
4604 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4605 Oops, XEmacs redefines `class'. Use `typename' instead.
4607 2001-01-28 Martin Buchholz <martin@xemacs.org>
4609 * dumper.c: Fix C++ compile errors.
4611 2001-01-29 Martin Buchholz <martin@xemacs.org>
4613 * tparam.c: Use correct prototypes.
4615 2001-01-28 Martin Buchholz <martin@xemacs.org>
4617 * sysproc.h: #include util.h for NetBSD's openpty.
4619 2001-01-27 Martin Buchholz <martin@xemacs.org>
4621 More 64-bit correctness.
4622 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4623 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4625 This finally finishes the 64-bit SGI port.
4626 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4627 * symbols.c: Fix up comments and type casts.
4628 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4629 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4630 * symeval.h (Fixnum): New type.
4631 * symeval.h (symbol_value_type): Fix up comment.
4647 * mule-canna.c: A million DEFVAR_INTs here...
4648 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4661 s/int/Fixnum/g in DEFVAR_INT declarations.
4663 2001-01-26 Martin Buchholz <martin@xemacs.org>
4665 Port pdump to SGI alignment-sensitive environment.
4666 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4667 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4669 Define and use aligned reading and writing macros.
4670 Use buffered stdio instead of posix i/o for faster dumping.
4671 Eliminate kludgy 256 byte space for header.
4672 Read and write from dump file using structs for alignment safety.
4673 * dumper.c (pdump_align_stream): New.
4674 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4675 * dumper.c (PDUMP_READ_ALIGNED): New.
4676 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4677 * dumper.c (pdump_static_Lisp_Object): New struct.
4678 * dumper.c (pdump_static_pointer): New struct.
4679 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4680 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4681 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4682 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4684 * dumper.c (pdump_backtrace):
4685 * dumper.c (pdump_get_indirect_count):
4686 * dumper.c (pdump_register_object):
4687 * dumper.c (pdump_register_struct):
4688 * dumper.c (pdump_reloc_one):
4689 * dumper.c (pdump_scan_by_alignment):
4690 * dumper.c (pdump_dump_from_root_struct_ptrs):
4691 * dumper.c (pdump_dump_opaques):
4692 * dumper.c (pdump_dump_rtables):
4693 * dumper.c (pdump_dump_from_root_objects):
4695 * dumper.c (pdump_load_finish):
4696 Use aligned reading and writing.
4698 * dumper.c (pdump_free): Make static.
4699 * dumper.c (pdump_hFile): Likewise.
4700 * dumper.c (pdump_hMap): Likewise.
4702 2001-01-26 Martin Buchholz <martin@xemacs.org>
4704 * XEmacs 21.2.43 "Terspichore" is released.
4706 2001-01-25 Martin Buchholz <martin@xemacs.org>
4708 Type fiddling for window_config.saved_windows_count
4709 * window.c (struct window_config):
4710 Make saved_windows_count member unsigned.
4711 * window.c (sizeof_window_config_for_n_windows):
4712 Make parameter unsigned.
4713 * window.c (mark_window_config):
4714 * window.c (window_config_equal):
4715 * window.c (free_window_configuration):
4716 * window.c (Fset_window_configuration):
4717 * window.c (count_windows):
4718 * window.c (Fcurrent_window_configuration):
4719 * window.c (reinit_vars_of_window):
4720 Update all callers and users.
4722 2001-01-25 Martin Buchholz <martin@xemacs.org>
4724 Alignment correctness for flexible arrays.
4725 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4726 Make alignment-correct. Add interesting comments.
4727 * alloc.c (size_vector):
4728 * alloc.c (make_vector_internal):
4729 * alloc.c (make_bit_vector_internal):
4730 * alloc.c (sweep_bit_vectors_1):
4731 * fns.c (size_bit_vector):
4732 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4733 * window.c (sizeof_window_config_for_n_windows):
4734 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4736 2001-01-24 Martin Buchholz <martin@xemacs.org>
4738 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4740 2001-01-23 Andy Piper <andy@xemacs.org>
4742 * select.c (Fown_selection_internal): pass owned_p
4744 * select-msw.c (mswindows_own_selection): New Signature.
4746 * console.h (struct console_methods): add owned_p to
4749 * select-x.c (x_own_selection): pass owned_p
4750 (hack_motif_clipboard_selection): use owned_p
4751 (vars_of_select_x): new variable -
4752 x_selection_strict_motif_ownership.
4754 2001-01-23 Martin Buchholz <martin@xemacs.org>
4756 * specifier.h (specifier_data_offset): Remove pointless parens.
4757 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4759 2001-01-24 Martin Buchholz <martin@xemacs.org>
4761 Make Lisp_Object sizeof methods be alignment-correct.
4762 pdump must restore objects to the same alignment as the C compiler
4763 assumes. It really matters on SGIs.
4764 * lstream.c (aligned_sizeof_lstream): New.
4765 (sizeof_lstream): Use aligned_sizeof_lstream.
4766 (Lstream_new): Likewise.
4767 * opaque.c (aligned_sizeof_opaque): New.
4768 (sizeof_opaque): Use aligned_sizeof_opaque.
4769 (make_opaque): Likewise.
4770 * specifier.c (aligned_sizeof_specifier): New.
4771 (sizeof_specifier): Use aligned_sizeof_specifier.
4772 (make_specifier_internal): Likewise.
4774 2001-01-23 Martin Buchholz <martin@xemacs.org>
4776 * lstream.h (struct lstream): Use max_align_t for trailing data.
4777 * specifier.h (struct Lisp_Specifier): Likewise.
4779 2001-01-22 Martin Buchholz <martin@xemacs.org>
4781 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4782 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4783 (CCL_SUSPEND): Likewise.
4784 (CCL_INVALID_CMD): Likewise.
4785 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4786 (ccl_driver): Likewise.
4787 (CCL_WRITE_CHAR): Macro hygiene.
4788 (CCL_WRITE_STRING): Macro hygiene.
4790 2001-01-22 Martin Buchholz <martin@xemacs.org>
4792 Port "portable" dumper to SunOS 4 and HP-UX.
4793 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4794 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4795 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4797 2001-01-22 Martin Buchholz <martin@xemacs.org>
4799 * lisp.h (ALIGNOF): A better definition for C++.
4801 2001-01-20 Martin Buchholz <martin@xemacs.org>
4804 Fix printf warnings: int format, long int arg.
4805 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4806 (PUSH_FAILURE_POINT): Use correct printf formats.
4807 (POP_FAILURE_POINT): Use correct printf formats.
4808 Use do {...} while (0)
4810 2001-01-20 Martin Buchholz <martin@xemacs.org>
4812 * XEmacs 21.2.42 "Poseidon" is released.
4814 2001-01-20 Martin Buchholz <martin@xemacs.org>
4816 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4818 2001-01-19 Martin Buchholz <martin@xemacs.org>
4820 De-kludgify FIXED_TYPE free list frobbing.
4821 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4822 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4823 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4824 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4825 * alloc.c (LRECORD_FREE_P): New.
4826 * alloc.c (MARK_LRECORD_AS_FREE): New.
4827 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4828 * alloc.c (STRUCT_FREE_P): Deleted.
4829 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4830 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4831 * alloc.c (STRING_CHARS_FREE_P): New.
4832 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4833 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4834 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4835 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4836 * alloc.c (resize_string): Use new definitions.
4837 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4838 * alloc.c (verify_string_chars_integrity): Use new definitions.
4839 * alloc.c (compact_string_chars): Use new definitions.
4840 * alloc.c: Update monster comments.
4841 * lrecord.h (lrecord_type): Add some new lrecord types for
4844 2001-01-18 Martin Buchholz <martin@xemacs.org>
4846 Improve alignment hackery.
4847 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4848 (max_align_t): Moved from opaque.h - general purpose.
4849 (ALIGN_PTR): Use size_t, not long.
4850 * opaque.h (max_align_t): Move to lisp.h.
4852 2001-01-18 Norbert Koch <nk@LF.net>
4854 * gui.h: Fix and add prototypes to fix build problems.
4856 2001-01-18 Martin Buchholz <martin@xemacs.org>
4858 temacs is going away, so `dump-temacs' is now a bad name.
4859 * .dbxrc (dump-temacs): Rename to `dmp'.
4860 * .gdbinit (dump-temacs): Rename to `dmp'.
4862 2001-01-17 Andy Piper <andy@xemacs.org>
4864 * glyphs.c (print_image_instance): comment to make martin happy.
4866 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4869 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4871 (mswindows_tab_control_redisplay): warning suppression.
4873 * glyphs-widget.c (widget_update): re-write to cope with updated
4875 (widget_instantiate): use new gui_item functions.
4876 (tab_control_update): deleted.
4877 (progress_gauge_update): deleted.
4878 (image_instantiator_progress_guage): take out update reference.
4879 (image_instantiator_tree_view): ditto.
4880 (image_instantiator_tab_control): ditto.
4882 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4884 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4885 return whether anything was changed.
4886 (update_gui_item_keywords): as it sounds.
4888 * gui.h: declare widget_gui_parse_item_keywords.
4890 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4891 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4893 2001-01-17 Martin Buchholz <martin@xemacs.org>
4895 * XEmacs 21.2.41 "Polyhymnia" is released.
4897 2001-01-16 Didier Verna <didier@xemacs.org>
4899 * glyphs.c (image_instantiate): don't use fallbacks when
4900 instantiating a face's background pixmap by inheritance.
4902 2001-01-14 Mike Sperber <mike@xemacs.org>
4904 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4905 Conditionalize accordingly.
4907 2001-01-16 Martin Buchholz <martin@xemacs.org>
4909 * dumper.c (pdump_file_get): Fix a compiler warning.
4911 2001-01-15 Martin Buchholz <martin@xemacs.org>
4913 Make Purify happy when pdumping.
4914 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4915 iniitalizing all bits of new lisp object memory.
4916 * symbols.c (Fmake_local_variable): Likewise.
4917 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4918 * symbols.c (Fdefvaralias): Likewise.
4919 * mule-charset.c (vars_of_mule_charset): Likewise.
4921 2001-01-15 Martin Buchholz <martin@xemacs.org>
4922 Add the `-nd' flag when running pre-dump operations under the debugger.
4923 * .dbxrc (run-temacs): Add `-nd'.
4924 * .dbxrc (update-elc): Likewise.
4925 * .dbxrc (dump-temacs): Likewise.
4926 * .gdbinit (run-temacs): Likewise.
4927 * .gdbinit (check-temacs): Likewise.
4928 * .gdbinit (update-elc): Likewise.
4929 * .gdbinit (dump-temacs): Likewise.
4931 2001-01-14 Martin Buchholz <martin@xemacs.org>
4933 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4934 export OBJECT_MODE=64
4935 configure --pdump --use-union-type=no
4936 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4937 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4939 * miscplay.c (sndcnv8U_2mono):
4940 Avoid two uses of `++' in the same expression.
4941 Suppresses a GCC warning.
4943 2001-01-13 Martin Buchholz <martin@xemacs.org>
4945 Make sure future compilers don't miscompile alloc.c.
4947 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4948 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4950 2001-01-12 Martin Buchholz <martin@xemacs.org>
4952 * dumper.c: A little post-pdump-rename comment fixup.
4954 2001-01-09 Jerry James <james@eecs.ku.edu>
4956 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4958 2001-01-13 Martin Buchholz <martin@xemacs.org>
4960 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4964 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4967 replace_symbol pdump_wire_lists pdump_weak_object_chains
4968 replace_symbol pdump_wire_list dump_add_weak_object_chain
4970 replace_symbol pdump_wires pdump_root_objects
4971 replace_symbol pdump_wire dump_add_root_object
4973 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4974 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4976 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4977 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4978 replace_symbol dumpstructinfo pdump_root_struct_ptr
4979 replace_symbol dumpstruct dump_add_root_struct_ptr
4981 replace_symbol dumpopaque dump_add_opaque
4982 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4983 replace_symbol dumpopaqueinfos pdump_opaques
4984 replace_symbol dumpopaqueinfo pdump_opaque
4986 replace_symbol nb_structdump nb_root_struct_ptrs
4987 replace_symbol nb_opaquedump nb_opaques
4989 replace_symbol align_table pdump_align_table
4990 replace_symbol dump_header pdump_header
4992 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4993 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4996 2001-01-12 Martin Buchholz <martin@xemacs.org>
4998 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4999 optimizing bytecount_to_charcount().
5001 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
5004 (HAVE_DLFCN_H): Removed.
5005 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
5007 2001-01-06 Martin Buchholz <martin@xemacs.org>
5009 Portable dumper maintainability improvements.
5010 * alloc.c (staticpro):
5011 * alloc.c (staticpro_nodump):
5012 * alloc.c (garbage_collect_1):
5013 * alloc.c (reinit_alloc_once_early):
5014 * alloc.c (init_alloc_once_early):
5015 * alloc.c: Move dumper functions to alloc.c.
5016 * dumper.c (pdump_backtrace):
5017 * dumper.c (pdump_dump_structs):
5018 * dumper.c (pdump_dump_opaques):
5019 * dumper.c (pdump_dump_rtables):
5020 * dumper.c (pdump_dump_wired):
5022 * dumper.c (pdump_load_check):
5023 * dumper.c (pdump_load_finish):
5024 * dumper.c (pdump_file_unmap):
5025 * dumper.c (pdump_file_get):
5026 * dumper.c (pdump_resource_free):
5027 * dumper.c (pdump_resource_get):
5028 * dumper.c (pdump_file_free):
5029 * dumper.c (pdump_file_try):
5030 * dumper.c (pdump_load):
5031 Remove fixed size limits on staticpro(), staticpro_nodump(),
5032 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
5033 Remove custom code for dumping lrecord_implementations_table - use
5035 Remove (most of the) custom code for dumping staticpros - dump it
5036 like any other dynarr.
5038 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
5039 * dumper.c: Moved functions from alloc.c.
5040 * alloc.c (dumpstruct): Moved to dumper.c.
5041 * alloc.c (dumpopaque): Likewise.
5042 * alloc.c (pdump_wire): Likewise.
5043 * alloc.c (pdump_wire_list): Likewise.
5045 * lisp.h (Dynarr_sizeof): New.
5046 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
5047 * lisp.h (Dynarr_end): New. Very slightly C++oid.
5048 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
5050 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
5051 * lisp.h (dumpopaque): ditto.
5052 * lisp.h (pdump_wire): ditto.
5053 * lisp.h (pdump_wire_list): ditto.
5055 2001-01-09 Martin Buchholz <martin@xemacs.org>
5057 * make-src-depend (PrintPatternDeps):
5058 Use `sort' to make output independent of perl version.
5060 2001-01-08 Martin Buchholz <martin@xemacs.org>
5063 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
5064 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
5066 2001-01-03 Didier Verna <didier@xemacs.org>
5068 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
5069 that `focus_frame' is alive before thinking of calling
5070 `redisplay_redraw_cursor' on it.
5072 2001-01-08 Martin Buchholz <martin@xemacs.org>
5074 * XEmacs 21.2.40 is released.
5076 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
5078 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
5080 2001-01-06 Martin Buchholz <martin@xemacs.org>
5082 * alloc.c (dbg_valmask): Make const.
5083 * alloc.c (dbg_typemask): Make const.
5084 * alloc.c (dbg_USE_UNION_TYPE): Make const.
5085 * alloc.c (dbg_valbits): Make const.
5086 * alloc.c (dbg_gctypebits): Make const.
5088 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
5090 * redisplay-x.c (x_bevel_area):
5091 redisplay.h (struct rune):
5092 Typo fixes in comments.
5094 2001-01-05 Andy Piper <andy@xemacs.org>
5096 * glyphs-x.c (x_redisplay_widget): use size changed for offset
5099 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
5101 2001-01-05 Martin Buchholz <martin@xemacs.org>
5103 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
5105 * mule-ccl.c (stack_idx_of_map_multiple):
5106 Non const global data must not be initialized!
5107 Found by MIYASHITA Hisashi.
5109 2001-01-02 Andy Piper <andy@xemacs.org>
5111 * frame.c (change_frame_size): make sure frame size is always
5114 * glyphs.c (image_instance_layout): minor code reuse.
5116 * window.c (Fcurrent_window_configuration): revert previous
5119 2001-01-02 Martin Buchholz <martin@xemacs.org>
5122 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
5124 2000-12-31 Andy Piper <andy@xemacs.org>
5126 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
5127 when widget gets unmapped.
5129 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
5130 function. Make sure widgets losing focus don't just drop it.
5131 (handle_focus_event_1): record the widget with focus.
5133 2000-12-31 Andy Piper <andy@xemacs.org>
5135 * window.c (allocate_window): use
5136 make_image_instance_cache_hash_table.
5137 (make_dummy_parent): ditto.
5138 (Fset_window_configuration): ditto.
5140 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
5142 * glyphs.c (process_image_string_instantiator): use
5144 (get_image_instantiator_governing_domain): ditto.
5145 (normalize_image_instantiator): ditto.
5146 (instantiate_image_instantiator): ditto.
5147 (make_image_instance_1): ditto.
5148 (image_instantiate): ditto. Key on glyph *and* instantiator type.
5149 (instantiator_eq_equal): new function for use with instance hash
5151 (instantiator_eq_hash): ditto.
5152 (make_image_instance_cache_hash_table): create a suitable hash
5153 table for storing image instances.
5155 * elhash.h (hash_table_weakness): new internal weakness type
5156 HASH_TABLE_KEY_CAR_VALUE_WEAK.
5157 declare new functions.
5159 * elhash.c (finish_marking_weak_hash_tables): introduce yet
5160 another weakness type for glyphs.
5161 (make_standard_lisp_hash_table): new function split out from
5162 make_general_lisp_hash_table.
5163 (make_lisp_hash_table): call make_standard_lisp_hash_table.
5164 (hash_table_instantiate): ditto.
5165 (Fmake_hash_table): ditto.
5167 2000-12-31 Martin Buchholz <martin@xemacs.org>
5169 * XEmacs 21.2.39 is released.
5171 2000-12-29 Andy Piper <andy@xemacs.org>
5173 * menubar.c (menubar_visible_p_changed): signal the frame changed.
5175 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
5176 the frame has changed so that we pick up geometry changes such as
5179 2000-12-28 Andy Piper <andy@xemacs.org>
5181 * lastfile.c (my_ebss): make a char array so we can pad the
5182 bss. Fixes cygwin unexec.
5184 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
5186 2000-12-26 Andy Piper <andy@xemacs.org>
5188 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
5189 comments and try and be more precise about a non-/SIGIO world.
5190 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
5193 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
5194 we don't normalize to zero width or height.
5196 2000-12-24 Andy Piper <andy@xemacs.org>
5198 * Makefile.in.in (ldflags): add -mwindows when appropriate.
5200 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
5202 * s/sco5.h: SCO 5 has pty support.
5204 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
5206 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
5207 input-method-xlib.c contains whole contents of input-method-xfs.c,
5208 so we can use input-method-xlib.c's code for USE_XFONTSET
5210 * input-method-xfs.c: removed.
5212 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
5214 * file-coding.h (enum coding_category_type): reorder enumerators to
5215 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
5216 (now one greater than largest real coding_category_type enumerator).
5217 * file-coding.c (coding_category_symbol, coding_category_by_priority,
5218 coding_category_system, fcd_descriptihon_1, decode_coding_category,
5219 Fcoding_category_list, Fset_coding_priority_list,
5220 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
5221 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
5223 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
5225 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
5226 * redisplay-output.c (redisplay_output_window): Clear top of window
5227 when face is changed.
5228 * redisplay-x.c (x_redraw_exposed_window): Call
5229 redisplay_clear_top_of_window.
5230 * redisplay.h: Publish redisplay_clear_top_of_window.
5232 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
5234 * buffer.c (Fkill_buffer): Map over all devices.
5235 * window.c (window_loop): Remove UNSHOW_BUFFER code.
5236 (list_windows): New function.
5237 (list_all_windows): Ditto.
5238 (Freplace_buffer_in_windows): Use them.
5240 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5242 * database.c (berkdb_subtype): Recognize new subtype `queue'.
5243 (Fopen_database): Use `db_create' instead of `db_open'.
5244 (syms_of_database): Initialize Qqueue.
5246 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5248 * buffer.c (common_init_complex_vars_of_buffer): Initialize
5249 buffer_local_face_property.
5250 * buffer.h (struct buffer): New member buffer_local_face_property.
5251 * window.c (Fset_window_buffer): Mark window's face as changed
5252 when buffer has buffer local face.
5253 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
5254 * objects.c (color_after_change): Set buffer_local_face_property
5255 when locale of face specifier is buffer.
5256 * objects.c (font_after_change): Ditto.
5257 * objects.c (face_boolean_after_change): Ditto.
5258 * glyphs.c (image_after_change): Ditto.
5260 2000-12-09 Dan Holmsand <dan@eyebee.com>
5262 * nt.c (mswindows_fstat): Report file permissions, volume serial
5263 number, etc. Code adapted from FSF Emacs 20.7.
5265 2000-12-09 Dan Holmsand <dan@eyebee.com>
5267 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
5268 of stat when we don't have symbolic links, to make sure
5269 mswindows_stat is called on mswindows.
5271 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
5273 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
5275 2000-12-12 Martin Buchholz <martin@xemacs.org>
5277 * doprnt.c (emacs_doprnt_1): More printing fixes.
5278 Make printing of numbers compatible with libc and FSF Emacs.
5279 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
5280 Use the system printf to do most of the hard work of formatting,
5281 instead of doprnt_1().
5282 Calculate memory to allocate for format string.
5283 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
5284 (doprnt_1): Cleaner code and documentation.
5286 2000-12-01 Jerry James <james@eecs.ukans.edu>
5288 * Makefile.in.in: Use the loop variable to install headers.
5290 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
5292 * window.c (Fsplit_window): Don't invalidate face cache.
5294 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
5296 * minibuf.c (Fall_completions): Undo the previous change
5297 which removed checking elements start with space.
5299 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
5301 * mule-canna.c: Didier suppression.
5303 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
5305 * mule-canna.c: rename static unsigned char buf[] to key_buffer
5306 (warning suppression). Add English comment translations.
5308 2000-12-05 Martin Buchholz <martin@xemacs.org>
5310 * unexelfsgi.c (unexec): Better test for mmap failure.
5312 2000-12-05 Martin Buchholz <martin@xemacs.org>
5314 * XEmacs 21.2.38 is released.
5316 2000-12-05 Martin Buchholz <martin@xemacs.org>
5318 * redisplay.c (bar-cursor): Make a user variable.
5320 * symsinit.h: Add init_postgresql_from_environment.
5322 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
5324 * regex.c: Convert to clean C.
5326 2000-12-05 Dan Holmsand <dan@eyebee.com>
5329 Don't #include sysfile.h. Revert to duplicating PATH_MAX
5331 (sys_readlink): renamed to system_readlink to avoid conflict with
5332 the other sys_readlink.
5334 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
5336 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
5338 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
5340 * postgresql.c (init_postgresql_from_environment): new function.
5341 (vars_of_postgresql): Move code initializing Lisp variables out and
5342 into init_postgresql_from_environment.
5343 emacs.c (main_1): Call init_postgresql_from_environment if and only
5344 if running a dumped XEmacs.
5346 2000-08-31 Dan Holmsand <dan@eyebee.com>
5348 * buffer.c: Make find-file-compare-truenames default to true on
5351 * realpath.c (win32_abs_start):
5353 (win32_readlink): New functions.
5354 (xrealpath): Return really real filenames on windows.
5356 * fileio.c (Ffile_truename): Make file-truename work on windows.
5358 2000-11-29 Didier Verna <didier@xemacs.org>
5360 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
5361 * faces.c (update_face_cachel_data): use it.
5362 * faces.c (add_face_cachel): use it. Complete background pixmap
5363 frobbing in face cache if `update_face_cachel_data' has not done so.
5365 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
5367 * search.c (string_match_1): Don't set last_thing_searched
5370 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
5372 * buffer.c: Include casetab.h
5373 (common_init_complex_vars_of_buffer): Use new case-table object.
5374 * buffer.h: Include casetab.h
5375 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
5376 (DOWNCASE_TABLE_OF): Ditto.
5377 * bufslots.h: Remove char-tables and add case-table.
5378 * casetab.c: Include casetab.h
5379 (CASE_TABLE_P): Removed.
5380 (mark_case_table): New function.
5381 (allocate_case_table): New function.
5382 (Fcase_table_p): Use new case-table.
5383 (case_table_char): New function.
5384 (Fget_case_table): Ditto.
5385 (Fput_case_table): Ditto.
5386 (Fput_case_table_pair): Ditto.
5387 (Fcopy_case_table): Ditto.
5388 (Fcurrent_case_table): Return case-table.
5389 (Fstandard_case_table): Return case-table.
5390 (Fset_case_table): Fix doc-string.
5391 (set_case_table): Use case-table
5392 (syms_of_casetab): DEFSUBR new functions.
5393 (complex_vars_of_casetab): Set up standard case-table.
5394 * casetab.h: New file.
5395 * editfns.c: Include casetab.h
5396 (Fcompare_buffer_substrings): Use case-table.
5397 * inline.c: Include casetab.h
5398 * lisp.h: Remove bogus extern.
5399 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
5400 * search.c: Include casetab.h
5401 (TRANSLATE_ASCII): Removed.
5402 (TRANSLATE): Unconditionally translate character.
5403 (looking_at_1): Use case-table.
5404 (string_match_1): Ditto.
5405 (fast_string_match): Ditto.
5406 (search_command): Ditto.
5407 (search_buffer): Separate boyer_moore. Check whether
5408 boyer_moore is possible.
5409 (simple_search): New function.
5410 (boyer_moore): Separated from search_buffer. Translate char.
5412 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
5414 * regex.c (RE_TR_ASCII): Removed.
5415 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
5416 (PATFETCH): Call PATFETCH_RAW.
5417 (PATFETCH_RAW): Fetch Emchar.
5418 (PATUNFETCH): Decrement charptr.
5419 (GET_BUFFER_SPACE): Rename b to buf_end.
5421 (BUF_PUSH_2): Ditto.
5422 (BUF_PUSH_3): Ditto.
5423 (EXTEND_BUFFER): Ditto.
5424 (SET_LIST_BIT): Ditto.
5425 (regex_compile): Ditto. Translate non ASCII char.
5426 (compile_range): Ditto.
5427 (re_search_2): Ditto.
5428 (re_match_2_internal): Compare Emchar.
5429 (bcmp_translate): Ditto.
5431 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
5433 * lisp.h (basic char/int typedefs): comment improvement.
5435 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
5437 * emacs.c (main_1): unconditional pdump unstomping; don't save and
5438 unstomp inhibit_site_lisp. Improve comments.
5440 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
5442 * mule-charset.c (Fcharset_property): improve type checking, comments.
5444 2000-11-28 Andy Piper <andy@xemacs.org>
5446 * redisplay-output.c (redisplay_output_subwindow): make sure we do
5447 clipped display for windows in the gutter also.
5448 (redisplay_display_boxes_in_window_p): change semantics of return
5449 codes to be more intuitive.
5451 * gutter.h: declare display_boxes_in_gutter_p.
5453 * gutter.c (display_boxes_in_gutter_p): new function for
5456 2000-11-22 Andy Piper <andy@xemacs.org>
5458 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
5461 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
5463 * callproc.c (Fold_call_process_internal):
5464 * gpm.c (Freceive_gpm_event):
5465 (tty_get_foreign_selection): Might be just warning supression.
5466 * fileio.c (Fwrite_region_internal):
5467 (Fset_visited_file_modtime):
5468 * keymap.c (event_matches_key_specifier_p):
5469 Initialize GCPROed variable.
5471 * menubar-x.c (command_builder_find_menu_accelerator):
5472 Initialize before use.
5474 2000-11-23 Andy Piper <andy@xemacs.org>
5476 * unexcw.c (unexec): make the resulting executable executable.
5478 2000-11-21 Martin Buchholz <martin@xemacs.org>
5480 * doc.c (get_doc_string):
5481 Use size_t, not int, for result of XSTRING_LENGTH.
5483 * cmds.c (Fdelete_char):
5484 * cmds.c (Fpoint_at_eol):
5485 * cmds.c (Fself_insert_command):
5486 Use EMACS_INT, not int, for result of XINT.
5487 Someday, someone will want to insert more than 2**31 identical characters.
5489 * cmds.c (Fdelete_char):
5490 * cmds.c (Fdelete_backward_char):
5491 * syntax.c (Fforward_word):
5492 * syntax.c (Fforward_comment):
5493 Make COUNT argument optional, for consistency with forward-char et al.
5495 2000-11-22 Martin Buchholz <martin@xemacs.org>
5498 * print.c (long_to_string):
5499 Return a useful value: the pointer at end of data written.
5502 Use `static const char * const' for constant strings.
5503 (union printf_arg): Delete `i', `ui' members.
5506 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
5507 Do all printf-ing via the `l' specifier.
5508 Use EMACS_INT instead of int.
5511 2000-11-20 Didier Verna <didier@xemacs.org>
5513 * faces.c (update_face_cachel_data): don't frob the background
5514 pixmap when the window is being created. The face is needed but
5517 2000-11-20 Andy Piper <andy@xemacs.org>
5519 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
5520 messing with a debug environment.
5522 2000-11-20 Martin Buchholz <martin@xemacs.org>
5524 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
5526 2000-11-20 Martin Buchholz <martin@xemacs.org>
5528 * casetab.c (Fcase_table_p): Fix compile error and crash.
5530 2000-11-18 Philip Aston <philipa@mail.com>
5532 * s/cygwin32.h: Cygwin has SVR4-like pty support.
5534 2000-11-18 Martin Buchholz <martin@xemacs.org>
5536 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
5537 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
5539 2000-11-17 Martin Buchholz <martin@xemacs.org>
5541 * config.h.in: Define HAVE_ELF_H if elf.h exists.
5542 * unexelf.c: Use HAVE_ELF_H.
5543 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
5544 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
5545 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
5546 Greg Harrington <greg_harrington@hotmail.com> provided a machine
5548 So this is an unexelfsgi.c from a different line of development.
5550 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5552 * regex.c (RE_TR_ASCII): New function.
5553 (RE_TRANSLATE): Call it.
5555 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5557 * buffer.h (TRT_TABLE_OF): Remove assert.
5558 (IN_TRT_TABLE_DOMAIN): Removed.
5560 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
5562 * free-hook.c (log_gcpro):
5563 (show_gcprohist): Add support for GCPRO5.
5565 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
5567 * emacs.c (main_1): Improve -sd error message when --pdump=no.
5569 2000-11-16 Olivier Galibert <galibert@xemacs.org>
5571 * symeval.h: Declare flush_all_buffer_local_cache.
5573 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
5574 (flush_buffer_local_cache): Added.
5575 (flush_all_buffer_local_cache): Added.
5577 * lrecord.h: Remove unused XD_LO_RESET_NIL.
5579 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
5580 (pdump_dump_data): Ditto.
5581 (pdump_reloc_one): Ditto.
5582 (pdump): Remove unused pdump_qnil. Flush buffer local caches
5586 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5588 * buffer.c: Remove if 0'ed entry.
5589 * buffer.h: Rewrite TRT to use char-table.
5590 * bufslots.h: Remove mirror tables.
5591 * casetab.c: Remove mirror tables.
5592 (CASE_TABLE_P): New macro.
5593 (Fcase_table_p): Element of a case table is string or char-table.
5594 (make_mirror_trt_table): Removed.
5595 (set_case_table): Setup char-table from strings for backward
5597 * dired.c (Fdirectory_files):
5598 * dired-msw.c: (mswindows_get_files):
5599 * lisp.h: Change prototype of re_pattern_buffer.
5600 * regex.c: (RE_TRANSLATE): New macro.
5601 (TRANSLATE_P): Ditto.
5602 Change translate to type RE_TRANSLATE_TYPE.
5603 * regex.h: Define RE_TRANSLATE_TYPE
5604 * search.c (TRANSLATE): New macro.
5605 (TRANSLATE_ASCII): New macro.
5606 Translate table is changed to Lisp_Object.
5607 (signal_failure): Inhibit return.
5609 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5616 Do UNGCPRO before return.
5618 2000-11-14 Martin Buchholz <martin@xemacs.org>
5620 * XEmacs 21.2.37 is released.
5622 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5624 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5625 Add comments about discarded return value.
5627 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5630 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5632 2000-10-27 Andy Piper <andy@xemacs.org>
5634 * gutter.c (Fset_default_gutter_position): default left and right
5636 (calculate_gutter_size): calculate resonable heuristic for left
5637 and right gutter sizes.
5638 (specifier_vars_of_gutter): change left and right gutter sizes to
5640 (calculate_gutter_size_from_display_lines): new function.
5641 (output_gutter): check for resizing on left and right gutters.
5642 (clear_gutter): don't special case top and left gutters.
5643 (specifier_vars_of_gutter): use new signature for
5644 set_specifier_caching.
5646 * glyphs-x.c (x_redisplay_widget): spelling fix.
5647 * glyphs.c (specifier_vars_of_glyphs):
5648 * menubar.c (specifier_vars_of_menubar):
5649 * redisplay.c (specifier_vars_of_redisplay):
5650 * toolbar.c (specifier_vars_of_toolbar):
5651 * window.c (specifier_vars_of_window):
5652 * scrollbar.c (specifier_vars_of_scrollbar):
5653 (complex_vars_of_scrollbar): use new signature for
5654 set_specifier_caching.
5656 * specifier.c (set_specifier_caching): include recompute flag.
5657 (recompute_one_cached_specifier_in_window): always recompute if
5659 (recompute_one_cached_specifier_in_frame): ditto.
5661 * specifier.h (struct specifier_caching): add recompute flag.
5663 2000-10-24 Andy Piper <andy@xemacs.org>
5665 * unexcw.c (copy_executable_and_dump_data_section): add new
5666 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5669 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5671 * console-x.h (x_device): New member modifier_release_time.
5672 * event-Xt.c (x_handle_sticky_modifiers):
5673 Bound interval modifier keys are sticky.
5674 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5675 * events.h: extern it.
5677 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5679 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5681 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5683 * event-stream.c (execute_command_event): Preserve current_events
5684 and the like when event is misc-user-event.
5685 Inhibit quit during the call to maybe_echo_keys.
5687 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5689 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5690 symlink when buffer is killed.
5691 (inhibit_clash_detection): New variable.
5693 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5695 * console.c (Fset_input_method): Trigger redisplay on tty.
5697 2000-11-07 Martin Buchholz <martin@xemacs.org>
5699 * process.c (Fprocess_status): Revert to previous behavior:
5700 (process-status "nosuchprocess") ==> nil
5702 2000-11-06 Martin Buchholz <martin@xemacs.org>
5704 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5705 Work around another GCC 2.95.2 optimizer bug.
5707 2000-11-02 Martin Buchholz <martin@xemacs.org>
5709 * process.c (Fget_process): Use LIST_LOOP_2.
5710 (kill_buffer_processes): Use LIST_LOOP_2.
5712 * minibuf.c (Fall_completions):
5713 Delete old non-functional code for FSF fourth argument.
5715 * frame.c (frame_matches_frame_spec):
5716 Renamed from `frame_matches_frametype'. Update all callers.
5717 (device_matches_device_spec):
5718 Renamed from 'device_matches_console_spec'. Update all callers.
5720 * doc.c (Fsubstitute_command_keys):
5721 Remove buffer overflow crash. Small code cleanups.
5723 * casetab.c (check_case_table): Simpler code.
5725 * window.c (Freplace_buffer_in_windows):
5726 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5727 (and similar implementation) as Fdelete_windows_on.
5730 * alloc.c (Fmake_list):
5731 * alloc.c (make_vector):
5732 * alloc.c (Fmake_vector):
5733 * alloc.c (make_bit_vector):
5734 * alloc.c (Fmake_bit_vector):
5735 * alloc.c (Fbit_vector):
5736 * alloc.c (Fmake_string):
5737 * alloc.c (Fpurecopy):
5738 * alloc.c (Fmemory_limit):
5740 * buffer.c (Fget_buffer):
5741 * buffer.c (Fkill_buffer):
5742 * buffer.c (complex_vars_of_buffer):
5743 * bytecode.c (Fcompiled_function_stack_depth):
5744 * callint.c (Fprefix_numeric_value):
5746 * event-stream.c (Fread_key_sequence):
5748 * casetab.c (Fcase_table_p):
5749 * casetab.c (check_case_table):
5750 * casetab.c (Fset_case_table):
5751 * casetab.c (Fset_standard_case_table):
5753 * chartab.c (Fchar_table_type):
5754 * chartab.c (Freset_char_table):
5755 * chartab.c (Fget_char_table):
5756 * chartab.c (Fget_range_char_table):
5757 * chartab.c (Fput_char_table):
5758 * chartab.c (Fmap_char_table):
5759 * chartab.c (Fcategory_table_p):
5760 * chartab.c (Fcheck_category_at):
5761 * chartab.c (Fchar_in_category_p):
5762 * chartab.c (Fcategory_table):
5763 * chartab.c (Fcopy_category_table):
5764 * chartab.c (Fset_category_table):
5765 * chartab.c (Fcategory_designator_p):
5766 * chartab.c (Fcategory_table_value_p):
5767 * cmds.c (Fdelete_char):
5768 * cmds.c (Fdelete_backward_char):
5769 * cmds.c (Fself_insert_command):
5770 * cmds.c (Fself_insert_internal):
5771 * console.c (Fvalid_console_type_p):
5772 * console.c (Fcdfw_console):
5773 * console.c (Fconsole_type):
5774 * console.c (Fconsole_name):
5775 * console.c (Fconsole_device_list):
5776 * console.c (Fconsole_on_window_system_p):
5780 * data.c (Fsubr_interactive):
5781 * data.c (Fchar_to_int):
5782 * data.c (Fint_to_char):
5785 * data.c (Fnumber_to_string):
5786 * data.c (Fstring_to_number):
5788 * database.c (mark_database):
5789 * database.c (finalize_database):
5790 * database.c (Fdatabase_live_p):
5791 * database.c (Fdatabasep):
5792 * device-x.c (Fx_get_resource):
5793 * device.c (Fdfw_device):
5795 * dired.c (Ffile_name_completion):
5796 * dired.c (Ffile_name_all_completions):
5797 * dired.c (Fuser_name_completion):
5798 * dired.c (Fuser_name_completion_1):
5799 * dired.c (Fuser_name_all_completions):
5800 * doc.c (Fdocumentation):
5801 * doc.c (Fdocumentation_property):
5802 * doc.c (Fsubstitute_command_keys):
5804 * editfns.c (Fchar_to_string):
5805 * editfns.c (Fstring_to_char):
5806 * editfns.c (Ftemp_directory):
5807 * editfns.c (Finsert_char):
5808 * editfns.c (Fbuffer_substring_no_properties):
5809 * editfns.c (Fnarrow_to_region):
5810 * editfns.c (Fchar_equal):
5811 * editfns.c (Fchar_Equal):
5812 * editfns.c (Ftranspose_regions):
5813 * emacs.c (Fdump_emacs):
5815 * eval.c (Fcommand_execute):
5816 * eval.c (Fautoload):
5817 * eval.c (Fbacktrace):
5818 * eval.c (Fbacktrace_frame):
5820 * events.c (Fcopy_event):
5821 * events.c (Fcharacter_to_event):
5822 * events.c (Fevent_button):
5823 * events.c (Fevent_process):
5825 * extents.c (Fnext_extent_change):
5826 * extents.c (Fextent_property):
5828 * faces.c (Fmake_face):
5830 * file-coding.c (Fencode_shift_jis_char):
5831 * file-coding.c (Fencode_big5_char):
5832 * fileio.c (Ffile_name_directory):
5833 * fileio.c (Ffile_name_nondirectory):
5834 * fileio.c (Ffile_name_as_directory):
5835 * fileio.c (Fdirectory_file_name):
5836 * fileio.c (Ffile_truename):
5837 * fileio.c (Fsubstitute_in_file_name):
5838 * fileio.c (Ffile_modes):
5839 * fileio.c (Fset_file_modes):
5840 * fileio.c (Fset_default_file_modes):
5841 * fileio.c (Fverify_visited_file_modtime):
5842 * floatfns.c (Facos):
5843 * floatfns.c (Fasin):
5844 * floatfns.c (Fatan):
5845 * floatfns.c (Fcos):
5846 * floatfns.c (Fsin):
5847 * floatfns.c (Ftan):
5848 * floatfns.c (Fbessel_j0):
5849 * floatfns.c (Fbessel_j1):
5850 * floatfns.c (Fbessel_jn):
5851 * floatfns.c (Fbessel_y0):
5852 * floatfns.c (Fbessel_y1):
5853 * floatfns.c (Fbessel_yn):
5854 * floatfns.c (Ferf):
5855 * floatfns.c (Ferfc):
5856 * floatfns.c (Flog_gamma):
5857 * floatfns.c (Fexp):
5858 * floatfns.c (Fexpt):
5859 * floatfns.c (Flog):
5860 * floatfns.c (Flog10):
5861 * floatfns.c (Fsqrt):
5862 * floatfns.c (Fcube_root):
5863 * floatfns.c (Facosh):
5864 * floatfns.c (Fasinh):
5865 * floatfns.c (Fatanh):
5866 * floatfns.c (Fcosh):
5867 * floatfns.c (Fsinh):
5868 * floatfns.c (Ftanh):
5869 * floatfns.c (Fabs):
5870 * floatfns.c (Ffloat):
5871 * floatfns.c (Flogb):
5872 * floatfns.c (Fceiling):
5873 * floatfns.c (Ffloor):
5874 * floatfns.c (Fround):
5875 * floatfns.c (Ftruncate):
5876 * floatfns.c (Ffceiling):
5877 * floatfns.c (Fffloor):
5878 * floatfns.c (Ffround):
5879 * floatfns.c (Fftruncate):
5880 * fns.c (Fstring_equal):
5881 * fns.c (Fstring_lessp):
5886 * fns.c (Fsubstring):
5888 * fns.c (Fold_assoc):
5889 * fns.c (assoc_no_quit):
5891 * fns.c (Fold_assq):
5892 * fns.c (assq_no_quit):
5894 * fns.c (Fold_rassoc):
5896 * fns.c (Fold_rassq):
5897 * fns.c (rassq_no_quit):
5898 * fns.c (Fremassoc):
5899 * fns.c (remassoc_no_quit):
5901 * fns.c (remassq_no_quit):
5902 * fns.c (Fremrassoc):
5903 * fns.c (Fremrassq):
5904 * fns.c (remrassq_no_quit):
5906 * fns.c (Fplist_get):
5907 * fns.c (Fplist_put):
5908 * fns.c (Fplist_remprop):
5909 * fns.c (Fplist_member):
5910 * fns.c (Flax_plist_get):
5911 * fns.c (Flax_plist_put):
5912 * fns.c (Flax_plist_remprop):
5913 * fns.c (Flax_plist_member):
5915 * fns.c (Fold_equal):
5917 * fns.c (Fbase64_encode_region):
5918 * fns.c (Fbase64_encode_string):
5919 * fns.c (Fbase64_decode_region):
5921 * frame.c (frame_matches_frame_spec):
5922 * frame.c (device_matches_device_spec):
5923 * frame.c (next_frame):
5924 * frame.c (previous_frame):
5925 * frame.c (Fnext_frame):
5926 * frame.c (Fprevious_frame):
5927 * frame.c (Fframe_property):
5928 * frame.c (Fset_frame_height):
5929 * frame.c (Fset_frame_size):
5933 * glyphs.c (decode_error_behavior_flag):
5934 * glyphs.c (Fmake_image_instance):
5935 * indent.c (Findent_to):
5936 * intl.c (Fignore_defer_gettext):
5937 * keymap.c (Fkeymapp):
5938 * keymap.c (Flookup_key):
5940 * lread.c (Fload_internal):
5941 * lread.c (Feval_buffer):
5942 * lread.c (Feval_region):
5943 * macros.c (Fexecute_kbd_macro):
5944 * marker.c (set_marker_internal):
5945 * marker.c (Fset_marker):
5946 * marker.c (set_marker_restricted):
5947 * marker.c (Fcopy_marker):
5948 * marker.c (noseeum_copy_marker):
5950 * menubar.c (Fpopup_menu):
5952 * mule-charset.c (Fcharset_name):
5953 * mule-charset.c (Fchar_charset):
5954 * mule-charset.c (Fchar_octet):
5955 * mule-charset.c (Fsplit_char):
5956 * mule-wnnfns.c (Fwnn_open):
5957 * mule-wnnfns.c (Fwnn_dict_comment):
5958 * mule-wnnfns.c (Fwnn_quit_henkan):
5959 * mule-wnnfns.c (Fwnn_word_toroku):
5960 * mule-wnnfns.c (Fwnn_word_sakujo):
5961 * mule-wnnfns.c (Fwnn_word_use):
5962 * mule-wnnfns.c (Fwnn_hindo_set):
5964 * objects.c (Fmake_color_instance):
5965 * objects.c (Fmake_font_instance):
5966 * print.c (Fwrite_char):
5968 * process.c (mark_process):
5969 * process.c (print_process):
5970 * process.c (get_process_from_usid):
5971 * process.c (Fprocessp):
5972 * process.c (Fprocess_live_p):
5973 * process.c (Fget_process):
5974 * process.c (Fget_buffer_process):
5975 * process.c (get_process):
5976 * process.c (Fprocess_id):
5977 * process.c (Fprocess_name):
5978 * process.c (Fprocess_command):
5979 * process.c (init_process_io_handles):
5980 * process.c (start_process_unwind):
5981 * process.c (Fstart_process_internal):
5982 * process.c (Fopen_multicast_group_internal):
5983 * process.c (Fset_process_window_size):
5984 * process.c (read_process_output):
5985 * process.c (send_process):
5986 * process.c (Fprocess_tty_name):
5987 * process.c (Fset_process_buffer):
5988 * process.c (Fprocess_buffer):
5989 * process.c (Fprocess_mark):
5990 * process.c (set_process_filter):
5991 * process.c (Fset_process_filter):
5992 * process.c (Fprocess_filter):
5993 * process.c (Fprocess_send_region):
5994 * process.c (Fprocess_send_string):
5995 * process.c (exec_sentinel):
5996 * process.c (Fset_process_sentinel):
5997 * process.c (Fprocess_sentinel):
5998 * process.c (status_notify):
5999 * process.c (Fprocess_status):
6000 * process.c (Fprocess_exit_status):
6001 * process.c (process_send_signal):
6002 * process.c (Fprocess_send_eof):
6003 * process.c (deactivate_process):
6004 * process.c (remove_process):
6005 * process.c (Fdelete_process):
6006 * process.c (kill_buffer_processes):
6007 * process.c (Fprocess_kill_without_query):
6008 * process.c (Fprocess_kill_without_query_p):
6010 * rangetab.c (Fget_range_table):
6011 * rangetab.c (Fput_range_table):
6012 * rangetab.c (Fremove_range_table):
6013 * rangetab.c (Fclear_range_table):
6015 * search.c (Fskip_chars_forward):
6016 * search.c (Fskip_chars_backward):
6017 * search.c (Fskip_syntax_forward):
6018 * search.c (Fskip_syntax_backward):
6019 * search.c (search_command):
6020 * search.c (Freplace_match):
6021 * search.c (Fregexp_quote):
6022 * select.c (Fown_selection_internal):
6023 * select.c (Fselection_owner_p):
6024 * select.c (Fselection_exists_p):
6025 * select.c (Fget_selection_internal):
6028 * symbols.c (Fintern):
6029 * symbols.c (Fintern_soft):
6030 * symbols.c (Funintern):
6031 * symbols.c (Fapropos_internal):
6032 * symbols.c (Fset_default):
6034 * syntax.c (Fsyntax_table_p):
6035 * syntax.c (Fcopy_syntax_table):
6036 * syntax.c (Fset_syntax_table):
6037 * syntax.c (Fchar_syntax):
6038 * syntax.c (syntax_match):
6039 * syntax.c (Fmatching_paren):
6040 * syntax.c (Fforward_word):
6041 * syntax.c (scan_lists):
6042 * syntax.c (Fscan_lists):
6043 * syntax.c (Fscan_sexps):
6044 * syntax.c (Fparse_partial_sexp):
6045 * toolbar.c (Fcheck_toolbar_button_syntax):
6048 * window.c (Fwindowp):
6049 * window.c (Fwindow_live_p):
6050 * window.c (Fwindow_point):
6051 * window.c (Fdelete_window):
6052 * window.c (Fnext_window):
6053 * window.c (Fprevious_window):
6054 * window.c (Fother_window):
6055 * window.c (window_loop):
6056 * window.c (Fget_lru_window):
6057 * window.c (Fsplit_window):
6058 * window.c (Fenlarge_window):
6059 * window.c (Fenlarge_window_pixels):
6060 * window.c (Fshrink_window):
6061 * window.c (Fshrink_window_pixels):
6062 * window.c (change_window_height):
6063 * window.c (Fwindow_configuration_p):
6064 * window.c (Fcurrent_window_configuration):
6066 * casefiddle.c (casify_object):
6067 * casefiddle.c (Fupcase):
6068 * casefiddle.c (Fdowncase):
6069 * casefiddle.c (Fcapitalize):
6070 * casefiddle.c (Fupcase_initials):
6071 * casefiddle.c (casify_region_internal):
6072 * casefiddle.c (casify_region):
6073 * casefiddle.c (Fupcase_region):
6074 * casefiddle.c (Fdowncase_region):
6075 * casefiddle.c (Fcapitalize_region):
6076 * casefiddle.c (Fupcase_initials_region):
6077 * casefiddle.c (Fupcase_word):
6078 * casefiddle.c (Fdowncase_word):
6079 * casefiddle.c (Fcapitalize_word):
6080 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
6081 Replace 0 with '\0' when working with bytes.
6082 Replace initial "(" with "\(" in docstrings.
6084 2000-11-01 Martin Buchholz <martin@xemacs.org>
6086 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
6088 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
6090 2000-10-31 Martin Buchholz <martin@xemacs.org>
6092 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
6094 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
6096 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
6099 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
6101 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
6102 (inhibit_auto_save_session): New variable.
6103 (vars_of_fileio): Declare and initialize them.
6104 * fileio.c (Fdo_auto_save): Don't create session file if
6105 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
6107 2000-10-31 Martin Buchholz <martin@xemacs.org>
6109 * sgiplay.c (play_internal): C++ compilability.
6110 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
6111 * callproc.c (Fold_call_process_internal):
6112 Remove unused vars `env', `first'.
6113 * scrollbar.c (update_scrollbar_instance):
6114 #### unused var `current_window'.
6115 * redisplay-tty.c: Put currently unused vars insert_mode_on,
6116 etc. within #ifdef NOT_YET.
6117 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
6118 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
6119 * specifier.c (specifier_instance):
6120 #### unused var `tag'.
6121 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
6123 2000-10-27 Martin Buchholz <martin@xemacs.org>
6126 * fns.c (list_sort):
6127 * fns.c (Ffillarray):
6128 * fns.c (bytecode_nconc2):
6131 * fns.c (Fmapconcat):
6132 Be pedantically 64-bit correct. For the time when someone will
6133 want to have a list with length > 2**32.
6135 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
6136 Work around MIPSpro compiler bug.
6138 * process-unix.c (unix_kill_child_process): Add snarky comment.
6139 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
6141 * config.h.in: Oops, _getpt ==> _getpty
6143 2000-10-26 Martin Buchholz <martin@xemacs.org>
6147 Use void*, not char*, as return type of alloca().
6149 * alloc.c (free_marker): Side effect inside assert expression!
6151 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
6153 * mule-charset.c (Fset_charset_ccl_program): To check
6154 if the given ccl program is valid, use setup_ccl_program()
6155 instead of CHECK_VECTOR().
6156 (Fmake_charset): Likewise.
6158 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
6160 * faces.c (get_extent_fragment_face_cache_index):
6161 Fix cachel.merged_faces memory leak.
6163 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
6165 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
6166 Reset MSB of octets obtained by DECODE_SJIS
6167 because of the incompatibility with Emacs.
6168 (ccl_driver)<CCL_ENCODE_SJIS>:
6169 Set MSB of octets before passing them to
6170 ENCODE_SJIS because of the incompatibility
6173 2000-10-18 Daiki Ueno <ueno@unixuser.org>
6175 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
6176 (DECLARE_LRECORD): Undo the last change.
6177 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
6179 2000-10-17 Daiki Ueno <ueno@unixuser.org>
6181 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
6182 the implementation to lrecord_implementations_table.
6184 2000-10-14 Daiki Ueno <ueno@unixuser.org>
6186 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
6187 initial value of `lrecord_type_##c_name' and
6188 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
6189 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
6190 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
6191 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
6192 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
6194 2000-10-17 Martin Buchholz <martin@xemacs.org>
6196 * miscplay.c (sndcnv8S_2mono):
6197 (sndcnv2monounsigned):
6198 (sndcnvULaw_2linear):
6200 Remove implementation-defined behavior.
6202 2000-10-12 Martin Buchholz <martin@xemacs.org>
6204 * input-method-xlib.c: Warning suppression.
6206 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
6208 * mule-ccl.c: Sync up with Emacs 21.0.90.
6209 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
6211 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
6213 (ccl_driver[WriteMultibyteChar2]): Bug fix.
6214 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
6215 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
6216 leading char belongs to official 2-dimensional charset.
6217 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
6218 write the given character as is. Otherwise,
6219 if it is a multibyte char, convert it by
6220 non_ascii_set_charptr_emchar, then write it.
6221 (CCL_WRITE_STRING): Likewise.
6222 (ccl_get_compiled_code): New function.
6223 (setup_ccl_program): When ccl_prog is invalid,
6225 (Fregister_code_conversion_map): New function.
6226 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
6228 * mule-ccl.h: Sync up with Emacs 21.0.90.
6229 (Fregister_ccl_program): export it.
6231 * redisplay-msw.c (separate_textual_runs):
6232 If ccl program is not valid, don't do ccl conversion.
6234 * redisplay-x.c (separate_textual_runs): Ditto.
6236 * file-coding.c (Fmake_coding_system):
6237 When type is ccl and value is vector, register it
6238 with a proper symbol. And checks whether the
6239 given ccl program is valid.
6240 (mule_decode): When calling ccl_driver, if src indicates
6241 NULL pointer, set an empty string instead.
6242 (mule_encode): Likewise.
6244 2000-10-11 Martin Buchholz <martin@xemacs.org>
6246 The following large batch of changes gets us back to a state of
6247 C++ compilability. Extbyte is now a char, which means that
6248 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
6250 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
6252 * sound.c (Fplay_sound): Type correctness.
6254 * select-x.c (hack_motif_clipboard_selection): Type correctness.
6255 (x_get_window_property): Type correctness.
6256 (receive_incremental_selection): unsigned char ==> Extbyte
6257 (selection_data_to_lisp_data): unsigned char ==> Extbyte
6258 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
6259 (Fx_store_cutbuffer_internal): Type correctness.
6261 * process-unix.c (try_to_initialize_subtty): Type correctness.
6263 * objects-x.c (x_print_color_instance): Type correctness.
6264 (x_print_font_instance): Type correctness.
6265 (x_list_fonts): SExtbyte ==> Extbyte.
6266 (valid_x_font_name_p): SExtbyte ==> Extbyte.
6267 (x_find_charset_font): SExtbyte ==> Extbyte.
6268 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
6269 (truename_via_XListFonts): SExtbyte ==> Extbyte.
6270 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
6273 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
6274 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
6275 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
6276 (BYTE_C0_P): Use bit ops for char-signedness safety.
6277 (BYTE_C1_P): Use bit ops for char-signedness safety.
6278 (CHARSET_BY_LEADING_BYTE):
6279 (CHARSET_BY_ATTRIBUTES):
6280 Always use inline function.
6281 Use type_checking_assert.
6284 * mule-charset.c (non_ascii_charptr_copy_char):
6285 Modify to work with both ASCII and non-ASCII characters.
6286 Improve docs and variable names.
6287 Replace over-clever fall-through switch with a simple loop.
6288 (Lstream_get_emchar_1):
6289 Replace over-clever fall-through switch with a simple loop.
6291 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6292 Warning suppression.
6294 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
6295 the return value of Lstream_getc, which could be EOF as well.
6297 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
6299 * lisp.h: Make Extbyte a char, not unsigned char, so that external
6300 APIs can be used on Extbytes without casts. Risky!
6304 * input-method-xlib.c (XIM_init_device):
6305 Use Xlib.h instead of IntrinsicP.h.
6306 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
6307 which will break in X11R7.
6308 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
6309 to call XRegisterIMInstantiateCallback with correct types.
6311 * gui-x.c (button_item_to_widget_value): Type correctness.
6313 * glyphs.c (bitmap_to_lisp_data): Type correctness.
6315 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
6316 (xbm_instantiate_1): Type correctness.
6317 (BUILD_GLYPH_INST): Type correctness.
6319 * fileio.c (Fsubstitute_in_file_name): Type correctness.
6322 (decode_coding_sjis):
6323 (decode_coding_big5):
6324 (decode_coding_ucs4):
6325 (decode_coding_utf8):
6326 (decode_coding_iso2022):
6327 (decode_coding_no_conversion):
6328 Make all decoding functions take an Extbyte * arg.
6329 (encode_coding_sjis):
6330 (encode_coding_big5):
6331 (encode_coding_ucs4):
6332 (encode_coding_utf8):
6333 (encode_coding_iso2022):
6334 (encode_coding_no_conversion):
6335 Make all encoding functions take a Bufbyte * arg.
6336 Use size_t instead of unsigned int for memory sizes.
6337 Only cast to unsigned char whenever dereferencing Extbyte *.
6339 * doc.c (unparesseuxify_doc_string): Type correctness.
6341 * console-x.c (split_up_display_spec):
6342 Rewrite without using details of internal string representation.
6343 (x_semi_canonicalize_device_connection): Type correctness.
6346 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
6347 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
6348 (HAVE_XFREE386): Removed.
6350 * buffer.h (DEC_CHARPTR): `const' correctness.
6351 (bufbyte_strcmp): New.
6352 (bufbyte_memcmp): New.
6354 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
6356 * buffer.h (XCHAR_OR_CHAR_INT):
6357 Always use inline function.
6358 Remove redundant type checking assert() - XINT will abort quite nicely.
6360 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6362 * search.c (Freplace_match): Set newtext to an empty string.
6364 2000-10-10 Martin Buchholz <martin@xemacs.org>
6366 * s/decosf1-3.h: Remove #include of stropts.h
6367 * s/ptx.h: Remove #include of stropts.h
6368 * s/usg5-4.h: Remove #include of stropts.h
6371 Use stropts.h, not sys/stropts.h.
6372 Use strtio.h, not sys/strtio.h.
6374 2000-10-04 Martin Buchholz <martin@xemacs.org>
6376 * XEmacs 21.2.36 is released.
6378 2000-09-21 Andy Piper <andy@xemacs.org>
6380 * glyphs-x.c (x_redisplay_widget): make sure non-structural
6381 changes still involve copying the widget tree.
6382 (update_widget_face): make sure a change is register in the widget
6383 tree. Call update_tab_widget_face appropriately.
6384 (update_tab_widget_face): ditto.
6385 (x_tab_control_redisplay): make sure non-structural changes still
6386 involve copying the widget tree.
6388 2000-08-31 Daiki Ueno <ueno@unixuser.org>
6390 * lread.c (locate_file): Check the path element is non-nil.
6392 2000-10-02 Martin Buchholz <martin@xemacs.org>
6394 * lisp.h: Warning suppression for SCO compilers.
6396 * redisplay-tty.c (reset_tty_modes): Fix crash.
6397 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
6399 2000-09-27 Martin Buchholz <martin@xemacs.org>
6401 Big signal/process handling overhaul. Bugs fixed:
6402 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
6403 M-x comint-kill-subjob should work for both values nil and t of
6404 process-connection-type. It was broken on most platforms.
6405 Testing on Irix and Cygwin still needed. Other plaforms tested.
6406 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
6407 * process-unix.c: Signal/Process handling overhaul.
6408 (pty_name): make 64 bytes, as `expect' does, for paranoia.
6409 (allocate_pty): Use all available modern methods of allocating
6410 ptys, falling back to old style BSD allocation as a last resort.
6411 Use allegedly more secure Unix98 pty allocation by default.
6412 (allocate_pty_the_old_fashioned_way): New. the last resort.
6413 (unix_create_process): Push ptem, ldterm, ttcompat where
6414 available. Autoconfiscate.
6415 (try_to_initialize_subtty): New.
6416 (unix_kill_child_process): Proper signal handling for ptys on most
6417 platforms, using special knowledge of AIX, BSD, etc...
6418 (unix_create_process): Always disconnect_controlling_terminal() for
6419 subprocesses, whether using ptys or not.
6420 * process.h: Remove old getpt-dependent PTY code.
6421 * process.c (Fprocess_send_signal): New, obvious generic function.
6422 (decode_signal): New.
6423 (Finterrupt_process):
6427 (Fcontinue_process):
6428 (Fsignal_process): Use decode_signal.
6429 (process_send_signal):
6430 Many docstring corrections.
6431 Allow any signal to be sent to a process object.
6432 * config.h.in: Add symbols for big signal/process overhaul.
6433 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
6434 * sysproc.h: Include process-related headers, where available:
6435 sys/stropts.h sys/strtio.h pty.h libutil.h
6443 Remove old S&M pty stuff.
6444 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
6445 * systty.h: Simplify cpp hackery, improve comments.
6446 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
6448 * editfns.c (Fformat_time_string):
6449 Be a little more paranoid with the return value of ctime.
6451 * fileio.c (check_executable):
6453 Use symbolic constants X_OK, W_OK.
6455 * console-x.c (split_up_display_spec): Fix a warning.
6457 2000-10-02 Martin Buchholz <martin@xemacs.org>
6459 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
6460 * ntproc.c (sys_spawnve): make_string ==> build_string
6461 Small clarity improvements.
6463 2000-09-30 Martin Buchholz <martin@xemacs.org>
6465 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
6467 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
6469 * config.h.in (HAVE_STRCASECMP): Remove.
6471 2000-09-29 Martin Buchholz <martin@xemacs.org>
6473 * redisplay-output.c (redisplay_output_pixmap):
6474 Cleaner and possibly more 64-bit correct code.
6476 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6478 * dumper.c (pdump_load_finish): move restoration of
6479 `noninteractive1' to emacs.c (main_1).
6480 * emacs.c (main_1): protect LISP-visible command-line flags
6483 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
6485 * Makefile.in.in (versionclean): Use EXE_TARGET and
6486 DUMP_TARGET instead of literal program names.
6488 2000-09-20 Martin Buchholz <martin@xemacs.org>
6490 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
6492 2000-09-19 Martin Buchholz <martin@xemacs.org>
6494 * *: Spelling mega-patch
6496 2000-09-19 Martin Buchholz <martin@xemacs.org>
6498 * fns.c (bad_bad_turtle):
6499 Delete "Eek!" comment, since we fixed the bug to which it refers.
6501 2000-09-16 Martin Buchholz <martin@xemacs.org>
6503 * alloca.c: Replace REGISTER with register.
6505 2000-09-16 Daiki Ueno <ueno@unixuser.org>
6507 * file-coding.c (ucs_to_char): Use countof.
6509 2000-09-16 Martin Buchholz <martin@xemacs.org>
6511 * file-coding.c: (ucs_to_char):
6512 (complex_vars_of_file_coding):
6513 Use countof instead of sizeof.
6514 Use CHECK_NATNUM instead of CHECK_INT.
6516 * sysdep.c (strcasecmp): Remove.
6517 * device-x.c (ascii_strcasecmp): New.
6518 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
6519 Avoid using non-standard non-portable strcasecmp.
6521 2000-09-16 Martin Buchholz <martin@xemacs.org>
6523 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
6524 * font-lock.c: remove reference to emacsfns.h.
6525 * search.c: small doc improvement.
6526 * event-Xt.c: correct file names in comments.
6527 * console-x.h Correct file names in comments.
6528 * frame.c: Correct file names in comments.
6529 * event-stream.c: remove Energize from comments.
6531 2000-09-15 Martin Buchholz <martin@xemacs.org>
6533 * symeval.h (DEFERROR_STANDARD):
6536 (DEFSYMBOL_NO_DUMP):
6537 (DEFSYMBOL_MULTIWORD_PREDICATE):
6538 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
6540 The construct &##name is not sensible C.
6541 Fixes compilation errors with Unixware native compiler.
6543 2000-09-14 Martin Buchholz <martin@xemacs.org>
6545 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
6546 (next_frame_internal): Removed. We now just have next_frame.
6548 Write a simpler and cleaner one-pass algorithm.
6549 Remove called_from_delete_device arg and #ifdefed-out code.
6551 Renamed from prev_frame. Update callers.
6552 Cleaned up to have an analogous implementation to next_frame.
6553 (other_visible_frames_internal): Remove the
6554 called_from_delete_device bogus arg, and hence, remove this
6555 function. Just use other_visible_frames().
6557 * window.c (Fnext_window):
6559 Since next_frame() is guaranteed to return a frame, remove check
6560 for nil inserted in previous patch.
6563 Make code look more like Fnext_window.
6565 Respect the `console' arg when iterating through windows.
6566 Fixes bug: (get-buffer-window buffer t device) not respecting
6568 This function needs more work, as others have pointed out.
6570 * frame.h: Rename prev_frame to previous_frame.
6571 device_matches_console_spec no longer takes a `frame' arg.
6576 Use EMACS_BLOCK_SIGNAL instead of sigblock.
6577 From "Golubev I. N." <gin@mo.msk.ru>.
6579 * make-src-depend: Fix typo.
6581 2000-09-13 Martin Buchholz <martin@xemacs.org>
6583 * window.c (Fnext_window):
6584 next_frame() might return nil, not a frame.
6586 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6588 * frame.c (next_frame_internal):
6589 We've passed a frame if we've passed its device.
6591 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6592 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
6594 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6596 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6597 Allow option to suppress accelerators in menu/dialog items.
6598 (populate_or_checksum_helper): Pass dialog title through above.
6600 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6602 * event-msw.c (mswindows_key_to_emacs_keysym):
6603 Add "pause" key, fix "menu" key.
6605 2000-09-09 Martin Buchholz <martin@xemacs.org>
6607 * eval.c (reinit_vars_of_eval):
6608 Increase max_lisp_eval_depth to 1000,
6609 required for thai-xtis.el to byte-compile under some circumstances.
6611 2000-09-04 Martin Buchholz <martin@xemacs.org>
6613 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6616 2000-09-01 Martin Buchholz <martin@xemacs.org>
6618 * make-src-depend: Make the generated Makefiles smaller.
6620 * s/hpux.h (SETUP_SLAVE_PTY):
6621 Provide a %d in the format string for the errno argument.
6623 * editfns.c (Ftemp_directory):
6625 Avoid buffer overrun on very long file name.
6627 * input-method-xlib.c (XIM_init_device):
6628 6th parameter of XRegisterIMInstantiateCallback has different
6629 pointer types on different OSes, so simply cast to (void *).
6631 * unexhp9k800.c: Warning fixes. Fiddly changes.
6633 * sysdll.c (dll_open):
6634 shl_load will hang hard if passed a NULL filename.
6635 Simply return NULL for compatibility with dlopen.
6636 * sysdll.c: Conform to XEmacs coding standards.
6638 * sysdep.c (get_pty_max_bytes):
6639 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6641 2000-08-31 Martin Buchholz <martin@xemacs.org>
6643 * tooltalk.c: Add #include <syssignal.h>
6645 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6647 * s/hpux.h: Don't use undefined function sigunblock().
6649 2000-08-31 Martin Buchholz <martin@xemacs.org>
6651 * config.h.in: Add HAVE_BALLOON_HELP.
6652 * emacs.c: Use HAVE_BALLOON_HELP.
6653 * Makefile.in.in (x_objs):
6654 Make Balloon Help conditional on finding shape.h.
6656 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6658 * syntax.c (regex_emacs_buffer_p): New variable.
6659 * syntax.h (regex_emacs_buffer_p): extern.
6660 * search.c (looking_at_1):
6662 (fast_string_match):
6663 (search_buffer): Set regex_emacs_buffer_p.
6664 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6665 when before_dot, at_dot, after_dot.
6667 2000-08-23 Andy Piper <andy@xemacs.org>
6669 * gui-x.c (popup_selection_callback): Only set action_occurred
6670 when we really have an image instance.
6671 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6673 2000-08-23 Andy Piper <andy@xemacs.org>
6675 * gui-msw.c (mswindows_handle_gui_wm_command): set
6677 * gui-x.c (popup_selection_callback): ditto.
6679 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6680 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6681 (struct Lisp_Image_Instance): add action_occurred flag.
6683 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6684 (image_instance_changed): ditto.
6685 (reset_frame_subwindow_instance_cache): only unmap windows - do
6686 not remove them from the cache also.
6688 * glyphs-widget.c (tab_control_update): better debug.
6689 (progress_gauge_update): ditto.
6690 (layout_update): ditto.
6691 (layout_instantiate): ditto.
6692 (tab_control_order_only_changed): cope with null pending items.
6694 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6695 debug. Force selection of an item when an action occurred. Cope
6696 with null pending_items.
6697 (mswindows_progress_gauge_redisplay): better debug.
6698 * glyphs-x.c (x_tab_control_redisplay): ditto.
6700 * redisplay.c (redisplay_frame): reset the frame cache if the
6703 * window.c (Fset_window_configuration): potentially re-enable
6705 (window_unmap_subwindows): need to finalize instances here since
6706 it is only used in mark_window_as_deleted.
6708 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6710 * nas.c (SndOpenDataForReading):
6711 nas.c (WaveOpenDataForReading):
6712 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6713 Somehow escaped from the 2000-08-14 patch.
6715 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6717 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6718 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6720 2000-08-21 Andy Piper <andy@xemacs.org>
6722 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6723 window if it is not already displayed.
6725 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6726 it is not already displayed.
6728 * window.c (Fset_window_configuration): don't reset the frame
6731 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6732 instances from the frame cache if we are actually finalizing them.
6733 (reset_frame_subwindow_instance_cache): reset frame cache only
6734 after unmapping everything.
6735 (map_subwindow): set displayed flag after mapping.
6737 2000-08-21 Martin Buchholz <martin@xemacs.org>
6739 * data.c (indirect_function):
6740 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6742 * eval.c (function_argcount):
6743 Use original function when signaling errors.
6745 2000-08-18 Andy Piper <andy@xemacs.org>
6747 * frame.c (delete_frame_internal): use new
6748 free_frame_subwindow_instances name.
6750 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6751 (add_tab_item): make return type correct.
6752 (mswindows_tab_control_instantiate): assert index of tab.
6753 (mswindows_tab_control_redisplay): Re-code to use
6754 gui_item_equal_sans_selected and gui_item_list_find_selected.
6756 * glyphs-widget.c (tab_control_update): Correct comment.
6758 * window.c (window_unmap_subwindows): use new
6759 unmap_subwindow_instance_cache_mapper.
6760 (window_unmap_subwindows_cache_mapper): deleted.
6761 (Fset_window_configuration): comparisons should now be with
6762 EQ. Preserve the subwindow instance cache across configuration
6764 (allocate_window): ditto.
6765 (make_dummy_parent): ditto.
6767 * glyphs.c (free_frame_subwindow_instances): rename from
6768 free_frame_subwindow_instance_cache. finalize all instances rather
6769 than just those in the display cache.
6770 (finalize_all_subwindow_instances): walk windows unmapping and
6771 finalizing subwindows.
6772 (unmap_subwindow_instance_cache_mapper): moved from
6773 window.c. Allow finalization as well as unmapping.
6775 * gui.c (gui_item_list_find_selected): new function.
6777 * gui.h (gui_item_list_find_selected): declare.
6779 * glyphs-x.c (x_tab_control_redisplay): pick tab
6780 explicitly. Re-code to use gui_item_equal_sans_selected and
6781 gui_item_list_find_selected.
6783 * glyphs-x.h: add lwlib-utils.h
6785 * buffer.c (Frecord_buffer): undo previous change.
6787 2000-08-09 Vin Shelton <acs@xemacs.org>
6789 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6790 possible. Create temporary files more securely. The patch was
6791 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6792 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6793 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6796 2000-08-07 Ben Wing <ben@xemacs.org>
6798 * getloadavg.c: remove duplicate (and windows-breaking)
6799 includes of fcntl.h and sys/file.h.
6801 * nt.c: remove duplicate getloadavg() definition.
6803 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6806 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6808 * eval.c (function_argcount): If function needs to be autoloaded
6809 actually use the loaded definition.
6812 2000-08-05 Ben Wing <ben@xemacs.org>
6814 * getloadavg.c: add prototype for getloadavg(). remove
6815 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6816 of the code). remove duplicate header includes.
6818 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6820 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6821 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6822 useful load average.
6824 * alloc.c (reinit_alloc_once_early): removed references to
6825 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6826 the lisp vars are the only things referencing the malloc_sbrk_*
6827 vars, and they were already if 0'd out. these vars only exist
6828 in the older malloc.c, which is basically unused, and they're
6829 only for informational purposes.
6831 * m\*.h: removed useless VIRT_ADDR_VARIES.
6833 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6835 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6837 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6838 color if the image is a mono pixmap.
6840 2000-07-30 Ben Wing <ben@xemacs.org>
6842 * Makefile.in.in (release):
6845 * buffer.c (directory_is_current_directory):
6846 * dired-msw.c (mswindows_get_files):
6848 * dired.c (Fdirectory_files):
6849 * dired.c (file_name_completion_stat):
6850 * dired.c (Ffile_attributes):
6851 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6852 preprocessor tricks, to avoid problems on some machines
6855 * callproc.c (egetenv): GC docs.
6858 * console-msw.h (struct mswindows_dialog_id):
6859 * lrecord.h (lrecord_type):
6860 New object for use with MSW dialogs.
6862 * console.h (struct console_methods):
6863 New enable/disable frame methods, for proper modal dialogs.
6865 * device-msw.c (msprinter_default_printer): Fix to follow
6866 proper Mule conventions.
6869 * device-msw.c (signal_open_printer_error):
6870 * device-msw.c (msprinter_init_device):
6871 * device-msw.c (ensure_not_printing):
6872 * device-msw.c (plist_get_margin):
6873 * device-msw.c (Fmsprinter_select_settings):
6874 * device-msw.c (finalize_devmode):
6875 * device-msw.c (Fmsprinter_settings_despecialize):
6876 * device-msw.c (signal_enum_priner_error):
6877 * extents.c (decode_extent):
6878 * extents.c (decode_map_extents_flags):
6879 * extents.c (decode_extent_at_flag):
6880 * extents.c (Fextent_at):
6881 * extents.c (Fextents_at):
6882 * extents.c (symbol_to_glyph_layout):
6883 [[[[2]]]] Use structured errors.
6886 * dialog-msw.c (mswindows_is_dialog_msg):
6887 * dialog-msw.c (mark_mswindows_dialog_id):
6888 * dialog-msw.c (dialog_proc):
6889 * dialog-msw.c (handle_question_dialog_box):
6890 * dialog-msw.c (syms_of_dialog_mswindows):
6891 Define new object to clean up marking; use it as a dialog identifier.
6892 Call new delete-dialog-box-hook.
6894 * dialog-x.c (dbox_selection_callback):
6895 * dialog-x.c (dbox_descriptor_to_widget_value):
6896 * dialog-x.c (x_make_dialog_box_internal):
6897 Call new delete-dialog-box-hook.
6901 * dialog.c (syms_of_dialog):
6902 * dialog.c (vars_of_dialog):
6903 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6906 * eval.c (signal_call_debugger):
6907 when noninteractive, output stack traces on the console instead
6908 of in a (never-seen) buffer.
6910 * eval.c (signal_type_error):
6911 * eval.c (invalid_argument_2):
6913 new funs for use w/structured errors.
6916 * event-Xt.c (x_to_emacs_keysym):
6917 * event-Xt.c (describe_event):
6918 * event-Xt.c (emacs_Xt_event_handler):
6919 * event-Xt.c (vars_of_event_Xt):
6921 * event-msw.c (mswindows_wnd_proc):
6922 * event-msw.c (vars_of_event_mswindows):
6923 rename {x,mswindows}-debug-events to debug-{}-events for
6924 consistency with other debug-foo variables.
6927 document next-event more clearly.
6929 * fileio.c (Ffile_name_directory):
6930 * fileio.c (Ffile_name_nondirectory):
6931 * fileio.c (Funhandled_file_name_directory):
6932 * fileio.c (file_name_as_directory):
6933 * fileio.c (Ffile_name_as_directory):
6934 * fileio.c (directory_file_name):
6935 * fileio.c (Fdirectory_file_name):
6936 * fileio.c (Fmake_temp_name):
6937 * fileio.c (Ffile_truename):
6938 * fileio.c (Fsubstitute_in_file_name):
6939 * fileio.c (expand_and_dir_to_file):
6940 * fileio.c (barf_or_query_if_file_exists):
6941 * fileio.c (check_executable):
6942 * fileio.c (Ffile_exists_p):
6943 * fileio.c (Ffile_writable_p):
6944 * fileio.c (Ffile_directory_p):
6945 * fileio.c (Ffile_regular_p):
6946 * fileio.c (Ffile_modes):
6947 * fileio.c (Ffile_newer_than_file_p):
6948 * fileio.c (Fverify_visited_file_modtime):
6949 * fileio.c (Fset_visited_file_modtime):
6950 * fileio.c (auto_save_1):
6955 * frame-msw.c (mswindows_init_frame_1):
6956 * frame-msw.c (mswindows_enable_frame):
6957 * frame-msw.c (error_frame_unsizable):
6958 * frame-msw.c (msprinter_init_frame_1):
6959 * frame-msw.c (msprinter_init_frame_3):
6960 * frame-msw.c (console_type_create_frame_mswindows):
6962 implement new enable/disable frame methods.
6965 * frame-x.c (x_enable_frame):
6966 * frame-x.c (console_type_create_frame_x):
6967 implement new enable/disable frame methods.
6970 * frame.c (Fdisable_frame):
6971 * frame.c (syms_of_frame):
6972 * frame.h (struct frame):
6973 implement new enable/disable frame methods/functions.
6978 * glyphs-msw.c (mswindows_widget_instantiate):
6979 comment that initial-focus should be implemented.
6982 * glyphs-widget.c (check_valid_instantiator):
6983 * glyphs-widget.c (check_valid_orientation):
6984 * glyphs-widget.c (check_valid_tab_orientation):
6985 * glyphs-widget.c (check_valid_justification):
6986 * glyphs-widget.c (check_valid_border):
6987 * glyphs-widget.c (check_valid_callback):
6988 * glyphs-widget.c (check_valid_int_or_function):
6989 * glyphs-widget.c (check_valid_string_or_vector):
6990 * glyphs-widget.c (check_valid_item_list_1):
6991 * glyphs-widget.c (widget_validate):
6992 * glyphs-widget.c (combo_box_validate):
6993 * glyphs-widget.c (widget_instantiate):
6994 * glyphs-widget.c (syms_of_glyphs_widget):
6995 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6996 * glyphs-widget.c (image_instantiator_combo_box):
6997 * glyphs-widget.c (image_instantiator_scrollbar):
6998 * glyphs-widget.c (image_instantiator_tab_control):
6999 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
7001 support (unimplemented) keyword initial-focus.
7002 reindent long macros.
7004 * glyphs-x.c (x_redisplay_widget):
7005 * glyphs-x.c (x_button_instantiate):
7006 * glyphs-x.c (x_button_redisplay):
7007 * glyphs-x.c (x_progress_gauge_instantiate):
7008 * glyphs-x.c (x_edit_field_instantiate):
7009 * glyphs-x.c (x_combo_box_instantiate):
7010 * glyphs-x.c (x_tab_control_instantiate):
7011 * glyphs-x.c (x_label_instantiate):
7013 * gui-x.c (button_item_to_widget_value):
7014 * gui-x.c (gui_items_to_widget_values_1):
7015 * gui-x.c (gui_item_children_to_widget_values):
7016 * gui-x.c (gui_items_to_widget_values):
7018 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7019 add new flag to gui-parsing routines to indicate whether
7020 accelerator specs should be supported.
7022 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
7024 * glyphs.h (struct Lisp_Image_Instance):
7025 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
7026 add initial-focus flag.
7029 * gui.c (syms_of_gui):
7030 * gui.c (vars_of_gui):
7031 clean up menu-no-selection-hook.
7034 support delete-dialog-box-hook.
7036 * lread.c (Fload_internal):
7037 * lread.c (locate_file_in_directory_mapper):
7041 * lrecord.h (struct toolbar_button):
7042 * lrecord.h (syms_of_toolbar):
7043 document how to create a new object.
7045 * menubar-msw.c (mswindows_char_is_accelerator):
7046 may be called on frames w/o menus.
7048 * menubar.c (vars_of_menubar):
7049 clean up :filter docs.
7056 * process-nt.c (validate_signal_number):
7057 * process-nt.c (signal_cannot_launch):
7058 * process-nt.c (nt_create_process):
7059 * process-nt.c (nt_send_process):
7060 * process-nt.c (nt_kill_child_process):
7061 * process-nt.c (nt_open_network_stream):
7062 * process-nt.c (syms_of_process_nt):
7064 delete quote-handling. call new lisp code that does it better.
7066 * process-unix.c (connect_to_file_descriptor):
7067 * process-unix.c (allocate_pty):
7068 * process-unix.c (unix_send_process):
7069 * process-unix.c (unix_kill_child_process):
7070 * process-unix.c (unix_open_network_stream):
7071 * process-unix.c (unix_open_multicast_group):
7075 * process.c (Fstart_process_internal):
7076 (2). need to canonicalize process path even if absolute.
7078 * select-msw.c (symbol_to_ms_cf):
7079 * select-msw.c (ms_cf_to_symbol):
7080 * select-msw.c (cf_is_autofreed):
7081 * select-msw.c (mswindows_destroy_selection):
7083 * select.c (syms_of_select):
7085 support dibv5, fix bugs. (from Mike Alexander)
7087 * select.c (Fget_selection_internal):
7088 * select.c (select_convert_out):
7091 * sysdep.c (xemacs_stat):
7096 but keep original stat() here because we provide encapsulation
7100 * sysfile.h (fstat):
7101 remove stat garbage.
7105 don't include tchar.h. it's inappropriate because it makes
7106 compile-time distinctions when we want runtime distinctions.
7107 (we provide our own tchar replacements)
7110 use default object printer for toolbar-button.
7113 make sure we don't encapsulate.
7115 * window.c (vars_of_window):
7116 emphasize that temp-buffer-show-hook is obsolete.
7118 2000-08-05 Martin Buchholz <martin@xemacs.org>
7120 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
7121 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
7123 * events.c (Fevent_timestamp_lessp):
7124 Not 64-bit clean. Use EMACS_INT, not int.
7126 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
7128 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
7129 unsigned int and changed the last enum to
7130 lrecord_type_last_built_in_type.
7131 (lrecord_implementations_table): changed prototype to know how
7132 long the array is supposed to be.
7133 (lrecord_type_count): new unsigned int to keep track of the
7134 current number of lisp lrecord types.
7135 (DEFINE_EXTERNAL_LRECORD):
7136 (DECLARE_EXTERNAL_LRECORD): Added these two for external
7137 dynamic-modules to declare new lisp types. They are the same
7138 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
7139 int for each new type, and increment lrecord_type_count by 1.
7141 * alloc.c (lrecord_implementations_table): Changed to reference
7142 lrecord_type_last_built_in_type for the size of the array.
7143 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
7145 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
7147 * glyphs.h (check_valid_item_list): Renamed from
7148 check_valid_item_list_1.
7150 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
7152 * select.c (Qselect_coerce): New.
7153 * select.c (Vselection_coercion_alist): New.
7154 * select.c (syms_of_select): Declare.
7155 * select.c (get-selection-internal): Use it.
7156 Use the new select-coerce functionality.
7158 * select.c (select_coerce): New.
7159 * select.h (select_coerce): Declare.
7160 New function to coerce one type of data into another.
7162 2000-08-03 Martin Buchholz <martin@xemacs.org>
7164 * callproc.c (Fcall_process_internal):
7165 (Fcall_process_internal):
7166 * process-unix.c (unix_create_process):
7167 Save and restore the value of errno, so that error messages are accurate.
7169 2000-08-01 Martin Buchholz <martin@xemacs.org>
7171 * elhash.c (print_hash_table):
7172 Fix printing of hash tables to also use `key-and-value' instead of `t'.
7173 Prettify docstrings and indentation.
7175 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
7177 * window.c (Fwindow_pixel_edges): Subtract frame border and
7180 2000-07-31 Andy Piper <andy@xemacs.org>
7182 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
7183 will acknowledge the change.
7185 * glyphs.h: declare tab_control_order_only_changed.
7187 * glyphs-x.c (x_tab_control_redisplay): use
7188 tab_control_order_only_changed.
7190 * glyphs-widget.c (tab_control_order_only_changed): new function.
7192 * glyphs-msw.c (mswindows_tab_control_redisplay): use
7193 tab_control_order_only_changed.
7195 * gui.c (gui_item_equal_sans_selected): new function.
7196 (gui_item_equal): use it.
7198 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
7199 :properties in favor of :items..
7201 * glyphs-widget.c (check_valid_item_list): rename from
7202 check_valid_item_list_1.
7203 (check_valid_item_list_1): renamed.
7204 (combo_box_validate): deprecate :properties in favor of :items.
7205 (widget_instantiate): ditto.
7206 (tab_control_update): ditto.
7207 (image_instantiator_combo_box): ditto.
7208 (image_instantiator_tree_view): ditto.
7209 (image_instantiator_tab_control): ditto.
7210 (layout_post_instantiate): remove dead code.
7212 * print.c (debug_print_no_newline): only write to debugger if in
7215 * elhash.c (Fmake_hash_table): update doc string.
7217 * event-msw.c (mswindows_wnd_proc): don't allow processing of
7218 messages whilst in GC. This at least stops XEmacs crashing but has
7219 the potential for wierd behaviour.
7221 2000-07-31 Martin Buchholz <martin@xemacs.org>
7224 Make existence of s&m files optional.
7226 * s/bsd386.h: Remove HAVE_GETLOADAVG.
7227 * s/freebsd.h: Remove HAVE_GETLOADAVG.
7228 * s/gnu.h: Remove HAVE_GETLOADAVG.
7229 * s/netbsd.h: Remove HAVE_GETLOADAVG.
7230 * s/sol2.h: Remove HAVE_GETLOADAVG.
7231 * lisp.h: Remove getloadavg() declaration.
7233 Include <sys/loadavg.h> if available.
7234 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
7235 * config.h.in: Group together getloadavg()-related macros.
7236 Use only configure-time tests to detect getloadavg().
7238 2000-07-30 Martin Buchholz <martin@xemacs.org>
7240 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
7242 2000-07-25 Andy Piper <andy@xemacs.org>
7244 * syswindows.h: add tchar.h for native builds.
7246 * frame.c (syms_of_frame): remove set-glyph-image.
7248 * general-slots.h: add Qset_glyph_image.
7250 * glyphs-widget.c (layout_update): add domain arg to
7252 (syms_of_glyphs_widget): remove set-glyph-image.
7254 2000-07-23 Ben Wing <ben@xemacs.org>
7256 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
7259 2000-07-22 Andy Piper <andy@xemacs.org>
7261 * symsinit.h: add syms_of_win32().
7263 * gui-msw.c (syms_of_gui_mswindows): remove
7264 Fmswindows_shell_execute.
7265 (Fmswindows_shell_execute): moved to win32.c.
7267 * emacs.c (main_1): add syms_of_win32 ().
7269 * win32.c (init_potentially_nonexistent_functions): rewrite in
7270 compiler-friendly terms.
7271 (Fmswindows_shell_execute): move here from gui-msw.c.
7272 (syms_of_win32): new.
7274 * device-msw.c (Fmswindows_printer_list): clean up args to
7276 Don't include tchar under cygwin or mingw.
7277 (msprinter_default_printer): make cygwin-friendly.
7279 2000-07-21 Andy Piper <andy@xemacs.org>
7281 * glyphs-widget.c (image_instantiator_tree_view): use tab
7282 control's update function.
7283 (layout_property): new function. Retrieve items.
7285 * glyphs-msw.c (mswindows_tree_view_redisplay): new
7286 function. Re-populate the tree view from the pending items.
7288 * glyphs.c (instantiate_image_instantiator): Make sure the domain
7289 is designated the parent if the domain is an image instance. This
7290 is needed so that dirtiness can be cascade up the hierarchy and
7291 thus for layout children to be redisplayed correctly.
7292 (allocate_image_instance): rename glyph -> parent.
7294 * redisplay.h: change redisplay_output_layout signature.
7296 * redisplay-msw.c (mswindows_output_display_block): use domain
7299 * redisplay-x.c (x_output_display_block): use domain arg.
7301 2000-07-10 Andy Piper <andy@xemacs.org>
7303 * window.c (Fset_window_configuration): add comment.
7305 * redisplay-output.c (compare_runes):
7306 (redisplay_output_subwindow): redisplay rather than update subwindow.
7307 (redisplay_output_layout): ditto.
7309 * redisplay-msw.c (mswindows_frame_output_end):
7310 (mswindows_frame_output_end): make defer window pos optional.
7312 * lisp.h: add Flast.
7314 * glyphs.h (struct image_instantiator_methods): add dest_mask top
7315 normalize method. Change update method to be for changed
7316 instantiators. Add redisplay method. Change signature of layout
7318 (struct Lisp_Image_Instance): add instantiator.
7319 (IMAGE_INSTANCE_INSTANTIATOR): new.
7320 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
7321 (XIMAGE_INSTANCE_INSTANTIATOR): new.
7322 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
7325 (find_instantiator_differences): new function.
7326 (Fset_instantiator_property): new convenience function.
7327 (check_image_instance_structure): strictly check for vector
7329 (normalize_image_instantiator): make non-static.
7330 (instantiate_image_instantiator): pass on dest_mask and use new
7331 signatures for image_instance_layout and friends.
7332 (mark_image_instance): mark the instantiator. Mark the subwindow
7333 face not the widget face.
7334 (image_instance_equal): add instantiator.
7335 (image_instance_hash): ditto.
7336 (allocate_image_instance): ditto.
7337 (Fset_image_instance_property): removed.
7338 (Fimage_instance_file_name): ditto.
7339 (Fcolorize_image_instance): ditto.
7340 (image_instance_layout): add offsets to be set.
7341 (update_image_instance): new function. update an image instance
7342 from its changed instantiator.
7343 (inherit_normalize): add dest_mask.
7344 (xbm_normalize): ditto.
7345 (xface_normalize): ditto.
7346 (xpm_normalize): ditto.
7347 (text_update): set_property -> update.
7348 (image_instantiate): use the glyph identity as a hash key, not the
7350 (glyph_width): use new image_instance_layout signature.
7351 (glyph_ascent): ditto.
7352 (glyph_descent): ditto.
7353 (glyph_height): ditto.
7354 (glyph_query_geometry): ressurrect.
7355 (glyph_layout): ditto.
7356 (redisplay_subwindow): update -> redisplay.
7357 (syms_of_glyphs): add Fset_instantiator_property.
7358 (image_instantiator_format_create): set_property -> update.
7361 (autodetect_normalize): add dest_maks to signature.
7362 (x_redisplay_subwindow): update -> redisplay.
7363 (x_redisplay_widget): ditto.
7364 (x_button_redisplay): ditto.
7365 (x_progress_gauge_redisplay): ditto.
7366 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
7368 (console_type_create_glyphs_x): update -> redisplay.
7369 (image_instantiator_format_create_glyphs_x): ditto.
7372 (check_valid_instantiator): disallow glyphs in the instantiator,
7373 they must now be vectors.
7374 (check_valid_instantiator_list): ditto.
7375 (glyph_instantiator_to_glyph): use internal symbol rather than
7377 (widget_update): renamed from widget_set_property. Call cascaded
7379 (redisplay_widget): renamed from update_widget.
7380 (widget_layout): image_instance_layout now takes position as well
7382 (widget_normalize): ditto.
7383 (widget_instantiate): ditto.
7384 (tab_control_query_geometry) ditto.:
7385 (tab_control_update): renamed from tab_control_set_property.
7386 (progress_gauge_update): set_property -> update.
7387 (layout_normalize): rewrite so that child instantiators are
7389 (layout_update): new function. Create glyphs from the normalized
7390 children and cope with any other layout keywords. We do not
7391 instantiate children here that will be take care of by
7392 redisplay_output_layout.
7393 (layout_instantiate): call layout_update and not much else.
7394 (layout_post_instantiate): not sure whether this is needed
7396 (layout_query_geometry): query glyph geometry rather than
7397 image_instance geometry.
7398 (layout_layout): set offsets from pass in parameters. Use glyph
7399 geometry and layout functions rather than image instance ones.
7400 (native_layout_layout): ditto.
7401 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
7402 (image_instantiator_widget): set_property -> update.
7403 (image_instantiator_buttons): ditto.
7404 (image_instantiator_progress_guage): ditto.
7405 (image_instantiator_tab_control): ditto.
7406 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
7407 (image_instantiator_layout): add update method.
7409 * glyphs-msw.c (bmp_normalize):
7410 (mswindows_resource_normalize): add dest_mask so that it can be
7411 proprogated by layout_normalize.
7412 (begin_defer_window_pos): make optional because it may not be the
7413 right thing to do and it introduces differences with X.
7414 (mswindows_unmap_subwindow): ditto.
7415 (mswindows_map_subwindow): ditto.
7416 (mswindows_redisplay_subwindow): renamed from
7417 mswindows_update_subwindow.
7418 (mswindows_redisplay_widget): ditto.
7419 (mswindows_button_redisplay): renamed from
7420 mswindows_button_update. Update is now what the instantiation
7421 function does for a changed instantiator.
7422 (mswindows_progress_gauge_instantiate): set the progress value
7423 here if appropriate.
7424 (mswindows_tab_control_redisplay): cope with re-ordering of the
7425 members of the tab widget by simply selecting the new top
7426 widget. This makes things appear ok if you click on a tab.
7427 (mswindows_combo_box_instantiate): image_instance_layout now takes
7428 position as well as size.
7429 (mswindows_progress_gauge_redisplay): renamed from
7430 mswindows_progress_gauge_update.
7431 (console_type_create_glyphs_mswindows): fix update -> redisplay.
7432 (image_instantiator_format_create_glyphs_mswindows): ditto.
7434 * glyphs-eimage.c (jpeg_normalize):
7437 (tiff_normalize): add dest_mask so that it can be proprogated by
7442 (hash_table_weakness_validate):
7443 (decode_hash_table_weakness):
7444 (Fhash_table_weakness):
7446 (syms_of_elhash): use Ben's naming scheme for hashtable types..
7448 * console.h (struct console_methods): move update_* to
7451 2000-07-20 Ben Wing <ben@xemacs.org>
7453 * *.[ch] (XSETOBJ): remove unused middle argument.
7454 lisp-disunion.h: correct wrap_object() to one argument.
7456 2000-07-15 Ben Wing <ben@xemacs.org>
7459 * s/cygwin32.h (CYGWIN_CONV_PATH):
7460 Add missing logb prototype for v1.1.
7461 Use post-b20 names and alias to pre-b20 names when pre-b20.
7463 * s/windowsnt.h: [5].
7465 2000-07-15 Ben Wing <ben@xemacs.org>
7467 * Makefile.in.in (x_objs):
7468 * Makefile.in.in (sheap_objs):
7469 * Makefile.in.in (objs):
7470 added win32.o, cosmetic cleanups.
7472 * alloc.c (Fmake_byte_code):
7473 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
7474 etc. macros which declare their own args now.
7476 * alloc.c (syms_of_alloc):
7477 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
7480 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
7482 * buffer.c (Fget_file_buffer):
7483 Fixed GCPRO problem.
7485 * buffer.c (get_truename_buffer):
7486 Fixed comment about GC checking.
7488 * buffer.c (syms_of_buffer):
7489 Undeclared those dedicated frame funs.
7493 Define convenience macros for internal/external conversions.
7494 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
7495 and Qenvironment_variable_encoding for cleaner code.
7498 Remove dedicated-frame; in lisp.
7500 * bytecode.c (funcall_compiled_function):
7503 * bytecode.c (syms_of_bytecode):
7507 * console-msw.c (mswindows_show_console): Rewrote.
7509 * console-msw.c (Fmswindows_debugging_output): New.
7510 Sends to OutputDebugString (special MSWin debugger interface).
7512 * console-msw.c (Fmswindows_message_box):
7513 Fixed stupid bugs so it works when called from kill-emacs.
7515 * console-msw.c (syms_of_console_mswindows):
7516 Declare Fmswindows_debugging_output.
7519 New MSWin prototypes.
7521 * console-msw.h (struct mswindows_frame):
7522 New entry last-click-mods for improved button-modifier support.
7524 * console-msw.h (FRAME_MSWINDOWS_POPUP):
7525 New struct entry `popup' with corresponding accessor.
7528 * console-x.c (split_up_display_spec):
7529 * console-x.c (get_display_arg_connection):
7530 * console-x.c (x_semi_canonicalize_console_connection):
7531 * console-x.c (x_canonicalize_device_connection):
7532 [[[6]]]: Change char to more specific type.
7533 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
7535 * console-x.c (x_semi_canonicalize_console_connection):
7536 * console-x.c (x_canonicalize_device_connection):
7537 [[[9]]]: Fix up error signalling to use new structured error system.
7540 [[[4]]]: Define codesys aliases:
7541 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
7542 Qx_color_name_encoding, Qx_display_name_encoding.
7544 * console.h (struct console_methods):
7545 New method make_dialog_box_internal supersedes older
7546 popup_dialog_box method.
7549 Define many new errors, part of new structured errors.
7551 * data.c (init_errors_once_early):
7552 * data.c (syms_of_data):
7555 * device-msw.c (mswindows_init_device):
7556 [[[5]]]: Cleanup to support NT 3.51.
7558 * device-msw.c (decode_devmode): Cleanup.
7560 * device-msw.c (mswindows_handle_print_setup_dialog_box):
7561 * device-msw.c (mswindows_handle_print_dialog_box):
7562 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7563 * device-msw.c (syms_of_device_mswindows):
7564 Delete the dialog box primitives recently introduced by Kirill and
7565 instead interface to general dialog box interface.
7568 * device-x.c (compute_x_app_name):
7569 * device-x.c (x_init_device):
7570 * device-x.c (Fx_valid_keysym_name_p):
7571 * device-x.c (Fx_set_font_path):
7575 * device.h (wrap_device): New.
7576 First of its kind; meant to replace XSETDEVICE.
7578 * dialog-msw.c: Many file-dialog symbols.
7580 * dialog-msw.c (mswindows_register_popup_frame): New.
7581 * dialog-msw.c (mswindows_is_dialog_msg): New.
7582 For supporting kbd traversal in dialog boxes.
7584 * dialog-msw.c (dialog_proc):
7585 Support hitting ESC in dialogs.
7587 * dialog-msw.c (struct):
7588 Common dialog box errors.
7590 * dialog-msw.c (handle_file_dialog_box): New.
7591 Add file dialog code.
7593 * dialog-msw.c (handle_question_dialog_box):
7594 Redo existing code to support new question dialog syntax.
7596 * dialog-msw.c (console_type_create_dialog_mswindows):
7597 We support new dialog console method.
7599 * dialog-msw.c (syms_of_dialog_mswindows):
7600 * dialog-msw.c (vars_of_dialog_mswindows):
7601 New file dialog symbols, vars.
7604 * dialog-x.c (maybe_run_dbox_text_callback):
7605 * dialog-x.c (dbox_descriptor_to_widget_value):
7606 * dialog-x.c (x_make_dialog_box_internal):
7607 * dialog-x.c (console_type_create_dialog_x):
7608 Mule-ize entire file.
7609 Redo to support question dialog syntax.
7613 * dialog.c (Fmake_dialog_box_internal):
7614 * dialog.c (syms_of_dialog):
7615 Kill old popup-dialog-box, replace with new primitive.
7616 Just call device method or signal error.
7618 * eldap.c (Fldap_open):
7619 * eldap.c (Fldap_search_basic):
7620 * eldap.c (Fldap_add):
7621 * eldap.c (Fldap_modify):
7626 * emacs.c (make_arg_list_1):
7627 * emacs.c (make_arg_list):
7628 Mule-ize call to dll_init().
7632 * emacs.c (make_argc_argv):
7633 * emacs.c (free_argc_argv):
7634 * emacs.c (init_cmdargs):
7636 * emacs.c (Fkill_emacs):
7637 * emacs.c (Fdump_emacs):
7638 Update comments about what can be used in syms_* etc.
7639 Call init_win32() when necessary.
7640 Fix up MS Win dialog box in kill-buffer to actually work right.
7651 * eval.c (condition_case_3):
7653 * eval.c (function_argcount):
7654 * eval.c (funcall_lambda):
7657 * eval.c (type_error): New.
7658 * eval.c (maybe_type_error): New.
7659 * eval.c (continuable_type_error): New.
7660 * eval.c (maybe_continuable_type_error): New.
7661 * eval.c (type_error_with_frob): New.
7662 * eval.c (maybe_type_error_with_frob): New.
7663 * eval.c (continuable_type_error_with_frob): New.
7664 * eval.c (maybe_continuable_type_error_with_frob): New.
7665 New functions for use with structured errors.
7668 * event-Xt.c (x_event_to_emacs_event):
7669 Buttons are now modifiers too.
7671 * event-Xt.c (emacs_Xt_current_event_timestamp):
7672 Implement new event method.
7673 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7676 * event-msw.c (ntpipe_shove_writer): [5].
7677 * event-msw.c (mswindows_enqueue_mouse_button_event):
7678 * event-msw.c (mswindows_drain_windows_queue):
7679 * event-msw.c (mswindows_wnd_proc): [7].
7680 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7681 * event-msw.c (mswindows_modifier_state):
7682 Throughout: support new button modifiers.
7684 * event-msw.c (emacs_mswindows_current_event_timestamp):
7685 Implement new event method.
7686 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7689 * event-stream.c (event_stream_current_event_timestamp): New.
7690 * event-stream.c (maybe_kbd_translate): New functionality.
7691 * event-stream.c (vars_of_event_stream):
7692 Document new kbd-translate-table functionality.
7694 * event-stream.c (Fcurrent_event_timestamp): New.
7695 New primitive for use in fabricated events.
7696 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7698 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7701 * events.c (Fmake_event):
7702 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7706 * events.c (format_event_object): fix gcc warnings.
7708 * events.c (Fevent_timestamp): Document new primitives.
7710 * events.c (TIMESTAMP_HALFSPACE): New.
7712 * events.c (Fevent_timestamp_lessp): New. New primitive for
7713 comparing timestamps correctly (half-space algorithm).
7715 * events.c (Fevent_modifier_bits): Doc fix.
7717 * events.c (Fevent_modifiers): Major doc addition.
7718 * events.c (event_x_y_pixel_internal): Typo fix.
7719 * events.c (syms_of_events): Declare new primitives.
7722 Update long comment for button modifiers, timestamps.
7724 * events.h (struct event_stream):
7725 New current_event_timestamp method.
7728 * extents.c (extent_in_region_p):
7729 * extents.c (decode_extent):
7730 * extents.c (Fset_extent_parent):
7731 * extents.c (decode_map_extents_flags):
7735 * extents.c (struct extent_at_arg):
7736 * extents.c (decode_extent_at_flag):
7737 * extents.c (extent_at_mapper):
7738 * extents.c (extent_at_bytind):
7739 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7740 * extents.c (Fextents_at): New primitive. [9].
7741 * extents.c (symbol_to_glyph_layout): [9].
7742 Support new primitive `extents-at'.
7745 * extents.c (get_text_property_bytind):
7746 extent_at_bytind has another arg.
7749 * extents.c (syms_of_extents): New primitive.
7751 * file-coding.c (Fmake_coding_system): [1].
7752 * file-coding.c (subsidiary_coding_system): fix gcc warning
7753 * file-coding.c (syms_of_file_coding): [2].
7755 * fileio.c (Fexpand_file_name):
7756 * fileio.c (Fsysnetunam):
7757 * fileio.c (Ffile_exists_p):
7758 * fileio.c (Ffile_executable_p):
7759 * fileio.c (Fverify_visited_file_modtime):
7762 * fileio.c (syms_of_fileio): [2].
7764 * filelock.c (lock_file_1):
7765 * filelock.c (current_lock_owner):
7766 * filelock.c (lock_if_free):
7767 * filelock.c (lock_file):
7768 * filelock.c (unlock_file):
7771 * fns.c (concat): Fix gcc warning.
7774 * fns.c (Fold_member):
7776 * fns.c (Fold_memq):
7777 * fns.c (memq_no_quit):
7779 * fns.c (Fold_assoc):
7781 * fns.c (Fold_assq):
7782 * fns.c (assq_no_quit):
7784 * fns.c (Fold_rassoc):
7786 * fns.c (Fold_rassq):
7787 * fns.c (rassq_no_quit):
7789 * fns.c (Fold_delete):
7791 * fns.c (Fold_delq):
7792 * fns.c (delq_no_quit):
7793 * fns.c (Fremassoc):
7795 * fns.c (remassq_no_quit):
7796 * fns.c (Fremrassoc):
7797 * fns.c (Fremrassq):
7798 * fns.c (remrassq_no_quit):
7803 * frame-msw.c (mswindows_init_frame_1):
7804 * frame-msw.c (mswindows_delete_frame):
7805 Register popups with dialog code so keyboard traversing works.
7807 * frame-tty.c (tty_raise_frame_no_select): [1].
7810 * frame-x.c (x_set_frame_text_value):
7811 * frame-x.c (x_set_frame_properties):
7812 * frame-x.c (x_create_widgets):
7816 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7818 * frame.h (wrap_frame): New.
7819 Macro like wrap_device.
7822 * general.c (SYMBOL):
7823 * general.c (syms_of_general):
7824 Major reorg. This is now just a wrapper and symbols themselves
7825 are listed in general-slots.h.
7827 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7828 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7830 * glyphs-msw.c (mswindows_native_layout_instantiate):
7831 Add DS_CONTROL so keyboard traversal will work.
7834 * glyphs-widget.c (syms_of_glyphs_widget):
7835 Move some symbols to general-slots.h.
7838 * glyphs-x.c (xbm_instantiate_1):
7839 * glyphs-x.c (x_xbm_instantiate):
7840 * glyphs-x.c (x_xface_instantiate):
7841 * glyphs-x.c (autodetect_instantiate):
7842 * glyphs-x.c (cursor_font_instantiate):
7843 * glyphs-x.c (x_update_widget):
7844 * glyphs-x.c (x_widget_instantiate):
7845 * glyphs.c (bitmap_to_lisp_data):
7846 * glyphs.c (pixmap_to_lisp_data):
7849 * glyphs.c (syms_of_glyphs):
7853 * gui-x.c (print_widget_value):
7854 * gui-x.c (menu_separator_style_and_to_external):
7855 * gui-x.c (add_accel_and_to_external):
7856 * gui-x.c (button_item_to_widget_value):
7857 * gui-x.c (gui_items_to_widget_values_1):
7858 * gui-x.c (gui_items_to_widget_values):
7859 * gui-x.c (syms_of_gui_x):
7860 * gui-x.c (vars_of_gui_x):
7861 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7865 Muleize, prototype changes matching gui-x.c.
7868 * gui.c (separator_string_p):
7869 * gui.c (gui_item_add_keyval_pair):
7870 * gui.c (make_gui_item_from_keywords_internal):
7871 * gui.c (signal_too_long_error):
7872 * gui.c (parse_gui_item_tree_item):
7873 * gui.c (syms_of_gui):
7874 * gui.c (vars_of_gui):
7876 menu-no-selection-hook moved here (used by MSWin).
7877 Move some symbols to general-slots.h.
7881 * insdel.c (get_buffer_pos_char):
7882 * insdel.c (get_buffer_range_char):
7885 * keymap.c (keymap_lookup_directly):
7886 * keymap.c (keymap_store):
7887 * keymap.c (ensure_meta_prefix_char_keymapp):
7888 * keymap.c (describe_map):
7890 Support new button modifiers.
7892 * lisp-disunion.h (wrap_object):
7893 * lisp-disunion.h (XSETOBJ):
7894 Rename make_obj to wrap_object.
7897 * lisp-union.h (make_int):
7898 * lisp-union.h (make_char):
7899 Support wrap_object.
7902 * lisp.h (LIST_LOOP):
7903 * lisp.h (EXTERNAL_LIST_LOOP):
7904 * lisp.h (LIST_LOOP_2):
7905 * lisp.h (EXTERNAL_LIST_LOOP_1):
7906 * lisp.h (EXTERNAL_LIST_LOOP_2):
7907 * lisp.h (EXTERNAL_LIST_LOOP_3):
7908 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7909 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7910 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7911 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7912 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7913 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7914 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7915 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7916 * lisp.h (struct Lisp_Symbol):
7917 * lisp.h (maybe_continuable_error_with_frob):
7918 Fix up section comments.
7919 Add new types for char to indicate usage.
7920 Delete symbols auto-generated from general-slots.h.
7921 Add prototypes for structured error functions.
7922 Add long comments describing looping macros and change interface
7923 so that lvalues are automatically declared.
7924 Add NO_DECLARE macro in case callers want to declare lvalues
7927 * lread.c (read_syntax_error):
7928 * lread.c (continuable_read_syntax_error):
7929 * lread.c (read_structure):
7930 * lread.c (sequence_reader):
7931 * lread.c (read_list_conser):
7932 * lread.c (read_compiled_function):
7933 Rename syntax_error and continuable_syntax_error to avoid clash
7934 with same-named structured error functions.
7936 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7937 * menubar-msw.c (populate_menu_add_item):
7938 * menubar-msw.c (populate_or_checksum_helper):
7943 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7944 Mule-ize whole file.
7946 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7948 * mule-charset.c (Fmake_charset):
7949 * mule-wnnfns.c (Fwnn_set_param):
7952 * ntproc.c (create_child):
7953 * ntproc.c (Fwin32_set_current_locale):
7954 Add comments portending doom.
7957 * objects-msw.c (old_font_enum_callback_2):
7958 * objects-msw.c (font_enum_callback_1):
7959 * objects-msw.c (mswindows_enumerate_fonts):
7963 * objects-x.c (allocate_nearest_color):
7964 * objects-x.c (x_parse_nearest_color):
7965 * objects-x.c (x_initialize_color_instance):
7966 * objects-x.c (x_print_color_instance):
7967 * objects-x.c (x_finalize_color_instance):
7968 * objects-x.c (x_valid_color_name_p):
7969 * objects-x.c (x_initialize_font_instance):
7970 * objects-x.c (x_print_font_instance):
7971 * objects-x.c (valid_x_font_name_p):
7972 * objects-x.c (truename_via_FONT_prop):
7973 * objects-x.c (truename_via_random_props):
7974 * objects-x.c (truename_via_XListFonts):
7975 * objects-x.c (x_font_truename):
7976 * objects-x.c (x_font_instance_truename):
7977 * objects-x.c (x_font_instance_properties):
7978 * objects-x.c (x_list_fonts):
7979 * objects-x.c (x_find_charset_font):
7980 Mule-ize entire file.
7987 * print.c (std_handle_out_external):
7988 * print.c (debug_print_no_newline):
7989 * print.c (syms_of_print):
7990 Output to all debugger kinds in debug-print.
7991 Fix console-output code under MSWin to actually work.
7993 * process-nt.c (send_signal):
7994 * process-nt.c (nt_create_process):
7995 Use newer Unicode macros.
7997 * process-unix.c (unix_create_process):
7998 * process-unix.c (unix_canonicalize_host_name):
7999 * process-unix.c (unix_open_network_stream):
8005 * search.c (syms_of_search):
8008 * select-msw.c (mswindows_destroy_selection):
8011 * select-x.c (symbol_to_x_atom):
8014 * select.c (syms_of_select):
8017 * sound.c (Fplay_sound_file):
8021 * specifier.c (decode_specifier_type):
8022 * specifier.c (Fvalid_specifier_locale_type_p):
8023 * specifier.c (check_valid_locale_or_locale_type):
8024 * specifier.c (decode_locale):
8025 * specifier.c (decode_locale_type):
8026 * specifier.c (decode_locale_list):
8027 * specifier.c (check_valid_domain):
8028 * specifier.c (decode_specifier_tag_set):
8029 * specifier.c (Fcanonicalize_tag_set):
8030 * specifier.c (Fdefine_specifier_tag):
8031 * specifier.c (Fspecifier_tag_predicate):
8032 * specifier.c (check_valid_inst_list):
8033 * specifier.c (check_valid_spec_list):
8034 * specifier.c (decode_how_to_add_specification):
8035 * specifier.c (check_modifiable_specifier):
8036 * specifier.c (specifier_add_spec):
8037 * specifier.c (boolean_validate):
8038 * specifier.c (display_table_validate):
8041 * specifier.c (syms_of_specifier):
8042 Move some symbols to general-slots.h.
8046 * symbols.c (Fmapatoms):
8047 * symbols.c (Fapropos_internal):
8050 * symbols.c (set_default_buffer_slot_variable):
8051 * symbols.c (set_default_console_slot_variable):
8054 * symbols.c (defsymbol_massage_name_1):
8055 * symbols.c (defkeyword_massage_name):
8056 * symbols.c (deferror_1):
8057 * symbols.c (deferror):
8058 * symbols.c (deferror_massage_name_and_message):
8060 * symeval.h (DEFSYMBOL):
8061 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
8063 * symbols.c (syms_of_symbols):
8067 * symsinit.h (init_win32): New.
8068 Also new is syms_of_dialog_mswindows.
8071 Add new Unicode macros, missing Cygwin wide-char functions,
8072 convenience conversion macros for Qmswindows_tstr, macros for
8073 encapsulating required MSWin <-> Cygwin filename conversions,
8074 prototype for dynamically-extracted (not in NT 3.51) functions.
8079 * tooltalk.c (Fadd_tooltalk_message_arg):
8080 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
8081 * tooltalk.c (Fadd_tooltalk_pattern_arg):
8084 * tooltalk.c (syms_of_tooltalk):
8088 * unexnt.c (unexec):
8089 Fix up headers, declaration of unexec() to be more standard.
8091 2000-07-20 Martin Buchholz <martin@xemacs.org>
8093 * offix.h: Revert change to guard macros - they're used in offix.c!
8095 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8097 * lisp.h: Defsubred Fdelete.
8099 * console-msw.h: (msprinter_default_printer): Added.
8101 * console-msw.c (msprinter_canonicalize_console_connection):
8102 (msprinter_canonicalize_device_connection): Added.
8104 * device-msw.c (msprinter_default_printer):
8105 (Fmswingows_get_default_printer):
8106 (signal_enum_priner_error):
8107 (Fmswingows_printer_list): Added.
8109 2000-07-19 Martin Buchholz <martin@xemacs.org>
8111 * XEmacs 21.2.35 is released.
8113 2000-07-19 Martin Buchholz <martin@xemacs.org>
8115 * select-x.c (x_handle_selection_request):
8116 Text selected in xemacs and pasted into xterm failed to appear.
8117 Spelling fixes and cosmetic changes.
8119 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8121 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
8122 XEmacs frame (fix for doubling chars in dialog boxes).
8124 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
8126 * select.c (select_convert_in, select_convert_out):
8127 Don't call intern() every time.
8129 * select.c (Qselect_convert_in, Qselect_convert_out): New.
8130 * select.c (vars_of_select): Initialise them.
8132 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
8134 * select.c (selection-coercible-types): New.
8136 * select.c (own-selection-internal):
8137 * select.c (get-selection-internal):
8138 MULE bug fix - these should default to COMPOUND_TEXT and not
8139 STRING for MULE. I think.
8141 * select.c (select_convert_out): Use selection-coercible-types
8142 to find types that we can attempt to perform coercions on.
8144 2000-07-18 Martin Buchholz <martin@xemacs.org>
8148 Add coding: cookie to identify encoding.
8150 * mule-canna.c (CANNA_mode_keys): make static.
8151 Use proper prototypes, even for functions of no arguments.
8152 Remove external prototype for Fding().
8154 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
8156 * select.c (syms_of_select): Add missing DEFSUBR.
8158 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
8160 * select.c (get_selection_internal, own_selection_internal):
8161 Make the type default to STRING, rather than placing a nil type
8162 into Vselection_alist.
8164 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
8166 * gpmevent.c (tty_selection_exists_p):
8167 * gpmevent.c (tty_own_selection):
8168 Updated parameter lists.
8170 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
8172 * select.h (selection-alist): Removed declaration.
8174 * select.h (get_local_selection):
8175 * select.c (get_local_selection):
8178 * select.h (convert_selection): Removed declaration.
8179 * select.c (convert_selection): Removed.
8180 This function belongs in Lisp.
8182 * select.h (select_convert_in): Declare.
8183 * select.h (select_convert_out): Declare.
8184 * select.c (select_convert_in): New.
8185 * select.c (select_convert_out): New.
8186 New conversion functions for other files to call.
8188 * select.h (select_notify_buffer_kill): Declare.
8189 * select.c (select_notify_buffer_kill): New.
8190 New functions that get called from kill-buffer.
8192 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
8193 X-specific lisp code.
8195 * select.h: Declare some of the lisp-visible functions for
8198 * select.c (clean_local_selection_data): Removed. This was
8199 a disgusting function, and previously should have been in
8200 select-x.c in any case. The functionality is now provided
8201 in select-convert-from-integer (select.el).
8203 * select.c (available-selection-types): Fixed stupidity where
8204 INTEGER and ATOM got added twice. Also add STRING when we see an
8207 * select.c (get-selection-internal): Removed symbol stripping. No
8208 longer causes conversion when data comes from the internal cache.
8210 * select.c (syms_of_select): Added new functions.
8212 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
8213 error checking - previously this called abort!
8215 * select-x.c (x_own_selection): Changed comment.
8217 * select-x.c (x_handle_selection_request): Use select_convert_out.
8218 Don't mess with selection-alist; it's an internal variable of select.c.
8220 * select-x.c (x_get_foreign_selection): Use select_convert_in.
8222 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
8223 rather than messing with selection-alist.
8225 * select-msw.c (mswindows_get_foreign_selection):
8226 Use TO_INTERNAL_FORMAT rather than hacking.
8228 2000-07-14 Martin Buchholz <martin@xemacs.org>
8230 * process-unix.c (unix_open_multicast_group):
8231 (unix_open_multicast_group): Remove useless casts.
8233 2000-07-13 Martin Buchholz <martin@xemacs.org>
8235 * sound.c (Fplay_sound): Fix `unused variable' warning.
8237 * emacs.c (main): Use correct type for _environ on SCO5.
8239 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
8241 * console.h (own_selection_method):
8242 * console.h (selection_exists_p_method):
8243 * console.h (available_selection_types_method): New.
8244 * console.h (register_selection_data_type_method): New.
8245 * console.h (selection_data_type_name): New.
8247 * console-msw.h (mswindows_destroy_selection): Declare it. New
8248 function & alist to track GlobalAlloc()'d handles that need
8249 releasing when the clipboard data gets replaced or emptied.
8251 * event-msw.c (mswindows_wnd_proc): Call it.
8253 * lisp.h, general.c (Qappend): New symbol representing a
8256 * select.c (own-selection-internal):
8257 * select.c (selection-exists-p):
8258 * select.c (available-selection-types): New.
8259 * select.c (register-selection-data-type): New.
8260 * select.c (selection-data-type-name): New. New functions to deal
8261 with device-specific selection data formats.
8262 * select.c (selection-converter-out-alist): Renamed.
8263 * select.c (selection-converter-in-alist): New.
8264 * select.c (selection-appender-alist): New. Added new alists.
8265 * select.c (syms_of_select, vars_of_select): Added new symbols &
8267 * select.c (get_local_selection): Split.
8268 * select.c: Removed spurious type checking - selections may now be
8269 of any type, not just strings.
8270 * select.c (own-selection-internal):
8272 * select.h, select.c (convert_selection): New. Created
8273 convert_selection() function based on get_local_selection().
8274 * select.h, select.c (QCF_*): New symbols representing mswindows
8276 * select.h, select.c (Qreplace_all, Qreplace_existing): New
8277 symbols representing `how-to-add' modes.
8279 * select-msw.c (x_sym_p): New.
8280 * select-msw.c (symbol_to_ms_cf): New.
8281 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
8282 symbols & clipboard formats. Can also handle string names.
8283 * select-msw.c (mswindows_own_selection):
8284 * select-msw.c (mswindows_selection_exists_p):
8285 Added `data-type' parameter. Use it.
8286 * select-msw.c (mswindows_available_selection_types): New.
8287 * select-msw.c (mswindows_register_selection_data_type): New.
8288 * select-msw.c (mswindows_selection_data_type_name): New.
8289 * select-msw.c (mswindows_own_selection):
8290 * select-msw.c (mswindows_get_foreign_selection):
8291 * select-msw.c (mswindows_selection_exists_p): Rewrote.
8292 * select-msw.c (console_create_select_mswindows): Added new methods.
8293 * select-msw.c (mswindows_destroy_selection): New.
8294 * select-msw.c (Vhandle_alist): New list.
8295 * select-msw.c (mswindows_own_selection):
8297 * select-x.c (x_own_selection):
8298 * select-x.c (x_selection_exists_p):
8299 * select-x.c: Added some comments about maybe using new
8301 * select-x.c (x_own_selection):
8303 * specifier.c: Remove definition of Qappend (now in general.c)
8304 * specifier.c (syms_of_specifier): Remove Qappend.
8306 2000-07-12 Martin Buchholz <martin@xemacs.org>
8308 * config.h.in: Add socklen_t.
8310 * s/decosf4-0.h: No special compiler flags needed or desired.
8311 In particular, undefine _BSD for DEC OSF 4.0.
8313 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8315 * redisplay-msw.c (msprinter_frame_output_end): Added.
8316 (console_type_create_redisplay_mswindows): Referred the above.
8318 * frame.c (setup_frame_without_minibuffer): Do not create a
8319 default minibuffer frame on a printer device.
8321 * frame-msw.c (apply_dc_geometry): Added.
8322 (msprinter_start_page):
8323 (msprinter_init_frame_3):
8324 (msprinter_eject_page): Use it.
8326 * console-msw.h (struct msprinter_frame): Added pix_left and top,
8327 and removed residual duplex and orientation properties.
8329 2000-07-11 Martin Buchholz <martin@xemacs.org>
8331 * eval.c (function_argcount): Work around a DEC CC compiler bug.
8333 * unexalpha.c: Remove system prototypes from C sources!
8335 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
8337 * eval.c: Remove references to M-x edit-options in DEFUNs for
8338 `defvar' and `defconst'.
8340 2000-07-09 Martin Buchholz <martin@xemacs.org>
8342 * config.h.in: Remove SMART_INCLUDE hackery.
8345 * config.h.in: Don't use SMART_INCLUDE.
8347 * postgresql.h: Include libpq-fe.h here. Fix typo.
8348 * inline.c: Simply #include "postgresql.h"
8350 - Don't use SMART_INCLUDE
8351 - Use simply "const".
8352 - Use standard doc string conventions.
8353 - Use correct type for result of PQstatus.
8355 2000-07-09 Martin Buchholz <martin@xemacs.org>
8357 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
8359 C++ compilation changes.
8360 * config.h.in (EXTERN_C): Define.
8361 * config.h.in (not): This is also a C++ keyword.
8362 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
8363 * cm.c: Use EXTERN_C.
8364 * redisplay-tty.c: Use EXTERN_C.
8365 * sysdep.c: Use EXTERN_C. Remove Gould support.
8367 2000-07-09 Martin Buchholz <martin@xemacs.org>
8369 * general.c: Remove duplicate definition for Qfunction.
8371 2000-07-08 Ben Wing <ben@xemacs.org>
8373 * device-msw.c (msprinter_init_device):
8374 * device-msw.c (sync_printer_with_devmode):
8375 * device-msw.c (handle_devmode_changes):
8376 * device-msw.c (print_dialog_worker):
8377 * device-msw.c (Fmsprinter_apply_settings):
8378 * device-msw.c (hash_devmode):
8379 * device-msw.c (Fmsprinter_settings_despecialize):
8380 use Qmswindows_tstr, not Qctext.
8382 * vm-limit.c (check_memory_limits):
8383 avoid infinite loop printing warning messages.
8385 2000-07-05 Craig Lanning <lanning@scra.org>
8387 * Makefile.in.in: Add support for including the Windows resources
8388 when building with the cygwin and mingw targets.
8390 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
8391 not set or not correct.
8392 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
8393 (init_initial_directory): Don't try to use $PWD on the
8394 WIN32_NATIVE target.
8397 [[Add -mwindows to eliminate console window.]] not required --ben
8398 (HAVE_NATIVE_SOUND): removed; now handled by configure.
8399 (MAIL_USE_POP): removed; now handled by configure.
8401 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
8402 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
8403 (HAVE_NATIVE_SOUND): removed; now handled by configure.
8404 (MAIL_USE_POP): removed; now handled by configure.
8405 (ENCAPSULATE_STAT): from Dan Holmsand, added.
8406 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
8407 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
8409 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
8410 up from <winsock.h> via systime.h.
8411 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
8412 (getpagesize): from Dan Holmsand, added.
8413 Added #endif which was left dangling by Ben's mega patch; added
8414 comment to help prevent this in the future.
8416 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
8418 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8420 * console-msw.h (struct mswindows_device): Removed unnecessary
8421 cached device geometry values.
8422 Added update_tick and an accessor macro.
8423 (Lisp_Devmode): Added lrecord declaration.
8424 (struct msprinter_device): Contain devmode as a Lisp object.
8425 Added mswindows_get_selected_frame_hwnd();
8427 * console.h (struct console_methods): Indentation nitpicking.
8429 * device-msw.c (mswindows_init_device): Do not initialize geometry
8430 cache. Initialize update tick.
8431 (mswindows_device_system_metrics): Ask the device for its geometry.
8432 (global_free_2_maybe):
8433 (devmode_to_hglobal):
8434 (handle_printer_changes):
8435 (ensure_not_printing):
8436 (print_dialog_worker):
8437 (Fmsprinter_print_setup_dialog):
8438 (Fmsprinter_print_dialog):
8441 (Fmsprinter_page_setup_dialog): Added functions.
8442 (sync_printer_with_devmode):
8443 (handle_devmode_changes):
8444 (Fmsprinter_get_settings):
8445 (Fmsprinter_select_settings):
8446 (Fmsprinter_apply_settings):
8448 (Fmsprinter_settings_copy):
8449 (Fmsprinter_settings_despecialize):
8453 (hash_devmode): Added functions
8454 (syms_of_device_mswindows): Init devmode lrecord class.
8456 * device.h: Added an exfun for find-device.
8458 * event-msw.c (mswindows_wnd_proc): Do not update the cached
8459 geometry; although, recreate the device compatible DC.
8461 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
8462 (msprinter_init_frame_3):
8463 (msprinter_frame_property):
8464 (msprinter_internal_frame_property_p):
8465 (msprinter_frame_properties):
8466 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
8467 print job properties (will move to device settings).
8469 * lisp.h: Added symbols.
8471 * general.c (syms_of_general): Declared them.
8473 * hash.c (string_hash): Added.
8475 * lrecord.h (lrecord_type): Added devmode lrecord type.
8477 2000-07-02 Mike Sperber <mike@xemacs.org>
8479 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
8482 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
8484 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
8487 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
8489 * data.c (Fstring_to_number): Don't recognize floating point if
8492 2000-06-22 Martin Buchholz <martin@xemacs.org>
8494 * glyphs-widget.c (tab_control_query_geometry):
8495 (widget_query_geometry):
8496 (button_query_geometry):
8497 * glyphs.c (text_query_geometry):
8498 Enforce type correctness.
8500 2000-06-18 Martin Buchholz <martin@xemacs.org>
8502 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
8503 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
8505 2000-06-17 Martin Buchholz <martin@xemacs.org>
8507 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
8508 conflicts with gcc's fixincluded version of FOO.h.
8510 * glyphs.h (image_instance_geometry): Remove trailing `,'
8512 2000-06-08 Mike Alexander <mta@arbortext.com>
8514 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
8515 (shove_thread): Don't write the same output twice
8516 (make_ntpipe_output_stream): Increase priority of shove thread
8517 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
8519 (ntpipe_shove_closer): Don't delete the pipe until we're done with
8522 2000-06-12 Ben Wing <ben@xemacs.org>
8524 * s\mingw32.h (sigset):
8525 * s\windowsnt.h (sigset):
8526 rename msw_ to mswindows_ for consistency with general convention.
8528 2000-06-12 Ben Wing <ben@xemacs.org>
8531 * console-msw.c (mswindows_get_console_hwnd):
8532 * console-msw.c (mswindows_ensure_console_allocated):
8533 * console-msw.c (mswindows_hide_console):
8534 * console-msw.c (mswindows_show_console):
8535 * console-msw.c (mswindows_ensure_console_buffered):
8536 * console-msw.c (mswindows_output_console_string):
8537 * console-msw.c (mswindows_windows9x_p):
8539 * device-msw.c (mswindows_get_workspace_coords):
8540 * device-msw.c (mswindows_device_system_metrics):
8541 * dialog-msw.c (mswindows_popup_dialog_box):
8542 * event-msw.c (mswindows_wnd_proc):
8543 * frame-msw.c (mswindows_size_frame_internal):
8544 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8545 * menubar-msw.c (displayable_menu_item):
8546 * menubar-msw.c (mswindows_char_is_accelerator):
8548 * nt.c (mswindows_sigset):
8549 * nt.c (mswindows_sigrelse):
8550 * nt.c (mswindows_sigpause):
8551 * nt.c (mswindows_raise):
8552 * nt.c (timer_proc):
8554 * ntproc.c (find_child_console):
8555 * ntproc.c (sys_kill):
8557 * print.c (std_handle_out_external):
8558 * process-nt.c (find_child_console):
8559 * process-nt.c (send_signal_the_95_way):
8560 * process-nt.c (ensure_console_window_exists):
8561 * process-nt.c (nt_create_process):
8563 rename msw_ to mswindows_ for consistency with general convention.
8567 include nt.h, not syswindows.h.
8569 * nt.c (mswindows_fstat):
8570 * nt.c (mswindows_stat):
8571 prefix mswindows_ instead of attempting to directly override the
8572 library functions. fix declarations.
8575 include syswindows.h. move some sysdep.h stuff here.
8578 include syswindows.h, not <windows.h>.
8586 * sysdep.c (sys_fstat):
8587 * sysdep.c (sys_stat):
8588 call mswindows versions when appropriate.
8591 move mswin decls to nt.h.
8594 add long comment describing appropriate use of the various windows
8597 2000-06-11 Ben Wing <ben@xemacs.org>
8599 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8601 2000-06-10 Ben Wing <ben@xemacs.org>
8603 * Makefile.in.in (release):
8604 Correction to make sure xemacs.exe always dumped when correct.
8608 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8610 * buffer.c (set_buffer_internal):
8611 [[[[2]]]]: Remove HAVE_FEP code.
8613 * buffer.c (init_initial_directory):
8617 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8621 * callproc.c (call_process_cleanup):
8622 * callproc.c (Fold_call_process_internal):
8623 * callproc.c (child_setup):
8624 * callproc.c (getenv_internal):
8625 * callproc.c (init_callproc):
8626 * callproc.c (vars_of_callproc):
8627 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8628 __CYGWIN32__ -> CYGWIN.
8629 DOS_NT -> WIN32_NATIVE.
8630 Remove MSDOS support/references, converting to WIN32_NATIVE
8632 __MINGW32__ -> MINGW.
8633 Fix windows.h includes.
8634 Remove bogus HAVE_NTGUI.
8640 mswindows_message_outputted added for use in allowing startup
8641 errors on the console to be seen.
8643 * console-msw.c (msw_ensure_console_allocated):
8644 * console-msw.c (msw_output_console_string):
8645 * console-msw.c (DHEADER):
8646 * console-msw.c (DOPAQUE_DATA):
8647 * console-msw.c (DEVENT):
8648 * console-msw.c (DCONS):
8649 * console-msw.c (DCONSCDR):
8650 * console-msw.c (DSTRING):
8651 * console-msw.c (DVECTOR):
8652 * console-msw.c (DSYMBOL):
8653 * console-msw.c (DSYMNAME):
8656 * console-stream.c (stream_init_console):
8657 Fix text/binary problems.
8660 * device-msw.c (mswindows_finish_init_device):
8661 * device-msw.c (mswindows_delete_device):
8664 * device.c (handle_asynch_device_change):
8668 * dgif_lib.c (DGifOpenFileName):
8669 * dgif_lib.c (DGifOpenFileHandle):
8670 * dgif_lib.c (DGifGetLine):
8671 * dgif_lib.c (DGifGetPixel):
8672 Added config.h/lisp.h, fix up includes.
8679 * dired.c (file_name_completion):
8680 * dired.c (Ffile_attributes):
8681 * dired.c (syms_of_dired):
8685 * dumper.c (pdump_file_unmap):
8686 * dumper.c (pdump_load):
8690 * editfns.c (Ftemp_directory):
8691 * editfns.c (user_login_name):
8692 * editfns.c (Fuser_real_login_name):
8693 * editfns.c (get_home_directory):
8696 * elhash.c (finish_marking_weak_hash_tables):
8697 [[[[5]]]]: Fix GCC warnings.
8700 * emacs.c (mswindows_handle_hardware_exceptions):
8701 * emacs.c (make_arg_list_1):
8703 * emacs.c (Fkill_emacs):
8704 * emacs.c (Fdump_emacs):
8706 Fix problems with nested crashes, add long comment.
8708 * event-Xt.c (init_event_Xt_late):
8712 * event-msw.c (mswindows_dde_callback):
8713 * event-msw.c (mswindows_handle_sticky_modifiers):
8714 * event-msw.c (mswindows_wnd_proc):
8718 * events.c (character_to_event):
8722 * fileio.c (Ffile_name_directory):
8723 * fileio.c (Ffile_name_nondirectory):
8724 * fileio.c (directory_file_name):
8725 * fileio.c (Fexpand_file_name):
8726 * fileio.c (Fsubstitute_in_file_name):
8727 * fileio.c (Ffile_name_absolute_p):
8728 * fileio.c (check_executable):
8729 * fileio.c (Ffile_readable_p):
8730 * fileio.c (Ffile_accessible_directory_p):
8731 * fileio.c (Ffile_modes):
8732 * fileio.c (Funix_sync):
8733 * fileio.c (vars_of_fileio):
8736 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8738 Expand getdefdir defn.
8739 Fix bogus rename() comment.
8741 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8742 to use standard XEmacs include files, e.g. sysfile.h, rather
8743 than system-specific includes.
8749 * frame.c (vars_of_frame):
8753 * getloadavg.c (getloadavg):
8755 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8756 (We don't use it elsewhere in the code; just add a comment.)
8763 * glyphs-msw.c (mswindows_resource_instantiate):
8766 * glyphs-x.c (x_native_layout_instantiate):
8769 * gui-msw.c (Fmswindows_shell_execute):
8778 * lread.c (locate_file_in_directory_mapper):
8785 * mem-limits.h (get_lim_data):
8797 * nt.c (rva_to_section):
8798 * nt.c (mswindows_executable_type):
8800 Fix closedir() defn.
8803 [[[[8]]]]: *_OK defs moved to sysfile.h.
8812 * print.c (std_handle_out_external):
8816 * process-nt.c (nt_create_process):
8818 try to fix process quoting somewhat.
8820 * process-unix.c (unix_create_process):
8824 * process.c (vars_of_process):
8831 * realpath.c (xrealpath):
8834 * redisplay-tty.c (init_tty_for_redisplay):
8844 * sheap.c (more_static_core):
8845 * sheap.c (report_sheap_usage):
8849 * signal.c (alarm_signal):
8856 * strftime.c (zone_name):
8859 * symsinit.h (init_sunpro):
8863 commctrl.h not in Cygwin b20.1.
8867 * sysdep.c (sys_subshell):
8868 * sysdep.c (init_baud_rate):
8869 * sysdep.c (emacs_get_tty):
8870 * sysdep.c (emacs_set_tty):
8871 * sysdep.c (tty_init_sys_modes_on_device):
8872 * sysdep.c (init_system_name):
8873 * sysdep.c (sys_open):
8874 * sysdep.c (interruptible_open):
8875 * sysdep.c (sys_fopen):
8876 * sysdep.c (sys_mkdir):
8877 * sysdep.c (sys_rename):
8878 * sysdep.c (get_process_times_1):
8885 * sysdir.h (DIRENTRY_NONEMPTY):
8888 * sysdll.c (dll_init):
8894 added text/binary defs.
8900 * sysproc.h (EDESTADDRREQ):
8901 * sysproc.h (poll_fds_for_input):
8918 Always define WIN32_LEAN_AND_MEAN.
8920 * unexcw.c (unexec):
8924 * unexec.c (copy_text_and_data):
8925 * unexec.c (adjust_lnnoptrs):
8929 * unexnt.c (_start):
8932 2000-06-07 Ben Wing <ben@xemacs.org>
8934 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8935 was used only as a model. We've long since extracted any useful
8936 logic or code out of this. (I just did an exhaustive search.)
8938 * s\msdos.h: Removed.
8940 * s\windows95.h: Removed.
8942 2000-06-10 Ben Wing <ben@xemacs.org>
8946 Don't use extern with fun defs.
8950 Remove nt\inc include.
8951 Remove getdisk, getdefdir. (The former is unused, the latter
8952 expanded in fileio.h.)
8955 * s\windowsnt.h (WIN32_NATIVE):
8956 * s\windowsnt.h (HAVE_STRCASECMP):
8958 Add long comment about preprocessor changes.
8959 Remove getdisk, getdefdir. (The former is unused, the latter
8960 expanded in fileio.h.)
8962 2000-06-10 Ben Wing <ben@xemacs.org>
8971 Remove bogus/unused NO_SOCK_SIGIO.
8973 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8975 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8978 2000-06-04 Mike Sperber <mike@xemacs.org>
8980 * casetab.c (set_case_table): For `set-standard-case-table',
8981 actually deposit the new case tables where the rest of XEmacs can
8984 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8986 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8988 2000-06-05 Ben Wing <ben@xemacs.org>
8990 * callproc.c (child_setup): Don't do close_load_descs() under
8991 MS Windows. Put in a comment explaining why.
8993 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8995 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8996 Toolkit shell" which breaks `kill-compilation' on Windows NT
8997 native, retaining STDERR handling improvements.
8999 2000-06-01 Andreas Jaeger <aj@suse.de>
9001 * s/s390.h: Support for S390, based on a patch by Martin
9002 Schwidefsky <schwidefsky@de.ibm.com>.
9004 2000-05-30 Andy Piper <andy@xemacs.org>
9006 * window.c (allocate_window):
9007 (make_dummy_parent):
9008 (Fset_window_configuration): use new hashtable type.
9010 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
9011 (struct image_instantiator_methods):
9012 (struct Lisp_Image_Instance): make instance geometry signed.
9014 * glyphs.c (instantiate_image_instantiator):
9015 (image_instance_query_geometry):
9016 (image_instance_layout):
9017 (image_instance_layout):
9018 (query_string_geometry):
9019 (text_query_geometry):
9020 (image_instantiate):
9021 (image_instantiate):
9022 (cache_subwindow_instance_in_frame_maybe):
9023 (subwindow_query_geometry): make instance geometry signed.
9025 * glyphs-widget.c (widget_query_geometry):
9027 (button_query_geometry):
9028 (tree_view_query_geometry):
9029 (tab_control_query_geometry):
9030 (layout_query_geometry):
9032 (native_layout_layout): make instance geometry signed.
9034 2000-05-29 Olivier Galibert <galibert@pobox.com>
9036 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
9039 * general.c (syms_of_general): Add Qfull_assoc symbol.
9041 * data.c (finish_marking_weak_lists): Mark full-assoc lists
9043 (decode_weak_list_type): Decode full-assoc type.
9044 (encode_weak_list_type): Encode full-assoc type.
9045 (Fmake_weak_list): Update doc string.
9047 2000-05-30 Andy Piper <andy@xemacs.org>
9049 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
9051 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
9052 (decode_hash_table_weakness): ditto.
9053 (Fhash_table_weakness): ditto.
9054 (Fhash_table_type): ditto.
9055 (finish_marking_weak_hash_tables): ditto.
9056 (hash_table_weakness_validate): ditto.
9057 (syms_of_elhash): ditto.
9059 2000-05-28 Martin Buchholz <martin@xemacs.org>
9061 * XEmacs 21.2.34 is released.
9063 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
9065 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
9067 (updating_line_start_cache): Gone.
9068 (regenerate_window): Replace resetting of VERTICAL_CLIP by
9069 generic code to force a minimum of 1 line laid out in the
9072 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
9074 * glyphs.c (instantiate_image_instantiator): Check for initialized
9075 height & width no longer special cases IMAGE_NOTHING.
9076 (nothing_instantiate): Set height and width of instance.
9078 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
9080 * unexelf.c (unexec): Search for ".data" section.
9081 Initialize new_data2_offset from old_data_index.
9082 Remove redundant check for ElfW.
9084 2000-05-23 Andy Piper <andy@xemacs.org>
9086 * glyphs.c (get_image_instantiator_governing_domain): allow more
9087 specific domains as the governing domain rather than expecting an
9088 exact match. This fixes problems with layouts.
9090 2000-05-22 Andy Piper <andy@xemacs.org>
9092 * redisplay-output.c (compare_runes): check for non-images
9094 * glyphs.c (set_glyph_dirty_p): ditto.
9095 (update_glyph_cachel_data): ditto.
9097 * glyphs-widget.c (layout_post_instantiate): ditto.
9098 (layout_post_instantiate): ditto.
9100 * event-msw.c (mswindows_wnd_proc): warning removal.
9102 2000-05-12 Craig Lanning <CraigL@DyCon.com>
9104 * s\mingw32.h: Added #undef for CLASH_DETECTION.
9106 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
9108 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
9110 * nt.c (rva_to_section): mingw32 needs rva_to_section.
9111 (mswindows_executable_type): mingw32 now has enough headers for
9114 2000-05-20 Andy Piper <andy@xemacs.org>
9116 * console-msw.c (mswindows_output_last_error): ; -> ,
9118 2000-05-12 Andy Piper <andy@xemacs.org>
9120 * console-msw.c (FROB): compare ints with ints.
9122 2000-05-11 Andy Piper <andy@xemacs.org>
9124 * glyphs-x.c (x_finalize_image_instance): make minimal build
9127 2000-05-20 Ben Wing <ben@xemacs.org>
9130 * event-Xt.c (vars_of_event_Xt):
9131 move modifier-keys-are-sticky to event-stream.c.
9134 * event-msw.c (mswindows_enqueue_mouse_button_event):
9135 * event-msw.c (key_needs_default_processing_p):
9136 * event-msw.c (XEMSW_LCONTROL):
9137 * event-msw.c (mswindows_handle_sticky_modifiers):
9138 * event-msw.c (FROB):
9139 * event-msw.c (clear_sticky_modifiers):
9140 * event-msw.c (output_modifier_keyboard_state):
9141 * event-msw.c (output_alt_keyboard_state):
9142 * event-msw.c (mswindows_wnd_proc):
9143 * event-msw.c (mswindows_modifier_state):
9144 * event-msw.c (emacs_mswindows_handle_magic_event):
9145 implement sticky modifiers.
9148 * event-stream.c (vars_of_event_stream):
9149 move modifier-keys-are-sticky here.
9155 implement map-range-table.
9158 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
9160 * redisplay-tty.c (reset_tty_modes):
9161 (tty_redisplay_shutdown): Adjust argument type to
9162 tty_frame_output_end.
9164 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
9166 * eval.c (Fbacktrace): Don't output a line with only right
9169 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
9171 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
9172 (Fpq_reset_poll): Ditto.
9174 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
9176 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
9178 2000-05-16 Ben Wing <ben@xemacs.org>
9181 * buffer.c (dfc_convert_to/from_internal_format):
9182 * buffer.c (reinit_vars_of_buffer):
9183 Fix conversion functions to allow reentrancy.
9186 * console-msw.c (mswindows_output_last_error):
9187 New fun, generally useful -- output a human-readable
9188 version of GetLastError() on the console.
9191 * console-msw.h (struct mswindows_frame):
9192 Changes for DeferWindowPos. Declare mswindows_output_last_error().
9194 * console-stream.c (stream_output_begin):
9195 * console-stream.c (stream_output_end):
9196 * console-stream.c (stream_output_vertical_divider):
9197 * console-stream.c (stream_clear_region):
9198 * console-stream.c (stream_flash):
9199 * console-stream.c (console_type_create_stream):
9200 Delete blank stream methods, not needed.
9202 * console.h (struct console_methods):
9203 Split begin/end methods into window and frame.
9206 * event-msw.c (mswindows_handle_paint):
9207 * event-msw.c (output_alt_keyboard_state):
9208 * event-msw.c (mswindows_wnd_proc):
9209 * event-msw.c (vars_of_event_mswindows):
9210 Comment about problems with ignored-expose.
9211 Define mswindows-debug-events; not really implemented.
9213 * frame-msw.c (mswindows_init_frame_1):
9217 * glyphs-msw.c (begin_defer_window_pos):
9218 * glyphs-msw.c (mswindows_unmap_subwindow):
9219 * glyphs-msw.c (mswindows_map_subwindow):
9220 * glyphs-msw.c (mswindows_resize_subwindow):
9221 Use DeferWindowPos to reduce flashing when mapping/unmapping.
9223 * glyphs.c (make_image_instance_1):
9226 * gutter.c (Fredisplay_gutter_area):
9227 Use new begin/end methods.
9229 * lisp.h (Dynarr_new2):
9233 * redisplay-msw.c (mswindows_frame_output_begin):
9234 * redisplay-msw.c (mswindows_frame_output_end):
9235 * redisplay-msw.c (console_type_create_redisplay_mswindows):
9236 New begin/end methods -- handle DeferWindowPos.
9238 * redisplay-output.c (redisplay_move_cursor):
9239 * redisplay-output.c (redraw_cursor_in_window):
9240 * redisplay-output.c (redisplay_update_line):
9241 * redisplay-output.c (redisplay_output_window):
9242 New begin/end methods.
9245 * redisplay-tty.c (tty_frame_output_begin):
9246 * redisplay-tty.c (tty_frame_output_end):
9247 * redisplay-tty.c (console_type_create_redisplay_tty):
9248 New begin/end methods.
9251 * redisplay-x.c (x_window_output_begin):
9252 * redisplay-x.c (x_window_output_end):
9253 * redisplay-x.c (console_type_create_redisplay_x):
9254 New begin/end methods.
9256 * redisplay.c (redisplay_frame):
9257 * redisplay.c (Fredisplay_echo_area):
9258 New begin/end methods.
9259 use MAYBE_DEVMETH for clear_frame; it may not exist.
9261 * window.h (WINDOW_XFRAME):
9262 WINDOW_XFOO macros -- get locale and decode struct pointer.
9265 2000-05-12 Ben Wing <ben@xemacs.org>
9268 * emacs.c (ensure_no_quitting_from_now_on):
9269 * emacs.c (fatal_error_signal):
9270 * emacs.c (mswindows_handle_hardware_exceptions):
9272 * emacs.c (Fkill_emacs):
9273 * emacs.c (shut_down_emacs):
9274 * emacs.c (assert_failed):
9275 various improvements in fatal error handling.
9278 move preparing_for_armageddon to emacs.c.
9281 declare fatal_error_in_progress.
9284 * print.c (std_handle_out_external):
9285 * print.c (std_handle_out_va):
9286 * print.c (stderr_out):
9287 * print.c (stdout_out):
9288 use console under mswin when no standard output.
9289 don't do code conversion during fatal error.
9291 * scrollbar.c (Fscrollbar_page_up):
9292 * scrollbar.c (Fscrollbar_page_down):
9293 fix missing else. reindent.
9295 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
9299 * glyphs.h (GLYPH_CACHEL_DESCENT):
9300 (GLYPH_CACHEL_DESCENT):
9301 (GLYPH_CACHEL_DESCENT):
9302 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
9303 used in case these are inline functions.
9304 Use more absurd values to error check.
9306 include window.h for error check functions.
9308 2000-05-11 Ben Wing <ben@xemacs.org>
9310 * cmdloop.c (Freally_early_error_handler):
9311 Display message box under windows; otherwise, message will disappear
9312 before it can be viewed.
9315 * console-msw.c (Fmswindows_message_box):
9316 * console-msw.c (FROB):
9317 * console-msw.c (syms_of_console_mswindows):
9318 Define new fun `mswindows-message-box'.
9319 #### I will merge this into `popup-dialog-box'; just give me
9323 * general.c (syms_of_general):
9324 Some new symbols used in `mswindows-message-box'.
9327 * glyphs.c (Fset_image_instance_property):
9328 put warning in this fun.
9331 * glyphs.h (GLYPH_CACHEL_WIDTH):
9332 * glyphs.h (GLYPH_CACHEL_ASCENT):
9333 * glyphs.h (GLYPH_CACHEL):
9334 * glyphs.h (GLYPH_CACHEL_GLYPH):
9335 define error-checking versions to try to catch a bug i've seen --
9336 redisplay gets in an infinite loop because the glyph width of the
9337 continuation glyph is 65535.
9340 Extern message-box stuff.
9342 * window.c (allocate_window):
9343 * window.c (make_dummy_parent):
9344 * window.c (Fset_window_configuration):
9345 Use EQUAL not EQ for subwindow caches to make them work a bit
9346 better. (Something is still very broken.)
9349 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
9351 * glyphs.c (image_instantiate): Suppress gcc warnings.
9352 (Fmake_image_instance): Fix doc string.
9353 * specifier.c (Fmake_specifier): Ditto.
9355 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
9357 * paths.h.in (PATH_LOCK): Removed.
9358 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
9359 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
9361 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
9363 * fns.c (Ffeaturep): Update e-mail address in doc-string.
9364 Document (featurep '(and xemacs 21.02)).
9366 2000-05-09 Ben Wing <ben@xemacs.org>
9368 * buffer.c (complex_vars_of_buffer):
9369 update modeline-format doc.
9372 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
9375 timeline of all released versions of Emacs, for use in creating
9376 authorship comments and in synching up.
9378 * glyphs-widget.c (image_instantiator_buttons):
9379 * glyphs-widget.c (image_instantiator_edit_fields):
9380 * glyphs-widget.c (image_instantiator_combo_box):
9381 * glyphs-widget.c (image_instantiator_scrollbar):
9382 * glyphs-widget.c (image_instantiator_progress_guage):
9383 * glyphs-widget.c (image_instantiator_tree_view):
9384 * glyphs-widget.c (image_instantiator_tab_control):
9385 * glyphs-widget.c (image_instantiator_labels):
9386 * glyphs-widget.c (image_instantiator_layout):
9387 * glyphs-widget.c (image_instantiator_native_layout):
9388 rename decode_domain method to governing_domain.
9391 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
9392 * glyphs.c (add_entry_to_device_ii_format_list):
9393 make sure we don't put an entry more than once into the list.
9394 * glyphs.c (check_instance_cache_mapper):
9395 *************************************************************
9396 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9398 *************************************************************
9399 * glyphs.c (get_image_instantiator_governing_domain):
9400 clean up, expand on new concept of governing domain.
9401 * glyphs.c (instantiate_image_instantiator):
9402 * glyphs.c (allocate_image_instance):
9403 use governing_domain instead of cache_domain in naming.
9404 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
9405 * glyphs.c (make_image_instance_1):
9406 * glyphs.c (Fmake_image_instance):
9407 allow for any domain (not just device), and process the
9408 governing domain correctly. very big doc fix.
9409 * glyphs.c (Fimage_instance_domain):
9410 new primitive, to retrieve the governing domain of an image instance.
9411 * glyphs.c (image_instantiate):
9412 use new governing_domain stuff. this fixes a crash you could get
9413 by instantiating certain widget glyphs in frame locales. (should
9414 signal an error instead of crashing.)
9415 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
9416 * glyphs.c (Fglyphp): clean up doc.
9417 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
9418 * glyphs.c (syms_of_glyphs):
9419 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
9420 * glyphs.c (image_instantiator_format_create): add some comments about
9422 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
9423 for current-display-table. (Apparently Hrjove implemented in 1998 a
9424 design I wrote up in 1996, but didn't update the doc string.)
9426 * glyphs.h: clean up a doc string.
9427 * glyphs.h (governing_domain):
9428 * glyphs.h (struct image_instantiator_methods):
9429 changes for governing_domain stuff.
9432 * gutter.c (Fgutter_specifier_p):
9433 * gutter.c (Fgutter_size_specifier_p):
9434 * gutter.c (Fgutter_visible_specifier_p):
9436 * objects.c (Fcolor_specifier_p):
9437 * objects.c (Ffont_specifier_p):
9438 * objects.c (Fface_boolean_specifier_p):
9439 doc strings moved to make-*-specifier.
9441 * redisplay.c (add_disp_table_entry_runes_1):
9442 * redisplay.c (generate_fstring_runes):
9443 * redisplay.c (screen):
9444 add random comments and doc strings.
9447 * specifier.c (Fmake_specifier):
9448 major overhaul of this doc string.
9450 * specifier.c (Fvalid_specifier_domain_p):
9451 comment about the bogosity of image instances being domains.
9452 * specifier.c (decode_domain):
9453 now non-static, used in glyphs.c.
9454 * specifier.c (specifier_instance):
9455 comment about the bogosity of image instances being domains.
9456 * specifier.c (Fgeneric_specifier_p):
9457 move doc string to make-generic-specifier.
9458 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
9462 * specifier.h (DOMAIN_FRAME):
9463 * specifier.h (DOMAIN_LIVE_P):
9464 * specifier.h (DOMAIN_XDEVICE):
9466 add comments about problems with these macros.
9467 prototype for decode_domain.
9470 * toolbar.c (Ftoolbar_specifier_p):
9471 move doc string to `make-toolbar-specifier'.
9473 * window.c (window_unmap_subwindows_cache_mapper):
9474 *************************************************************
9475 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9477 *************************************************************
9479 2000-05-09 Andy Piper <andy@xemacs.org>
9481 * glyphs.h: declare reset_frame_subwindow_instance_cache.
9483 * window.c (Fset_window_configuration): reset the frame subwindow
9484 cache and re-initialize the window subwindow caches.
9486 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
9488 2000-05-09 Ben Wing <ben@xemacs.org>
9490 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
9493 2000-04-26 Mike Woolley <mike@bulsara.com>
9495 * ntheap.c: Changed recreate_heap to limit the amount reserved
9496 for the heap to that which is actually available. Also now
9497 displays a message box (with some dignostics) in the event that
9498 it still can't start.
9500 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
9502 * callproc.c (Fold_call_process_internal): GCPRO path
9504 2000-05-08 Jan Vroonhof <jan@xemacs.org>
9506 Patch by Bill Perry.
9508 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
9509 back data instead of #ifdef.
9510 (Fscrollbar_page_down): ditto.
9512 2000-05-07 Ben Wing <ben@xemacs.org>
9515 Kludge for defining Qmswindows_tstr.
9518 * nt.c (open_input_file):
9519 * nt.c (open_output_file):
9520 * nt.c (rva_to_section):
9521 * nt.c (mswindows_executable_type):
9522 Move all memory-mapped-file routines here (some were in unexnt.c,
9523 which is bad because they are used by process-nt.c, and unexnt
9524 won't be around when portable dumping). Synched the above routines
9528 Removed ifdef'd out bogus code.
9529 Fixed some prototypes.
9532 * nt.h (OFFSET_TO_RVA):
9533 * nt.h (RVA_TO_OFFSET):
9534 * nt.h (RVA_TO_PTR):
9535 Moved the memory-mapped-file structures, macros and prototypes
9536 here, to parallel nt.c. ntheap.h should really be removed
9537 entirely, and it's a non-portable-dumper specific file.
9539 * ntheap.h (round_to_next):
9540 Moved the memory-mapped-file structures, macros and prototypes
9543 * ntproc.c (compare_env):
9544 Moved rva_to_section and mswindows_executable_type to nt.c.
9545 Moved compare_env to process-nt.c.
9546 ntproc.c will die, one day.
9548 * ntproc.c (sys_spawnve):
9549 Account for win32_ -> mswindows_.
9552 * process-nt.c (struct nt_process_data):
9553 * process-nt.c (ensure_console_window_exists):
9554 * process-nt.c (compare_env):
9555 * process-nt.c (nt_create_process):
9556 * process-nt.c (nt_kill_process_by_pid):
9557 * process-nt.c (syms_of_process_nt):
9558 * process-nt.c (vars_of_process_nt):
9559 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
9560 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
9561 changes). Eliminate our old `nt-quote-process-args' mechanism.
9562 Synch up nt_create_process with FSF 20.6 sys_spawnve.
9563 Move compare_env here from ntproc.c.
9565 * process.c (Fprocess_send_region):
9566 Takes an optional fourth argument, BUFFER, which should fix some
9567 problems with call-process.
9570 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
9573 Move ICC_BAR_CLASSES to syscommctrl.h.
9574 Add preliminary macros for MSWindows/Mule. More to come.
9577 * unexnt.c (unexec):
9578 open_output_file moved to nt.c.
9581 2000-05-05 Andy Piper <andy@xemacs.org>
9583 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
9584 instance from the frame cache also since GC may catch up too late
9585 to make frame deletion sane.
9587 2000-05-04 Andy Piper <andy@xemacs.org>
9589 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
9590 (x_finalize_image_instance): ungcpro on deletion.
9592 * glyphs.c (image_instantiator_format_create): give pointers a
9593 query geometry method so that the geometry is at least set.
9595 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
9596 initialize layouts if using widgets.
9598 2000-05-03 Andy Piper <andy@xemacs.org>
9600 * nt.c: remove bogus reference to sysmmsystem.h
9602 * gui-x.c (popup_selection_callback): fix no selection abort.
9604 2000-05-02 Andy Piper <andy@xemacs.org>
9606 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9607 (mswindows_widget_instantiate): ditto.
9609 * glyphs-widget.c (initialize_widget_image_instance): initialize
9611 (widget_instantiate): cope with children and items in the same
9614 * glyphs.c (mark_image_instance): cope with children as a first
9616 (image_instance_equal): ditto.
9617 (image_instance_hash): ditto.
9618 (image_instance_changed): ditto.
9620 2000-04-30 Andy Piper <andy@xemacs.org>
9622 * glyphs.c (subwindow_query_geometry): new function. Return some
9624 (subwindow_instantiate): don't assign dimensions if none have been
9626 (image_instantiator_format_create): add subwindow_query_geometry.
9627 (print_image_instance): cope with layouts as widgets.
9629 2000-04-29 Andy Piper <andy@xemacs.org>
9631 * frame.c (delete_frame_internal): call
9632 free_frame_subwindow_instance_cache so that all subwindows are
9633 finalized before their parent.
9634 (mark_frame): remove subwindow_cachels.
9635 (Fmake_frame): remove subwindow_cachel manipulation.
9636 (allocate_frame_core): subwindow_instance_cache is a weak list.
9637 (delete_frame_internal): set subwindow_instance_cache to nil.
9639 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9641 (mswindows_finalize_image_instance): use the device
9642 not the domain as the domain may have died already.
9644 * glyphs-x.c (x_finalize_image_instance): ditto.
9645 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9648 * redisplay-output.c (redisplay_unmap_subwindows): update for
9649 subwindow instance cache as a weak list.
9650 (redisplay_unmap_subwindows_maybe): ditto.
9651 (redisplay_unmap_subwindows_except_us): ditto.
9653 * glyphs.c (unmap_subwindow): error checking will check the domain
9654 so don't deal with it here. Don't use cachels anymore.
9655 (map_subwindow): ditto.
9656 (update_subwindow_cachel_data): remove old accessor names.
9657 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9658 (Fresize_subwindow): don't update cachel.
9659 (mark_subwindow_cachels):
9660 (update_subwindow_cachel_data):
9661 (add_subwindow_cachel):
9662 (get_subwindow_cachel_index):
9663 (update_subwindow_cachel):
9664 (reset_subwindow_cachels):
9665 (mark_subwindow_cachels_as_not_updated): deleted.
9666 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9667 subwindow instance to the frame cache.
9668 (find_matching_subwindow): update for subwindow instance cache as
9670 (update_widget_instances): ditto.
9671 (image_instance_type_to_mask):inlined.
9672 (free_frame_subwindow_instance_cache): new function. finalize all
9673 subwindows that are instantiated.
9675 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9676 of cachel information.
9677 (IMAGE_INSTANCE_DISPLAY_X):
9678 (IMAGE_INSTANCE_DISPLAY_Y):
9679 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9680 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9681 (XIMAGE_INSTANCE_DISPLAY_X):
9682 (XIMAGE_INSTANCE_DISPLAY_Y):
9683 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9684 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9685 remove subwindow_cachel structure and function references.
9686 (image_instance_type_to_mask): inline from glyphs.c
9688 * redisplay.c (redisplay_frame): remove subwindow_cachel
9691 * frame.h (struct frame): remove subwindow_cachels.
9692 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9694 * frameslots.h: add subwindow_instance_cache.
9696 * window.c (replace_window): check subwindow cache of replacement.
9697 (window_unmap_subwindows_cache_mapper):
9698 (window_unmap_subwindows): new functions. Unmap all subwindows
9699 cached on this window.
9700 (mark_window_as_deleted): unmap all subwindows.
9702 2000-04-27 Andy Piper <andy@xemacs.org>
9704 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9706 * glyphs-widget.c (widget_layout): return something.
9707 (layout_layout): return something. Fail if not initialized.
9708 (layout_query_geometry): ditto.
9709 (image_instantiator_native_layout): new function. Initialized the
9711 (widget_instantiate): don't do layout stuff here.
9713 * glyphs.c (instantiate_image_instantiator): reorded calling or
9714 instantiate and post_instantiate with layout in between.
9715 (image_instance_layout): be more selective about deciding whether
9716 the layout has been done or not.
9718 * glyphs.h (struct image_instantiator_methods): return a value
9721 2000-04-26 Andy Piper <andy@xemacs.org>
9723 * glyphs.c (allocate_image_instance): make initial width and
9724 height unspecified. Set initialized to 0.
9726 * syscommctrl.h new file. Encapsulates commctrl.h.
9728 * syswindows.h new file. Encapsulates windows.h.
9730 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9732 * console-msw.h: ditto.
9734 * redisplay-tty.c (tty_output_display_block): remove layout references.
9736 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9737 window handle rather than just the frame.
9739 * glyphs.c (mark_image_instance): remove layout references.
9740 (print_image_instance): ditto.
9741 (image_instance_equal): ditto.
9742 (image_instance_hash): ditto.
9743 (decode_image_instance_type): ditto.
9744 (encode_image_instance_type): ditto.
9745 (image_instantiate): ditto.
9746 (allocate_glyph): ditto.
9747 (Fimage_instance_height): ditto.
9748 (Fimage_instance_width): ditto.
9749 (update_subwindow): ditto.
9751 * redisplay-x.c (x_output_display_block): recode for layouts as
9754 * redisplay-output.c (redisplay_output_layout): recode for layouts
9756 (compare_runes): remove layout references.
9758 * redisplay-msw.c (mswindows_output_display_block): recode for
9761 * glyphs-widget.c (image_instantiator_layout): remove
9762 layout_possible_dest_types.
9763 (layout_possible_dest_types): deleted.
9765 * glyphs.h (image_instance_type): remove layout references.
9766 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9767 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9768 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9770 2000-04-25 Andy Piper <andy@xemacs.org>
9772 * glyphs-widget.c (image_instantiator_buttons):
9773 (image_instantiator_edit_fields):
9774 (image_instantiator_combo_box):
9775 (image_instantiator_scrollbar):
9776 (image_instantiator_progress_guage):
9777 (image_instantiator_tree_view):
9778 (image_instantiator_tab_control):
9779 (image_instantiator_labels):
9780 (image_instantiator_layout): call default post_instantiate method.
9781 (widget_post_instantiate): new function. Simply lays out the
9784 * glyphs.h (struct image_instantiator_methods): add
9785 post_instantiate method.
9787 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9790 2000-04-23 Andy Piper <andy@xemacs.org>
9792 * glyphs.h (struct image_instantiator_methods): add
9793 decode_domain_method.
9794 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9795 derived from the domain.
9796 (IMAGE_INSTANCE_FRAME): new accessor.
9797 (XIMAGE_INSTANCE_FRAME): ditto.
9799 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9800 instead of _SUBWINDOW_FRAME.
9801 (finalize_image_instance): ditto.
9802 (Fimage_instance_foreground): ditto.
9803 (Fimage_instance_background): ditto.
9804 (image_instantiate): ditto.
9805 (update_subwindow_cachel): ditto.
9806 (update_subwindow): ditto.
9807 (unmap_subwindow): ditto.
9808 (map_subwindow): ditto
9809 (subwindow_instantiate): ditto.
9810 * glyphs-msw.c (mswindows_update_widget): ditto.
9811 (mswindows_progress_gauge_instantiate): ditto.
9812 (mswindows_tab_control_update): ditto.
9813 * glyphs-x.c (x_update_widget): ditto.
9814 (x_widget_instantiate): ditto.
9815 (x_tab_control_instantiate): ditto.
9816 (x_tab_control_update): ditto.
9817 * event-msw.c (mswindows_wnd_proc): ditto
9819 * glyphs-widget.c (image_instantiator_layout): use
9820 subwindow_decode_domain.
9821 (image_instantiator_buttons): ditto.
9822 (image_instantiator_edit_fields): ditto.
9823 (image_instantiator_combo_box): ditto.
9824 (image_instantiator_scrollbar): ditto.
9825 (image_instantiator_progress_guage): ditto.
9826 (image_instantiator_tree_view): ditto.
9827 (image_instantiator_tab_control): ditto.
9828 (image_instantiator_labels): ditto.
9829 (image_instantiator_layout): ditto.
9831 * glyphs.c: add instance error checking to many functions.
9832 (instantiate_image_instantiator): decode device from cache_domain.
9833 (image_instantiate): partially rewrite by using
9834 decode_image_instantiator_domain to determine what domain the
9835 instance needs to be cached in.
9836 (decode_image_instantiator_domain): new function. Determine what
9837 domain the image needs to be cached in.
9838 (check_window_subwindow_cache): new error checking function.
9839 (check_instance_cache_mapper): ditto.
9840 (check_image_instance_structure): ditto.
9841 (subwindow_decode_domain): new function. Encodes a window as a
9842 subwindow's cache domain.
9843 (image_instantiator_format_create): use it for text and
9846 2000-04-21 Andy Piper <andy@xemacs.org>
9848 * glyphs.c (image_instance_device): new function.
9849 (image_instance_frame): new function.
9850 (image_instance_window): new function.
9851 (image_instance_live_p): new function.
9853 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9856 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9857 (IMAGE_INSTANCE_DOMAIN): new accessor.
9858 (XIMAGE_INSTANCE_DOMAIN): ditto.
9860 * glyphs-x.c (x_finalize_image_instance): device->domain.
9862 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9863 (mswindows_finalize_image_instance): ditto.
9865 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9866 (gif_instantiate): ditto.
9867 (png_instantiate): ditto.
9868 (tiff_instantiate): ditto.
9870 * glyphs.c (instantiate_image_instantiator): use domain rather
9872 (mark_image_instance): device -> domain.
9873 (print_image_instance): ditto.
9874 (finalize_image_instance): ditto.
9875 (image_instance_equal): ditto.
9876 (allocate_image_instance): ditto.
9877 (Fcolorize_image_instance): ditto.
9878 (query_string_geometry): ditto.
9879 (image_instantiate): ditto
9880 (query_string_font): ditto.
9881 (image_instantiate): ditto.
9882 (update_subwindow): ditto.
9883 (unmap_subwindow): ditto.
9884 (map_subwindow): ditto.
9885 (subwindow_instantiate): ditto.
9887 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9888 (DOMAIN_FRAME): ditto.
9889 (DOMAIN_WINDOW): ditto.
9890 (DOMAIN_LIVE_P): ditto.
9891 (XDOMAIN_DEVICE): ditto.
9892 (XDOMAIN_FRAME): ditto.
9893 (XDOMAIN_WINDOW): ditto.
9895 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9896 a valid specifier domain.
9898 2000-04-19 Andy Piper <andy@xemacs.org>
9900 * glyphs-widget.c (syms_of_glyphs_widget): remove
9901 widget-callback-current-channel.
9902 (vars_of_glyphs_widget): ditto.
9905 * gui.c (get_gui_callback): revert to previous behaviour.
9907 2000-04-18 Andy Piper <andy@xemacs.org>
9909 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9910 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9911 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9913 * glyphs.c (image_instance_equal): add margin_width.
9914 (image_instance_hash): ditto.
9916 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9917 (layout_query_geometry): ditto.
9918 (layout_layout): ditto.
9919 (syms_of_glyphs_widget): add margin-width.
9920 (image_instantiator_layout): allow margin-width.
9922 * glyphs.c (update_widget_instances): make a normal function.
9923 (syms_of_glyphs): remove Qupdate_widget_instances.
9926 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9927 so that we don't corrupt ideas about the last event or
9928 command. Remove widget-callback-current-channel fiddling.
9929 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9931 2000-05-01 Martin Buchholz <martin@xemacs.org>
9933 * XEmacs 21.2.33 is released.
9935 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9937 * make-src-depend: Allow dots in header file name.
9939 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9941 * mule-charset.h (struct charset_lookup): Add
9942 next_allocated_1_byte_leading_byte and
9943 next_allocated_2_byte_leading_byte.
9944 * mule-charset.c: Move above two variables so that those values
9947 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9949 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9950 when string length is zero.
9951 (find_charsets_in_emchar_string): Ditto.
9953 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9955 * lisp.h: extern Qdialog and Qmenubar.
9957 * gui-x.c: added events.h.
9958 also fixed typo which made the file uncompilable.
9960 * general.c: Added Qmenubar and Qdialog
9962 2000-04-28 Ben Wing <ben@xemacs.org>
9964 * frame-msw.c (mswindows_init_frame_1):
9965 * frame-msw.c (mswindows_mark_frame):
9966 * event-msw.c (mswindows_enqueue_dispatch_event):
9968 * console-msw.h (struct mswindows_frame):
9969 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9970 there are now three hash tables for callbacks.
9971 mswindows_enqueue_dispatch_event is no longer static.
9973 * dialog-x.c (maybe_run_dbox_text_callback):
9974 * dialog-x.c (dbox_descriptor_to_widget_value):
9975 switch to new cons3 form for callbacks.
9977 * glyphs-msw.c (mswindows_register_gui_item):
9978 * glyphs-msw.c (mswindows_widget_instantiate):
9979 * glyphs-msw.c (add_tree_item):
9980 * glyphs-msw.c (add_tab_item):
9981 new image instance parameter, so it can be passed to callback-ex.
9982 respect :callback-ex as well as :callback.
9984 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9987 * glyphs.c (print_image_instance):
9988 prettify, e.g. now prints widget type.
9991 certain funs have new image instance parameter.
9994 * gui.c (get_gui_callback):
9995 * gui.c (gui_item_add_keyval_pair):
9996 * gui.c (gui_item_init):
9997 * gui.c (gui_add_item_keywords_to_plist):
9998 * gui.c (mark_gui_item):
9999 * gui.c (gui_item_hash):
10000 * gui.c (gui_item_equal):
10001 * gui.c (copy_gui_item):
10002 * gui.c (syms_of_gui):
10003 recognize callback-ex in a number of places.
10004 also, fix the annoying "can't get out of yes-no dialog" bug.
10007 * gui.h (struct Lisp_Gui_Item):
10008 recognize callback-ex in a number of places.
10010 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10011 new parameter in button_item_to_widget_value.
10013 * glyphs-x.c (x_update_widget):
10014 * glyphs-x.c (x_button_instantiate):
10015 * glyphs-x.c (x_button_update):
10016 * glyphs-x.c (x_progress_gauge_instantiate):
10017 * glyphs-x.c (x_edit_field_instantiate):
10018 * glyphs-x.c (x_combo_box_instantiate):
10019 * glyphs-x.c (x_tab_control_instantiate):
10020 * glyphs-x.c (x_label_instantiate):
10021 new image instance parameter in various places.
10024 * event-Xt.c (enqueue_Xt_dispatch_event):
10025 this fun gets exported.
10028 * gui-msw.c (mswindows_handle_gui_wm_command):
10029 handle both :callback and :callback-ex, and generate our own
10030 event because it's one of the callback-ex arguments.
10033 * gui-x.c (popup_selection_callback):
10034 handle both :callback and :callback-ex, and generate our own
10035 event because it's one of the callback-ex arguments.
10036 * gui-x.c (button_item_to_widget_value):
10037 * gui-x.c (gui_items_to_widget_values_1):
10038 * gui-x.c (gui_item_children_to_widget_values):
10039 * gui-x.c (gui_items_to_widget_values):
10040 new image instance parameter in various places.
10042 * fns.c (Freplace_list):
10043 fix small typo in doc string.
10046 declare enqueue_Xt_dispatch_event.
10048 2000-04-28 Ben Wing <ben@xemacs.org>
10051 * buffer.c (Frecord_buffer):
10052 * buffer.c (syms_of_buffer):
10053 delete record-buffer-hook.
10056 * fns.c (Freplace_list):
10057 * fns.c (syms_of_fns):
10058 new primitive replace-list.
10061 slot for old buffer-alist.
10064 exfun replace-list.
10067 * redisplay.c (redisplay_frame):
10068 * redisplay.c (syms_of_redisplay):
10069 * redisplay.c (vars_of_redisplay):
10070 new hook buffer-list-changed-hook.
10073 2000-04-27 Ben Wing <ben@xemacs.org>
10075 * extents.h: extern in_modeline_generation.
10077 * redisplay.c (generate_formatted_string_db): set
10078 in_modeline_generation.
10080 * extents.c (extent_changed_for_redisplay): don't mark redisplay
10081 flags if in modeline generation. otherwise frame-modified-tick
10082 is ticked far too often.
10083 Declare in_modeline_generation.
10085 2000-04-26 Ben Wing <ben@xemacs.org>
10087 * emacs.c (vars_of_emacs): document quick-build "error-checking"
10089 (vars_of_emacs): add quick-build as an error-checking option.
10090 A bit kludgy, but there doesn't seem much point in creating
10091 a real var for this.
10093 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
10095 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
10097 * redisplay.h (struct display_line): Add a new variable,
10100 * redisplay.c (create_text_block): Set dl->line_continuation if
10101 the line continues.
10102 (create_string_text_block): Ditto.
10103 (regenerate_window_incrementally): Use line_continuation instead
10104 of searching continuation glyph.
10105 (add_margin_runes): Call add_glyph_rune.
10106 (add_glyph_rune): Handle margin glyph.
10108 2000-04-20 Martin Buchholz <martin@xemacs.org>
10110 * filelock.c (fill_in_lock_file_name):
10112 Check for IS_ANY_SEP instead of '/'.
10114 Avoid generating gratuitous garbage. Call user_login_name() directly.
10115 Never check errno without first seeing that system call failed.
10116 (unlock_file): Add GCPRO.
10117 (Flock_buffer): Fix docstring.
10118 (Ffile_locked_p): Fix docstring. Add GCPRO.
10120 2000-04-19 Martin Buchholz <martin@xemacs.org>
10122 * sysdep.c (get_pty_max_bytes):
10123 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
10124 strings longer than 252 bytes.
10126 * md5.c: Unconditionally include ANSI header <limits.h>
10128 * glyphs-x.c (convert_EImage_to_XImage):
10129 * lisp-union.h (union Lisp_Object):
10130 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
10132 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10134 * filelock.c (current_lock_owner): Remove unused variable o, p.
10136 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
10138 * callint.c: Remove multiply defined symbol Qlet
10139 (syms_of_callint): ditto.
10141 2000-04-14 Andy Piper <andy@xemacs.org>
10143 * general.c (syms_of_general): add last-command, this-command, let
10146 * lisp.h: declare various symbols.
10148 * glyphs.h: declare Qwidget_callback_current_channel;
10150 * glyphs-widget.c (syms_of_glyphs_widget): add
10151 Qgui_callback_current_channel.
10152 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
10154 * gui-msw.c (mswindows_handle_gui_wm_command): bind
10155 widget-callback-current-channel when invoking the interactive
10156 arg. Also bind last-command and next-command when invoking the
10158 * gui-x.c (popup_selection_callback): ditto.
10160 * gui.c (get_gui_callback): massage args so that we are always
10161 calling eval. This allows us to add our own variable bindings
10164 * glyphs-x.c (x_button_instantiate): use
10165 gui_items_to_widget_values since this is GC safe.
10166 (x_progress_gauge_instantiate): ditto.
10167 (x_edit_field_instantiate): ditto.
10168 (x_label_instantiate): ditto.
10170 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
10171 (emacs_Xt_event_widget_focus_out): new function
10172 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
10174 (emacs_Xt_event_add_widget_actions): new function. add focus
10175 functions as actions.
10176 (init_event_Xt_late): use it.
10178 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
10180 * event-stream.c (Fdispatch_event): Doc fix.
10182 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
10184 * postgresql.c: Remove all references to PQsetenv*.
10186 * postgresql.h: Remove references to PGsetenvHandler object.
10187 * lrecord.h (lrecord_type): Ditto.
10189 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10191 * glyphs-msw.h (struct mswindows_image_instance_data): Added
10192 real_heigh and real_width members, and accessor macros for these.
10194 * glyphs-msw.c (init_image_instance_geometry): New function.
10195 (init_image_instance_from_dibitmap): Use it.
10196 (mswindows_resource_instantiate): Use it.
10197 (init_image_instance_from_xbm_inline): Use it.
10198 (mswindows_initialize_image_instance_mask): Use real bitmap
10200 (mswindows_create_resized_bitmap): Ditto.
10201 (mswindows_create_resized_mask): Ditto.
10203 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
10204 and bitmap to their surface size.
10206 2000-04-11 Jan Vroonhof <jan@xemacs.org>
10208 * process-unix.c (unix_send_process): Guard against process MIA
10209 after Faccept_process_output.
10211 2000-04-11 Ben Wing <ben@xemacs.org>
10213 * eval.c (unbind_to_hairy): fix brokenness introduced by
10214 nanosecond speed improvements.
10216 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
10218 * sunplay.c (init_device): To play sounds correctly, the device
10219 apparently needs to be initialized at least once by XEmacs. Make
10222 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
10224 * redisplay.c (add_margin_runes): Add text image glyph
10227 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10229 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
10230 gcc is newer than 2.5.
10232 2000-04-06 Colin Rafferty <colin@xemacs.org>
10234 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
10236 * fns.c (size_bit_vector):
10237 * alloc.c (size_vector):
10238 (make_vector_internal):
10239 (make_bit_vector_internal):
10240 (sweep_bit_vectors_1):
10241 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
10243 2000-04-06 Andy Piper <andy@xemacs.org>
10245 * gmalloc.c (malloc): undo previous change.
10250 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
10252 * line-number.c (buffer_line_number): Revert to former version.
10254 2000-04-06 Andy Piper <andy@xemacs.org>
10256 * gmalloc.c (malloc): add error checking.
10261 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
10262 button_item_to_widget_value arg.
10264 * glyphs-x.c (x_button_instantiate): add extra
10265 button_item_to_widget_value arg.
10266 (x_progress_gauge_instantiate): ditto.
10267 (x_edit_field_instantiate): ditto.
10268 (x_label_instantiate): ditto.
10270 * gui-x.c (gui_items_to_widget_values_1): add extra
10271 button_item_to_widget_value arg.
10272 (button_item_to_widget_value): add extra menu_item_p arg.
10274 * gui-x.h: change signature of button_item_to_widget_value.
10276 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
10277 button_item_to_widget_value arg.
10279 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10281 * buffer.h (struct buffer): auto_save_modified should be long.
10283 2000-04-05 Andy Piper <andy@xemacs.org>
10285 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
10287 (button_query_geometry): give a little more room so that athena
10290 2000-04-05 Andy Piper <andy@xemacs.org>
10292 * faces.c (complex_vars_of_faces): The widget face should inherit
10293 the font of the gui-element face.
10295 2000-04-04 Andy Piper <andy@xemacs.org>
10297 * glyphs-x.c (x_button_update): new function. unconditionally
10298 update a button's state when the instance is dirty.
10299 (image_instantiator_format_create_glyphs_x): add x_button_update.
10300 (x_widget_instantiate): remove old resize cruft.
10302 2000-04-02 Andy Piper <andy@xemacs.org>
10304 * frame.c (change_frame_size_1): The introduction of gutters means
10305 that we need to allow 0 as a potential frame dimension.
10307 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
10309 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
10310 image glyph if allow_cursor.
10311 (add_hscroll_rune): Don't allow cursor to border glyph.
10312 (create_text_block): Ditto.
10314 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
10315 text not in buffer.
10316 (redisplay_output_layout): Call ensure_face_cachel_complete for
10320 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
10322 * redisplay.c (add_glyph_rune): Adding text image as text runes.
10324 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
10327 * redisplay-tty.c (tty_output_display_block): Delete the routine
10328 for text image glyph
10329 * redisplay-x.c (x_output_display_block): ditto
10330 * redisplay-msw.c (mswindows_output_display_block): ditto
10332 2000-02-02 Mike Alexander <mta@arbortext.com>
10334 Note: Some of these were committed by accident as part of other
10337 * regex.c (regex_compile): Avoid compiler warnings.
10339 * ntproc.c (sys_spawnve): Avoid compiler warnings.
10341 * nt.h: Declare term_ntproc correctly.
10343 * nt.c: Remove incorrect declaration of get_home_directory which
10344 is declared correctly in lisp.h.
10346 * keymap.c (get_keyelt): Avoid compiler warnings.
10347 (raw_lookup_key_mapper): Avoid compiler warnings.
10349 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
10351 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
10353 * filemode.c (mode_string): Avoid compiler warnings.
10355 * file-coding.c (Fcoding_system_aliasee): Add return statement to
10358 * events-mod.h: Undef some things that winuser.h defines differently.
10360 * data.c (Faset): Avoid compiler warnings.
10362 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
10364 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10366 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
10367 Fall through to simple beep on error.
10368 Replace "extern" by real header file.
10370 * linuxplay.c: Use nativesound.h
10371 (play_sound_data): Return error code. Be less verbose on error.
10373 * sunplay.c: Use nativesound.h
10374 (play_sound_data): Return error code. Be less verbose on error.
10376 * ntplay.c: Use nativesound.h
10377 (play_sound_data): Return fake error code
10379 * sgiplay.c: Use nativesound.h
10380 (play_sound_data): Return error code
10382 * hpplay.c: Use nativesound.h, partially implement
10383 new error code. Break compilation until finished.
10384 (play_sound_data): error code.
10386 * nativesound.h (play_sound_file):
10387 (play_sound_data): Prototype in new header.
10389 2000-03-31 Andy Piper <andy@xemacs.org>
10391 * glyphs-widget.c: (button_query_geometry): new function. Adjust
10392 for toggle and radio buttons.
10393 (image_instantiator_buttons): use it.
10395 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10397 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
10398 (x_update_horizontal_scrollbar_callback): Return if no mirror was
10399 found. Scrollbar event probably belonged to some old config.
10401 2000-03-31 Andy Piper <andy@xemacs.org>
10403 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
10405 (initialize_widget_image_instance): default layout to
10406 LAYOUT_HORIZONTAL rather than 0.
10407 (widget_instantiate): reverse the item list at the end rather than
10409 (layout_layout): re-code for the border text at the front of the
10410 item list rather than at the end.
10411 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
10412 provided by the user.
10413 (widget_query_geometry): comment.
10415 2000-03-30 Andy Piper <andy@xemacs.org>
10417 * glyphs-widget.c (image_instantiator_layout): allow standard
10418 widget keywords in layouts.
10420 * gutter.c (output_gutter): cope with nil gutter contents.
10422 * frame.c (Fset_frame_properties): add gutter docs.
10424 2000-03-29 Andy Piper <andy@xemacs.org>
10426 * toolbar-msw.c (TBSTYLE_FLAT): add.
10427 (mswindows_output_toolbar): minor fiddling.
10429 2000-03-29 Andy Piper <andy@xemacs.org>
10431 * gutter.c (output_gutter): force gutter size recalculation if
10432 what we are trying to display won't fit.
10433 (update_gutter_geometry): new function. A per-gutter version of
10434 update_frame_gutter_geometry.
10435 (update_frame_gutter_geometry): use it.
10436 (redraw_exposed_gutter): add extra debugging output.
10438 2000-03-28 Mike Alexander <mta@arbortext.com>
10440 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
10441 (pdump_file_unmap): Implement it on Windows
10442 (pdump_file_get): Save alocated handles for pdump_file_unmap
10444 2000-03-28 Andy Piper <andy@xemacs.org>
10446 * gui.c (get_gui_callback): treat Quit specially.
10448 2000-03-27 Andy Piper <andy@xemacs.org>
10450 * glyphs.c (image_instantiate): be careful to check in the same
10453 2000-03-27 Didier Verna <didier@xemacs.org>
10455 * config.h.in: define the proper SMART_INCLUDE macro.
10456 handle renaming of `foo_h_path' to `foo_h_file'.
10458 * database.c: ditto.
10462 * linuxplay.c: ditto.
10464 * terminfo.c: ditto.
10466 * tooltalk.h: ditto.
10468 2000-03-27 Andy Piper <andy@xemacs.org>
10470 * glyphs-msw.c (mswindows_update_widget): make sure the widget
10471 gets updated whenever the face might have changed.
10473 2000-03-26 Mike Alexander <mta@arbortext.com>
10475 * dumper.c (pdump_resource_free): Fix the comment.
10477 2000-03-21 Olivier Galibert <galibert@pobox.com>
10479 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
10481 2000-03-22 Mike Alexander <mta@arbortext.com>
10483 * dumper.c: Include Windows headers on Windows
10484 (pdump_resource_free): Add a body to the function
10485 (pdump_load): exe_name -> exe_path and add some comments.
10487 2000-03-25 Mike Alexander <mta@arbortext.com>
10489 * gui.c (copy_gui_item_tree): Return a value in all cases
10491 2000-03-21 Didier Verna <didier@xemacs.org>
10493 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
10495 (SMART_INCLUDE): new macro.
10496 (POSTGRES_INCLUDE): new macro to include postgresql headers from
10497 the proper location.
10499 * postgresql.c: use it.
10503 2000-03-24 Andy Piper <andy@xemacs.org>
10505 * gutter.c (redraw_exposed_gutters): must be "in display" when we
10508 2000-03-24 Andy Piper <andy@xemacs.org>
10510 * redisplay-output.c (compare_runes): use image_instance_changed
10511 to detect changes. Do not depend on glyphs_changed, only depend on
10513 (redisplay_output_layout): add debug messages.
10514 (compare_runes): ditto.
10516 * glyphs.h: declare new functions.
10517 (struct Lisp_Image_Instance): remove percent and associated
10520 * gui.h: declare new copying functions.
10522 * gui.c (copy_gui_item_tree): new function.
10523 (copy_gui_item): new function.
10524 (gui_item_id_hash): revert to standard hash.
10525 (gui_item_hash): ditto.
10526 (gui_item_hash_internal): deleted.
10527 (mark_gui_item): mark value.
10528 (gui_item_add_keyval_pair): add value.
10529 (gui_item_init): ditto.
10530 (gui_add_item_keywords_to_plist): ditto.
10531 (gui_item_equal): ditto.
10532 (syms_of_gui): add Q_value.
10534 * glyphs-x.c (x_progress_gauge_update): use pending items and
10535 value for setting the state.
10536 (x_update_widget): don't set items from pending here.
10538 * glyphs-widget.c (update_widget): update items here.
10539 (progress_gauge_set_property): use items for storing value. Put
10540 new value in pending items.
10542 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
10543 items for new value. Convert percent -> value.
10544 (mswindows_tab_control_update): don't update items here.
10546 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
10547 (update_subwindow): ditto.
10548 (image_instance_changed): new function. Compare hash values and
10549 past and present widget items.
10550 (image_instantiate): We more careful about where we instantiate
10552 (image_instantiate): add error checking.
10554 * gutter.c (syms_of_gutter): use -hook.
10556 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
10558 * console-tty.c (Fset_console_tty_input_coding_system): Use
10560 (Fset_console_tty_output_coding_system): Use Qterminal.
10561 (tty_init_console): Use Qkeyboard and Qterminal.
10563 2000-03-21 Ben Wing <ben@xemacs.org>
10565 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
10566 From Mike Alexander <mta@arbortext.com>.
10568 2000-03-21 Ben Wing <ben@xemacs.org>
10570 * event-msw.c (mswindows_need_event): Horrible kludge to fix
10571 process brokenness. Proper implementation to come.
10573 Rename call-process-internal to old-call-process-internal.
10574 New impl. in process.el.
10576 2000-03-21 Martin Buchholz <martin@xemacs.org>
10578 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
10580 2000-03-20 Andy Piper <andy@xemacs.org>
10582 * glyphs.c (full_list_hash): make hashes of the same elements in
10583 different orders return different values.
10585 2000-03-20 Martin Buchholz <martin@xemacs.org>
10587 * XEmacs 21.2.32 is released.
10589 2000-03-20 Martin Buchholz <martin@xemacs.org>
10591 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
10592 (DFC_MALLOC_USE_CONVERTED_DATA):
10593 Add aliasing-safe casts to allow use with char* or unsigned char*
10596 * eldap.c (Fldap_open):
10597 (Fldap_search_basic):
10600 Make C++-compilable.
10601 Make sure GCPRO'ed variables are initialized.
10602 Use temp variables to avoid repeated calls to Flength.
10604 2000-03-16 Martin Buchholz <martin@xemacs.org>
10607 Make sure PATH_MAX is always defined.
10608 Include limits.h for PATH_MAX.
10609 Deprecate use of MAXPATHLEN.
10611 2000-03-10 Martin Buchholz <martin@xemacs.org>
10613 * emacs.c: Add reinit_vars_of_fileio.
10614 * symsinit.h: Add reinit_vars_of_fileio.
10615 * fileio.c (reinit_vars_of_fileio): New.
10616 * fileio.c (Fmake_temp_name):
10617 Initialize temp_name random number from microseconds to make
10618 collisions even less likely. Initialize always at process startup
10619 time. (make-temp-name) used to return the same file name twice in
10621 Random stylistic fiddling.
10624 2000-03-20 Andy Piper <andy@xemacs.org>
10626 * glyphs.c (image_instantiate): allow text glyphs to be
10627 instantiated in the minibuffer window.
10629 2000-03-19 Andy Piper <andy@xemacs.org>
10631 * glyphs.c (image_instance_hash): be careful about which items we
10634 * glyphs-widget.c (tab_control_set_property): record into pending
10635 items rather than the actual items.
10637 * glyphs-x.c (x_update_widget): use pending items to update with.
10639 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10642 * glyphs.c (mark_image_instance): mark pending items.
10644 * window.c (Fset_window_configuration): record the buffer.
10645 (Fselect_window): totally revert previous change which breaks many
10648 2000-03-18 Andy Piper <andy@xemacs.org>
10650 * glyphs-msw.c (mswindows_tab_control_update): force selected
10653 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10654 window domain cache, otherwise we get inconsistencies at
10655 startup. There is something fishy at startup which can lead to the
10656 minibuffer being the selected window when the gutter content is
10659 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10661 (parse_gui_item_tree_children): ditto.
10662 (parse_gui_item_tree_item): ditto.
10664 * glyphs.c (Fupdate_widget_instances): return something.
10666 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10668 * window.c (Fselect_window): Undo 2000-03-17 change.
10670 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10672 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10673 against v7.0 libraries. Insta-coredump city until the postgres
10676 2000-03-17 Andy Piper <andy@xemacs.org>
10678 * faces.c (complex_vars_of_faces): don't give the widget face an
10679 inherited background pixmap.
10681 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10684 * event-stream.c (Fdispatch_non_command_events): return something.
10686 * gutter.c (output_gutter): use widget face.
10687 (clear_gutter): ditto.
10689 * NEWS: adjust again.
10691 * window.c (Fselect_window): make sure this runs to completion to
10692 avoid oddities with Fset_window_configuration.
10693 (Fcurrent_window_configuration): in general do not save the
10694 minibuffer as the selected window.
10696 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10698 2000-03-16 Olivier Galibert <galibert@pobox.com>
10700 * emacs.c (Frunning_temacs_p): Revert previous patch.
10701 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10703 2000-03-16 Andy Piper <andy@xemacs.org>
10705 * glyphs-x.c (x_tab_control_update): if no widget values then
10708 * NEWS: update for new features.
10710 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10711 synthetic event to the native system.
10712 (reinit_vars_of_event_Xt): set force_event_pending to
10713 emacs_Xt_force_event_pending.
10715 * events.h (struct event_stream): add force_event_pending.
10717 * specifier.c (recompute_one_cached_specifier_in_window): add
10720 * redisplay.c (redisplay_frame): don't call
10721 update_frame_subwindows. Reset subwindow cachels when
10722 subwindows_changed, removing this was an optimization too far.
10724 * redisplay-output.c (compare_runes): reorganize so that we catch
10725 glyph changes when we want them. Set optimize_output when this
10726 would help layouts.
10727 (redisplay_output_layout): remove frame_really_changed, use
10728 optimize_output instead.
10730 * redisplay-msw.c (mswindows_output_display_block): reset
10731 optimize_output after outputting a glyph.
10732 * redisplay-x.c (x_output_display_block): ditto.
10733 * redisplay-tty.c (tty_output_display_block): ditto.
10735 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10737 (gutter_specs_changed): do specific gutter positions.
10738 (top_gutter_specs_changed): new function. Only update the
10739 specified gutter specs.
10740 (bottom_gutter_specs_changed): ditto.
10741 (left_gutter_specs_changed): ditto.
10742 (right_gutter_specs_changed): ditto.
10744 * gui.c (gui_item_hash_internal): new function, does a real hash.
10745 (gui_item_id_hash): use it.
10746 (gui_item_hash): hash the eval'ed gui_item.
10748 * gui-x.c (popup_selection_callback): send an eval event to call
10749 Fupdate_widget_instances.
10751 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10752 to call Fupdate_widget_instances.
10754 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10755 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10757 * glyphs.c: (update_frame_subwindows): deleted.
10758 (Fupdate_widget_instances): new function for updating the dirty
10759 state of widgets that might have changed.
10760 (syms_of_glyphs): add Qupdate_widget_instances.
10761 (full_list_hash): hash a list completely.
10762 (image_instance_hash): use it for items and properties.
10764 * frame-msw.c (mswindows_size_frame_internal): remove unused
10767 * faces.h (struct face_cachel): fix comment.
10769 * event-stream.c (Fdispatch_non_command_events): new
10770 function. Process non-command events, forcing an event cycle
10772 (syms_of_event_stream): declare.
10773 (event_stream_force_event_pending): new function. Force an event
10774 on the native event queue so that an event cycle will occur next
10778 (struct ntpipe_shove_stream):
10779 (mswindows_enqueue_dispatch_event):
10780 (mswindows_dequeue_dispatch_event):
10781 (mswindows_cancel_dispatch_event):
10782 (mswindows_pump_outstanding_events):
10783 (mswindows_drain_windows_queue):
10784 (mswindows_handle_paint):
10785 (mswindows_wnd_proc):
10786 (mswindows_key_to_emacs_keysym):
10787 (get_process_input_waitable):
10788 (emacs_mswindows_delete_stream_pair): re-indent file.
10789 (mswindows_need_event): do not process further fds if the windows
10790 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10791 fixes the 100% cpu problem.
10792 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10794 2000-03-15 Olivier Galibert <galibert@pobox.com>
10800 * emacs.c: Moved dump file searching to dumper.c.
10801 (Frunning_temacs_p): Fixed.
10803 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10804 last_lrecord_type_index_assigned.
10806 2000-02-20 Olivier Galibert <galibert@pobox.com>
10808 * symsinit.h: Added reinit parameter to init_console_stream
10811 * lisp.h: Added file parameter to pdump_load declaration.
10813 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10814 support. Added dump file searching.
10816 * config.h.in: Added EMACS_PROGNAME.
10818 * console-stream.c (init_console_stream): Fix reinitialisation
10819 when running from temacs.
10821 * alloc.c (pdump): Add id support.
10822 (pdump_load): Add file parameter and signature/id support.
10824 * Makefile.in.in: Add full pdump support.
10826 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10828 * postgresql.c: Update documentation to reflect latest code
10830 (print_result): Show tuple counts in printed representation when
10832 (Fpq_put_nbytes): MULE-ize.
10833 (Fpq_get_line_async): Ditto.
10835 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10837 * postgresql.c (Fpq_lo_import): Fix return value.
10838 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10840 2000-03-13 Ben Wing <ben@xemacs.org>
10842 * alloc.c (pdump_load):
10843 Fix compile warning under mswin.
10845 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10847 * postgresql.c: Mule-ization, bug fixes.
10848 Use PG_CODING to encapsulate coding system name changes.
10849 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10850 (pg-coding-system): Create.
10852 (Fpq_conn_defaults): Mule-ize.
10853 (Fpq_connectdb): Mule-ize & bug fix.
10854 (Fpq_connect_start): Mule-ize.
10855 (Fpq_set_client_encoding): Mule-ize.
10856 (Fpq_finish): Document `DEAD' connection status.
10857 (Fpq_clear): Ditto.
10858 (Fpq_pgconn): Mule-ize.
10859 (Fpq_exec): Mule-ize & bug fix.
10860 (Fpq_send_query): Ditto.
10861 (Fpq_get_result): Ditto.
10862 (Fpq_res_status): Mule-ize.
10863 (Fpq_result_error_message): Mule-ize.
10864 (Fpq_ntuples): fix comments.
10865 (Fpq_fname): Mule-ize.
10866 (Fpq_fnumber): Mule-ize.
10867 (Fpq_ftype): fix comments.
10868 (Fpq_get_value): Mule-ize.
10869 (Fpq_cmd_status): Ditto.
10870 (Fpq_cmd_tuples): Ditto.
10871 (Fpq_oid_value): Ditto.
10872 (Fpq_notifies): Ditto.
10873 (Fpq_lo_import): Ditto.
10874 (Fpq_lo_export): Ditto.
10875 (Fpq_get_line): Ditto.
10876 (Fpq_put_line): Mule-ize and bug fix.
10877 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10879 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10881 * postgresql.c (vars_of_postgresql): Mule-ize.
10882 (Fpq_conn_defaults): Ditto.
10884 2000-03-12 Ben Wing <ben@xemacs.org>
10886 * alloc.c (Fmake_byte_code):
10887 * alloc.c (debug_string_purity_print):
10888 * alloc.c (pdump_backtrace):
10889 * alloc.c (pdump_get_indirect_count):
10890 * alloc.c (pdump_register_sub):
10891 * alloc.c (pdump_register_object):
10892 * alloc.c (pdump_register_struct):
10893 * alloc.c (pdump_dump_data):
10894 * alloc.c (pdump_reloc_one):
10898 * console-msw.c (GetConsoleHwnd):
10899 * console-msw.c (msw_hide_console):
10900 * console-msw.c (msw_show_console):
10901 * console-msw.c (msw_ensure_console_buffered):
10902 * console-msw.c (msw_output_console_string):
10903 * console-msw.c (console_type_create_mswindows):
10905 a) Added functions to manipulate the console window for use with
10908 b) Added support for writing text to the console, which is now
10909 used under Windows when xemacs is not being run non-interactively,
10910 to write text that would otherwise be destined for stdout because
10911 under these circumstances, text written to stdout tends to
10912 disappear and not be seen.
10916 * event-Xt.c (x_event_to_emacs_event):
10917 * event-Xt.c (describe_event_window):
10918 * events-mod.h (XEMACS_MOD_CONTROL):
10920 * events.c (Fmake_event):
10921 * events.c (character_to_event):
10922 * events.c (event_to_character):
10923 * events.c (format_event_object):
10924 * events.c (Fevent_modifiers):
10926 * events.h (struct key_data):
10927 * events.h (struct button_data):
10928 * events.h (struct misc_user_data):
10929 * frame-x.c (Fcde_start_drag_internal):
10930 * frame-x.c (Foffix_start_drag_internal):
10931 * gpmevent.c (Freceive_gpm_event):
10933 * keymap.c (bucky_sym_to_bucky_bit):
10934 * keymap.c (control_meta_superify):
10935 * keymap.c (make_key_description):
10936 * keymap.c (keymap_lookup_directly):
10937 * keymap.c (create_bucky_submap):
10938 * keymap.c (keymap_store):
10939 * keymap.c (define_key_check_and_coerce_keysym):
10940 * keymap.c (define_key_parser):
10941 * keymap.c (define_key_alternate_name):
10942 * keymap.c (Fdefine_key):
10943 * keymap.c (raw_lookup_key_mapper):
10944 * keymap.c (struct map_keymap_unsorted_closure):
10945 * keymap.c (map_keymap_unsorted_mapper):
10946 * keymap.c (map_keymap_sort_predicate):
10947 * keymap.c (map_keymap_sorted):
10948 * keymap.c (accessible_keymaps_mapper_1):
10949 * keymap.c (where_is_recursive_mapper):
10950 * keymap.c (describe_map_mapper):
10951 * keymap.c (describe_map_sort_predicate):
10952 * keymap.c (describe_map):
10953 * keymap.c (complex_vars_of_keymap):
10954 And a number of other files, the key modifier preprocessor
10955 constants that xemacs uses have names that conflict with constants
10956 defined under MS Windows for other purposes, so they were renamed
10957 to begin with the prefix XEMACS_. The variables that hold such
10958 modifiers were changed to consistently be of type int to fix
10959 various compile warnings.
10961 * console.c (complex_vars_of_console):
10964 * device-msw.c (mswindows_finish_init_device):
10965 * device-msw.c (msw_get_workspace_coords):
10966 * device-msw.c (mswindows_device_system_metrics):
10967 and various other files, added support for a new
10968 device property called offset-workspace which returns the position
10969 of the upper left corner of the workspace area and goes along with
10970 the existing size-workspace property.
10973 * dialog-msw.c (push_bufbyte_string_as_unicode):
10974 * dialog-msw.c (mswindows_popup_dialog_box):
10975 Added support for XEmacs-style accelerator specifications in
10976 button text. Note: I didn't add support for this under X Windows,
10977 and somebody needs to do this.
10980 * dialog.c (Fpopup_dialog_box):
10981 Documented the support for accelerators that was just mentioned.
10983 editfns.c (get_home_directory): Changed behavior under Windows
10984 when HOME not defined; former behavior was irretrievably broken.
10987 * emacs.c (main_1):
10989 * minibuf.c (clear_echo_area_internal):
10990 * minibuf.c (echo_area_append):
10992 * print.c (std_handle_out_external):
10993 * print.c (std_handle_out_va):
10995 * print.c (write_string_to_stdio_stream):
10996 * print.c (output_string):
10997 * print.c (debug_print):
10998 * print.c (debug_backtrace):
10999 * print.c (debug_short_backtrace):
11000 Cleaned up the code that prints text to stdout so that this can be
11001 changed to output into a console window instead under MS Windows,
11002 as described above.
11005 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
11006 * eval.c (internal_catch):
11007 * eval.c (unwind_to_catch):
11008 * eval.c (throw_or_bomb_out):
11009 * eval.c (condition_case_1):
11010 * eval.c (signal_1):
11011 * eval.c (check_error_state_sanity):
11012 * eval.c (call_with_suspended_errors_1):
11013 * eval.c (call_with_suspended_errors):
11014 * eval.c (reinit_vars_of_eval):
11015 Added code to catch throw loops and check for a pesky bug that may
11019 * event-msw.c (key_needs_default_processing_p):
11020 * event-msw.c (mswindows_wnd_proc):
11021 * event-msw.c (mswindows_modifier_state):
11022 * event-msw.c (emacs_mswindows_quit_p):
11023 * event-msw.c (vars_of_event_mswindows):
11024 a) Added support for using the alt key to select menu items as is
11025 standard under MS Windows. This is controlled using the variable
11026 menu-accelerator-enabled, just like under X Windows. There is an
11027 option on the options menu to turn this support on. I really
11028 think that it should be on by default under Windows, but I'm not
11029 going to make this change yet.
11031 b) Added support for dynamic display size changes under Windows.
11034 * event-stream.c (maybe_echo_keys):
11035 * event-stream.c (Fnext_event):
11036 * event-stream.c (command_builder_find_leaf):
11037 * event-stream.c (lookup_command_event):
11038 * event-stream.c (execute_command_event):
11039 * event-stream.c (pre_command_hook):
11040 * event-stream.c (post_command_hook):
11041 * event-stream.c (syms_of_event_stream):
11042 * event-stream.c (vars_of_event_stream):
11043 * event-stream.c (complex_vars_of_event_stream):
11044 * events.h (struct command_builder):
11046 a) Tried to clean up a little bit the horribly written x-specific
11047 accelerator code that crept into this file. I moved this code
11048 into menubar-x.c where it belongs. I also needed to move the
11049 command builder structure into the file events.h because it is
11050 accessed directly by this accelerator code. What I didn't do, but
11051 which should be done at some point, is to properly abstract this
11052 code using device methods instead of the kludgy way that it
11053 currently hooks into the event code.
11055 b) Added the lisp variables this-command-properties and
11056 last-command- properties, which should be used to synchronize two
11057 adjacent commands in preference to playing games with the variable
11058 this-command, which is typically what happens.
11060 c) Added some slightly nasty code to hook into the lisp support
11061 for shifted- motion-key selection. This is actually necessary for
11062 somewhat complicated reasons, which are described in
11063 simple.el. (NB: I think the proper thing would be to have the code
11064 that calls the pre and post command hooks also call out to generic
11065 lisp functions in simple.el, where all built-in stuff could be
11066 added. I will think about this more.)
11068 * event-unixoid.c (poll_fds_for_input):
11069 * lread.c (readchar):
11070 * redisplay-tty.c (tty_clear_frame):
11071 * redisplay-x.c (x_get_gc):
11072 * signal.c (interrupt_signal):
11073 And a whole bunch of other files: fixed up places that printed
11074 directly to stderr to instead call the function stderr_out so that
11075 the changes I made under Windows work correctly.
11077 * filemode.c (mode_string):
11081 * frame-msw.c (mswindows_size_frame_internal):
11082 Fixed the computation of frame size and position to keep the frame
11083 within the workspace area, rather than within the physical
11084 dimensions of the screen, so that the frame doesn't overlap window
11085 manager decorations, such as the start menu and toolbar, typically
11086 at the bottom of the screen.
11088 * frame.c (vars_of_frame):
11089 Changed the default frame title format under MS Windows to consist
11090 of buffername-XEmacs, which is standard under MS Windows. I think
11091 it might be a good idea to change this everywhere because I think
11092 it is superior to the current frame title format, but this is the
11093 kind of change that is likely to cause some people to get annoyed,
11094 so I'm not making it.
11096 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
11098 * gui-msw.c (mswindows_handle_gui_wm_command):
11099 Fixed compile warnings.
11102 * gui-x.c (strdup_and_add_accel):
11103 * gui-x.c (button_item_to_widget_value):
11105 Added code to automatically put an accelerator onto the beginning
11106 of menu items that don't have one as is now the standard, and is
11107 described more later. Also fixed things so that the menu item
11108 name can be an evaluated expression, again a new standard.
11111 * gui.c (gui_item_add_keyval_pair):
11112 * gui.c (make_gui_item_from_keywords_internal):
11113 * gui.c (gui_add_item_keywords_to_plist):
11114 * gui.c (gui_item_accelerator):
11115 * gui.c (gui_name_accelerator):
11116 * gui.c (gui_item_included_p):
11117 * gui.c (gui_item_display_flush_left):
11118 * gui.c (gui_item_display_flush_right):
11119 * gui.c (parse_gui_item_tree_item):
11120 * gui.c (parse_gui_item_tree_children):
11121 * gui.c (parse_gui_item_tree_list):
11122 Mule-ized. Cleanup. GCPRO addition.
11124 * line-number.c (buffer_line_number):
11126 * lisp.h (EMACS_INT_MAX):
11127 Added the manifest constant EMACS_INT_MIN corresponding to the
11128 existing constant EMACS_INT_MAX. This is partially to fix compile
11129 warnings under Windows, and partly for cleanliness.
11132 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
11133 * menubar-msw.c (msw_translate_menu_or_dialog_item):
11134 * menubar-msw.c (displayable_menu_item):
11135 * menubar-msw.c (populate_menu_add_item):
11136 * menubar-msw.c (populate_or_checksum_helper):
11137 * menubar-msw.c (populate_menu):
11138 * menubar-msw.c (update_frame_menubar_maybe):
11139 * menubar-msw.c (prune_menubar):
11140 * menubar-msw.c (msw_char_is_accelerator):
11141 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
11142 * menubar-msw.c (mswindows_handle_wm_command):
11143 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
11144 * menubar-msw.c (mswindows_handle_wm_initmenu):
11145 * menubar-msw.c (mswindows_update_frame_menubars):
11146 * menubar-msw.c (mswindows_free_frame_menubars):
11147 * menubar-msw.c (mswindows_popup_menu):
11148 Fixed a bug in handling accelerators where an extra character
11149 would be displayed in the menu item. Also generalized the
11150 function displayable_menu_item because it is now used by the
11151 dialog box code as well. And finally, added code in the functions
11152 that create the menubar to extract a list of accelerators for the
11153 top level menubar, which is used in the event code to determine
11154 whether a particular alt-key combination should be used to invoke
11155 a menu item, or should be passed through to access the standard
11156 XEmacs keymap binding for this key combination.
11158 Much needed GCPROing.
11161 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11162 * menubar-x.c (menu_item_descriptor_to_widget_value):
11163 * menubar-x.c (restore_in_menu_callback):
11164 * menubar-x.c (x_popup_menu):
11165 * menubar-x.c (menu_move_up):
11166 * menubar-x.c (menu_move_down):
11167 * menubar-x.c (menu_move_left):
11168 * menubar-x.c (menu_move_right):
11169 * menubar-x.c (menu_select_item):
11170 * menubar-x.c (command_builder_operate_menu_accelerator):
11171 * menubar-x.c (menu_accelerator_junk_on_error):
11172 * menubar-x.c (command_builder_find_menu_accelerator):
11173 * menubar-x.c (Faccelerate_menu):
11175 Moved a whole bunch of code here that was previously in
11176 event-stream.c as described above. There is also code connected
11177 to the new standard of adding an accelerator to the beginning of
11178 menu items that don't have one as described above and below.
11181 * menubar.c (menu_parse_submenu_keywords):
11182 * menubar.c (Fmenu_find_real_submenu):
11183 * menubar.c (Fnormalize_menu_item_name):
11184 * menubar.c (syms_of_menubar):
11185 * menubar.c (vars_of_menubar):
11186 * menubar.c (complex_vars_of_menubar):
11188 a) Cleaned up a bunch of documentation and improved it.
11190 b) XEmacs now automatically adds an accelerator onto the beginning
11191 of any menu items that don't have one. I did this because there
11192 will inevitably be some menu items on the main menubar that don't
11193 have accelerators on them because the package that adds that
11194 particular menu item hasn't yet been fixed up to have accelerators
11195 in them and it looked rather strange to have some items with and
11196 some items without accelerators, especially since even in items
11197 without accelerators, you can, at least under windows, still
11198 access the item through an accelerator corresponding to the first
11199 character in the item's name. If people don't like this behavior,
11200 I can add a variable to turn it off optionally, but I'm not sure
11201 this is a good idea because we really do need to have accelerators
11202 on all of the menu items, and if a package doesn't like the
11203 accelerators being put on the first character, then it should put
11204 the accelerators where they belong.
11206 c) I made a behavior change, which is that the descriptor that
11207 specifies the text of the menu item, which formerly was just a
11208 string, can now also be an evaluated expression. This makes this
11209 descriptor parallel with all of the others, which could also be
11210 evaluated expressions. This also obviates the need for the
11211 keyword :label, which was previously listed in the documentation
11212 as unimplemented, and which was for the same purpose.
11217 * ntproc.c (new_child):
11218 * ntproc.c (sys_spawnve):
11219 * ntproc.c (find_child_console):
11220 * ntproc.c (sys_kill):
11221 Fixed compile warnings. By the way, this file should really go
11222 away entirely, and this will happen as soon as Kirill makes his
11223 final round of process cleanups, which affect the function
11227 * process-nt.c (struct nt_process_data):
11228 * process-nt.c (find_process_from_pid):
11229 * process-nt.c (send_signal_the_nt_way):
11230 * process-nt.c (enable_child_signals):
11231 * process-nt.c (find_child_console):
11232 * process-nt.c (send_signal_the_95_way):
11233 * process-nt.c (nt_finalize_process_data):
11234 * process-nt.c (ensure_console_window_exists):
11235 * process-nt.c (nt_create_process):
11236 * process-nt.c (nt_kill_child_process):
11237 * process-nt.c (nt_kill_process_by_pid):
11238 * process-nt.c (nt_open_network_stream):
11239 * process-nt.c (vars_of_process_nt):
11240 Copied over code from Emacs 20.5 to correctly send signals to sub-
11241 processes under Windows 95. Also added code to automatically
11242 create and hide console window when a sub-process is created under
11243 Windows 95, which obviates the need for the separate runemacs.exe
11244 executable, and finally implemented some variables that were
11245 implemented in Emacs 20.5, but previously not in XEmacs. These
11246 include mswindows- start-process-share-console and
11247 mswindows-start-process-inherit-error-mode. (Both of these only
11248 apply to Windows 95.)
11250 * regex.c (regex_compile): Fixed a compile warning.
11253 * select-msw.c (mswindows_own_selection):
11254 * select-msw.c (mswindows_get_foreign_selection):
11255 * select-msw.c (mswindows_disown_selection):
11256 * select-msw.c (console_type_create_select_mswindows):
11257 * select-msw.c (syms_of_select_mswindows):
11258 Cleaned up the file and implemented the device method
11259 selection_exists_p, which had accidentally been left out. Also
11260 removed four lisp functions that were remnants from before the
11261 time when the selection code was properly device abstracted.
11262 These functions are no longer needed because there are generic
11263 equivalents, and because they were added recently and don't exist
11264 in FSF Emacs, I don't think there's any problem with just deleting
11268 * sysdep.c (sys_subshell):
11269 Fixed a compile warning, although in this case there's probably
11270 something wrong with this code, and it ought to be looked into
11271 more thoroughly by somebody who understands it.
11274 * window.c (Fwindow_text_area_height):
11275 * window.c (Fwindow_width):
11276 * window.c (Fwindow_full_width):
11277 * window.c (Fwindow_pixel_width):
11278 * window.c (debug_print_window):
11279 * window.c (syms_of_window):
11280 Added functions window-text-area-height and window-full-width,
11281 which are functions for returning various width and height
11282 characteristics of a window. (One of these functions is necessary
11283 for making the file dialog box work correctly, and the other one
11284 was added for completeness.) Also added a table to the
11285 documentation for window-height which describes the entire scheme
11286 for accessing width and height characteristics of a window.
11288 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11290 * nt.c (fstat): Added a comment for another problem with
11291 non-encapsulated [f]stat(), reported by Adrian Aichner
11292 <aichner@ecf.teradyne.com>.
11294 2000-03-11 Andy Piper <andy@xemacs.org>
11296 * window.c (make_dummy_parent): initialize subwindow instance
11298 (Fset_window_configuration): zero extent_modiff.
11300 2000-03-10 Andy Piper <andy@xemacs.org>
11302 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
11303 more changes can be triggered.
11304 (Fredisplay_frame): ditto.
11305 (Fredraw_device): ditto.
11306 (Fredisplay_device): ditto.
11307 (redisplay_frame): make non-static.
11308 (redisplay_frame): call update_frame_gutter_geometry outside of
11311 * gutter.h: declare update_frame_gutter_geometry.
11313 * redisplay.h: declare redisplay_frame.
11315 * gutter.c (update_frame_gutter_geometry): move geometry changes
11316 in update_frame_gutters here. Geometry changes can only occur
11317 outside of redisplay.
11318 (update_frame_gutters): remove geometry change code.
11319 (Fredisplay_gutter_area): make sure that we are in display when we
11320 update and that we have flushed any size changes.
11322 2000-03-11 Andy Piper <andy@xemacs.org>
11324 * alloc.c (pdump_dump_data): remove i & count shadows.
11326 2000-02-27 Mike Alexander <mta@arbortext.com>
11328 * sysdep.h: Declare pdump_read_file
11330 * sysdep.c (pdump_read_file): New function
11332 * alloc.c (pdump_load): Call pdump_read_file to get the portable
11335 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
11337 * lrecord.h: add `lrecord_type_pgsetenv'.
11339 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
11341 * symsinit.h: declare (vars|syms)_of* functions.
11342 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
11344 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
11346 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
11348 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
11351 * emacs.c (main_1): Call postgres initialization code.
11353 * postgresql.h: New file. PostgreSQL RDBMS support.
11354 * postgresql.c: New file.
11356 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11358 * redisplay-output.c (redisplay_output_display_block): Disable
11361 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11363 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
11364 (Fcanna_henkan_next): Ditto.
11365 (Fcanna_bunsetu_henkou): Ditto.
11366 (Fcanna_henkan_kakutei): Ditto.
11367 (Fcanna_henkan_end): Ditto.
11368 (Fcanna_henkan_quit): Ditto.
11369 (Fcanna_henkan_next): Set retun value correctly.
11370 (c2mu): Use unsigned char instead of signed char.
11372 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11374 * emacs.c (main_1): Always call syms_of_gui.
11375 * inline.c: include gui.h
11377 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11379 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
11380 converted to Lisp_Object.
11381 (Qtop_bottom): New variable.
11382 (syms_of_redisplay): Initialize it.
11383 * redisplay.h (Vvisible_bell): Ditto.
11384 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
11385 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
11386 only flash top and bottom.
11388 2000-03-08 Andy Piper <andy@xemacs.org>
11390 * buffer.c (Frename_buffer): record new buffer name the right way.
11392 2000-03-08 Andy Piper <andy@xemacs.org>
11394 * glyphs.c (update_subwindow): increase hash depth so that widget
11395 items get picked up properly.
11397 * redisplay-output.c (compare_runes): increase hash depth so that
11398 widget items get picked up properly.
11400 2000-03-08 Andy Piper <andy@xemacs.org>
11402 * gutter.c (output_gutter): add some debug.
11404 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
11405 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
11406 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
11408 * redisplay-output.c (compare_runes): use display_hash to
11409 determine if glyphs really are not the same.
11411 * glyphs.c (update_subwindow): check display_hash to see if
11412 anything really needs to be updated. If not then do
11413 nothing. Record the display_hash after updating.
11414 (image_instance_equal): compare the image_instance face also.
11416 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
11418 * redisplay.h: Fix comment style.
11420 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
11422 * consle-msw.h (struct mswindows_frame):
11423 Added new member paint_pending to indicate whether a WM_PAINT
11424 magic event has been queued for this frame.
11426 * event-msw.c (mswindows_drain_windows_queue):
11427 Don't queue a WM_PAINT magic event if one is already queued.
11428 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
11430 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
11432 2000-03-07 Didier Verna <didier@xemacs.org>
11434 * dired.c: #include `regex.h' after `sysfile.h'.
11436 2000-03-06 Martin Buchholz <martin@xemacs.org>
11438 * sound.c (init_nas_sound): Fix compiler warning.
11440 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
11442 (MARK_STRUCT_AS_FREE):
11443 (MARK_STRUCT_AS_NOT_FREE):
11444 Make `gcc -fstrict-aliasing' work properly.
11446 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
11448 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
11449 (mswindows_delete_device): Call CoUnnitialize().
11451 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
11453 2000-02-25 <CraigL@DyCon.com>
11455 * process-nt.c: MinGW now has <shellapi.h>, but still needs
11458 * sysdep.c: This extern declaration for environ prevents MinGW
11459 from finding the variable in CRTDLL.DLL.
11461 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
11463 (SHGFI_EXETYPE): ..
11464 (WM_MOUSEWHEEL): ..
11465 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
11467 (MMRESULT): Removed, now defined in cygwin's windows headers.
11469 (uid_t,gid_t,pid_t,ssize_t): ..
11470 (_timeb): Removed, MinGW defines both _timeb and timeb.
11471 (HAVE_H_ERRNO): Added.
11472 (HAVE_TZNAME): Added, configure is not detecting this.
11474 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
11476 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
11477 * syntax.c (syntax_match): Use it.
11479 * cmds.c: Import auto-fill-chars from FSF Emacs.
11480 (Vauto_fill_chars): New variables.
11481 (internal_self_insert): Check Vauto_fill_chars.
11483 Declare auto-fill-chars as a Lisp variable and initialize it.
11485 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11487 * fileio.c (Fmake_symbolic_link):
11489 Run handlers even if local machine doesn't have symlinks.
11491 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11493 * event-msw.c (mswindows_drain_windows_queue):
11494 Don't generate paint magic events for non-XEmacs frames.
11496 2000-03-05 Andy Piper <andy@xemacs.org>
11498 * redisplay.c (redisplay_frame): generate_displayable_area and
11499 friends assumes that we are not in GC, we therefore have to make
11500 sure that this doesn't happen.
11502 * gutter.c (calculate_gutter_size): generate_displayable_area
11503 assumes that we are not in GC, we therefore have to make sure that
11504 this doesn't happen.
11506 2000-03-05 Martin Buchholz <martin@xemacs.org>
11508 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
11510 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
11512 * redisplay.c (regenerate_window): Make sure we set a sane value
11513 for end_pos even if we jump out of the loop.
11514 (regenerate_window): Answer Ben's question :-).
11515 (start_end_of_last_line): Add may_error argument.
11516 (start_of_last_line):
11517 (end_of_last_line): Pass may_error = 0.
11518 (end_of_last_line_may_error): New function.
11519 (pixel_to_glyph_translation): Use it, so we don't crash in
11522 2000-03-04 Andy Piper <andy@xemacs.org>
11524 * window.h (struct window): add gutter_extent_modiff.
11526 * window.c (allocate_window): zero out gutter_extent_modiff.
11528 * redisplay.h: declare sync_display_line_structs.
11530 * redisplay.c (add_glyph_rune): add a better comment.
11532 * redisplay-output.c (sync_display_line_structs): made non-static.
11533 (compare_runes): remove unneccesary glyph cachel access.
11535 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
11537 * gutter.c (output_gutter): don't output the gutter if extent
11538 changes only involve extents in buffers. use 4 sets of display
11540 (gutter_extent_signal_changed_region_maybe): new function. Mark
11541 extents in gutters as changed.
11542 (update_frame_gutters): use 4 sets of display lines.
11543 (reset_gutter_display_lines): ditto.
11544 (free_frame_gutters): ditto.
11545 (redraw_exposed_gutter): force output of gutters.
11547 * frame.h (struct frame): add 4 sets of gutter display lines.
11549 * extents.c: (extent_changed_for_redisplay): signal changes to
11550 extents in strings in the gutter as well as extents in buffers.
11552 2000-03-02 Andy Piper <andy@xemacs.org>
11554 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
11556 * frame.c (Fmake_frame): make sure the gutters get initialized
11557 after the frame is visible.
11558 (set_frame_selected_window): re-arrange compilation macros a
11560 (change_frame_size_1): mark gutters changed.
11562 * device.c (Fset_device_class): mark gutters changed.
11564 2000-03-01 Andy Piper <andy@xemacs.org>
11566 * window.c (window_top_frame_gutter_height): deleted.
11567 (window_bottom_frame_gutter_height): ditto.
11568 (window_left_frame_gutter_height): ditto.
11569 (window_right_frame_gutter_height): ditto.
11570 (window_top_gutter_height): don't use them.
11571 (window_bottom_gutter_height): ditto.
11572 (window_left_gutter_width): ditto.
11573 (window_right_gutter_width): ditto.
11574 (Fsplit_window): ditto.
11575 (Fwindow_pixel_edges): don't use border dimensions here.
11577 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
11578 (update_scrollbar_instance): ditto.
11580 * redisplay.c (generate_modeline): don't take gutters into account.
11581 (generate_modeline): ditto.
11582 (redisplay_frame): small gutter display optimization.
11584 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
11586 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
11587 gutters into account.
11589 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
11590 for window position and type.
11592 * gutter.c (get_gutter_coords): fix for frame gutters.
11593 (update_frame_gutters): update frame geometry if the gutters have
11595 (init_frame_gutters): record current gutter geometries.
11597 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
11599 (mswindows_widget_instantiate): ditto.
11601 * frame.h (struct frame): add current_gutter_bounds.
11603 * frame.c (change_frame_size_1): position window and minibuffer
11604 appropriately taking into account the frame gutters.
11606 * frame-x.c: (x_initialize_frame_size): take into account the
11609 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11611 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11613 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11615 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11617 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11619 * file-coding.c (reset_decoding_stream): Clear previous
11620 detection state when autodetect.
11622 2000-02-29 Didier Verna <didier@xemacs.org>
11624 * extents.c (set_extent_glyph_1): don't require extents to be
11627 2000-02-27 Andy Piper <andy@xemacs.org>
11629 * gutter.c (Fset_default_gutter_position): don't default left and
11630 right gutter visibility to t.
11631 (Fset_default_gutter_position): run
11632 default-gutter-position-changed-hook.
11633 (syms_of_gutter): add default-gutter-position-changed-hook.
11635 2000-02-26 Andy Piper <andy@xemacs.org>
11637 * specifier.c (Fmake_specifier): add gutter references.
11639 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11641 * lisp.h: declare Fvalid_plist_p.
11643 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11645 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11646 well as its visibility so that it gets reconstructed.
11647 (construct_window_gutter_spec): new function. Construct a string
11648 to be displayed in the gutter from a plist of strings. Take care
11649 to only use elements that are declared as visible.
11650 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11652 (gutter_validate): allow plists of strings in the specifier.
11653 (gutter_specs_changed): construct the real_gutter from the gutter
11654 specs using construct_window_gutter_spec.
11655 (gutter_visible_validate): gutter-visible is a new specifier type.
11656 (Fgutter_visible_specifier_p): new function for the new specifier.
11657 (syms_of_gutter): declare gutter-visible and
11658 Fgutter_visible_specifier_p.
11659 (specifier_type_create_gutter): intitalize new gutter-visible
11661 (reinit_specifier_type_create_gutter): ditto.
11662 (specifier_vars_of_gutter): use new specifier type for gutter
11664 (init_frame_gutters): construct real_gutter correctly.
11665 (Fgutter_specifier_p): beef up documentation.
11666 (Fgutter_size_specifier_p): ditto.
11668 * winslots.h: add real_gutter slots.
11670 2000-02-25 Andy Piper <andy@xemacs.org>
11672 * device-msw.c: Be kind to older cygwin versions. From Raymond
11673 Toy <toy@rtp.ericsson.se>.
11675 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11676 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11678 2000-02-25 Martin Buchholz <martin@xemacs.org>
11680 * elhash.c (MARK_OBJ): Practice macro hygiene.
11682 2000-02-24 Martin Buchholz <martin@xemacs.org>
11684 * miscplay.c: s/__inline__/inline/g;
11685 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11686 (get_device_compdc): INLINE ==> static inline
11687 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11688 find -name '*.h' | \
11689 xargs global-replace \
11690 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11692 2000-02-25 Andy Piper <andy@xemacs.org>
11694 * window.c (window_top_frame_gutter_height): new function.
11695 (window_top_window_gutter_height): ditto.
11696 (window_top_gutter_height): use them.
11697 (window_bottom_frame_gutter_height): new function.
11698 (window_bottom_window_gutter_height): ditto.
11699 (window_bottom_gutter_height): use them.
11700 (window_left_window_gutter_width): new function.
11701 (window_left_frame_gutter_width): ditto.
11702 (window_left_gutter_width): use them.
11703 (window_right_window_gutter_width): new function.
11704 (window_right_frame_gutter_width): ditto.
11705 (window_right_gutter_width): use them.
11706 (window_pixel_height): new function. calulate window pixel height
11707 with frame gutter involvement.
11708 (Fsplit_window): calculate new sizes taking frame gutters into
11710 (window_char_height_to_pixel_height): don't include frame gutters.
11711 (window_char_height): use window_pixel_height.
11712 (window_pixheight): rename from window_pixel_height.
11713 (change_window_height): use it.
11714 (window_pixel_height_to_char_height): don't include frame gutters.
11715 (window_char_width_to_pixel_width): ditto.
11717 2000-02-25 Andy Piper <andy@xemacs.org>
11719 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11722 2000-02-24 Martin Buchholz <martin@xemacs.org>
11724 * alloc.c (staticpro):
11725 (staticpro_nodump):
11730 (compact_string_chars):
11731 (pdump_dump_wired):
11732 Convert: if (foo) abort(); ==> assert (! foo);
11734 * eldap.c (Fldap_search_basic):
11738 Fix compiler warnings, and possible crashes if (random) return
11739 value were to be used.
11741 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11743 * device-msw.c: Workaround ResetDC failure.
11745 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11746 applying a devmode.
11748 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11749 (mswindows_text_width): Do not start printer page.
11751 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11753 * glyphs-msw.c: Added image methods to msprinter console and
11754 msprinter-specific image instantiation.
11756 2000-02-20 Mike Alexander <mta@arbortext.com>
11758 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11759 to avoid crashes when selection-sets-clipboard is on
11760 (mswindows_own_selection): ditto
11762 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11765 * redisplay-msw.c (get_frame_dc):
11766 (get_frame_compdc):
11768 * device-msw.c (mswindows_init_device):
11769 (mswindows_delete_device):
11770 (msprinter_init_device):
11771 (msprinter_delete_device):
11772 * frame-msw.c (mswindows_init_frame_1):
11773 (mswindows_delete_frame):
11774 (msprinter_init_frame_3):
11775 (msprinter_delete_frame): Move compatible DC to device object from
11776 frame object, for both mswindows and msprinter. Only one at a time
11777 is needed, it is a real waste to have one per frame!
11779 2000-02-23 Andy Piper <andy@xemacs.org>
11781 * glyphs.c: add dynamic width and height elements.
11782 (image_instance_equal): ditto.
11784 * glyphs-widget.c (widget_query_geometry): calculate width and
11785 height dynamically if required.
11786 (initialize_widget_image_instance): initialize dynamic dimensions.
11787 (widget_instantiate): pick-up dynamic dimensions.
11789 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11790 dynamic determination. Add appropriate macros.
11792 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11794 (WINDOW_GUTTER_SIZE): ditto.
11795 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11797 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11799 (get_frame_dc): ditto.
11801 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11804 2000-02-23 Martin Buchholz <martin@xemacs.org>
11806 * XEmacs 21.2.31 is released.
11808 2000-02-22 Ben Wing <ben@xemacs.org>
11810 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11812 2000-02-22 Andy Piper <andy@xemacs.org>
11814 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11816 2000-02-21 Mike Sperber <mike@xemacs.org>
11820 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11823 2000-02-21 Mike Sperber <mike@xemacs.org>
11825 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11827 2000-02-21 Martin Buchholz <martin@xemacs.org>
11829 * XEmacs 21.2.30 is released.
11831 2000-02-20 Martin Buchholz <martin@xemacs.org>
11833 Performance hacking.
11835 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11836 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11837 * emacs.c (main_1):
11839 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11840 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11841 * symeval.h (DEFVAR_SYMVAL_FWD):
11842 * symbols.c (guts_of_unbound_marker):
11843 Make all c_readonly objects also lisp_readonly and marked for life.
11844 * lrecord.h (struct lrecord_implementation):
11845 Document flags better.
11846 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11847 * lrecord.h (DECLARE_LRECORD):
11848 * lrecord.h (XSETRECORD):
11849 * lrecord.h (RECORDP):
11850 * lrecord.h (RECORD_TYPEP):
11851 * lrecord.h (RECORD_MARKER): New.
11852 * lrecord.h (error_check_*):
11853 * lrecord.h (CONCHECK_NONRECORD):
11854 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11855 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11856 * lrecord.h (set_lheader_implementation):
11857 * lrecord.h (enum lrecord_type): New.
11858 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11859 * alloc.c (disksave_object_finalization_1):
11860 * alloc.c (mark_object):
11861 * alloc.c (lrecord_type_index):
11862 * alloc.c (tick_lcrecord_stats):
11863 * alloc.c (Fgarbage_collect):
11864 * alloc.c (init_alloc_once_early):
11865 * alloc.c (pdump_load):
11866 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11867 * alloc.c (lrecord_type_index): Delete.
11868 Make lisp object type indexes be constant.
11869 Makes (byte-compile) 5% faster.
11870 Put all marker functions into their own array.
11871 Makes (garbage-collect) 5% faster.
11872 Optimize SYMBOL_VALUE_MAGIC_P.
11873 Makes (byte-compile) 2-3% faster.
11874 * config.h.in (gc_checking_assert): New.
11875 * alloc.c: Use gc_checking_assert().
11876 * .dbxrc: Make compatible with new object type implementation.
11877 * .gdbinit: Make compatible with new object type implementation.
11878 * alloc.c: Delete all symbols defined only for debugging, such as
11879 Lisp_Type_Vector and lrecord_charset.
11881 2000-02-21 Andy Piper <andy@xemacs.org>
11883 * gui-msw.c (Fmswindows_shell_execute): fix file location
11886 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11887 unshowing so that set_window_buffer doesn't undo
11888 kill_buffer_hook's hard work.
11890 * glyphs-widget.c (tab_control_query_geometry): don't count the
11891 first item when calculating geometry.
11893 * glyphs.c (map_subwindow): remove redundant code.
11894 (update_frame_subwindows): be more circumspect about when to
11897 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11898 when items haven't changed. Update faces if faces have changed as
11899 well as just the widget face.
11900 (x_tab_control_update): Update faces if faces have changed as well
11901 as just the widget face.
11903 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11905 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11907 (build_syscolor_string): Use mswindows_color_to_string to try to
11909 (mswindows_device_system_metrics): Reverse the foreground and
11910 background colors so that they match the documentation.
11912 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11913 they match the default Windows palette.
11914 (mswindows_color_to_string): New function.
11916 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11918 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11920 2000-02-18 Olivier Galibert <galibert@pobox.com>
11922 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11923 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11925 * symbols.c (init_symbols_once_early): Removed obsolete
11926 DATA_SEG_BITS related kludge.
11927 (defvar_magic): Ditto.
11929 * malloc.c: Removed obsolete DATA_SEG_BITS
11931 * mem-limits.h: Ditto.
11933 * Makefile.in.in: Removed obsolete HAVE_SHM
11936 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11938 * device-msw.c (mswindows_delete_device): Free DDE string
11941 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11943 * keymap.c (get_keyelt):
11944 * unexnt.c (unexec):
11945 * vm-limit.c (memory_warnings):
11946 * ntheap.c (recreate_heap):
11947 * ntheap.h (UNINIT_PTR):
11948 * select-msw.c (Fmswindows_get_clipboard):
11949 (Fmswindows_set_clipboard):
11950 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11952 * menubar-msw.c (displayable_menu_item):
11954 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11955 * sysdep.c (sys_subshell):
11956 * process-nt.c (nt_create_process):
11957 * nt.c (normalize_filename):
11958 (dostounix_filename):
11959 (unixtodos_filename):
11960 * ntproc.c (win32_executable_type):
11961 * ntplay.c (play_sound_data_1):
11963 * editfns.c (get_home_directory):
11964 * event-msw.c (struct winsock_stream):
11965 (mswindows_dde_callback):
11966 * device-msw.c (msprinter_init_device):
11967 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11969 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11970 mswindows_clear_toolbar were swapped!
11972 * objects-msw.c:(colormap_t):
11974 * emacs.c (struct standard_args): Fixed const jumble.
11976 * glyphs-widget.c (update_widget): Fixed comparison notation.
11978 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11980 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11981 __declspec(noreturn) syntax.
11983 2000-02-19 Martin Buchholz <martin@xemacs.org>
11985 * eldap.c (Fldap_open):
11986 (Fldap_search_basic):
11989 Use new coding system conversion macros.
11991 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11993 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11995 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11997 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11998 (Fldap_add, Fldap_modify, Fldap_delete): New functions
12000 * eldap.c (Qadd, Qreplace): New constant symbols
12001 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
12002 interruptions by XEmacs signals
12003 Remove unnecessary calls to slow_down_interrupts and
12004 speed_up_interrupts
12005 (Fldap_search_basic): Renamed from Fldap_search_internal
12006 Added new optional parameter VERBOSE that triggers the
12007 display of progress messages
12008 Remove unnecessary calls to slow_down_interrupts and
12009 speed_up_interrupts
12010 LDAP result code analysis rewritten
12011 (Fldap_add, Fldap_modify, Fldap_delete): New functions
12012 (syms_of_eldap): Define the new symbols and functions
12015 2000-02-17 Martin Buchholz <martin@xemacs.org>
12017 * realpath.c: Determine PATH_MAX maximally portably.
12019 * insdel.c (bytecount_to_charcount): Optimize.
12020 The function used to be optimized for entirely ASCII sequences.
12021 Now it is optimized for successive characters from the same
12022 charset. This also wins big for _mostly_ ASCII sequences.
12024 * fileio.c (Ffile_truename): convert return from realpath() using
12025 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
12026 - Rewrite GCPROing slightly.
12028 * sysdep.c (sys_open): Do filename conversion, like all other
12029 sys_* functions. Fixes bug:
12030 (let ((file-name-coding-system 'iso-8859-2))
12031 (write-region x y latin2-name))
12032 ==> writes filename using internal encoding.
12034 2000-02-18 Martin Buchholz <martin@xemacs.org>
12036 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
12037 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
12038 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
12039 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
12040 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
12041 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
12042 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
12043 (CONST_IF_NOT_DEBUG): Delete.
12044 * alloc.c (this_one_is_unmarkable): Delete.
12045 (mark_object): Don't check for this_one_is_unmarkable. Use the
12046 c_readonly flag instead.
12047 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
12049 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
12051 * event-msw.c (mswindows_drain_windows_queue):
12052 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
12053 away redundant repaint events.
12055 2000-02-17 Andy Piper <andy@xemacs.org>
12057 * redisplay.h: declare mark_redisplay_structs.
12059 * redisplay.c (redisplay_window):
12060 (redisplay_frame): don't check subwindows_state_changed.
12061 (mark_redisplay): mark gutters here.
12063 * glyphs.c: (instantiate_image_instantiator): always layout if we
12064 haven't done so already.
12065 (allocate_image_instance): don't mark as dirty.
12066 (update_subwindow): bind inhibit_quit.
12068 * gutter.c (mark_gutters): new function.
12070 * glyphs-x.c (x_update_widget): Always resize to get round a
12073 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
12074 breaking absolutely everything.
12076 * gutter.h: declare mark_gutters.
12078 2000-02-16 Martin Buchholz <martin@xemacs.org>
12080 * XEmacs 21.2.29 is released.
12082 2000-02-15 Olivier Galibert <galibert@pobox.com>
12084 * fns.c (size_bit_vector): Fix computation of the size.
12086 2000-02-15 Martin Buchholz <martin@xemacs.org>
12088 * *.[ch]: Change CONST to const globally.
12089 find -name '*.[ch]' | \
12090 xargs global-replace \
12091 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
12092 - Remove vestigial references to CONST_IS_LOSING
12094 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
12096 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
12097 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
12098 events instead of dispatching them directly.
12099 (mswindows_handle_paint): New function to do repainting.
12100 (mswindows_wnd_proc):
12101 (emacs_mswindows_handle_magic_event): Call above function.
12103 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
12105 * objects-msw.c (mswindows_create_font_variant): Return the new
12107 (initialize_font_instance): Get font metrics from the underlined
12108 variant of the font to cope with the case where the underlined
12109 font has a bigger descent.
12111 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
12113 * gui.c (gui_item_accelerator): Return the first underlined
12114 character in item name.
12116 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12118 * lisp.h: Added Qprinter.
12120 * general.c (syms_of_general): Initialized it.
12122 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
12124 (get_frame_compdc): Made inline.
12126 * console.h (struct console_methods): Added eject_page method.
12128 * frame.h: Added FRAME_DISPLAY_P and friends.
12129 Aligned backslahes in many macros in more readable fashion.
12130 Added page_number to struct frame, and an accessor macro
12133 * defice.h: Added DEVICE_DISPLAY_P and friends.
12135 * device.c (Fdevice_printer_p): Used these.
12137 * frame.c (allocate_frame_core): Initialize page number.
12138 (Fprint_job_page_number):
12139 (Fprint_job_eject_page): Implemented.
12141 * frame-msw.c (msprinter_eject_page): Added method.
12142 (msprinter_start_page): Added.
12144 * window.c (Fwindow_truncated_p): Fixed docstring.
12145 (Fwindow_last_line_visible_height): Implemented.
12147 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
12149 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
12151 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12153 * syntax.c (scan_words): Always advance at least one character.
12155 2000-02-13 Andy Piper <andy@xemacs.org>
12157 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
12158 to make sure the glyph is in the cachels.
12160 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
12161 global image instance flag.
12162 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
12163 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
12165 * glyphs.c (allocate_image_instance): set dirty bits correctly.
12166 (Fset_image_instance_property): mark layout as changed.
12167 (invalidate_glyph_geometry_maybe): mark layout as changed.
12168 (glyph_width): use new NEEDS_LAYOUT macro.
12169 (glyph_ascent): ditto.
12170 (glyph_descent): ditto.
12171 (glyph_height): ditto.
12172 (image_instance_layout): mark layout as clean after laying out.
12173 (update_subwindow): don't mark layout as clean here.
12175 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
12176 should no longer be needed.
12178 * glyphs-x.c (x_update_widget): sanitize asserts.
12179 (x_finalize_image_instance): sanitize assignment to widgets.
12181 * glyphs-widget.c (widget_instantiate): don't need to clear the
12184 2000-02-13 Martin Buchholz <martin@xemacs.org>
12186 * sysdep.c (getcwd): Use standard prototype.
12187 * sysdep.h (getcwd): Use standard prototype.
12189 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
12190 (sequence, start, end).
12191 Remove redundant type checking.
12192 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
12193 view of `caller-protects') to avoid a crash where the real fix was
12196 2000-02-12 Martin Buchholz <martin@xemacs.org>
12198 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
12200 * s/sol2.h: Remove feature macro initialization.
12202 * alloc.c (alloc_lcrecord): Add more type checking assertions.
12203 (vector_hash): New. Code from internal_hash.
12205 Fix up allocation subsystem comments.
12207 * config.h.in: Add __EXTENSIONS__ for Solaris.
12209 * systime.h (EMACS_GETTIMEOFDAY): New.
12210 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
12211 Remove Solaris-specific code.
12212 Use void* for the (ignored) second arg for gettimeofday().
12214 * elhash.c (hash_table_hash): Implement it, finally.
12215 * elhash.c: Use hashcode_t.
12217 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
12218 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
12220 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
12221 * fns.c (size_bit_vector):
12222 * alloc.c (size_vector):
12223 (make_vector_internal):
12224 (make_bit_vector_internal):
12225 (sweep_bit_vectors_1):
12226 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
12228 2000-02-10 Martin Buchholz <martin@xemacs.org>
12230 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
12231 Include strings.h to avoid warnings for bzero and strcasecmp.
12233 2000-02-10 Olivier Galibert <galibert@pobox.com>
12235 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
12236 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
12238 * fns.c (size_bit_vector): New. Declare bit vectors as a
12241 2000-02-10 Olivier Galibert <galibert@pobox.com>
12243 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
12244 use a value field instead.
12245 (symbol_value_forward_forward): Use value field.
12246 (DEFVAR_SYMVAL_FWD): Use value field.
12247 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
12248 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
12249 (DEFVAR_CONST_INT): Ditto.
12250 (DEFVAR_BOOL): Ditto.
12251 (DEFVAR_CONST_BOOL): Ditto.
12252 (DEFVAR_INT_MAGIC): Ditto.
12253 (DEFVAR_BOOL_MAGIC): Ditto.
12255 * symbols.c (guts_of_unbound_marker): Use value field.
12256 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
12257 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
12259 * lisp.h: Declare dumpopaque and noninteractive1.
12261 * alloc.c (dumpopaque): Added.
12262 (pdump_dump_opaquevec): Added.
12263 (pdump): Call pdump_dump_opaquevec to dump opaque data.
12264 (pdump_load): Reload opaque data. Sync noninteractive1 with
12267 2000-02-10 Andy Piper <andy@xemacs.org>
12269 * glyphs.c (image_instance_layout): if the size changes, mark it
12272 * redisplay-output.c (redisplay_output_layout): Update the
12274 (redisplay_output_subwindow): ditto.
12276 * glyphs.c (update_subwindow): make sure we reset flags for
12277 layouts as well as everything else.
12279 * glyphs-widget.c (layout_layout): don't need to set the instances
12282 2000-02-09 Martin Buchholz <martin@xemacs.org>
12284 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
12285 not HAVE_DLOPEN, which is a lower-level thing.
12287 * .cvsignore: Ignore gmon.out
12289 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
12291 * .cvsignore: Ignore portable dumper xemacs.dmp file
12293 2000-02-09 Andy Piper <andy@xemacs.org>
12295 * redisplay-output.c (redisplay_output_layout): be more clever
12296 about when we output based on the changed flags.
12298 * glyphs.h (struct image_instantiator_methods): add update_method.
12299 (struct Lisp_Image_Instance): add changed flags. Declare new
12300 macros for manipulating them.
12302 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
12303 (image_instance_parent_glyph): find an image_instance's parent
12304 glyph or image_instance.
12305 (image_instance_layout): mark the size as changed.
12306 (set_image_instance_dirty_p): new function. mark an image
12307 instance, plus all of its parents, as dirty.
12308 (Fset_image_instance_property): use it.
12309 (Fglyph_animated_timeout_handler): use it.
12310 (update_subwindow): call update_widget and device methods for
12311 update_subwindow. Mark all changed flags as clean.
12312 (Fresize_subwindow): mark size as changed.
12314 * glyphs-x.c (x_finalize_image_instance): try and detect gc
12316 (x_update_subwindow): only resize subwindows here.
12317 (x_update_widget): new function. Update all changed properties of
12319 (x_resize_subwindow): deleted.
12320 (x_widget_set_property): deleted.
12321 (x_progress_gauge_set_property): deleted.
12322 (x_progress_gauge_update): new function. Implement recorded
12324 (x_tab_control_update): ditto.
12325 (x_tab_control_set_property): deleted.
12326 (console_type_create_glyphs_x): declare new functions.
12327 (image_instantiator_format_create_glyphs_x): ditto.
12329 * glyphs-widget.c (widget_set_property): mark text changed.
12330 (update_widget): new function. Update properties of a widget.
12331 (widget_instantiate): for layouts make sure we set their
12332 children's parent correctly.
12333 (tab_control_set_property): new function. Record changes that will
12334 take place under redisplay's control.
12335 (progress_gauge_set_property): ditto.
12336 (image_instantiator_progress_guage): declare new functions.
12337 (image_instantiator_tab_control): ditto.
12339 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
12341 (mswindows_update_widget): new function. Update all properties on
12342 a widget that have changed.
12343 (mswindows_button_update): new function. Update a button's set
12345 (mswindows_tab_control_update): new function. Update the items in
12347 (mswindows_tab_control_set_property): deleted.
12348 (mswindows_progress_gauge_update): new function. Update the
12349 progress gauge's progress.
12350 (mswindows_widget_set_property): deleted. This is all done
12351 asynchronously now.
12352 (mswindows_progress_gauge_set_property): ditto.
12353 (console_type_create_glyphs_mswindows): declare new methods.
12354 (image_instantiator_format_create_glyphs_mswindows): ditto.
12356 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
12357 (msprinter_set_frame_properties): ditto.
12359 * console.h (struct console_methods): Add update_widget_method.
12361 2000-02-09 Andy Piper <andy@xemacs.org>
12363 * gui-msw.c (Fmswindows_shell_execute): Make
12364 mswindows-shell-execute industrial strength.
12366 2000-02-08 Martin Buchholz <martin@xemacs.org>
12368 * lrecord.h: Make macro argument `props' match member function `plist'.
12371 * fns.c (Fremprop):
12372 * fns.c (Fobject_plist):
12375 Object property list frobbing cleanup.
12376 - Allow any lisp object (compared with `eq'), not just symbols, as
12377 keys in object plists.
12378 - Move symbol plist frobbing into symbols.c, where it belongs.
12379 - Move string plist frobbing into alloc.c, where it belongs.
12380 - Everything's an lrecord now, so no need to test for symbolp, etc.
12381 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
12383 * extents.c: Reorder code to remove declarations.
12385 * frame.h (store_in_alist): Remove useless declaration.
12387 2000-02-07 Martin Buchholz <martin@xemacs.org>
12389 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
12390 * config.h.in: Add HAVE_XCONVERTCASE.
12392 2000-02-07 Andy Piper <andy@xemacs.org>
12394 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
12395 it breaks many things.
12397 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12399 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
12400 actually can start a common comment type.
12401 * src/syntax.h (SYNTAX_END_P): ditto for end.
12403 2000-02-07 Martin Buchholz <martin@xemacs.org>
12405 * XEmacs 21.2.28 is released.
12407 2000-02-06 Martin Buchholz <martin@xemacs.org>
12409 * event-Xt.c (x_keysym_to_character): New.
12410 (maybe_define_x_key_as_self_inserting_character): New.
12411 (x_has_keysym): New.
12412 Auto-define all keys on the keyboard as self-insert-key.
12414 2000-02-02 Martin Buchholz <martin@xemacs.org>
12416 * menubar.c (vars_of_menubar): A small code simplification.
12418 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
12421 * ExternalClient.c:
12422 * EmacsShell-sub.c:
12425 Use consistent style for specifying X resources.
12427 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
12428 This makes (dontusethis-set-symbol-value-handler) actually usable.
12430 * lrecord.h (lrecord_decription_type):
12431 * alloc.c (pdump_register_sub):
12434 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
12435 Comply with XEmacs coding style.
12436 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
12437 args, and XD_LISP_OBJECT_ARRAY with 3 args.
12439 * keymap.c (Faccessible_keymaps):
12440 Make (accessible-keymaps map "\C-h") do the Right Thing.
12441 Make (accessible-keymaps map []) do the Right Thing.
12442 Make (accessible-keymaps map "") do the Right Thing.
12443 (check_keymap_definition_loop): New function.
12444 (keymap_store_internal): Keep luser from shooting self in foot,
12445 via (define-key ctl-x-4-map "p" global-map).
12446 Remove fullness slot from struct Lisp_Keymap, since hash tables
12448 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
12450 2000-01-30 Martin Buchholz <martin@xemacs.org>
12452 * redisplay.c (init_redisplay): Fix small memory leak.
12454 * elhash.c (pdump_reorganize_hash_table):
12455 Rename from reorganize_hash_table. Change prototype.
12456 Reuse the original memory for hentries. Save 100k.
12457 * alloc.c (PDUMP_READ): new macro.
12458 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
12459 * alloc.c: No need to #ifndef before #undef.
12461 * print.c: Allow debug_print() to print readably by modifying
12462 debug_print_readably. Use consistent variable names.
12464 * .dbxrc: Try to get things to work even if stopped in a function
12465 without source available by explicitly specifying source files.
12466 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12468 * unexnt.c (_start): Removed bogus code which caused loading heap
12469 from differrent executable file.
12470 Removed bogus assignment to _fmode, which caused inconsistencies.
12472 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12474 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
12475 Have spawnve encapsulation regard DONT_ENCAPSULATE.
12476 Do not preliminary `#define signal sigset'.
12478 * systime.h: Do not prototype environ on windows nt and cygwin,
12479 this conflicts with system header.
12481 * syssignal.h: Use correct define for WINDOWSNT
12483 * sysdep.h: Do not prototype environ on windows nt, this conflicts
12484 with system header.
12486 * sysdep.c (near start of file): Fixed commentary and rearranged
12487 ifdefs in readable order.
12488 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
12491 (end_of_data): Do not compile in if using PDUMP.
12493 * symsinit.h: Prototyped vars_of_nt().
12495 * ntproc.c (windows9x_p): Added, instead of os_subtype.
12496 (find_child_console): Use it.
12497 (sys_kill): Use it.
12499 * ntheap.h: Do not extern os_subtype.
12501 * ntheap.c (cache_system_info): Do not cache unneeded:
12502 nt_major_version, nt_minor_version and os_subtype.
12503 (recreate_heap): Do not compile in when PDUMPing.
12505 * nt.c (geteuid and friends): Use the new varibale
12506 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
12507 (init_user_info): Removed the above mentioned hackery.
12508 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
12509 stat has been fixed in the C runtime.
12510 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
12512 * file-coding.c (struct file_coding_dump): Do not define
12513 ucs_to_mule_table in the struct if not MULE.
12514 (struct struct lrecord_description fcd_description_1): Do not dump
12517 * emacs.c (main_1): Call vars_of_nt().
12518 (right before Fdump_emacs_data): Don't need lastfile if using both
12519 portabe dumper and system malloc.
12521 * alloc.c (Fmemory_limit): Conditionalized out.
12522 (pdump): Use OPEN_BINARY for the portable dump file.
12523 (pdump_load): Ditto.
12525 2000-02-02 Mike Alexander <mta@arbortext.com>
12527 * nt.c (convert_time): Set tm_isdst before calling mktime and
12528 avoid calling it at all if the compiler supports 64 bit integers.
12529 Also initialize utc_base_ft before using it.
12531 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
12533 * frame.c (change_frame_size_1): Take f->internal_border_width
12534 into consideration when calculating the width of the frame.
12536 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12538 * window.c (frame_min_height):
12539 (frame_size_valid_p):
12540 (frame_pixsize_valid_p): Added.
12541 (check_frame_size): Generalized.
12543 * window.h: Prototyped the above.
12546 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
12547 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
12548 Deleted Vwin32_* and Vbinary_process_* unused variables.
12550 * device-msw.c (msprinter_init_device): Do not get printer font
12551 list; Added DEVMODE functions.
12553 * frame-msw.c: Added lots of printer code.
12555 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
12558 * console-msw.h: Added more msprinter device private slots.
12560 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12562 * event-msw.c (key_needs_default_processing_p): Added.
12563 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
12565 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12567 * glyphs.c (image_instance_layout): Mark image instance as clean
12569 (glyph_dirty_p): Removed redundant function.
12570 (invalidate_glyph_geometry_maybe): Added.
12571 (update_glyph_cachel_data): Call it.
12573 * glyphs.h: Prototyped it.
12575 * redisplay.c (add_glyph_rune): Call it.
12576 (redisplay_window): Reset glyphs cachels when frame faces have
12577 changed, thus forcing recomputation of built-in border glyphs.
12579 2000-01-30 Martin Buchholz <martin@xemacs.org>
12581 * Makefile.in.in: Make portable dumper and purify play well together.
12582 Add imperfect, but better than nothing, support for pdump.
12583 Remove xemacs.dmp when temacs is re-generated.
12584 Don't ignore errors when dumping xemacs.
12586 * symbols.c (maybe_call_magic_handler): Remove one magic number.
12588 2000-01-28 Andy Piper <andy@xemacs.org>
12590 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
12591 (setup_normal_frame): ditto.
12592 (setup_frame_without_minibuffer): ditto.
12593 (setup_minibuffer_frame): ditto.
12594 (delete_frame_internal): ditto.
12595 (Fmake_frame_invisible): ditto.
12596 (Ficonify_frame): ditto.
12598 * window.h: change Fset_window_buffer signature.
12600 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12601 (Fset_window_buffer): allow recording of buffer if the window is
12602 the selected window.
12603 (window_loop): Use new Fset_window signature.
12605 2000-01-23 Daniel Pittman <daniel@danann.net>
12607 * config.h.in: Added template for `HAVE_ATHENA_3D'
12609 2000-01-29 Andy Piper <andy@xemacs.org>
12611 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12613 * gutter.c (output_gutter): Don't output if the window isn't live.
12615 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12617 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12618 of 01/12/00: Moved SetFocus back here where it belongs.
12620 2000-01-23 Andy Piper <andy@xemacs.org>
12622 * s/cygwin32.h: declare printer things.
12624 2000-01-26 Andy Piper <andy@xemacs.org>
12626 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12629 2000-01-24 Andy Piper <andy@xemacs.org>
12631 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12632 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12634 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12636 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12638 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12640 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12641 (mswindows_output_display_block): Avoid local shadows.
12643 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12644 (mswindows_enqueue_mouse_button_event): ditto.
12645 (mswindows_handle_gui_wm_command): remove declaration.
12647 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12650 * console-msw.h: Avoid shadows.
12651 (mswindows_get_toolbar_button_text):
12652 (emacs_mswindows_create_stream_pair):
12653 (emacs_mswindows_delete_stream_pair):
12654 (mswindows_handle_toolbar_wm_command): declare.
12656 * device-msw.c (build_syscolor_string): Avoid shadows.
12658 2000-01-23 Andy Piper <andy@xemacs.org>
12660 * glyphs-widget.c (widget_instantiate): reverse the items for
12661 layouts so that children are in the expected order.
12663 2000-01-28 Martin Buchholz <martin@xemacs.org>
12665 * ralloc.c: safe_bcopy ==> memmove
12666 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12667 * s/msdos.h: Remove BCOPY macros.
12668 * insdel.c (gap_right): Remove BCOPY conditional code.
12669 * insdel.c (gap_left): Remove BCOPY conditional code.
12670 XEmacs demands a working ANSI C compiler - hence memmove.
12672 * regex.c (regex_compile): Remove accidental use of trigraphs.
12674 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12676 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12679 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12681 * event-msw.c (mswindows_drain_windows_queue): Added the
12683 (mswindows_need_event): Commented the call to
12684 mswindows_drain_windows_queue().
12685 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12688 * console-msw.h: Moved a few function prototypes here from
12691 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12692 parameter from unsigned short to unsigned long.
12693 (Fmswindows_shell_execute): Added return value.
12695 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12697 * sysdep.c (init_system_name):
12698 process-unix.c (unix_canonicalized_host_name):
12699 Don't call freeaddrinfo() if getaddrinfo() fails.
12701 * process-unix.c (unix_open_unix_network_stream):
12702 Moved the code to get a port # into address loop.
12704 2000-01-27 Martin Buchholz <martin@xemacs.org>
12706 * buffer.c (reinit_vars_of_buffer):
12707 The right place to initialize conversion_in_dynarr and
12708 conversion_out_dynarr.
12710 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12712 * process-unix.c (unix_canonicalize_host_name): Muleize.
12713 (unix_open_network_stream): Muleize.
12715 * buffer.h: Fix up prototypes for ralloc.c functions.
12717 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12718 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12719 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12720 instead of gethostbyname()
12721 * process-unix.c: In unix_canonicalize_host_name() and
12722 unix_open_network_stream(), add code to use getaddrinfo()
12723 instead of gethostbyname().
12725 2000-01-27 Daniel Pittman <daniel@danann.net>
12727 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12728 libs when built with flat Athena.
12730 2000-01-27 Martin Buchholz <martin@xemacs.org>
12732 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12733 Use coding standards for function prototypes.
12735 2000-01-25 Martin Buchholz <martin@xemacs.org>
12737 * dialog-msw.c (push_lisp_string_as_unicode):
12738 * doc.c (unparesseuxify_doc_string):
12739 * dired.c (Fuser_name_completion_1):
12740 * dired.c (Fuser_name_all_completions):
12741 * dired.c (free_user_cache):
12742 * dired.c (user_name_completion):
12743 * console-x.c (get_display_arg_connection):
12744 * minibuf.c (clear_echo_area_internal):
12745 * minibuf.c (echo_area_append):
12746 * eldap.c (Fldap_open):
12747 * eldap.c (Fldap_search_internal):
12748 * frame-x.c (x_set_frame_text_value):
12749 * frame-x.c (x_set_frame_properties):
12750 * frame-x.c (x_create_widgets):
12751 * redisplay-tty.c (term_get_fkeys_1):
12752 * objects-x.c (x_parse_nearest_color):
12753 * objects-x.c (x_valid_color_name_p):
12754 * objects-x.c (x_initialize_font_instance):
12755 * objects-x.c (x_list_fonts):
12756 * objects-x.c (x_find_charset_font):
12757 * tooltalk.c (Fadd_tooltalk_message_arg):
12758 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12759 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12760 * process-unix.c (unix_create_process):
12761 * ntproc.c (sys_spawnve):
12762 * sound.c (Fplay_sound_file):
12763 * sound.c (Fplay_sound):
12764 * buffer.c (init_initial_directory):
12765 * buffer.c (init_buffer):
12766 * editfns.c (init_editfns):
12767 * editfns.c (Ftemp_directory):
12768 * editfns.c (Fuser_full_name):
12769 * editfns.c (uncache_home_directory):
12770 * editfns.c (get_home_directory):
12771 * editfns.c (Fuser_home_directory):
12772 * editfns.c (Fformat_time_string):
12773 * editfns.c (Fcurrent_time_string):
12774 * gui-x.c (button_item_to_widget_value):
12775 * database.c (Fopen_database):
12776 * event-Xt.c (x_to_emacs_keysym):
12777 * event-Xt.c (x_event_to_emacs_event):
12778 * event-Xt.c (describe_event_window):
12779 * event-msw.c (mswindows_wnd_proc):
12780 * glyphs-eimage.c (jpeg_instantiate):
12781 * glyphs-eimage.c (gif_instantiate):
12782 * glyphs-eimage.c (png_instantiate):
12783 * glyphs-eimage.c (tiff_instantiate):
12784 * glyphs-x.c (xbm_instantiate_1):
12785 * glyphs-x.c (x_xbm_instantiate):
12786 * glyphs-x.c (x_xface_instantiate):
12787 * glyphs-x.c (autodetect_instantiate):
12788 * glyphs-x.c (cursor_font_instantiate):
12789 * glyphs-x.c (x_widget_instantiate):
12790 * glyphs-x.c (x_widget_set_property):
12791 * glyphs-x.c (x_widget_property):
12792 * glyphs-x.c (BUILD_GLYPH_INST):
12793 * print.c (write_string_to_stdio_stream):
12794 * print.c (output_string):
12795 * print.c (Falternate_debugging_output):
12796 * print.c (Fexternal_debugging_output):
12797 * glyphs-msw.c (extract_xpm_color_names):
12798 * glyphs-msw.c (mswindows_xpm_instantiate):
12799 * glyphs-msw.c (bmp_instantiate):
12800 * glyphs-msw.c (resource_name_to_resource):
12801 * glyphs-msw.c (mswindows_resource_instantiate):
12802 * glyphs-msw.c (xbm_instantiate_1):
12803 * glyphs-msw.c (mswindows_xbm_instantiate):
12804 * glyphs-msw.c (mswindows_xface_instantiate):
12805 * glyphs-msw.c (mswindows_widget_instantiate):
12806 * glyphs-msw.c (add_tree_item):
12807 * glyphs-msw.c (add_tab_item):
12808 * glyphs-msw.c (mswindows_combo_box_instantiate):
12809 * glyphs-msw.c (mswindows_widget_property):
12810 * glyphs-msw.c (mswindows_combo_box_property):
12811 * glyphs-msw.c (mswindows_widget_set_property):
12812 * console.c (stuff_buffered_input):
12813 * objects-msw.c (mswindows_initialize_color_instance):
12814 * objects-msw.c (mswindows_valid_color_name_p):
12815 * objects-msw.c (mswindows_list_fonts):
12816 * objects-msw.c (mswindows_font_instance_truename):
12817 * bytecode.c (optimize_compiled_function):
12818 * select-x.c (symbol_to_x_atom):
12819 * select-x.c (x_atom_to_symbol):
12820 * select-x.c (hack_motif_clipboard_selection):
12821 * select-x.c (selection_data_to_lisp_data):
12822 * select-x.c (lisp_data_to_selection_data):
12823 * select-x.c (Fx_get_cutbuffer_internal):
12824 * select-x.c (Fx_store_cutbuffer_internal):
12825 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12826 * buffer.h (TO_INTERNAL_FORMAT): New function.
12827 * emacs.c (make_arg_list_1):
12828 * emacs.c (make_argc_argv):
12829 * emacs.c (main_1):
12830 * emacs.c (Fdump_emacs):
12831 * emacs.c (split_string_by_emchar_1):
12836 * device-x.c (x_init_device):
12837 * device-x.c (Fx_valid_keysym_name_p):
12838 * device-x.c (Fx_get_font_path):
12839 * device-x.c (Fx_set_font_path):
12840 * glyphs.c (bitmap_to_lisp_data):
12841 * glyphs.c (pixmap_to_lisp_data):
12842 * alloc.c (make_ext_string): Use coding system arguments. Update
12844 * alloc.c (build_string):
12845 * callproc.c (child_setup):
12846 * callproc.c (init_callproc):
12847 * fileio.c (lisp_strerror):
12848 * fileio.c (directory_file_name):
12849 * fileio.c (Fexpand_file_name):
12850 * fileio.c (Ffile_truename):
12851 * fileio.c (Fsysnetunam):
12852 * fileio.c (Fdo_auto_save):
12853 * sysdep.c (sys_readdir):
12854 * tests.c: New file. Allow adding C tests.
12855 Replace GET_* macros with a more comprehensible and flexible
12856 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12858 Any coding system can be used to do format conversion.
12859 Eliminate enum external_data_format.
12860 Eliminate convert_to_external_format.
12861 Eliminate convert_to_internal_format.
12862 Make sure file-name, keyboard, terminal, and ctext are always
12863 defined as coding systems or aliases. Make
12864 file-name-coding-system, terminal-coding-system, and
12865 keyboard-coding-system magical variables that are equivalent to
12866 defining the corresponding coding system aliases.
12868 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12869 * file-coding.c (Fcoding_system_alias_p): New function.
12870 * file-coding.c (Fcoding_system_aliasee): New function.
12871 * file-coding.c (append_suffix_to_symbol): New function.
12872 * file-coding.c (dangling_coding_system_alias_p): New function.
12873 * file-coding.c (Ffind_coding_system):
12874 * file-coding.c (Fcopy_coding_system):
12875 * file-coding.c (encode_coding_no_conversion):
12876 * file-coding.c (syms_of_file_coding):
12877 * file-coding.c (vars_of_file_coding):
12878 Rewrite coding system alias code.
12879 Allow nested aliases, like symbolic links.
12880 Allow redefinition of coding system aliases.
12881 Prevent existence of dangling coding system aliases.
12883 * dired.c (Fuser_name_completion_1):
12884 * dired.c (Fuser_name_all_completions):
12885 A crash would happen if user did QUIT in the middle of building
12886 user_name_cache. Remove redundant code in mainline and unwind_protect.
12889 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12891 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12892 an unsigned char *. Update all callers.
12894 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12896 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12898 2000-01-25 Martin Buchholz <martin@xemacs.org>
12900 * elhash.c (hentry_description): Use more portable definition.
12901 (resize_hash_table): Initialize new hentries using
12902 xnew_array_and_zero, thereby simplifying the code.
12904 * mule-charset.c (make_charset): Make sure entire object is
12905 initialized, to avoid Purify warnings.
12907 * alloc.c (resize_string): Fix unlikely crash with big strings.
12909 2000-01-24 Martin Buchholz <martin@xemacs.org>
12911 * realpath.c (xrealpath):
12912 Don't call getwd().
12914 2000-01-25 Martin Buchholz <martin@xemacs.org>
12916 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12918 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12920 * unexelfsgi.c (unexec): Change the way we decide which segment
12921 should be extended.
12923 Assumption that .bss section should be outside the PT_LOADable
12924 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12925 it's present) is inside the 'data' segment. This would fail the
12926 test which was used to find a segment to grow and cover new
12927 heap. Instead of this assumption, I created another one - on IRIX
12928 the segment to grow should start below .bss and it's address
12929 should extent above the end of .bss. Once this segment is
12930 identified, it's grown to accommodate the new heap and new
12931 zero-length .bss section is added at the end of .data2.
12933 2000-01-25 Martin Buchholz <martin@xemacs.org>
12935 * eval.c (Feval): Wrong number of arguments should use original
12936 function, not the indirect_function version of it.
12938 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12940 * glyphs-x.c (x_button_instantiate): Don't add image if
12941 it is not a pixmap.
12942 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12945 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12947 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12949 (DEFVAR_INT_MAGIC): Ditto.
12950 (DEFVAR_BOOL_MAGIC): Ditto.
12951 * glyphs.h: Reindent backslash.
12953 2000-01-24 Martin Buchholz <martin@xemacs.org>
12955 * glyphs-widget.c (layout_query_geometry):
12956 (layout_layout): Use correct types for gheight, gwidth.
12958 2000-01-24 Martin Buchholz <martin@xemacs.org>
12960 * EmacsManager.c (QueryGeometry): Purified.
12962 2000-01-23 Martin Buchholz <martin@xemacs.org>
12964 * alloc.c (make_float): Make sure entire object is initialized, to
12965 avoid Purify warnings.
12966 (pdump_register_sub): Remove useless assignment.
12967 (pdump): Use xmalloc, not malloc.
12968 (pdump_load): Use xmalloc, not malloc.
12970 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12977 * sysdep.c: Removed redundant #include <windows.h>
12979 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12981 * frame.c (delete_frame_internal): Do not delete device when its
12982 implementation so declares.
12983 (delete_frame_internal): Set device selected frame to nil when
12984 last frame goes away.
12986 * device-msw.c (msprinter_device_system_metrics): Implemented.
12987 (mswindows_device_system_metrics): Added 'device-dpi property.
12989 * device.c: (Fdevice_printer_p): Added.
12990 Added 'offset-workspace device metric.
12992 * console.h (device_metrics): Declared DM_offset_workspace.
12994 2000-01-23 Martin Buchholz <martin@xemacs.org>
12996 * fileio.c (Ffile_truename): Remove pointless and confusing
12997 initialization of elen.
12999 * glyphs-widget.c: Compiler warning fixes.
13001 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
13003 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
13004 instead of a Lisp_Object as argument to make it consistent with
13005 the other LIVE_P macros.
13006 (CHECK_LIVE_PROCESS): New macro.
13008 * process.c: Declare Qprocess_live_p.
13009 (Fprocess_live_p): New function.
13010 (create_process): Use PROCESS_LIVE_P.
13011 (read_process_output): Ditto.
13012 (set_process_filter): Ditto.
13013 (Fdelete_process): Ditto.
13014 (kill_buffer_processes): Ditto
13015 (process_send_signal): Use CHECK_LIVE_PROCESS.
13016 (Fprocess_input_coding_system): Check whether process is still
13017 alive (fix PR#1061).
13018 (Fprocess_output_coding_system): Ditto.
13019 (Fprocess_coding_system): Ditto.
13020 (Fset_process_input_coding_system): Ditto.
13021 (Fset_process_output_coding_system): Ditto.
13023 2000-01-23 Andy Piper <andy@xemacs.org>
13025 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
13028 * glyphs.c (mark_image_instance): take into account changed
13029 image_instance format.
13030 (image_instance_equal): ditto.
13031 (image_instance_hash): ditto.
13033 * glyphs-widget.c (widget_instantiate): Incorporate layout
13034 instantiation here. Delay layout of the layout until later.
13035 (layout_instantiate): deleted.
13036 (layout_query_geometry): new function. get the geometry of a
13038 (layout_layout): layout a layout dynamically.
13039 (image_instantiator_widget): New function - splitting up
13040 image_instantiator_format_create_glyphs_widget for netwinder
13042 (image_instantiator_buttons):
13043 (image_instantiator_edit_fields):
13044 (image_instantiator_combo_box):
13045 (image_instantiator_scrollbar):
13046 (image_instantiator_progress_guage):
13047 (image_instantiator_tree_view):
13048 (image_instantiator_tab_control):
13049 (image_instantiator_labels):
13050 (image_instantiator_layout): ditto.
13051 (image_instantiator_format_create_glyphs_widget): Call preceding
13054 2000-01-22 Martin Buchholz <martin@xemacs.org>
13056 * process.c (Fset_process_coding_system):
13057 * device-x.c (Fx_keysym_hash_table):
13060 * lstream.c (Lstream_write): Return documented value, not 0.
13062 * fileio.c (directory_file_name):
13063 (Fsubstitute_in_file_name):
13064 (Fsubstitute_insert_file_contents_internal):
13065 (Fwrite_region_internal):
13070 Remove vestigial APOLLO-conditional code.
13072 2000-01-21 Martin Buchholz <martin@xemacs.org>
13074 * getpagesize.h: Add guard macros.
13075 * libsst.h: Add guard macros.
13076 * libst.h: Add guard macros.
13077 * line-number.h: Add guard macros.
13078 * ndir.h: Add guard macros.
13079 * sysfloat.h: Add guard macros.
13080 * sysfile.h: Add guard macros.
13081 * sysproc.h: Add guard macros.
13082 * syswait.h: Add guard macros.
13083 * xintrinsic.h: Add guard macros.
13084 * xintrinsicp.h: Add guard macros.
13085 * xmmanager.h: Add guard macros.
13086 * xmmanagerp.h: Add guard macros.
13087 * xmprimitive.h: Add guard macros.
13088 * xmu.h: Add guard macros.
13089 * gpmevent.h: Add copyright statement. Add guard macros.
13090 * miscplay.h: Add guard macros.
13091 * *.h: Use consistent C-standards-approved guard macro names.
13093 * opaque.c (make_opaque): Switch parameter order.
13094 * opaque.h (make_opaque): Switch parameter order.
13095 Update all callers.
13096 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
13098 * config.h.in (type_checking_assert): Added.
13099 (bufpos_checking_assert): Added.
13101 2000-01-21 Martin Buchholz <martin@xemacs.org>
13103 * alloc.c: Harmless pdump changes.
13105 - spell alignment correctly.
13106 * sysdep.c: Use countof()
13108 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13110 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
13111 initially_selected_for_input() console method, default to 0.
13112 (semi_canonicalize_console_connection): Try to delegate to
13113 canonicalize_console_connection if no such console method.
13114 (canonicalize_console_connection): Vice versa.
13115 (print_console): Do not print nil connection.
13117 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
13118 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
13119 (XDEVIMPF_FRAMELESS_OK): Added.
13120 (CONSOLE_INHERITS_METHOD): Added.
13122 * console-msw.c (mswindows_canonicalize_console_connection):
13124 (mswindows_canonicalize_device_connection): Added.
13126 * console-msw.h (struct msprinter_device): Added this struct and
13128 (mswindows_device): Made fontlist a lisp object.
13130 * device.c (semi_canonicalize_device_connection): Try to delegate
13131 to canonicalize_device_connection if no such console method.
13132 (canonicalize_device_connection): Vice versa.
13133 (print_device): Do not print nil connection.
13135 * device-msw.c (mswindows_init_device): Call InitCommonControls
13137 (mswindows_delete_device): Removed fontlist deallocation.
13138 (mswindows_mark_device): Added.
13140 * events.c (event_equal): Added abort() at unreached code.
13141 (event_hash): Ditto.
13143 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
13144 fallback tags of Windows devices.
13146 * general.c (syms_of_general): Initialized Qmsprinter.
13148 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
13149 of fallback tags of Windows devices.
13151 * lisp.h: Declared Qmsprinter.
13153 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
13155 (mswindows_list_fonts): Ditto.
13156 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
13157 that it can be used by both mswindows and msprinter devices.
13158 (initialize_font_instance): Added.
13159 (mswindows_initialize_font_instance): Use it.
13160 (msprinter_initialize_font_instance): Added.
13162 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
13163 and implementation flags check.
13164 (redisplay_without_hooks): Changed the call to the above.
13165 (Fredraw_device): Ditto.
13166 (Fredisplay_device): Ditto.
13168 * redisplay-msw.c (get_frame_dc): Implemented.
13169 (get_frame_compdc): Implemented.
13170 (many functions): Use the two functions above to get device
13171 contexts, ether for a window or a printer.
13173 2000-01-21 Olivier Galibert <galibert@pobox.com>
13175 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
13176 initialization here.
13177 (init_symbols_once_early): Call it.
13178 * emacs.c (main_1): Call it.
13179 * symsinit.h: Declare it.
13181 2000-01-19 Olivier Galibert <galibert@pobox.com>
13183 * alloc.c: Use a lrecord_header * in the backtrace instead of a
13185 (pdump_backtrace): Ditto.
13186 (pdump_register_object): Ditto. Cleanup use of the pointers.
13187 (pdump_get_entry): Abort if trying to register a null pointer.
13188 (pdump_dump_data): Cleanup types when relocating.
13189 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
13190 (pdump_dump_rtables): Remove bad casts.
13191 (pdump_load): Cleanup relocation w.r.t union type. Use a
13192 Lisp_Object instead of a EMACS_INT for the hashtable
13195 2000-01-20 Martin Buchholz <martin@xemacs.org>
13197 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
13199 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
13201 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
13203 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
13205 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13207 * faces.h (FACE_STRIKETHRU_P): Added.
13209 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
13212 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
13213 (mswindows_set_dc_font): New function, aware of font variants,
13214 separated from mswindows_update_dc.
13216 * objects-msw.h (struct mswindows_font_instance_data): Added
13219 * objects-msw.c (mswindows_finalize_font_instance): Delete all
13220 cached fonts and the data structure.
13221 (mswindows_initialize_font_instance): Added creation of font data
13223 (mswindows_print_font_instance): Print at least something.
13224 (mswindows_create_font_variant): Implemented.
13225 (mswindows_get_hfont): Implemented.
13227 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
13229 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
13230 prototyping problem with msvc.
13232 * emacs.c (main_1): added syms_of_gui_mswindows() call
13234 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
13235 syms_of_gui_mswindows() function
13237 * symsinit.h: added the prototype for syms_of_gui_mswindows()
13239 2000-01-18 Martin Buchholz <martin@xemacs.org>
13241 * XEmacs 21.2.27 is released.
13243 2000-01-18 Martin Buchholz <martin@xemacs.org>
13245 * glyphs-eimage.c (struct tiff_error_struct):
13247 (tiff_warning_func):
13248 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
13253 * unexec.c: Remove vestigial Lucid C code.
13257 * libsst.c: Ansify.
13258 Remove declarations of errno and strerror().
13260 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
13262 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
13264 2000-01-16 Martin Buchholz <martin@xemacs.org>
13266 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
13269 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13274 Change enum eol_type to eol_type_t.
13276 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13278 * gui.c (get_gui_callback): Check cons before accessing car.
13280 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13282 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
13283 (XSETSPECIFIER_TYPE): Ditto.
13285 2000-01-17 Didier Verna <didier@xemacs.org>
13287 * redisplay.c (generate_fstring_runes): compute string size in
13288 characters, not bytes.
13290 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
13292 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
13294 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
13296 * print.c (print_error_message): Call print_prepare().
13298 2000-01-14 Martin Buchholz <martin@xemacs.org>
13300 * .dbxrc: Renamed from dbxrc.
13302 * events.c (event_to_character):
13303 Use `assert (foo)' instead of `if (!foo) abort()'
13305 * .gdbinit (xtype): Add documentation.
13306 * .gdbinit (check-temacs): New function.
13307 * .gdbinit (check-xemacs): New function.
13308 * dbxrc (check-xemacs): New function.
13309 * dbxrc (check-xemacs): New function.
13311 2000-01-14 Andy Piper <andy@xemacs.org>
13313 * glyphs-widget.c (widget_query_geometry): Make sure that we
13314 calculate default dimensions correctly.
13316 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13318 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
13320 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
13321 pdump_wire'd variable.
13323 * emacs.c: (main_1): Conditionalized calls to
13324 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
13326 2000-01-13 Martin Buchholz <martin@xemacs.org>
13328 * window.c (Fset_window_configuration):
13329 * sysdep.c (_start):
13330 * input-method-motif.c (res):
13331 * event-Xt.c (Xt_process_to_emacs_event):
13332 Simple compiler warning fixes.
13334 * bytecode.c (funcall_compiled_function): Use the original
13335 function symbol on the backtrace list in preference to the
13336 compiled_function object in error messages.
13338 2000-01-13 Andy Piper <andy@xemacs.org>
13340 * glyphs-x.c (update_widget_face): Make sure we update the widget
13341 background as well as foreground.
13343 2000-01-13 Andy Piper <andy@xemacs.org>
13345 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
13346 fields to subwindow.
13347 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
13348 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
13349 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
13350 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
13352 * glyphs-widget.c (check_valid_tab_orientation): new function.
13353 (initialize_widget_image_instance): zero orientation and
13355 (widget_instantiate): pick up orientation.
13356 (tab_control_query_geometry): return appropriate values for
13359 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
13360 appropriate creation flags for left, right and bottom tabs.
13362 * s/cygwin32.h: add tab definitions.
13364 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13366 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
13367 frame upon hiding a subwindow.
13368 (mswindows_button_instantiate): Changed the push button style to
13370 (mswindows_button_instantiate): Removed button BS_NOTIFY
13372 (mswindows_button_instantiate): Removed redundant check for
13373 a disabled gui item.
13374 (mswindows_button_instantiate): Made use of WS_TABSTOP
13375 consistent: "operable" controls (edit, button, tree, scroll) have
13376 this style, "display-only" ones (static, progress gauge) do
13377 not. This style is currently ignored by XEmacs though. Also,
13378 removed the WS_EX_CONTROLPARENT style - it is not for children,
13379 it is for their parents!
13380 (mswindows_edit_field_instantiate): Ditto.
13381 (mswindows_progress_gauge_instantiate): Ditto.
13382 (mswindows_tree_view_instantiate): Ditto.
13383 (mswindows_tab_control_instantiate): Ditto.
13384 (mswindows_scrollbar_instantiate): Ditto.
13385 (mswindows_combo_box_instantiate): Ditto.
13386 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
13387 style to the "clip" window.
13388 (mswindows_button_instantiate): Removed compilation warning by
13389 equally typing terms of the ?: operator.
13391 2000-01-12 Didier Verna <didier@xemacs.org>
13393 * redisplay.c (generate_fstring_runes): new parameter holding the
13394 last modeline-format extent.
13395 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
13396 extent, fill the glyph block with it.
13397 (generate_fstring_runes): handle these parameters.
13398 (generate_formatted_string_db): ditto.
13400 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
13401 glyphs'extents in the modeline.
13403 1999-01-11 Mike Woolley <mike@bulsara.com>
13405 * ntheap.c: Reduced the reserved heap space from 1Gb down to
13406 256Mb, as a workaround for the non-starting problem many people
13409 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13411 * console-tty.c (Fset_console_tty_output_coding_system):
13412 Force redrawing tty frame.
13414 2000-01-10 Didier Verna <didier@xemacs.org>
13416 * redisplay.c (generate_fstring_runes): fix size computation bug.
13418 2000-01-09 William M. Perry <wmperry@aventail.com>
13420 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
13422 2000-01-09 Andy Piper <andy@xemacs.org>
13424 * glyphs-msw.c: index -> i to avoid shadows.
13425 (xbm_create_bitmap_from_data): make static.
13426 (check_valid_string_or_int): deleted.
13427 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
13429 * glyphs-x.c (x_update_subwindow): remove unused args.
13431 * glyphs.c (glyph_image_instance): return the thing. Don't set the
13432 back pointer - this is done in allocate_image_instance.
13433 (query_string_font): return Qnil to make the compiler happy.
13434 (unmap_subwindow): set to ~0 to make the compiler happy.
13435 (glyph_query_geometry): comment out until used.
13436 (glyph_layout): ditto.
13438 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
13440 * insdel.c (signal_after_change): Remove extraneous unbind_to().