1 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * text-coding.c (Vcharacter_composition_table): Deleted.
4 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
7 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
9 (Vcharacter_composition_table): Deleted.
10 (Fget_composite_char): Use the implementation for external-DB
11 support in every UTF-2000.
12 (Fput_char_attribute): Likewise.
13 (char_attribute_system_db_file): Don't define if external-DB
14 feature is not available.
15 (Fsave_char_attribute_table): Likewise.
16 (Fmount_char_attribute_table): Likewise.
17 (Fclose_char_attribute_table): Likewise.
18 (Freset_char_attribute_table): Likewise.
19 (Fload_char_attribute_table): Likewise.
20 (syms_of_chartab): Don't define `save-char-attribute-table',
21 `mount-char-attribute-table', `reset-char-attribute-table',
22 `close-char-attribute-table' and `load-char-attribute-table' if
23 external-DB feature is not available.
24 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
26 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
28 * text-coding.c (Qcomposition): Add extern if external-DB feature
30 (Vcharacter_composition_table): Don't add extern if external-DB
32 (COMPOSE_ADD_CHAR): Modify for new data-representation of
33 character composition rule if external-DB feature is supported.
35 * chartab.c (Vcharacter_composition_table): Don't define if
36 external-DB feature is supported.
37 (Qcomposition): New variable.
38 (Fget_composite_char): New implementation for external-DB support.
39 (Fput_char_attribute): Use `composition' property of each
40 character instead of `Vcharacter_composition_table' to store
41 character-composition rules if external-DB feature is supported.
42 (syms_of_chartab): Add new symbol `composition'.
43 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
44 external-DB feature is supported.
46 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
48 * chartab.c (Vchar_db_stingy_mode): New variable.
49 (load_char_attribute_maybe): Close database if
50 Vchar_db_stingy_mode is not NIL.
51 (Fload_char_attribute_table_map_function): Use
52 `get_char_id_table_0' instead of `get_char_id_table'.
53 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
55 * chartab.h (get_char_id_table_0): New inline function.
56 (get_char_id_table): Use `get_char_id_table_0'.
58 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
60 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
61 and `COMPOSE_ADD_CHAR'.
62 (decode_coding_iso2022): Use `decode_flush_er_chars'.
64 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
66 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
67 instead of `DECODE_ADD_UCS_CHAR'.
68 (COMPOSE_ADD_CHAR): Likewise.
70 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
72 * text-coding.c (decode_flush_er_chars): New inline function.
73 (decode_add_er_char): New function.
74 (decode_coding_utf8): Use `decode_flush_er_chars' and
77 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
79 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
80 done before `decode_output_utf8_partial_char'.
82 * mule-charset.c (complex_vars_of_mule_charset): Specify
83 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
84 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
86 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
88 * mule-charset.c (decode_defined_char): New function; search
90 (decode_builtin_char): Don't search mother if
91 XCHARSET_MAX_CODE(charset) == 0.
92 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
93 == 0 even if code >= XCHARSET_MAX_CODE(charset).
94 (Fdecode_char): Use `decode_defined_char' instead of
95 `DECODE_DEFINED_CHAR'.
96 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
97 mother of `Vcharset_ucs_jis'.
99 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
100 instead of `DECODE_DEFINED_CHAR'.
102 * char-ucs.h (decode_defined_char): Renamed from
103 `DECODE_DEFINED_CHAR'; changed to normal function.
104 (DECODE_CHAR): Use `decode_defined_char' instead of
105 `DECODE_DEFINED_CHAR'.
107 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
109 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
111 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
113 * text-coding.c (Vcoded_charset_entity_reference_alist): New
115 (Quse_entity_reference): New variable.
119 (coding_system_description): Add description for
121 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
122 (allocate_coding_system): Initialize `ccs_priority_list' in
124 (Fmake_coding_system): Add description about
125 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
127 (Fcoding_system_property): Accept `disable-composition' and
128 `use-entity-reference' in UTF-2000.
129 (struct decoding_stream): Add new member `er_counter' and `er_buf'
131 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
132 (decode_coding_utf8): Decode entity-reference if
133 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
134 (char_encode_utf8): Encode non-Unicode characters as
135 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
137 (syms_of_file_coding): Add new symbols `use-entity-reference',
139 (vars_of_file_coding): Add new variable
140 `coded-charset-entity-reference-alist'.
141 (complex_vars_of_file_coding): Declare `disable-composition' and
142 `use-entity-reference' to be coding-system-properties in UTF-2000.
144 * file-coding.h (struct Lisp_Coding_System): Add new member
145 `use_entity_reference' and `ccs_priority_list'.
146 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
147 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
148 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
150 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
152 * chartab.c (save_uint8_byte_table): Don't clear the table.
153 (save_uint16_byte_table): Likewise.
154 (save_byte_table): Likewise.
155 (Fmount_char_attribute_table): New function.
156 (syms_of_chartab): Add new builtin function
157 `mount-char-attribute-table'.
159 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
161 * mule-charset.c (Fsave_charset_mapping_table): Open database as
163 (load_char_decoding_entry_maybe): Open database as read-only mode.
165 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
166 open database as "w+" mode.
167 (load_char_attribute_maybe): Open database as read-only mode.
168 (Fload_char_attribute_table): Likewise.
170 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
172 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
173 (char_table_description): Delete member `db_file'.
174 (Fmake_char_table): Don't refer `ct->db_file'.
175 (Fcopy_char_table): Likewise.
176 (Fsave_char_attribute_table): Likewise.
177 (Fclose_char_attribute_table): Likewise.
178 (Freset_char_attribute_table): Likewise.
179 (load_char_attribute_maybe): Likewise.
180 (Fload_char_attribute_table): Likewise.
182 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
184 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
186 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
187 (Fsave_char_attribute_table): Don't check `ct->db_file' if
189 (load_char_attribute_maybe): Likewise.
190 (Fload_char_attribute_table): Likewise.
192 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
194 * chartab.c (Fclose_char_attribute_table): Set Qnil on
195 `ct->db_file' unconditionally.
197 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
199 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
201 (char_table_description): Add description for `db_file' and `db'
203 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
205 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
206 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
207 (Fclose_char_attribute_table): New function.
208 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
209 (load_char_attribute_maybe): Change interface; use `cit->db_file'
211 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
212 (syms_of_chartab): Add new builtin function
213 `Fclose_char_attribute_table'.
215 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
217 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
219 (load_char_attribute_maybe): Change interface.
220 (get_char_id_table): Modify for `load_char_attribute_maybe'.
222 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
224 * database.h: Add an EXFUN for `Fdatabase_live_p'.
226 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
228 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
229 instead of `DECODE_CHAR' for mother; don't use special code for
230 chinese-big5 to use code space of chinese-big5-1 and
232 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
233 `MAX_CHAR_BIG5_CDP' for chinese-big5.
235 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
236 (MAX_CHAR_BIG5_CDP): Revival.
238 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
240 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
241 the XLFD registry-encoding name of `chinese-big5'.
243 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
245 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
246 (Qchinese_big5_cdp): Deleted.
247 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
248 (complex_vars_of_mule_charset): Delete coded-charset
251 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
252 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
253 `CHARSET_ID_OFFSET - n' for private CCS.
254 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
255 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
256 of `MIN_LEADING_BYTE'.
257 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
258 `(CHARSET_ID_OFFSET - 97)'.
259 (MIN_CHAR_BIG5_CDP): Deleted.
260 (MAX_CHAR_BIG5_CDP): Deleted.
262 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
264 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
266 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
268 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
269 (vars_of_mule): Add new variable `utf-2000-version' [moved from
272 * chartab.c (Vutf_2000_version): Moved to mule.c.
273 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
275 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
277 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
278 when HAVE_CHISE_CLIENT is not defined.
280 * mule.c (vars_of_mule): Provide feature `chise' when
281 HAVE_CHISE_CLIENT is defined.
283 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
285 * config.h.in (UTF2000): Add comment.
286 (HAVE_CHISE_CLIENT): New macro.
288 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
290 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
292 (Fput_char_attribute): Likewise.
293 (char_attribute_system_db_file): Encode file-name of attribute.
294 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
297 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
299 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
300 (Fsave_charset_mapping_table): Use
301 `char_attribute_system_db_file'.
302 (load_char_decoding_entry_maybe): Likewise.
304 * chartab.h (Qsystem_char_id): New external variable.
305 (char_attribute_system_db_file): New prototype.
307 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
308 (char_attribute_system_db_file): New function.
309 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
310 (Freset_char_attribute_table): Likewise.
311 (load_char_attribute_maybe): Likewise.
312 (Fload_char_attribute_table): Likewise.
313 (syms_of_chartab): Add new symbol `system-char-id'.
315 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
317 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
318 `XCHARSET_GRAPHIC(ccs)'.
320 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
322 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
324 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
326 * chartab.c (Q_ucs_variants): New variable.
327 (syms_of_chartab): Add new symbol `->ucs-variants'.
328 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
329 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
330 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
332 * mule-charset.c (load_char_decoding_entry_maybe): New function.
334 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
335 `HAVE_DATABASE' is defined.
336 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
337 `HAVE_DATABASE' is defined.
339 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
341 * chartab.c (Fsave_char_attribute_table): Don't clear internal
343 (Freset_char_attribute_table): New function.
344 (syms_of_chartab): Add new builtin function
345 `reset-char-attribute-table'.
347 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
349 * chartab.c (load_char_attribute_maybe): Don't make directories.
351 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
353 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
355 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
358 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
360 * mule-charset.c (Fsave_charset_mapping_table): Use
361 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
363 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
364 instead of `XCHARSET_CHARS'.
366 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
368 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
369 (XCHARSET_BYTE_SIZE): Likewise.
371 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
373 (XCHARSET_BYTE_SIZE): Likewise.
375 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
377 * chartab.c (Fput_char_attribute): Use exec-directory instead of
378 data-directory to store database.
379 (Fsave_char_attribute_table): Likewise.
380 (load_char_attribute_maybe): Likewise.
381 (Fload_char_attribute_table): Likewise.
383 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
385 * mule-charset.c (Fsave_charset_mapping_table): New function.
386 (syms_of_mule_charset): Add new builtin function
387 `save-charset-mapping-table'.
389 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
391 * char-ucs.h (decoding_table_check_elements): Delete prototype.
392 (get_ccs_octet_table): New inline function.
393 (put_ccs_octet_table): Likewise.
394 (decoding_table_put_char): Use `get_ccs_octet_table' and
395 `put_ccs_octet_table'.
396 (decoding_table_remove_char): Use `decoding_table_put_char'.
397 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
399 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
401 (make_charset): Use Qunbound instead Qnil as initial value of
404 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
406 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
407 element is Qunloaded.
408 (map_over_uint16_byte_table): Likewise.
409 (map_over_byte_table): Likewise.
410 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
411 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
412 database support, load encoding-table of the specified
413 coded-charset if it is not loaded yet.
414 (save_uint8_byte_table): New function of UTF-2000 with external
416 (save_uint16_byte_table): Likewise.
417 (save_byte_table): Likewise.
418 (Fput_char_attribute): Don't store value into external database
419 even if the external database feature is supported in UTF-2000;
420 set `attribute' as name of char-table if the external database
421 feature is supported.
422 (Fsave_char_attribute_table): New function in UTF-2000.
423 (syms_of_chartab): Add new builtin function
424 `save-char-attribute-table' in UTF-2000.
426 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
428 * chartab.c (char_attribute_table_to_put): New variable in
430 (Qput_char_table_map_function): Likewise.
431 (value_to_put): Likewise.
432 (Fput_char_table_map_function): New function in UTF-2000.
433 (put_char_table): Use `Fmap_char_attribute' for
434 CHARTAB_RANGE_CHARSET in UTF-2000.
435 (Fput_char_attribute): Store symbol instead of string in
436 `XCHAR_TABLE_NAME (table)'.
437 (load_char_attribute_maybe): Likewise.
438 (syms_of_chartab): Add new symbol/function
439 `put-char-table-map-function'.
441 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
443 * database.h: Add new EXFUN for `Fmap_database'.
445 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
446 (syms_of_database): Likewise.
448 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
450 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
451 (XCHAR_TABLE_UNLOADED): Likewise.
453 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
454 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
455 HAVE_DATABASE is defined.
456 (char_attribute_table_to_load): New variable of UTF-2000 with
457 external database support.
458 (Qload_char_attribute_table_map_function): Likewise.
459 (Fload_char_attribute_table_map_function): New function of
460 UTF-2000 with external database support.
461 (Fload_char_attribute_table): New function of UTF-2000.
462 (Fmap_char_attribute): Call Fload_char_attribute_table if
463 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
464 (syms_of_chartab): Add new symbol and function
465 `load-char-attribute-table-map-function' in UTF-2000 with external
466 database support; add new function `load-char-attribute-table' in
469 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
471 * chartab.h (load_char_attribute_maybe): New prototype for
472 UTF-2000 with DATABASE support.
473 (get_char_id_table): Use `load_char_attribute_maybe' if
474 HAVE_DATABASE is defined.
476 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
477 with DATABASE support.
479 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
481 * chartab.c (Fput_char_attribute): Use S-expression as key of
484 * chartab.h (get_char_id_table): Use S-expression as key of
487 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
489 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
490 if an element is not loaded, load the corresponding attributes
491 from an external database.
492 (map_over_uint16_byte_table): Likewise.
493 (map_over_byte_table): Likewise.
494 (map_char_table): Modify for `map_over_uint8_byte_table',
495 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
496 element is not loaded, load the corresponding attributes from an
498 (Fput_char_attribute): Change initial values to Qunloaded.
500 * chartab.h (get_char_id_table): If a character attribute is not
501 loaded and the attribute value is not found in an external
502 database, store Qunbound as the attribute value.
504 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
506 * chartab.c (BT_UINT8_unloaded): New macro.
507 (UINT8_VALUE_P): Accept Qunloaded.
508 (UINT8_ENCODE): Likewise.
509 (UINT8_DECODE): Likewise.
510 (BT_UINT16_unloaded): New macro.
511 (UINT16_VALUE_P): Accept Qunloaded.
512 (UINT16_ENCODE): Likewise.
513 (UINT16_DECODE): Likewise.
514 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
516 (mark_char_table): Mark `ct->name' in UTF-2000.
517 (char_table_description): Add `name' in UTF-2000.
518 (Fmake_char_table): Initialize `ct->name'.
519 (Fcopy_char_table): Copy `ct->name'.
520 (Fput_char_attribute): Store value into an external database if
521 HAVE_DATABASE is defined.
523 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
525 (CHAR_TABLE_NAME): New macro in UTF-2000.
526 (XCHAR_TABLE_NAME): New macro in UTF-2000.
527 (get_char_id_table): Try to read an external database if Qunloaded
528 is stored in a table.
530 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
533 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
535 * database.h: Add EXFUN definitions for Fopen_database,
536 Fput_database, Fget_database and Fclose_database.
538 * data.c (Qunloaded): New variable in UTF-2000.
540 * lisp.h (Qunloaded): New variable in UTF-2000.
542 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
544 * mule-charset.c (put_char_ccs_code_point): Modify for
545 `decoding_table_remove_char' and `decoding_table_put_char'.
546 (remove_char_ccs): Modify for `decoding_table_remove_char'.
548 * char-ucs.h (decoding_table_remove_char): Change arguments to
549 hide decoding_table vector.
550 (decoding_table_put_char): Likewise.
552 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
554 * mule-charset.c (decoding_table_remove_char): Moved to
556 (decoding_table_put_char): Likewise.
558 * char-ucs.h (decoding_table_check_elements): New prototype [moved
559 from mule-charset.c].
560 (decoding_table_remove_char): New inline function [moved from
562 (decoding_table_put_char): Likewise.
564 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
566 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
569 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
571 * mule-charset.c (decode_builtin_char): Support mother charsets.
573 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
575 * mule-charset.c (Q94x94x60): New variable.
576 (charset_code_point): Support conversion `94x94x60'.
577 (Fmake_charset): Likewise.
578 (syms_of_mule_charset): Add new symbol `94x94x60'.
580 * char-ucs.h (CONVERSION_94x94x60): New macro.
582 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
584 * mule-charset.c (charset_code_point): Unify code about
587 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
589 * mule-charset.c (charset_code_point): Merge code about builtin
590 characters into code about mother charsets; don't use
591 `range_charset_code_point'.
592 (range_charset_code_point): Deleted.
594 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
596 * mule-charset.c (Qcode_offset): New variable.
597 (Fmake_charset): Use `XUINT' to get value of `min-code' and
598 `max-code'; accept new property `code-offset'.
599 (syms_of_mule_charset): Add new symbol `code-offset'.
601 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
603 * mule-charset.c (range_charset_code_point): Fixed.
605 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
607 * mule-charset.c (decode_builtin_char): Change semantics of
608 code-offset of coded-charset.
609 (charset_code_point): Likewise.
610 (range_charset_code_point): Likewise.
611 (complex_vars_of_mule_charset): Modify for the change.
613 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
615 * mule-charset.c (Fencode_char): Reverse arguments.
617 * mule-charset.c (charset_code_point): Fixed.
619 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
621 * mule-charset.c (Vcharset_mojikyo): Deleted.
622 (Vcharset_mojikyo_2022_1): Deleted.
623 (Vcharset_mojikyo_pj_{1..21}): Deleted.
624 (Qmin_code): New variable in UTF-2000.
625 (Qmax_code): Likewise.
627 (Qconversion): Likewise.
630 (Qmojikyo_2022_1): Deleted.
631 (Qmojikyo_pj_{1..22}): Deleted.
632 (mark_charset): Mark `cs->mother'.
633 (charset_description): Add description for `mother'.
634 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
635 new arguments `mother' and `conversion'; use
636 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
637 (charset_code_point): Moved from char-ucs.h; support `mother'
639 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
640 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
641 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
642 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
643 allow 2 as the value of `graphic' in UTF-2000; add new properties
644 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
645 require `final' in UTF-2000; modify for `make_charset'.
646 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
647 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
648 (Fcharset_property): Support `mother', `min-code' and `max-code'.
649 (Fencode_char): New function.
650 (syms_of_mule_charset): Add new builtin function `encode-char' in
651 UTF-2000; add new symbols `min-code', `max-code', `mother',
652 `conversion' and `94x60'; delete symbols `mojikyo',
653 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
654 (complex_vars_of_mule_charset): Modify for `make_charset' change;
655 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
656 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
658 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
659 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
661 * char-ucs.h (Vcharset_mojikyo): Deleted.
662 (Vcharset_mojikyo_2022_1): Deleted.
663 (LEADING_BYTE_MOJIKYO): Deleted.
664 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
665 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
666 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
667 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
668 add new member `mother'; add new member `conversion'.
669 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
670 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
671 (CHARSET_MOTHER): New macro.
672 (CHARSET_CONVERSION): New macro.
673 (CONVERSION_IDENTICAL): New macro.
674 (CONVERSION_94x60): New macro.
675 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
676 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
677 (XCHARSET_MOTHER): New macro.
678 (XCHARSET_CONVERSION): New macro.
679 (MIN_CHAR_MOJIKYO): Deleted.
680 (MAX_CHAR_MOJIKYO): Deleted.
681 (DECODE_MOJIKYO_2022): Deleted.
682 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
683 (charset_code_point): Changed to non-inline function.
684 (encode_char_1): Use `charset_code_point'.
685 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
687 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
689 * lread.c (read_compiled_function): Fix prototype.
690 (read_vector): Likewise.
692 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
694 * lrecord.h (struct lrecord_header): Delete `older'.
695 (set_lheader_implementation): Delete code for `older'.
696 (set_lheader_older_implementation): Deleted.
697 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
698 (OLDER_RECORD_P): Deleted.
699 (OLDER_RECORD_HEADER_P): Deleted.
700 (alloc_older_lcrecord): Deleted.
701 (alloc_older_lcrecord_type): Deleted.
703 * alloc.c (all_older_lcrecords): Deleted.
704 (alloc_older_lcrecord): Deleted.
705 (disksave_object_finalization_1): Delete code for older objects.
706 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
707 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
709 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
711 * mule-charset.c (decoding_table_put_char): Use `make_vector'
712 instead of `make_older_vector'.
713 (put_char_ccs_code_point): Likewise.
714 (mark_charset): Mark `cs->decoding_table'.
715 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
717 * lisp.h (make_older_vector): Deleted.
718 (make_vector_newer): Deleted.
720 * config.h.in (HAVE_GGC): Deleted.
722 * alloc.c (make_older_vector): Deleted.
723 (make_vector_newer_1): Deleted.
724 (make_vector_newer): Deleted.
726 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
728 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
729 (Qideograph_daikanwa_2): New variable.
730 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
731 (complex_vars_of_mule_charset): Add new coded-charset
732 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
733 `LEADING_BYTE_DAIKANWA'.
735 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
736 (LEADING_BYTE_DAIKANWA_1): New macro.
737 (LEADING_BYTE_DAIKANWA_2): New macro.
738 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
740 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
742 * mule-charset.c (complex_vars_of_mule_charset): Change
743 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
744 the second revised version.
746 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
748 * mule-charset.c (Vcharset_ucs_smp): New variable.
749 (Vcharset_ucs_sip): New variable.
750 (Qucs_smp): New variable.
751 (Qucs_sip): New variable.
752 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
753 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
754 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
755 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
756 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
757 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
759 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
760 (LEADING_BYTE_UCS_SIP): New macro.
761 (MIN_CHAR_SMP): New macro.
762 (MAX_CHAR_SMP): New macro.
763 (MIN_CHAR_SIP): New macro.
764 (MAX_CHAR_SIP): New macro.
766 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
768 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
771 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
773 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
774 value; don't store value into `encoding_table' of `Lisp_Charset'.
775 (mark_charset): `encoding_table' was deleted.
776 (charset_description): Likewise.
777 (make_charset): Likewise.
778 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
779 `put_char_ccs_code_point'.
781 * chartab.h (Fput_char_attribute): New EXFUN.
783 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
784 is unified with normal symbol space.
785 (Fget_char_attribute): Likewise.
786 (Fput_char_attribute): Likewise; behavior of
787 `put_char_ccs_code_point' is changed.
789 * char-ucs.h: Include "elhash.h".
790 (Vchar_attribute_hash_table): New external variable.
791 (struct Lisp_Charset): Delete `encoding_table'.
792 (CHARSET_ENCODING_TABLE): New implementation; refer
793 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
796 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
798 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
801 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
803 * text-coding.c (char_encode_big5): Prefer charset-g1 than
806 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
808 * chartab.c (uint8_byte_table_description): New constant.
809 (uint8-byte-table): Use `uint8_byte_table_description'.
810 (uint16_byte_table_description): New constant.
811 (uint16-byte-table): Use `uint16_byte_table_description'.
813 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
815 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
816 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
818 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
820 * mule-charset.c (Vcharset_ucs_ks): New variable.
821 (Qucs_ks): New variable.
822 (syms_of_mule_charset): Add new symbol `ucs-ks'.
823 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
825 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
827 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
829 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
830 (Fdecode_char): Likewise.
832 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
834 (Fdefine_char): Modify for Fdecode_char.
835 (Ffind_char): Likewise.
837 * mule-charset.c (Fdecode_char): Add new optional argument
839 (Fdecode_builtin_char): Modify for `Fdecode_char'.
841 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
843 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
844 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
845 (allocate_coding_system): Initialize initial-charsets of
846 CODESYS_BIG5 in XEmacs UTF-2000.
847 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
848 CODESYS_BIG5 in XEmacs UTF-2000.
849 (decode_coding_big5): Use initial-charset-g0 and -g1 of
850 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
852 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
854 (Qideograph_hanziku_{1 .. 12}): Likewise.
855 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
857 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
858 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
859 `ideograph-hanziku-{1 .. 12}'.
861 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
862 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
863 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
864 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
865 (DECODE_DEFINED_CHAR): New inline function.
866 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
868 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
870 * mule-charset.c (Vcharset_china3_jef): Renamed from
871 `Vcharset_japanese_jef_china3'.
872 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
873 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
874 `{MIN|MAX}_CHAR_JEF_CHINA3'..
875 (syms_of_mule_charset): Rename `china3-jef' from
876 `japanese-jef-china3'.
877 (complex_vars_of_mule_charset): Likewise; rename
878 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
880 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
881 `LEADING_BYTE_JEF_CHINA3'.
882 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
883 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
885 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
887 * mule-charset.c (encode_builtin_char_1): Comment out special code
888 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
890 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
891 (MAX_CHAR_MOJIKYO_0): Comment out.
892 (MIN_CHAR_CBETA): Changed to 0x00E20000.
893 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
894 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
895 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
897 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
899 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
900 (Qideograph_cbeta): New variable.
901 (encode_builtin_char_1): Comment out special code for
902 coded-charset `mojikyo' and `japanese-jef-china3'.
903 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
904 (complex_vars_of_mule_charset): Add new coded-charset
907 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
908 (MIN_CHAR_CBETA): New macro.
909 (MAX_CHAR_CBETA): New macro.
911 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
913 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
914 (LEADING_BYTE_JEF_CHINA3): New macro.
915 (MIN_CHAR_JEF_CHINA3): New macro.
916 (MAX_CHAR_JEF_CHINA3): Likewise.
917 (DECODE_CHAR): Fixed.
919 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
921 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
922 (Qjapanese_jef_china3): New variable.
923 (encode_builtin_char_1): Support `japanese-jef-china3'.
924 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
925 (complex_vars_of_mule_charset): Add new coded-charset
926 `japanese-jef-china3'.
928 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
930 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
931 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
932 94^4, 96^3, 96^4, 128^n and 256^n set.
933 (put_char_table): Use `XCHARSET_CELL_RANGE'.
934 (map_char_table): Likewise.
936 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
938 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
941 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
943 * chartab.h (get_char_id_table): New inline function.
945 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
948 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
950 * chartab.h (decode_char_table_range): New prototype in XEmacs
952 (put_char_id_table): New inline function in XEmacs UTF-2000.
954 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
956 (decode_char_table_range): Delete static declaration in XEmacs
959 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
961 * chartab.c (put_char_id_table): Use `put_char_table'.
963 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
965 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
966 (map_over_uint16_byte_table): Likewise.
967 (map_over_byte_table): Likewise.
968 (map_char_table): Modify for `map_over_uint8_byte_table',
969 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
972 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
974 * chartab.c (struct map_char_table_for_charset_arg): New
976 (map_char_table_for_charset_fun): New function.
977 (map_char_table): Use `map_char_table' for encoding_table of
980 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
982 * chartab.c (map_char_table): Check a character is found in
983 range->charset instead of non default value is defined in
984 char-table when range is CHARTAB_RANGE_ROW.
986 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
988 * chartab.c (map_char_id_table): Deleted.
989 (Fmap_char_attribute): Use `map_char_table' instead of
992 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
994 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
996 (update_syntax_table): Deleted in XEmacs UTF-2000.
998 * syntax.c (find_defun_start): Use `syntax_table' instead of
999 `mirror_syntax_table' in XEmacs UTF-2000.
1000 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1002 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1004 (Fmatching_paren): Likewise.
1005 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1007 (find_start_of_comment): Likewise.
1008 (find_end_of_comment): Likewise.
1009 (Fforward_comment): Likewise.
1010 (scan_lists): Likewise.
1011 (char_quoted): Likewise.
1012 (Fbackward_prefix_chars): Likewise.
1013 (scan_sexps_forward): Likewise.
1014 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1015 (update_syntax_table): Likewise.
1017 * search.c (skip_chars): Use `syntax_table' instead of
1018 `mirror_syntax_table' in XEmacs UTF-2000.
1019 (wordify): Likewise.
1020 (Freplace_match): Likewise.
1022 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1023 `mirror_syntax_table' in XEmacs UTF-2000.
1024 (WORDCHAR_P_UNSAFE): Likewise.
1025 (re_match_2_internal): Likewise.
1027 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1028 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1030 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1031 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1033 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1036 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1038 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1039 (char_table_description): Delete `mirror_table' in XEmacs
1041 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1043 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1044 (Fcopy_char_table): Likewise.
1045 (put_char_table): Don't call `update_syntax_table' in XEmacs
1048 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1049 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1050 (casify_region_internal): Likewise.
1052 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1054 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1055 `mirror_syntax_table' in XEmacs UTF-2000.
1057 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1058 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1059 (Fexpand_abbrev): Likewise.
1061 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1063 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1065 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1067 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1068 (map_over_uint16_byte_table): Likewise.
1069 (map_over_byte_table): Likewise.
1070 (get_char_id_table): Refer `cit->default_value'.
1071 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1072 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1073 of character-id ranges.
1074 (mark_char_table): Mark `ct->default_value'.
1075 (char_table_description): Add `default_value'.
1076 (fill_char_table): Use `default_value'.
1077 (decode_char_table_range): Decode `nil' as
1078 `CHARTAB_RANGE_DEFAULT'.
1079 (get_char_id_table): Refer `cit->default_value'.
1080 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1081 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1082 temporary hack; check value of char-table is bound or not.
1083 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1085 * chartab.h (struct Lisp_Char_Table): Add new member
1086 `default_value' in XEmacs UTF-2000.
1087 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1088 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1091 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1093 * chartab.h (Lisp_Char_ID_Table): Deleted.
1095 * chartab.c (char_table_description): Fix typo.
1096 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1097 `Lisp_Char_ID_Table'.
1099 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1101 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1104 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1107 * chartab.h (XCHAR_ID_TABLE): Deleted.
1108 (XSETCHAR_ID_TABLE): Deleted.
1109 (CHAR_ID_TABLE_P): Deleted.
1111 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1113 (Fget_composite_char): Likewise.
1114 (put_char_table): Likewise.
1115 (add_char_attribute_alist_mapper): Fixed.
1116 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1118 (Fget_char_attribute): Likewise.
1119 (Fget_char_attribute): Likewise.
1120 (Fmap_char_attribute): Likewise.
1122 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1124 (encode_char_1): Likewise.
1126 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1128 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1131 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1132 instead of `XCHAR_ID_TABLE'.
1133 (remove_char_ccs): Likewise.
1135 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1137 (Fget_composite_char): Likewise.
1138 (Fchar_variants): Likewise.
1139 (put_char_table): Likewise.
1140 (add_char_attribute_alist_mapper): Likewise.
1141 (Fchar_attribute_alist): Likewise.
1142 (Fget_char_attribute): Likewise.
1143 (Fput_char_attribute): Likewise.
1144 (Fmap_char_attribute): Likewise.
1145 (Fmap_char_attribute): Likewise.
1147 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1149 (encode_char_1): Likewise.
1151 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1153 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1154 `Lisp_Char_ID_Table'.
1155 (mark_char_id_table): Deleted.
1156 (print_char_id_table): Likewise.
1157 (char_id_table_equal): Likewise.
1158 (char_id_table_hash): Likewise.
1159 (char_id_table_description): Likewise.
1160 (char_id_table): Likewise.
1161 (make_char_id_table): Use `Fmake_char_table' and
1163 (get_char_id_table): Use `Lisp_Char_Table' instead of
1164 `Lisp_Char_ID_Table'.
1165 (put_char_id_table): Likewise.
1166 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1168 (Fremove_char_attribute): Likewise.
1169 (syms_of_chartab): Don't define type `char-id-table'.
1171 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1172 (char_id_table): Likewise.
1173 (GC_CHAR_ID_TABLE_P): Likewise.
1174 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1175 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1176 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1177 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1178 (get_char_id_table): Use `Lisp_Char_Table' instead of
1179 `Lisp_Char_ID_Table'.
1180 (put_char_id_table_0): Likewise.
1181 (put_char_id_table): Likewise.
1183 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1185 * chartab.h: Lisp_Byte_Table related codes are moved from
1188 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1190 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1192 * chartab.h: Don't include "chartab.h".
1193 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1194 (Lisp_Char_ID_Table): Likewise.
1195 (char_id_table): Likewise.
1196 (XCHAR_ID_TABLE): Likewise.
1197 (XSETCHAR_ID_TABLE): Likewise.
1198 (CHAR_ID_TABLE_P): Likewise.
1199 (GC_CHAR_ID_TABLE_P): Likewise.
1200 (get_char_id_table): Likewise.
1202 * char-ucs.h: Include "chartab.h".
1203 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1204 (Lisp_Char_ID_Table): Likewise.
1205 (char_id_table): Likewise.
1206 (XCHAR_ID_TABLE): Likewise.
1207 (XSETCHAR_ID_TABLE): Likewise.
1208 (CHAR_ID_TABLE_P): Likewise.
1209 (GC_CHAR_ID_TABLE_P): Likewise.
1210 (get_char_id_table): Likewise.
1212 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1214 * chartab.c (copy_uint8_byte_table): New function.
1215 (copy_uint16_byte_table): New function.
1216 (copy_byte_table): New function.
1217 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1219 (map_over_uint16_byte_table): Likewise.
1220 (map_over_byte_table): Likewise.
1221 (get_byte_table): Move prototype to chartab.h.
1222 (put_byte_table): Likewise.
1223 (put_char_id_table_0): Moved to chartab.h.
1224 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1225 (char_table_entry_equal): Likewise.
1226 (char_table_entry_hash): Likewise.
1227 (char_table_entry_description): Likewise.
1228 (char_table_entry): Likewise.
1229 (make_char_table_entry): Likewise.
1230 (copy_char_table_entry): Likewise.
1231 (get_non_ascii_char_table_value): Likewise.
1232 (map_over_charset_ascii): Likewise.
1233 (map_over_charset_control_1): Likewise.
1234 (map_over_charset_row): Likewise.
1235 (map_over_other_charset): Likewise.
1236 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1237 (print_char_table): Likewise.
1238 (char_table_equal): Likewise.
1239 (char_table_hash): Likewise.
1240 (char_table_description): Likewise.
1241 (fill_char_table): Likewise.
1242 (Fcopy_char_table): Likewise.
1243 (get_char_table): Likewise.
1244 (Fget_range_char_table): Likewise.
1245 (put_char_table): Likewise.
1246 (map_char_table): Likewise.
1247 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1250 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1252 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1253 `Vauto_fill_chars' in XEmacs UTF-2000.
1255 * chartab.h (get_byte_table): New prototype [moved from
1257 (put_byte_table): Likewise [moved from chartab.c].
1258 (put_char_id_table_0): New inline function [moved from chartab.c].
1259 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1260 (Lisp_Char_Table_Entry): Likewise.
1261 (char_table_entry): Likewise.
1262 (XCHAR_TABLE_ENTRY): Likewise.
1263 (XSETCHAR_TABLE_ENTRY): Likewise.
1264 (CHAR_TABLE_ENTRYP): Likewise.
1265 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1266 (NUM_ASCII_CHARS): Likewise.
1267 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1268 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1270 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1272 * chartab.c (get_char_id_table): Change interface.
1273 (put_char_id_table_0): New function.
1274 (put_char_id_table): Change interface; new implementation.
1275 (Fget_composite_char): Modify for interface change of
1276 `get_char_id_table'.
1277 (Fchar_variants): Likewise.
1278 (add_char_attribute_alist_mapper): Likewise.
1279 (Fchar_attribute_alist): Likewise.
1280 (Fget_char_attribute): Likewise.
1281 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1282 as same as character as the first argument like `put-char-table';
1283 modify for interface change of `put_char_id_table'.
1284 (Fremove_char_attribute): Modify for interface change of
1285 `put_char_id_table'.
1287 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1289 * text-coding.c: Sync up with XEmacs 21.2.41.
1290 (COMPOSE_ADD_CHAR): Modify for interface change of
1291 `get_char_id_table'.
1293 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1294 change of `put_char_id_table'.
1295 (remove_char_ccs): Likewise.
1297 * chartab.h (put_char_id_table): Change interface.
1299 * char-ucs.h (get_char_id_table): Change interface.
1300 (charset_code_point): Modify for interface change of
1301 `get_char_id_table'.
1302 (encode_char_1): Likewise.
1304 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1306 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1308 (map_over_uint16_byte_table): Likewise.
1309 (map_over_byte_table): Likewise.
1310 (map_char_id_table): Add new argument `range' like
1312 (Fmap_char_attribute): Add new argument `range' like
1315 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1317 * chartab.c (map_over_uint8_byte_table): Change interface of
1318 mapping function to use struct chartab_range instead of Emchar.
1319 (map_over_uint16_byte_table): Likewise.
1320 (map_over_byte_table): Likewise.
1321 (map_char_id_table): Likewise.
1322 (struct slow_map_char_id_table_arg): Deleted.
1323 (slow_map_char_id_table_fun): Deleted.
1324 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1325 function `slow_map_char_table_fun' instead of struct
1326 `slow_map_char_id_table_arg' and function
1327 `slow_map_char_id_table_fun'.
1329 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1331 * mule-charset.c: Move char-it-table related codes to chartab.c.
1332 (Vutf_2000_version): Moved to chartab.c.
1333 (Fdefine_char): Likewise.
1334 (Ffind_char): Likewise.
1335 (syms_of_mule_charset): Move types `uint8-byte-table',
1336 `uint16-byte-table', `byte-table' and `char-id-table' to
1337 chartab.c; move functions `char_attribute_list,
1338 `find_char_attribute_table, `char_attribute_alist,
1339 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1340 `map_char_attribute, `define_char, `find_char, `char_variants and
1341 `get_composite_char to chartab.c; move symbols `=>ucs',
1342 `->decomposition', `compat', `isolated', `initial', `medial',
1343 `final', `vertical', `noBreak', `fraction', `super', `sub',
1344 `circle', `square', `wide', `narrow', `small' and `font' to
1346 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1347 setting codes for `Vcharacter_composition_table' and
1348 `Vcharacter_variant_table' to chartab.c.
1349 (complex_vars_of_mule_charset): Move setting code for
1350 `Vchar_attribute_hash_table' to chartab.c.
1352 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1353 (make_char_id_table): New prototype.
1354 (put_char_id_table): Likewise.
1355 (Fget_char_attribute): Likewise.
1357 * chartab.c: Move char-id-table related code from mule-charset.c.
1358 (Vutf_2000_version): Moved from mule-charset.c.
1360 * char-ucs.h (Qucs): New external variable.
1361 (put_char_ccs_code_point): New prototype.
1362 (remove_char_ccs): Likewise.
1364 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1366 * mule-charset.c (Vcharset_ucs_jis): New variable.
1367 (Qucs_jis): Likewise.
1368 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1369 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1371 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1373 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1375 * mule-charset.c (map_over_uint8_byte_table): New function.
1376 (map_over_uint16_byte_table): Likewise.
1377 (map_over_byte_table): Likewise.
1378 (map_char_id_table): Likewise.
1379 (slow_map_char_id_table_fun): Likewise.
1380 (Fmap_char_attribute): Likewise.
1381 (syms_of_mule_charset): Add new function `map-char-attribute'.
1383 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1385 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1386 (syms_of_mule_charset): Add new function `find-char'.
1388 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1390 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1392 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1393 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1395 (complex_vars_of_mule_charset): Add new coded-charset
1396 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1397 `ideograph-gt-pj-*'.
1399 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1401 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1403 * mule-charset.c (encode_builtin_char_1): Purge codes about
1404 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1405 {MIN|MAX}_CHAR_HEBREW.
1406 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1407 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1409 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1410 (MAX_CHAR_GREEK): Purged.
1411 (MIN_CHAR_CYRILLIC): Purged.
1412 (MAX_CHAR_CYRILLIC): Purged.
1413 (MIN_CHAR_HEBREW): Commented out.
1414 (MAX_CHAR_HEBREW): Likewise.
1416 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1418 * mule-charset.c (Qto_ucs): New variable.
1419 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1420 (Fdefine_char): Likewise.
1421 (syms_of_mule_charset): Add new symbol `=>ucs'.
1423 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1425 * mule-charset.c (Fdecode_char): Fixed.
1427 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1429 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1430 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1433 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1435 * mule-charset.c (Vcharset_ucs_big5): New variable.
1436 (Qucs_big5): Likewise.
1437 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1438 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1440 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1442 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1444 * mule-charset.c (decode_builtin_char): Check Big5 code range
1445 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1447 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1449 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1450 (Qchinese_gb12345): Likewise.
1451 (Fdecode_builtin_char): Fixed.
1452 (syms_of_mule_charset): Add `chinese-gb12345'.
1453 (complex_vars_of_mule_charset): Add coded-charset
1456 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1457 (LEADING_BYTE_CHINESE_GB12345): New macro.
1459 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1461 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1462 and `latin-viscii-upper' for `latin-viscii'.
1464 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1466 * mule-charset.c (Fdecode_builtin_char): Comment out
1467 regularization code for ISO-IR GR representation.
1469 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1471 * mule-charset.c (decode_builtin_char): New function; renamed from
1472 `make_builtin_char'; return -1 instead of signal.
1473 (Fdecode_builtin_char): Use `decode_builtin_char'.
1475 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1476 `make_builtin_char'.
1477 (DECODE_CHAR): Use `decode_builtin_char' instead of
1478 `make_builtin_char'; use mapping table of `chinese-big5' for
1479 `chinese-big5-{1,2}'.
1481 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1483 * text-coding.c (char_encode_big5): New function.
1484 (char_finish_big5): Likewise.
1485 (reset_encoding_stream): Use `char_encode_big5' and
1486 `char_finish_big5' for CODESYS_BIG5.
1487 (mule_encode): Don't use `encode_coding_big5'.
1488 (encode_coding_big5): Deleted.
1490 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1492 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1493 0x81- in XEmacs UTF-2000.
1494 (detect_coding_big5): Likewise.
1496 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1498 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1499 generate character-id if the CCS property does not have
1500 corresponding predefined character.
1501 (make_builtin_char): Return -1 if corresponding predefined
1502 character is not found.
1503 (Fdecode_char): Return nil if corresponding character is not
1505 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1506 don't map to builtin ucs space.
1508 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1510 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1511 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1513 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1515 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1516 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1517 (Qideograph_gt): Likewise.
1518 (Qideograph_gt_pj_{1..11}): Likewise.
1519 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1520 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1521 `ideograph-gt-pj-11'.
1522 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1523 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1524 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1526 * char-ucs.h (LEADING_BYTE_GT): New macro.
1527 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1528 (MIN_CHAR_GT): Likewise.
1529 (MAX_CHAR_GT): Likewise.
1531 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1533 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1534 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1536 * doprnt.c (unsigned_int_converters): Add `c'.
1537 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1539 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1540 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1542 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1543 (MAX_CHAR_MOJIKYO_0): New macro.
1544 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1546 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1548 * mule-charset.c (Fdefine_char): Delete cemented out code.
1549 (encode_builtin_char_1): Modify for new allocation of builtin
1552 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1554 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1556 * mule-charset.c (Vcharset_ucs_cns): New variable.
1557 (Qucs_cns): New variable.
1558 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1559 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1561 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1563 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1565 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1567 * search.c (search_buffer): Make `charset_base_code' as
1568 character-id >> 6 to eliminate the corresponding last byte in
1569 UTF-8 representation [I'm not sure it is right thing].
1570 (boyer_moore): Likewise.
1572 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1574 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1575 representation in MULE.
1577 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1579 * text-coding.c (Fmake_coding_system): Use
1580 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1581 `EXTERNAL_PROPERTY_LIST_LOOP'.
1583 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1585 * text-coding.c (decode_output_utf8_partial_char): New function.
1586 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1588 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1590 * text-coding.c (decode_coding_utf8): Output original byte
1591 sequence if it is broken; change order of conditions.
1593 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1596 * mb-multibyte.h (BYTE_ASCII_P):
1597 Use bit ops for char-signedness safety.
1598 (BYTE_C0_P): Use bit ops for char-signedness safety.
1599 (BYTE_C1_P): Use bit ops for char-signedness safety.
1601 * character.h: (XCHAR_OR_CHAR_INT):
1602 Always use inline function.
1603 Remove redundant type checking assert() - XINT will abort quite
1606 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1608 * text-coding.c: (Fencode_shift_jis_char):
1609 (Fencode_big5_char):
1610 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1611 Replace 0 with '\0' when working with bytes.
1612 Replace initial "(" with "\(" in docstrings.
1614 (Fmake_coding_system):
1615 When type is ccl and value is vector, register it with a proper
1616 symbol. And checks whether the given ccl program is valid.
1617 (mule_decode): When calling ccl_driver, if src indicates
1618 NULL pointer, set an empty string instead.
1619 (mule_encode): Likewise.
1622 (detect_coding_sjis):
1623 (decode_coding_sjis):
1624 (detect_coding_big5):
1625 (decode_coding_big5):
1626 (detect_coding_ucs4):
1627 (decode_coding_ucs4):
1628 (detect_coding_utf8):
1629 (decode_coding_utf8):
1630 (detect_coding_iso2022):
1631 (decode_coding_iso2022):
1632 (decode_coding_no_conversion):
1634 Make all detecting and decoding functions take an Extbyte * arg.
1635 (text_encode_generic):
1636 (encode_coding_big5):
1637 (encode_coding_no_conversion):
1639 Make all encoding functions take a Bufbyte * arg.
1640 Use size_t instead of unsigned int for memory sizes.
1641 Only cast to unsigned char whenever dereferencing Extbyte *.
1643 (struct lrecord_description fcd_description_1): Use countof.
1644 (complex_vars_of_file_coding):
1645 Use countof instead of sizeof.
1646 Use CHECK_NATNUM instead of CHECK_INT.
1648 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1650 * mule-charset.c (Fget_char_attribute): Add new optional argument
1652 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1653 (remove_char_ccs): Likewise.
1655 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1657 * text-coding.c (char_encode_shift_jis): New implementation in
1659 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1662 * mule-charset.c (Vcharset_chinese_big5): New variable in
1664 (Qchinese_big5): New variable in UTF-2000.
1665 (BIG5_SAME_ROW): New macro in UTF-2000.
1666 (make_builtin_char): Use builtin characters of
1667 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1668 characters of `Vcharset_chinese_big5'.
1669 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1670 (complex_vars_of_mule_charset): Add new coded-charset
1671 `chinese-big5' in UTF-2000.
1673 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1674 (Vcharset_chinese_big5): New external variable declaration.
1675 (Vcharset_japanese_jisx0208_1990): Likewise.
1677 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1679 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1681 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1683 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1685 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1686 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1687 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1690 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1692 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1694 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1696 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1699 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1701 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1702 for `CHARSET_BY_ATTRIBUTES'.
1703 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1704 `CHARSET_BY_ATTRIBUTES'.
1706 * text-coding.c (struct decoding_stream): Rename member `CH' to
1708 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1709 (decode_coding_sjis): Likewise.
1710 (decode_coding_big5): Likewise.
1711 (decode_coding_ucs4): Likewise.
1712 (decode_coding_utf8): Likewise.
1713 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1714 `CHARSET_BY_ATTRIBUTES'.
1715 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1716 `str->counter'; decode 3, 4 bytes sets.
1717 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1719 (decode_coding_no_conversion): Use `str->cpos' instead of
1722 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1723 (Qmojikyo_2022_1): New variable.
1724 (make_charset): Don't use `CHARSET_TYPE_*'.
1725 (range_charset_code_point): Support coded-charset
1727 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1728 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1729 `CHARSET_BY_ATTRIBUTES'.
1730 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1731 `CHARSET_BY_ATTRIBUTES'.
1732 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1733 (complex_vars_of_mule_charset): Add new coded-charset
1736 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1737 interface; changed to inline function.
1739 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1740 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1741 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1742 (CHARSET_TYPE_94): Deleted.
1743 (CHARSET_TYPE_94X94): Deleted.
1744 (CHARSET_TYPE_96): Deleted.
1745 (CHARSET_TYPE_96X96): Deleted.
1746 (CHARSET_TYPE_128): Deleted.
1747 (CHARSET_TYPE_128X128): Deleted.
1748 (CHARSET_TYPE_256): Deleted.
1749 (CHARSET_TYPE_256X256): Deleted.
1750 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1752 (DECODE_MOJIKYO_2022): New inline function.
1753 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1754 `Vcharset_mojikyo_2022_1'.
1756 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1758 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1760 (put_byte_table): Likewise.
1761 (char_id_table_equal): Use `get_byte_table' [new implementation].
1763 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1765 * mule-charset.c: Include <limits.h> in UTF-2000.
1766 (BT_UINT8_MIN): New macro in UTF-2000.
1767 (BT_UINT8_MAX): New macro in UTF-2000.
1768 (BT_UINT8_t): New macro in UTF-2000.
1769 (BT_UINT8_nil): New macro in UTF-2000.
1770 (BT_UINT8_unbound): New macro in UTF-2000.
1771 (INT_UINT8_P): New inline function in UTF-2000.
1772 (UINT8_VALUE_P): New inline function in UTF-2000.
1773 (UINT8_ENCODE): New inline function in UTF-2000.
1774 (UINT8_DECODE): New inline function in UTF-2000.
1775 (mark_uint8_byte_table): New function in UTF-2000.
1776 (print_uint8_byte_table): New function in UTF-2000.
1777 (uint8_byte_table_equal): New function in UTF-2000.
1778 (uint8_byte_table_hash): New function in UTF-2000.
1779 (make_uint8_byte_table): New function in UTF-2000.
1780 (uint8_byte_table_same_value_p): New function in UTF-2000.
1781 (BT_UINT16_MIN): New macro in UTF-2000.
1782 (BT_UINT16_MAX): New macro in UTF-2000.
1783 (BT_UINT16_t): New macro in UTF-2000.
1784 (BT_UINT16_nil): New macro in UTF-2000.
1785 (BT_UINT16_unbound): New macro in UTF-2000.
1786 (INT_UINT16_P): New inline function in UTF-2000.
1787 (UINT16_VALUE_P): New inline function in UTF-2000.
1788 (UINT16_ENCODE): New inline function in UTF-2000.
1789 (UINT16_DECODE): New inline function in UTF-2000.
1790 (UINT8_TO_UINT16): New inline function in UTF-2000.
1791 (mark_uint16_byte_table): New function in UTF-2000.
1792 (print_uint16_byte_table): New function in UTF-2000.
1793 (uint16_byte_table_equal): New function in UTF-2000.
1794 (uint16_byte_table_hash): New function in UTF-2000.
1795 (make_uint16_byte_table): New function in UTF-2000.
1796 (uint16_byte_table_same_value_p): New function in UTF-2000.
1797 (print_byte_table): New function in UTF-2000.
1798 (byte-table): Use `print_byte_table' as printer.
1799 (make_byte_table): Delete second argument `older'.
1800 (byte_table_same_value_p): New function in UTF-2000.
1801 (copy_byte_table): Deleted.
1802 (get_byte_table): New function in UTF-2000.
1803 (put_byte_table): New function in UTF-2000.
1804 (print_char_id_table): New function in UTF-2000.
1805 (char-id-table): Use `print_char_id_table' as printer.
1806 (make_char_id_table): Delete second argument `older'.
1807 (get_char_id_table): Use `get_byte_table [new implementation].
1808 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1810 (Ffind_char_attribute_table): New function in UTF-2000.
1811 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1812 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1813 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1814 (syms_of_mule_charset): Add new function
1815 `find-char-attribute-table' in UTF-2000.
1817 * lrecord.h (enum lrecord_type): Add
1818 `lrecord_type_uint16_byte_table' and
1819 `lrecord_type_uint8_byte_table'.
1821 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1822 (Lisp_Uint8_Byte_Table): New type.
1823 (XUINT8_BYTE_TABLE): New macro.
1824 (XSETUINT8_BYTE_TABLE): New macro.
1825 (UINT8_BYTE_TABLE_P): New macro.
1826 (GC_UINT8_BYTE_TABLE_P): New macro.
1827 (struct Lisp_Uint16_Byte_Table): New structure.
1828 (Lisp_Uint16_Byte_Table): New type.
1829 (XUINT16_BYTE_TABLE): New macro.
1830 (XSETUINT16_BYTE_TABLE): New macro.
1831 (UINT16_BYTE_TABLE_P): New macro.
1832 (GC_UINT16_BYTE_TABLE_P): New macro.
1834 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1836 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1837 (Vcharacter_ideographic_strokes_table): Deleted.
1838 (Vcharacter_total_strokes_table): Deleted.
1839 (Vcharacter_morohashi_daikanwa_table): Deleted.
1840 (Vcharacter_decomposition_table): Deleted.
1841 (Qname): Deleted because it is duplicated.
1842 (Qideographic_radical): Deleted.
1843 (Qideographic_strokes): Deleted.
1844 (Qtotal_strokes): Deleted.
1845 (Qmorohashi_daikanwa): Deleted.
1846 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1847 `ideographic-radical', `ideographic-strokes', `total-strokes',
1848 `morohashi-daikanwa' and `->decomposition'.
1849 (Fget_char_attribute): Likewise.
1850 (Fput_char_attribute): Likewise; use `make-vector' instead of
1851 `make_older_vector' for `->decomposition' value.
1852 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1853 `ideograph-daikanwa'.
1854 (syms_of_mule_charset): Delete builtin symbols `name',
1855 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1856 `morohashi-daikanwa'.
1857 (vars_of_mule_charset): Don't setup
1858 `Vcharacter_ideographic_radical_table',
1859 `Vcharacter_ideographic_strokes_table',
1860 `Vcharacter_total_strokes_table',
1861 `Vcharacter_morohashi_daikanwa_table' and
1862 `Vcharacter_decomposition_table'.
1864 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1866 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1867 `make_older_vector', `make_vector_newer_1' and
1868 `make_vector_newer'.
1870 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1871 `make_older_vector' and `make_vector_newer'.
1873 * config.h.in (HAVE_GGC): New macro.
1875 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1877 * mule-charset.c (struct char_attribute_list_closure): New
1878 structure in UTF-2000.
1879 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1880 (Fchar_attribute_list): Likewise.
1881 (Fset_charset_mapping_table): Use `make_vector_newer'.
1882 (Fdecode_builtin_char): New function in UTF-2000.
1883 (syms_of_mule_charset): Add new function `char-attribute-list' and
1884 `decode-builtin-char' in UTF-2000.
1886 * lisp.h (make_vector_newer): New prototype.
1888 * alloc.c (make_vector_newer_1): New function.
1889 (make_vector_newer): New function.
1891 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1893 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1896 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1898 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1899 (Vcharacter_attribute_table): Deleted.
1900 (Vcharacter_name_table): Deleted.
1901 (put_char_attribute): Deleted.
1902 (remove_char_attribute): Deleted.
1903 (struct char_attribute_alist_closure): New structure.
1904 (add_char_attribute_alist_mapper): New function.
1905 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1906 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1907 (Fget_char_attribute): Likewise.
1908 (Fput_char_attribute): Likewise.
1909 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1910 of `remove_char_attribute'.
1911 (Fdefine_char): Return character.
1912 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1913 and `Vcharacter_name_table'.
1914 (complex_vars_of_mule_charset): Likewise
1915 `Vchar_attribute_hash_table'.
1917 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1919 * character.h (CHARC_CHARSET): New macro.
1920 (CHARC_CHARSET_ID): New macro.
1921 (CHARC_CODE_POINT): New macro.
1922 (CHARC_COLUMNS): New macro.
1923 (CHARC_TO_CHAR): New inline function.
1924 (CHARC_EQ): New inline function.
1925 (CHARC_ASCII_EQ): New inline function.
1926 (CHARC_IS_SPACE): New inline function.
1927 (ASCII_TO_CHARC): New inline function.
1929 * char-ucs.h (encode_char_2): Deleted.
1930 (ENCODE_CHAR): Use `encode_char_1' again.
1931 (breakup_char_1): Likewise.
1932 (CHAR_TO_CHARC): New inline function.
1934 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1936 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1938 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1939 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1940 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1941 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1942 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1944 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1946 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1948 (x_output_display_block): Use `CHARC_CHARSET' and
1951 * redisplay-tty.c (tty_output_display_block): Use
1953 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1955 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1957 * insdel.c (find_charsets_in_charc_string): Use
1959 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1960 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1961 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1962 (convert_charc_string_into_malloced_string): Likewise.
1964 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1966 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1967 instead of <Emchar_dynarr *> for buf; use
1968 `convert_bufbyte_string_into_charc_dynarr' instead of
1969 `convert_bufbyte_string_into_emchar_dynarr'; use
1970 `find_charsets_in_charc_string' instead of
1971 `find_charsets_in_emchar_string'.
1974 - Include "character.h".
1975 (struct rune): New member `cglyph'; delete member `chr'.
1977 * redisplay.c (redisplay_text_width_charc_string): New function;
1978 delete `redisplay_text_width_emchar_string'.
1979 (rtw_charc_dynarr): New variable; renamed from
1980 `rtw_emchar_dynarr'.
1981 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
1982 `rtw_emchar_dynarr'; use
1983 `convert_bufbyte_string_into_charc_dynarr' instead of
1984 `convert_bufbyte_string_into_emchar_dynarr'; use
1985 `redisplay_text_width_charc_string' instead of
1986 `redisplay_text_width_emchar_string'.
1987 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1988 instead of `rtw_emchar_dynarr'; use
1989 `convert_bufbyte_string_into_charc_dynarr' instead of
1990 `convert_bufbyte_string_into_emchar_dynarr'.
1991 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1992 `redisplay_text_width_charc_string' instead of
1993 `redisplay_text_width_emchar_string'.
1994 (create_text_block): Modify for <struct rune> change.
1995 (generate_formatted_string_db): Likewise.
1996 (create_string_text_block): Likewise.
1997 (pixel_to_glyph_translation): Likewise.
1999 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2000 instead of <const Emchar *>.
2001 (x_text_width): Likewise.
2002 (x_output_display_block): Use <Charc_dynarr *> instead
2003 <Emchar_dynarr *>; modify for <structure rune> change.
2004 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2007 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2008 <const Emchar *>; use `charc_string_displayed_columns' instead of
2009 `emchar_string_displayed_columns'.
2010 (tty_output_display_block): Use <Charc_dynarr *> instead of
2011 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2012 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2013 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2014 `tty_output_emchar_dynarr_dynarr'.
2015 (tty_output_charc_dynarr): New function; delete
2016 `tty_output_charc_dynarr'.
2018 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2019 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2020 <Emchar_dynarr *> for buf; use
2021 `convert_bufbyte_string_into_charc_dynarr' instead of
2022 `convert_bufbyte_string_into_emchar_dynarr'.
2024 * frame.c (title_string_charc_dynarr): New variable; renamed from
2025 `title_string_emchar_dynarr'.
2026 (generate_title_string): Use `title_string_charc_dynarr' instead
2027 of `title_string_emchar_dynarr'; use
2028 `convert_charc_string_into_malloced_string' instead of
2029 `convert_emchar_string_into_malloced_string'.
2030 (init_frame): Use `title_string_charc_dynarr' instead of
2031 `title_string_emchar_dynarr'.
2034 - Include "character.h".
2035 (struct console_methods): Use <const Charc *> instead of <const
2036 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2037 <Emchar_dynarr *> in output_string_method.
2039 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2042 * console-stream.c (stream_text_width): Use <const Charc *>
2043 instead of <const Emchar *>.
2045 * character.h (Charc_dynarr): New type.
2047 * char-ucs.h (structure Charc): New structure; define new type
2050 * char-lb.h (DECODE_CHAR): New inline function.
2051 (encode_char_1): New inline function.
2052 (ENCODE_CHAR): New macro.
2053 (structure Charc): New structure; define new type `Charc'.
2055 * char-1byte.h (Vcharset_control_1): New macro.
2056 (Vcharset_latin_iso8859_1): New macro.
2057 (DECODE_CHAR): New inline function.
2058 (encode_char_1): New inline function.
2059 (ENCODE_CHAR): New macro.
2060 (structure Charc): New structure; define new type `Charc'.
2062 * insdel.c (find_charsets_in_charc_string): New function; delete
2063 `find_charsets_in_emchar_string'.
2064 (charc_string_displayed_columns): New function; delete
2065 `emchar_string_displayed_columns'.
2066 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2067 `convert_bufbyte_string_into_emchar_dynarr'.
2068 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2069 `convert_charc_string_into_bufbyte_dynarr'.
2070 (convert_charc_string_into_malloced_string): New function; delete
2071 `convert_charc_string_into_malloced_string'.
2073 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2074 `find_charsets_in_emchar_string'.
2075 (charc_string_displayed_columns): New prototype; delete
2076 `emchar_string_displayed_columns'.
2077 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2078 `convert_charc_string_into_bufbyte_dynarr'.
2079 (convert_charc_string_into_malloced_string): New prototype; delete
2080 `convert_charc_string_into_malloced_string'.
2082 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2084 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2086 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2088 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2090 * char-ucs.h: Use <short> for <Charset_ID>.
2092 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2095 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2097 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2100 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2102 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2104 (Qmorohashi_daikanwa): New variable.
2105 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2106 for `morohashi-daikanwa' attribute.
2107 (Fget_char_attribute): Likewise.
2108 (Fput_char_attribute): Likewise.
2109 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2110 has the same value of `ideograph-daikanwa'.
2111 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2112 (vars_of_mule_charset): Setup
2113 `Vcharacter_morohashi_daikanwa_table'.
2115 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2117 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2119 (add_charset_to_list_mapper): Add `key' instead of
2120 `XCHARSET_NAME (value)' to return aliases.
2122 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2124 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2126 (Vcharacter_ideographic_strokes_table): New variable.
2127 (Qideographic_radical): New variable.
2128 (Qideographic_strokes): New variable.
2129 (Fchar_attribute_alist): Use
2130 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2131 attribute; use `Vcharacter_ideographic_strokes_table' for
2132 `ideographic-strokes' attribute.
2133 (Fget_char_attribute): Likewise.
2134 (Fput_char_attribute): Likewise.
2135 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2136 `ideographic-strokes'.
2137 (vars_of_mule_charset): Setup
2138 `Vcharacter_ideographic_radical_table' and
2139 `Vcharacter_ideographic_strokes_table'.
2141 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2143 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2144 (Qtotal_strokes): New variable.
2145 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2146 `total-strokes' attribute.
2147 (Fget_char_attribute): Likewise.
2148 (Fput_char_attribute): Likewise.
2149 (syms_of_mule_charset): Add new symbol `total-strokes'.
2150 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2152 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2154 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2155 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2157 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2158 `->decomposition' attribute.
2159 (Fput_char_attribute): Likewise.
2160 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2162 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2164 * mule-charset.c (decoding_table_check_elements): New function.
2165 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2167 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2169 * mule-charset.c (Fset_charset_mapping_table): Use
2170 `put_char_ccs_code_point'.
2172 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2174 * mule-charset.c (decoding_table_put_char): New inline function.
2175 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2177 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2179 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2180 (XCHARSET_BYTE_SIZE): New macro.
2181 (decoding_table_remove_char): New inline function.
2182 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2183 `decoding_table_remove_char'.
2184 (remove_char_ccs): Use `decoding_table_remove_char'.
2185 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2187 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2189 * mule-charset.c (Vcharacter_name_table): New variable.
2190 (Qname): New variable.
2191 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2193 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2194 `Vcharacter_name_table' for `name' attribute.
2195 (Fremove_char_attribute): Use function `remove_char_ccs'.
2196 (put_char_ccs_code_point): New function.
2197 (remove_char_ccs): New function.
2198 (syms_of_mule_charset): Add new symbol `name'.
2199 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2201 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2203 * mule-charset.c (make_byte_table): Add new argument `older'.
2204 (make_char_id_table): Likewise.
2205 (copy_char_id_table): Comment out because it is not used.
2206 (put_char_id_table): Modify for `make_byte_table'.
2207 (Fput_char_attribute): Make encoding_table as older object;
2208 inherit older bit of `Vcharacter_composition_table'.
2209 (mark_charset): Don't mark `cs->encoding_table'.
2210 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2211 normal object; make `Vcharacter_composition_table' as an older
2212 object; delete staticpro for `Vcharacter_composition_table'; make
2213 `Vcharacter_variant_table' as a normal object.
2215 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2216 (mark_object): Don't check older object in UTF-2000.
2218 * lrecord.h (struct lrecord_header): Add new member `older' in
2220 (set_lheader_implementation): Setup `SLI_header->older' in
2222 (set_lheader_older_implementation): New macro in UTF-2000.
2223 (OLDER_RECORD_P): New macro in UTF-2000.
2224 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2225 (alloc_older_lcrecord): New prototype in UTF-2000.
2226 (alloc_older_lcrecord_type): New macro in UTF-2000.
2228 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2230 * mule-charset.c (byte_table_description): Use
2231 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2232 (char_id_table_description): Delete bogus `, 1'.
2233 (Fget_char_attribute): Refer encoding_table of each coded-charset
2234 to get value of coded-charset attribute of a character.
2235 (Fput_char_attribute): Use `make_older_vector' instead of
2236 `make_vector'; use encoding_table of each coded-charset to store
2237 value of coded-charset attribute of a character.
2238 (Fremove_char_attribute): Use encoding_table of each coded-charset
2239 to store value of coded-charset attribute of a character.
2240 (mark_charset): Mark `cs->encoding_table'; don't mark
2241 `cs->decoding_table'.
2242 (charset_description): Add description of new member
2244 (make_charset): Initialize `encoding_table'.
2246 * char-ucs.h (struct Lisp_Charset): Add new member
2248 (CHARSET_ENCODING_TABLE): New macro.
2249 (XCHARSET_ENCODING_TABLE): New macro.
2250 (charset_code_point): New implementation.
2251 (encode_char_1): Likewise.
2253 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2254 (disksave_object_finalization_1): Call finalizers of
2255 `all_older_lcrecords' in UTF-2000.
2256 (make_older_vector): New function in UTF-2000.
2257 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2260 * lisp.h (make_older_vector): New prototype in UTF-2000.
2262 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2264 * lrecord.h (enum lrecord_type): Rename
2265 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2267 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2268 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2269 `get_char_code_table'.
2271 * mule-charset.c (mark_char_id_table): Renamed from
2272 `mark_char_code_table'.
2273 (char_id_table_equal): Renamed from `char_code_table_equal'.
2274 (char_id_table_hash): Renamed from `char_code_table_hash'.
2275 (make_char_id_table): Renamed from `make_char_code_table'.
2276 (copy_char_id_table): Renamed from `copy_char_code_table'.
2277 (get_char_id_table): Renamed from `get_char_code_table'.
2278 (put_char_id_table): Renamed from `put_char_code_table'.
2279 (to_char_id): Renamed from `to_char_code'.
2281 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2282 `Lisp_Char_Code_Table'.
2283 (char_id_table): Renamed from `char_code_table'.
2284 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2285 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2286 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2287 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2288 (get_char_id_table): Renamed from `get_char_code_table'.
2290 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2292 * lrecord.h (enum lrecord_type): Rename
2293 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2295 * mule-charset.c (mark_byte_table): Renamed from
2296 `mark_char_byte_table'.
2297 (byte_table_equal): Renamed from `char_byte_table_equal'.
2298 (byte_table_hash): Renamed from `byte_table_hash'.
2299 (make_byte_table): Renamed from `make_byte_table'.
2300 (copy_byte_table): Renamed from `copy_char_byte_table'.
2302 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2303 `Lisp_Char_Byte_Table'.
2304 (byte_table): Renamed from `char_byte_table'.
2305 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2306 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2307 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2308 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2310 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2312 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2313 (dfc_convert_to_internal_format): Likewise.
2315 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2316 * text-coding.c (Fcoding_system_alias_p): New function.
2317 * text-coding.c (Fcoding_system_aliasee): New function.
2318 * text-coding.c (append_suffix_to_symbol): New function.
2319 * text-coding.c (dangling_coding_system_alias_p): New function.
2320 * text-coding.c (Ffind_coding_system):
2321 * text-coding.c (Fcopy_coding_system):
2322 * text-coding.c (encode_coding_no_conversion):
2323 * text-coding.c (syms_of_file_coding):
2324 * text-coding.c (vars_of_file_coding):
2325 Rewrite coding system alias code.
2326 Allow nested aliases, like symbolic links.
2327 Allow redefinition of coding system aliases.
2328 Prevent existence of dangling coding system aliases.
2329 Eliminate convert_to_external_format.
2330 Eliminate convert_to_internal_format.
2332 * text-coding.c: Change enum eol_type to eol_type_t.
2334 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2336 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2337 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2339 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2340 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2342 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2344 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2345 `ideograph-daikanwa'.
2347 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2348 (Vcharset_ucs_bmp): Likewise.
2349 (Vcharset_mojikyo): Add new extern variable definition.
2350 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2351 (Vcharset_latin_iso8859_3): Likewise.
2352 (Vcharset_latin_iso8859_4): Likewise.
2353 (Vcharset_latin_iso8859_9): Likewise.
2354 (Vcharset_latin_viscii_lower): Likewise.
2355 (Vcharset_latin_viscii_upper): Likewise.
2356 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2357 `mojikyo' code-point is used to decode.
2358 (encode_char_2): New function [to convert `mojikyo' code-point to
2359 Mojikyo font encoding].
2360 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2361 (breakup_char_1): Likewise.
2362 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2364 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2366 * text-coding.c (Fmake_coding_system): Add document about
2367 `disable-composition' property.
2369 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2371 * text-coding.c (Qdisable_composition): New variable; delete
2373 (Fmake_coding_system): Add new property `disable-composite';
2374 delete property `composite'.
2375 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2376 instead of `!CODING_SYSTEM_COMPOSITE'.
2377 (syms_of_file_coding): Add new symbol `disable-composition';
2378 delete symbol `composite'.
2380 * file-coding.h (struct Lisp_Coding_System): Add
2381 `disable_composition'; delete `enable_composition'.
2382 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2383 `CODING_SYSTEM_COMPOSITE'.
2384 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2385 `XCODING_SYSTEM_COMPOSITE'.
2387 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2389 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2392 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2394 * text-coding.c (Qcomposite): New variable.
2395 (Fmake_coding_system): Add new property `composite'.
2396 (struct decoding_stream): Add `combined_char_count',
2397 `combined_chars' and `combining_table' in UTF-2000.
2398 (COMPOSE_FLUSH_CHARS): New macro.
2399 (COMPOSE_ADD_CHAR): New macro.
2400 (reset_decoding_stream): Reset `str->combined_char_count' and
2401 `str->combining_table' in UTF-2000.
2402 (decode_coding_iso2022): Modify for character-decomposition.
2403 (syms_of_file_coding): Add new symbol `composite'.
2405 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2407 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2408 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2409 of `Vcharacter_composition_table' if `->decomposition' property
2411 (Qlatin_tcvn5712): New variable.
2412 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2413 (complex_vars_of_mule_charset): Add new coded-charset
2416 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2418 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2420 * file-coding.h (struct Lisp_Coding_System): Add
2421 `enable_composition'.
2422 (CODING_SYSTEM_COMPOSITE): New macro.
2423 (XCODING_SYSTEM_COMPOSITE): New macro.
2425 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2427 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2429 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2431 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2432 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2434 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2436 * mule-charset.c (Vcharset_mojikyo): New variable.
2437 (Fdefine_char): Don't use coded-charset which does not have
2438 non-builtin character range to allocate character-id.
2439 (Qmojikyo): New variable.
2440 (syms_of_mule_charset): Add new symbol `mojikyo'.
2441 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2443 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2444 (LEADING_BYTE_MOJIKYO): New macro.
2445 (MIN_CHAR_MOJIKYO): New macro.
2446 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2447 (MAX_CHAR_MOJIKYO): New macro.
2449 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2451 * mule-charset.c (remove_char_attribute): Fixed.
2453 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2455 * mule-charset.c (remove_char_attribute): New function.
2456 (Fremove_char_attribute): New function.
2457 (encode_builtin_char_1): Comment out builtin-support for
2458 greek-iso8859-7 and cyrillic-iso8859-5.
2459 (Fdecode_char): Check `code' is an integer.
2460 (syms_of_mule_charset): Add `remove-char-attribute'.
2461 (MIN_CHAR_GREEK): Deleted.
2462 (MAX_CHAR_GREEK): Likewise.
2463 (MIN_CHAR_CYRILLIC): Likewise.
2464 (MAX_CHAR_CYRILLIC): Likewise.
2465 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2466 MAX_CHAR_GREEK for `greek-iso8859-7'.
2468 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2469 (MAX_CHAR_GREEK): Likewise.
2470 (MIN_CHAR_CYRILLIC): Likewise.
2471 (MAX_CHAR_CYRILLIC): Likewise.
2473 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2475 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2476 format is used without `ucs' property.
2477 (Fdecode_char): Fix problem with GR representation.
2478 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2479 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2481 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2483 * mule-charset.c (make_builtin_char): New function.
2484 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2485 (Fset_charset_mapping_table): Modify for new representation of
2487 (Fdecode_char): New function.
2488 (syms_of_mule_charset): Add new builtin function `decode-char' in
2491 * char-ucs.h (make_builtin_char): New prototype.
2492 (DECODE_CHAR): New inline function.
2493 (MAKE_CHAR): Use `DECODE_CHAR'.
2495 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2497 * text-coding.c (parse_charset_conversion_specs): Use
2498 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2500 (iso2022_designate): Likewise.
2502 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2503 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2505 * mule-charset.c (Vcharset_ucs): New variable.
2506 (print_charset): Change design; use `CHARSET_CHARS' and
2507 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2508 (make_charset): Change signature to specify `chars' and
2509 `dimension' instead of `type'.
2510 (range_charset_code_point): Modify for 256^n-set.
2511 (encode_builtin_char_1): Encode as `ucs' in default.
2512 (Fmake_charset): Modify for `make_charset'.
2513 (Fmake_reverse_direction_charset): Likewise.
2514 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2516 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2519 * char-ucs.h (Vcharset_ucs): New variable.
2520 (LEADING_BYTE_UCS): New macro.
2521 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2522 and `chars' to `unsigned short' from `unsigned int'.
2523 (CHARSET_TYPE): Deleted.
2524 (XCHARSET_TYPE): Deleted.
2526 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2528 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2530 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2531 (ENCODE_CHAR): New macro.
2533 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2535 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2536 to 0.14 (Kawachi-Katakami).
2538 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2540 * text-coding.c (char_encode_shift_jis): Modify for
2541 `charset_code_point'.
2542 (char_encode_iso2022): Likewise.
2544 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2545 (integer) instead of list of <Lisp_Object>s (integers) as the
2546 format of code-point of a coded-charset.
2547 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2548 (encode_builtin_char_1): New function; delete
2549 `split_builtin_char'.
2550 (charset_code_point): Return <int> instead of <Lisp_Object>.
2551 (Fsplit_char): Don't use `SPLIT_CHAR'.
2553 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2554 prototype for `split_builtin_char'.
2555 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2556 (charset_code_point): Likewise.
2557 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2558 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2560 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2562 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2563 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2565 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2567 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2569 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2570 (MAX_CHAR_OBS_94x94): Deleted.
2572 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2574 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2576 * char-ucs.h (MAX_CHAR_BMP): New macro.
2578 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2580 * text-coding.c: Sync with r21-2-24.
2582 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2584 * file-coding.c: Modify for UTF-2000.
2586 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2588 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2591 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2593 * mule-charset.c (split_builtin_char): Delete builtin support for
2594 `katakana-jisx0201'.
2595 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2596 BMP area in builtin representation.
2598 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2599 `Vcharset_katakana_jisx0201'.
2601 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2603 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2604 (Qisolated): New variable.
2605 (Qinitial): New variable.
2606 (Qmedial): New variable.
2607 (Qfinal): New variable.
2608 (Qvertical): New variable.
2609 (Qsmall): New variable.
2610 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2611 `Qvertical' and `Qsmall'.
2612 (Qmojikyo_pj_[1 .. 21]): New variable.
2613 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2614 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2615 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2618 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2620 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2621 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2622 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2624 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2626 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2627 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2629 (Qjapanese_jisx0208_1990): New variable.
2630 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2631 (complex_vars_of_mule_charset): Add new coded-charset
2632 `japanese-jisx0208-1990'.
2634 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2635 (MIN_CHAR_JIS_X0208_1990): New macro.
2636 (MAX_CHAR_JIS_X0208_1990): New macro.
2638 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2640 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2641 coded-charset is not found.
2643 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2645 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2646 (Fdefine_char): Use `Fmake_char'.
2648 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2650 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2651 (Vcharset_hiragana_jisx0208): Deleted.
2652 (Vcharset_katakana_jisx0208): Deleted.
2653 (Qideograph_daikanwa): New variable.
2654 (Qhiragana_jisx0208): Deleted.
2655 (Qkatakana_jisx0208): Deleted.
2656 (split_builtin_char): Split `ideograph-daikanwa'.
2657 (Fsplit_char): New implementation for UTF-2000.
2658 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2659 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2660 (complex_vars_of_mule_charset): Add new coded-charset
2661 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2662 `katakana-jisx0208'.
2664 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2665 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2666 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2667 (MIN_CHAR_DAIKANWA): New macro.
2668 (MAX_CHAR_DAIKANWA): New macro.
2670 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2672 * data.c (Fstring_to_number): Don't recognize floating point if
2675 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2677 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2679 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2681 * mule-charset.c (Qsquare): New variable.
2682 (to_char_code): Add `Qsquare'.
2683 (syms_of_mule_charset): Add new symbol `square'.
2685 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2687 * mule-charset.c (Qcircle): New variable.
2688 (to_char_code): Add `Qcircle'.
2689 (syms_of_mule_charset): Add new symbol `circle'.
2691 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2693 * mule-charset.c (Qfont): New variable.
2694 (to_char_code): Add `Qfont'.
2695 (syms_of_mule_charset): Add new symbol `font'.
2697 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2699 * mule-charset.c (Qsub): New variable.
2700 (to_char_code): Add `Qsub'.
2701 (syms_of_mule_charset): Add new symbol `sub'.
2703 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2705 * mule-charset.c (Fput_char_attribute): Convert each element of
2706 VALUE to GL position if ATTRIBUTE is a GR-set,
2708 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2710 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2711 coded-charset is a GR-set.
2713 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2715 * mule-charset.c (Fput_char_attribute): Check each element of
2716 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2718 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2720 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2722 (Qethiopic_ucs): New variable in UTF-2000.
2723 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2724 (complex_vars_of_mule_charset): Add new coded-charset
2725 `ethiopic-ucs' in UTF-2000.
2727 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2728 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2730 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2732 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2734 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2736 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2739 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2741 * mule-charset.c (Vcharacter_variant_table): New variable.
2742 (Q_ucs): New variable.
2743 (Fchar_variants): New function.
2744 (Fput_char_attribute): Register `->ucs' value to
2745 `Vcharacter_variant_table'.
2746 (syms_of_mule_charset): Add new function `char-variants' and new
2748 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2750 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2752 * mule-charset.c (get_char_code_table): Allow negative character
2754 (put_char_code_table): Likewise.
2755 (Vcharacter_composition_table): New variable.
2756 (Q_decomposition): New variable.
2757 (Qwide): New variable.
2758 (Qnarrow): New variable.
2759 (Qcompat): New variable.
2760 (QnoBreak): New variable.
2761 (Qsuper): New variable.
2762 (Qfraction): New variable.
2763 (to_char_code): New function.
2764 (Fget_composite_char): New function.
2765 (Fput_char_attribute): Register `->decomposition' value to
2766 `Vcharacter_composition_table'.
2767 (syms_of_mule_charset): Add new function `get-composite-char', new
2768 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2769 `super' and `fraction'.
2770 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2772 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2774 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2775 character; copy the return value.
2777 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2779 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2781 * mule-charset.c (range_charset_code_point): Must use make_int.
2782 (split_builtin_char): New function.
2784 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2786 * mule-charset.c (char_byte_table): Change name from
2787 "char-code-table" to "char-byte-table".
2788 (mark_char_code_table): New function.
2789 (char_code_table_equal): New function.
2790 (char_code_table_hash): New function.
2791 (char_code_table_description): New constant.
2792 (char_code_table): New type.
2793 (make_char_code_table): New function.
2794 (copy_char_code_table): New function.
2795 (get_char_code_table): Modify for `char_code_table' type.
2796 (put_char_code_table): Likewise.
2797 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2800 * char-ucs.h (char_code_table): New type.
2801 (XCHAR_CODE_TABLE): New macro.
2802 (XSETCHAR_CODE_TABLE): New macro.
2803 (CHAR_CODE_TABLE_P): New macro.
2804 (GC_CHAR_CODE_TABLE_P): New macro.
2805 (struct Lisp_Char_Code_Table): New structure.
2807 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2809 * mule-charset.c (Fmake_charset): Setup byte_offset for
2812 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2814 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2817 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2819 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2822 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2824 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2825 charset, it is regarded as a charset.
2826 (put_char_attribute): New function in UTF-2000.
2827 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2828 charset, mapping-table of the charset is modified.
2829 (Fdefine_char): New function in UTF-2000.
2830 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2831 `Fput_char_attribute'.
2832 (syms_of_mule_charset): Add new function `define-char' and new
2833 symbol `ucs' in UTF-2000.
2834 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2836 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2838 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2839 non-UTF-2000 configuration.
2841 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2843 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2844 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2846 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2848 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2849 (Fset_charset_mapping_table): Likewise.
2851 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2852 (CHARSET_ENCODING_TABLE): Delete.
2853 (XCHARSET_ENCODING_TABLE): Delete.
2854 (charset_code_point): New interface.
2856 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2858 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2859 instead of `charset_get_byte1' and `charset_get_byte2'.
2861 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2862 (charset_get_byte2): Deleted.
2864 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2866 * char-ucs.h (SPLIT_CHAR): New inline function.
2867 (breakup_char_1): Use `SPLIT_CHAR'.
2869 * mule-charset.c (range_charset_code_point): New function.
2870 (charset_code_point): New function.
2872 * char-ucs.h (range_charset_code_point): New interface.
2873 (breakup_char_1): Use `range_charset_code_point'.
2875 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2877 * mule-charset.c (Fmake_charset): Delete unused local variable
2880 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2881 (breakup_char_1): Find a charset and code-point in
2882 `Vcharacter_attribute_table'.
2884 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2886 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2889 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2891 * mule-charset.c (Vcharacter_attribute_table): New variable.
2892 (Fchar_attribute_alist): New function.
2893 (Fget_char_attribute): New function.
2894 (Fput_char_attribute): New function.
2895 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2897 (syms_of_mule_charset): Add new function `char-attribute-alist',
2898 `get-char-attribute' and `put-char-attribute'.
2899 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2901 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2903 * mule-charset.c (Fmake_charset): Just use
2904 `get_unallocated_leading_byte'.
2906 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2907 sets; don't use final-byte based number for private sets.
2909 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2911 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2914 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2916 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2919 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2921 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2922 of `CHAR_LEADING_BYTE' in UTF-2000.
2924 * insdel.c (find_charsets_in_bufbyte_string): Use
2925 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2926 (find_charsets_in_emchar_string): Likewise.
2928 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2929 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2931 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2932 (CHAR_CHARSET_ID): New macro.
2934 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2936 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2937 charset-id - MIN_LEADING_BYTE.
2938 (put_char_table): Likewise.
2940 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2942 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2943 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2944 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2945 (CHARSET_ID_OFFSET): New macro.
2946 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2947 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2948 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2949 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2951 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2953 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2954 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2955 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2956 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2957 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2959 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2961 * mule-charset.c (next_allocated_leading_byte): New variable in
2963 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2964 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2965 (get_unallocated_leading_byte): Simply use
2966 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2967 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2970 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2971 (MAX_LEADING_BYTE_PRIVATE): New macro.
2972 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2973 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2975 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2977 * mule-charset.c (Fmake_charset): Allocate final-byte based
2978 charset-id for 94-set, 96-set and 94x94-set.
2980 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2982 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
2984 (Fmake_charset): Likewise.
2985 (complex_vars_of_mule_charset): Modify the font registry of
2986 `ucs-bmp' not to match `Ethiopic-Unicode'.
2988 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2990 * mule-charset.c (complex_vars_of_mule_charset): Add font
2991 registory of `ucs-bmp'.
2993 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2995 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2996 coded-charsets in `default-coded-charset-priority-list' when
2997 breaking up a character.
2999 * mule-charset.c (Vcharset_latin_viscii): New variable.
3000 (Qlatin_viscii): New variable.
3001 (make_charset): Don't use `decoding_table'.
3002 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3004 (Fset_charset_mapping_table): New implementation.
3005 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3006 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3007 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3008 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3009 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3010 charset `latin_viscii'.
3012 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3013 (CHARSET_TYPE_94X94): Change to 1 from 2.
3014 (CHARSET_TYPE_96): Change to 2 from 1.
3015 (CHARSET_TYPE_128): New macro.
3016 (CHARSET_TYPE_128X128): Change to 5 from 4.
3017 (CHARSET_TYPE_256): New macro.
3018 (CHARSET_TYPE_256X256): Change to 7 from 5.
3019 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3021 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3023 * text-coding.c (char_encode_shift_jis): Refer
3024 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3025 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3027 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3028 (char_byte_table_equal): New function in UTF-2000.
3029 (char_byte_table_hash): New function in UTF-2000.
3030 (char_byte_table_description): New constant in UTF-2000.
3031 (char_byte_table): New type in UTF-2000.
3032 (make_char_byte_table): New function in UTF-2000.
3033 (copy_char_byte_table): New function in UTF-2000.
3034 (make_char_code_table): New macro in UTF-2000.
3035 (get_char_code_table): New function in UTF-2000.
3036 (put_char_code_table): New function in UTF-2000.
3037 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3038 (charset_description): Add setting in UTF-2000.
3039 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3040 `CHARSET_TO_BYTE1_TABLE(cs)'.
3041 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3042 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3043 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3044 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3045 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3046 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3047 `CHARSET_TO_BYTE2_TABLE(cs)'.
3049 * char-ucs.h (char_byte_table): New type.
3050 (XCHAR_BYTE_TABLE): New macro.
3051 (XSETCHAR_BYTE_TABLE): New macro.
3052 (CHAR_BYTE_TABLE_P): New macro.
3053 (GC_CHAR_BYTE_TABLE_P): New macro.
3054 (struct Lisp_Char_Byte_Table): New structure.
3055 (get_char_code_table): New interface.
3056 (Emchar_to_byte_table): Deleted.
3057 (get_byte_from_character_table): Deleted.
3058 (struct Lisp_Charset): Add `encoding_table'; delete
3059 `to_byte1_table' and `to_byte2_table'.
3060 (CHARSET_ENCODING_TABLE): New macro.
3061 (CHARSET_TO_BYTE1_TABLE): Deleted.
3062 (CHARSET_TO_BYTE2_TABLE): Deleted.
3063 (XCHARSET_ENCODING_TABLE): New macro.
3064 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3065 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3067 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3069 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3070 `vietnamese-viscii-*'.
3072 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3074 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3075 (Qvietnamese_viscii_upper): New variable.
3076 (Fdefine_charset_alias): New function.
3077 (syms_of_mule_charset): Add new function `define-charset-alias'.
3078 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3079 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3082 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3084 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3085 (MAX_CHAR_OBS_94x94): New macro.
3086 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3089 * mule-charset.c (put_byte_from_character_table): Change unit size
3091 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3093 (Fmake_reverse_direction_charset): Modify dummy argument of
3094 `make_charset' for non-UTF-2000 environment.
3096 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3098 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3100 * mule-charset.c (destroy_byte_from_character_table): New macro.
3101 (latin_jisx0201_to_ucs): Deleted.
3102 (latin_iso8859_2_to_ucs): Deleted.
3103 (latin_iso8859_3_to_ucs): Deleted.
3104 (latin_iso8859_4_to_ucs): Deleted.
3105 (latin_iso8859_9_to_ucs): Deleted.
3106 (latin_viscii_lower_to_ucs): Deleted.
3107 (latin_viscii_upper_to_ucs): Deleted.
3108 (mark_charset): Mark `cs->decoding_table'.
3109 (Fcharset_mapping_table): Fix DOC-string.
3110 (Fset_charset_mapping_table): New function.
3111 (syms_of_mule_charset): Add nwe function
3112 `set-charset-mapping-table'.
3113 (complex_vars_of_mule_charset): Don't setup and use
3116 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3118 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3121 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3123 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3124 (Vcharset_katakana_jisx0208): New variable.
3125 (Qhiragana_jisx0208): New variable.
3126 (Qkatakana_jisx0208): New variable.
3127 (make_charset): Add new argument `byte_offset'.
3128 (charset_get_byte1): Modify for new coded-charset definition; use
3129 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3130 `XCHARSET_BYTE_OFFSET'.
3131 (Fmake_charset): Modify for `make_charset'.
3132 (Fmake_reverse_direction_charset): Likewise.
3133 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3134 `katakana-jisx0208'.
3135 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3136 `.' in font registry of charset `katakana-jisx0201',
3137 `latin-jisx0201', `vietnamese-viscii-lower' and
3138 `vietnamese-viscii-upper'; modify DOC-string of charset
3139 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3140 registry of charset `japanese-jisx0208' not to use font for JIS
3141 X0208:1990; add new charset `hiragana-jisx0208' and
3142 `katakana-jisx0208'.
3144 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3145 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3146 (struct Lisp_Charset): Add `byte_offset'.
3147 (CHARSET_BYTE_OFFSET): New macro.
3148 (XCHARSET_UCS_MIN): New macro.
3149 (XCHARSET_UCS_MAX): New macro.
3150 (XCHARSET_CODE_OFFSET): New macro.
3151 (XCHARSET_BYTE_OFFSET): New macro.
3152 (MIN_CHAR_HIRAGANA): New macro.
3153 (MAX_CHAR_HIRAGANA): New macro.
3154 (MIN_CHAR_KATAKANA): New macro.
3155 (MAX_CHAR_KATAKANA): New macro.
3156 (MAKE_CHAR): Modify for new coded-charset definition; use
3157 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3158 `XCHARSET_BYTE_OFFSET'.
3160 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3162 * mule-charset.c (CHAR96): Deleted.
3163 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3165 (latin_iso8859_2_to_ucs): Likewise.
3166 (latin_iso8859_3_to_ucs): Likewise.
3167 (latin_iso8859_4_to_ucs): Likewise.
3168 (latin_iso8859_9_to_ucs): Likewise.
3169 (latin_viscii_lower_to_ucs): Likewise.
3170 (latin_viscii_upper_to_ucs): Likewise.
3171 (latin_tcvn5712_to_ucs): Commented out.
3172 (make_charset): Change type of argument `decoding_table' from
3173 <Emchar*> to <Lisp_Object> [vector of characters].
3174 (Fmake_charset): Modify for `make_charset'.
3175 (Fmake_reverse_direction_charset): Likewise.
3176 (Fcharset_mapping_table): New function in UTF-2000.
3177 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3179 (complex_vars_of_mule_charset): Modify for type change of
3180 `*_to_ucs'; modify for `make_charset'.
3182 * char-ucs.h (struct Lisp_Charset): Change type of
3183 `decoding_table' from <Emchar*> to <Lisp_Object>.
3184 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3186 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3188 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3189 error with non-UTF-2000-Mule.
3191 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3193 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3195 (Vcharset_chinese_cns11643_4): Likewise.
3196 (Vcharset_chinese_cns11643_5): Likewise.
3197 (Vcharset_chinese_cns11643_6): Likewise.
3198 (Vcharset_chinese_cns11643_7): Likewise.
3199 (Qchinese_cns11643_3): Likewise.
3200 (Qchinese_cns11643_4): Likewise.
3201 (Qchinese_cns11643_5): Likewise.
3202 (Qchinese_cns11643_6): Likewise.
3203 (Qchinese_cns11643_7): Likewise.
3204 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3205 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3206 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3207 (complex_vars_of_mule_charset): Likewise.
3209 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3211 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3213 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3214 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3216 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3218 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3220 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3221 (breakup_char_1): Likewise.
3223 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3224 one of them includes the specified character.
3226 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3228 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3230 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3232 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3234 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3236 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3237 definition for non-UTF-2000 Mule.
3238 (latin_iso8859_3_to_ucs): Likewise.
3239 (latin_iso8859_4_to_ucs): Likewise.
3240 (latin_iso8859_9_to_ucs): Likewise.
3241 (latin_jisx0201_to_ucs): Likewise.
3242 (MIN_CHAR_THAI): Likewise.
3243 (MAX_CHAR_THAI): Likewise.
3244 (MIN_CHAR_GREEK): Likewise.
3245 (MAX_CHAR_GREEK): Likewise.
3246 (MIN_CHAR_HEBREW): Likewise.
3247 (MAX_CHAR_HEBREW): Likewise.
3248 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3249 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3250 (MIN_CHAR_CYRILLIC): Likewise.
3251 (MAX_CHAR_CYRILLIC): Likewise.
3253 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3255 * char-ucs.h (breakup_char_1): Use
3256 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3257 thai-tis620 and katakana-jisx0201 area.
3259 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3261 * char-ucs.h (breakup_char_1): Use
3262 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3265 * text-coding.c (reset_encoding_stream): Fixed.
3266 (char_encode_ucs4): Delete `& 255'.
3268 * char-ucs.h (breakup_char_1): Use
3269 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3271 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3273 * file-coding.c (Fmake_coding_system): Don't set up
3274 `codesys->fixed.size'.
3275 (encode_coding_no_conversion): Don't refer
3276 `str->codesys->fixed.size'.
3278 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3280 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3281 (latin_a_char_to_byte1): Deleted.
3282 (latin_a_char_to_byte2): Deleted.
3284 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3286 * mule-charset.c (make_charset): Add new argument `ucs_min',
3287 `ucs_max' and `code_offset'.
3288 (charset_get_byte1): New implementation [delete specific charset
3289 depended implementations].
3290 (Fmake_charset): Modify for `make_charset'.
3291 (Fmake_reverse_direction_charset): Likewise.
3292 (complex_vars_of_mule_charset): Likewise.
3294 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3296 (CHARSET_UCS_MIN): New macro.
3297 (CHARSET_UCS_MAX): New macro.
3298 (CHARSET_CODE_OFFSET): New macro.
3299 (MAKE_CHAR): Delete charset depended definitions [except
3302 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3304 * char-ucs.h (breakup_char_1): Use
3305 `Vdefault_coded_charset_priority_list' for C0-Controls,
3306 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3308 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3310 * char-ucs.h (charset_get_byte1): New function.
3311 (XCHARSET_GET_BYTE1): Deleted.
3312 (charset_get_byte2): New function.
3313 (XCHARSET_GET_BYTE2): Deleted.
3314 (Vdefault_coded_charset_priority_list): New external variable.
3315 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3316 `Vdefault_preferred_coded_charset_list'.
3318 * mule-charset.c (charset_get_byte1): New function.
3319 (charset_get_byte2): New function.
3320 (Vdefault_coded_charset_priority_list): New variable.
3321 (vars_of_mule_charset): Add new variable
3322 `default-coded-charset-priority-list'.
3324 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3326 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3327 (XCHARSET_GET_BYTE2): New inline function.
3328 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3329 `XCHARSET_GET_BYTE2'.
3331 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3333 * mule-charset.c (make_charset): Initialize
3334 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3335 NULL if table is not defined.
3337 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3339 * text-coding.c (char_encode_shift_jis): Use
3340 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3341 `ucs_to_latin_jisx0201'.
3343 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3344 (ucs_to_latin_iso8859_2): Deleted.
3345 (ucs_to_latin_iso8859_3): Deleted.
3346 (ucs_to_latin_iso8859_4): Deleted.
3347 (ucs_to_latin_iso8859_9): Deleted.
3348 (ucs_to_latin_viscii_lower): Deleted.
3349 (ucs_to_latin_viscii_upper): Deleted.
3350 (ucs_to_latin_tcvn5712): Deleted.
3351 (make_charset): Add new argument `decoding_table'; set up
3352 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3353 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3354 `decoding_table' is defined in UTF-2000.
3355 (Fmake_charset): Modify for `make_charset'.
3356 (Fmake_reverse_direction_charset): Likewise.
3357 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3358 and `GENERATE_96_SET'.
3360 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3361 (ucs_to_latin_jisx0201): Deleted.
3362 (latin_iso8859_2_to_ucs): Deleted.
3363 (ucs_to_latin_iso8859_2): Deleted.
3364 (latin_iso8859_3_to_ucs): Deleted.
3365 (ucs_to_latin_iso8859_3): Deleted.
3366 (latin_iso8859_4_to_ucs): Deleted.
3367 (ucs_to_latin_iso8859_4): Deleted.
3368 (latin_iso8859_9_to_ucs): Deleted.
3369 (ucs_to_latin_iso8859_9): Deleted.
3370 (latin_viscii_lower_to_ucs): Deleted.
3371 (ucs_to_latin_viscii_lower): Deleted.
3372 (latin_viscii_upper_to_ucs): Deleted.
3373 (ucs_to_latin_viscii_upper): Deleted.
3374 (struct Lisp_Charset): Renamed `encoding_table' to
3375 `to_byte1_table'; add `to_byte2_table'.
3376 (CHARSET_DECODING_TABLE): New macro.
3377 (CHARSET_TO_BYTE1_TABLE): New macro.
3378 (CHARSET_TO_BYTE2_TABLE): New macro.
3379 (XCHARSET_DECODING_TABLE): New macro.
3380 (XCHARSET_TO_BYTE1_TABLE): New macro.
3381 (XCHARSET_TO_BYTE2_TABLE): New macro.
3382 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3384 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3385 don't use `ucs_to_*' tables.
3387 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3389 * text-coding.c (Fmake_coding_system): Don't set up
3390 `codesys->fixed.size'.
3391 (encode_coding_no_conversion): Use `if' instead of `switch'.
3393 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3395 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3397 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3398 (Fmake_charset): Modify for `make_charset'.
3399 (Fmake_reverse_direction_charset): Likewise.
3400 (complex_vars_of_mule_charset): Likewise.
3402 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3404 * text-coding.c (char_encode_shift_jis): Use table
3405 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3407 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3409 * text-coding.c (text_encode_generic): Use `if' instead of
3411 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3414 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3416 * text-coding.c (encode_coding_sjis): Deleted.
3417 (char_encode_shift_jis): New function.
3418 (char_finish_shift_jis): New function.
3419 (reset_encoding_stream): Set up `encode_char' and `finish' for
3420 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3421 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3422 (char_encode_utf8): Treat `eol_type'.
3424 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3426 * file-coding.c (decode_coding_iso2022): Use
3427 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3429 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3431 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3434 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3436 * char-lb.h (CHAR_COLUMNS): New macro.
3438 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3440 * text-coding.c (char_encode_ucs4): New function.
3441 (char_finish_ucs4): New function.
3442 (encode_coding_ucs4): Deleted.
3443 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3444 (text_encode_generic): Delete local variable `charset' and `half'.
3445 (ucs_to_mule_table): Deleted.
3446 (mule_to_ucs_table): Deleted.
3447 (Fset_ucs_char): Deleted.
3448 (ucs_to_char): Deleted.
3449 (Fucs_char): Deleted.
3450 (Fset_char_ucs): Deleted.
3451 (Fchar_ucs): Deleted.
3452 (decode_ucs4): Deleted.
3453 (mule_char_to_ucs4): Deleted.
3454 (encode_ucs4): Deleted.
3455 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3456 (decode_coding_utf8): Likewise.
3457 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3458 (char_encode_iso2022): Fixed.
3459 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3460 `Fset_char_ucs' and `Fchar_ucs'.
3461 (complex_vars_of_file_coding): Don't initialize
3462 `ucs_to_mule_table'.
3464 * objects-tty.c (tty_initialize_font_instance): Don't use
3467 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3470 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3471 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3473 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3474 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3475 (emchar_string_displayed_columns): Likewise.
3477 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3478 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3479 (string_column_at_point): Likewise.
3480 (Fmove_to_column): Likewise.
3482 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3483 `encoding_table' and `decoding_table'.
3484 (CHARSET_REP_BYTES): Deleted.
3485 (XCHARSET_REP_BYTES): Deleted.
3486 (XCHARSET_COLUMNS): Deleted.
3487 (CHAR_COLUMNS): New macro.
3488 (lookup_composite_char): Deleted unconditionally.
3489 (composite_char_string): Likewise.
3491 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3493 * char-ucs.h (Emchar_to_byte_table): New type.
3494 (get_byte_from_character_table): New function interface.
3495 (Vcharset_latin_jisx0201): New variable.
3496 (latin_jisx0201_to_ucs): New variable.
3497 (ucs_to_latin_jisx0201): New variable.
3498 (Vcharset_latin_iso8859_2): New variable.
3499 (latin_iso8859_2_to_ucs): New variable.
3500 (ucs_to_latin_iso8859_2): New variable.
3501 (Vcharset_latin_iso8859_3): New variable.
3502 (latin_iso8859_3_to_ucs): New variable.
3503 (ucs_to_latin_iso8859_3): New variable.
3504 (Vcharset_latin_iso8859_4): New variable.
3505 (latin_iso8859_4_to_ucs): New variable.
3506 (ucs_to_latin_iso8859_4): New variable.
3507 (Vcharset_latin_iso8859_9): New variable.
3508 (latin_iso8859_9_to_ucs): New variable.
3509 (ucs_to_latin_iso8859_9): New variable.
3510 (Vcharset_latin_viscii_lower): New variable.
3511 (latin_viscii_lower_to_ucs): New variable.
3512 (ucs_to_latin_viscii_lower): New variable.
3513 (Vcharset_latin_viscii_upper): New variable.
3514 (latin_viscii_upper_to_ucs): New variable.
3515 (ucs_to_latin_viscii_upper): New variable.
3516 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3517 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3518 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3519 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3520 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3521 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3522 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3523 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3524 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3525 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3527 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3528 (Vcharset_latin_viscii_upper): New variable.
3529 (make_byte_from_character_table): New function.
3530 (put_byte_from_character_table): New function.
3531 (get_byte_from_character_table): New function.
3532 (CHAR96): New macro.
3533 (ucs_to_latin_jisx0201): New variable.
3534 (latin_jisx0201_to_ucs): New variable.
3535 (ucs_to_latin_iso8859_2): New variable.
3536 (latin_iso8859_2_to_ucs): New variable.
3537 (ucs_to_latin_iso8859_3): New variable.
3538 (latin_iso8859_3_to_ucs): New variable.
3539 (ucs_to_latin_iso8859_4): New variable.
3540 (latin_iso8859_4_to_ucs): New variable.
3541 (ucs_to_latin_iso8859_9): New variable.
3542 (latin_iso8859_9_to_ucs): New variable.
3543 (ucs_to_latin_viscii_lower): New variable.
3544 (latin_viscii_lower_to_ucs): New variable.
3545 (ucs_to_latin_viscii_upper): New variable.
3546 (latin_viscii_upper_to_ucs): New variable.
3547 (ucs_to_latin_tcvn5712): New variable.
3548 (latin_tcvn5712_to_ucs): New variable.
3549 (Qlatin_viscii_lower): New variable.
3550 (Qlatin_viscii_upper): New variable.
3551 (syms_of_mule_charset): Set up new symbol
3552 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3553 (complex_vars_of_mule_charset): Set up new charset
3554 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3555 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3556 `ucs_to_<CHARSET>' tables.
3558 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3560 * text-coding.c: New file.
3562 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3564 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3566 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3567 (MAKE_CHAR): Modify for `ucs-bmp'.
3568 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3569 non-MULE characters of BMP.
3571 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3573 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3576 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3579 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3580 - Include character.h for `CHAR_ASCII_P'.
3582 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3584 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3585 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3587 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3588 (BYTE_C0_P): Likewise.
3589 (BYTE_C1_P): Likewise.
3590 (Lstream_get_emchar_1): Likewise.
3591 (Lstream_fput_emchar): Likewise.
3592 (Lstream_funget_emchar): Likewise.
3593 (copy_internal_to_external): Likewise.
3594 (copy_external_to_internal): Likewise.
3596 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3597 (BYTE_C0_P): Likewise.
3598 (BYTE_C1_P): Likewise.
3599 (Lstream_get_emchar_1): Likewise.
3600 (Lstream_fput_emchar): Likewise.
3601 (Lstream_funget_emchar): Likewise.
3602 (copy_internal_to_external): Likewise.
3603 (copy_external_to_internal): Likewise.
3605 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3606 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3608 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3609 (BYTE_ASCII_P): Moved to mb-1byte.h.
3611 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3613 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3615 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3616 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3617 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3618 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3619 (VALIDATE_CHARPTR_FORWARD): Likewise.
3620 (simple_charptr_emchar): Moved to mb-multibyte.h.
3621 (simple_set_charptr_emchar): Likewise.
3622 (simple_charptr_copy_char): Likewise.
3623 (non_ascii_charptr_emchar): Likewise.
3624 (non_ascii_set_charptr_emchar): Likewise.
3625 (non_ascii_charptr_copy_char): Likewise.
3626 (charptr_emchar): Moved to mb-*byte.h.
3627 (set_charptr_emchar): Likewise.
3628 (charptr_copy_char): Likewise.
3630 * mb-1byte.h, mb-multibyte.h: New files.
3632 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3634 * mb-utf-8.h (MULTIBYTE): New macro.
3635 (MAX_EMCHAR_LEN): Moved from buffer.h.
3636 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3638 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3640 * mb-lb.h, multibyte.h: New files.
3642 * char-1byte.h (Charset_ID): Moved from buffer.h.
3643 (MIN_LEADING_BYTE): Likewise.
3644 (LEADING_BYTE_ASCII): Likewise.
3645 (NUM_LEADING_BYTES): Likewise.
3646 (CHARSETP): Likewise.
3647 (CHARSET_BY_LEADING_BYTE): Likewise.
3648 (XCHARSET_LEADING_BYTE): Likewise.
3649 (XCHARSET_GRAPHIC): Likewise.
3650 (XCHARSET_COLUMNS): Likewise.
3651 (XCHARSET_DIMENSION): Likewise.
3652 (CHAR_CHARSET): Likewise.
3653 (CHAR_LEADING_BYTE): Likewise.
3654 (BREAKUP_CHAR): Likewise.
3655 (Vcharset_ascii): Likewise.
3657 * buffer.h: Include multibyte.h unconditionally.
3658 (VALID_CHARPTR_P): Moved to multibyte.h.
3659 (ASSERT_VALID_CHARPTR): Likewise.
3660 (REAL_INC_CHARPTR): Likewise.
3661 (REAL_INC_CHARBYTIND): Likewise.
3662 (REAL_DEC_CHARPTR): Likewise.
3663 (INC_CHARPTR): Likewise.
3664 (INC_CHARBYTIND): Likewise.
3665 (DEC_CHARPTR): Likewise.
3666 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3667 (VALIDATE_CHARPTR_FORWARD): Likewise.
3668 (charptr_n_addr): Likewise.
3669 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3670 (simple_charptr_emchar): Moved to multibyte.h.
3671 (simple_set_charptr_emchar): Likewise.
3672 (simple_charptr_copy_char): Likewise.
3673 (non_ascii_charptr_emchar): Likewise.
3674 (non_ascii_set_charptr_emchar): Likewise.
3675 (non_ascii_charptr_copy_char): Likewise.
3676 (charptr_emchar): Likewise.
3677 (set_charptr_emchar): Likewise.
3678 (charptr_copy_char): Likewise.
3679 (charptr_emchar_n): Likewise.
3680 (Charset_ID): Moved to char-1byte.h.
3681 (Vcharset_ascii): Likewise.
3682 (CHAR_CHARSET): Likewise.
3683 (CHAR_LEADING_BYTE): Likewise.
3684 (LEADING_BYTE_ASCII): Likewise.
3685 (NUM_LEADING_BYTES): Likewise.
3686 (MIN_LEADING_BYTE): Likewise.
3687 (CHARSETP): Likewise.
3688 (CHARSET_BY_LEADING_BYTE): Likewise.
3689 (XCHARSET_LEADING_BYTE): Likewise.
3690 (XCHARSET_GRAPHIC): Likewise.
3691 (XCHARSET_COLUMNS): Likewise.
3692 (XCHARSET_DIMENSION): Likewise.
3693 (BREAKUP_CHAR): Likewise.
3695 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3697 * character.h: Add document about interface for characters.
3699 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3700 (MAKE_CHAR): Delete comment about
3701 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3702 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3703 (BREAKUP_CHAR): Modify name of arguments.
3704 (CHAR_CHARSET): Modify name of argument.
3706 * buffer.h: Delete document about Emchar accessors.
3708 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3710 * character.h (CHAR_INTP): Moved from buffer.h
3711 (CHAR_OR_CHAR_INTP): Likewise.
3712 (XCHAR_OR_CHAR_INT): Likewise.
3713 (CHECK_CHAR_COERCE_INT): Likewise.
3715 * buffer.h (CHAR_INTP): Moved to character.h
3716 (CHAR_OR_CHAR_INTP): Likewise.
3717 (XCHAR_OR_CHAR_INT): Likewise.
3718 (CHECK_CHAR_COERCE_INT): Likewise.
3720 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3723 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3724 - Include char-1byte.h, char-lb.h or char-ucs.h.
3726 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3728 * buffer.h: Include character unconditionally.
3729 (valid_char_p): Moved to char-*.h.
3730 (non_ascii_valid_char_p): Moved to char-lb.h.
3732 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3734 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3736 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3737 in UTF-2000 because it is not ported yet and not to use
3738 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3739 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3740 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3742 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3743 (CHAR_ASCII_P): Moved from character.h.
3745 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3746 (CHAR_ASCII_P): Likewise.
3747 (CHAR_FIELD1_MASK): Deleted.
3748 (CHAR_FIELD2_MASK): Deleted.
3749 (CHAR_FIELD3_MASK): Deleted.
3750 (MAX_CHAR_BASIC_LATIN): New macro.
3751 (CHAR_FIELD1): Deleted.
3752 (CHAR_FIELD2_INTERNAL): Deleted.
3753 (CHAR_FIELD3_INTERNAL): Deleted.
3754 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3755 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3756 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3757 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3758 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3759 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3760 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3761 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3762 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3763 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3764 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3765 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3766 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3767 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3768 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3769 (MIN_CHAR_COMPOSITION): Deleted.
3770 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3771 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3773 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3775 * buffer.h: Include mb-utf-8.h in UTF-2000.
3777 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3779 * mb-utf-8.h: New file.
3781 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3783 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3786 * mule-charset.h, buffer.h (Charset_ID): New type.
3788 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3790 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3791 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3792 instead of `MULE_CHAR_PRIVATE_OFFSET',
3793 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3794 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3795 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3797 * character.h (Vcharset_japanese_jisx0212): New variable
3800 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3802 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3803 (charset_by_attributes): Delete array about direction.
3804 (latin_a_char_to_charset): New variable in UTF-2000.
3805 (latin_a_char_to_byte1): New variable in UTF-2000.
3806 (latin_a_char_to_byte2): New variable in UTF-2000.
3807 (Qucs_bmp): New variable.
3808 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3810 (next_allocated_2_byte_leading_byte): Likewise.
3811 (non_ascii_set_charptr_emchar): Likewise.
3812 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3813 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3814 `charset_by_attributes'.
3815 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3816 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3817 and `CHARSET_BY_LEADING_BYTE'.
3818 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3819 `utf-2000-version' to `vars_of_mule_charset'.
3820 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3821 define `leading-code-private-11' in UTF-2000; move setting of
3822 `utf-2000-version' from `syms_of_mule_charset'.
3823 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3826 * character.h (Charset_ID): New type.
3827 (LEADING_BYTE_UCS_BMP): New macro.
3828 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3829 (CHARSET_ID_OFFSET_94): New macro.
3830 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3831 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3832 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3834 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3835 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3836 (CHARSET_ID_OFFSET_96): New macro.
3837 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3838 CHARSET_ID_OFFSET_96 and final-byte.
3839 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3840 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3841 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3842 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3843 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3844 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3845 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3846 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3847 (LEADING_BYTE_THAI_TIS620): Likewise.
3848 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3849 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3850 (CHARSET_ID_OFFSET_94x94): New macro.
3851 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3852 CHARSET_ID_OFFSET_94x94 and final-byte.
3853 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3854 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3855 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3856 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3857 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3858 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3859 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3860 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3861 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3862 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3863 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3864 (CHARSET_TYPE_128X128): New macro.
3865 (CHARSET_TYPE_256X256): New macro.
3866 (XCHARSET_PRIVATE_P): Delete unconditionally.
3867 (charset_by_attributes): Delete array about direction.
3868 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3869 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3870 (MIN_CHAR_94): New macro.
3871 (MAX_CHAR_94): New macro.
3872 (MIN_CHAR_96): New macro.
3873 (MAX_CHAR_96): New macro.
3874 (MIN_CHAR_94x94): New macro.
3875 (MAX_CHAR_94x94): New macro.
3876 (MIN_CHAR_96x96): New macro.
3877 (MAX_CHAR_96x96): New macro.
3878 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3879 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3880 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3882 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3883 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3884 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3885 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3886 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3887 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3888 `XCHARSET_LEADING_BYTE' to make code-point.
3889 (latin_a_char_to_charset): New variable.
3890 (latin_a_char_to_byte1): New variable.
3891 (latin_a_char_to_byte2): New variable.
3892 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3893 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3894 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3896 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3897 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3898 (find_charsets_in_emchar_string): Likewise.
3899 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3901 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3903 (decode_coding_iso2022): Likewise.
3905 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3908 * redisplay.c (redisplay_text_width_emchar_string): Use
3909 `Charset_ID' instead of `unsigned char'.
3910 (redisplay_frame_text_width_string): Likewise.
3912 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3915 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3916 instead of `unsigned char'.
3917 (face_cachel_charset_font_metric_info): Likewise.
3919 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3920 (get_non_ascii_char_table_value): Likewise.
3921 (get_char_table): Likewise.
3922 (put_char_table): Likewise.
3923 (map_over_other_charset): Likewise.
3924 (map_char_table): Likewise.
3926 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3927 instead of `unsigned char'.
3929 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3931 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3932 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3934 * mule-charset.c (leading_code_private_11): Don't define in
3937 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3938 in UTF-2000 because it is not ported yet and not to use
3939 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3941 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3943 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3945 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3947 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3950 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3951 of unsigned char to store leading-byte.
3953 * chartab.c (get_non_ascii_char_table_value): Don't use
3954 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3956 * file-coding.c (encode_coding_big5): Delete bogus implementation
3959 * character.h (LEADING_BYTE_*): Delete definition for
3961 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3962 (LEADING_BYTE_PREFIX_P): Deleted.
3963 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3964 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3965 (BUFBYTE_LEADING_BYTE_P): Deleted.
3966 (CHARSET_PRIVATE_P): Deleted unconditionally.
3967 (rep_bytes_by_first_byte): Deleted unconditionally.
3968 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3969 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3970 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3971 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3972 (CHAR_FIELD2): Deleted.
3973 (CHAR_FIELD3): Deleted.
3974 (MAKE_CHAR): Delete definition for non-UTF-2000.
3975 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3976 (breakup_char_1): New implementation.
3977 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
3978 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
3980 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3982 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3985 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3987 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3988 (CHARSET_PRIVATE_P): Likewise.
3989 (XCHARSET_PRIVATE_P): Likewise.
3990 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3992 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3994 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3996 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3998 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3999 (NUM_LEADING_BYTES): Changed from 128 to 256.
4000 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4001 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4003 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4005 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4007 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4008 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4009 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4010 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4011 (Qchinese_cns11643_3): New variable in UTF2000.
4012 (Qchinese_cns11643_4): New variable in UTF2000.
4013 (Qchinese_cns11643_5): New variable in UTF2000.
4014 (Qchinese_cns11643_6): New variable in UTF2000.
4015 (Qchinese_cns11643_7): New variable in UTF2000.
4016 (syms_of_mule_charset): Define `chinese-cns11643-3',
4017 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4018 and `chinese-cns11643-7' in UTF2000.
4019 (vars_of_mule_charset): Initialize
4020 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4022 (complex_vars_of_mule_charset): Setup charset
4023 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4024 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4026 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4028 * mule-charset.c: Move setting for `leading-code-private-11' from
4029 `syms_of_mule_charset' to `vars_of_mule_charset'.
4031 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4033 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4034 and `NUM_LEADING_BYTES' in assert.
4036 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4038 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4040 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4041 `NUM_LEADING_BYTES' instead of 128.
4043 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4045 * mule-charset.h (charset_by_leading_byte): Use
4046 `NUM_LEADING_BYTES' instead of 128.
4047 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4049 * mule-charset.c (charset_by_leading_byte): Use
4050 `NUM_LEADING_BYTES' instead of 128.
4051 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4053 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4056 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4058 * mule-charset.c (syms_of_mule_charset): Update to
4061 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4063 * file-coding.c (encode_coding_sjis): New implementation for
4064 UTF2000. (decode_coding_sjis): Ditto.
4066 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4068 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4069 Don't define in UTF2000.
4071 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4074 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4075 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4078 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4080 * config.h.in (CHAR_IS_UCS4): New macro.
4082 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4083 conventional MULE representation.
4084 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4086 * mule-charset.h: Reverted to original.
4088 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4089 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4090 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4092 * character.h: New file.
4094 * file-coding.c (Fmake_coding_system): Set 1 to
4095 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4097 (encode_coding_no_conversion): New implementation for UTF2000.
4099 * file-coding.h (struct Lisp_Coding_System): Add new member
4102 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4104 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4105 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4106 (encode_coding_iso2022): New implementation for UTF2000.
4108 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4110 * mule-canna.c (c2mu): New implementation for UTF2000.
4113 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4115 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4117 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4119 * file-coding.c (reset_encoding_stream): Set 0 to
4120 `str->iso2022.current_char_boundary' in UTF2000.
4121 (encode_utf8): Don't define in UTF2000.
4122 (encode_coding_utf8): New implementation for UTF-8 representation
4124 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4126 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4128 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4130 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4132 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4134 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4136 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4137 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4138 as UTF-8 in UTF2000.
4139 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4140 (non_ascii_valid_char_p): Don't define in UTF2000.
4141 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4142 (Lstream_get_emchar_1): Likewise.
4143 (utf-2000-version): New variable in UTF2000.
4145 * lread.c (read_escape): Add new reader `u'.
4147 * insdel.c (three_to_one_table): Don't define in UTF2000.
4148 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4149 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4151 (bytind_to_bufpos_func): Likewise.
4152 (buffer_mule_signal_inserted_region): Likewise.
4153 (vars_of_insdel): Don't initialize `three_to_one_table'.
4154 (init_buffer_text): Use `buf->text->mule_size' instead of
4155 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4158 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4159 UTF-8 representation in UTF2000.
4160 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4161 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4162 (decode_coding_iso2022): Don't define local variable `lb' in
4163 UTF2000; don't use LEADING_BYTE in UTF2000; use
4164 `DECODE_ADD_UCS_CHAR' in UTF2000.
4165 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4167 * config.h.in (UTF2000): New macro.
4169 * buffer.h (struct buffer_text): Add new member `mule_size' and
4170 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4171 (valid_char_p): Return always 1 in UTF2000.
4172 (MAX_EMCHAR_LEN): 6 in UTF2000.
4173 (three_to_one_table): Don't define in UTF2000.
4174 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4176 (real_bytind_to_bufpos): Likewise.
4178 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4180 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4182 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4183 representation change.
4184 (Vutf_2000_version): New variable.
4185 (leading_code_private_11): New variable.
4186 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4187 `leading-code-private-11'.
4189 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4190 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4191 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4192 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4193 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4194 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4195 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4196 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4197 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4198 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4199 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4200 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4201 (MIN_CHAR_GREEK): New macro.
4202 (MAX_CHAR_GREEK): New macro.
4203 (MIN_CHAR_CYRILLIC): New macro.
4204 (MAX_CHAR_CYRILLIC): New macro.
4205 (MIN_CHAR_HEBREW): New macro.
4206 (MAX_CHAR_HEBREW): New macro.
4207 (MIN_CHAR_THAI): New macro.
4208 (MAX_CHAR_THAI): New macro.
4209 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4210 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4211 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4212 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4213 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4214 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4215 (CHAR_FIELD2): New inline function.
4216 (CHAR_FIELD3): New inline function.
4217 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4218 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4219 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4220 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4221 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4222 (MIN_CHAR_COMPOSITION): Likewise.
4223 (CHAR_LEADING_BYTE): Modified for character representation change.
4224 (MAKE_CHAR): Likewise.
4226 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4227 (Vcharset_greek_iso8859_7): Likewise.
4228 (Vcharset_cyrillic_iso8859_5): Likewise.
4229 (Vcharset_hebrew_iso8859_8): Likewise.
4230 (Vcharset_thai_tis620): Likewise.
4231 (Vcharset_katakana_jisx0201): Likewise.
4233 2001-02-08 Martin Buchholz <martin@xemacs.org>
4235 * XEmacs 21.2.44 "Thalia" is released.
4237 2001-02-06 Martin Buchholz <martin@xemacs.org>
4239 Fixes crashes in kill-emacs on some systems.
4240 * process-unix.c (unix_kill_child_process):
4241 It's OK for kill() to fail with ESRCH.
4243 2001-02-07 Martin Buchholz <martin@xemacs.org>
4245 Contortions to make .gdbinit tricks work on most systems.
4246 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
4247 * alloc.c (dbg_valmask): Make non-const.
4248 * alloc.c (dbg_typemask): Make non-const.
4249 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
4250 * alloc.c (dbg_valbits): Make non-const.
4251 * alloc.c (dbg_gctypebits): Make non-const.
4252 * .gdbinit (decode_object): Make it work with AIX cc.
4254 2001-02-06 Martin Buchholz <martin@xemacs.org>
4256 * elhash.c (make_general_lisp_hash_table):
4257 Use simpler and more efficient calloc to clear entries.
4259 2001-02-07 Martin Buchholz <martin@xemacs.org>
4261 * window.c (window_scroll): Work around an AIX C compiler bug.
4262 Fixes 'scroll-up' does nothing problem with xlC.
4264 2001-02-05 Martin Buchholz <martin@xemacs.org>
4266 * .gdbinit: Remove obsolete comment.
4268 2001-01-31 Mike Alexander <mta@arbortext.com>
4270 * select.c (Fown_selection_internal): Set owned_p for device
4273 2001-02-01 Martin Buchholz <martin@xemacs.org>
4276 "not" cannot be used as a macro name as it is an operator in C++
4277 * config.h.in: Stop #defining `not'.
4278 * chartab.c (check_category_char): not ==> not_p
4279 * chartab.h: Likewise.
4280 * regex.c (re_match_2_internal): Likewise.
4282 2001-02-02 Martin Buchholz <martin@xemacs.org>
4284 * lisp-disunion.h: Fix up comments.
4286 2001-01-31 Martin Buchholz <martin@xemacs.org>
4288 * keymap.c (define_key_check_and_coerce_keysym):
4290 Support mouse-6 and mouse-7 bindings in the obvious way.
4292 2001-02-01 Martin Buchholz <martin@xemacs.org>
4294 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
4296 2001-01-30 Martin Buchholz <martin@xemacs.org>
4298 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
4299 Previous patch missed DEFVAR_INT_MAGIC.
4300 Make sure future DEFVAR_foo use correct types.
4301 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
4302 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
4303 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
4304 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
4305 * (DEFVAR_INT): Likewise.
4306 * redisplay.c (vertical_clip): Should be of type Fixnum.
4307 * redisplay.c (horizontal_clip): Likewise.
4308 * lisp.h (dump_add_opaque_int): New.
4309 (dump_add_opaque_fixnum): New.
4311 2001-01-29 Andy Piper <andy@xemacs.org>
4313 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4314 since they can be eval'ed
4316 2001-01-29 Martin Buchholz <martin@xemacs.org>
4318 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4319 Oops, XEmacs redefines `class'. Use `typename' instead.
4321 2001-01-28 Martin Buchholz <martin@xemacs.org>
4323 * dumper.c: Fix C++ compile errors.
4325 2001-01-29 Martin Buchholz <martin@xemacs.org>
4327 * tparam.c: Use correct prototypes.
4329 2001-01-28 Martin Buchholz <martin@xemacs.org>
4331 * sysproc.h: #include util.h for NetBSD's openpty.
4333 2001-01-27 Martin Buchholz <martin@xemacs.org>
4335 More 64-bit correctness.
4336 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4337 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4339 This finally finishes the 64-bit SGI port.
4340 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4341 * symbols.c: Fix up comments and type casts.
4342 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4343 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4344 * symeval.h (Fixnum): New type.
4345 * symeval.h (symbol_value_type): Fix up comment.
4361 * mule-canna.c: A million DEFVAR_INTs here...
4362 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4375 s/int/Fixnum/g in DEFVAR_INT declarations.
4377 2001-01-26 Martin Buchholz <martin@xemacs.org>
4379 Port pdump to SGI alignment-sensitive environment.
4380 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4381 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4383 Define and use aligned reading and writing macros.
4384 Use buffered stdio instead of posix i/o for faster dumping.
4385 Eliminate kludgy 256 byte space for header.
4386 Read and write from dump file using structs for alignment safety.
4387 * dumper.c (pdump_align_stream): New.
4388 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4389 * dumper.c (PDUMP_READ_ALIGNED): New.
4390 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4391 * dumper.c (pdump_static_Lisp_Object): New struct.
4392 * dumper.c (pdump_static_pointer): New struct.
4393 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4394 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4395 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4396 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4398 * dumper.c (pdump_backtrace):
4399 * dumper.c (pdump_get_indirect_count):
4400 * dumper.c (pdump_register_object):
4401 * dumper.c (pdump_register_struct):
4402 * dumper.c (pdump_reloc_one):
4403 * dumper.c (pdump_scan_by_alignment):
4404 * dumper.c (pdump_dump_from_root_struct_ptrs):
4405 * dumper.c (pdump_dump_opaques):
4406 * dumper.c (pdump_dump_rtables):
4407 * dumper.c (pdump_dump_from_root_objects):
4409 * dumper.c (pdump_load_finish):
4410 Use aligned reading and writing.
4412 * dumper.c (pdump_free): Make static.
4413 * dumper.c (pdump_hFile): Likewise.
4414 * dumper.c (pdump_hMap): Likewise.
4416 2001-01-26 Martin Buchholz <martin@xemacs.org>
4418 * XEmacs 21.2.43 "Terspichore" is released.
4420 2001-01-25 Martin Buchholz <martin@xemacs.org>
4422 Type fiddling for window_config.saved_windows_count
4423 * window.c (struct window_config):
4424 Make saved_windows_count member unsigned.
4425 * window.c (sizeof_window_config_for_n_windows):
4426 Make parameter unsigned.
4427 * window.c (mark_window_config):
4428 * window.c (window_config_equal):
4429 * window.c (free_window_configuration):
4430 * window.c (Fset_window_configuration):
4431 * window.c (count_windows):
4432 * window.c (Fcurrent_window_configuration):
4433 * window.c (reinit_vars_of_window):
4434 Update all callers and users.
4436 2001-01-25 Martin Buchholz <martin@xemacs.org>
4438 Alignment correctness for flexible arrays.
4439 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4440 Make alignment-correct. Add interesting comments.
4441 * alloc.c (size_vector):
4442 * alloc.c (make_vector_internal):
4443 * alloc.c (make_bit_vector_internal):
4444 * alloc.c (sweep_bit_vectors_1):
4445 * fns.c (size_bit_vector):
4446 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4447 * window.c (sizeof_window_config_for_n_windows):
4448 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4450 2001-01-24 Martin Buchholz <martin@xemacs.org>
4452 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4454 2001-01-23 Andy Piper <andy@xemacs.org>
4456 * select.c (Fown_selection_internal): pass owned_p
4458 * select-msw.c (mswindows_own_selection): New Signature.
4460 * console.h (struct console_methods): add owned_p to
4463 * select-x.c (x_own_selection): pass owned_p
4464 (hack_motif_clipboard_selection): use owned_p
4465 (vars_of_select_x): new variable -
4466 x_selection_strict_motif_ownership.
4468 2001-01-23 Martin Buchholz <martin@xemacs.org>
4470 * specifier.h (specifier_data_offset): Remove pointless parens.
4471 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4473 2001-01-24 Martin Buchholz <martin@xemacs.org>
4475 Make Lisp_Object sizeof methods be alignment-correct.
4476 pdump must restore objects to the same alignment as the C compiler
4477 assumes. It really matters on SGIs.
4478 * lstream.c (aligned_sizeof_lstream): New.
4479 (sizeof_lstream): Use aligned_sizeof_lstream.
4480 (Lstream_new): Likewise.
4481 * opaque.c (aligned_sizeof_opaque): New.
4482 (sizeof_opaque): Use aligned_sizeof_opaque.
4483 (make_opaque): Likewise.
4484 * specifier.c (aligned_sizeof_specifier): New.
4485 (sizeof_specifier): Use aligned_sizeof_specifier.
4486 (make_specifier_internal): Likewise.
4488 2001-01-23 Martin Buchholz <martin@xemacs.org>
4490 * lstream.h (struct lstream): Use max_align_t for trailing data.
4491 * specifier.h (struct Lisp_Specifier): Likewise.
4493 2001-01-22 Martin Buchholz <martin@xemacs.org>
4495 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4496 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4497 (CCL_SUSPEND): Likewise.
4498 (CCL_INVALID_CMD): Likewise.
4499 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4500 (ccl_driver): Likewise.
4501 (CCL_WRITE_CHAR): Macro hygiene.
4502 (CCL_WRITE_STRING): Macro hygiene.
4504 2001-01-22 Martin Buchholz <martin@xemacs.org>
4506 Port "portable" dumper to SunOS 4 and HP-UX.
4507 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4508 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4509 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4511 2001-01-22 Martin Buchholz <martin@xemacs.org>
4513 * lisp.h (ALIGNOF): A better definition for C++.
4515 2001-01-20 Martin Buchholz <martin@xemacs.org>
4518 Fix printf warnings: int format, long int arg.
4519 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4520 (PUSH_FAILURE_POINT): Use correct printf formats.
4521 (POP_FAILURE_POINT): Use correct printf formats.
4522 Use do {...} while (0)
4524 2001-01-20 Martin Buchholz <martin@xemacs.org>
4526 * XEmacs 21.2.42 "Poseidon" is released.
4528 2001-01-20 Martin Buchholz <martin@xemacs.org>
4530 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4532 2001-01-19 Martin Buchholz <martin@xemacs.org>
4534 De-kludgify FIXED_TYPE free list frobbing.
4535 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4536 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4537 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4538 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4539 * alloc.c (LRECORD_FREE_P): New.
4540 * alloc.c (MARK_LRECORD_AS_FREE): New.
4541 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4542 * alloc.c (STRUCT_FREE_P): Deleted.
4543 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4544 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4545 * alloc.c (STRING_CHARS_FREE_P): New.
4546 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4547 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4548 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4549 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4550 * alloc.c (resize_string): Use new definitions.
4551 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4552 * alloc.c (verify_string_chars_integrity): Use new definitions.
4553 * alloc.c (compact_string_chars): Use new definitions.
4554 * alloc.c: Update monster comments.
4555 * lrecord.h (lrecord_type): Add some new lrecord types for
4558 2001-01-18 Martin Buchholz <martin@xemacs.org>
4560 Improve alignment hackery.
4561 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4562 (max_align_t): Moved from opaque.h - general purpose.
4563 (ALIGN_PTR): Use size_t, not long.
4564 * opaque.h (max_align_t): Move to lisp.h.
4566 2001-01-18 Norbert Koch <nk@LF.net>
4568 * gui.h: Fix and add prototypes to fix build problems.
4570 2001-01-18 Martin Buchholz <martin@xemacs.org>
4572 temacs is going away, so `dump-temacs' is now a bad name.
4573 * .dbxrc (dump-temacs): Rename to `dmp'.
4574 * .gdbinit (dump-temacs): Rename to `dmp'.
4576 2001-01-17 Andy Piper <andy@xemacs.org>
4578 * glyphs.c (print_image_instance): comment to make martin happy.
4580 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4583 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4585 (mswindows_tab_control_redisplay): warning suppression.
4587 * glyphs-widget.c (widget_update): re-write to cope with updated
4589 (widget_instantiate): use new gui_item functions.
4590 (tab_control_update): deleted.
4591 (progress_gauge_update): deleted.
4592 (image_instantiator_progress_guage): take out update reference.
4593 (image_instantiator_tree_view): ditto.
4594 (image_instantiator_tab_control): ditto.
4596 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4598 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4599 return whether anything was changed.
4600 (update_gui_item_keywords): as it sounds.
4602 * gui.h: declare widget_gui_parse_item_keywords.
4604 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4605 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4607 2001-01-17 Martin Buchholz <martin@xemacs.org>
4609 * XEmacs 21.2.41 "Polyhymnia" is released.
4611 2001-01-16 Didier Verna <didier@xemacs.org>
4613 * glyphs.c (image_instantiate): don't use fallbacks when
4614 instantiating a face's background pixmap by inheritance.
4616 2001-01-14 Mike Sperber <mike@xemacs.org>
4618 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4619 Conditionalize accordingly.
4621 2001-01-16 Martin Buchholz <martin@xemacs.org>
4623 * dumper.c (pdump_file_get): Fix a compiler warning.
4625 2001-01-15 Martin Buchholz <martin@xemacs.org>
4627 Make Purify happy when pdumping.
4628 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4629 iniitalizing all bits of new lisp object memory.
4630 * symbols.c (Fmake_local_variable): Likewise.
4631 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4632 * symbols.c (Fdefvaralias): Likewise.
4633 * mule-charset.c (vars_of_mule_charset): Likewise.
4635 2001-01-15 Martin Buchholz <martin@xemacs.org>
4636 Add the `-nd' flag when running pre-dump operations under the debugger.
4637 * .dbxrc (run-temacs): Add `-nd'.
4638 * .dbxrc (update-elc): Likewise.
4639 * .dbxrc (dump-temacs): Likewise.
4640 * .gdbinit (run-temacs): Likewise.
4641 * .gdbinit (check-temacs): Likewise.
4642 * .gdbinit (update-elc): Likewise.
4643 * .gdbinit (dump-temacs): Likewise.
4645 2001-01-14 Martin Buchholz <martin@xemacs.org>
4647 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4648 export OBJECT_MODE=64
4649 configure --pdump --use-union-type=no
4650 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4651 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4653 * miscplay.c (sndcnv8U_2mono):
4654 Avoid two uses of `++' in the same expression.
4655 Suppresses a GCC warning.
4657 2001-01-13 Martin Buchholz <martin@xemacs.org>
4659 Make sure future compilers don't miscompile alloc.c.
4661 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4662 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4664 2001-01-12 Martin Buchholz <martin@xemacs.org>
4666 * dumper.c: A little post-pdump-rename comment fixup.
4668 2001-01-09 Jerry James <james@eecs.ku.edu>
4670 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4672 2001-01-13 Martin Buchholz <martin@xemacs.org>
4674 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4678 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4681 replace_symbol pdump_wire_lists pdump_weak_object_chains
4682 replace_symbol pdump_wire_list dump_add_weak_object_chain
4684 replace_symbol pdump_wires pdump_root_objects
4685 replace_symbol pdump_wire dump_add_root_object
4687 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4688 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4690 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4691 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4692 replace_symbol dumpstructinfo pdump_root_struct_ptr
4693 replace_symbol dumpstruct dump_add_root_struct_ptr
4695 replace_symbol dumpopaque dump_add_opaque
4696 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4697 replace_symbol dumpopaqueinfos pdump_opaques
4698 replace_symbol dumpopaqueinfo pdump_opaque
4700 replace_symbol nb_structdump nb_root_struct_ptrs
4701 replace_symbol nb_opaquedump nb_opaques
4703 replace_symbol align_table pdump_align_table
4704 replace_symbol dump_header pdump_header
4706 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4707 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4710 2001-01-12 Martin Buchholz <martin@xemacs.org>
4712 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4713 optimizing bytecount_to_charcount().
4715 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4718 (HAVE_DLFCN_H): Removed.
4719 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4721 2001-01-06 Martin Buchholz <martin@xemacs.org>
4723 Portable dumper maintainability improvements.
4724 * alloc.c (staticpro):
4725 * alloc.c (staticpro_nodump):
4726 * alloc.c (garbage_collect_1):
4727 * alloc.c (reinit_alloc_once_early):
4728 * alloc.c (init_alloc_once_early):
4729 * alloc.c: Move dumper functions to alloc.c.
4730 * dumper.c (pdump_backtrace):
4731 * dumper.c (pdump_dump_structs):
4732 * dumper.c (pdump_dump_opaques):
4733 * dumper.c (pdump_dump_rtables):
4734 * dumper.c (pdump_dump_wired):
4736 * dumper.c (pdump_load_check):
4737 * dumper.c (pdump_load_finish):
4738 * dumper.c (pdump_file_unmap):
4739 * dumper.c (pdump_file_get):
4740 * dumper.c (pdump_resource_free):
4741 * dumper.c (pdump_resource_get):
4742 * dumper.c (pdump_file_free):
4743 * dumper.c (pdump_file_try):
4744 * dumper.c (pdump_load):
4745 Remove fixed size limits on staticpro(), staticpro_nodump(),
4746 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4747 Remove custom code for dumping lrecord_implementations_table - use
4749 Remove (most of the) custom code for dumping staticpros - dump it
4750 like any other dynarr.
4752 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4753 * dumper.c: Moved functions from alloc.c.
4754 * alloc.c (dumpstruct): Moved to dumper.c.
4755 * alloc.c (dumpopaque): Likewise.
4756 * alloc.c (pdump_wire): Likewise.
4757 * alloc.c (pdump_wire_list): Likewise.
4759 * lisp.h (Dynarr_sizeof): New.
4760 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4761 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4762 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4764 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4765 * lisp.h (dumpopaque): ditto.
4766 * lisp.h (pdump_wire): ditto.
4767 * lisp.h (pdump_wire_list): ditto.
4769 2001-01-09 Martin Buchholz <martin@xemacs.org>
4771 * make-src-depend (PrintPatternDeps):
4772 Use `sort' to make output independent of perl version.
4774 2001-01-08 Martin Buchholz <martin@xemacs.org>
4777 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4778 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4780 2001-01-03 Didier Verna <didier@xemacs.org>
4782 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4783 that `focus_frame' is alive before thinking of calling
4784 `redisplay_redraw_cursor' on it.
4786 2001-01-08 Martin Buchholz <martin@xemacs.org>
4788 * XEmacs 21.2.40 is released.
4790 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4792 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4794 2001-01-06 Martin Buchholz <martin@xemacs.org>
4796 * alloc.c (dbg_valmask): Make const.
4797 * alloc.c (dbg_typemask): Make const.
4798 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4799 * alloc.c (dbg_valbits): Make const.
4800 * alloc.c (dbg_gctypebits): Make const.
4802 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4804 * redisplay-x.c (x_bevel_area):
4805 redisplay.h (struct rune):
4806 Typo fixes in comments.
4808 2001-01-05 Andy Piper <andy@xemacs.org>
4810 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4813 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4815 2001-01-05 Martin Buchholz <martin@xemacs.org>
4817 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4819 * mule-ccl.c (stack_idx_of_map_multiple):
4820 Non const global data must not be initialized!
4821 Found by MIYASHITA Hisashi.
4823 2001-01-02 Andy Piper <andy@xemacs.org>
4825 * frame.c (change_frame_size): make sure frame size is always
4828 * glyphs.c (image_instance_layout): minor code reuse.
4830 * window.c (Fcurrent_window_configuration): revert previous
4833 2001-01-02 Martin Buchholz <martin@xemacs.org>
4836 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4838 2000-12-31 Andy Piper <andy@xemacs.org>
4840 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4841 when widget gets unmapped.
4843 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4844 function. Make sure widgets losing focus don't just drop it.
4845 (handle_focus_event_1): record the widget with focus.
4847 2000-12-31 Andy Piper <andy@xemacs.org>
4849 * window.c (allocate_window): use
4850 make_image_instance_cache_hash_table.
4851 (make_dummy_parent): ditto.
4852 (Fset_window_configuration): ditto.
4854 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4856 * glyphs.c (process_image_string_instantiator): use
4858 (get_image_instantiator_governing_domain): ditto.
4859 (normalize_image_instantiator): ditto.
4860 (instantiate_image_instantiator): ditto.
4861 (make_image_instance_1): ditto.
4862 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4863 (instantiator_eq_equal): new function for use with instance hash
4865 (instantiator_eq_hash): ditto.
4866 (make_image_instance_cache_hash_table): create a suitable hash
4867 table for storing image instances.
4869 * elhash.h (hash_table_weakness): new internal weakness type
4870 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4871 declare new functions.
4873 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4874 another weakness type for glyphs.
4875 (make_standard_lisp_hash_table): new function split out from
4876 make_general_lisp_hash_table.
4877 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4878 (hash_table_instantiate): ditto.
4879 (Fmake_hash_table): ditto.
4881 2000-12-31 Martin Buchholz <martin@xemacs.org>
4883 * XEmacs 21.2.39 is released.
4885 2000-12-29 Andy Piper <andy@xemacs.org>
4887 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4889 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4890 the frame has changed so that we pick up geometry changes such as
4893 2000-12-28 Andy Piper <andy@xemacs.org>
4895 * lastfile.c (my_ebss): make a char array so we can pad the
4896 bss. Fixes cygwin unexec.
4898 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4900 2000-12-26 Andy Piper <andy@xemacs.org>
4902 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
4903 comments and try and be more precise about a non-/SIGIO world.
4904 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
4907 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
4908 we don't normalize to zero width or height.
4910 2000-12-24 Andy Piper <andy@xemacs.org>
4912 * Makefile.in.in (ldflags): add -mwindows when appropriate.
4914 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
4916 * s/sco5.h: SCO 5 has pty support.
4918 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
4920 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
4921 input-method-xlib.c contains whole contents of input-method-xfs.c,
4922 so we can use input-method-xlib.c's code for USE_XFONTSET
4924 * input-method-xfs.c: removed.
4926 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
4928 * file-coding.h (enum coding_category_type): reorder enumerators to
4929 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
4930 (now one greater than largest real coding_category_type enumerator).
4931 * file-coding.c (coding_category_symbol, coding_category_by_priority,
4932 coding_category_system, fcd_descriptihon_1, decode_coding_category,
4933 Fcoding_category_list, Fset_coding_priority_list,
4934 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
4935 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
4937 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4939 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
4940 * redisplay-output.c (redisplay_output_window): Clear top of window
4941 when face is changed.
4942 * redisplay-x.c (x_redraw_exposed_window): Call
4943 redisplay_clear_top_of_window.
4944 * redisplay.h: Publish redisplay_clear_top_of_window.
4946 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4948 * buffer.c (Fkill_buffer): Map over all devices.
4949 * window.c (window_loop): Remove UNSHOW_BUFFER code.
4950 (list_windows): New function.
4951 (list_all_windows): Ditto.
4952 (Freplace_buffer_in_windows): Use them.
4954 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4956 * database.c (berkdb_subtype): Recognize new subtype `queue'.
4957 (Fopen_database): Use `db_create' instead of `db_open'.
4958 (syms_of_database): Initialize Qqueue.
4960 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4962 * buffer.c (common_init_complex_vars_of_buffer): Initialize
4963 buffer_local_face_property.
4964 * buffer.h (struct buffer): New member buffer_local_face_property.
4965 * window.c (Fset_window_buffer): Mark window's face as changed
4966 when buffer has buffer local face.
4967 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
4968 * objects.c (color_after_change): Set buffer_local_face_property
4969 when locale of face specifier is buffer.
4970 * objects.c (font_after_change): Ditto.
4971 * objects.c (face_boolean_after_change): Ditto.
4972 * glyphs.c (image_after_change): Ditto.
4974 2000-12-09 Dan Holmsand <dan@eyebee.com>
4976 * nt.c (mswindows_fstat): Report file permissions, volume serial
4977 number, etc. Code adapted from FSF Emacs 20.7.
4979 2000-12-09 Dan Holmsand <dan@eyebee.com>
4981 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
4982 of stat when we don't have symbolic links, to make sure
4983 mswindows_stat is called on mswindows.
4985 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
4987 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
4989 2000-12-12 Martin Buchholz <martin@xemacs.org>
4991 * doprnt.c (emacs_doprnt_1): More printing fixes.
4992 Make printing of numbers compatible with libc and FSF Emacs.
4993 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
4994 Use the system printf to do most of the hard work of formatting,
4995 instead of doprnt_1().
4996 Calculate memory to allocate for format string.
4997 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
4998 (doprnt_1): Cleaner code and documentation.
5000 2000-12-01 Jerry James <james@eecs.ukans.edu>
5002 * Makefile.in.in: Use the loop variable to install headers.
5004 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
5006 * window.c (Fsplit_window): Don't invalidate face cache.
5008 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
5010 * minibuf.c (Fall_completions): Undo the previous change
5011 which removed checking elements start with space.
5013 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
5015 * mule-canna.c: Didier suppression.
5017 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
5019 * mule-canna.c: rename static unsigned char buf[] to key_buffer
5020 (warning suppression). Add English comment translations.
5022 2000-12-05 Martin Buchholz <martin@xemacs.org>
5024 * unexelfsgi.c (unexec): Better test for mmap failure.
5026 2000-12-05 Martin Buchholz <martin@xemacs.org>
5028 * XEmacs 21.2.38 is released.
5030 2000-12-05 Martin Buchholz <martin@xemacs.org>
5032 * redisplay.c (bar-cursor): Make a user variable.
5034 * symsinit.h: Add init_postgresql_from_environment.
5036 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
5038 * regex.c: Convert to clean C.
5040 2000-12-05 Dan Holmsand <dan@eyebee.com>
5043 Don't #include sysfile.h. Revert to duplicating PATH_MAX
5045 (sys_readlink): renamed to system_readlink to avoid conflict with
5046 the other sys_readlink.
5048 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
5050 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
5052 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
5054 * postgresql.c (init_postgresql_from_environment): new function.
5055 (vars_of_postgresql): Move code initializing Lisp variables out and
5056 into init_postgresql_from_environment.
5057 emacs.c (main_1): Call init_postgresql_from_environment if and only
5058 if running a dumped XEmacs.
5060 2000-08-31 Dan Holmsand <dan@eyebee.com>
5062 * buffer.c: Make find-file-compare-truenames default to true on
5065 * realpath.c (win32_abs_start):
5067 (win32_readlink): New functions.
5068 (xrealpath): Return really real filenames on windows.
5070 * fileio.c (Ffile_truename): Make file-truename work on windows.
5072 2000-11-29 Didier Verna <didier@xemacs.org>
5074 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
5075 * faces.c (update_face_cachel_data): use it.
5076 * faces.c (add_face_cachel): use it. Complete background pixmap
5077 frobbing in face cache if `update_face_cachel_data' has not done so.
5079 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
5081 * search.c (string_match_1): Don't set last_thing_searched
5084 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
5086 * buffer.c: Include casetab.h
5087 (common_init_complex_vars_of_buffer): Use new case-table object.
5088 * buffer.h: Include casetab.h
5089 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
5090 (DOWNCASE_TABLE_OF): Ditto.
5091 * bufslots.h: Remove char-tables and add case-table.
5092 * casetab.c: Include casetab.h
5093 (CASE_TABLE_P): Removed.
5094 (mark_case_table): New function.
5095 (allocate_case_table): New function.
5096 (Fcase_table_p): Use new case-table.
5097 (case_table_char): New function.
5098 (Fget_case_table): Ditto.
5099 (Fput_case_table): Ditto.
5100 (Fput_case_table_pair): Ditto.
5101 (Fcopy_case_table): Ditto.
5102 (Fcurrent_case_table): Return case-table.
5103 (Fstandard_case_table): Return case-table.
5104 (Fset_case_table): Fix doc-string.
5105 (set_case_table): Use case-table
5106 (syms_of_casetab): DEFSUBR new functions.
5107 (complex_vars_of_casetab): Set up standard case-table.
5108 * casetab.h: New file.
5109 * editfns.c: Include casetab.h
5110 (Fcompare_buffer_substrings): Use case-table.
5111 * inline.c: Include casetab.h
5112 * lisp.h: Remove bogus extern.
5113 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
5114 * search.c: Include casetab.h
5115 (TRANSLATE_ASCII): Removed.
5116 (TRANSLATE): Unconditionally translate character.
5117 (looking_at_1): Use case-table.
5118 (string_match_1): Ditto.
5119 (fast_string_match): Ditto.
5120 (search_command): Ditto.
5121 (search_buffer): Separate boyer_moore. Check whether
5122 boyer_moore is possible.
5123 (simple_search): New function.
5124 (boyer_moore): Separated from search_buffer. Translate char.
5126 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
5128 * regex.c (RE_TR_ASCII): Removed.
5129 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
5130 (PATFETCH): Call PATFETCH_RAW.
5131 (PATFETCH_RAW): Fetch Emchar.
5132 (PATUNFETCH): Decrement charptr.
5133 (GET_BUFFER_SPACE): Rename b to buf_end.
5135 (BUF_PUSH_2): Ditto.
5136 (BUF_PUSH_3): Ditto.
5137 (EXTEND_BUFFER): Ditto.
5138 (SET_LIST_BIT): Ditto.
5139 (regex_compile): Ditto. Translate non ASCII char.
5140 (compile_range): Ditto.
5141 (re_search_2): Ditto.
5142 (re_match_2_internal): Compare Emchar.
5143 (bcmp_translate): Ditto.
5145 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
5147 * lisp.h (basic char/int typedefs): comment improvement.
5149 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
5151 * emacs.c (main_1): unconditional pdump unstomping; don't save and
5152 unstomp inhibit_site_lisp. Improve comments.
5154 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
5156 * mule-charset.c (Fcharset_property): improve type checking, comments.
5158 2000-11-28 Andy Piper <andy@xemacs.org>
5160 * redisplay-output.c (redisplay_output_subwindow): make sure we do
5161 clipped display for windows in the gutter also.
5162 (redisplay_display_boxes_in_window_p): change semantics of return
5163 codes to be more intuitive.
5165 * gutter.h: declare display_boxes_in_gutter_p.
5167 * gutter.c (display_boxes_in_gutter_p): new function for
5170 2000-11-22 Andy Piper <andy@xemacs.org>
5172 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
5175 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
5177 * callproc.c (Fold_call_process_internal):
5178 * gpm.c (Freceive_gpm_event):
5179 (tty_get_foreign_selection): Might be just warning supression.
5180 * fileio.c (Fwrite_region_internal):
5181 (Fset_visited_file_modtime):
5182 * keymap.c (event_matches_key_specifier_p):
5183 Initialize GCPROed variable.
5185 * menubar-x.c (command_builder_find_menu_accelerator):
5186 Initialize before use.
5188 2000-11-23 Andy Piper <andy@xemacs.org>
5190 * unexcw.c (unexec): make the resulting executable executable.
5192 2000-11-21 Martin Buchholz <martin@xemacs.org>
5194 * doc.c (get_doc_string):
5195 Use size_t, not int, for result of XSTRING_LENGTH.
5197 * cmds.c (Fdelete_char):
5198 * cmds.c (Fpoint_at_eol):
5199 * cmds.c (Fself_insert_command):
5200 Use EMACS_INT, not int, for result of XINT.
5201 Someday, someone will want to insert more than 2**31 identical characters.
5203 * cmds.c (Fdelete_char):
5204 * cmds.c (Fdelete_backward_char):
5205 * syntax.c (Fforward_word):
5206 * syntax.c (Fforward_comment):
5207 Make COUNT argument optional, for consistency with forward-char et al.
5209 2000-11-22 Martin Buchholz <martin@xemacs.org>
5212 * print.c (long_to_string):
5213 Return a useful value: the pointer at end of data written.
5216 Use `static const char * const' for constant strings.
5217 (union printf_arg): Delete `i', `ui' members.
5220 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
5221 Do all printf-ing via the `l' specifier.
5222 Use EMACS_INT instead of int.
5225 2000-11-20 Didier Verna <didier@xemacs.org>
5227 * faces.c (update_face_cachel_data): don't frob the background
5228 pixmap when the window is being created. The face is needed but
5231 2000-11-20 Andy Piper <andy@xemacs.org>
5233 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
5234 messing with a debug environment.
5236 2000-11-20 Martin Buchholz <martin@xemacs.org>
5238 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
5240 2000-11-20 Martin Buchholz <martin@xemacs.org>
5242 * casetab.c (Fcase_table_p): Fix compile error and crash.
5244 2000-11-18 Philip Aston <philipa@mail.com>
5246 * s/cygwin32.h: Cygwin has SVR4-like pty support.
5248 2000-11-18 Martin Buchholz <martin@xemacs.org>
5250 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
5251 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
5253 2000-11-17 Martin Buchholz <martin@xemacs.org>
5255 * config.h.in: Define HAVE_ELF_H if elf.h exists.
5256 * unexelf.c: Use HAVE_ELF_H.
5257 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
5258 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
5259 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
5260 Greg Harrington <greg_harrington@hotmail.com> provided a machine
5262 So this is an unexelfsgi.c from a different line of development.
5264 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5266 * regex.c (RE_TR_ASCII): New function.
5267 (RE_TRANSLATE): Call it.
5269 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5271 * buffer.h (TRT_TABLE_OF): Remove assert.
5272 (IN_TRT_TABLE_DOMAIN): Removed.
5274 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
5276 * free-hook.c (log_gcpro):
5277 (show_gcprohist): Add support for GCPRO5.
5279 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
5281 * emacs.c (main_1): Improve -sd error message when --pdump=no.
5283 2000-11-16 Olivier Galibert <galibert@xemacs.org>
5285 * symeval.h: Declare flush_all_buffer_local_cache.
5287 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
5288 (flush_buffer_local_cache): Added.
5289 (flush_all_buffer_local_cache): Added.
5291 * lrecord.h: Remove unused XD_LO_RESET_NIL.
5293 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
5294 (pdump_dump_data): Ditto.
5295 (pdump_reloc_one): Ditto.
5296 (pdump): Remove unused pdump_qnil. Flush buffer local caches
5300 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5302 * buffer.c: Remove if 0'ed entry.
5303 * buffer.h: Rewrite TRT to use char-table.
5304 * bufslots.h: Remove mirror tables.
5305 * casetab.c: Remove mirror tables.
5306 (CASE_TABLE_P): New macro.
5307 (Fcase_table_p): Element of a case table is string or char-table.
5308 (make_mirror_trt_table): Removed.
5309 (set_case_table): Setup char-table from strings for backward
5311 * dired.c (Fdirectory_files):
5312 * dired-msw.c: (mswindows_get_files):
5313 * lisp.h: Change prototype of re_pattern_buffer.
5314 * regex.c: (RE_TRANSLATE): New macro.
5315 (TRANSLATE_P): Ditto.
5316 Change translate to type RE_TRANSLATE_TYPE.
5317 * regex.h: Define RE_TRANSLATE_TYPE
5318 * search.c (TRANSLATE): New macro.
5319 (TRANSLATE_ASCII): New macro.
5320 Translate table is changed to Lisp_Object.
5321 (signal_failure): Inhibit return.
5323 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5330 Do UNGCPRO before return.
5332 2000-11-14 Martin Buchholz <martin@xemacs.org>
5334 * XEmacs 21.2.37 is released.
5336 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5338 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5339 Add comments about discarded return value.
5341 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5344 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5346 2000-10-27 Andy Piper <andy@xemacs.org>
5348 * gutter.c (Fset_default_gutter_position): default left and right
5350 (calculate_gutter_size): calculate resonable heuristic for left
5351 and right gutter sizes.
5352 (specifier_vars_of_gutter): change left and right gutter sizes to
5354 (calculate_gutter_size_from_display_lines): new function.
5355 (output_gutter): check for resizing on left and right gutters.
5356 (clear_gutter): don't special case top and left gutters.
5357 (specifier_vars_of_gutter): use new signature for
5358 set_specifier_caching.
5360 * glyphs-x.c (x_redisplay_widget): spelling fix.
5361 * glyphs.c (specifier_vars_of_glyphs):
5362 * menubar.c (specifier_vars_of_menubar):
5363 * redisplay.c (specifier_vars_of_redisplay):
5364 * toolbar.c (specifier_vars_of_toolbar):
5365 * window.c (specifier_vars_of_window):
5366 * scrollbar.c (specifier_vars_of_scrollbar):
5367 (complex_vars_of_scrollbar): use new signature for
5368 set_specifier_caching.
5370 * specifier.c (set_specifier_caching): include recompute flag.
5371 (recompute_one_cached_specifier_in_window): always recompute if
5373 (recompute_one_cached_specifier_in_frame): ditto.
5375 * specifier.h (struct specifier_caching): add recompute flag.
5377 2000-10-24 Andy Piper <andy@xemacs.org>
5379 * unexcw.c (copy_executable_and_dump_data_section): add new
5380 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5383 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5385 * console-x.h (x_device): New member modifier_release_time.
5386 * event-Xt.c (x_handle_sticky_modifiers):
5387 Bound interval modifier keys are sticky.
5388 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5389 * events.h: extern it.
5391 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5393 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5395 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5397 * event-stream.c (execute_command_event): Preserve current_events
5398 and the like when event is misc-user-event.
5399 Inhibit quit during the call to maybe_echo_keys.
5401 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5403 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5404 symlink when buffer is killed.
5405 (inhibit_clash_detection): New variable.
5407 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5409 * console.c (Fset_input_method): Trigger redisplay on tty.
5411 2000-11-07 Martin Buchholz <martin@xemacs.org>
5413 * process.c (Fprocess_status): Revert to previous behavior:
5414 (process-status "nosuchprocess") ==> nil
5416 2000-11-06 Martin Buchholz <martin@xemacs.org>
5418 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5419 Work around another GCC 2.95.2 optimizer bug.
5421 2000-11-02 Martin Buchholz <martin@xemacs.org>
5423 * process.c (Fget_process): Use LIST_LOOP_2.
5424 (kill_buffer_processes): Use LIST_LOOP_2.
5426 * minibuf.c (Fall_completions):
5427 Delete old non-functional code for FSF fourth argument.
5429 * frame.c (frame_matches_frame_spec):
5430 Renamed from `frame_matches_frametype'. Update all callers.
5431 (device_matches_device_spec):
5432 Renamed from 'device_matches_console_spec'. Update all callers.
5434 * doc.c (Fsubstitute_command_keys):
5435 Remove buffer overflow crash. Small code cleanups.
5437 * casetab.c (check_case_table): Simpler code.
5439 * window.c (Freplace_buffer_in_windows):
5440 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5441 (and similar implementation) as Fdelete_windows_on.
5444 * alloc.c (Fmake_list):
5445 * alloc.c (make_vector):
5446 * alloc.c (Fmake_vector):
5447 * alloc.c (make_bit_vector):
5448 * alloc.c (Fmake_bit_vector):
5449 * alloc.c (Fbit_vector):
5450 * alloc.c (Fmake_string):
5451 * alloc.c (Fpurecopy):
5452 * alloc.c (Fmemory_limit):
5454 * buffer.c (Fget_buffer):
5455 * buffer.c (Fkill_buffer):
5456 * buffer.c (complex_vars_of_buffer):
5457 * bytecode.c (Fcompiled_function_stack_depth):
5458 * callint.c (Fprefix_numeric_value):
5460 * event-stream.c (Fread_key_sequence):
5462 * casetab.c (Fcase_table_p):
5463 * casetab.c (check_case_table):
5464 * casetab.c (Fset_case_table):
5465 * casetab.c (Fset_standard_case_table):
5467 * chartab.c (Fchar_table_type):
5468 * chartab.c (Freset_char_table):
5469 * chartab.c (Fget_char_table):
5470 * chartab.c (Fget_range_char_table):
5471 * chartab.c (Fput_char_table):
5472 * chartab.c (Fmap_char_table):
5473 * chartab.c (Fcategory_table_p):
5474 * chartab.c (Fcheck_category_at):
5475 * chartab.c (Fchar_in_category_p):
5476 * chartab.c (Fcategory_table):
5477 * chartab.c (Fcopy_category_table):
5478 * chartab.c (Fset_category_table):
5479 * chartab.c (Fcategory_designator_p):
5480 * chartab.c (Fcategory_table_value_p):
5481 * cmds.c (Fdelete_char):
5482 * cmds.c (Fdelete_backward_char):
5483 * cmds.c (Fself_insert_command):
5484 * cmds.c (Fself_insert_internal):
5485 * console.c (Fvalid_console_type_p):
5486 * console.c (Fcdfw_console):
5487 * console.c (Fconsole_type):
5488 * console.c (Fconsole_name):
5489 * console.c (Fconsole_device_list):
5490 * console.c (Fconsole_on_window_system_p):
5494 * data.c (Fsubr_interactive):
5495 * data.c (Fchar_to_int):
5496 * data.c (Fint_to_char):
5499 * data.c (Fnumber_to_string):
5500 * data.c (Fstring_to_number):
5502 * database.c (mark_database):
5503 * database.c (finalize_database):
5504 * database.c (Fdatabase_live_p):
5505 * database.c (Fdatabasep):
5506 * device-x.c (Fx_get_resource):
5507 * device.c (Fdfw_device):
5509 * dired.c (Ffile_name_completion):
5510 * dired.c (Ffile_name_all_completions):
5511 * dired.c (Fuser_name_completion):
5512 * dired.c (Fuser_name_completion_1):
5513 * dired.c (Fuser_name_all_completions):
5514 * doc.c (Fdocumentation):
5515 * doc.c (Fdocumentation_property):
5516 * doc.c (Fsubstitute_command_keys):
5518 * editfns.c (Fchar_to_string):
5519 * editfns.c (Fstring_to_char):
5520 * editfns.c (Ftemp_directory):
5521 * editfns.c (Finsert_char):
5522 * editfns.c (Fbuffer_substring_no_properties):
5523 * editfns.c (Fnarrow_to_region):
5524 * editfns.c (Fchar_equal):
5525 * editfns.c (Fchar_Equal):
5526 * editfns.c (Ftranspose_regions):
5527 * emacs.c (Fdump_emacs):
5529 * eval.c (Fcommand_execute):
5530 * eval.c (Fautoload):
5531 * eval.c (Fbacktrace):
5532 * eval.c (Fbacktrace_frame):
5534 * events.c (Fcopy_event):
5535 * events.c (Fcharacter_to_event):
5536 * events.c (Fevent_button):
5537 * events.c (Fevent_process):
5539 * extents.c (Fnext_extent_change):
5540 * extents.c (Fextent_property):
5542 * faces.c (Fmake_face):
5544 * file-coding.c (Fencode_shift_jis_char):
5545 * file-coding.c (Fencode_big5_char):
5546 * fileio.c (Ffile_name_directory):
5547 * fileio.c (Ffile_name_nondirectory):
5548 * fileio.c (Ffile_name_as_directory):
5549 * fileio.c (Fdirectory_file_name):
5550 * fileio.c (Ffile_truename):
5551 * fileio.c (Fsubstitute_in_file_name):
5552 * fileio.c (Ffile_modes):
5553 * fileio.c (Fset_file_modes):
5554 * fileio.c (Fset_default_file_modes):
5555 * fileio.c (Fverify_visited_file_modtime):
5556 * floatfns.c (Facos):
5557 * floatfns.c (Fasin):
5558 * floatfns.c (Fatan):
5559 * floatfns.c (Fcos):
5560 * floatfns.c (Fsin):
5561 * floatfns.c (Ftan):
5562 * floatfns.c (Fbessel_j0):
5563 * floatfns.c (Fbessel_j1):
5564 * floatfns.c (Fbessel_jn):
5565 * floatfns.c (Fbessel_y0):
5566 * floatfns.c (Fbessel_y1):
5567 * floatfns.c (Fbessel_yn):
5568 * floatfns.c (Ferf):
5569 * floatfns.c (Ferfc):
5570 * floatfns.c (Flog_gamma):
5571 * floatfns.c (Fexp):
5572 * floatfns.c (Fexpt):
5573 * floatfns.c (Flog):
5574 * floatfns.c (Flog10):
5575 * floatfns.c (Fsqrt):
5576 * floatfns.c (Fcube_root):
5577 * floatfns.c (Facosh):
5578 * floatfns.c (Fasinh):
5579 * floatfns.c (Fatanh):
5580 * floatfns.c (Fcosh):
5581 * floatfns.c (Fsinh):
5582 * floatfns.c (Ftanh):
5583 * floatfns.c (Fabs):
5584 * floatfns.c (Ffloat):
5585 * floatfns.c (Flogb):
5586 * floatfns.c (Fceiling):
5587 * floatfns.c (Ffloor):
5588 * floatfns.c (Fround):
5589 * floatfns.c (Ftruncate):
5590 * floatfns.c (Ffceiling):
5591 * floatfns.c (Fffloor):
5592 * floatfns.c (Ffround):
5593 * floatfns.c (Fftruncate):
5594 * fns.c (Fstring_equal):
5595 * fns.c (Fstring_lessp):
5600 * fns.c (Fsubstring):
5602 * fns.c (Fold_assoc):
5603 * fns.c (assoc_no_quit):
5605 * fns.c (Fold_assq):
5606 * fns.c (assq_no_quit):
5608 * fns.c (Fold_rassoc):
5610 * fns.c (Fold_rassq):
5611 * fns.c (rassq_no_quit):
5612 * fns.c (Fremassoc):
5613 * fns.c (remassoc_no_quit):
5615 * fns.c (remassq_no_quit):
5616 * fns.c (Fremrassoc):
5617 * fns.c (Fremrassq):
5618 * fns.c (remrassq_no_quit):
5620 * fns.c (Fplist_get):
5621 * fns.c (Fplist_put):
5622 * fns.c (Fplist_remprop):
5623 * fns.c (Fplist_member):
5624 * fns.c (Flax_plist_get):
5625 * fns.c (Flax_plist_put):
5626 * fns.c (Flax_plist_remprop):
5627 * fns.c (Flax_plist_member):
5629 * fns.c (Fold_equal):
5631 * fns.c (Fbase64_encode_region):
5632 * fns.c (Fbase64_encode_string):
5633 * fns.c (Fbase64_decode_region):
5635 * frame.c (frame_matches_frame_spec):
5636 * frame.c (device_matches_device_spec):
5637 * frame.c (next_frame):
5638 * frame.c (previous_frame):
5639 * frame.c (Fnext_frame):
5640 * frame.c (Fprevious_frame):
5641 * frame.c (Fframe_property):
5642 * frame.c (Fset_frame_height):
5643 * frame.c (Fset_frame_size):
5647 * glyphs.c (decode_error_behavior_flag):
5648 * glyphs.c (Fmake_image_instance):
5649 * indent.c (Findent_to):
5650 * intl.c (Fignore_defer_gettext):
5651 * keymap.c (Fkeymapp):
5652 * keymap.c (Flookup_key):
5654 * lread.c (Fload_internal):
5655 * lread.c (Feval_buffer):
5656 * lread.c (Feval_region):
5657 * macros.c (Fexecute_kbd_macro):
5658 * marker.c (set_marker_internal):
5659 * marker.c (Fset_marker):
5660 * marker.c (set_marker_restricted):
5661 * marker.c (Fcopy_marker):
5662 * marker.c (noseeum_copy_marker):
5664 * menubar.c (Fpopup_menu):
5666 * mule-charset.c (Fcharset_name):
5667 * mule-charset.c (Fchar_charset):
5668 * mule-charset.c (Fchar_octet):
5669 * mule-charset.c (Fsplit_char):
5670 * mule-wnnfns.c (Fwnn_open):
5671 * mule-wnnfns.c (Fwnn_dict_comment):
5672 * mule-wnnfns.c (Fwnn_quit_henkan):
5673 * mule-wnnfns.c (Fwnn_word_toroku):
5674 * mule-wnnfns.c (Fwnn_word_sakujo):
5675 * mule-wnnfns.c (Fwnn_word_use):
5676 * mule-wnnfns.c (Fwnn_hindo_set):
5678 * objects.c (Fmake_color_instance):
5679 * objects.c (Fmake_font_instance):
5680 * print.c (Fwrite_char):
5682 * process.c (mark_process):
5683 * process.c (print_process):
5684 * process.c (get_process_from_usid):
5685 * process.c (Fprocessp):
5686 * process.c (Fprocess_live_p):
5687 * process.c (Fget_process):
5688 * process.c (Fget_buffer_process):
5689 * process.c (get_process):
5690 * process.c (Fprocess_id):
5691 * process.c (Fprocess_name):
5692 * process.c (Fprocess_command):
5693 * process.c (init_process_io_handles):
5694 * process.c (start_process_unwind):
5695 * process.c (Fstart_process_internal):
5696 * process.c (Fopen_multicast_group_internal):
5697 * process.c (Fset_process_window_size):
5698 * process.c (read_process_output):
5699 * process.c (send_process):
5700 * process.c (Fprocess_tty_name):
5701 * process.c (Fset_process_buffer):
5702 * process.c (Fprocess_buffer):
5703 * process.c (Fprocess_mark):
5704 * process.c (set_process_filter):
5705 * process.c (Fset_process_filter):
5706 * process.c (Fprocess_filter):
5707 * process.c (Fprocess_send_region):
5708 * process.c (Fprocess_send_string):
5709 * process.c (exec_sentinel):
5710 * process.c (Fset_process_sentinel):
5711 * process.c (Fprocess_sentinel):
5712 * process.c (status_notify):
5713 * process.c (Fprocess_status):
5714 * process.c (Fprocess_exit_status):
5715 * process.c (process_send_signal):
5716 * process.c (Fprocess_send_eof):
5717 * process.c (deactivate_process):
5718 * process.c (remove_process):
5719 * process.c (Fdelete_process):
5720 * process.c (kill_buffer_processes):
5721 * process.c (Fprocess_kill_without_query):
5722 * process.c (Fprocess_kill_without_query_p):
5724 * rangetab.c (Fget_range_table):
5725 * rangetab.c (Fput_range_table):
5726 * rangetab.c (Fremove_range_table):
5727 * rangetab.c (Fclear_range_table):
5729 * search.c (Fskip_chars_forward):
5730 * search.c (Fskip_chars_backward):
5731 * search.c (Fskip_syntax_forward):
5732 * search.c (Fskip_syntax_backward):
5733 * search.c (search_command):
5734 * search.c (Freplace_match):
5735 * search.c (Fregexp_quote):
5736 * select.c (Fown_selection_internal):
5737 * select.c (Fselection_owner_p):
5738 * select.c (Fselection_exists_p):
5739 * select.c (Fget_selection_internal):
5742 * symbols.c (Fintern):
5743 * symbols.c (Fintern_soft):
5744 * symbols.c (Funintern):
5745 * symbols.c (Fapropos_internal):
5746 * symbols.c (Fset_default):
5748 * syntax.c (Fsyntax_table_p):
5749 * syntax.c (Fcopy_syntax_table):
5750 * syntax.c (Fset_syntax_table):
5751 * syntax.c (Fchar_syntax):
5752 * syntax.c (syntax_match):
5753 * syntax.c (Fmatching_paren):
5754 * syntax.c (Fforward_word):
5755 * syntax.c (scan_lists):
5756 * syntax.c (Fscan_lists):
5757 * syntax.c (Fscan_sexps):
5758 * syntax.c (Fparse_partial_sexp):
5759 * toolbar.c (Fcheck_toolbar_button_syntax):
5762 * window.c (Fwindowp):
5763 * window.c (Fwindow_live_p):
5764 * window.c (Fwindow_point):
5765 * window.c (Fdelete_window):
5766 * window.c (Fnext_window):
5767 * window.c (Fprevious_window):
5768 * window.c (Fother_window):
5769 * window.c (window_loop):
5770 * window.c (Fget_lru_window):
5771 * window.c (Fsplit_window):
5772 * window.c (Fenlarge_window):
5773 * window.c (Fenlarge_window_pixels):
5774 * window.c (Fshrink_window):
5775 * window.c (Fshrink_window_pixels):
5776 * window.c (change_window_height):
5777 * window.c (Fwindow_configuration_p):
5778 * window.c (Fcurrent_window_configuration):
5780 * casefiddle.c (casify_object):
5781 * casefiddle.c (Fupcase):
5782 * casefiddle.c (Fdowncase):
5783 * casefiddle.c (Fcapitalize):
5784 * casefiddle.c (Fupcase_initials):
5785 * casefiddle.c (casify_region_internal):
5786 * casefiddle.c (casify_region):
5787 * casefiddle.c (Fupcase_region):
5788 * casefiddle.c (Fdowncase_region):
5789 * casefiddle.c (Fcapitalize_region):
5790 * casefiddle.c (Fupcase_initials_region):
5791 * casefiddle.c (Fupcase_word):
5792 * casefiddle.c (Fdowncase_word):
5793 * casefiddle.c (Fcapitalize_word):
5794 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5795 Replace 0 with '\0' when working with bytes.
5796 Replace initial "(" with "\(" in docstrings.
5798 2000-11-01 Martin Buchholz <martin@xemacs.org>
5800 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5802 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5804 2000-10-31 Martin Buchholz <martin@xemacs.org>
5806 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5808 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5810 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5813 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5815 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5816 (inhibit_auto_save_session): New variable.
5817 (vars_of_fileio): Declare and initialize them.
5818 * fileio.c (Fdo_auto_save): Don't create session file if
5819 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5821 2000-10-31 Martin Buchholz <martin@xemacs.org>
5823 * sgiplay.c (play_internal): C++ compilability.
5824 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5825 * callproc.c (Fold_call_process_internal):
5826 Remove unused vars `env', `first'.
5827 * scrollbar.c (update_scrollbar_instance):
5828 #### unused var `current_window'.
5829 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5830 etc. within #ifdef NOT_YET.
5831 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5832 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5833 * specifier.c (specifier_instance):
5834 #### unused var `tag'.
5835 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5837 2000-10-27 Martin Buchholz <martin@xemacs.org>
5840 * fns.c (list_sort):
5841 * fns.c (Ffillarray):
5842 * fns.c (bytecode_nconc2):
5845 * fns.c (Fmapconcat):
5846 Be pedantically 64-bit correct. For the time when someone will
5847 want to have a list with length > 2**32.
5849 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5850 Work around MIPSpro compiler bug.
5852 * process-unix.c (unix_kill_child_process): Add snarky comment.
5853 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5855 * config.h.in: Oops, _getpt ==> _getpty
5857 2000-10-26 Martin Buchholz <martin@xemacs.org>
5861 Use void*, not char*, as return type of alloca().
5863 * alloc.c (free_marker): Side effect inside assert expression!
5865 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5867 * mule-charset.c (Fset_charset_ccl_program): To check
5868 if the given ccl program is valid, use setup_ccl_program()
5869 instead of CHECK_VECTOR().
5870 (Fmake_charset): Likewise.
5872 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5874 * faces.c (get_extent_fragment_face_cache_index):
5875 Fix cachel.merged_faces memory leak.
5877 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5879 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5880 Reset MSB of octets obtained by DECODE_SJIS
5881 because of the incompatibility with Emacs.
5882 (ccl_driver)<CCL_ENCODE_SJIS>:
5883 Set MSB of octets before passing them to
5884 ENCODE_SJIS because of the incompatibility
5887 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5889 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5890 (DECLARE_LRECORD): Undo the last change.
5891 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5893 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5895 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5896 the implementation to lrecord_implementations_table.
5898 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5900 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5901 initial value of `lrecord_type_##c_name' and
5902 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
5903 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
5904 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
5905 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
5906 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
5908 2000-10-17 Martin Buchholz <martin@xemacs.org>
5910 * miscplay.c (sndcnv8S_2mono):
5911 (sndcnv2monounsigned):
5912 (sndcnvULaw_2linear):
5914 Remove implementation-defined behavior.
5916 2000-10-12 Martin Buchholz <martin@xemacs.org>
5918 * input-method-xlib.c: Warning suppression.
5920 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
5922 * mule-ccl.c: Sync up with Emacs 21.0.90.
5923 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
5925 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
5927 (ccl_driver[WriteMultibyteChar2]): Bug fix.
5928 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
5929 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
5930 leading char belongs to official 2-dimensional charset.
5931 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
5932 write the given character as is. Otherwise,
5933 if it is a multibyte char, convert it by
5934 non_ascii_set_charptr_emchar, then write it.
5935 (CCL_WRITE_STRING): Likewise.
5936 (ccl_get_compiled_code): New function.
5937 (setup_ccl_program): When ccl_prog is invalid,
5939 (Fregister_code_conversion_map): New function.
5940 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
5942 * mule-ccl.h: Sync up with Emacs 21.0.90.
5943 (Fregister_ccl_program): export it.
5945 * redisplay-msw.c (separate_textual_runs):
5946 If ccl program is not valid, don't do ccl conversion.
5948 * redisplay-x.c (separate_textual_runs): Ditto.
5950 * file-coding.c (Fmake_coding_system):
5951 When type is ccl and value is vector, register it
5952 with a proper symbol. And checks whether the
5953 given ccl program is valid.
5954 (mule_decode): When calling ccl_driver, if src indicates
5955 NULL pointer, set an empty string instead.
5956 (mule_encode): Likewise.
5958 2000-10-11 Martin Buchholz <martin@xemacs.org>
5960 The following large batch of changes gets us back to a state of
5961 C++ compilability. Extbyte is now a char, which means that
5962 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
5964 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
5966 * sound.c (Fplay_sound): Type correctness.
5968 * select-x.c (hack_motif_clipboard_selection): Type correctness.
5969 (x_get_window_property): Type correctness.
5970 (receive_incremental_selection): unsigned char ==> Extbyte
5971 (selection_data_to_lisp_data): unsigned char ==> Extbyte
5972 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
5973 (Fx_store_cutbuffer_internal): Type correctness.
5975 * process-unix.c (try_to_initialize_subtty): Type correctness.
5977 * objects-x.c (x_print_color_instance): Type correctness.
5978 (x_print_font_instance): Type correctness.
5979 (x_list_fonts): SExtbyte ==> Extbyte.
5980 (valid_x_font_name_p): SExtbyte ==> Extbyte.
5981 (x_find_charset_font): SExtbyte ==> Extbyte.
5982 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
5983 (truename_via_XListFonts): SExtbyte ==> Extbyte.
5984 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
5987 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
5988 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
5989 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
5990 (BYTE_C0_P): Use bit ops for char-signedness safety.
5991 (BYTE_C1_P): Use bit ops for char-signedness safety.
5992 (CHARSET_BY_LEADING_BYTE):
5993 (CHARSET_BY_ATTRIBUTES):
5994 Always use inline function.
5995 Use type_checking_assert.
5998 * mule-charset.c (non_ascii_charptr_copy_char):
5999 Modify to work with both ASCII and non-ASCII characters.
6000 Improve docs and variable names.
6001 Replace over-clever fall-through switch with a simple loop.
6002 (Lstream_get_emchar_1):
6003 Replace over-clever fall-through switch with a simple loop.
6005 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6006 Warning suppression.
6008 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
6009 the return value of Lstream_getc, which could be EOF as well.
6011 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
6013 * lisp.h: Make Extbyte a char, not unsigned char, so that external
6014 APIs can be used on Extbytes without casts. Risky!
6018 * input-method-xlib.c (XIM_init_device):
6019 Use Xlib.h instead of IntrinsicP.h.
6020 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
6021 which will break in X11R7.
6022 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
6023 to call XRegisterIMInstantiateCallback with correct types.
6025 * gui-x.c (button_item_to_widget_value): Type correctness.
6027 * glyphs.c (bitmap_to_lisp_data): Type correctness.
6029 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
6030 (xbm_instantiate_1): Type correctness.
6031 (BUILD_GLYPH_INST): Type correctness.
6033 * fileio.c (Fsubstitute_in_file_name): Type correctness.
6036 (decode_coding_sjis):
6037 (decode_coding_big5):
6038 (decode_coding_ucs4):
6039 (decode_coding_utf8):
6040 (decode_coding_iso2022):
6041 (decode_coding_no_conversion):
6042 Make all decoding functions take an Extbyte * arg.
6043 (encode_coding_sjis):
6044 (encode_coding_big5):
6045 (encode_coding_ucs4):
6046 (encode_coding_utf8):
6047 (encode_coding_iso2022):
6048 (encode_coding_no_conversion):
6049 Make all encoding functions take a Bufbyte * arg.
6050 Use size_t instead of unsigned int for memory sizes.
6051 Only cast to unsigned char whenever dereferencing Extbyte *.
6053 * doc.c (unparesseuxify_doc_string): Type correctness.
6055 * console-x.c (split_up_display_spec):
6056 Rewrite without using details of internal string representation.
6057 (x_semi_canonicalize_device_connection): Type correctness.
6060 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
6061 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
6062 (HAVE_XFREE386): Removed.
6064 * buffer.h (DEC_CHARPTR): `const' correctness.
6065 (bufbyte_strcmp): New.
6066 (bufbyte_memcmp): New.
6068 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
6070 * buffer.h (XCHAR_OR_CHAR_INT):
6071 Always use inline function.
6072 Remove redundant type checking assert() - XINT will abort quite nicely.
6074 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6076 * search.c (Freplace_match): Set newtext to an empty string.
6078 2000-10-10 Martin Buchholz <martin@xemacs.org>
6080 * s/decosf1-3.h: Remove #include of stropts.h
6081 * s/ptx.h: Remove #include of stropts.h
6082 * s/usg5-4.h: Remove #include of stropts.h
6085 Use stropts.h, not sys/stropts.h.
6086 Use strtio.h, not sys/strtio.h.
6088 2000-10-04 Martin Buchholz <martin@xemacs.org>
6090 * XEmacs 21.2.36 is released.
6092 2000-09-21 Andy Piper <andy@xemacs.org>
6094 * glyphs-x.c (x_redisplay_widget): make sure non-structural
6095 changes still involve copying the widget tree.
6096 (update_widget_face): make sure a change is register in the widget
6097 tree. Call update_tab_widget_face appropriately.
6098 (update_tab_widget_face): ditto.
6099 (x_tab_control_redisplay): make sure non-structural changes still
6100 involve copying the widget tree.
6102 2000-08-31 Daiki Ueno <ueno@unixuser.org>
6104 * lread.c (locate_file): Check the path element is non-nil.
6106 2000-10-02 Martin Buchholz <martin@xemacs.org>
6108 * lisp.h: Warning suppression for SCO compilers.
6110 * redisplay-tty.c (reset_tty_modes): Fix crash.
6111 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
6113 2000-09-27 Martin Buchholz <martin@xemacs.org>
6115 Big signal/process handling overhaul. Bugs fixed:
6116 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
6117 M-x comint-kill-subjob should work for both values nil and t of
6118 process-connection-type. It was broken on most platforms.
6119 Testing on Irix and Cygwin still needed. Other plaforms tested.
6120 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
6121 * process-unix.c: Signal/Process handling overhaul.
6122 (pty_name): make 64 bytes, as `expect' does, for paranoia.
6123 (allocate_pty): Use all available modern methods of allocating
6124 ptys, falling back to old style BSD allocation as a last resort.
6125 Use allegedly more secure Unix98 pty allocation by default.
6126 (allocate_pty_the_old_fashioned_way): New. the last resort.
6127 (unix_create_process): Push ptem, ldterm, ttcompat where
6128 available. Autoconfiscate.
6129 (try_to_initialize_subtty): New.
6130 (unix_kill_child_process): Proper signal handling for ptys on most
6131 platforms, using special knowledge of AIX, BSD, etc...
6132 (unix_create_process): Always disconnect_controlling_terminal() for
6133 subprocesses, whether using ptys or not.
6134 * process.h: Remove old getpt-dependent PTY code.
6135 * process.c (Fprocess_send_signal): New, obvious generic function.
6136 (decode_signal): New.
6137 (Finterrupt_process):
6141 (Fcontinue_process):
6142 (Fsignal_process): Use decode_signal.
6143 (process_send_signal):
6144 Many docstring corrections.
6145 Allow any signal to be sent to a process object.
6146 * config.h.in: Add symbols for big signal/process overhaul.
6147 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
6148 * sysproc.h: Include process-related headers, where available:
6149 sys/stropts.h sys/strtio.h pty.h libutil.h
6157 Remove old S&M pty stuff.
6158 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
6159 * systty.h: Simplify cpp hackery, improve comments.
6160 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
6162 * editfns.c (Fformat_time_string):
6163 Be a little more paranoid with the return value of ctime.
6165 * fileio.c (check_executable):
6167 Use symbolic constants X_OK, W_OK.
6169 * console-x.c (split_up_display_spec): Fix a warning.
6171 2000-10-02 Martin Buchholz <martin@xemacs.org>
6173 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
6174 * ntproc.c (sys_spawnve): make_string ==> build_string
6175 Small clarity improvements.
6177 2000-09-30 Martin Buchholz <martin@xemacs.org>
6179 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
6181 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
6183 * config.h.in (HAVE_STRCASECMP): Remove.
6185 2000-09-29 Martin Buchholz <martin@xemacs.org>
6187 * redisplay-output.c (redisplay_output_pixmap):
6188 Cleaner and possibly more 64-bit correct code.
6190 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6192 * dumper.c (pdump_load_finish): move restoration of
6193 `noninteractive1' to emacs.c (main_1).
6194 * emacs.c (main_1): protect LISP-visible command-line flags
6197 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
6199 * Makefile.in.in (versionclean): Use EXE_TARGET and
6200 DUMP_TARGET instead of literal program names.
6202 2000-09-20 Martin Buchholz <martin@xemacs.org>
6204 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
6206 2000-09-19 Martin Buchholz <martin@xemacs.org>
6208 * *: Spelling mega-patch
6210 2000-09-19 Martin Buchholz <martin@xemacs.org>
6212 * fns.c (bad_bad_turtle):
6213 Delete "Eek!" comment, since we fixed the bug to which it refers.
6215 2000-09-16 Martin Buchholz <martin@xemacs.org>
6217 * alloca.c: Replace REGISTER with register.
6219 2000-09-16 Daiki Ueno <ueno@unixuser.org>
6221 * file-coding.c (ucs_to_char): Use countof.
6223 2000-09-16 Martin Buchholz <martin@xemacs.org>
6225 * file-coding.c: (ucs_to_char):
6226 (complex_vars_of_file_coding):
6227 Use countof instead of sizeof.
6228 Use CHECK_NATNUM instead of CHECK_INT.
6230 * sysdep.c (strcasecmp): Remove.
6231 * device-x.c (ascii_strcasecmp): New.
6232 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
6233 Avoid using non-standard non-portable strcasecmp.
6235 2000-09-16 Martin Buchholz <martin@xemacs.org>
6237 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
6238 * font-lock.c: remove reference to emacsfns.h.
6239 * search.c: small doc improvement.
6240 * event-Xt.c: correct file names in comments.
6241 * console-x.h Correct file names in comments.
6242 * frame.c: Correct file names in comments.
6243 * event-stream.c: remove Energize from comments.
6245 2000-09-15 Martin Buchholz <martin@xemacs.org>
6247 * symeval.h (DEFERROR_STANDARD):
6250 (DEFSYMBOL_NO_DUMP):
6251 (DEFSYMBOL_MULTIWORD_PREDICATE):
6252 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
6254 The construct &##name is not sensible C.
6255 Fixes compilation errors with Unixware native compiler.
6257 2000-09-14 Martin Buchholz <martin@xemacs.org>
6259 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
6260 (next_frame_internal): Removed. We now just have next_frame.
6262 Write a simpler and cleaner one-pass algorithm.
6263 Remove called_from_delete_device arg and #ifdefed-out code.
6265 Renamed from prev_frame. Update callers.
6266 Cleaned up to have an analogous implementation to next_frame.
6267 (other_visible_frames_internal): Remove the
6268 called_from_delete_device bogus arg, and hence, remove this
6269 function. Just use other_visible_frames().
6271 * window.c (Fnext_window):
6273 Since next_frame() is guaranteed to return a frame, remove check
6274 for nil inserted in previous patch.
6277 Make code look more like Fnext_window.
6279 Respect the `console' arg when iterating through windows.
6280 Fixes bug: (get-buffer-window buffer t device) not respecting
6282 This function needs more work, as others have pointed out.
6284 * frame.h: Rename prev_frame to previous_frame.
6285 device_matches_console_spec no longer takes a `frame' arg.
6290 Use EMACS_BLOCK_SIGNAL instead of sigblock.
6291 From "Golubev I. N." <gin@mo.msk.ru>.
6293 * make-src-depend: Fix typo.
6295 2000-09-13 Martin Buchholz <martin@xemacs.org>
6297 * window.c (Fnext_window):
6298 next_frame() might return nil, not a frame.
6300 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6302 * frame.c (next_frame_internal):
6303 We've passed a frame if we've passed its device.
6305 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6306 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
6308 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6310 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6311 Allow option to suppress accelerators in menu/dialog items.
6312 (populate_or_checksum_helper): Pass dialog title through above.
6314 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6316 * event-msw.c (mswindows_key_to_emacs_keysym):
6317 Add "pause" key, fix "menu" key.
6319 2000-09-09 Martin Buchholz <martin@xemacs.org>
6321 * eval.c (reinit_vars_of_eval):
6322 Increase max_lisp_eval_depth to 1000,
6323 required for thai-xtis.el to byte-compile under some circumstances.
6325 2000-09-04 Martin Buchholz <martin@xemacs.org>
6327 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6330 2000-09-01 Martin Buchholz <martin@xemacs.org>
6332 * make-src-depend: Make the generated Makefiles smaller.
6334 * s/hpux.h (SETUP_SLAVE_PTY):
6335 Provide a %d in the format string for the errno argument.
6337 * editfns.c (Ftemp_directory):
6339 Avoid buffer overrun on very long file name.
6341 * input-method-xlib.c (XIM_init_device):
6342 6th parameter of XRegisterIMInstantiateCallback has different
6343 pointer types on different OSes, so simply cast to (void *).
6345 * unexhp9k800.c: Warning fixes. Fiddly changes.
6347 * sysdll.c (dll_open):
6348 shl_load will hang hard if passed a NULL filename.
6349 Simply return NULL for compatibility with dlopen.
6350 * sysdll.c: Conform to XEmacs coding standards.
6352 * sysdep.c (get_pty_max_bytes):
6353 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6355 2000-08-31 Martin Buchholz <martin@xemacs.org>
6357 * tooltalk.c: Add #include <syssignal.h>
6359 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6361 * s/hpux.h: Don't use undefined function sigunblock().
6363 2000-08-31 Martin Buchholz <martin@xemacs.org>
6365 * config.h.in: Add HAVE_BALLOON_HELP.
6366 * emacs.c: Use HAVE_BALLOON_HELP.
6367 * Makefile.in.in (x_objs):
6368 Make Balloon Help conditional on finding shape.h.
6370 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6372 * syntax.c (regex_emacs_buffer_p): New variable.
6373 * syntax.h (regex_emacs_buffer_p): extern.
6374 * search.c (looking_at_1):
6376 (fast_string_match):
6377 (search_buffer): Set regex_emacs_buffer_p.
6378 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6379 when before_dot, at_dot, after_dot.
6381 2000-08-23 Andy Piper <andy@xemacs.org>
6383 * gui-x.c (popup_selection_callback): Only set action_occurred
6384 when we really have an image instance.
6385 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6387 2000-08-23 Andy Piper <andy@xemacs.org>
6389 * gui-msw.c (mswindows_handle_gui_wm_command): set
6391 * gui-x.c (popup_selection_callback): ditto.
6393 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6394 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6395 (struct Lisp_Image_Instance): add action_occurred flag.
6397 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6398 (image_instance_changed): ditto.
6399 (reset_frame_subwindow_instance_cache): only unmap windows - do
6400 not remove them from the cache also.
6402 * glyphs-widget.c (tab_control_update): better debug.
6403 (progress_gauge_update): ditto.
6404 (layout_update): ditto.
6405 (layout_instantiate): ditto.
6406 (tab_control_order_only_changed): cope with null pending items.
6408 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6409 debug. Force selection of an item when an action occurred. Cope
6410 with null pending_items.
6411 (mswindows_progress_gauge_redisplay): better debug.
6412 * glyphs-x.c (x_tab_control_redisplay): ditto.
6414 * redisplay.c (redisplay_frame): reset the frame cache if the
6417 * window.c (Fset_window_configuration): potentially re-enable
6419 (window_unmap_subwindows): need to finalize instances here since
6420 it is only used in mark_window_as_deleted.
6422 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6424 * nas.c (SndOpenDataForReading):
6425 nas.c (WaveOpenDataForReading):
6426 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6427 Somehow escaped from the 2000-08-14 patch.
6429 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6431 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6432 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6434 2000-08-21 Andy Piper <andy@xemacs.org>
6436 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6437 window if it is not already displayed.
6439 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6440 it is not already displayed.
6442 * window.c (Fset_window_configuration): don't reset the frame
6445 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6446 instances from the frame cache if we are actually finalizing them.
6447 (reset_frame_subwindow_instance_cache): reset frame cache only
6448 after unmapping everything.
6449 (map_subwindow): set displayed flag after mapping.
6451 2000-08-21 Martin Buchholz <martin@xemacs.org>
6453 * data.c (indirect_function):
6454 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6456 * eval.c (function_argcount):
6457 Use original function when signaling errors.
6459 2000-08-18 Andy Piper <andy@xemacs.org>
6461 * frame.c (delete_frame_internal): use new
6462 free_frame_subwindow_instances name.
6464 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6465 (add_tab_item): make return type correct.
6466 (mswindows_tab_control_instantiate): assert index of tab.
6467 (mswindows_tab_control_redisplay): Re-code to use
6468 gui_item_equal_sans_selected and gui_item_list_find_selected.
6470 * glyphs-widget.c (tab_control_update): Correct comment.
6472 * window.c (window_unmap_subwindows): use new
6473 unmap_subwindow_instance_cache_mapper.
6474 (window_unmap_subwindows_cache_mapper): deleted.
6475 (Fset_window_configuration): comparisons should now be with
6476 EQ. Preserve the subwindow instance cache across configuration
6478 (allocate_window): ditto.
6479 (make_dummy_parent): ditto.
6481 * glyphs.c (free_frame_subwindow_instances): rename from
6482 free_frame_subwindow_instance_cache. finalize all instances rather
6483 than just those in the display cache.
6484 (finalize_all_subwindow_instances): walk windows unmapping and
6485 finalizing subwindows.
6486 (unmap_subwindow_instance_cache_mapper): moved from
6487 window.c. Allow finalization as well as unmapping.
6489 * gui.c (gui_item_list_find_selected): new function.
6491 * gui.h (gui_item_list_find_selected): declare.
6493 * glyphs-x.c (x_tab_control_redisplay): pick tab
6494 explicitly. Re-code to use gui_item_equal_sans_selected and
6495 gui_item_list_find_selected.
6497 * glyphs-x.h: add lwlib-utils.h
6499 * buffer.c (Frecord_buffer): undo previous change.
6501 2000-08-09 Vin Shelton <acs@xemacs.org>
6503 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6504 possible. Create temporary files more securely. The patch was
6505 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6506 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6507 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6510 2000-08-07 Ben Wing <ben@xemacs.org>
6512 * getloadavg.c: remove duplicate (and windows-breaking)
6513 includes of fcntl.h and sys/file.h.
6515 * nt.c: remove duplicate getloadavg() definition.
6517 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6520 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6522 * eval.c (function_argcount): If function needs to be autoloaded
6523 actually use the loaded definition.
6526 2000-08-05 Ben Wing <ben@xemacs.org>
6528 * getloadavg.c: add prototype for getloadavg(). remove
6529 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6530 of the code). remove duplicate header includes.
6532 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6534 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6535 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6536 useful load average.
6538 * alloc.c (reinit_alloc_once_early): removed references to
6539 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6540 the lisp vars are the only things referencing the malloc_sbrk_*
6541 vars, and they were already if 0'd out. these vars only exist
6542 in the older malloc.c, which is basically unused, and they're
6543 only for informational purposes.
6545 * m\*.h: removed useless VIRT_ADDR_VARIES.
6547 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6549 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6551 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6552 color if the image is a mono pixmap.
6554 2000-07-30 Ben Wing <ben@xemacs.org>
6556 * Makefile.in.in (release):
6559 * buffer.c (directory_is_current_directory):
6560 * dired-msw.c (mswindows_get_files):
6562 * dired.c (Fdirectory_files):
6563 * dired.c (file_name_completion_stat):
6564 * dired.c (Ffile_attributes):
6565 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6566 preprocessor tricks, to avoid problems on some machines
6569 * callproc.c (egetenv): GC docs.
6572 * console-msw.h (struct mswindows_dialog_id):
6573 * lrecord.h (lrecord_type):
6574 New object for use with MSW dialogs.
6576 * console.h (struct console_methods):
6577 New enable/disable frame methods, for proper modal dialogs.
6579 * device-msw.c (msprinter_default_printer): Fix to follow
6580 proper Mule conventions.
6583 * device-msw.c (signal_open_printer_error):
6584 * device-msw.c (msprinter_init_device):
6585 * device-msw.c (ensure_not_printing):
6586 * device-msw.c (plist_get_margin):
6587 * device-msw.c (Fmsprinter_select_settings):
6588 * device-msw.c (finalize_devmode):
6589 * device-msw.c (Fmsprinter_settings_despecialize):
6590 * device-msw.c (signal_enum_priner_error):
6591 * extents.c (decode_extent):
6592 * extents.c (decode_map_extents_flags):
6593 * extents.c (decode_extent_at_flag):
6594 * extents.c (Fextent_at):
6595 * extents.c (Fextents_at):
6596 * extents.c (symbol_to_glyph_layout):
6597 [[[[2]]]] Use structured errors.
6600 * dialog-msw.c (mswindows_is_dialog_msg):
6601 * dialog-msw.c (mark_mswindows_dialog_id):
6602 * dialog-msw.c (dialog_proc):
6603 * dialog-msw.c (handle_question_dialog_box):
6604 * dialog-msw.c (syms_of_dialog_mswindows):
6605 Define new object to clean up marking; use it as a dialog identifier.
6606 Call new delete-dialog-box-hook.
6608 * dialog-x.c (dbox_selection_callback):
6609 * dialog-x.c (dbox_descriptor_to_widget_value):
6610 * dialog-x.c (x_make_dialog_box_internal):
6611 Call new delete-dialog-box-hook.
6615 * dialog.c (syms_of_dialog):
6616 * dialog.c (vars_of_dialog):
6617 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6620 * eval.c (signal_call_debugger):
6621 when noninteractive, output stack traces on the console instead
6622 of in a (never-seen) buffer.
6624 * eval.c (signal_type_error):
6625 * eval.c (invalid_argument_2):
6627 new funs for use w/structured errors.
6630 * event-Xt.c (x_to_emacs_keysym):
6631 * event-Xt.c (describe_event):
6632 * event-Xt.c (emacs_Xt_event_handler):
6633 * event-Xt.c (vars_of_event_Xt):
6635 * event-msw.c (mswindows_wnd_proc):
6636 * event-msw.c (vars_of_event_mswindows):
6637 rename {x,mswindows}-debug-events to debug-{}-events for
6638 consistency with other debug-foo variables.
6641 document next-event more clearly.
6643 * fileio.c (Ffile_name_directory):
6644 * fileio.c (Ffile_name_nondirectory):
6645 * fileio.c (Funhandled_file_name_directory):
6646 * fileio.c (file_name_as_directory):
6647 * fileio.c (Ffile_name_as_directory):
6648 * fileio.c (directory_file_name):
6649 * fileio.c (Fdirectory_file_name):
6650 * fileio.c (Fmake_temp_name):
6651 * fileio.c (Ffile_truename):
6652 * fileio.c (Fsubstitute_in_file_name):
6653 * fileio.c (expand_and_dir_to_file):
6654 * fileio.c (barf_or_query_if_file_exists):
6655 * fileio.c (check_executable):
6656 * fileio.c (Ffile_exists_p):
6657 * fileio.c (Ffile_writable_p):
6658 * fileio.c (Ffile_directory_p):
6659 * fileio.c (Ffile_regular_p):
6660 * fileio.c (Ffile_modes):
6661 * fileio.c (Ffile_newer_than_file_p):
6662 * fileio.c (Fverify_visited_file_modtime):
6663 * fileio.c (Fset_visited_file_modtime):
6664 * fileio.c (auto_save_1):
6669 * frame-msw.c (mswindows_init_frame_1):
6670 * frame-msw.c (mswindows_enable_frame):
6671 * frame-msw.c (error_frame_unsizable):
6672 * frame-msw.c (msprinter_init_frame_1):
6673 * frame-msw.c (msprinter_init_frame_3):
6674 * frame-msw.c (console_type_create_frame_mswindows):
6676 implement new enable/disable frame methods.
6679 * frame-x.c (x_enable_frame):
6680 * frame-x.c (console_type_create_frame_x):
6681 implement new enable/disable frame methods.
6684 * frame.c (Fdisable_frame):
6685 * frame.c (syms_of_frame):
6686 * frame.h (struct frame):
6687 implement new enable/disable frame methods/functions.
6692 * glyphs-msw.c (mswindows_widget_instantiate):
6693 comment that initial-focus should be implemented.
6696 * glyphs-widget.c (check_valid_instantiator):
6697 * glyphs-widget.c (check_valid_orientation):
6698 * glyphs-widget.c (check_valid_tab_orientation):
6699 * glyphs-widget.c (check_valid_justification):
6700 * glyphs-widget.c (check_valid_border):
6701 * glyphs-widget.c (check_valid_callback):
6702 * glyphs-widget.c (check_valid_int_or_function):
6703 * glyphs-widget.c (check_valid_string_or_vector):
6704 * glyphs-widget.c (check_valid_item_list_1):
6705 * glyphs-widget.c (widget_validate):
6706 * glyphs-widget.c (combo_box_validate):
6707 * glyphs-widget.c (widget_instantiate):
6708 * glyphs-widget.c (syms_of_glyphs_widget):
6709 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6710 * glyphs-widget.c (image_instantiator_combo_box):
6711 * glyphs-widget.c (image_instantiator_scrollbar):
6712 * glyphs-widget.c (image_instantiator_tab_control):
6713 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6715 support (unimplemented) keyword initial-focus.
6716 reindent long macros.
6718 * glyphs-x.c (x_redisplay_widget):
6719 * glyphs-x.c (x_button_instantiate):
6720 * glyphs-x.c (x_button_redisplay):
6721 * glyphs-x.c (x_progress_gauge_instantiate):
6722 * glyphs-x.c (x_edit_field_instantiate):
6723 * glyphs-x.c (x_combo_box_instantiate):
6724 * glyphs-x.c (x_tab_control_instantiate):
6725 * glyphs-x.c (x_label_instantiate):
6727 * gui-x.c (button_item_to_widget_value):
6728 * gui-x.c (gui_items_to_widget_values_1):
6729 * gui-x.c (gui_item_children_to_widget_values):
6730 * gui-x.c (gui_items_to_widget_values):
6732 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6733 add new flag to gui-parsing routines to indicate whether
6734 accelerator specs should be supported.
6736 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6738 * glyphs.h (struct Lisp_Image_Instance):
6739 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6740 add initial-focus flag.
6743 * gui.c (syms_of_gui):
6744 * gui.c (vars_of_gui):
6745 clean up menu-no-selection-hook.
6748 support delete-dialog-box-hook.
6750 * lread.c (Fload_internal):
6751 * lread.c (locate_file_in_directory_mapper):
6755 * lrecord.h (struct toolbar_button):
6756 * lrecord.h (syms_of_toolbar):
6757 document how to create a new object.
6759 * menubar-msw.c (mswindows_char_is_accelerator):
6760 may be called on frames w/o menus.
6762 * menubar.c (vars_of_menubar):
6763 clean up :filter docs.
6770 * process-nt.c (validate_signal_number):
6771 * process-nt.c (signal_cannot_launch):
6772 * process-nt.c (nt_create_process):
6773 * process-nt.c (nt_send_process):
6774 * process-nt.c (nt_kill_child_process):
6775 * process-nt.c (nt_open_network_stream):
6776 * process-nt.c (syms_of_process_nt):
6778 delete quote-handling. call new lisp code that does it better.
6780 * process-unix.c (connect_to_file_descriptor):
6781 * process-unix.c (allocate_pty):
6782 * process-unix.c (unix_send_process):
6783 * process-unix.c (unix_kill_child_process):
6784 * process-unix.c (unix_open_network_stream):
6785 * process-unix.c (unix_open_multicast_group):
6789 * process.c (Fstart_process_internal):
6790 (2). need to canonicalize process path even if absolute.
6792 * select-msw.c (symbol_to_ms_cf):
6793 * select-msw.c (ms_cf_to_symbol):
6794 * select-msw.c (cf_is_autofreed):
6795 * select-msw.c (mswindows_destroy_selection):
6797 * select.c (syms_of_select):
6799 support dibv5, fix bugs. (from Mike Alexander)
6801 * select.c (Fget_selection_internal):
6802 * select.c (select_convert_out):
6805 * sysdep.c (xemacs_stat):
6810 but keep original stat() here because we provide encapsulation
6814 * sysfile.h (fstat):
6815 remove stat garbage.
6819 don't include tchar.h. it's inappropriate because it makes
6820 compile-time distinctions when we want runtime distinctions.
6821 (we provide our own tchar replacements)
6824 use default object printer for toolbar-button.
6827 make sure we don't encapsulate.
6829 * window.c (vars_of_window):
6830 emphasize that temp-buffer-show-hook is obsolete.
6832 2000-08-05 Martin Buchholz <martin@xemacs.org>
6834 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6835 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6837 * events.c (Fevent_timestamp_lessp):
6838 Not 64-bit clean. Use EMACS_INT, not int.
6840 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6842 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6843 unsigned int and changed the last enum to
6844 lrecord_type_last_built_in_type.
6845 (lrecord_implementations_table): changed prototype to know how
6846 long the array is supposed to be.
6847 (lrecord_type_count): new unsigned int to keep track of the
6848 current number of lisp lrecord types.
6849 (DEFINE_EXTERNAL_LRECORD):
6850 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6851 dynamic-modules to declare new lisp types. They are the same
6852 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6853 int for each new type, and increment lrecord_type_count by 1.
6855 * alloc.c (lrecord_implementations_table): Changed to reference
6856 lrecord_type_last_built_in_type for the size of the array.
6857 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6859 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6861 * glyphs.h (check_valid_item_list): Renamed from
6862 check_valid_item_list_1.
6864 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6866 * select.c (Qselect_coerce): New.
6867 * select.c (Vselection_coercion_alist): New.
6868 * select.c (syms_of_select): Declare.
6869 * select.c (get-selection-internal): Use it.
6870 Use the new select-coerce functionality.
6872 * select.c (select_coerce): New.
6873 * select.h (select_coerce): Declare.
6874 New function to coerce one type of data into another.
6876 2000-08-03 Martin Buchholz <martin@xemacs.org>
6878 * callproc.c (Fcall_process_internal):
6879 (Fcall_process_internal):
6880 * process-unix.c (unix_create_process):
6881 Save and restore the value of errno, so that error messages are accurate.
6883 2000-08-01 Martin Buchholz <martin@xemacs.org>
6885 * elhash.c (print_hash_table):
6886 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6887 Prettify docstrings and indentation.
6889 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6891 * window.c (Fwindow_pixel_edges): Subtract frame border and
6894 2000-07-31 Andy Piper <andy@xemacs.org>
6896 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6897 will acknowledge the change.
6899 * glyphs.h: declare tab_control_order_only_changed.
6901 * glyphs-x.c (x_tab_control_redisplay): use
6902 tab_control_order_only_changed.
6904 * glyphs-widget.c (tab_control_order_only_changed): new function.
6906 * glyphs-msw.c (mswindows_tab_control_redisplay): use
6907 tab_control_order_only_changed.
6909 * gui.c (gui_item_equal_sans_selected): new function.
6910 (gui_item_equal): use it.
6912 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
6913 :properties in favor of :items..
6915 * glyphs-widget.c (check_valid_item_list): rename from
6916 check_valid_item_list_1.
6917 (check_valid_item_list_1): renamed.
6918 (combo_box_validate): deprecate :properties in favor of :items.
6919 (widget_instantiate): ditto.
6920 (tab_control_update): ditto.
6921 (image_instantiator_combo_box): ditto.
6922 (image_instantiator_tree_view): ditto.
6923 (image_instantiator_tab_control): ditto.
6924 (layout_post_instantiate): remove dead code.
6926 * print.c (debug_print_no_newline): only write to debugger if in
6929 * elhash.c (Fmake_hash_table): update doc string.
6931 * event-msw.c (mswindows_wnd_proc): don't allow processing of
6932 messages whilst in GC. This at least stops XEmacs crashing but has
6933 the potential for wierd behaviour.
6935 2000-07-31 Martin Buchholz <martin@xemacs.org>
6938 Make existence of s&m files optional.
6940 * s/bsd386.h: Remove HAVE_GETLOADAVG.
6941 * s/freebsd.h: Remove HAVE_GETLOADAVG.
6942 * s/gnu.h: Remove HAVE_GETLOADAVG.
6943 * s/netbsd.h: Remove HAVE_GETLOADAVG.
6944 * s/sol2.h: Remove HAVE_GETLOADAVG.
6945 * lisp.h: Remove getloadavg() declaration.
6947 Include <sys/loadavg.h> if available.
6948 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
6949 * config.h.in: Group together getloadavg()-related macros.
6950 Use only configure-time tests to detect getloadavg().
6952 2000-07-30 Martin Buchholz <martin@xemacs.org>
6954 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
6956 2000-07-25 Andy Piper <andy@xemacs.org>
6958 * syswindows.h: add tchar.h for native builds.
6960 * frame.c (syms_of_frame): remove set-glyph-image.
6962 * general-slots.h: add Qset_glyph_image.
6964 * glyphs-widget.c (layout_update): add domain arg to
6966 (syms_of_glyphs_widget): remove set-glyph-image.
6968 2000-07-23 Ben Wing <ben@xemacs.org>
6970 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
6973 2000-07-22 Andy Piper <andy@xemacs.org>
6975 * symsinit.h: add syms_of_win32().
6977 * gui-msw.c (syms_of_gui_mswindows): remove
6978 Fmswindows_shell_execute.
6979 (Fmswindows_shell_execute): moved to win32.c.
6981 * emacs.c (main_1): add syms_of_win32 ().
6983 * win32.c (init_potentially_nonexistent_functions): rewrite in
6984 compiler-friendly terms.
6985 (Fmswindows_shell_execute): move here from gui-msw.c.
6986 (syms_of_win32): new.
6988 * device-msw.c (Fmswindows_printer_list): clean up args to
6990 Don't include tchar under cygwin or mingw.
6991 (msprinter_default_printer): make cygwin-friendly.
6993 2000-07-21 Andy Piper <andy@xemacs.org>
6995 * glyphs-widget.c (image_instantiator_tree_view): use tab
6996 control's update function.
6997 (layout_property): new function. Retrieve items.
6999 * glyphs-msw.c (mswindows_tree_view_redisplay): new
7000 function. Re-populate the tree view from the pending items.
7002 * glyphs.c (instantiate_image_instantiator): Make sure the domain
7003 is designated the parent if the domain is an image instance. This
7004 is needed so that dirtiness can be cascade up the hierarchy and
7005 thus for layout children to be redisplayed correctly.
7006 (allocate_image_instance): rename glyph -> parent.
7008 * redisplay.h: change redisplay_output_layout signature.
7010 * redisplay-msw.c (mswindows_output_display_block): use domain
7013 * redisplay-x.c (x_output_display_block): use domain arg.
7015 2000-07-10 Andy Piper <andy@xemacs.org>
7017 * window.c (Fset_window_configuration): add comment.
7019 * redisplay-output.c (compare_runes):
7020 (redisplay_output_subwindow): redisplay rather than update subwindow.
7021 (redisplay_output_layout): ditto.
7023 * redisplay-msw.c (mswindows_frame_output_end):
7024 (mswindows_frame_output_end): make defer window pos optional.
7026 * lisp.h: add Flast.
7028 * glyphs.h (struct image_instantiator_methods): add dest_mask top
7029 normalize method. Change update method to be for changed
7030 instantiators. Add redisplay method. Change signature of layout
7032 (struct Lisp_Image_Instance): add instantiator.
7033 (IMAGE_INSTANCE_INSTANTIATOR): new.
7034 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
7035 (XIMAGE_INSTANCE_INSTANTIATOR): new.
7036 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
7039 (find_instantiator_differences): new function.
7040 (Fset_instantiator_property): new convenience function.
7041 (check_image_instance_structure): strictly check for vector
7043 (normalize_image_instantiator): make non-static.
7044 (instantiate_image_instantiator): pass on dest_mask and use new
7045 signatures for image_instance_layout and friends.
7046 (mark_image_instance): mark the instantiator. Mark the subwindow
7047 face not the widget face.
7048 (image_instance_equal): add instantiator.
7049 (image_instance_hash): ditto.
7050 (allocate_image_instance): ditto.
7051 (Fset_image_instance_property): removed.
7052 (Fimage_instance_file_name): ditto.
7053 (Fcolorize_image_instance): ditto.
7054 (image_instance_layout): add offsets to be set.
7055 (update_image_instance): new function. update an image instance
7056 from its changed instantiator.
7057 (inherit_normalize): add dest_mask.
7058 (xbm_normalize): ditto.
7059 (xface_normalize): ditto.
7060 (xpm_normalize): ditto.
7061 (text_update): set_property -> update.
7062 (image_instantiate): use the glyph identity as a hash key, not the
7064 (glyph_width): use new image_instance_layout signature.
7065 (glyph_ascent): ditto.
7066 (glyph_descent): ditto.
7067 (glyph_height): ditto.
7068 (glyph_query_geometry): ressurrect.
7069 (glyph_layout): ditto.
7070 (redisplay_subwindow): update -> redisplay.
7071 (syms_of_glyphs): add Fset_instantiator_property.
7072 (image_instantiator_format_create): set_property -> update.
7075 (autodetect_normalize): add dest_maks to signature.
7076 (x_redisplay_subwindow): update -> redisplay.
7077 (x_redisplay_widget): ditto.
7078 (x_button_redisplay): ditto.
7079 (x_progress_gauge_redisplay): ditto.
7080 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
7082 (console_type_create_glyphs_x): update -> redisplay.
7083 (image_instantiator_format_create_glyphs_x): ditto.
7086 (check_valid_instantiator): disallow glyphs in the instantiator,
7087 they must now be vectors.
7088 (check_valid_instantiator_list): ditto.
7089 (glyph_instantiator_to_glyph): use internal symbol rather than
7091 (widget_update): renamed from widget_set_property. Call cascaded
7093 (redisplay_widget): renamed from update_widget.
7094 (widget_layout): image_instance_layout now takes position as well
7096 (widget_normalize): ditto.
7097 (widget_instantiate): ditto.
7098 (tab_control_query_geometry) ditto.:
7099 (tab_control_update): renamed from tab_control_set_property.
7100 (progress_gauge_update): set_property -> update.
7101 (layout_normalize): rewrite so that child instantiators are
7103 (layout_update): new function. Create glyphs from the normalized
7104 children and cope with any other layout keywords. We do not
7105 instantiate children here that will be take care of by
7106 redisplay_output_layout.
7107 (layout_instantiate): call layout_update and not much else.
7108 (layout_post_instantiate): not sure whether this is needed
7110 (layout_query_geometry): query glyph geometry rather than
7111 image_instance geometry.
7112 (layout_layout): set offsets from pass in parameters. Use glyph
7113 geometry and layout functions rather than image instance ones.
7114 (native_layout_layout): ditto.
7115 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
7116 (image_instantiator_widget): set_property -> update.
7117 (image_instantiator_buttons): ditto.
7118 (image_instantiator_progress_guage): ditto.
7119 (image_instantiator_tab_control): ditto.
7120 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
7121 (image_instantiator_layout): add update method.
7123 * glyphs-msw.c (bmp_normalize):
7124 (mswindows_resource_normalize): add dest_mask so that it can be
7125 proprogated by layout_normalize.
7126 (begin_defer_window_pos): make optional because it may not be the
7127 right thing to do and it introduces differences with X.
7128 (mswindows_unmap_subwindow): ditto.
7129 (mswindows_map_subwindow): ditto.
7130 (mswindows_redisplay_subwindow): renamed from
7131 mswindows_update_subwindow.
7132 (mswindows_redisplay_widget): ditto.
7133 (mswindows_button_redisplay): renamed from
7134 mswindows_button_update. Update is now what the instantiation
7135 function does for a changed instantiator.
7136 (mswindows_progress_gauge_instantiate): set the progress value
7137 here if appropriate.
7138 (mswindows_tab_control_redisplay): cope with re-ordering of the
7139 members of the tab widget by simply selecting the new top
7140 widget. This makes things appear ok if you click on a tab.
7141 (mswindows_combo_box_instantiate): image_instance_layout now takes
7142 position as well as size.
7143 (mswindows_progress_gauge_redisplay): renamed from
7144 mswindows_progress_gauge_update.
7145 (console_type_create_glyphs_mswindows): fix update -> redisplay.
7146 (image_instantiator_format_create_glyphs_mswindows): ditto.
7148 * glyphs-eimage.c (jpeg_normalize):
7151 (tiff_normalize): add dest_mask so that it can be proprogated by
7156 (hash_table_weakness_validate):
7157 (decode_hash_table_weakness):
7158 (Fhash_table_weakness):
7160 (syms_of_elhash): use Ben's naming scheme for hashtable types..
7162 * console.h (struct console_methods): move update_* to
7165 2000-07-20 Ben Wing <ben@xemacs.org>
7167 * *.[ch] (XSETOBJ): remove unused middle argument.
7168 lisp-disunion.h: correct wrap_object() to one argument.
7170 2000-07-15 Ben Wing <ben@xemacs.org>
7173 * s/cygwin32.h (CYGWIN_CONV_PATH):
7174 Add missing logb prototype for v1.1.
7175 Use post-b20 names and alias to pre-b20 names when pre-b20.
7177 * s/windowsnt.h: [5].
7179 2000-07-15 Ben Wing <ben@xemacs.org>
7181 * Makefile.in.in (x_objs):
7182 * Makefile.in.in (sheap_objs):
7183 * Makefile.in.in (objs):
7184 added win32.o, cosmetic cleanups.
7186 * alloc.c (Fmake_byte_code):
7187 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
7188 etc. macros which declare their own args now.
7190 * alloc.c (syms_of_alloc):
7191 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
7194 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
7196 * buffer.c (Fget_file_buffer):
7197 Fixed GCPRO problem.
7199 * buffer.c (get_truename_buffer):
7200 Fixed comment about GC checking.
7202 * buffer.c (syms_of_buffer):
7203 Undeclared those dedicated frame funs.
7207 Define convenience macros for internal/external conversions.
7208 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
7209 and Qenvironment_variable_encoding for cleaner code.
7212 Remove dedicated-frame; in lisp.
7214 * bytecode.c (funcall_compiled_function):
7217 * bytecode.c (syms_of_bytecode):
7221 * console-msw.c (mswindows_show_console): Rewrote.
7223 * console-msw.c (Fmswindows_debugging_output): New.
7224 Sends to OutputDebugString (special MSWin debugger interface).
7226 * console-msw.c (Fmswindows_message_box):
7227 Fixed stupid bugs so it works when called from kill-emacs.
7229 * console-msw.c (syms_of_console_mswindows):
7230 Declare Fmswindows_debugging_output.
7233 New MSWin prototypes.
7235 * console-msw.h (struct mswindows_frame):
7236 New entry last-click-mods for improved button-modifier support.
7238 * console-msw.h (FRAME_MSWINDOWS_POPUP):
7239 New struct entry `popup' with corresponding accessor.
7242 * console-x.c (split_up_display_spec):
7243 * console-x.c (get_display_arg_connection):
7244 * console-x.c (x_semi_canonicalize_console_connection):
7245 * console-x.c (x_canonicalize_device_connection):
7246 [[[6]]]: Change char to more specific type.
7247 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
7249 * console-x.c (x_semi_canonicalize_console_connection):
7250 * console-x.c (x_canonicalize_device_connection):
7251 [[[9]]]: Fix up error signalling to use new structured error system.
7254 [[[4]]]: Define codesys aliases:
7255 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
7256 Qx_color_name_encoding, Qx_display_name_encoding.
7258 * console.h (struct console_methods):
7259 New method make_dialog_box_internal supersedes older
7260 popup_dialog_box method.
7263 Define many new errors, part of new structured errors.
7265 * data.c (init_errors_once_early):
7266 * data.c (syms_of_data):
7269 * device-msw.c (mswindows_init_device):
7270 [[[5]]]: Cleanup to support NT 3.51.
7272 * device-msw.c (decode_devmode): Cleanup.
7274 * device-msw.c (mswindows_handle_print_setup_dialog_box):
7275 * device-msw.c (mswindows_handle_print_dialog_box):
7276 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7277 * device-msw.c (syms_of_device_mswindows):
7278 Delete the dialog box primitives recently introduced by Kirill and
7279 instead interface to general dialog box interface.
7282 * device-x.c (compute_x_app_name):
7283 * device-x.c (x_init_device):
7284 * device-x.c (Fx_valid_keysym_name_p):
7285 * device-x.c (Fx_set_font_path):
7289 * device.h (wrap_device): New.
7290 First of its kind; meant to replace XSETDEVICE.
7292 * dialog-msw.c: Many file-dialog symbols.
7294 * dialog-msw.c (mswindows_register_popup_frame): New.
7295 * dialog-msw.c (mswindows_is_dialog_msg): New.
7296 For supporting kbd traversal in dialog boxes.
7298 * dialog-msw.c (dialog_proc):
7299 Support hitting ESC in dialogs.
7301 * dialog-msw.c (struct):
7302 Common dialog box errors.
7304 * dialog-msw.c (handle_file_dialog_box): New.
7305 Add file dialog code.
7307 * dialog-msw.c (handle_question_dialog_box):
7308 Redo existing code to support new question dialog syntax.
7310 * dialog-msw.c (console_type_create_dialog_mswindows):
7311 We support new dialog console method.
7313 * dialog-msw.c (syms_of_dialog_mswindows):
7314 * dialog-msw.c (vars_of_dialog_mswindows):
7315 New file dialog symbols, vars.
7318 * dialog-x.c (maybe_run_dbox_text_callback):
7319 * dialog-x.c (dbox_descriptor_to_widget_value):
7320 * dialog-x.c (x_make_dialog_box_internal):
7321 * dialog-x.c (console_type_create_dialog_x):
7322 Mule-ize entire file.
7323 Redo to support question dialog syntax.
7327 * dialog.c (Fmake_dialog_box_internal):
7328 * dialog.c (syms_of_dialog):
7329 Kill old popup-dialog-box, replace with new primitive.
7330 Just call device method or signal error.
7332 * eldap.c (Fldap_open):
7333 * eldap.c (Fldap_search_basic):
7334 * eldap.c (Fldap_add):
7335 * eldap.c (Fldap_modify):
7340 * emacs.c (make_arg_list_1):
7341 * emacs.c (make_arg_list):
7342 Mule-ize call to dll_init().
7346 * emacs.c (make_argc_argv):
7347 * emacs.c (free_argc_argv):
7348 * emacs.c (init_cmdargs):
7350 * emacs.c (Fkill_emacs):
7351 * emacs.c (Fdump_emacs):
7352 Update comments about what can be used in syms_* etc.
7353 Call init_win32() when necessary.
7354 Fix up MS Win dialog box in kill-buffer to actually work right.
7365 * eval.c (condition_case_3):
7367 * eval.c (function_argcount):
7368 * eval.c (funcall_lambda):
7371 * eval.c (type_error): New.
7372 * eval.c (maybe_type_error): New.
7373 * eval.c (continuable_type_error): New.
7374 * eval.c (maybe_continuable_type_error): New.
7375 * eval.c (type_error_with_frob): New.
7376 * eval.c (maybe_type_error_with_frob): New.
7377 * eval.c (continuable_type_error_with_frob): New.
7378 * eval.c (maybe_continuable_type_error_with_frob): New.
7379 New functions for use with structured errors.
7382 * event-Xt.c (x_event_to_emacs_event):
7383 Buttons are now modifiers too.
7385 * event-Xt.c (emacs_Xt_current_event_timestamp):
7386 Implement new event method.
7387 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7390 * event-msw.c (ntpipe_shove_writer): [5].
7391 * event-msw.c (mswindows_enqueue_mouse_button_event):
7392 * event-msw.c (mswindows_drain_windows_queue):
7393 * event-msw.c (mswindows_wnd_proc): [7].
7394 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7395 * event-msw.c (mswindows_modifier_state):
7396 Throughout: support new button modifiers.
7398 * event-msw.c (emacs_mswindows_current_event_timestamp):
7399 Implement new event method.
7400 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7403 * event-stream.c (event_stream_current_event_timestamp): New.
7404 * event-stream.c (maybe_kbd_translate): New functionality.
7405 * event-stream.c (vars_of_event_stream):
7406 Document new kbd-translate-table functionality.
7408 * event-stream.c (Fcurrent_event_timestamp): New.
7409 New primitive for use in fabricated events.
7410 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7412 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7415 * events.c (Fmake_event):
7416 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7420 * events.c (format_event_object): fix gcc warnings.
7422 * events.c (Fevent_timestamp): Document new primitives.
7424 * events.c (TIMESTAMP_HALFSPACE): New.
7426 * events.c (Fevent_timestamp_lessp): New. New primitive for
7427 comparing timestamps correctly (half-space algorithm).
7429 * events.c (Fevent_modifier_bits): Doc fix.
7431 * events.c (Fevent_modifiers): Major doc addition.
7432 * events.c (event_x_y_pixel_internal): Typo fix.
7433 * events.c (syms_of_events): Declare new primitives.
7436 Update long comment for button modifiers, timestamps.
7438 * events.h (struct event_stream):
7439 New current_event_timestamp method.
7442 * extents.c (extent_in_region_p):
7443 * extents.c (decode_extent):
7444 * extents.c (Fset_extent_parent):
7445 * extents.c (decode_map_extents_flags):
7449 * extents.c (struct extent_at_arg):
7450 * extents.c (decode_extent_at_flag):
7451 * extents.c (extent_at_mapper):
7452 * extents.c (extent_at_bytind):
7453 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7454 * extents.c (Fextents_at): New primitive. [9].
7455 * extents.c (symbol_to_glyph_layout): [9].
7456 Support new primitive `extents-at'.
7459 * extents.c (get_text_property_bytind):
7460 extent_at_bytind has another arg.
7463 * extents.c (syms_of_extents): New primitive.
7465 * file-coding.c (Fmake_coding_system): [1].
7466 * file-coding.c (subsidiary_coding_system): fix gcc warning
7467 * file-coding.c (syms_of_file_coding): [2].
7469 * fileio.c (Fexpand_file_name):
7470 * fileio.c (Fsysnetunam):
7471 * fileio.c (Ffile_exists_p):
7472 * fileio.c (Ffile_executable_p):
7473 * fileio.c (Fverify_visited_file_modtime):
7476 * fileio.c (syms_of_fileio): [2].
7478 * filelock.c (lock_file_1):
7479 * filelock.c (current_lock_owner):
7480 * filelock.c (lock_if_free):
7481 * filelock.c (lock_file):
7482 * filelock.c (unlock_file):
7485 * fns.c (concat): Fix gcc warning.
7488 * fns.c (Fold_member):
7490 * fns.c (Fold_memq):
7491 * fns.c (memq_no_quit):
7493 * fns.c (Fold_assoc):
7495 * fns.c (Fold_assq):
7496 * fns.c (assq_no_quit):
7498 * fns.c (Fold_rassoc):
7500 * fns.c (Fold_rassq):
7501 * fns.c (rassq_no_quit):
7503 * fns.c (Fold_delete):
7505 * fns.c (Fold_delq):
7506 * fns.c (delq_no_quit):
7507 * fns.c (Fremassoc):
7509 * fns.c (remassq_no_quit):
7510 * fns.c (Fremrassoc):
7511 * fns.c (Fremrassq):
7512 * fns.c (remrassq_no_quit):
7517 * frame-msw.c (mswindows_init_frame_1):
7518 * frame-msw.c (mswindows_delete_frame):
7519 Register popups with dialog code so keyboard traversing works.
7521 * frame-tty.c (tty_raise_frame_no_select): [1].
7524 * frame-x.c (x_set_frame_text_value):
7525 * frame-x.c (x_set_frame_properties):
7526 * frame-x.c (x_create_widgets):
7530 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7532 * frame.h (wrap_frame): New.
7533 Macro like wrap_device.
7536 * general.c (SYMBOL):
7537 * general.c (syms_of_general):
7538 Major reorg. This is now just a wrapper and symbols themselves
7539 are listed in general-slots.h.
7541 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7542 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7544 * glyphs-msw.c (mswindows_native_layout_instantiate):
7545 Add DS_CONTROL so keyboard traversal will work.
7548 * glyphs-widget.c (syms_of_glyphs_widget):
7549 Move some symbols to general-slots.h.
7552 * glyphs-x.c (xbm_instantiate_1):
7553 * glyphs-x.c (x_xbm_instantiate):
7554 * glyphs-x.c (x_xface_instantiate):
7555 * glyphs-x.c (autodetect_instantiate):
7556 * glyphs-x.c (cursor_font_instantiate):
7557 * glyphs-x.c (x_update_widget):
7558 * glyphs-x.c (x_widget_instantiate):
7559 * glyphs.c (bitmap_to_lisp_data):
7560 * glyphs.c (pixmap_to_lisp_data):
7563 * glyphs.c (syms_of_glyphs):
7567 * gui-x.c (print_widget_value):
7568 * gui-x.c (menu_separator_style_and_to_external):
7569 * gui-x.c (add_accel_and_to_external):
7570 * gui-x.c (button_item_to_widget_value):
7571 * gui-x.c (gui_items_to_widget_values_1):
7572 * gui-x.c (gui_items_to_widget_values):
7573 * gui-x.c (syms_of_gui_x):
7574 * gui-x.c (vars_of_gui_x):
7575 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7579 Muleize, prototype changes matching gui-x.c.
7582 * gui.c (separator_string_p):
7583 * gui.c (gui_item_add_keyval_pair):
7584 * gui.c (make_gui_item_from_keywords_internal):
7585 * gui.c (signal_too_long_error):
7586 * gui.c (parse_gui_item_tree_item):
7587 * gui.c (syms_of_gui):
7588 * gui.c (vars_of_gui):
7590 menu-no-selection-hook moved here (used by MSWin).
7591 Move some symbols to general-slots.h.
7595 * insdel.c (get_buffer_pos_char):
7596 * insdel.c (get_buffer_range_char):
7599 * keymap.c (keymap_lookup_directly):
7600 * keymap.c (keymap_store):
7601 * keymap.c (ensure_meta_prefix_char_keymapp):
7602 * keymap.c (describe_map):
7604 Support new button modifiers.
7606 * lisp-disunion.h (wrap_object):
7607 * lisp-disunion.h (XSETOBJ):
7608 Rename make_obj to wrap_object.
7611 * lisp-union.h (make_int):
7612 * lisp-union.h (make_char):
7613 Support wrap_object.
7616 * lisp.h (LIST_LOOP):
7617 * lisp.h (EXTERNAL_LIST_LOOP):
7618 * lisp.h (LIST_LOOP_2):
7619 * lisp.h (EXTERNAL_LIST_LOOP_1):
7620 * lisp.h (EXTERNAL_LIST_LOOP_2):
7621 * lisp.h (EXTERNAL_LIST_LOOP_3):
7622 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7623 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7624 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7625 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7626 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7627 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7628 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7629 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7630 * lisp.h (struct Lisp_Symbol):
7631 * lisp.h (maybe_continuable_error_with_frob):
7632 Fix up section comments.
7633 Add new types for char to indicate usage.
7634 Delete symbols auto-generated from general-slots.h.
7635 Add prototypes for structured error functions.
7636 Add long comments describing looping macros and change interface
7637 so that lvalues are automatically declared.
7638 Add NO_DECLARE macro in case callers want to declare lvalues
7641 * lread.c (read_syntax_error):
7642 * lread.c (continuable_read_syntax_error):
7643 * lread.c (read_structure):
7644 * lread.c (sequence_reader):
7645 * lread.c (read_list_conser):
7646 * lread.c (read_compiled_function):
7647 Rename syntax_error and continuable_syntax_error to avoid clash
7648 with same-named structured error functions.
7650 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7651 * menubar-msw.c (populate_menu_add_item):
7652 * menubar-msw.c (populate_or_checksum_helper):
7657 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7658 Mule-ize whole file.
7660 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7662 * mule-charset.c (Fmake_charset):
7663 * mule-wnnfns.c (Fwnn_set_param):
7666 * ntproc.c (create_child):
7667 * ntproc.c (Fwin32_set_current_locale):
7668 Add comments portending doom.
7671 * objects-msw.c (old_font_enum_callback_2):
7672 * objects-msw.c (font_enum_callback_1):
7673 * objects-msw.c (mswindows_enumerate_fonts):
7677 * objects-x.c (allocate_nearest_color):
7678 * objects-x.c (x_parse_nearest_color):
7679 * objects-x.c (x_initialize_color_instance):
7680 * objects-x.c (x_print_color_instance):
7681 * objects-x.c (x_finalize_color_instance):
7682 * objects-x.c (x_valid_color_name_p):
7683 * objects-x.c (x_initialize_font_instance):
7684 * objects-x.c (x_print_font_instance):
7685 * objects-x.c (valid_x_font_name_p):
7686 * objects-x.c (truename_via_FONT_prop):
7687 * objects-x.c (truename_via_random_props):
7688 * objects-x.c (truename_via_XListFonts):
7689 * objects-x.c (x_font_truename):
7690 * objects-x.c (x_font_instance_truename):
7691 * objects-x.c (x_font_instance_properties):
7692 * objects-x.c (x_list_fonts):
7693 * objects-x.c (x_find_charset_font):
7694 Mule-ize entire file.
7701 * print.c (std_handle_out_external):
7702 * print.c (debug_print_no_newline):
7703 * print.c (syms_of_print):
7704 Output to all debugger kinds in debug-print.
7705 Fix console-output code under MSWin to actually work.
7707 * process-nt.c (send_signal):
7708 * process-nt.c (nt_create_process):
7709 Use newer Unicode macros.
7711 * process-unix.c (unix_create_process):
7712 * process-unix.c (unix_canonicalize_host_name):
7713 * process-unix.c (unix_open_network_stream):
7719 * search.c (syms_of_search):
7722 * select-msw.c (mswindows_destroy_selection):
7725 * select-x.c (symbol_to_x_atom):
7728 * select.c (syms_of_select):
7731 * sound.c (Fplay_sound_file):
7735 * specifier.c (decode_specifier_type):
7736 * specifier.c (Fvalid_specifier_locale_type_p):
7737 * specifier.c (check_valid_locale_or_locale_type):
7738 * specifier.c (decode_locale):
7739 * specifier.c (decode_locale_type):
7740 * specifier.c (decode_locale_list):
7741 * specifier.c (check_valid_domain):
7742 * specifier.c (decode_specifier_tag_set):
7743 * specifier.c (Fcanonicalize_tag_set):
7744 * specifier.c (Fdefine_specifier_tag):
7745 * specifier.c (Fspecifier_tag_predicate):
7746 * specifier.c (check_valid_inst_list):
7747 * specifier.c (check_valid_spec_list):
7748 * specifier.c (decode_how_to_add_specification):
7749 * specifier.c (check_modifiable_specifier):
7750 * specifier.c (specifier_add_spec):
7751 * specifier.c (boolean_validate):
7752 * specifier.c (display_table_validate):
7755 * specifier.c (syms_of_specifier):
7756 Move some symbols to general-slots.h.
7760 * symbols.c (Fmapatoms):
7761 * symbols.c (Fapropos_internal):
7764 * symbols.c (set_default_buffer_slot_variable):
7765 * symbols.c (set_default_console_slot_variable):
7768 * symbols.c (defsymbol_massage_name_1):
7769 * symbols.c (defkeyword_massage_name):
7770 * symbols.c (deferror_1):
7771 * symbols.c (deferror):
7772 * symbols.c (deferror_massage_name_and_message):
7774 * symeval.h (DEFSYMBOL):
7775 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7777 * symbols.c (syms_of_symbols):
7781 * symsinit.h (init_win32): New.
7782 Also new is syms_of_dialog_mswindows.
7785 Add new Unicode macros, missing Cygwin wide-char functions,
7786 convenience conversion macros for Qmswindows_tstr, macros for
7787 encapsulating required MSWin <-> Cygwin filename conversions,
7788 prototype for dynamically-extracted (not in NT 3.51) functions.
7793 * tooltalk.c (Fadd_tooltalk_message_arg):
7794 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7795 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7798 * tooltalk.c (syms_of_tooltalk):
7802 * unexnt.c (unexec):
7803 Fix up headers, declaration of unexec() to be more standard.
7805 2000-07-20 Martin Buchholz <martin@xemacs.org>
7807 * offix.h: Revert change to guard macros - they're used in offix.c!
7809 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7811 * lisp.h: Defsubred Fdelete.
7813 * console-msw.h: (msprinter_default_printer): Added.
7815 * console-msw.c (msprinter_canonicalize_console_connection):
7816 (msprinter_canonicalize_device_connection): Added.
7818 * device-msw.c (msprinter_default_printer):
7819 (Fmswingows_get_default_printer):
7820 (signal_enum_priner_error):
7821 (Fmswingows_printer_list): Added.
7823 2000-07-19 Martin Buchholz <martin@xemacs.org>
7825 * XEmacs 21.2.35 is released.
7827 2000-07-19 Martin Buchholz <martin@xemacs.org>
7829 * select-x.c (x_handle_selection_request):
7830 Text selected in xemacs and pasted into xterm failed to appear.
7831 Spelling fixes and cosmetic changes.
7833 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7835 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7836 XEmacs frame (fix for doubling chars in dialog boxes).
7838 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7840 * select.c (select_convert_in, select_convert_out):
7841 Don't call intern() every time.
7843 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7844 * select.c (vars_of_select): Initialise them.
7846 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7848 * select.c (selection-coercible-types): New.
7850 * select.c (own-selection-internal):
7851 * select.c (get-selection-internal):
7852 MULE bug fix - these should default to COMPOUND_TEXT and not
7853 STRING for MULE. I think.
7855 * select.c (select_convert_out): Use selection-coercible-types
7856 to find types that we can attempt to perform coercions on.
7858 2000-07-18 Martin Buchholz <martin@xemacs.org>
7862 Add coding: cookie to identify encoding.
7864 * mule-canna.c (CANNA_mode_keys): make static.
7865 Use proper prototypes, even for functions of no arguments.
7866 Remove external prototype for Fding().
7868 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7870 * select.c (syms_of_select): Add missing DEFSUBR.
7872 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7874 * select.c (get_selection_internal, own_selection_internal):
7875 Make the type default to STRING, rather than placing a nil type
7876 into Vselection_alist.
7878 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7880 * gpmevent.c (tty_selection_exists_p):
7881 * gpmevent.c (tty_own_selection):
7882 Updated parameter lists.
7884 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7886 * select.h (selection-alist): Removed declaration.
7888 * select.h (get_local_selection):
7889 * select.c (get_local_selection):
7892 * select.h (convert_selection): Removed declaration.
7893 * select.c (convert_selection): Removed.
7894 This function belongs in Lisp.
7896 * select.h (select_convert_in): Declare.
7897 * select.h (select_convert_out): Declare.
7898 * select.c (select_convert_in): New.
7899 * select.c (select_convert_out): New.
7900 New conversion functions for other files to call.
7902 * select.h (select_notify_buffer_kill): Declare.
7903 * select.c (select_notify_buffer_kill): New.
7904 New functions that get called from kill-buffer.
7906 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
7907 X-specific lisp code.
7909 * select.h: Declare some of the lisp-visible functions for
7912 * select.c (clean_local_selection_data): Removed. This was
7913 a disgusting function, and previously should have been in
7914 select-x.c in any case. The functionality is now provided
7915 in select-convert-from-integer (select.el).
7917 * select.c (available-selection-types): Fixed stupidity where
7918 INTEGER and ATOM got added twice. Also add STRING when we see an
7921 * select.c (get-selection-internal): Removed symbol stripping. No
7922 longer causes conversion when data comes from the internal cache.
7924 * select.c (syms_of_select): Added new functions.
7926 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
7927 error checking - previously this called abort!
7929 * select-x.c (x_own_selection): Changed comment.
7931 * select-x.c (x_handle_selection_request): Use select_convert_out.
7932 Don't mess with selection-alist; it's an internal variable of select.c.
7934 * select-x.c (x_get_foreign_selection): Use select_convert_in.
7936 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
7937 rather than messing with selection-alist.
7939 * select-msw.c (mswindows_get_foreign_selection):
7940 Use TO_INTERNAL_FORMAT rather than hacking.
7942 2000-07-14 Martin Buchholz <martin@xemacs.org>
7944 * process-unix.c (unix_open_multicast_group):
7945 (unix_open_multicast_group): Remove useless casts.
7947 2000-07-13 Martin Buchholz <martin@xemacs.org>
7949 * sound.c (Fplay_sound): Fix `unused variable' warning.
7951 * emacs.c (main): Use correct type for _environ on SCO5.
7953 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
7955 * console.h (own_selection_method):
7956 * console.h (selection_exists_p_method):
7957 * console.h (available_selection_types_method): New.
7958 * console.h (register_selection_data_type_method): New.
7959 * console.h (selection_data_type_name): New.
7961 * console-msw.h (mswindows_destroy_selection): Declare it. New
7962 function & alist to track GlobalAlloc()'d handles that need
7963 releasing when the clipboard data gets replaced or emptied.
7965 * event-msw.c (mswindows_wnd_proc): Call it.
7967 * lisp.h, general.c (Qappend): New symbol representing a
7970 * select.c (own-selection-internal):
7971 * select.c (selection-exists-p):
7972 * select.c (available-selection-types): New.
7973 * select.c (register-selection-data-type): New.
7974 * select.c (selection-data-type-name): New. New functions to deal
7975 with device-specific selection data formats.
7976 * select.c (selection-converter-out-alist): Renamed.
7977 * select.c (selection-converter-in-alist): New.
7978 * select.c (selection-appender-alist): New. Added new alists.
7979 * select.c (syms_of_select, vars_of_select): Added new symbols &
7981 * select.c (get_local_selection): Split.
7982 * select.c: Removed spurious type checking - selections may now be
7983 of any type, not just strings.
7984 * select.c (own-selection-internal):
7986 * select.h, select.c (convert_selection): New. Created
7987 convert_selection() function based on get_local_selection().
7988 * select.h, select.c (QCF_*): New symbols representing mswindows
7990 * select.h, select.c (Qreplace_all, Qreplace_existing): New
7991 symbols representing `how-to-add' modes.
7993 * select-msw.c (x_sym_p): New.
7994 * select-msw.c (symbol_to_ms_cf): New.
7995 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
7996 symbols & clipboard formats. Can also handle string names.
7997 * select-msw.c (mswindows_own_selection):
7998 * select-msw.c (mswindows_selection_exists_p):
7999 Added `data-type' parameter. Use it.
8000 * select-msw.c (mswindows_available_selection_types): New.
8001 * select-msw.c (mswindows_register_selection_data_type): New.
8002 * select-msw.c (mswindows_selection_data_type_name): New.
8003 * select-msw.c (mswindows_own_selection):
8004 * select-msw.c (mswindows_get_foreign_selection):
8005 * select-msw.c (mswindows_selection_exists_p): Rewrote.
8006 * select-msw.c (console_create_select_mswindows): Added new methods.
8007 * select-msw.c (mswindows_destroy_selection): New.
8008 * select-msw.c (Vhandle_alist): New list.
8009 * select-msw.c (mswindows_own_selection):
8011 * select-x.c (x_own_selection):
8012 * select-x.c (x_selection_exists_p):
8013 * select-x.c: Added some comments about maybe using new
8015 * select-x.c (x_own_selection):
8017 * specifier.c: Remove definition of Qappend (now in general.c)
8018 * specifier.c (syms_of_specifier): Remove Qappend.
8020 2000-07-12 Martin Buchholz <martin@xemacs.org>
8022 * config.h.in: Add socklen_t.
8024 * s/decosf4-0.h: No special compiler flags needed or desired.
8025 In particular, undefine _BSD for DEC OSF 4.0.
8027 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8029 * redisplay-msw.c (msprinter_frame_output_end): Added.
8030 (console_type_create_redisplay_mswindows): Referred the above.
8032 * frame.c (setup_frame_without_minibuffer): Do not create a
8033 default minibuffer frame on a printer device.
8035 * frame-msw.c (apply_dc_geometry): Added.
8036 (msprinter_start_page):
8037 (msprinter_init_frame_3):
8038 (msprinter_eject_page): Use it.
8040 * console-msw.h (struct msprinter_frame): Added pix_left and top,
8041 and removed residual duplex and orientation properties.
8043 2000-07-11 Martin Buchholz <martin@xemacs.org>
8045 * eval.c (function_argcount): Work around a DEC CC compiler bug.
8047 * unexalpha.c: Remove system prototypes from C sources!
8049 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
8051 * eval.c: Remove references to M-x edit-options in DEFUNs for
8052 `defvar' and `defconst'.
8054 2000-07-09 Martin Buchholz <martin@xemacs.org>
8056 * config.h.in: Remove SMART_INCLUDE hackery.
8059 * config.h.in: Don't use SMART_INCLUDE.
8061 * postgresql.h: Include libpq-fe.h here. Fix typo.
8062 * inline.c: Simply #include "postgresql.h"
8064 - Don't use SMART_INCLUDE
8065 - Use simply "const".
8066 - Use standard doc string conventions.
8067 - Use correct type for result of PQstatus.
8069 2000-07-09 Martin Buchholz <martin@xemacs.org>
8071 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
8073 C++ compilation changes.
8074 * config.h.in (EXTERN_C): Define.
8075 * config.h.in (not): This is also a C++ keyword.
8076 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
8077 * cm.c: Use EXTERN_C.
8078 * redisplay-tty.c: Use EXTERN_C.
8079 * sysdep.c: Use EXTERN_C. Remove Gould support.
8081 2000-07-09 Martin Buchholz <martin@xemacs.org>
8083 * general.c: Remove duplicate definition for Qfunction.
8085 2000-07-08 Ben Wing <ben@xemacs.org>
8087 * device-msw.c (msprinter_init_device):
8088 * device-msw.c (sync_printer_with_devmode):
8089 * device-msw.c (handle_devmode_changes):
8090 * device-msw.c (print_dialog_worker):
8091 * device-msw.c (Fmsprinter_apply_settings):
8092 * device-msw.c (hash_devmode):
8093 * device-msw.c (Fmsprinter_settings_despecialize):
8094 use Qmswindows_tstr, not Qctext.
8096 * vm-limit.c (check_memory_limits):
8097 avoid infinite loop printing warning messages.
8099 2000-07-05 Craig Lanning <lanning@scra.org>
8101 * Makefile.in.in: Add support for including the Windows resources
8102 when building with the cygwin and mingw targets.
8104 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
8105 not set or not correct.
8106 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
8107 (init_initial_directory): Don't try to use $PWD on the
8108 WIN32_NATIVE target.
8111 [[Add -mwindows to eliminate console window.]] not required --ben
8112 (HAVE_NATIVE_SOUND): removed; now handled by configure.
8113 (MAIL_USE_POP): removed; now handled by configure.
8115 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
8116 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
8117 (HAVE_NATIVE_SOUND): removed; now handled by configure.
8118 (MAIL_USE_POP): removed; now handled by configure.
8119 (ENCAPSULATE_STAT): from Dan Holmsand, added.
8120 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
8121 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
8123 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
8124 up from <winsock.h> via systime.h.
8125 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
8126 (getpagesize): from Dan Holmsand, added.
8127 Added #endif which was left dangling by Ben's mega patch; added
8128 comment to help prevent this in the future.
8130 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
8132 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8134 * console-msw.h (struct mswindows_device): Removed unnecessary
8135 cached device geometry values.
8136 Added update_tick and an accessor macro.
8137 (Lisp_Devmode): Added lrecord declaration.
8138 (struct msprinter_device): Contain devmode as a Lisp object.
8139 Added mswindows_get_selected_frame_hwnd();
8141 * console.h (struct console_methods): Indentation nitpicking.
8143 * device-msw.c (mswindows_init_device): Do not initialize geometry
8144 cache. Initialize update tick.
8145 (mswindows_device_system_metrics): Ask the device for its geometry.
8146 (global_free_2_maybe):
8147 (devmode_to_hglobal):
8148 (handle_printer_changes):
8149 (ensure_not_printing):
8150 (print_dialog_worker):
8151 (Fmsprinter_print_setup_dialog):
8152 (Fmsprinter_print_dialog):
8155 (Fmsprinter_page_setup_dialog): Added functions.
8156 (sync_printer_with_devmode):
8157 (handle_devmode_changes):
8158 (Fmsprinter_get_settings):
8159 (Fmsprinter_select_settings):
8160 (Fmsprinter_apply_settings):
8162 (Fmsprinter_settings_copy):
8163 (Fmsprinter_settings_despecialize):
8167 (hash_devmode): Added functions
8168 (syms_of_device_mswindows): Init devmode lrecord class.
8170 * device.h: Added an exfun for find-device.
8172 * event-msw.c (mswindows_wnd_proc): Do not update the cached
8173 geometry; although, recreate the device compatible DC.
8175 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
8176 (msprinter_init_frame_3):
8177 (msprinter_frame_property):
8178 (msprinter_internal_frame_property_p):
8179 (msprinter_frame_properties):
8180 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
8181 print job properties (will move to device settings).
8183 * lisp.h: Added symbols.
8185 * general.c (syms_of_general): Declared them.
8187 * hash.c (string_hash): Added.
8189 * lrecord.h (lrecord_type): Added devmode lrecord type.
8191 2000-07-02 Mike Sperber <mike@xemacs.org>
8193 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
8196 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
8198 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
8201 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
8203 * data.c (Fstring_to_number): Don't recognize floating point if
8206 2000-06-22 Martin Buchholz <martin@xemacs.org>
8208 * glyphs-widget.c (tab_control_query_geometry):
8209 (widget_query_geometry):
8210 (button_query_geometry):
8211 * glyphs.c (text_query_geometry):
8212 Enforce type correctness.
8214 2000-06-18 Martin Buchholz <martin@xemacs.org>
8216 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
8217 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
8219 2000-06-17 Martin Buchholz <martin@xemacs.org>
8221 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
8222 conflicts with gcc's fixincluded version of FOO.h.
8224 * glyphs.h (image_instance_geometry): Remove trailing `,'
8226 2000-06-08 Mike Alexander <mta@arbortext.com>
8228 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
8229 (shove_thread): Don't write the same output twice
8230 (make_ntpipe_output_stream): Increase priority of shove thread
8231 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
8233 (ntpipe_shove_closer): Don't delete the pipe until we're done with
8236 2000-06-12 Ben Wing <ben@xemacs.org>
8238 * s\mingw32.h (sigset):
8239 * s\windowsnt.h (sigset):
8240 rename msw_ to mswindows_ for consistency with general convention.
8242 2000-06-12 Ben Wing <ben@xemacs.org>
8245 * console-msw.c (mswindows_get_console_hwnd):
8246 * console-msw.c (mswindows_ensure_console_allocated):
8247 * console-msw.c (mswindows_hide_console):
8248 * console-msw.c (mswindows_show_console):
8249 * console-msw.c (mswindows_ensure_console_buffered):
8250 * console-msw.c (mswindows_output_console_string):
8251 * console-msw.c (mswindows_windows9x_p):
8253 * device-msw.c (mswindows_get_workspace_coords):
8254 * device-msw.c (mswindows_device_system_metrics):
8255 * dialog-msw.c (mswindows_popup_dialog_box):
8256 * event-msw.c (mswindows_wnd_proc):
8257 * frame-msw.c (mswindows_size_frame_internal):
8258 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8259 * menubar-msw.c (displayable_menu_item):
8260 * menubar-msw.c (mswindows_char_is_accelerator):
8262 * nt.c (mswindows_sigset):
8263 * nt.c (mswindows_sigrelse):
8264 * nt.c (mswindows_sigpause):
8265 * nt.c (mswindows_raise):
8266 * nt.c (timer_proc):
8268 * ntproc.c (find_child_console):
8269 * ntproc.c (sys_kill):
8271 * print.c (std_handle_out_external):
8272 * process-nt.c (find_child_console):
8273 * process-nt.c (send_signal_the_95_way):
8274 * process-nt.c (ensure_console_window_exists):
8275 * process-nt.c (nt_create_process):
8277 rename msw_ to mswindows_ for consistency with general convention.
8281 include nt.h, not syswindows.h.
8283 * nt.c (mswindows_fstat):
8284 * nt.c (mswindows_stat):
8285 prefix mswindows_ instead of attempting to directly override the
8286 library functions. fix declarations.
8289 include syswindows.h. move some sysdep.h stuff here.
8292 include syswindows.h, not <windows.h>.
8300 * sysdep.c (sys_fstat):
8301 * sysdep.c (sys_stat):
8302 call mswindows versions when appropriate.
8305 move mswin decls to nt.h.
8308 add long comment describing appropriate use of the various windows
8311 2000-06-11 Ben Wing <ben@xemacs.org>
8313 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8315 2000-06-10 Ben Wing <ben@xemacs.org>
8317 * Makefile.in.in (release):
8318 Correction to make sure xemacs.exe always dumped when correct.
8322 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8324 * buffer.c (set_buffer_internal):
8325 [[[[2]]]]: Remove HAVE_FEP code.
8327 * buffer.c (init_initial_directory):
8331 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8335 * callproc.c (call_process_cleanup):
8336 * callproc.c (Fold_call_process_internal):
8337 * callproc.c (child_setup):
8338 * callproc.c (getenv_internal):
8339 * callproc.c (init_callproc):
8340 * callproc.c (vars_of_callproc):
8341 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8342 __CYGWIN32__ -> CYGWIN.
8343 DOS_NT -> WIN32_NATIVE.
8344 Remove MSDOS support/references, converting to WIN32_NATIVE
8346 __MINGW32__ -> MINGW.
8347 Fix windows.h includes.
8348 Remove bogus HAVE_NTGUI.
8354 mswindows_message_outputted added for use in allowing startup
8355 errors on the console to be seen.
8357 * console-msw.c (msw_ensure_console_allocated):
8358 * console-msw.c (msw_output_console_string):
8359 * console-msw.c (DHEADER):
8360 * console-msw.c (DOPAQUE_DATA):
8361 * console-msw.c (DEVENT):
8362 * console-msw.c (DCONS):
8363 * console-msw.c (DCONSCDR):
8364 * console-msw.c (DSTRING):
8365 * console-msw.c (DVECTOR):
8366 * console-msw.c (DSYMBOL):
8367 * console-msw.c (DSYMNAME):
8370 * console-stream.c (stream_init_console):
8371 Fix text/binary problems.
8374 * device-msw.c (mswindows_finish_init_device):
8375 * device-msw.c (mswindows_delete_device):
8378 * device.c (handle_asynch_device_change):
8382 * dgif_lib.c (DGifOpenFileName):
8383 * dgif_lib.c (DGifOpenFileHandle):
8384 * dgif_lib.c (DGifGetLine):
8385 * dgif_lib.c (DGifGetPixel):
8386 Added config.h/lisp.h, fix up includes.
8393 * dired.c (file_name_completion):
8394 * dired.c (Ffile_attributes):
8395 * dired.c (syms_of_dired):
8399 * dumper.c (pdump_file_unmap):
8400 * dumper.c (pdump_load):
8404 * editfns.c (Ftemp_directory):
8405 * editfns.c (user_login_name):
8406 * editfns.c (Fuser_real_login_name):
8407 * editfns.c (get_home_directory):
8410 * elhash.c (finish_marking_weak_hash_tables):
8411 [[[[5]]]]: Fix GCC warnings.
8414 * emacs.c (mswindows_handle_hardware_exceptions):
8415 * emacs.c (make_arg_list_1):
8417 * emacs.c (Fkill_emacs):
8418 * emacs.c (Fdump_emacs):
8420 Fix problems with nested crashes, add long comment.
8422 * event-Xt.c (init_event_Xt_late):
8426 * event-msw.c (mswindows_dde_callback):
8427 * event-msw.c (mswindows_handle_sticky_modifiers):
8428 * event-msw.c (mswindows_wnd_proc):
8432 * events.c (character_to_event):
8436 * fileio.c (Ffile_name_directory):
8437 * fileio.c (Ffile_name_nondirectory):
8438 * fileio.c (directory_file_name):
8439 * fileio.c (Fexpand_file_name):
8440 * fileio.c (Fsubstitute_in_file_name):
8441 * fileio.c (Ffile_name_absolute_p):
8442 * fileio.c (check_executable):
8443 * fileio.c (Ffile_readable_p):
8444 * fileio.c (Ffile_accessible_directory_p):
8445 * fileio.c (Ffile_modes):
8446 * fileio.c (Funix_sync):
8447 * fileio.c (vars_of_fileio):
8450 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8452 Expand getdefdir defn.
8453 Fix bogus rename() comment.
8455 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8456 to use standard XEmacs include files, e.g. sysfile.h, rather
8457 than system-specific includes.
8463 * frame.c (vars_of_frame):
8467 * getloadavg.c (getloadavg):
8469 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8470 (We don't use it elsewhere in the code; just add a comment.)
8477 * glyphs-msw.c (mswindows_resource_instantiate):
8480 * glyphs-x.c (x_native_layout_instantiate):
8483 * gui-msw.c (Fmswindows_shell_execute):
8492 * lread.c (locate_file_in_directory_mapper):
8499 * mem-limits.h (get_lim_data):
8511 * nt.c (rva_to_section):
8512 * nt.c (mswindows_executable_type):
8514 Fix closedir() defn.
8517 [[[[8]]]]: *_OK defs moved to sysfile.h.
8526 * print.c (std_handle_out_external):
8530 * process-nt.c (nt_create_process):
8532 try to fix process quoting somewhat.
8534 * process-unix.c (unix_create_process):
8538 * process.c (vars_of_process):
8545 * realpath.c (xrealpath):
8548 * redisplay-tty.c (init_tty_for_redisplay):
8558 * sheap.c (more_static_core):
8559 * sheap.c (report_sheap_usage):
8563 * signal.c (alarm_signal):
8570 * strftime.c (zone_name):
8573 * symsinit.h (init_sunpro):
8577 commctrl.h not in Cygwin b20.1.
8581 * sysdep.c (sys_subshell):
8582 * sysdep.c (init_baud_rate):
8583 * sysdep.c (emacs_get_tty):
8584 * sysdep.c (emacs_set_tty):
8585 * sysdep.c (tty_init_sys_modes_on_device):
8586 * sysdep.c (init_system_name):
8587 * sysdep.c (sys_open):
8588 * sysdep.c (interruptible_open):
8589 * sysdep.c (sys_fopen):
8590 * sysdep.c (sys_mkdir):
8591 * sysdep.c (sys_rename):
8592 * sysdep.c (get_process_times_1):
8599 * sysdir.h (DIRENTRY_NONEMPTY):
8602 * sysdll.c (dll_init):
8608 added text/binary defs.
8614 * sysproc.h (EDESTADDRREQ):
8615 * sysproc.h (poll_fds_for_input):
8632 Always define WIN32_LEAN_AND_MEAN.
8634 * unexcw.c (unexec):
8638 * unexec.c (copy_text_and_data):
8639 * unexec.c (adjust_lnnoptrs):
8643 * unexnt.c (_start):
8646 2000-06-07 Ben Wing <ben@xemacs.org>
8648 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8649 was used only as a model. We've long since extracted any useful
8650 logic or code out of this. (I just did an exhaustive search.)
8652 * s\msdos.h: Removed.
8654 * s\windows95.h: Removed.
8656 2000-06-10 Ben Wing <ben@xemacs.org>
8660 Don't use extern with fun defs.
8664 Remove nt\inc include.
8665 Remove getdisk, getdefdir. (The former is unused, the latter
8666 expanded in fileio.h.)
8669 * s\windowsnt.h (WIN32_NATIVE):
8670 * s\windowsnt.h (HAVE_STRCASECMP):
8672 Add long comment about preprocessor changes.
8673 Remove getdisk, getdefdir. (The former is unused, the latter
8674 expanded in fileio.h.)
8676 2000-06-10 Ben Wing <ben@xemacs.org>
8685 Remove bogus/unused NO_SOCK_SIGIO.
8687 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8689 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8692 2000-06-04 Mike Sperber <mike@xemacs.org>
8694 * casetab.c (set_case_table): For `set-standard-case-table',
8695 actually deposit the new case tables where the rest of XEmacs can
8698 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8700 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8702 2000-06-05 Ben Wing <ben@xemacs.org>
8704 * callproc.c (child_setup): Don't do close_load_descs() under
8705 MS Windows. Put in a comment explaining why.
8707 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8709 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8710 Toolkit shell" which breaks `kill-compilation' on Windows NT
8711 native, retaining STDERR handling improvements.
8713 2000-06-01 Andreas Jaeger <aj@suse.de>
8715 * s/s390.h: Support for S390, based on a patch by Martin
8716 Schwidefsky <schwidefsky@de.ibm.com>.
8718 2000-05-30 Andy Piper <andy@xemacs.org>
8720 * window.c (allocate_window):
8721 (make_dummy_parent):
8722 (Fset_window_configuration): use new hashtable type.
8724 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8725 (struct image_instantiator_methods):
8726 (struct Lisp_Image_Instance): make instance geometry signed.
8728 * glyphs.c (instantiate_image_instantiator):
8729 (image_instance_query_geometry):
8730 (image_instance_layout):
8731 (image_instance_layout):
8732 (query_string_geometry):
8733 (text_query_geometry):
8734 (image_instantiate):
8735 (image_instantiate):
8736 (cache_subwindow_instance_in_frame_maybe):
8737 (subwindow_query_geometry): make instance geometry signed.
8739 * glyphs-widget.c (widget_query_geometry):
8741 (button_query_geometry):
8742 (tree_view_query_geometry):
8743 (tab_control_query_geometry):
8744 (layout_query_geometry):
8746 (native_layout_layout): make instance geometry signed.
8748 2000-05-29 Olivier Galibert <galibert@pobox.com>
8750 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8753 * general.c (syms_of_general): Add Qfull_assoc symbol.
8755 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8757 (decode_weak_list_type): Decode full-assoc type.
8758 (encode_weak_list_type): Encode full-assoc type.
8759 (Fmake_weak_list): Update doc string.
8761 2000-05-30 Andy Piper <andy@xemacs.org>
8763 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8765 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8766 (decode_hash_table_weakness): ditto.
8767 (Fhash_table_weakness): ditto.
8768 (Fhash_table_type): ditto.
8769 (finish_marking_weak_hash_tables): ditto.
8770 (hash_table_weakness_validate): ditto.
8771 (syms_of_elhash): ditto.
8773 2000-05-28 Martin Buchholz <martin@xemacs.org>
8775 * XEmacs 21.2.34 is released.
8777 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8779 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8781 (updating_line_start_cache): Gone.
8782 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8783 generic code to force a minimum of 1 line laid out in the
8786 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8788 * glyphs.c (instantiate_image_instantiator): Check for initialized
8789 height & width no longer special cases IMAGE_NOTHING.
8790 (nothing_instantiate): Set height and width of instance.
8792 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8794 * unexelf.c (unexec): Search for ".data" section.
8795 Initialize new_data2_offset from old_data_index.
8796 Remove redundant check for ElfW.
8798 2000-05-23 Andy Piper <andy@xemacs.org>
8800 * glyphs.c (get_image_instantiator_governing_domain): allow more
8801 specific domains as the governing domain rather than expecting an
8802 exact match. This fixes problems with layouts.
8804 2000-05-22 Andy Piper <andy@xemacs.org>
8806 * redisplay-output.c (compare_runes): check for non-images
8808 * glyphs.c (set_glyph_dirty_p): ditto.
8809 (update_glyph_cachel_data): ditto.
8811 * glyphs-widget.c (layout_post_instantiate): ditto.
8812 (layout_post_instantiate): ditto.
8814 * event-msw.c (mswindows_wnd_proc): warning removal.
8816 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8818 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8820 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8822 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8824 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8825 (mswindows_executable_type): mingw32 now has enough headers for
8828 2000-05-20 Andy Piper <andy@xemacs.org>
8830 * console-msw.c (mswindows_output_last_error): ; -> ,
8832 2000-05-12 Andy Piper <andy@xemacs.org>
8834 * console-msw.c (FROB): compare ints with ints.
8836 2000-05-11 Andy Piper <andy@xemacs.org>
8838 * glyphs-x.c (x_finalize_image_instance): make minimal build
8841 2000-05-20 Ben Wing <ben@xemacs.org>
8844 * event-Xt.c (vars_of_event_Xt):
8845 move modifier-keys-are-sticky to event-stream.c.
8848 * event-msw.c (mswindows_enqueue_mouse_button_event):
8849 * event-msw.c (key_needs_default_processing_p):
8850 * event-msw.c (XEMSW_LCONTROL):
8851 * event-msw.c (mswindows_handle_sticky_modifiers):
8852 * event-msw.c (FROB):
8853 * event-msw.c (clear_sticky_modifiers):
8854 * event-msw.c (output_modifier_keyboard_state):
8855 * event-msw.c (output_alt_keyboard_state):
8856 * event-msw.c (mswindows_wnd_proc):
8857 * event-msw.c (mswindows_modifier_state):
8858 * event-msw.c (emacs_mswindows_handle_magic_event):
8859 implement sticky modifiers.
8862 * event-stream.c (vars_of_event_stream):
8863 move modifier-keys-are-sticky here.
8869 implement map-range-table.
8872 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8874 * redisplay-tty.c (reset_tty_modes):
8875 (tty_redisplay_shutdown): Adjust argument type to
8876 tty_frame_output_end.
8878 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8880 * eval.c (Fbacktrace): Don't output a line with only right
8883 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8885 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8886 (Fpq_reset_poll): Ditto.
8888 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8890 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8892 2000-05-16 Ben Wing <ben@xemacs.org>
8895 * buffer.c (dfc_convert_to/from_internal_format):
8896 * buffer.c (reinit_vars_of_buffer):
8897 Fix conversion functions to allow reentrancy.
8900 * console-msw.c (mswindows_output_last_error):
8901 New fun, generally useful -- output a human-readable
8902 version of GetLastError() on the console.
8905 * console-msw.h (struct mswindows_frame):
8906 Changes for DeferWindowPos. Declare mswindows_output_last_error().
8908 * console-stream.c (stream_output_begin):
8909 * console-stream.c (stream_output_end):
8910 * console-stream.c (stream_output_vertical_divider):
8911 * console-stream.c (stream_clear_region):
8912 * console-stream.c (stream_flash):
8913 * console-stream.c (console_type_create_stream):
8914 Delete blank stream methods, not needed.
8916 * console.h (struct console_methods):
8917 Split begin/end methods into window and frame.
8920 * event-msw.c (mswindows_handle_paint):
8921 * event-msw.c (output_alt_keyboard_state):
8922 * event-msw.c (mswindows_wnd_proc):
8923 * event-msw.c (vars_of_event_mswindows):
8924 Comment about problems with ignored-expose.
8925 Define mswindows-debug-events; not really implemented.
8927 * frame-msw.c (mswindows_init_frame_1):
8931 * glyphs-msw.c (begin_defer_window_pos):
8932 * glyphs-msw.c (mswindows_unmap_subwindow):
8933 * glyphs-msw.c (mswindows_map_subwindow):
8934 * glyphs-msw.c (mswindows_resize_subwindow):
8935 Use DeferWindowPos to reduce flashing when mapping/unmapping.
8937 * glyphs.c (make_image_instance_1):
8940 * gutter.c (Fredisplay_gutter_area):
8941 Use new begin/end methods.
8943 * lisp.h (Dynarr_new2):
8947 * redisplay-msw.c (mswindows_frame_output_begin):
8948 * redisplay-msw.c (mswindows_frame_output_end):
8949 * redisplay-msw.c (console_type_create_redisplay_mswindows):
8950 New begin/end methods -- handle DeferWindowPos.
8952 * redisplay-output.c (redisplay_move_cursor):
8953 * redisplay-output.c (redraw_cursor_in_window):
8954 * redisplay-output.c (redisplay_update_line):
8955 * redisplay-output.c (redisplay_output_window):
8956 New begin/end methods.
8959 * redisplay-tty.c (tty_frame_output_begin):
8960 * redisplay-tty.c (tty_frame_output_end):
8961 * redisplay-tty.c (console_type_create_redisplay_tty):
8962 New begin/end methods.
8965 * redisplay-x.c (x_window_output_begin):
8966 * redisplay-x.c (x_window_output_end):
8967 * redisplay-x.c (console_type_create_redisplay_x):
8968 New begin/end methods.
8970 * redisplay.c (redisplay_frame):
8971 * redisplay.c (Fredisplay_echo_area):
8972 New begin/end methods.
8973 use MAYBE_DEVMETH for clear_frame; it may not exist.
8975 * window.h (WINDOW_XFRAME):
8976 WINDOW_XFOO macros -- get locale and decode struct pointer.
8979 2000-05-12 Ben Wing <ben@xemacs.org>
8982 * emacs.c (ensure_no_quitting_from_now_on):
8983 * emacs.c (fatal_error_signal):
8984 * emacs.c (mswindows_handle_hardware_exceptions):
8986 * emacs.c (Fkill_emacs):
8987 * emacs.c (shut_down_emacs):
8988 * emacs.c (assert_failed):
8989 various improvements in fatal error handling.
8992 move preparing_for_armageddon to emacs.c.
8995 declare fatal_error_in_progress.
8998 * print.c (std_handle_out_external):
8999 * print.c (std_handle_out_va):
9000 * print.c (stderr_out):
9001 * print.c (stdout_out):
9002 use console under mswin when no standard output.
9003 don't do code conversion during fatal error.
9005 * scrollbar.c (Fscrollbar_page_up):
9006 * scrollbar.c (Fscrollbar_page_down):
9007 fix missing else. reindent.
9009 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
9013 * glyphs.h (GLYPH_CACHEL_DESCENT):
9014 (GLYPH_CACHEL_DESCENT):
9015 (GLYPH_CACHEL_DESCENT):
9016 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
9017 used in case these are inline functions.
9018 Use more absurd values to error check.
9020 include window.h for error check functions.
9022 2000-05-11 Ben Wing <ben@xemacs.org>
9024 * cmdloop.c (Freally_early_error_handler):
9025 Display message box under windows; otherwise, message will disappear
9026 before it can be viewed.
9029 * console-msw.c (Fmswindows_message_box):
9030 * console-msw.c (FROB):
9031 * console-msw.c (syms_of_console_mswindows):
9032 Define new fun `mswindows-message-box'.
9033 #### I will merge this into `popup-dialog-box'; just give me
9037 * general.c (syms_of_general):
9038 Some new symbols used in `mswindows-message-box'.
9041 * glyphs.c (Fset_image_instance_property):
9042 put warning in this fun.
9045 * glyphs.h (GLYPH_CACHEL_WIDTH):
9046 * glyphs.h (GLYPH_CACHEL_ASCENT):
9047 * glyphs.h (GLYPH_CACHEL):
9048 * glyphs.h (GLYPH_CACHEL_GLYPH):
9049 define error-checking versions to try to catch a bug i've seen --
9050 redisplay gets in an infinite loop because the glyph width of the
9051 continuation glyph is 65535.
9054 Extern message-box stuff.
9056 * window.c (allocate_window):
9057 * window.c (make_dummy_parent):
9058 * window.c (Fset_window_configuration):
9059 Use EQUAL not EQ for subwindow caches to make them work a bit
9060 better. (Something is still very broken.)
9063 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
9065 * glyphs.c (image_instantiate): Suppress gcc warnings.
9066 (Fmake_image_instance): Fix doc string.
9067 * specifier.c (Fmake_specifier): Ditto.
9069 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
9071 * paths.h.in (PATH_LOCK): Removed.
9072 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
9073 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
9075 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
9077 * fns.c (Ffeaturep): Update e-mail address in doc-string.
9078 Document (featurep '(and xemacs 21.02)).
9080 2000-05-09 Ben Wing <ben@xemacs.org>
9082 * buffer.c (complex_vars_of_buffer):
9083 update modeline-format doc.
9086 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
9089 timeline of all released versions of Emacs, for use in creating
9090 authorship comments and in synching up.
9092 * glyphs-widget.c (image_instantiator_buttons):
9093 * glyphs-widget.c (image_instantiator_edit_fields):
9094 * glyphs-widget.c (image_instantiator_combo_box):
9095 * glyphs-widget.c (image_instantiator_scrollbar):
9096 * glyphs-widget.c (image_instantiator_progress_guage):
9097 * glyphs-widget.c (image_instantiator_tree_view):
9098 * glyphs-widget.c (image_instantiator_tab_control):
9099 * glyphs-widget.c (image_instantiator_labels):
9100 * glyphs-widget.c (image_instantiator_layout):
9101 * glyphs-widget.c (image_instantiator_native_layout):
9102 rename decode_domain method to governing_domain.
9105 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
9106 * glyphs.c (add_entry_to_device_ii_format_list):
9107 make sure we don't put an entry more than once into the list.
9108 * glyphs.c (check_instance_cache_mapper):
9109 *************************************************************
9110 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9112 *************************************************************
9113 * glyphs.c (get_image_instantiator_governing_domain):
9114 clean up, expand on new concept of governing domain.
9115 * glyphs.c (instantiate_image_instantiator):
9116 * glyphs.c (allocate_image_instance):
9117 use governing_domain instead of cache_domain in naming.
9118 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
9119 * glyphs.c (make_image_instance_1):
9120 * glyphs.c (Fmake_image_instance):
9121 allow for any domain (not just device), and process the
9122 governing domain correctly. very big doc fix.
9123 * glyphs.c (Fimage_instance_domain):
9124 new primitive, to retrieve the governing domain of an image instance.
9125 * glyphs.c (image_instantiate):
9126 use new governing_domain stuff. this fixes a crash you could get
9127 by instantiating certain widget glyphs in frame locales. (should
9128 signal an error instead of crashing.)
9129 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
9130 * glyphs.c (Fglyphp): clean up doc.
9131 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
9132 * glyphs.c (syms_of_glyphs):
9133 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
9134 * glyphs.c (image_instantiator_format_create): add some comments about
9136 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
9137 for current-display-table. (Apparently Hrjove implemented in 1998 a
9138 design I wrote up in 1996, but didn't update the doc string.)
9140 * glyphs.h: clean up a doc string.
9141 * glyphs.h (governing_domain):
9142 * glyphs.h (struct image_instantiator_methods):
9143 changes for governing_domain stuff.
9146 * gutter.c (Fgutter_specifier_p):
9147 * gutter.c (Fgutter_size_specifier_p):
9148 * gutter.c (Fgutter_visible_specifier_p):
9150 * objects.c (Fcolor_specifier_p):
9151 * objects.c (Ffont_specifier_p):
9152 * objects.c (Fface_boolean_specifier_p):
9153 doc strings moved to make-*-specifier.
9155 * redisplay.c (add_disp_table_entry_runes_1):
9156 * redisplay.c (generate_fstring_runes):
9157 * redisplay.c (screen):
9158 add random comments and doc strings.
9161 * specifier.c (Fmake_specifier):
9162 major overhaul of this doc string.
9164 * specifier.c (Fvalid_specifier_domain_p):
9165 comment about the bogosity of image instances being domains.
9166 * specifier.c (decode_domain):
9167 now non-static, used in glyphs.c.
9168 * specifier.c (specifier_instance):
9169 comment about the bogosity of image instances being domains.
9170 * specifier.c (Fgeneric_specifier_p):
9171 move doc string to make-generic-specifier.
9172 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
9176 * specifier.h (DOMAIN_FRAME):
9177 * specifier.h (DOMAIN_LIVE_P):
9178 * specifier.h (DOMAIN_XDEVICE):
9180 add comments about problems with these macros.
9181 prototype for decode_domain.
9184 * toolbar.c (Ftoolbar_specifier_p):
9185 move doc string to `make-toolbar-specifier'.
9187 * window.c (window_unmap_subwindows_cache_mapper):
9188 *************************************************************
9189 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9191 *************************************************************
9193 2000-05-09 Andy Piper <andy@xemacs.org>
9195 * glyphs.h: declare reset_frame_subwindow_instance_cache.
9197 * window.c (Fset_window_configuration): reset the frame subwindow
9198 cache and re-initialize the window subwindow caches.
9200 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
9202 2000-05-09 Ben Wing <ben@xemacs.org>
9204 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
9207 2000-04-26 Mike Woolley <mike@bulsara.com>
9209 * ntheap.c: Changed recreate_heap to limit the amount reserved
9210 for the heap to that which is actually available. Also now
9211 displays a message box (with some dignostics) in the event that
9212 it still can't start.
9214 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
9216 * callproc.c (Fold_call_process_internal): GCPRO path
9218 2000-05-08 Jan Vroonhof <jan@xemacs.org>
9220 Patch by Bill Perry.
9222 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
9223 back data instead of #ifdef.
9224 (Fscrollbar_page_down): ditto.
9226 2000-05-07 Ben Wing <ben@xemacs.org>
9229 Kludge for defining Qmswindows_tstr.
9232 * nt.c (open_input_file):
9233 * nt.c (open_output_file):
9234 * nt.c (rva_to_section):
9235 * nt.c (mswindows_executable_type):
9236 Move all memory-mapped-file routines here (some were in unexnt.c,
9237 which is bad because they are used by process-nt.c, and unexnt
9238 won't be around when portable dumping). Synched the above routines
9242 Removed ifdef'd out bogus code.
9243 Fixed some prototypes.
9246 * nt.h (OFFSET_TO_RVA):
9247 * nt.h (RVA_TO_OFFSET):
9248 * nt.h (RVA_TO_PTR):
9249 Moved the memory-mapped-file structures, macros and prototypes
9250 here, to parallel nt.c. ntheap.h should really be removed
9251 entirely, and it's a non-portable-dumper specific file.
9253 * ntheap.h (round_to_next):
9254 Moved the memory-mapped-file structures, macros and prototypes
9257 * ntproc.c (compare_env):
9258 Moved rva_to_section and mswindows_executable_type to nt.c.
9259 Moved compare_env to process-nt.c.
9260 ntproc.c will die, one day.
9262 * ntproc.c (sys_spawnve):
9263 Account for win32_ -> mswindows_.
9266 * process-nt.c (struct nt_process_data):
9267 * process-nt.c (ensure_console_window_exists):
9268 * process-nt.c (compare_env):
9269 * process-nt.c (nt_create_process):
9270 * process-nt.c (nt_kill_process_by_pid):
9271 * process-nt.c (syms_of_process_nt):
9272 * process-nt.c (vars_of_process_nt):
9273 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
9274 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
9275 changes). Eliminate our old `nt-quote-process-args' mechanism.
9276 Synch up nt_create_process with FSF 20.6 sys_spawnve.
9277 Move compare_env here from ntproc.c.
9279 * process.c (Fprocess_send_region):
9280 Takes an optional fourth argument, BUFFER, which should fix some
9281 problems with call-process.
9284 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
9287 Move ICC_BAR_CLASSES to syscommctrl.h.
9288 Add preliminary macros for MSWindows/Mule. More to come.
9291 * unexnt.c (unexec):
9292 open_output_file moved to nt.c.
9295 2000-05-05 Andy Piper <andy@xemacs.org>
9297 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
9298 instance from the frame cache also since GC may catch up too late
9299 to make frame deletion sane.
9301 2000-05-04 Andy Piper <andy@xemacs.org>
9303 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
9304 (x_finalize_image_instance): ungcpro on deletion.
9306 * glyphs.c (image_instantiator_format_create): give pointers a
9307 query geometry method so that the geometry is at least set.
9309 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
9310 initialize layouts if using widgets.
9312 2000-05-03 Andy Piper <andy@xemacs.org>
9314 * nt.c: remove bogus reference to sysmmsystem.h
9316 * gui-x.c (popup_selection_callback): fix no selection abort.
9318 2000-05-02 Andy Piper <andy@xemacs.org>
9320 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9321 (mswindows_widget_instantiate): ditto.
9323 * glyphs-widget.c (initialize_widget_image_instance): initialize
9325 (widget_instantiate): cope with children and items in the same
9328 * glyphs.c (mark_image_instance): cope with children as a first
9330 (image_instance_equal): ditto.
9331 (image_instance_hash): ditto.
9332 (image_instance_changed): ditto.
9334 2000-04-30 Andy Piper <andy@xemacs.org>
9336 * glyphs.c (subwindow_query_geometry): new function. Return some
9338 (subwindow_instantiate): don't assign dimensions if none have been
9340 (image_instantiator_format_create): add subwindow_query_geometry.
9341 (print_image_instance): cope with layouts as widgets.
9343 2000-04-29 Andy Piper <andy@xemacs.org>
9345 * frame.c (delete_frame_internal): call
9346 free_frame_subwindow_instance_cache so that all subwindows are
9347 finalized before their parent.
9348 (mark_frame): remove subwindow_cachels.
9349 (Fmake_frame): remove subwindow_cachel manipulation.
9350 (allocate_frame_core): subwindow_instance_cache is a weak list.
9351 (delete_frame_internal): set subwindow_instance_cache to nil.
9353 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9355 (mswindows_finalize_image_instance): use the device
9356 not the domain as the domain may have died already.
9358 * glyphs-x.c (x_finalize_image_instance): ditto.
9359 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9362 * redisplay-output.c (redisplay_unmap_subwindows): update for
9363 subwindow instance cache as a weak list.
9364 (redisplay_unmap_subwindows_maybe): ditto.
9365 (redisplay_unmap_subwindows_except_us): ditto.
9367 * glyphs.c (unmap_subwindow): error checking will check the domain
9368 so don't deal with it here. Don't use cachels anymore.
9369 (map_subwindow): ditto.
9370 (update_subwindow_cachel_data): remove old accessor names.
9371 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9372 (Fresize_subwindow): don't update cachel.
9373 (mark_subwindow_cachels):
9374 (update_subwindow_cachel_data):
9375 (add_subwindow_cachel):
9376 (get_subwindow_cachel_index):
9377 (update_subwindow_cachel):
9378 (reset_subwindow_cachels):
9379 (mark_subwindow_cachels_as_not_updated): deleted.
9380 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9381 subwindow instance to the frame cache.
9382 (find_matching_subwindow): update for subwindow instance cache as
9384 (update_widget_instances): ditto.
9385 (image_instance_type_to_mask):inlined.
9386 (free_frame_subwindow_instance_cache): new function. finalize all
9387 subwindows that are instantiated.
9389 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9390 of cachel information.
9391 (IMAGE_INSTANCE_DISPLAY_X):
9392 (IMAGE_INSTANCE_DISPLAY_Y):
9393 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9394 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9395 (XIMAGE_INSTANCE_DISPLAY_X):
9396 (XIMAGE_INSTANCE_DISPLAY_Y):
9397 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9398 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9399 remove subwindow_cachel structure and function references.
9400 (image_instance_type_to_mask): inline from glyphs.c
9402 * redisplay.c (redisplay_frame): remove subwindow_cachel
9405 * frame.h (struct frame): remove subwindow_cachels.
9406 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9408 * frameslots.h: add subwindow_instance_cache.
9410 * window.c (replace_window): check subwindow cache of replacement.
9411 (window_unmap_subwindows_cache_mapper):
9412 (window_unmap_subwindows): new functions. Unmap all subwindows
9413 cached on this window.
9414 (mark_window_as_deleted): unmap all subwindows.
9416 2000-04-27 Andy Piper <andy@xemacs.org>
9418 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9420 * glyphs-widget.c (widget_layout): return something.
9421 (layout_layout): return something. Fail if not initialized.
9422 (layout_query_geometry): ditto.
9423 (image_instantiator_native_layout): new function. Initialized the
9425 (widget_instantiate): don't do layout stuff here.
9427 * glyphs.c (instantiate_image_instantiator): reorded calling or
9428 instantiate and post_instantiate with layout in between.
9429 (image_instance_layout): be more selective about deciding whether
9430 the layout has been done or not.
9432 * glyphs.h (struct image_instantiator_methods): return a value
9435 2000-04-26 Andy Piper <andy@xemacs.org>
9437 * glyphs.c (allocate_image_instance): make initial width and
9438 height unspecified. Set initialized to 0.
9440 * syscommctrl.h new file. Encapsulates commctrl.h.
9442 * syswindows.h new file. Encapsulates windows.h.
9444 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9446 * console-msw.h: ditto.
9448 * redisplay-tty.c (tty_output_display_block): remove layout references.
9450 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9451 window handle rather than just the frame.
9453 * glyphs.c (mark_image_instance): remove layout references.
9454 (print_image_instance): ditto.
9455 (image_instance_equal): ditto.
9456 (image_instance_hash): ditto.
9457 (decode_image_instance_type): ditto.
9458 (encode_image_instance_type): ditto.
9459 (image_instantiate): ditto.
9460 (allocate_glyph): ditto.
9461 (Fimage_instance_height): ditto.
9462 (Fimage_instance_width): ditto.
9463 (update_subwindow): ditto.
9465 * redisplay-x.c (x_output_display_block): recode for layouts as
9468 * redisplay-output.c (redisplay_output_layout): recode for layouts
9470 (compare_runes): remove layout references.
9472 * redisplay-msw.c (mswindows_output_display_block): recode for
9475 * glyphs-widget.c (image_instantiator_layout): remove
9476 layout_possible_dest_types.
9477 (layout_possible_dest_types): deleted.
9479 * glyphs.h (image_instance_type): remove layout references.
9480 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9481 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9482 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9484 2000-04-25 Andy Piper <andy@xemacs.org>
9486 * glyphs-widget.c (image_instantiator_buttons):
9487 (image_instantiator_edit_fields):
9488 (image_instantiator_combo_box):
9489 (image_instantiator_scrollbar):
9490 (image_instantiator_progress_guage):
9491 (image_instantiator_tree_view):
9492 (image_instantiator_tab_control):
9493 (image_instantiator_labels):
9494 (image_instantiator_layout): call default post_instantiate method.
9495 (widget_post_instantiate): new function. Simply lays out the
9498 * glyphs.h (struct image_instantiator_methods): add
9499 post_instantiate method.
9501 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9504 2000-04-23 Andy Piper <andy@xemacs.org>
9506 * glyphs.h (struct image_instantiator_methods): add
9507 decode_domain_method.
9508 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9509 derived from the domain.
9510 (IMAGE_INSTANCE_FRAME): new accessor.
9511 (XIMAGE_INSTANCE_FRAME): ditto.
9513 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9514 instead of _SUBWINDOW_FRAME.
9515 (finalize_image_instance): ditto.
9516 (Fimage_instance_foreground): ditto.
9517 (Fimage_instance_background): ditto.
9518 (image_instantiate): ditto.
9519 (update_subwindow_cachel): ditto.
9520 (update_subwindow): ditto.
9521 (unmap_subwindow): ditto.
9522 (map_subwindow): ditto
9523 (subwindow_instantiate): ditto.
9524 * glyphs-msw.c (mswindows_update_widget): ditto.
9525 (mswindows_progress_gauge_instantiate): ditto.
9526 (mswindows_tab_control_update): ditto.
9527 * glyphs-x.c (x_update_widget): ditto.
9528 (x_widget_instantiate): ditto.
9529 (x_tab_control_instantiate): ditto.
9530 (x_tab_control_update): ditto.
9531 * event-msw.c (mswindows_wnd_proc): ditto
9533 * glyphs-widget.c (image_instantiator_layout): use
9534 subwindow_decode_domain.
9535 (image_instantiator_buttons): ditto.
9536 (image_instantiator_edit_fields): ditto.
9537 (image_instantiator_combo_box): ditto.
9538 (image_instantiator_scrollbar): ditto.
9539 (image_instantiator_progress_guage): ditto.
9540 (image_instantiator_tree_view): ditto.
9541 (image_instantiator_tab_control): ditto.
9542 (image_instantiator_labels): ditto.
9543 (image_instantiator_layout): ditto.
9545 * glyphs.c: add instance error checking to many functions.
9546 (instantiate_image_instantiator): decode device from cache_domain.
9547 (image_instantiate): partially rewrite by using
9548 decode_image_instantiator_domain to determine what domain the
9549 instance needs to be cached in.
9550 (decode_image_instantiator_domain): new function. Determine what
9551 domain the image needs to be cached in.
9552 (check_window_subwindow_cache): new error checking function.
9553 (check_instance_cache_mapper): ditto.
9554 (check_image_instance_structure): ditto.
9555 (subwindow_decode_domain): new function. Encodes a window as a
9556 subwindow's cache domain.
9557 (image_instantiator_format_create): use it for text and
9560 2000-04-21 Andy Piper <andy@xemacs.org>
9562 * glyphs.c (image_instance_device): new function.
9563 (image_instance_frame): new function.
9564 (image_instance_window): new function.
9565 (image_instance_live_p): new function.
9567 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9570 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9571 (IMAGE_INSTANCE_DOMAIN): new accessor.
9572 (XIMAGE_INSTANCE_DOMAIN): ditto.
9574 * glyphs-x.c (x_finalize_image_instance): device->domain.
9576 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9577 (mswindows_finalize_image_instance): ditto.
9579 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9580 (gif_instantiate): ditto.
9581 (png_instantiate): ditto.
9582 (tiff_instantiate): ditto.
9584 * glyphs.c (instantiate_image_instantiator): use domain rather
9586 (mark_image_instance): device -> domain.
9587 (print_image_instance): ditto.
9588 (finalize_image_instance): ditto.
9589 (image_instance_equal): ditto.
9590 (allocate_image_instance): ditto.
9591 (Fcolorize_image_instance): ditto.
9592 (query_string_geometry): ditto.
9593 (image_instantiate): ditto
9594 (query_string_font): ditto.
9595 (image_instantiate): ditto.
9596 (update_subwindow): ditto.
9597 (unmap_subwindow): ditto.
9598 (map_subwindow): ditto.
9599 (subwindow_instantiate): ditto.
9601 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9602 (DOMAIN_FRAME): ditto.
9603 (DOMAIN_WINDOW): ditto.
9604 (DOMAIN_LIVE_P): ditto.
9605 (XDOMAIN_DEVICE): ditto.
9606 (XDOMAIN_FRAME): ditto.
9607 (XDOMAIN_WINDOW): ditto.
9609 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9610 a valid specifier domain.
9612 2000-04-19 Andy Piper <andy@xemacs.org>
9614 * glyphs-widget.c (syms_of_glyphs_widget): remove
9615 widget-callback-current-channel.
9616 (vars_of_glyphs_widget): ditto.
9619 * gui.c (get_gui_callback): revert to previous behaviour.
9621 2000-04-18 Andy Piper <andy@xemacs.org>
9623 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9624 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9625 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9627 * glyphs.c (image_instance_equal): add margin_width.
9628 (image_instance_hash): ditto.
9630 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9631 (layout_query_geometry): ditto.
9632 (layout_layout): ditto.
9633 (syms_of_glyphs_widget): add margin-width.
9634 (image_instantiator_layout): allow margin-width.
9636 * glyphs.c (update_widget_instances): make a normal function.
9637 (syms_of_glyphs): remove Qupdate_widget_instances.
9640 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9641 so that we don't corrupt ideas about the last event or
9642 command. Remove widget-callback-current-channel fiddling.
9643 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9645 2000-05-01 Martin Buchholz <martin@xemacs.org>
9647 * XEmacs 21.2.33 is released.
9649 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9651 * make-src-depend: Allow dots in header file name.
9653 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9655 * mule-charset.h (struct charset_lookup): Add
9656 next_allocated_1_byte_leading_byte and
9657 next_allocated_2_byte_leading_byte.
9658 * mule-charset.c: Move above two variables so that those values
9661 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9663 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9664 when string length is zero.
9665 (find_charsets_in_emchar_string): Ditto.
9667 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9669 * lisp.h: extern Qdialog and Qmenubar.
9671 * gui-x.c: added events.h.
9672 also fixed typo which made the file uncompilable.
9674 * general.c: Added Qmenubar and Qdialog
9676 2000-04-28 Ben Wing <ben@xemacs.org>
9678 * frame-msw.c (mswindows_init_frame_1):
9679 * frame-msw.c (mswindows_mark_frame):
9680 * event-msw.c (mswindows_enqueue_dispatch_event):
9682 * console-msw.h (struct mswindows_frame):
9683 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9684 there are now three hash tables for callbacks.
9685 mswindows_enqueue_dispatch_event is no longer static.
9687 * dialog-x.c (maybe_run_dbox_text_callback):
9688 * dialog-x.c (dbox_descriptor_to_widget_value):
9689 switch to new cons3 form for callbacks.
9691 * glyphs-msw.c (mswindows_register_gui_item):
9692 * glyphs-msw.c (mswindows_widget_instantiate):
9693 * glyphs-msw.c (add_tree_item):
9694 * glyphs-msw.c (add_tab_item):
9695 new image instance parameter, so it can be passed to callback-ex.
9696 respect :callback-ex as well as :callback.
9698 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9701 * glyphs.c (print_image_instance):
9702 prettify, e.g. now prints widget type.
9705 certain funs have new image instance parameter.
9708 * gui.c (get_gui_callback):
9709 * gui.c (gui_item_add_keyval_pair):
9710 * gui.c (gui_item_init):
9711 * gui.c (gui_add_item_keywords_to_plist):
9712 * gui.c (mark_gui_item):
9713 * gui.c (gui_item_hash):
9714 * gui.c (gui_item_equal):
9715 * gui.c (copy_gui_item):
9716 * gui.c (syms_of_gui):
9717 recognize callback-ex in a number of places.
9718 also, fix the annoying "can't get out of yes-no dialog" bug.
9721 * gui.h (struct Lisp_Gui_Item):
9722 recognize callback-ex in a number of places.
9724 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9725 new parameter in button_item_to_widget_value.
9727 * glyphs-x.c (x_update_widget):
9728 * glyphs-x.c (x_button_instantiate):
9729 * glyphs-x.c (x_button_update):
9730 * glyphs-x.c (x_progress_gauge_instantiate):
9731 * glyphs-x.c (x_edit_field_instantiate):
9732 * glyphs-x.c (x_combo_box_instantiate):
9733 * glyphs-x.c (x_tab_control_instantiate):
9734 * glyphs-x.c (x_label_instantiate):
9735 new image instance parameter in various places.
9738 * event-Xt.c (enqueue_Xt_dispatch_event):
9739 this fun gets exported.
9742 * gui-msw.c (mswindows_handle_gui_wm_command):
9743 handle both :callback and :callback-ex, and generate our own
9744 event because it's one of the callback-ex arguments.
9747 * gui-x.c (popup_selection_callback):
9748 handle both :callback and :callback-ex, and generate our own
9749 event because it's one of the callback-ex arguments.
9750 * gui-x.c (button_item_to_widget_value):
9751 * gui-x.c (gui_items_to_widget_values_1):
9752 * gui-x.c (gui_item_children_to_widget_values):
9753 * gui-x.c (gui_items_to_widget_values):
9754 new image instance parameter in various places.
9756 * fns.c (Freplace_list):
9757 fix small typo in doc string.
9760 declare enqueue_Xt_dispatch_event.
9762 2000-04-28 Ben Wing <ben@xemacs.org>
9765 * buffer.c (Frecord_buffer):
9766 * buffer.c (syms_of_buffer):
9767 delete record-buffer-hook.
9770 * fns.c (Freplace_list):
9771 * fns.c (syms_of_fns):
9772 new primitive replace-list.
9775 slot for old buffer-alist.
9781 * redisplay.c (redisplay_frame):
9782 * redisplay.c (syms_of_redisplay):
9783 * redisplay.c (vars_of_redisplay):
9784 new hook buffer-list-changed-hook.
9787 2000-04-27 Ben Wing <ben@xemacs.org>
9789 * extents.h: extern in_modeline_generation.
9791 * redisplay.c (generate_formatted_string_db): set
9792 in_modeline_generation.
9794 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9795 flags if in modeline generation. otherwise frame-modified-tick
9796 is ticked far too often.
9797 Declare in_modeline_generation.
9799 2000-04-26 Ben Wing <ben@xemacs.org>
9801 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9803 (vars_of_emacs): add quick-build as an error-checking option.
9804 A bit kludgy, but there doesn't seem much point in creating
9805 a real var for this.
9807 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9809 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9811 * redisplay.h (struct display_line): Add a new variable,
9814 * redisplay.c (create_text_block): Set dl->line_continuation if
9816 (create_string_text_block): Ditto.
9817 (regenerate_window_incrementally): Use line_continuation instead
9818 of searching continuation glyph.
9819 (add_margin_runes): Call add_glyph_rune.
9820 (add_glyph_rune): Handle margin glyph.
9822 2000-04-20 Martin Buchholz <martin@xemacs.org>
9824 * filelock.c (fill_in_lock_file_name):
9826 Check for IS_ANY_SEP instead of '/'.
9828 Avoid generating gratuitous garbage. Call user_login_name() directly.
9829 Never check errno without first seeing that system call failed.
9830 (unlock_file): Add GCPRO.
9831 (Flock_buffer): Fix docstring.
9832 (Ffile_locked_p): Fix docstring. Add GCPRO.
9834 2000-04-19 Martin Buchholz <martin@xemacs.org>
9836 * sysdep.c (get_pty_max_bytes):
9837 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9838 strings longer than 252 bytes.
9840 * md5.c: Unconditionally include ANSI header <limits.h>
9842 * glyphs-x.c (convert_EImage_to_XImage):
9843 * lisp-union.h (union Lisp_Object):
9844 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9846 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9848 * filelock.c (current_lock_owner): Remove unused variable o, p.
9850 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9852 * callint.c: Remove multiply defined symbol Qlet
9853 (syms_of_callint): ditto.
9855 2000-04-14 Andy Piper <andy@xemacs.org>
9857 * general.c (syms_of_general): add last-command, this-command, let
9860 * lisp.h: declare various symbols.
9862 * glyphs.h: declare Qwidget_callback_current_channel;
9864 * glyphs-widget.c (syms_of_glyphs_widget): add
9865 Qgui_callback_current_channel.
9866 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9868 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9869 widget-callback-current-channel when invoking the interactive
9870 arg. Also bind last-command and next-command when invoking the
9872 * gui-x.c (popup_selection_callback): ditto.
9874 * gui.c (get_gui_callback): massage args so that we are always
9875 calling eval. This allows us to add our own variable bindings
9878 * glyphs-x.c (x_button_instantiate): use
9879 gui_items_to_widget_values since this is GC safe.
9880 (x_progress_gauge_instantiate): ditto.
9881 (x_edit_field_instantiate): ditto.
9882 (x_label_instantiate): ditto.
9884 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9885 (emacs_Xt_event_widget_focus_out): new function
9886 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9888 (emacs_Xt_event_add_widget_actions): new function. add focus
9889 functions as actions.
9890 (init_event_Xt_late): use it.
9892 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9894 * event-stream.c (Fdispatch_event): Doc fix.
9896 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9898 * postgresql.c: Remove all references to PQsetenv*.
9900 * postgresql.h: Remove references to PGsetenvHandler object.
9901 * lrecord.h (lrecord_type): Ditto.
9903 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9905 * glyphs-msw.h (struct mswindows_image_instance_data): Added
9906 real_heigh and real_width members, and accessor macros for these.
9908 * glyphs-msw.c (init_image_instance_geometry): New function.
9909 (init_image_instance_from_dibitmap): Use it.
9910 (mswindows_resource_instantiate): Use it.
9911 (init_image_instance_from_xbm_inline): Use it.
9912 (mswindows_initialize_image_instance_mask): Use real bitmap
9914 (mswindows_create_resized_bitmap): Ditto.
9915 (mswindows_create_resized_mask): Ditto.
9917 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
9918 and bitmap to their surface size.
9920 2000-04-11 Jan Vroonhof <jan@xemacs.org>
9922 * process-unix.c (unix_send_process): Guard against process MIA
9923 after Faccept_process_output.
9925 2000-04-11 Ben Wing <ben@xemacs.org>
9927 * eval.c (unbind_to_hairy): fix brokenness introduced by
9928 nanosecond speed improvements.
9930 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
9932 * sunplay.c (init_device): To play sounds correctly, the device
9933 apparently needs to be initialized at least once by XEmacs. Make
9936 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
9938 * redisplay.c (add_margin_runes): Add text image glyph
9941 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9943 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
9944 gcc is newer than 2.5.
9946 2000-04-06 Colin Rafferty <colin@xemacs.org>
9948 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
9950 * fns.c (size_bit_vector):
9951 * alloc.c (size_vector):
9952 (make_vector_internal):
9953 (make_bit_vector_internal):
9954 (sweep_bit_vectors_1):
9955 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
9957 2000-04-06 Andy Piper <andy@xemacs.org>
9959 * gmalloc.c (malloc): undo previous change.
9964 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
9966 * line-number.c (buffer_line_number): Revert to former version.
9968 2000-04-06 Andy Piper <andy@xemacs.org>
9970 * gmalloc.c (malloc): add error checking.
9975 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
9976 button_item_to_widget_value arg.
9978 * glyphs-x.c (x_button_instantiate): add extra
9979 button_item_to_widget_value arg.
9980 (x_progress_gauge_instantiate): ditto.
9981 (x_edit_field_instantiate): ditto.
9982 (x_label_instantiate): ditto.
9984 * gui-x.c (gui_items_to_widget_values_1): add extra
9985 button_item_to_widget_value arg.
9986 (button_item_to_widget_value): add extra menu_item_p arg.
9988 * gui-x.h: change signature of button_item_to_widget_value.
9990 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
9991 button_item_to_widget_value arg.
9993 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9995 * buffer.h (struct buffer): auto_save_modified should be long.
9997 2000-04-05 Andy Piper <andy@xemacs.org>
9999 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
10001 (button_query_geometry): give a little more room so that athena
10004 2000-04-05 Andy Piper <andy@xemacs.org>
10006 * faces.c (complex_vars_of_faces): The widget face should inherit
10007 the font of the gui-element face.
10009 2000-04-04 Andy Piper <andy@xemacs.org>
10011 * glyphs-x.c (x_button_update): new function. unconditionally
10012 update a button's state when the instance is dirty.
10013 (image_instantiator_format_create_glyphs_x): add x_button_update.
10014 (x_widget_instantiate): remove old resize cruft.
10016 2000-04-02 Andy Piper <andy@xemacs.org>
10018 * frame.c (change_frame_size_1): The introduction of gutters means
10019 that we need to allow 0 as a potential frame dimension.
10021 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
10023 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
10024 image glyph if allow_cursor.
10025 (add_hscroll_rune): Don't allow cursor to border glyph.
10026 (create_text_block): Ditto.
10028 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
10029 text not in buffer.
10030 (redisplay_output_layout): Call ensure_face_cachel_complete for
10034 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
10036 * redisplay.c (add_glyph_rune): Adding text image as text runes.
10038 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
10041 * redisplay-tty.c (tty_output_display_block): Delete the routine
10042 for text image glyph
10043 * redisplay-x.c (x_output_display_block): ditto
10044 * redisplay-msw.c (mswindows_output_display_block): ditto
10046 2000-02-02 Mike Alexander <mta@arbortext.com>
10048 Note: Some of these were committed by accident as part of other
10051 * regex.c (regex_compile): Avoid compiler warnings.
10053 * ntproc.c (sys_spawnve): Avoid compiler warnings.
10055 * nt.h: Declare term_ntproc correctly.
10057 * nt.c: Remove incorrect declaration of get_home_directory which
10058 is declared correctly in lisp.h.
10060 * keymap.c (get_keyelt): Avoid compiler warnings.
10061 (raw_lookup_key_mapper): Avoid compiler warnings.
10063 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
10065 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
10067 * filemode.c (mode_string): Avoid compiler warnings.
10069 * file-coding.c (Fcoding_system_aliasee): Add return statement to
10072 * events-mod.h: Undef some things that winuser.h defines differently.
10074 * data.c (Faset): Avoid compiler warnings.
10076 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
10078 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10080 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
10081 Fall through to simple beep on error.
10082 Replace "extern" by real header file.
10084 * linuxplay.c: Use nativesound.h
10085 (play_sound_data): Return error code. Be less verbose on error.
10087 * sunplay.c: Use nativesound.h
10088 (play_sound_data): Return error code. Be less verbose on error.
10090 * ntplay.c: Use nativesound.h
10091 (play_sound_data): Return fake error code
10093 * sgiplay.c: Use nativesound.h
10094 (play_sound_data): Return error code
10096 * hpplay.c: Use nativesound.h, partially implement
10097 new error code. Break compilation until finished.
10098 (play_sound_data): error code.
10100 * nativesound.h (play_sound_file):
10101 (play_sound_data): Prototype in new header.
10103 2000-03-31 Andy Piper <andy@xemacs.org>
10105 * glyphs-widget.c: (button_query_geometry): new function. Adjust
10106 for toggle and radio buttons.
10107 (image_instantiator_buttons): use it.
10109 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10111 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
10112 (x_update_horizontal_scrollbar_callback): Return if no mirror was
10113 found. Scrollbar event probably belonged to some old config.
10115 2000-03-31 Andy Piper <andy@xemacs.org>
10117 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
10119 (initialize_widget_image_instance): default layout to
10120 LAYOUT_HORIZONTAL rather than 0.
10121 (widget_instantiate): reverse the item list at the end rather than
10123 (layout_layout): re-code for the border text at the front of the
10124 item list rather than at the end.
10125 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
10126 provided by the user.
10127 (widget_query_geometry): comment.
10129 2000-03-30 Andy Piper <andy@xemacs.org>
10131 * glyphs-widget.c (image_instantiator_layout): allow standard
10132 widget keywords in layouts.
10134 * gutter.c (output_gutter): cope with nil gutter contents.
10136 * frame.c (Fset_frame_properties): add gutter docs.
10138 2000-03-29 Andy Piper <andy@xemacs.org>
10140 * toolbar-msw.c (TBSTYLE_FLAT): add.
10141 (mswindows_output_toolbar): minor fiddling.
10143 2000-03-29 Andy Piper <andy@xemacs.org>
10145 * gutter.c (output_gutter): force gutter size recalculation if
10146 what we are trying to display won't fit.
10147 (update_gutter_geometry): new function. A per-gutter version of
10148 update_frame_gutter_geometry.
10149 (update_frame_gutter_geometry): use it.
10150 (redraw_exposed_gutter): add extra debugging output.
10152 2000-03-28 Mike Alexander <mta@arbortext.com>
10154 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
10155 (pdump_file_unmap): Implement it on Windows
10156 (pdump_file_get): Save alocated handles for pdump_file_unmap
10158 2000-03-28 Andy Piper <andy@xemacs.org>
10160 * gui.c (get_gui_callback): treat Quit specially.
10162 2000-03-27 Andy Piper <andy@xemacs.org>
10164 * glyphs.c (image_instantiate): be careful to check in the same
10167 2000-03-27 Didier Verna <didier@xemacs.org>
10169 * config.h.in: define the proper SMART_INCLUDE macro.
10170 handle renaming of `foo_h_path' to `foo_h_file'.
10172 * database.c: ditto.
10176 * linuxplay.c: ditto.
10178 * terminfo.c: ditto.
10180 * tooltalk.h: ditto.
10182 2000-03-27 Andy Piper <andy@xemacs.org>
10184 * glyphs-msw.c (mswindows_update_widget): make sure the widget
10185 gets updated whenever the face might have changed.
10187 2000-03-26 Mike Alexander <mta@arbortext.com>
10189 * dumper.c (pdump_resource_free): Fix the comment.
10191 2000-03-21 Olivier Galibert <galibert@pobox.com>
10193 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
10195 2000-03-22 Mike Alexander <mta@arbortext.com>
10197 * dumper.c: Include Windows headers on Windows
10198 (pdump_resource_free): Add a body to the function
10199 (pdump_load): exe_name -> exe_path and add some comments.
10201 2000-03-25 Mike Alexander <mta@arbortext.com>
10203 * gui.c (copy_gui_item_tree): Return a value in all cases
10205 2000-03-21 Didier Verna <didier@xemacs.org>
10207 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
10209 (SMART_INCLUDE): new macro.
10210 (POSTGRES_INCLUDE): new macro to include postgresql headers from
10211 the proper location.
10213 * postgresql.c: use it.
10217 2000-03-24 Andy Piper <andy@xemacs.org>
10219 * gutter.c (redraw_exposed_gutters): must be "in display" when we
10222 2000-03-24 Andy Piper <andy@xemacs.org>
10224 * redisplay-output.c (compare_runes): use image_instance_changed
10225 to detect changes. Do not depend on glyphs_changed, only depend on
10227 (redisplay_output_layout): add debug messages.
10228 (compare_runes): ditto.
10230 * glyphs.h: declare new functions.
10231 (struct Lisp_Image_Instance): remove percent and associated
10234 * gui.h: declare new copying functions.
10236 * gui.c (copy_gui_item_tree): new function.
10237 (copy_gui_item): new function.
10238 (gui_item_id_hash): revert to standard hash.
10239 (gui_item_hash): ditto.
10240 (gui_item_hash_internal): deleted.
10241 (mark_gui_item): mark value.
10242 (gui_item_add_keyval_pair): add value.
10243 (gui_item_init): ditto.
10244 (gui_add_item_keywords_to_plist): ditto.
10245 (gui_item_equal): ditto.
10246 (syms_of_gui): add Q_value.
10248 * glyphs-x.c (x_progress_gauge_update): use pending items and
10249 value for setting the state.
10250 (x_update_widget): don't set items from pending here.
10252 * glyphs-widget.c (update_widget): update items here.
10253 (progress_gauge_set_property): use items for storing value. Put
10254 new value in pending items.
10256 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
10257 items for new value. Convert percent -> value.
10258 (mswindows_tab_control_update): don't update items here.
10260 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
10261 (update_subwindow): ditto.
10262 (image_instance_changed): new function. Compare hash values and
10263 past and present widget items.
10264 (image_instantiate): We more careful about where we instantiate
10266 (image_instantiate): add error checking.
10268 * gutter.c (syms_of_gutter): use -hook.
10270 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
10272 * console-tty.c (Fset_console_tty_input_coding_system): Use
10274 (Fset_console_tty_output_coding_system): Use Qterminal.
10275 (tty_init_console): Use Qkeyboard and Qterminal.
10277 2000-03-21 Ben Wing <ben@xemacs.org>
10279 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
10280 From Mike Alexander <mta@arbortext.com>.
10282 2000-03-21 Ben Wing <ben@xemacs.org>
10284 * event-msw.c (mswindows_need_event): Horrible kludge to fix
10285 process brokenness. Proper implementation to come.
10287 Rename call-process-internal to old-call-process-internal.
10288 New impl. in process.el.
10290 2000-03-21 Martin Buchholz <martin@xemacs.org>
10292 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
10294 2000-03-20 Andy Piper <andy@xemacs.org>
10296 * glyphs.c (full_list_hash): make hashes of the same elements in
10297 different orders return different values.
10299 2000-03-20 Martin Buchholz <martin@xemacs.org>
10301 * XEmacs 21.2.32 is released.
10303 2000-03-20 Martin Buchholz <martin@xemacs.org>
10305 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
10306 (DFC_MALLOC_USE_CONVERTED_DATA):
10307 Add aliasing-safe casts to allow use with char* or unsigned char*
10310 * eldap.c (Fldap_open):
10311 (Fldap_search_basic):
10314 Make C++-compilable.
10315 Make sure GCPRO'ed variables are initialized.
10316 Use temp variables to avoid repeated calls to Flength.
10318 2000-03-16 Martin Buchholz <martin@xemacs.org>
10321 Make sure PATH_MAX is always defined.
10322 Include limits.h for PATH_MAX.
10323 Deprecate use of MAXPATHLEN.
10325 2000-03-10 Martin Buchholz <martin@xemacs.org>
10327 * emacs.c: Add reinit_vars_of_fileio.
10328 * symsinit.h: Add reinit_vars_of_fileio.
10329 * fileio.c (reinit_vars_of_fileio): New.
10330 * fileio.c (Fmake_temp_name):
10331 Initialize temp_name random number from microseconds to make
10332 collisions even less likely. Initialize always at process startup
10333 time. (make-temp-name) used to return the same file name twice in
10335 Random stylistic fiddling.
10338 2000-03-20 Andy Piper <andy@xemacs.org>
10340 * glyphs.c (image_instantiate): allow text glyphs to be
10341 instantiated in the minibuffer window.
10343 2000-03-19 Andy Piper <andy@xemacs.org>
10345 * glyphs.c (image_instance_hash): be careful about which items we
10348 * glyphs-widget.c (tab_control_set_property): record into pending
10349 items rather than the actual items.
10351 * glyphs-x.c (x_update_widget): use pending items to update with.
10353 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10356 * glyphs.c (mark_image_instance): mark pending items.
10358 * window.c (Fset_window_configuration): record the buffer.
10359 (Fselect_window): totally revert previous change which breaks many
10362 2000-03-18 Andy Piper <andy@xemacs.org>
10364 * glyphs-msw.c (mswindows_tab_control_update): force selected
10367 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10368 window domain cache, otherwise we get inconsistencies at
10369 startup. There is something fishy at startup which can lead to the
10370 minibuffer being the selected window when the gutter content is
10373 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10375 (parse_gui_item_tree_children): ditto.
10376 (parse_gui_item_tree_item): ditto.
10378 * glyphs.c (Fupdate_widget_instances): return something.
10380 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10382 * window.c (Fselect_window): Undo 2000-03-17 change.
10384 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10386 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10387 against v7.0 libraries. Insta-coredump city until the postgres
10390 2000-03-17 Andy Piper <andy@xemacs.org>
10392 * faces.c (complex_vars_of_faces): don't give the widget face an
10393 inherited background pixmap.
10395 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10398 * event-stream.c (Fdispatch_non_command_events): return something.
10400 * gutter.c (output_gutter): use widget face.
10401 (clear_gutter): ditto.
10403 * NEWS: adjust again.
10405 * window.c (Fselect_window): make sure this runs to completion to
10406 avoid oddities with Fset_window_configuration.
10407 (Fcurrent_window_configuration): in general do not save the
10408 minibuffer as the selected window.
10410 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10412 2000-03-16 Olivier Galibert <galibert@pobox.com>
10414 * emacs.c (Frunning_temacs_p): Revert previous patch.
10415 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10417 2000-03-16 Andy Piper <andy@xemacs.org>
10419 * glyphs-x.c (x_tab_control_update): if no widget values then
10422 * NEWS: update for new features.
10424 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10425 synthetic event to the native system.
10426 (reinit_vars_of_event_Xt): set force_event_pending to
10427 emacs_Xt_force_event_pending.
10429 * events.h (struct event_stream): add force_event_pending.
10431 * specifier.c (recompute_one_cached_specifier_in_window): add
10434 * redisplay.c (redisplay_frame): don't call
10435 update_frame_subwindows. Reset subwindow cachels when
10436 subwindows_changed, removing this was an optimization too far.
10438 * redisplay-output.c (compare_runes): reorganize so that we catch
10439 glyph changes when we want them. Set optimize_output when this
10440 would help layouts.
10441 (redisplay_output_layout): remove frame_really_changed, use
10442 optimize_output instead.
10444 * redisplay-msw.c (mswindows_output_display_block): reset
10445 optimize_output after outputting a glyph.
10446 * redisplay-x.c (x_output_display_block): ditto.
10447 * redisplay-tty.c (tty_output_display_block): ditto.
10449 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10451 (gutter_specs_changed): do specific gutter positions.
10452 (top_gutter_specs_changed): new function. Only update the
10453 specified gutter specs.
10454 (bottom_gutter_specs_changed): ditto.
10455 (left_gutter_specs_changed): ditto.
10456 (right_gutter_specs_changed): ditto.
10458 * gui.c (gui_item_hash_internal): new function, does a real hash.
10459 (gui_item_id_hash): use it.
10460 (gui_item_hash): hash the eval'ed gui_item.
10462 * gui-x.c (popup_selection_callback): send an eval event to call
10463 Fupdate_widget_instances.
10465 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10466 to call Fupdate_widget_instances.
10468 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10469 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10471 * glyphs.c: (update_frame_subwindows): deleted.
10472 (Fupdate_widget_instances): new function for updating the dirty
10473 state of widgets that might have changed.
10474 (syms_of_glyphs): add Qupdate_widget_instances.
10475 (full_list_hash): hash a list completely.
10476 (image_instance_hash): use it for items and properties.
10478 * frame-msw.c (mswindows_size_frame_internal): remove unused
10481 * faces.h (struct face_cachel): fix comment.
10483 * event-stream.c (Fdispatch_non_command_events): new
10484 function. Process non-command events, forcing an event cycle
10486 (syms_of_event_stream): declare.
10487 (event_stream_force_event_pending): new function. Force an event
10488 on the native event queue so that an event cycle will occur next
10492 (struct ntpipe_shove_stream):
10493 (mswindows_enqueue_dispatch_event):
10494 (mswindows_dequeue_dispatch_event):
10495 (mswindows_cancel_dispatch_event):
10496 (mswindows_pump_outstanding_events):
10497 (mswindows_drain_windows_queue):
10498 (mswindows_handle_paint):
10499 (mswindows_wnd_proc):
10500 (mswindows_key_to_emacs_keysym):
10501 (get_process_input_waitable):
10502 (emacs_mswindows_delete_stream_pair): re-indent file.
10503 (mswindows_need_event): do not process further fds if the windows
10504 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10505 fixes the 100% cpu problem.
10506 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10508 2000-03-15 Olivier Galibert <galibert@pobox.com>
10514 * emacs.c: Moved dump file searching to dumper.c.
10515 (Frunning_temacs_p): Fixed.
10517 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10518 last_lrecord_type_index_assigned.
10520 2000-02-20 Olivier Galibert <galibert@pobox.com>
10522 * symsinit.h: Added reinit parameter to init_console_stream
10525 * lisp.h: Added file parameter to pdump_load declaration.
10527 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10528 support. Added dump file searching.
10530 * config.h.in: Added EMACS_PROGNAME.
10532 * console-stream.c (init_console_stream): Fix reinitialisation
10533 when running from temacs.
10535 * alloc.c (pdump): Add id support.
10536 (pdump_load): Add file parameter and signature/id support.
10538 * Makefile.in.in: Add full pdump support.
10540 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10542 * postgresql.c: Update documentation to reflect latest code
10544 (print_result): Show tuple counts in printed representation when
10546 (Fpq_put_nbytes): MULE-ize.
10547 (Fpq_get_line_async): Ditto.
10549 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10551 * postgresql.c (Fpq_lo_import): Fix return value.
10552 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10554 2000-03-13 Ben Wing <ben@xemacs.org>
10556 * alloc.c (pdump_load):
10557 Fix compile warning under mswin.
10559 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10561 * postgresql.c: Mule-ization, bug fixes.
10562 Use PG_CODING to encapsulate coding system name changes.
10563 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10564 (pg-coding-system): Create.
10566 (Fpq_conn_defaults): Mule-ize.
10567 (Fpq_connectdb): Mule-ize & bug fix.
10568 (Fpq_connect_start): Mule-ize.
10569 (Fpq_set_client_encoding): Mule-ize.
10570 (Fpq_finish): Document `DEAD' connection status.
10571 (Fpq_clear): Ditto.
10572 (Fpq_pgconn): Mule-ize.
10573 (Fpq_exec): Mule-ize & bug fix.
10574 (Fpq_send_query): Ditto.
10575 (Fpq_get_result): Ditto.
10576 (Fpq_res_status): Mule-ize.
10577 (Fpq_result_error_message): Mule-ize.
10578 (Fpq_ntuples): fix comments.
10579 (Fpq_fname): Mule-ize.
10580 (Fpq_fnumber): Mule-ize.
10581 (Fpq_ftype): fix comments.
10582 (Fpq_get_value): Mule-ize.
10583 (Fpq_cmd_status): Ditto.
10584 (Fpq_cmd_tuples): Ditto.
10585 (Fpq_oid_value): Ditto.
10586 (Fpq_notifies): Ditto.
10587 (Fpq_lo_import): Ditto.
10588 (Fpq_lo_export): Ditto.
10589 (Fpq_get_line): Ditto.
10590 (Fpq_put_line): Mule-ize and bug fix.
10591 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10593 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10595 * postgresql.c (vars_of_postgresql): Mule-ize.
10596 (Fpq_conn_defaults): Ditto.
10598 2000-03-12 Ben Wing <ben@xemacs.org>
10600 * alloc.c (Fmake_byte_code):
10601 * alloc.c (debug_string_purity_print):
10602 * alloc.c (pdump_backtrace):
10603 * alloc.c (pdump_get_indirect_count):
10604 * alloc.c (pdump_register_sub):
10605 * alloc.c (pdump_register_object):
10606 * alloc.c (pdump_register_struct):
10607 * alloc.c (pdump_dump_data):
10608 * alloc.c (pdump_reloc_one):
10612 * console-msw.c (GetConsoleHwnd):
10613 * console-msw.c (msw_hide_console):
10614 * console-msw.c (msw_show_console):
10615 * console-msw.c (msw_ensure_console_buffered):
10616 * console-msw.c (msw_output_console_string):
10617 * console-msw.c (console_type_create_mswindows):
10619 a) Added functions to manipulate the console window for use with
10622 b) Added support for writing text to the console, which is now
10623 used under Windows when xemacs is not being run non-interactively,
10624 to write text that would otherwise be destined for stdout because
10625 under these circumstances, text written to stdout tends to
10626 disappear and not be seen.
10630 * event-Xt.c (x_event_to_emacs_event):
10631 * event-Xt.c (describe_event_window):
10632 * events-mod.h (XEMACS_MOD_CONTROL):
10634 * events.c (Fmake_event):
10635 * events.c (character_to_event):
10636 * events.c (event_to_character):
10637 * events.c (format_event_object):
10638 * events.c (Fevent_modifiers):
10640 * events.h (struct key_data):
10641 * events.h (struct button_data):
10642 * events.h (struct misc_user_data):
10643 * frame-x.c (Fcde_start_drag_internal):
10644 * frame-x.c (Foffix_start_drag_internal):
10645 * gpmevent.c (Freceive_gpm_event):
10647 * keymap.c (bucky_sym_to_bucky_bit):
10648 * keymap.c (control_meta_superify):
10649 * keymap.c (make_key_description):
10650 * keymap.c (keymap_lookup_directly):
10651 * keymap.c (create_bucky_submap):
10652 * keymap.c (keymap_store):
10653 * keymap.c (define_key_check_and_coerce_keysym):
10654 * keymap.c (define_key_parser):
10655 * keymap.c (define_key_alternate_name):
10656 * keymap.c (Fdefine_key):
10657 * keymap.c (raw_lookup_key_mapper):
10658 * keymap.c (struct map_keymap_unsorted_closure):
10659 * keymap.c (map_keymap_unsorted_mapper):
10660 * keymap.c (map_keymap_sort_predicate):
10661 * keymap.c (map_keymap_sorted):
10662 * keymap.c (accessible_keymaps_mapper_1):
10663 * keymap.c (where_is_recursive_mapper):
10664 * keymap.c (describe_map_mapper):
10665 * keymap.c (describe_map_sort_predicate):
10666 * keymap.c (describe_map):
10667 * keymap.c (complex_vars_of_keymap):
10668 And a number of other files, the key modifier preprocessor
10669 constants that xemacs uses have names that conflict with constants
10670 defined under MS Windows for other purposes, so they were renamed
10671 to begin with the prefix XEMACS_. The variables that hold such
10672 modifiers were changed to consistently be of type int to fix
10673 various compile warnings.
10675 * console.c (complex_vars_of_console):
10678 * device-msw.c (mswindows_finish_init_device):
10679 * device-msw.c (msw_get_workspace_coords):
10680 * device-msw.c (mswindows_device_system_metrics):
10681 and various other files, added support for a new
10682 device property called offset-workspace which returns the position
10683 of the upper left corner of the workspace area and goes along with
10684 the existing size-workspace property.
10687 * dialog-msw.c (push_bufbyte_string_as_unicode):
10688 * dialog-msw.c (mswindows_popup_dialog_box):
10689 Added support for XEmacs-style accelerator specifications in
10690 button text. Note: I didn't add support for this under X Windows,
10691 and somebody needs to do this.
10694 * dialog.c (Fpopup_dialog_box):
10695 Documented the support for accelerators that was just mentioned.
10697 editfns.c (get_home_directory): Changed behavior under Windows
10698 when HOME not defined; former behavior was irretrievably broken.
10701 * emacs.c (main_1):
10703 * minibuf.c (clear_echo_area_internal):
10704 * minibuf.c (echo_area_append):
10706 * print.c (std_handle_out_external):
10707 * print.c (std_handle_out_va):
10709 * print.c (write_string_to_stdio_stream):
10710 * print.c (output_string):
10711 * print.c (debug_print):
10712 * print.c (debug_backtrace):
10713 * print.c (debug_short_backtrace):
10714 Cleaned up the code that prints text to stdout so that this can be
10715 changed to output into a console window instead under MS Windows,
10716 as described above.
10719 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10720 * eval.c (internal_catch):
10721 * eval.c (unwind_to_catch):
10722 * eval.c (throw_or_bomb_out):
10723 * eval.c (condition_case_1):
10724 * eval.c (signal_1):
10725 * eval.c (check_error_state_sanity):
10726 * eval.c (call_with_suspended_errors_1):
10727 * eval.c (call_with_suspended_errors):
10728 * eval.c (reinit_vars_of_eval):
10729 Added code to catch throw loops and check for a pesky bug that may
10733 * event-msw.c (key_needs_default_processing_p):
10734 * event-msw.c (mswindows_wnd_proc):
10735 * event-msw.c (mswindows_modifier_state):
10736 * event-msw.c (emacs_mswindows_quit_p):
10737 * event-msw.c (vars_of_event_mswindows):
10738 a) Added support for using the alt key to select menu items as is
10739 standard under MS Windows. This is controlled using the variable
10740 menu-accelerator-enabled, just like under X Windows. There is an
10741 option on the options menu to turn this support on. I really
10742 think that it should be on by default under Windows, but I'm not
10743 going to make this change yet.
10745 b) Added support for dynamic display size changes under Windows.
10748 * event-stream.c (maybe_echo_keys):
10749 * event-stream.c (Fnext_event):
10750 * event-stream.c (command_builder_find_leaf):
10751 * event-stream.c (lookup_command_event):
10752 * event-stream.c (execute_command_event):
10753 * event-stream.c (pre_command_hook):
10754 * event-stream.c (post_command_hook):
10755 * event-stream.c (syms_of_event_stream):
10756 * event-stream.c (vars_of_event_stream):
10757 * event-stream.c (complex_vars_of_event_stream):
10758 * events.h (struct command_builder):
10760 a) Tried to clean up a little bit the horribly written x-specific
10761 accelerator code that crept into this file. I moved this code
10762 into menubar-x.c where it belongs. I also needed to move the
10763 command builder structure into the file events.h because it is
10764 accessed directly by this accelerator code. What I didn't do, but
10765 which should be done at some point, is to properly abstract this
10766 code using device methods instead of the kludgy way that it
10767 currently hooks into the event code.
10769 b) Added the lisp variables this-command-properties and
10770 last-command- properties, which should be used to synchronize two
10771 adjacent commands in preference to playing games with the variable
10772 this-command, which is typically what happens.
10774 c) Added some slightly nasty code to hook into the lisp support
10775 for shifted- motion-key selection. This is actually necessary for
10776 somewhat complicated reasons, which are described in
10777 simple.el. (NB: I think the proper thing would be to have the code
10778 that calls the pre and post command hooks also call out to generic
10779 lisp functions in simple.el, where all built-in stuff could be
10780 added. I will think about this more.)
10782 * event-unixoid.c (poll_fds_for_input):
10783 * lread.c (readchar):
10784 * redisplay-tty.c (tty_clear_frame):
10785 * redisplay-x.c (x_get_gc):
10786 * signal.c (interrupt_signal):
10787 And a whole bunch of other files: fixed up places that printed
10788 directly to stderr to instead call the function stderr_out so that
10789 the changes I made under Windows work correctly.
10791 * filemode.c (mode_string):
10795 * frame-msw.c (mswindows_size_frame_internal):
10796 Fixed the computation of frame size and position to keep the frame
10797 within the workspace area, rather than within the physical
10798 dimensions of the screen, so that the frame doesn't overlap window
10799 manager decorations, such as the start menu and toolbar, typically
10800 at the bottom of the screen.
10802 * frame.c (vars_of_frame):
10803 Changed the default frame title format under MS Windows to consist
10804 of buffername-XEmacs, which is standard under MS Windows. I think
10805 it might be a good idea to change this everywhere because I think
10806 it is superior to the current frame title format, but this is the
10807 kind of change that is likely to cause some people to get annoyed,
10808 so I'm not making it.
10810 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10812 * gui-msw.c (mswindows_handle_gui_wm_command):
10813 Fixed compile warnings.
10816 * gui-x.c (strdup_and_add_accel):
10817 * gui-x.c (button_item_to_widget_value):
10819 Added code to automatically put an accelerator onto the beginning
10820 of menu items that don't have one as is now the standard, and is
10821 described more later. Also fixed things so that the menu item
10822 name can be an evaluated expression, again a new standard.
10825 * gui.c (gui_item_add_keyval_pair):
10826 * gui.c (make_gui_item_from_keywords_internal):
10827 * gui.c (gui_add_item_keywords_to_plist):
10828 * gui.c (gui_item_accelerator):
10829 * gui.c (gui_name_accelerator):
10830 * gui.c (gui_item_included_p):
10831 * gui.c (gui_item_display_flush_left):
10832 * gui.c (gui_item_display_flush_right):
10833 * gui.c (parse_gui_item_tree_item):
10834 * gui.c (parse_gui_item_tree_children):
10835 * gui.c (parse_gui_item_tree_list):
10836 Mule-ized. Cleanup. GCPRO addition.
10838 * line-number.c (buffer_line_number):
10840 * lisp.h (EMACS_INT_MAX):
10841 Added the manifest constant EMACS_INT_MIN corresponding to the
10842 existing constant EMACS_INT_MAX. This is partially to fix compile
10843 warnings under Windows, and partly for cleanliness.
10846 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10847 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10848 * menubar-msw.c (displayable_menu_item):
10849 * menubar-msw.c (populate_menu_add_item):
10850 * menubar-msw.c (populate_or_checksum_helper):
10851 * menubar-msw.c (populate_menu):
10852 * menubar-msw.c (update_frame_menubar_maybe):
10853 * menubar-msw.c (prune_menubar):
10854 * menubar-msw.c (msw_char_is_accelerator):
10855 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10856 * menubar-msw.c (mswindows_handle_wm_command):
10857 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10858 * menubar-msw.c (mswindows_handle_wm_initmenu):
10859 * menubar-msw.c (mswindows_update_frame_menubars):
10860 * menubar-msw.c (mswindows_free_frame_menubars):
10861 * menubar-msw.c (mswindows_popup_menu):
10862 Fixed a bug in handling accelerators where an extra character
10863 would be displayed in the menu item. Also generalized the
10864 function displayable_menu_item because it is now used by the
10865 dialog box code as well. And finally, added code in the functions
10866 that create the menubar to extract a list of accelerators for the
10867 top level menubar, which is used in the event code to determine
10868 whether a particular alt-key combination should be used to invoke
10869 a menu item, or should be passed through to access the standard
10870 XEmacs keymap binding for this key combination.
10872 Much needed GCPROing.
10875 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10876 * menubar-x.c (menu_item_descriptor_to_widget_value):
10877 * menubar-x.c (restore_in_menu_callback):
10878 * menubar-x.c (x_popup_menu):
10879 * menubar-x.c (menu_move_up):
10880 * menubar-x.c (menu_move_down):
10881 * menubar-x.c (menu_move_left):
10882 * menubar-x.c (menu_move_right):
10883 * menubar-x.c (menu_select_item):
10884 * menubar-x.c (command_builder_operate_menu_accelerator):
10885 * menubar-x.c (menu_accelerator_junk_on_error):
10886 * menubar-x.c (command_builder_find_menu_accelerator):
10887 * menubar-x.c (Faccelerate_menu):
10889 Moved a whole bunch of code here that was previously in
10890 event-stream.c as described above. There is also code connected
10891 to the new standard of adding an accelerator to the beginning of
10892 menu items that don't have one as described above and below.
10895 * menubar.c (menu_parse_submenu_keywords):
10896 * menubar.c (Fmenu_find_real_submenu):
10897 * menubar.c (Fnormalize_menu_item_name):
10898 * menubar.c (syms_of_menubar):
10899 * menubar.c (vars_of_menubar):
10900 * menubar.c (complex_vars_of_menubar):
10902 a) Cleaned up a bunch of documentation and improved it.
10904 b) XEmacs now automatically adds an accelerator onto the beginning
10905 of any menu items that don't have one. I did this because there
10906 will inevitably be some menu items on the main menubar that don't
10907 have accelerators on them because the package that adds that
10908 particular menu item hasn't yet been fixed up to have accelerators
10909 in them and it looked rather strange to have some items with and
10910 some items without accelerators, especially since even in items
10911 without accelerators, you can, at least under windows, still
10912 access the item through an accelerator corresponding to the first
10913 character in the item's name. If people don't like this behavior,
10914 I can add a variable to turn it off optionally, but I'm not sure
10915 this is a good idea because we really do need to have accelerators
10916 on all of the menu items, and if a package doesn't like the
10917 accelerators being put on the first character, then it should put
10918 the accelerators where they belong.
10920 c) I made a behavior change, which is that the descriptor that
10921 specifies the text of the menu item, which formerly was just a
10922 string, can now also be an evaluated expression. This makes this
10923 descriptor parallel with all of the others, which could also be
10924 evaluated expressions. This also obviates the need for the
10925 keyword :label, which was previously listed in the documentation
10926 as unimplemented, and which was for the same purpose.
10931 * ntproc.c (new_child):
10932 * ntproc.c (sys_spawnve):
10933 * ntproc.c (find_child_console):
10934 * ntproc.c (sys_kill):
10935 Fixed compile warnings. By the way, this file should really go
10936 away entirely, and this will happen as soon as Kirill makes his
10937 final round of process cleanups, which affect the function
10941 * process-nt.c (struct nt_process_data):
10942 * process-nt.c (find_process_from_pid):
10943 * process-nt.c (send_signal_the_nt_way):
10944 * process-nt.c (enable_child_signals):
10945 * process-nt.c (find_child_console):
10946 * process-nt.c (send_signal_the_95_way):
10947 * process-nt.c (nt_finalize_process_data):
10948 * process-nt.c (ensure_console_window_exists):
10949 * process-nt.c (nt_create_process):
10950 * process-nt.c (nt_kill_child_process):
10951 * process-nt.c (nt_kill_process_by_pid):
10952 * process-nt.c (nt_open_network_stream):
10953 * process-nt.c (vars_of_process_nt):
10954 Copied over code from Emacs 20.5 to correctly send signals to sub-
10955 processes under Windows 95. Also added code to automatically
10956 create and hide console window when a sub-process is created under
10957 Windows 95, which obviates the need for the separate runemacs.exe
10958 executable, and finally implemented some variables that were
10959 implemented in Emacs 20.5, but previously not in XEmacs. These
10960 include mswindows- start-process-share-console and
10961 mswindows-start-process-inherit-error-mode. (Both of these only
10962 apply to Windows 95.)
10964 * regex.c (regex_compile): Fixed a compile warning.
10967 * select-msw.c (mswindows_own_selection):
10968 * select-msw.c (mswindows_get_foreign_selection):
10969 * select-msw.c (mswindows_disown_selection):
10970 * select-msw.c (console_type_create_select_mswindows):
10971 * select-msw.c (syms_of_select_mswindows):
10972 Cleaned up the file and implemented the device method
10973 selection_exists_p, which had accidentally been left out. Also
10974 removed four lisp functions that were remnants from before the
10975 time when the selection code was properly device abstracted.
10976 These functions are no longer needed because there are generic
10977 equivalents, and because they were added recently and don't exist
10978 in FSF Emacs, I don't think there's any problem with just deleting
10982 * sysdep.c (sys_subshell):
10983 Fixed a compile warning, although in this case there's probably
10984 something wrong with this code, and it ought to be looked into
10985 more thoroughly by somebody who understands it.
10988 * window.c (Fwindow_text_area_height):
10989 * window.c (Fwindow_width):
10990 * window.c (Fwindow_full_width):
10991 * window.c (Fwindow_pixel_width):
10992 * window.c (debug_print_window):
10993 * window.c (syms_of_window):
10994 Added functions window-text-area-height and window-full-width,
10995 which are functions for returning various width and height
10996 characteristics of a window. (One of these functions is necessary
10997 for making the file dialog box work correctly, and the other one
10998 was added for completeness.) Also added a table to the
10999 documentation for window-height which describes the entire scheme
11000 for accessing width and height characteristics of a window.
11002 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11004 * nt.c (fstat): Added a comment for another problem with
11005 non-encapsulated [f]stat(), reported by Adrian Aichner
11006 <aichner@ecf.teradyne.com>.
11008 2000-03-11 Andy Piper <andy@xemacs.org>
11010 * window.c (make_dummy_parent): initialize subwindow instance
11012 (Fset_window_configuration): zero extent_modiff.
11014 2000-03-10 Andy Piper <andy@xemacs.org>
11016 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
11017 more changes can be triggered.
11018 (Fredisplay_frame): ditto.
11019 (Fredraw_device): ditto.
11020 (Fredisplay_device): ditto.
11021 (redisplay_frame): make non-static.
11022 (redisplay_frame): call update_frame_gutter_geometry outside of
11025 * gutter.h: declare update_frame_gutter_geometry.
11027 * redisplay.h: declare redisplay_frame.
11029 * gutter.c (update_frame_gutter_geometry): move geometry changes
11030 in update_frame_gutters here. Geometry changes can only occur
11031 outside of redisplay.
11032 (update_frame_gutters): remove geometry change code.
11033 (Fredisplay_gutter_area): make sure that we are in display when we
11034 update and that we have flushed any size changes.
11036 2000-03-11 Andy Piper <andy@xemacs.org>
11038 * alloc.c (pdump_dump_data): remove i & count shadows.
11040 2000-02-27 Mike Alexander <mta@arbortext.com>
11042 * sysdep.h: Declare pdump_read_file
11044 * sysdep.c (pdump_read_file): New function
11046 * alloc.c (pdump_load): Call pdump_read_file to get the portable
11049 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
11051 * lrecord.h: add `lrecord_type_pgsetenv'.
11053 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
11055 * symsinit.h: declare (vars|syms)_of* functions.
11056 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
11058 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
11060 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
11062 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
11065 * emacs.c (main_1): Call postgres initialization code.
11067 * postgresql.h: New file. PostgreSQL RDBMS support.
11068 * postgresql.c: New file.
11070 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11072 * redisplay-output.c (redisplay_output_display_block): Disable
11075 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11077 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
11078 (Fcanna_henkan_next): Ditto.
11079 (Fcanna_bunsetu_henkou): Ditto.
11080 (Fcanna_henkan_kakutei): Ditto.
11081 (Fcanna_henkan_end): Ditto.
11082 (Fcanna_henkan_quit): Ditto.
11083 (Fcanna_henkan_next): Set retun value correctly.
11084 (c2mu): Use unsigned char instead of signed char.
11086 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11088 * emacs.c (main_1): Always call syms_of_gui.
11089 * inline.c: include gui.h
11091 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11093 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
11094 converted to Lisp_Object.
11095 (Qtop_bottom): New variable.
11096 (syms_of_redisplay): Initialize it.
11097 * redisplay.h (Vvisible_bell): Ditto.
11098 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
11099 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
11100 only flash top and bottom.
11102 2000-03-08 Andy Piper <andy@xemacs.org>
11104 * buffer.c (Frename_buffer): record new buffer name the right way.
11106 2000-03-08 Andy Piper <andy@xemacs.org>
11108 * glyphs.c (update_subwindow): increase hash depth so that widget
11109 items get picked up properly.
11111 * redisplay-output.c (compare_runes): increase hash depth so that
11112 widget items get picked up properly.
11114 2000-03-08 Andy Piper <andy@xemacs.org>
11116 * gutter.c (output_gutter): add some debug.
11118 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
11119 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
11120 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
11122 * redisplay-output.c (compare_runes): use display_hash to
11123 determine if glyphs really are not the same.
11125 * glyphs.c (update_subwindow): check display_hash to see if
11126 anything really needs to be updated. If not then do
11127 nothing. Record the display_hash after updating.
11128 (image_instance_equal): compare the image_instance face also.
11130 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
11132 * redisplay.h: Fix comment style.
11134 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
11136 * consle-msw.h (struct mswindows_frame):
11137 Added new member paint_pending to indicate whether a WM_PAINT
11138 magic event has been queued for this frame.
11140 * event-msw.c (mswindows_drain_windows_queue):
11141 Don't queue a WM_PAINT magic event if one is already queued.
11142 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
11144 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
11146 2000-03-07 Didier Verna <didier@xemacs.org>
11148 * dired.c: #include `regex.h' after `sysfile.h'.
11150 2000-03-06 Martin Buchholz <martin@xemacs.org>
11152 * sound.c (init_nas_sound): Fix compiler warning.
11154 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
11156 (MARK_STRUCT_AS_FREE):
11157 (MARK_STRUCT_AS_NOT_FREE):
11158 Make `gcc -fstrict-aliasing' work properly.
11160 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
11162 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
11163 (mswindows_delete_device): Call CoUnnitialize().
11165 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
11167 2000-02-25 <CraigL@DyCon.com>
11169 * process-nt.c: MinGW now has <shellapi.h>, but still needs
11172 * sysdep.c: This extern declaration for environ prevents MinGW
11173 from finding the variable in CRTDLL.DLL.
11175 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
11177 (SHGFI_EXETYPE): ..
11178 (WM_MOUSEWHEEL): ..
11179 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
11181 (MMRESULT): Removed, now defined in cygwin's windows headers.
11183 (uid_t,gid_t,pid_t,ssize_t): ..
11184 (_timeb): Removed, MinGW defines both _timeb and timeb.
11185 (HAVE_H_ERRNO): Added.
11186 (HAVE_TZNAME): Added, configure is not detecting this.
11188 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
11190 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
11191 * syntax.c (syntax_match): Use it.
11193 * cmds.c: Import auto-fill-chars from FSF Emacs.
11194 (Vauto_fill_chars): New variables.
11195 (internal_self_insert): Check Vauto_fill_chars.
11197 Declare auto-fill-chars as a Lisp variable and initialize it.
11199 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11201 * fileio.c (Fmake_symbolic_link):
11203 Run handlers even if local machine doesn't have symlinks.
11205 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11207 * event-msw.c (mswindows_drain_windows_queue):
11208 Don't generate paint magic events for non-XEmacs frames.
11210 2000-03-05 Andy Piper <andy@xemacs.org>
11212 * redisplay.c (redisplay_frame): generate_displayable_area and
11213 friends assumes that we are not in GC, we therefore have to make
11214 sure that this doesn't happen.
11216 * gutter.c (calculate_gutter_size): generate_displayable_area
11217 assumes that we are not in GC, we therefore have to make sure that
11218 this doesn't happen.
11220 2000-03-05 Martin Buchholz <martin@xemacs.org>
11222 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
11224 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
11226 * redisplay.c (regenerate_window): Make sure we set a sane value
11227 for end_pos even if we jump out of the loop.
11228 (regenerate_window): Answer Ben's question :-).
11229 (start_end_of_last_line): Add may_error argument.
11230 (start_of_last_line):
11231 (end_of_last_line): Pass may_error = 0.
11232 (end_of_last_line_may_error): New function.
11233 (pixel_to_glyph_translation): Use it, so we don't crash in
11236 2000-03-04 Andy Piper <andy@xemacs.org>
11238 * window.h (struct window): add gutter_extent_modiff.
11240 * window.c (allocate_window): zero out gutter_extent_modiff.
11242 * redisplay.h: declare sync_display_line_structs.
11244 * redisplay.c (add_glyph_rune): add a better comment.
11246 * redisplay-output.c (sync_display_line_structs): made non-static.
11247 (compare_runes): remove unneccesary glyph cachel access.
11249 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
11251 * gutter.c (output_gutter): don't output the gutter if extent
11252 changes only involve extents in buffers. use 4 sets of display
11254 (gutter_extent_signal_changed_region_maybe): new function. Mark
11255 extents in gutters as changed.
11256 (update_frame_gutters): use 4 sets of display lines.
11257 (reset_gutter_display_lines): ditto.
11258 (free_frame_gutters): ditto.
11259 (redraw_exposed_gutter): force output of gutters.
11261 * frame.h (struct frame): add 4 sets of gutter display lines.
11263 * extents.c: (extent_changed_for_redisplay): signal changes to
11264 extents in strings in the gutter as well as extents in buffers.
11266 2000-03-02 Andy Piper <andy@xemacs.org>
11268 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
11270 * frame.c (Fmake_frame): make sure the gutters get initialized
11271 after the frame is visible.
11272 (set_frame_selected_window): re-arrange compilation macros a
11274 (change_frame_size_1): mark gutters changed.
11276 * device.c (Fset_device_class): mark gutters changed.
11278 2000-03-01 Andy Piper <andy@xemacs.org>
11280 * window.c (window_top_frame_gutter_height): deleted.
11281 (window_bottom_frame_gutter_height): ditto.
11282 (window_left_frame_gutter_height): ditto.
11283 (window_right_frame_gutter_height): ditto.
11284 (window_top_gutter_height): don't use them.
11285 (window_bottom_gutter_height): ditto.
11286 (window_left_gutter_width): ditto.
11287 (window_right_gutter_width): ditto.
11288 (Fsplit_window): ditto.
11289 (Fwindow_pixel_edges): don't use border dimensions here.
11291 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
11292 (update_scrollbar_instance): ditto.
11294 * redisplay.c (generate_modeline): don't take gutters into account.
11295 (generate_modeline): ditto.
11296 (redisplay_frame): small gutter display optimization.
11298 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
11300 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
11301 gutters into account.
11303 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
11304 for window position and type.
11306 * gutter.c (get_gutter_coords): fix for frame gutters.
11307 (update_frame_gutters): update frame geometry if the gutters have
11309 (init_frame_gutters): record current gutter geometries.
11311 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
11313 (mswindows_widget_instantiate): ditto.
11315 * frame.h (struct frame): add current_gutter_bounds.
11317 * frame.c (change_frame_size_1): position window and minibuffer
11318 appropriately taking into account the frame gutters.
11320 * frame-x.c: (x_initialize_frame_size): take into account the
11323 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11325 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11327 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11329 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11331 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11333 * file-coding.c (reset_decoding_stream): Clear previous
11334 detection state when autodetect.
11336 2000-02-29 Didier Verna <didier@xemacs.org>
11338 * extents.c (set_extent_glyph_1): don't require extents to be
11341 2000-02-27 Andy Piper <andy@xemacs.org>
11343 * gutter.c (Fset_default_gutter_position): don't default left and
11344 right gutter visibility to t.
11345 (Fset_default_gutter_position): run
11346 default-gutter-position-changed-hook.
11347 (syms_of_gutter): add default-gutter-position-changed-hook.
11349 2000-02-26 Andy Piper <andy@xemacs.org>
11351 * specifier.c (Fmake_specifier): add gutter references.
11353 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11355 * lisp.h: declare Fvalid_plist_p.
11357 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11359 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11360 well as its visibility so that it gets reconstructed.
11361 (construct_window_gutter_spec): new function. Construct a string
11362 to be displayed in the gutter from a plist of strings. Take care
11363 to only use elements that are declared as visible.
11364 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11366 (gutter_validate): allow plists of strings in the specifier.
11367 (gutter_specs_changed): construct the real_gutter from the gutter
11368 specs using construct_window_gutter_spec.
11369 (gutter_visible_validate): gutter-visible is a new specifier type.
11370 (Fgutter_visible_specifier_p): new function for the new specifier.
11371 (syms_of_gutter): declare gutter-visible and
11372 Fgutter_visible_specifier_p.
11373 (specifier_type_create_gutter): intitalize new gutter-visible
11375 (reinit_specifier_type_create_gutter): ditto.
11376 (specifier_vars_of_gutter): use new specifier type for gutter
11378 (init_frame_gutters): construct real_gutter correctly.
11379 (Fgutter_specifier_p): beef up documentation.
11380 (Fgutter_size_specifier_p): ditto.
11382 * winslots.h: add real_gutter slots.
11384 2000-02-25 Andy Piper <andy@xemacs.org>
11386 * device-msw.c: Be kind to older cygwin versions. From Raymond
11387 Toy <toy@rtp.ericsson.se>.
11389 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11390 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11392 2000-02-25 Martin Buchholz <martin@xemacs.org>
11394 * elhash.c (MARK_OBJ): Practice macro hygiene.
11396 2000-02-24 Martin Buchholz <martin@xemacs.org>
11398 * miscplay.c: s/__inline__/inline/g;
11399 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11400 (get_device_compdc): INLINE ==> static inline
11401 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11402 find -name '*.h' | \
11403 xargs global-replace \
11404 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11406 2000-02-25 Andy Piper <andy@xemacs.org>
11408 * window.c (window_top_frame_gutter_height): new function.
11409 (window_top_window_gutter_height): ditto.
11410 (window_top_gutter_height): use them.
11411 (window_bottom_frame_gutter_height): new function.
11412 (window_bottom_window_gutter_height): ditto.
11413 (window_bottom_gutter_height): use them.
11414 (window_left_window_gutter_width): new function.
11415 (window_left_frame_gutter_width): ditto.
11416 (window_left_gutter_width): use them.
11417 (window_right_window_gutter_width): new function.
11418 (window_right_frame_gutter_width): ditto.
11419 (window_right_gutter_width): use them.
11420 (window_pixel_height): new function. calulate window pixel height
11421 with frame gutter involvement.
11422 (Fsplit_window): calculate new sizes taking frame gutters into
11424 (window_char_height_to_pixel_height): don't include frame gutters.
11425 (window_char_height): use window_pixel_height.
11426 (window_pixheight): rename from window_pixel_height.
11427 (change_window_height): use it.
11428 (window_pixel_height_to_char_height): don't include frame gutters.
11429 (window_char_width_to_pixel_width): ditto.
11431 2000-02-25 Andy Piper <andy@xemacs.org>
11433 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11436 2000-02-24 Martin Buchholz <martin@xemacs.org>
11438 * alloc.c (staticpro):
11439 (staticpro_nodump):
11444 (compact_string_chars):
11445 (pdump_dump_wired):
11446 Convert: if (foo) abort(); ==> assert (! foo);
11448 * eldap.c (Fldap_search_basic):
11452 Fix compiler warnings, and possible crashes if (random) return
11453 value were to be used.
11455 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11457 * device-msw.c: Workaround ResetDC failure.
11459 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11460 applying a devmode.
11462 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11463 (mswindows_text_width): Do not start printer page.
11465 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11467 * glyphs-msw.c: Added image methods to msprinter console and
11468 msprinter-specific image instantiation.
11470 2000-02-20 Mike Alexander <mta@arbortext.com>
11472 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11473 to avoid crashes when selection-sets-clipboard is on
11474 (mswindows_own_selection): ditto
11476 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11479 * redisplay-msw.c (get_frame_dc):
11480 (get_frame_compdc):
11482 * device-msw.c (mswindows_init_device):
11483 (mswindows_delete_device):
11484 (msprinter_init_device):
11485 (msprinter_delete_device):
11486 * frame-msw.c (mswindows_init_frame_1):
11487 (mswindows_delete_frame):
11488 (msprinter_init_frame_3):
11489 (msprinter_delete_frame): Move compatible DC to device object from
11490 frame object, for both mswindows and msprinter. Only one at a time
11491 is needed, it is a real waste to have one per frame!
11493 2000-02-23 Andy Piper <andy@xemacs.org>
11495 * glyphs.c: add dynamic width and height elements.
11496 (image_instance_equal): ditto.
11498 * glyphs-widget.c (widget_query_geometry): calculate width and
11499 height dynamically if required.
11500 (initialize_widget_image_instance): initialize dynamic dimensions.
11501 (widget_instantiate): pick-up dynamic dimensions.
11503 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11504 dynamic determination. Add appropriate macros.
11506 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11508 (WINDOW_GUTTER_SIZE): ditto.
11509 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11511 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11513 (get_frame_dc): ditto.
11515 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11518 2000-02-23 Martin Buchholz <martin@xemacs.org>
11520 * XEmacs 21.2.31 is released.
11522 2000-02-22 Ben Wing <ben@xemacs.org>
11524 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11526 2000-02-22 Andy Piper <andy@xemacs.org>
11528 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11530 2000-02-21 Mike Sperber <mike@xemacs.org>
11534 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11537 2000-02-21 Mike Sperber <mike@xemacs.org>
11539 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11541 2000-02-21 Martin Buchholz <martin@xemacs.org>
11543 * XEmacs 21.2.30 is released.
11545 2000-02-20 Martin Buchholz <martin@xemacs.org>
11547 Performance hacking.
11549 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11550 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11551 * emacs.c (main_1):
11553 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11554 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11555 * symeval.h (DEFVAR_SYMVAL_FWD):
11556 * symbols.c (guts_of_unbound_marker):
11557 Make all c_readonly objects also lisp_readonly and marked for life.
11558 * lrecord.h (struct lrecord_implementation):
11559 Document flags better.
11560 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11561 * lrecord.h (DECLARE_LRECORD):
11562 * lrecord.h (XSETRECORD):
11563 * lrecord.h (RECORDP):
11564 * lrecord.h (RECORD_TYPEP):
11565 * lrecord.h (RECORD_MARKER): New.
11566 * lrecord.h (error_check_*):
11567 * lrecord.h (CONCHECK_NONRECORD):
11568 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11569 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11570 * lrecord.h (set_lheader_implementation):
11571 * lrecord.h (enum lrecord_type): New.
11572 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11573 * alloc.c (disksave_object_finalization_1):
11574 * alloc.c (mark_object):
11575 * alloc.c (lrecord_type_index):
11576 * alloc.c (tick_lcrecord_stats):
11577 * alloc.c (Fgarbage_collect):
11578 * alloc.c (init_alloc_once_early):
11579 * alloc.c (pdump_load):
11580 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11581 * alloc.c (lrecord_type_index): Delete.
11582 Make lisp object type indexes be constant.
11583 Makes (byte-compile) 5% faster.
11584 Put all marker functions into their own array.
11585 Makes (garbage-collect) 5% faster.
11586 Optimize SYMBOL_VALUE_MAGIC_P.
11587 Makes (byte-compile) 2-3% faster.
11588 * config.h.in (gc_checking_assert): New.
11589 * alloc.c: Use gc_checking_assert().
11590 * .dbxrc: Make compatible with new object type implementation.
11591 * .gdbinit: Make compatible with new object type implementation.
11592 * alloc.c: Delete all symbols defined only for debugging, such as
11593 Lisp_Type_Vector and lrecord_charset.
11595 2000-02-21 Andy Piper <andy@xemacs.org>
11597 * gui-msw.c (Fmswindows_shell_execute): fix file location
11600 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11601 unshowing so that set_window_buffer doesn't undo
11602 kill_buffer_hook's hard work.
11604 * glyphs-widget.c (tab_control_query_geometry): don't count the
11605 first item when calculating geometry.
11607 * glyphs.c (map_subwindow): remove redundant code.
11608 (update_frame_subwindows): be more circumspect about when to
11611 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11612 when items haven't changed. Update faces if faces have changed as
11613 well as just the widget face.
11614 (x_tab_control_update): Update faces if faces have changed as well
11615 as just the widget face.
11617 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11619 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11621 (build_syscolor_string): Use mswindows_color_to_string to try to
11623 (mswindows_device_system_metrics): Reverse the foreground and
11624 background colors so that they match the documentation.
11626 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11627 they match the default Windows palette.
11628 (mswindows_color_to_string): New function.
11630 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11632 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11634 2000-02-18 Olivier Galibert <galibert@pobox.com>
11636 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11637 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11639 * symbols.c (init_symbols_once_early): Removed obsolete
11640 DATA_SEG_BITS related kludge.
11641 (defvar_magic): Ditto.
11643 * malloc.c: Removed obsolete DATA_SEG_BITS
11645 * mem-limits.h: Ditto.
11647 * Makefile.in.in: Removed obsolete HAVE_SHM
11650 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11652 * device-msw.c (mswindows_delete_device): Free DDE string
11655 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11657 * keymap.c (get_keyelt):
11658 * unexnt.c (unexec):
11659 * vm-limit.c (memory_warnings):
11660 * ntheap.c (recreate_heap):
11661 * ntheap.h (UNINIT_PTR):
11662 * select-msw.c (Fmswindows_get_clipboard):
11663 (Fmswindows_set_clipboard):
11664 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11666 * menubar-msw.c (displayable_menu_item):
11668 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11669 * sysdep.c (sys_subshell):
11670 * process-nt.c (nt_create_process):
11671 * nt.c (normalize_filename):
11672 (dostounix_filename):
11673 (unixtodos_filename):
11674 * ntproc.c (win32_executable_type):
11675 * ntplay.c (play_sound_data_1):
11677 * editfns.c (get_home_directory):
11678 * event-msw.c (struct winsock_stream):
11679 (mswindows_dde_callback):
11680 * device-msw.c (msprinter_init_device):
11681 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11683 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11684 mswindows_clear_toolbar were swapped!
11686 * objects-msw.c:(colormap_t):
11688 * emacs.c (struct standard_args): Fixed const jumble.
11690 * glyphs-widget.c (update_widget): Fixed comparison notation.
11692 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11694 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11695 __declspec(noreturn) syntax.
11697 2000-02-19 Martin Buchholz <martin@xemacs.org>
11699 * eldap.c (Fldap_open):
11700 (Fldap_search_basic):
11703 Use new coding system conversion macros.
11705 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11707 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11709 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11711 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11712 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11714 * eldap.c (Qadd, Qreplace): New constant symbols
11715 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11716 interruptions by XEmacs signals
11717 Remove unnecessary calls to slow_down_interrupts and
11718 speed_up_interrupts
11719 (Fldap_search_basic): Renamed from Fldap_search_internal
11720 Added new optional parameter VERBOSE that triggers the
11721 display of progress messages
11722 Remove unnecessary calls to slow_down_interrupts and
11723 speed_up_interrupts
11724 LDAP result code analysis rewritten
11725 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11726 (syms_of_eldap): Define the new symbols and functions
11729 2000-02-17 Martin Buchholz <martin@xemacs.org>
11731 * realpath.c: Determine PATH_MAX maximally portably.
11733 * insdel.c (bytecount_to_charcount): Optimize.
11734 The function used to be optimized for entirely ASCII sequences.
11735 Now it is optimized for successive characters from the same
11736 charset. This also wins big for _mostly_ ASCII sequences.
11738 * fileio.c (Ffile_truename): convert return from realpath() using
11739 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11740 - Rewrite GCPROing slightly.
11742 * sysdep.c (sys_open): Do filename conversion, like all other
11743 sys_* functions. Fixes bug:
11744 (let ((file-name-coding-system 'iso-8859-2))
11745 (write-region x y latin2-name))
11746 ==> writes filename using internal encoding.
11748 2000-02-18 Martin Buchholz <martin@xemacs.org>
11750 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11751 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11752 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11753 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11754 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11755 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11756 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11757 (CONST_IF_NOT_DEBUG): Delete.
11758 * alloc.c (this_one_is_unmarkable): Delete.
11759 (mark_object): Don't check for this_one_is_unmarkable. Use the
11760 c_readonly flag instead.
11761 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11763 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11765 * event-msw.c (mswindows_drain_windows_queue):
11766 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11767 away redundant repaint events.
11769 2000-02-17 Andy Piper <andy@xemacs.org>
11771 * redisplay.h: declare mark_redisplay_structs.
11773 * redisplay.c (redisplay_window):
11774 (redisplay_frame): don't check subwindows_state_changed.
11775 (mark_redisplay): mark gutters here.
11777 * glyphs.c: (instantiate_image_instantiator): always layout if we
11778 haven't done so already.
11779 (allocate_image_instance): don't mark as dirty.
11780 (update_subwindow): bind inhibit_quit.
11782 * gutter.c (mark_gutters): new function.
11784 * glyphs-x.c (x_update_widget): Always resize to get round a
11787 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11788 breaking absolutely everything.
11790 * gutter.h: declare mark_gutters.
11792 2000-02-16 Martin Buchholz <martin@xemacs.org>
11794 * XEmacs 21.2.29 is released.
11796 2000-02-15 Olivier Galibert <galibert@pobox.com>
11798 * fns.c (size_bit_vector): Fix computation of the size.
11800 2000-02-15 Martin Buchholz <martin@xemacs.org>
11802 * *.[ch]: Change CONST to const globally.
11803 find -name '*.[ch]' | \
11804 xargs global-replace \
11805 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11806 - Remove vestigial references to CONST_IS_LOSING
11808 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11810 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11811 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11812 events instead of dispatching them directly.
11813 (mswindows_handle_paint): New function to do repainting.
11814 (mswindows_wnd_proc):
11815 (emacs_mswindows_handle_magic_event): Call above function.
11817 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11819 * objects-msw.c (mswindows_create_font_variant): Return the new
11821 (initialize_font_instance): Get font metrics from the underlined
11822 variant of the font to cope with the case where the underlined
11823 font has a bigger descent.
11825 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11827 * gui.c (gui_item_accelerator): Return the first underlined
11828 character in item name.
11830 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11832 * lisp.h: Added Qprinter.
11834 * general.c (syms_of_general): Initialized it.
11836 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11838 (get_frame_compdc): Made inline.
11840 * console.h (struct console_methods): Added eject_page method.
11842 * frame.h: Added FRAME_DISPLAY_P and friends.
11843 Aligned backslahes in many macros in more readable fashion.
11844 Added page_number to struct frame, and an accessor macro
11847 * defice.h: Added DEVICE_DISPLAY_P and friends.
11849 * device.c (Fdevice_printer_p): Used these.
11851 * frame.c (allocate_frame_core): Initialize page number.
11852 (Fprint_job_page_number):
11853 (Fprint_job_eject_page): Implemented.
11855 * frame-msw.c (msprinter_eject_page): Added method.
11856 (msprinter_start_page): Added.
11858 * window.c (Fwindow_truncated_p): Fixed docstring.
11859 (Fwindow_last_line_visible_height): Implemented.
11861 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11863 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11865 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11867 * syntax.c (scan_words): Always advance at least one character.
11869 2000-02-13 Andy Piper <andy@xemacs.org>
11871 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11872 to make sure the glyph is in the cachels.
11874 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11875 global image instance flag.
11876 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11877 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11879 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11880 (Fset_image_instance_property): mark layout as changed.
11881 (invalidate_glyph_geometry_maybe): mark layout as changed.
11882 (glyph_width): use new NEEDS_LAYOUT macro.
11883 (glyph_ascent): ditto.
11884 (glyph_descent): ditto.
11885 (glyph_height): ditto.
11886 (image_instance_layout): mark layout as clean after laying out.
11887 (update_subwindow): don't mark layout as clean here.
11889 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11890 should no longer be needed.
11892 * glyphs-x.c (x_update_widget): sanitize asserts.
11893 (x_finalize_image_instance): sanitize assignment to widgets.
11895 * glyphs-widget.c (widget_instantiate): don't need to clear the
11898 2000-02-13 Martin Buchholz <martin@xemacs.org>
11900 * sysdep.c (getcwd): Use standard prototype.
11901 * sysdep.h (getcwd): Use standard prototype.
11903 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
11904 (sequence, start, end).
11905 Remove redundant type checking.
11906 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
11907 view of `caller-protects') to avoid a crash where the real fix was
11910 2000-02-12 Martin Buchholz <martin@xemacs.org>
11912 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
11914 * s/sol2.h: Remove feature macro initialization.
11916 * alloc.c (alloc_lcrecord): Add more type checking assertions.
11917 (vector_hash): New. Code from internal_hash.
11919 Fix up allocation subsystem comments.
11921 * config.h.in: Add __EXTENSIONS__ for Solaris.
11923 * systime.h (EMACS_GETTIMEOFDAY): New.
11924 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
11925 Remove Solaris-specific code.
11926 Use void* for the (ignored) second arg for gettimeofday().
11928 * elhash.c (hash_table_hash): Implement it, finally.
11929 * elhash.c: Use hashcode_t.
11931 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
11932 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
11934 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
11935 * fns.c (size_bit_vector):
11936 * alloc.c (size_vector):
11937 (make_vector_internal):
11938 (make_bit_vector_internal):
11939 (sweep_bit_vectors_1):
11940 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
11942 2000-02-10 Martin Buchholz <martin@xemacs.org>
11944 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
11945 Include strings.h to avoid warnings for bzero and strcasecmp.
11947 2000-02-10 Olivier Galibert <galibert@pobox.com>
11949 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
11950 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
11952 * fns.c (size_bit_vector): New. Declare bit vectors as a
11955 2000-02-10 Olivier Galibert <galibert@pobox.com>
11957 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
11958 use a value field instead.
11959 (symbol_value_forward_forward): Use value field.
11960 (DEFVAR_SYMVAL_FWD): Use value field.
11961 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
11962 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
11963 (DEFVAR_CONST_INT): Ditto.
11964 (DEFVAR_BOOL): Ditto.
11965 (DEFVAR_CONST_BOOL): Ditto.
11966 (DEFVAR_INT_MAGIC): Ditto.
11967 (DEFVAR_BOOL_MAGIC): Ditto.
11969 * symbols.c (guts_of_unbound_marker): Use value field.
11970 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
11971 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
11973 * lisp.h: Declare dumpopaque and noninteractive1.
11975 * alloc.c (dumpopaque): Added.
11976 (pdump_dump_opaquevec): Added.
11977 (pdump): Call pdump_dump_opaquevec to dump opaque data.
11978 (pdump_load): Reload opaque data. Sync noninteractive1 with
11981 2000-02-10 Andy Piper <andy@xemacs.org>
11983 * glyphs.c (image_instance_layout): if the size changes, mark it
11986 * redisplay-output.c (redisplay_output_layout): Update the
11988 (redisplay_output_subwindow): ditto.
11990 * glyphs.c (update_subwindow): make sure we reset flags for
11991 layouts as well as everything else.
11993 * glyphs-widget.c (layout_layout): don't need to set the instances
11996 2000-02-09 Martin Buchholz <martin@xemacs.org>
11998 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
11999 not HAVE_DLOPEN, which is a lower-level thing.
12001 * .cvsignore: Ignore gmon.out
12003 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
12005 * .cvsignore: Ignore portable dumper xemacs.dmp file
12007 2000-02-09 Andy Piper <andy@xemacs.org>
12009 * redisplay-output.c (redisplay_output_layout): be more clever
12010 about when we output based on the changed flags.
12012 * glyphs.h (struct image_instantiator_methods): add update_method.
12013 (struct Lisp_Image_Instance): add changed flags. Declare new
12014 macros for manipulating them.
12016 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
12017 (image_instance_parent_glyph): find an image_instance's parent
12018 glyph or image_instance.
12019 (image_instance_layout): mark the size as changed.
12020 (set_image_instance_dirty_p): new function. mark an image
12021 instance, plus all of its parents, as dirty.
12022 (Fset_image_instance_property): use it.
12023 (Fglyph_animated_timeout_handler): use it.
12024 (update_subwindow): call update_widget and device methods for
12025 update_subwindow. Mark all changed flags as clean.
12026 (Fresize_subwindow): mark size as changed.
12028 * glyphs-x.c (x_finalize_image_instance): try and detect gc
12030 (x_update_subwindow): only resize subwindows here.
12031 (x_update_widget): new function. Update all changed properties of
12033 (x_resize_subwindow): deleted.
12034 (x_widget_set_property): deleted.
12035 (x_progress_gauge_set_property): deleted.
12036 (x_progress_gauge_update): new function. Implement recorded
12038 (x_tab_control_update): ditto.
12039 (x_tab_control_set_property): deleted.
12040 (console_type_create_glyphs_x): declare new functions.
12041 (image_instantiator_format_create_glyphs_x): ditto.
12043 * glyphs-widget.c (widget_set_property): mark text changed.
12044 (update_widget): new function. Update properties of a widget.
12045 (widget_instantiate): for layouts make sure we set their
12046 children's parent correctly.
12047 (tab_control_set_property): new function. Record changes that will
12048 take place under redisplay's control.
12049 (progress_gauge_set_property): ditto.
12050 (image_instantiator_progress_guage): declare new functions.
12051 (image_instantiator_tab_control): ditto.
12053 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
12055 (mswindows_update_widget): new function. Update all properties on
12056 a widget that have changed.
12057 (mswindows_button_update): new function. Update a button's set
12059 (mswindows_tab_control_update): new function. Update the items in
12061 (mswindows_tab_control_set_property): deleted.
12062 (mswindows_progress_gauge_update): new function. Update the
12063 progress gauge's progress.
12064 (mswindows_widget_set_property): deleted. This is all done
12065 asynchronously now.
12066 (mswindows_progress_gauge_set_property): ditto.
12067 (console_type_create_glyphs_mswindows): declare new methods.
12068 (image_instantiator_format_create_glyphs_mswindows): ditto.
12070 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
12071 (msprinter_set_frame_properties): ditto.
12073 * console.h (struct console_methods): Add update_widget_method.
12075 2000-02-09 Andy Piper <andy@xemacs.org>
12077 * gui-msw.c (Fmswindows_shell_execute): Make
12078 mswindows-shell-execute industrial strength.
12080 2000-02-08 Martin Buchholz <martin@xemacs.org>
12082 * lrecord.h: Make macro argument `props' match member function `plist'.
12085 * fns.c (Fremprop):
12086 * fns.c (Fobject_plist):
12089 Object property list frobbing cleanup.
12090 - Allow any lisp object (compared with `eq'), not just symbols, as
12091 keys in object plists.
12092 - Move symbol plist frobbing into symbols.c, where it belongs.
12093 - Move string plist frobbing into alloc.c, where it belongs.
12094 - Everything's an lrecord now, so no need to test for symbolp, etc.
12095 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
12097 * extents.c: Reorder code to remove declarations.
12099 * frame.h (store_in_alist): Remove useless declaration.
12101 2000-02-07 Martin Buchholz <martin@xemacs.org>
12103 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
12104 * config.h.in: Add HAVE_XCONVERTCASE.
12106 2000-02-07 Andy Piper <andy@xemacs.org>
12108 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
12109 it breaks many things.
12111 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12113 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
12114 actually can start a common comment type.
12115 * src/syntax.h (SYNTAX_END_P): ditto for end.
12117 2000-02-07 Martin Buchholz <martin@xemacs.org>
12119 * XEmacs 21.2.28 is released.
12121 2000-02-06 Martin Buchholz <martin@xemacs.org>
12123 * event-Xt.c (x_keysym_to_character): New.
12124 (maybe_define_x_key_as_self_inserting_character): New.
12125 (x_has_keysym): New.
12126 Auto-define all keys on the keyboard as self-insert-key.
12128 2000-02-02 Martin Buchholz <martin@xemacs.org>
12130 * menubar.c (vars_of_menubar): A small code simplification.
12132 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
12135 * ExternalClient.c:
12136 * EmacsShell-sub.c:
12139 Use consistent style for specifying X resources.
12141 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
12142 This makes (dontusethis-set-symbol-value-handler) actually usable.
12144 * lrecord.h (lrecord_decription_type):
12145 * alloc.c (pdump_register_sub):
12148 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
12149 Comply with XEmacs coding style.
12150 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
12151 args, and XD_LISP_OBJECT_ARRAY with 3 args.
12153 * keymap.c (Faccessible_keymaps):
12154 Make (accessible-keymaps map "\C-h") do the Right Thing.
12155 Make (accessible-keymaps map []) do the Right Thing.
12156 Make (accessible-keymaps map "") do the Right Thing.
12157 (check_keymap_definition_loop): New function.
12158 (keymap_store_internal): Keep luser from shooting self in foot,
12159 via (define-key ctl-x-4-map "p" global-map).
12160 Remove fullness slot from struct Lisp_Keymap, since hash tables
12162 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
12164 2000-01-30 Martin Buchholz <martin@xemacs.org>
12166 * redisplay.c (init_redisplay): Fix small memory leak.
12168 * elhash.c (pdump_reorganize_hash_table):
12169 Rename from reorganize_hash_table. Change prototype.
12170 Reuse the original memory for hentries. Save 100k.
12171 * alloc.c (PDUMP_READ): new macro.
12172 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
12173 * alloc.c: No need to #ifndef before #undef.
12175 * print.c: Allow debug_print() to print readably by modifying
12176 debug_print_readably. Use consistent variable names.
12178 * .dbxrc: Try to get things to work even if stopped in a function
12179 without source available by explicitly specifying source files.
12180 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12182 * unexnt.c (_start): Removed bogus code which caused loading heap
12183 from differrent executable file.
12184 Removed bogus assignment to _fmode, which caused inconsistencies.
12186 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12188 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
12189 Have spawnve encapsulation regard DONT_ENCAPSULATE.
12190 Do not preliminary `#define signal sigset'.
12192 * systime.h: Do not prototype environ on windows nt and cygwin,
12193 this conflicts with system header.
12195 * syssignal.h: Use correct define for WINDOWSNT
12197 * sysdep.h: Do not prototype environ on windows nt, this conflicts
12198 with system header.
12200 * sysdep.c (near start of file): Fixed commentary and rearranged
12201 ifdefs in readable order.
12202 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
12205 (end_of_data): Do not compile in if using PDUMP.
12207 * symsinit.h: Prototyped vars_of_nt().
12209 * ntproc.c (windows9x_p): Added, instead of os_subtype.
12210 (find_child_console): Use it.
12211 (sys_kill): Use it.
12213 * ntheap.h: Do not extern os_subtype.
12215 * ntheap.c (cache_system_info): Do not cache unneeded:
12216 nt_major_version, nt_minor_version and os_subtype.
12217 (recreate_heap): Do not compile in when PDUMPing.
12219 * nt.c (geteuid and friends): Use the new varibale
12220 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
12221 (init_user_info): Removed the above mentioned hackery.
12222 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
12223 stat has been fixed in the C runtime.
12224 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
12226 * file-coding.c (struct file_coding_dump): Do not define
12227 ucs_to_mule_table in the struct if not MULE.
12228 (struct struct lrecord_description fcd_description_1): Do not dump
12231 * emacs.c (main_1): Call vars_of_nt().
12232 (right before Fdump_emacs_data): Don't need lastfile if using both
12233 portabe dumper and system malloc.
12235 * alloc.c (Fmemory_limit): Conditionalized out.
12236 (pdump): Use OPEN_BINARY for the portable dump file.
12237 (pdump_load): Ditto.
12239 2000-02-02 Mike Alexander <mta@arbortext.com>
12241 * nt.c (convert_time): Set tm_isdst before calling mktime and
12242 avoid calling it at all if the compiler supports 64 bit integers.
12243 Also initialize utc_base_ft before using it.
12245 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
12247 * frame.c (change_frame_size_1): Take f->internal_border_width
12248 into consideration when calculating the width of the frame.
12250 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12252 * window.c (frame_min_height):
12253 (frame_size_valid_p):
12254 (frame_pixsize_valid_p): Added.
12255 (check_frame_size): Generalized.
12257 * window.h: Prototyped the above.
12260 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
12261 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
12262 Deleted Vwin32_* and Vbinary_process_* unused variables.
12264 * device-msw.c (msprinter_init_device): Do not get printer font
12265 list; Added DEVMODE functions.
12267 * frame-msw.c: Added lots of printer code.
12269 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
12272 * console-msw.h: Added more msprinter device private slots.
12274 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12276 * event-msw.c (key_needs_default_processing_p): Added.
12277 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
12279 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12281 * glyphs.c (image_instance_layout): Mark image instance as clean
12283 (glyph_dirty_p): Removed redundant function.
12284 (invalidate_glyph_geometry_maybe): Added.
12285 (update_glyph_cachel_data): Call it.
12287 * glyphs.h: Prototyped it.
12289 * redisplay.c (add_glyph_rune): Call it.
12290 (redisplay_window): Reset glyphs cachels when frame faces have
12291 changed, thus forcing recomputation of built-in border glyphs.
12293 2000-01-30 Martin Buchholz <martin@xemacs.org>
12295 * Makefile.in.in: Make portable dumper and purify play well together.
12296 Add imperfect, but better than nothing, support for pdump.
12297 Remove xemacs.dmp when temacs is re-generated.
12298 Don't ignore errors when dumping xemacs.
12300 * symbols.c (maybe_call_magic_handler): Remove one magic number.
12302 2000-01-28 Andy Piper <andy@xemacs.org>
12304 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
12305 (setup_normal_frame): ditto.
12306 (setup_frame_without_minibuffer): ditto.
12307 (setup_minibuffer_frame): ditto.
12308 (delete_frame_internal): ditto.
12309 (Fmake_frame_invisible): ditto.
12310 (Ficonify_frame): ditto.
12312 * window.h: change Fset_window_buffer signature.
12314 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12315 (Fset_window_buffer): allow recording of buffer if the window is
12316 the selected window.
12317 (window_loop): Use new Fset_window signature.
12319 2000-01-23 Daniel Pittman <daniel@danann.net>
12321 * config.h.in: Added template for `HAVE_ATHENA_3D'
12323 2000-01-29 Andy Piper <andy@xemacs.org>
12325 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12327 * gutter.c (output_gutter): Don't output if the window isn't live.
12329 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12331 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12332 of 01/12/00: Moved SetFocus back here where it belongs.
12334 2000-01-23 Andy Piper <andy@xemacs.org>
12336 * s/cygwin32.h: declare printer things.
12338 2000-01-26 Andy Piper <andy@xemacs.org>
12340 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12343 2000-01-24 Andy Piper <andy@xemacs.org>
12345 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12346 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12348 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12350 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12352 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12354 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12355 (mswindows_output_display_block): Avoid local shadows.
12357 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12358 (mswindows_enqueue_mouse_button_event): ditto.
12359 (mswindows_handle_gui_wm_command): remove declaration.
12361 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12364 * console-msw.h: Avoid shadows.
12365 (mswindows_get_toolbar_button_text):
12366 (emacs_mswindows_create_stream_pair):
12367 (emacs_mswindows_delete_stream_pair):
12368 (mswindows_handle_toolbar_wm_command): declare.
12370 * device-msw.c (build_syscolor_string): Avoid shadows.
12372 2000-01-23 Andy Piper <andy@xemacs.org>
12374 * glyphs-widget.c (widget_instantiate): reverse the items for
12375 layouts so that children are in the expected order.
12377 2000-01-28 Martin Buchholz <martin@xemacs.org>
12379 * ralloc.c: safe_bcopy ==> memmove
12380 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12381 * s/msdos.h: Remove BCOPY macros.
12382 * insdel.c (gap_right): Remove BCOPY conditional code.
12383 * insdel.c (gap_left): Remove BCOPY conditional code.
12384 XEmacs demands a working ANSI C compiler - hence memmove.
12386 * regex.c (regex_compile): Remove accidental use of trigraphs.
12388 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12390 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12393 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12395 * event-msw.c (mswindows_drain_windows_queue): Added the
12397 (mswindows_need_event): Commented the call to
12398 mswindows_drain_windows_queue().
12399 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12402 * console-msw.h: Moved a few function prototypes here from
12405 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12406 parameter from unsigned short to unsigned long.
12407 (Fmswindows_shell_execute): Added return value.
12409 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12411 * sysdep.c (init_system_name):
12412 process-unix.c (unix_canonicalized_host_name):
12413 Don't call freeaddrinfo() if getaddrinfo() fails.
12415 * process-unix.c (unix_open_unix_network_stream):
12416 Moved the code to get a port # into address loop.
12418 2000-01-27 Martin Buchholz <martin@xemacs.org>
12420 * buffer.c (reinit_vars_of_buffer):
12421 The right place to initialize conversion_in_dynarr and
12422 conversion_out_dynarr.
12424 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12426 * process-unix.c (unix_canonicalize_host_name): Muleize.
12427 (unix_open_network_stream): Muleize.
12429 * buffer.h: Fix up prototypes for ralloc.c functions.
12431 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12432 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12433 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12434 instead of gethostbyname()
12435 * process-unix.c: In unix_canonicalize_host_name() and
12436 unix_open_network_stream(), add code to use getaddrinfo()
12437 instead of gethostbyname().
12439 2000-01-27 Daniel Pittman <daniel@danann.net>
12441 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12442 libs when built with flat Athena.
12444 2000-01-27 Martin Buchholz <martin@xemacs.org>
12446 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12447 Use coding standards for function prototypes.
12449 2000-01-25 Martin Buchholz <martin@xemacs.org>
12451 * dialog-msw.c (push_lisp_string_as_unicode):
12452 * doc.c (unparesseuxify_doc_string):
12453 * dired.c (Fuser_name_completion_1):
12454 * dired.c (Fuser_name_all_completions):
12455 * dired.c (free_user_cache):
12456 * dired.c (user_name_completion):
12457 * console-x.c (get_display_arg_connection):
12458 * minibuf.c (clear_echo_area_internal):
12459 * minibuf.c (echo_area_append):
12460 * eldap.c (Fldap_open):
12461 * eldap.c (Fldap_search_internal):
12462 * frame-x.c (x_set_frame_text_value):
12463 * frame-x.c (x_set_frame_properties):
12464 * frame-x.c (x_create_widgets):
12465 * redisplay-tty.c (term_get_fkeys_1):
12466 * objects-x.c (x_parse_nearest_color):
12467 * objects-x.c (x_valid_color_name_p):
12468 * objects-x.c (x_initialize_font_instance):
12469 * objects-x.c (x_list_fonts):
12470 * objects-x.c (x_find_charset_font):
12471 * tooltalk.c (Fadd_tooltalk_message_arg):
12472 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12473 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12474 * process-unix.c (unix_create_process):
12475 * ntproc.c (sys_spawnve):
12476 * sound.c (Fplay_sound_file):
12477 * sound.c (Fplay_sound):
12478 * buffer.c (init_initial_directory):
12479 * buffer.c (init_buffer):
12480 * editfns.c (init_editfns):
12481 * editfns.c (Ftemp_directory):
12482 * editfns.c (Fuser_full_name):
12483 * editfns.c (uncache_home_directory):
12484 * editfns.c (get_home_directory):
12485 * editfns.c (Fuser_home_directory):
12486 * editfns.c (Fformat_time_string):
12487 * editfns.c (Fcurrent_time_string):
12488 * gui-x.c (button_item_to_widget_value):
12489 * database.c (Fopen_database):
12490 * event-Xt.c (x_to_emacs_keysym):
12491 * event-Xt.c (x_event_to_emacs_event):
12492 * event-Xt.c (describe_event_window):
12493 * event-msw.c (mswindows_wnd_proc):
12494 * glyphs-eimage.c (jpeg_instantiate):
12495 * glyphs-eimage.c (gif_instantiate):
12496 * glyphs-eimage.c (png_instantiate):
12497 * glyphs-eimage.c (tiff_instantiate):
12498 * glyphs-x.c (xbm_instantiate_1):
12499 * glyphs-x.c (x_xbm_instantiate):
12500 * glyphs-x.c (x_xface_instantiate):
12501 * glyphs-x.c (autodetect_instantiate):
12502 * glyphs-x.c (cursor_font_instantiate):
12503 * glyphs-x.c (x_widget_instantiate):
12504 * glyphs-x.c (x_widget_set_property):
12505 * glyphs-x.c (x_widget_property):
12506 * glyphs-x.c (BUILD_GLYPH_INST):
12507 * print.c (write_string_to_stdio_stream):
12508 * print.c (output_string):
12509 * print.c (Falternate_debugging_output):
12510 * print.c (Fexternal_debugging_output):
12511 * glyphs-msw.c (extract_xpm_color_names):
12512 * glyphs-msw.c (mswindows_xpm_instantiate):
12513 * glyphs-msw.c (bmp_instantiate):
12514 * glyphs-msw.c (resource_name_to_resource):
12515 * glyphs-msw.c (mswindows_resource_instantiate):
12516 * glyphs-msw.c (xbm_instantiate_1):
12517 * glyphs-msw.c (mswindows_xbm_instantiate):
12518 * glyphs-msw.c (mswindows_xface_instantiate):
12519 * glyphs-msw.c (mswindows_widget_instantiate):
12520 * glyphs-msw.c (add_tree_item):
12521 * glyphs-msw.c (add_tab_item):
12522 * glyphs-msw.c (mswindows_combo_box_instantiate):
12523 * glyphs-msw.c (mswindows_widget_property):
12524 * glyphs-msw.c (mswindows_combo_box_property):
12525 * glyphs-msw.c (mswindows_widget_set_property):
12526 * console.c (stuff_buffered_input):
12527 * objects-msw.c (mswindows_initialize_color_instance):
12528 * objects-msw.c (mswindows_valid_color_name_p):
12529 * objects-msw.c (mswindows_list_fonts):
12530 * objects-msw.c (mswindows_font_instance_truename):
12531 * bytecode.c (optimize_compiled_function):
12532 * select-x.c (symbol_to_x_atom):
12533 * select-x.c (x_atom_to_symbol):
12534 * select-x.c (hack_motif_clipboard_selection):
12535 * select-x.c (selection_data_to_lisp_data):
12536 * select-x.c (lisp_data_to_selection_data):
12537 * select-x.c (Fx_get_cutbuffer_internal):
12538 * select-x.c (Fx_store_cutbuffer_internal):
12539 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12540 * buffer.h (TO_INTERNAL_FORMAT): New function.
12541 * emacs.c (make_arg_list_1):
12542 * emacs.c (make_argc_argv):
12543 * emacs.c (main_1):
12544 * emacs.c (Fdump_emacs):
12545 * emacs.c (split_string_by_emchar_1):
12550 * device-x.c (x_init_device):
12551 * device-x.c (Fx_valid_keysym_name_p):
12552 * device-x.c (Fx_get_font_path):
12553 * device-x.c (Fx_set_font_path):
12554 * glyphs.c (bitmap_to_lisp_data):
12555 * glyphs.c (pixmap_to_lisp_data):
12556 * alloc.c (make_ext_string): Use coding system arguments. Update
12558 * alloc.c (build_string):
12559 * callproc.c (child_setup):
12560 * callproc.c (init_callproc):
12561 * fileio.c (lisp_strerror):
12562 * fileio.c (directory_file_name):
12563 * fileio.c (Fexpand_file_name):
12564 * fileio.c (Ffile_truename):
12565 * fileio.c (Fsysnetunam):
12566 * fileio.c (Fdo_auto_save):
12567 * sysdep.c (sys_readdir):
12568 * tests.c: New file. Allow adding C tests.
12569 Replace GET_* macros with a more comprehensible and flexible
12570 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12572 Any coding system can be used to do format conversion.
12573 Eliminate enum external_data_format.
12574 Eliminate convert_to_external_format.
12575 Eliminate convert_to_internal_format.
12576 Make sure file-name, keyboard, terminal, and ctext are always
12577 defined as coding systems or aliases. Make
12578 file-name-coding-system, terminal-coding-system, and
12579 keyboard-coding-system magical variables that are equivalent to
12580 defining the corresponding coding system aliases.
12582 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12583 * file-coding.c (Fcoding_system_alias_p): New function.
12584 * file-coding.c (Fcoding_system_aliasee): New function.
12585 * file-coding.c (append_suffix_to_symbol): New function.
12586 * file-coding.c (dangling_coding_system_alias_p): New function.
12587 * file-coding.c (Ffind_coding_system):
12588 * file-coding.c (Fcopy_coding_system):
12589 * file-coding.c (encode_coding_no_conversion):
12590 * file-coding.c (syms_of_file_coding):
12591 * file-coding.c (vars_of_file_coding):
12592 Rewrite coding system alias code.
12593 Allow nested aliases, like symbolic links.
12594 Allow redefinition of coding system aliases.
12595 Prevent existence of dangling coding system aliases.
12597 * dired.c (Fuser_name_completion_1):
12598 * dired.c (Fuser_name_all_completions):
12599 A crash would happen if user did QUIT in the middle of building
12600 user_name_cache. Remove redundant code in mainline and unwind_protect.
12603 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12605 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12606 an unsigned char *. Update all callers.
12608 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12610 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12612 2000-01-25 Martin Buchholz <martin@xemacs.org>
12614 * elhash.c (hentry_description): Use more portable definition.
12615 (resize_hash_table): Initialize new hentries using
12616 xnew_array_and_zero, thereby simplifying the code.
12618 * mule-charset.c (make_charset): Make sure entire object is
12619 initialized, to avoid Purify warnings.
12621 * alloc.c (resize_string): Fix unlikely crash with big strings.
12623 2000-01-24 Martin Buchholz <martin@xemacs.org>
12625 * realpath.c (xrealpath):
12626 Don't call getwd().
12628 2000-01-25 Martin Buchholz <martin@xemacs.org>
12630 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12632 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12634 * unexelfsgi.c (unexec): Change the way we decide which segment
12635 should be extended.
12637 Assumption that .bss section should be outside the PT_LOADable
12638 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12639 it's present) is inside the 'data' segment. This would fail the
12640 test which was used to find a segment to grow and cover new
12641 heap. Instead of this assumption, I created another one - on IRIX
12642 the segment to grow should start below .bss and it's address
12643 should extent above the end of .bss. Once this segment is
12644 identified, it's grown to accommodate the new heap and new
12645 zero-length .bss section is added at the end of .data2.
12647 2000-01-25 Martin Buchholz <martin@xemacs.org>
12649 * eval.c (Feval): Wrong number of arguments should use original
12650 function, not the indirect_function version of it.
12652 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12654 * glyphs-x.c (x_button_instantiate): Don't add image if
12655 it is not a pixmap.
12656 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12659 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12661 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12663 (DEFVAR_INT_MAGIC): Ditto.
12664 (DEFVAR_BOOL_MAGIC): Ditto.
12665 * glyphs.h: Reindent backslash.
12667 2000-01-24 Martin Buchholz <martin@xemacs.org>
12669 * glyphs-widget.c (layout_query_geometry):
12670 (layout_layout): Use correct types for gheight, gwidth.
12672 2000-01-24 Martin Buchholz <martin@xemacs.org>
12674 * EmacsManager.c (QueryGeometry): Purified.
12676 2000-01-23 Martin Buchholz <martin@xemacs.org>
12678 * alloc.c (make_float): Make sure entire object is initialized, to
12679 avoid Purify warnings.
12680 (pdump_register_sub): Remove useless assignment.
12681 (pdump): Use xmalloc, not malloc.
12682 (pdump_load): Use xmalloc, not malloc.
12684 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12691 * sysdep.c: Removed redundant #include <windows.h>
12693 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12695 * frame.c (delete_frame_internal): Do not delete device when its
12696 implementation so declares.
12697 (delete_frame_internal): Set device selected frame to nil when
12698 last frame goes away.
12700 * device-msw.c (msprinter_device_system_metrics): Implemented.
12701 (mswindows_device_system_metrics): Added 'device-dpi property.
12703 * device.c: (Fdevice_printer_p): Added.
12704 Added 'offset-workspace device metric.
12706 * console.h (device_metrics): Declared DM_offset_workspace.
12708 2000-01-23 Martin Buchholz <martin@xemacs.org>
12710 * fileio.c (Ffile_truename): Remove pointless and confusing
12711 initialization of elen.
12713 * glyphs-widget.c: Compiler warning fixes.
12715 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12717 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12718 instead of a Lisp_Object as argument to make it consistent with
12719 the other LIVE_P macros.
12720 (CHECK_LIVE_PROCESS): New macro.
12722 * process.c: Declare Qprocess_live_p.
12723 (Fprocess_live_p): New function.
12724 (create_process): Use PROCESS_LIVE_P.
12725 (read_process_output): Ditto.
12726 (set_process_filter): Ditto.
12727 (Fdelete_process): Ditto.
12728 (kill_buffer_processes): Ditto
12729 (process_send_signal): Use CHECK_LIVE_PROCESS.
12730 (Fprocess_input_coding_system): Check whether process is still
12731 alive (fix PR#1061).
12732 (Fprocess_output_coding_system): Ditto.
12733 (Fprocess_coding_system): Ditto.
12734 (Fset_process_input_coding_system): Ditto.
12735 (Fset_process_output_coding_system): Ditto.
12737 2000-01-23 Andy Piper <andy@xemacs.org>
12739 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12742 * glyphs.c (mark_image_instance): take into account changed
12743 image_instance format.
12744 (image_instance_equal): ditto.
12745 (image_instance_hash): ditto.
12747 * glyphs-widget.c (widget_instantiate): Incorporate layout
12748 instantiation here. Delay layout of the layout until later.
12749 (layout_instantiate): deleted.
12750 (layout_query_geometry): new function. get the geometry of a
12752 (layout_layout): layout a layout dynamically.
12753 (image_instantiator_widget): New function - splitting up
12754 image_instantiator_format_create_glyphs_widget for netwinder
12756 (image_instantiator_buttons):
12757 (image_instantiator_edit_fields):
12758 (image_instantiator_combo_box):
12759 (image_instantiator_scrollbar):
12760 (image_instantiator_progress_guage):
12761 (image_instantiator_tree_view):
12762 (image_instantiator_tab_control):
12763 (image_instantiator_labels):
12764 (image_instantiator_layout): ditto.
12765 (image_instantiator_format_create_glyphs_widget): Call preceding
12768 2000-01-22 Martin Buchholz <martin@xemacs.org>
12770 * process.c (Fset_process_coding_system):
12771 * device-x.c (Fx_keysym_hash_table):
12774 * lstream.c (Lstream_write): Return documented value, not 0.
12776 * fileio.c (directory_file_name):
12777 (Fsubstitute_in_file_name):
12778 (Fsubstitute_insert_file_contents_internal):
12779 (Fwrite_region_internal):
12784 Remove vestigial APOLLO-conditional code.
12786 2000-01-21 Martin Buchholz <martin@xemacs.org>
12788 * getpagesize.h: Add guard macros.
12789 * libsst.h: Add guard macros.
12790 * libst.h: Add guard macros.
12791 * line-number.h: Add guard macros.
12792 * ndir.h: Add guard macros.
12793 * sysfloat.h: Add guard macros.
12794 * sysfile.h: Add guard macros.
12795 * sysproc.h: Add guard macros.
12796 * syswait.h: Add guard macros.
12797 * xintrinsic.h: Add guard macros.
12798 * xintrinsicp.h: Add guard macros.
12799 * xmmanager.h: Add guard macros.
12800 * xmmanagerp.h: Add guard macros.
12801 * xmprimitive.h: Add guard macros.
12802 * xmu.h: Add guard macros.
12803 * gpmevent.h: Add copyright statement. Add guard macros.
12804 * miscplay.h: Add guard macros.
12805 * *.h: Use consistent C-standards-approved guard macro names.
12807 * opaque.c (make_opaque): Switch parameter order.
12808 * opaque.h (make_opaque): Switch parameter order.
12809 Update all callers.
12810 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12812 * config.h.in (type_checking_assert): Added.
12813 (bufpos_checking_assert): Added.
12815 2000-01-21 Martin Buchholz <martin@xemacs.org>
12817 * alloc.c: Harmless pdump changes.
12819 - spell alignment correctly.
12820 * sysdep.c: Use countof()
12822 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12824 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12825 initially_selected_for_input() console method, default to 0.
12826 (semi_canonicalize_console_connection): Try to delegate to
12827 canonicalize_console_connection if no such console method.
12828 (canonicalize_console_connection): Vice versa.
12829 (print_console): Do not print nil connection.
12831 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12832 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12833 (XDEVIMPF_FRAMELESS_OK): Added.
12834 (CONSOLE_INHERITS_METHOD): Added.
12836 * console-msw.c (mswindows_canonicalize_console_connection):
12838 (mswindows_canonicalize_device_connection): Added.
12840 * console-msw.h (struct msprinter_device): Added this struct and
12842 (mswindows_device): Made fontlist a lisp object.
12844 * device.c (semi_canonicalize_device_connection): Try to delegate
12845 to canonicalize_device_connection if no such console method.
12846 (canonicalize_device_connection): Vice versa.
12847 (print_device): Do not print nil connection.
12849 * device-msw.c (mswindows_init_device): Call InitCommonControls
12851 (mswindows_delete_device): Removed fontlist deallocation.
12852 (mswindows_mark_device): Added.
12854 * events.c (event_equal): Added abort() at unreached code.
12855 (event_hash): Ditto.
12857 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12858 fallback tags of Windows devices.
12860 * general.c (syms_of_general): Initialized Qmsprinter.
12862 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12863 of fallback tags of Windows devices.
12865 * lisp.h: Declared Qmsprinter.
12867 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12869 (mswindows_list_fonts): Ditto.
12870 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12871 that it can be used by both mswindows and msprinter devices.
12872 (initialize_font_instance): Added.
12873 (mswindows_initialize_font_instance): Use it.
12874 (msprinter_initialize_font_instance): Added.
12876 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12877 and implementation flags check.
12878 (redisplay_without_hooks): Changed the call to the above.
12879 (Fredraw_device): Ditto.
12880 (Fredisplay_device): Ditto.
12882 * redisplay-msw.c (get_frame_dc): Implemented.
12883 (get_frame_compdc): Implemented.
12884 (many functions): Use the two functions above to get device
12885 contexts, ether for a window or a printer.
12887 2000-01-21 Olivier Galibert <galibert@pobox.com>
12889 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12890 initialization here.
12891 (init_symbols_once_early): Call it.
12892 * emacs.c (main_1): Call it.
12893 * symsinit.h: Declare it.
12895 2000-01-19 Olivier Galibert <galibert@pobox.com>
12897 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12899 (pdump_backtrace): Ditto.
12900 (pdump_register_object): Ditto. Cleanup use of the pointers.
12901 (pdump_get_entry): Abort if trying to register a null pointer.
12902 (pdump_dump_data): Cleanup types when relocating.
12903 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
12904 (pdump_dump_rtables): Remove bad casts.
12905 (pdump_load): Cleanup relocation w.r.t union type. Use a
12906 Lisp_Object instead of a EMACS_INT for the hashtable
12909 2000-01-20 Martin Buchholz <martin@xemacs.org>
12911 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
12913 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
12915 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
12917 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
12919 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12921 * faces.h (FACE_STRIKETHRU_P): Added.
12923 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
12926 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
12927 (mswindows_set_dc_font): New function, aware of font variants,
12928 separated from mswindows_update_dc.
12930 * objects-msw.h (struct mswindows_font_instance_data): Added
12933 * objects-msw.c (mswindows_finalize_font_instance): Delete all
12934 cached fonts and the data structure.
12935 (mswindows_initialize_font_instance): Added creation of font data
12937 (mswindows_print_font_instance): Print at least something.
12938 (mswindows_create_font_variant): Implemented.
12939 (mswindows_get_hfont): Implemented.
12941 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
12943 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
12944 prototyping problem with msvc.
12946 * emacs.c (main_1): added syms_of_gui_mswindows() call
12948 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
12949 syms_of_gui_mswindows() function
12951 * symsinit.h: added the prototype for syms_of_gui_mswindows()
12953 2000-01-18 Martin Buchholz <martin@xemacs.org>
12955 * XEmacs 21.2.27 is released.
12957 2000-01-18 Martin Buchholz <martin@xemacs.org>
12959 * glyphs-eimage.c (struct tiff_error_struct):
12961 (tiff_warning_func):
12962 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
12967 * unexec.c: Remove vestigial Lucid C code.
12971 * libsst.c: Ansify.
12972 Remove declarations of errno and strerror().
12974 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
12976 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
12978 2000-01-16 Martin Buchholz <martin@xemacs.org>
12980 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
12983 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12988 Change enum eol_type to eol_type_t.
12990 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12992 * gui.c (get_gui_callback): Check cons before accessing car.
12994 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12996 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
12997 (XSETSPECIFIER_TYPE): Ditto.
12999 2000-01-17 Didier Verna <didier@xemacs.org>
13001 * redisplay.c (generate_fstring_runes): compute string size in
13002 characters, not bytes.
13004 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
13006 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
13008 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
13010 * print.c (print_error_message): Call print_prepare().
13012 2000-01-14 Martin Buchholz <martin@xemacs.org>
13014 * .dbxrc: Renamed from dbxrc.
13016 * events.c (event_to_character):
13017 Use `assert (foo)' instead of `if (!foo) abort()'
13019 * .gdbinit (xtype): Add documentation.
13020 * .gdbinit (check-temacs): New function.
13021 * .gdbinit (check-xemacs): New function.
13022 * dbxrc (check-xemacs): New function.
13023 * dbxrc (check-xemacs): New function.
13025 2000-01-14 Andy Piper <andy@xemacs.org>
13027 * glyphs-widget.c (widget_query_geometry): Make sure that we
13028 calculate default dimensions correctly.
13030 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13032 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
13034 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
13035 pdump_wire'd variable.
13037 * emacs.c: (main_1): Conditionalized calls to
13038 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
13040 2000-01-13 Martin Buchholz <martin@xemacs.org>
13042 * window.c (Fset_window_configuration):
13043 * sysdep.c (_start):
13044 * input-method-motif.c (res):
13045 * event-Xt.c (Xt_process_to_emacs_event):
13046 Simple compiler warning fixes.
13048 * bytecode.c (funcall_compiled_function): Use the original
13049 function symbol on the backtrace list in preference to the
13050 compiled_function object in error messages.
13052 2000-01-13 Andy Piper <andy@xemacs.org>
13054 * glyphs-x.c (update_widget_face): Make sure we update the widget
13055 background as well as foreground.
13057 2000-01-13 Andy Piper <andy@xemacs.org>
13059 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
13060 fields to subwindow.
13061 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
13062 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
13063 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
13064 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
13066 * glyphs-widget.c (check_valid_tab_orientation): new function.
13067 (initialize_widget_image_instance): zero orientation and
13069 (widget_instantiate): pick up orientation.
13070 (tab_control_query_geometry): return appropriate values for
13073 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
13074 appropriate creation flags for left, right and bottom tabs.
13076 * s/cygwin32.h: add tab definitions.
13078 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13080 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
13081 frame upon hiding a subwindow.
13082 (mswindows_button_instantiate): Changed the push button style to
13084 (mswindows_button_instantiate): Removed button BS_NOTIFY
13086 (mswindows_button_instantiate): Removed redundant check for
13087 a disabled gui item.
13088 (mswindows_button_instantiate): Made use of WS_TABSTOP
13089 consistent: "operable" controls (edit, button, tree, scroll) have
13090 this style, "display-only" ones (static, progress gauge) do
13091 not. This style is currently ignored by XEmacs though. Also,
13092 removed the WS_EX_CONTROLPARENT style - it is not for children,
13093 it is for their parents!
13094 (mswindows_edit_field_instantiate): Ditto.
13095 (mswindows_progress_gauge_instantiate): Ditto.
13096 (mswindows_tree_view_instantiate): Ditto.
13097 (mswindows_tab_control_instantiate): Ditto.
13098 (mswindows_scrollbar_instantiate): Ditto.
13099 (mswindows_combo_box_instantiate): Ditto.
13100 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
13101 style to the "clip" window.
13102 (mswindows_button_instantiate): Removed compilation warning by
13103 equally typing terms of the ?: operator.
13105 2000-01-12 Didier Verna <didier@xemacs.org>
13107 * redisplay.c (generate_fstring_runes): new parameter holding the
13108 last modeline-format extent.
13109 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
13110 extent, fill the glyph block with it.
13111 (generate_fstring_runes): handle these parameters.
13112 (generate_formatted_string_db): ditto.
13114 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
13115 glyphs'extents in the modeline.
13117 1999-01-11 Mike Woolley <mike@bulsara.com>
13119 * ntheap.c: Reduced the reserved heap space from 1Gb down to
13120 256Mb, as a workaround for the non-starting problem many people
13123 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13125 * console-tty.c (Fset_console_tty_output_coding_system):
13126 Force redrawing tty frame.
13128 2000-01-10 Didier Verna <didier@xemacs.org>
13130 * redisplay.c (generate_fstring_runes): fix size computation bug.
13132 2000-01-09 William M. Perry <wmperry@aventail.com>
13134 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
13136 2000-01-09 Andy Piper <andy@xemacs.org>
13138 * glyphs-msw.c: index -> i to avoid shadows.
13139 (xbm_create_bitmap_from_data): make static.
13140 (check_valid_string_or_int): deleted.
13141 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
13143 * glyphs-x.c (x_update_subwindow): remove unused args.
13145 * glyphs.c (glyph_image_instance): return the thing. Don't set the
13146 back pointer - this is done in allocate_image_instance.
13147 (query_string_font): return Qnil to make the compiler happy.
13148 (unmap_subwindow): set to ~0 to make the compiler happy.
13149 (glyph_query_geometry): comment out until used.
13150 (glyph_layout): ditto.
13152 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
13154 * insdel.c (signal_after_change): Remove extraneous unbind_to().