1 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * text-coding.c (decode_add_er_char): Support isolated-chars.
4 (char_encode_as_entity_reference): Likewise.
6 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
8 * emacs.c (Vutf_2000_lisp_directory): New variable.
9 (Vconfigure_utf_2000_lisp_directory): Likewise.
10 (complex_vars_of_emacs): Add new variable
11 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
13 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
15 * char-ucs.h (DECODE_CHAR): Delete special code for
16 `chinese-big5-1' and `chinese-big5-2'.
18 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
20 (decode_defined_char): Support CONVERSION_BIG5_1 and
22 (decode_builtin_char): Likewise.
23 (charset_code_point): Likewise.
24 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
25 'conversion in UTF-2000.
26 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
27 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
28 `chinese-big5-2' as children of `chinese-big5'.
30 * char-ucs.h (CONVERSION_BIG5_1): New macro.
31 (CONVERSION_BIG5_2): New macro.
33 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
35 * text-coding.c (char_encode_big5): Support entity-reference.
37 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
39 * text-coding.c (char_encode_as_entity_reference): New function.
40 (char_encode_utf8): Use `char_encode_as_entity_reference'.
42 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
44 * text-coding.c (decode_coding_big5): Support entity-reference
47 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
49 * text-coding.c (allocate_coding_system): Initialize initial
50 charsets for CODESYS_UTF8.
51 (Fmake_coding_system): Accept charset-g0, charset-g1 and
52 charset-g2 for CODESYS_UTF8.
53 (decode_coding_utf8): Use charset-g0.
54 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
55 to force variants to map to UCS.
57 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
59 * text-coding.c (Qutf_8_mcs): New variable.
60 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
61 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
62 instead of `utf-8' in UTF-2000.
64 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
66 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
67 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
68 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
69 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
70 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
71 CONVERSION_96x96x96x96 are introduced.
72 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
73 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
74 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
76 * char-ucs.h (CONVERSION_94): New macro.
77 (CONVERSION_96): New macro.
78 (CONVERSION_94x94): New macro.
79 (CONVERSION_96x96): New macro.
80 (CONVERSION_94x94x94): New macro.
81 (CONVERSION_96x96x96): New macro.
82 (CONVERSION_94x94x94x60): New macro.
83 (CONVERSION_94x94x94x94): New macro.
84 (CONVERSION_96x96x96x96): New macro.
86 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
88 * chartab.c (Vcharacter_variant_table): Deleted.
89 (Fchar_variants): Use character-attribute `->ucs-variants' instead
90 of `Vcharacter_variant_table'.
91 (Fput_char_attribute): Likewise.
92 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
93 (complex_vars_of_chartab): Likewise.
95 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
97 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
99 * fns.c (Qideographic_structure): New variable.
100 (Qkeyword_char): New variable.
101 (ids_format_unit): New function.
102 (Fideographic_structure_to_ids): New function.
103 (syms_of_fns): Add new symbols `ideographic-structure' and
104 `:char'; add new builtin function `ideographic-structure-to-ids'.
106 * data.c (Fchar_ref_p): New function.
107 (syms_of_data): Add new builtin function `char-ref-p'.
109 * chartab.h: Add an EXFUN for `Ffind_char'.
111 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
113 * text-coding.c (Vcharacter_composition_table): Deleted.
114 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
117 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
119 (Vcharacter_composition_table): Deleted.
120 (Fget_composite_char): Use the implementation for external-DB
121 support in every UTF-2000.
122 (Fput_char_attribute): Likewise.
123 (char_attribute_system_db_file): Don't define if external-DB
124 feature is not available.
125 (Fsave_char_attribute_table): Likewise.
126 (Fmount_char_attribute_table): Likewise.
127 (Fclose_char_attribute_table): Likewise.
128 (Freset_char_attribute_table): Likewise.
129 (Fload_char_attribute_table): Likewise.
130 (syms_of_chartab): Don't define `save-char-attribute-table',
131 `mount-char-attribute-table', `reset-char-attribute-table',
132 `close-char-attribute-table' and `load-char-attribute-table' if
133 external-DB feature is not available.
134 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
136 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
138 * text-coding.c (Qcomposition): Add extern if external-DB feature
140 (Vcharacter_composition_table): Don't add extern if external-DB
141 feature is supported.
142 (COMPOSE_ADD_CHAR): Modify for new data-representation of
143 character composition rule if external-DB feature is supported.
145 * chartab.c (Vcharacter_composition_table): Don't define if
146 external-DB feature is supported.
147 (Qcomposition): New variable.
148 (Fget_composite_char): New implementation for external-DB support.
149 (Fput_char_attribute): Use `composition' property of each
150 character instead of `Vcharacter_composition_table' to store
151 character-composition rules if external-DB feature is supported.
152 (syms_of_chartab): Add new symbol `composition'.
153 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
154 external-DB feature is supported.
156 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
158 * chartab.c (Vchar_db_stingy_mode): New variable.
159 (load_char_attribute_maybe): Close database if
160 Vchar_db_stingy_mode is not NIL.
161 (Fload_char_attribute_table_map_function): Use
162 `get_char_id_table_0' instead of `get_char_id_table'.
163 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
165 * chartab.h (get_char_id_table_0): New inline function.
166 (get_char_id_table): Use `get_char_id_table_0'.
168 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
170 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
171 and `COMPOSE_ADD_CHAR'.
172 (decode_coding_iso2022): Use `decode_flush_er_chars'.
174 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
176 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
177 instead of `DECODE_ADD_UCS_CHAR'.
178 (COMPOSE_ADD_CHAR): Likewise.
180 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
182 * text-coding.c (decode_flush_er_chars): New inline function.
183 (decode_add_er_char): New function.
184 (decode_coding_utf8): Use `decode_flush_er_chars' and
185 `decode_add_er_char'.
187 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
189 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
190 done before `decode_output_utf8_partial_char'.
192 * mule-charset.c (complex_vars_of_mule_charset): Specify
193 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
194 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
196 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
198 * mule-charset.c (decode_defined_char): New function; search
200 (decode_builtin_char): Don't search mother if
201 XCHARSET_MAX_CODE(charset) == 0.
202 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
203 == 0 even if code >= XCHARSET_MAX_CODE(charset).
204 (Fdecode_char): Use `decode_defined_char' instead of
205 `DECODE_DEFINED_CHAR'.
206 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
207 mother of `Vcharset_ucs_jis'.
209 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
210 instead of `DECODE_DEFINED_CHAR'.
212 * char-ucs.h (decode_defined_char): Renamed from
213 `DECODE_DEFINED_CHAR'; changed to normal function.
214 (DECODE_CHAR): Use `decode_defined_char' instead of
215 `DECODE_DEFINED_CHAR'.
217 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
219 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
221 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
223 * text-coding.c (Vcoded_charset_entity_reference_alist): New
225 (Quse_entity_reference): New variable.
229 (coding_system_description): Add description for
231 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
232 (allocate_coding_system): Initialize `ccs_priority_list' in
234 (Fmake_coding_system): Add description about
235 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
237 (Fcoding_system_property): Accept `disable-composition' and
238 `use-entity-reference' in UTF-2000.
239 (struct decoding_stream): Add new member `er_counter' and `er_buf'
241 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
242 (decode_coding_utf8): Decode entity-reference if
243 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
244 (char_encode_utf8): Encode non-Unicode characters as
245 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
247 (syms_of_file_coding): Add new symbols `use-entity-reference',
249 (vars_of_file_coding): Add new variable
250 `coded-charset-entity-reference-alist'.
251 (complex_vars_of_file_coding): Declare `disable-composition' and
252 `use-entity-reference' to be coding-system-properties in UTF-2000.
254 * file-coding.h (struct Lisp_Coding_System): Add new member
255 `use_entity_reference' and `ccs_priority_list'.
256 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
257 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
258 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
260 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
262 * chartab.c (save_uint8_byte_table): Don't clear the table.
263 (save_uint16_byte_table): Likewise.
264 (save_byte_table): Likewise.
265 (Fmount_char_attribute_table): New function.
266 (syms_of_chartab): Add new builtin function
267 `mount-char-attribute-table'.
269 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
271 * mule-charset.c (Fsave_charset_mapping_table): Open database as
273 (load_char_decoding_entry_maybe): Open database as read-only mode.
275 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
276 open database as "w+" mode.
277 (load_char_attribute_maybe): Open database as read-only mode.
278 (Fload_char_attribute_table): Likewise.
280 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
282 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
283 (char_table_description): Delete member `db_file'.
284 (Fmake_char_table): Don't refer `ct->db_file'.
285 (Fcopy_char_table): Likewise.
286 (Fsave_char_attribute_table): Likewise.
287 (Fclose_char_attribute_table): Likewise.
288 (Freset_char_attribute_table): Likewise.
289 (load_char_attribute_maybe): Likewise.
290 (Fload_char_attribute_table): Likewise.
292 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
294 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
296 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
297 (Fsave_char_attribute_table): Don't check `ct->db_file' if
299 (load_char_attribute_maybe): Likewise.
300 (Fload_char_attribute_table): Likewise.
302 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
304 * chartab.c (Fclose_char_attribute_table): Set Qnil on
305 `ct->db_file' unconditionally.
307 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
309 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
311 (char_table_description): Add description for `db_file' and `db'
313 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
315 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
316 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
317 (Fclose_char_attribute_table): New function.
318 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
319 (load_char_attribute_maybe): Change interface; use `cit->db_file'
321 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
322 (syms_of_chartab): Add new builtin function
323 `Fclose_char_attribute_table'.
325 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
327 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
329 (load_char_attribute_maybe): Change interface.
330 (get_char_id_table): Modify for `load_char_attribute_maybe'.
332 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
334 * database.h: Add an EXFUN for `Fdatabase_live_p'.
336 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
338 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
339 instead of `DECODE_CHAR' for mother; don't use special code for
340 chinese-big5 to use code space of chinese-big5-1 and
342 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
343 `MAX_CHAR_BIG5_CDP' for chinese-big5.
345 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
346 (MAX_CHAR_BIG5_CDP): Revival.
348 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
350 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
351 the XLFD registry-encoding name of `chinese-big5'.
353 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
355 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
356 (Qchinese_big5_cdp): Deleted.
357 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
358 (complex_vars_of_mule_charset): Delete coded-charset
361 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
362 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
363 `CHARSET_ID_OFFSET - n' for private CCS.
364 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
365 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
366 of `MIN_LEADING_BYTE'.
367 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
368 `(CHARSET_ID_OFFSET - 97)'.
369 (MIN_CHAR_BIG5_CDP): Deleted.
370 (MAX_CHAR_BIG5_CDP): Deleted.
372 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
374 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
376 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
378 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
379 (vars_of_mule): Add new variable `utf-2000-version' [moved from
382 * chartab.c (Vutf_2000_version): Moved to mule.c.
383 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
385 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
387 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
388 when HAVE_CHISE_CLIENT is not defined.
390 * mule.c (vars_of_mule): Provide feature `chise' when
391 HAVE_CHISE_CLIENT is defined.
393 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
395 * config.h.in (UTF2000): Add comment.
396 (HAVE_CHISE_CLIENT): New macro.
398 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
400 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
402 (Fput_char_attribute): Likewise.
403 (char_attribute_system_db_file): Encode file-name of attribute.
404 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
407 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
409 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
410 (Fsave_charset_mapping_table): Use
411 `char_attribute_system_db_file'.
412 (load_char_decoding_entry_maybe): Likewise.
414 * chartab.h (Qsystem_char_id): New external variable.
415 (char_attribute_system_db_file): New prototype.
417 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
418 (char_attribute_system_db_file): New function.
419 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
420 (Freset_char_attribute_table): Likewise.
421 (load_char_attribute_maybe): Likewise.
422 (Fload_char_attribute_table): Likewise.
423 (syms_of_chartab): Add new symbol `system-char-id'.
425 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
427 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
428 `XCHARSET_GRAPHIC(ccs)'.
430 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
432 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
434 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
436 * chartab.c (Q_ucs_variants): New variable.
437 (syms_of_chartab): Add new symbol `->ucs-variants'.
438 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
439 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
440 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
442 * mule-charset.c (load_char_decoding_entry_maybe): New function.
444 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
445 `HAVE_DATABASE' is defined.
446 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
447 `HAVE_DATABASE' is defined.
449 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
451 * chartab.c (Fsave_char_attribute_table): Don't clear internal
453 (Freset_char_attribute_table): New function.
454 (syms_of_chartab): Add new builtin function
455 `reset-char-attribute-table'.
457 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
459 * chartab.c (load_char_attribute_maybe): Don't make directories.
461 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
463 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
465 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
468 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
470 * mule-charset.c (Fsave_charset_mapping_table): Use
471 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
473 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
474 instead of `XCHARSET_CHARS'.
476 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
478 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
479 (XCHARSET_BYTE_SIZE): Likewise.
481 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
483 (XCHARSET_BYTE_SIZE): Likewise.
485 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
487 * chartab.c (Fput_char_attribute): Use exec-directory instead of
488 data-directory to store database.
489 (Fsave_char_attribute_table): Likewise.
490 (load_char_attribute_maybe): Likewise.
491 (Fload_char_attribute_table): Likewise.
493 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
495 * mule-charset.c (Fsave_charset_mapping_table): New function.
496 (syms_of_mule_charset): Add new builtin function
497 `save-charset-mapping-table'.
499 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
501 * char-ucs.h (decoding_table_check_elements): Delete prototype.
502 (get_ccs_octet_table): New inline function.
503 (put_ccs_octet_table): Likewise.
504 (decoding_table_put_char): Use `get_ccs_octet_table' and
505 `put_ccs_octet_table'.
506 (decoding_table_remove_char): Use `decoding_table_put_char'.
507 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
509 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
511 (make_charset): Use Qunbound instead Qnil as initial value of
514 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
516 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
517 element is Qunloaded.
518 (map_over_uint16_byte_table): Likewise.
519 (map_over_byte_table): Likewise.
520 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
521 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
522 database support, load encoding-table of the specified
523 coded-charset if it is not loaded yet.
524 (save_uint8_byte_table): New function of UTF-2000 with external
526 (save_uint16_byte_table): Likewise.
527 (save_byte_table): Likewise.
528 (Fput_char_attribute): Don't store value into external database
529 even if the external database feature is supported in UTF-2000;
530 set `attribute' as name of char-table if the external database
531 feature is supported.
532 (Fsave_char_attribute_table): New function in UTF-2000.
533 (syms_of_chartab): Add new builtin function
534 `save-char-attribute-table' in UTF-2000.
536 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
538 * chartab.c (char_attribute_table_to_put): New variable in
540 (Qput_char_table_map_function): Likewise.
541 (value_to_put): Likewise.
542 (Fput_char_table_map_function): New function in UTF-2000.
543 (put_char_table): Use `Fmap_char_attribute' for
544 CHARTAB_RANGE_CHARSET in UTF-2000.
545 (Fput_char_attribute): Store symbol instead of string in
546 `XCHAR_TABLE_NAME (table)'.
547 (load_char_attribute_maybe): Likewise.
548 (syms_of_chartab): Add new symbol/function
549 `put-char-table-map-function'.
551 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
553 * database.h: Add new EXFUN for `Fmap_database'.
555 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
556 (syms_of_database): Likewise.
558 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
560 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
561 (XCHAR_TABLE_UNLOADED): Likewise.
563 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
564 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
565 HAVE_DATABASE is defined.
566 (char_attribute_table_to_load): New variable of UTF-2000 with
567 external database support.
568 (Qload_char_attribute_table_map_function): Likewise.
569 (Fload_char_attribute_table_map_function): New function of
570 UTF-2000 with external database support.
571 (Fload_char_attribute_table): New function of UTF-2000.
572 (Fmap_char_attribute): Call Fload_char_attribute_table if
573 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
574 (syms_of_chartab): Add new symbol and function
575 `load-char-attribute-table-map-function' in UTF-2000 with external
576 database support; add new function `load-char-attribute-table' in
579 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
581 * chartab.h (load_char_attribute_maybe): New prototype for
582 UTF-2000 with DATABASE support.
583 (get_char_id_table): Use `load_char_attribute_maybe' if
584 HAVE_DATABASE is defined.
586 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
587 with DATABASE support.
589 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
591 * chartab.c (Fput_char_attribute): Use S-expression as key of
594 * chartab.h (get_char_id_table): Use S-expression as key of
597 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
599 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
600 if an element is not loaded, load the corresponding attributes
601 from an external database.
602 (map_over_uint16_byte_table): Likewise.
603 (map_over_byte_table): Likewise.
604 (map_char_table): Modify for `map_over_uint8_byte_table',
605 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
606 element is not loaded, load the corresponding attributes from an
608 (Fput_char_attribute): Change initial values to Qunloaded.
610 * chartab.h (get_char_id_table): If a character attribute is not
611 loaded and the attribute value is not found in an external
612 database, store Qunbound as the attribute value.
614 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
616 * chartab.c (BT_UINT8_unloaded): New macro.
617 (UINT8_VALUE_P): Accept Qunloaded.
618 (UINT8_ENCODE): Likewise.
619 (UINT8_DECODE): Likewise.
620 (BT_UINT16_unloaded): New macro.
621 (UINT16_VALUE_P): Accept Qunloaded.
622 (UINT16_ENCODE): Likewise.
623 (UINT16_DECODE): Likewise.
624 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
626 (mark_char_table): Mark `ct->name' in UTF-2000.
627 (char_table_description): Add `name' in UTF-2000.
628 (Fmake_char_table): Initialize `ct->name'.
629 (Fcopy_char_table): Copy `ct->name'.
630 (Fput_char_attribute): Store value into an external database if
631 HAVE_DATABASE is defined.
633 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
635 (CHAR_TABLE_NAME): New macro in UTF-2000.
636 (XCHAR_TABLE_NAME): New macro in UTF-2000.
637 (get_char_id_table): Try to read an external database if Qunloaded
638 is stored in a table.
640 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
643 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
645 * database.h: Add EXFUN definitions for Fopen_database,
646 Fput_database, Fget_database and Fclose_database.
648 * data.c (Qunloaded): New variable in UTF-2000.
650 * lisp.h (Qunloaded): New variable in UTF-2000.
652 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
654 * mule-charset.c (put_char_ccs_code_point): Modify for
655 `decoding_table_remove_char' and `decoding_table_put_char'.
656 (remove_char_ccs): Modify for `decoding_table_remove_char'.
658 * char-ucs.h (decoding_table_remove_char): Change arguments to
659 hide decoding_table vector.
660 (decoding_table_put_char): Likewise.
662 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
664 * mule-charset.c (decoding_table_remove_char): Moved to
666 (decoding_table_put_char): Likewise.
668 * char-ucs.h (decoding_table_check_elements): New prototype [moved
669 from mule-charset.c].
670 (decoding_table_remove_char): New inline function [moved from
672 (decoding_table_put_char): Likewise.
674 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
676 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
679 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
681 * mule-charset.c (decode_builtin_char): Support mother charsets.
683 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
685 * mule-charset.c (Q94x94x60): New variable.
686 (charset_code_point): Support conversion `94x94x60'.
687 (Fmake_charset): Likewise.
688 (syms_of_mule_charset): Add new symbol `94x94x60'.
690 * char-ucs.h (CONVERSION_94x94x60): New macro.
692 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
694 * mule-charset.c (charset_code_point): Unify code about
697 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
699 * mule-charset.c (charset_code_point): Merge code about builtin
700 characters into code about mother charsets; don't use
701 `range_charset_code_point'.
702 (range_charset_code_point): Deleted.
704 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
706 * mule-charset.c (Qcode_offset): New variable.
707 (Fmake_charset): Use `XUINT' to get value of `min-code' and
708 `max-code'; accept new property `code-offset'.
709 (syms_of_mule_charset): Add new symbol `code-offset'.
711 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
713 * mule-charset.c (range_charset_code_point): Fixed.
715 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
717 * mule-charset.c (decode_builtin_char): Change semantics of
718 code-offset of coded-charset.
719 (charset_code_point): Likewise.
720 (range_charset_code_point): Likewise.
721 (complex_vars_of_mule_charset): Modify for the change.
723 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
725 * mule-charset.c (Fencode_char): Reverse arguments.
727 * mule-charset.c (charset_code_point): Fixed.
729 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
731 * mule-charset.c (Vcharset_mojikyo): Deleted.
732 (Vcharset_mojikyo_2022_1): Deleted.
733 (Vcharset_mojikyo_pj_{1..21}): Deleted.
734 (Qmin_code): New variable in UTF-2000.
735 (Qmax_code): Likewise.
737 (Qconversion): Likewise.
740 (Qmojikyo_2022_1): Deleted.
741 (Qmojikyo_pj_{1..22}): Deleted.
742 (mark_charset): Mark `cs->mother'.
743 (charset_description): Add description for `mother'.
744 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
745 new arguments `mother' and `conversion'; use
746 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
747 (charset_code_point): Moved from char-ucs.h; support `mother'
749 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
750 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
751 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
752 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
753 allow 2 as the value of `graphic' in UTF-2000; add new properties
754 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
755 require `final' in UTF-2000; modify for `make_charset'.
756 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
757 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
758 (Fcharset_property): Support `mother', `min-code' and `max-code'.
759 (Fencode_char): New function.
760 (syms_of_mule_charset): Add new builtin function `encode-char' in
761 UTF-2000; add new symbols `min-code', `max-code', `mother',
762 `conversion' and `94x60'; delete symbols `mojikyo',
763 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
764 (complex_vars_of_mule_charset): Modify for `make_charset' change;
765 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
766 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
768 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
769 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
771 * char-ucs.h (Vcharset_mojikyo): Deleted.
772 (Vcharset_mojikyo_2022_1): Deleted.
773 (LEADING_BYTE_MOJIKYO): Deleted.
774 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
775 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
776 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
777 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
778 add new member `mother'; add new member `conversion'.
779 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
780 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
781 (CHARSET_MOTHER): New macro.
782 (CHARSET_CONVERSION): New macro.
783 (CONVERSION_IDENTICAL): New macro.
784 (CONVERSION_94x60): New macro.
785 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
786 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
787 (XCHARSET_MOTHER): New macro.
788 (XCHARSET_CONVERSION): New macro.
789 (MIN_CHAR_MOJIKYO): Deleted.
790 (MAX_CHAR_MOJIKYO): Deleted.
791 (DECODE_MOJIKYO_2022): Deleted.
792 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
793 (charset_code_point): Changed to non-inline function.
794 (encode_char_1): Use `charset_code_point'.
795 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
797 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
799 * lread.c (read_compiled_function): Fix prototype.
800 (read_vector): Likewise.
802 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
804 * lrecord.h (struct lrecord_header): Delete `older'.
805 (set_lheader_implementation): Delete code for `older'.
806 (set_lheader_older_implementation): Deleted.
807 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
808 (OLDER_RECORD_P): Deleted.
809 (OLDER_RECORD_HEADER_P): Deleted.
810 (alloc_older_lcrecord): Deleted.
811 (alloc_older_lcrecord_type): Deleted.
813 * alloc.c (all_older_lcrecords): Deleted.
814 (alloc_older_lcrecord): Deleted.
815 (disksave_object_finalization_1): Delete code for older objects.
816 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
817 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
819 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
821 * mule-charset.c (decoding_table_put_char): Use `make_vector'
822 instead of `make_older_vector'.
823 (put_char_ccs_code_point): Likewise.
824 (mark_charset): Mark `cs->decoding_table'.
825 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
827 * lisp.h (make_older_vector): Deleted.
828 (make_vector_newer): Deleted.
830 * config.h.in (HAVE_GGC): Deleted.
832 * alloc.c (make_older_vector): Deleted.
833 (make_vector_newer_1): Deleted.
834 (make_vector_newer): Deleted.
836 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
838 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
839 (Qideograph_daikanwa_2): New variable.
840 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
841 (complex_vars_of_mule_charset): Add new coded-charset
842 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
843 `LEADING_BYTE_DAIKANWA'.
845 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
846 (LEADING_BYTE_DAIKANWA_1): New macro.
847 (LEADING_BYTE_DAIKANWA_2): New macro.
848 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
850 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
852 * mule-charset.c (complex_vars_of_mule_charset): Change
853 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
854 the second revised version.
856 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
858 * mule-charset.c (Vcharset_ucs_smp): New variable.
859 (Vcharset_ucs_sip): New variable.
860 (Qucs_smp): New variable.
861 (Qucs_sip): New variable.
862 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
863 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
864 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
865 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
866 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
867 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
869 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
870 (LEADING_BYTE_UCS_SIP): New macro.
871 (MIN_CHAR_SMP): New macro.
872 (MAX_CHAR_SMP): New macro.
873 (MIN_CHAR_SIP): New macro.
874 (MAX_CHAR_SIP): New macro.
876 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
878 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
881 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
883 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
884 value; don't store value into `encoding_table' of `Lisp_Charset'.
885 (mark_charset): `encoding_table' was deleted.
886 (charset_description): Likewise.
887 (make_charset): Likewise.
888 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
889 `put_char_ccs_code_point'.
891 * chartab.h (Fput_char_attribute): New EXFUN.
893 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
894 is unified with normal symbol space.
895 (Fget_char_attribute): Likewise.
896 (Fput_char_attribute): Likewise; behavior of
897 `put_char_ccs_code_point' is changed.
899 * char-ucs.h: Include "elhash.h".
900 (Vchar_attribute_hash_table): New external variable.
901 (struct Lisp_Charset): Delete `encoding_table'.
902 (CHARSET_ENCODING_TABLE): New implementation; refer
903 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
906 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
908 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
911 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
913 * text-coding.c (char_encode_big5): Prefer charset-g1 than
916 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
918 * chartab.c (uint8_byte_table_description): New constant.
919 (uint8-byte-table): Use `uint8_byte_table_description'.
920 (uint16_byte_table_description): New constant.
921 (uint16-byte-table): Use `uint16_byte_table_description'.
923 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
925 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
926 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
928 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
930 * mule-charset.c (Vcharset_ucs_ks): New variable.
931 (Qucs_ks): New variable.
932 (syms_of_mule_charset): Add new symbol `ucs-ks'.
933 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
935 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
937 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
939 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
940 (Fdecode_char): Likewise.
942 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
944 (Fdefine_char): Modify for Fdecode_char.
945 (Ffind_char): Likewise.
947 * mule-charset.c (Fdecode_char): Add new optional argument
949 (Fdecode_builtin_char): Modify for `Fdecode_char'.
951 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
953 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
954 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
955 (allocate_coding_system): Initialize initial-charsets of
956 CODESYS_BIG5 in XEmacs UTF-2000.
957 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
958 CODESYS_BIG5 in XEmacs UTF-2000.
959 (decode_coding_big5): Use initial-charset-g0 and -g1 of
960 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
962 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
964 (Qideograph_hanziku_{1 .. 12}): Likewise.
965 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
967 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
968 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
969 `ideograph-hanziku-{1 .. 12}'.
971 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
972 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
973 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
974 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
975 (DECODE_DEFINED_CHAR): New inline function.
976 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
978 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
980 * mule-charset.c (Vcharset_china3_jef): Renamed from
981 `Vcharset_japanese_jef_china3'.
982 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
983 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
984 `{MIN|MAX}_CHAR_JEF_CHINA3'..
985 (syms_of_mule_charset): Rename `china3-jef' from
986 `japanese-jef-china3'.
987 (complex_vars_of_mule_charset): Likewise; rename
988 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
990 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
991 `LEADING_BYTE_JEF_CHINA3'.
992 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
993 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
995 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
997 * mule-charset.c (encode_builtin_char_1): Comment out special code
998 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1000 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1001 (MAX_CHAR_MOJIKYO_0): Comment out.
1002 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1003 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1004 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1005 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1007 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1009 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1010 (Qideograph_cbeta): New variable.
1011 (encode_builtin_char_1): Comment out special code for
1012 coded-charset `mojikyo' and `japanese-jef-china3'.
1013 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1014 (complex_vars_of_mule_charset): Add new coded-charset
1017 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1018 (MIN_CHAR_CBETA): New macro.
1019 (MAX_CHAR_CBETA): New macro.
1021 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1023 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1024 (LEADING_BYTE_JEF_CHINA3): New macro.
1025 (MIN_CHAR_JEF_CHINA3): New macro.
1026 (MAX_CHAR_JEF_CHINA3): Likewise.
1027 (DECODE_CHAR): Fixed.
1029 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1031 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1032 (Qjapanese_jef_china3): New variable.
1033 (encode_builtin_char_1): Support `japanese-jef-china3'.
1034 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1035 (complex_vars_of_mule_charset): Add new coded-charset
1036 `japanese-jef-china3'.
1038 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1040 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1041 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1042 94^4, 96^3, 96^4, 128^n and 256^n set.
1043 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1044 (map_char_table): Likewise.
1046 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1048 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1051 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1053 * chartab.h (get_char_id_table): New inline function.
1055 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1058 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1060 * chartab.h (decode_char_table_range): New prototype in XEmacs
1062 (put_char_id_table): New inline function in XEmacs UTF-2000.
1064 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1066 (decode_char_table_range): Delete static declaration in XEmacs
1069 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1071 * chartab.c (put_char_id_table): Use `put_char_table'.
1073 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1075 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1076 (map_over_uint16_byte_table): Likewise.
1077 (map_over_byte_table): Likewise.
1078 (map_char_table): Modify for `map_over_uint8_byte_table',
1079 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1082 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1084 * chartab.c (struct map_char_table_for_charset_arg): New
1086 (map_char_table_for_charset_fun): New function.
1087 (map_char_table): Use `map_char_table' for encoding_table of
1090 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1092 * chartab.c (map_char_table): Check a character is found in
1093 range->charset instead of non default value is defined in
1094 char-table when range is CHARTAB_RANGE_ROW.
1096 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1098 * chartab.c (map_char_id_table): Deleted.
1099 (Fmap_char_attribute): Use `map_char_table' instead of
1100 `map_char_id_table'.
1102 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1104 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1106 (update_syntax_table): Deleted in XEmacs UTF-2000.
1108 * syntax.c (find_defun_start): Use `syntax_table' instead of
1109 `mirror_syntax_table' in XEmacs UTF-2000.
1110 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1112 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1114 (Fmatching_paren): Likewise.
1115 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1117 (find_start_of_comment): Likewise.
1118 (find_end_of_comment): Likewise.
1119 (Fforward_comment): Likewise.
1120 (scan_lists): Likewise.
1121 (char_quoted): Likewise.
1122 (Fbackward_prefix_chars): Likewise.
1123 (scan_sexps_forward): Likewise.
1124 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1125 (update_syntax_table): Likewise.
1127 * search.c (skip_chars): Use `syntax_table' instead of
1128 `mirror_syntax_table' in XEmacs UTF-2000.
1129 (wordify): Likewise.
1130 (Freplace_match): Likewise.
1132 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1133 `mirror_syntax_table' in XEmacs UTF-2000.
1134 (WORDCHAR_P_UNSAFE): Likewise.
1135 (re_match_2_internal): Likewise.
1137 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1138 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1140 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1141 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1143 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1146 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1148 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1149 (char_table_description): Delete `mirror_table' in XEmacs
1151 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1153 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1154 (Fcopy_char_table): Likewise.
1155 (put_char_table): Don't call `update_syntax_table' in XEmacs
1158 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1159 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1160 (casify_region_internal): Likewise.
1162 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1164 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1165 `mirror_syntax_table' in XEmacs UTF-2000.
1167 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1168 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1169 (Fexpand_abbrev): Likewise.
1171 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1173 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1175 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1177 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1178 (map_over_uint16_byte_table): Likewise.
1179 (map_over_byte_table): Likewise.
1180 (get_char_id_table): Refer `cit->default_value'.
1181 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1182 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1183 of character-id ranges.
1184 (mark_char_table): Mark `ct->default_value'.
1185 (char_table_description): Add `default_value'.
1186 (fill_char_table): Use `default_value'.
1187 (decode_char_table_range): Decode `nil' as
1188 `CHARTAB_RANGE_DEFAULT'.
1189 (get_char_id_table): Refer `cit->default_value'.
1190 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1191 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1192 temporary hack; check value of char-table is bound or not.
1193 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1195 * chartab.h (struct Lisp_Char_Table): Add new member
1196 `default_value' in XEmacs UTF-2000.
1197 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1198 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1201 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1203 * chartab.h (Lisp_Char_ID_Table): Deleted.
1205 * chartab.c (char_table_description): Fix typo.
1206 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1207 `Lisp_Char_ID_Table'.
1209 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1211 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1214 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1217 * chartab.h (XCHAR_ID_TABLE): Deleted.
1218 (XSETCHAR_ID_TABLE): Deleted.
1219 (CHAR_ID_TABLE_P): Deleted.
1221 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1223 (Fget_composite_char): Likewise.
1224 (put_char_table): Likewise.
1225 (add_char_attribute_alist_mapper): Fixed.
1226 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1228 (Fget_char_attribute): Likewise.
1229 (Fget_char_attribute): Likewise.
1230 (Fmap_char_attribute): Likewise.
1232 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1234 (encode_char_1): Likewise.
1236 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1238 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1241 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1242 instead of `XCHAR_ID_TABLE'.
1243 (remove_char_ccs): Likewise.
1245 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1247 (Fget_composite_char): Likewise.
1248 (Fchar_variants): Likewise.
1249 (put_char_table): Likewise.
1250 (add_char_attribute_alist_mapper): Likewise.
1251 (Fchar_attribute_alist): Likewise.
1252 (Fget_char_attribute): Likewise.
1253 (Fput_char_attribute): Likewise.
1254 (Fmap_char_attribute): Likewise.
1255 (Fmap_char_attribute): Likewise.
1257 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1259 (encode_char_1): Likewise.
1261 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1263 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1264 `Lisp_Char_ID_Table'.
1265 (mark_char_id_table): Deleted.
1266 (print_char_id_table): Likewise.
1267 (char_id_table_equal): Likewise.
1268 (char_id_table_hash): Likewise.
1269 (char_id_table_description): Likewise.
1270 (char_id_table): Likewise.
1271 (make_char_id_table): Use `Fmake_char_table' and
1273 (get_char_id_table): Use `Lisp_Char_Table' instead of
1274 `Lisp_Char_ID_Table'.
1275 (put_char_id_table): Likewise.
1276 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1278 (Fremove_char_attribute): Likewise.
1279 (syms_of_chartab): Don't define type `char-id-table'.
1281 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1282 (char_id_table): Likewise.
1283 (GC_CHAR_ID_TABLE_P): Likewise.
1284 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1285 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1286 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1287 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1288 (get_char_id_table): Use `Lisp_Char_Table' instead of
1289 `Lisp_Char_ID_Table'.
1290 (put_char_id_table_0): Likewise.
1291 (put_char_id_table): Likewise.
1293 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1295 * chartab.h: Lisp_Byte_Table related codes are moved from
1298 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1300 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1302 * chartab.h: Don't include "chartab.h".
1303 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1304 (Lisp_Char_ID_Table): Likewise.
1305 (char_id_table): Likewise.
1306 (XCHAR_ID_TABLE): Likewise.
1307 (XSETCHAR_ID_TABLE): Likewise.
1308 (CHAR_ID_TABLE_P): Likewise.
1309 (GC_CHAR_ID_TABLE_P): Likewise.
1310 (get_char_id_table): Likewise.
1312 * char-ucs.h: Include "chartab.h".
1313 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1314 (Lisp_Char_ID_Table): Likewise.
1315 (char_id_table): Likewise.
1316 (XCHAR_ID_TABLE): Likewise.
1317 (XSETCHAR_ID_TABLE): Likewise.
1318 (CHAR_ID_TABLE_P): Likewise.
1319 (GC_CHAR_ID_TABLE_P): Likewise.
1320 (get_char_id_table): Likewise.
1322 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1324 * chartab.c (copy_uint8_byte_table): New function.
1325 (copy_uint16_byte_table): New function.
1326 (copy_byte_table): New function.
1327 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1329 (map_over_uint16_byte_table): Likewise.
1330 (map_over_byte_table): Likewise.
1331 (get_byte_table): Move prototype to chartab.h.
1332 (put_byte_table): Likewise.
1333 (put_char_id_table_0): Moved to chartab.h.
1334 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1335 (char_table_entry_equal): Likewise.
1336 (char_table_entry_hash): Likewise.
1337 (char_table_entry_description): Likewise.
1338 (char_table_entry): Likewise.
1339 (make_char_table_entry): Likewise.
1340 (copy_char_table_entry): Likewise.
1341 (get_non_ascii_char_table_value): Likewise.
1342 (map_over_charset_ascii): Likewise.
1343 (map_over_charset_control_1): Likewise.
1344 (map_over_charset_row): Likewise.
1345 (map_over_other_charset): Likewise.
1346 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1347 (print_char_table): Likewise.
1348 (char_table_equal): Likewise.
1349 (char_table_hash): Likewise.
1350 (char_table_description): Likewise.
1351 (fill_char_table): Likewise.
1352 (Fcopy_char_table): Likewise.
1353 (get_char_table): Likewise.
1354 (Fget_range_char_table): Likewise.
1355 (put_char_table): Likewise.
1356 (map_char_table): Likewise.
1357 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1360 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1362 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1363 `Vauto_fill_chars' in XEmacs UTF-2000.
1365 * chartab.h (get_byte_table): New prototype [moved from
1367 (put_byte_table): Likewise [moved from chartab.c].
1368 (put_char_id_table_0): New inline function [moved from chartab.c].
1369 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1370 (Lisp_Char_Table_Entry): Likewise.
1371 (char_table_entry): Likewise.
1372 (XCHAR_TABLE_ENTRY): Likewise.
1373 (XSETCHAR_TABLE_ENTRY): Likewise.
1374 (CHAR_TABLE_ENTRYP): Likewise.
1375 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1376 (NUM_ASCII_CHARS): Likewise.
1377 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1378 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1380 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1382 * chartab.c (get_char_id_table): Change interface.
1383 (put_char_id_table_0): New function.
1384 (put_char_id_table): Change interface; new implementation.
1385 (Fget_composite_char): Modify for interface change of
1386 `get_char_id_table'.
1387 (Fchar_variants): Likewise.
1388 (add_char_attribute_alist_mapper): Likewise.
1389 (Fchar_attribute_alist): Likewise.
1390 (Fget_char_attribute): Likewise.
1391 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1392 as same as character as the first argument like `put-char-table';
1393 modify for interface change of `put_char_id_table'.
1394 (Fremove_char_attribute): Modify for interface change of
1395 `put_char_id_table'.
1397 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1399 * text-coding.c: Sync up with XEmacs 21.2.41.
1400 (COMPOSE_ADD_CHAR): Modify for interface change of
1401 `get_char_id_table'.
1403 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1404 change of `put_char_id_table'.
1405 (remove_char_ccs): Likewise.
1407 * chartab.h (put_char_id_table): Change interface.
1409 * char-ucs.h (get_char_id_table): Change interface.
1410 (charset_code_point): Modify for interface change of
1411 `get_char_id_table'.
1412 (encode_char_1): Likewise.
1414 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1416 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1418 (map_over_uint16_byte_table): Likewise.
1419 (map_over_byte_table): Likewise.
1420 (map_char_id_table): Add new argument `range' like
1422 (Fmap_char_attribute): Add new argument `range' like
1425 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1427 * chartab.c (map_over_uint8_byte_table): Change interface of
1428 mapping function to use struct chartab_range instead of Emchar.
1429 (map_over_uint16_byte_table): Likewise.
1430 (map_over_byte_table): Likewise.
1431 (map_char_id_table): Likewise.
1432 (struct slow_map_char_id_table_arg): Deleted.
1433 (slow_map_char_id_table_fun): Deleted.
1434 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1435 function `slow_map_char_table_fun' instead of struct
1436 `slow_map_char_id_table_arg' and function
1437 `slow_map_char_id_table_fun'.
1439 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1441 * mule-charset.c: Move char-it-table related codes to chartab.c.
1442 (Vutf_2000_version): Moved to chartab.c.
1443 (Fdefine_char): Likewise.
1444 (Ffind_char): Likewise.
1445 (syms_of_mule_charset): Move types `uint8-byte-table',
1446 `uint16-byte-table', `byte-table' and `char-id-table' to
1447 chartab.c; move functions `char_attribute_list,
1448 `find_char_attribute_table, `char_attribute_alist,
1449 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1450 `map_char_attribute, `define_char, `find_char, `char_variants and
1451 `get_composite_char to chartab.c; move symbols `=>ucs',
1452 `->decomposition', `compat', `isolated', `initial', `medial',
1453 `final', `vertical', `noBreak', `fraction', `super', `sub',
1454 `circle', `square', `wide', `narrow', `small' and `font' to
1456 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1457 setting codes for `Vcharacter_composition_table' and
1458 `Vcharacter_variant_table' to chartab.c.
1459 (complex_vars_of_mule_charset): Move setting code for
1460 `Vchar_attribute_hash_table' to chartab.c.
1462 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1463 (make_char_id_table): New prototype.
1464 (put_char_id_table): Likewise.
1465 (Fget_char_attribute): Likewise.
1467 * chartab.c: Move char-id-table related code from mule-charset.c.
1468 (Vutf_2000_version): Moved from mule-charset.c.
1470 * char-ucs.h (Qucs): New external variable.
1471 (put_char_ccs_code_point): New prototype.
1472 (remove_char_ccs): Likewise.
1474 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1476 * mule-charset.c (Vcharset_ucs_jis): New variable.
1477 (Qucs_jis): Likewise.
1478 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1479 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1481 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1483 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1485 * mule-charset.c (map_over_uint8_byte_table): New function.
1486 (map_over_uint16_byte_table): Likewise.
1487 (map_over_byte_table): Likewise.
1488 (map_char_id_table): Likewise.
1489 (slow_map_char_id_table_fun): Likewise.
1490 (Fmap_char_attribute): Likewise.
1491 (syms_of_mule_charset): Add new function `map-char-attribute'.
1493 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1495 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1496 (syms_of_mule_charset): Add new function `find-char'.
1498 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1500 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1502 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1503 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1505 (complex_vars_of_mule_charset): Add new coded-charset
1506 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1507 `ideograph-gt-pj-*'.
1509 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1511 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1513 * mule-charset.c (encode_builtin_char_1): Purge codes about
1514 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1515 {MIN|MAX}_CHAR_HEBREW.
1516 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1517 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1519 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1520 (MAX_CHAR_GREEK): Purged.
1521 (MIN_CHAR_CYRILLIC): Purged.
1522 (MAX_CHAR_CYRILLIC): Purged.
1523 (MIN_CHAR_HEBREW): Commented out.
1524 (MAX_CHAR_HEBREW): Likewise.
1526 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1528 * mule-charset.c (Qto_ucs): New variable.
1529 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1530 (Fdefine_char): Likewise.
1531 (syms_of_mule_charset): Add new symbol `=>ucs'.
1533 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1535 * mule-charset.c (Fdecode_char): Fixed.
1537 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1539 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1540 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1543 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1545 * mule-charset.c (Vcharset_ucs_big5): New variable.
1546 (Qucs_big5): Likewise.
1547 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1548 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1550 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1552 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1554 * mule-charset.c (decode_builtin_char): Check Big5 code range
1555 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1557 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1559 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1560 (Qchinese_gb12345): Likewise.
1561 (Fdecode_builtin_char): Fixed.
1562 (syms_of_mule_charset): Add `chinese-gb12345'.
1563 (complex_vars_of_mule_charset): Add coded-charset
1566 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1567 (LEADING_BYTE_CHINESE_GB12345): New macro.
1569 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1571 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1572 and `latin-viscii-upper' for `latin-viscii'.
1574 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1576 * mule-charset.c (Fdecode_builtin_char): Comment out
1577 regularization code for ISO-IR GR representation.
1579 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1581 * mule-charset.c (decode_builtin_char): New function; renamed from
1582 `make_builtin_char'; return -1 instead of signal.
1583 (Fdecode_builtin_char): Use `decode_builtin_char'.
1585 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1586 `make_builtin_char'.
1587 (DECODE_CHAR): Use `decode_builtin_char' instead of
1588 `make_builtin_char'; use mapping table of `chinese-big5' for
1589 `chinese-big5-{1,2}'.
1591 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1593 * text-coding.c (char_encode_big5): New function.
1594 (char_finish_big5): Likewise.
1595 (reset_encoding_stream): Use `char_encode_big5' and
1596 `char_finish_big5' for CODESYS_BIG5.
1597 (mule_encode): Don't use `encode_coding_big5'.
1598 (encode_coding_big5): Deleted.
1600 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1602 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1603 0x81- in XEmacs UTF-2000.
1604 (detect_coding_big5): Likewise.
1606 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1608 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1609 generate character-id if the CCS property does not have
1610 corresponding predefined character.
1611 (make_builtin_char): Return -1 if corresponding predefined
1612 character is not found.
1613 (Fdecode_char): Return nil if corresponding character is not
1615 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1616 don't map to builtin ucs space.
1618 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1620 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1621 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1623 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1625 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1626 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1627 (Qideograph_gt): Likewise.
1628 (Qideograph_gt_pj_{1..11}): Likewise.
1629 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1630 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1631 `ideograph-gt-pj-11'.
1632 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1633 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1634 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1636 * char-ucs.h (LEADING_BYTE_GT): New macro.
1637 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1638 (MIN_CHAR_GT): Likewise.
1639 (MAX_CHAR_GT): Likewise.
1641 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1643 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1644 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1646 * doprnt.c (unsigned_int_converters): Add `c'.
1647 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1649 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1650 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1652 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1653 (MAX_CHAR_MOJIKYO_0): New macro.
1654 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1656 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1658 * mule-charset.c (Fdefine_char): Delete cemented out code.
1659 (encode_builtin_char_1): Modify for new allocation of builtin
1662 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1664 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1666 * mule-charset.c (Vcharset_ucs_cns): New variable.
1667 (Qucs_cns): New variable.
1668 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1669 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1671 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1673 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1675 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1677 * search.c (search_buffer): Make `charset_base_code' as
1678 character-id >> 6 to eliminate the corresponding last byte in
1679 UTF-8 representation [I'm not sure it is right thing].
1680 (boyer_moore): Likewise.
1682 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1684 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1685 representation in MULE.
1687 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1689 * text-coding.c (Fmake_coding_system): Use
1690 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1691 `EXTERNAL_PROPERTY_LIST_LOOP'.
1693 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1695 * text-coding.c (decode_output_utf8_partial_char): New function.
1696 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1698 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1700 * text-coding.c (decode_coding_utf8): Output original byte
1701 sequence if it is broken; change order of conditions.
1703 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1706 * mb-multibyte.h (BYTE_ASCII_P):
1707 Use bit ops for char-signedness safety.
1708 (BYTE_C0_P): Use bit ops for char-signedness safety.
1709 (BYTE_C1_P): Use bit ops for char-signedness safety.
1711 * character.h: (XCHAR_OR_CHAR_INT):
1712 Always use inline function.
1713 Remove redundant type checking assert() - XINT will abort quite
1716 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1718 * text-coding.c: (Fencode_shift_jis_char):
1719 (Fencode_big5_char):
1720 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1721 Replace 0 with '\0' when working with bytes.
1722 Replace initial "(" with "\(" in docstrings.
1724 (Fmake_coding_system):
1725 When type is ccl and value is vector, register it with a proper
1726 symbol. And checks whether the given ccl program is valid.
1727 (mule_decode): When calling ccl_driver, if src indicates
1728 NULL pointer, set an empty string instead.
1729 (mule_encode): Likewise.
1732 (detect_coding_sjis):
1733 (decode_coding_sjis):
1734 (detect_coding_big5):
1735 (decode_coding_big5):
1736 (detect_coding_ucs4):
1737 (decode_coding_ucs4):
1738 (detect_coding_utf8):
1739 (decode_coding_utf8):
1740 (detect_coding_iso2022):
1741 (decode_coding_iso2022):
1742 (decode_coding_no_conversion):
1744 Make all detecting and decoding functions take an Extbyte * arg.
1745 (text_encode_generic):
1746 (encode_coding_big5):
1747 (encode_coding_no_conversion):
1749 Make all encoding functions take a Bufbyte * arg.
1750 Use size_t instead of unsigned int for memory sizes.
1751 Only cast to unsigned char whenever dereferencing Extbyte *.
1753 (struct lrecord_description fcd_description_1): Use countof.
1754 (complex_vars_of_file_coding):
1755 Use countof instead of sizeof.
1756 Use CHECK_NATNUM instead of CHECK_INT.
1758 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1760 * mule-charset.c (Fget_char_attribute): Add new optional argument
1762 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1763 (remove_char_ccs): Likewise.
1765 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1767 * text-coding.c (char_encode_shift_jis): New implementation in
1769 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1772 * mule-charset.c (Vcharset_chinese_big5): New variable in
1774 (Qchinese_big5): New variable in UTF-2000.
1775 (BIG5_SAME_ROW): New macro in UTF-2000.
1776 (make_builtin_char): Use builtin characters of
1777 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1778 characters of `Vcharset_chinese_big5'.
1779 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1780 (complex_vars_of_mule_charset): Add new coded-charset
1781 `chinese-big5' in UTF-2000.
1783 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1784 (Vcharset_chinese_big5): New external variable declaration.
1785 (Vcharset_japanese_jisx0208_1990): Likewise.
1787 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1789 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1791 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1793 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1795 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1796 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1797 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1800 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1802 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1804 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1806 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1809 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1811 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1812 for `CHARSET_BY_ATTRIBUTES'.
1813 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1814 `CHARSET_BY_ATTRIBUTES'.
1816 * text-coding.c (struct decoding_stream): Rename member `CH' to
1818 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1819 (decode_coding_sjis): Likewise.
1820 (decode_coding_big5): Likewise.
1821 (decode_coding_ucs4): Likewise.
1822 (decode_coding_utf8): Likewise.
1823 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1824 `CHARSET_BY_ATTRIBUTES'.
1825 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1826 `str->counter'; decode 3, 4 bytes sets.
1827 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1829 (decode_coding_no_conversion): Use `str->cpos' instead of
1832 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1833 (Qmojikyo_2022_1): New variable.
1834 (make_charset): Don't use `CHARSET_TYPE_*'.
1835 (range_charset_code_point): Support coded-charset
1837 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1838 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1839 `CHARSET_BY_ATTRIBUTES'.
1840 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1841 `CHARSET_BY_ATTRIBUTES'.
1842 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1843 (complex_vars_of_mule_charset): Add new coded-charset
1846 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1847 interface; changed to inline function.
1849 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1850 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1851 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1852 (CHARSET_TYPE_94): Deleted.
1853 (CHARSET_TYPE_94X94): Deleted.
1854 (CHARSET_TYPE_96): Deleted.
1855 (CHARSET_TYPE_96X96): Deleted.
1856 (CHARSET_TYPE_128): Deleted.
1857 (CHARSET_TYPE_128X128): Deleted.
1858 (CHARSET_TYPE_256): Deleted.
1859 (CHARSET_TYPE_256X256): Deleted.
1860 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1862 (DECODE_MOJIKYO_2022): New inline function.
1863 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1864 `Vcharset_mojikyo_2022_1'.
1866 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1868 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1870 (put_byte_table): Likewise.
1871 (char_id_table_equal): Use `get_byte_table' [new implementation].
1873 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1875 * mule-charset.c: Include <limits.h> in UTF-2000.
1876 (BT_UINT8_MIN): New macro in UTF-2000.
1877 (BT_UINT8_MAX): New macro in UTF-2000.
1878 (BT_UINT8_t): New macro in UTF-2000.
1879 (BT_UINT8_nil): New macro in UTF-2000.
1880 (BT_UINT8_unbound): New macro in UTF-2000.
1881 (INT_UINT8_P): New inline function in UTF-2000.
1882 (UINT8_VALUE_P): New inline function in UTF-2000.
1883 (UINT8_ENCODE): New inline function in UTF-2000.
1884 (UINT8_DECODE): New inline function in UTF-2000.
1885 (mark_uint8_byte_table): New function in UTF-2000.
1886 (print_uint8_byte_table): New function in UTF-2000.
1887 (uint8_byte_table_equal): New function in UTF-2000.
1888 (uint8_byte_table_hash): New function in UTF-2000.
1889 (make_uint8_byte_table): New function in UTF-2000.
1890 (uint8_byte_table_same_value_p): New function in UTF-2000.
1891 (BT_UINT16_MIN): New macro in UTF-2000.
1892 (BT_UINT16_MAX): New macro in UTF-2000.
1893 (BT_UINT16_t): New macro in UTF-2000.
1894 (BT_UINT16_nil): New macro in UTF-2000.
1895 (BT_UINT16_unbound): New macro in UTF-2000.
1896 (INT_UINT16_P): New inline function in UTF-2000.
1897 (UINT16_VALUE_P): New inline function in UTF-2000.
1898 (UINT16_ENCODE): New inline function in UTF-2000.
1899 (UINT16_DECODE): New inline function in UTF-2000.
1900 (UINT8_TO_UINT16): New inline function in UTF-2000.
1901 (mark_uint16_byte_table): New function in UTF-2000.
1902 (print_uint16_byte_table): New function in UTF-2000.
1903 (uint16_byte_table_equal): New function in UTF-2000.
1904 (uint16_byte_table_hash): New function in UTF-2000.
1905 (make_uint16_byte_table): New function in UTF-2000.
1906 (uint16_byte_table_same_value_p): New function in UTF-2000.
1907 (print_byte_table): New function in UTF-2000.
1908 (byte-table): Use `print_byte_table' as printer.
1909 (make_byte_table): Delete second argument `older'.
1910 (byte_table_same_value_p): New function in UTF-2000.
1911 (copy_byte_table): Deleted.
1912 (get_byte_table): New function in UTF-2000.
1913 (put_byte_table): New function in UTF-2000.
1914 (print_char_id_table): New function in UTF-2000.
1915 (char-id-table): Use `print_char_id_table' as printer.
1916 (make_char_id_table): Delete second argument `older'.
1917 (get_char_id_table): Use `get_byte_table [new implementation].
1918 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1920 (Ffind_char_attribute_table): New function in UTF-2000.
1921 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1922 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1923 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1924 (syms_of_mule_charset): Add new function
1925 `find-char-attribute-table' in UTF-2000.
1927 * lrecord.h (enum lrecord_type): Add
1928 `lrecord_type_uint16_byte_table' and
1929 `lrecord_type_uint8_byte_table'.
1931 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1932 (Lisp_Uint8_Byte_Table): New type.
1933 (XUINT8_BYTE_TABLE): New macro.
1934 (XSETUINT8_BYTE_TABLE): New macro.
1935 (UINT8_BYTE_TABLE_P): New macro.
1936 (GC_UINT8_BYTE_TABLE_P): New macro.
1937 (struct Lisp_Uint16_Byte_Table): New structure.
1938 (Lisp_Uint16_Byte_Table): New type.
1939 (XUINT16_BYTE_TABLE): New macro.
1940 (XSETUINT16_BYTE_TABLE): New macro.
1941 (UINT16_BYTE_TABLE_P): New macro.
1942 (GC_UINT16_BYTE_TABLE_P): New macro.
1944 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1946 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1947 (Vcharacter_ideographic_strokes_table): Deleted.
1948 (Vcharacter_total_strokes_table): Deleted.
1949 (Vcharacter_morohashi_daikanwa_table): Deleted.
1950 (Vcharacter_decomposition_table): Deleted.
1951 (Qname): Deleted because it is duplicated.
1952 (Qideographic_radical): Deleted.
1953 (Qideographic_strokes): Deleted.
1954 (Qtotal_strokes): Deleted.
1955 (Qmorohashi_daikanwa): Deleted.
1956 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1957 `ideographic-radical', `ideographic-strokes', `total-strokes',
1958 `morohashi-daikanwa' and `->decomposition'.
1959 (Fget_char_attribute): Likewise.
1960 (Fput_char_attribute): Likewise; use `make-vector' instead of
1961 `make_older_vector' for `->decomposition' value.
1962 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1963 `ideograph-daikanwa'.
1964 (syms_of_mule_charset): Delete builtin symbols `name',
1965 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1966 `morohashi-daikanwa'.
1967 (vars_of_mule_charset): Don't setup
1968 `Vcharacter_ideographic_radical_table',
1969 `Vcharacter_ideographic_strokes_table',
1970 `Vcharacter_total_strokes_table',
1971 `Vcharacter_morohashi_daikanwa_table' and
1972 `Vcharacter_decomposition_table'.
1974 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1976 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1977 `make_older_vector', `make_vector_newer_1' and
1978 `make_vector_newer'.
1980 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1981 `make_older_vector' and `make_vector_newer'.
1983 * config.h.in (HAVE_GGC): New macro.
1985 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1987 * mule-charset.c (struct char_attribute_list_closure): New
1988 structure in UTF-2000.
1989 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1990 (Fchar_attribute_list): Likewise.
1991 (Fset_charset_mapping_table): Use `make_vector_newer'.
1992 (Fdecode_builtin_char): New function in UTF-2000.
1993 (syms_of_mule_charset): Add new function `char-attribute-list' and
1994 `decode-builtin-char' in UTF-2000.
1996 * lisp.h (make_vector_newer): New prototype.
1998 * alloc.c (make_vector_newer_1): New function.
1999 (make_vector_newer): New function.
2001 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2003 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2006 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2008 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2009 (Vcharacter_attribute_table): Deleted.
2010 (Vcharacter_name_table): Deleted.
2011 (put_char_attribute): Deleted.
2012 (remove_char_attribute): Deleted.
2013 (struct char_attribute_alist_closure): New structure.
2014 (add_char_attribute_alist_mapper): New function.
2015 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2016 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2017 (Fget_char_attribute): Likewise.
2018 (Fput_char_attribute): Likewise.
2019 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2020 of `remove_char_attribute'.
2021 (Fdefine_char): Return character.
2022 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2023 and `Vcharacter_name_table'.
2024 (complex_vars_of_mule_charset): Likewise
2025 `Vchar_attribute_hash_table'.
2027 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2029 * character.h (CHARC_CHARSET): New macro.
2030 (CHARC_CHARSET_ID): New macro.
2031 (CHARC_CODE_POINT): New macro.
2032 (CHARC_COLUMNS): New macro.
2033 (CHARC_TO_CHAR): New inline function.
2034 (CHARC_EQ): New inline function.
2035 (CHARC_ASCII_EQ): New inline function.
2036 (CHARC_IS_SPACE): New inline function.
2037 (ASCII_TO_CHARC): New inline function.
2039 * char-ucs.h (encode_char_2): Deleted.
2040 (ENCODE_CHAR): Use `encode_char_1' again.
2041 (breakup_char_1): Likewise.
2042 (CHAR_TO_CHARC): New inline function.
2044 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2046 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2048 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2049 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2050 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2051 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2052 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2054 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2056 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2058 (x_output_display_block): Use `CHARC_CHARSET' and
2061 * redisplay-tty.c (tty_output_display_block): Use
2063 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2065 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2067 * insdel.c (find_charsets_in_charc_string): Use
2069 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2070 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2071 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2072 (convert_charc_string_into_malloced_string): Likewise.
2074 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2076 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2077 instead of <Emchar_dynarr *> for buf; use
2078 `convert_bufbyte_string_into_charc_dynarr' instead of
2079 `convert_bufbyte_string_into_emchar_dynarr'; use
2080 `find_charsets_in_charc_string' instead of
2081 `find_charsets_in_emchar_string'.
2084 - Include "character.h".
2085 (struct rune): New member `cglyph'; delete member `chr'.
2087 * redisplay.c (redisplay_text_width_charc_string): New function;
2088 delete `redisplay_text_width_emchar_string'.
2089 (rtw_charc_dynarr): New variable; renamed from
2090 `rtw_emchar_dynarr'.
2091 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2092 `rtw_emchar_dynarr'; use
2093 `convert_bufbyte_string_into_charc_dynarr' instead of
2094 `convert_bufbyte_string_into_emchar_dynarr'; use
2095 `redisplay_text_width_charc_string' instead of
2096 `redisplay_text_width_emchar_string'.
2097 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2098 instead of `rtw_emchar_dynarr'; use
2099 `convert_bufbyte_string_into_charc_dynarr' instead of
2100 `convert_bufbyte_string_into_emchar_dynarr'.
2101 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2102 `redisplay_text_width_charc_string' instead of
2103 `redisplay_text_width_emchar_string'.
2104 (create_text_block): Modify for <struct rune> change.
2105 (generate_formatted_string_db): Likewise.
2106 (create_string_text_block): Likewise.
2107 (pixel_to_glyph_translation): Likewise.
2109 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2110 instead of <const Emchar *>.
2111 (x_text_width): Likewise.
2112 (x_output_display_block): Use <Charc_dynarr *> instead
2113 <Emchar_dynarr *>; modify for <structure rune> change.
2114 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2117 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2118 <const Emchar *>; use `charc_string_displayed_columns' instead of
2119 `emchar_string_displayed_columns'.
2120 (tty_output_display_block): Use <Charc_dynarr *> instead of
2121 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2122 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2123 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2124 `tty_output_emchar_dynarr_dynarr'.
2125 (tty_output_charc_dynarr): New function; delete
2126 `tty_output_charc_dynarr'.
2128 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2129 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2130 <Emchar_dynarr *> for buf; use
2131 `convert_bufbyte_string_into_charc_dynarr' instead of
2132 `convert_bufbyte_string_into_emchar_dynarr'.
2134 * frame.c (title_string_charc_dynarr): New variable; renamed from
2135 `title_string_emchar_dynarr'.
2136 (generate_title_string): Use `title_string_charc_dynarr' instead
2137 of `title_string_emchar_dynarr'; use
2138 `convert_charc_string_into_malloced_string' instead of
2139 `convert_emchar_string_into_malloced_string'.
2140 (init_frame): Use `title_string_charc_dynarr' instead of
2141 `title_string_emchar_dynarr'.
2144 - Include "character.h".
2145 (struct console_methods): Use <const Charc *> instead of <const
2146 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2147 <Emchar_dynarr *> in output_string_method.
2149 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2152 * console-stream.c (stream_text_width): Use <const Charc *>
2153 instead of <const Emchar *>.
2155 * character.h (Charc_dynarr): New type.
2157 * char-ucs.h (structure Charc): New structure; define new type
2160 * char-lb.h (DECODE_CHAR): New inline function.
2161 (encode_char_1): New inline function.
2162 (ENCODE_CHAR): New macro.
2163 (structure Charc): New structure; define new type `Charc'.
2165 * char-1byte.h (Vcharset_control_1): New macro.
2166 (Vcharset_latin_iso8859_1): New macro.
2167 (DECODE_CHAR): New inline function.
2168 (encode_char_1): New inline function.
2169 (ENCODE_CHAR): New macro.
2170 (structure Charc): New structure; define new type `Charc'.
2172 * insdel.c (find_charsets_in_charc_string): New function; delete
2173 `find_charsets_in_emchar_string'.
2174 (charc_string_displayed_columns): New function; delete
2175 `emchar_string_displayed_columns'.
2176 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2177 `convert_bufbyte_string_into_emchar_dynarr'.
2178 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2179 `convert_charc_string_into_bufbyte_dynarr'.
2180 (convert_charc_string_into_malloced_string): New function; delete
2181 `convert_charc_string_into_malloced_string'.
2183 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2184 `find_charsets_in_emchar_string'.
2185 (charc_string_displayed_columns): New prototype; delete
2186 `emchar_string_displayed_columns'.
2187 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2188 `convert_charc_string_into_bufbyte_dynarr'.
2189 (convert_charc_string_into_malloced_string): New prototype; delete
2190 `convert_charc_string_into_malloced_string'.
2192 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2194 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2196 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2198 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2200 * char-ucs.h: Use <short> for <Charset_ID>.
2202 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2205 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2207 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2210 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2212 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2214 (Qmorohashi_daikanwa): New variable.
2215 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2216 for `morohashi-daikanwa' attribute.
2217 (Fget_char_attribute): Likewise.
2218 (Fput_char_attribute): Likewise.
2219 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2220 has the same value of `ideograph-daikanwa'.
2221 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2222 (vars_of_mule_charset): Setup
2223 `Vcharacter_morohashi_daikanwa_table'.
2225 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2227 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2229 (add_charset_to_list_mapper): Add `key' instead of
2230 `XCHARSET_NAME (value)' to return aliases.
2232 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2234 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2236 (Vcharacter_ideographic_strokes_table): New variable.
2237 (Qideographic_radical): New variable.
2238 (Qideographic_strokes): New variable.
2239 (Fchar_attribute_alist): Use
2240 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2241 attribute; use `Vcharacter_ideographic_strokes_table' for
2242 `ideographic-strokes' attribute.
2243 (Fget_char_attribute): Likewise.
2244 (Fput_char_attribute): Likewise.
2245 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2246 `ideographic-strokes'.
2247 (vars_of_mule_charset): Setup
2248 `Vcharacter_ideographic_radical_table' and
2249 `Vcharacter_ideographic_strokes_table'.
2251 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2253 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2254 (Qtotal_strokes): New variable.
2255 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2256 `total-strokes' attribute.
2257 (Fget_char_attribute): Likewise.
2258 (Fput_char_attribute): Likewise.
2259 (syms_of_mule_charset): Add new symbol `total-strokes'.
2260 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2262 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2264 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2265 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2267 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2268 `->decomposition' attribute.
2269 (Fput_char_attribute): Likewise.
2270 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2272 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2274 * mule-charset.c (decoding_table_check_elements): New function.
2275 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2277 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2279 * mule-charset.c (Fset_charset_mapping_table): Use
2280 `put_char_ccs_code_point'.
2282 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2284 * mule-charset.c (decoding_table_put_char): New inline function.
2285 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2287 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2289 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2290 (XCHARSET_BYTE_SIZE): New macro.
2291 (decoding_table_remove_char): New inline function.
2292 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2293 `decoding_table_remove_char'.
2294 (remove_char_ccs): Use `decoding_table_remove_char'.
2295 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2297 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2299 * mule-charset.c (Vcharacter_name_table): New variable.
2300 (Qname): New variable.
2301 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2303 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2304 `Vcharacter_name_table' for `name' attribute.
2305 (Fremove_char_attribute): Use function `remove_char_ccs'.
2306 (put_char_ccs_code_point): New function.
2307 (remove_char_ccs): New function.
2308 (syms_of_mule_charset): Add new symbol `name'.
2309 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2311 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2313 * mule-charset.c (make_byte_table): Add new argument `older'.
2314 (make_char_id_table): Likewise.
2315 (copy_char_id_table): Comment out because it is not used.
2316 (put_char_id_table): Modify for `make_byte_table'.
2317 (Fput_char_attribute): Make encoding_table as older object;
2318 inherit older bit of `Vcharacter_composition_table'.
2319 (mark_charset): Don't mark `cs->encoding_table'.
2320 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2321 normal object; make `Vcharacter_composition_table' as an older
2322 object; delete staticpro for `Vcharacter_composition_table'; make
2323 `Vcharacter_variant_table' as a normal object.
2325 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2326 (mark_object): Don't check older object in UTF-2000.
2328 * lrecord.h (struct lrecord_header): Add new member `older' in
2330 (set_lheader_implementation): Setup `SLI_header->older' in
2332 (set_lheader_older_implementation): New macro in UTF-2000.
2333 (OLDER_RECORD_P): New macro in UTF-2000.
2334 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2335 (alloc_older_lcrecord): New prototype in UTF-2000.
2336 (alloc_older_lcrecord_type): New macro in UTF-2000.
2338 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2340 * mule-charset.c (byte_table_description): Use
2341 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2342 (char_id_table_description): Delete bogus `, 1'.
2343 (Fget_char_attribute): Refer encoding_table of each coded-charset
2344 to get value of coded-charset attribute of a character.
2345 (Fput_char_attribute): Use `make_older_vector' instead of
2346 `make_vector'; use encoding_table of each coded-charset to store
2347 value of coded-charset attribute of a character.
2348 (Fremove_char_attribute): Use encoding_table of each coded-charset
2349 to store value of coded-charset attribute of a character.
2350 (mark_charset): Mark `cs->encoding_table'; don't mark
2351 `cs->decoding_table'.
2352 (charset_description): Add description of new member
2354 (make_charset): Initialize `encoding_table'.
2356 * char-ucs.h (struct Lisp_Charset): Add new member
2358 (CHARSET_ENCODING_TABLE): New macro.
2359 (XCHARSET_ENCODING_TABLE): New macro.
2360 (charset_code_point): New implementation.
2361 (encode_char_1): Likewise.
2363 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2364 (disksave_object_finalization_1): Call finalizers of
2365 `all_older_lcrecords' in UTF-2000.
2366 (make_older_vector): New function in UTF-2000.
2367 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2370 * lisp.h (make_older_vector): New prototype in UTF-2000.
2372 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2374 * lrecord.h (enum lrecord_type): Rename
2375 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2377 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2378 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2379 `get_char_code_table'.
2381 * mule-charset.c (mark_char_id_table): Renamed from
2382 `mark_char_code_table'.
2383 (char_id_table_equal): Renamed from `char_code_table_equal'.
2384 (char_id_table_hash): Renamed from `char_code_table_hash'.
2385 (make_char_id_table): Renamed from `make_char_code_table'.
2386 (copy_char_id_table): Renamed from `copy_char_code_table'.
2387 (get_char_id_table): Renamed from `get_char_code_table'.
2388 (put_char_id_table): Renamed from `put_char_code_table'.
2389 (to_char_id): Renamed from `to_char_code'.
2391 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2392 `Lisp_Char_Code_Table'.
2393 (char_id_table): Renamed from `char_code_table'.
2394 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2395 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2396 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2397 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2398 (get_char_id_table): Renamed from `get_char_code_table'.
2400 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2402 * lrecord.h (enum lrecord_type): Rename
2403 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2405 * mule-charset.c (mark_byte_table): Renamed from
2406 `mark_char_byte_table'.
2407 (byte_table_equal): Renamed from `char_byte_table_equal'.
2408 (byte_table_hash): Renamed from `byte_table_hash'.
2409 (make_byte_table): Renamed from `make_byte_table'.
2410 (copy_byte_table): Renamed from `copy_char_byte_table'.
2412 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2413 `Lisp_Char_Byte_Table'.
2414 (byte_table): Renamed from `char_byte_table'.
2415 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2416 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2417 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2418 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2420 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2422 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2423 (dfc_convert_to_internal_format): Likewise.
2425 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2426 * text-coding.c (Fcoding_system_alias_p): New function.
2427 * text-coding.c (Fcoding_system_aliasee): New function.
2428 * text-coding.c (append_suffix_to_symbol): New function.
2429 * text-coding.c (dangling_coding_system_alias_p): New function.
2430 * text-coding.c (Ffind_coding_system):
2431 * text-coding.c (Fcopy_coding_system):
2432 * text-coding.c (encode_coding_no_conversion):
2433 * text-coding.c (syms_of_file_coding):
2434 * text-coding.c (vars_of_file_coding):
2435 Rewrite coding system alias code.
2436 Allow nested aliases, like symbolic links.
2437 Allow redefinition of coding system aliases.
2438 Prevent existence of dangling coding system aliases.
2439 Eliminate convert_to_external_format.
2440 Eliminate convert_to_internal_format.
2442 * text-coding.c: Change enum eol_type to eol_type_t.
2444 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2446 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2447 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2449 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2450 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2452 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2454 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2455 `ideograph-daikanwa'.
2457 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2458 (Vcharset_ucs_bmp): Likewise.
2459 (Vcharset_mojikyo): Add new extern variable definition.
2460 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2461 (Vcharset_latin_iso8859_3): Likewise.
2462 (Vcharset_latin_iso8859_4): Likewise.
2463 (Vcharset_latin_iso8859_9): Likewise.
2464 (Vcharset_latin_viscii_lower): Likewise.
2465 (Vcharset_latin_viscii_upper): Likewise.
2466 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2467 `mojikyo' code-point is used to decode.
2468 (encode_char_2): New function [to convert `mojikyo' code-point to
2469 Mojikyo font encoding].
2470 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2471 (breakup_char_1): Likewise.
2472 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2474 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2476 * text-coding.c (Fmake_coding_system): Add document about
2477 `disable-composition' property.
2479 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2481 * text-coding.c (Qdisable_composition): New variable; delete
2483 (Fmake_coding_system): Add new property `disable-composite';
2484 delete property `composite'.
2485 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2486 instead of `!CODING_SYSTEM_COMPOSITE'.
2487 (syms_of_file_coding): Add new symbol `disable-composition';
2488 delete symbol `composite'.
2490 * file-coding.h (struct Lisp_Coding_System): Add
2491 `disable_composition'; delete `enable_composition'.
2492 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2493 `CODING_SYSTEM_COMPOSITE'.
2494 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2495 `XCODING_SYSTEM_COMPOSITE'.
2497 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2499 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2502 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2504 * text-coding.c (Qcomposite): New variable.
2505 (Fmake_coding_system): Add new property `composite'.
2506 (struct decoding_stream): Add `combined_char_count',
2507 `combined_chars' and `combining_table' in UTF-2000.
2508 (COMPOSE_FLUSH_CHARS): New macro.
2509 (COMPOSE_ADD_CHAR): New macro.
2510 (reset_decoding_stream): Reset `str->combined_char_count' and
2511 `str->combining_table' in UTF-2000.
2512 (decode_coding_iso2022): Modify for character-decomposition.
2513 (syms_of_file_coding): Add new symbol `composite'.
2515 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2517 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2518 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2519 of `Vcharacter_composition_table' if `->decomposition' property
2521 (Qlatin_tcvn5712): New variable.
2522 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2523 (complex_vars_of_mule_charset): Add new coded-charset
2526 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2528 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2530 * file-coding.h (struct Lisp_Coding_System): Add
2531 `enable_composition'.
2532 (CODING_SYSTEM_COMPOSITE): New macro.
2533 (XCODING_SYSTEM_COMPOSITE): New macro.
2535 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2537 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2539 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2541 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2542 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2544 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2546 * mule-charset.c (Vcharset_mojikyo): New variable.
2547 (Fdefine_char): Don't use coded-charset which does not have
2548 non-builtin character range to allocate character-id.
2549 (Qmojikyo): New variable.
2550 (syms_of_mule_charset): Add new symbol `mojikyo'.
2551 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2553 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2554 (LEADING_BYTE_MOJIKYO): New macro.
2555 (MIN_CHAR_MOJIKYO): New macro.
2556 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2557 (MAX_CHAR_MOJIKYO): New macro.
2559 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2561 * mule-charset.c (remove_char_attribute): Fixed.
2563 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2565 * mule-charset.c (remove_char_attribute): New function.
2566 (Fremove_char_attribute): New function.
2567 (encode_builtin_char_1): Comment out builtin-support for
2568 greek-iso8859-7 and cyrillic-iso8859-5.
2569 (Fdecode_char): Check `code' is an integer.
2570 (syms_of_mule_charset): Add `remove-char-attribute'.
2571 (MIN_CHAR_GREEK): Deleted.
2572 (MAX_CHAR_GREEK): Likewise.
2573 (MIN_CHAR_CYRILLIC): Likewise.
2574 (MAX_CHAR_CYRILLIC): Likewise.
2575 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2576 MAX_CHAR_GREEK for `greek-iso8859-7'.
2578 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2579 (MAX_CHAR_GREEK): Likewise.
2580 (MIN_CHAR_CYRILLIC): Likewise.
2581 (MAX_CHAR_CYRILLIC): Likewise.
2583 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2585 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2586 format is used without `ucs' property.
2587 (Fdecode_char): Fix problem with GR representation.
2588 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2589 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2591 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2593 * mule-charset.c (make_builtin_char): New function.
2594 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2595 (Fset_charset_mapping_table): Modify for new representation of
2597 (Fdecode_char): New function.
2598 (syms_of_mule_charset): Add new builtin function `decode-char' in
2601 * char-ucs.h (make_builtin_char): New prototype.
2602 (DECODE_CHAR): New inline function.
2603 (MAKE_CHAR): Use `DECODE_CHAR'.
2605 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2607 * text-coding.c (parse_charset_conversion_specs): Use
2608 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2610 (iso2022_designate): Likewise.
2612 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2613 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2615 * mule-charset.c (Vcharset_ucs): New variable.
2616 (print_charset): Change design; use `CHARSET_CHARS' and
2617 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2618 (make_charset): Change signature to specify `chars' and
2619 `dimension' instead of `type'.
2620 (range_charset_code_point): Modify for 256^n-set.
2621 (encode_builtin_char_1): Encode as `ucs' in default.
2622 (Fmake_charset): Modify for `make_charset'.
2623 (Fmake_reverse_direction_charset): Likewise.
2624 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2626 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2629 * char-ucs.h (Vcharset_ucs): New variable.
2630 (LEADING_BYTE_UCS): New macro.
2631 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2632 and `chars' to `unsigned short' from `unsigned int'.
2633 (CHARSET_TYPE): Deleted.
2634 (XCHARSET_TYPE): Deleted.
2636 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2638 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2640 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2641 (ENCODE_CHAR): New macro.
2643 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2645 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2646 to 0.14 (Kawachi-Katakami).
2648 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2650 * text-coding.c (char_encode_shift_jis): Modify for
2651 `charset_code_point'.
2652 (char_encode_iso2022): Likewise.
2654 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2655 (integer) instead of list of <Lisp_Object>s (integers) as the
2656 format of code-point of a coded-charset.
2657 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2658 (encode_builtin_char_1): New function; delete
2659 `split_builtin_char'.
2660 (charset_code_point): Return <int> instead of <Lisp_Object>.
2661 (Fsplit_char): Don't use `SPLIT_CHAR'.
2663 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2664 prototype for `split_builtin_char'.
2665 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2666 (charset_code_point): Likewise.
2667 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2668 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2670 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2672 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2673 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2675 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2677 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2679 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2680 (MAX_CHAR_OBS_94x94): Deleted.
2682 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2684 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2686 * char-ucs.h (MAX_CHAR_BMP): New macro.
2688 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2690 * text-coding.c: Sync with r21-2-24.
2692 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2694 * file-coding.c: Modify for UTF-2000.
2696 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2698 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2701 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2703 * mule-charset.c (split_builtin_char): Delete builtin support for
2704 `katakana-jisx0201'.
2705 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2706 BMP area in builtin representation.
2708 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2709 `Vcharset_katakana_jisx0201'.
2711 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2713 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2714 (Qisolated): New variable.
2715 (Qinitial): New variable.
2716 (Qmedial): New variable.
2717 (Qfinal): New variable.
2718 (Qvertical): New variable.
2719 (Qsmall): New variable.
2720 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2721 `Qvertical' and `Qsmall'.
2722 (Qmojikyo_pj_[1 .. 21]): New variable.
2723 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2724 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2725 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2728 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2730 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2731 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2732 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2734 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2736 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2737 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2739 (Qjapanese_jisx0208_1990): New variable.
2740 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2741 (complex_vars_of_mule_charset): Add new coded-charset
2742 `japanese-jisx0208-1990'.
2744 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2745 (MIN_CHAR_JIS_X0208_1990): New macro.
2746 (MAX_CHAR_JIS_X0208_1990): New macro.
2748 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2750 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2751 coded-charset is not found.
2753 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2755 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2756 (Fdefine_char): Use `Fmake_char'.
2758 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2760 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2761 (Vcharset_hiragana_jisx0208): Deleted.
2762 (Vcharset_katakana_jisx0208): Deleted.
2763 (Qideograph_daikanwa): New variable.
2764 (Qhiragana_jisx0208): Deleted.
2765 (Qkatakana_jisx0208): Deleted.
2766 (split_builtin_char): Split `ideograph-daikanwa'.
2767 (Fsplit_char): New implementation for UTF-2000.
2768 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2769 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2770 (complex_vars_of_mule_charset): Add new coded-charset
2771 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2772 `katakana-jisx0208'.
2774 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2775 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2776 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2777 (MIN_CHAR_DAIKANWA): New macro.
2778 (MAX_CHAR_DAIKANWA): New macro.
2780 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2782 * data.c (Fstring_to_number): Don't recognize floating point if
2785 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2787 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2789 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2791 * mule-charset.c (Qsquare): New variable.
2792 (to_char_code): Add `Qsquare'.
2793 (syms_of_mule_charset): Add new symbol `square'.
2795 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2797 * mule-charset.c (Qcircle): New variable.
2798 (to_char_code): Add `Qcircle'.
2799 (syms_of_mule_charset): Add new symbol `circle'.
2801 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2803 * mule-charset.c (Qfont): New variable.
2804 (to_char_code): Add `Qfont'.
2805 (syms_of_mule_charset): Add new symbol `font'.
2807 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2809 * mule-charset.c (Qsub): New variable.
2810 (to_char_code): Add `Qsub'.
2811 (syms_of_mule_charset): Add new symbol `sub'.
2813 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2815 * mule-charset.c (Fput_char_attribute): Convert each element of
2816 VALUE to GL position if ATTRIBUTE is a GR-set,
2818 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2820 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2821 coded-charset is a GR-set.
2823 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2825 * mule-charset.c (Fput_char_attribute): Check each element of
2826 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2828 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2830 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2832 (Qethiopic_ucs): New variable in UTF-2000.
2833 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2834 (complex_vars_of_mule_charset): Add new coded-charset
2835 `ethiopic-ucs' in UTF-2000.
2837 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2838 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2840 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2842 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2844 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2846 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2849 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2851 * mule-charset.c (Vcharacter_variant_table): New variable.
2852 (Q_ucs): New variable.
2853 (Fchar_variants): New function.
2854 (Fput_char_attribute): Register `->ucs' value to
2855 `Vcharacter_variant_table'.
2856 (syms_of_mule_charset): Add new function `char-variants' and new
2858 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2860 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2862 * mule-charset.c (get_char_code_table): Allow negative character
2864 (put_char_code_table): Likewise.
2865 (Vcharacter_composition_table): New variable.
2866 (Q_decomposition): New variable.
2867 (Qwide): New variable.
2868 (Qnarrow): New variable.
2869 (Qcompat): New variable.
2870 (QnoBreak): New variable.
2871 (Qsuper): New variable.
2872 (Qfraction): New variable.
2873 (to_char_code): New function.
2874 (Fget_composite_char): New function.
2875 (Fput_char_attribute): Register `->decomposition' value to
2876 `Vcharacter_composition_table'.
2877 (syms_of_mule_charset): Add new function `get-composite-char', new
2878 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2879 `super' and `fraction'.
2880 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2882 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2884 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2885 character; copy the return value.
2887 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2889 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2891 * mule-charset.c (range_charset_code_point): Must use make_int.
2892 (split_builtin_char): New function.
2894 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2896 * mule-charset.c (char_byte_table): Change name from
2897 "char-code-table" to "char-byte-table".
2898 (mark_char_code_table): New function.
2899 (char_code_table_equal): New function.
2900 (char_code_table_hash): New function.
2901 (char_code_table_description): New constant.
2902 (char_code_table): New type.
2903 (make_char_code_table): New function.
2904 (copy_char_code_table): New function.
2905 (get_char_code_table): Modify for `char_code_table' type.
2906 (put_char_code_table): Likewise.
2907 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2910 * char-ucs.h (char_code_table): New type.
2911 (XCHAR_CODE_TABLE): New macro.
2912 (XSETCHAR_CODE_TABLE): New macro.
2913 (CHAR_CODE_TABLE_P): New macro.
2914 (GC_CHAR_CODE_TABLE_P): New macro.
2915 (struct Lisp_Char_Code_Table): New structure.
2917 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2919 * mule-charset.c (Fmake_charset): Setup byte_offset for
2922 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2924 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2927 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2929 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2932 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2934 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2935 charset, it is regarded as a charset.
2936 (put_char_attribute): New function in UTF-2000.
2937 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2938 charset, mapping-table of the charset is modified.
2939 (Fdefine_char): New function in UTF-2000.
2940 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2941 `Fput_char_attribute'.
2942 (syms_of_mule_charset): Add new function `define-char' and new
2943 symbol `ucs' in UTF-2000.
2944 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2946 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2948 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2949 non-UTF-2000 configuration.
2951 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2953 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2954 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2956 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2958 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2959 (Fset_charset_mapping_table): Likewise.
2961 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2962 (CHARSET_ENCODING_TABLE): Delete.
2963 (XCHARSET_ENCODING_TABLE): Delete.
2964 (charset_code_point): New interface.
2966 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2968 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2969 instead of `charset_get_byte1' and `charset_get_byte2'.
2971 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2972 (charset_get_byte2): Deleted.
2974 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2976 * char-ucs.h (SPLIT_CHAR): New inline function.
2977 (breakup_char_1): Use `SPLIT_CHAR'.
2979 * mule-charset.c (range_charset_code_point): New function.
2980 (charset_code_point): New function.
2982 * char-ucs.h (range_charset_code_point): New interface.
2983 (breakup_char_1): Use `range_charset_code_point'.
2985 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2987 * mule-charset.c (Fmake_charset): Delete unused local variable
2990 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2991 (breakup_char_1): Find a charset and code-point in
2992 `Vcharacter_attribute_table'.
2994 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2996 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2999 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3001 * mule-charset.c (Vcharacter_attribute_table): New variable.
3002 (Fchar_attribute_alist): New function.
3003 (Fget_char_attribute): New function.
3004 (Fput_char_attribute): New function.
3005 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3007 (syms_of_mule_charset): Add new function `char-attribute-alist',
3008 `get-char-attribute' and `put-char-attribute'.
3009 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3011 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3013 * mule-charset.c (Fmake_charset): Just use
3014 `get_unallocated_leading_byte'.
3016 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3017 sets; don't use final-byte based number for private sets.
3019 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3021 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3024 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3026 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3029 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3031 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3032 of `CHAR_LEADING_BYTE' in UTF-2000.
3034 * insdel.c (find_charsets_in_bufbyte_string): Use
3035 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3036 (find_charsets_in_emchar_string): Likewise.
3038 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3039 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3041 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3042 (CHAR_CHARSET_ID): New macro.
3044 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3046 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3047 charset-id - MIN_LEADING_BYTE.
3048 (put_char_table): Likewise.
3050 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3052 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3053 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3054 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3055 (CHARSET_ID_OFFSET): New macro.
3056 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3057 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3058 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3059 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3061 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3063 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3064 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3065 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3066 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3067 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3069 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3071 * mule-charset.c (next_allocated_leading_byte): New variable in
3073 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3074 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3075 (get_unallocated_leading_byte): Simply use
3076 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3077 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3080 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3081 (MAX_LEADING_BYTE_PRIVATE): New macro.
3082 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3083 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3085 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3087 * mule-charset.c (Fmake_charset): Allocate final-byte based
3088 charset-id for 94-set, 96-set and 94x94-set.
3090 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3092 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3094 (Fmake_charset): Likewise.
3095 (complex_vars_of_mule_charset): Modify the font registry of
3096 `ucs-bmp' not to match `Ethiopic-Unicode'.
3098 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3100 * mule-charset.c (complex_vars_of_mule_charset): Add font
3101 registory of `ucs-bmp'.
3103 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3105 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3106 coded-charsets in `default-coded-charset-priority-list' when
3107 breaking up a character.
3109 * mule-charset.c (Vcharset_latin_viscii): New variable.
3110 (Qlatin_viscii): New variable.
3111 (make_charset): Don't use `decoding_table'.
3112 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3114 (Fset_charset_mapping_table): New implementation.
3115 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3116 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3117 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3118 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3119 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3120 charset `latin_viscii'.
3122 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3123 (CHARSET_TYPE_94X94): Change to 1 from 2.
3124 (CHARSET_TYPE_96): Change to 2 from 1.
3125 (CHARSET_TYPE_128): New macro.
3126 (CHARSET_TYPE_128X128): Change to 5 from 4.
3127 (CHARSET_TYPE_256): New macro.
3128 (CHARSET_TYPE_256X256): Change to 7 from 5.
3129 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3131 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3133 * text-coding.c (char_encode_shift_jis): Refer
3134 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3135 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3137 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3138 (char_byte_table_equal): New function in UTF-2000.
3139 (char_byte_table_hash): New function in UTF-2000.
3140 (char_byte_table_description): New constant in UTF-2000.
3141 (char_byte_table): New type in UTF-2000.
3142 (make_char_byte_table): New function in UTF-2000.
3143 (copy_char_byte_table): New function in UTF-2000.
3144 (make_char_code_table): New macro in UTF-2000.
3145 (get_char_code_table): New function in UTF-2000.
3146 (put_char_code_table): New function in UTF-2000.
3147 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3148 (charset_description): Add setting in UTF-2000.
3149 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3150 `CHARSET_TO_BYTE1_TABLE(cs)'.
3151 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3152 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3153 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3154 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3155 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3156 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3157 `CHARSET_TO_BYTE2_TABLE(cs)'.
3159 * char-ucs.h (char_byte_table): New type.
3160 (XCHAR_BYTE_TABLE): New macro.
3161 (XSETCHAR_BYTE_TABLE): New macro.
3162 (CHAR_BYTE_TABLE_P): New macro.
3163 (GC_CHAR_BYTE_TABLE_P): New macro.
3164 (struct Lisp_Char_Byte_Table): New structure.
3165 (get_char_code_table): New interface.
3166 (Emchar_to_byte_table): Deleted.
3167 (get_byte_from_character_table): Deleted.
3168 (struct Lisp_Charset): Add `encoding_table'; delete
3169 `to_byte1_table' and `to_byte2_table'.
3170 (CHARSET_ENCODING_TABLE): New macro.
3171 (CHARSET_TO_BYTE1_TABLE): Deleted.
3172 (CHARSET_TO_BYTE2_TABLE): Deleted.
3173 (XCHARSET_ENCODING_TABLE): New macro.
3174 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3175 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3177 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3179 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3180 `vietnamese-viscii-*'.
3182 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3184 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3185 (Qvietnamese_viscii_upper): New variable.
3186 (Fdefine_charset_alias): New function.
3187 (syms_of_mule_charset): Add new function `define-charset-alias'.
3188 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3189 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3192 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3194 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3195 (MAX_CHAR_OBS_94x94): New macro.
3196 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3199 * mule-charset.c (put_byte_from_character_table): Change unit size
3201 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3203 (Fmake_reverse_direction_charset): Modify dummy argument of
3204 `make_charset' for non-UTF-2000 environment.
3206 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3208 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3210 * mule-charset.c (destroy_byte_from_character_table): New macro.
3211 (latin_jisx0201_to_ucs): Deleted.
3212 (latin_iso8859_2_to_ucs): Deleted.
3213 (latin_iso8859_3_to_ucs): Deleted.
3214 (latin_iso8859_4_to_ucs): Deleted.
3215 (latin_iso8859_9_to_ucs): Deleted.
3216 (latin_viscii_lower_to_ucs): Deleted.
3217 (latin_viscii_upper_to_ucs): Deleted.
3218 (mark_charset): Mark `cs->decoding_table'.
3219 (Fcharset_mapping_table): Fix DOC-string.
3220 (Fset_charset_mapping_table): New function.
3221 (syms_of_mule_charset): Add nwe function
3222 `set-charset-mapping-table'.
3223 (complex_vars_of_mule_charset): Don't setup and use
3226 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3228 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3231 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3233 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3234 (Vcharset_katakana_jisx0208): New variable.
3235 (Qhiragana_jisx0208): New variable.
3236 (Qkatakana_jisx0208): New variable.
3237 (make_charset): Add new argument `byte_offset'.
3238 (charset_get_byte1): Modify for new coded-charset definition; use
3239 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3240 `XCHARSET_BYTE_OFFSET'.
3241 (Fmake_charset): Modify for `make_charset'.
3242 (Fmake_reverse_direction_charset): Likewise.
3243 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3244 `katakana-jisx0208'.
3245 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3246 `.' in font registry of charset `katakana-jisx0201',
3247 `latin-jisx0201', `vietnamese-viscii-lower' and
3248 `vietnamese-viscii-upper'; modify DOC-string of charset
3249 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3250 registry of charset `japanese-jisx0208' not to use font for JIS
3251 X0208:1990; add new charset `hiragana-jisx0208' and
3252 `katakana-jisx0208'.
3254 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3255 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3256 (struct Lisp_Charset): Add `byte_offset'.
3257 (CHARSET_BYTE_OFFSET): New macro.
3258 (XCHARSET_UCS_MIN): New macro.
3259 (XCHARSET_UCS_MAX): New macro.
3260 (XCHARSET_CODE_OFFSET): New macro.
3261 (XCHARSET_BYTE_OFFSET): New macro.
3262 (MIN_CHAR_HIRAGANA): New macro.
3263 (MAX_CHAR_HIRAGANA): New macro.
3264 (MIN_CHAR_KATAKANA): New macro.
3265 (MAX_CHAR_KATAKANA): New macro.
3266 (MAKE_CHAR): Modify for new coded-charset definition; use
3267 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3268 `XCHARSET_BYTE_OFFSET'.
3270 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3272 * mule-charset.c (CHAR96): Deleted.
3273 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3275 (latin_iso8859_2_to_ucs): Likewise.
3276 (latin_iso8859_3_to_ucs): Likewise.
3277 (latin_iso8859_4_to_ucs): Likewise.
3278 (latin_iso8859_9_to_ucs): Likewise.
3279 (latin_viscii_lower_to_ucs): Likewise.
3280 (latin_viscii_upper_to_ucs): Likewise.
3281 (latin_tcvn5712_to_ucs): Commented out.
3282 (make_charset): Change type of argument `decoding_table' from
3283 <Emchar*> to <Lisp_Object> [vector of characters].
3284 (Fmake_charset): Modify for `make_charset'.
3285 (Fmake_reverse_direction_charset): Likewise.
3286 (Fcharset_mapping_table): New function in UTF-2000.
3287 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3289 (complex_vars_of_mule_charset): Modify for type change of
3290 `*_to_ucs'; modify for `make_charset'.
3292 * char-ucs.h (struct Lisp_Charset): Change type of
3293 `decoding_table' from <Emchar*> to <Lisp_Object>.
3294 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3296 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3298 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3299 error with non-UTF-2000-Mule.
3301 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3303 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3305 (Vcharset_chinese_cns11643_4): Likewise.
3306 (Vcharset_chinese_cns11643_5): Likewise.
3307 (Vcharset_chinese_cns11643_6): Likewise.
3308 (Vcharset_chinese_cns11643_7): Likewise.
3309 (Qchinese_cns11643_3): Likewise.
3310 (Qchinese_cns11643_4): Likewise.
3311 (Qchinese_cns11643_5): Likewise.
3312 (Qchinese_cns11643_6): Likewise.
3313 (Qchinese_cns11643_7): Likewise.
3314 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3315 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3316 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3317 (complex_vars_of_mule_charset): Likewise.
3319 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3321 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3323 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3324 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3326 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3328 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3330 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3331 (breakup_char_1): Likewise.
3333 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3334 one of them includes the specified character.
3336 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3338 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3340 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3342 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3344 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3346 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3347 definition for non-UTF-2000 Mule.
3348 (latin_iso8859_3_to_ucs): Likewise.
3349 (latin_iso8859_4_to_ucs): Likewise.
3350 (latin_iso8859_9_to_ucs): Likewise.
3351 (latin_jisx0201_to_ucs): Likewise.
3352 (MIN_CHAR_THAI): Likewise.
3353 (MAX_CHAR_THAI): Likewise.
3354 (MIN_CHAR_GREEK): Likewise.
3355 (MAX_CHAR_GREEK): Likewise.
3356 (MIN_CHAR_HEBREW): Likewise.
3357 (MAX_CHAR_HEBREW): Likewise.
3358 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3359 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3360 (MIN_CHAR_CYRILLIC): Likewise.
3361 (MAX_CHAR_CYRILLIC): Likewise.
3363 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3365 * char-ucs.h (breakup_char_1): Use
3366 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3367 thai-tis620 and katakana-jisx0201 area.
3369 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3371 * char-ucs.h (breakup_char_1): Use
3372 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3375 * text-coding.c (reset_encoding_stream): Fixed.
3376 (char_encode_ucs4): Delete `& 255'.
3378 * char-ucs.h (breakup_char_1): Use
3379 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3381 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3383 * file-coding.c (Fmake_coding_system): Don't set up
3384 `codesys->fixed.size'.
3385 (encode_coding_no_conversion): Don't refer
3386 `str->codesys->fixed.size'.
3388 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3390 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3391 (latin_a_char_to_byte1): Deleted.
3392 (latin_a_char_to_byte2): Deleted.
3394 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3396 * mule-charset.c (make_charset): Add new argument `ucs_min',
3397 `ucs_max' and `code_offset'.
3398 (charset_get_byte1): New implementation [delete specific charset
3399 depended implementations].
3400 (Fmake_charset): Modify for `make_charset'.
3401 (Fmake_reverse_direction_charset): Likewise.
3402 (complex_vars_of_mule_charset): Likewise.
3404 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3406 (CHARSET_UCS_MIN): New macro.
3407 (CHARSET_UCS_MAX): New macro.
3408 (CHARSET_CODE_OFFSET): New macro.
3409 (MAKE_CHAR): Delete charset depended definitions [except
3412 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3414 * char-ucs.h (breakup_char_1): Use
3415 `Vdefault_coded_charset_priority_list' for C0-Controls,
3416 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3418 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3420 * char-ucs.h (charset_get_byte1): New function.
3421 (XCHARSET_GET_BYTE1): Deleted.
3422 (charset_get_byte2): New function.
3423 (XCHARSET_GET_BYTE2): Deleted.
3424 (Vdefault_coded_charset_priority_list): New external variable.
3425 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3426 `Vdefault_preferred_coded_charset_list'.
3428 * mule-charset.c (charset_get_byte1): New function.
3429 (charset_get_byte2): New function.
3430 (Vdefault_coded_charset_priority_list): New variable.
3431 (vars_of_mule_charset): Add new variable
3432 `default-coded-charset-priority-list'.
3434 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3436 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3437 (XCHARSET_GET_BYTE2): New inline function.
3438 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3439 `XCHARSET_GET_BYTE2'.
3441 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3443 * mule-charset.c (make_charset): Initialize
3444 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3445 NULL if table is not defined.
3447 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3449 * text-coding.c (char_encode_shift_jis): Use
3450 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3451 `ucs_to_latin_jisx0201'.
3453 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3454 (ucs_to_latin_iso8859_2): Deleted.
3455 (ucs_to_latin_iso8859_3): Deleted.
3456 (ucs_to_latin_iso8859_4): Deleted.
3457 (ucs_to_latin_iso8859_9): Deleted.
3458 (ucs_to_latin_viscii_lower): Deleted.
3459 (ucs_to_latin_viscii_upper): Deleted.
3460 (ucs_to_latin_tcvn5712): Deleted.
3461 (make_charset): Add new argument `decoding_table'; set up
3462 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3463 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3464 `decoding_table' is defined in UTF-2000.
3465 (Fmake_charset): Modify for `make_charset'.
3466 (Fmake_reverse_direction_charset): Likewise.
3467 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3468 and `GENERATE_96_SET'.
3470 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3471 (ucs_to_latin_jisx0201): Deleted.
3472 (latin_iso8859_2_to_ucs): Deleted.
3473 (ucs_to_latin_iso8859_2): Deleted.
3474 (latin_iso8859_3_to_ucs): Deleted.
3475 (ucs_to_latin_iso8859_3): Deleted.
3476 (latin_iso8859_4_to_ucs): Deleted.
3477 (ucs_to_latin_iso8859_4): Deleted.
3478 (latin_iso8859_9_to_ucs): Deleted.
3479 (ucs_to_latin_iso8859_9): Deleted.
3480 (latin_viscii_lower_to_ucs): Deleted.
3481 (ucs_to_latin_viscii_lower): Deleted.
3482 (latin_viscii_upper_to_ucs): Deleted.
3483 (ucs_to_latin_viscii_upper): Deleted.
3484 (struct Lisp_Charset): Renamed `encoding_table' to
3485 `to_byte1_table'; add `to_byte2_table'.
3486 (CHARSET_DECODING_TABLE): New macro.
3487 (CHARSET_TO_BYTE1_TABLE): New macro.
3488 (CHARSET_TO_BYTE2_TABLE): New macro.
3489 (XCHARSET_DECODING_TABLE): New macro.
3490 (XCHARSET_TO_BYTE1_TABLE): New macro.
3491 (XCHARSET_TO_BYTE2_TABLE): New macro.
3492 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3494 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3495 don't use `ucs_to_*' tables.
3497 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3499 * text-coding.c (Fmake_coding_system): Don't set up
3500 `codesys->fixed.size'.
3501 (encode_coding_no_conversion): Use `if' instead of `switch'.
3503 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3505 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3507 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3508 (Fmake_charset): Modify for `make_charset'.
3509 (Fmake_reverse_direction_charset): Likewise.
3510 (complex_vars_of_mule_charset): Likewise.
3512 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3514 * text-coding.c (char_encode_shift_jis): Use table
3515 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3517 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3519 * text-coding.c (text_encode_generic): Use `if' instead of
3521 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3524 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3526 * text-coding.c (encode_coding_sjis): Deleted.
3527 (char_encode_shift_jis): New function.
3528 (char_finish_shift_jis): New function.
3529 (reset_encoding_stream): Set up `encode_char' and `finish' for
3530 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3531 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3532 (char_encode_utf8): Treat `eol_type'.
3534 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3536 * file-coding.c (decode_coding_iso2022): Use
3537 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3539 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3541 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3544 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3546 * char-lb.h (CHAR_COLUMNS): New macro.
3548 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3550 * text-coding.c (char_encode_ucs4): New function.
3551 (char_finish_ucs4): New function.
3552 (encode_coding_ucs4): Deleted.
3553 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3554 (text_encode_generic): Delete local variable `charset' and `half'.
3555 (ucs_to_mule_table): Deleted.
3556 (mule_to_ucs_table): Deleted.
3557 (Fset_ucs_char): Deleted.
3558 (ucs_to_char): Deleted.
3559 (Fucs_char): Deleted.
3560 (Fset_char_ucs): Deleted.
3561 (Fchar_ucs): Deleted.
3562 (decode_ucs4): Deleted.
3563 (mule_char_to_ucs4): Deleted.
3564 (encode_ucs4): Deleted.
3565 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3566 (decode_coding_utf8): Likewise.
3567 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3568 (char_encode_iso2022): Fixed.
3569 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3570 `Fset_char_ucs' and `Fchar_ucs'.
3571 (complex_vars_of_file_coding): Don't initialize
3572 `ucs_to_mule_table'.
3574 * objects-tty.c (tty_initialize_font_instance): Don't use
3577 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3580 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3581 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3583 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3584 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3585 (emchar_string_displayed_columns): Likewise.
3587 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3588 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3589 (string_column_at_point): Likewise.
3590 (Fmove_to_column): Likewise.
3592 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3593 `encoding_table' and `decoding_table'.
3594 (CHARSET_REP_BYTES): Deleted.
3595 (XCHARSET_REP_BYTES): Deleted.
3596 (XCHARSET_COLUMNS): Deleted.
3597 (CHAR_COLUMNS): New macro.
3598 (lookup_composite_char): Deleted unconditionally.
3599 (composite_char_string): Likewise.
3601 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3603 * char-ucs.h (Emchar_to_byte_table): New type.
3604 (get_byte_from_character_table): New function interface.
3605 (Vcharset_latin_jisx0201): New variable.
3606 (latin_jisx0201_to_ucs): New variable.
3607 (ucs_to_latin_jisx0201): New variable.
3608 (Vcharset_latin_iso8859_2): New variable.
3609 (latin_iso8859_2_to_ucs): New variable.
3610 (ucs_to_latin_iso8859_2): New variable.
3611 (Vcharset_latin_iso8859_3): New variable.
3612 (latin_iso8859_3_to_ucs): New variable.
3613 (ucs_to_latin_iso8859_3): New variable.
3614 (Vcharset_latin_iso8859_4): New variable.
3615 (latin_iso8859_4_to_ucs): New variable.
3616 (ucs_to_latin_iso8859_4): New variable.
3617 (Vcharset_latin_iso8859_9): New variable.
3618 (latin_iso8859_9_to_ucs): New variable.
3619 (ucs_to_latin_iso8859_9): New variable.
3620 (Vcharset_latin_viscii_lower): New variable.
3621 (latin_viscii_lower_to_ucs): New variable.
3622 (ucs_to_latin_viscii_lower): New variable.
3623 (Vcharset_latin_viscii_upper): New variable.
3624 (latin_viscii_upper_to_ucs): New variable.
3625 (ucs_to_latin_viscii_upper): New variable.
3626 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3627 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3628 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3629 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3630 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3631 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3632 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3633 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3634 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3635 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3637 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3638 (Vcharset_latin_viscii_upper): New variable.
3639 (make_byte_from_character_table): New function.
3640 (put_byte_from_character_table): New function.
3641 (get_byte_from_character_table): New function.
3642 (CHAR96): New macro.
3643 (ucs_to_latin_jisx0201): New variable.
3644 (latin_jisx0201_to_ucs): New variable.
3645 (ucs_to_latin_iso8859_2): New variable.
3646 (latin_iso8859_2_to_ucs): New variable.
3647 (ucs_to_latin_iso8859_3): New variable.
3648 (latin_iso8859_3_to_ucs): New variable.
3649 (ucs_to_latin_iso8859_4): New variable.
3650 (latin_iso8859_4_to_ucs): New variable.
3651 (ucs_to_latin_iso8859_9): New variable.
3652 (latin_iso8859_9_to_ucs): New variable.
3653 (ucs_to_latin_viscii_lower): New variable.
3654 (latin_viscii_lower_to_ucs): New variable.
3655 (ucs_to_latin_viscii_upper): New variable.
3656 (latin_viscii_upper_to_ucs): New variable.
3657 (ucs_to_latin_tcvn5712): New variable.
3658 (latin_tcvn5712_to_ucs): New variable.
3659 (Qlatin_viscii_lower): New variable.
3660 (Qlatin_viscii_upper): New variable.
3661 (syms_of_mule_charset): Set up new symbol
3662 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3663 (complex_vars_of_mule_charset): Set up new charset
3664 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3665 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3666 `ucs_to_<CHARSET>' tables.
3668 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3670 * text-coding.c: New file.
3672 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3674 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3676 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3677 (MAKE_CHAR): Modify for `ucs-bmp'.
3678 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3679 non-MULE characters of BMP.
3681 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3683 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3686 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3689 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3690 - Include character.h for `CHAR_ASCII_P'.
3692 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3694 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3695 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3697 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3698 (BYTE_C0_P): Likewise.
3699 (BYTE_C1_P): Likewise.
3700 (Lstream_get_emchar_1): Likewise.
3701 (Lstream_fput_emchar): Likewise.
3702 (Lstream_funget_emchar): Likewise.
3703 (copy_internal_to_external): Likewise.
3704 (copy_external_to_internal): Likewise.
3706 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3707 (BYTE_C0_P): Likewise.
3708 (BYTE_C1_P): Likewise.
3709 (Lstream_get_emchar_1): Likewise.
3710 (Lstream_fput_emchar): Likewise.
3711 (Lstream_funget_emchar): Likewise.
3712 (copy_internal_to_external): Likewise.
3713 (copy_external_to_internal): Likewise.
3715 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3716 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3718 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3719 (BYTE_ASCII_P): Moved to mb-1byte.h.
3721 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3723 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3725 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3726 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3727 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3728 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3729 (VALIDATE_CHARPTR_FORWARD): Likewise.
3730 (simple_charptr_emchar): Moved to mb-multibyte.h.
3731 (simple_set_charptr_emchar): Likewise.
3732 (simple_charptr_copy_char): Likewise.
3733 (non_ascii_charptr_emchar): Likewise.
3734 (non_ascii_set_charptr_emchar): Likewise.
3735 (non_ascii_charptr_copy_char): Likewise.
3736 (charptr_emchar): Moved to mb-*byte.h.
3737 (set_charptr_emchar): Likewise.
3738 (charptr_copy_char): Likewise.
3740 * mb-1byte.h, mb-multibyte.h: New files.
3742 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3744 * mb-utf-8.h (MULTIBYTE): New macro.
3745 (MAX_EMCHAR_LEN): Moved from buffer.h.
3746 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3748 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3750 * mb-lb.h, multibyte.h: New files.
3752 * char-1byte.h (Charset_ID): Moved from buffer.h.
3753 (MIN_LEADING_BYTE): Likewise.
3754 (LEADING_BYTE_ASCII): Likewise.
3755 (NUM_LEADING_BYTES): Likewise.
3756 (CHARSETP): Likewise.
3757 (CHARSET_BY_LEADING_BYTE): Likewise.
3758 (XCHARSET_LEADING_BYTE): Likewise.
3759 (XCHARSET_GRAPHIC): Likewise.
3760 (XCHARSET_COLUMNS): Likewise.
3761 (XCHARSET_DIMENSION): Likewise.
3762 (CHAR_CHARSET): Likewise.
3763 (CHAR_LEADING_BYTE): Likewise.
3764 (BREAKUP_CHAR): Likewise.
3765 (Vcharset_ascii): Likewise.
3767 * buffer.h: Include multibyte.h unconditionally.
3768 (VALID_CHARPTR_P): Moved to multibyte.h.
3769 (ASSERT_VALID_CHARPTR): Likewise.
3770 (REAL_INC_CHARPTR): Likewise.
3771 (REAL_INC_CHARBYTIND): Likewise.
3772 (REAL_DEC_CHARPTR): Likewise.
3773 (INC_CHARPTR): Likewise.
3774 (INC_CHARBYTIND): Likewise.
3775 (DEC_CHARPTR): Likewise.
3776 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3777 (VALIDATE_CHARPTR_FORWARD): Likewise.
3778 (charptr_n_addr): Likewise.
3779 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3780 (simple_charptr_emchar): Moved to multibyte.h.
3781 (simple_set_charptr_emchar): Likewise.
3782 (simple_charptr_copy_char): Likewise.
3783 (non_ascii_charptr_emchar): Likewise.
3784 (non_ascii_set_charptr_emchar): Likewise.
3785 (non_ascii_charptr_copy_char): Likewise.
3786 (charptr_emchar): Likewise.
3787 (set_charptr_emchar): Likewise.
3788 (charptr_copy_char): Likewise.
3789 (charptr_emchar_n): Likewise.
3790 (Charset_ID): Moved to char-1byte.h.
3791 (Vcharset_ascii): Likewise.
3792 (CHAR_CHARSET): Likewise.
3793 (CHAR_LEADING_BYTE): Likewise.
3794 (LEADING_BYTE_ASCII): Likewise.
3795 (NUM_LEADING_BYTES): Likewise.
3796 (MIN_LEADING_BYTE): Likewise.
3797 (CHARSETP): Likewise.
3798 (CHARSET_BY_LEADING_BYTE): Likewise.
3799 (XCHARSET_LEADING_BYTE): Likewise.
3800 (XCHARSET_GRAPHIC): Likewise.
3801 (XCHARSET_COLUMNS): Likewise.
3802 (XCHARSET_DIMENSION): Likewise.
3803 (BREAKUP_CHAR): Likewise.
3805 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3807 * character.h: Add document about interface for characters.
3809 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3810 (MAKE_CHAR): Delete comment about
3811 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3812 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3813 (BREAKUP_CHAR): Modify name of arguments.
3814 (CHAR_CHARSET): Modify name of argument.
3816 * buffer.h: Delete document about Emchar accessors.
3818 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3820 * character.h (CHAR_INTP): Moved from buffer.h
3821 (CHAR_OR_CHAR_INTP): Likewise.
3822 (XCHAR_OR_CHAR_INT): Likewise.
3823 (CHECK_CHAR_COERCE_INT): Likewise.
3825 * buffer.h (CHAR_INTP): Moved to character.h
3826 (CHAR_OR_CHAR_INTP): Likewise.
3827 (XCHAR_OR_CHAR_INT): Likewise.
3828 (CHECK_CHAR_COERCE_INT): Likewise.
3830 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3833 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3834 - Include char-1byte.h, char-lb.h or char-ucs.h.
3836 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3838 * buffer.h: Include character unconditionally.
3839 (valid_char_p): Moved to char-*.h.
3840 (non_ascii_valid_char_p): Moved to char-lb.h.
3842 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3844 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3846 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3847 in UTF-2000 because it is not ported yet and not to use
3848 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3849 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3850 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3852 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3853 (CHAR_ASCII_P): Moved from character.h.
3855 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3856 (CHAR_ASCII_P): Likewise.
3857 (CHAR_FIELD1_MASK): Deleted.
3858 (CHAR_FIELD2_MASK): Deleted.
3859 (CHAR_FIELD3_MASK): Deleted.
3860 (MAX_CHAR_BASIC_LATIN): New macro.
3861 (CHAR_FIELD1): Deleted.
3862 (CHAR_FIELD2_INTERNAL): Deleted.
3863 (CHAR_FIELD3_INTERNAL): Deleted.
3864 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3865 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3866 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3867 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3868 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3869 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3870 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3871 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3872 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3873 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3874 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3875 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3876 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3877 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3878 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3879 (MIN_CHAR_COMPOSITION): Deleted.
3880 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3881 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3883 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3885 * buffer.h: Include mb-utf-8.h in UTF-2000.
3887 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3889 * mb-utf-8.h: New file.
3891 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3893 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3896 * mule-charset.h, buffer.h (Charset_ID): New type.
3898 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3900 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3901 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3902 instead of `MULE_CHAR_PRIVATE_OFFSET',
3903 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3904 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3905 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3907 * character.h (Vcharset_japanese_jisx0212): New variable
3910 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3912 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3913 (charset_by_attributes): Delete array about direction.
3914 (latin_a_char_to_charset): New variable in UTF-2000.
3915 (latin_a_char_to_byte1): New variable in UTF-2000.
3916 (latin_a_char_to_byte2): New variable in UTF-2000.
3917 (Qucs_bmp): New variable.
3918 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3920 (next_allocated_2_byte_leading_byte): Likewise.
3921 (non_ascii_set_charptr_emchar): Likewise.
3922 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3923 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3924 `charset_by_attributes'.
3925 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3926 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3927 and `CHARSET_BY_LEADING_BYTE'.
3928 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3929 `utf-2000-version' to `vars_of_mule_charset'.
3930 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3931 define `leading-code-private-11' in UTF-2000; move setting of
3932 `utf-2000-version' from `syms_of_mule_charset'.
3933 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3936 * character.h (Charset_ID): New type.
3937 (LEADING_BYTE_UCS_BMP): New macro.
3938 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3939 (CHARSET_ID_OFFSET_94): New macro.
3940 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3941 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3942 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3944 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3945 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3946 (CHARSET_ID_OFFSET_96): New macro.
3947 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3948 CHARSET_ID_OFFSET_96 and final-byte.
3949 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3950 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3951 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3952 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3953 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3954 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3955 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3956 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3957 (LEADING_BYTE_THAI_TIS620): Likewise.
3958 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3959 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3960 (CHARSET_ID_OFFSET_94x94): New macro.
3961 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3962 CHARSET_ID_OFFSET_94x94 and final-byte.
3963 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3964 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3965 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3966 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3967 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3968 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3969 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3970 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3971 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3972 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3973 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3974 (CHARSET_TYPE_128X128): New macro.
3975 (CHARSET_TYPE_256X256): New macro.
3976 (XCHARSET_PRIVATE_P): Delete unconditionally.
3977 (charset_by_attributes): Delete array about direction.
3978 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3979 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3980 (MIN_CHAR_94): New macro.
3981 (MAX_CHAR_94): New macro.
3982 (MIN_CHAR_96): New macro.
3983 (MAX_CHAR_96): New macro.
3984 (MIN_CHAR_94x94): New macro.
3985 (MAX_CHAR_94x94): New macro.
3986 (MIN_CHAR_96x96): New macro.
3987 (MAX_CHAR_96x96): New macro.
3988 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3989 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3990 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3992 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3993 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3994 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3995 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3996 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3997 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3998 `XCHARSET_LEADING_BYTE' to make code-point.
3999 (latin_a_char_to_charset): New variable.
4000 (latin_a_char_to_byte1): New variable.
4001 (latin_a_char_to_byte2): New variable.
4002 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4003 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4004 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4006 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4007 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4008 (find_charsets_in_emchar_string): Likewise.
4009 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4011 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4013 (decode_coding_iso2022): Likewise.
4015 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4018 * redisplay.c (redisplay_text_width_emchar_string): Use
4019 `Charset_ID' instead of `unsigned char'.
4020 (redisplay_frame_text_width_string): Likewise.
4022 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4025 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4026 instead of `unsigned char'.
4027 (face_cachel_charset_font_metric_info): Likewise.
4029 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4030 (get_non_ascii_char_table_value): Likewise.
4031 (get_char_table): Likewise.
4032 (put_char_table): Likewise.
4033 (map_over_other_charset): Likewise.
4034 (map_char_table): Likewise.
4036 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4037 instead of `unsigned char'.
4039 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4041 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4042 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4044 * mule-charset.c (leading_code_private_11): Don't define in
4047 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4048 in UTF-2000 because it is not ported yet and not to use
4049 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4051 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4053 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4055 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4057 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4060 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4061 of unsigned char to store leading-byte.
4063 * chartab.c (get_non_ascii_char_table_value): Don't use
4064 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4066 * file-coding.c (encode_coding_big5): Delete bogus implementation
4069 * character.h (LEADING_BYTE_*): Delete definition for
4071 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4072 (LEADING_BYTE_PREFIX_P): Deleted.
4073 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4074 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4075 (BUFBYTE_LEADING_BYTE_P): Deleted.
4076 (CHARSET_PRIVATE_P): Deleted unconditionally.
4077 (rep_bytes_by_first_byte): Deleted unconditionally.
4078 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4079 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4080 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4081 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4082 (CHAR_FIELD2): Deleted.
4083 (CHAR_FIELD3): Deleted.
4084 (MAKE_CHAR): Delete definition for non-UTF-2000.
4085 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4086 (breakup_char_1): New implementation.
4087 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4088 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4090 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4092 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4095 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4097 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4098 (CHARSET_PRIVATE_P): Likewise.
4099 (XCHARSET_PRIVATE_P): Likewise.
4100 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4102 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4104 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4106 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4108 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4109 (NUM_LEADING_BYTES): Changed from 128 to 256.
4110 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4111 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4113 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4115 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4117 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4118 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4119 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4120 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4121 (Qchinese_cns11643_3): New variable in UTF2000.
4122 (Qchinese_cns11643_4): New variable in UTF2000.
4123 (Qchinese_cns11643_5): New variable in UTF2000.
4124 (Qchinese_cns11643_6): New variable in UTF2000.
4125 (Qchinese_cns11643_7): New variable in UTF2000.
4126 (syms_of_mule_charset): Define `chinese-cns11643-3',
4127 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4128 and `chinese-cns11643-7' in UTF2000.
4129 (vars_of_mule_charset): Initialize
4130 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4132 (complex_vars_of_mule_charset): Setup charset
4133 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4134 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4136 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4138 * mule-charset.c: Move setting for `leading-code-private-11' from
4139 `syms_of_mule_charset' to `vars_of_mule_charset'.
4141 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4143 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4144 and `NUM_LEADING_BYTES' in assert.
4146 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4148 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4150 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4151 `NUM_LEADING_BYTES' instead of 128.
4153 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4155 * mule-charset.h (charset_by_leading_byte): Use
4156 `NUM_LEADING_BYTES' instead of 128.
4157 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4159 * mule-charset.c (charset_by_leading_byte): Use
4160 `NUM_LEADING_BYTES' instead of 128.
4161 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4163 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4166 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4168 * mule-charset.c (syms_of_mule_charset): Update to
4171 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4173 * file-coding.c (encode_coding_sjis): New implementation for
4174 UTF2000. (decode_coding_sjis): Ditto.
4176 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4178 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4179 Don't define in UTF2000.
4181 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4184 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4185 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4188 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4190 * config.h.in (CHAR_IS_UCS4): New macro.
4192 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4193 conventional MULE representation.
4194 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4196 * mule-charset.h: Reverted to original.
4198 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4199 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4200 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4202 * character.h: New file.
4204 * file-coding.c (Fmake_coding_system): Set 1 to
4205 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4207 (encode_coding_no_conversion): New implementation for UTF2000.
4209 * file-coding.h (struct Lisp_Coding_System): Add new member
4212 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4214 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4215 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4216 (encode_coding_iso2022): New implementation for UTF2000.
4218 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4220 * mule-canna.c (c2mu): New implementation for UTF2000.
4223 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4225 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4227 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4229 * file-coding.c (reset_encoding_stream): Set 0 to
4230 `str->iso2022.current_char_boundary' in UTF2000.
4231 (encode_utf8): Don't define in UTF2000.
4232 (encode_coding_utf8): New implementation for UTF-8 representation
4234 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4236 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4238 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4240 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4242 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4244 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4246 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4247 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4248 as UTF-8 in UTF2000.
4249 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4250 (non_ascii_valid_char_p): Don't define in UTF2000.
4251 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4252 (Lstream_get_emchar_1): Likewise.
4253 (utf-2000-version): New variable in UTF2000.
4255 * lread.c (read_escape): Add new reader `u'.
4257 * insdel.c (three_to_one_table): Don't define in UTF2000.
4258 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4259 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4261 (bytind_to_bufpos_func): Likewise.
4262 (buffer_mule_signal_inserted_region): Likewise.
4263 (vars_of_insdel): Don't initialize `three_to_one_table'.
4264 (init_buffer_text): Use `buf->text->mule_size' instead of
4265 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4268 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4269 UTF-8 representation in UTF2000.
4270 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4271 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4272 (decode_coding_iso2022): Don't define local variable `lb' in
4273 UTF2000; don't use LEADING_BYTE in UTF2000; use
4274 `DECODE_ADD_UCS_CHAR' in UTF2000.
4275 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4277 * config.h.in (UTF2000): New macro.
4279 * buffer.h (struct buffer_text): Add new member `mule_size' and
4280 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4281 (valid_char_p): Return always 1 in UTF2000.
4282 (MAX_EMCHAR_LEN): 6 in UTF2000.
4283 (three_to_one_table): Don't define in UTF2000.
4284 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4286 (real_bytind_to_bufpos): Likewise.
4288 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4290 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4292 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4293 representation change.
4294 (Vutf_2000_version): New variable.
4295 (leading_code_private_11): New variable.
4296 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4297 `leading-code-private-11'.
4299 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4300 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4301 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4302 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4303 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4304 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4305 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4306 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4307 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4308 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4309 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4310 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4311 (MIN_CHAR_GREEK): New macro.
4312 (MAX_CHAR_GREEK): New macro.
4313 (MIN_CHAR_CYRILLIC): New macro.
4314 (MAX_CHAR_CYRILLIC): New macro.
4315 (MIN_CHAR_HEBREW): New macro.
4316 (MAX_CHAR_HEBREW): New macro.
4317 (MIN_CHAR_THAI): New macro.
4318 (MAX_CHAR_THAI): New macro.
4319 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4320 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4321 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4322 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4323 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4324 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4325 (CHAR_FIELD2): New inline function.
4326 (CHAR_FIELD3): New inline function.
4327 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4328 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4329 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4330 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4331 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4332 (MIN_CHAR_COMPOSITION): Likewise.
4333 (CHAR_LEADING_BYTE): Modified for character representation change.
4334 (MAKE_CHAR): Likewise.
4336 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4337 (Vcharset_greek_iso8859_7): Likewise.
4338 (Vcharset_cyrillic_iso8859_5): Likewise.
4339 (Vcharset_hebrew_iso8859_8): Likewise.
4340 (Vcharset_thai_tis620): Likewise.
4341 (Vcharset_katakana_jisx0201): Likewise.
4343 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
4345 * XEmacs 21.2.47 "Zephir" is released.
4347 2001-04-02 Jan Vroonhof <jan@xemacs.org>
4349 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
4351 2001-04-03 Mike Sperber <mike@xemacs.org>
4353 * search.c: Revert previous patch due because of release.
4355 2001-03-30 Ben Wing <ben@xemacs.org>
4358 Add missing killpg prototype.
4361 Add a comment about fixing problems when a new entry is added
4364 * frame-msw.c (mswindows_init_frame_1):
4365 Fix compile warnings.
4367 * menubar.c (vars_of_menubar):
4368 Provide `menu-accelerator-support' to indicate that we properly
4369 support %_ in menu specifications, so that package code can
4370 conditionalize on this (and remove %_ from menu specifications
4375 * scrollbar-msw.c (can_scroll):
4377 Fix handling of mouse wheel under Windows to follow standards --
4378 now scrolls window under pointer, not selected window.
4380 2001-03-31 Mike Sperber <mike@xemacs.org>
4382 * search.c (Freplace_match): Support FSF-style specification of
4383 match subexpression when applied to a buffer.
4385 2001-03-15 Martin Buchholz <martin@xemacs.org>
4387 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
4388 function to modify KEYMAP, so map over a copy of the hash table.
4390 2001-03-21 Martin Buchholz <martin@xemacs.org>
4392 * XEmacs 21.2.46 "Urania" is released.
4394 2001-03-20 Dan Holmsand <dan@eyebee.com>
4396 * realpath.c (xrealpath): Make file-truename work with symlinks to
4397 /cygdrive paths on cygwin. Always lowercase drive-letters on
4399 (cygwin_readlink): Don't try to find canonical filename unless
4402 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
4404 * ChangeLog: Log GTK merge.
4410 Revert gratuitous whitespace changes from GTK merge.
4412 * emacs.c: Document end of complex #ifdef @ l. 1495.
4415 2001-03-12 Andy Piper <andy@xemacs.org>
4417 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
4418 have to do likewise.
4420 2001-03-12 Andy Piper <andy@xemacs.org>
4422 * sysdep.c: we only support mingw now.
4424 2001-03-09 Andy Piper <andy@xemacs.org>
4426 * unexcw.c (copy_executable_and_dump_data_section): making approx
4427 overrun a warning only.
4429 2001-03-10 William M. Perry <wmperry@aventail.com>
4431 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
4432 satisfy Stephen's identical-after-cpp plea.
4434 2001-03-02 Ben Wing <ben@xemacs.org>
4437 * cmds.c (Fforward_char):
4441 Augment documentation of the most common motion commands to make
4442 note of the shifted-motion support.
4444 2001-03-02 Ben Wing <ben@xemacs.org>
4446 * nt.c (mswindows_fstat):
4447 * nt.c (mswindows_stat):
4448 * search.c (boyer_moore):
4449 Fix compile warnings under Windows.
4451 * sysdep.c (sys_readdir):
4452 Fix buggy filename-conversion code under Mule.
4454 2001-03-09 William M. Perry <wmperry@aventail.com>
4476 * redisplay-output.c:
4482 The Great GTK Merge.
4489 * emacs-widget-accessors.c:
4503 * native-gtk-toolbar.c:
4514 The Great GTK Merge: new files.
4516 2001-02-26 Ben Wing <ben@xemacs.org>
4518 Reapplied Lstream change.
4520 2001-02-26 Ben Wing <ben@xemacs.org>
4522 Undid the last change, since it is more controversial than I
4523 thought. It should be back in at some point soon.
4525 2001-02-25 Ben Wing <ben@xemacs.org>
4528 * callproc.c (Fold_call_process_internal):
4529 * event-msw.c (ntpipe_slurp_reader):
4530 * event-msw.c (ntpipe_shove_writer):
4531 * event-msw.c (winsock_reader):
4532 * event-msw.c (winsock_writer):
4534 * file-coding.c (detect_eol_type):
4535 * file-coding.c (detect_coding_type):
4536 * file-coding.c (determine_real_coding_system):
4537 * file-coding.c (Fdetect_coding_region):
4538 * file-coding.c (decoding_reader):
4539 * file-coding.c (decoding_writer):
4540 * file-coding.c (mule_decode):
4541 * file-coding.c (Fdecode_coding_region):
4542 * file-coding.c (encoding_reader):
4543 * file-coding.c (encoding_writer):
4544 * file-coding.c (mule_encode):
4545 * file-coding.c (Fencode_coding_region):
4546 * file-coding.c (detect_coding_sjis):
4547 * file-coding.c (decode_coding_sjis):
4548 * file-coding.c (encode_coding_sjis):
4549 * file-coding.c (detect_coding_big5):
4550 * file-coding.c (decode_coding_big5):
4551 * file-coding.c (encode_coding_big5):
4552 * file-coding.c (detect_coding_ucs4):
4553 * file-coding.c (decode_coding_ucs4):
4554 * file-coding.c (encode_coding_ucs4):
4555 * file-coding.c (detect_coding_utf8):
4556 * file-coding.c (decode_coding_utf8):
4557 * file-coding.c (encode_coding_utf8):
4558 * file-coding.c (detect_coding_iso2022):
4559 * file-coding.c (decode_coding_iso2022):
4560 * file-coding.c (encode_coding_iso2022):
4561 * file-coding.c (decode_coding_no_conversion):
4562 * file-coding.c (encode_coding_no_conversion):
4563 * glyphs-x.c (write_lisp_string_to_temp_file):
4564 * gpmevent.c (tty_get_foreign_selection):
4567 * lstream.c (Lstream_flush_out):
4568 * lstream.c (Lstream_adding):
4569 * lstream.c (Lstream_write_1):
4570 * lstream.c (Lstream_write):
4571 * lstream.c (Lstream_raw_read):
4572 * lstream.c (Lstream_read_more):
4573 * lstream.c (Lstream_read):
4574 * lstream.c (Lstream_unread):
4575 * lstream.c (Lstream_fputc):
4576 * lstream.c (stdio_reader):
4577 * lstream.c (stdio_writer):
4578 * lstream.c (filedesc_reader):
4579 * lstream.c (filedesc_writer):
4580 * lstream.c (lisp_string_reader):
4581 * lstream.c (struct fixed_buffer_stream):
4582 * lstream.c (make_fixed_buffer_input_stream):
4583 * lstream.c (make_fixed_buffer_output_stream):
4584 * lstream.c (fixed_buffer_reader):
4585 * lstream.c (fixed_buffer_writer):
4586 * lstream.c (struct resizing_buffer_stream):
4587 * lstream.c (resizing_buffer_writer):
4588 * lstream.c (dynarr_writer):
4589 * lstream.c (lisp_buffer_reader):
4590 * lstream.c (lisp_buffer_writer):
4592 * lstream.h (lstream_implementation):
4593 * lstream.h (struct lstream):
4595 * process-nt.c (nt_send_process):
4596 * process-unix.c (unix_send_process):
4598 Correct Lstream lossage due to mixing of signed and unsigned
4599 quantities. All Lstream uses of size_t and ssize_t are now a
4600 single signed data type Lstream_data_count. This fixes problems
4601 under Windows with sending large quantities of data to a process,
4602 and may well fix other subtle bugs.
4604 2001-02-23 Martin Buchholz <martin@xemacs.org>
4606 * XEmacs 21.2.45 "Thelxepeia" is released.
4608 2001-02-21 Martin Buchholz <martin@xemacs.org>
4610 * lisp-union.h (XSETINT):
4613 Reverse previous change of 2001-02-06.
4615 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
4617 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
4619 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
4620 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
4621 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
4622 * regex.c (POS_AS_IN_BUFFER): removed
4623 * regex.c (re_search_2):
4624 * regex.c (re_match_2):
4625 Don't use an offset of 1 when calculating buffer positions, since
4626 `BI_BUF_BEGV' does it already.
4628 2001-02-18 Wim Dumon <wim@easics.be>
4630 * insdel.c (prepare_to_modify_buffer): Also check for
4631 supersession when clash-detection is enabled.
4633 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
4635 * regex.c (re_match_2_internal):
4636 Convert temp characters from 'const unsigned char' to 're_char'.
4637 Fix crashing bug with extended characters under mule.
4638 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
4639 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
4640 font-lock, pdump, and new syntax-table code.
4641 * syntax.c (find_start_of_comment):
4642 (find_end_of_comment):
4644 Fix crashing bugs involving moving beyond end of buffer.
4645 * syntax.c (find_start_of_comment):
4646 Fixed logic to allow proper detection of cases where the same
4647 character is used to end both a two-char comment start and a
4648 two-char comment end sequence. Fixes `(forward-comment -1)'.
4649 * syntax.c (find_start_of_comment):
4650 Return position just past last comment-end character for all cases
4651 (previously was only done for two-char comment-end sequences).
4652 * syntax.c (forward-comment):
4653 Take value returned from `find_end_of_comment', rather than
4655 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
4656 Properly deal with BUFFERP (syntax_cache.object)
4658 2001-02-17 Martin Buchholz <martin@xemacs.org>
4660 * alloc.c (Fgarbage_collect):
4661 * alloc.c (make_bit_vector_from_byte_vector):
4662 -Wsign-compare-correctness.
4664 2001-02-16 Martin Buchholz <martin@xemacs.org>
4666 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
4667 (XSETCHAR): Likewise.
4668 (XSETOBJ): Likewise.
4670 2001-02-15 Martin Buchholz <martin@xemacs.org>
4672 * mule-canna.c (canna-func-delete_previous):
4673 Rename to canna-func-delete-previous.
4675 2001-02-14 Martin Buchholz <martin@xemacs.org>
4677 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
4679 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
4681 * font-lock.c (find_context): Fix C++ compile errors introduced by
4684 2001-02-13 Martin Buchholz <martin@xemacs.org>
4686 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
4687 pragma, but earlier ones barf on the same pragma.
4689 2001-02-06 Mike Sperber <mike@xemacs.org>
4691 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
4692 `configure-mule-lisp-directory'.
4694 2001-02-12 Martin Buchholz <martin@xemacs.org>
4696 Make sure dump-id.c is compiled in the same way as other .c's.
4697 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
4698 * dump-id.h: Remove.
4699 * emacs.c: Move dump-id.h into dumper.h.
4700 * dumper.h: Move dump-id.h into dumper.h.
4702 Use standard .c.o rule for building dump-id.o.
4703 Remove preprocessor flags from link command.
4704 Add dump-id.o to ${otherobjs} if PDUMP.
4706 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
4708 Port FSF 20.7 syntax table improvements.
4712 Fixups for new syntax table stuff.
4713 * dired.c: Include syntax.c.
4714 (Fdirectory_files): Initialize regex_match_object and
4716 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
4717 and Fget_char_property.
4719 Use ported FSF 20.7 syntax table improvements.
4724 2001-02-09 Martin Buchholz <martin@xemacs.org>
4726 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
4727 Unixware's enum boolean from sys/types.h.
4729 2001-02-10 Martin Buchholz <martin@xemacs.org>
4731 Fix support for building with latest Purify.
4732 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
4733 (PURIFY_FLAGS): Likewise.
4735 2001-02-09 Martin Buchholz <martin@xemacs.org>
4737 * fileio.c (lisp_string_set_file_times): New.
4738 * fileio.c (Fcopy_file): Use it.
4740 (copy-file filename non-ascii-filename t t)
4741 ==> No such file or directory, non-ascii-filename
4743 2001-02-10 Martin Buchholz <martin@xemacs.org>
4745 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
4746 USHRT_MAX seems clearer than ~0 anyways.
4748 2001-02-09 Martin Buchholz <martin@xemacs.org>
4750 dumper improvements. Inspired by Olivier.
4751 * dumper.c (pdump_max_align): New.
4752 * dumper.c (pdump_add_entry): Use pdump_max_align.
4753 * dumper.c (pdump_get_entry_list): Likewise.
4754 * dumper.c (pdump_scan_by_alignment): Likewise.
4755 Don't iterate through unnecessary alignments.
4756 * dumper.c (pdump_file_get): No need to align result of malloc().
4757 * dumper.c (pdump_mallocadr): Remove.
4758 The result of malloc() is guaranteed to be maximally aligned.
4759 * dumper.c: s/elmt/elt/g;
4760 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
4761 * dumper.c (pdump_alert_undump_object): Likewise.
4762 * dumper.c (pdump_align_table):
4763 Don't support alignments > 64.
4764 Store ALIGNOF's, not shift counts, in table.
4766 2001-02-09 Martin Buchholz <martin@xemacs.org>
4768 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
4769 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
4770 * systime.h: Use HAVE_UTIME.
4771 * sysdep.c (struct utimbuf): Remove.
4772 * sysdep.c (set_file_times): Prefer utime() to utimes().
4773 * config.h.in (HAVE_UTIME): New.
4774 * config.h.in (HAVE_UTIME_H): Remove.
4775 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
4777 2001-02-09 Martin Buchholz <martin@xemacs.org>
4779 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
4781 2001-02-08 Martin Buchholz <martin@xemacs.org>
4783 * s/irix6-0.h: Use the standard system memmove, not bcopy.
4785 2001-02-08 Martin Buchholz <martin@xemacs.org>
4787 * XEmacs 21.2.44 "Thalia" is released.
4789 2001-02-06 Martin Buchholz <martin@xemacs.org>
4791 Fixes crashes in kill-emacs on some systems.
4792 * process-unix.c (unix_kill_child_process):
4793 It's OK for kill() to fail with ESRCH.
4795 2001-02-07 Martin Buchholz <martin@xemacs.org>
4797 Contortions to make .gdbinit tricks work on most systems.
4798 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
4799 * alloc.c (dbg_valmask): Make non-const.
4800 * alloc.c (dbg_typemask): Make non-const.
4801 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
4802 * alloc.c (dbg_valbits): Make non-const.
4803 * alloc.c (dbg_gctypebits): Make non-const.
4804 * .gdbinit (decode_object): Make it work with AIX cc.
4806 2001-02-06 Martin Buchholz <martin@xemacs.org>
4808 * elhash.c (make_general_lisp_hash_table):
4809 Use simpler and more efficient calloc to clear entries.
4811 2001-02-07 Martin Buchholz <martin@xemacs.org>
4813 * window.c (window_scroll): Work around an AIX C compiler bug.
4814 Fixes 'scroll-up' does nothing problem with xlC.
4816 2001-02-05 Martin Buchholz <martin@xemacs.org>
4818 * .gdbinit: Remove obsolete comment.
4820 2001-01-31 Mike Alexander <mta@arbortext.com>
4822 * select.c (Fown_selection_internal): Set owned_p for device
4825 2001-02-01 Martin Buchholz <martin@xemacs.org>
4828 "not" cannot be used as a macro name as it is an operator in C++
4829 * config.h.in: Stop #defining `not'.
4830 * chartab.c (check_category_char): not ==> not_p
4831 * chartab.h: Likewise.
4832 * regex.c (re_match_2_internal): Likewise.
4834 2001-02-02 Martin Buchholz <martin@xemacs.org>
4836 * lisp-disunion.h: Fix up comments.
4838 2001-01-31 Martin Buchholz <martin@xemacs.org>
4840 * keymap.c (define_key_check_and_coerce_keysym):
4842 Support mouse-6 and mouse-7 bindings in the obvious way.
4844 2001-02-01 Martin Buchholz <martin@xemacs.org>
4846 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
4848 2001-01-30 Martin Buchholz <martin@xemacs.org>
4850 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
4851 Previous patch missed DEFVAR_INT_MAGIC.
4852 Make sure future DEFVAR_foo use correct types.
4853 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
4854 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
4855 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
4856 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
4857 * (DEFVAR_INT): Likewise.
4858 * redisplay.c (vertical_clip): Should be of type Fixnum.
4859 * redisplay.c (horizontal_clip): Likewise.
4860 * lisp.h (dump_add_opaque_int): New.
4861 (dump_add_opaque_fixnum): New.
4863 2001-01-29 Andy Piper <andy@xemacs.org>
4865 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4866 since they can be eval'ed
4868 2001-01-29 Martin Buchholz <martin@xemacs.org>
4870 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4871 Oops, XEmacs redefines `class'. Use `typename' instead.
4873 2001-01-28 Martin Buchholz <martin@xemacs.org>
4875 * dumper.c: Fix C++ compile errors.
4877 2001-01-29 Martin Buchholz <martin@xemacs.org>
4879 * tparam.c: Use correct prototypes.
4881 2001-01-28 Martin Buchholz <martin@xemacs.org>
4883 * sysproc.h: #include util.h for NetBSD's openpty.
4885 2001-01-27 Martin Buchholz <martin@xemacs.org>
4887 More 64-bit correctness.
4888 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4889 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4891 This finally finishes the 64-bit SGI port.
4892 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4893 * symbols.c: Fix up comments and type casts.
4894 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4895 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4896 * symeval.h (Fixnum): New type.
4897 * symeval.h (symbol_value_type): Fix up comment.
4913 * mule-canna.c: A million DEFVAR_INTs here...
4914 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4927 s/int/Fixnum/g in DEFVAR_INT declarations.
4929 2001-01-26 Martin Buchholz <martin@xemacs.org>
4931 Port pdump to SGI alignment-sensitive environment.
4932 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4933 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4935 Define and use aligned reading and writing macros.
4936 Use buffered stdio instead of posix i/o for faster dumping.
4937 Eliminate kludgy 256 byte space for header.
4938 Read and write from dump file using structs for alignment safety.
4939 * dumper.c (pdump_align_stream): New.
4940 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4941 * dumper.c (PDUMP_READ_ALIGNED): New.
4942 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4943 * dumper.c (pdump_static_Lisp_Object): New struct.
4944 * dumper.c (pdump_static_pointer): New struct.
4945 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4946 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4947 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4948 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4950 * dumper.c (pdump_backtrace):
4951 * dumper.c (pdump_get_indirect_count):
4952 * dumper.c (pdump_register_object):
4953 * dumper.c (pdump_register_struct):
4954 * dumper.c (pdump_reloc_one):
4955 * dumper.c (pdump_scan_by_alignment):
4956 * dumper.c (pdump_dump_from_root_struct_ptrs):
4957 * dumper.c (pdump_dump_opaques):
4958 * dumper.c (pdump_dump_rtables):
4959 * dumper.c (pdump_dump_from_root_objects):
4961 * dumper.c (pdump_load_finish):
4962 Use aligned reading and writing.
4964 * dumper.c (pdump_free): Make static.
4965 * dumper.c (pdump_hFile): Likewise.
4966 * dumper.c (pdump_hMap): Likewise.
4968 2001-01-26 Martin Buchholz <martin@xemacs.org>
4970 * XEmacs 21.2.43 "Terspichore" is released.
4972 2001-01-25 Martin Buchholz <martin@xemacs.org>
4974 Type fiddling for window_config.saved_windows_count
4975 * window.c (struct window_config):
4976 Make saved_windows_count member unsigned.
4977 * window.c (sizeof_window_config_for_n_windows):
4978 Make parameter unsigned.
4979 * window.c (mark_window_config):
4980 * window.c (window_config_equal):
4981 * window.c (free_window_configuration):
4982 * window.c (Fset_window_configuration):
4983 * window.c (count_windows):
4984 * window.c (Fcurrent_window_configuration):
4985 * window.c (reinit_vars_of_window):
4986 Update all callers and users.
4988 2001-01-25 Martin Buchholz <martin@xemacs.org>
4990 Alignment correctness for flexible arrays.
4991 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4992 Make alignment-correct. Add interesting comments.
4993 * alloc.c (size_vector):
4994 * alloc.c (make_vector_internal):
4995 * alloc.c (make_bit_vector_internal):
4996 * alloc.c (sweep_bit_vectors_1):
4997 * fns.c (size_bit_vector):
4998 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4999 * window.c (sizeof_window_config_for_n_windows):
5000 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
5002 2001-01-24 Martin Buchholz <martin@xemacs.org>
5004 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
5006 2001-01-23 Andy Piper <andy@xemacs.org>
5008 * select.c (Fown_selection_internal): pass owned_p
5010 * select-msw.c (mswindows_own_selection): New Signature.
5012 * console.h (struct console_methods): add owned_p to
5015 * select-x.c (x_own_selection): pass owned_p
5016 (hack_motif_clipboard_selection): use owned_p
5017 (vars_of_select_x): new variable -
5018 x_selection_strict_motif_ownership.
5020 2001-01-23 Martin Buchholz <martin@xemacs.org>
5022 * specifier.h (specifier_data_offset): Remove pointless parens.
5023 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
5025 2001-01-24 Martin Buchholz <martin@xemacs.org>
5027 Make Lisp_Object sizeof methods be alignment-correct.
5028 pdump must restore objects to the same alignment as the C compiler
5029 assumes. It really matters on SGIs.
5030 * lstream.c (aligned_sizeof_lstream): New.
5031 (sizeof_lstream): Use aligned_sizeof_lstream.
5032 (Lstream_new): Likewise.
5033 * opaque.c (aligned_sizeof_opaque): New.
5034 (sizeof_opaque): Use aligned_sizeof_opaque.
5035 (make_opaque): Likewise.
5036 * specifier.c (aligned_sizeof_specifier): New.
5037 (sizeof_specifier): Use aligned_sizeof_specifier.
5038 (make_specifier_internal): Likewise.
5040 2001-01-23 Martin Buchholz <martin@xemacs.org>
5042 * lstream.h (struct lstream): Use max_align_t for trailing data.
5043 * specifier.h (struct Lisp_Specifier): Likewise.
5045 2001-01-22 Martin Buchholz <martin@xemacs.org>
5047 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
5048 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
5049 (CCL_SUSPEND): Likewise.
5050 (CCL_INVALID_CMD): Likewise.
5051 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
5052 (ccl_driver): Likewise.
5053 (CCL_WRITE_CHAR): Macro hygiene.
5054 (CCL_WRITE_STRING): Macro hygiene.
5056 2001-01-22 Martin Buchholz <martin@xemacs.org>
5058 Port "portable" dumper to SunOS 4 and HP-UX.
5059 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
5060 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
5061 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
5063 2001-01-22 Martin Buchholz <martin@xemacs.org>
5065 * lisp.h (ALIGNOF): A better definition for C++.
5067 2001-01-20 Martin Buchholz <martin@xemacs.org>
5070 Fix printf warnings: int format, long int arg.
5071 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
5072 (PUSH_FAILURE_POINT): Use correct printf formats.
5073 (POP_FAILURE_POINT): Use correct printf formats.
5074 Use do {...} while (0)
5076 2001-01-20 Martin Buchholz <martin@xemacs.org>
5078 * XEmacs 21.2.42 "Poseidon" is released.
5080 2001-01-20 Martin Buchholz <martin@xemacs.org>
5082 * console-x.h: typo fix du jour. Remove #if 0'ed code.
5084 2001-01-19 Martin Buchholz <martin@xemacs.org>
5086 De-kludgify FIXED_TYPE free list frobbing.
5087 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
5088 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
5089 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
5090 * alloc.c (Lisp_Free): New pseudo lisp object definition.
5091 * alloc.c (LRECORD_FREE_P): New.
5092 * alloc.c (MARK_LRECORD_AS_FREE): New.
5093 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
5094 * alloc.c (STRUCT_FREE_P): Deleted.
5095 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
5096 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
5097 * alloc.c (STRING_CHARS_FREE_P): New.
5098 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
5099 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
5100 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
5101 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
5102 * alloc.c (resize_string): Use new definitions.
5103 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
5104 * alloc.c (verify_string_chars_integrity): Use new definitions.
5105 * alloc.c (compact_string_chars): Use new definitions.
5106 * alloc.c: Update monster comments.
5107 * lrecord.h (lrecord_type): Add some new lrecord types for
5110 2001-01-18 Martin Buchholz <martin@xemacs.org>
5112 Improve alignment hackery.
5113 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
5114 (max_align_t): Moved from opaque.h - general purpose.
5115 (ALIGN_PTR): Use size_t, not long.
5116 * opaque.h (max_align_t): Move to lisp.h.
5118 2001-01-18 Norbert Koch <nk@LF.net>
5120 * gui.h: Fix and add prototypes to fix build problems.
5122 2001-01-18 Martin Buchholz <martin@xemacs.org>
5124 temacs is going away, so `dump-temacs' is now a bad name.
5125 * .dbxrc (dump-temacs): Rename to `dmp'.
5126 * .gdbinit (dump-temacs): Rename to `dmp'.
5128 2001-01-17 Andy Piper <andy@xemacs.org>
5130 * glyphs.c (print_image_instance): comment to make martin happy.
5132 * glyphs-x.c (x_redisplay_widget): update faces after a frame
5135 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
5137 (mswindows_tab_control_redisplay): warning suppression.
5139 * glyphs-widget.c (widget_update): re-write to cope with updated
5141 (widget_instantiate): use new gui_item functions.
5142 (tab_control_update): deleted.
5143 (progress_gauge_update): deleted.
5144 (image_instantiator_progress_guage): take out update reference.
5145 (image_instantiator_tree_view): ditto.
5146 (image_instantiator_tab_control): ditto.
5148 * gui.c (widget_gui_parse_item_keywords): new function. Do things
5150 (gui_item_add_keyval_pair): re-write to cope with descriptors and
5151 return whether anything was changed.
5152 (update_gui_item_keywords): as it sounds.
5154 * gui.h: declare widget_gui_parse_item_keywords.
5156 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
5157 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
5159 2001-01-17 Martin Buchholz <martin@xemacs.org>
5161 * XEmacs 21.2.41 "Polyhymnia" is released.
5163 2001-01-16 Didier Verna <didier@xemacs.org>
5165 * glyphs.c (image_instantiate): don't use fallbacks when
5166 instantiating a face's background pixmap by inheritance.
5168 2001-01-14 Mike Sperber <mike@xemacs.org>
5170 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
5171 Conditionalize accordingly.
5173 2001-01-16 Martin Buchholz <martin@xemacs.org>
5175 * dumper.c (pdump_file_get): Fix a compiler warning.
5177 2001-01-15 Martin Buchholz <martin@xemacs.org>
5179 Make Purify happy when pdumping.
5180 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
5181 iniitalizing all bits of new lisp object memory.
5182 * symbols.c (Fmake_local_variable): Likewise.
5183 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
5184 * symbols.c (Fdefvaralias): Likewise.
5185 * mule-charset.c (vars_of_mule_charset): Likewise.
5187 2001-01-15 Martin Buchholz <martin@xemacs.org>
5188 Add the `-nd' flag when running pre-dump operations under the debugger.
5189 * .dbxrc (run-temacs): Add `-nd'.
5190 * .dbxrc (update-elc): Likewise.
5191 * .dbxrc (dump-temacs): Likewise.
5192 * .gdbinit (run-temacs): Likewise.
5193 * .gdbinit (check-temacs): Likewise.
5194 * .gdbinit (update-elc): Likewise.
5195 * .gdbinit (dump-temacs): Likewise.
5197 2001-01-14 Martin Buchholz <martin@xemacs.org>
5199 Allow building 64-bit executables on AIX with GNU malloc, e.g.
5200 export OBJECT_MODE=64
5201 configure --pdump --use-union-type=no
5202 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
5203 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
5205 * miscplay.c (sndcnv8U_2mono):
5206 Avoid two uses of `++' in the same expression.
5207 Suppresses a GCC warning.
5209 2001-01-13 Martin Buchholz <martin@xemacs.org>
5211 Make sure future compilers don't miscompile alloc.c.
5213 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
5214 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
5216 2001-01-12 Martin Buchholz <martin@xemacs.org>
5218 * dumper.c: A little post-pdump-rename comment fixup.
5220 2001-01-09 Jerry James <james@eecs.ku.edu>
5222 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
5224 2001-01-13 Martin Buchholz <martin@xemacs.org>
5226 * *.[ch]: Globally rename symbols using the following `pdump-rename'
5230 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
5233 replace_symbol pdump_wire_lists pdump_weak_object_chains
5234 replace_symbol pdump_wire_list dump_add_weak_object_chain
5236 replace_symbol pdump_wires pdump_root_objects
5237 replace_symbol pdump_wire dump_add_root_object
5239 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
5240 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
5242 replace_symbol dumpstructinfos pdump_root_struct_ptrs
5243 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
5244 replace_symbol dumpstructinfo pdump_root_struct_ptr
5245 replace_symbol dumpstruct dump_add_root_struct_ptr
5247 replace_symbol dumpopaque dump_add_opaque
5248 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
5249 replace_symbol dumpopaqueinfos pdump_opaques
5250 replace_symbol dumpopaqueinfo pdump_opaque
5252 replace_symbol nb_structdump nb_root_struct_ptrs
5253 replace_symbol nb_opaquedump nb_opaques
5255 replace_symbol align_table pdump_align_table
5256 replace_symbol dump_header pdump_header
5258 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
5259 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
5262 2001-01-12 Martin Buchholz <martin@xemacs.org>
5264 * s/aix4.h: Keep the C for AIX compiler from overaggressively
5265 optimizing bytecount_to_charcount().
5267 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
5270 (HAVE_DLFCN_H): Removed.
5271 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
5273 2001-01-06 Martin Buchholz <martin@xemacs.org>
5275 Portable dumper maintainability improvements.
5276 * alloc.c (staticpro):
5277 * alloc.c (staticpro_nodump):
5278 * alloc.c (garbage_collect_1):
5279 * alloc.c (reinit_alloc_once_early):
5280 * alloc.c (init_alloc_once_early):
5281 * alloc.c: Move dumper functions to alloc.c.
5282 * dumper.c (pdump_backtrace):
5283 * dumper.c (pdump_dump_structs):
5284 * dumper.c (pdump_dump_opaques):
5285 * dumper.c (pdump_dump_rtables):
5286 * dumper.c (pdump_dump_wired):
5288 * dumper.c (pdump_load_check):
5289 * dumper.c (pdump_load_finish):
5290 * dumper.c (pdump_file_unmap):
5291 * dumper.c (pdump_file_get):
5292 * dumper.c (pdump_resource_free):
5293 * dumper.c (pdump_resource_get):
5294 * dumper.c (pdump_file_free):
5295 * dumper.c (pdump_file_try):
5296 * dumper.c (pdump_load):
5297 Remove fixed size limits on staticpro(), staticpro_nodump(),
5298 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
5299 Remove custom code for dumping lrecord_implementations_table - use
5301 Remove (most of the) custom code for dumping staticpros - dump it
5302 like any other dynarr.
5304 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
5305 * dumper.c: Moved functions from alloc.c.
5306 * alloc.c (dumpstruct): Moved to dumper.c.
5307 * alloc.c (dumpopaque): Likewise.
5308 * alloc.c (pdump_wire): Likewise.
5309 * alloc.c (pdump_wire_list): Likewise.
5311 * lisp.h (Dynarr_sizeof): New.
5312 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
5313 * lisp.h (Dynarr_end): New. Very slightly C++oid.
5314 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
5316 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
5317 * lisp.h (dumpopaque): ditto.
5318 * lisp.h (pdump_wire): ditto.
5319 * lisp.h (pdump_wire_list): ditto.
5321 2001-01-09 Martin Buchholz <martin@xemacs.org>
5323 * make-src-depend (PrintPatternDeps):
5324 Use `sort' to make output independent of perl version.
5326 2001-01-08 Martin Buchholz <martin@xemacs.org>
5329 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
5330 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
5332 2001-01-03 Didier Verna <didier@xemacs.org>
5334 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
5335 that `focus_frame' is alive before thinking of calling
5336 `redisplay_redraw_cursor' on it.
5338 2001-01-08 Martin Buchholz <martin@xemacs.org>
5340 * XEmacs 21.2.40 is released.
5342 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
5344 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
5346 2001-01-06 Martin Buchholz <martin@xemacs.org>
5348 * alloc.c (dbg_valmask): Make const.
5349 * alloc.c (dbg_typemask): Make const.
5350 * alloc.c (dbg_USE_UNION_TYPE): Make const.
5351 * alloc.c (dbg_valbits): Make const.
5352 * alloc.c (dbg_gctypebits): Make const.
5354 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
5356 * redisplay-x.c (x_bevel_area):
5357 redisplay.h (struct rune):
5358 Typo fixes in comments.
5360 2001-01-05 Andy Piper <andy@xemacs.org>
5362 * glyphs-x.c (x_redisplay_widget): use size changed for offset
5365 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
5367 2001-01-05 Martin Buchholz <martin@xemacs.org>
5369 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
5371 * mule-ccl.c (stack_idx_of_map_multiple):
5372 Non const global data must not be initialized!
5373 Found by MIYASHITA Hisashi.
5375 2001-01-02 Andy Piper <andy@xemacs.org>
5377 * frame.c (change_frame_size): make sure frame size is always
5380 * glyphs.c (image_instance_layout): minor code reuse.
5382 * window.c (Fcurrent_window_configuration): revert previous
5385 2001-01-02 Martin Buchholz <martin@xemacs.org>
5388 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
5390 2000-12-31 Andy Piper <andy@xemacs.org>
5392 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
5393 when widget gets unmapped.
5395 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
5396 function. Make sure widgets losing focus don't just drop it.
5397 (handle_focus_event_1): record the widget with focus.
5399 2000-12-31 Andy Piper <andy@xemacs.org>
5401 * window.c (allocate_window): use
5402 make_image_instance_cache_hash_table.
5403 (make_dummy_parent): ditto.
5404 (Fset_window_configuration): ditto.
5406 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
5408 * glyphs.c (process_image_string_instantiator): use
5410 (get_image_instantiator_governing_domain): ditto.
5411 (normalize_image_instantiator): ditto.
5412 (instantiate_image_instantiator): ditto.
5413 (make_image_instance_1): ditto.
5414 (image_instantiate): ditto. Key on glyph *and* instantiator type.
5415 (instantiator_eq_equal): new function for use with instance hash
5417 (instantiator_eq_hash): ditto.
5418 (make_image_instance_cache_hash_table): create a suitable hash
5419 table for storing image instances.
5421 * elhash.h (hash_table_weakness): new internal weakness type
5422 HASH_TABLE_KEY_CAR_VALUE_WEAK.
5423 declare new functions.
5425 * elhash.c (finish_marking_weak_hash_tables): introduce yet
5426 another weakness type for glyphs.
5427 (make_standard_lisp_hash_table): new function split out from
5428 make_general_lisp_hash_table.
5429 (make_lisp_hash_table): call make_standard_lisp_hash_table.
5430 (hash_table_instantiate): ditto.
5431 (Fmake_hash_table): ditto.
5433 2000-12-31 Martin Buchholz <martin@xemacs.org>
5435 * XEmacs 21.2.39 is released.
5437 2000-12-29 Andy Piper <andy@xemacs.org>
5439 * menubar.c (menubar_visible_p_changed): signal the frame changed.
5441 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
5442 the frame has changed so that we pick up geometry changes such as
5445 2000-12-28 Andy Piper <andy@xemacs.org>
5447 * lastfile.c (my_ebss): make a char array so we can pad the
5448 bss. Fixes cygwin unexec.
5450 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
5452 2000-12-26 Andy Piper <andy@xemacs.org>
5454 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
5455 comments and try and be more precise about a non-/SIGIO world.
5456 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
5459 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
5460 we don't normalize to zero width or height.
5462 2000-12-24 Andy Piper <andy@xemacs.org>
5464 * Makefile.in.in (ldflags): add -mwindows when appropriate.
5466 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
5468 * s/sco5.h: SCO 5 has pty support.
5470 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
5472 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
5473 input-method-xlib.c contains whole contents of input-method-xfs.c,
5474 so we can use input-method-xlib.c's code for USE_XFONTSET
5476 * input-method-xfs.c: removed.
5478 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
5480 * file-coding.h (enum coding_category_type): reorder enumerators to
5481 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
5482 (now one greater than largest real coding_category_type enumerator).
5483 * file-coding.c (coding_category_symbol, coding_category_by_priority,
5484 coding_category_system, fcd_descriptihon_1, decode_coding_category,
5485 Fcoding_category_list, Fset_coding_priority_list,
5486 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
5487 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
5489 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
5491 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
5492 * redisplay-output.c (redisplay_output_window): Clear top of window
5493 when face is changed.
5494 * redisplay-x.c (x_redraw_exposed_window): Call
5495 redisplay_clear_top_of_window.
5496 * redisplay.h: Publish redisplay_clear_top_of_window.
5498 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
5500 * buffer.c (Fkill_buffer): Map over all devices.
5501 * window.c (window_loop): Remove UNSHOW_BUFFER code.
5502 (list_windows): New function.
5503 (list_all_windows): Ditto.
5504 (Freplace_buffer_in_windows): Use them.
5506 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5508 * database.c (berkdb_subtype): Recognize new subtype `queue'.
5509 (Fopen_database): Use `db_create' instead of `db_open'.
5510 (syms_of_database): Initialize Qqueue.
5512 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5514 * buffer.c (common_init_complex_vars_of_buffer): Initialize
5515 buffer_local_face_property.
5516 * buffer.h (struct buffer): New member buffer_local_face_property.
5517 * window.c (Fset_window_buffer): Mark window's face as changed
5518 when buffer has buffer local face.
5519 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
5520 * objects.c (color_after_change): Set buffer_local_face_property
5521 when locale of face specifier is buffer.
5522 * objects.c (font_after_change): Ditto.
5523 * objects.c (face_boolean_after_change): Ditto.
5524 * glyphs.c (image_after_change): Ditto.
5526 2000-12-09 Dan Holmsand <dan@eyebee.com>
5528 * nt.c (mswindows_fstat): Report file permissions, volume serial
5529 number, etc. Code adapted from FSF Emacs 20.7.
5531 2000-12-09 Dan Holmsand <dan@eyebee.com>
5533 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
5534 of stat when we don't have symbolic links, to make sure
5535 mswindows_stat is called on mswindows.
5537 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
5539 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
5541 2000-12-12 Martin Buchholz <martin@xemacs.org>
5543 * doprnt.c (emacs_doprnt_1): More printing fixes.
5544 Make printing of numbers compatible with libc and FSF Emacs.
5545 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
5546 Use the system printf to do most of the hard work of formatting,
5547 instead of doprnt_1().
5548 Calculate memory to allocate for format string.
5549 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
5550 (doprnt_1): Cleaner code and documentation.
5552 2000-12-01 Jerry James <james@eecs.ukans.edu>
5554 * Makefile.in.in: Use the loop variable to install headers.
5556 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
5558 * window.c (Fsplit_window): Don't invalidate face cache.
5560 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
5562 * minibuf.c (Fall_completions): Undo the previous change
5563 which removed checking elements start with space.
5565 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
5567 * mule-canna.c: Didier suppression.
5569 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
5571 * mule-canna.c: rename static unsigned char buf[] to key_buffer
5572 (warning suppression). Add English comment translations.
5574 2000-12-05 Martin Buchholz <martin@xemacs.org>
5576 * unexelfsgi.c (unexec): Better test for mmap failure.
5578 2000-12-05 Martin Buchholz <martin@xemacs.org>
5580 * XEmacs 21.2.38 is released.
5582 2000-12-05 Martin Buchholz <martin@xemacs.org>
5584 * redisplay.c (bar-cursor): Make a user variable.
5586 * symsinit.h: Add init_postgresql_from_environment.
5588 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
5590 * regex.c: Convert to clean C.
5592 2000-12-05 Dan Holmsand <dan@eyebee.com>
5595 Don't #include sysfile.h. Revert to duplicating PATH_MAX
5597 (sys_readlink): renamed to system_readlink to avoid conflict with
5598 the other sys_readlink.
5600 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
5602 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
5604 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
5606 * postgresql.c (init_postgresql_from_environment): new function.
5607 (vars_of_postgresql): Move code initializing Lisp variables out and
5608 into init_postgresql_from_environment.
5609 emacs.c (main_1): Call init_postgresql_from_environment if and only
5610 if running a dumped XEmacs.
5612 2000-08-31 Dan Holmsand <dan@eyebee.com>
5614 * buffer.c: Make find-file-compare-truenames default to true on
5617 * realpath.c (win32_abs_start):
5619 (win32_readlink): New functions.
5620 (xrealpath): Return really real filenames on windows.
5622 * fileio.c (Ffile_truename): Make file-truename work on windows.
5624 2000-11-29 Didier Verna <didier@xemacs.org>
5626 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
5627 * faces.c (update_face_cachel_data): use it.
5628 * faces.c (add_face_cachel): use it. Complete background pixmap
5629 frobbing in face cache if `update_face_cachel_data' has not done so.
5631 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
5633 * search.c (string_match_1): Don't set last_thing_searched
5636 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
5638 * buffer.c: Include casetab.h
5639 (common_init_complex_vars_of_buffer): Use new case-table object.
5640 * buffer.h: Include casetab.h
5641 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
5642 (DOWNCASE_TABLE_OF): Ditto.
5643 * bufslots.h: Remove char-tables and add case-table.
5644 * casetab.c: Include casetab.h
5645 (CASE_TABLE_P): Removed.
5646 (mark_case_table): New function.
5647 (allocate_case_table): New function.
5648 (Fcase_table_p): Use new case-table.
5649 (case_table_char): New function.
5650 (Fget_case_table): Ditto.
5651 (Fput_case_table): Ditto.
5652 (Fput_case_table_pair): Ditto.
5653 (Fcopy_case_table): Ditto.
5654 (Fcurrent_case_table): Return case-table.
5655 (Fstandard_case_table): Return case-table.
5656 (Fset_case_table): Fix doc-string.
5657 (set_case_table): Use case-table
5658 (syms_of_casetab): DEFSUBR new functions.
5659 (complex_vars_of_casetab): Set up standard case-table.
5660 * casetab.h: New file.
5661 * editfns.c: Include casetab.h
5662 (Fcompare_buffer_substrings): Use case-table.
5663 * inline.c: Include casetab.h
5664 * lisp.h: Remove bogus extern.
5665 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
5666 * search.c: Include casetab.h
5667 (TRANSLATE_ASCII): Removed.
5668 (TRANSLATE): Unconditionally translate character.
5669 (looking_at_1): Use case-table.
5670 (string_match_1): Ditto.
5671 (fast_string_match): Ditto.
5672 (search_command): Ditto.
5673 (search_buffer): Separate boyer_moore. Check whether
5674 boyer_moore is possible.
5675 (simple_search): New function.
5676 (boyer_moore): Separated from search_buffer. Translate char.
5678 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
5680 * regex.c (RE_TR_ASCII): Removed.
5681 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
5682 (PATFETCH): Call PATFETCH_RAW.
5683 (PATFETCH_RAW): Fetch Emchar.
5684 (PATUNFETCH): Decrement charptr.
5685 (GET_BUFFER_SPACE): Rename b to buf_end.
5687 (BUF_PUSH_2): Ditto.
5688 (BUF_PUSH_3): Ditto.
5689 (EXTEND_BUFFER): Ditto.
5690 (SET_LIST_BIT): Ditto.
5691 (regex_compile): Ditto. Translate non ASCII char.
5692 (compile_range): Ditto.
5693 (re_search_2): Ditto.
5694 (re_match_2_internal): Compare Emchar.
5695 (bcmp_translate): Ditto.
5697 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
5699 * lisp.h (basic char/int typedefs): comment improvement.
5701 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
5703 * emacs.c (main_1): unconditional pdump unstomping; don't save and
5704 unstomp inhibit_site_lisp. Improve comments.
5706 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
5708 * mule-charset.c (Fcharset_property): improve type checking, comments.
5710 2000-11-28 Andy Piper <andy@xemacs.org>
5712 * redisplay-output.c (redisplay_output_subwindow): make sure we do
5713 clipped display for windows in the gutter also.
5714 (redisplay_display_boxes_in_window_p): change semantics of return
5715 codes to be more intuitive.
5717 * gutter.h: declare display_boxes_in_gutter_p.
5719 * gutter.c (display_boxes_in_gutter_p): new function for
5722 2000-11-22 Andy Piper <andy@xemacs.org>
5724 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
5727 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
5729 * callproc.c (Fold_call_process_internal):
5730 * gpm.c (Freceive_gpm_event):
5731 (tty_get_foreign_selection): Might be just warning supression.
5732 * fileio.c (Fwrite_region_internal):
5733 (Fset_visited_file_modtime):
5734 * keymap.c (event_matches_key_specifier_p):
5735 Initialize GCPROed variable.
5737 * menubar-x.c (command_builder_find_menu_accelerator):
5738 Initialize before use.
5740 2000-11-23 Andy Piper <andy@xemacs.org>
5742 * unexcw.c (unexec): make the resulting executable executable.
5744 2000-11-21 Martin Buchholz <martin@xemacs.org>
5746 * doc.c (get_doc_string):
5747 Use size_t, not int, for result of XSTRING_LENGTH.
5749 * cmds.c (Fdelete_char):
5750 * cmds.c (Fpoint_at_eol):
5751 * cmds.c (Fself_insert_command):
5752 Use EMACS_INT, not int, for result of XINT.
5753 Someday, someone will want to insert more than 2**31 identical characters.
5755 * cmds.c (Fdelete_char):
5756 * cmds.c (Fdelete_backward_char):
5757 * syntax.c (Fforward_word):
5758 * syntax.c (Fforward_comment):
5759 Make COUNT argument optional, for consistency with forward-char et al.
5761 2000-11-22 Martin Buchholz <martin@xemacs.org>
5764 * print.c (long_to_string):
5765 Return a useful value: the pointer at end of data written.
5768 Use `static const char * const' for constant strings.
5769 (union printf_arg): Delete `i', `ui' members.
5772 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
5773 Do all printf-ing via the `l' specifier.
5774 Use EMACS_INT instead of int.
5777 2000-11-20 Didier Verna <didier@xemacs.org>
5779 * faces.c (update_face_cachel_data): don't frob the background
5780 pixmap when the window is being created. The face is needed but
5783 2000-11-20 Andy Piper <andy@xemacs.org>
5785 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
5786 messing with a debug environment.
5788 2000-11-20 Martin Buchholz <martin@xemacs.org>
5790 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
5792 2000-11-20 Martin Buchholz <martin@xemacs.org>
5794 * casetab.c (Fcase_table_p): Fix compile error and crash.
5796 2000-11-18 Philip Aston <philipa@mail.com>
5798 * s/cygwin32.h: Cygwin has SVR4-like pty support.
5800 2000-11-18 Martin Buchholz <martin@xemacs.org>
5802 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
5803 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
5805 2000-11-17 Martin Buchholz <martin@xemacs.org>
5807 * config.h.in: Define HAVE_ELF_H if elf.h exists.
5808 * unexelf.c: Use HAVE_ELF_H.
5809 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
5810 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
5811 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
5812 Greg Harrington <greg_harrington@hotmail.com> provided a machine
5814 So this is an unexelfsgi.c from a different line of development.
5816 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5818 * regex.c (RE_TR_ASCII): New function.
5819 (RE_TRANSLATE): Call it.
5821 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5823 * buffer.h (TRT_TABLE_OF): Remove assert.
5824 (IN_TRT_TABLE_DOMAIN): Removed.
5826 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
5828 * free-hook.c (log_gcpro):
5829 (show_gcprohist): Add support for GCPRO5.
5831 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
5833 * emacs.c (main_1): Improve -sd error message when --pdump=no.
5835 2000-11-16 Olivier Galibert <galibert@xemacs.org>
5837 * symeval.h: Declare flush_all_buffer_local_cache.
5839 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
5840 (flush_buffer_local_cache): Added.
5841 (flush_all_buffer_local_cache): Added.
5843 * lrecord.h: Remove unused XD_LO_RESET_NIL.
5845 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
5846 (pdump_dump_data): Ditto.
5847 (pdump_reloc_one): Ditto.
5848 (pdump): Remove unused pdump_qnil. Flush buffer local caches
5852 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5854 * buffer.c: Remove if 0'ed entry.
5855 * buffer.h: Rewrite TRT to use char-table.
5856 * bufslots.h: Remove mirror tables.
5857 * casetab.c: Remove mirror tables.
5858 (CASE_TABLE_P): New macro.
5859 (Fcase_table_p): Element of a case table is string or char-table.
5860 (make_mirror_trt_table): Removed.
5861 (set_case_table): Setup char-table from strings for backward
5863 * dired.c (Fdirectory_files):
5864 * dired-msw.c: (mswindows_get_files):
5865 * lisp.h: Change prototype of re_pattern_buffer.
5866 * regex.c: (RE_TRANSLATE): New macro.
5867 (TRANSLATE_P): Ditto.
5868 Change translate to type RE_TRANSLATE_TYPE.
5869 * regex.h: Define RE_TRANSLATE_TYPE
5870 * search.c (TRANSLATE): New macro.
5871 (TRANSLATE_ASCII): New macro.
5872 Translate table is changed to Lisp_Object.
5873 (signal_failure): Inhibit return.
5875 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5882 Do UNGCPRO before return.
5884 2000-11-14 Martin Buchholz <martin@xemacs.org>
5886 * XEmacs 21.2.37 is released.
5888 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5890 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5891 Add comments about discarded return value.
5893 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5896 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5898 2000-10-27 Andy Piper <andy@xemacs.org>
5900 * gutter.c (Fset_default_gutter_position): default left and right
5902 (calculate_gutter_size): calculate resonable heuristic for left
5903 and right gutter sizes.
5904 (specifier_vars_of_gutter): change left and right gutter sizes to
5906 (calculate_gutter_size_from_display_lines): new function.
5907 (output_gutter): check for resizing on left and right gutters.
5908 (clear_gutter): don't special case top and left gutters.
5909 (specifier_vars_of_gutter): use new signature for
5910 set_specifier_caching.
5912 * glyphs-x.c (x_redisplay_widget): spelling fix.
5913 * glyphs.c (specifier_vars_of_glyphs):
5914 * menubar.c (specifier_vars_of_menubar):
5915 * redisplay.c (specifier_vars_of_redisplay):
5916 * toolbar.c (specifier_vars_of_toolbar):
5917 * window.c (specifier_vars_of_window):
5918 * scrollbar.c (specifier_vars_of_scrollbar):
5919 (complex_vars_of_scrollbar): use new signature for
5920 set_specifier_caching.
5922 * specifier.c (set_specifier_caching): include recompute flag.
5923 (recompute_one_cached_specifier_in_window): always recompute if
5925 (recompute_one_cached_specifier_in_frame): ditto.
5927 * specifier.h (struct specifier_caching): add recompute flag.
5929 2000-10-24 Andy Piper <andy@xemacs.org>
5931 * unexcw.c (copy_executable_and_dump_data_section): add new
5932 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5935 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5937 * console-x.h (x_device): New member modifier_release_time.
5938 * event-Xt.c (x_handle_sticky_modifiers):
5939 Bound interval modifier keys are sticky.
5940 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5941 * events.h: extern it.
5943 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5945 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5947 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5949 * event-stream.c (execute_command_event): Preserve current_events
5950 and the like when event is misc-user-event.
5951 Inhibit quit during the call to maybe_echo_keys.
5953 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5955 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5956 symlink when buffer is killed.
5957 (inhibit_clash_detection): New variable.
5959 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5961 * console.c (Fset_input_method): Trigger redisplay on tty.
5963 2000-11-07 Martin Buchholz <martin@xemacs.org>
5965 * process.c (Fprocess_status): Revert to previous behavior:
5966 (process-status "nosuchprocess") ==> nil
5968 2000-11-06 Martin Buchholz <martin@xemacs.org>
5970 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5971 Work around another GCC 2.95.2 optimizer bug.
5973 2000-11-02 Martin Buchholz <martin@xemacs.org>
5975 * process.c (Fget_process): Use LIST_LOOP_2.
5976 (kill_buffer_processes): Use LIST_LOOP_2.
5978 * minibuf.c (Fall_completions):
5979 Delete old non-functional code for FSF fourth argument.
5981 * frame.c (frame_matches_frame_spec):
5982 Renamed from `frame_matches_frametype'. Update all callers.
5983 (device_matches_device_spec):
5984 Renamed from 'device_matches_console_spec'. Update all callers.
5986 * doc.c (Fsubstitute_command_keys):
5987 Remove buffer overflow crash. Small code cleanups.
5989 * casetab.c (check_case_table): Simpler code.
5991 * window.c (Freplace_buffer_in_windows):
5992 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5993 (and similar implementation) as Fdelete_windows_on.
5996 * alloc.c (Fmake_list):
5997 * alloc.c (make_vector):
5998 * alloc.c (Fmake_vector):
5999 * alloc.c (make_bit_vector):
6000 * alloc.c (Fmake_bit_vector):
6001 * alloc.c (Fbit_vector):
6002 * alloc.c (Fmake_string):
6003 * alloc.c (Fpurecopy):
6004 * alloc.c (Fmemory_limit):
6006 * buffer.c (Fget_buffer):
6007 * buffer.c (Fkill_buffer):
6008 * buffer.c (complex_vars_of_buffer):
6009 * bytecode.c (Fcompiled_function_stack_depth):
6010 * callint.c (Fprefix_numeric_value):
6012 * event-stream.c (Fread_key_sequence):
6014 * casetab.c (Fcase_table_p):
6015 * casetab.c (check_case_table):
6016 * casetab.c (Fset_case_table):
6017 * casetab.c (Fset_standard_case_table):
6019 * chartab.c (Fchar_table_type):
6020 * chartab.c (Freset_char_table):
6021 * chartab.c (Fget_char_table):
6022 * chartab.c (Fget_range_char_table):
6023 * chartab.c (Fput_char_table):
6024 * chartab.c (Fmap_char_table):
6025 * chartab.c (Fcategory_table_p):
6026 * chartab.c (Fcheck_category_at):
6027 * chartab.c (Fchar_in_category_p):
6028 * chartab.c (Fcategory_table):
6029 * chartab.c (Fcopy_category_table):
6030 * chartab.c (Fset_category_table):
6031 * chartab.c (Fcategory_designator_p):
6032 * chartab.c (Fcategory_table_value_p):
6033 * cmds.c (Fdelete_char):
6034 * cmds.c (Fdelete_backward_char):
6035 * cmds.c (Fself_insert_command):
6036 * cmds.c (Fself_insert_internal):
6037 * console.c (Fvalid_console_type_p):
6038 * console.c (Fcdfw_console):
6039 * console.c (Fconsole_type):
6040 * console.c (Fconsole_name):
6041 * console.c (Fconsole_device_list):
6042 * console.c (Fconsole_on_window_system_p):
6046 * data.c (Fsubr_interactive):
6047 * data.c (Fchar_to_int):
6048 * data.c (Fint_to_char):
6051 * data.c (Fnumber_to_string):
6052 * data.c (Fstring_to_number):
6054 * database.c (mark_database):
6055 * database.c (finalize_database):
6056 * database.c (Fdatabase_live_p):
6057 * database.c (Fdatabasep):
6058 * device-x.c (Fx_get_resource):
6059 * device.c (Fdfw_device):
6061 * dired.c (Ffile_name_completion):
6062 * dired.c (Ffile_name_all_completions):
6063 * dired.c (Fuser_name_completion):
6064 * dired.c (Fuser_name_completion_1):
6065 * dired.c (Fuser_name_all_completions):
6066 * doc.c (Fdocumentation):
6067 * doc.c (Fdocumentation_property):
6068 * doc.c (Fsubstitute_command_keys):
6070 * editfns.c (Fchar_to_string):
6071 * editfns.c (Fstring_to_char):
6072 * editfns.c (Ftemp_directory):
6073 * editfns.c (Finsert_char):
6074 * editfns.c (Fbuffer_substring_no_properties):
6075 * editfns.c (Fnarrow_to_region):
6076 * editfns.c (Fchar_equal):
6077 * editfns.c (Fchar_Equal):
6078 * editfns.c (Ftranspose_regions):
6079 * emacs.c (Fdump_emacs):
6081 * eval.c (Fcommand_execute):
6082 * eval.c (Fautoload):
6083 * eval.c (Fbacktrace):
6084 * eval.c (Fbacktrace_frame):
6086 * events.c (Fcopy_event):
6087 * events.c (Fcharacter_to_event):
6088 * events.c (Fevent_button):
6089 * events.c (Fevent_process):
6091 * extents.c (Fnext_extent_change):
6092 * extents.c (Fextent_property):
6094 * faces.c (Fmake_face):
6096 * file-coding.c (Fencode_shift_jis_char):
6097 * file-coding.c (Fencode_big5_char):
6098 * fileio.c (Ffile_name_directory):
6099 * fileio.c (Ffile_name_nondirectory):
6100 * fileio.c (Ffile_name_as_directory):
6101 * fileio.c (Fdirectory_file_name):
6102 * fileio.c (Ffile_truename):
6103 * fileio.c (Fsubstitute_in_file_name):
6104 * fileio.c (Ffile_modes):
6105 * fileio.c (Fset_file_modes):
6106 * fileio.c (Fset_default_file_modes):
6107 * fileio.c (Fverify_visited_file_modtime):
6108 * floatfns.c (Facos):
6109 * floatfns.c (Fasin):
6110 * floatfns.c (Fatan):
6111 * floatfns.c (Fcos):
6112 * floatfns.c (Fsin):
6113 * floatfns.c (Ftan):
6114 * floatfns.c (Fbessel_j0):
6115 * floatfns.c (Fbessel_j1):
6116 * floatfns.c (Fbessel_jn):
6117 * floatfns.c (Fbessel_y0):
6118 * floatfns.c (Fbessel_y1):
6119 * floatfns.c (Fbessel_yn):
6120 * floatfns.c (Ferf):
6121 * floatfns.c (Ferfc):
6122 * floatfns.c (Flog_gamma):
6123 * floatfns.c (Fexp):
6124 * floatfns.c (Fexpt):
6125 * floatfns.c (Flog):
6126 * floatfns.c (Flog10):
6127 * floatfns.c (Fsqrt):
6128 * floatfns.c (Fcube_root):
6129 * floatfns.c (Facosh):
6130 * floatfns.c (Fasinh):
6131 * floatfns.c (Fatanh):
6132 * floatfns.c (Fcosh):
6133 * floatfns.c (Fsinh):
6134 * floatfns.c (Ftanh):
6135 * floatfns.c (Fabs):
6136 * floatfns.c (Ffloat):
6137 * floatfns.c (Flogb):
6138 * floatfns.c (Fceiling):
6139 * floatfns.c (Ffloor):
6140 * floatfns.c (Fround):
6141 * floatfns.c (Ftruncate):
6142 * floatfns.c (Ffceiling):
6143 * floatfns.c (Fffloor):
6144 * floatfns.c (Ffround):
6145 * floatfns.c (Fftruncate):
6146 * fns.c (Fstring_equal):
6147 * fns.c (Fstring_lessp):
6152 * fns.c (Fsubstring):
6154 * fns.c (Fold_assoc):
6155 * fns.c (assoc_no_quit):
6157 * fns.c (Fold_assq):
6158 * fns.c (assq_no_quit):
6160 * fns.c (Fold_rassoc):
6162 * fns.c (Fold_rassq):
6163 * fns.c (rassq_no_quit):
6164 * fns.c (Fremassoc):
6165 * fns.c (remassoc_no_quit):
6167 * fns.c (remassq_no_quit):
6168 * fns.c (Fremrassoc):
6169 * fns.c (Fremrassq):
6170 * fns.c (remrassq_no_quit):
6172 * fns.c (Fplist_get):
6173 * fns.c (Fplist_put):
6174 * fns.c (Fplist_remprop):
6175 * fns.c (Fplist_member):
6176 * fns.c (Flax_plist_get):
6177 * fns.c (Flax_plist_put):
6178 * fns.c (Flax_plist_remprop):
6179 * fns.c (Flax_plist_member):
6181 * fns.c (Fold_equal):
6183 * fns.c (Fbase64_encode_region):
6184 * fns.c (Fbase64_encode_string):
6185 * fns.c (Fbase64_decode_region):
6187 * frame.c (frame_matches_frame_spec):
6188 * frame.c (device_matches_device_spec):
6189 * frame.c (next_frame):
6190 * frame.c (previous_frame):
6191 * frame.c (Fnext_frame):
6192 * frame.c (Fprevious_frame):
6193 * frame.c (Fframe_property):
6194 * frame.c (Fset_frame_height):
6195 * frame.c (Fset_frame_size):
6199 * glyphs.c (decode_error_behavior_flag):
6200 * glyphs.c (Fmake_image_instance):
6201 * indent.c (Findent_to):
6202 * intl.c (Fignore_defer_gettext):
6203 * keymap.c (Fkeymapp):
6204 * keymap.c (Flookup_key):
6206 * lread.c (Fload_internal):
6207 * lread.c (Feval_buffer):
6208 * lread.c (Feval_region):
6209 * macros.c (Fexecute_kbd_macro):
6210 * marker.c (set_marker_internal):
6211 * marker.c (Fset_marker):
6212 * marker.c (set_marker_restricted):
6213 * marker.c (Fcopy_marker):
6214 * marker.c (noseeum_copy_marker):
6216 * menubar.c (Fpopup_menu):
6218 * mule-charset.c (Fcharset_name):
6219 * mule-charset.c (Fchar_charset):
6220 * mule-charset.c (Fchar_octet):
6221 * mule-charset.c (Fsplit_char):
6222 * mule-wnnfns.c (Fwnn_open):
6223 * mule-wnnfns.c (Fwnn_dict_comment):
6224 * mule-wnnfns.c (Fwnn_quit_henkan):
6225 * mule-wnnfns.c (Fwnn_word_toroku):
6226 * mule-wnnfns.c (Fwnn_word_sakujo):
6227 * mule-wnnfns.c (Fwnn_word_use):
6228 * mule-wnnfns.c (Fwnn_hindo_set):
6230 * objects.c (Fmake_color_instance):
6231 * objects.c (Fmake_font_instance):
6232 * print.c (Fwrite_char):
6234 * process.c (mark_process):
6235 * process.c (print_process):
6236 * process.c (get_process_from_usid):
6237 * process.c (Fprocessp):
6238 * process.c (Fprocess_live_p):
6239 * process.c (Fget_process):
6240 * process.c (Fget_buffer_process):
6241 * process.c (get_process):
6242 * process.c (Fprocess_id):
6243 * process.c (Fprocess_name):
6244 * process.c (Fprocess_command):
6245 * process.c (init_process_io_handles):
6246 * process.c (start_process_unwind):
6247 * process.c (Fstart_process_internal):
6248 * process.c (Fopen_multicast_group_internal):
6249 * process.c (Fset_process_window_size):
6250 * process.c (read_process_output):
6251 * process.c (send_process):
6252 * process.c (Fprocess_tty_name):
6253 * process.c (Fset_process_buffer):
6254 * process.c (Fprocess_buffer):
6255 * process.c (Fprocess_mark):
6256 * process.c (set_process_filter):
6257 * process.c (Fset_process_filter):
6258 * process.c (Fprocess_filter):
6259 * process.c (Fprocess_send_region):
6260 * process.c (Fprocess_send_string):
6261 * process.c (exec_sentinel):
6262 * process.c (Fset_process_sentinel):
6263 * process.c (Fprocess_sentinel):
6264 * process.c (status_notify):
6265 * process.c (Fprocess_status):
6266 * process.c (Fprocess_exit_status):
6267 * process.c (process_send_signal):
6268 * process.c (Fprocess_send_eof):
6269 * process.c (deactivate_process):
6270 * process.c (remove_process):
6271 * process.c (Fdelete_process):
6272 * process.c (kill_buffer_processes):
6273 * process.c (Fprocess_kill_without_query):
6274 * process.c (Fprocess_kill_without_query_p):
6276 * rangetab.c (Fget_range_table):
6277 * rangetab.c (Fput_range_table):
6278 * rangetab.c (Fremove_range_table):
6279 * rangetab.c (Fclear_range_table):
6281 * search.c (Fskip_chars_forward):
6282 * search.c (Fskip_chars_backward):
6283 * search.c (Fskip_syntax_forward):
6284 * search.c (Fskip_syntax_backward):
6285 * search.c (search_command):
6286 * search.c (Freplace_match):
6287 * search.c (Fregexp_quote):
6288 * select.c (Fown_selection_internal):
6289 * select.c (Fselection_owner_p):
6290 * select.c (Fselection_exists_p):
6291 * select.c (Fget_selection_internal):
6294 * symbols.c (Fintern):
6295 * symbols.c (Fintern_soft):
6296 * symbols.c (Funintern):
6297 * symbols.c (Fapropos_internal):
6298 * symbols.c (Fset_default):
6300 * syntax.c (Fsyntax_table_p):
6301 * syntax.c (Fcopy_syntax_table):
6302 * syntax.c (Fset_syntax_table):
6303 * syntax.c (Fchar_syntax):
6304 * syntax.c (syntax_match):
6305 * syntax.c (Fmatching_paren):
6306 * syntax.c (Fforward_word):
6307 * syntax.c (scan_lists):
6308 * syntax.c (Fscan_lists):
6309 * syntax.c (Fscan_sexps):
6310 * syntax.c (Fparse_partial_sexp):
6311 * toolbar.c (Fcheck_toolbar_button_syntax):
6314 * window.c (Fwindowp):
6315 * window.c (Fwindow_live_p):
6316 * window.c (Fwindow_point):
6317 * window.c (Fdelete_window):
6318 * window.c (Fnext_window):
6319 * window.c (Fprevious_window):
6320 * window.c (Fother_window):
6321 * window.c (window_loop):
6322 * window.c (Fget_lru_window):
6323 * window.c (Fsplit_window):
6324 * window.c (Fenlarge_window):
6325 * window.c (Fenlarge_window_pixels):
6326 * window.c (Fshrink_window):
6327 * window.c (Fshrink_window_pixels):
6328 * window.c (change_window_height):
6329 * window.c (Fwindow_configuration_p):
6330 * window.c (Fcurrent_window_configuration):
6332 * casefiddle.c (casify_object):
6333 * casefiddle.c (Fupcase):
6334 * casefiddle.c (Fdowncase):
6335 * casefiddle.c (Fcapitalize):
6336 * casefiddle.c (Fupcase_initials):
6337 * casefiddle.c (casify_region_internal):
6338 * casefiddle.c (casify_region):
6339 * casefiddle.c (Fupcase_region):
6340 * casefiddle.c (Fdowncase_region):
6341 * casefiddle.c (Fcapitalize_region):
6342 * casefiddle.c (Fupcase_initials_region):
6343 * casefiddle.c (Fupcase_word):
6344 * casefiddle.c (Fdowncase_word):
6345 * casefiddle.c (Fcapitalize_word):
6346 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
6347 Replace 0 with '\0' when working with bytes.
6348 Replace initial "(" with "\(" in docstrings.
6350 2000-11-01 Martin Buchholz <martin@xemacs.org>
6352 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
6354 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
6356 2000-10-31 Martin Buchholz <martin@xemacs.org>
6358 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
6360 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
6362 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
6365 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
6367 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
6368 (inhibit_auto_save_session): New variable.
6369 (vars_of_fileio): Declare and initialize them.
6370 * fileio.c (Fdo_auto_save): Don't create session file if
6371 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
6373 2000-10-31 Martin Buchholz <martin@xemacs.org>
6375 * sgiplay.c (play_internal): C++ compilability.
6376 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
6377 * callproc.c (Fold_call_process_internal):
6378 Remove unused vars `env', `first'.
6379 * scrollbar.c (update_scrollbar_instance):
6380 #### unused var `current_window'.
6381 * redisplay-tty.c: Put currently unused vars insert_mode_on,
6382 etc. within #ifdef NOT_YET.
6383 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
6384 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
6385 * specifier.c (specifier_instance):
6386 #### unused var `tag'.
6387 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
6389 2000-10-27 Martin Buchholz <martin@xemacs.org>
6392 * fns.c (list_sort):
6393 * fns.c (Ffillarray):
6394 * fns.c (bytecode_nconc2):
6397 * fns.c (Fmapconcat):
6398 Be pedantically 64-bit correct. For the time when someone will
6399 want to have a list with length > 2**32.
6401 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
6402 Work around MIPSpro compiler bug.
6404 * process-unix.c (unix_kill_child_process): Add snarky comment.
6405 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
6407 * config.h.in: Oops, _getpt ==> _getpty
6409 2000-10-26 Martin Buchholz <martin@xemacs.org>
6413 Use void*, not char*, as return type of alloca().
6415 * alloc.c (free_marker): Side effect inside assert expression!
6417 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
6419 * mule-charset.c (Fset_charset_ccl_program): To check
6420 if the given ccl program is valid, use setup_ccl_program()
6421 instead of CHECK_VECTOR().
6422 (Fmake_charset): Likewise.
6424 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
6426 * faces.c (get_extent_fragment_face_cache_index):
6427 Fix cachel.merged_faces memory leak.
6429 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
6431 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
6432 Reset MSB of octets obtained by DECODE_SJIS
6433 because of the incompatibility with Emacs.
6434 (ccl_driver)<CCL_ENCODE_SJIS>:
6435 Set MSB of octets before passing them to
6436 ENCODE_SJIS because of the incompatibility
6439 2000-10-18 Daiki Ueno <ueno@unixuser.org>
6441 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
6442 (DECLARE_LRECORD): Undo the last change.
6443 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
6445 2000-10-17 Daiki Ueno <ueno@unixuser.org>
6447 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
6448 the implementation to lrecord_implementations_table.
6450 2000-10-14 Daiki Ueno <ueno@unixuser.org>
6452 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
6453 initial value of `lrecord_type_##c_name' and
6454 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
6455 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
6456 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
6457 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
6458 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
6460 2000-10-17 Martin Buchholz <martin@xemacs.org>
6462 * miscplay.c (sndcnv8S_2mono):
6463 (sndcnv2monounsigned):
6464 (sndcnvULaw_2linear):
6466 Remove implementation-defined behavior.
6468 2000-10-12 Martin Buchholz <martin@xemacs.org>
6470 * input-method-xlib.c: Warning suppression.
6472 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
6474 * mule-ccl.c: Sync up with Emacs 21.0.90.
6475 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
6477 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
6479 (ccl_driver[WriteMultibyteChar2]): Bug fix.
6480 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
6481 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
6482 leading char belongs to official 2-dimensional charset.
6483 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
6484 write the given character as is. Otherwise,
6485 if it is a multibyte char, convert it by
6486 non_ascii_set_charptr_emchar, then write it.
6487 (CCL_WRITE_STRING): Likewise.
6488 (ccl_get_compiled_code): New function.
6489 (setup_ccl_program): When ccl_prog is invalid,
6491 (Fregister_code_conversion_map): New function.
6492 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
6494 * mule-ccl.h: Sync up with Emacs 21.0.90.
6495 (Fregister_ccl_program): export it.
6497 * redisplay-msw.c (separate_textual_runs):
6498 If ccl program is not valid, don't do ccl conversion.
6500 * redisplay-x.c (separate_textual_runs): Ditto.
6502 * file-coding.c (Fmake_coding_system):
6503 When type is ccl and value is vector, register it
6504 with a proper symbol. And checks whether the
6505 given ccl program is valid.
6506 (mule_decode): When calling ccl_driver, if src indicates
6507 NULL pointer, set an empty string instead.
6508 (mule_encode): Likewise.
6510 2000-10-11 Martin Buchholz <martin@xemacs.org>
6512 The following large batch of changes gets us back to a state of
6513 C++ compilability. Extbyte is now a char, which means that
6514 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
6516 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
6518 * sound.c (Fplay_sound): Type correctness.
6520 * select-x.c (hack_motif_clipboard_selection): Type correctness.
6521 (x_get_window_property): Type correctness.
6522 (receive_incremental_selection): unsigned char ==> Extbyte
6523 (selection_data_to_lisp_data): unsigned char ==> Extbyte
6524 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
6525 (Fx_store_cutbuffer_internal): Type correctness.
6527 * process-unix.c (try_to_initialize_subtty): Type correctness.
6529 * objects-x.c (x_print_color_instance): Type correctness.
6530 (x_print_font_instance): Type correctness.
6531 (x_list_fonts): SExtbyte ==> Extbyte.
6532 (valid_x_font_name_p): SExtbyte ==> Extbyte.
6533 (x_find_charset_font): SExtbyte ==> Extbyte.
6534 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
6535 (truename_via_XListFonts): SExtbyte ==> Extbyte.
6536 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
6539 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
6540 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
6541 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
6542 (BYTE_C0_P): Use bit ops for char-signedness safety.
6543 (BYTE_C1_P): Use bit ops for char-signedness safety.
6544 (CHARSET_BY_LEADING_BYTE):
6545 (CHARSET_BY_ATTRIBUTES):
6546 Always use inline function.
6547 Use type_checking_assert.
6550 * mule-charset.c (non_ascii_charptr_copy_char):
6551 Modify to work with both ASCII and non-ASCII characters.
6552 Improve docs and variable names.
6553 Replace over-clever fall-through switch with a simple loop.
6554 (Lstream_get_emchar_1):
6555 Replace over-clever fall-through switch with a simple loop.
6557 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6558 Warning suppression.
6560 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
6561 the return value of Lstream_getc, which could be EOF as well.
6563 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
6565 * lisp.h: Make Extbyte a char, not unsigned char, so that external
6566 APIs can be used on Extbytes without casts. Risky!
6570 * input-method-xlib.c (XIM_init_device):
6571 Use Xlib.h instead of IntrinsicP.h.
6572 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
6573 which will break in X11R7.
6574 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
6575 to call XRegisterIMInstantiateCallback with correct types.
6577 * gui-x.c (button_item_to_widget_value): Type correctness.
6579 * glyphs.c (bitmap_to_lisp_data): Type correctness.
6581 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
6582 (xbm_instantiate_1): Type correctness.
6583 (BUILD_GLYPH_INST): Type correctness.
6585 * fileio.c (Fsubstitute_in_file_name): Type correctness.
6588 (decode_coding_sjis):
6589 (decode_coding_big5):
6590 (decode_coding_ucs4):
6591 (decode_coding_utf8):
6592 (decode_coding_iso2022):
6593 (decode_coding_no_conversion):
6594 Make all decoding functions take an Extbyte * arg.
6595 (encode_coding_sjis):
6596 (encode_coding_big5):
6597 (encode_coding_ucs4):
6598 (encode_coding_utf8):
6599 (encode_coding_iso2022):
6600 (encode_coding_no_conversion):
6601 Make all encoding functions take a Bufbyte * arg.
6602 Use size_t instead of unsigned int for memory sizes.
6603 Only cast to unsigned char whenever dereferencing Extbyte *.
6605 * doc.c (unparesseuxify_doc_string): Type correctness.
6607 * console-x.c (split_up_display_spec):
6608 Rewrite without using details of internal string representation.
6609 (x_semi_canonicalize_device_connection): Type correctness.
6612 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
6613 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
6614 (HAVE_XFREE386): Removed.
6616 * buffer.h (DEC_CHARPTR): `const' correctness.
6617 (bufbyte_strcmp): New.
6618 (bufbyte_memcmp): New.
6620 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
6622 * buffer.h (XCHAR_OR_CHAR_INT):
6623 Always use inline function.
6624 Remove redundant type checking assert() - XINT will abort quite nicely.
6626 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6628 * search.c (Freplace_match): Set newtext to an empty string.
6630 2000-10-10 Martin Buchholz <martin@xemacs.org>
6632 * s/decosf1-3.h: Remove #include of stropts.h
6633 * s/ptx.h: Remove #include of stropts.h
6634 * s/usg5-4.h: Remove #include of stropts.h
6637 Use stropts.h, not sys/stropts.h.
6638 Use strtio.h, not sys/strtio.h.
6640 2000-10-04 Martin Buchholz <martin@xemacs.org>
6642 * XEmacs 21.2.36 is released.
6644 2000-09-21 Andy Piper <andy@xemacs.org>
6646 * glyphs-x.c (x_redisplay_widget): make sure non-structural
6647 changes still involve copying the widget tree.
6648 (update_widget_face): make sure a change is register in the widget
6649 tree. Call update_tab_widget_face appropriately.
6650 (update_tab_widget_face): ditto.
6651 (x_tab_control_redisplay): make sure non-structural changes still
6652 involve copying the widget tree.
6654 2000-08-31 Daiki Ueno <ueno@unixuser.org>
6656 * lread.c (locate_file): Check the path element is non-nil.
6658 2000-10-02 Martin Buchholz <martin@xemacs.org>
6660 * lisp.h: Warning suppression for SCO compilers.
6662 * redisplay-tty.c (reset_tty_modes): Fix crash.
6663 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
6665 2000-09-27 Martin Buchholz <martin@xemacs.org>
6667 Big signal/process handling overhaul. Bugs fixed:
6668 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
6669 M-x comint-kill-subjob should work for both values nil and t of
6670 process-connection-type. It was broken on most platforms.
6671 Testing on Irix and Cygwin still needed. Other plaforms tested.
6672 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
6673 * process-unix.c: Signal/Process handling overhaul.
6674 (pty_name): make 64 bytes, as `expect' does, for paranoia.
6675 (allocate_pty): Use all available modern methods of allocating
6676 ptys, falling back to old style BSD allocation as a last resort.
6677 Use allegedly more secure Unix98 pty allocation by default.
6678 (allocate_pty_the_old_fashioned_way): New. the last resort.
6679 (unix_create_process): Push ptem, ldterm, ttcompat where
6680 available. Autoconfiscate.
6681 (try_to_initialize_subtty): New.
6682 (unix_kill_child_process): Proper signal handling for ptys on most
6683 platforms, using special knowledge of AIX, BSD, etc...
6684 (unix_create_process): Always disconnect_controlling_terminal() for
6685 subprocesses, whether using ptys or not.
6686 * process.h: Remove old getpt-dependent PTY code.
6687 * process.c (Fprocess_send_signal): New, obvious generic function.
6688 (decode_signal): New.
6689 (Finterrupt_process):
6693 (Fcontinue_process):
6694 (Fsignal_process): Use decode_signal.
6695 (process_send_signal):
6696 Many docstring corrections.
6697 Allow any signal to be sent to a process object.
6698 * config.h.in: Add symbols for big signal/process overhaul.
6699 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
6700 * sysproc.h: Include process-related headers, where available:
6701 sys/stropts.h sys/strtio.h pty.h libutil.h
6709 Remove old S&M pty stuff.
6710 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
6711 * systty.h: Simplify cpp hackery, improve comments.
6712 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
6714 * editfns.c (Fformat_time_string):
6715 Be a little more paranoid with the return value of ctime.
6717 * fileio.c (check_executable):
6719 Use symbolic constants X_OK, W_OK.
6721 * console-x.c (split_up_display_spec): Fix a warning.
6723 2000-10-02 Martin Buchholz <martin@xemacs.org>
6725 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
6726 * ntproc.c (sys_spawnve): make_string ==> build_string
6727 Small clarity improvements.
6729 2000-09-30 Martin Buchholz <martin@xemacs.org>
6731 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
6733 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
6735 * config.h.in (HAVE_STRCASECMP): Remove.
6737 2000-09-29 Martin Buchholz <martin@xemacs.org>
6739 * redisplay-output.c (redisplay_output_pixmap):
6740 Cleaner and possibly more 64-bit correct code.
6742 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6744 * dumper.c (pdump_load_finish): move restoration of
6745 `noninteractive1' to emacs.c (main_1).
6746 * emacs.c (main_1): protect LISP-visible command-line flags
6749 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
6751 * Makefile.in.in (versionclean): Use EXE_TARGET and
6752 DUMP_TARGET instead of literal program names.
6754 2000-09-20 Martin Buchholz <martin@xemacs.org>
6756 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
6758 2000-09-19 Martin Buchholz <martin@xemacs.org>
6760 * *: Spelling mega-patch
6762 2000-09-19 Martin Buchholz <martin@xemacs.org>
6764 * fns.c (bad_bad_turtle):
6765 Delete "Eek!" comment, since we fixed the bug to which it refers.
6767 2000-09-16 Martin Buchholz <martin@xemacs.org>
6769 * alloca.c: Replace REGISTER with register.
6771 2000-09-16 Daiki Ueno <ueno@unixuser.org>
6773 * file-coding.c (ucs_to_char): Use countof.
6775 2000-09-16 Martin Buchholz <martin@xemacs.org>
6777 * file-coding.c: (ucs_to_char):
6778 (complex_vars_of_file_coding):
6779 Use countof instead of sizeof.
6780 Use CHECK_NATNUM instead of CHECK_INT.
6782 * sysdep.c (strcasecmp): Remove.
6783 * device-x.c (ascii_strcasecmp): New.
6784 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
6785 Avoid using non-standard non-portable strcasecmp.
6787 2000-09-16 Martin Buchholz <martin@xemacs.org>
6789 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
6790 * font-lock.c: remove reference to emacsfns.h.
6791 * search.c: small doc improvement.
6792 * event-Xt.c: correct file names in comments.
6793 * console-x.h Correct file names in comments.
6794 * frame.c: Correct file names in comments.
6795 * event-stream.c: remove Energize from comments.
6797 2000-09-15 Martin Buchholz <martin@xemacs.org>
6799 * symeval.h (DEFERROR_STANDARD):
6802 (DEFSYMBOL_NO_DUMP):
6803 (DEFSYMBOL_MULTIWORD_PREDICATE):
6804 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
6806 The construct &##name is not sensible C.
6807 Fixes compilation errors with Unixware native compiler.
6809 2000-09-14 Martin Buchholz <martin@xemacs.org>
6811 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
6812 (next_frame_internal): Removed. We now just have next_frame.
6814 Write a simpler and cleaner one-pass algorithm.
6815 Remove called_from_delete_device arg and #ifdefed-out code.
6817 Renamed from prev_frame. Update callers.
6818 Cleaned up to have an analogous implementation to next_frame.
6819 (other_visible_frames_internal): Remove the
6820 called_from_delete_device bogus arg, and hence, remove this
6821 function. Just use other_visible_frames().
6823 * window.c (Fnext_window):
6825 Since next_frame() is guaranteed to return a frame, remove check
6826 for nil inserted in previous patch.
6829 Make code look more like Fnext_window.
6831 Respect the `console' arg when iterating through windows.
6832 Fixes bug: (get-buffer-window buffer t device) not respecting
6834 This function needs more work, as others have pointed out.
6836 * frame.h: Rename prev_frame to previous_frame.
6837 device_matches_console_spec no longer takes a `frame' arg.
6842 Use EMACS_BLOCK_SIGNAL instead of sigblock.
6843 From "Golubev I. N." <gin@mo.msk.ru>.
6845 * make-src-depend: Fix typo.
6847 2000-09-13 Martin Buchholz <martin@xemacs.org>
6849 * window.c (Fnext_window):
6850 next_frame() might return nil, not a frame.
6852 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6854 * frame.c (next_frame_internal):
6855 We've passed a frame if we've passed its device.
6857 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6858 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
6860 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6862 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6863 Allow option to suppress accelerators in menu/dialog items.
6864 (populate_or_checksum_helper): Pass dialog title through above.
6866 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6868 * event-msw.c (mswindows_key_to_emacs_keysym):
6869 Add "pause" key, fix "menu" key.
6871 2000-09-09 Martin Buchholz <martin@xemacs.org>
6873 * eval.c (reinit_vars_of_eval):
6874 Increase max_lisp_eval_depth to 1000,
6875 required for thai-xtis.el to byte-compile under some circumstances.
6877 2000-09-04 Martin Buchholz <martin@xemacs.org>
6879 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6882 2000-09-01 Martin Buchholz <martin@xemacs.org>
6884 * make-src-depend: Make the generated Makefiles smaller.
6886 * s/hpux.h (SETUP_SLAVE_PTY):
6887 Provide a %d in the format string for the errno argument.
6889 * editfns.c (Ftemp_directory):
6891 Avoid buffer overrun on very long file name.
6893 * input-method-xlib.c (XIM_init_device):
6894 6th parameter of XRegisterIMInstantiateCallback has different
6895 pointer types on different OSes, so simply cast to (void *).
6897 * unexhp9k800.c: Warning fixes. Fiddly changes.
6899 * sysdll.c (dll_open):
6900 shl_load will hang hard if passed a NULL filename.
6901 Simply return NULL for compatibility with dlopen.
6902 * sysdll.c: Conform to XEmacs coding standards.
6904 * sysdep.c (get_pty_max_bytes):
6905 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6907 2000-08-31 Martin Buchholz <martin@xemacs.org>
6909 * tooltalk.c: Add #include <syssignal.h>
6911 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6913 * s/hpux.h: Don't use undefined function sigunblock().
6915 2000-08-31 Martin Buchholz <martin@xemacs.org>
6917 * config.h.in: Add HAVE_BALLOON_HELP.
6918 * emacs.c: Use HAVE_BALLOON_HELP.
6919 * Makefile.in.in (x_objs):
6920 Make Balloon Help conditional on finding shape.h.
6922 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6924 * syntax.c (regex_emacs_buffer_p): New variable.
6925 * syntax.h (regex_emacs_buffer_p): extern.
6926 * search.c (looking_at_1):
6928 (fast_string_match):
6929 (search_buffer): Set regex_emacs_buffer_p.
6930 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6931 when before_dot, at_dot, after_dot.
6933 2000-08-23 Andy Piper <andy@xemacs.org>
6935 * gui-x.c (popup_selection_callback): Only set action_occurred
6936 when we really have an image instance.
6937 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6939 2000-08-23 Andy Piper <andy@xemacs.org>
6941 * gui-msw.c (mswindows_handle_gui_wm_command): set
6943 * gui-x.c (popup_selection_callback): ditto.
6945 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6946 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6947 (struct Lisp_Image_Instance): add action_occurred flag.
6949 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6950 (image_instance_changed): ditto.
6951 (reset_frame_subwindow_instance_cache): only unmap windows - do
6952 not remove them from the cache also.
6954 * glyphs-widget.c (tab_control_update): better debug.
6955 (progress_gauge_update): ditto.
6956 (layout_update): ditto.
6957 (layout_instantiate): ditto.
6958 (tab_control_order_only_changed): cope with null pending items.
6960 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6961 debug. Force selection of an item when an action occurred. Cope
6962 with null pending_items.
6963 (mswindows_progress_gauge_redisplay): better debug.
6964 * glyphs-x.c (x_tab_control_redisplay): ditto.
6966 * redisplay.c (redisplay_frame): reset the frame cache if the
6969 * window.c (Fset_window_configuration): potentially re-enable
6971 (window_unmap_subwindows): need to finalize instances here since
6972 it is only used in mark_window_as_deleted.
6974 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6976 * nas.c (SndOpenDataForReading):
6977 nas.c (WaveOpenDataForReading):
6978 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6979 Somehow escaped from the 2000-08-14 patch.
6981 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6983 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6984 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6986 2000-08-21 Andy Piper <andy@xemacs.org>
6988 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6989 window if it is not already displayed.
6991 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6992 it is not already displayed.
6994 * window.c (Fset_window_configuration): don't reset the frame
6997 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6998 instances from the frame cache if we are actually finalizing them.
6999 (reset_frame_subwindow_instance_cache): reset frame cache only
7000 after unmapping everything.
7001 (map_subwindow): set displayed flag after mapping.
7003 2000-08-21 Martin Buchholz <martin@xemacs.org>
7005 * data.c (indirect_function):
7006 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
7008 * eval.c (function_argcount):
7009 Use original function when signaling errors.
7011 2000-08-18 Andy Piper <andy@xemacs.org>
7013 * frame.c (delete_frame_internal): use new
7014 free_frame_subwindow_instances name.
7016 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
7017 (add_tab_item): make return type correct.
7018 (mswindows_tab_control_instantiate): assert index of tab.
7019 (mswindows_tab_control_redisplay): Re-code to use
7020 gui_item_equal_sans_selected and gui_item_list_find_selected.
7022 * glyphs-widget.c (tab_control_update): Correct comment.
7024 * window.c (window_unmap_subwindows): use new
7025 unmap_subwindow_instance_cache_mapper.
7026 (window_unmap_subwindows_cache_mapper): deleted.
7027 (Fset_window_configuration): comparisons should now be with
7028 EQ. Preserve the subwindow instance cache across configuration
7030 (allocate_window): ditto.
7031 (make_dummy_parent): ditto.
7033 * glyphs.c (free_frame_subwindow_instances): rename from
7034 free_frame_subwindow_instance_cache. finalize all instances rather
7035 than just those in the display cache.
7036 (finalize_all_subwindow_instances): walk windows unmapping and
7037 finalizing subwindows.
7038 (unmap_subwindow_instance_cache_mapper): moved from
7039 window.c. Allow finalization as well as unmapping.
7041 * gui.c (gui_item_list_find_selected): new function.
7043 * gui.h (gui_item_list_find_selected): declare.
7045 * glyphs-x.c (x_tab_control_redisplay): pick tab
7046 explicitly. Re-code to use gui_item_equal_sans_selected and
7047 gui_item_list_find_selected.
7049 * glyphs-x.h: add lwlib-utils.h
7051 * buffer.c (Frecord_buffer): undo previous change.
7053 2000-08-09 Vin Shelton <acs@xemacs.org>
7055 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
7056 possible. Create temporary files more securely. The patch was
7057 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
7058 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
7059 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
7062 2000-08-07 Ben Wing <ben@xemacs.org>
7064 * getloadavg.c: remove duplicate (and windows-breaking)
7065 includes of fcntl.h and sys/file.h.
7067 * nt.c: remove duplicate getloadavg() definition.
7069 * sysdll.h (Qdll_filename_encoding): add missing stand-in
7072 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
7074 * eval.c (function_argcount): If function needs to be autoloaded
7075 actually use the loaded definition.
7078 2000-08-05 Ben Wing <ben@xemacs.org>
7080 * getloadavg.c: add prototype for getloadavg(). remove
7081 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
7082 of the code). remove duplicate header includes.
7084 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
7086 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
7087 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
7088 useful load average.
7090 * alloc.c (reinit_alloc_once_early): removed references to
7091 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
7092 the lisp vars are the only things referencing the malloc_sbrk_*
7093 vars, and they were already if 0'd out. these vars only exist
7094 in the older malloc.c, which is basically unused, and they're
7095 only for informational purposes.
7097 * m\*.h: removed useless VIRT_ADDR_VARIES.
7099 * m\powerpc.h: removed stray NO_ARG_ARRAY.
7101 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
7103 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
7104 color if the image is a mono pixmap.
7106 2000-07-30 Ben Wing <ben@xemacs.org>
7108 * Makefile.in.in (release):
7111 * buffer.c (directory_is_current_directory):
7112 * dired-msw.c (mswindows_get_files):
7114 * dired.c (Fdirectory_files):
7115 * dired.c (file_name_completion_stat):
7116 * dired.c (Ffile_attributes):
7117 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
7118 preprocessor tricks, to avoid problems on some machines
7121 * callproc.c (egetenv): GC docs.
7124 * console-msw.h (struct mswindows_dialog_id):
7125 * lrecord.h (lrecord_type):
7126 New object for use with MSW dialogs.
7128 * console.h (struct console_methods):
7129 New enable/disable frame methods, for proper modal dialogs.
7131 * device-msw.c (msprinter_default_printer): Fix to follow
7132 proper Mule conventions.
7135 * device-msw.c (signal_open_printer_error):
7136 * device-msw.c (msprinter_init_device):
7137 * device-msw.c (ensure_not_printing):
7138 * device-msw.c (plist_get_margin):
7139 * device-msw.c (Fmsprinter_select_settings):
7140 * device-msw.c (finalize_devmode):
7141 * device-msw.c (Fmsprinter_settings_despecialize):
7142 * device-msw.c (signal_enum_priner_error):
7143 * extents.c (decode_extent):
7144 * extents.c (decode_map_extents_flags):
7145 * extents.c (decode_extent_at_flag):
7146 * extents.c (Fextent_at):
7147 * extents.c (Fextents_at):
7148 * extents.c (symbol_to_glyph_layout):
7149 [[[[2]]]] Use structured errors.
7152 * dialog-msw.c (mswindows_is_dialog_msg):
7153 * dialog-msw.c (mark_mswindows_dialog_id):
7154 * dialog-msw.c (dialog_proc):
7155 * dialog-msw.c (handle_question_dialog_box):
7156 * dialog-msw.c (syms_of_dialog_mswindows):
7157 Define new object to clean up marking; use it as a dialog identifier.
7158 Call new delete-dialog-box-hook.
7160 * dialog-x.c (dbox_selection_callback):
7161 * dialog-x.c (dbox_descriptor_to_widget_value):
7162 * dialog-x.c (x_make_dialog_box_internal):
7163 Call new delete-dialog-box-hook.
7167 * dialog.c (syms_of_dialog):
7168 * dialog.c (vars_of_dialog):
7169 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
7172 * eval.c (signal_call_debugger):
7173 when noninteractive, output stack traces on the console instead
7174 of in a (never-seen) buffer.
7176 * eval.c (signal_type_error):
7177 * eval.c (invalid_argument_2):
7179 new funs for use w/structured errors.
7182 * event-Xt.c (x_to_emacs_keysym):
7183 * event-Xt.c (describe_event):
7184 * event-Xt.c (emacs_Xt_event_handler):
7185 * event-Xt.c (vars_of_event_Xt):
7187 * event-msw.c (mswindows_wnd_proc):
7188 * event-msw.c (vars_of_event_mswindows):
7189 rename {x,mswindows}-debug-events to debug-{}-events for
7190 consistency with other debug-foo variables.
7193 document next-event more clearly.
7195 * fileio.c (Ffile_name_directory):
7196 * fileio.c (Ffile_name_nondirectory):
7197 * fileio.c (Funhandled_file_name_directory):
7198 * fileio.c (file_name_as_directory):
7199 * fileio.c (Ffile_name_as_directory):
7200 * fileio.c (directory_file_name):
7201 * fileio.c (Fdirectory_file_name):
7202 * fileio.c (Fmake_temp_name):
7203 * fileio.c (Ffile_truename):
7204 * fileio.c (Fsubstitute_in_file_name):
7205 * fileio.c (expand_and_dir_to_file):
7206 * fileio.c (barf_or_query_if_file_exists):
7207 * fileio.c (check_executable):
7208 * fileio.c (Ffile_exists_p):
7209 * fileio.c (Ffile_writable_p):
7210 * fileio.c (Ffile_directory_p):
7211 * fileio.c (Ffile_regular_p):
7212 * fileio.c (Ffile_modes):
7213 * fileio.c (Ffile_newer_than_file_p):
7214 * fileio.c (Fverify_visited_file_modtime):
7215 * fileio.c (Fset_visited_file_modtime):
7216 * fileio.c (auto_save_1):
7221 * frame-msw.c (mswindows_init_frame_1):
7222 * frame-msw.c (mswindows_enable_frame):
7223 * frame-msw.c (error_frame_unsizable):
7224 * frame-msw.c (msprinter_init_frame_1):
7225 * frame-msw.c (msprinter_init_frame_3):
7226 * frame-msw.c (console_type_create_frame_mswindows):
7228 implement new enable/disable frame methods.
7231 * frame-x.c (x_enable_frame):
7232 * frame-x.c (console_type_create_frame_x):
7233 implement new enable/disable frame methods.
7236 * frame.c (Fdisable_frame):
7237 * frame.c (syms_of_frame):
7238 * frame.h (struct frame):
7239 implement new enable/disable frame methods/functions.
7244 * glyphs-msw.c (mswindows_widget_instantiate):
7245 comment that initial-focus should be implemented.
7248 * glyphs-widget.c (check_valid_instantiator):
7249 * glyphs-widget.c (check_valid_orientation):
7250 * glyphs-widget.c (check_valid_tab_orientation):
7251 * glyphs-widget.c (check_valid_justification):
7252 * glyphs-widget.c (check_valid_border):
7253 * glyphs-widget.c (check_valid_callback):
7254 * glyphs-widget.c (check_valid_int_or_function):
7255 * glyphs-widget.c (check_valid_string_or_vector):
7256 * glyphs-widget.c (check_valid_item_list_1):
7257 * glyphs-widget.c (widget_validate):
7258 * glyphs-widget.c (combo_box_validate):
7259 * glyphs-widget.c (widget_instantiate):
7260 * glyphs-widget.c (syms_of_glyphs_widget):
7261 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
7262 * glyphs-widget.c (image_instantiator_combo_box):
7263 * glyphs-widget.c (image_instantiator_scrollbar):
7264 * glyphs-widget.c (image_instantiator_tab_control):
7265 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
7267 support (unimplemented) keyword initial-focus.
7268 reindent long macros.
7270 * glyphs-x.c (x_redisplay_widget):
7271 * glyphs-x.c (x_button_instantiate):
7272 * glyphs-x.c (x_button_redisplay):
7273 * glyphs-x.c (x_progress_gauge_instantiate):
7274 * glyphs-x.c (x_edit_field_instantiate):
7275 * glyphs-x.c (x_combo_box_instantiate):
7276 * glyphs-x.c (x_tab_control_instantiate):
7277 * glyphs-x.c (x_label_instantiate):
7279 * gui-x.c (button_item_to_widget_value):
7280 * gui-x.c (gui_items_to_widget_values_1):
7281 * gui-x.c (gui_item_children_to_widget_values):
7282 * gui-x.c (gui_items_to_widget_values):
7284 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7285 add new flag to gui-parsing routines to indicate whether
7286 accelerator specs should be supported.
7288 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
7290 * glyphs.h (struct Lisp_Image_Instance):
7291 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
7292 add initial-focus flag.
7295 * gui.c (syms_of_gui):
7296 * gui.c (vars_of_gui):
7297 clean up menu-no-selection-hook.
7300 support delete-dialog-box-hook.
7302 * lread.c (Fload_internal):
7303 * lread.c (locate_file_in_directory_mapper):
7307 * lrecord.h (struct toolbar_button):
7308 * lrecord.h (syms_of_toolbar):
7309 document how to create a new object.
7311 * menubar-msw.c (mswindows_char_is_accelerator):
7312 may be called on frames w/o menus.
7314 * menubar.c (vars_of_menubar):
7315 clean up :filter docs.
7322 * process-nt.c (validate_signal_number):
7323 * process-nt.c (signal_cannot_launch):
7324 * process-nt.c (nt_create_process):
7325 * process-nt.c (nt_send_process):
7326 * process-nt.c (nt_kill_child_process):
7327 * process-nt.c (nt_open_network_stream):
7328 * process-nt.c (syms_of_process_nt):
7330 delete quote-handling. call new lisp code that does it better.
7332 * process-unix.c (connect_to_file_descriptor):
7333 * process-unix.c (allocate_pty):
7334 * process-unix.c (unix_send_process):
7335 * process-unix.c (unix_kill_child_process):
7336 * process-unix.c (unix_open_network_stream):
7337 * process-unix.c (unix_open_multicast_group):
7341 * process.c (Fstart_process_internal):
7342 (2). need to canonicalize process path even if absolute.
7344 * select-msw.c (symbol_to_ms_cf):
7345 * select-msw.c (ms_cf_to_symbol):
7346 * select-msw.c (cf_is_autofreed):
7347 * select-msw.c (mswindows_destroy_selection):
7349 * select.c (syms_of_select):
7351 support dibv5, fix bugs. (from Mike Alexander)
7353 * select.c (Fget_selection_internal):
7354 * select.c (select_convert_out):
7357 * sysdep.c (xemacs_stat):
7362 but keep original stat() here because we provide encapsulation
7366 * sysfile.h (fstat):
7367 remove stat garbage.
7371 don't include tchar.h. it's inappropriate because it makes
7372 compile-time distinctions when we want runtime distinctions.
7373 (we provide our own tchar replacements)
7376 use default object printer for toolbar-button.
7379 make sure we don't encapsulate.
7381 * window.c (vars_of_window):
7382 emphasize that temp-buffer-show-hook is obsolete.
7384 2000-08-05 Martin Buchholz <martin@xemacs.org>
7386 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
7387 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
7389 * events.c (Fevent_timestamp_lessp):
7390 Not 64-bit clean. Use EMACS_INT, not int.
7392 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
7394 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
7395 unsigned int and changed the last enum to
7396 lrecord_type_last_built_in_type.
7397 (lrecord_implementations_table): changed prototype to know how
7398 long the array is supposed to be.
7399 (lrecord_type_count): new unsigned int to keep track of the
7400 current number of lisp lrecord types.
7401 (DEFINE_EXTERNAL_LRECORD):
7402 (DECLARE_EXTERNAL_LRECORD): Added these two for external
7403 dynamic-modules to declare new lisp types. They are the same
7404 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
7405 int for each new type, and increment lrecord_type_count by 1.
7407 * alloc.c (lrecord_implementations_table): Changed to reference
7408 lrecord_type_last_built_in_type for the size of the array.
7409 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
7411 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
7413 * glyphs.h (check_valid_item_list): Renamed from
7414 check_valid_item_list_1.
7416 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
7418 * select.c (Qselect_coerce): New.
7419 * select.c (Vselection_coercion_alist): New.
7420 * select.c (syms_of_select): Declare.
7421 * select.c (get-selection-internal): Use it.
7422 Use the new select-coerce functionality.
7424 * select.c (select_coerce): New.
7425 * select.h (select_coerce): Declare.
7426 New function to coerce one type of data into another.
7428 2000-08-03 Martin Buchholz <martin@xemacs.org>
7430 * callproc.c (Fcall_process_internal):
7431 (Fcall_process_internal):
7432 * process-unix.c (unix_create_process):
7433 Save and restore the value of errno, so that error messages are accurate.
7435 2000-08-01 Martin Buchholz <martin@xemacs.org>
7437 * elhash.c (print_hash_table):
7438 Fix printing of hash tables to also use `key-and-value' instead of `t'.
7439 Prettify docstrings and indentation.
7441 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
7443 * window.c (Fwindow_pixel_edges): Subtract frame border and
7446 2000-07-31 Andy Piper <andy@xemacs.org>
7448 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
7449 will acknowledge the change.
7451 * glyphs.h: declare tab_control_order_only_changed.
7453 * glyphs-x.c (x_tab_control_redisplay): use
7454 tab_control_order_only_changed.
7456 * glyphs-widget.c (tab_control_order_only_changed): new function.
7458 * glyphs-msw.c (mswindows_tab_control_redisplay): use
7459 tab_control_order_only_changed.
7461 * gui.c (gui_item_equal_sans_selected): new function.
7462 (gui_item_equal): use it.
7464 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
7465 :properties in favor of :items..
7467 * glyphs-widget.c (check_valid_item_list): rename from
7468 check_valid_item_list_1.
7469 (check_valid_item_list_1): renamed.
7470 (combo_box_validate): deprecate :properties in favor of :items.
7471 (widget_instantiate): ditto.
7472 (tab_control_update): ditto.
7473 (image_instantiator_combo_box): ditto.
7474 (image_instantiator_tree_view): ditto.
7475 (image_instantiator_tab_control): ditto.
7476 (layout_post_instantiate): remove dead code.
7478 * print.c (debug_print_no_newline): only write to debugger if in
7481 * elhash.c (Fmake_hash_table): update doc string.
7483 * event-msw.c (mswindows_wnd_proc): don't allow processing of
7484 messages whilst in GC. This at least stops XEmacs crashing but has
7485 the potential for wierd behaviour.
7487 2000-07-31 Martin Buchholz <martin@xemacs.org>
7490 Make existence of s&m files optional.
7492 * s/bsd386.h: Remove HAVE_GETLOADAVG.
7493 * s/freebsd.h: Remove HAVE_GETLOADAVG.
7494 * s/gnu.h: Remove HAVE_GETLOADAVG.
7495 * s/netbsd.h: Remove HAVE_GETLOADAVG.
7496 * s/sol2.h: Remove HAVE_GETLOADAVG.
7497 * lisp.h: Remove getloadavg() declaration.
7499 Include <sys/loadavg.h> if available.
7500 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
7501 * config.h.in: Group together getloadavg()-related macros.
7502 Use only configure-time tests to detect getloadavg().
7504 2000-07-30 Martin Buchholz <martin@xemacs.org>
7506 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
7508 2000-07-25 Andy Piper <andy@xemacs.org>
7510 * syswindows.h: add tchar.h for native builds.
7512 * frame.c (syms_of_frame): remove set-glyph-image.
7514 * general-slots.h: add Qset_glyph_image.
7516 * glyphs-widget.c (layout_update): add domain arg to
7518 (syms_of_glyphs_widget): remove set-glyph-image.
7520 2000-07-23 Ben Wing <ben@xemacs.org>
7522 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
7525 2000-07-22 Andy Piper <andy@xemacs.org>
7527 * symsinit.h: add syms_of_win32().
7529 * gui-msw.c (syms_of_gui_mswindows): remove
7530 Fmswindows_shell_execute.
7531 (Fmswindows_shell_execute): moved to win32.c.
7533 * emacs.c (main_1): add syms_of_win32 ().
7535 * win32.c (init_potentially_nonexistent_functions): rewrite in
7536 compiler-friendly terms.
7537 (Fmswindows_shell_execute): move here from gui-msw.c.
7538 (syms_of_win32): new.
7540 * device-msw.c (Fmswindows_printer_list): clean up args to
7542 Don't include tchar under cygwin or mingw.
7543 (msprinter_default_printer): make cygwin-friendly.
7545 2000-07-21 Andy Piper <andy@xemacs.org>
7547 * glyphs-widget.c (image_instantiator_tree_view): use tab
7548 control's update function.
7549 (layout_property): new function. Retrieve items.
7551 * glyphs-msw.c (mswindows_tree_view_redisplay): new
7552 function. Re-populate the tree view from the pending items.
7554 * glyphs.c (instantiate_image_instantiator): Make sure the domain
7555 is designated the parent if the domain is an image instance. This
7556 is needed so that dirtiness can be cascade up the hierarchy and
7557 thus for layout children to be redisplayed correctly.
7558 (allocate_image_instance): rename glyph -> parent.
7560 * redisplay.h: change redisplay_output_layout signature.
7562 * redisplay-msw.c (mswindows_output_display_block): use domain
7565 * redisplay-x.c (x_output_display_block): use domain arg.
7567 2000-07-10 Andy Piper <andy@xemacs.org>
7569 * window.c (Fset_window_configuration): add comment.
7571 * redisplay-output.c (compare_runes):
7572 (redisplay_output_subwindow): redisplay rather than update subwindow.
7573 (redisplay_output_layout): ditto.
7575 * redisplay-msw.c (mswindows_frame_output_end):
7576 (mswindows_frame_output_end): make defer window pos optional.
7578 * lisp.h: add Flast.
7580 * glyphs.h (struct image_instantiator_methods): add dest_mask top
7581 normalize method. Change update method to be for changed
7582 instantiators. Add redisplay method. Change signature of layout
7584 (struct Lisp_Image_Instance): add instantiator.
7585 (IMAGE_INSTANCE_INSTANTIATOR): new.
7586 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
7587 (XIMAGE_INSTANCE_INSTANTIATOR): new.
7588 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
7591 (find_instantiator_differences): new function.
7592 (Fset_instantiator_property): new convenience function.
7593 (check_image_instance_structure): strictly check for vector
7595 (normalize_image_instantiator): make non-static.
7596 (instantiate_image_instantiator): pass on dest_mask and use new
7597 signatures for image_instance_layout and friends.
7598 (mark_image_instance): mark the instantiator. Mark the subwindow
7599 face not the widget face.
7600 (image_instance_equal): add instantiator.
7601 (image_instance_hash): ditto.
7602 (allocate_image_instance): ditto.
7603 (Fset_image_instance_property): removed.
7604 (Fimage_instance_file_name): ditto.
7605 (Fcolorize_image_instance): ditto.
7606 (image_instance_layout): add offsets to be set.
7607 (update_image_instance): new function. update an image instance
7608 from its changed instantiator.
7609 (inherit_normalize): add dest_mask.
7610 (xbm_normalize): ditto.
7611 (xface_normalize): ditto.
7612 (xpm_normalize): ditto.
7613 (text_update): set_property -> update.
7614 (image_instantiate): use the glyph identity as a hash key, not the
7616 (glyph_width): use new image_instance_layout signature.
7617 (glyph_ascent): ditto.
7618 (glyph_descent): ditto.
7619 (glyph_height): ditto.
7620 (glyph_query_geometry): ressurrect.
7621 (glyph_layout): ditto.
7622 (redisplay_subwindow): update -> redisplay.
7623 (syms_of_glyphs): add Fset_instantiator_property.
7624 (image_instantiator_format_create): set_property -> update.
7627 (autodetect_normalize): add dest_maks to signature.
7628 (x_redisplay_subwindow): update -> redisplay.
7629 (x_redisplay_widget): ditto.
7630 (x_button_redisplay): ditto.
7631 (x_progress_gauge_redisplay): ditto.
7632 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
7634 (console_type_create_glyphs_x): update -> redisplay.
7635 (image_instantiator_format_create_glyphs_x): ditto.
7638 (check_valid_instantiator): disallow glyphs in the instantiator,
7639 they must now be vectors.
7640 (check_valid_instantiator_list): ditto.
7641 (glyph_instantiator_to_glyph): use internal symbol rather than
7643 (widget_update): renamed from widget_set_property. Call cascaded
7645 (redisplay_widget): renamed from update_widget.
7646 (widget_layout): image_instance_layout now takes position as well
7648 (widget_normalize): ditto.
7649 (widget_instantiate): ditto.
7650 (tab_control_query_geometry) ditto.:
7651 (tab_control_update): renamed from tab_control_set_property.
7652 (progress_gauge_update): set_property -> update.
7653 (layout_normalize): rewrite so that child instantiators are
7655 (layout_update): new function. Create glyphs from the normalized
7656 children and cope with any other layout keywords. We do not
7657 instantiate children here that will be take care of by
7658 redisplay_output_layout.
7659 (layout_instantiate): call layout_update and not much else.
7660 (layout_post_instantiate): not sure whether this is needed
7662 (layout_query_geometry): query glyph geometry rather than
7663 image_instance geometry.
7664 (layout_layout): set offsets from pass in parameters. Use glyph
7665 geometry and layout functions rather than image instance ones.
7666 (native_layout_layout): ditto.
7667 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
7668 (image_instantiator_widget): set_property -> update.
7669 (image_instantiator_buttons): ditto.
7670 (image_instantiator_progress_guage): ditto.
7671 (image_instantiator_tab_control): ditto.
7672 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
7673 (image_instantiator_layout): add update method.
7675 * glyphs-msw.c (bmp_normalize):
7676 (mswindows_resource_normalize): add dest_mask so that it can be
7677 proprogated by layout_normalize.
7678 (begin_defer_window_pos): make optional because it may not be the
7679 right thing to do and it introduces differences with X.
7680 (mswindows_unmap_subwindow): ditto.
7681 (mswindows_map_subwindow): ditto.
7682 (mswindows_redisplay_subwindow): renamed from
7683 mswindows_update_subwindow.
7684 (mswindows_redisplay_widget): ditto.
7685 (mswindows_button_redisplay): renamed from
7686 mswindows_button_update. Update is now what the instantiation
7687 function does for a changed instantiator.
7688 (mswindows_progress_gauge_instantiate): set the progress value
7689 here if appropriate.
7690 (mswindows_tab_control_redisplay): cope with re-ordering of the
7691 members of the tab widget by simply selecting the new top
7692 widget. This makes things appear ok if you click on a tab.
7693 (mswindows_combo_box_instantiate): image_instance_layout now takes
7694 position as well as size.
7695 (mswindows_progress_gauge_redisplay): renamed from
7696 mswindows_progress_gauge_update.
7697 (console_type_create_glyphs_mswindows): fix update -> redisplay.
7698 (image_instantiator_format_create_glyphs_mswindows): ditto.
7700 * glyphs-eimage.c (jpeg_normalize):
7703 (tiff_normalize): add dest_mask so that it can be proprogated by
7708 (hash_table_weakness_validate):
7709 (decode_hash_table_weakness):
7710 (Fhash_table_weakness):
7712 (syms_of_elhash): use Ben's naming scheme for hashtable types..
7714 * console.h (struct console_methods): move update_* to
7717 2000-07-20 Ben Wing <ben@xemacs.org>
7719 * *.[ch] (XSETOBJ): remove unused middle argument.
7720 lisp-disunion.h: correct wrap_object() to one argument.
7722 2000-07-15 Ben Wing <ben@xemacs.org>
7725 * s/cygwin32.h (CYGWIN_CONV_PATH):
7726 Add missing logb prototype for v1.1.
7727 Use post-b20 names and alias to pre-b20 names when pre-b20.
7729 * s/windowsnt.h: [5].
7731 2000-07-15 Ben Wing <ben@xemacs.org>
7733 * Makefile.in.in (x_objs):
7734 * Makefile.in.in (sheap_objs):
7735 * Makefile.in.in (objs):
7736 added win32.o, cosmetic cleanups.
7738 * alloc.c (Fmake_byte_code):
7739 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
7740 etc. macros which declare their own args now.
7742 * alloc.c (syms_of_alloc):
7743 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
7746 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
7748 * buffer.c (Fget_file_buffer):
7749 Fixed GCPRO problem.
7751 * buffer.c (get_truename_buffer):
7752 Fixed comment about GC checking.
7754 * buffer.c (syms_of_buffer):
7755 Undeclared those dedicated frame funs.
7759 Define convenience macros for internal/external conversions.
7760 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
7761 and Qenvironment_variable_encoding for cleaner code.
7764 Remove dedicated-frame; in lisp.
7766 * bytecode.c (funcall_compiled_function):
7769 * bytecode.c (syms_of_bytecode):
7773 * console-msw.c (mswindows_show_console): Rewrote.
7775 * console-msw.c (Fmswindows_debugging_output): New.
7776 Sends to OutputDebugString (special MSWin debugger interface).
7778 * console-msw.c (Fmswindows_message_box):
7779 Fixed stupid bugs so it works when called from kill-emacs.
7781 * console-msw.c (syms_of_console_mswindows):
7782 Declare Fmswindows_debugging_output.
7785 New MSWin prototypes.
7787 * console-msw.h (struct mswindows_frame):
7788 New entry last-click-mods for improved button-modifier support.
7790 * console-msw.h (FRAME_MSWINDOWS_POPUP):
7791 New struct entry `popup' with corresponding accessor.
7794 * console-x.c (split_up_display_spec):
7795 * console-x.c (get_display_arg_connection):
7796 * console-x.c (x_semi_canonicalize_console_connection):
7797 * console-x.c (x_canonicalize_device_connection):
7798 [[[6]]]: Change char to more specific type.
7799 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
7801 * console-x.c (x_semi_canonicalize_console_connection):
7802 * console-x.c (x_canonicalize_device_connection):
7803 [[[9]]]: Fix up error signalling to use new structured error system.
7806 [[[4]]]: Define codesys aliases:
7807 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
7808 Qx_color_name_encoding, Qx_display_name_encoding.
7810 * console.h (struct console_methods):
7811 New method make_dialog_box_internal supersedes older
7812 popup_dialog_box method.
7815 Define many new errors, part of new structured errors.
7817 * data.c (init_errors_once_early):
7818 * data.c (syms_of_data):
7821 * device-msw.c (mswindows_init_device):
7822 [[[5]]]: Cleanup to support NT 3.51.
7824 * device-msw.c (decode_devmode): Cleanup.
7826 * device-msw.c (mswindows_handle_print_setup_dialog_box):
7827 * device-msw.c (mswindows_handle_print_dialog_box):
7828 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7829 * device-msw.c (syms_of_device_mswindows):
7830 Delete the dialog box primitives recently introduced by Kirill and
7831 instead interface to general dialog box interface.
7834 * device-x.c (compute_x_app_name):
7835 * device-x.c (x_init_device):
7836 * device-x.c (Fx_valid_keysym_name_p):
7837 * device-x.c (Fx_set_font_path):
7841 * device.h (wrap_device): New.
7842 First of its kind; meant to replace XSETDEVICE.
7844 * dialog-msw.c: Many file-dialog symbols.
7846 * dialog-msw.c (mswindows_register_popup_frame): New.
7847 * dialog-msw.c (mswindows_is_dialog_msg): New.
7848 For supporting kbd traversal in dialog boxes.
7850 * dialog-msw.c (dialog_proc):
7851 Support hitting ESC in dialogs.
7853 * dialog-msw.c (struct):
7854 Common dialog box errors.
7856 * dialog-msw.c (handle_file_dialog_box): New.
7857 Add file dialog code.
7859 * dialog-msw.c (handle_question_dialog_box):
7860 Redo existing code to support new question dialog syntax.
7862 * dialog-msw.c (console_type_create_dialog_mswindows):
7863 We support new dialog console method.
7865 * dialog-msw.c (syms_of_dialog_mswindows):
7866 * dialog-msw.c (vars_of_dialog_mswindows):
7867 New file dialog symbols, vars.
7870 * dialog-x.c (maybe_run_dbox_text_callback):
7871 * dialog-x.c (dbox_descriptor_to_widget_value):
7872 * dialog-x.c (x_make_dialog_box_internal):
7873 * dialog-x.c (console_type_create_dialog_x):
7874 Mule-ize entire file.
7875 Redo to support question dialog syntax.
7879 * dialog.c (Fmake_dialog_box_internal):
7880 * dialog.c (syms_of_dialog):
7881 Kill old popup-dialog-box, replace with new primitive.
7882 Just call device method or signal error.
7884 * eldap.c (Fldap_open):
7885 * eldap.c (Fldap_search_basic):
7886 * eldap.c (Fldap_add):
7887 * eldap.c (Fldap_modify):
7892 * emacs.c (make_arg_list_1):
7893 * emacs.c (make_arg_list):
7894 Mule-ize call to dll_init().
7898 * emacs.c (make_argc_argv):
7899 * emacs.c (free_argc_argv):
7900 * emacs.c (init_cmdargs):
7902 * emacs.c (Fkill_emacs):
7903 * emacs.c (Fdump_emacs):
7904 Update comments about what can be used in syms_* etc.
7905 Call init_win32() when necessary.
7906 Fix up MS Win dialog box in kill-buffer to actually work right.
7917 * eval.c (condition_case_3):
7919 * eval.c (function_argcount):
7920 * eval.c (funcall_lambda):
7923 * eval.c (type_error): New.
7924 * eval.c (maybe_type_error): New.
7925 * eval.c (continuable_type_error): New.
7926 * eval.c (maybe_continuable_type_error): New.
7927 * eval.c (type_error_with_frob): New.
7928 * eval.c (maybe_type_error_with_frob): New.
7929 * eval.c (continuable_type_error_with_frob): New.
7930 * eval.c (maybe_continuable_type_error_with_frob): New.
7931 New functions for use with structured errors.
7934 * event-Xt.c (x_event_to_emacs_event):
7935 Buttons are now modifiers too.
7937 * event-Xt.c (emacs_Xt_current_event_timestamp):
7938 Implement new event method.
7939 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7942 * event-msw.c (ntpipe_shove_writer): [5].
7943 * event-msw.c (mswindows_enqueue_mouse_button_event):
7944 * event-msw.c (mswindows_drain_windows_queue):
7945 * event-msw.c (mswindows_wnd_proc): [7].
7946 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7947 * event-msw.c (mswindows_modifier_state):
7948 Throughout: support new button modifiers.
7950 * event-msw.c (emacs_mswindows_current_event_timestamp):
7951 Implement new event method.
7952 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7955 * event-stream.c (event_stream_current_event_timestamp): New.
7956 * event-stream.c (maybe_kbd_translate): New functionality.
7957 * event-stream.c (vars_of_event_stream):
7958 Document new kbd-translate-table functionality.
7960 * event-stream.c (Fcurrent_event_timestamp): New.
7961 New primitive for use in fabricated events.
7962 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7964 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7967 * events.c (Fmake_event):
7968 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7972 * events.c (format_event_object): fix gcc warnings.
7974 * events.c (Fevent_timestamp): Document new primitives.
7976 * events.c (TIMESTAMP_HALFSPACE): New.
7978 * events.c (Fevent_timestamp_lessp): New. New primitive for
7979 comparing timestamps correctly (half-space algorithm).
7981 * events.c (Fevent_modifier_bits): Doc fix.
7983 * events.c (Fevent_modifiers): Major doc addition.
7984 * events.c (event_x_y_pixel_internal): Typo fix.
7985 * events.c (syms_of_events): Declare new primitives.
7988 Update long comment for button modifiers, timestamps.
7990 * events.h (struct event_stream):
7991 New current_event_timestamp method.
7994 * extents.c (extent_in_region_p):
7995 * extents.c (decode_extent):
7996 * extents.c (Fset_extent_parent):
7997 * extents.c (decode_map_extents_flags):
8001 * extents.c (struct extent_at_arg):
8002 * extents.c (decode_extent_at_flag):
8003 * extents.c (extent_at_mapper):
8004 * extents.c (extent_at_bytind):
8005 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
8006 * extents.c (Fextents_at): New primitive. [9].
8007 * extents.c (symbol_to_glyph_layout): [9].
8008 Support new primitive `extents-at'.
8011 * extents.c (get_text_property_bytind):
8012 extent_at_bytind has another arg.
8015 * extents.c (syms_of_extents): New primitive.
8017 * file-coding.c (Fmake_coding_system): [1].
8018 * file-coding.c (subsidiary_coding_system): fix gcc warning
8019 * file-coding.c (syms_of_file_coding): [2].
8021 * fileio.c (Fexpand_file_name):
8022 * fileio.c (Fsysnetunam):
8023 * fileio.c (Ffile_exists_p):
8024 * fileio.c (Ffile_executable_p):
8025 * fileio.c (Fverify_visited_file_modtime):
8028 * fileio.c (syms_of_fileio): [2].
8030 * filelock.c (lock_file_1):
8031 * filelock.c (current_lock_owner):
8032 * filelock.c (lock_if_free):
8033 * filelock.c (lock_file):
8034 * filelock.c (unlock_file):
8037 * fns.c (concat): Fix gcc warning.
8040 * fns.c (Fold_member):
8042 * fns.c (Fold_memq):
8043 * fns.c (memq_no_quit):
8045 * fns.c (Fold_assoc):
8047 * fns.c (Fold_assq):
8048 * fns.c (assq_no_quit):
8050 * fns.c (Fold_rassoc):
8052 * fns.c (Fold_rassq):
8053 * fns.c (rassq_no_quit):
8055 * fns.c (Fold_delete):
8057 * fns.c (Fold_delq):
8058 * fns.c (delq_no_quit):
8059 * fns.c (Fremassoc):
8061 * fns.c (remassq_no_quit):
8062 * fns.c (Fremrassoc):
8063 * fns.c (Fremrassq):
8064 * fns.c (remrassq_no_quit):
8069 * frame-msw.c (mswindows_init_frame_1):
8070 * frame-msw.c (mswindows_delete_frame):
8071 Register popups with dialog code so keyboard traversing works.
8073 * frame-tty.c (tty_raise_frame_no_select): [1].
8076 * frame-x.c (x_set_frame_text_value):
8077 * frame-x.c (x_set_frame_properties):
8078 * frame-x.c (x_create_widgets):
8082 * frame.c (Fmouse_pixel_position): Minor doc fixes.
8084 * frame.h (wrap_frame): New.
8085 Macro like wrap_device.
8088 * general.c (SYMBOL):
8089 * general.c (syms_of_general):
8090 Major reorg. This is now just a wrapper and symbols themselves
8091 are listed in general-slots.h.
8093 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
8094 * glyphs-msw.c (mswindows_resource_instantiate): [5].
8096 * glyphs-msw.c (mswindows_native_layout_instantiate):
8097 Add DS_CONTROL so keyboard traversal will work.
8100 * glyphs-widget.c (syms_of_glyphs_widget):
8101 Move some symbols to general-slots.h.
8104 * glyphs-x.c (xbm_instantiate_1):
8105 * glyphs-x.c (x_xbm_instantiate):
8106 * glyphs-x.c (x_xface_instantiate):
8107 * glyphs-x.c (autodetect_instantiate):
8108 * glyphs-x.c (cursor_font_instantiate):
8109 * glyphs-x.c (x_update_widget):
8110 * glyphs-x.c (x_widget_instantiate):
8111 * glyphs.c (bitmap_to_lisp_data):
8112 * glyphs.c (pixmap_to_lisp_data):
8115 * glyphs.c (syms_of_glyphs):
8119 * gui-x.c (print_widget_value):
8120 * gui-x.c (menu_separator_style_and_to_external):
8121 * gui-x.c (add_accel_and_to_external):
8122 * gui-x.c (button_item_to_widget_value):
8123 * gui-x.c (gui_items_to_widget_values_1):
8124 * gui-x.c (gui_items_to_widget_values):
8125 * gui-x.c (syms_of_gui_x):
8126 * gui-x.c (vars_of_gui_x):
8127 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
8131 Muleize, prototype changes matching gui-x.c.
8134 * gui.c (separator_string_p):
8135 * gui.c (gui_item_add_keyval_pair):
8136 * gui.c (make_gui_item_from_keywords_internal):
8137 * gui.c (signal_too_long_error):
8138 * gui.c (parse_gui_item_tree_item):
8139 * gui.c (syms_of_gui):
8140 * gui.c (vars_of_gui):
8142 menu-no-selection-hook moved here (used by MSWin).
8143 Move some symbols to general-slots.h.
8147 * insdel.c (get_buffer_pos_char):
8148 * insdel.c (get_buffer_range_char):
8151 * keymap.c (keymap_lookup_directly):
8152 * keymap.c (keymap_store):
8153 * keymap.c (ensure_meta_prefix_char_keymapp):
8154 * keymap.c (describe_map):
8156 Support new button modifiers.
8158 * lisp-disunion.h (wrap_object):
8159 * lisp-disunion.h (XSETOBJ):
8160 Rename make_obj to wrap_object.
8163 * lisp-union.h (make_int):
8164 * lisp-union.h (make_char):
8165 Support wrap_object.
8168 * lisp.h (LIST_LOOP):
8169 * lisp.h (EXTERNAL_LIST_LOOP):
8170 * lisp.h (LIST_LOOP_2):
8171 * lisp.h (EXTERNAL_LIST_LOOP_1):
8172 * lisp.h (EXTERNAL_LIST_LOOP_2):
8173 * lisp.h (EXTERNAL_LIST_LOOP_3):
8174 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
8175 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8176 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
8177 * lisp.h (EXTERNAL_ALIST_LOOP_5):
8178 * lisp.h (EXTERNAL_ALIST_LOOP_6):
8179 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
8180 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
8181 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
8182 * lisp.h (struct Lisp_Symbol):
8183 * lisp.h (maybe_continuable_error_with_frob):
8184 Fix up section comments.
8185 Add new types for char to indicate usage.
8186 Delete symbols auto-generated from general-slots.h.
8187 Add prototypes for structured error functions.
8188 Add long comments describing looping macros and change interface
8189 so that lvalues are automatically declared.
8190 Add NO_DECLARE macro in case callers want to declare lvalues
8193 * lread.c (read_syntax_error):
8194 * lread.c (continuable_read_syntax_error):
8195 * lread.c (read_structure):
8196 * lread.c (sequence_reader):
8197 * lread.c (read_list_conser):
8198 * lread.c (read_compiled_function):
8199 Rename syntax_error and continuable_syntax_error to avoid clash
8200 with same-named structured error functions.
8202 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8203 * menubar-msw.c (populate_menu_add_item):
8204 * menubar-msw.c (populate_or_checksum_helper):
8209 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8210 Mule-ize whole file.
8212 * menubar.c (Fnormalize_menu_item_name): Add optimization.
8214 * mule-charset.c (Fmake_charset):
8215 * mule-wnnfns.c (Fwnn_set_param):
8218 * ntproc.c (create_child):
8219 * ntproc.c (Fwin32_set_current_locale):
8220 Add comments portending doom.
8223 * objects-msw.c (old_font_enum_callback_2):
8224 * objects-msw.c (font_enum_callback_1):
8225 * objects-msw.c (mswindows_enumerate_fonts):
8229 * objects-x.c (allocate_nearest_color):
8230 * objects-x.c (x_parse_nearest_color):
8231 * objects-x.c (x_initialize_color_instance):
8232 * objects-x.c (x_print_color_instance):
8233 * objects-x.c (x_finalize_color_instance):
8234 * objects-x.c (x_valid_color_name_p):
8235 * objects-x.c (x_initialize_font_instance):
8236 * objects-x.c (x_print_font_instance):
8237 * objects-x.c (valid_x_font_name_p):
8238 * objects-x.c (truename_via_FONT_prop):
8239 * objects-x.c (truename_via_random_props):
8240 * objects-x.c (truename_via_XListFonts):
8241 * objects-x.c (x_font_truename):
8242 * objects-x.c (x_font_instance_truename):
8243 * objects-x.c (x_font_instance_properties):
8244 * objects-x.c (x_list_fonts):
8245 * objects-x.c (x_find_charset_font):
8246 Mule-ize entire file.
8253 * print.c (std_handle_out_external):
8254 * print.c (debug_print_no_newline):
8255 * print.c (syms_of_print):
8256 Output to all debugger kinds in debug-print.
8257 Fix console-output code under MSWin to actually work.
8259 * process-nt.c (send_signal):
8260 * process-nt.c (nt_create_process):
8261 Use newer Unicode macros.
8263 * process-unix.c (unix_create_process):
8264 * process-unix.c (unix_canonicalize_host_name):
8265 * process-unix.c (unix_open_network_stream):
8271 * search.c (syms_of_search):
8274 * select-msw.c (mswindows_destroy_selection):
8277 * select-x.c (symbol_to_x_atom):
8280 * select.c (syms_of_select):
8283 * sound.c (Fplay_sound_file):
8287 * specifier.c (decode_specifier_type):
8288 * specifier.c (Fvalid_specifier_locale_type_p):
8289 * specifier.c (check_valid_locale_or_locale_type):
8290 * specifier.c (decode_locale):
8291 * specifier.c (decode_locale_type):
8292 * specifier.c (decode_locale_list):
8293 * specifier.c (check_valid_domain):
8294 * specifier.c (decode_specifier_tag_set):
8295 * specifier.c (Fcanonicalize_tag_set):
8296 * specifier.c (Fdefine_specifier_tag):
8297 * specifier.c (Fspecifier_tag_predicate):
8298 * specifier.c (check_valid_inst_list):
8299 * specifier.c (check_valid_spec_list):
8300 * specifier.c (decode_how_to_add_specification):
8301 * specifier.c (check_modifiable_specifier):
8302 * specifier.c (specifier_add_spec):
8303 * specifier.c (boolean_validate):
8304 * specifier.c (display_table_validate):
8307 * specifier.c (syms_of_specifier):
8308 Move some symbols to general-slots.h.
8312 * symbols.c (Fmapatoms):
8313 * symbols.c (Fapropos_internal):
8316 * symbols.c (set_default_buffer_slot_variable):
8317 * symbols.c (set_default_console_slot_variable):
8320 * symbols.c (defsymbol_massage_name_1):
8321 * symbols.c (defkeyword_massage_name):
8322 * symbols.c (deferror_1):
8323 * symbols.c (deferror):
8324 * symbols.c (deferror_massage_name_and_message):
8326 * symeval.h (DEFSYMBOL):
8327 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
8329 * symbols.c (syms_of_symbols):
8333 * symsinit.h (init_win32): New.
8334 Also new is syms_of_dialog_mswindows.
8337 Add new Unicode macros, missing Cygwin wide-char functions,
8338 convenience conversion macros for Qmswindows_tstr, macros for
8339 encapsulating required MSWin <-> Cygwin filename conversions,
8340 prototype for dynamically-extracted (not in NT 3.51) functions.
8345 * tooltalk.c (Fadd_tooltalk_message_arg):
8346 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
8347 * tooltalk.c (Fadd_tooltalk_pattern_arg):
8350 * tooltalk.c (syms_of_tooltalk):
8354 * unexnt.c (unexec):
8355 Fix up headers, declaration of unexec() to be more standard.
8357 2000-07-20 Martin Buchholz <martin@xemacs.org>
8359 * offix.h: Revert change to guard macros - they're used in offix.c!
8361 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8363 * lisp.h: Defsubred Fdelete.
8365 * console-msw.h: (msprinter_default_printer): Added.
8367 * console-msw.c (msprinter_canonicalize_console_connection):
8368 (msprinter_canonicalize_device_connection): Added.
8370 * device-msw.c (msprinter_default_printer):
8371 (Fmswingows_get_default_printer):
8372 (signal_enum_priner_error):
8373 (Fmswingows_printer_list): Added.
8375 2000-07-19 Martin Buchholz <martin@xemacs.org>
8377 * XEmacs 21.2.35 is released.
8379 2000-07-19 Martin Buchholz <martin@xemacs.org>
8381 * select-x.c (x_handle_selection_request):
8382 Text selected in xemacs and pasted into xterm failed to appear.
8383 Spelling fixes and cosmetic changes.
8385 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8387 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
8388 XEmacs frame (fix for doubling chars in dialog boxes).
8390 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
8392 * select.c (select_convert_in, select_convert_out):
8393 Don't call intern() every time.
8395 * select.c (Qselect_convert_in, Qselect_convert_out): New.
8396 * select.c (vars_of_select): Initialise them.
8398 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
8400 * select.c (selection-coercible-types): New.
8402 * select.c (own-selection-internal):
8403 * select.c (get-selection-internal):
8404 MULE bug fix - these should default to COMPOUND_TEXT and not
8405 STRING for MULE. I think.
8407 * select.c (select_convert_out): Use selection-coercible-types
8408 to find types that we can attempt to perform coercions on.
8410 2000-07-18 Martin Buchholz <martin@xemacs.org>
8414 Add coding: cookie to identify encoding.
8416 * mule-canna.c (CANNA_mode_keys): make static.
8417 Use proper prototypes, even for functions of no arguments.
8418 Remove external prototype for Fding().
8420 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
8422 * select.c (syms_of_select): Add missing DEFSUBR.
8424 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
8426 * select.c (get_selection_internal, own_selection_internal):
8427 Make the type default to STRING, rather than placing a nil type
8428 into Vselection_alist.
8430 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
8432 * gpmevent.c (tty_selection_exists_p):
8433 * gpmevent.c (tty_own_selection):
8434 Updated parameter lists.
8436 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
8438 * select.h (selection-alist): Removed declaration.
8440 * select.h (get_local_selection):
8441 * select.c (get_local_selection):
8444 * select.h (convert_selection): Removed declaration.
8445 * select.c (convert_selection): Removed.
8446 This function belongs in Lisp.
8448 * select.h (select_convert_in): Declare.
8449 * select.h (select_convert_out): Declare.
8450 * select.c (select_convert_in): New.
8451 * select.c (select_convert_out): New.
8452 New conversion functions for other files to call.
8454 * select.h (select_notify_buffer_kill): Declare.
8455 * select.c (select_notify_buffer_kill): New.
8456 New functions that get called from kill-buffer.
8458 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
8459 X-specific lisp code.
8461 * select.h: Declare some of the lisp-visible functions for
8464 * select.c (clean_local_selection_data): Removed. This was
8465 a disgusting function, and previously should have been in
8466 select-x.c in any case. The functionality is now provided
8467 in select-convert-from-integer (select.el).
8469 * select.c (available-selection-types): Fixed stupidity where
8470 INTEGER and ATOM got added twice. Also add STRING when we see an
8473 * select.c (get-selection-internal): Removed symbol stripping. No
8474 longer causes conversion when data comes from the internal cache.
8476 * select.c (syms_of_select): Added new functions.
8478 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
8479 error checking - previously this called abort!
8481 * select-x.c (x_own_selection): Changed comment.
8483 * select-x.c (x_handle_selection_request): Use select_convert_out.
8484 Don't mess with selection-alist; it's an internal variable of select.c.
8486 * select-x.c (x_get_foreign_selection): Use select_convert_in.
8488 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
8489 rather than messing with selection-alist.
8491 * select-msw.c (mswindows_get_foreign_selection):
8492 Use TO_INTERNAL_FORMAT rather than hacking.
8494 2000-07-14 Martin Buchholz <martin@xemacs.org>
8496 * process-unix.c (unix_open_multicast_group):
8497 (unix_open_multicast_group): Remove useless casts.
8499 2000-07-13 Martin Buchholz <martin@xemacs.org>
8501 * sound.c (Fplay_sound): Fix `unused variable' warning.
8503 * emacs.c (main): Use correct type for _environ on SCO5.
8505 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
8507 * console.h (own_selection_method):
8508 * console.h (selection_exists_p_method):
8509 * console.h (available_selection_types_method): New.
8510 * console.h (register_selection_data_type_method): New.
8511 * console.h (selection_data_type_name): New.
8513 * console-msw.h (mswindows_destroy_selection): Declare it. New
8514 function & alist to track GlobalAlloc()'d handles that need
8515 releasing when the clipboard data gets replaced or emptied.
8517 * event-msw.c (mswindows_wnd_proc): Call it.
8519 * lisp.h, general.c (Qappend): New symbol representing a
8522 * select.c (own-selection-internal):
8523 * select.c (selection-exists-p):
8524 * select.c (available-selection-types): New.
8525 * select.c (register-selection-data-type): New.
8526 * select.c (selection-data-type-name): New. New functions to deal
8527 with device-specific selection data formats.
8528 * select.c (selection-converter-out-alist): Renamed.
8529 * select.c (selection-converter-in-alist): New.
8530 * select.c (selection-appender-alist): New. Added new alists.
8531 * select.c (syms_of_select, vars_of_select): Added new symbols &
8533 * select.c (get_local_selection): Split.
8534 * select.c: Removed spurious type checking - selections may now be
8535 of any type, not just strings.
8536 * select.c (own-selection-internal):
8538 * select.h, select.c (convert_selection): New. Created
8539 convert_selection() function based on get_local_selection().
8540 * select.h, select.c (QCF_*): New symbols representing mswindows
8542 * select.h, select.c (Qreplace_all, Qreplace_existing): New
8543 symbols representing `how-to-add' modes.
8545 * select-msw.c (x_sym_p): New.
8546 * select-msw.c (symbol_to_ms_cf): New.
8547 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
8548 symbols & clipboard formats. Can also handle string names.
8549 * select-msw.c (mswindows_own_selection):
8550 * select-msw.c (mswindows_selection_exists_p):
8551 Added `data-type' parameter. Use it.
8552 * select-msw.c (mswindows_available_selection_types): New.
8553 * select-msw.c (mswindows_register_selection_data_type): New.
8554 * select-msw.c (mswindows_selection_data_type_name): New.
8555 * select-msw.c (mswindows_own_selection):
8556 * select-msw.c (mswindows_get_foreign_selection):
8557 * select-msw.c (mswindows_selection_exists_p): Rewrote.
8558 * select-msw.c (console_create_select_mswindows): Added new methods.
8559 * select-msw.c (mswindows_destroy_selection): New.
8560 * select-msw.c (Vhandle_alist): New list.
8561 * select-msw.c (mswindows_own_selection):
8563 * select-x.c (x_own_selection):
8564 * select-x.c (x_selection_exists_p):
8565 * select-x.c: Added some comments about maybe using new
8567 * select-x.c (x_own_selection):
8569 * specifier.c: Remove definition of Qappend (now in general.c)
8570 * specifier.c (syms_of_specifier): Remove Qappend.
8572 2000-07-12 Martin Buchholz <martin@xemacs.org>
8574 * config.h.in: Add socklen_t.
8576 * s/decosf4-0.h: No special compiler flags needed or desired.
8577 In particular, undefine _BSD for DEC OSF 4.0.
8579 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8581 * redisplay-msw.c (msprinter_frame_output_end): Added.
8582 (console_type_create_redisplay_mswindows): Referred the above.
8584 * frame.c (setup_frame_without_minibuffer): Do not create a
8585 default minibuffer frame on a printer device.
8587 * frame-msw.c (apply_dc_geometry): Added.
8588 (msprinter_start_page):
8589 (msprinter_init_frame_3):
8590 (msprinter_eject_page): Use it.
8592 * console-msw.h (struct msprinter_frame): Added pix_left and top,
8593 and removed residual duplex and orientation properties.
8595 2000-07-11 Martin Buchholz <martin@xemacs.org>
8597 * eval.c (function_argcount): Work around a DEC CC compiler bug.
8599 * unexalpha.c: Remove system prototypes from C sources!
8601 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
8603 * eval.c: Remove references to M-x edit-options in DEFUNs for
8604 `defvar' and `defconst'.
8606 2000-07-09 Martin Buchholz <martin@xemacs.org>
8608 * config.h.in: Remove SMART_INCLUDE hackery.
8611 * config.h.in: Don't use SMART_INCLUDE.
8613 * postgresql.h: Include libpq-fe.h here. Fix typo.
8614 * inline.c: Simply #include "postgresql.h"
8616 - Don't use SMART_INCLUDE
8617 - Use simply "const".
8618 - Use standard doc string conventions.
8619 - Use correct type for result of PQstatus.
8621 2000-07-09 Martin Buchholz <martin@xemacs.org>
8623 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
8625 C++ compilation changes.
8626 * config.h.in (EXTERN_C): Define.
8627 * config.h.in (not): This is also a C++ keyword.
8628 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
8629 * cm.c: Use EXTERN_C.
8630 * redisplay-tty.c: Use EXTERN_C.
8631 * sysdep.c: Use EXTERN_C. Remove Gould support.
8633 2000-07-09 Martin Buchholz <martin@xemacs.org>
8635 * general.c: Remove duplicate definition for Qfunction.
8637 2000-07-08 Ben Wing <ben@xemacs.org>
8639 * device-msw.c (msprinter_init_device):
8640 * device-msw.c (sync_printer_with_devmode):
8641 * device-msw.c (handle_devmode_changes):
8642 * device-msw.c (print_dialog_worker):
8643 * device-msw.c (Fmsprinter_apply_settings):
8644 * device-msw.c (hash_devmode):
8645 * device-msw.c (Fmsprinter_settings_despecialize):
8646 use Qmswindows_tstr, not Qctext.
8648 * vm-limit.c (check_memory_limits):
8649 avoid infinite loop printing warning messages.
8651 2000-07-05 Craig Lanning <lanning@scra.org>
8653 * Makefile.in.in: Add support for including the Windows resources
8654 when building with the cygwin and mingw targets.
8656 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
8657 not set or not correct.
8658 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
8659 (init_initial_directory): Don't try to use $PWD on the
8660 WIN32_NATIVE target.
8663 [[Add -mwindows to eliminate console window.]] not required --ben
8664 (HAVE_NATIVE_SOUND): removed; now handled by configure.
8665 (MAIL_USE_POP): removed; now handled by configure.
8667 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
8668 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
8669 (HAVE_NATIVE_SOUND): removed; now handled by configure.
8670 (MAIL_USE_POP): removed; now handled by configure.
8671 (ENCAPSULATE_STAT): from Dan Holmsand, added.
8672 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
8673 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
8675 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
8676 up from <winsock.h> via systime.h.
8677 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
8678 (getpagesize): from Dan Holmsand, added.
8679 Added #endif which was left dangling by Ben's mega patch; added
8680 comment to help prevent this in the future.
8682 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
8684 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8686 * console-msw.h (struct mswindows_device): Removed unnecessary
8687 cached device geometry values.
8688 Added update_tick and an accessor macro.
8689 (Lisp_Devmode): Added lrecord declaration.
8690 (struct msprinter_device): Contain devmode as a Lisp object.
8691 Added mswindows_get_selected_frame_hwnd();
8693 * console.h (struct console_methods): Indentation nitpicking.
8695 * device-msw.c (mswindows_init_device): Do not initialize geometry
8696 cache. Initialize update tick.
8697 (mswindows_device_system_metrics): Ask the device for its geometry.
8698 (global_free_2_maybe):
8699 (devmode_to_hglobal):
8700 (handle_printer_changes):
8701 (ensure_not_printing):
8702 (print_dialog_worker):
8703 (Fmsprinter_print_setup_dialog):
8704 (Fmsprinter_print_dialog):
8707 (Fmsprinter_page_setup_dialog): Added functions.
8708 (sync_printer_with_devmode):
8709 (handle_devmode_changes):
8710 (Fmsprinter_get_settings):
8711 (Fmsprinter_select_settings):
8712 (Fmsprinter_apply_settings):
8714 (Fmsprinter_settings_copy):
8715 (Fmsprinter_settings_despecialize):
8719 (hash_devmode): Added functions
8720 (syms_of_device_mswindows): Init devmode lrecord class.
8722 * device.h: Added an exfun for find-device.
8724 * event-msw.c (mswindows_wnd_proc): Do not update the cached
8725 geometry; although, recreate the device compatible DC.
8727 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
8728 (msprinter_init_frame_3):
8729 (msprinter_frame_property):
8730 (msprinter_internal_frame_property_p):
8731 (msprinter_frame_properties):
8732 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
8733 print job properties (will move to device settings).
8735 * lisp.h: Added symbols.
8737 * general.c (syms_of_general): Declared them.
8739 * hash.c (string_hash): Added.
8741 * lrecord.h (lrecord_type): Added devmode lrecord type.
8743 2000-07-02 Mike Sperber <mike@xemacs.org>
8745 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
8748 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
8750 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
8753 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
8755 * data.c (Fstring_to_number): Don't recognize floating point if
8758 2000-06-22 Martin Buchholz <martin@xemacs.org>
8760 * glyphs-widget.c (tab_control_query_geometry):
8761 (widget_query_geometry):
8762 (button_query_geometry):
8763 * glyphs.c (text_query_geometry):
8764 Enforce type correctness.
8766 2000-06-18 Martin Buchholz <martin@xemacs.org>
8768 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
8769 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
8771 2000-06-17 Martin Buchholz <martin@xemacs.org>
8773 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
8774 conflicts with gcc's fixincluded version of FOO.h.
8776 * glyphs.h (image_instance_geometry): Remove trailing `,'
8778 2000-06-08 Mike Alexander <mta@arbortext.com>
8780 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
8781 (shove_thread): Don't write the same output twice
8782 (make_ntpipe_output_stream): Increase priority of shove thread
8783 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
8785 (ntpipe_shove_closer): Don't delete the pipe until we're done with
8788 2000-06-12 Ben Wing <ben@xemacs.org>
8790 * s\mingw32.h (sigset):
8791 * s\windowsnt.h (sigset):
8792 rename msw_ to mswindows_ for consistency with general convention.
8794 2000-06-12 Ben Wing <ben@xemacs.org>
8797 * console-msw.c (mswindows_get_console_hwnd):
8798 * console-msw.c (mswindows_ensure_console_allocated):
8799 * console-msw.c (mswindows_hide_console):
8800 * console-msw.c (mswindows_show_console):
8801 * console-msw.c (mswindows_ensure_console_buffered):
8802 * console-msw.c (mswindows_output_console_string):
8803 * console-msw.c (mswindows_windows9x_p):
8805 * device-msw.c (mswindows_get_workspace_coords):
8806 * device-msw.c (mswindows_device_system_metrics):
8807 * dialog-msw.c (mswindows_popup_dialog_box):
8808 * event-msw.c (mswindows_wnd_proc):
8809 * frame-msw.c (mswindows_size_frame_internal):
8810 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8811 * menubar-msw.c (displayable_menu_item):
8812 * menubar-msw.c (mswindows_char_is_accelerator):
8814 * nt.c (mswindows_sigset):
8815 * nt.c (mswindows_sigrelse):
8816 * nt.c (mswindows_sigpause):
8817 * nt.c (mswindows_raise):
8818 * nt.c (timer_proc):
8820 * ntproc.c (find_child_console):
8821 * ntproc.c (sys_kill):
8823 * print.c (std_handle_out_external):
8824 * process-nt.c (find_child_console):
8825 * process-nt.c (send_signal_the_95_way):
8826 * process-nt.c (ensure_console_window_exists):
8827 * process-nt.c (nt_create_process):
8829 rename msw_ to mswindows_ for consistency with general convention.
8833 include nt.h, not syswindows.h.
8835 * nt.c (mswindows_fstat):
8836 * nt.c (mswindows_stat):
8837 prefix mswindows_ instead of attempting to directly override the
8838 library functions. fix declarations.
8841 include syswindows.h. move some sysdep.h stuff here.
8844 include syswindows.h, not <windows.h>.
8852 * sysdep.c (sys_fstat):
8853 * sysdep.c (sys_stat):
8854 call mswindows versions when appropriate.
8857 move mswin decls to nt.h.
8860 add long comment describing appropriate use of the various windows
8863 2000-06-11 Ben Wing <ben@xemacs.org>
8865 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8867 2000-06-10 Ben Wing <ben@xemacs.org>
8869 * Makefile.in.in (release):
8870 Correction to make sure xemacs.exe always dumped when correct.
8874 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8876 * buffer.c (set_buffer_internal):
8877 [[[[2]]]]: Remove HAVE_FEP code.
8879 * buffer.c (init_initial_directory):
8883 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8887 * callproc.c (call_process_cleanup):
8888 * callproc.c (Fold_call_process_internal):
8889 * callproc.c (child_setup):
8890 * callproc.c (getenv_internal):
8891 * callproc.c (init_callproc):
8892 * callproc.c (vars_of_callproc):
8893 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8894 __CYGWIN32__ -> CYGWIN.
8895 DOS_NT -> WIN32_NATIVE.
8896 Remove MSDOS support/references, converting to WIN32_NATIVE
8898 __MINGW32__ -> MINGW.
8899 Fix windows.h includes.
8900 Remove bogus HAVE_NTGUI.
8906 mswindows_message_outputted added for use in allowing startup
8907 errors on the console to be seen.
8909 * console-msw.c (msw_ensure_console_allocated):
8910 * console-msw.c (msw_output_console_string):
8911 * console-msw.c (DHEADER):
8912 * console-msw.c (DOPAQUE_DATA):
8913 * console-msw.c (DEVENT):
8914 * console-msw.c (DCONS):
8915 * console-msw.c (DCONSCDR):
8916 * console-msw.c (DSTRING):
8917 * console-msw.c (DVECTOR):
8918 * console-msw.c (DSYMBOL):
8919 * console-msw.c (DSYMNAME):
8922 * console-stream.c (stream_init_console):
8923 Fix text/binary problems.
8926 * device-msw.c (mswindows_finish_init_device):
8927 * device-msw.c (mswindows_delete_device):
8930 * device.c (handle_asynch_device_change):
8934 * dgif_lib.c (DGifOpenFileName):
8935 * dgif_lib.c (DGifOpenFileHandle):
8936 * dgif_lib.c (DGifGetLine):
8937 * dgif_lib.c (DGifGetPixel):
8938 Added config.h/lisp.h, fix up includes.
8945 * dired.c (file_name_completion):
8946 * dired.c (Ffile_attributes):
8947 * dired.c (syms_of_dired):
8951 * dumper.c (pdump_file_unmap):
8952 * dumper.c (pdump_load):
8956 * editfns.c (Ftemp_directory):
8957 * editfns.c (user_login_name):
8958 * editfns.c (Fuser_real_login_name):
8959 * editfns.c (get_home_directory):
8962 * elhash.c (finish_marking_weak_hash_tables):
8963 [[[[5]]]]: Fix GCC warnings.
8966 * emacs.c (mswindows_handle_hardware_exceptions):
8967 * emacs.c (make_arg_list_1):
8969 * emacs.c (Fkill_emacs):
8970 * emacs.c (Fdump_emacs):
8972 Fix problems with nested crashes, add long comment.
8974 * event-Xt.c (init_event_Xt_late):
8978 * event-msw.c (mswindows_dde_callback):
8979 * event-msw.c (mswindows_handle_sticky_modifiers):
8980 * event-msw.c (mswindows_wnd_proc):
8984 * events.c (character_to_event):
8988 * fileio.c (Ffile_name_directory):
8989 * fileio.c (Ffile_name_nondirectory):
8990 * fileio.c (directory_file_name):
8991 * fileio.c (Fexpand_file_name):
8992 * fileio.c (Fsubstitute_in_file_name):
8993 * fileio.c (Ffile_name_absolute_p):
8994 * fileio.c (check_executable):
8995 * fileio.c (Ffile_readable_p):
8996 * fileio.c (Ffile_accessible_directory_p):
8997 * fileio.c (Ffile_modes):
8998 * fileio.c (Funix_sync):
8999 * fileio.c (vars_of_fileio):
9002 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
9004 Expand getdefdir defn.
9005 Fix bogus rename() comment.
9007 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
9008 to use standard XEmacs include files, e.g. sysfile.h, rather
9009 than system-specific includes.
9015 * frame.c (vars_of_frame):
9019 * getloadavg.c (getloadavg):
9021 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
9022 (We don't use it elsewhere in the code; just add a comment.)
9029 * glyphs-msw.c (mswindows_resource_instantiate):
9032 * glyphs-x.c (x_native_layout_instantiate):
9035 * gui-msw.c (Fmswindows_shell_execute):
9044 * lread.c (locate_file_in_directory_mapper):
9051 * mem-limits.h (get_lim_data):
9063 * nt.c (rva_to_section):
9064 * nt.c (mswindows_executable_type):
9066 Fix closedir() defn.
9069 [[[[8]]]]: *_OK defs moved to sysfile.h.
9078 * print.c (std_handle_out_external):
9082 * process-nt.c (nt_create_process):
9084 try to fix process quoting somewhat.
9086 * process-unix.c (unix_create_process):
9090 * process.c (vars_of_process):
9097 * realpath.c (xrealpath):
9100 * redisplay-tty.c (init_tty_for_redisplay):
9110 * sheap.c (more_static_core):
9111 * sheap.c (report_sheap_usage):
9115 * signal.c (alarm_signal):
9122 * strftime.c (zone_name):
9125 * symsinit.h (init_sunpro):
9129 commctrl.h not in Cygwin b20.1.
9133 * sysdep.c (sys_subshell):
9134 * sysdep.c (init_baud_rate):
9135 * sysdep.c (emacs_get_tty):
9136 * sysdep.c (emacs_set_tty):
9137 * sysdep.c (tty_init_sys_modes_on_device):
9138 * sysdep.c (init_system_name):
9139 * sysdep.c (sys_open):
9140 * sysdep.c (interruptible_open):
9141 * sysdep.c (sys_fopen):
9142 * sysdep.c (sys_mkdir):
9143 * sysdep.c (sys_rename):
9144 * sysdep.c (get_process_times_1):
9151 * sysdir.h (DIRENTRY_NONEMPTY):
9154 * sysdll.c (dll_init):
9160 added text/binary defs.
9166 * sysproc.h (EDESTADDRREQ):
9167 * sysproc.h (poll_fds_for_input):
9184 Always define WIN32_LEAN_AND_MEAN.
9186 * unexcw.c (unexec):
9190 * unexec.c (copy_text_and_data):
9191 * unexec.c (adjust_lnnoptrs):
9195 * unexnt.c (_start):
9198 2000-06-07 Ben Wing <ben@xemacs.org>
9200 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
9201 was used only as a model. We've long since extracted any useful
9202 logic or code out of this. (I just did an exhaustive search.)
9204 * s\msdos.h: Removed.
9206 * s\windows95.h: Removed.
9208 2000-06-10 Ben Wing <ben@xemacs.org>
9212 Don't use extern with fun defs.
9216 Remove nt\inc include.
9217 Remove getdisk, getdefdir. (The former is unused, the latter
9218 expanded in fileio.h.)
9221 * s\windowsnt.h (WIN32_NATIVE):
9222 * s\windowsnt.h (HAVE_STRCASECMP):
9224 Add long comment about preprocessor changes.
9225 Remove getdisk, getdefdir. (The former is unused, the latter
9226 expanded in fileio.h.)
9228 2000-06-10 Ben Wing <ben@xemacs.org>
9237 Remove bogus/unused NO_SOCK_SIGIO.
9239 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
9241 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
9244 2000-06-04 Mike Sperber <mike@xemacs.org>
9246 * casetab.c (set_case_table): For `set-standard-case-table',
9247 actually deposit the new case tables where the rest of XEmacs can
9250 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
9252 * data.c (Faset): Don't cast XCHAR() to unsigned char.
9254 2000-06-05 Ben Wing <ben@xemacs.org>
9256 * callproc.c (child_setup): Don't do close_load_descs() under
9257 MS Windows. Put in a comment explaining why.
9259 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
9261 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
9262 Toolkit shell" which breaks `kill-compilation' on Windows NT
9263 native, retaining STDERR handling improvements.
9265 2000-06-01 Andreas Jaeger <aj@suse.de>
9267 * s/s390.h: Support for S390, based on a patch by Martin
9268 Schwidefsky <schwidefsky@de.ibm.com>.
9270 2000-05-30 Andy Piper <andy@xemacs.org>
9272 * window.c (allocate_window):
9273 (make_dummy_parent):
9274 (Fset_window_configuration): use new hashtable type.
9276 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
9277 (struct image_instantiator_methods):
9278 (struct Lisp_Image_Instance): make instance geometry signed.
9280 * glyphs.c (instantiate_image_instantiator):
9281 (image_instance_query_geometry):
9282 (image_instance_layout):
9283 (image_instance_layout):
9284 (query_string_geometry):
9285 (text_query_geometry):
9286 (image_instantiate):
9287 (image_instantiate):
9288 (cache_subwindow_instance_in_frame_maybe):
9289 (subwindow_query_geometry): make instance geometry signed.
9291 * glyphs-widget.c (widget_query_geometry):
9293 (button_query_geometry):
9294 (tree_view_query_geometry):
9295 (tab_control_query_geometry):
9296 (layout_query_geometry):
9298 (native_layout_layout): make instance geometry signed.
9300 2000-05-29 Olivier Galibert <galibert@pobox.com>
9302 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
9305 * general.c (syms_of_general): Add Qfull_assoc symbol.
9307 * data.c (finish_marking_weak_lists): Mark full-assoc lists
9309 (decode_weak_list_type): Decode full-assoc type.
9310 (encode_weak_list_type): Encode full-assoc type.
9311 (Fmake_weak_list): Update doc string.
9313 2000-05-30 Andy Piper <andy@xemacs.org>
9315 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
9317 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
9318 (decode_hash_table_weakness): ditto.
9319 (Fhash_table_weakness): ditto.
9320 (Fhash_table_type): ditto.
9321 (finish_marking_weak_hash_tables): ditto.
9322 (hash_table_weakness_validate): ditto.
9323 (syms_of_elhash): ditto.
9325 2000-05-28 Martin Buchholz <martin@xemacs.org>
9327 * XEmacs 21.2.34 is released.
9329 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
9331 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
9333 (updating_line_start_cache): Gone.
9334 (regenerate_window): Replace resetting of VERTICAL_CLIP by
9335 generic code to force a minimum of 1 line laid out in the
9338 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
9340 * glyphs.c (instantiate_image_instantiator): Check for initialized
9341 height & width no longer special cases IMAGE_NOTHING.
9342 (nothing_instantiate): Set height and width of instance.
9344 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
9346 * unexelf.c (unexec): Search for ".data" section.
9347 Initialize new_data2_offset from old_data_index.
9348 Remove redundant check for ElfW.
9350 2000-05-23 Andy Piper <andy@xemacs.org>
9352 * glyphs.c (get_image_instantiator_governing_domain): allow more
9353 specific domains as the governing domain rather than expecting an
9354 exact match. This fixes problems with layouts.
9356 2000-05-22 Andy Piper <andy@xemacs.org>
9358 * redisplay-output.c (compare_runes): check for non-images
9360 * glyphs.c (set_glyph_dirty_p): ditto.
9361 (update_glyph_cachel_data): ditto.
9363 * glyphs-widget.c (layout_post_instantiate): ditto.
9364 (layout_post_instantiate): ditto.
9366 * event-msw.c (mswindows_wnd_proc): warning removal.
9368 2000-05-12 Craig Lanning <CraigL@DyCon.com>
9370 * s\mingw32.h: Added #undef for CLASH_DETECTION.
9372 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
9374 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
9376 * nt.c (rva_to_section): mingw32 needs rva_to_section.
9377 (mswindows_executable_type): mingw32 now has enough headers for
9380 2000-05-20 Andy Piper <andy@xemacs.org>
9382 * console-msw.c (mswindows_output_last_error): ; -> ,
9384 2000-05-12 Andy Piper <andy@xemacs.org>
9386 * console-msw.c (FROB): compare ints with ints.
9388 2000-05-11 Andy Piper <andy@xemacs.org>
9390 * glyphs-x.c (x_finalize_image_instance): make minimal build
9393 2000-05-20 Ben Wing <ben@xemacs.org>
9396 * event-Xt.c (vars_of_event_Xt):
9397 move modifier-keys-are-sticky to event-stream.c.
9400 * event-msw.c (mswindows_enqueue_mouse_button_event):
9401 * event-msw.c (key_needs_default_processing_p):
9402 * event-msw.c (XEMSW_LCONTROL):
9403 * event-msw.c (mswindows_handle_sticky_modifiers):
9404 * event-msw.c (FROB):
9405 * event-msw.c (clear_sticky_modifiers):
9406 * event-msw.c (output_modifier_keyboard_state):
9407 * event-msw.c (output_alt_keyboard_state):
9408 * event-msw.c (mswindows_wnd_proc):
9409 * event-msw.c (mswindows_modifier_state):
9410 * event-msw.c (emacs_mswindows_handle_magic_event):
9411 implement sticky modifiers.
9414 * event-stream.c (vars_of_event_stream):
9415 move modifier-keys-are-sticky here.
9421 implement map-range-table.
9424 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
9426 * redisplay-tty.c (reset_tty_modes):
9427 (tty_redisplay_shutdown): Adjust argument type to
9428 tty_frame_output_end.
9430 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
9432 * eval.c (Fbacktrace): Don't output a line with only right
9435 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
9437 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
9438 (Fpq_reset_poll): Ditto.
9440 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
9442 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
9444 2000-05-16 Ben Wing <ben@xemacs.org>
9447 * buffer.c (dfc_convert_to/from_internal_format):
9448 * buffer.c (reinit_vars_of_buffer):
9449 Fix conversion functions to allow reentrancy.
9452 * console-msw.c (mswindows_output_last_error):
9453 New fun, generally useful -- output a human-readable
9454 version of GetLastError() on the console.
9457 * console-msw.h (struct mswindows_frame):
9458 Changes for DeferWindowPos. Declare mswindows_output_last_error().
9460 * console-stream.c (stream_output_begin):
9461 * console-stream.c (stream_output_end):
9462 * console-stream.c (stream_output_vertical_divider):
9463 * console-stream.c (stream_clear_region):
9464 * console-stream.c (stream_flash):
9465 * console-stream.c (console_type_create_stream):
9466 Delete blank stream methods, not needed.
9468 * console.h (struct console_methods):
9469 Split begin/end methods into window and frame.
9472 * event-msw.c (mswindows_handle_paint):
9473 * event-msw.c (output_alt_keyboard_state):
9474 * event-msw.c (mswindows_wnd_proc):
9475 * event-msw.c (vars_of_event_mswindows):
9476 Comment about problems with ignored-expose.
9477 Define mswindows-debug-events; not really implemented.
9479 * frame-msw.c (mswindows_init_frame_1):
9483 * glyphs-msw.c (begin_defer_window_pos):
9484 * glyphs-msw.c (mswindows_unmap_subwindow):
9485 * glyphs-msw.c (mswindows_map_subwindow):
9486 * glyphs-msw.c (mswindows_resize_subwindow):
9487 Use DeferWindowPos to reduce flashing when mapping/unmapping.
9489 * glyphs.c (make_image_instance_1):
9492 * gutter.c (Fredisplay_gutter_area):
9493 Use new begin/end methods.
9495 * lisp.h (Dynarr_new2):
9499 * redisplay-msw.c (mswindows_frame_output_begin):
9500 * redisplay-msw.c (mswindows_frame_output_end):
9501 * redisplay-msw.c (console_type_create_redisplay_mswindows):
9502 New begin/end methods -- handle DeferWindowPos.
9504 * redisplay-output.c (redisplay_move_cursor):
9505 * redisplay-output.c (redraw_cursor_in_window):
9506 * redisplay-output.c (redisplay_update_line):
9507 * redisplay-output.c (redisplay_output_window):
9508 New begin/end methods.
9511 * redisplay-tty.c (tty_frame_output_begin):
9512 * redisplay-tty.c (tty_frame_output_end):
9513 * redisplay-tty.c (console_type_create_redisplay_tty):
9514 New begin/end methods.
9517 * redisplay-x.c (x_window_output_begin):
9518 * redisplay-x.c (x_window_output_end):
9519 * redisplay-x.c (console_type_create_redisplay_x):
9520 New begin/end methods.
9522 * redisplay.c (redisplay_frame):
9523 * redisplay.c (Fredisplay_echo_area):
9524 New begin/end methods.
9525 use MAYBE_DEVMETH for clear_frame; it may not exist.
9527 * window.h (WINDOW_XFRAME):
9528 WINDOW_XFOO macros -- get locale and decode struct pointer.
9531 2000-05-12 Ben Wing <ben@xemacs.org>
9534 * emacs.c (ensure_no_quitting_from_now_on):
9535 * emacs.c (fatal_error_signal):
9536 * emacs.c (mswindows_handle_hardware_exceptions):
9538 * emacs.c (Fkill_emacs):
9539 * emacs.c (shut_down_emacs):
9540 * emacs.c (assert_failed):
9541 various improvements in fatal error handling.
9544 move preparing_for_armageddon to emacs.c.
9547 declare fatal_error_in_progress.
9550 * print.c (std_handle_out_external):
9551 * print.c (std_handle_out_va):
9552 * print.c (stderr_out):
9553 * print.c (stdout_out):
9554 use console under mswin when no standard output.
9555 don't do code conversion during fatal error.
9557 * scrollbar.c (Fscrollbar_page_up):
9558 * scrollbar.c (Fscrollbar_page_down):
9559 fix missing else. reindent.
9561 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
9565 * glyphs.h (GLYPH_CACHEL_DESCENT):
9566 (GLYPH_CACHEL_DESCENT):
9567 (GLYPH_CACHEL_DESCENT):
9568 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
9569 used in case these are inline functions.
9570 Use more absurd values to error check.
9572 include window.h for error check functions.
9574 2000-05-11 Ben Wing <ben@xemacs.org>
9576 * cmdloop.c (Freally_early_error_handler):
9577 Display message box under windows; otherwise, message will disappear
9578 before it can be viewed.
9581 * console-msw.c (Fmswindows_message_box):
9582 * console-msw.c (FROB):
9583 * console-msw.c (syms_of_console_mswindows):
9584 Define new fun `mswindows-message-box'.
9585 #### I will merge this into `popup-dialog-box'; just give me
9589 * general.c (syms_of_general):
9590 Some new symbols used in `mswindows-message-box'.
9593 * glyphs.c (Fset_image_instance_property):
9594 put warning in this fun.
9597 * glyphs.h (GLYPH_CACHEL_WIDTH):
9598 * glyphs.h (GLYPH_CACHEL_ASCENT):
9599 * glyphs.h (GLYPH_CACHEL):
9600 * glyphs.h (GLYPH_CACHEL_GLYPH):
9601 define error-checking versions to try to catch a bug i've seen --
9602 redisplay gets in an infinite loop because the glyph width of the
9603 continuation glyph is 65535.
9606 Extern message-box stuff.
9608 * window.c (allocate_window):
9609 * window.c (make_dummy_parent):
9610 * window.c (Fset_window_configuration):
9611 Use EQUAL not EQ for subwindow caches to make them work a bit
9612 better. (Something is still very broken.)
9615 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
9617 * glyphs.c (image_instantiate): Suppress gcc warnings.
9618 (Fmake_image_instance): Fix doc string.
9619 * specifier.c (Fmake_specifier): Ditto.
9621 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
9623 * paths.h.in (PATH_LOCK): Removed.
9624 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
9625 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
9627 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
9629 * fns.c (Ffeaturep): Update e-mail address in doc-string.
9630 Document (featurep '(and xemacs 21.02)).
9632 2000-05-09 Ben Wing <ben@xemacs.org>
9634 * buffer.c (complex_vars_of_buffer):
9635 update modeline-format doc.
9638 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
9641 timeline of all released versions of Emacs, for use in creating
9642 authorship comments and in synching up.
9644 * glyphs-widget.c (image_instantiator_buttons):
9645 * glyphs-widget.c (image_instantiator_edit_fields):
9646 * glyphs-widget.c (image_instantiator_combo_box):
9647 * glyphs-widget.c (image_instantiator_scrollbar):
9648 * glyphs-widget.c (image_instantiator_progress_guage):
9649 * glyphs-widget.c (image_instantiator_tree_view):
9650 * glyphs-widget.c (image_instantiator_tab_control):
9651 * glyphs-widget.c (image_instantiator_labels):
9652 * glyphs-widget.c (image_instantiator_layout):
9653 * glyphs-widget.c (image_instantiator_native_layout):
9654 rename decode_domain method to governing_domain.
9657 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
9658 * glyphs.c (add_entry_to_device_ii_format_list):
9659 make sure we don't put an entry more than once into the list.
9660 * glyphs.c (check_instance_cache_mapper):
9661 *************************************************************
9662 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9664 *************************************************************
9665 * glyphs.c (get_image_instantiator_governing_domain):
9666 clean up, expand on new concept of governing domain.
9667 * glyphs.c (instantiate_image_instantiator):
9668 * glyphs.c (allocate_image_instance):
9669 use governing_domain instead of cache_domain in naming.
9670 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
9671 * glyphs.c (make_image_instance_1):
9672 * glyphs.c (Fmake_image_instance):
9673 allow for any domain (not just device), and process the
9674 governing domain correctly. very big doc fix.
9675 * glyphs.c (Fimage_instance_domain):
9676 new primitive, to retrieve the governing domain of an image instance.
9677 * glyphs.c (image_instantiate):
9678 use new governing_domain stuff. this fixes a crash you could get
9679 by instantiating certain widget glyphs in frame locales. (should
9680 signal an error instead of crashing.)
9681 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
9682 * glyphs.c (Fglyphp): clean up doc.
9683 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
9684 * glyphs.c (syms_of_glyphs):
9685 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
9686 * glyphs.c (image_instantiator_format_create): add some comments about
9688 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
9689 for current-display-table. (Apparently Hrjove implemented in 1998 a
9690 design I wrote up in 1996, but didn't update the doc string.)
9692 * glyphs.h: clean up a doc string.
9693 * glyphs.h (governing_domain):
9694 * glyphs.h (struct image_instantiator_methods):
9695 changes for governing_domain stuff.
9698 * gutter.c (Fgutter_specifier_p):
9699 * gutter.c (Fgutter_size_specifier_p):
9700 * gutter.c (Fgutter_visible_specifier_p):
9702 * objects.c (Fcolor_specifier_p):
9703 * objects.c (Ffont_specifier_p):
9704 * objects.c (Fface_boolean_specifier_p):
9705 doc strings moved to make-*-specifier.
9707 * redisplay.c (add_disp_table_entry_runes_1):
9708 * redisplay.c (generate_fstring_runes):
9709 * redisplay.c (screen):
9710 add random comments and doc strings.
9713 * specifier.c (Fmake_specifier):
9714 major overhaul of this doc string.
9716 * specifier.c (Fvalid_specifier_domain_p):
9717 comment about the bogosity of image instances being domains.
9718 * specifier.c (decode_domain):
9719 now non-static, used in glyphs.c.
9720 * specifier.c (specifier_instance):
9721 comment about the bogosity of image instances being domains.
9722 * specifier.c (Fgeneric_specifier_p):
9723 move doc string to make-generic-specifier.
9724 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
9728 * specifier.h (DOMAIN_FRAME):
9729 * specifier.h (DOMAIN_LIVE_P):
9730 * specifier.h (DOMAIN_XDEVICE):
9732 add comments about problems with these macros.
9733 prototype for decode_domain.
9736 * toolbar.c (Ftoolbar_specifier_p):
9737 move doc string to `make-toolbar-specifier'.
9739 * window.c (window_unmap_subwindows_cache_mapper):
9740 *************************************************************
9741 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9743 *************************************************************
9745 2000-05-09 Andy Piper <andy@xemacs.org>
9747 * glyphs.h: declare reset_frame_subwindow_instance_cache.
9749 * window.c (Fset_window_configuration): reset the frame subwindow
9750 cache and re-initialize the window subwindow caches.
9752 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
9754 2000-05-09 Ben Wing <ben@xemacs.org>
9756 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
9759 2000-04-26 Mike Woolley <mike@bulsara.com>
9761 * ntheap.c: Changed recreate_heap to limit the amount reserved
9762 for the heap to that which is actually available. Also now
9763 displays a message box (with some dignostics) in the event that
9764 it still can't start.
9766 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
9768 * callproc.c (Fold_call_process_internal): GCPRO path
9770 2000-05-08 Jan Vroonhof <jan@xemacs.org>
9772 Patch by Bill Perry.
9774 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
9775 back data instead of #ifdef.
9776 (Fscrollbar_page_down): ditto.
9778 2000-05-07 Ben Wing <ben@xemacs.org>
9781 Kludge for defining Qmswindows_tstr.
9784 * nt.c (open_input_file):
9785 * nt.c (open_output_file):
9786 * nt.c (rva_to_section):
9787 * nt.c (mswindows_executable_type):
9788 Move all memory-mapped-file routines here (some were in unexnt.c,
9789 which is bad because they are used by process-nt.c, and unexnt
9790 won't be around when portable dumping). Synched the above routines
9794 Removed ifdef'd out bogus code.
9795 Fixed some prototypes.
9798 * nt.h (OFFSET_TO_RVA):
9799 * nt.h (RVA_TO_OFFSET):
9800 * nt.h (RVA_TO_PTR):
9801 Moved the memory-mapped-file structures, macros and prototypes
9802 here, to parallel nt.c. ntheap.h should really be removed
9803 entirely, and it's a non-portable-dumper specific file.
9805 * ntheap.h (round_to_next):
9806 Moved the memory-mapped-file structures, macros and prototypes
9809 * ntproc.c (compare_env):
9810 Moved rva_to_section and mswindows_executable_type to nt.c.
9811 Moved compare_env to process-nt.c.
9812 ntproc.c will die, one day.
9814 * ntproc.c (sys_spawnve):
9815 Account for win32_ -> mswindows_.
9818 * process-nt.c (struct nt_process_data):
9819 * process-nt.c (ensure_console_window_exists):
9820 * process-nt.c (compare_env):
9821 * process-nt.c (nt_create_process):
9822 * process-nt.c (nt_kill_process_by_pid):
9823 * process-nt.c (syms_of_process_nt):
9824 * process-nt.c (vars_of_process_nt):
9825 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
9826 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
9827 changes). Eliminate our old `nt-quote-process-args' mechanism.
9828 Synch up nt_create_process with FSF 20.6 sys_spawnve.
9829 Move compare_env here from ntproc.c.
9831 * process.c (Fprocess_send_region):
9832 Takes an optional fourth argument, BUFFER, which should fix some
9833 problems with call-process.
9836 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
9839 Move ICC_BAR_CLASSES to syscommctrl.h.
9840 Add preliminary macros for MSWindows/Mule. More to come.
9843 * unexnt.c (unexec):
9844 open_output_file moved to nt.c.
9847 2000-05-05 Andy Piper <andy@xemacs.org>
9849 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
9850 instance from the frame cache also since GC may catch up too late
9851 to make frame deletion sane.
9853 2000-05-04 Andy Piper <andy@xemacs.org>
9855 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
9856 (x_finalize_image_instance): ungcpro on deletion.
9858 * glyphs.c (image_instantiator_format_create): give pointers a
9859 query geometry method so that the geometry is at least set.
9861 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
9862 initialize layouts if using widgets.
9864 2000-05-03 Andy Piper <andy@xemacs.org>
9866 * nt.c: remove bogus reference to sysmmsystem.h
9868 * gui-x.c (popup_selection_callback): fix no selection abort.
9870 2000-05-02 Andy Piper <andy@xemacs.org>
9872 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9873 (mswindows_widget_instantiate): ditto.
9875 * glyphs-widget.c (initialize_widget_image_instance): initialize
9877 (widget_instantiate): cope with children and items in the same
9880 * glyphs.c (mark_image_instance): cope with children as a first
9882 (image_instance_equal): ditto.
9883 (image_instance_hash): ditto.
9884 (image_instance_changed): ditto.
9886 2000-04-30 Andy Piper <andy@xemacs.org>
9888 * glyphs.c (subwindow_query_geometry): new function. Return some
9890 (subwindow_instantiate): don't assign dimensions if none have been
9892 (image_instantiator_format_create): add subwindow_query_geometry.
9893 (print_image_instance): cope with layouts as widgets.
9895 2000-04-29 Andy Piper <andy@xemacs.org>
9897 * frame.c (delete_frame_internal): call
9898 free_frame_subwindow_instance_cache so that all subwindows are
9899 finalized before their parent.
9900 (mark_frame): remove subwindow_cachels.
9901 (Fmake_frame): remove subwindow_cachel manipulation.
9902 (allocate_frame_core): subwindow_instance_cache is a weak list.
9903 (delete_frame_internal): set subwindow_instance_cache to nil.
9905 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9907 (mswindows_finalize_image_instance): use the device
9908 not the domain as the domain may have died already.
9910 * glyphs-x.c (x_finalize_image_instance): ditto.
9911 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9914 * redisplay-output.c (redisplay_unmap_subwindows): update for
9915 subwindow instance cache as a weak list.
9916 (redisplay_unmap_subwindows_maybe): ditto.
9917 (redisplay_unmap_subwindows_except_us): ditto.
9919 * glyphs.c (unmap_subwindow): error checking will check the domain
9920 so don't deal with it here. Don't use cachels anymore.
9921 (map_subwindow): ditto.
9922 (update_subwindow_cachel_data): remove old accessor names.
9923 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9924 (Fresize_subwindow): don't update cachel.
9925 (mark_subwindow_cachels):
9926 (update_subwindow_cachel_data):
9927 (add_subwindow_cachel):
9928 (get_subwindow_cachel_index):
9929 (update_subwindow_cachel):
9930 (reset_subwindow_cachels):
9931 (mark_subwindow_cachels_as_not_updated): deleted.
9932 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9933 subwindow instance to the frame cache.
9934 (find_matching_subwindow): update for subwindow instance cache as
9936 (update_widget_instances): ditto.
9937 (image_instance_type_to_mask):inlined.
9938 (free_frame_subwindow_instance_cache): new function. finalize all
9939 subwindows that are instantiated.
9941 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9942 of cachel information.
9943 (IMAGE_INSTANCE_DISPLAY_X):
9944 (IMAGE_INSTANCE_DISPLAY_Y):
9945 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9946 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9947 (XIMAGE_INSTANCE_DISPLAY_X):
9948 (XIMAGE_INSTANCE_DISPLAY_Y):
9949 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9950 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9951 remove subwindow_cachel structure and function references.
9952 (image_instance_type_to_mask): inline from glyphs.c
9954 * redisplay.c (redisplay_frame): remove subwindow_cachel
9957 * frame.h (struct frame): remove subwindow_cachels.
9958 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9960 * frameslots.h: add subwindow_instance_cache.
9962 * window.c (replace_window): check subwindow cache of replacement.
9963 (window_unmap_subwindows_cache_mapper):
9964 (window_unmap_subwindows): new functions. Unmap all subwindows
9965 cached on this window.
9966 (mark_window_as_deleted): unmap all subwindows.
9968 2000-04-27 Andy Piper <andy@xemacs.org>
9970 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9972 * glyphs-widget.c (widget_layout): return something.
9973 (layout_layout): return something. Fail if not initialized.
9974 (layout_query_geometry): ditto.
9975 (image_instantiator_native_layout): new function. Initialized the
9977 (widget_instantiate): don't do layout stuff here.
9979 * glyphs.c (instantiate_image_instantiator): reorded calling or
9980 instantiate and post_instantiate with layout in between.
9981 (image_instance_layout): be more selective about deciding whether
9982 the layout has been done or not.
9984 * glyphs.h (struct image_instantiator_methods): return a value
9987 2000-04-26 Andy Piper <andy@xemacs.org>
9989 * glyphs.c (allocate_image_instance): make initial width and
9990 height unspecified. Set initialized to 0.
9992 * syscommctrl.h new file. Encapsulates commctrl.h.
9994 * syswindows.h new file. Encapsulates windows.h.
9996 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9998 * console-msw.h: ditto.
10000 * redisplay-tty.c (tty_output_display_block): remove layout references.
10002 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
10003 window handle rather than just the frame.
10005 * glyphs.c (mark_image_instance): remove layout references.
10006 (print_image_instance): ditto.
10007 (image_instance_equal): ditto.
10008 (image_instance_hash): ditto.
10009 (decode_image_instance_type): ditto.
10010 (encode_image_instance_type): ditto.
10011 (image_instantiate): ditto.
10012 (allocate_glyph): ditto.
10013 (Fimage_instance_height): ditto.
10014 (Fimage_instance_width): ditto.
10015 (update_subwindow): ditto.
10017 * redisplay-x.c (x_output_display_block): recode for layouts as
10020 * redisplay-output.c (redisplay_output_layout): recode for layouts
10022 (compare_runes): remove layout references.
10024 * redisplay-msw.c (mswindows_output_display_block): recode for
10025 layouts as widgets.
10027 * glyphs-widget.c (image_instantiator_layout): remove
10028 layout_possible_dest_types.
10029 (layout_possible_dest_types): deleted.
10031 * glyphs.h (image_instance_type): remove layout references.
10032 (struct Lisp_Image_Instance): ditto. Add initialized flag.
10033 (IMAGE_INSTANCE_INITIALIZED): new accessor.
10034 (XIMAGE_INSTANCE_INITIALIZED): ditto.
10036 2000-04-25 Andy Piper <andy@xemacs.org>
10038 * glyphs-widget.c (image_instantiator_buttons):
10039 (image_instantiator_edit_fields):
10040 (image_instantiator_combo_box):
10041 (image_instantiator_scrollbar):
10042 (image_instantiator_progress_guage):
10043 (image_instantiator_tree_view):
10044 (image_instantiator_tab_control):
10045 (image_instantiator_labels):
10046 (image_instantiator_layout): call default post_instantiate method.
10047 (widget_post_instantiate): new function. Simply lays out the
10050 * glyphs.h (struct image_instantiator_methods): add
10051 post_instantiate method.
10053 * glyphs.c (instantiate_image_instantiator): add post_instantiate
10056 2000-04-23 Andy Piper <andy@xemacs.org>
10058 * glyphs.h (struct image_instantiator_methods): add
10059 decode_domain_method.
10060 (struct Lisp_Image_Instance): remove subwindow frame - it can be
10061 derived from the domain.
10062 (IMAGE_INSTANCE_FRAME): new accessor.
10063 (XIMAGE_INSTANCE_FRAME): ditto.
10065 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
10066 instead of _SUBWINDOW_FRAME.
10067 (finalize_image_instance): ditto.
10068 (Fimage_instance_foreground): ditto.
10069 (Fimage_instance_background): ditto.
10070 (image_instantiate): ditto.
10071 (update_subwindow_cachel): ditto.
10072 (update_subwindow): ditto.
10073 (unmap_subwindow): ditto.
10074 (map_subwindow): ditto
10075 (subwindow_instantiate): ditto.
10076 * glyphs-msw.c (mswindows_update_widget): ditto.
10077 (mswindows_progress_gauge_instantiate): ditto.
10078 (mswindows_tab_control_update): ditto.
10079 * glyphs-x.c (x_update_widget): ditto.
10080 (x_widget_instantiate): ditto.
10081 (x_tab_control_instantiate): ditto.
10082 (x_tab_control_update): ditto.
10083 * event-msw.c (mswindows_wnd_proc): ditto
10085 * glyphs-widget.c (image_instantiator_layout): use
10086 subwindow_decode_domain.
10087 (image_instantiator_buttons): ditto.
10088 (image_instantiator_edit_fields): ditto.
10089 (image_instantiator_combo_box): ditto.
10090 (image_instantiator_scrollbar): ditto.
10091 (image_instantiator_progress_guage): ditto.
10092 (image_instantiator_tree_view): ditto.
10093 (image_instantiator_tab_control): ditto.
10094 (image_instantiator_labels): ditto.
10095 (image_instantiator_layout): ditto.
10097 * glyphs.c: add instance error checking to many functions.
10098 (instantiate_image_instantiator): decode device from cache_domain.
10099 (image_instantiate): partially rewrite by using
10100 decode_image_instantiator_domain to determine what domain the
10101 instance needs to be cached in.
10102 (decode_image_instantiator_domain): new function. Determine what
10103 domain the image needs to be cached in.
10104 (check_window_subwindow_cache): new error checking function.
10105 (check_instance_cache_mapper): ditto.
10106 (check_image_instance_structure): ditto.
10107 (subwindow_decode_domain): new function. Encodes a window as a
10108 subwindow's cache domain.
10109 (image_instantiator_format_create): use it for text and
10112 2000-04-21 Andy Piper <andy@xemacs.org>
10114 * glyphs.c (image_instance_device): new function.
10115 (image_instance_frame): new function.
10116 (image_instance_window): new function.
10117 (image_instance_live_p): new function.
10119 * window.c (mark_window_as_deleted): reset the subwindow_instance_
10122 * glyphs.h (struct Lisp_Image_Instance): device->domain.
10123 (IMAGE_INSTANCE_DOMAIN): new accessor.
10124 (XIMAGE_INSTANCE_DOMAIN): ditto.
10126 * glyphs-x.c (x_finalize_image_instance): device->domain.
10128 * glyphs-msw.c (init_image_instance_geometry): device->domain.
10129 (mswindows_finalize_image_instance): ditto.
10131 * glyphs-eimage.c (jpeg_instantiate): device->domain.
10132 (gif_instantiate): ditto.
10133 (png_instantiate): ditto.
10134 (tiff_instantiate): ditto.
10136 * glyphs.c (instantiate_image_instantiator): use domain rather
10138 (mark_image_instance): device -> domain.
10139 (print_image_instance): ditto.
10140 (finalize_image_instance): ditto.
10141 (image_instance_equal): ditto.
10142 (allocate_image_instance): ditto.
10143 (Fcolorize_image_instance): ditto.
10144 (query_string_geometry): ditto.
10145 (image_instantiate): ditto
10146 (query_string_font): ditto.
10147 (image_instantiate): ditto.
10148 (update_subwindow): ditto.
10149 (unmap_subwindow): ditto.
10150 (map_subwindow): ditto.
10151 (subwindow_instantiate): ditto.
10153 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
10154 (DOMAIN_FRAME): ditto.
10155 (DOMAIN_WINDOW): ditto.
10156 (DOMAIN_LIVE_P): ditto.
10157 (XDOMAIN_DEVICE): ditto.
10158 (XDOMAIN_FRAME): ditto.
10159 (XDOMAIN_WINDOW): ditto.
10161 * specifier.c (Fvalid_specifier_domain_p): add image instances as
10162 a valid specifier domain.
10164 2000-04-19 Andy Piper <andy@xemacs.org>
10166 * glyphs-widget.c (syms_of_glyphs_widget): remove
10167 widget-callback-current-channel.
10168 (vars_of_glyphs_widget): ditto.
10171 * gui.c (get_gui_callback): revert to previous behaviour.
10173 2000-04-18 Andy Piper <andy@xemacs.org>
10175 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
10176 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
10177 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
10179 * glyphs.c (image_instance_equal): add margin_width.
10180 (image_instance_hash): ditto.
10182 * glyphs-widget.c (widget_instantiate): deal with margin-width.
10183 (layout_query_geometry): ditto.
10184 (layout_layout): ditto.
10185 (syms_of_glyphs_widget): add margin-width.
10186 (image_instantiator_layout): allow margin-width.
10188 * glyphs.c (update_widget_instances): make a normal function.
10189 (syms_of_glyphs): remove Qupdate_widget_instances.
10192 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
10193 so that we don't corrupt ideas about the last event or
10194 command. Remove widget-callback-current-channel fiddling.
10195 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
10197 2000-05-01 Martin Buchholz <martin@xemacs.org>
10199 * XEmacs 21.2.33 is released.
10201 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
10203 * make-src-depend: Allow dots in header file name.
10205 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
10207 * mule-charset.h (struct charset_lookup): Add
10208 next_allocated_1_byte_leading_byte and
10209 next_allocated_2_byte_leading_byte.
10210 * mule-charset.c: Move above two variables so that those values
10213 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
10215 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
10216 when string length is zero.
10217 (find_charsets_in_emchar_string): Ditto.
10219 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
10221 * lisp.h: extern Qdialog and Qmenubar.
10223 * gui-x.c: added events.h.
10224 also fixed typo which made the file uncompilable.
10226 * general.c: Added Qmenubar and Qdialog
10228 2000-04-28 Ben Wing <ben@xemacs.org>
10230 * frame-msw.c (mswindows_init_frame_1):
10231 * frame-msw.c (mswindows_mark_frame):
10232 * event-msw.c (mswindows_enqueue_dispatch_event):
10234 * console-msw.h (struct mswindows_frame):
10235 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
10236 there are now three hash tables for callbacks.
10237 mswindows_enqueue_dispatch_event is no longer static.
10239 * dialog-x.c (maybe_run_dbox_text_callback):
10240 * dialog-x.c (dbox_descriptor_to_widget_value):
10241 switch to new cons3 form for callbacks.
10243 * glyphs-msw.c (mswindows_register_gui_item):
10244 * glyphs-msw.c (mswindows_widget_instantiate):
10245 * glyphs-msw.c (add_tree_item):
10246 * glyphs-msw.c (add_tab_item):
10247 new image instance parameter, so it can be passed to callback-ex.
10248 respect :callback-ex as well as :callback.
10250 * glyphs-widget.c (VALID_GUI_KEYWORDS):
10253 * glyphs.c (print_image_instance):
10254 prettify, e.g. now prints widget type.
10257 certain funs have new image instance parameter.
10260 * gui.c (get_gui_callback):
10261 * gui.c (gui_item_add_keyval_pair):
10262 * gui.c (gui_item_init):
10263 * gui.c (gui_add_item_keywords_to_plist):
10264 * gui.c (mark_gui_item):
10265 * gui.c (gui_item_hash):
10266 * gui.c (gui_item_equal):
10267 * gui.c (copy_gui_item):
10268 * gui.c (syms_of_gui):
10269 recognize callback-ex in a number of places.
10270 also, fix the annoying "can't get out of yes-no dialog" bug.
10273 * gui.h (struct Lisp_Gui_Item):
10274 recognize callback-ex in a number of places.
10276 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10277 new parameter in button_item_to_widget_value.
10279 * glyphs-x.c (x_update_widget):
10280 * glyphs-x.c (x_button_instantiate):
10281 * glyphs-x.c (x_button_update):
10282 * glyphs-x.c (x_progress_gauge_instantiate):
10283 * glyphs-x.c (x_edit_field_instantiate):
10284 * glyphs-x.c (x_combo_box_instantiate):
10285 * glyphs-x.c (x_tab_control_instantiate):
10286 * glyphs-x.c (x_label_instantiate):
10287 new image instance parameter in various places.
10290 * event-Xt.c (enqueue_Xt_dispatch_event):
10291 this fun gets exported.
10294 * gui-msw.c (mswindows_handle_gui_wm_command):
10295 handle both :callback and :callback-ex, and generate our own
10296 event because it's one of the callback-ex arguments.
10299 * gui-x.c (popup_selection_callback):
10300 handle both :callback and :callback-ex, and generate our own
10301 event because it's one of the callback-ex arguments.
10302 * gui-x.c (button_item_to_widget_value):
10303 * gui-x.c (gui_items_to_widget_values_1):
10304 * gui-x.c (gui_item_children_to_widget_values):
10305 * gui-x.c (gui_items_to_widget_values):
10306 new image instance parameter in various places.
10308 * fns.c (Freplace_list):
10309 fix small typo in doc string.
10312 declare enqueue_Xt_dispatch_event.
10314 2000-04-28 Ben Wing <ben@xemacs.org>
10317 * buffer.c (Frecord_buffer):
10318 * buffer.c (syms_of_buffer):
10319 delete record-buffer-hook.
10322 * fns.c (Freplace_list):
10323 * fns.c (syms_of_fns):
10324 new primitive replace-list.
10327 slot for old buffer-alist.
10330 exfun replace-list.
10333 * redisplay.c (redisplay_frame):
10334 * redisplay.c (syms_of_redisplay):
10335 * redisplay.c (vars_of_redisplay):
10336 new hook buffer-list-changed-hook.
10339 2000-04-27 Ben Wing <ben@xemacs.org>
10341 * extents.h: extern in_modeline_generation.
10343 * redisplay.c (generate_formatted_string_db): set
10344 in_modeline_generation.
10346 * extents.c (extent_changed_for_redisplay): don't mark redisplay
10347 flags if in modeline generation. otherwise frame-modified-tick
10348 is ticked far too often.
10349 Declare in_modeline_generation.
10351 2000-04-26 Ben Wing <ben@xemacs.org>
10353 * emacs.c (vars_of_emacs): document quick-build "error-checking"
10355 (vars_of_emacs): add quick-build as an error-checking option.
10356 A bit kludgy, but there doesn't seem much point in creating
10357 a real var for this.
10359 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
10361 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
10363 * redisplay.h (struct display_line): Add a new variable,
10366 * redisplay.c (create_text_block): Set dl->line_continuation if
10367 the line continues.
10368 (create_string_text_block): Ditto.
10369 (regenerate_window_incrementally): Use line_continuation instead
10370 of searching continuation glyph.
10371 (add_margin_runes): Call add_glyph_rune.
10372 (add_glyph_rune): Handle margin glyph.
10374 2000-04-20 Martin Buchholz <martin@xemacs.org>
10376 * filelock.c (fill_in_lock_file_name):
10378 Check for IS_ANY_SEP instead of '/'.
10380 Avoid generating gratuitous garbage. Call user_login_name() directly.
10381 Never check errno without first seeing that system call failed.
10382 (unlock_file): Add GCPRO.
10383 (Flock_buffer): Fix docstring.
10384 (Ffile_locked_p): Fix docstring. Add GCPRO.
10386 2000-04-19 Martin Buchholz <martin@xemacs.org>
10388 * sysdep.c (get_pty_max_bytes):
10389 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
10390 strings longer than 252 bytes.
10392 * md5.c: Unconditionally include ANSI header <limits.h>
10394 * glyphs-x.c (convert_EImage_to_XImage):
10395 * lisp-union.h (union Lisp_Object):
10396 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
10398 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10400 * filelock.c (current_lock_owner): Remove unused variable o, p.
10402 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
10404 * callint.c: Remove multiply defined symbol Qlet
10405 (syms_of_callint): ditto.
10407 2000-04-14 Andy Piper <andy@xemacs.org>
10409 * general.c (syms_of_general): add last-command, this-command, let
10412 * lisp.h: declare various symbols.
10414 * glyphs.h: declare Qwidget_callback_current_channel;
10416 * glyphs-widget.c (syms_of_glyphs_widget): add
10417 Qgui_callback_current_channel.
10418 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
10420 * gui-msw.c (mswindows_handle_gui_wm_command): bind
10421 widget-callback-current-channel when invoking the interactive
10422 arg. Also bind last-command and next-command when invoking the
10424 * gui-x.c (popup_selection_callback): ditto.
10426 * gui.c (get_gui_callback): massage args so that we are always
10427 calling eval. This allows us to add our own variable bindings
10430 * glyphs-x.c (x_button_instantiate): use
10431 gui_items_to_widget_values since this is GC safe.
10432 (x_progress_gauge_instantiate): ditto.
10433 (x_edit_field_instantiate): ditto.
10434 (x_label_instantiate): ditto.
10436 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
10437 (emacs_Xt_event_widget_focus_out): new function
10438 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
10440 (emacs_Xt_event_add_widget_actions): new function. add focus
10441 functions as actions.
10442 (init_event_Xt_late): use it.
10444 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
10446 * event-stream.c (Fdispatch_event): Doc fix.
10448 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
10450 * postgresql.c: Remove all references to PQsetenv*.
10452 * postgresql.h: Remove references to PGsetenvHandler object.
10453 * lrecord.h (lrecord_type): Ditto.
10455 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10457 * glyphs-msw.h (struct mswindows_image_instance_data): Added
10458 real_heigh and real_width members, and accessor macros for these.
10460 * glyphs-msw.c (init_image_instance_geometry): New function.
10461 (init_image_instance_from_dibitmap): Use it.
10462 (mswindows_resource_instantiate): Use it.
10463 (init_image_instance_from_xbm_inline): Use it.
10464 (mswindows_initialize_image_instance_mask): Use real bitmap
10466 (mswindows_create_resized_bitmap): Ditto.
10467 (mswindows_create_resized_mask): Ditto.
10469 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
10470 and bitmap to their surface size.
10472 2000-04-11 Jan Vroonhof <jan@xemacs.org>
10474 * process-unix.c (unix_send_process): Guard against process MIA
10475 after Faccept_process_output.
10477 2000-04-11 Ben Wing <ben@xemacs.org>
10479 * eval.c (unbind_to_hairy): fix brokenness introduced by
10480 nanosecond speed improvements.
10482 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
10484 * sunplay.c (init_device): To play sounds correctly, the device
10485 apparently needs to be initialized at least once by XEmacs. Make
10488 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
10490 * redisplay.c (add_margin_runes): Add text image glyph
10493 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10495 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
10496 gcc is newer than 2.5.
10498 2000-04-06 Colin Rafferty <colin@xemacs.org>
10500 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
10502 * fns.c (size_bit_vector):
10503 * alloc.c (size_vector):
10504 (make_vector_internal):
10505 (make_bit_vector_internal):
10506 (sweep_bit_vectors_1):
10507 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
10509 2000-04-06 Andy Piper <andy@xemacs.org>
10511 * gmalloc.c (malloc): undo previous change.
10516 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
10518 * line-number.c (buffer_line_number): Revert to former version.
10520 2000-04-06 Andy Piper <andy@xemacs.org>
10522 * gmalloc.c (malloc): add error checking.
10527 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
10528 button_item_to_widget_value arg.
10530 * glyphs-x.c (x_button_instantiate): add extra
10531 button_item_to_widget_value arg.
10532 (x_progress_gauge_instantiate): ditto.
10533 (x_edit_field_instantiate): ditto.
10534 (x_label_instantiate): ditto.
10536 * gui-x.c (gui_items_to_widget_values_1): add extra
10537 button_item_to_widget_value arg.
10538 (button_item_to_widget_value): add extra menu_item_p arg.
10540 * gui-x.h: change signature of button_item_to_widget_value.
10542 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
10543 button_item_to_widget_value arg.
10545 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10547 * buffer.h (struct buffer): auto_save_modified should be long.
10549 2000-04-05 Andy Piper <andy@xemacs.org>
10551 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
10553 (button_query_geometry): give a little more room so that athena
10556 2000-04-05 Andy Piper <andy@xemacs.org>
10558 * faces.c (complex_vars_of_faces): The widget face should inherit
10559 the font of the gui-element face.
10561 2000-04-04 Andy Piper <andy@xemacs.org>
10563 * glyphs-x.c (x_button_update): new function. unconditionally
10564 update a button's state when the instance is dirty.
10565 (image_instantiator_format_create_glyphs_x): add x_button_update.
10566 (x_widget_instantiate): remove old resize cruft.
10568 2000-04-02 Andy Piper <andy@xemacs.org>
10570 * frame.c (change_frame_size_1): The introduction of gutters means
10571 that we need to allow 0 as a potential frame dimension.
10573 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
10575 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
10576 image glyph if allow_cursor.
10577 (add_hscroll_rune): Don't allow cursor to border glyph.
10578 (create_text_block): Ditto.
10580 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
10581 text not in buffer.
10582 (redisplay_output_layout): Call ensure_face_cachel_complete for
10586 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
10588 * redisplay.c (add_glyph_rune): Adding text image as text runes.
10590 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
10593 * redisplay-tty.c (tty_output_display_block): Delete the routine
10594 for text image glyph
10595 * redisplay-x.c (x_output_display_block): ditto
10596 * redisplay-msw.c (mswindows_output_display_block): ditto
10598 2000-02-02 Mike Alexander <mta@arbortext.com>
10600 Note: Some of these were committed by accident as part of other
10603 * regex.c (regex_compile): Avoid compiler warnings.
10605 * ntproc.c (sys_spawnve): Avoid compiler warnings.
10607 * nt.h: Declare term_ntproc correctly.
10609 * nt.c: Remove incorrect declaration of get_home_directory which
10610 is declared correctly in lisp.h.
10612 * keymap.c (get_keyelt): Avoid compiler warnings.
10613 (raw_lookup_key_mapper): Avoid compiler warnings.
10615 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
10617 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
10619 * filemode.c (mode_string): Avoid compiler warnings.
10621 * file-coding.c (Fcoding_system_aliasee): Add return statement to
10624 * events-mod.h: Undef some things that winuser.h defines differently.
10626 * data.c (Faset): Avoid compiler warnings.
10628 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
10630 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10632 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
10633 Fall through to simple beep on error.
10634 Replace "extern" by real header file.
10636 * linuxplay.c: Use nativesound.h
10637 (play_sound_data): Return error code. Be less verbose on error.
10639 * sunplay.c: Use nativesound.h
10640 (play_sound_data): Return error code. Be less verbose on error.
10642 * ntplay.c: Use nativesound.h
10643 (play_sound_data): Return fake error code
10645 * sgiplay.c: Use nativesound.h
10646 (play_sound_data): Return error code
10648 * hpplay.c: Use nativesound.h, partially implement
10649 new error code. Break compilation until finished.
10650 (play_sound_data): error code.
10652 * nativesound.h (play_sound_file):
10653 (play_sound_data): Prototype in new header.
10655 2000-03-31 Andy Piper <andy@xemacs.org>
10657 * glyphs-widget.c: (button_query_geometry): new function. Adjust
10658 for toggle and radio buttons.
10659 (image_instantiator_buttons): use it.
10661 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10663 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
10664 (x_update_horizontal_scrollbar_callback): Return if no mirror was
10665 found. Scrollbar event probably belonged to some old config.
10667 2000-03-31 Andy Piper <andy@xemacs.org>
10669 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
10671 (initialize_widget_image_instance): default layout to
10672 LAYOUT_HORIZONTAL rather than 0.
10673 (widget_instantiate): reverse the item list at the end rather than
10675 (layout_layout): re-code for the border text at the front of the
10676 item list rather than at the end.
10677 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
10678 provided by the user.
10679 (widget_query_geometry): comment.
10681 2000-03-30 Andy Piper <andy@xemacs.org>
10683 * glyphs-widget.c (image_instantiator_layout): allow standard
10684 widget keywords in layouts.
10686 * gutter.c (output_gutter): cope with nil gutter contents.
10688 * frame.c (Fset_frame_properties): add gutter docs.
10690 2000-03-29 Andy Piper <andy@xemacs.org>
10692 * toolbar-msw.c (TBSTYLE_FLAT): add.
10693 (mswindows_output_toolbar): minor fiddling.
10695 2000-03-29 Andy Piper <andy@xemacs.org>
10697 * gutter.c (output_gutter): force gutter size recalculation if
10698 what we are trying to display won't fit.
10699 (update_gutter_geometry): new function. A per-gutter version of
10700 update_frame_gutter_geometry.
10701 (update_frame_gutter_geometry): use it.
10702 (redraw_exposed_gutter): add extra debugging output.
10704 2000-03-28 Mike Alexander <mta@arbortext.com>
10706 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
10707 (pdump_file_unmap): Implement it on Windows
10708 (pdump_file_get): Save alocated handles for pdump_file_unmap
10710 2000-03-28 Andy Piper <andy@xemacs.org>
10712 * gui.c (get_gui_callback): treat Quit specially.
10714 2000-03-27 Andy Piper <andy@xemacs.org>
10716 * glyphs.c (image_instantiate): be careful to check in the same
10719 2000-03-27 Didier Verna <didier@xemacs.org>
10721 * config.h.in: define the proper SMART_INCLUDE macro.
10722 handle renaming of `foo_h_path' to `foo_h_file'.
10724 * database.c: ditto.
10728 * linuxplay.c: ditto.
10730 * terminfo.c: ditto.
10732 * tooltalk.h: ditto.
10734 2000-03-27 Andy Piper <andy@xemacs.org>
10736 * glyphs-msw.c (mswindows_update_widget): make sure the widget
10737 gets updated whenever the face might have changed.
10739 2000-03-26 Mike Alexander <mta@arbortext.com>
10741 * dumper.c (pdump_resource_free): Fix the comment.
10743 2000-03-21 Olivier Galibert <galibert@pobox.com>
10745 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
10747 2000-03-22 Mike Alexander <mta@arbortext.com>
10749 * dumper.c: Include Windows headers on Windows
10750 (pdump_resource_free): Add a body to the function
10751 (pdump_load): exe_name -> exe_path and add some comments.
10753 2000-03-25 Mike Alexander <mta@arbortext.com>
10755 * gui.c (copy_gui_item_tree): Return a value in all cases
10757 2000-03-21 Didier Verna <didier@xemacs.org>
10759 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
10761 (SMART_INCLUDE): new macro.
10762 (POSTGRES_INCLUDE): new macro to include postgresql headers from
10763 the proper location.
10765 * postgresql.c: use it.
10769 2000-03-24 Andy Piper <andy@xemacs.org>
10771 * gutter.c (redraw_exposed_gutters): must be "in display" when we
10774 2000-03-24 Andy Piper <andy@xemacs.org>
10776 * redisplay-output.c (compare_runes): use image_instance_changed
10777 to detect changes. Do not depend on glyphs_changed, only depend on
10779 (redisplay_output_layout): add debug messages.
10780 (compare_runes): ditto.
10782 * glyphs.h: declare new functions.
10783 (struct Lisp_Image_Instance): remove percent and associated
10786 * gui.h: declare new copying functions.
10788 * gui.c (copy_gui_item_tree): new function.
10789 (copy_gui_item): new function.
10790 (gui_item_id_hash): revert to standard hash.
10791 (gui_item_hash): ditto.
10792 (gui_item_hash_internal): deleted.
10793 (mark_gui_item): mark value.
10794 (gui_item_add_keyval_pair): add value.
10795 (gui_item_init): ditto.
10796 (gui_add_item_keywords_to_plist): ditto.
10797 (gui_item_equal): ditto.
10798 (syms_of_gui): add Q_value.
10800 * glyphs-x.c (x_progress_gauge_update): use pending items and
10801 value for setting the state.
10802 (x_update_widget): don't set items from pending here.
10804 * glyphs-widget.c (update_widget): update items here.
10805 (progress_gauge_set_property): use items for storing value. Put
10806 new value in pending items.
10808 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
10809 items for new value. Convert percent -> value.
10810 (mswindows_tab_control_update): don't update items here.
10812 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
10813 (update_subwindow): ditto.
10814 (image_instance_changed): new function. Compare hash values and
10815 past and present widget items.
10816 (image_instantiate): We more careful about where we instantiate
10818 (image_instantiate): add error checking.
10820 * gutter.c (syms_of_gutter): use -hook.
10822 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
10824 * console-tty.c (Fset_console_tty_input_coding_system): Use
10826 (Fset_console_tty_output_coding_system): Use Qterminal.
10827 (tty_init_console): Use Qkeyboard and Qterminal.
10829 2000-03-21 Ben Wing <ben@xemacs.org>
10831 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
10832 From Mike Alexander <mta@arbortext.com>.
10834 2000-03-21 Ben Wing <ben@xemacs.org>
10836 * event-msw.c (mswindows_need_event): Horrible kludge to fix
10837 process brokenness. Proper implementation to come.
10839 Rename call-process-internal to old-call-process-internal.
10840 New impl. in process.el.
10842 2000-03-21 Martin Buchholz <martin@xemacs.org>
10844 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
10846 2000-03-20 Andy Piper <andy@xemacs.org>
10848 * glyphs.c (full_list_hash): make hashes of the same elements in
10849 different orders return different values.
10851 2000-03-20 Martin Buchholz <martin@xemacs.org>
10853 * XEmacs 21.2.32 is released.
10855 2000-03-20 Martin Buchholz <martin@xemacs.org>
10857 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
10858 (DFC_MALLOC_USE_CONVERTED_DATA):
10859 Add aliasing-safe casts to allow use with char* or unsigned char*
10862 * eldap.c (Fldap_open):
10863 (Fldap_search_basic):
10866 Make C++-compilable.
10867 Make sure GCPRO'ed variables are initialized.
10868 Use temp variables to avoid repeated calls to Flength.
10870 2000-03-16 Martin Buchholz <martin@xemacs.org>
10873 Make sure PATH_MAX is always defined.
10874 Include limits.h for PATH_MAX.
10875 Deprecate use of MAXPATHLEN.
10877 2000-03-10 Martin Buchholz <martin@xemacs.org>
10879 * emacs.c: Add reinit_vars_of_fileio.
10880 * symsinit.h: Add reinit_vars_of_fileio.
10881 * fileio.c (reinit_vars_of_fileio): New.
10882 * fileio.c (Fmake_temp_name):
10883 Initialize temp_name random number from microseconds to make
10884 collisions even less likely. Initialize always at process startup
10885 time. (make-temp-name) used to return the same file name twice in
10887 Random stylistic fiddling.
10890 2000-03-20 Andy Piper <andy@xemacs.org>
10892 * glyphs.c (image_instantiate): allow text glyphs to be
10893 instantiated in the minibuffer window.
10895 2000-03-19 Andy Piper <andy@xemacs.org>
10897 * glyphs.c (image_instance_hash): be careful about which items we
10900 * glyphs-widget.c (tab_control_set_property): record into pending
10901 items rather than the actual items.
10903 * glyphs-x.c (x_update_widget): use pending items to update with.
10905 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10908 * glyphs.c (mark_image_instance): mark pending items.
10910 * window.c (Fset_window_configuration): record the buffer.
10911 (Fselect_window): totally revert previous change which breaks many
10914 2000-03-18 Andy Piper <andy@xemacs.org>
10916 * glyphs-msw.c (mswindows_tab_control_update): force selected
10919 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10920 window domain cache, otherwise we get inconsistencies at
10921 startup. There is something fishy at startup which can lead to the
10922 minibuffer being the selected window when the gutter content is
10925 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10927 (parse_gui_item_tree_children): ditto.
10928 (parse_gui_item_tree_item): ditto.
10930 * glyphs.c (Fupdate_widget_instances): return something.
10932 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10934 * window.c (Fselect_window): Undo 2000-03-17 change.
10936 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10938 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10939 against v7.0 libraries. Insta-coredump city until the postgres
10942 2000-03-17 Andy Piper <andy@xemacs.org>
10944 * faces.c (complex_vars_of_faces): don't give the widget face an
10945 inherited background pixmap.
10947 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10950 * event-stream.c (Fdispatch_non_command_events): return something.
10952 * gutter.c (output_gutter): use widget face.
10953 (clear_gutter): ditto.
10955 * NEWS: adjust again.
10957 * window.c (Fselect_window): make sure this runs to completion to
10958 avoid oddities with Fset_window_configuration.
10959 (Fcurrent_window_configuration): in general do not save the
10960 minibuffer as the selected window.
10962 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10964 2000-03-16 Olivier Galibert <galibert@pobox.com>
10966 * emacs.c (Frunning_temacs_p): Revert previous patch.
10967 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10969 2000-03-16 Andy Piper <andy@xemacs.org>
10971 * glyphs-x.c (x_tab_control_update): if no widget values then
10974 * NEWS: update for new features.
10976 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10977 synthetic event to the native system.
10978 (reinit_vars_of_event_Xt): set force_event_pending to
10979 emacs_Xt_force_event_pending.
10981 * events.h (struct event_stream): add force_event_pending.
10983 * specifier.c (recompute_one_cached_specifier_in_window): add
10986 * redisplay.c (redisplay_frame): don't call
10987 update_frame_subwindows. Reset subwindow cachels when
10988 subwindows_changed, removing this was an optimization too far.
10990 * redisplay-output.c (compare_runes): reorganize so that we catch
10991 glyph changes when we want them. Set optimize_output when this
10992 would help layouts.
10993 (redisplay_output_layout): remove frame_really_changed, use
10994 optimize_output instead.
10996 * redisplay-msw.c (mswindows_output_display_block): reset
10997 optimize_output after outputting a glyph.
10998 * redisplay-x.c (x_output_display_block): ditto.
10999 * redisplay-tty.c (tty_output_display_block): ditto.
11001 * gutter.c: (specifier_vars_of_gutter): use new spec changed
11003 (gutter_specs_changed): do specific gutter positions.
11004 (top_gutter_specs_changed): new function. Only update the
11005 specified gutter specs.
11006 (bottom_gutter_specs_changed): ditto.
11007 (left_gutter_specs_changed): ditto.
11008 (right_gutter_specs_changed): ditto.
11010 * gui.c (gui_item_hash_internal): new function, does a real hash.
11011 (gui_item_id_hash): use it.
11012 (gui_item_hash): hash the eval'ed gui_item.
11014 * gui-x.c (popup_selection_callback): send an eval event to call
11015 Fupdate_widget_instances.
11017 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
11018 to call Fupdate_widget_instances.
11020 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
11021 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
11023 * glyphs.c: (update_frame_subwindows): deleted.
11024 (Fupdate_widget_instances): new function for updating the dirty
11025 state of widgets that might have changed.
11026 (syms_of_glyphs): add Qupdate_widget_instances.
11027 (full_list_hash): hash a list completely.
11028 (image_instance_hash): use it for items and properties.
11030 * frame-msw.c (mswindows_size_frame_internal): remove unused
11033 * faces.h (struct face_cachel): fix comment.
11035 * event-stream.c (Fdispatch_non_command_events): new
11036 function. Process non-command events, forcing an event cycle
11038 (syms_of_event_stream): declare.
11039 (event_stream_force_event_pending): new function. Force an event
11040 on the native event queue so that an event cycle will occur next
11044 (struct ntpipe_shove_stream):
11045 (mswindows_enqueue_dispatch_event):
11046 (mswindows_dequeue_dispatch_event):
11047 (mswindows_cancel_dispatch_event):
11048 (mswindows_pump_outstanding_events):
11049 (mswindows_drain_windows_queue):
11050 (mswindows_handle_paint):
11051 (mswindows_wnd_proc):
11052 (mswindows_key_to_emacs_keysym):
11053 (get_process_input_waitable):
11054 (emacs_mswindows_delete_stream_pair): re-indent file.
11055 (mswindows_need_event): do not process further fds if the windows
11056 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
11057 fixes the 100% cpu problem.
11058 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
11060 2000-03-15 Olivier Galibert <galibert@pobox.com>
11066 * emacs.c: Moved dump file searching to dumper.c.
11067 (Frunning_temacs_p): Fixed.
11069 * alloc.c: Moved everything pdump-related to dumper.c. Removed
11070 last_lrecord_type_index_assigned.
11072 2000-02-20 Olivier Galibert <galibert@pobox.com>
11074 * symsinit.h: Added reinit parameter to init_console_stream
11077 * lisp.h: Added file parameter to pdump_load declaration.
11079 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
11080 support. Added dump file searching.
11082 * config.h.in: Added EMACS_PROGNAME.
11084 * console-stream.c (init_console_stream): Fix reinitialisation
11085 when running from temacs.
11087 * alloc.c (pdump): Add id support.
11088 (pdump_load): Add file parameter and signature/id support.
11090 * Makefile.in.in: Add full pdump support.
11092 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
11094 * postgresql.c: Update documentation to reflect latest code
11096 (print_result): Show tuple counts in printed representation when
11098 (Fpq_put_nbytes): MULE-ize.
11099 (Fpq_get_line_async): Ditto.
11101 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
11103 * postgresql.c (Fpq_lo_import): Fix return value.
11104 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
11106 2000-03-13 Ben Wing <ben@xemacs.org>
11108 * alloc.c (pdump_load):
11109 Fix compile warning under mswin.
11111 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
11113 * postgresql.c: Mule-ization, bug fixes.
11114 Use PG_CODING to encapsulate coding system name changes.
11115 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
11116 (pg-coding-system): Create.
11118 (Fpq_conn_defaults): Mule-ize.
11119 (Fpq_connectdb): Mule-ize & bug fix.
11120 (Fpq_connect_start): Mule-ize.
11121 (Fpq_set_client_encoding): Mule-ize.
11122 (Fpq_finish): Document `DEAD' connection status.
11123 (Fpq_clear): Ditto.
11124 (Fpq_pgconn): Mule-ize.
11125 (Fpq_exec): Mule-ize & bug fix.
11126 (Fpq_send_query): Ditto.
11127 (Fpq_get_result): Ditto.
11128 (Fpq_res_status): Mule-ize.
11129 (Fpq_result_error_message): Mule-ize.
11130 (Fpq_ntuples): fix comments.
11131 (Fpq_fname): Mule-ize.
11132 (Fpq_fnumber): Mule-ize.
11133 (Fpq_ftype): fix comments.
11134 (Fpq_get_value): Mule-ize.
11135 (Fpq_cmd_status): Ditto.
11136 (Fpq_cmd_tuples): Ditto.
11137 (Fpq_oid_value): Ditto.
11138 (Fpq_notifies): Ditto.
11139 (Fpq_lo_import): Ditto.
11140 (Fpq_lo_export): Ditto.
11141 (Fpq_get_line): Ditto.
11142 (Fpq_put_line): Mule-ize and bug fix.
11143 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
11145 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
11147 * postgresql.c (vars_of_postgresql): Mule-ize.
11148 (Fpq_conn_defaults): Ditto.
11150 2000-03-12 Ben Wing <ben@xemacs.org>
11152 * alloc.c (Fmake_byte_code):
11153 * alloc.c (debug_string_purity_print):
11154 * alloc.c (pdump_backtrace):
11155 * alloc.c (pdump_get_indirect_count):
11156 * alloc.c (pdump_register_sub):
11157 * alloc.c (pdump_register_object):
11158 * alloc.c (pdump_register_struct):
11159 * alloc.c (pdump_dump_data):
11160 * alloc.c (pdump_reloc_one):
11164 * console-msw.c (GetConsoleHwnd):
11165 * console-msw.c (msw_hide_console):
11166 * console-msw.c (msw_show_console):
11167 * console-msw.c (msw_ensure_console_buffered):
11168 * console-msw.c (msw_output_console_string):
11169 * console-msw.c (console_type_create_mswindows):
11171 a) Added functions to manipulate the console window for use with
11174 b) Added support for writing text to the console, which is now
11175 used under Windows when xemacs is not being run non-interactively,
11176 to write text that would otherwise be destined for stdout because
11177 under these circumstances, text written to stdout tends to
11178 disappear and not be seen.
11182 * event-Xt.c (x_event_to_emacs_event):
11183 * event-Xt.c (describe_event_window):
11184 * events-mod.h (XEMACS_MOD_CONTROL):
11186 * events.c (Fmake_event):
11187 * events.c (character_to_event):
11188 * events.c (event_to_character):
11189 * events.c (format_event_object):
11190 * events.c (Fevent_modifiers):
11192 * events.h (struct key_data):
11193 * events.h (struct button_data):
11194 * events.h (struct misc_user_data):
11195 * frame-x.c (Fcde_start_drag_internal):
11196 * frame-x.c (Foffix_start_drag_internal):
11197 * gpmevent.c (Freceive_gpm_event):
11199 * keymap.c (bucky_sym_to_bucky_bit):
11200 * keymap.c (control_meta_superify):
11201 * keymap.c (make_key_description):
11202 * keymap.c (keymap_lookup_directly):
11203 * keymap.c (create_bucky_submap):
11204 * keymap.c (keymap_store):
11205 * keymap.c (define_key_check_and_coerce_keysym):
11206 * keymap.c (define_key_parser):
11207 * keymap.c (define_key_alternate_name):
11208 * keymap.c (Fdefine_key):
11209 * keymap.c (raw_lookup_key_mapper):
11210 * keymap.c (struct map_keymap_unsorted_closure):
11211 * keymap.c (map_keymap_unsorted_mapper):
11212 * keymap.c (map_keymap_sort_predicate):
11213 * keymap.c (map_keymap_sorted):
11214 * keymap.c (accessible_keymaps_mapper_1):
11215 * keymap.c (where_is_recursive_mapper):
11216 * keymap.c (describe_map_mapper):
11217 * keymap.c (describe_map_sort_predicate):
11218 * keymap.c (describe_map):
11219 * keymap.c (complex_vars_of_keymap):
11220 And a number of other files, the key modifier preprocessor
11221 constants that xemacs uses have names that conflict with constants
11222 defined under MS Windows for other purposes, so they were renamed
11223 to begin with the prefix XEMACS_. The variables that hold such
11224 modifiers were changed to consistently be of type int to fix
11225 various compile warnings.
11227 * console.c (complex_vars_of_console):
11230 * device-msw.c (mswindows_finish_init_device):
11231 * device-msw.c (msw_get_workspace_coords):
11232 * device-msw.c (mswindows_device_system_metrics):
11233 and various other files, added support for a new
11234 device property called offset-workspace which returns the position
11235 of the upper left corner of the workspace area and goes along with
11236 the existing size-workspace property.
11239 * dialog-msw.c (push_bufbyte_string_as_unicode):
11240 * dialog-msw.c (mswindows_popup_dialog_box):
11241 Added support for XEmacs-style accelerator specifications in
11242 button text. Note: I didn't add support for this under X Windows,
11243 and somebody needs to do this.
11246 * dialog.c (Fpopup_dialog_box):
11247 Documented the support for accelerators that was just mentioned.
11249 editfns.c (get_home_directory): Changed behavior under Windows
11250 when HOME not defined; former behavior was irretrievably broken.
11253 * emacs.c (main_1):
11255 * minibuf.c (clear_echo_area_internal):
11256 * minibuf.c (echo_area_append):
11258 * print.c (std_handle_out_external):
11259 * print.c (std_handle_out_va):
11261 * print.c (write_string_to_stdio_stream):
11262 * print.c (output_string):
11263 * print.c (debug_print):
11264 * print.c (debug_backtrace):
11265 * print.c (debug_short_backtrace):
11266 Cleaned up the code that prints text to stdout so that this can be
11267 changed to output into a console window instead under MS Windows,
11268 as described above.
11271 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
11272 * eval.c (internal_catch):
11273 * eval.c (unwind_to_catch):
11274 * eval.c (throw_or_bomb_out):
11275 * eval.c (condition_case_1):
11276 * eval.c (signal_1):
11277 * eval.c (check_error_state_sanity):
11278 * eval.c (call_with_suspended_errors_1):
11279 * eval.c (call_with_suspended_errors):
11280 * eval.c (reinit_vars_of_eval):
11281 Added code to catch throw loops and check for a pesky bug that may
11285 * event-msw.c (key_needs_default_processing_p):
11286 * event-msw.c (mswindows_wnd_proc):
11287 * event-msw.c (mswindows_modifier_state):
11288 * event-msw.c (emacs_mswindows_quit_p):
11289 * event-msw.c (vars_of_event_mswindows):
11290 a) Added support for using the alt key to select menu items as is
11291 standard under MS Windows. This is controlled using the variable
11292 menu-accelerator-enabled, just like under X Windows. There is an
11293 option on the options menu to turn this support on. I really
11294 think that it should be on by default under Windows, but I'm not
11295 going to make this change yet.
11297 b) Added support for dynamic display size changes under Windows.
11300 * event-stream.c (maybe_echo_keys):
11301 * event-stream.c (Fnext_event):
11302 * event-stream.c (command_builder_find_leaf):
11303 * event-stream.c (lookup_command_event):
11304 * event-stream.c (execute_command_event):
11305 * event-stream.c (pre_command_hook):
11306 * event-stream.c (post_command_hook):
11307 * event-stream.c (syms_of_event_stream):
11308 * event-stream.c (vars_of_event_stream):
11309 * event-stream.c (complex_vars_of_event_stream):
11310 * events.h (struct command_builder):
11312 a) Tried to clean up a little bit the horribly written x-specific
11313 accelerator code that crept into this file. I moved this code
11314 into menubar-x.c where it belongs. I also needed to move the
11315 command builder structure into the file events.h because it is
11316 accessed directly by this accelerator code. What I didn't do, but
11317 which should be done at some point, is to properly abstract this
11318 code using device methods instead of the kludgy way that it
11319 currently hooks into the event code.
11321 b) Added the lisp variables this-command-properties and
11322 last-command- properties, which should be used to synchronize two
11323 adjacent commands in preference to playing games with the variable
11324 this-command, which is typically what happens.
11326 c) Added some slightly nasty code to hook into the lisp support
11327 for shifted- motion-key selection. This is actually necessary for
11328 somewhat complicated reasons, which are described in
11329 simple.el. (NB: I think the proper thing would be to have the code
11330 that calls the pre and post command hooks also call out to generic
11331 lisp functions in simple.el, where all built-in stuff could be
11332 added. I will think about this more.)
11334 * event-unixoid.c (poll_fds_for_input):
11335 * lread.c (readchar):
11336 * redisplay-tty.c (tty_clear_frame):
11337 * redisplay-x.c (x_get_gc):
11338 * signal.c (interrupt_signal):
11339 And a whole bunch of other files: fixed up places that printed
11340 directly to stderr to instead call the function stderr_out so that
11341 the changes I made under Windows work correctly.
11343 * filemode.c (mode_string):
11347 * frame-msw.c (mswindows_size_frame_internal):
11348 Fixed the computation of frame size and position to keep the frame
11349 within the workspace area, rather than within the physical
11350 dimensions of the screen, so that the frame doesn't overlap window
11351 manager decorations, such as the start menu and toolbar, typically
11352 at the bottom of the screen.
11354 * frame.c (vars_of_frame):
11355 Changed the default frame title format under MS Windows to consist
11356 of buffername-XEmacs, which is standard under MS Windows. I think
11357 it might be a good idea to change this everywhere because I think
11358 it is superior to the current frame title format, but this is the
11359 kind of change that is likely to cause some people to get annoyed,
11360 so I'm not making it.
11362 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
11364 * gui-msw.c (mswindows_handle_gui_wm_command):
11365 Fixed compile warnings.
11368 * gui-x.c (strdup_and_add_accel):
11369 * gui-x.c (button_item_to_widget_value):
11371 Added code to automatically put an accelerator onto the beginning
11372 of menu items that don't have one as is now the standard, and is
11373 described more later. Also fixed things so that the menu item
11374 name can be an evaluated expression, again a new standard.
11377 * gui.c (gui_item_add_keyval_pair):
11378 * gui.c (make_gui_item_from_keywords_internal):
11379 * gui.c (gui_add_item_keywords_to_plist):
11380 * gui.c (gui_item_accelerator):
11381 * gui.c (gui_name_accelerator):
11382 * gui.c (gui_item_included_p):
11383 * gui.c (gui_item_display_flush_left):
11384 * gui.c (gui_item_display_flush_right):
11385 * gui.c (parse_gui_item_tree_item):
11386 * gui.c (parse_gui_item_tree_children):
11387 * gui.c (parse_gui_item_tree_list):
11388 Mule-ized. Cleanup. GCPRO addition.
11390 * line-number.c (buffer_line_number):
11392 * lisp.h (EMACS_INT_MAX):
11393 Added the manifest constant EMACS_INT_MIN corresponding to the
11394 existing constant EMACS_INT_MAX. This is partially to fix compile
11395 warnings under Windows, and partly for cleanliness.
11398 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
11399 * menubar-msw.c (msw_translate_menu_or_dialog_item):
11400 * menubar-msw.c (displayable_menu_item):
11401 * menubar-msw.c (populate_menu_add_item):
11402 * menubar-msw.c (populate_or_checksum_helper):
11403 * menubar-msw.c (populate_menu):
11404 * menubar-msw.c (update_frame_menubar_maybe):
11405 * menubar-msw.c (prune_menubar):
11406 * menubar-msw.c (msw_char_is_accelerator):
11407 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
11408 * menubar-msw.c (mswindows_handle_wm_command):
11409 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
11410 * menubar-msw.c (mswindows_handle_wm_initmenu):
11411 * menubar-msw.c (mswindows_update_frame_menubars):
11412 * menubar-msw.c (mswindows_free_frame_menubars):
11413 * menubar-msw.c (mswindows_popup_menu):
11414 Fixed a bug in handling accelerators where an extra character
11415 would be displayed in the menu item. Also generalized the
11416 function displayable_menu_item because it is now used by the
11417 dialog box code as well. And finally, added code in the functions
11418 that create the menubar to extract a list of accelerators for the
11419 top level menubar, which is used in the event code to determine
11420 whether a particular alt-key combination should be used to invoke
11421 a menu item, or should be passed through to access the standard
11422 XEmacs keymap binding for this key combination.
11424 Much needed GCPROing.
11427 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11428 * menubar-x.c (menu_item_descriptor_to_widget_value):
11429 * menubar-x.c (restore_in_menu_callback):
11430 * menubar-x.c (x_popup_menu):
11431 * menubar-x.c (menu_move_up):
11432 * menubar-x.c (menu_move_down):
11433 * menubar-x.c (menu_move_left):
11434 * menubar-x.c (menu_move_right):
11435 * menubar-x.c (menu_select_item):
11436 * menubar-x.c (command_builder_operate_menu_accelerator):
11437 * menubar-x.c (menu_accelerator_junk_on_error):
11438 * menubar-x.c (command_builder_find_menu_accelerator):
11439 * menubar-x.c (Faccelerate_menu):
11441 Moved a whole bunch of code here that was previously in
11442 event-stream.c as described above. There is also code connected
11443 to the new standard of adding an accelerator to the beginning of
11444 menu items that don't have one as described above and below.
11447 * menubar.c (menu_parse_submenu_keywords):
11448 * menubar.c (Fmenu_find_real_submenu):
11449 * menubar.c (Fnormalize_menu_item_name):
11450 * menubar.c (syms_of_menubar):
11451 * menubar.c (vars_of_menubar):
11452 * menubar.c (complex_vars_of_menubar):
11454 a) Cleaned up a bunch of documentation and improved it.
11456 b) XEmacs now automatically adds an accelerator onto the beginning
11457 of any menu items that don't have one. I did this because there
11458 will inevitably be some menu items on the main menubar that don't
11459 have accelerators on them because the package that adds that
11460 particular menu item hasn't yet been fixed up to have accelerators
11461 in them and it looked rather strange to have some items with and
11462 some items without accelerators, especially since even in items
11463 without accelerators, you can, at least under windows, still
11464 access the item through an accelerator corresponding to the first
11465 character in the item's name. If people don't like this behavior,
11466 I can add a variable to turn it off optionally, but I'm not sure
11467 this is a good idea because we really do need to have accelerators
11468 on all of the menu items, and if a package doesn't like the
11469 accelerators being put on the first character, then it should put
11470 the accelerators where they belong.
11472 c) I made a behavior change, which is that the descriptor that
11473 specifies the text of the menu item, which formerly was just a
11474 string, can now also be an evaluated expression. This makes this
11475 descriptor parallel with all of the others, which could also be
11476 evaluated expressions. This also obviates the need for the
11477 keyword :label, which was previously listed in the documentation
11478 as unimplemented, and which was for the same purpose.
11483 * ntproc.c (new_child):
11484 * ntproc.c (sys_spawnve):
11485 * ntproc.c (find_child_console):
11486 * ntproc.c (sys_kill):
11487 Fixed compile warnings. By the way, this file should really go
11488 away entirely, and this will happen as soon as Kirill makes his
11489 final round of process cleanups, which affect the function
11493 * process-nt.c (struct nt_process_data):
11494 * process-nt.c (find_process_from_pid):
11495 * process-nt.c (send_signal_the_nt_way):
11496 * process-nt.c (enable_child_signals):
11497 * process-nt.c (find_child_console):
11498 * process-nt.c (send_signal_the_95_way):
11499 * process-nt.c (nt_finalize_process_data):
11500 * process-nt.c (ensure_console_window_exists):
11501 * process-nt.c (nt_create_process):
11502 * process-nt.c (nt_kill_child_process):
11503 * process-nt.c (nt_kill_process_by_pid):
11504 * process-nt.c (nt_open_network_stream):
11505 * process-nt.c (vars_of_process_nt):
11506 Copied over code from Emacs 20.5 to correctly send signals to sub-
11507 processes under Windows 95. Also added code to automatically
11508 create and hide console window when a sub-process is created under
11509 Windows 95, which obviates the need for the separate runemacs.exe
11510 executable, and finally implemented some variables that were
11511 implemented in Emacs 20.5, but previously not in XEmacs. These
11512 include mswindows- start-process-share-console and
11513 mswindows-start-process-inherit-error-mode. (Both of these only
11514 apply to Windows 95.)
11516 * regex.c (regex_compile): Fixed a compile warning.
11519 * select-msw.c (mswindows_own_selection):
11520 * select-msw.c (mswindows_get_foreign_selection):
11521 * select-msw.c (mswindows_disown_selection):
11522 * select-msw.c (console_type_create_select_mswindows):
11523 * select-msw.c (syms_of_select_mswindows):
11524 Cleaned up the file and implemented the device method
11525 selection_exists_p, which had accidentally been left out. Also
11526 removed four lisp functions that were remnants from before the
11527 time when the selection code was properly device abstracted.
11528 These functions are no longer needed because there are generic
11529 equivalents, and because they were added recently and don't exist
11530 in FSF Emacs, I don't think there's any problem with just deleting
11534 * sysdep.c (sys_subshell):
11535 Fixed a compile warning, although in this case there's probably
11536 something wrong with this code, and it ought to be looked into
11537 more thoroughly by somebody who understands it.
11540 * window.c (Fwindow_text_area_height):
11541 * window.c (Fwindow_width):
11542 * window.c (Fwindow_full_width):
11543 * window.c (Fwindow_pixel_width):
11544 * window.c (debug_print_window):
11545 * window.c (syms_of_window):
11546 Added functions window-text-area-height and window-full-width,
11547 which are functions for returning various width and height
11548 characteristics of a window. (One of these functions is necessary
11549 for making the file dialog box work correctly, and the other one
11550 was added for completeness.) Also added a table to the
11551 documentation for window-height which describes the entire scheme
11552 for accessing width and height characteristics of a window.
11554 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11556 * nt.c (fstat): Added a comment for another problem with
11557 non-encapsulated [f]stat(), reported by Adrian Aichner
11558 <aichner@ecf.teradyne.com>.
11560 2000-03-11 Andy Piper <andy@xemacs.org>
11562 * window.c (make_dummy_parent): initialize subwindow instance
11564 (Fset_window_configuration): zero extent_modiff.
11566 2000-03-10 Andy Piper <andy@xemacs.org>
11568 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
11569 more changes can be triggered.
11570 (Fredisplay_frame): ditto.
11571 (Fredraw_device): ditto.
11572 (Fredisplay_device): ditto.
11573 (redisplay_frame): make non-static.
11574 (redisplay_frame): call update_frame_gutter_geometry outside of
11577 * gutter.h: declare update_frame_gutter_geometry.
11579 * redisplay.h: declare redisplay_frame.
11581 * gutter.c (update_frame_gutter_geometry): move geometry changes
11582 in update_frame_gutters here. Geometry changes can only occur
11583 outside of redisplay.
11584 (update_frame_gutters): remove geometry change code.
11585 (Fredisplay_gutter_area): make sure that we are in display when we
11586 update and that we have flushed any size changes.
11588 2000-03-11 Andy Piper <andy@xemacs.org>
11590 * alloc.c (pdump_dump_data): remove i & count shadows.
11592 2000-02-27 Mike Alexander <mta@arbortext.com>
11594 * sysdep.h: Declare pdump_read_file
11596 * sysdep.c (pdump_read_file): New function
11598 * alloc.c (pdump_load): Call pdump_read_file to get the portable
11601 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
11603 * lrecord.h: add `lrecord_type_pgsetenv'.
11605 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
11607 * symsinit.h: declare (vars|syms)_of* functions.
11608 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
11610 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
11612 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
11614 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
11617 * emacs.c (main_1): Call postgres initialization code.
11619 * postgresql.h: New file. PostgreSQL RDBMS support.
11620 * postgresql.c: New file.
11622 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11624 * redisplay-output.c (redisplay_output_display_block): Disable
11627 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11629 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
11630 (Fcanna_henkan_next): Ditto.
11631 (Fcanna_bunsetu_henkou): Ditto.
11632 (Fcanna_henkan_kakutei): Ditto.
11633 (Fcanna_henkan_end): Ditto.
11634 (Fcanna_henkan_quit): Ditto.
11635 (Fcanna_henkan_next): Set retun value correctly.
11636 (c2mu): Use unsigned char instead of signed char.
11638 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11640 * emacs.c (main_1): Always call syms_of_gui.
11641 * inline.c: include gui.h
11643 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11645 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
11646 converted to Lisp_Object.
11647 (Qtop_bottom): New variable.
11648 (syms_of_redisplay): Initialize it.
11649 * redisplay.h (Vvisible_bell): Ditto.
11650 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
11651 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
11652 only flash top and bottom.
11654 2000-03-08 Andy Piper <andy@xemacs.org>
11656 * buffer.c (Frename_buffer): record new buffer name the right way.
11658 2000-03-08 Andy Piper <andy@xemacs.org>
11660 * glyphs.c (update_subwindow): increase hash depth so that widget
11661 items get picked up properly.
11663 * redisplay-output.c (compare_runes): increase hash depth so that
11664 widget items get picked up properly.
11666 2000-03-08 Andy Piper <andy@xemacs.org>
11668 * gutter.c (output_gutter): add some debug.
11670 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
11671 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
11672 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
11674 * redisplay-output.c (compare_runes): use display_hash to
11675 determine if glyphs really are not the same.
11677 * glyphs.c (update_subwindow): check display_hash to see if
11678 anything really needs to be updated. If not then do
11679 nothing. Record the display_hash after updating.
11680 (image_instance_equal): compare the image_instance face also.
11682 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
11684 * redisplay.h: Fix comment style.
11686 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
11688 * consle-msw.h (struct mswindows_frame):
11689 Added new member paint_pending to indicate whether a WM_PAINT
11690 magic event has been queued for this frame.
11692 * event-msw.c (mswindows_drain_windows_queue):
11693 Don't queue a WM_PAINT magic event if one is already queued.
11694 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
11696 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
11698 2000-03-07 Didier Verna <didier@xemacs.org>
11700 * dired.c: #include `regex.h' after `sysfile.h'.
11702 2000-03-06 Martin Buchholz <martin@xemacs.org>
11704 * sound.c (init_nas_sound): Fix compiler warning.
11706 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
11708 (MARK_STRUCT_AS_FREE):
11709 (MARK_STRUCT_AS_NOT_FREE):
11710 Make `gcc -fstrict-aliasing' work properly.
11712 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
11714 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
11715 (mswindows_delete_device): Call CoUnnitialize().
11717 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
11719 2000-02-25 <CraigL@DyCon.com>
11721 * process-nt.c: MinGW now has <shellapi.h>, but still needs
11724 * sysdep.c: This extern declaration for environ prevents MinGW
11725 from finding the variable in CRTDLL.DLL.
11727 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
11729 (SHGFI_EXETYPE): ..
11730 (WM_MOUSEWHEEL): ..
11731 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
11733 (MMRESULT): Removed, now defined in cygwin's windows headers.
11735 (uid_t,gid_t,pid_t,ssize_t): ..
11736 (_timeb): Removed, MinGW defines both _timeb and timeb.
11737 (HAVE_H_ERRNO): Added.
11738 (HAVE_TZNAME): Added, configure is not detecting this.
11740 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
11742 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
11743 * syntax.c (syntax_match): Use it.
11745 * cmds.c: Import auto-fill-chars from FSF Emacs.
11746 (Vauto_fill_chars): New variables.
11747 (internal_self_insert): Check Vauto_fill_chars.
11749 Declare auto-fill-chars as a Lisp variable and initialize it.
11751 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11753 * fileio.c (Fmake_symbolic_link):
11755 Run handlers even if local machine doesn't have symlinks.
11757 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11759 * event-msw.c (mswindows_drain_windows_queue):
11760 Don't generate paint magic events for non-XEmacs frames.
11762 2000-03-05 Andy Piper <andy@xemacs.org>
11764 * redisplay.c (redisplay_frame): generate_displayable_area and
11765 friends assumes that we are not in GC, we therefore have to make
11766 sure that this doesn't happen.
11768 * gutter.c (calculate_gutter_size): generate_displayable_area
11769 assumes that we are not in GC, we therefore have to make sure that
11770 this doesn't happen.
11772 2000-03-05 Martin Buchholz <martin@xemacs.org>
11774 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
11776 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
11778 * redisplay.c (regenerate_window): Make sure we set a sane value
11779 for end_pos even if we jump out of the loop.
11780 (regenerate_window): Answer Ben's question :-).
11781 (start_end_of_last_line): Add may_error argument.
11782 (start_of_last_line):
11783 (end_of_last_line): Pass may_error = 0.
11784 (end_of_last_line_may_error): New function.
11785 (pixel_to_glyph_translation): Use it, so we don't crash in
11788 2000-03-04 Andy Piper <andy@xemacs.org>
11790 * window.h (struct window): add gutter_extent_modiff.
11792 * window.c (allocate_window): zero out gutter_extent_modiff.
11794 * redisplay.h: declare sync_display_line_structs.
11796 * redisplay.c (add_glyph_rune): add a better comment.
11798 * redisplay-output.c (sync_display_line_structs): made non-static.
11799 (compare_runes): remove unneccesary glyph cachel access.
11801 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
11803 * gutter.c (output_gutter): don't output the gutter if extent
11804 changes only involve extents in buffers. use 4 sets of display
11806 (gutter_extent_signal_changed_region_maybe): new function. Mark
11807 extents in gutters as changed.
11808 (update_frame_gutters): use 4 sets of display lines.
11809 (reset_gutter_display_lines): ditto.
11810 (free_frame_gutters): ditto.
11811 (redraw_exposed_gutter): force output of gutters.
11813 * frame.h (struct frame): add 4 sets of gutter display lines.
11815 * extents.c: (extent_changed_for_redisplay): signal changes to
11816 extents in strings in the gutter as well as extents in buffers.
11818 2000-03-02 Andy Piper <andy@xemacs.org>
11820 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
11822 * frame.c (Fmake_frame): make sure the gutters get initialized
11823 after the frame is visible.
11824 (set_frame_selected_window): re-arrange compilation macros a
11826 (change_frame_size_1): mark gutters changed.
11828 * device.c (Fset_device_class): mark gutters changed.
11830 2000-03-01 Andy Piper <andy@xemacs.org>
11832 * window.c (window_top_frame_gutter_height): deleted.
11833 (window_bottom_frame_gutter_height): ditto.
11834 (window_left_frame_gutter_height): ditto.
11835 (window_right_frame_gutter_height): ditto.
11836 (window_top_gutter_height): don't use them.
11837 (window_bottom_gutter_height): ditto.
11838 (window_left_gutter_width): ditto.
11839 (window_right_gutter_width): ditto.
11840 (Fsplit_window): ditto.
11841 (Fwindow_pixel_edges): don't use border dimensions here.
11843 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
11844 (update_scrollbar_instance): ditto.
11846 * redisplay.c (generate_modeline): don't take gutters into account.
11847 (generate_modeline): ditto.
11848 (redisplay_frame): small gutter display optimization.
11850 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
11852 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
11853 gutters into account.
11855 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
11856 for window position and type.
11858 * gutter.c (get_gutter_coords): fix for frame gutters.
11859 (update_frame_gutters): update frame geometry if the gutters have
11861 (init_frame_gutters): record current gutter geometries.
11863 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
11865 (mswindows_widget_instantiate): ditto.
11867 * frame.h (struct frame): add current_gutter_bounds.
11869 * frame.c (change_frame_size_1): position window and minibuffer
11870 appropriately taking into account the frame gutters.
11872 * frame-x.c: (x_initialize_frame_size): take into account the
11875 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11877 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11879 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11881 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11883 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11885 * file-coding.c (reset_decoding_stream): Clear previous
11886 detection state when autodetect.
11888 2000-02-29 Didier Verna <didier@xemacs.org>
11890 * extents.c (set_extent_glyph_1): don't require extents to be
11893 2000-02-27 Andy Piper <andy@xemacs.org>
11895 * gutter.c (Fset_default_gutter_position): don't default left and
11896 right gutter visibility to t.
11897 (Fset_default_gutter_position): run
11898 default-gutter-position-changed-hook.
11899 (syms_of_gutter): add default-gutter-position-changed-hook.
11901 2000-02-26 Andy Piper <andy@xemacs.org>
11903 * specifier.c (Fmake_specifier): add gutter references.
11905 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11907 * lisp.h: declare Fvalid_plist_p.
11909 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11911 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11912 well as its visibility so that it gets reconstructed.
11913 (construct_window_gutter_spec): new function. Construct a string
11914 to be displayed in the gutter from a plist of strings. Take care
11915 to only use elements that are declared as visible.
11916 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11918 (gutter_validate): allow plists of strings in the specifier.
11919 (gutter_specs_changed): construct the real_gutter from the gutter
11920 specs using construct_window_gutter_spec.
11921 (gutter_visible_validate): gutter-visible is a new specifier type.
11922 (Fgutter_visible_specifier_p): new function for the new specifier.
11923 (syms_of_gutter): declare gutter-visible and
11924 Fgutter_visible_specifier_p.
11925 (specifier_type_create_gutter): intitalize new gutter-visible
11927 (reinit_specifier_type_create_gutter): ditto.
11928 (specifier_vars_of_gutter): use new specifier type for gutter
11930 (init_frame_gutters): construct real_gutter correctly.
11931 (Fgutter_specifier_p): beef up documentation.
11932 (Fgutter_size_specifier_p): ditto.
11934 * winslots.h: add real_gutter slots.
11936 2000-02-25 Andy Piper <andy@xemacs.org>
11938 * device-msw.c: Be kind to older cygwin versions. From Raymond
11939 Toy <toy@rtp.ericsson.se>.
11941 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11942 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11944 2000-02-25 Martin Buchholz <martin@xemacs.org>
11946 * elhash.c (MARK_OBJ): Practice macro hygiene.
11948 2000-02-24 Martin Buchholz <martin@xemacs.org>
11950 * miscplay.c: s/__inline__/inline/g;
11951 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11952 (get_device_compdc): INLINE ==> static inline
11953 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11954 find -name '*.h' | \
11955 xargs global-replace \
11956 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11958 2000-02-25 Andy Piper <andy@xemacs.org>
11960 * window.c (window_top_frame_gutter_height): new function.
11961 (window_top_window_gutter_height): ditto.
11962 (window_top_gutter_height): use them.
11963 (window_bottom_frame_gutter_height): new function.
11964 (window_bottom_window_gutter_height): ditto.
11965 (window_bottom_gutter_height): use them.
11966 (window_left_window_gutter_width): new function.
11967 (window_left_frame_gutter_width): ditto.
11968 (window_left_gutter_width): use them.
11969 (window_right_window_gutter_width): new function.
11970 (window_right_frame_gutter_width): ditto.
11971 (window_right_gutter_width): use them.
11972 (window_pixel_height): new function. calulate window pixel height
11973 with frame gutter involvement.
11974 (Fsplit_window): calculate new sizes taking frame gutters into
11976 (window_char_height_to_pixel_height): don't include frame gutters.
11977 (window_char_height): use window_pixel_height.
11978 (window_pixheight): rename from window_pixel_height.
11979 (change_window_height): use it.
11980 (window_pixel_height_to_char_height): don't include frame gutters.
11981 (window_char_width_to_pixel_width): ditto.
11983 2000-02-25 Andy Piper <andy@xemacs.org>
11985 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11988 2000-02-24 Martin Buchholz <martin@xemacs.org>
11990 * alloc.c (staticpro):
11991 (staticpro_nodump):
11996 (compact_string_chars):
11997 (pdump_dump_wired):
11998 Convert: if (foo) abort(); ==> assert (! foo);
12000 * eldap.c (Fldap_search_basic):
12004 Fix compiler warnings, and possible crashes if (random) return
12005 value were to be used.
12007 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12009 * device-msw.c: Workaround ResetDC failure.
12011 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
12012 applying a devmode.
12014 * redisplay-msw.c (get_frame_dc): Added start_page_p.
12015 (mswindows_text_width): Do not start printer page.
12017 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
12019 * glyphs-msw.c: Added image methods to msprinter console and
12020 msprinter-specific image instantiation.
12022 2000-02-20 Mike Alexander <mta@arbortext.com>
12024 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
12025 to avoid crashes when selection-sets-clipboard is on
12026 (mswindows_own_selection): ditto
12028 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12031 * redisplay-msw.c (get_frame_dc):
12032 (get_frame_compdc):
12034 * device-msw.c (mswindows_init_device):
12035 (mswindows_delete_device):
12036 (msprinter_init_device):
12037 (msprinter_delete_device):
12038 * frame-msw.c (mswindows_init_frame_1):
12039 (mswindows_delete_frame):
12040 (msprinter_init_frame_3):
12041 (msprinter_delete_frame): Move compatible DC to device object from
12042 frame object, for both mswindows and msprinter. Only one at a time
12043 is needed, it is a real waste to have one per frame!
12045 2000-02-23 Andy Piper <andy@xemacs.org>
12047 * glyphs.c: add dynamic width and height elements.
12048 (image_instance_equal): ditto.
12050 * glyphs-widget.c (widget_query_geometry): calculate width and
12051 height dynamically if required.
12052 (initialize_widget_image_instance): initialize dynamic dimensions.
12053 (widget_instantiate): pick-up dynamic dimensions.
12055 * glyphs.h (struct Lisp_Image_Instance): add width and height for
12056 dynamic determination. Add appropriate macros.
12058 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
12060 (WINDOW_GUTTER_SIZE): ditto.
12061 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
12063 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
12065 (get_frame_dc): ditto.
12067 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
12070 2000-02-23 Martin Buchholz <martin@xemacs.org>
12072 * XEmacs 21.2.31 is released.
12074 2000-02-22 Ben Wing <ben@xemacs.org>
12076 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
12078 2000-02-22 Andy Piper <andy@xemacs.org>
12080 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
12082 2000-02-21 Mike Sperber <mike@xemacs.org>
12086 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
12089 2000-02-21 Mike Sperber <mike@xemacs.org>
12091 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
12093 2000-02-21 Martin Buchholz <martin@xemacs.org>
12095 * XEmacs 21.2.30 is released.
12097 2000-02-20 Martin Buchholz <martin@xemacs.org>
12099 Performance hacking.
12101 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
12102 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
12103 * emacs.c (main_1):
12105 * console.c (DEFVAR_CONSOLE_LOCAL_1):
12106 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
12107 * symeval.h (DEFVAR_SYMVAL_FWD):
12108 * symbols.c (guts_of_unbound_marker):
12109 Make all c_readonly objects also lisp_readonly and marked for life.
12110 * lrecord.h (struct lrecord_implementation):
12111 Document flags better.
12112 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
12113 * lrecord.h (DECLARE_LRECORD):
12114 * lrecord.h (XSETRECORD):
12115 * lrecord.h (RECORDP):
12116 * lrecord.h (RECORD_TYPEP):
12117 * lrecord.h (RECORD_MARKER): New.
12118 * lrecord.h (error_check_*):
12119 * lrecord.h (CONCHECK_NONRECORD):
12120 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
12121 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
12122 * lrecord.h (set_lheader_implementation):
12123 * lrecord.h (enum lrecord_type): New.
12124 * symeval.h (SYMBOL_VALUE_MAGIC_P):
12125 * alloc.c (disksave_object_finalization_1):
12126 * alloc.c (mark_object):
12127 * alloc.c (lrecord_type_index):
12128 * alloc.c (tick_lcrecord_stats):
12129 * alloc.c (Fgarbage_collect):
12130 * alloc.c (init_alloc_once_early):
12131 * alloc.c (pdump_load):
12132 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
12133 * alloc.c (lrecord_type_index): Delete.
12134 Make lisp object type indexes be constant.
12135 Makes (byte-compile) 5% faster.
12136 Put all marker functions into their own array.
12137 Makes (garbage-collect) 5% faster.
12138 Optimize SYMBOL_VALUE_MAGIC_P.
12139 Makes (byte-compile) 2-3% faster.
12140 * config.h.in (gc_checking_assert): New.
12141 * alloc.c: Use gc_checking_assert().
12142 * .dbxrc: Make compatible with new object type implementation.
12143 * .gdbinit: Make compatible with new object type implementation.
12144 * alloc.c: Delete all symbols defined only for debugging, such as
12145 Lisp_Type_Vector and lrecord_charset.
12147 2000-02-21 Andy Piper <andy@xemacs.org>
12149 * gui-msw.c (Fmswindows_shell_execute): fix file location
12152 * buffer.c (Fkill_buffer): remove buffer from alist buffer
12153 unshowing so that set_window_buffer doesn't undo
12154 kill_buffer_hook's hard work.
12156 * glyphs-widget.c (tab_control_query_geometry): don't count the
12157 first item when calculating geometry.
12159 * glyphs.c (map_subwindow): remove redundant code.
12160 (update_frame_subwindows): be more circumspect about when to
12163 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
12164 when items haven't changed. Update faces if faces have changed as
12165 well as just the widget face.
12166 (x_tab_control_update): Update faces if faces have changed as well
12167 as just the widget face.
12169 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
12171 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
12173 (build_syscolor_string): Use mswindows_color_to_string to try to
12175 (mswindows_device_system_metrics): Reverse the foreground and
12176 background colors so that they match the documentation.
12178 * objects-msw.c: (mswindows_X_color_map): tweak some values so
12179 they match the default Windows palette.
12180 (mswindows_color_to_string): New function.
12182 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
12184 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
12186 2000-02-18 Olivier Galibert <galibert@pobox.com>
12188 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
12189 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
12191 * symbols.c (init_symbols_once_early): Removed obsolete
12192 DATA_SEG_BITS related kludge.
12193 (defvar_magic): Ditto.
12195 * malloc.c: Removed obsolete DATA_SEG_BITS
12197 * mem-limits.h: Ditto.
12199 * Makefile.in.in: Removed obsolete HAVE_SHM
12202 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
12204 * device-msw.c (mswindows_delete_device): Free DDE string
12207 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12209 * keymap.c (get_keyelt):
12210 * unexnt.c (unexec):
12211 * vm-limit.c (memory_warnings):
12212 * ntheap.c (recreate_heap):
12213 * ntheap.h (UNINIT_PTR):
12214 * select-msw.c (Fmswindows_get_clipboard):
12215 (Fmswindows_set_clipboard):
12216 * objects-msw.h (MSWINDOWS_BAD_HFONT):
12218 * menubar-msw.c (displayable_menu_item):
12220 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
12221 * sysdep.c (sys_subshell):
12222 * process-nt.c (nt_create_process):
12223 * nt.c (normalize_filename):
12224 (dostounix_filename):
12225 (unixtodos_filename):
12226 * ntproc.c (win32_executable_type):
12227 * ntplay.c (play_sound_data_1):
12229 * editfns.c (get_home_directory):
12230 * event-msw.c (struct winsock_stream):
12231 (mswindows_dde_callback):
12232 * device-msw.c (msprinter_init_device):
12233 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
12235 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
12236 mswindows_clear_toolbar were swapped!
12238 * objects-msw.c:(colormap_t):
12240 * emacs.c (struct standard_args): Fixed const jumble.
12242 * glyphs-widget.c (update_widget): Fixed comparison notation.
12244 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
12246 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
12247 __declspec(noreturn) syntax.
12249 2000-02-19 Martin Buchholz <martin@xemacs.org>
12251 * eldap.c (Fldap_open):
12252 (Fldap_search_basic):
12255 Use new coding system conversion macros.
12257 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12259 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
12261 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
12263 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
12264 (Fldap_add, Fldap_modify, Fldap_delete): New functions
12266 * eldap.c (Qadd, Qreplace): New constant symbols
12267 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
12268 interruptions by XEmacs signals
12269 Remove unnecessary calls to slow_down_interrupts and
12270 speed_up_interrupts
12271 (Fldap_search_basic): Renamed from Fldap_search_internal
12272 Added new optional parameter VERBOSE that triggers the
12273 display of progress messages
12274 Remove unnecessary calls to slow_down_interrupts and
12275 speed_up_interrupts
12276 LDAP result code analysis rewritten
12277 (Fldap_add, Fldap_modify, Fldap_delete): New functions
12278 (syms_of_eldap): Define the new symbols and functions
12281 2000-02-17 Martin Buchholz <martin@xemacs.org>
12283 * realpath.c: Determine PATH_MAX maximally portably.
12285 * insdel.c (bytecount_to_charcount): Optimize.
12286 The function used to be optimized for entirely ASCII sequences.
12287 Now it is optimized for successive characters from the same
12288 charset. This also wins big for _mostly_ ASCII sequences.
12290 * fileio.c (Ffile_truename): convert return from realpath() using
12291 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
12292 - Rewrite GCPROing slightly.
12294 * sysdep.c (sys_open): Do filename conversion, like all other
12295 sys_* functions. Fixes bug:
12296 (let ((file-name-coding-system 'iso-8859-2))
12297 (write-region x y latin2-name))
12298 ==> writes filename using internal encoding.
12300 2000-02-18 Martin Buchholz <martin@xemacs.org>
12302 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
12303 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
12304 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
12305 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
12306 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
12307 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
12308 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
12309 (CONST_IF_NOT_DEBUG): Delete.
12310 * alloc.c (this_one_is_unmarkable): Delete.
12311 (mark_object): Don't check for this_one_is_unmarkable. Use the
12312 c_readonly flag instead.
12313 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
12315 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
12317 * event-msw.c (mswindows_drain_windows_queue):
12318 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
12319 away redundant repaint events.
12321 2000-02-17 Andy Piper <andy@xemacs.org>
12323 * redisplay.h: declare mark_redisplay_structs.
12325 * redisplay.c (redisplay_window):
12326 (redisplay_frame): don't check subwindows_state_changed.
12327 (mark_redisplay): mark gutters here.
12329 * glyphs.c: (instantiate_image_instantiator): always layout if we
12330 haven't done so already.
12331 (allocate_image_instance): don't mark as dirty.
12332 (update_subwindow): bind inhibit_quit.
12334 * gutter.c (mark_gutters): new function.
12336 * glyphs-x.c (x_update_widget): Always resize to get round a
12339 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
12340 breaking absolutely everything.
12342 * gutter.h: declare mark_gutters.
12344 2000-02-16 Martin Buchholz <martin@xemacs.org>
12346 * XEmacs 21.2.29 is released.
12348 2000-02-15 Olivier Galibert <galibert@pobox.com>
12350 * fns.c (size_bit_vector): Fix computation of the size.
12352 2000-02-15 Martin Buchholz <martin@xemacs.org>
12354 * *.[ch]: Change CONST to const globally.
12355 find -name '*.[ch]' | \
12356 xargs global-replace \
12357 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
12358 - Remove vestigial references to CONST_IS_LOSING
12360 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
12362 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
12363 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
12364 events instead of dispatching them directly.
12365 (mswindows_handle_paint): New function to do repainting.
12366 (mswindows_wnd_proc):
12367 (emacs_mswindows_handle_magic_event): Call above function.
12369 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
12371 * objects-msw.c (mswindows_create_font_variant): Return the new
12373 (initialize_font_instance): Get font metrics from the underlined
12374 variant of the font to cope with the case where the underlined
12375 font has a bigger descent.
12377 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
12379 * gui.c (gui_item_accelerator): Return the first underlined
12380 character in item name.
12382 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12384 * lisp.h: Added Qprinter.
12386 * general.c (syms_of_general): Initialized it.
12388 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
12390 (get_frame_compdc): Made inline.
12392 * console.h (struct console_methods): Added eject_page method.
12394 * frame.h: Added FRAME_DISPLAY_P and friends.
12395 Aligned backslahes in many macros in more readable fashion.
12396 Added page_number to struct frame, and an accessor macro
12399 * defice.h: Added DEVICE_DISPLAY_P and friends.
12401 * device.c (Fdevice_printer_p): Used these.
12403 * frame.c (allocate_frame_core): Initialize page number.
12404 (Fprint_job_page_number):
12405 (Fprint_job_eject_page): Implemented.
12407 * frame-msw.c (msprinter_eject_page): Added method.
12408 (msprinter_start_page): Added.
12410 * window.c (Fwindow_truncated_p): Fixed docstring.
12411 (Fwindow_last_line_visible_height): Implemented.
12413 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
12415 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
12417 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12419 * syntax.c (scan_words): Always advance at least one character.
12421 2000-02-13 Andy Piper <andy@xemacs.org>
12423 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
12424 to make sure the glyph is in the cachels.
12426 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
12427 global image instance flag.
12428 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
12429 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
12431 * glyphs.c (allocate_image_instance): set dirty bits correctly.
12432 (Fset_image_instance_property): mark layout as changed.
12433 (invalidate_glyph_geometry_maybe): mark layout as changed.
12434 (glyph_width): use new NEEDS_LAYOUT macro.
12435 (glyph_ascent): ditto.
12436 (glyph_descent): ditto.
12437 (glyph_height): ditto.
12438 (image_instance_layout): mark layout as clean after laying out.
12439 (update_subwindow): don't mark layout as clean here.
12441 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
12442 should no longer be needed.
12444 * glyphs-x.c (x_update_widget): sanitize asserts.
12445 (x_finalize_image_instance): sanitize assignment to widgets.
12447 * glyphs-widget.c (widget_instantiate): don't need to clear the
12450 2000-02-13 Martin Buchholz <martin@xemacs.org>
12452 * sysdep.c (getcwd): Use standard prototype.
12453 * sysdep.h (getcwd): Use standard prototype.
12455 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
12456 (sequence, start, end).
12457 Remove redundant type checking.
12458 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
12459 view of `caller-protects') to avoid a crash where the real fix was
12462 2000-02-12 Martin Buchholz <martin@xemacs.org>
12464 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
12466 * s/sol2.h: Remove feature macro initialization.
12468 * alloc.c (alloc_lcrecord): Add more type checking assertions.
12469 (vector_hash): New. Code from internal_hash.
12471 Fix up allocation subsystem comments.
12473 * config.h.in: Add __EXTENSIONS__ for Solaris.
12475 * systime.h (EMACS_GETTIMEOFDAY): New.
12476 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
12477 Remove Solaris-specific code.
12478 Use void* for the (ignored) second arg for gettimeofday().
12480 * elhash.c (hash_table_hash): Implement it, finally.
12481 * elhash.c: Use hashcode_t.
12483 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
12484 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
12486 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
12487 * fns.c (size_bit_vector):
12488 * alloc.c (size_vector):
12489 (make_vector_internal):
12490 (make_bit_vector_internal):
12491 (sweep_bit_vectors_1):
12492 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
12494 2000-02-10 Martin Buchholz <martin@xemacs.org>
12496 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
12497 Include strings.h to avoid warnings for bzero and strcasecmp.
12499 2000-02-10 Olivier Galibert <galibert@pobox.com>
12501 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
12502 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
12504 * fns.c (size_bit_vector): New. Declare bit vectors as a
12507 2000-02-10 Olivier Galibert <galibert@pobox.com>
12509 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
12510 use a value field instead.
12511 (symbol_value_forward_forward): Use value field.
12512 (DEFVAR_SYMVAL_FWD): Use value field.
12513 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
12514 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
12515 (DEFVAR_CONST_INT): Ditto.
12516 (DEFVAR_BOOL): Ditto.
12517 (DEFVAR_CONST_BOOL): Ditto.
12518 (DEFVAR_INT_MAGIC): Ditto.
12519 (DEFVAR_BOOL_MAGIC): Ditto.
12521 * symbols.c (guts_of_unbound_marker): Use value field.
12522 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
12523 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
12525 * lisp.h: Declare dumpopaque and noninteractive1.
12527 * alloc.c (dumpopaque): Added.
12528 (pdump_dump_opaquevec): Added.
12529 (pdump): Call pdump_dump_opaquevec to dump opaque data.
12530 (pdump_load): Reload opaque data. Sync noninteractive1 with
12533 2000-02-10 Andy Piper <andy@xemacs.org>
12535 * glyphs.c (image_instance_layout): if the size changes, mark it
12538 * redisplay-output.c (redisplay_output_layout): Update the
12540 (redisplay_output_subwindow): ditto.
12542 * glyphs.c (update_subwindow): make sure we reset flags for
12543 layouts as well as everything else.
12545 * glyphs-widget.c (layout_layout): don't need to set the instances
12548 2000-02-09 Martin Buchholz <martin@xemacs.org>
12550 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
12551 not HAVE_DLOPEN, which is a lower-level thing.
12553 * .cvsignore: Ignore gmon.out
12555 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
12557 * .cvsignore: Ignore portable dumper xemacs.dmp file
12559 2000-02-09 Andy Piper <andy@xemacs.org>
12561 * redisplay-output.c (redisplay_output_layout): be more clever
12562 about when we output based on the changed flags.
12564 * glyphs.h (struct image_instantiator_methods): add update_method.
12565 (struct Lisp_Image_Instance): add changed flags. Declare new
12566 macros for manipulating them.
12568 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
12569 (image_instance_parent_glyph): find an image_instance's parent
12570 glyph or image_instance.
12571 (image_instance_layout): mark the size as changed.
12572 (set_image_instance_dirty_p): new function. mark an image
12573 instance, plus all of its parents, as dirty.
12574 (Fset_image_instance_property): use it.
12575 (Fglyph_animated_timeout_handler): use it.
12576 (update_subwindow): call update_widget and device methods for
12577 update_subwindow. Mark all changed flags as clean.
12578 (Fresize_subwindow): mark size as changed.
12580 * glyphs-x.c (x_finalize_image_instance): try and detect gc
12582 (x_update_subwindow): only resize subwindows here.
12583 (x_update_widget): new function. Update all changed properties of
12585 (x_resize_subwindow): deleted.
12586 (x_widget_set_property): deleted.
12587 (x_progress_gauge_set_property): deleted.
12588 (x_progress_gauge_update): new function. Implement recorded
12590 (x_tab_control_update): ditto.
12591 (x_tab_control_set_property): deleted.
12592 (console_type_create_glyphs_x): declare new functions.
12593 (image_instantiator_format_create_glyphs_x): ditto.
12595 * glyphs-widget.c (widget_set_property): mark text changed.
12596 (update_widget): new function. Update properties of a widget.
12597 (widget_instantiate): for layouts make sure we set their
12598 children's parent correctly.
12599 (tab_control_set_property): new function. Record changes that will
12600 take place under redisplay's control.
12601 (progress_gauge_set_property): ditto.
12602 (image_instantiator_progress_guage): declare new functions.
12603 (image_instantiator_tab_control): ditto.
12605 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
12607 (mswindows_update_widget): new function. Update all properties on
12608 a widget that have changed.
12609 (mswindows_button_update): new function. Update a button's set
12611 (mswindows_tab_control_update): new function. Update the items in
12613 (mswindows_tab_control_set_property): deleted.
12614 (mswindows_progress_gauge_update): new function. Update the
12615 progress gauge's progress.
12616 (mswindows_widget_set_property): deleted. This is all done
12617 asynchronously now.
12618 (mswindows_progress_gauge_set_property): ditto.
12619 (console_type_create_glyphs_mswindows): declare new methods.
12620 (image_instantiator_format_create_glyphs_mswindows): ditto.
12622 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
12623 (msprinter_set_frame_properties): ditto.
12625 * console.h (struct console_methods): Add update_widget_method.
12627 2000-02-09 Andy Piper <andy@xemacs.org>
12629 * gui-msw.c (Fmswindows_shell_execute): Make
12630 mswindows-shell-execute industrial strength.
12632 2000-02-08 Martin Buchholz <martin@xemacs.org>
12634 * lrecord.h: Make macro argument `props' match member function `plist'.
12637 * fns.c (Fremprop):
12638 * fns.c (Fobject_plist):
12641 Object property list frobbing cleanup.
12642 - Allow any lisp object (compared with `eq'), not just symbols, as
12643 keys in object plists.
12644 - Move symbol plist frobbing into symbols.c, where it belongs.
12645 - Move string plist frobbing into alloc.c, where it belongs.
12646 - Everything's an lrecord now, so no need to test for symbolp, etc.
12647 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
12649 * extents.c: Reorder code to remove declarations.
12651 * frame.h (store_in_alist): Remove useless declaration.
12653 2000-02-07 Martin Buchholz <martin@xemacs.org>
12655 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
12656 * config.h.in: Add HAVE_XCONVERTCASE.
12658 2000-02-07 Andy Piper <andy@xemacs.org>
12660 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
12661 it breaks many things.
12663 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12665 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
12666 actually can start a common comment type.
12667 * src/syntax.h (SYNTAX_END_P): ditto for end.
12669 2000-02-07 Martin Buchholz <martin@xemacs.org>
12671 * XEmacs 21.2.28 is released.
12673 2000-02-06 Martin Buchholz <martin@xemacs.org>
12675 * event-Xt.c (x_keysym_to_character): New.
12676 (maybe_define_x_key_as_self_inserting_character): New.
12677 (x_has_keysym): New.
12678 Auto-define all keys on the keyboard as self-insert-key.
12680 2000-02-02 Martin Buchholz <martin@xemacs.org>
12682 * menubar.c (vars_of_menubar): A small code simplification.
12684 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
12687 * ExternalClient.c:
12688 * EmacsShell-sub.c:
12691 Use consistent style for specifying X resources.
12693 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
12694 This makes (dontusethis-set-symbol-value-handler) actually usable.
12696 * lrecord.h (lrecord_decription_type):
12697 * alloc.c (pdump_register_sub):
12700 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
12701 Comply with XEmacs coding style.
12702 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
12703 args, and XD_LISP_OBJECT_ARRAY with 3 args.
12705 * keymap.c (Faccessible_keymaps):
12706 Make (accessible-keymaps map "\C-h") do the Right Thing.
12707 Make (accessible-keymaps map []) do the Right Thing.
12708 Make (accessible-keymaps map "") do the Right Thing.
12709 (check_keymap_definition_loop): New function.
12710 (keymap_store_internal): Keep luser from shooting self in foot,
12711 via (define-key ctl-x-4-map "p" global-map).
12712 Remove fullness slot from struct Lisp_Keymap, since hash tables
12714 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
12716 2000-01-30 Martin Buchholz <martin@xemacs.org>
12718 * redisplay.c (init_redisplay): Fix small memory leak.
12720 * elhash.c (pdump_reorganize_hash_table):
12721 Rename from reorganize_hash_table. Change prototype.
12722 Reuse the original memory for hentries. Save 100k.
12723 * alloc.c (PDUMP_READ): new macro.
12724 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
12725 * alloc.c: No need to #ifndef before #undef.
12727 * print.c: Allow debug_print() to print readably by modifying
12728 debug_print_readably. Use consistent variable names.
12730 * .dbxrc: Try to get things to work even if stopped in a function
12731 without source available by explicitly specifying source files.
12732 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12734 * unexnt.c (_start): Removed bogus code which caused loading heap
12735 from differrent executable file.
12736 Removed bogus assignment to _fmode, which caused inconsistencies.
12738 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12740 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
12741 Have spawnve encapsulation regard DONT_ENCAPSULATE.
12742 Do not preliminary `#define signal sigset'.
12744 * systime.h: Do not prototype environ on windows nt and cygwin,
12745 this conflicts with system header.
12747 * syssignal.h: Use correct define for WINDOWSNT
12749 * sysdep.h: Do not prototype environ on windows nt, this conflicts
12750 with system header.
12752 * sysdep.c (near start of file): Fixed commentary and rearranged
12753 ifdefs in readable order.
12754 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
12757 (end_of_data): Do not compile in if using PDUMP.
12759 * symsinit.h: Prototyped vars_of_nt().
12761 * ntproc.c (windows9x_p): Added, instead of os_subtype.
12762 (find_child_console): Use it.
12763 (sys_kill): Use it.
12765 * ntheap.h: Do not extern os_subtype.
12767 * ntheap.c (cache_system_info): Do not cache unneeded:
12768 nt_major_version, nt_minor_version and os_subtype.
12769 (recreate_heap): Do not compile in when PDUMPing.
12771 * nt.c (geteuid and friends): Use the new varibale
12772 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
12773 (init_user_info): Removed the above mentioned hackery.
12774 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
12775 stat has been fixed in the C runtime.
12776 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
12778 * file-coding.c (struct file_coding_dump): Do not define
12779 ucs_to_mule_table in the struct if not MULE.
12780 (struct struct lrecord_description fcd_description_1): Do not dump
12783 * emacs.c (main_1): Call vars_of_nt().
12784 (right before Fdump_emacs_data): Don't need lastfile if using both
12785 portabe dumper and system malloc.
12787 * alloc.c (Fmemory_limit): Conditionalized out.
12788 (pdump): Use OPEN_BINARY for the portable dump file.
12789 (pdump_load): Ditto.
12791 2000-02-02 Mike Alexander <mta@arbortext.com>
12793 * nt.c (convert_time): Set tm_isdst before calling mktime and
12794 avoid calling it at all if the compiler supports 64 bit integers.
12795 Also initialize utc_base_ft before using it.
12797 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
12799 * frame.c (change_frame_size_1): Take f->internal_border_width
12800 into consideration when calculating the width of the frame.
12802 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12804 * window.c (frame_min_height):
12805 (frame_size_valid_p):
12806 (frame_pixsize_valid_p): Added.
12807 (check_frame_size): Generalized.
12809 * window.h: Prototyped the above.
12812 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
12813 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
12814 Deleted Vwin32_* and Vbinary_process_* unused variables.
12816 * device-msw.c (msprinter_init_device): Do not get printer font
12817 list; Added DEVMODE functions.
12819 * frame-msw.c: Added lots of printer code.
12821 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
12824 * console-msw.h: Added more msprinter device private slots.
12826 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12828 * event-msw.c (key_needs_default_processing_p): Added.
12829 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
12831 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12833 * glyphs.c (image_instance_layout): Mark image instance as clean
12835 (glyph_dirty_p): Removed redundant function.
12836 (invalidate_glyph_geometry_maybe): Added.
12837 (update_glyph_cachel_data): Call it.
12839 * glyphs.h: Prototyped it.
12841 * redisplay.c (add_glyph_rune): Call it.
12842 (redisplay_window): Reset glyphs cachels when frame faces have
12843 changed, thus forcing recomputation of built-in border glyphs.
12845 2000-01-30 Martin Buchholz <martin@xemacs.org>
12847 * Makefile.in.in: Make portable dumper and purify play well together.
12848 Add imperfect, but better than nothing, support for pdump.
12849 Remove xemacs.dmp when temacs is re-generated.
12850 Don't ignore errors when dumping xemacs.
12852 * symbols.c (maybe_call_magic_handler): Remove one magic number.
12854 2000-01-28 Andy Piper <andy@xemacs.org>
12856 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
12857 (setup_normal_frame): ditto.
12858 (setup_frame_without_minibuffer): ditto.
12859 (setup_minibuffer_frame): ditto.
12860 (delete_frame_internal): ditto.
12861 (Fmake_frame_invisible): ditto.
12862 (Ficonify_frame): ditto.
12864 * window.h: change Fset_window_buffer signature.
12866 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12867 (Fset_window_buffer): allow recording of buffer if the window is
12868 the selected window.
12869 (window_loop): Use new Fset_window signature.
12871 2000-01-23 Daniel Pittman <daniel@danann.net>
12873 * config.h.in: Added template for `HAVE_ATHENA_3D'
12875 2000-01-29 Andy Piper <andy@xemacs.org>
12877 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12879 * gutter.c (output_gutter): Don't output if the window isn't live.
12881 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12883 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12884 of 01/12/00: Moved SetFocus back here where it belongs.
12886 2000-01-23 Andy Piper <andy@xemacs.org>
12888 * s/cygwin32.h: declare printer things.
12890 2000-01-26 Andy Piper <andy@xemacs.org>
12892 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12895 2000-01-24 Andy Piper <andy@xemacs.org>
12897 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12898 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12900 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12902 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12904 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12906 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12907 (mswindows_output_display_block): Avoid local shadows.
12909 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12910 (mswindows_enqueue_mouse_button_event): ditto.
12911 (mswindows_handle_gui_wm_command): remove declaration.
12913 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12916 * console-msw.h: Avoid shadows.
12917 (mswindows_get_toolbar_button_text):
12918 (emacs_mswindows_create_stream_pair):
12919 (emacs_mswindows_delete_stream_pair):
12920 (mswindows_handle_toolbar_wm_command): declare.
12922 * device-msw.c (build_syscolor_string): Avoid shadows.
12924 2000-01-23 Andy Piper <andy@xemacs.org>
12926 * glyphs-widget.c (widget_instantiate): reverse the items for
12927 layouts so that children are in the expected order.
12929 2000-01-28 Martin Buchholz <martin@xemacs.org>
12931 * ralloc.c: safe_bcopy ==> memmove
12932 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12933 * s/msdos.h: Remove BCOPY macros.
12934 * insdel.c (gap_right): Remove BCOPY conditional code.
12935 * insdel.c (gap_left): Remove BCOPY conditional code.
12936 XEmacs demands a working ANSI C compiler - hence memmove.
12938 * regex.c (regex_compile): Remove accidental use of trigraphs.
12940 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12942 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12945 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12947 * event-msw.c (mswindows_drain_windows_queue): Added the
12949 (mswindows_need_event): Commented the call to
12950 mswindows_drain_windows_queue().
12951 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12954 * console-msw.h: Moved a few function prototypes here from
12957 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12958 parameter from unsigned short to unsigned long.
12959 (Fmswindows_shell_execute): Added return value.
12961 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12963 * sysdep.c (init_system_name):
12964 process-unix.c (unix_canonicalized_host_name):
12965 Don't call freeaddrinfo() if getaddrinfo() fails.
12967 * process-unix.c (unix_open_unix_network_stream):
12968 Moved the code to get a port # into address loop.
12970 2000-01-27 Martin Buchholz <martin@xemacs.org>
12972 * buffer.c (reinit_vars_of_buffer):
12973 The right place to initialize conversion_in_dynarr and
12974 conversion_out_dynarr.
12976 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12978 * process-unix.c (unix_canonicalize_host_name): Muleize.
12979 (unix_open_network_stream): Muleize.
12981 * buffer.h: Fix up prototypes for ralloc.c functions.
12983 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12984 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12985 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12986 instead of gethostbyname()
12987 * process-unix.c: In unix_canonicalize_host_name() and
12988 unix_open_network_stream(), add code to use getaddrinfo()
12989 instead of gethostbyname().
12991 2000-01-27 Daniel Pittman <daniel@danann.net>
12993 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12994 libs when built with flat Athena.
12996 2000-01-27 Martin Buchholz <martin@xemacs.org>
12998 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12999 Use coding standards for function prototypes.
13001 2000-01-25 Martin Buchholz <martin@xemacs.org>
13003 * dialog-msw.c (push_lisp_string_as_unicode):
13004 * doc.c (unparesseuxify_doc_string):
13005 * dired.c (Fuser_name_completion_1):
13006 * dired.c (Fuser_name_all_completions):
13007 * dired.c (free_user_cache):
13008 * dired.c (user_name_completion):
13009 * console-x.c (get_display_arg_connection):
13010 * minibuf.c (clear_echo_area_internal):
13011 * minibuf.c (echo_area_append):
13012 * eldap.c (Fldap_open):
13013 * eldap.c (Fldap_search_internal):
13014 * frame-x.c (x_set_frame_text_value):
13015 * frame-x.c (x_set_frame_properties):
13016 * frame-x.c (x_create_widgets):
13017 * redisplay-tty.c (term_get_fkeys_1):
13018 * objects-x.c (x_parse_nearest_color):
13019 * objects-x.c (x_valid_color_name_p):
13020 * objects-x.c (x_initialize_font_instance):
13021 * objects-x.c (x_list_fonts):
13022 * objects-x.c (x_find_charset_font):
13023 * tooltalk.c (Fadd_tooltalk_message_arg):
13024 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
13025 * tooltalk.c (Fadd_tooltalk_pattern_arg):
13026 * process-unix.c (unix_create_process):
13027 * ntproc.c (sys_spawnve):
13028 * sound.c (Fplay_sound_file):
13029 * sound.c (Fplay_sound):
13030 * buffer.c (init_initial_directory):
13031 * buffer.c (init_buffer):
13032 * editfns.c (init_editfns):
13033 * editfns.c (Ftemp_directory):
13034 * editfns.c (Fuser_full_name):
13035 * editfns.c (uncache_home_directory):
13036 * editfns.c (get_home_directory):
13037 * editfns.c (Fuser_home_directory):
13038 * editfns.c (Fformat_time_string):
13039 * editfns.c (Fcurrent_time_string):
13040 * gui-x.c (button_item_to_widget_value):
13041 * database.c (Fopen_database):
13042 * event-Xt.c (x_to_emacs_keysym):
13043 * event-Xt.c (x_event_to_emacs_event):
13044 * event-Xt.c (describe_event_window):
13045 * event-msw.c (mswindows_wnd_proc):
13046 * glyphs-eimage.c (jpeg_instantiate):
13047 * glyphs-eimage.c (gif_instantiate):
13048 * glyphs-eimage.c (png_instantiate):
13049 * glyphs-eimage.c (tiff_instantiate):
13050 * glyphs-x.c (xbm_instantiate_1):
13051 * glyphs-x.c (x_xbm_instantiate):
13052 * glyphs-x.c (x_xface_instantiate):
13053 * glyphs-x.c (autodetect_instantiate):
13054 * glyphs-x.c (cursor_font_instantiate):
13055 * glyphs-x.c (x_widget_instantiate):
13056 * glyphs-x.c (x_widget_set_property):
13057 * glyphs-x.c (x_widget_property):
13058 * glyphs-x.c (BUILD_GLYPH_INST):
13059 * print.c (write_string_to_stdio_stream):
13060 * print.c (output_string):
13061 * print.c (Falternate_debugging_output):
13062 * print.c (Fexternal_debugging_output):
13063 * glyphs-msw.c (extract_xpm_color_names):
13064 * glyphs-msw.c (mswindows_xpm_instantiate):
13065 * glyphs-msw.c (bmp_instantiate):
13066 * glyphs-msw.c (resource_name_to_resource):
13067 * glyphs-msw.c (mswindows_resource_instantiate):
13068 * glyphs-msw.c (xbm_instantiate_1):
13069 * glyphs-msw.c (mswindows_xbm_instantiate):
13070 * glyphs-msw.c (mswindows_xface_instantiate):
13071 * glyphs-msw.c (mswindows_widget_instantiate):
13072 * glyphs-msw.c (add_tree_item):
13073 * glyphs-msw.c (add_tab_item):
13074 * glyphs-msw.c (mswindows_combo_box_instantiate):
13075 * glyphs-msw.c (mswindows_widget_property):
13076 * glyphs-msw.c (mswindows_combo_box_property):
13077 * glyphs-msw.c (mswindows_widget_set_property):
13078 * console.c (stuff_buffered_input):
13079 * objects-msw.c (mswindows_initialize_color_instance):
13080 * objects-msw.c (mswindows_valid_color_name_p):
13081 * objects-msw.c (mswindows_list_fonts):
13082 * objects-msw.c (mswindows_font_instance_truename):
13083 * bytecode.c (optimize_compiled_function):
13084 * select-x.c (symbol_to_x_atom):
13085 * select-x.c (x_atom_to_symbol):
13086 * select-x.c (hack_motif_clipboard_selection):
13087 * select-x.c (selection_data_to_lisp_data):
13088 * select-x.c (lisp_data_to_selection_data):
13089 * select-x.c (Fx_get_cutbuffer_internal):
13090 * select-x.c (Fx_store_cutbuffer_internal):
13091 * buffer.h (TO_EXTERNAL_FORMAT): New function.
13092 * buffer.h (TO_INTERNAL_FORMAT): New function.
13093 * emacs.c (make_arg_list_1):
13094 * emacs.c (make_argc_argv):
13095 * emacs.c (main_1):
13096 * emacs.c (Fdump_emacs):
13097 * emacs.c (split_string_by_emchar_1):
13102 * device-x.c (x_init_device):
13103 * device-x.c (Fx_valid_keysym_name_p):
13104 * device-x.c (Fx_get_font_path):
13105 * device-x.c (Fx_set_font_path):
13106 * glyphs.c (bitmap_to_lisp_data):
13107 * glyphs.c (pixmap_to_lisp_data):
13108 * alloc.c (make_ext_string): Use coding system arguments. Update
13110 * alloc.c (build_string):
13111 * callproc.c (child_setup):
13112 * callproc.c (init_callproc):
13113 * fileio.c (lisp_strerror):
13114 * fileio.c (directory_file_name):
13115 * fileio.c (Fexpand_file_name):
13116 * fileio.c (Ffile_truename):
13117 * fileio.c (Fsysnetunam):
13118 * fileio.c (Fdo_auto_save):
13119 * sysdep.c (sys_readdir):
13120 * tests.c: New file. Allow adding C tests.
13121 Replace GET_* macros with a more comprehensible and flexible
13122 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
13124 Any coding system can be used to do format conversion.
13125 Eliminate enum external_data_format.
13126 Eliminate convert_to_external_format.
13127 Eliminate convert_to_internal_format.
13128 Make sure file-name, keyboard, terminal, and ctext are always
13129 defined as coding systems or aliases. Make
13130 file-name-coding-system, terminal-coding-system, and
13131 keyboard-coding-system magical variables that are equivalent to
13132 defining the corresponding coding system aliases.
13134 * file-coding.c (Fcoding_system_canonical_name_p): New function.
13135 * file-coding.c (Fcoding_system_alias_p): New function.
13136 * file-coding.c (Fcoding_system_aliasee): New function.
13137 * file-coding.c (append_suffix_to_symbol): New function.
13138 * file-coding.c (dangling_coding_system_alias_p): New function.
13139 * file-coding.c (Ffind_coding_system):
13140 * file-coding.c (Fcopy_coding_system):
13141 * file-coding.c (encode_coding_no_conversion):
13142 * file-coding.c (syms_of_file_coding):
13143 * file-coding.c (vars_of_file_coding):
13144 Rewrite coding system alias code.
13145 Allow nested aliases, like symbolic links.
13146 Allow redefinition of coding system aliases.
13147 Prevent existence of dangling coding system aliases.
13149 * dired.c (Fuser_name_completion_1):
13150 * dired.c (Fuser_name_all_completions):
13151 A crash would happen if user did QUIT in the middle of building
13152 user_name_cache. Remove redundant code in mainline and unwind_protect.
13155 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
13157 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
13158 an unsigned char *. Update all callers.
13160 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13162 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
13164 2000-01-25 Martin Buchholz <martin@xemacs.org>
13166 * elhash.c (hentry_description): Use more portable definition.
13167 (resize_hash_table): Initialize new hentries using
13168 xnew_array_and_zero, thereby simplifying the code.
13170 * mule-charset.c (make_charset): Make sure entire object is
13171 initialized, to avoid Purify warnings.
13173 * alloc.c (resize_string): Fix unlikely crash with big strings.
13175 2000-01-24 Martin Buchholz <martin@xemacs.org>
13177 * realpath.c (xrealpath):
13178 Don't call getwd().
13180 2000-01-25 Martin Buchholz <martin@xemacs.org>
13182 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
13184 1999-12-28 Max Matveev <max@melbourne.sgi.com>
13186 * unexelfsgi.c (unexec): Change the way we decide which segment
13187 should be extended.
13189 Assumption that .bss section should be outside the PT_LOADable
13190 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
13191 it's present) is inside the 'data' segment. This would fail the
13192 test which was used to find a segment to grow and cover new
13193 heap. Instead of this assumption, I created another one - on IRIX
13194 the segment to grow should start below .bss and it's address
13195 should extent above the end of .bss. Once this segment is
13196 identified, it's grown to accommodate the new heap and new
13197 zero-length .bss section is added at the end of .data2.
13199 2000-01-25 Martin Buchholz <martin@xemacs.org>
13201 * eval.c (Feval): Wrong number of arguments should use original
13202 function, not the indirect_function version of it.
13204 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13206 * glyphs-x.c (x_button_instantiate): Don't add image if
13207 it is not a pixmap.
13208 (x_locate_pixmap_file): Call Fexpand_file_name when file name
13211 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
13213 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
13215 (DEFVAR_INT_MAGIC): Ditto.
13216 (DEFVAR_BOOL_MAGIC): Ditto.
13217 * glyphs.h: Reindent backslash.
13219 2000-01-24 Martin Buchholz <martin@xemacs.org>
13221 * glyphs-widget.c (layout_query_geometry):
13222 (layout_layout): Use correct types for gheight, gwidth.
13224 2000-01-24 Martin Buchholz <martin@xemacs.org>
13226 * EmacsManager.c (QueryGeometry): Purified.
13228 2000-01-23 Martin Buchholz <martin@xemacs.org>
13230 * alloc.c (make_float): Make sure entire object is initialized, to
13231 avoid Purify warnings.
13232 (pdump_register_sub): Remove useless assignment.
13233 (pdump): Use xmalloc, not malloc.
13234 (pdump_load): Use xmalloc, not malloc.
13236 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13243 * sysdep.c: Removed redundant #include <windows.h>
13245 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13247 * frame.c (delete_frame_internal): Do not delete device when its
13248 implementation so declares.
13249 (delete_frame_internal): Set device selected frame to nil when
13250 last frame goes away.
13252 * device-msw.c (msprinter_device_system_metrics): Implemented.
13253 (mswindows_device_system_metrics): Added 'device-dpi property.
13255 * device.c: (Fdevice_printer_p): Added.
13256 Added 'offset-workspace device metric.
13258 * console.h (device_metrics): Declared DM_offset_workspace.
13260 2000-01-23 Martin Buchholz <martin@xemacs.org>
13262 * fileio.c (Ffile_truename): Remove pointless and confusing
13263 initialization of elen.
13265 * glyphs-widget.c: Compiler warning fixes.
13267 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
13269 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
13270 instead of a Lisp_Object as argument to make it consistent with
13271 the other LIVE_P macros.
13272 (CHECK_LIVE_PROCESS): New macro.
13274 * process.c: Declare Qprocess_live_p.
13275 (Fprocess_live_p): New function.
13276 (create_process): Use PROCESS_LIVE_P.
13277 (read_process_output): Ditto.
13278 (set_process_filter): Ditto.
13279 (Fdelete_process): Ditto.
13280 (kill_buffer_processes): Ditto
13281 (process_send_signal): Use CHECK_LIVE_PROCESS.
13282 (Fprocess_input_coding_system): Check whether process is still
13283 alive (fix PR#1061).
13284 (Fprocess_output_coding_system): Ditto.
13285 (Fprocess_coding_system): Ditto.
13286 (Fset_process_input_coding_system): Ditto.
13287 (Fset_process_output_coding_system): Ditto.
13289 2000-01-23 Andy Piper <andy@xemacs.org>
13291 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
13294 * glyphs.c (mark_image_instance): take into account changed
13295 image_instance format.
13296 (image_instance_equal): ditto.
13297 (image_instance_hash): ditto.
13299 * glyphs-widget.c (widget_instantiate): Incorporate layout
13300 instantiation here. Delay layout of the layout until later.
13301 (layout_instantiate): deleted.
13302 (layout_query_geometry): new function. get the geometry of a
13304 (layout_layout): layout a layout dynamically.
13305 (image_instantiator_widget): New function - splitting up
13306 image_instantiator_format_create_glyphs_widget for netwinder
13308 (image_instantiator_buttons):
13309 (image_instantiator_edit_fields):
13310 (image_instantiator_combo_box):
13311 (image_instantiator_scrollbar):
13312 (image_instantiator_progress_guage):
13313 (image_instantiator_tree_view):
13314 (image_instantiator_tab_control):
13315 (image_instantiator_labels):
13316 (image_instantiator_layout): ditto.
13317 (image_instantiator_format_create_glyphs_widget): Call preceding
13320 2000-01-22 Martin Buchholz <martin@xemacs.org>
13322 * process.c (Fset_process_coding_system):
13323 * device-x.c (Fx_keysym_hash_table):
13326 * lstream.c (Lstream_write): Return documented value, not 0.
13328 * fileio.c (directory_file_name):
13329 (Fsubstitute_in_file_name):
13330 (Fsubstitute_insert_file_contents_internal):
13331 (Fwrite_region_internal):
13336 Remove vestigial APOLLO-conditional code.
13338 2000-01-21 Martin Buchholz <martin@xemacs.org>
13340 * getpagesize.h: Add guard macros.
13341 * libsst.h: Add guard macros.
13342 * libst.h: Add guard macros.
13343 * line-number.h: Add guard macros.
13344 * ndir.h: Add guard macros.
13345 * sysfloat.h: Add guard macros.
13346 * sysfile.h: Add guard macros.
13347 * sysproc.h: Add guard macros.
13348 * syswait.h: Add guard macros.
13349 * xintrinsic.h: Add guard macros.
13350 * xintrinsicp.h: Add guard macros.
13351 * xmmanager.h: Add guard macros.
13352 * xmmanagerp.h: Add guard macros.
13353 * xmprimitive.h: Add guard macros.
13354 * xmu.h: Add guard macros.
13355 * gpmevent.h: Add copyright statement. Add guard macros.
13356 * miscplay.h: Add guard macros.
13357 * *.h: Use consistent C-standards-approved guard macro names.
13359 * opaque.c (make_opaque): Switch parameter order.
13360 * opaque.h (make_opaque): Switch parameter order.
13361 Update all callers.
13362 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
13364 * config.h.in (type_checking_assert): Added.
13365 (bufpos_checking_assert): Added.
13367 2000-01-21 Martin Buchholz <martin@xemacs.org>
13369 * alloc.c: Harmless pdump changes.
13371 - spell alignment correctly.
13372 * sysdep.c: Use countof()
13374 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13376 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
13377 initially_selected_for_input() console method, default to 0.
13378 (semi_canonicalize_console_connection): Try to delegate to
13379 canonicalize_console_connection if no such console method.
13380 (canonicalize_console_connection): Vice versa.
13381 (print_console): Do not print nil connection.
13383 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
13384 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
13385 (XDEVIMPF_FRAMELESS_OK): Added.
13386 (CONSOLE_INHERITS_METHOD): Added.
13388 * console-msw.c (mswindows_canonicalize_console_connection):
13390 (mswindows_canonicalize_device_connection): Added.
13392 * console-msw.h (struct msprinter_device): Added this struct and
13394 (mswindows_device): Made fontlist a lisp object.
13396 * device.c (semi_canonicalize_device_connection): Try to delegate
13397 to canonicalize_device_connection if no such console method.
13398 (canonicalize_device_connection): Vice versa.
13399 (print_device): Do not print nil connection.
13401 * device-msw.c (mswindows_init_device): Call InitCommonControls
13403 (mswindows_delete_device): Removed fontlist deallocation.
13404 (mswindows_mark_device): Added.
13406 * events.c (event_equal): Added abort() at unreached code.
13407 (event_hash): Ditto.
13409 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
13410 fallback tags of Windows devices.
13412 * general.c (syms_of_general): Initialized Qmsprinter.
13414 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
13415 of fallback tags of Windows devices.
13417 * lisp.h: Declared Qmsprinter.
13419 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
13421 (mswindows_list_fonts): Ditto.
13422 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
13423 that it can be used by both mswindows and msprinter devices.
13424 (initialize_font_instance): Added.
13425 (mswindows_initialize_font_instance): Use it.
13426 (msprinter_initialize_font_instance): Added.
13428 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
13429 and implementation flags check.
13430 (redisplay_without_hooks): Changed the call to the above.
13431 (Fredraw_device): Ditto.
13432 (Fredisplay_device): Ditto.
13434 * redisplay-msw.c (get_frame_dc): Implemented.
13435 (get_frame_compdc): Implemented.
13436 (many functions): Use the two functions above to get device
13437 contexts, ether for a window or a printer.
13439 2000-01-21 Olivier Galibert <galibert@pobox.com>
13441 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
13442 initialization here.
13443 (init_symbols_once_early): Call it.
13444 * emacs.c (main_1): Call it.
13445 * symsinit.h: Declare it.
13447 2000-01-19 Olivier Galibert <galibert@pobox.com>
13449 * alloc.c: Use a lrecord_header * in the backtrace instead of a
13451 (pdump_backtrace): Ditto.
13452 (pdump_register_object): Ditto. Cleanup use of the pointers.
13453 (pdump_get_entry): Abort if trying to register a null pointer.
13454 (pdump_dump_data): Cleanup types when relocating.
13455 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
13456 (pdump_dump_rtables): Remove bad casts.
13457 (pdump_load): Cleanup relocation w.r.t union type. Use a
13458 Lisp_Object instead of a EMACS_INT for the hashtable
13461 2000-01-20 Martin Buchholz <martin@xemacs.org>
13463 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
13465 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
13467 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
13469 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
13471 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13473 * faces.h (FACE_STRIKETHRU_P): Added.
13475 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
13478 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
13479 (mswindows_set_dc_font): New function, aware of font variants,
13480 separated from mswindows_update_dc.
13482 * objects-msw.h (struct mswindows_font_instance_data): Added
13485 * objects-msw.c (mswindows_finalize_font_instance): Delete all
13486 cached fonts and the data structure.
13487 (mswindows_initialize_font_instance): Added creation of font data
13489 (mswindows_print_font_instance): Print at least something.
13490 (mswindows_create_font_variant): Implemented.
13491 (mswindows_get_hfont): Implemented.
13493 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
13495 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
13496 prototyping problem with msvc.
13498 * emacs.c (main_1): added syms_of_gui_mswindows() call
13500 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
13501 syms_of_gui_mswindows() function
13503 * symsinit.h: added the prototype for syms_of_gui_mswindows()
13505 2000-01-18 Martin Buchholz <martin@xemacs.org>
13507 * XEmacs 21.2.27 is released.
13509 2000-01-18 Martin Buchholz <martin@xemacs.org>
13511 * glyphs-eimage.c (struct tiff_error_struct):
13513 (tiff_warning_func):
13514 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
13519 * unexec.c: Remove vestigial Lucid C code.
13523 * libsst.c: Ansify.
13524 Remove declarations of errno and strerror().
13526 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
13528 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
13530 2000-01-16 Martin Buchholz <martin@xemacs.org>
13532 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
13535 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13540 Change enum eol_type to eol_type_t.
13542 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13544 * gui.c (get_gui_callback): Check cons before accessing car.
13546 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13548 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
13549 (XSETSPECIFIER_TYPE): Ditto.
13551 2000-01-17 Didier Verna <didier@xemacs.org>
13553 * redisplay.c (generate_fstring_runes): compute string size in
13554 characters, not bytes.
13556 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
13558 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
13560 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
13562 * print.c (print_error_message): Call print_prepare().
13564 2000-01-14 Martin Buchholz <martin@xemacs.org>
13566 * .dbxrc: Renamed from dbxrc.
13568 * events.c (event_to_character):
13569 Use `assert (foo)' instead of `if (!foo) abort()'
13571 * .gdbinit (xtype): Add documentation.
13572 * .gdbinit (check-temacs): New function.
13573 * .gdbinit (check-xemacs): New function.
13574 * dbxrc (check-xemacs): New function.
13575 * dbxrc (check-xemacs): New function.
13577 2000-01-14 Andy Piper <andy@xemacs.org>
13579 * glyphs-widget.c (widget_query_geometry): Make sure that we
13580 calculate default dimensions correctly.
13582 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13584 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
13586 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
13587 pdump_wire'd variable.
13589 * emacs.c: (main_1): Conditionalized calls to
13590 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
13592 2000-01-13 Martin Buchholz <martin@xemacs.org>
13594 * window.c (Fset_window_configuration):
13595 * sysdep.c (_start):
13596 * input-method-motif.c (res):
13597 * event-Xt.c (Xt_process_to_emacs_event):
13598 Simple compiler warning fixes.
13600 * bytecode.c (funcall_compiled_function): Use the original
13601 function symbol on the backtrace list in preference to the
13602 compiled_function object in error messages.
13604 2000-01-13 Andy Piper <andy@xemacs.org>
13606 * glyphs-x.c (update_widget_face): Make sure we update the widget
13607 background as well as foreground.
13609 2000-01-13 Andy Piper <andy@xemacs.org>
13611 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
13612 fields to subwindow.
13613 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
13614 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
13615 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
13616 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
13618 * glyphs-widget.c (check_valid_tab_orientation): new function.
13619 (initialize_widget_image_instance): zero orientation and
13621 (widget_instantiate): pick up orientation.
13622 (tab_control_query_geometry): return appropriate values for
13625 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
13626 appropriate creation flags for left, right and bottom tabs.
13628 * s/cygwin32.h: add tab definitions.
13630 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13632 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
13633 frame upon hiding a subwindow.
13634 (mswindows_button_instantiate): Changed the push button style to
13636 (mswindows_button_instantiate): Removed button BS_NOTIFY
13638 (mswindows_button_instantiate): Removed redundant check for
13639 a disabled gui item.
13640 (mswindows_button_instantiate): Made use of WS_TABSTOP
13641 consistent: "operable" controls (edit, button, tree, scroll) have
13642 this style, "display-only" ones (static, progress gauge) do
13643 not. This style is currently ignored by XEmacs though. Also,
13644 removed the WS_EX_CONTROLPARENT style - it is not for children,
13645 it is for their parents!
13646 (mswindows_edit_field_instantiate): Ditto.
13647 (mswindows_progress_gauge_instantiate): Ditto.
13648 (mswindows_tree_view_instantiate): Ditto.
13649 (mswindows_tab_control_instantiate): Ditto.
13650 (mswindows_scrollbar_instantiate): Ditto.
13651 (mswindows_combo_box_instantiate): Ditto.
13652 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
13653 style to the "clip" window.
13654 (mswindows_button_instantiate): Removed compilation warning by
13655 equally typing terms of the ?: operator.
13657 2000-01-12 Didier Verna <didier@xemacs.org>
13659 * redisplay.c (generate_fstring_runes): new parameter holding the
13660 last modeline-format extent.
13661 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
13662 extent, fill the glyph block with it.
13663 (generate_fstring_runes): handle these parameters.
13664 (generate_formatted_string_db): ditto.
13666 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
13667 glyphs'extents in the modeline.
13669 1999-01-11 Mike Woolley <mike@bulsara.com>
13671 * ntheap.c: Reduced the reserved heap space from 1Gb down to
13672 256Mb, as a workaround for the non-starting problem many people
13675 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13677 * console-tty.c (Fset_console_tty_output_coding_system):
13678 Force redrawing tty frame.
13680 2000-01-10 Didier Verna <didier@xemacs.org>
13682 * redisplay.c (generate_fstring_runes): fix size computation bug.
13684 2000-01-09 William M. Perry <wmperry@aventail.com>
13686 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
13688 2000-01-09 Andy Piper <andy@xemacs.org>
13690 * glyphs-msw.c: index -> i to avoid shadows.
13691 (xbm_create_bitmap_from_data): make static.
13692 (check_valid_string_or_int): deleted.
13693 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
13695 * glyphs-x.c (x_update_subwindow): remove unused args.
13697 * glyphs.c (glyph_image_instance): return the thing. Don't set the
13698 back pointer - this is done in allocate_image_instance.
13699 (query_string_font): return Qnil to make the compiler happy.
13700 (unmap_subwindow): set to ~0 to make the compiler happy.
13701 (glyph_query_geometry): comment out until used.
13702 (glyph_layout): ditto.
13704 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
13706 * insdel.c (signal_after_change): Remove extraneous unbind_to().