1 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
3 * chartab.c (Fclose_char_attribute_table): Set Qnil on
4 `ct->db_file' unconditionally.
6 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
8 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
10 (char_table_description): Add description for `db_file' and `db'
12 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
14 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
15 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
16 (Fclose_char_attribute_table): New function.
17 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
18 (load_char_attribute_maybe): Change interface; use `cit->db_file'
20 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
21 (syms_of_chartab): Add new builtin function
22 `Fclose_char_attribute_table'.
24 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
26 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
28 (load_char_attribute_maybe): Change interface.
29 (get_char_id_table): Modify for `load_char_attribute_maybe'.
31 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
33 * database.h: Add an EXFUN for `Fdatabase_live_p'.
35 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
37 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
38 instead of `DECODE_CHAR' for mother; don't use special code for
39 chinese-big5 to use code space of chinese-big5-1 and
41 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
42 `MAX_CHAR_BIG5_CDP' for chinese-big5.
44 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
45 (MAX_CHAR_BIG5_CDP): Revival.
47 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
49 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
50 the XLFD registry-encoding name of `chinese-big5'.
52 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
54 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
55 (Qchinese_big5_cdp): Deleted.
56 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
57 (complex_vars_of_mule_charset): Delete coded-charset
60 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
61 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
62 `CHARSET_ID_OFFSET - n' for private CCS.
63 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
64 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
65 of `MIN_LEADING_BYTE'.
66 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
67 `(CHARSET_ID_OFFSET - 97)'.
68 (MIN_CHAR_BIG5_CDP): Deleted.
69 (MAX_CHAR_BIG5_CDP): Deleted.
71 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
73 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
75 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
77 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
78 (vars_of_mule): Add new variable `utf-2000-version' [moved from
81 * chartab.c (Vutf_2000_version): Moved to mule.c.
82 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
84 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
86 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
87 when HAVE_CHISE_CLIENT is not defined.
89 * mule.c (vars_of_mule): Provide feature `chise' when
90 HAVE_CHISE_CLIENT is defined.
92 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
94 * config.h.in (UTF2000): Add comment.
95 (HAVE_CHISE_CLIENT): New macro.
97 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
99 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
101 (Fput_char_attribute): Likewise.
102 (char_attribute_system_db_file): Encode file-name of attribute.
103 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
106 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
108 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
109 (Fsave_charset_mapping_table): Use
110 `char_attribute_system_db_file'.
111 (load_char_decoding_entry_maybe): Likewise.
113 * chartab.h (Qsystem_char_id): New external variable.
114 (char_attribute_system_db_file): New prototype.
116 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
117 (char_attribute_system_db_file): New function.
118 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
119 (Freset_char_attribute_table): Likewise.
120 (load_char_attribute_maybe): Likewise.
121 (Fload_char_attribute_table): Likewise.
122 (syms_of_chartab): Add new symbol `system-char-id'.
124 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
126 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
127 `XCHARSET_GRAPHIC(ccs)'.
129 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
131 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
133 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
135 * chartab.c (Q_ucs_variants): New variable.
136 (syms_of_chartab): Add new symbol `->ucs-variants'.
137 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
138 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
139 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
141 * mule-charset.c (load_char_decoding_entry_maybe): New function.
143 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
144 `HAVE_DATABASE' is defined.
145 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
146 `HAVE_DATABASE' is defined.
148 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
150 * chartab.c (Fsave_char_attribute_table): Don't clear internal
152 (Freset_char_attribute_table): New function.
153 (syms_of_chartab): Add new builtin function
154 `reset-char-attribute-table'.
156 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
158 * chartab.c (load_char_attribute_maybe): Don't make directories.
160 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
162 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
164 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
167 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
169 * mule-charset.c (Fsave_charset_mapping_table): Use
170 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
172 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
173 instead of `XCHARSET_CHARS'.
175 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
177 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
178 (XCHARSET_BYTE_SIZE): Likewise.
180 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
182 (XCHARSET_BYTE_SIZE): Likewise.
184 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
186 * chartab.c (Fput_char_attribute): Use exec-directory instead of
187 data-directory to store database.
188 (Fsave_char_attribute_table): Likewise.
189 (load_char_attribute_maybe): Likewise.
190 (Fload_char_attribute_table): Likewise.
192 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
194 * mule-charset.c (Fsave_charset_mapping_table): New function.
195 (syms_of_mule_charset): Add new builtin function
196 `save-charset-mapping-table'.
198 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
200 * char-ucs.h (decoding_table_check_elements): Delete prototype.
201 (get_ccs_octet_table): New inline function.
202 (put_ccs_octet_table): Likewise.
203 (decoding_table_put_char): Use `get_ccs_octet_table' and
204 `put_ccs_octet_table'.
205 (decoding_table_remove_char): Use `decoding_table_put_char'.
206 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
208 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
210 (make_charset): Use Qunbound instead Qnil as initial value of
213 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
215 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
216 element is Qunloaded.
217 (map_over_uint16_byte_table): Likewise.
218 (map_over_byte_table): Likewise.
219 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
220 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
221 database support, load encoding-table of the specified
222 coded-charset if it is not loaded yet.
223 (save_uint8_byte_table): New function of UTF-2000 with external
225 (save_uint16_byte_table): Likewise.
226 (save_byte_table): Likewise.
227 (Fput_char_attribute): Don't store value into external database
228 even if the external database feature is supported in UTF-2000;
229 set `attribute' as name of char-table if the external database
230 feature is supported.
231 (Fsave_char_attribute_table): New function in UTF-2000.
232 (syms_of_chartab): Add new builtin function
233 `save-char-attribute-table' in UTF-2000.
235 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
237 * chartab.c (char_attribute_table_to_put): New variable in
239 (Qput_char_table_map_function): Likewise.
240 (value_to_put): Likewise.
241 (Fput_char_table_map_function): New function in UTF-2000.
242 (put_char_table): Use `Fmap_char_attribute' for
243 CHARTAB_RANGE_CHARSET in UTF-2000.
244 (Fput_char_attribute): Store symbol instead of string in
245 `XCHAR_TABLE_NAME (table)'.
246 (load_char_attribute_maybe): Likewise.
247 (syms_of_chartab): Add new symbol/function
248 `put-char-table-map-function'.
250 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
252 * database.h: Add new EXFUN for `Fmap_database'.
254 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
255 (syms_of_database): Likewise.
257 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
259 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
260 (XCHAR_TABLE_UNLOADED): Likewise.
262 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
263 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
264 HAVE_DATABASE is defined.
265 (char_attribute_table_to_load): New variable of UTF-2000 with
266 external database support.
267 (Qload_char_attribute_table_map_function): Likewise.
268 (Fload_char_attribute_table_map_function): New function of
269 UTF-2000 with external database support.
270 (Fload_char_attribute_table): New function of UTF-2000.
271 (Fmap_char_attribute): Call Fload_char_attribute_table if
272 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
273 (syms_of_chartab): Add new symbol and function
274 `load-char-attribute-table-map-function' in UTF-2000 with external
275 database support; add new function `load-char-attribute-table' in
278 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
280 * chartab.h (load_char_attribute_maybe): New prototype for
281 UTF-2000 with DATABASE support.
282 (get_char_id_table): Use `load_char_attribute_maybe' if
283 HAVE_DATABASE is defined.
285 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
286 with DATABASE support.
288 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
290 * chartab.c (Fput_char_attribute): Use S-expression as key of
293 * chartab.h (get_char_id_table): Use S-expression as key of
296 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
298 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
299 if an element is not loaded, load the corresponding attributes
300 from an external database.
301 (map_over_uint16_byte_table): Likewise.
302 (map_over_byte_table): Likewise.
303 (map_char_table): Modify for `map_over_uint8_byte_table',
304 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
305 element is not loaded, load the corresponding attributes from an
307 (Fput_char_attribute): Change initial values to Qunloaded.
309 * chartab.h (get_char_id_table): If a character attribute is not
310 loaded and the attribute value is not found in an external
311 database, store Qunbound as the attribute value.
313 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
315 * chartab.c (BT_UINT8_unloaded): New macro.
316 (UINT8_VALUE_P): Accept Qunloaded.
317 (UINT8_ENCODE): Likewise.
318 (UINT8_DECODE): Likewise.
319 (BT_UINT16_unloaded): New macro.
320 (UINT16_VALUE_P): Accept Qunloaded.
321 (UINT16_ENCODE): Likewise.
322 (UINT16_DECODE): Likewise.
323 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
325 (mark_char_table): Mark `ct->name' in UTF-2000.
326 (char_table_description): Add `name' in UTF-2000.
327 (Fmake_char_table): Initialize `ct->name'.
328 (Fcopy_char_table): Copy `ct->name'.
329 (Fput_char_attribute): Store value into an external database if
330 HAVE_DATABASE is defined.
332 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
334 (CHAR_TABLE_NAME): New macro in UTF-2000.
335 (XCHAR_TABLE_NAME): New macro in UTF-2000.
336 (get_char_id_table): Try to read an external database if Qunloaded
337 is stored in a table.
339 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
342 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
344 * database.h: Add EXFUN definitions for Fopen_database,
345 Fput_database, Fget_database and Fclose_database.
347 * data.c (Qunloaded): New variable in UTF-2000.
349 * lisp.h (Qunloaded): New variable in UTF-2000.
351 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
353 * mule-charset.c (put_char_ccs_code_point): Modify for
354 `decoding_table_remove_char' and `decoding_table_put_char'.
355 (remove_char_ccs): Modify for `decoding_table_remove_char'.
357 * char-ucs.h (decoding_table_remove_char): Change arguments to
358 hide decoding_table vector.
359 (decoding_table_put_char): Likewise.
361 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
363 * mule-charset.c (decoding_table_remove_char): Moved to
365 (decoding_table_put_char): Likewise.
367 * char-ucs.h (decoding_table_check_elements): New prototype [moved
368 from mule-charset.c].
369 (decoding_table_remove_char): New inline function [moved from
371 (decoding_table_put_char): Likewise.
373 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
375 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
378 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
380 * mule-charset.c (decode_builtin_char): Support mother charsets.
382 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
384 * mule-charset.c (Q94x94x60): New variable.
385 (charset_code_point): Support conversion `94x94x60'.
386 (Fmake_charset): Likewise.
387 (syms_of_mule_charset): Add new symbol `94x94x60'.
389 * char-ucs.h (CONVERSION_94x94x60): New macro.
391 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
393 * mule-charset.c (charset_code_point): Unify code about
396 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
398 * mule-charset.c (charset_code_point): Merge code about builtin
399 characters into code about mother charsets; don't use
400 `range_charset_code_point'.
401 (range_charset_code_point): Deleted.
403 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
405 * mule-charset.c (Qcode_offset): New variable.
406 (Fmake_charset): Use `XUINT' to get value of `min-code' and
407 `max-code'; accept new property `code-offset'.
408 (syms_of_mule_charset): Add new symbol `code-offset'.
410 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
412 * mule-charset.c (range_charset_code_point): Fixed.
414 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
416 * mule-charset.c (decode_builtin_char): Change semantics of
417 code-offset of coded-charset.
418 (charset_code_point): Likewise.
419 (range_charset_code_point): Likewise.
420 (complex_vars_of_mule_charset): Modify for the change.
422 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
424 * mule-charset.c (Fencode_char): Reverse arguments.
426 * mule-charset.c (charset_code_point): Fixed.
428 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
430 * mule-charset.c (Vcharset_mojikyo): Deleted.
431 (Vcharset_mojikyo_2022_1): Deleted.
432 (Vcharset_mojikyo_pj_{1..21}): Deleted.
433 (Qmin_code): New variable in UTF-2000.
434 (Qmax_code): Likewise.
436 (Qconversion): Likewise.
439 (Qmojikyo_2022_1): Deleted.
440 (Qmojikyo_pj_{1..22}): Deleted.
441 (mark_charset): Mark `cs->mother'.
442 (charset_description): Add description for `mother'.
443 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
444 new arguments `mother' and `conversion'; use
445 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
446 (charset_code_point): Moved from char-ucs.h; support `mother'
448 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
449 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
450 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
451 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
452 allow 2 as the value of `graphic' in UTF-2000; add new properties
453 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
454 require `final' in UTF-2000; modify for `make_charset'.
455 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
456 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
457 (Fcharset_property): Support `mother', `min-code' and `max-code'.
458 (Fencode_char): New function.
459 (syms_of_mule_charset): Add new builtin function `encode-char' in
460 UTF-2000; add new symbols `min-code', `max-code', `mother',
461 `conversion' and `94x60'; delete symbols `mojikyo',
462 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
463 (complex_vars_of_mule_charset): Modify for `make_charset' change;
464 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
465 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
467 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
468 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
470 * char-ucs.h (Vcharset_mojikyo): Deleted.
471 (Vcharset_mojikyo_2022_1): Deleted.
472 (LEADING_BYTE_MOJIKYO): Deleted.
473 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
474 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
475 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
476 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
477 add new member `mother'; add new member `conversion'.
478 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
479 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
480 (CHARSET_MOTHER): New macro.
481 (CHARSET_CONVERSION): New macro.
482 (CONVERSION_IDENTICAL): New macro.
483 (CONVERSION_94x60): New macro.
484 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
485 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
486 (XCHARSET_MOTHER): New macro.
487 (XCHARSET_CONVERSION): New macro.
488 (MIN_CHAR_MOJIKYO): Deleted.
489 (MAX_CHAR_MOJIKYO): Deleted.
490 (DECODE_MOJIKYO_2022): Deleted.
491 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
492 (charset_code_point): Changed to non-inline function.
493 (encode_char_1): Use `charset_code_point'.
494 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
496 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
498 * lread.c (read_compiled_function): Fix prototype.
499 (read_vector): Likewise.
501 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
503 * lrecord.h (struct lrecord_header): Delete `older'.
504 (set_lheader_implementation): Delete code for `older'.
505 (set_lheader_older_implementation): Deleted.
506 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
507 (OLDER_RECORD_P): Deleted.
508 (OLDER_RECORD_HEADER_P): Deleted.
509 (alloc_older_lcrecord): Deleted.
510 (alloc_older_lcrecord_type): Deleted.
512 * alloc.c (all_older_lcrecords): Deleted.
513 (alloc_older_lcrecord): Deleted.
514 (disksave_object_finalization_1): Delete code for older objects.
515 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
516 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
518 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
520 * mule-charset.c (decoding_table_put_char): Use `make_vector'
521 instead of `make_older_vector'.
522 (put_char_ccs_code_point): Likewise.
523 (mark_charset): Mark `cs->decoding_table'.
524 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
526 * lisp.h (make_older_vector): Deleted.
527 (make_vector_newer): Deleted.
529 * config.h.in (HAVE_GGC): Deleted.
531 * alloc.c (make_older_vector): Deleted.
532 (make_vector_newer_1): Deleted.
533 (make_vector_newer): Deleted.
535 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
537 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
538 (Qideograph_daikanwa_2): New variable.
539 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
540 (complex_vars_of_mule_charset): Add new coded-charset
541 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
542 `LEADING_BYTE_DAIKANWA'.
544 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
545 (LEADING_BYTE_DAIKANWA_1): New macro.
546 (LEADING_BYTE_DAIKANWA_2): New macro.
547 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
549 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
551 * mule-charset.c (complex_vars_of_mule_charset): Change
552 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
553 the second revised version.
555 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
557 * mule-charset.c (Vcharset_ucs_smp): New variable.
558 (Vcharset_ucs_sip): New variable.
559 (Qucs_smp): New variable.
560 (Qucs_sip): New variable.
561 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
562 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
563 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
564 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
565 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
566 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
568 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
569 (LEADING_BYTE_UCS_SIP): New macro.
570 (MIN_CHAR_SMP): New macro.
571 (MAX_CHAR_SMP): New macro.
572 (MIN_CHAR_SIP): New macro.
573 (MAX_CHAR_SIP): New macro.
575 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
577 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
580 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
582 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
583 value; don't store value into `encoding_table' of `Lisp_Charset'.
584 (mark_charset): `encoding_table' was deleted.
585 (charset_description): Likewise.
586 (make_charset): Likewise.
587 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
588 `put_char_ccs_code_point'.
590 * chartab.h (Fput_char_attribute): New EXFUN.
592 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
593 is unified with normal symbol space.
594 (Fget_char_attribute): Likewise.
595 (Fput_char_attribute): Likewise; behavior of
596 `put_char_ccs_code_point' is changed.
598 * char-ucs.h: Include "elhash.h".
599 (Vchar_attribute_hash_table): New external variable.
600 (struct Lisp_Charset): Delete `encoding_table'.
601 (CHARSET_ENCODING_TABLE): New implementation; refer
602 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
605 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
607 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
610 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
612 * text-coding.c (char_encode_big5): Prefer charset-g1 than
615 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
617 * chartab.c (uint8_byte_table_description): New constant.
618 (uint8-byte-table): Use `uint8_byte_table_description'.
619 (uint16_byte_table_description): New constant.
620 (uint16-byte-table): Use `uint16_byte_table_description'.
622 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
624 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
625 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
627 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
629 * mule-charset.c (Vcharset_ucs_ks): New variable.
630 (Qucs_ks): New variable.
631 (syms_of_mule_charset): Add new symbol `ucs-ks'.
632 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
634 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
636 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
638 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
639 (Fdecode_char): Likewise.
641 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
643 (Fdefine_char): Modify for Fdecode_char.
644 (Ffind_char): Likewise.
646 * mule-charset.c (Fdecode_char): Add new optional argument
648 (Fdecode_builtin_char): Modify for `Fdecode_char'.
650 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
652 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
653 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
654 (allocate_coding_system): Initialize initial-charsets of
655 CODESYS_BIG5 in XEmacs UTF-2000.
656 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
657 CODESYS_BIG5 in XEmacs UTF-2000.
658 (decode_coding_big5): Use initial-charset-g0 and -g1 of
659 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
661 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
663 (Qideograph_hanziku_{1 .. 12}): Likewise.
664 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
666 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
667 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
668 `ideograph-hanziku-{1 .. 12}'.
670 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
671 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
672 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
673 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
674 (DECODE_DEFINED_CHAR): New inline function.
675 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
677 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
679 * mule-charset.c (Vcharset_china3_jef): Renamed from
680 `Vcharset_japanese_jef_china3'.
681 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
682 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
683 `{MIN|MAX}_CHAR_JEF_CHINA3'..
684 (syms_of_mule_charset): Rename `china3-jef' from
685 `japanese-jef-china3'.
686 (complex_vars_of_mule_charset): Likewise; rename
687 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
689 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
690 `LEADING_BYTE_JEF_CHINA3'.
691 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
692 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
694 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
696 * mule-charset.c (encode_builtin_char_1): Comment out special code
697 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
699 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
700 (MAX_CHAR_MOJIKYO_0): Comment out.
701 (MIN_CHAR_CBETA): Changed to 0x00E20000.
702 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
703 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
704 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
706 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
708 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
709 (Qideograph_cbeta): New variable.
710 (encode_builtin_char_1): Comment out special code for
711 coded-charset `mojikyo' and `japanese-jef-china3'.
712 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
713 (complex_vars_of_mule_charset): Add new coded-charset
716 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
717 (MIN_CHAR_CBETA): New macro.
718 (MAX_CHAR_CBETA): New macro.
720 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
722 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
723 (LEADING_BYTE_JEF_CHINA3): New macro.
724 (MIN_CHAR_JEF_CHINA3): New macro.
725 (MAX_CHAR_JEF_CHINA3): Likewise.
726 (DECODE_CHAR): Fixed.
728 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
730 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
731 (Qjapanese_jef_china3): New variable.
732 (encode_builtin_char_1): Support `japanese-jef-china3'.
733 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
734 (complex_vars_of_mule_charset): Add new coded-charset
735 `japanese-jef-china3'.
737 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
739 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
740 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
741 94^4, 96^3, 96^4, 128^n and 256^n set.
742 (put_char_table): Use `XCHARSET_CELL_RANGE'.
743 (map_char_table): Likewise.
745 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
747 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
750 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
752 * chartab.h (get_char_id_table): New inline function.
754 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
757 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
759 * chartab.h (decode_char_table_range): New prototype in XEmacs
761 (put_char_id_table): New inline function in XEmacs UTF-2000.
763 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
765 (decode_char_table_range): Delete static declaration in XEmacs
768 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
770 * chartab.c (put_char_id_table): Use `put_char_table'.
772 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
774 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
775 (map_over_uint16_byte_table): Likewise.
776 (map_over_byte_table): Likewise.
777 (map_char_table): Modify for `map_over_uint8_byte_table',
778 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
781 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
783 * chartab.c (struct map_char_table_for_charset_arg): New
785 (map_char_table_for_charset_fun): New function.
786 (map_char_table): Use `map_char_table' for encoding_table of
789 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
791 * chartab.c (map_char_table): Check a character is found in
792 range->charset instead of non default value is defined in
793 char-table when range is CHARTAB_RANGE_ROW.
795 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
797 * chartab.c (map_char_id_table): Deleted.
798 (Fmap_char_attribute): Use `map_char_table' instead of
801 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
803 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
805 (update_syntax_table): Deleted in XEmacs UTF-2000.
807 * syntax.c (find_defun_start): Use `syntax_table' instead of
808 `mirror_syntax_table' in XEmacs UTF-2000.
809 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
811 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
813 (Fmatching_paren): Likewise.
814 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
816 (find_start_of_comment): Likewise.
817 (find_end_of_comment): Likewise.
818 (Fforward_comment): Likewise.
819 (scan_lists): Likewise.
820 (char_quoted): Likewise.
821 (Fbackward_prefix_chars): Likewise.
822 (scan_sexps_forward): Likewise.
823 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
824 (update_syntax_table): Likewise.
826 * search.c (skip_chars): Use `syntax_table' instead of
827 `mirror_syntax_table' in XEmacs UTF-2000.
829 (Freplace_match): Likewise.
831 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
832 `mirror_syntax_table' in XEmacs UTF-2000.
833 (WORDCHAR_P_UNSAFE): Likewise.
834 (re_match_2_internal): Likewise.
836 * font-lock.c (find_context): Use `buf->syntax_table' instead of
837 `buf->mirror_syntax_table' in XEmacs UTF-2000.
839 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
840 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
842 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
845 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
847 (print_char_table): Print `default_value' in XEmacs UTF-2000.
848 (char_table_description): Delete `mirror_table' in XEmacs
850 (fill_char_table): Don't call `update_syntax_table' in XEmacs
852 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
853 (Fcopy_char_table): Likewise.
854 (put_char_table): Don't call `update_syntax_table' in XEmacs
857 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
858 `buf->mirror_syntax_table' in XEmacs UTF-2000.
859 (casify_region_internal): Likewise.
861 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
863 * buffer.c (common_init_complex_vars_of_buffer): Don't use
864 `mirror_syntax_table' in XEmacs UTF-2000.
866 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
867 `buf->mirror_syntax_table' in XEmacs UTF-2000.
868 (Fexpand_abbrev): Likewise.
870 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
872 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
874 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
876 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
877 (map_over_uint16_byte_table): Likewise.
878 (map_over_byte_table): Likewise.
879 (get_char_id_table): Refer `cit->default_value'.
880 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
881 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
882 of character-id ranges.
883 (mark_char_table): Mark `ct->default_value'.
884 (char_table_description): Add `default_value'.
885 (fill_char_table): Use `default_value'.
886 (decode_char_table_range): Decode `nil' as
887 `CHARTAB_RANGE_DEFAULT'.
888 (get_char_id_table): Refer `cit->default_value'.
889 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
890 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
891 temporary hack; check value of char-table is bound or not.
892 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
894 * chartab.h (struct Lisp_Char_Table): Add new member
895 `default_value' in XEmacs UTF-2000.
896 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
897 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
900 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
902 * chartab.h (Lisp_Char_ID_Table): Deleted.
904 * chartab.c (char_table_description): Fix typo.
905 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
906 `Lisp_Char_ID_Table'.
908 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
910 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
913 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
916 * chartab.h (XCHAR_ID_TABLE): Deleted.
917 (XSETCHAR_ID_TABLE): Deleted.
918 (CHAR_ID_TABLE_P): Deleted.
920 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
922 (Fget_composite_char): Likewise.
923 (put_char_table): Likewise.
924 (add_char_attribute_alist_mapper): Fixed.
925 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
927 (Fget_char_attribute): Likewise.
928 (Fget_char_attribute): Likewise.
929 (Fmap_char_attribute): Likewise.
931 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
933 (encode_char_1): Likewise.
935 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
937 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
940 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
941 instead of `XCHAR_ID_TABLE'.
942 (remove_char_ccs): Likewise.
944 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
946 (Fget_composite_char): Likewise.
947 (Fchar_variants): Likewise.
948 (put_char_table): Likewise.
949 (add_char_attribute_alist_mapper): Likewise.
950 (Fchar_attribute_alist): Likewise.
951 (Fget_char_attribute): Likewise.
952 (Fput_char_attribute): Likewise.
953 (Fmap_char_attribute): Likewise.
954 (Fmap_char_attribute): Likewise.
956 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
958 (encode_char_1): Likewise.
960 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
962 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
963 `Lisp_Char_ID_Table'.
964 (mark_char_id_table): Deleted.
965 (print_char_id_table): Likewise.
966 (char_id_table_equal): Likewise.
967 (char_id_table_hash): Likewise.
968 (char_id_table_description): Likewise.
969 (char_id_table): Likewise.
970 (make_char_id_table): Use `Fmake_char_table' and
972 (get_char_id_table): Use `Lisp_Char_Table' instead of
973 `Lisp_Char_ID_Table'.
974 (put_char_id_table): Likewise.
975 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
977 (Fremove_char_attribute): Likewise.
978 (syms_of_chartab): Don't define type `char-id-table'.
980 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
981 (char_id_table): Likewise.
982 (GC_CHAR_ID_TABLE_P): Likewise.
983 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
984 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
985 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
986 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
987 (get_char_id_table): Use `Lisp_Char_Table' instead of
988 `Lisp_Char_ID_Table'.
989 (put_char_id_table_0): Likewise.
990 (put_char_id_table): Likewise.
992 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
994 * chartab.h: Lisp_Byte_Table related codes are moved from
997 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
999 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1001 * chartab.h: Don't include "chartab.h".
1002 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1003 (Lisp_Char_ID_Table): Likewise.
1004 (char_id_table): Likewise.
1005 (XCHAR_ID_TABLE): Likewise.
1006 (XSETCHAR_ID_TABLE): Likewise.
1007 (CHAR_ID_TABLE_P): Likewise.
1008 (GC_CHAR_ID_TABLE_P): Likewise.
1009 (get_char_id_table): Likewise.
1011 * char-ucs.h: Include "chartab.h".
1012 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1013 (Lisp_Char_ID_Table): Likewise.
1014 (char_id_table): Likewise.
1015 (XCHAR_ID_TABLE): Likewise.
1016 (XSETCHAR_ID_TABLE): Likewise.
1017 (CHAR_ID_TABLE_P): Likewise.
1018 (GC_CHAR_ID_TABLE_P): Likewise.
1019 (get_char_id_table): Likewise.
1021 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1023 * chartab.c (copy_uint8_byte_table): New function.
1024 (copy_uint16_byte_table): New function.
1025 (copy_byte_table): New function.
1026 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1028 (map_over_uint16_byte_table): Likewise.
1029 (map_over_byte_table): Likewise.
1030 (get_byte_table): Move prototype to chartab.h.
1031 (put_byte_table): Likewise.
1032 (put_char_id_table_0): Moved to chartab.h.
1033 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1034 (char_table_entry_equal): Likewise.
1035 (char_table_entry_hash): Likewise.
1036 (char_table_entry_description): Likewise.
1037 (char_table_entry): Likewise.
1038 (make_char_table_entry): Likewise.
1039 (copy_char_table_entry): Likewise.
1040 (get_non_ascii_char_table_value): Likewise.
1041 (map_over_charset_ascii): Likewise.
1042 (map_over_charset_control_1): Likewise.
1043 (map_over_charset_row): Likewise.
1044 (map_over_other_charset): Likewise.
1045 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1046 (print_char_table): Likewise.
1047 (char_table_equal): Likewise.
1048 (char_table_hash): Likewise.
1049 (char_table_description): Likewise.
1050 (fill_char_table): Likewise.
1051 (Fcopy_char_table): Likewise.
1052 (get_char_table): Likewise.
1053 (Fget_range_char_table): Likewise.
1054 (put_char_table): Likewise.
1055 (map_char_table): Likewise.
1056 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1059 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1061 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1062 `Vauto_fill_chars' in XEmacs UTF-2000.
1064 * chartab.h (get_byte_table): New prototype [moved from
1066 (put_byte_table): Likewise [moved from chartab.c].
1067 (put_char_id_table_0): New inline function [moved from chartab.c].
1068 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1069 (Lisp_Char_Table_Entry): Likewise.
1070 (char_table_entry): Likewise.
1071 (XCHAR_TABLE_ENTRY): Likewise.
1072 (XSETCHAR_TABLE_ENTRY): Likewise.
1073 (CHAR_TABLE_ENTRYP): Likewise.
1074 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1075 (NUM_ASCII_CHARS): Likewise.
1076 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1077 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1079 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1081 * chartab.c (get_char_id_table): Change interface.
1082 (put_char_id_table_0): New function.
1083 (put_char_id_table): Change interface; new implementation.
1084 (Fget_composite_char): Modify for interface change of
1085 `get_char_id_table'.
1086 (Fchar_variants): Likewise.
1087 (add_char_attribute_alist_mapper): Likewise.
1088 (Fchar_attribute_alist): Likewise.
1089 (Fget_char_attribute): Likewise.
1090 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1091 as same as character as the first argument like `put-char-table';
1092 modify for interface change of `put_char_id_table'.
1093 (Fremove_char_attribute): Modify for interface change of
1094 `put_char_id_table'.
1096 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1098 * text-coding.c: Sync up with XEmacs 21.2.41.
1099 (COMPOSE_ADD_CHAR): Modify for interface change of
1100 `get_char_id_table'.
1102 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1103 change of `put_char_id_table'.
1104 (remove_char_ccs): Likewise.
1106 * chartab.h (put_char_id_table): Change interface.
1108 * char-ucs.h (get_char_id_table): Change interface.
1109 (charset_code_point): Modify for interface change of
1110 `get_char_id_table'.
1111 (encode_char_1): Likewise.
1113 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1115 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1117 (map_over_uint16_byte_table): Likewise.
1118 (map_over_byte_table): Likewise.
1119 (map_char_id_table): Add new argument `range' like
1121 (Fmap_char_attribute): Add new argument `range' like
1124 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1126 * chartab.c (map_over_uint8_byte_table): Change interface of
1127 mapping function to use struct chartab_range instead of Emchar.
1128 (map_over_uint16_byte_table): Likewise.
1129 (map_over_byte_table): Likewise.
1130 (map_char_id_table): Likewise.
1131 (struct slow_map_char_id_table_arg): Deleted.
1132 (slow_map_char_id_table_fun): Deleted.
1133 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1134 function `slow_map_char_table_fun' instead of struct
1135 `slow_map_char_id_table_arg' and function
1136 `slow_map_char_id_table_fun'.
1138 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1140 * mule-charset.c: Move char-it-table related codes to chartab.c.
1141 (Vutf_2000_version): Moved to chartab.c.
1142 (Fdefine_char): Likewise.
1143 (Ffind_char): Likewise.
1144 (syms_of_mule_charset): Move types `uint8-byte-table',
1145 `uint16-byte-table', `byte-table' and `char-id-table' to
1146 chartab.c; move functions `char_attribute_list,
1147 `find_char_attribute_table, `char_attribute_alist,
1148 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1149 `map_char_attribute, `define_char, `find_char, `char_variants and
1150 `get_composite_char to chartab.c; move symbols `=>ucs',
1151 `->decomposition', `compat', `isolated', `initial', `medial',
1152 `final', `vertical', `noBreak', `fraction', `super', `sub',
1153 `circle', `square', `wide', `narrow', `small' and `font' to
1155 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1156 setting codes for `Vcharacter_composition_table' and
1157 `Vcharacter_variant_table' to chartab.c.
1158 (complex_vars_of_mule_charset): Move setting code for
1159 `Vchar_attribute_hash_table' to chartab.c.
1161 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1162 (make_char_id_table): New prototype.
1163 (put_char_id_table): Likewise.
1164 (Fget_char_attribute): Likewise.
1166 * chartab.c: Move char-id-table related code from mule-charset.c.
1167 (Vutf_2000_version): Moved from mule-charset.c.
1169 * char-ucs.h (Qucs): New external variable.
1170 (put_char_ccs_code_point): New prototype.
1171 (remove_char_ccs): Likewise.
1173 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1175 * mule-charset.c (Vcharset_ucs_jis): New variable.
1176 (Qucs_jis): Likewise.
1177 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1178 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1180 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1182 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1184 * mule-charset.c (map_over_uint8_byte_table): New function.
1185 (map_over_uint16_byte_table): Likewise.
1186 (map_over_byte_table): Likewise.
1187 (map_char_id_table): Likewise.
1188 (slow_map_char_id_table_fun): Likewise.
1189 (Fmap_char_attribute): Likewise.
1190 (syms_of_mule_charset): Add new function `map-char-attribute'.
1192 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1194 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1195 (syms_of_mule_charset): Add new function `find-char'.
1197 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1199 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1201 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1202 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1204 (complex_vars_of_mule_charset): Add new coded-charset
1205 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1206 `ideograph-gt-pj-*'.
1208 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1210 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1212 * mule-charset.c (encode_builtin_char_1): Purge codes about
1213 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1214 {MIN|MAX}_CHAR_HEBREW.
1215 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1216 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1218 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1219 (MAX_CHAR_GREEK): Purged.
1220 (MIN_CHAR_CYRILLIC): Purged.
1221 (MAX_CHAR_CYRILLIC): Purged.
1222 (MIN_CHAR_HEBREW): Commented out.
1223 (MAX_CHAR_HEBREW): Likewise.
1225 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1227 * mule-charset.c (Qto_ucs): New variable.
1228 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1229 (Fdefine_char): Likewise.
1230 (syms_of_mule_charset): Add new symbol `=>ucs'.
1232 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1234 * mule-charset.c (Fdecode_char): Fixed.
1236 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1238 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1239 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1242 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1244 * mule-charset.c (Vcharset_ucs_big5): New variable.
1245 (Qucs_big5): Likewise.
1246 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1247 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1249 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1251 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1253 * mule-charset.c (decode_builtin_char): Check Big5 code range
1254 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1256 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1258 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1259 (Qchinese_gb12345): Likewise.
1260 (Fdecode_builtin_char): Fixed.
1261 (syms_of_mule_charset): Add `chinese-gb12345'.
1262 (complex_vars_of_mule_charset): Add coded-charset
1265 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1266 (LEADING_BYTE_CHINESE_GB12345): New macro.
1268 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1270 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1271 and `latin-viscii-upper' for `latin-viscii'.
1273 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1275 * mule-charset.c (Fdecode_builtin_char): Comment out
1276 regularization code for ISO-IR GR representation.
1278 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1280 * mule-charset.c (decode_builtin_char): New function; renamed from
1281 `make_builtin_char'; return -1 instead of signal.
1282 (Fdecode_builtin_char): Use `decode_builtin_char'.
1284 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1285 `make_builtin_char'.
1286 (DECODE_CHAR): Use `decode_builtin_char' instead of
1287 `make_builtin_char'; use mapping table of `chinese-big5' for
1288 `chinese-big5-{1,2}'.
1290 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1292 * text-coding.c (char_encode_big5): New function.
1293 (char_finish_big5): Likewise.
1294 (reset_encoding_stream): Use `char_encode_big5' and
1295 `char_finish_big5' for CODESYS_BIG5.
1296 (mule_encode): Don't use `encode_coding_big5'.
1297 (encode_coding_big5): Deleted.
1299 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1301 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1302 0x81- in XEmacs UTF-2000.
1303 (detect_coding_big5): Likewise.
1305 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1307 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1308 generate character-id if the CCS property does not have
1309 corresponding predefined character.
1310 (make_builtin_char): Return -1 if corresponding predefined
1311 character is not found.
1312 (Fdecode_char): Return nil if corresponding character is not
1314 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1315 don't map to builtin ucs space.
1317 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1319 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1320 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1322 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1324 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1325 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1326 (Qideograph_gt): Likewise.
1327 (Qideograph_gt_pj_{1..11}): Likewise.
1328 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1329 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1330 `ideograph-gt-pj-11'.
1331 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1332 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1333 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1335 * char-ucs.h (LEADING_BYTE_GT): New macro.
1336 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1337 (MIN_CHAR_GT): Likewise.
1338 (MAX_CHAR_GT): Likewise.
1340 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1342 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1343 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1345 * doprnt.c (unsigned_int_converters): Add `c'.
1346 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1348 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1349 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1351 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1352 (MAX_CHAR_MOJIKYO_0): New macro.
1353 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1355 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1357 * mule-charset.c (Fdefine_char): Delete cemented out code.
1358 (encode_builtin_char_1): Modify for new allocation of builtin
1361 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1363 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1365 * mule-charset.c (Vcharset_ucs_cns): New variable.
1366 (Qucs_cns): New variable.
1367 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1368 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1370 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1372 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1374 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1376 * search.c (search_buffer): Make `charset_base_code' as
1377 character-id >> 6 to eliminate the corresponding last byte in
1378 UTF-8 representation [I'm not sure it is right thing].
1379 (boyer_moore): Likewise.
1381 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1383 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1384 representation in MULE.
1386 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1388 * text-coding.c (Fmake_coding_system): Use
1389 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1390 `EXTERNAL_PROPERTY_LIST_LOOP'.
1392 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1394 * text-coding.c (decode_output_utf8_partial_char): New function.
1395 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1397 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1399 * text-coding.c (decode_coding_utf8): Output original byte
1400 sequence if it is broken; change order of conditions.
1402 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1405 * mb-multibyte.h (BYTE_ASCII_P):
1406 Use bit ops for char-signedness safety.
1407 (BYTE_C0_P): Use bit ops for char-signedness safety.
1408 (BYTE_C1_P): Use bit ops for char-signedness safety.
1410 * character.h: (XCHAR_OR_CHAR_INT):
1411 Always use inline function.
1412 Remove redundant type checking assert() - XINT will abort quite
1415 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1417 * text-coding.c: (Fencode_shift_jis_char):
1418 (Fencode_big5_char):
1419 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1420 Replace 0 with '\0' when working with bytes.
1421 Replace initial "(" with "\(" in docstrings.
1423 (Fmake_coding_system):
1424 When type is ccl and value is vector, register it with a proper
1425 symbol. And checks whether the given ccl program is valid.
1426 (mule_decode): When calling ccl_driver, if src indicates
1427 NULL pointer, set an empty string instead.
1428 (mule_encode): Likewise.
1431 (detect_coding_sjis):
1432 (decode_coding_sjis):
1433 (detect_coding_big5):
1434 (decode_coding_big5):
1435 (detect_coding_ucs4):
1436 (decode_coding_ucs4):
1437 (detect_coding_utf8):
1438 (decode_coding_utf8):
1439 (detect_coding_iso2022):
1440 (decode_coding_iso2022):
1441 (decode_coding_no_conversion):
1443 Make all detecting and decoding functions take an Extbyte * arg.
1444 (text_encode_generic):
1445 (encode_coding_big5):
1446 (encode_coding_no_conversion):
1448 Make all encoding functions take a Bufbyte * arg.
1449 Use size_t instead of unsigned int for memory sizes.
1450 Only cast to unsigned char whenever dereferencing Extbyte *.
1452 (struct lrecord_description fcd_description_1): Use countof.
1453 (complex_vars_of_file_coding):
1454 Use countof instead of sizeof.
1455 Use CHECK_NATNUM instead of CHECK_INT.
1457 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1459 * mule-charset.c (Fget_char_attribute): Add new optional argument
1461 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1462 (remove_char_ccs): Likewise.
1464 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1466 * text-coding.c (char_encode_shift_jis): New implementation in
1468 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1471 * mule-charset.c (Vcharset_chinese_big5): New variable in
1473 (Qchinese_big5): New variable in UTF-2000.
1474 (BIG5_SAME_ROW): New macro in UTF-2000.
1475 (make_builtin_char): Use builtin characters of
1476 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1477 characters of `Vcharset_chinese_big5'.
1478 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1479 (complex_vars_of_mule_charset): Add new coded-charset
1480 `chinese-big5' in UTF-2000.
1482 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1483 (Vcharset_chinese_big5): New external variable declaration.
1484 (Vcharset_japanese_jisx0208_1990): Likewise.
1486 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1488 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1490 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1492 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1494 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1495 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1496 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1499 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1501 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1503 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1505 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1508 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1510 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1511 for `CHARSET_BY_ATTRIBUTES'.
1512 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1513 `CHARSET_BY_ATTRIBUTES'.
1515 * text-coding.c (struct decoding_stream): Rename member `CH' to
1517 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1518 (decode_coding_sjis): Likewise.
1519 (decode_coding_big5): Likewise.
1520 (decode_coding_ucs4): Likewise.
1521 (decode_coding_utf8): Likewise.
1522 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1523 `CHARSET_BY_ATTRIBUTES'.
1524 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1525 `str->counter'; decode 3, 4 bytes sets.
1526 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1528 (decode_coding_no_conversion): Use `str->cpos' instead of
1531 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1532 (Qmojikyo_2022_1): New variable.
1533 (make_charset): Don't use `CHARSET_TYPE_*'.
1534 (range_charset_code_point): Support coded-charset
1536 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1537 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1538 `CHARSET_BY_ATTRIBUTES'.
1539 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1540 `CHARSET_BY_ATTRIBUTES'.
1541 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1542 (complex_vars_of_mule_charset): Add new coded-charset
1545 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1546 interface; changed to inline function.
1548 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1549 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1550 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1551 (CHARSET_TYPE_94): Deleted.
1552 (CHARSET_TYPE_94X94): Deleted.
1553 (CHARSET_TYPE_96): Deleted.
1554 (CHARSET_TYPE_96X96): Deleted.
1555 (CHARSET_TYPE_128): Deleted.
1556 (CHARSET_TYPE_128X128): Deleted.
1557 (CHARSET_TYPE_256): Deleted.
1558 (CHARSET_TYPE_256X256): Deleted.
1559 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1561 (DECODE_MOJIKYO_2022): New inline function.
1562 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1563 `Vcharset_mojikyo_2022_1'.
1565 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1567 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1569 (put_byte_table): Likewise.
1570 (char_id_table_equal): Use `get_byte_table' [new implementation].
1572 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1574 * mule-charset.c: Include <limits.h> in UTF-2000.
1575 (BT_UINT8_MIN): New macro in UTF-2000.
1576 (BT_UINT8_MAX): New macro in UTF-2000.
1577 (BT_UINT8_t): New macro in UTF-2000.
1578 (BT_UINT8_nil): New macro in UTF-2000.
1579 (BT_UINT8_unbound): New macro in UTF-2000.
1580 (INT_UINT8_P): New inline function in UTF-2000.
1581 (UINT8_VALUE_P): New inline function in UTF-2000.
1582 (UINT8_ENCODE): New inline function in UTF-2000.
1583 (UINT8_DECODE): New inline function in UTF-2000.
1584 (mark_uint8_byte_table): New function in UTF-2000.
1585 (print_uint8_byte_table): New function in UTF-2000.
1586 (uint8_byte_table_equal): New function in UTF-2000.
1587 (uint8_byte_table_hash): New function in UTF-2000.
1588 (make_uint8_byte_table): New function in UTF-2000.
1589 (uint8_byte_table_same_value_p): New function in UTF-2000.
1590 (BT_UINT16_MIN): New macro in UTF-2000.
1591 (BT_UINT16_MAX): New macro in UTF-2000.
1592 (BT_UINT16_t): New macro in UTF-2000.
1593 (BT_UINT16_nil): New macro in UTF-2000.
1594 (BT_UINT16_unbound): New macro in UTF-2000.
1595 (INT_UINT16_P): New inline function in UTF-2000.
1596 (UINT16_VALUE_P): New inline function in UTF-2000.
1597 (UINT16_ENCODE): New inline function in UTF-2000.
1598 (UINT16_DECODE): New inline function in UTF-2000.
1599 (UINT8_TO_UINT16): New inline function in UTF-2000.
1600 (mark_uint16_byte_table): New function in UTF-2000.
1601 (print_uint16_byte_table): New function in UTF-2000.
1602 (uint16_byte_table_equal): New function in UTF-2000.
1603 (uint16_byte_table_hash): New function in UTF-2000.
1604 (make_uint16_byte_table): New function in UTF-2000.
1605 (uint16_byte_table_same_value_p): New function in UTF-2000.
1606 (print_byte_table): New function in UTF-2000.
1607 (byte-table): Use `print_byte_table' as printer.
1608 (make_byte_table): Delete second argument `older'.
1609 (byte_table_same_value_p): New function in UTF-2000.
1610 (copy_byte_table): Deleted.
1611 (get_byte_table): New function in UTF-2000.
1612 (put_byte_table): New function in UTF-2000.
1613 (print_char_id_table): New function in UTF-2000.
1614 (char-id-table): Use `print_char_id_table' as printer.
1615 (make_char_id_table): Delete second argument `older'.
1616 (get_char_id_table): Use `get_byte_table [new implementation].
1617 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1619 (Ffind_char_attribute_table): New function in UTF-2000.
1620 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1621 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1622 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1623 (syms_of_mule_charset): Add new function
1624 `find-char-attribute-table' in UTF-2000.
1626 * lrecord.h (enum lrecord_type): Add
1627 `lrecord_type_uint16_byte_table' and
1628 `lrecord_type_uint8_byte_table'.
1630 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1631 (Lisp_Uint8_Byte_Table): New type.
1632 (XUINT8_BYTE_TABLE): New macro.
1633 (XSETUINT8_BYTE_TABLE): New macro.
1634 (UINT8_BYTE_TABLE_P): New macro.
1635 (GC_UINT8_BYTE_TABLE_P): New macro.
1636 (struct Lisp_Uint16_Byte_Table): New structure.
1637 (Lisp_Uint16_Byte_Table): New type.
1638 (XUINT16_BYTE_TABLE): New macro.
1639 (XSETUINT16_BYTE_TABLE): New macro.
1640 (UINT16_BYTE_TABLE_P): New macro.
1641 (GC_UINT16_BYTE_TABLE_P): New macro.
1643 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1645 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1646 (Vcharacter_ideographic_strokes_table): Deleted.
1647 (Vcharacter_total_strokes_table): Deleted.
1648 (Vcharacter_morohashi_daikanwa_table): Deleted.
1649 (Vcharacter_decomposition_table): Deleted.
1650 (Qname): Deleted because it is duplicated.
1651 (Qideographic_radical): Deleted.
1652 (Qideographic_strokes): Deleted.
1653 (Qtotal_strokes): Deleted.
1654 (Qmorohashi_daikanwa): Deleted.
1655 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1656 `ideographic-radical', `ideographic-strokes', `total-strokes',
1657 `morohashi-daikanwa' and `->decomposition'.
1658 (Fget_char_attribute): Likewise.
1659 (Fput_char_attribute): Likewise; use `make-vector' instead of
1660 `make_older_vector' for `->decomposition' value.
1661 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1662 `ideograph-daikanwa'.
1663 (syms_of_mule_charset): Delete builtin symbols `name',
1664 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1665 `morohashi-daikanwa'.
1666 (vars_of_mule_charset): Don't setup
1667 `Vcharacter_ideographic_radical_table',
1668 `Vcharacter_ideographic_strokes_table',
1669 `Vcharacter_total_strokes_table',
1670 `Vcharacter_morohashi_daikanwa_table' and
1671 `Vcharacter_decomposition_table'.
1673 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1675 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1676 `make_older_vector', `make_vector_newer_1' and
1677 `make_vector_newer'.
1679 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1680 `make_older_vector' and `make_vector_newer'.
1682 * config.h.in (HAVE_GGC): New macro.
1684 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1686 * mule-charset.c (struct char_attribute_list_closure): New
1687 structure in UTF-2000.
1688 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1689 (Fchar_attribute_list): Likewise.
1690 (Fset_charset_mapping_table): Use `make_vector_newer'.
1691 (Fdecode_builtin_char): New function in UTF-2000.
1692 (syms_of_mule_charset): Add new function `char-attribute-list' and
1693 `decode-builtin-char' in UTF-2000.
1695 * lisp.h (make_vector_newer): New prototype.
1697 * alloc.c (make_vector_newer_1): New function.
1698 (make_vector_newer): New function.
1700 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1702 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1705 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1707 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1708 (Vcharacter_attribute_table): Deleted.
1709 (Vcharacter_name_table): Deleted.
1710 (put_char_attribute): Deleted.
1711 (remove_char_attribute): Deleted.
1712 (struct char_attribute_alist_closure): New structure.
1713 (add_char_attribute_alist_mapper): New function.
1714 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1715 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1716 (Fget_char_attribute): Likewise.
1717 (Fput_char_attribute): Likewise.
1718 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1719 of `remove_char_attribute'.
1720 (Fdefine_char): Return character.
1721 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1722 and `Vcharacter_name_table'.
1723 (complex_vars_of_mule_charset): Likewise
1724 `Vchar_attribute_hash_table'.
1726 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1728 * character.h (CHARC_CHARSET): New macro.
1729 (CHARC_CHARSET_ID): New macro.
1730 (CHARC_CODE_POINT): New macro.
1731 (CHARC_COLUMNS): New macro.
1732 (CHARC_TO_CHAR): New inline function.
1733 (CHARC_EQ): New inline function.
1734 (CHARC_ASCII_EQ): New inline function.
1735 (CHARC_IS_SPACE): New inline function.
1736 (ASCII_TO_CHARC): New inline function.
1738 * char-ucs.h (encode_char_2): Deleted.
1739 (ENCODE_CHAR): Use `encode_char_1' again.
1740 (breakup_char_1): Likewise.
1741 (CHAR_TO_CHARC): New inline function.
1743 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1745 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1747 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1748 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1749 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1750 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1751 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1753 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1755 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1757 (x_output_display_block): Use `CHARC_CHARSET' and
1760 * redisplay-tty.c (tty_output_display_block): Use
1762 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1764 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1766 * insdel.c (find_charsets_in_charc_string): Use
1768 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1769 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1770 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1771 (convert_charc_string_into_malloced_string): Likewise.
1773 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1775 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1776 instead of <Emchar_dynarr *> for buf; use
1777 `convert_bufbyte_string_into_charc_dynarr' instead of
1778 `convert_bufbyte_string_into_emchar_dynarr'; use
1779 `find_charsets_in_charc_string' instead of
1780 `find_charsets_in_emchar_string'.
1783 - Include "character.h".
1784 (struct rune): New member `cglyph'; delete member `chr'.
1786 * redisplay.c (redisplay_text_width_charc_string): New function;
1787 delete `redisplay_text_width_emchar_string'.
1788 (rtw_charc_dynarr): New variable; renamed from
1789 `rtw_emchar_dynarr'.
1790 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
1791 `rtw_emchar_dynarr'; use
1792 `convert_bufbyte_string_into_charc_dynarr' instead of
1793 `convert_bufbyte_string_into_emchar_dynarr'; use
1794 `redisplay_text_width_charc_string' instead of
1795 `redisplay_text_width_emchar_string'.
1796 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1797 instead of `rtw_emchar_dynarr'; use
1798 `convert_bufbyte_string_into_charc_dynarr' instead of
1799 `convert_bufbyte_string_into_emchar_dynarr'.
1800 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1801 `redisplay_text_width_charc_string' instead of
1802 `redisplay_text_width_emchar_string'.
1803 (create_text_block): Modify for <struct rune> change.
1804 (generate_formatted_string_db): Likewise.
1805 (create_string_text_block): Likewise.
1806 (pixel_to_glyph_translation): Likewise.
1808 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
1809 instead of <const Emchar *>.
1810 (x_text_width): Likewise.
1811 (x_output_display_block): Use <Charc_dynarr *> instead
1812 <Emchar_dynarr *>; modify for <structure rune> change.
1813 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
1816 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
1817 <const Emchar *>; use `charc_string_displayed_columns' instead of
1818 `emchar_string_displayed_columns'.
1819 (tty_output_display_block): Use <Charc_dynarr *> instead of
1820 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
1821 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
1822 (tty_output_charc_dynarr_dynarr): New variable; renamed from
1823 `tty_output_emchar_dynarr_dynarr'.
1824 (tty_output_charc_dynarr): New function; delete
1825 `tty_output_charc_dynarr'.
1827 * redisplay-output.c (compare_runes): Modify for `struct rune'.
1828 (redisplay_output_layout): Use <Charc_dynarr *> instead of
1829 <Emchar_dynarr *> for buf; use
1830 `convert_bufbyte_string_into_charc_dynarr' instead of
1831 `convert_bufbyte_string_into_emchar_dynarr'.
1833 * frame.c (title_string_charc_dynarr): New variable; renamed from
1834 `title_string_emchar_dynarr'.
1835 (generate_title_string): Use `title_string_charc_dynarr' instead
1836 of `title_string_emchar_dynarr'; use
1837 `convert_charc_string_into_malloced_string' instead of
1838 `convert_emchar_string_into_malloced_string'.
1839 (init_frame): Use `title_string_charc_dynarr' instead of
1840 `title_string_emchar_dynarr'.
1843 - Include "character.h".
1844 (struct console_methods): Use <const Charc *> instead of <const
1845 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
1846 <Emchar_dynarr *> in output_string_method.
1848 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
1851 * console-stream.c (stream_text_width): Use <const Charc *>
1852 instead of <const Emchar *>.
1854 * character.h (Charc_dynarr): New type.
1856 * char-ucs.h (structure Charc): New structure; define new type
1859 * char-lb.h (DECODE_CHAR): New inline function.
1860 (encode_char_1): New inline function.
1861 (ENCODE_CHAR): New macro.
1862 (structure Charc): New structure; define new type `Charc'.
1864 * char-1byte.h (Vcharset_control_1): New macro.
1865 (Vcharset_latin_iso8859_1): New macro.
1866 (DECODE_CHAR): New inline function.
1867 (encode_char_1): New inline function.
1868 (ENCODE_CHAR): New macro.
1869 (structure Charc): New structure; define new type `Charc'.
1871 * insdel.c (find_charsets_in_charc_string): New function; delete
1872 `find_charsets_in_emchar_string'.
1873 (charc_string_displayed_columns): New function; delete
1874 `emchar_string_displayed_columns'.
1875 (convert_bufbyte_string_into_charc_dynarr): New function; delete
1876 `convert_bufbyte_string_into_emchar_dynarr'.
1877 (convert_charc_string_into_bufbyte_dynarr): New function; delete
1878 `convert_charc_string_into_bufbyte_dynarr'.
1879 (convert_charc_string_into_malloced_string): New function; delete
1880 `convert_charc_string_into_malloced_string'.
1882 * buffer.h (find_charsets_in_charc_string): New prototype; delete
1883 `find_charsets_in_emchar_string'.
1884 (charc_string_displayed_columns): New prototype; delete
1885 `emchar_string_displayed_columns'.
1886 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
1887 `convert_charc_string_into_bufbyte_dynarr'.
1888 (convert_charc_string_into_malloced_string): New prototype; delete
1889 `convert_charc_string_into_malloced_string'.
1891 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1893 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
1895 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1897 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
1899 * char-ucs.h: Use <short> for <Charset_ID>.
1901 * mule-charset.h, char-1byte.h: Use <unsigned char> for
1904 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1906 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1909 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1911 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
1913 (Qmorohashi_daikanwa): New variable.
1914 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
1915 for `morohashi-daikanwa' attribute.
1916 (Fget_char_attribute): Likewise.
1917 (Fput_char_attribute): Likewise.
1918 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
1919 has the same value of `ideograph-daikanwa'.
1920 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
1921 (vars_of_mule_charset): Setup
1922 `Vcharacter_morohashi_daikanwa_table'.
1924 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1926 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
1928 (add_charset_to_list_mapper): Add `key' instead of
1929 `XCHARSET_NAME (value)' to return aliases.
1931 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1933 * mule-charset.c (Vcharacter_ideographic_radical_table): New
1935 (Vcharacter_ideographic_strokes_table): New variable.
1936 (Qideographic_radical): New variable.
1937 (Qideographic_strokes): New variable.
1938 (Fchar_attribute_alist): Use
1939 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
1940 attribute; use `Vcharacter_ideographic_strokes_table' for
1941 `ideographic-strokes' attribute.
1942 (Fget_char_attribute): Likewise.
1943 (Fput_char_attribute): Likewise.
1944 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
1945 `ideographic-strokes'.
1946 (vars_of_mule_charset): Setup
1947 `Vcharacter_ideographic_radical_table' and
1948 `Vcharacter_ideographic_strokes_table'.
1950 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1952 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
1953 (Qtotal_strokes): New variable.
1954 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
1955 `total-strokes' attribute.
1956 (Fget_char_attribute): Likewise.
1957 (Fput_char_attribute): Likewise.
1958 (syms_of_mule_charset): Add new symbol `total-strokes'.
1959 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
1961 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1963 * mule-charset.c (Vcharacter_decomposition_table): New variable.
1964 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
1966 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
1967 `->decomposition' attribute.
1968 (Fput_char_attribute): Likewise.
1969 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
1971 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1973 * mule-charset.c (decoding_table_check_elements): New function.
1974 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
1976 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1978 * mule-charset.c (Fset_charset_mapping_table): Use
1979 `put_char_ccs_code_point'.
1981 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1983 * mule-charset.c (decoding_table_put_char): New inline function.
1984 (put_char_ccs_code_point): Use `decoding_table_put_char'.
1986 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1988 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
1989 (XCHARSET_BYTE_SIZE): New macro.
1990 (decoding_table_remove_char): New inline function.
1991 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
1992 `decoding_table_remove_char'.
1993 (remove_char_ccs): Use `decoding_table_remove_char'.
1994 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
1996 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1998 * mule-charset.c (Vcharacter_name_table): New variable.
1999 (Qname): New variable.
2000 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2002 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2003 `Vcharacter_name_table' for `name' attribute.
2004 (Fremove_char_attribute): Use function `remove_char_ccs'.
2005 (put_char_ccs_code_point): New function.
2006 (remove_char_ccs): New function.
2007 (syms_of_mule_charset): Add new symbol `name'.
2008 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2010 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2012 * mule-charset.c (make_byte_table): Add new argument `older'.
2013 (make_char_id_table): Likewise.
2014 (copy_char_id_table): Comment out because it is not used.
2015 (put_char_id_table): Modify for `make_byte_table'.
2016 (Fput_char_attribute): Make encoding_table as older object;
2017 inherit older bit of `Vcharacter_composition_table'.
2018 (mark_charset): Don't mark `cs->encoding_table'.
2019 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2020 normal object; make `Vcharacter_composition_table' as an older
2021 object; delete staticpro for `Vcharacter_composition_table'; make
2022 `Vcharacter_variant_table' as a normal object.
2024 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2025 (mark_object): Don't check older object in UTF-2000.
2027 * lrecord.h (struct lrecord_header): Add new member `older' in
2029 (set_lheader_implementation): Setup `SLI_header->older' in
2031 (set_lheader_older_implementation): New macro in UTF-2000.
2032 (OLDER_RECORD_P): New macro in UTF-2000.
2033 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2034 (alloc_older_lcrecord): New prototype in UTF-2000.
2035 (alloc_older_lcrecord_type): New macro in UTF-2000.
2037 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2039 * mule-charset.c (byte_table_description): Use
2040 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2041 (char_id_table_description): Delete bogus `, 1'.
2042 (Fget_char_attribute): Refer encoding_table of each coded-charset
2043 to get value of coded-charset attribute of a character.
2044 (Fput_char_attribute): Use `make_older_vector' instead of
2045 `make_vector'; use encoding_table of each coded-charset to store
2046 value of coded-charset attribute of a character.
2047 (Fremove_char_attribute): Use encoding_table of each coded-charset
2048 to store value of coded-charset attribute of a character.
2049 (mark_charset): Mark `cs->encoding_table'; don't mark
2050 `cs->decoding_table'.
2051 (charset_description): Add description of new member
2053 (make_charset): Initialize `encoding_table'.
2055 * char-ucs.h (struct Lisp_Charset): Add new member
2057 (CHARSET_ENCODING_TABLE): New macro.
2058 (XCHARSET_ENCODING_TABLE): New macro.
2059 (charset_code_point): New implementation.
2060 (encode_char_1): Likewise.
2062 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2063 (disksave_object_finalization_1): Call finalizers of
2064 `all_older_lcrecords' in UTF-2000.
2065 (make_older_vector): New function in UTF-2000.
2066 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2069 * lisp.h (make_older_vector): New prototype in UTF-2000.
2071 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2073 * lrecord.h (enum lrecord_type): Rename
2074 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2076 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2077 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2078 `get_char_code_table'.
2080 * mule-charset.c (mark_char_id_table): Renamed from
2081 `mark_char_code_table'.
2082 (char_id_table_equal): Renamed from `char_code_table_equal'.
2083 (char_id_table_hash): Renamed from `char_code_table_hash'.
2084 (make_char_id_table): Renamed from `make_char_code_table'.
2085 (copy_char_id_table): Renamed from `copy_char_code_table'.
2086 (get_char_id_table): Renamed from `get_char_code_table'.
2087 (put_char_id_table): Renamed from `put_char_code_table'.
2088 (to_char_id): Renamed from `to_char_code'.
2090 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2091 `Lisp_Char_Code_Table'.
2092 (char_id_table): Renamed from `char_code_table'.
2093 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2094 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2095 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2096 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2097 (get_char_id_table): Renamed from `get_char_code_table'.
2099 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2101 * lrecord.h (enum lrecord_type): Rename
2102 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2104 * mule-charset.c (mark_byte_table): Renamed from
2105 `mark_char_byte_table'.
2106 (byte_table_equal): Renamed from `char_byte_table_equal'.
2107 (byte_table_hash): Renamed from `byte_table_hash'.
2108 (make_byte_table): Renamed from `make_byte_table'.
2109 (copy_byte_table): Renamed from `copy_char_byte_table'.
2111 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2112 `Lisp_Char_Byte_Table'.
2113 (byte_table): Renamed from `char_byte_table'.
2114 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2115 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2116 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2117 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2119 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2121 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2122 (dfc_convert_to_internal_format): Likewise.
2124 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2125 * text-coding.c (Fcoding_system_alias_p): New function.
2126 * text-coding.c (Fcoding_system_aliasee): New function.
2127 * text-coding.c (append_suffix_to_symbol): New function.
2128 * text-coding.c (dangling_coding_system_alias_p): New function.
2129 * text-coding.c (Ffind_coding_system):
2130 * text-coding.c (Fcopy_coding_system):
2131 * text-coding.c (encode_coding_no_conversion):
2132 * text-coding.c (syms_of_file_coding):
2133 * text-coding.c (vars_of_file_coding):
2134 Rewrite coding system alias code.
2135 Allow nested aliases, like symbolic links.
2136 Allow redefinition of coding system aliases.
2137 Prevent existence of dangling coding system aliases.
2138 Eliminate convert_to_external_format.
2139 Eliminate convert_to_internal_format.
2141 * text-coding.c: Change enum eol_type to eol_type_t.
2143 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2145 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2146 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2148 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2149 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2151 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2153 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2154 `ideograph-daikanwa'.
2156 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2157 (Vcharset_ucs_bmp): Likewise.
2158 (Vcharset_mojikyo): Add new extern variable definition.
2159 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2160 (Vcharset_latin_iso8859_3): Likewise.
2161 (Vcharset_latin_iso8859_4): Likewise.
2162 (Vcharset_latin_iso8859_9): Likewise.
2163 (Vcharset_latin_viscii_lower): Likewise.
2164 (Vcharset_latin_viscii_upper): Likewise.
2165 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2166 `mojikyo' code-point is used to decode.
2167 (encode_char_2): New function [to convert `mojikyo' code-point to
2168 Mojikyo font encoding].
2169 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2170 (breakup_char_1): Likewise.
2171 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2173 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2175 * text-coding.c (Fmake_coding_system): Add document about
2176 `disable-composition' property.
2178 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2180 * text-coding.c (Qdisable_composition): New variable; delete
2182 (Fmake_coding_system): Add new property `disable-composite';
2183 delete property `composite'.
2184 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2185 instead of `!CODING_SYSTEM_COMPOSITE'.
2186 (syms_of_file_coding): Add new symbol `disable-composition';
2187 delete symbol `composite'.
2189 * file-coding.h (struct Lisp_Coding_System): Add
2190 `disable_composition'; delete `enable_composition'.
2191 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2192 `CODING_SYSTEM_COMPOSITE'.
2193 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2194 `XCODING_SYSTEM_COMPOSITE'.
2196 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2198 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2201 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2203 * text-coding.c (Qcomposite): New variable.
2204 (Fmake_coding_system): Add new property `composite'.
2205 (struct decoding_stream): Add `combined_char_count',
2206 `combined_chars' and `combining_table' in UTF-2000.
2207 (COMPOSE_FLUSH_CHARS): New macro.
2208 (COMPOSE_ADD_CHAR): New macro.
2209 (reset_decoding_stream): Reset `str->combined_char_count' and
2210 `str->combining_table' in UTF-2000.
2211 (decode_coding_iso2022): Modify for character-decomposition.
2212 (syms_of_file_coding): Add new symbol `composite'.
2214 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2216 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2217 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2218 of `Vcharacter_composition_table' if `->decomposition' property
2220 (Qlatin_tcvn5712): New variable.
2221 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2222 (complex_vars_of_mule_charset): Add new coded-charset
2225 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2227 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2229 * file-coding.h (struct Lisp_Coding_System): Add
2230 `enable_composition'.
2231 (CODING_SYSTEM_COMPOSITE): New macro.
2232 (XCODING_SYSTEM_COMPOSITE): New macro.
2234 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2236 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2238 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2240 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2241 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2243 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2245 * mule-charset.c (Vcharset_mojikyo): New variable.
2246 (Fdefine_char): Don't use coded-charset which does not have
2247 non-builtin character range to allocate character-id.
2248 (Qmojikyo): New variable.
2249 (syms_of_mule_charset): Add new symbol `mojikyo'.
2250 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2252 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2253 (LEADING_BYTE_MOJIKYO): New macro.
2254 (MIN_CHAR_MOJIKYO): New macro.
2255 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2256 (MAX_CHAR_MOJIKYO): New macro.
2258 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2260 * mule-charset.c (remove_char_attribute): Fixed.
2262 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2264 * mule-charset.c (remove_char_attribute): New function.
2265 (Fremove_char_attribute): New function.
2266 (encode_builtin_char_1): Comment out builtin-support for
2267 greek-iso8859-7 and cyrillic-iso8859-5.
2268 (Fdecode_char): Check `code' is an integer.
2269 (syms_of_mule_charset): Add `remove-char-attribute'.
2270 (MIN_CHAR_GREEK): Deleted.
2271 (MAX_CHAR_GREEK): Likewise.
2272 (MIN_CHAR_CYRILLIC): Likewise.
2273 (MAX_CHAR_CYRILLIC): Likewise.
2274 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2275 MAX_CHAR_GREEK for `greek-iso8859-7'.
2277 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2278 (MAX_CHAR_GREEK): Likewise.
2279 (MIN_CHAR_CYRILLIC): Likewise.
2280 (MAX_CHAR_CYRILLIC): Likewise.
2282 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2284 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2285 format is used without `ucs' property.
2286 (Fdecode_char): Fix problem with GR representation.
2287 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2288 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2290 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2292 * mule-charset.c (make_builtin_char): New function.
2293 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2294 (Fset_charset_mapping_table): Modify for new representation of
2296 (Fdecode_char): New function.
2297 (syms_of_mule_charset): Add new builtin function `decode-char' in
2300 * char-ucs.h (make_builtin_char): New prototype.
2301 (DECODE_CHAR): New inline function.
2302 (MAKE_CHAR): Use `DECODE_CHAR'.
2304 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2306 * text-coding.c (parse_charset_conversion_specs): Use
2307 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2309 (iso2022_designate): Likewise.
2311 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2312 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2314 * mule-charset.c (Vcharset_ucs): New variable.
2315 (print_charset): Change design; use `CHARSET_CHARS' and
2316 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2317 (make_charset): Change signature to specify `chars' and
2318 `dimension' instead of `type'.
2319 (range_charset_code_point): Modify for 256^n-set.
2320 (encode_builtin_char_1): Encode as `ucs' in default.
2321 (Fmake_charset): Modify for `make_charset'.
2322 (Fmake_reverse_direction_charset): Likewise.
2323 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2325 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2328 * char-ucs.h (Vcharset_ucs): New variable.
2329 (LEADING_BYTE_UCS): New macro.
2330 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2331 and `chars' to `unsigned short' from `unsigned int'.
2332 (CHARSET_TYPE): Deleted.
2333 (XCHARSET_TYPE): Deleted.
2335 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2337 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2339 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2340 (ENCODE_CHAR): New macro.
2342 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2344 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2345 to 0.14 (Kawachi-Katakami).
2347 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2349 * text-coding.c (char_encode_shift_jis): Modify for
2350 `charset_code_point'.
2351 (char_encode_iso2022): Likewise.
2353 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2354 (integer) instead of list of <Lisp_Object>s (integers) as the
2355 format of code-point of a coded-charset.
2356 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2357 (encode_builtin_char_1): New function; delete
2358 `split_builtin_char'.
2359 (charset_code_point): Return <int> instead of <Lisp_Object>.
2360 (Fsplit_char): Don't use `SPLIT_CHAR'.
2362 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2363 prototype for `split_builtin_char'.
2364 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2365 (charset_code_point): Likewise.
2366 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2367 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2369 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2371 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2372 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2374 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2376 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2378 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2379 (MAX_CHAR_OBS_94x94): Deleted.
2381 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2383 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2385 * char-ucs.h (MAX_CHAR_BMP): New macro.
2387 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2389 * text-coding.c: Sync with r21-2-24.
2391 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2393 * file-coding.c: Modify for UTF-2000.
2395 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2397 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2400 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2402 * mule-charset.c (split_builtin_char): Delete builtin support for
2403 `katakana-jisx0201'.
2404 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2405 BMP area in builtin representation.
2407 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2408 `Vcharset_katakana_jisx0201'.
2410 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2412 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2413 (Qisolated): New variable.
2414 (Qinitial): New variable.
2415 (Qmedial): New variable.
2416 (Qfinal): New variable.
2417 (Qvertical): New variable.
2418 (Qsmall): New variable.
2419 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2420 `Qvertical' and `Qsmall'.
2421 (Qmojikyo_pj_[1 .. 21]): New variable.
2422 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2423 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2424 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2427 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2429 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2430 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2431 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2433 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2435 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2436 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2438 (Qjapanese_jisx0208_1990): New variable.
2439 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2440 (complex_vars_of_mule_charset): Add new coded-charset
2441 `japanese-jisx0208-1990'.
2443 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2444 (MIN_CHAR_JIS_X0208_1990): New macro.
2445 (MAX_CHAR_JIS_X0208_1990): New macro.
2447 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2449 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2450 coded-charset is not found.
2452 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2454 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2455 (Fdefine_char): Use `Fmake_char'.
2457 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2459 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2460 (Vcharset_hiragana_jisx0208): Deleted.
2461 (Vcharset_katakana_jisx0208): Deleted.
2462 (Qideograph_daikanwa): New variable.
2463 (Qhiragana_jisx0208): Deleted.
2464 (Qkatakana_jisx0208): Deleted.
2465 (split_builtin_char): Split `ideograph-daikanwa'.
2466 (Fsplit_char): New implementation for UTF-2000.
2467 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2468 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2469 (complex_vars_of_mule_charset): Add new coded-charset
2470 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2471 `katakana-jisx0208'.
2473 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2474 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2475 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2476 (MIN_CHAR_DAIKANWA): New macro.
2477 (MAX_CHAR_DAIKANWA): New macro.
2479 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2481 * data.c (Fstring_to_number): Don't recognize floating point if
2484 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2486 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2488 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2490 * mule-charset.c (Qsquare): New variable.
2491 (to_char_code): Add `Qsquare'.
2492 (syms_of_mule_charset): Add new symbol `square'.
2494 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2496 * mule-charset.c (Qcircle): New variable.
2497 (to_char_code): Add `Qcircle'.
2498 (syms_of_mule_charset): Add new symbol `circle'.
2500 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2502 * mule-charset.c (Qfont): New variable.
2503 (to_char_code): Add `Qfont'.
2504 (syms_of_mule_charset): Add new symbol `font'.
2506 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2508 * mule-charset.c (Qsub): New variable.
2509 (to_char_code): Add `Qsub'.
2510 (syms_of_mule_charset): Add new symbol `sub'.
2512 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2514 * mule-charset.c (Fput_char_attribute): Convert each element of
2515 VALUE to GL position if ATTRIBUTE is a GR-set,
2517 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2519 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2520 coded-charset is a GR-set.
2522 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2524 * mule-charset.c (Fput_char_attribute): Check each element of
2525 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2527 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2529 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2531 (Qethiopic_ucs): New variable in UTF-2000.
2532 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2533 (complex_vars_of_mule_charset): Add new coded-charset
2534 `ethiopic-ucs' in UTF-2000.
2536 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2537 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2539 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2541 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2543 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2545 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2548 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2550 * mule-charset.c (Vcharacter_variant_table): New variable.
2551 (Q_ucs): New variable.
2552 (Fchar_variants): New function.
2553 (Fput_char_attribute): Register `->ucs' value to
2554 `Vcharacter_variant_table'.
2555 (syms_of_mule_charset): Add new function `char-variants' and new
2557 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2559 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2561 * mule-charset.c (get_char_code_table): Allow negative character
2563 (put_char_code_table): Likewise.
2564 (Vcharacter_composition_table): New variable.
2565 (Q_decomposition): New variable.
2566 (Qwide): New variable.
2567 (Qnarrow): New variable.
2568 (Qcompat): New variable.
2569 (QnoBreak): New variable.
2570 (Qsuper): New variable.
2571 (Qfraction): New variable.
2572 (to_char_code): New function.
2573 (Fget_composite_char): New function.
2574 (Fput_char_attribute): Register `->decomposition' value to
2575 `Vcharacter_composition_table'.
2576 (syms_of_mule_charset): Add new function `get-composite-char', new
2577 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2578 `super' and `fraction'.
2579 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2581 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2583 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2584 character; copy the return value.
2586 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2588 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2590 * mule-charset.c (range_charset_code_point): Must use make_int.
2591 (split_builtin_char): New function.
2593 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2595 * mule-charset.c (char_byte_table): Change name from
2596 "char-code-table" to "char-byte-table".
2597 (mark_char_code_table): New function.
2598 (char_code_table_equal): New function.
2599 (char_code_table_hash): New function.
2600 (char_code_table_description): New constant.
2601 (char_code_table): New type.
2602 (make_char_code_table): New function.
2603 (copy_char_code_table): New function.
2604 (get_char_code_table): Modify for `char_code_table' type.
2605 (put_char_code_table): Likewise.
2606 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2609 * char-ucs.h (char_code_table): New type.
2610 (XCHAR_CODE_TABLE): New macro.
2611 (XSETCHAR_CODE_TABLE): New macro.
2612 (CHAR_CODE_TABLE_P): New macro.
2613 (GC_CHAR_CODE_TABLE_P): New macro.
2614 (struct Lisp_Char_Code_Table): New structure.
2616 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2618 * mule-charset.c (Fmake_charset): Setup byte_offset for
2621 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2623 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2626 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2628 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2631 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2633 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2634 charset, it is regarded as a charset.
2635 (put_char_attribute): New function in UTF-2000.
2636 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2637 charset, mapping-table of the charset is modified.
2638 (Fdefine_char): New function in UTF-2000.
2639 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2640 `Fput_char_attribute'.
2641 (syms_of_mule_charset): Add new function `define-char' and new
2642 symbol `ucs' in UTF-2000.
2643 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2645 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2647 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2648 non-UTF-2000 configuration.
2650 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2652 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2653 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2655 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2657 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2658 (Fset_charset_mapping_table): Likewise.
2660 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2661 (CHARSET_ENCODING_TABLE): Delete.
2662 (XCHARSET_ENCODING_TABLE): Delete.
2663 (charset_code_point): New interface.
2665 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2667 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2668 instead of `charset_get_byte1' and `charset_get_byte2'.
2670 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2671 (charset_get_byte2): Deleted.
2673 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2675 * char-ucs.h (SPLIT_CHAR): New inline function.
2676 (breakup_char_1): Use `SPLIT_CHAR'.
2678 * mule-charset.c (range_charset_code_point): New function.
2679 (charset_code_point): New function.
2681 * char-ucs.h (range_charset_code_point): New interface.
2682 (breakup_char_1): Use `range_charset_code_point'.
2684 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2686 * mule-charset.c (Fmake_charset): Delete unused local variable
2689 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2690 (breakup_char_1): Find a charset and code-point in
2691 `Vcharacter_attribute_table'.
2693 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2695 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2698 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2700 * mule-charset.c (Vcharacter_attribute_table): New variable.
2701 (Fchar_attribute_alist): New function.
2702 (Fget_char_attribute): New function.
2703 (Fput_char_attribute): New function.
2704 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2706 (syms_of_mule_charset): Add new function `char-attribute-alist',
2707 `get-char-attribute' and `put-char-attribute'.
2708 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2710 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2712 * mule-charset.c (Fmake_charset): Just use
2713 `get_unallocated_leading_byte'.
2715 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2716 sets; don't use final-byte based number for private sets.
2718 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2720 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2723 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2725 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2728 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2730 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2731 of `CHAR_LEADING_BYTE' in UTF-2000.
2733 * insdel.c (find_charsets_in_bufbyte_string): Use
2734 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2735 (find_charsets_in_emchar_string): Likewise.
2737 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2738 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2740 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2741 (CHAR_CHARSET_ID): New macro.
2743 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2745 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2746 charset-id - MIN_LEADING_BYTE.
2747 (put_char_table): Likewise.
2749 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2751 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2752 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2753 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2754 (CHARSET_ID_OFFSET): New macro.
2755 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2756 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2757 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2758 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2760 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2762 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2763 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2764 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2765 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2766 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2768 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2770 * mule-charset.c (next_allocated_leading_byte): New variable in
2772 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2773 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2774 (get_unallocated_leading_byte): Simply use
2775 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2776 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2779 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2780 (MAX_LEADING_BYTE_PRIVATE): New macro.
2781 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2782 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2784 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2786 * mule-charset.c (Fmake_charset): Allocate final-byte based
2787 charset-id for 94-set, 96-set and 94x94-set.
2789 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2791 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
2793 (Fmake_charset): Likewise.
2794 (complex_vars_of_mule_charset): Modify the font registry of
2795 `ucs-bmp' not to match `Ethiopic-Unicode'.
2797 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2799 * mule-charset.c (complex_vars_of_mule_charset): Add font
2800 registory of `ucs-bmp'.
2802 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2804 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2805 coded-charsets in `default-coded-charset-priority-list' when
2806 breaking up a character.
2808 * mule-charset.c (Vcharset_latin_viscii): New variable.
2809 (Qlatin_viscii): New variable.
2810 (make_charset): Don't use `decoding_table'.
2811 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
2813 (Fset_charset_mapping_table): New implementation.
2814 (syms_of_mule_charset): Add new symbol `latin-viscii'.
2815 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
2816 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
2817 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
2818 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
2819 charset `latin_viscii'.
2821 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
2822 (CHARSET_TYPE_94X94): Change to 1 from 2.
2823 (CHARSET_TYPE_96): Change to 2 from 1.
2824 (CHARSET_TYPE_128): New macro.
2825 (CHARSET_TYPE_128X128): Change to 5 from 4.
2826 (CHARSET_TYPE_256): New macro.
2827 (CHARSET_TYPE_256X256): Change to 7 from 5.
2828 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
2830 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2832 * text-coding.c (char_encode_shift_jis): Refer
2833 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
2834 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
2836 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
2837 (char_byte_table_equal): New function in UTF-2000.
2838 (char_byte_table_hash): New function in UTF-2000.
2839 (char_byte_table_description): New constant in UTF-2000.
2840 (char_byte_table): New type in UTF-2000.
2841 (make_char_byte_table): New function in UTF-2000.
2842 (copy_char_byte_table): New function in UTF-2000.
2843 (make_char_code_table): New macro in UTF-2000.
2844 (get_char_code_table): New function in UTF-2000.
2845 (put_char_code_table): New function in UTF-2000.
2846 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2847 (charset_description): Add setting in UTF-2000.
2848 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
2849 `CHARSET_TO_BYTE1_TABLE(cs)'.
2850 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
2851 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
2852 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
2853 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
2854 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
2855 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
2856 `CHARSET_TO_BYTE2_TABLE(cs)'.
2858 * char-ucs.h (char_byte_table): New type.
2859 (XCHAR_BYTE_TABLE): New macro.
2860 (XSETCHAR_BYTE_TABLE): New macro.
2861 (CHAR_BYTE_TABLE_P): New macro.
2862 (GC_CHAR_BYTE_TABLE_P): New macro.
2863 (struct Lisp_Char_Byte_Table): New structure.
2864 (get_char_code_table): New interface.
2865 (Emchar_to_byte_table): Deleted.
2866 (get_byte_from_character_table): Deleted.
2867 (struct Lisp_Charset): Add `encoding_table'; delete
2868 `to_byte1_table' and `to_byte2_table'.
2869 (CHARSET_ENCODING_TABLE): New macro.
2870 (CHARSET_TO_BYTE1_TABLE): Deleted.
2871 (CHARSET_TO_BYTE2_TABLE): Deleted.
2872 (XCHARSET_ENCODING_TABLE): New macro.
2873 (XCHARSET_TO_BYTE1_TABLE): Deleted.
2874 (XCHARSET_TO_BYTE2_TABLE): Deleted.
2876 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2878 * mule-charset.c (syms_of_mule_charset): Delete charset alias
2879 `vietnamese-viscii-*'.
2881 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2883 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
2884 (Qvietnamese_viscii_upper): New variable.
2885 (Fdefine_charset_alias): New function.
2886 (syms_of_mule_charset): Add new function `define-charset-alias'.
2887 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
2888 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
2891 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
2893 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
2894 (MAX_CHAR_OBS_94x94): New macro.
2895 (breakup_char_1): Support obsolete XEmacs-UCS private code space
2898 * mule-charset.c (put_byte_from_character_table): Change unit size
2900 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
2902 (Fmake_reverse_direction_charset): Modify dummy argument of
2903 `make_charset' for non-UTF-2000 environment.
2905 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2907 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
2909 * mule-charset.c (destroy_byte_from_character_table): New macro.
2910 (latin_jisx0201_to_ucs): Deleted.
2911 (latin_iso8859_2_to_ucs): Deleted.
2912 (latin_iso8859_3_to_ucs): Deleted.
2913 (latin_iso8859_4_to_ucs): Deleted.
2914 (latin_iso8859_9_to_ucs): Deleted.
2915 (latin_viscii_lower_to_ucs): Deleted.
2916 (latin_viscii_upper_to_ucs): Deleted.
2917 (mark_charset): Mark `cs->decoding_table'.
2918 (Fcharset_mapping_table): Fix DOC-string.
2919 (Fset_charset_mapping_table): New function.
2920 (syms_of_mule_charset): Add nwe function
2921 `set-charset-mapping-table'.
2922 (complex_vars_of_mule_charset): Don't setup and use
2925 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
2927 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
2930 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
2932 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
2933 (Vcharset_katakana_jisx0208): New variable.
2934 (Qhiragana_jisx0208): New variable.
2935 (Qkatakana_jisx0208): New variable.
2936 (make_charset): Add new argument `byte_offset'.
2937 (charset_get_byte1): Modify for new coded-charset definition; use
2938 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2939 `XCHARSET_BYTE_OFFSET'.
2940 (Fmake_charset): Modify for `make_charset'.
2941 (Fmake_reverse_direction_charset): Likewise.
2942 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
2943 `katakana-jisx0208'.
2944 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
2945 `.' in font registry of charset `katakana-jisx0201',
2946 `latin-jisx0201', `vietnamese-viscii-lower' and
2947 `vietnamese-viscii-upper'; modify DOC-string of charset
2948 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
2949 registry of charset `japanese-jisx0208' not to use font for JIS
2950 X0208:1990; add new charset `hiragana-jisx0208' and
2951 `katakana-jisx0208'.
2953 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
2954 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
2955 (struct Lisp_Charset): Add `byte_offset'.
2956 (CHARSET_BYTE_OFFSET): New macro.
2957 (XCHARSET_UCS_MIN): New macro.
2958 (XCHARSET_UCS_MAX): New macro.
2959 (XCHARSET_CODE_OFFSET): New macro.
2960 (XCHARSET_BYTE_OFFSET): New macro.
2961 (MIN_CHAR_HIRAGANA): New macro.
2962 (MAX_CHAR_HIRAGANA): New macro.
2963 (MIN_CHAR_KATAKANA): New macro.
2964 (MAX_CHAR_KATAKANA): New macro.
2965 (MAKE_CHAR): Modify for new coded-charset definition; use
2966 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2967 `XCHARSET_BYTE_OFFSET'.
2969 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2971 * mule-charset.c (CHAR96): Deleted.
2972 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
2974 (latin_iso8859_2_to_ucs): Likewise.
2975 (latin_iso8859_3_to_ucs): Likewise.
2976 (latin_iso8859_4_to_ucs): Likewise.
2977 (latin_iso8859_9_to_ucs): Likewise.
2978 (latin_viscii_lower_to_ucs): Likewise.
2979 (latin_viscii_upper_to_ucs): Likewise.
2980 (latin_tcvn5712_to_ucs): Commented out.
2981 (make_charset): Change type of argument `decoding_table' from
2982 <Emchar*> to <Lisp_Object> [vector of characters].
2983 (Fmake_charset): Modify for `make_charset'.
2984 (Fmake_reverse_direction_charset): Likewise.
2985 (Fcharset_mapping_table): New function in UTF-2000.
2986 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
2988 (complex_vars_of_mule_charset): Modify for type change of
2989 `*_to_ucs'; modify for `make_charset'.
2991 * char-ucs.h (struct Lisp_Charset): Change type of
2992 `decoding_table' from <Emchar*> to <Lisp_Object>.
2993 (MAKE_CHAR): Modify for new specification of `decoding_table'.
2995 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2997 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
2998 error with non-UTF-2000-Mule.
3000 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3002 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3004 (Vcharset_chinese_cns11643_4): Likewise.
3005 (Vcharset_chinese_cns11643_5): Likewise.
3006 (Vcharset_chinese_cns11643_6): Likewise.
3007 (Vcharset_chinese_cns11643_7): Likewise.
3008 (Qchinese_cns11643_3): Likewise.
3009 (Qchinese_cns11643_4): Likewise.
3010 (Qchinese_cns11643_5): Likewise.
3011 (Qchinese_cns11643_6): Likewise.
3012 (Qchinese_cns11643_7): Likewise.
3013 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3014 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3015 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3016 (complex_vars_of_mule_charset): Likewise.
3018 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3020 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3022 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3023 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3025 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3027 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3029 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3030 (breakup_char_1): Likewise.
3032 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3033 one of them includes the specified character.
3035 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3037 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3039 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3041 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3043 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3045 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3046 definition for non-UTF-2000 Mule.
3047 (latin_iso8859_3_to_ucs): Likewise.
3048 (latin_iso8859_4_to_ucs): Likewise.
3049 (latin_iso8859_9_to_ucs): Likewise.
3050 (latin_jisx0201_to_ucs): Likewise.
3051 (MIN_CHAR_THAI): Likewise.
3052 (MAX_CHAR_THAI): Likewise.
3053 (MIN_CHAR_GREEK): Likewise.
3054 (MAX_CHAR_GREEK): Likewise.
3055 (MIN_CHAR_HEBREW): Likewise.
3056 (MAX_CHAR_HEBREW): Likewise.
3057 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3058 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3059 (MIN_CHAR_CYRILLIC): Likewise.
3060 (MAX_CHAR_CYRILLIC): Likewise.
3062 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3064 * char-ucs.h (breakup_char_1): Use
3065 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3066 thai-tis620 and katakana-jisx0201 area.
3068 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3070 * char-ucs.h (breakup_char_1): Use
3071 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3074 * text-coding.c (reset_encoding_stream): Fixed.
3075 (char_encode_ucs4): Delete `& 255'.
3077 * char-ucs.h (breakup_char_1): Use
3078 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3080 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3082 * file-coding.c (Fmake_coding_system): Don't set up
3083 `codesys->fixed.size'.
3084 (encode_coding_no_conversion): Don't refer
3085 `str->codesys->fixed.size'.
3087 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3089 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3090 (latin_a_char_to_byte1): Deleted.
3091 (latin_a_char_to_byte2): Deleted.
3093 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3095 * mule-charset.c (make_charset): Add new argument `ucs_min',
3096 `ucs_max' and `code_offset'.
3097 (charset_get_byte1): New implementation [delete specific charset
3098 depended implementations].
3099 (Fmake_charset): Modify for `make_charset'.
3100 (Fmake_reverse_direction_charset): Likewise.
3101 (complex_vars_of_mule_charset): Likewise.
3103 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3105 (CHARSET_UCS_MIN): New macro.
3106 (CHARSET_UCS_MAX): New macro.
3107 (CHARSET_CODE_OFFSET): New macro.
3108 (MAKE_CHAR): Delete charset depended definitions [except
3111 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3113 * char-ucs.h (breakup_char_1): Use
3114 `Vdefault_coded_charset_priority_list' for C0-Controls,
3115 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3117 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3119 * char-ucs.h (charset_get_byte1): New function.
3120 (XCHARSET_GET_BYTE1): Deleted.
3121 (charset_get_byte2): New function.
3122 (XCHARSET_GET_BYTE2): Deleted.
3123 (Vdefault_coded_charset_priority_list): New external variable.
3124 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3125 `Vdefault_preferred_coded_charset_list'.
3127 * mule-charset.c (charset_get_byte1): New function.
3128 (charset_get_byte2): New function.
3129 (Vdefault_coded_charset_priority_list): New variable.
3130 (vars_of_mule_charset): Add new variable
3131 `default-coded-charset-priority-list'.
3133 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3135 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3136 (XCHARSET_GET_BYTE2): New inline function.
3137 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3138 `XCHARSET_GET_BYTE2'.
3140 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3142 * mule-charset.c (make_charset): Initialize
3143 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3144 NULL if table is not defined.
3146 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3148 * text-coding.c (char_encode_shift_jis): Use
3149 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3150 `ucs_to_latin_jisx0201'.
3152 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3153 (ucs_to_latin_iso8859_2): Deleted.
3154 (ucs_to_latin_iso8859_3): Deleted.
3155 (ucs_to_latin_iso8859_4): Deleted.
3156 (ucs_to_latin_iso8859_9): Deleted.
3157 (ucs_to_latin_viscii_lower): Deleted.
3158 (ucs_to_latin_viscii_upper): Deleted.
3159 (ucs_to_latin_tcvn5712): Deleted.
3160 (make_charset): Add new argument `decoding_table'; set up
3161 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3162 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3163 `decoding_table' is defined in UTF-2000.
3164 (Fmake_charset): Modify for `make_charset'.
3165 (Fmake_reverse_direction_charset): Likewise.
3166 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3167 and `GENERATE_96_SET'.
3169 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3170 (ucs_to_latin_jisx0201): Deleted.
3171 (latin_iso8859_2_to_ucs): Deleted.
3172 (ucs_to_latin_iso8859_2): Deleted.
3173 (latin_iso8859_3_to_ucs): Deleted.
3174 (ucs_to_latin_iso8859_3): Deleted.
3175 (latin_iso8859_4_to_ucs): Deleted.
3176 (ucs_to_latin_iso8859_4): Deleted.
3177 (latin_iso8859_9_to_ucs): Deleted.
3178 (ucs_to_latin_iso8859_9): Deleted.
3179 (latin_viscii_lower_to_ucs): Deleted.
3180 (ucs_to_latin_viscii_lower): Deleted.
3181 (latin_viscii_upper_to_ucs): Deleted.
3182 (ucs_to_latin_viscii_upper): Deleted.
3183 (struct Lisp_Charset): Renamed `encoding_table' to
3184 `to_byte1_table'; add `to_byte2_table'.
3185 (CHARSET_DECODING_TABLE): New macro.
3186 (CHARSET_TO_BYTE1_TABLE): New macro.
3187 (CHARSET_TO_BYTE2_TABLE): New macro.
3188 (XCHARSET_DECODING_TABLE): New macro.
3189 (XCHARSET_TO_BYTE1_TABLE): New macro.
3190 (XCHARSET_TO_BYTE2_TABLE): New macro.
3191 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3193 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3194 don't use `ucs_to_*' tables.
3196 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3198 * text-coding.c (Fmake_coding_system): Don't set up
3199 `codesys->fixed.size'.
3200 (encode_coding_no_conversion): Use `if' instead of `switch'.
3202 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3204 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3206 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3207 (Fmake_charset): Modify for `make_charset'.
3208 (Fmake_reverse_direction_charset): Likewise.
3209 (complex_vars_of_mule_charset): Likewise.
3211 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3213 * text-coding.c (char_encode_shift_jis): Use table
3214 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3216 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3218 * text-coding.c (text_encode_generic): Use `if' instead of
3220 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3223 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3225 * text-coding.c (encode_coding_sjis): Deleted.
3226 (char_encode_shift_jis): New function.
3227 (char_finish_shift_jis): New function.
3228 (reset_encoding_stream): Set up `encode_char' and `finish' for
3229 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3230 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3231 (char_encode_utf8): Treat `eol_type'.
3233 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3235 * file-coding.c (decode_coding_iso2022): Use
3236 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3238 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3240 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3243 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3245 * char-lb.h (CHAR_COLUMNS): New macro.
3247 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3249 * text-coding.c (char_encode_ucs4): New function.
3250 (char_finish_ucs4): New function.
3251 (encode_coding_ucs4): Deleted.
3252 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3253 (text_encode_generic): Delete local variable `charset' and `half'.
3254 (ucs_to_mule_table): Deleted.
3255 (mule_to_ucs_table): Deleted.
3256 (Fset_ucs_char): Deleted.
3257 (ucs_to_char): Deleted.
3258 (Fucs_char): Deleted.
3259 (Fset_char_ucs): Deleted.
3260 (Fchar_ucs): Deleted.
3261 (decode_ucs4): Deleted.
3262 (mule_char_to_ucs4): Deleted.
3263 (encode_ucs4): Deleted.
3264 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3265 (decode_coding_utf8): Likewise.
3266 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3267 (char_encode_iso2022): Fixed.
3268 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3269 `Fset_char_ucs' and `Fchar_ucs'.
3270 (complex_vars_of_file_coding): Don't initialize
3271 `ucs_to_mule_table'.
3273 * objects-tty.c (tty_initialize_font_instance): Don't use
3276 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3279 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3280 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3282 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3283 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3284 (emchar_string_displayed_columns): Likewise.
3286 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3287 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3288 (string_column_at_point): Likewise.
3289 (Fmove_to_column): Likewise.
3291 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3292 `encoding_table' and `decoding_table'.
3293 (CHARSET_REP_BYTES): Deleted.
3294 (XCHARSET_REP_BYTES): Deleted.
3295 (XCHARSET_COLUMNS): Deleted.
3296 (CHAR_COLUMNS): New macro.
3297 (lookup_composite_char): Deleted unconditionally.
3298 (composite_char_string): Likewise.
3300 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3302 * char-ucs.h (Emchar_to_byte_table): New type.
3303 (get_byte_from_character_table): New function interface.
3304 (Vcharset_latin_jisx0201): New variable.
3305 (latin_jisx0201_to_ucs): New variable.
3306 (ucs_to_latin_jisx0201): New variable.
3307 (Vcharset_latin_iso8859_2): New variable.
3308 (latin_iso8859_2_to_ucs): New variable.
3309 (ucs_to_latin_iso8859_2): New variable.
3310 (Vcharset_latin_iso8859_3): New variable.
3311 (latin_iso8859_3_to_ucs): New variable.
3312 (ucs_to_latin_iso8859_3): New variable.
3313 (Vcharset_latin_iso8859_4): New variable.
3314 (latin_iso8859_4_to_ucs): New variable.
3315 (ucs_to_latin_iso8859_4): New variable.
3316 (Vcharset_latin_iso8859_9): New variable.
3317 (latin_iso8859_9_to_ucs): New variable.
3318 (ucs_to_latin_iso8859_9): New variable.
3319 (Vcharset_latin_viscii_lower): New variable.
3320 (latin_viscii_lower_to_ucs): New variable.
3321 (ucs_to_latin_viscii_lower): New variable.
3322 (Vcharset_latin_viscii_upper): New variable.
3323 (latin_viscii_upper_to_ucs): New variable.
3324 (ucs_to_latin_viscii_upper): New variable.
3325 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3326 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3327 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3328 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3329 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3330 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3331 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3332 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3333 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3334 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3336 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3337 (Vcharset_latin_viscii_upper): New variable.
3338 (make_byte_from_character_table): New function.
3339 (put_byte_from_character_table): New function.
3340 (get_byte_from_character_table): New function.
3341 (CHAR96): New macro.
3342 (ucs_to_latin_jisx0201): New variable.
3343 (latin_jisx0201_to_ucs): New variable.
3344 (ucs_to_latin_iso8859_2): New variable.
3345 (latin_iso8859_2_to_ucs): New variable.
3346 (ucs_to_latin_iso8859_3): New variable.
3347 (latin_iso8859_3_to_ucs): New variable.
3348 (ucs_to_latin_iso8859_4): New variable.
3349 (latin_iso8859_4_to_ucs): New variable.
3350 (ucs_to_latin_iso8859_9): New variable.
3351 (latin_iso8859_9_to_ucs): New variable.
3352 (ucs_to_latin_viscii_lower): New variable.
3353 (latin_viscii_lower_to_ucs): New variable.
3354 (ucs_to_latin_viscii_upper): New variable.
3355 (latin_viscii_upper_to_ucs): New variable.
3356 (ucs_to_latin_tcvn5712): New variable.
3357 (latin_tcvn5712_to_ucs): New variable.
3358 (Qlatin_viscii_lower): New variable.
3359 (Qlatin_viscii_upper): New variable.
3360 (syms_of_mule_charset): Set up new symbol
3361 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3362 (complex_vars_of_mule_charset): Set up new charset
3363 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3364 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3365 `ucs_to_<CHARSET>' tables.
3367 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3369 * text-coding.c: New file.
3371 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3373 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3375 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3376 (MAKE_CHAR): Modify for `ucs-bmp'.
3377 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3378 non-MULE characters of BMP.
3380 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3382 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3385 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3388 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3389 - Include character.h for `CHAR_ASCII_P'.
3391 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3393 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3394 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3396 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3397 (BYTE_C0_P): Likewise.
3398 (BYTE_C1_P): Likewise.
3399 (Lstream_get_emchar_1): Likewise.
3400 (Lstream_fput_emchar): Likewise.
3401 (Lstream_funget_emchar): Likewise.
3402 (copy_internal_to_external): Likewise.
3403 (copy_external_to_internal): Likewise.
3405 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3406 (BYTE_C0_P): Likewise.
3407 (BYTE_C1_P): Likewise.
3408 (Lstream_get_emchar_1): Likewise.
3409 (Lstream_fput_emchar): Likewise.
3410 (Lstream_funget_emchar): Likewise.
3411 (copy_internal_to_external): Likewise.
3412 (copy_external_to_internal): Likewise.
3414 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3415 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3417 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3418 (BYTE_ASCII_P): Moved to mb-1byte.h.
3420 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3422 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3424 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3425 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3426 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3427 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3428 (VALIDATE_CHARPTR_FORWARD): Likewise.
3429 (simple_charptr_emchar): Moved to mb-multibyte.h.
3430 (simple_set_charptr_emchar): Likewise.
3431 (simple_charptr_copy_char): Likewise.
3432 (non_ascii_charptr_emchar): Likewise.
3433 (non_ascii_set_charptr_emchar): Likewise.
3434 (non_ascii_charptr_copy_char): Likewise.
3435 (charptr_emchar): Moved to mb-*byte.h.
3436 (set_charptr_emchar): Likewise.
3437 (charptr_copy_char): Likewise.
3439 * mb-1byte.h, mb-multibyte.h: New files.
3441 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3443 * mb-utf-8.h (MULTIBYTE): New macro.
3444 (MAX_EMCHAR_LEN): Moved from buffer.h.
3445 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3447 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3449 * mb-lb.h, multibyte.h: New files.
3451 * char-1byte.h (Charset_ID): Moved from buffer.h.
3452 (MIN_LEADING_BYTE): Likewise.
3453 (LEADING_BYTE_ASCII): Likewise.
3454 (NUM_LEADING_BYTES): Likewise.
3455 (CHARSETP): Likewise.
3456 (CHARSET_BY_LEADING_BYTE): Likewise.
3457 (XCHARSET_LEADING_BYTE): Likewise.
3458 (XCHARSET_GRAPHIC): Likewise.
3459 (XCHARSET_COLUMNS): Likewise.
3460 (XCHARSET_DIMENSION): Likewise.
3461 (CHAR_CHARSET): Likewise.
3462 (CHAR_LEADING_BYTE): Likewise.
3463 (BREAKUP_CHAR): Likewise.
3464 (Vcharset_ascii): Likewise.
3466 * buffer.h: Include multibyte.h unconditionally.
3467 (VALID_CHARPTR_P): Moved to multibyte.h.
3468 (ASSERT_VALID_CHARPTR): Likewise.
3469 (REAL_INC_CHARPTR): Likewise.
3470 (REAL_INC_CHARBYTIND): Likewise.
3471 (REAL_DEC_CHARPTR): Likewise.
3472 (INC_CHARPTR): Likewise.
3473 (INC_CHARBYTIND): Likewise.
3474 (DEC_CHARPTR): Likewise.
3475 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3476 (VALIDATE_CHARPTR_FORWARD): Likewise.
3477 (charptr_n_addr): Likewise.
3478 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3479 (simple_charptr_emchar): Moved to multibyte.h.
3480 (simple_set_charptr_emchar): Likewise.
3481 (simple_charptr_copy_char): Likewise.
3482 (non_ascii_charptr_emchar): Likewise.
3483 (non_ascii_set_charptr_emchar): Likewise.
3484 (non_ascii_charptr_copy_char): Likewise.
3485 (charptr_emchar): Likewise.
3486 (set_charptr_emchar): Likewise.
3487 (charptr_copy_char): Likewise.
3488 (charptr_emchar_n): Likewise.
3489 (Charset_ID): Moved to char-1byte.h.
3490 (Vcharset_ascii): Likewise.
3491 (CHAR_CHARSET): Likewise.
3492 (CHAR_LEADING_BYTE): Likewise.
3493 (LEADING_BYTE_ASCII): Likewise.
3494 (NUM_LEADING_BYTES): Likewise.
3495 (MIN_LEADING_BYTE): Likewise.
3496 (CHARSETP): Likewise.
3497 (CHARSET_BY_LEADING_BYTE): Likewise.
3498 (XCHARSET_LEADING_BYTE): Likewise.
3499 (XCHARSET_GRAPHIC): Likewise.
3500 (XCHARSET_COLUMNS): Likewise.
3501 (XCHARSET_DIMENSION): Likewise.
3502 (BREAKUP_CHAR): Likewise.
3504 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3506 * character.h: Add document about interface for characters.
3508 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3509 (MAKE_CHAR): Delete comment about
3510 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3511 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3512 (BREAKUP_CHAR): Modify name of arguments.
3513 (CHAR_CHARSET): Modify name of argument.
3515 * buffer.h: Delete document about Emchar accessors.
3517 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3519 * character.h (CHAR_INTP): Moved from buffer.h
3520 (CHAR_OR_CHAR_INTP): Likewise.
3521 (XCHAR_OR_CHAR_INT): Likewise.
3522 (CHECK_CHAR_COERCE_INT): Likewise.
3524 * buffer.h (CHAR_INTP): Moved to character.h
3525 (CHAR_OR_CHAR_INTP): Likewise.
3526 (XCHAR_OR_CHAR_INT): Likewise.
3527 (CHECK_CHAR_COERCE_INT): Likewise.
3529 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3532 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3533 - Include char-1byte.h, char-lb.h or char-ucs.h.
3535 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3537 * buffer.h: Include character unconditionally.
3538 (valid_char_p): Moved to char-*.h.
3539 (non_ascii_valid_char_p): Moved to char-lb.h.
3541 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3543 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3545 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3546 in UTF-2000 because it is not ported yet and not to use
3547 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3548 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3549 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3551 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3552 (CHAR_ASCII_P): Moved from character.h.
3554 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3555 (CHAR_ASCII_P): Likewise.
3556 (CHAR_FIELD1_MASK): Deleted.
3557 (CHAR_FIELD2_MASK): Deleted.
3558 (CHAR_FIELD3_MASK): Deleted.
3559 (MAX_CHAR_BASIC_LATIN): New macro.
3560 (CHAR_FIELD1): Deleted.
3561 (CHAR_FIELD2_INTERNAL): Deleted.
3562 (CHAR_FIELD3_INTERNAL): Deleted.
3563 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3564 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3565 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3566 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3567 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3568 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3569 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3570 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3571 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3572 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3573 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3574 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3575 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3576 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3577 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3578 (MIN_CHAR_COMPOSITION): Deleted.
3579 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3580 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3582 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3584 * buffer.h: Include mb-utf-8.h in UTF-2000.
3586 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3588 * mb-utf-8.h: New file.
3590 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3592 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3595 * mule-charset.h, buffer.h (Charset_ID): New type.
3597 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3599 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3600 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3601 instead of `MULE_CHAR_PRIVATE_OFFSET',
3602 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3603 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3604 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3606 * character.h (Vcharset_japanese_jisx0212): New variable
3609 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3611 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3612 (charset_by_attributes): Delete array about direction.
3613 (latin_a_char_to_charset): New variable in UTF-2000.
3614 (latin_a_char_to_byte1): New variable in UTF-2000.
3615 (latin_a_char_to_byte2): New variable in UTF-2000.
3616 (Qucs_bmp): New variable.
3617 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3619 (next_allocated_2_byte_leading_byte): Likewise.
3620 (non_ascii_set_charptr_emchar): Likewise.
3621 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3622 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3623 `charset_by_attributes'.
3624 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3625 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3626 and `CHARSET_BY_LEADING_BYTE'.
3627 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3628 `utf-2000-version' to `vars_of_mule_charset'.
3629 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3630 define `leading-code-private-11' in UTF-2000; move setting of
3631 `utf-2000-version' from `syms_of_mule_charset'.
3632 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3635 * character.h (Charset_ID): New type.
3636 (LEADING_BYTE_UCS_BMP): New macro.
3637 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3638 (CHARSET_ID_OFFSET_94): New macro.
3639 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3640 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3641 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3643 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3644 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3645 (CHARSET_ID_OFFSET_96): New macro.
3646 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3647 CHARSET_ID_OFFSET_96 and final-byte.
3648 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3649 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3650 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3651 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3652 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3653 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3654 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3655 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3656 (LEADING_BYTE_THAI_TIS620): Likewise.
3657 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3658 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3659 (CHARSET_ID_OFFSET_94x94): New macro.
3660 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3661 CHARSET_ID_OFFSET_94x94 and final-byte.
3662 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3663 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3664 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3665 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3666 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3667 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3668 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3669 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3670 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3671 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3672 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3673 (CHARSET_TYPE_128X128): New macro.
3674 (CHARSET_TYPE_256X256): New macro.
3675 (XCHARSET_PRIVATE_P): Delete unconditionally.
3676 (charset_by_attributes): Delete array about direction.
3677 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3678 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3679 (MIN_CHAR_94): New macro.
3680 (MAX_CHAR_94): New macro.
3681 (MIN_CHAR_96): New macro.
3682 (MAX_CHAR_96): New macro.
3683 (MIN_CHAR_94x94): New macro.
3684 (MAX_CHAR_94x94): New macro.
3685 (MIN_CHAR_96x96): New macro.
3686 (MAX_CHAR_96x96): New macro.
3687 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3688 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3689 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3691 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3692 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3693 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3694 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3695 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3696 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3697 `XCHARSET_LEADING_BYTE' to make code-point.
3698 (latin_a_char_to_charset): New variable.
3699 (latin_a_char_to_byte1): New variable.
3700 (latin_a_char_to_byte2): New variable.
3701 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3702 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3703 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3705 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3706 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3707 (find_charsets_in_emchar_string): Likewise.
3708 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3710 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3712 (decode_coding_iso2022): Likewise.
3714 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3717 * redisplay.c (redisplay_text_width_emchar_string): Use
3718 `Charset_ID' instead of `unsigned char'.
3719 (redisplay_frame_text_width_string): Likewise.
3721 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3724 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3725 instead of `unsigned char'.
3726 (face_cachel_charset_font_metric_info): Likewise.
3728 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3729 (get_non_ascii_char_table_value): Likewise.
3730 (get_char_table): Likewise.
3731 (put_char_table): Likewise.
3732 (map_over_other_charset): Likewise.
3733 (map_char_table): Likewise.
3735 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3736 instead of `unsigned char'.
3738 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3740 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3741 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3743 * mule-charset.c (leading_code_private_11): Don't define in
3746 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3747 in UTF-2000 because it is not ported yet and not to use
3748 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3750 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3752 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3754 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3756 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3759 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3760 of unsigned char to store leading-byte.
3762 * chartab.c (get_non_ascii_char_table_value): Don't use
3763 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3765 * file-coding.c (encode_coding_big5): Delete bogus implementation
3768 * character.h (LEADING_BYTE_*): Delete definition for
3770 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3771 (LEADING_BYTE_PREFIX_P): Deleted.
3772 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3773 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3774 (BUFBYTE_LEADING_BYTE_P): Deleted.
3775 (CHARSET_PRIVATE_P): Deleted unconditionally.
3776 (rep_bytes_by_first_byte): Deleted unconditionally.
3777 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3778 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3779 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3780 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3781 (CHAR_FIELD2): Deleted.
3782 (CHAR_FIELD3): Deleted.
3783 (MAKE_CHAR): Delete definition for non-UTF-2000.
3784 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3785 (breakup_char_1): New implementation.
3786 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
3787 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
3789 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3791 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3794 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3796 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3797 (CHARSET_PRIVATE_P): Likewise.
3798 (XCHARSET_PRIVATE_P): Likewise.
3799 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3801 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3803 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3805 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3807 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3808 (NUM_LEADING_BYTES): Changed from 128 to 256.
3809 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3810 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
3812 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3814 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
3816 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
3817 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
3818 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
3819 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
3820 (Qchinese_cns11643_3): New variable in UTF2000.
3821 (Qchinese_cns11643_4): New variable in UTF2000.
3822 (Qchinese_cns11643_5): New variable in UTF2000.
3823 (Qchinese_cns11643_6): New variable in UTF2000.
3824 (Qchinese_cns11643_7): New variable in UTF2000.
3825 (syms_of_mule_charset): Define `chinese-cns11643-3',
3826 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3827 and `chinese-cns11643-7' in UTF2000.
3828 (vars_of_mule_charset): Initialize
3829 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
3831 (complex_vars_of_mule_charset): Setup charset
3832 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
3833 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
3835 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3837 * mule-charset.c: Move setting for `leading-code-private-11' from
3838 `syms_of_mule_charset' to `vars_of_mule_charset'.
3840 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3842 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
3843 and `NUM_LEADING_BYTES' in assert.
3845 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3847 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
3849 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
3850 `NUM_LEADING_BYTES' instead of 128.
3852 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3854 * mule-charset.h (charset_by_leading_byte): Use
3855 `NUM_LEADING_BYTES' instead of 128.
3856 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
3858 * mule-charset.c (charset_by_leading_byte): Use
3859 `NUM_LEADING_BYTES' instead of 128.
3860 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
3862 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
3865 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3867 * mule-charset.c (syms_of_mule_charset): Update to
3870 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3872 * file-coding.c (encode_coding_sjis): New implementation for
3873 UTF2000. (decode_coding_sjis): Ditto.
3875 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3877 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
3878 Don't define in UTF2000.
3880 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
3883 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3884 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
3887 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3889 * config.h.in (CHAR_IS_UCS4): New macro.
3891 * mule-charset.c (rep_bytes_by_first_byte): Modify for
3892 conventional MULE representation.
3893 (syms_of_mule_charset): Update to 0.3 (Imamiya).
3895 * mule-charset.h: Reverted to original.
3897 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3898 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
3899 "mule-charset.h" if CHAR_IS_UCS4 is defined.
3901 * character.h: New file.
3903 * file-coding.c (Fmake_coding_system): Set 1 to
3904 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
3906 (encode_coding_no_conversion): New implementation for UTF2000.
3908 * file-coding.h (struct Lisp_Coding_System): Add new member
3911 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3913 * file-coding.c (decode_coding_iso2022): Code-point arguments of
3914 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
3915 (encode_coding_iso2022): New implementation for UTF2000.
3917 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3919 * mule-canna.c (c2mu): New implementation for UTF2000.
3922 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3924 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
3926 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3928 * file-coding.c (reset_encoding_stream): Set 0 to
3929 `str->iso2022.current_char_boundary' in UTF2000.
3930 (encode_utf8): Don't define in UTF2000.
3931 (encode_coding_utf8): New implementation for UTF-8 representation
3933 (complex_vars_of_file_coding): Define coding-system `utf-8'.
3935 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3937 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
3939 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
3941 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3943 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
3945 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
3946 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
3947 as UTF-8 in UTF2000.
3948 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
3949 (non_ascii_valid_char_p): Don't define in UTF2000.
3950 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
3951 (Lstream_get_emchar_1): Likewise.
3952 (utf-2000-version): New variable in UTF2000.
3954 * lread.c (read_escape): Add new reader `u'.
3956 * insdel.c (three_to_one_table): Don't define in UTF2000.
3957 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
3958 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3960 (bytind_to_bufpos_func): Likewise.
3961 (buffer_mule_signal_inserted_region): Likewise.
3962 (vars_of_insdel): Don't initialize `three_to_one_table'.
3963 (init_buffer_text): Use `buf->text->mule_size' instead of
3964 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3967 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
3968 UTF-8 representation in UTF2000.
3969 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
3970 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
3971 (decode_coding_iso2022): Don't define local variable `lb' in
3972 UTF2000; don't use LEADING_BYTE in UTF2000; use
3973 `DECODE_ADD_UCS_CHAR' in UTF2000.
3974 (convert_to_external_format): Decode as UTF-8 in UTF2000.
3976 * config.h.in (UTF2000): New macro.
3978 * buffer.h (struct buffer_text): Add new member `mule_size' and
3979 don't add `mule_shifter' and `mule_three_p' in UTF2000.
3980 (valid_char_p): Return always 1 in UTF2000.
3981 (MAX_EMCHAR_LEN): 6 in UTF2000.
3982 (three_to_one_table): Don't define in UTF2000.
3983 (real_bufpos_to_bytind): Modify for UTF-8 representation in
3985 (real_bytind_to_bufpos): Likewise.
3987 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
3989 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3991 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
3992 representation change.
3993 (Vutf_2000_version): New variable.
3994 (leading_code_private_11): New variable.
3995 (syms_of_mule_charset): Add new variables `utf-2000-version' and
3996 `leading-code-private-11'.
3998 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
3999 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4000 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4001 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4002 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4003 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4004 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4005 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4006 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4007 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4008 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4009 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4010 (MIN_CHAR_GREEK): New macro.
4011 (MAX_CHAR_GREEK): New macro.
4012 (MIN_CHAR_CYRILLIC): New macro.
4013 (MAX_CHAR_CYRILLIC): New macro.
4014 (MIN_CHAR_HEBREW): New macro.
4015 (MAX_CHAR_HEBREW): New macro.
4016 (MIN_CHAR_THAI): New macro.
4017 (MAX_CHAR_THAI): New macro.
4018 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4019 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4020 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4021 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4022 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4023 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4024 (CHAR_FIELD2): New inline function.
4025 (CHAR_FIELD3): New inline function.
4026 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4027 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4028 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4029 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4030 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4031 (MIN_CHAR_COMPOSITION): Likewise.
4032 (CHAR_LEADING_BYTE): Modified for character representation change.
4033 (MAKE_CHAR): Likewise.
4035 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4036 (Vcharset_greek_iso8859_7): Likewise.
4037 (Vcharset_cyrillic_iso8859_5): Likewise.
4038 (Vcharset_hebrew_iso8859_8): Likewise.
4039 (Vcharset_thai_tis620): Likewise.
4040 (Vcharset_katakana_jisx0201): Likewise.
4042 2001-02-08 Martin Buchholz <martin@xemacs.org>
4044 * XEmacs 21.2.44 "Thalia" is released.
4046 2001-02-06 Martin Buchholz <martin@xemacs.org>
4048 Fixes crashes in kill-emacs on some systems.
4049 * process-unix.c (unix_kill_child_process):
4050 It's OK for kill() to fail with ESRCH.
4052 2001-02-07 Martin Buchholz <martin@xemacs.org>
4054 Contortions to make .gdbinit tricks work on most systems.
4055 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
4056 * alloc.c (dbg_valmask): Make non-const.
4057 * alloc.c (dbg_typemask): Make non-const.
4058 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
4059 * alloc.c (dbg_valbits): Make non-const.
4060 * alloc.c (dbg_gctypebits): Make non-const.
4061 * .gdbinit (decode_object): Make it work with AIX cc.
4063 2001-02-06 Martin Buchholz <martin@xemacs.org>
4065 * elhash.c (make_general_lisp_hash_table):
4066 Use simpler and more efficient calloc to clear entries.
4068 2001-02-07 Martin Buchholz <martin@xemacs.org>
4070 * window.c (window_scroll): Work around an AIX C compiler bug.
4071 Fixes 'scroll-up' does nothing problem with xlC.
4073 2001-02-05 Martin Buchholz <martin@xemacs.org>
4075 * .gdbinit: Remove obsolete comment.
4077 2001-01-31 Mike Alexander <mta@arbortext.com>
4079 * select.c (Fown_selection_internal): Set owned_p for device
4082 2001-02-01 Martin Buchholz <martin@xemacs.org>
4085 "not" cannot be used as a macro name as it is an operator in C++
4086 * config.h.in: Stop #defining `not'.
4087 * chartab.c (check_category_char): not ==> not_p
4088 * chartab.h: Likewise.
4089 * regex.c (re_match_2_internal): Likewise.
4091 2001-02-02 Martin Buchholz <martin@xemacs.org>
4093 * lisp-disunion.h: Fix up comments.
4095 2001-01-31 Martin Buchholz <martin@xemacs.org>
4097 * keymap.c (define_key_check_and_coerce_keysym):
4099 Support mouse-6 and mouse-7 bindings in the obvious way.
4101 2001-02-01 Martin Buchholz <martin@xemacs.org>
4103 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
4105 2001-01-30 Martin Buchholz <martin@xemacs.org>
4107 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
4108 Previous patch missed DEFVAR_INT_MAGIC.
4109 Make sure future DEFVAR_foo use correct types.
4110 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
4111 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
4112 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
4113 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
4114 * (DEFVAR_INT): Likewise.
4115 * redisplay.c (vertical_clip): Should be of type Fixnum.
4116 * redisplay.c (horizontal_clip): Likewise.
4117 * lisp.h (dump_add_opaque_int): New.
4118 (dump_add_opaque_fixnum): New.
4120 2001-01-29 Andy Piper <andy@xemacs.org>
4122 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4123 since they can be eval'ed
4125 2001-01-29 Martin Buchholz <martin@xemacs.org>
4127 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4128 Oops, XEmacs redefines `class'. Use `typename' instead.
4130 2001-01-28 Martin Buchholz <martin@xemacs.org>
4132 * dumper.c: Fix C++ compile errors.
4134 2001-01-29 Martin Buchholz <martin@xemacs.org>
4136 * tparam.c: Use correct prototypes.
4138 2001-01-28 Martin Buchholz <martin@xemacs.org>
4140 * sysproc.h: #include util.h for NetBSD's openpty.
4142 2001-01-27 Martin Buchholz <martin@xemacs.org>
4144 More 64-bit correctness.
4145 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4146 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4148 This finally finishes the 64-bit SGI port.
4149 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4150 * symbols.c: Fix up comments and type casts.
4151 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4152 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4153 * symeval.h (Fixnum): New type.
4154 * symeval.h (symbol_value_type): Fix up comment.
4170 * mule-canna.c: A million DEFVAR_INTs here...
4171 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4184 s/int/Fixnum/g in DEFVAR_INT declarations.
4186 2001-01-26 Martin Buchholz <martin@xemacs.org>
4188 Port pdump to SGI alignment-sensitive environment.
4189 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4190 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4192 Define and use aligned reading and writing macros.
4193 Use buffered stdio instead of posix i/o for faster dumping.
4194 Eliminate kludgy 256 byte space for header.
4195 Read and write from dump file using structs for alignment safety.
4196 * dumper.c (pdump_align_stream): New.
4197 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4198 * dumper.c (PDUMP_READ_ALIGNED): New.
4199 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4200 * dumper.c (pdump_static_Lisp_Object): New struct.
4201 * dumper.c (pdump_static_pointer): New struct.
4202 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4203 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4204 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4205 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4207 * dumper.c (pdump_backtrace):
4208 * dumper.c (pdump_get_indirect_count):
4209 * dumper.c (pdump_register_object):
4210 * dumper.c (pdump_register_struct):
4211 * dumper.c (pdump_reloc_one):
4212 * dumper.c (pdump_scan_by_alignment):
4213 * dumper.c (pdump_dump_from_root_struct_ptrs):
4214 * dumper.c (pdump_dump_opaques):
4215 * dumper.c (pdump_dump_rtables):
4216 * dumper.c (pdump_dump_from_root_objects):
4218 * dumper.c (pdump_load_finish):
4219 Use aligned reading and writing.
4221 * dumper.c (pdump_free): Make static.
4222 * dumper.c (pdump_hFile): Likewise.
4223 * dumper.c (pdump_hMap): Likewise.
4225 2001-01-26 Martin Buchholz <martin@xemacs.org>
4227 * XEmacs 21.2.43 "Terspichore" is released.
4229 2001-01-25 Martin Buchholz <martin@xemacs.org>
4231 Type fiddling for window_config.saved_windows_count
4232 * window.c (struct window_config):
4233 Make saved_windows_count member unsigned.
4234 * window.c (sizeof_window_config_for_n_windows):
4235 Make parameter unsigned.
4236 * window.c (mark_window_config):
4237 * window.c (window_config_equal):
4238 * window.c (free_window_configuration):
4239 * window.c (Fset_window_configuration):
4240 * window.c (count_windows):
4241 * window.c (Fcurrent_window_configuration):
4242 * window.c (reinit_vars_of_window):
4243 Update all callers and users.
4245 2001-01-25 Martin Buchholz <martin@xemacs.org>
4247 Alignment correctness for flexible arrays.
4248 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4249 Make alignment-correct. Add interesting comments.
4250 * alloc.c (size_vector):
4251 * alloc.c (make_vector_internal):
4252 * alloc.c (make_bit_vector_internal):
4253 * alloc.c (sweep_bit_vectors_1):
4254 * fns.c (size_bit_vector):
4255 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4256 * window.c (sizeof_window_config_for_n_windows):
4257 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4259 2001-01-24 Martin Buchholz <martin@xemacs.org>
4261 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4263 2001-01-23 Andy Piper <andy@xemacs.org>
4265 * select.c (Fown_selection_internal): pass owned_p
4267 * select-msw.c (mswindows_own_selection): New Signature.
4269 * console.h (struct console_methods): add owned_p to
4272 * select-x.c (x_own_selection): pass owned_p
4273 (hack_motif_clipboard_selection): use owned_p
4274 (vars_of_select_x): new variable -
4275 x_selection_strict_motif_ownership.
4277 2001-01-23 Martin Buchholz <martin@xemacs.org>
4279 * specifier.h (specifier_data_offset): Remove pointless parens.
4280 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4282 2001-01-24 Martin Buchholz <martin@xemacs.org>
4284 Make Lisp_Object sizeof methods be alignment-correct.
4285 pdump must restore objects to the same alignment as the C compiler
4286 assumes. It really matters on SGIs.
4287 * lstream.c (aligned_sizeof_lstream): New.
4288 (sizeof_lstream): Use aligned_sizeof_lstream.
4289 (Lstream_new): Likewise.
4290 * opaque.c (aligned_sizeof_opaque): New.
4291 (sizeof_opaque): Use aligned_sizeof_opaque.
4292 (make_opaque): Likewise.
4293 * specifier.c (aligned_sizeof_specifier): New.
4294 (sizeof_specifier): Use aligned_sizeof_specifier.
4295 (make_specifier_internal): Likewise.
4297 2001-01-23 Martin Buchholz <martin@xemacs.org>
4299 * lstream.h (struct lstream): Use max_align_t for trailing data.
4300 * specifier.h (struct Lisp_Specifier): Likewise.
4302 2001-01-22 Martin Buchholz <martin@xemacs.org>
4304 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4305 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4306 (CCL_SUSPEND): Likewise.
4307 (CCL_INVALID_CMD): Likewise.
4308 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4309 (ccl_driver): Likewise.
4310 (CCL_WRITE_CHAR): Macro hygiene.
4311 (CCL_WRITE_STRING): Macro hygiene.
4313 2001-01-22 Martin Buchholz <martin@xemacs.org>
4315 Port "portable" dumper to SunOS 4 and HP-UX.
4316 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4317 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4318 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4320 2001-01-22 Martin Buchholz <martin@xemacs.org>
4322 * lisp.h (ALIGNOF): A better definition for C++.
4324 2001-01-20 Martin Buchholz <martin@xemacs.org>
4327 Fix printf warnings: int format, long int arg.
4328 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4329 (PUSH_FAILURE_POINT): Use correct printf formats.
4330 (POP_FAILURE_POINT): Use correct printf formats.
4331 Use do {...} while (0)
4333 2001-01-20 Martin Buchholz <martin@xemacs.org>
4335 * XEmacs 21.2.42 "Poseidon" is released.
4337 2001-01-20 Martin Buchholz <martin@xemacs.org>
4339 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4341 2001-01-19 Martin Buchholz <martin@xemacs.org>
4343 De-kludgify FIXED_TYPE free list frobbing.
4344 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4345 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4346 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4347 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4348 * alloc.c (LRECORD_FREE_P): New.
4349 * alloc.c (MARK_LRECORD_AS_FREE): New.
4350 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4351 * alloc.c (STRUCT_FREE_P): Deleted.
4352 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4353 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4354 * alloc.c (STRING_CHARS_FREE_P): New.
4355 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4356 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4357 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4358 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4359 * alloc.c (resize_string): Use new definitions.
4360 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4361 * alloc.c (verify_string_chars_integrity): Use new definitions.
4362 * alloc.c (compact_string_chars): Use new definitions.
4363 * alloc.c: Update monster comments.
4364 * lrecord.h (lrecord_type): Add some new lrecord types for
4367 2001-01-18 Martin Buchholz <martin@xemacs.org>
4369 Improve alignment hackery.
4370 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4371 (max_align_t): Moved from opaque.h - general purpose.
4372 (ALIGN_PTR): Use size_t, not long.
4373 * opaque.h (max_align_t): Move to lisp.h.
4375 2001-01-18 Norbert Koch <nk@LF.net>
4377 * gui.h: Fix and add prototypes to fix build problems.
4379 2001-01-18 Martin Buchholz <martin@xemacs.org>
4381 temacs is going away, so `dump-temacs' is now a bad name.
4382 * .dbxrc (dump-temacs): Rename to `dmp'.
4383 * .gdbinit (dump-temacs): Rename to `dmp'.
4385 2001-01-17 Andy Piper <andy@xemacs.org>
4387 * glyphs.c (print_image_instance): comment to make martin happy.
4389 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4392 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4394 (mswindows_tab_control_redisplay): warning suppression.
4396 * glyphs-widget.c (widget_update): re-write to cope with updated
4398 (widget_instantiate): use new gui_item functions.
4399 (tab_control_update): deleted.
4400 (progress_gauge_update): deleted.
4401 (image_instantiator_progress_guage): take out update reference.
4402 (image_instantiator_tree_view): ditto.
4403 (image_instantiator_tab_control): ditto.
4405 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4407 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4408 return whether anything was changed.
4409 (update_gui_item_keywords): as it sounds.
4411 * gui.h: declare widget_gui_parse_item_keywords.
4413 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4414 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4416 2001-01-17 Martin Buchholz <martin@xemacs.org>
4418 * XEmacs 21.2.41 "Polyhymnia" is released.
4420 2001-01-16 Didier Verna <didier@xemacs.org>
4422 * glyphs.c (image_instantiate): don't use fallbacks when
4423 instantiating a face's background pixmap by inheritance.
4425 2001-01-14 Mike Sperber <mike@xemacs.org>
4427 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4428 Conditionalize accordingly.
4430 2001-01-16 Martin Buchholz <martin@xemacs.org>
4432 * dumper.c (pdump_file_get): Fix a compiler warning.
4434 2001-01-15 Martin Buchholz <martin@xemacs.org>
4436 Make Purify happy when pdumping.
4437 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4438 iniitalizing all bits of new lisp object memory.
4439 * symbols.c (Fmake_local_variable): Likewise.
4440 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4441 * symbols.c (Fdefvaralias): Likewise.
4442 * mule-charset.c (vars_of_mule_charset): Likewise.
4444 2001-01-15 Martin Buchholz <martin@xemacs.org>
4445 Add the `-nd' flag when running pre-dump operations under the debugger.
4446 * .dbxrc (run-temacs): Add `-nd'.
4447 * .dbxrc (update-elc): Likewise.
4448 * .dbxrc (dump-temacs): Likewise.
4449 * .gdbinit (run-temacs): Likewise.
4450 * .gdbinit (check-temacs): Likewise.
4451 * .gdbinit (update-elc): Likewise.
4452 * .gdbinit (dump-temacs): Likewise.
4454 2001-01-14 Martin Buchholz <martin@xemacs.org>
4456 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4457 export OBJECT_MODE=64
4458 configure --pdump --use-union-type=no
4459 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4460 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4462 * miscplay.c (sndcnv8U_2mono):
4463 Avoid two uses of `++' in the same expression.
4464 Suppresses a GCC warning.
4466 2001-01-13 Martin Buchholz <martin@xemacs.org>
4468 Make sure future compilers don't miscompile alloc.c.
4470 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4471 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4473 2001-01-12 Martin Buchholz <martin@xemacs.org>
4475 * dumper.c: A little post-pdump-rename comment fixup.
4477 2001-01-09 Jerry James <james@eecs.ku.edu>
4479 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4481 2001-01-13 Martin Buchholz <martin@xemacs.org>
4483 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4487 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4490 replace_symbol pdump_wire_lists pdump_weak_object_chains
4491 replace_symbol pdump_wire_list dump_add_weak_object_chain
4493 replace_symbol pdump_wires pdump_root_objects
4494 replace_symbol pdump_wire dump_add_root_object
4496 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4497 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4499 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4500 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4501 replace_symbol dumpstructinfo pdump_root_struct_ptr
4502 replace_symbol dumpstruct dump_add_root_struct_ptr
4504 replace_symbol dumpopaque dump_add_opaque
4505 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4506 replace_symbol dumpopaqueinfos pdump_opaques
4507 replace_symbol dumpopaqueinfo pdump_opaque
4509 replace_symbol nb_structdump nb_root_struct_ptrs
4510 replace_symbol nb_opaquedump nb_opaques
4512 replace_symbol align_table pdump_align_table
4513 replace_symbol dump_header pdump_header
4515 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4516 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4519 2001-01-12 Martin Buchholz <martin@xemacs.org>
4521 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4522 optimizing bytecount_to_charcount().
4524 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4527 (HAVE_DLFCN_H): Removed.
4528 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4530 2001-01-06 Martin Buchholz <martin@xemacs.org>
4532 Portable dumper maintainability improvements.
4533 * alloc.c (staticpro):
4534 * alloc.c (staticpro_nodump):
4535 * alloc.c (garbage_collect_1):
4536 * alloc.c (reinit_alloc_once_early):
4537 * alloc.c (init_alloc_once_early):
4538 * alloc.c: Move dumper functions to alloc.c.
4539 * dumper.c (pdump_backtrace):
4540 * dumper.c (pdump_dump_structs):
4541 * dumper.c (pdump_dump_opaques):
4542 * dumper.c (pdump_dump_rtables):
4543 * dumper.c (pdump_dump_wired):
4545 * dumper.c (pdump_load_check):
4546 * dumper.c (pdump_load_finish):
4547 * dumper.c (pdump_file_unmap):
4548 * dumper.c (pdump_file_get):
4549 * dumper.c (pdump_resource_free):
4550 * dumper.c (pdump_resource_get):
4551 * dumper.c (pdump_file_free):
4552 * dumper.c (pdump_file_try):
4553 * dumper.c (pdump_load):
4554 Remove fixed size limits on staticpro(), staticpro_nodump(),
4555 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4556 Remove custom code for dumping lrecord_implementations_table - use
4558 Remove (most of the) custom code for dumping staticpros - dump it
4559 like any other dynarr.
4561 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4562 * dumper.c: Moved functions from alloc.c.
4563 * alloc.c (dumpstruct): Moved to dumper.c.
4564 * alloc.c (dumpopaque): Likewise.
4565 * alloc.c (pdump_wire): Likewise.
4566 * alloc.c (pdump_wire_list): Likewise.
4568 * lisp.h (Dynarr_sizeof): New.
4569 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4570 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4571 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4573 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4574 * lisp.h (dumpopaque): ditto.
4575 * lisp.h (pdump_wire): ditto.
4576 * lisp.h (pdump_wire_list): ditto.
4578 2001-01-09 Martin Buchholz <martin@xemacs.org>
4580 * make-src-depend (PrintPatternDeps):
4581 Use `sort' to make output independent of perl version.
4583 2001-01-08 Martin Buchholz <martin@xemacs.org>
4586 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4587 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4589 2001-01-03 Didier Verna <didier@xemacs.org>
4591 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4592 that `focus_frame' is alive before thinking of calling
4593 `redisplay_redraw_cursor' on it.
4595 2001-01-08 Martin Buchholz <martin@xemacs.org>
4597 * XEmacs 21.2.40 is released.
4599 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4601 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4603 2001-01-06 Martin Buchholz <martin@xemacs.org>
4605 * alloc.c (dbg_valmask): Make const.
4606 * alloc.c (dbg_typemask): Make const.
4607 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4608 * alloc.c (dbg_valbits): Make const.
4609 * alloc.c (dbg_gctypebits): Make const.
4611 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4613 * redisplay-x.c (x_bevel_area):
4614 redisplay.h (struct rune):
4615 Typo fixes in comments.
4617 2001-01-05 Andy Piper <andy@xemacs.org>
4619 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4622 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4624 2001-01-05 Martin Buchholz <martin@xemacs.org>
4626 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4628 * mule-ccl.c (stack_idx_of_map_multiple):
4629 Non const global data must not be initialized!
4630 Found by MIYASHITA Hisashi.
4632 2001-01-02 Andy Piper <andy@xemacs.org>
4634 * frame.c (change_frame_size): make sure frame size is always
4637 * glyphs.c (image_instance_layout): minor code reuse.
4639 * window.c (Fcurrent_window_configuration): revert previous
4642 2001-01-02 Martin Buchholz <martin@xemacs.org>
4645 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4647 2000-12-31 Andy Piper <andy@xemacs.org>
4649 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4650 when widget gets unmapped.
4652 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4653 function. Make sure widgets losing focus don't just drop it.
4654 (handle_focus_event_1): record the widget with focus.
4656 2000-12-31 Andy Piper <andy@xemacs.org>
4658 * window.c (allocate_window): use
4659 make_image_instance_cache_hash_table.
4660 (make_dummy_parent): ditto.
4661 (Fset_window_configuration): ditto.
4663 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4665 * glyphs.c (process_image_string_instantiator): use
4667 (get_image_instantiator_governing_domain): ditto.
4668 (normalize_image_instantiator): ditto.
4669 (instantiate_image_instantiator): ditto.
4670 (make_image_instance_1): ditto.
4671 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4672 (instantiator_eq_equal): new function for use with instance hash
4674 (instantiator_eq_hash): ditto.
4675 (make_image_instance_cache_hash_table): create a suitable hash
4676 table for storing image instances.
4678 * elhash.h (hash_table_weakness): new internal weakness type
4679 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4680 declare new functions.
4682 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4683 another weakness type for glyphs.
4684 (make_standard_lisp_hash_table): new function split out from
4685 make_general_lisp_hash_table.
4686 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4687 (hash_table_instantiate): ditto.
4688 (Fmake_hash_table): ditto.
4690 2000-12-31 Martin Buchholz <martin@xemacs.org>
4692 * XEmacs 21.2.39 is released.
4694 2000-12-29 Andy Piper <andy@xemacs.org>
4696 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4698 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4699 the frame has changed so that we pick up geometry changes such as
4702 2000-12-28 Andy Piper <andy@xemacs.org>
4704 * lastfile.c (my_ebss): make a char array so we can pad the
4705 bss. Fixes cygwin unexec.
4707 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4709 2000-12-26 Andy Piper <andy@xemacs.org>
4711 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
4712 comments and try and be more precise about a non-/SIGIO world.
4713 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
4716 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
4717 we don't normalize to zero width or height.
4719 2000-12-24 Andy Piper <andy@xemacs.org>
4721 * Makefile.in.in (ldflags): add -mwindows when appropriate.
4723 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
4725 * s/sco5.h: SCO 5 has pty support.
4727 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
4729 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
4730 input-method-xlib.c contains whole contents of input-method-xfs.c,
4731 so we can use input-method-xlib.c's code for USE_XFONTSET
4733 * input-method-xfs.c: removed.
4735 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
4737 * file-coding.h (enum coding_category_type): reorder enumerators to
4738 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
4739 (now one greater than largest real coding_category_type enumerator).
4740 * file-coding.c (coding_category_symbol, coding_category_by_priority,
4741 coding_category_system, fcd_descriptihon_1, decode_coding_category,
4742 Fcoding_category_list, Fset_coding_priority_list,
4743 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
4744 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
4746 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4748 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
4749 * redisplay-output.c (redisplay_output_window): Clear top of window
4750 when face is changed.
4751 * redisplay-x.c (x_redraw_exposed_window): Call
4752 redisplay_clear_top_of_window.
4753 * redisplay.h: Publish redisplay_clear_top_of_window.
4755 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4757 * buffer.c (Fkill_buffer): Map over all devices.
4758 * window.c (window_loop): Remove UNSHOW_BUFFER code.
4759 (list_windows): New function.
4760 (list_all_windows): Ditto.
4761 (Freplace_buffer_in_windows): Use them.
4763 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4765 * database.c (berkdb_subtype): Recognize new subtype `queue'.
4766 (Fopen_database): Use `db_create' instead of `db_open'.
4767 (syms_of_database): Initialize Qqueue.
4769 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4771 * buffer.c (common_init_complex_vars_of_buffer): Initialize
4772 buffer_local_face_property.
4773 * buffer.h (struct buffer): New member buffer_local_face_property.
4774 * window.c (Fset_window_buffer): Mark window's face as changed
4775 when buffer has buffer local face.
4776 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
4777 * objects.c (color_after_change): Set buffer_local_face_property
4778 when locale of face specifier is buffer.
4779 * objects.c (font_after_change): Ditto.
4780 * objects.c (face_boolean_after_change): Ditto.
4781 * glyphs.c (image_after_change): Ditto.
4783 2000-12-09 Dan Holmsand <dan@eyebee.com>
4785 * nt.c (mswindows_fstat): Report file permissions, volume serial
4786 number, etc. Code adapted from FSF Emacs 20.7.
4788 2000-12-09 Dan Holmsand <dan@eyebee.com>
4790 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
4791 of stat when we don't have symbolic links, to make sure
4792 mswindows_stat is called on mswindows.
4794 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
4796 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
4798 2000-12-12 Martin Buchholz <martin@xemacs.org>
4800 * doprnt.c (emacs_doprnt_1): More printing fixes.
4801 Make printing of numbers compatible with libc and FSF Emacs.
4802 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
4803 Use the system printf to do most of the hard work of formatting,
4804 instead of doprnt_1().
4805 Calculate memory to allocate for format string.
4806 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
4807 (doprnt_1): Cleaner code and documentation.
4809 2000-12-01 Jerry James <james@eecs.ukans.edu>
4811 * Makefile.in.in: Use the loop variable to install headers.
4813 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4815 * window.c (Fsplit_window): Don't invalidate face cache.
4817 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4819 * minibuf.c (Fall_completions): Undo the previous change
4820 which removed checking elements start with space.
4822 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4824 * mule-canna.c: Didier suppression.
4826 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4828 * mule-canna.c: rename static unsigned char buf[] to key_buffer
4829 (warning suppression). Add English comment translations.
4831 2000-12-05 Martin Buchholz <martin@xemacs.org>
4833 * unexelfsgi.c (unexec): Better test for mmap failure.
4835 2000-12-05 Martin Buchholz <martin@xemacs.org>
4837 * XEmacs 21.2.38 is released.
4839 2000-12-05 Martin Buchholz <martin@xemacs.org>
4841 * redisplay.c (bar-cursor): Make a user variable.
4843 * symsinit.h: Add init_postgresql_from_environment.
4845 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4847 * regex.c: Convert to clean C.
4849 2000-12-05 Dan Holmsand <dan@eyebee.com>
4852 Don't #include sysfile.h. Revert to duplicating PATH_MAX
4854 (sys_readlink): renamed to system_readlink to avoid conflict with
4855 the other sys_readlink.
4857 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
4859 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
4861 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
4863 * postgresql.c (init_postgresql_from_environment): new function.
4864 (vars_of_postgresql): Move code initializing Lisp variables out and
4865 into init_postgresql_from_environment.
4866 emacs.c (main_1): Call init_postgresql_from_environment if and only
4867 if running a dumped XEmacs.
4869 2000-08-31 Dan Holmsand <dan@eyebee.com>
4871 * buffer.c: Make find-file-compare-truenames default to true on
4874 * realpath.c (win32_abs_start):
4876 (win32_readlink): New functions.
4877 (xrealpath): Return really real filenames on windows.
4879 * fileio.c (Ffile_truename): Make file-truename work on windows.
4881 2000-11-29 Didier Verna <didier@xemacs.org>
4883 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
4884 * faces.c (update_face_cachel_data): use it.
4885 * faces.c (add_face_cachel): use it. Complete background pixmap
4886 frobbing in face cache if `update_face_cachel_data' has not done so.
4888 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
4890 * search.c (string_match_1): Don't set last_thing_searched
4893 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
4895 * buffer.c: Include casetab.h
4896 (common_init_complex_vars_of_buffer): Use new case-table object.
4897 * buffer.h: Include casetab.h
4898 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
4899 (DOWNCASE_TABLE_OF): Ditto.
4900 * bufslots.h: Remove char-tables and add case-table.
4901 * casetab.c: Include casetab.h
4902 (CASE_TABLE_P): Removed.
4903 (mark_case_table): New function.
4904 (allocate_case_table): New function.
4905 (Fcase_table_p): Use new case-table.
4906 (case_table_char): New function.
4907 (Fget_case_table): Ditto.
4908 (Fput_case_table): Ditto.
4909 (Fput_case_table_pair): Ditto.
4910 (Fcopy_case_table): Ditto.
4911 (Fcurrent_case_table): Return case-table.
4912 (Fstandard_case_table): Return case-table.
4913 (Fset_case_table): Fix doc-string.
4914 (set_case_table): Use case-table
4915 (syms_of_casetab): DEFSUBR new functions.
4916 (complex_vars_of_casetab): Set up standard case-table.
4917 * casetab.h: New file.
4918 * editfns.c: Include casetab.h
4919 (Fcompare_buffer_substrings): Use case-table.
4920 * inline.c: Include casetab.h
4921 * lisp.h: Remove bogus extern.
4922 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
4923 * search.c: Include casetab.h
4924 (TRANSLATE_ASCII): Removed.
4925 (TRANSLATE): Unconditionally translate character.
4926 (looking_at_1): Use case-table.
4927 (string_match_1): Ditto.
4928 (fast_string_match): Ditto.
4929 (search_command): Ditto.
4930 (search_buffer): Separate boyer_moore. Check whether
4931 boyer_moore is possible.
4932 (simple_search): New function.
4933 (boyer_moore): Separated from search_buffer. Translate char.
4935 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
4937 * regex.c (RE_TR_ASCII): Removed.
4938 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
4939 (PATFETCH): Call PATFETCH_RAW.
4940 (PATFETCH_RAW): Fetch Emchar.
4941 (PATUNFETCH): Decrement charptr.
4942 (GET_BUFFER_SPACE): Rename b to buf_end.
4944 (BUF_PUSH_2): Ditto.
4945 (BUF_PUSH_3): Ditto.
4946 (EXTEND_BUFFER): Ditto.
4947 (SET_LIST_BIT): Ditto.
4948 (regex_compile): Ditto. Translate non ASCII char.
4949 (compile_range): Ditto.
4950 (re_search_2): Ditto.
4951 (re_match_2_internal): Compare Emchar.
4952 (bcmp_translate): Ditto.
4954 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
4956 * lisp.h (basic char/int typedefs): comment improvement.
4958 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
4960 * emacs.c (main_1): unconditional pdump unstomping; don't save and
4961 unstomp inhibit_site_lisp. Improve comments.
4963 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
4965 * mule-charset.c (Fcharset_property): improve type checking, comments.
4967 2000-11-28 Andy Piper <andy@xemacs.org>
4969 * redisplay-output.c (redisplay_output_subwindow): make sure we do
4970 clipped display for windows in the gutter also.
4971 (redisplay_display_boxes_in_window_p): change semantics of return
4972 codes to be more intuitive.
4974 * gutter.h: declare display_boxes_in_gutter_p.
4976 * gutter.c (display_boxes_in_gutter_p): new function for
4979 2000-11-22 Andy Piper <andy@xemacs.org>
4981 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
4984 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
4986 * callproc.c (Fold_call_process_internal):
4987 * gpm.c (Freceive_gpm_event):
4988 (tty_get_foreign_selection): Might be just warning supression.
4989 * fileio.c (Fwrite_region_internal):
4990 (Fset_visited_file_modtime):
4991 * keymap.c (event_matches_key_specifier_p):
4992 Initialize GCPROed variable.
4994 * menubar-x.c (command_builder_find_menu_accelerator):
4995 Initialize before use.
4997 2000-11-23 Andy Piper <andy@xemacs.org>
4999 * unexcw.c (unexec): make the resulting executable executable.
5001 2000-11-21 Martin Buchholz <martin@xemacs.org>
5003 * doc.c (get_doc_string):
5004 Use size_t, not int, for result of XSTRING_LENGTH.
5006 * cmds.c (Fdelete_char):
5007 * cmds.c (Fpoint_at_eol):
5008 * cmds.c (Fself_insert_command):
5009 Use EMACS_INT, not int, for result of XINT.
5010 Someday, someone will want to insert more than 2**31 identical characters.
5012 * cmds.c (Fdelete_char):
5013 * cmds.c (Fdelete_backward_char):
5014 * syntax.c (Fforward_word):
5015 * syntax.c (Fforward_comment):
5016 Make COUNT argument optional, for consistency with forward-char et al.
5018 2000-11-22 Martin Buchholz <martin@xemacs.org>
5021 * print.c (long_to_string):
5022 Return a useful value: the pointer at end of data written.
5025 Use `static const char * const' for constant strings.
5026 (union printf_arg): Delete `i', `ui' members.
5029 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
5030 Do all printf-ing via the `l' specifier.
5031 Use EMACS_INT instead of int.
5034 2000-11-20 Didier Verna <didier@xemacs.org>
5036 * faces.c (update_face_cachel_data): don't frob the background
5037 pixmap when the window is being created. The face is needed but
5040 2000-11-20 Andy Piper <andy@xemacs.org>
5042 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
5043 messing with a debug environment.
5045 2000-11-20 Martin Buchholz <martin@xemacs.org>
5047 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
5049 2000-11-20 Martin Buchholz <martin@xemacs.org>
5051 * casetab.c (Fcase_table_p): Fix compile error and crash.
5053 2000-11-18 Philip Aston <philipa@mail.com>
5055 * s/cygwin32.h: Cygwin has SVR4-like pty support.
5057 2000-11-18 Martin Buchholz <martin@xemacs.org>
5059 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
5060 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
5062 2000-11-17 Martin Buchholz <martin@xemacs.org>
5064 * config.h.in: Define HAVE_ELF_H if elf.h exists.
5065 * unexelf.c: Use HAVE_ELF_H.
5066 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
5067 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
5068 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
5069 Greg Harrington <greg_harrington@hotmail.com> provided a machine
5071 So this is an unexelfsgi.c from a different line of development.
5073 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5075 * regex.c (RE_TR_ASCII): New function.
5076 (RE_TRANSLATE): Call it.
5078 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5080 * buffer.h (TRT_TABLE_OF): Remove assert.
5081 (IN_TRT_TABLE_DOMAIN): Removed.
5083 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
5085 * free-hook.c (log_gcpro):
5086 (show_gcprohist): Add support for GCPRO5.
5088 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
5090 * emacs.c (main_1): Improve -sd error message when --pdump=no.
5092 2000-11-16 Olivier Galibert <galibert@xemacs.org>
5094 * symeval.h: Declare flush_all_buffer_local_cache.
5096 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
5097 (flush_buffer_local_cache): Added.
5098 (flush_all_buffer_local_cache): Added.
5100 * lrecord.h: Remove unused XD_LO_RESET_NIL.
5102 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
5103 (pdump_dump_data): Ditto.
5104 (pdump_reloc_one): Ditto.
5105 (pdump): Remove unused pdump_qnil. Flush buffer local caches
5109 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5111 * buffer.c: Remove if 0'ed entry.
5112 * buffer.h: Rewrite TRT to use char-table.
5113 * bufslots.h: Remove mirror tables.
5114 * casetab.c: Remove mirror tables.
5115 (CASE_TABLE_P): New macro.
5116 (Fcase_table_p): Element of a case table is string or char-table.
5117 (make_mirror_trt_table): Removed.
5118 (set_case_table): Setup char-table from strings for backward
5120 * dired.c (Fdirectory_files):
5121 * dired-msw.c: (mswindows_get_files):
5122 * lisp.h: Change prototype of re_pattern_buffer.
5123 * regex.c: (RE_TRANSLATE): New macro.
5124 (TRANSLATE_P): Ditto.
5125 Change translate to type RE_TRANSLATE_TYPE.
5126 * regex.h: Define RE_TRANSLATE_TYPE
5127 * search.c (TRANSLATE): New macro.
5128 (TRANSLATE_ASCII): New macro.
5129 Translate table is changed to Lisp_Object.
5130 (signal_failure): Inhibit return.
5132 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5139 Do UNGCPRO before return.
5141 2000-11-14 Martin Buchholz <martin@xemacs.org>
5143 * XEmacs 21.2.37 is released.
5145 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5147 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5148 Add comments about discarded return value.
5150 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5153 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5155 2000-10-27 Andy Piper <andy@xemacs.org>
5157 * gutter.c (Fset_default_gutter_position): default left and right
5159 (calculate_gutter_size): calculate resonable heuristic for left
5160 and right gutter sizes.
5161 (specifier_vars_of_gutter): change left and right gutter sizes to
5163 (calculate_gutter_size_from_display_lines): new function.
5164 (output_gutter): check for resizing on left and right gutters.
5165 (clear_gutter): don't special case top and left gutters.
5166 (specifier_vars_of_gutter): use new signature for
5167 set_specifier_caching.
5169 * glyphs-x.c (x_redisplay_widget): spelling fix.
5170 * glyphs.c (specifier_vars_of_glyphs):
5171 * menubar.c (specifier_vars_of_menubar):
5172 * redisplay.c (specifier_vars_of_redisplay):
5173 * toolbar.c (specifier_vars_of_toolbar):
5174 * window.c (specifier_vars_of_window):
5175 * scrollbar.c (specifier_vars_of_scrollbar):
5176 (complex_vars_of_scrollbar): use new signature for
5177 set_specifier_caching.
5179 * specifier.c (set_specifier_caching): include recompute flag.
5180 (recompute_one_cached_specifier_in_window): always recompute if
5182 (recompute_one_cached_specifier_in_frame): ditto.
5184 * specifier.h (struct specifier_caching): add recompute flag.
5186 2000-10-24 Andy Piper <andy@xemacs.org>
5188 * unexcw.c (copy_executable_and_dump_data_section): add new
5189 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5192 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5194 * console-x.h (x_device): New member modifier_release_time.
5195 * event-Xt.c (x_handle_sticky_modifiers):
5196 Bound interval modifier keys are sticky.
5197 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5198 * events.h: extern it.
5200 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5202 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5204 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5206 * event-stream.c (execute_command_event): Preserve current_events
5207 and the like when event is misc-user-event.
5208 Inhibit quit during the call to maybe_echo_keys.
5210 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5212 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5213 symlink when buffer is killed.
5214 (inhibit_clash_detection): New variable.
5216 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5218 * console.c (Fset_input_method): Trigger redisplay on tty.
5220 2000-11-07 Martin Buchholz <martin@xemacs.org>
5222 * process.c (Fprocess_status): Revert to previous behavior:
5223 (process-status "nosuchprocess") ==> nil
5225 2000-11-06 Martin Buchholz <martin@xemacs.org>
5227 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5228 Work around another GCC 2.95.2 optimizer bug.
5230 2000-11-02 Martin Buchholz <martin@xemacs.org>
5232 * process.c (Fget_process): Use LIST_LOOP_2.
5233 (kill_buffer_processes): Use LIST_LOOP_2.
5235 * minibuf.c (Fall_completions):
5236 Delete old non-functional code for FSF fourth argument.
5238 * frame.c (frame_matches_frame_spec):
5239 Renamed from `frame_matches_frametype'. Update all callers.
5240 (device_matches_device_spec):
5241 Renamed from 'device_matches_console_spec'. Update all callers.
5243 * doc.c (Fsubstitute_command_keys):
5244 Remove buffer overflow crash. Small code cleanups.
5246 * casetab.c (check_case_table): Simpler code.
5248 * window.c (Freplace_buffer_in_windows):
5249 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5250 (and similar implementation) as Fdelete_windows_on.
5253 * alloc.c (Fmake_list):
5254 * alloc.c (make_vector):
5255 * alloc.c (Fmake_vector):
5256 * alloc.c (make_bit_vector):
5257 * alloc.c (Fmake_bit_vector):
5258 * alloc.c (Fbit_vector):
5259 * alloc.c (Fmake_string):
5260 * alloc.c (Fpurecopy):
5261 * alloc.c (Fmemory_limit):
5263 * buffer.c (Fget_buffer):
5264 * buffer.c (Fkill_buffer):
5265 * buffer.c (complex_vars_of_buffer):
5266 * bytecode.c (Fcompiled_function_stack_depth):
5267 * callint.c (Fprefix_numeric_value):
5269 * event-stream.c (Fread_key_sequence):
5271 * casetab.c (Fcase_table_p):
5272 * casetab.c (check_case_table):
5273 * casetab.c (Fset_case_table):
5274 * casetab.c (Fset_standard_case_table):
5276 * chartab.c (Fchar_table_type):
5277 * chartab.c (Freset_char_table):
5278 * chartab.c (Fget_char_table):
5279 * chartab.c (Fget_range_char_table):
5280 * chartab.c (Fput_char_table):
5281 * chartab.c (Fmap_char_table):
5282 * chartab.c (Fcategory_table_p):
5283 * chartab.c (Fcheck_category_at):
5284 * chartab.c (Fchar_in_category_p):
5285 * chartab.c (Fcategory_table):
5286 * chartab.c (Fcopy_category_table):
5287 * chartab.c (Fset_category_table):
5288 * chartab.c (Fcategory_designator_p):
5289 * chartab.c (Fcategory_table_value_p):
5290 * cmds.c (Fdelete_char):
5291 * cmds.c (Fdelete_backward_char):
5292 * cmds.c (Fself_insert_command):
5293 * cmds.c (Fself_insert_internal):
5294 * console.c (Fvalid_console_type_p):
5295 * console.c (Fcdfw_console):
5296 * console.c (Fconsole_type):
5297 * console.c (Fconsole_name):
5298 * console.c (Fconsole_device_list):
5299 * console.c (Fconsole_on_window_system_p):
5303 * data.c (Fsubr_interactive):
5304 * data.c (Fchar_to_int):
5305 * data.c (Fint_to_char):
5308 * data.c (Fnumber_to_string):
5309 * data.c (Fstring_to_number):
5311 * database.c (mark_database):
5312 * database.c (finalize_database):
5313 * database.c (Fdatabase_live_p):
5314 * database.c (Fdatabasep):
5315 * device-x.c (Fx_get_resource):
5316 * device.c (Fdfw_device):
5318 * dired.c (Ffile_name_completion):
5319 * dired.c (Ffile_name_all_completions):
5320 * dired.c (Fuser_name_completion):
5321 * dired.c (Fuser_name_completion_1):
5322 * dired.c (Fuser_name_all_completions):
5323 * doc.c (Fdocumentation):
5324 * doc.c (Fdocumentation_property):
5325 * doc.c (Fsubstitute_command_keys):
5327 * editfns.c (Fchar_to_string):
5328 * editfns.c (Fstring_to_char):
5329 * editfns.c (Ftemp_directory):
5330 * editfns.c (Finsert_char):
5331 * editfns.c (Fbuffer_substring_no_properties):
5332 * editfns.c (Fnarrow_to_region):
5333 * editfns.c (Fchar_equal):
5334 * editfns.c (Fchar_Equal):
5335 * editfns.c (Ftranspose_regions):
5336 * emacs.c (Fdump_emacs):
5338 * eval.c (Fcommand_execute):
5339 * eval.c (Fautoload):
5340 * eval.c (Fbacktrace):
5341 * eval.c (Fbacktrace_frame):
5343 * events.c (Fcopy_event):
5344 * events.c (Fcharacter_to_event):
5345 * events.c (Fevent_button):
5346 * events.c (Fevent_process):
5348 * extents.c (Fnext_extent_change):
5349 * extents.c (Fextent_property):
5351 * faces.c (Fmake_face):
5353 * file-coding.c (Fencode_shift_jis_char):
5354 * file-coding.c (Fencode_big5_char):
5355 * fileio.c (Ffile_name_directory):
5356 * fileio.c (Ffile_name_nondirectory):
5357 * fileio.c (Ffile_name_as_directory):
5358 * fileio.c (Fdirectory_file_name):
5359 * fileio.c (Ffile_truename):
5360 * fileio.c (Fsubstitute_in_file_name):
5361 * fileio.c (Ffile_modes):
5362 * fileio.c (Fset_file_modes):
5363 * fileio.c (Fset_default_file_modes):
5364 * fileio.c (Fverify_visited_file_modtime):
5365 * floatfns.c (Facos):
5366 * floatfns.c (Fasin):
5367 * floatfns.c (Fatan):
5368 * floatfns.c (Fcos):
5369 * floatfns.c (Fsin):
5370 * floatfns.c (Ftan):
5371 * floatfns.c (Fbessel_j0):
5372 * floatfns.c (Fbessel_j1):
5373 * floatfns.c (Fbessel_jn):
5374 * floatfns.c (Fbessel_y0):
5375 * floatfns.c (Fbessel_y1):
5376 * floatfns.c (Fbessel_yn):
5377 * floatfns.c (Ferf):
5378 * floatfns.c (Ferfc):
5379 * floatfns.c (Flog_gamma):
5380 * floatfns.c (Fexp):
5381 * floatfns.c (Fexpt):
5382 * floatfns.c (Flog):
5383 * floatfns.c (Flog10):
5384 * floatfns.c (Fsqrt):
5385 * floatfns.c (Fcube_root):
5386 * floatfns.c (Facosh):
5387 * floatfns.c (Fasinh):
5388 * floatfns.c (Fatanh):
5389 * floatfns.c (Fcosh):
5390 * floatfns.c (Fsinh):
5391 * floatfns.c (Ftanh):
5392 * floatfns.c (Fabs):
5393 * floatfns.c (Ffloat):
5394 * floatfns.c (Flogb):
5395 * floatfns.c (Fceiling):
5396 * floatfns.c (Ffloor):
5397 * floatfns.c (Fround):
5398 * floatfns.c (Ftruncate):
5399 * floatfns.c (Ffceiling):
5400 * floatfns.c (Fffloor):
5401 * floatfns.c (Ffround):
5402 * floatfns.c (Fftruncate):
5403 * fns.c (Fstring_equal):
5404 * fns.c (Fstring_lessp):
5409 * fns.c (Fsubstring):
5411 * fns.c (Fold_assoc):
5412 * fns.c (assoc_no_quit):
5414 * fns.c (Fold_assq):
5415 * fns.c (assq_no_quit):
5417 * fns.c (Fold_rassoc):
5419 * fns.c (Fold_rassq):
5420 * fns.c (rassq_no_quit):
5421 * fns.c (Fremassoc):
5422 * fns.c (remassoc_no_quit):
5424 * fns.c (remassq_no_quit):
5425 * fns.c (Fremrassoc):
5426 * fns.c (Fremrassq):
5427 * fns.c (remrassq_no_quit):
5429 * fns.c (Fplist_get):
5430 * fns.c (Fplist_put):
5431 * fns.c (Fplist_remprop):
5432 * fns.c (Fplist_member):
5433 * fns.c (Flax_plist_get):
5434 * fns.c (Flax_plist_put):
5435 * fns.c (Flax_plist_remprop):
5436 * fns.c (Flax_plist_member):
5438 * fns.c (Fold_equal):
5440 * fns.c (Fbase64_encode_region):
5441 * fns.c (Fbase64_encode_string):
5442 * fns.c (Fbase64_decode_region):
5444 * frame.c (frame_matches_frame_spec):
5445 * frame.c (device_matches_device_spec):
5446 * frame.c (next_frame):
5447 * frame.c (previous_frame):
5448 * frame.c (Fnext_frame):
5449 * frame.c (Fprevious_frame):
5450 * frame.c (Fframe_property):
5451 * frame.c (Fset_frame_height):
5452 * frame.c (Fset_frame_size):
5456 * glyphs.c (decode_error_behavior_flag):
5457 * glyphs.c (Fmake_image_instance):
5458 * indent.c (Findent_to):
5459 * intl.c (Fignore_defer_gettext):
5460 * keymap.c (Fkeymapp):
5461 * keymap.c (Flookup_key):
5463 * lread.c (Fload_internal):
5464 * lread.c (Feval_buffer):
5465 * lread.c (Feval_region):
5466 * macros.c (Fexecute_kbd_macro):
5467 * marker.c (set_marker_internal):
5468 * marker.c (Fset_marker):
5469 * marker.c (set_marker_restricted):
5470 * marker.c (Fcopy_marker):
5471 * marker.c (noseeum_copy_marker):
5473 * menubar.c (Fpopup_menu):
5475 * mule-charset.c (Fcharset_name):
5476 * mule-charset.c (Fchar_charset):
5477 * mule-charset.c (Fchar_octet):
5478 * mule-charset.c (Fsplit_char):
5479 * mule-wnnfns.c (Fwnn_open):
5480 * mule-wnnfns.c (Fwnn_dict_comment):
5481 * mule-wnnfns.c (Fwnn_quit_henkan):
5482 * mule-wnnfns.c (Fwnn_word_toroku):
5483 * mule-wnnfns.c (Fwnn_word_sakujo):
5484 * mule-wnnfns.c (Fwnn_word_use):
5485 * mule-wnnfns.c (Fwnn_hindo_set):
5487 * objects.c (Fmake_color_instance):
5488 * objects.c (Fmake_font_instance):
5489 * print.c (Fwrite_char):
5491 * process.c (mark_process):
5492 * process.c (print_process):
5493 * process.c (get_process_from_usid):
5494 * process.c (Fprocessp):
5495 * process.c (Fprocess_live_p):
5496 * process.c (Fget_process):
5497 * process.c (Fget_buffer_process):
5498 * process.c (get_process):
5499 * process.c (Fprocess_id):
5500 * process.c (Fprocess_name):
5501 * process.c (Fprocess_command):
5502 * process.c (init_process_io_handles):
5503 * process.c (start_process_unwind):
5504 * process.c (Fstart_process_internal):
5505 * process.c (Fopen_multicast_group_internal):
5506 * process.c (Fset_process_window_size):
5507 * process.c (read_process_output):
5508 * process.c (send_process):
5509 * process.c (Fprocess_tty_name):
5510 * process.c (Fset_process_buffer):
5511 * process.c (Fprocess_buffer):
5512 * process.c (Fprocess_mark):
5513 * process.c (set_process_filter):
5514 * process.c (Fset_process_filter):
5515 * process.c (Fprocess_filter):
5516 * process.c (Fprocess_send_region):
5517 * process.c (Fprocess_send_string):
5518 * process.c (exec_sentinel):
5519 * process.c (Fset_process_sentinel):
5520 * process.c (Fprocess_sentinel):
5521 * process.c (status_notify):
5522 * process.c (Fprocess_status):
5523 * process.c (Fprocess_exit_status):
5524 * process.c (process_send_signal):
5525 * process.c (Fprocess_send_eof):
5526 * process.c (deactivate_process):
5527 * process.c (remove_process):
5528 * process.c (Fdelete_process):
5529 * process.c (kill_buffer_processes):
5530 * process.c (Fprocess_kill_without_query):
5531 * process.c (Fprocess_kill_without_query_p):
5533 * rangetab.c (Fget_range_table):
5534 * rangetab.c (Fput_range_table):
5535 * rangetab.c (Fremove_range_table):
5536 * rangetab.c (Fclear_range_table):
5538 * search.c (Fskip_chars_forward):
5539 * search.c (Fskip_chars_backward):
5540 * search.c (Fskip_syntax_forward):
5541 * search.c (Fskip_syntax_backward):
5542 * search.c (search_command):
5543 * search.c (Freplace_match):
5544 * search.c (Fregexp_quote):
5545 * select.c (Fown_selection_internal):
5546 * select.c (Fselection_owner_p):
5547 * select.c (Fselection_exists_p):
5548 * select.c (Fget_selection_internal):
5551 * symbols.c (Fintern):
5552 * symbols.c (Fintern_soft):
5553 * symbols.c (Funintern):
5554 * symbols.c (Fapropos_internal):
5555 * symbols.c (Fset_default):
5557 * syntax.c (Fsyntax_table_p):
5558 * syntax.c (Fcopy_syntax_table):
5559 * syntax.c (Fset_syntax_table):
5560 * syntax.c (Fchar_syntax):
5561 * syntax.c (syntax_match):
5562 * syntax.c (Fmatching_paren):
5563 * syntax.c (Fforward_word):
5564 * syntax.c (scan_lists):
5565 * syntax.c (Fscan_lists):
5566 * syntax.c (Fscan_sexps):
5567 * syntax.c (Fparse_partial_sexp):
5568 * toolbar.c (Fcheck_toolbar_button_syntax):
5571 * window.c (Fwindowp):
5572 * window.c (Fwindow_live_p):
5573 * window.c (Fwindow_point):
5574 * window.c (Fdelete_window):
5575 * window.c (Fnext_window):
5576 * window.c (Fprevious_window):
5577 * window.c (Fother_window):
5578 * window.c (window_loop):
5579 * window.c (Fget_lru_window):
5580 * window.c (Fsplit_window):
5581 * window.c (Fenlarge_window):
5582 * window.c (Fenlarge_window_pixels):
5583 * window.c (Fshrink_window):
5584 * window.c (Fshrink_window_pixels):
5585 * window.c (change_window_height):
5586 * window.c (Fwindow_configuration_p):
5587 * window.c (Fcurrent_window_configuration):
5589 * casefiddle.c (casify_object):
5590 * casefiddle.c (Fupcase):
5591 * casefiddle.c (Fdowncase):
5592 * casefiddle.c (Fcapitalize):
5593 * casefiddle.c (Fupcase_initials):
5594 * casefiddle.c (casify_region_internal):
5595 * casefiddle.c (casify_region):
5596 * casefiddle.c (Fupcase_region):
5597 * casefiddle.c (Fdowncase_region):
5598 * casefiddle.c (Fcapitalize_region):
5599 * casefiddle.c (Fupcase_initials_region):
5600 * casefiddle.c (Fupcase_word):
5601 * casefiddle.c (Fdowncase_word):
5602 * casefiddle.c (Fcapitalize_word):
5603 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5604 Replace 0 with '\0' when working with bytes.
5605 Replace initial "(" with "\(" in docstrings.
5607 2000-11-01 Martin Buchholz <martin@xemacs.org>
5609 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5611 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5613 2000-10-31 Martin Buchholz <martin@xemacs.org>
5615 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5617 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5619 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5622 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5624 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5625 (inhibit_auto_save_session): New variable.
5626 (vars_of_fileio): Declare and initialize them.
5627 * fileio.c (Fdo_auto_save): Don't create session file if
5628 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5630 2000-10-31 Martin Buchholz <martin@xemacs.org>
5632 * sgiplay.c (play_internal): C++ compilability.
5633 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5634 * callproc.c (Fold_call_process_internal):
5635 Remove unused vars `env', `first'.
5636 * scrollbar.c (update_scrollbar_instance):
5637 #### unused var `current_window'.
5638 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5639 etc. within #ifdef NOT_YET.
5640 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5641 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5642 * specifier.c (specifier_instance):
5643 #### unused var `tag'.
5644 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5646 2000-10-27 Martin Buchholz <martin@xemacs.org>
5649 * fns.c (list_sort):
5650 * fns.c (Ffillarray):
5651 * fns.c (bytecode_nconc2):
5654 * fns.c (Fmapconcat):
5655 Be pedantically 64-bit correct. For the time when someone will
5656 want to have a list with length > 2**32.
5658 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5659 Work around MIPSpro compiler bug.
5661 * process-unix.c (unix_kill_child_process): Add snarky comment.
5662 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5664 * config.h.in: Oops, _getpt ==> _getpty
5666 2000-10-26 Martin Buchholz <martin@xemacs.org>
5670 Use void*, not char*, as return type of alloca().
5672 * alloc.c (free_marker): Side effect inside assert expression!
5674 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5676 * mule-charset.c (Fset_charset_ccl_program): To check
5677 if the given ccl program is valid, use setup_ccl_program()
5678 instead of CHECK_VECTOR().
5679 (Fmake_charset): Likewise.
5681 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5683 * faces.c (get_extent_fragment_face_cache_index):
5684 Fix cachel.merged_faces memory leak.
5686 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5688 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5689 Reset MSB of octets obtained by DECODE_SJIS
5690 because of the incompatibility with Emacs.
5691 (ccl_driver)<CCL_ENCODE_SJIS>:
5692 Set MSB of octets before passing them to
5693 ENCODE_SJIS because of the incompatibility
5696 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5698 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5699 (DECLARE_LRECORD): Undo the last change.
5700 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5702 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5704 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5705 the implementation to lrecord_implementations_table.
5707 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5709 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5710 initial value of `lrecord_type_##c_name' and
5711 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
5712 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
5713 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
5714 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
5715 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
5717 2000-10-17 Martin Buchholz <martin@xemacs.org>
5719 * miscplay.c (sndcnv8S_2mono):
5720 (sndcnv2monounsigned):
5721 (sndcnvULaw_2linear):
5723 Remove implementation-defined behavior.
5725 2000-10-12 Martin Buchholz <martin@xemacs.org>
5727 * input-method-xlib.c: Warning suppression.
5729 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
5731 * mule-ccl.c: Sync up with Emacs 21.0.90.
5732 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
5734 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
5736 (ccl_driver[WriteMultibyteChar2]): Bug fix.
5737 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
5738 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
5739 leading char belongs to official 2-dimensional charset.
5740 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
5741 write the given character as is. Otherwise,
5742 if it is a multibyte char, convert it by
5743 non_ascii_set_charptr_emchar, then write it.
5744 (CCL_WRITE_STRING): Likewise.
5745 (ccl_get_compiled_code): New function.
5746 (setup_ccl_program): When ccl_prog is invalid,
5748 (Fregister_code_conversion_map): New function.
5749 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
5751 * mule-ccl.h: Sync up with Emacs 21.0.90.
5752 (Fregister_ccl_program): export it.
5754 * redisplay-msw.c (separate_textual_runs):
5755 If ccl program is not valid, don't do ccl conversion.
5757 * redisplay-x.c (separate_textual_runs): Ditto.
5759 * file-coding.c (Fmake_coding_system):
5760 When type is ccl and value is vector, register it
5761 with a proper symbol. And checks whether the
5762 given ccl program is valid.
5763 (mule_decode): When calling ccl_driver, if src indicates
5764 NULL pointer, set an empty string instead.
5765 (mule_encode): Likewise.
5767 2000-10-11 Martin Buchholz <martin@xemacs.org>
5769 The following large batch of changes gets us back to a state of
5770 C++ compilability. Extbyte is now a char, which means that
5771 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
5773 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
5775 * sound.c (Fplay_sound): Type correctness.
5777 * select-x.c (hack_motif_clipboard_selection): Type correctness.
5778 (x_get_window_property): Type correctness.
5779 (receive_incremental_selection): unsigned char ==> Extbyte
5780 (selection_data_to_lisp_data): unsigned char ==> Extbyte
5781 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
5782 (Fx_store_cutbuffer_internal): Type correctness.
5784 * process-unix.c (try_to_initialize_subtty): Type correctness.
5786 * objects-x.c (x_print_color_instance): Type correctness.
5787 (x_print_font_instance): Type correctness.
5788 (x_list_fonts): SExtbyte ==> Extbyte.
5789 (valid_x_font_name_p): SExtbyte ==> Extbyte.
5790 (x_find_charset_font): SExtbyte ==> Extbyte.
5791 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
5792 (truename_via_XListFonts): SExtbyte ==> Extbyte.
5793 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
5796 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
5797 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
5798 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
5799 (BYTE_C0_P): Use bit ops for char-signedness safety.
5800 (BYTE_C1_P): Use bit ops for char-signedness safety.
5801 (CHARSET_BY_LEADING_BYTE):
5802 (CHARSET_BY_ATTRIBUTES):
5803 Always use inline function.
5804 Use type_checking_assert.
5807 * mule-charset.c (non_ascii_charptr_copy_char):
5808 Modify to work with both ASCII and non-ASCII characters.
5809 Improve docs and variable names.
5810 Replace over-clever fall-through switch with a simple loop.
5811 (Lstream_get_emchar_1):
5812 Replace over-clever fall-through switch with a simple loop.
5814 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5815 Warning suppression.
5817 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
5818 the return value of Lstream_getc, which could be EOF as well.
5820 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
5822 * lisp.h: Make Extbyte a char, not unsigned char, so that external
5823 APIs can be used on Extbytes without casts. Risky!
5827 * input-method-xlib.c (XIM_init_device):
5828 Use Xlib.h instead of IntrinsicP.h.
5829 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
5830 which will break in X11R7.
5831 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
5832 to call XRegisterIMInstantiateCallback with correct types.
5834 * gui-x.c (button_item_to_widget_value): Type correctness.
5836 * glyphs.c (bitmap_to_lisp_data): Type correctness.
5838 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
5839 (xbm_instantiate_1): Type correctness.
5840 (BUILD_GLYPH_INST): Type correctness.
5842 * fileio.c (Fsubstitute_in_file_name): Type correctness.
5845 (decode_coding_sjis):
5846 (decode_coding_big5):
5847 (decode_coding_ucs4):
5848 (decode_coding_utf8):
5849 (decode_coding_iso2022):
5850 (decode_coding_no_conversion):
5851 Make all decoding functions take an Extbyte * arg.
5852 (encode_coding_sjis):
5853 (encode_coding_big5):
5854 (encode_coding_ucs4):
5855 (encode_coding_utf8):
5856 (encode_coding_iso2022):
5857 (encode_coding_no_conversion):
5858 Make all encoding functions take a Bufbyte * arg.
5859 Use size_t instead of unsigned int for memory sizes.
5860 Only cast to unsigned char whenever dereferencing Extbyte *.
5862 * doc.c (unparesseuxify_doc_string): Type correctness.
5864 * console-x.c (split_up_display_spec):
5865 Rewrite without using details of internal string representation.
5866 (x_semi_canonicalize_device_connection): Type correctness.
5869 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
5870 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
5871 (HAVE_XFREE386): Removed.
5873 * buffer.h (DEC_CHARPTR): `const' correctness.
5874 (bufbyte_strcmp): New.
5875 (bufbyte_memcmp): New.
5877 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
5879 * buffer.h (XCHAR_OR_CHAR_INT):
5880 Always use inline function.
5881 Remove redundant type checking assert() - XINT will abort quite nicely.
5883 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
5885 * search.c (Freplace_match): Set newtext to an empty string.
5887 2000-10-10 Martin Buchholz <martin@xemacs.org>
5889 * s/decosf1-3.h: Remove #include of stropts.h
5890 * s/ptx.h: Remove #include of stropts.h
5891 * s/usg5-4.h: Remove #include of stropts.h
5894 Use stropts.h, not sys/stropts.h.
5895 Use strtio.h, not sys/strtio.h.
5897 2000-10-04 Martin Buchholz <martin@xemacs.org>
5899 * XEmacs 21.2.36 is released.
5901 2000-09-21 Andy Piper <andy@xemacs.org>
5903 * glyphs-x.c (x_redisplay_widget): make sure non-structural
5904 changes still involve copying the widget tree.
5905 (update_widget_face): make sure a change is register in the widget
5906 tree. Call update_tab_widget_face appropriately.
5907 (update_tab_widget_face): ditto.
5908 (x_tab_control_redisplay): make sure non-structural changes still
5909 involve copying the widget tree.
5911 2000-08-31 Daiki Ueno <ueno@unixuser.org>
5913 * lread.c (locate_file): Check the path element is non-nil.
5915 2000-10-02 Martin Buchholz <martin@xemacs.org>
5917 * lisp.h: Warning suppression for SCO compilers.
5919 * redisplay-tty.c (reset_tty_modes): Fix crash.
5920 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
5922 2000-09-27 Martin Buchholz <martin@xemacs.org>
5924 Big signal/process handling overhaul. Bugs fixed:
5925 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
5926 M-x comint-kill-subjob should work for both values nil and t of
5927 process-connection-type. It was broken on most platforms.
5928 Testing on Irix and Cygwin still needed. Other plaforms tested.
5929 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
5930 * process-unix.c: Signal/Process handling overhaul.
5931 (pty_name): make 64 bytes, as `expect' does, for paranoia.
5932 (allocate_pty): Use all available modern methods of allocating
5933 ptys, falling back to old style BSD allocation as a last resort.
5934 Use allegedly more secure Unix98 pty allocation by default.
5935 (allocate_pty_the_old_fashioned_way): New. the last resort.
5936 (unix_create_process): Push ptem, ldterm, ttcompat where
5937 available. Autoconfiscate.
5938 (try_to_initialize_subtty): New.
5939 (unix_kill_child_process): Proper signal handling for ptys on most
5940 platforms, using special knowledge of AIX, BSD, etc...
5941 (unix_create_process): Always disconnect_controlling_terminal() for
5942 subprocesses, whether using ptys or not.
5943 * process.h: Remove old getpt-dependent PTY code.
5944 * process.c (Fprocess_send_signal): New, obvious generic function.
5945 (decode_signal): New.
5946 (Finterrupt_process):
5950 (Fcontinue_process):
5951 (Fsignal_process): Use decode_signal.
5952 (process_send_signal):
5953 Many docstring corrections.
5954 Allow any signal to be sent to a process object.
5955 * config.h.in: Add symbols for big signal/process overhaul.
5956 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
5957 * sysproc.h: Include process-related headers, where available:
5958 sys/stropts.h sys/strtio.h pty.h libutil.h
5966 Remove old S&M pty stuff.
5967 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
5968 * systty.h: Simplify cpp hackery, improve comments.
5969 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
5971 * editfns.c (Fformat_time_string):
5972 Be a little more paranoid with the return value of ctime.
5974 * fileio.c (check_executable):
5976 Use symbolic constants X_OK, W_OK.
5978 * console-x.c (split_up_display_spec): Fix a warning.
5980 2000-10-02 Martin Buchholz <martin@xemacs.org>
5982 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
5983 * ntproc.c (sys_spawnve): make_string ==> build_string
5984 Small clarity improvements.
5986 2000-09-30 Martin Buchholz <martin@xemacs.org>
5988 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
5990 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
5992 * config.h.in (HAVE_STRCASECMP): Remove.
5994 2000-09-29 Martin Buchholz <martin@xemacs.org>
5996 * redisplay-output.c (redisplay_output_pixmap):
5997 Cleaner and possibly more 64-bit correct code.
5999 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6001 * dumper.c (pdump_load_finish): move restoration of
6002 `noninteractive1' to emacs.c (main_1).
6003 * emacs.c (main_1): protect LISP-visible command-line flags
6006 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
6008 * Makefile.in.in (versionclean): Use EXE_TARGET and
6009 DUMP_TARGET instead of literal program names.
6011 2000-09-20 Martin Buchholz <martin@xemacs.org>
6013 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
6015 2000-09-19 Martin Buchholz <martin@xemacs.org>
6017 * *: Spelling mega-patch
6019 2000-09-19 Martin Buchholz <martin@xemacs.org>
6021 * fns.c (bad_bad_turtle):
6022 Delete "Eek!" comment, since we fixed the bug to which it refers.
6024 2000-09-16 Martin Buchholz <martin@xemacs.org>
6026 * alloca.c: Replace REGISTER with register.
6028 2000-09-16 Daiki Ueno <ueno@unixuser.org>
6030 * file-coding.c (ucs_to_char): Use countof.
6032 2000-09-16 Martin Buchholz <martin@xemacs.org>
6034 * file-coding.c: (ucs_to_char):
6035 (complex_vars_of_file_coding):
6036 Use countof instead of sizeof.
6037 Use CHECK_NATNUM instead of CHECK_INT.
6039 * sysdep.c (strcasecmp): Remove.
6040 * device-x.c (ascii_strcasecmp): New.
6041 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
6042 Avoid using non-standard non-portable strcasecmp.
6044 2000-09-16 Martin Buchholz <martin@xemacs.org>
6046 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
6047 * font-lock.c: remove reference to emacsfns.h.
6048 * search.c: small doc improvement.
6049 * event-Xt.c: correct file names in comments.
6050 * console-x.h Correct file names in comments.
6051 * frame.c: Correct file names in comments.
6052 * event-stream.c: remove Energize from comments.
6054 2000-09-15 Martin Buchholz <martin@xemacs.org>
6056 * symeval.h (DEFERROR_STANDARD):
6059 (DEFSYMBOL_NO_DUMP):
6060 (DEFSYMBOL_MULTIWORD_PREDICATE):
6061 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
6063 The construct &##name is not sensible C.
6064 Fixes compilation errors with Unixware native compiler.
6066 2000-09-14 Martin Buchholz <martin@xemacs.org>
6068 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
6069 (next_frame_internal): Removed. We now just have next_frame.
6071 Write a simpler and cleaner one-pass algorithm.
6072 Remove called_from_delete_device arg and #ifdefed-out code.
6074 Renamed from prev_frame. Update callers.
6075 Cleaned up to have an analogous implementation to next_frame.
6076 (other_visible_frames_internal): Remove the
6077 called_from_delete_device bogus arg, and hence, remove this
6078 function. Just use other_visible_frames().
6080 * window.c (Fnext_window):
6082 Since next_frame() is guaranteed to return a frame, remove check
6083 for nil inserted in previous patch.
6086 Make code look more like Fnext_window.
6088 Respect the `console' arg when iterating through windows.
6089 Fixes bug: (get-buffer-window buffer t device) not respecting
6091 This function needs more work, as others have pointed out.
6093 * frame.h: Rename prev_frame to previous_frame.
6094 device_matches_console_spec no longer takes a `frame' arg.
6099 Use EMACS_BLOCK_SIGNAL instead of sigblock.
6100 From "Golubev I. N." <gin@mo.msk.ru>.
6102 * make-src-depend: Fix typo.
6104 2000-09-13 Martin Buchholz <martin@xemacs.org>
6106 * window.c (Fnext_window):
6107 next_frame() might return nil, not a frame.
6109 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6111 * frame.c (next_frame_internal):
6112 We've passed a frame if we've passed its device.
6114 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6115 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
6117 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6119 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6120 Allow option to suppress accelerators in menu/dialog items.
6121 (populate_or_checksum_helper): Pass dialog title through above.
6123 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6125 * event-msw.c (mswindows_key_to_emacs_keysym):
6126 Add "pause" key, fix "menu" key.
6128 2000-09-09 Martin Buchholz <martin@xemacs.org>
6130 * eval.c (reinit_vars_of_eval):
6131 Increase max_lisp_eval_depth to 1000,
6132 required for thai-xtis.el to byte-compile under some circumstances.
6134 2000-09-04 Martin Buchholz <martin@xemacs.org>
6136 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6139 2000-09-01 Martin Buchholz <martin@xemacs.org>
6141 * make-src-depend: Make the generated Makefiles smaller.
6143 * s/hpux.h (SETUP_SLAVE_PTY):
6144 Provide a %d in the format string for the errno argument.
6146 * editfns.c (Ftemp_directory):
6148 Avoid buffer overrun on very long file name.
6150 * input-method-xlib.c (XIM_init_device):
6151 6th parameter of XRegisterIMInstantiateCallback has different
6152 pointer types on different OSes, so simply cast to (void *).
6154 * unexhp9k800.c: Warning fixes. Fiddly changes.
6156 * sysdll.c (dll_open):
6157 shl_load will hang hard if passed a NULL filename.
6158 Simply return NULL for compatibility with dlopen.
6159 * sysdll.c: Conform to XEmacs coding standards.
6161 * sysdep.c (get_pty_max_bytes):
6162 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6164 2000-08-31 Martin Buchholz <martin@xemacs.org>
6166 * tooltalk.c: Add #include <syssignal.h>
6168 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6170 * s/hpux.h: Don't use undefined function sigunblock().
6172 2000-08-31 Martin Buchholz <martin@xemacs.org>
6174 * config.h.in: Add HAVE_BALLOON_HELP.
6175 * emacs.c: Use HAVE_BALLOON_HELP.
6176 * Makefile.in.in (x_objs):
6177 Make Balloon Help conditional on finding shape.h.
6179 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6181 * syntax.c (regex_emacs_buffer_p): New variable.
6182 * syntax.h (regex_emacs_buffer_p): extern.
6183 * search.c (looking_at_1):
6185 (fast_string_match):
6186 (search_buffer): Set regex_emacs_buffer_p.
6187 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6188 when before_dot, at_dot, after_dot.
6190 2000-08-23 Andy Piper <andy@xemacs.org>
6192 * gui-x.c (popup_selection_callback): Only set action_occurred
6193 when we really have an image instance.
6194 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6196 2000-08-23 Andy Piper <andy@xemacs.org>
6198 * gui-msw.c (mswindows_handle_gui_wm_command): set
6200 * gui-x.c (popup_selection_callback): ditto.
6202 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6203 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6204 (struct Lisp_Image_Instance): add action_occurred flag.
6206 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6207 (image_instance_changed): ditto.
6208 (reset_frame_subwindow_instance_cache): only unmap windows - do
6209 not remove them from the cache also.
6211 * glyphs-widget.c (tab_control_update): better debug.
6212 (progress_gauge_update): ditto.
6213 (layout_update): ditto.
6214 (layout_instantiate): ditto.
6215 (tab_control_order_only_changed): cope with null pending items.
6217 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6218 debug. Force selection of an item when an action occurred. Cope
6219 with null pending_items.
6220 (mswindows_progress_gauge_redisplay): better debug.
6221 * glyphs-x.c (x_tab_control_redisplay): ditto.
6223 * redisplay.c (redisplay_frame): reset the frame cache if the
6226 * window.c (Fset_window_configuration): potentially re-enable
6228 (window_unmap_subwindows): need to finalize instances here since
6229 it is only used in mark_window_as_deleted.
6231 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6233 * nas.c (SndOpenDataForReading):
6234 nas.c (WaveOpenDataForReading):
6235 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6236 Somehow escaped from the 2000-08-14 patch.
6238 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6240 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6241 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6243 2000-08-21 Andy Piper <andy@xemacs.org>
6245 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6246 window if it is not already displayed.
6248 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6249 it is not already displayed.
6251 * window.c (Fset_window_configuration): don't reset the frame
6254 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6255 instances from the frame cache if we are actually finalizing them.
6256 (reset_frame_subwindow_instance_cache): reset frame cache only
6257 after unmapping everything.
6258 (map_subwindow): set displayed flag after mapping.
6260 2000-08-21 Martin Buchholz <martin@xemacs.org>
6262 * data.c (indirect_function):
6263 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6265 * eval.c (function_argcount):
6266 Use original function when signaling errors.
6268 2000-08-18 Andy Piper <andy@xemacs.org>
6270 * frame.c (delete_frame_internal): use new
6271 free_frame_subwindow_instances name.
6273 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6274 (add_tab_item): make return type correct.
6275 (mswindows_tab_control_instantiate): assert index of tab.
6276 (mswindows_tab_control_redisplay): Re-code to use
6277 gui_item_equal_sans_selected and gui_item_list_find_selected.
6279 * glyphs-widget.c (tab_control_update): Correct comment.
6281 * window.c (window_unmap_subwindows): use new
6282 unmap_subwindow_instance_cache_mapper.
6283 (window_unmap_subwindows_cache_mapper): deleted.
6284 (Fset_window_configuration): comparisons should now be with
6285 EQ. Preserve the subwindow instance cache across configuration
6287 (allocate_window): ditto.
6288 (make_dummy_parent): ditto.
6290 * glyphs.c (free_frame_subwindow_instances): rename from
6291 free_frame_subwindow_instance_cache. finalize all instances rather
6292 than just those in the display cache.
6293 (finalize_all_subwindow_instances): walk windows unmapping and
6294 finalizing subwindows.
6295 (unmap_subwindow_instance_cache_mapper): moved from
6296 window.c. Allow finalization as well as unmapping.
6298 * gui.c (gui_item_list_find_selected): new function.
6300 * gui.h (gui_item_list_find_selected): declare.
6302 * glyphs-x.c (x_tab_control_redisplay): pick tab
6303 explicitly. Re-code to use gui_item_equal_sans_selected and
6304 gui_item_list_find_selected.
6306 * glyphs-x.h: add lwlib-utils.h
6308 * buffer.c (Frecord_buffer): undo previous change.
6310 2000-08-09 Vin Shelton <acs@xemacs.org>
6312 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6313 possible. Create temporary files more securely. The patch was
6314 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6315 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6316 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6319 2000-08-07 Ben Wing <ben@xemacs.org>
6321 * getloadavg.c: remove duplicate (and windows-breaking)
6322 includes of fcntl.h and sys/file.h.
6324 * nt.c: remove duplicate getloadavg() definition.
6326 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6329 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6331 * eval.c (function_argcount): If function needs to be autoloaded
6332 actually use the loaded definition.
6335 2000-08-05 Ben Wing <ben@xemacs.org>
6337 * getloadavg.c: add prototype for getloadavg(). remove
6338 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6339 of the code). remove duplicate header includes.
6341 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6343 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6344 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6345 useful load average.
6347 * alloc.c (reinit_alloc_once_early): removed references to
6348 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6349 the lisp vars are the only things referencing the malloc_sbrk_*
6350 vars, and they were already if 0'd out. these vars only exist
6351 in the older malloc.c, which is basically unused, and they're
6352 only for informational purposes.
6354 * m\*.h: removed useless VIRT_ADDR_VARIES.
6356 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6358 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6360 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6361 color if the image is a mono pixmap.
6363 2000-07-30 Ben Wing <ben@xemacs.org>
6365 * Makefile.in.in (release):
6368 * buffer.c (directory_is_current_directory):
6369 * dired-msw.c (mswindows_get_files):
6371 * dired.c (Fdirectory_files):
6372 * dired.c (file_name_completion_stat):
6373 * dired.c (Ffile_attributes):
6374 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6375 preprocessor tricks, to avoid problems on some machines
6378 * callproc.c (egetenv): GC docs.
6381 * console-msw.h (struct mswindows_dialog_id):
6382 * lrecord.h (lrecord_type):
6383 New object for use with MSW dialogs.
6385 * console.h (struct console_methods):
6386 New enable/disable frame methods, for proper modal dialogs.
6388 * device-msw.c (msprinter_default_printer): Fix to follow
6389 proper Mule conventions.
6392 * device-msw.c (signal_open_printer_error):
6393 * device-msw.c (msprinter_init_device):
6394 * device-msw.c (ensure_not_printing):
6395 * device-msw.c (plist_get_margin):
6396 * device-msw.c (Fmsprinter_select_settings):
6397 * device-msw.c (finalize_devmode):
6398 * device-msw.c (Fmsprinter_settings_despecialize):
6399 * device-msw.c (signal_enum_priner_error):
6400 * extents.c (decode_extent):
6401 * extents.c (decode_map_extents_flags):
6402 * extents.c (decode_extent_at_flag):
6403 * extents.c (Fextent_at):
6404 * extents.c (Fextents_at):
6405 * extents.c (symbol_to_glyph_layout):
6406 [[[[2]]]] Use structured errors.
6409 * dialog-msw.c (mswindows_is_dialog_msg):
6410 * dialog-msw.c (mark_mswindows_dialog_id):
6411 * dialog-msw.c (dialog_proc):
6412 * dialog-msw.c (handle_question_dialog_box):
6413 * dialog-msw.c (syms_of_dialog_mswindows):
6414 Define new object to clean up marking; use it as a dialog identifier.
6415 Call new delete-dialog-box-hook.
6417 * dialog-x.c (dbox_selection_callback):
6418 * dialog-x.c (dbox_descriptor_to_widget_value):
6419 * dialog-x.c (x_make_dialog_box_internal):
6420 Call new delete-dialog-box-hook.
6424 * dialog.c (syms_of_dialog):
6425 * dialog.c (vars_of_dialog):
6426 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6429 * eval.c (signal_call_debugger):
6430 when noninteractive, output stack traces on the console instead
6431 of in a (never-seen) buffer.
6433 * eval.c (signal_type_error):
6434 * eval.c (invalid_argument_2):
6436 new funs for use w/structured errors.
6439 * event-Xt.c (x_to_emacs_keysym):
6440 * event-Xt.c (describe_event):
6441 * event-Xt.c (emacs_Xt_event_handler):
6442 * event-Xt.c (vars_of_event_Xt):
6444 * event-msw.c (mswindows_wnd_proc):
6445 * event-msw.c (vars_of_event_mswindows):
6446 rename {x,mswindows}-debug-events to debug-{}-events for
6447 consistency with other debug-foo variables.
6450 document next-event more clearly.
6452 * fileio.c (Ffile_name_directory):
6453 * fileio.c (Ffile_name_nondirectory):
6454 * fileio.c (Funhandled_file_name_directory):
6455 * fileio.c (file_name_as_directory):
6456 * fileio.c (Ffile_name_as_directory):
6457 * fileio.c (directory_file_name):
6458 * fileio.c (Fdirectory_file_name):
6459 * fileio.c (Fmake_temp_name):
6460 * fileio.c (Ffile_truename):
6461 * fileio.c (Fsubstitute_in_file_name):
6462 * fileio.c (expand_and_dir_to_file):
6463 * fileio.c (barf_or_query_if_file_exists):
6464 * fileio.c (check_executable):
6465 * fileio.c (Ffile_exists_p):
6466 * fileio.c (Ffile_writable_p):
6467 * fileio.c (Ffile_directory_p):
6468 * fileio.c (Ffile_regular_p):
6469 * fileio.c (Ffile_modes):
6470 * fileio.c (Ffile_newer_than_file_p):
6471 * fileio.c (Fverify_visited_file_modtime):
6472 * fileio.c (Fset_visited_file_modtime):
6473 * fileio.c (auto_save_1):
6478 * frame-msw.c (mswindows_init_frame_1):
6479 * frame-msw.c (mswindows_enable_frame):
6480 * frame-msw.c (error_frame_unsizable):
6481 * frame-msw.c (msprinter_init_frame_1):
6482 * frame-msw.c (msprinter_init_frame_3):
6483 * frame-msw.c (console_type_create_frame_mswindows):
6485 implement new enable/disable frame methods.
6488 * frame-x.c (x_enable_frame):
6489 * frame-x.c (console_type_create_frame_x):
6490 implement new enable/disable frame methods.
6493 * frame.c (Fdisable_frame):
6494 * frame.c (syms_of_frame):
6495 * frame.h (struct frame):
6496 implement new enable/disable frame methods/functions.
6501 * glyphs-msw.c (mswindows_widget_instantiate):
6502 comment that initial-focus should be implemented.
6505 * glyphs-widget.c (check_valid_instantiator):
6506 * glyphs-widget.c (check_valid_orientation):
6507 * glyphs-widget.c (check_valid_tab_orientation):
6508 * glyphs-widget.c (check_valid_justification):
6509 * glyphs-widget.c (check_valid_border):
6510 * glyphs-widget.c (check_valid_callback):
6511 * glyphs-widget.c (check_valid_int_or_function):
6512 * glyphs-widget.c (check_valid_string_or_vector):
6513 * glyphs-widget.c (check_valid_item_list_1):
6514 * glyphs-widget.c (widget_validate):
6515 * glyphs-widget.c (combo_box_validate):
6516 * glyphs-widget.c (widget_instantiate):
6517 * glyphs-widget.c (syms_of_glyphs_widget):
6518 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6519 * glyphs-widget.c (image_instantiator_combo_box):
6520 * glyphs-widget.c (image_instantiator_scrollbar):
6521 * glyphs-widget.c (image_instantiator_tab_control):
6522 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6524 support (unimplemented) keyword initial-focus.
6525 reindent long macros.
6527 * glyphs-x.c (x_redisplay_widget):
6528 * glyphs-x.c (x_button_instantiate):
6529 * glyphs-x.c (x_button_redisplay):
6530 * glyphs-x.c (x_progress_gauge_instantiate):
6531 * glyphs-x.c (x_edit_field_instantiate):
6532 * glyphs-x.c (x_combo_box_instantiate):
6533 * glyphs-x.c (x_tab_control_instantiate):
6534 * glyphs-x.c (x_label_instantiate):
6536 * gui-x.c (button_item_to_widget_value):
6537 * gui-x.c (gui_items_to_widget_values_1):
6538 * gui-x.c (gui_item_children_to_widget_values):
6539 * gui-x.c (gui_items_to_widget_values):
6541 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6542 add new flag to gui-parsing routines to indicate whether
6543 accelerator specs should be supported.
6545 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6547 * glyphs.h (struct Lisp_Image_Instance):
6548 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6549 add initial-focus flag.
6552 * gui.c (syms_of_gui):
6553 * gui.c (vars_of_gui):
6554 clean up menu-no-selection-hook.
6557 support delete-dialog-box-hook.
6559 * lread.c (Fload_internal):
6560 * lread.c (locate_file_in_directory_mapper):
6564 * lrecord.h (struct toolbar_button):
6565 * lrecord.h (syms_of_toolbar):
6566 document how to create a new object.
6568 * menubar-msw.c (mswindows_char_is_accelerator):
6569 may be called on frames w/o menus.
6571 * menubar.c (vars_of_menubar):
6572 clean up :filter docs.
6579 * process-nt.c (validate_signal_number):
6580 * process-nt.c (signal_cannot_launch):
6581 * process-nt.c (nt_create_process):
6582 * process-nt.c (nt_send_process):
6583 * process-nt.c (nt_kill_child_process):
6584 * process-nt.c (nt_open_network_stream):
6585 * process-nt.c (syms_of_process_nt):
6587 delete quote-handling. call new lisp code that does it better.
6589 * process-unix.c (connect_to_file_descriptor):
6590 * process-unix.c (allocate_pty):
6591 * process-unix.c (unix_send_process):
6592 * process-unix.c (unix_kill_child_process):
6593 * process-unix.c (unix_open_network_stream):
6594 * process-unix.c (unix_open_multicast_group):
6598 * process.c (Fstart_process_internal):
6599 (2). need to canonicalize process path even if absolute.
6601 * select-msw.c (symbol_to_ms_cf):
6602 * select-msw.c (ms_cf_to_symbol):
6603 * select-msw.c (cf_is_autofreed):
6604 * select-msw.c (mswindows_destroy_selection):
6606 * select.c (syms_of_select):
6608 support dibv5, fix bugs. (from Mike Alexander)
6610 * select.c (Fget_selection_internal):
6611 * select.c (select_convert_out):
6614 * sysdep.c (xemacs_stat):
6619 but keep original stat() here because we provide encapsulation
6623 * sysfile.h (fstat):
6624 remove stat garbage.
6628 don't include tchar.h. it's inappropriate because it makes
6629 compile-time distinctions when we want runtime distinctions.
6630 (we provide our own tchar replacements)
6633 use default object printer for toolbar-button.
6636 make sure we don't encapsulate.
6638 * window.c (vars_of_window):
6639 emphasize that temp-buffer-show-hook is obsolete.
6641 2000-08-05 Martin Buchholz <martin@xemacs.org>
6643 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6644 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6646 * events.c (Fevent_timestamp_lessp):
6647 Not 64-bit clean. Use EMACS_INT, not int.
6649 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6651 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6652 unsigned int and changed the last enum to
6653 lrecord_type_last_built_in_type.
6654 (lrecord_implementations_table): changed prototype to know how
6655 long the array is supposed to be.
6656 (lrecord_type_count): new unsigned int to keep track of the
6657 current number of lisp lrecord types.
6658 (DEFINE_EXTERNAL_LRECORD):
6659 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6660 dynamic-modules to declare new lisp types. They are the same
6661 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6662 int for each new type, and increment lrecord_type_count by 1.
6664 * alloc.c (lrecord_implementations_table): Changed to reference
6665 lrecord_type_last_built_in_type for the size of the array.
6666 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6668 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6670 * glyphs.h (check_valid_item_list): Renamed from
6671 check_valid_item_list_1.
6673 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6675 * select.c (Qselect_coerce): New.
6676 * select.c (Vselection_coercion_alist): New.
6677 * select.c (syms_of_select): Declare.
6678 * select.c (get-selection-internal): Use it.
6679 Use the new select-coerce functionality.
6681 * select.c (select_coerce): New.
6682 * select.h (select_coerce): Declare.
6683 New function to coerce one type of data into another.
6685 2000-08-03 Martin Buchholz <martin@xemacs.org>
6687 * callproc.c (Fcall_process_internal):
6688 (Fcall_process_internal):
6689 * process-unix.c (unix_create_process):
6690 Save and restore the value of errno, so that error messages are accurate.
6692 2000-08-01 Martin Buchholz <martin@xemacs.org>
6694 * elhash.c (print_hash_table):
6695 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6696 Prettify docstrings and indentation.
6698 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6700 * window.c (Fwindow_pixel_edges): Subtract frame border and
6703 2000-07-31 Andy Piper <andy@xemacs.org>
6705 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6706 will acknowledge the change.
6708 * glyphs.h: declare tab_control_order_only_changed.
6710 * glyphs-x.c (x_tab_control_redisplay): use
6711 tab_control_order_only_changed.
6713 * glyphs-widget.c (tab_control_order_only_changed): new function.
6715 * glyphs-msw.c (mswindows_tab_control_redisplay): use
6716 tab_control_order_only_changed.
6718 * gui.c (gui_item_equal_sans_selected): new function.
6719 (gui_item_equal): use it.
6721 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
6722 :properties in favor of :items..
6724 * glyphs-widget.c (check_valid_item_list): rename from
6725 check_valid_item_list_1.
6726 (check_valid_item_list_1): renamed.
6727 (combo_box_validate): deprecate :properties in favor of :items.
6728 (widget_instantiate): ditto.
6729 (tab_control_update): ditto.
6730 (image_instantiator_combo_box): ditto.
6731 (image_instantiator_tree_view): ditto.
6732 (image_instantiator_tab_control): ditto.
6733 (layout_post_instantiate): remove dead code.
6735 * print.c (debug_print_no_newline): only write to debugger if in
6738 * elhash.c (Fmake_hash_table): update doc string.
6740 * event-msw.c (mswindows_wnd_proc): don't allow processing of
6741 messages whilst in GC. This at least stops XEmacs crashing but has
6742 the potential for wierd behaviour.
6744 2000-07-31 Martin Buchholz <martin@xemacs.org>
6747 Make existence of s&m files optional.
6749 * s/bsd386.h: Remove HAVE_GETLOADAVG.
6750 * s/freebsd.h: Remove HAVE_GETLOADAVG.
6751 * s/gnu.h: Remove HAVE_GETLOADAVG.
6752 * s/netbsd.h: Remove HAVE_GETLOADAVG.
6753 * s/sol2.h: Remove HAVE_GETLOADAVG.
6754 * lisp.h: Remove getloadavg() declaration.
6756 Include <sys/loadavg.h> if available.
6757 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
6758 * config.h.in: Group together getloadavg()-related macros.
6759 Use only configure-time tests to detect getloadavg().
6761 2000-07-30 Martin Buchholz <martin@xemacs.org>
6763 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
6765 2000-07-25 Andy Piper <andy@xemacs.org>
6767 * syswindows.h: add tchar.h for native builds.
6769 * frame.c (syms_of_frame): remove set-glyph-image.
6771 * general-slots.h: add Qset_glyph_image.
6773 * glyphs-widget.c (layout_update): add domain arg to
6775 (syms_of_glyphs_widget): remove set-glyph-image.
6777 2000-07-23 Ben Wing <ben@xemacs.org>
6779 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
6782 2000-07-22 Andy Piper <andy@xemacs.org>
6784 * symsinit.h: add syms_of_win32().
6786 * gui-msw.c (syms_of_gui_mswindows): remove
6787 Fmswindows_shell_execute.
6788 (Fmswindows_shell_execute): moved to win32.c.
6790 * emacs.c (main_1): add syms_of_win32 ().
6792 * win32.c (init_potentially_nonexistent_functions): rewrite in
6793 compiler-friendly terms.
6794 (Fmswindows_shell_execute): move here from gui-msw.c.
6795 (syms_of_win32): new.
6797 * device-msw.c (Fmswindows_printer_list): clean up args to
6799 Don't include tchar under cygwin or mingw.
6800 (msprinter_default_printer): make cygwin-friendly.
6802 2000-07-21 Andy Piper <andy@xemacs.org>
6804 * glyphs-widget.c (image_instantiator_tree_view): use tab
6805 control's update function.
6806 (layout_property): new function. Retrieve items.
6808 * glyphs-msw.c (mswindows_tree_view_redisplay): new
6809 function. Re-populate the tree view from the pending items.
6811 * glyphs.c (instantiate_image_instantiator): Make sure the domain
6812 is designated the parent if the domain is an image instance. This
6813 is needed so that dirtiness can be cascade up the hierarchy and
6814 thus for layout children to be redisplayed correctly.
6815 (allocate_image_instance): rename glyph -> parent.
6817 * redisplay.h: change redisplay_output_layout signature.
6819 * redisplay-msw.c (mswindows_output_display_block): use domain
6822 * redisplay-x.c (x_output_display_block): use domain arg.
6824 2000-07-10 Andy Piper <andy@xemacs.org>
6826 * window.c (Fset_window_configuration): add comment.
6828 * redisplay-output.c (compare_runes):
6829 (redisplay_output_subwindow): redisplay rather than update subwindow.
6830 (redisplay_output_layout): ditto.
6832 * redisplay-msw.c (mswindows_frame_output_end):
6833 (mswindows_frame_output_end): make defer window pos optional.
6835 * lisp.h: add Flast.
6837 * glyphs.h (struct image_instantiator_methods): add dest_mask top
6838 normalize method. Change update method to be for changed
6839 instantiators. Add redisplay method. Change signature of layout
6841 (struct Lisp_Image_Instance): add instantiator.
6842 (IMAGE_INSTANCE_INSTANTIATOR): new.
6843 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
6844 (XIMAGE_INSTANCE_INSTANTIATOR): new.
6845 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
6848 (find_instantiator_differences): new function.
6849 (Fset_instantiator_property): new convenience function.
6850 (check_image_instance_structure): strictly check for vector
6852 (normalize_image_instantiator): make non-static.
6853 (instantiate_image_instantiator): pass on dest_mask and use new
6854 signatures for image_instance_layout and friends.
6855 (mark_image_instance): mark the instantiator. Mark the subwindow
6856 face not the widget face.
6857 (image_instance_equal): add instantiator.
6858 (image_instance_hash): ditto.
6859 (allocate_image_instance): ditto.
6860 (Fset_image_instance_property): removed.
6861 (Fimage_instance_file_name): ditto.
6862 (Fcolorize_image_instance): ditto.
6863 (image_instance_layout): add offsets to be set.
6864 (update_image_instance): new function. update an image instance
6865 from its changed instantiator.
6866 (inherit_normalize): add dest_mask.
6867 (xbm_normalize): ditto.
6868 (xface_normalize): ditto.
6869 (xpm_normalize): ditto.
6870 (text_update): set_property -> update.
6871 (image_instantiate): use the glyph identity as a hash key, not the
6873 (glyph_width): use new image_instance_layout signature.
6874 (glyph_ascent): ditto.
6875 (glyph_descent): ditto.
6876 (glyph_height): ditto.
6877 (glyph_query_geometry): ressurrect.
6878 (glyph_layout): ditto.
6879 (redisplay_subwindow): update -> redisplay.
6880 (syms_of_glyphs): add Fset_instantiator_property.
6881 (image_instantiator_format_create): set_property -> update.
6884 (autodetect_normalize): add dest_maks to signature.
6885 (x_redisplay_subwindow): update -> redisplay.
6886 (x_redisplay_widget): ditto.
6887 (x_button_redisplay): ditto.
6888 (x_progress_gauge_redisplay): ditto.
6889 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
6891 (console_type_create_glyphs_x): update -> redisplay.
6892 (image_instantiator_format_create_glyphs_x): ditto.
6895 (check_valid_instantiator): disallow glyphs in the instantiator,
6896 they must now be vectors.
6897 (check_valid_instantiator_list): ditto.
6898 (glyph_instantiator_to_glyph): use internal symbol rather than
6900 (widget_update): renamed from widget_set_property. Call cascaded
6902 (redisplay_widget): renamed from update_widget.
6903 (widget_layout): image_instance_layout now takes position as well
6905 (widget_normalize): ditto.
6906 (widget_instantiate): ditto.
6907 (tab_control_query_geometry) ditto.:
6908 (tab_control_update): renamed from tab_control_set_property.
6909 (progress_gauge_update): set_property -> update.
6910 (layout_normalize): rewrite so that child instantiators are
6912 (layout_update): new function. Create glyphs from the normalized
6913 children and cope with any other layout keywords. We do not
6914 instantiate children here that will be take care of by
6915 redisplay_output_layout.
6916 (layout_instantiate): call layout_update and not much else.
6917 (layout_post_instantiate): not sure whether this is needed
6919 (layout_query_geometry): query glyph geometry rather than
6920 image_instance geometry.
6921 (layout_layout): set offsets from pass in parameters. Use glyph
6922 geometry and layout functions rather than image instance ones.
6923 (native_layout_layout): ditto.
6924 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
6925 (image_instantiator_widget): set_property -> update.
6926 (image_instantiator_buttons): ditto.
6927 (image_instantiator_progress_guage): ditto.
6928 (image_instantiator_tab_control): ditto.
6929 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
6930 (image_instantiator_layout): add update method.
6932 * glyphs-msw.c (bmp_normalize):
6933 (mswindows_resource_normalize): add dest_mask so that it can be
6934 proprogated by layout_normalize.
6935 (begin_defer_window_pos): make optional because it may not be the
6936 right thing to do and it introduces differences with X.
6937 (mswindows_unmap_subwindow): ditto.
6938 (mswindows_map_subwindow): ditto.
6939 (mswindows_redisplay_subwindow): renamed from
6940 mswindows_update_subwindow.
6941 (mswindows_redisplay_widget): ditto.
6942 (mswindows_button_redisplay): renamed from
6943 mswindows_button_update. Update is now what the instantiation
6944 function does for a changed instantiator.
6945 (mswindows_progress_gauge_instantiate): set the progress value
6946 here if appropriate.
6947 (mswindows_tab_control_redisplay): cope with re-ordering of the
6948 members of the tab widget by simply selecting the new top
6949 widget. This makes things appear ok if you click on a tab.
6950 (mswindows_combo_box_instantiate): image_instance_layout now takes
6951 position as well as size.
6952 (mswindows_progress_gauge_redisplay): renamed from
6953 mswindows_progress_gauge_update.
6954 (console_type_create_glyphs_mswindows): fix update -> redisplay.
6955 (image_instantiator_format_create_glyphs_mswindows): ditto.
6957 * glyphs-eimage.c (jpeg_normalize):
6960 (tiff_normalize): add dest_mask so that it can be proprogated by
6965 (hash_table_weakness_validate):
6966 (decode_hash_table_weakness):
6967 (Fhash_table_weakness):
6969 (syms_of_elhash): use Ben's naming scheme for hashtable types..
6971 * console.h (struct console_methods): move update_* to
6974 2000-07-20 Ben Wing <ben@xemacs.org>
6976 * *.[ch] (XSETOBJ): remove unused middle argument.
6977 lisp-disunion.h: correct wrap_object() to one argument.
6979 2000-07-15 Ben Wing <ben@xemacs.org>
6982 * s/cygwin32.h (CYGWIN_CONV_PATH):
6983 Add missing logb prototype for v1.1.
6984 Use post-b20 names and alias to pre-b20 names when pre-b20.
6986 * s/windowsnt.h: [5].
6988 2000-07-15 Ben Wing <ben@xemacs.org>
6990 * Makefile.in.in (x_objs):
6991 * Makefile.in.in (sheap_objs):
6992 * Makefile.in.in (objs):
6993 added win32.o, cosmetic cleanups.
6995 * alloc.c (Fmake_byte_code):
6996 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
6997 etc. macros which declare their own args now.
6999 * alloc.c (syms_of_alloc):
7000 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
7003 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
7005 * buffer.c (Fget_file_buffer):
7006 Fixed GCPRO problem.
7008 * buffer.c (get_truename_buffer):
7009 Fixed comment about GC checking.
7011 * buffer.c (syms_of_buffer):
7012 Undeclared those dedicated frame funs.
7016 Define convenience macros for internal/external conversions.
7017 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
7018 and Qenvironment_variable_encoding for cleaner code.
7021 Remove dedicated-frame; in lisp.
7023 * bytecode.c (funcall_compiled_function):
7026 * bytecode.c (syms_of_bytecode):
7030 * console-msw.c (mswindows_show_console): Rewrote.
7032 * console-msw.c (Fmswindows_debugging_output): New.
7033 Sends to OutputDebugString (special MSWin debugger interface).
7035 * console-msw.c (Fmswindows_message_box):
7036 Fixed stupid bugs so it works when called from kill-emacs.
7038 * console-msw.c (syms_of_console_mswindows):
7039 Declare Fmswindows_debugging_output.
7042 New MSWin prototypes.
7044 * console-msw.h (struct mswindows_frame):
7045 New entry last-click-mods for improved button-modifier support.
7047 * console-msw.h (FRAME_MSWINDOWS_POPUP):
7048 New struct entry `popup' with corresponding accessor.
7051 * console-x.c (split_up_display_spec):
7052 * console-x.c (get_display_arg_connection):
7053 * console-x.c (x_semi_canonicalize_console_connection):
7054 * console-x.c (x_canonicalize_device_connection):
7055 [[[6]]]: Change char to more specific type.
7056 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
7058 * console-x.c (x_semi_canonicalize_console_connection):
7059 * console-x.c (x_canonicalize_device_connection):
7060 [[[9]]]: Fix up error signalling to use new structured error system.
7063 [[[4]]]: Define codesys aliases:
7064 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
7065 Qx_color_name_encoding, Qx_display_name_encoding.
7067 * console.h (struct console_methods):
7068 New method make_dialog_box_internal supersedes older
7069 popup_dialog_box method.
7072 Define many new errors, part of new structured errors.
7074 * data.c (init_errors_once_early):
7075 * data.c (syms_of_data):
7078 * device-msw.c (mswindows_init_device):
7079 [[[5]]]: Cleanup to support NT 3.51.
7081 * device-msw.c (decode_devmode): Cleanup.
7083 * device-msw.c (mswindows_handle_print_setup_dialog_box):
7084 * device-msw.c (mswindows_handle_print_dialog_box):
7085 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7086 * device-msw.c (syms_of_device_mswindows):
7087 Delete the dialog box primitives recently introduced by Kirill and
7088 instead interface to general dialog box interface.
7091 * device-x.c (compute_x_app_name):
7092 * device-x.c (x_init_device):
7093 * device-x.c (Fx_valid_keysym_name_p):
7094 * device-x.c (Fx_set_font_path):
7098 * device.h (wrap_device): New.
7099 First of its kind; meant to replace XSETDEVICE.
7101 * dialog-msw.c: Many file-dialog symbols.
7103 * dialog-msw.c (mswindows_register_popup_frame): New.
7104 * dialog-msw.c (mswindows_is_dialog_msg): New.
7105 For supporting kbd traversal in dialog boxes.
7107 * dialog-msw.c (dialog_proc):
7108 Support hitting ESC in dialogs.
7110 * dialog-msw.c (struct):
7111 Common dialog box errors.
7113 * dialog-msw.c (handle_file_dialog_box): New.
7114 Add file dialog code.
7116 * dialog-msw.c (handle_question_dialog_box):
7117 Redo existing code to support new question dialog syntax.
7119 * dialog-msw.c (console_type_create_dialog_mswindows):
7120 We support new dialog console method.
7122 * dialog-msw.c (syms_of_dialog_mswindows):
7123 * dialog-msw.c (vars_of_dialog_mswindows):
7124 New file dialog symbols, vars.
7127 * dialog-x.c (maybe_run_dbox_text_callback):
7128 * dialog-x.c (dbox_descriptor_to_widget_value):
7129 * dialog-x.c (x_make_dialog_box_internal):
7130 * dialog-x.c (console_type_create_dialog_x):
7131 Mule-ize entire file.
7132 Redo to support question dialog syntax.
7136 * dialog.c (Fmake_dialog_box_internal):
7137 * dialog.c (syms_of_dialog):
7138 Kill old popup-dialog-box, replace with new primitive.
7139 Just call device method or signal error.
7141 * eldap.c (Fldap_open):
7142 * eldap.c (Fldap_search_basic):
7143 * eldap.c (Fldap_add):
7144 * eldap.c (Fldap_modify):
7149 * emacs.c (make_arg_list_1):
7150 * emacs.c (make_arg_list):
7151 Mule-ize call to dll_init().
7155 * emacs.c (make_argc_argv):
7156 * emacs.c (free_argc_argv):
7157 * emacs.c (init_cmdargs):
7159 * emacs.c (Fkill_emacs):
7160 * emacs.c (Fdump_emacs):
7161 Update comments about what can be used in syms_* etc.
7162 Call init_win32() when necessary.
7163 Fix up MS Win dialog box in kill-buffer to actually work right.
7174 * eval.c (condition_case_3):
7176 * eval.c (function_argcount):
7177 * eval.c (funcall_lambda):
7180 * eval.c (type_error): New.
7181 * eval.c (maybe_type_error): New.
7182 * eval.c (continuable_type_error): New.
7183 * eval.c (maybe_continuable_type_error): New.
7184 * eval.c (type_error_with_frob): New.
7185 * eval.c (maybe_type_error_with_frob): New.
7186 * eval.c (continuable_type_error_with_frob): New.
7187 * eval.c (maybe_continuable_type_error_with_frob): New.
7188 New functions for use with structured errors.
7191 * event-Xt.c (x_event_to_emacs_event):
7192 Buttons are now modifiers too.
7194 * event-Xt.c (emacs_Xt_current_event_timestamp):
7195 Implement new event method.
7196 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7199 * event-msw.c (ntpipe_shove_writer): [5].
7200 * event-msw.c (mswindows_enqueue_mouse_button_event):
7201 * event-msw.c (mswindows_drain_windows_queue):
7202 * event-msw.c (mswindows_wnd_proc): [7].
7203 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7204 * event-msw.c (mswindows_modifier_state):
7205 Throughout: support new button modifiers.
7207 * event-msw.c (emacs_mswindows_current_event_timestamp):
7208 Implement new event method.
7209 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7212 * event-stream.c (event_stream_current_event_timestamp): New.
7213 * event-stream.c (maybe_kbd_translate): New functionality.
7214 * event-stream.c (vars_of_event_stream):
7215 Document new kbd-translate-table functionality.
7217 * event-stream.c (Fcurrent_event_timestamp): New.
7218 New primitive for use in fabricated events.
7219 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7221 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7224 * events.c (Fmake_event):
7225 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7229 * events.c (format_event_object): fix gcc warnings.
7231 * events.c (Fevent_timestamp): Document new primitives.
7233 * events.c (TIMESTAMP_HALFSPACE): New.
7235 * events.c (Fevent_timestamp_lessp): New. New primitive for
7236 comparing timestamps correctly (half-space algorithm).
7238 * events.c (Fevent_modifier_bits): Doc fix.
7240 * events.c (Fevent_modifiers): Major doc addition.
7241 * events.c (event_x_y_pixel_internal): Typo fix.
7242 * events.c (syms_of_events): Declare new primitives.
7245 Update long comment for button modifiers, timestamps.
7247 * events.h (struct event_stream):
7248 New current_event_timestamp method.
7251 * extents.c (extent_in_region_p):
7252 * extents.c (decode_extent):
7253 * extents.c (Fset_extent_parent):
7254 * extents.c (decode_map_extents_flags):
7258 * extents.c (struct extent_at_arg):
7259 * extents.c (decode_extent_at_flag):
7260 * extents.c (extent_at_mapper):
7261 * extents.c (extent_at_bytind):
7262 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7263 * extents.c (Fextents_at): New primitive. [9].
7264 * extents.c (symbol_to_glyph_layout): [9].
7265 Support new primitive `extents-at'.
7268 * extents.c (get_text_property_bytind):
7269 extent_at_bytind has another arg.
7272 * extents.c (syms_of_extents): New primitive.
7274 * file-coding.c (Fmake_coding_system): [1].
7275 * file-coding.c (subsidiary_coding_system): fix gcc warning
7276 * file-coding.c (syms_of_file_coding): [2].
7278 * fileio.c (Fexpand_file_name):
7279 * fileio.c (Fsysnetunam):
7280 * fileio.c (Ffile_exists_p):
7281 * fileio.c (Ffile_executable_p):
7282 * fileio.c (Fverify_visited_file_modtime):
7285 * fileio.c (syms_of_fileio): [2].
7287 * filelock.c (lock_file_1):
7288 * filelock.c (current_lock_owner):
7289 * filelock.c (lock_if_free):
7290 * filelock.c (lock_file):
7291 * filelock.c (unlock_file):
7294 * fns.c (concat): Fix gcc warning.
7297 * fns.c (Fold_member):
7299 * fns.c (Fold_memq):
7300 * fns.c (memq_no_quit):
7302 * fns.c (Fold_assoc):
7304 * fns.c (Fold_assq):
7305 * fns.c (assq_no_quit):
7307 * fns.c (Fold_rassoc):
7309 * fns.c (Fold_rassq):
7310 * fns.c (rassq_no_quit):
7312 * fns.c (Fold_delete):
7314 * fns.c (Fold_delq):
7315 * fns.c (delq_no_quit):
7316 * fns.c (Fremassoc):
7318 * fns.c (remassq_no_quit):
7319 * fns.c (Fremrassoc):
7320 * fns.c (Fremrassq):
7321 * fns.c (remrassq_no_quit):
7326 * frame-msw.c (mswindows_init_frame_1):
7327 * frame-msw.c (mswindows_delete_frame):
7328 Register popups with dialog code so keyboard traversing works.
7330 * frame-tty.c (tty_raise_frame_no_select): [1].
7333 * frame-x.c (x_set_frame_text_value):
7334 * frame-x.c (x_set_frame_properties):
7335 * frame-x.c (x_create_widgets):
7339 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7341 * frame.h (wrap_frame): New.
7342 Macro like wrap_device.
7345 * general.c (SYMBOL):
7346 * general.c (syms_of_general):
7347 Major reorg. This is now just a wrapper and symbols themselves
7348 are listed in general-slots.h.
7350 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7351 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7353 * glyphs-msw.c (mswindows_native_layout_instantiate):
7354 Add DS_CONTROL so keyboard traversal will work.
7357 * glyphs-widget.c (syms_of_glyphs_widget):
7358 Move some symbols to general-slots.h.
7361 * glyphs-x.c (xbm_instantiate_1):
7362 * glyphs-x.c (x_xbm_instantiate):
7363 * glyphs-x.c (x_xface_instantiate):
7364 * glyphs-x.c (autodetect_instantiate):
7365 * glyphs-x.c (cursor_font_instantiate):
7366 * glyphs-x.c (x_update_widget):
7367 * glyphs-x.c (x_widget_instantiate):
7368 * glyphs.c (bitmap_to_lisp_data):
7369 * glyphs.c (pixmap_to_lisp_data):
7372 * glyphs.c (syms_of_glyphs):
7376 * gui-x.c (print_widget_value):
7377 * gui-x.c (menu_separator_style_and_to_external):
7378 * gui-x.c (add_accel_and_to_external):
7379 * gui-x.c (button_item_to_widget_value):
7380 * gui-x.c (gui_items_to_widget_values_1):
7381 * gui-x.c (gui_items_to_widget_values):
7382 * gui-x.c (syms_of_gui_x):
7383 * gui-x.c (vars_of_gui_x):
7384 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7388 Muleize, prototype changes matching gui-x.c.
7391 * gui.c (separator_string_p):
7392 * gui.c (gui_item_add_keyval_pair):
7393 * gui.c (make_gui_item_from_keywords_internal):
7394 * gui.c (signal_too_long_error):
7395 * gui.c (parse_gui_item_tree_item):
7396 * gui.c (syms_of_gui):
7397 * gui.c (vars_of_gui):
7399 menu-no-selection-hook moved here (used by MSWin).
7400 Move some symbols to general-slots.h.
7404 * insdel.c (get_buffer_pos_char):
7405 * insdel.c (get_buffer_range_char):
7408 * keymap.c (keymap_lookup_directly):
7409 * keymap.c (keymap_store):
7410 * keymap.c (ensure_meta_prefix_char_keymapp):
7411 * keymap.c (describe_map):
7413 Support new button modifiers.
7415 * lisp-disunion.h (wrap_object):
7416 * lisp-disunion.h (XSETOBJ):
7417 Rename make_obj to wrap_object.
7420 * lisp-union.h (make_int):
7421 * lisp-union.h (make_char):
7422 Support wrap_object.
7425 * lisp.h (LIST_LOOP):
7426 * lisp.h (EXTERNAL_LIST_LOOP):
7427 * lisp.h (LIST_LOOP_2):
7428 * lisp.h (EXTERNAL_LIST_LOOP_1):
7429 * lisp.h (EXTERNAL_LIST_LOOP_2):
7430 * lisp.h (EXTERNAL_LIST_LOOP_3):
7431 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7432 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7433 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7434 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7435 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7436 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7437 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7438 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7439 * lisp.h (struct Lisp_Symbol):
7440 * lisp.h (maybe_continuable_error_with_frob):
7441 Fix up section comments.
7442 Add new types for char to indicate usage.
7443 Delete symbols auto-generated from general-slots.h.
7444 Add prototypes for structured error functions.
7445 Add long comments describing looping macros and change interface
7446 so that lvalues are automatically declared.
7447 Add NO_DECLARE macro in case callers want to declare lvalues
7450 * lread.c (read_syntax_error):
7451 * lread.c (continuable_read_syntax_error):
7452 * lread.c (read_structure):
7453 * lread.c (sequence_reader):
7454 * lread.c (read_list_conser):
7455 * lread.c (read_compiled_function):
7456 Rename syntax_error and continuable_syntax_error to avoid clash
7457 with same-named structured error functions.
7459 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7460 * menubar-msw.c (populate_menu_add_item):
7461 * menubar-msw.c (populate_or_checksum_helper):
7466 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7467 Mule-ize whole file.
7469 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7471 * mule-charset.c (Fmake_charset):
7472 * mule-wnnfns.c (Fwnn_set_param):
7475 * ntproc.c (create_child):
7476 * ntproc.c (Fwin32_set_current_locale):
7477 Add comments portending doom.
7480 * objects-msw.c (old_font_enum_callback_2):
7481 * objects-msw.c (font_enum_callback_1):
7482 * objects-msw.c (mswindows_enumerate_fonts):
7486 * objects-x.c (allocate_nearest_color):
7487 * objects-x.c (x_parse_nearest_color):
7488 * objects-x.c (x_initialize_color_instance):
7489 * objects-x.c (x_print_color_instance):
7490 * objects-x.c (x_finalize_color_instance):
7491 * objects-x.c (x_valid_color_name_p):
7492 * objects-x.c (x_initialize_font_instance):
7493 * objects-x.c (x_print_font_instance):
7494 * objects-x.c (valid_x_font_name_p):
7495 * objects-x.c (truename_via_FONT_prop):
7496 * objects-x.c (truename_via_random_props):
7497 * objects-x.c (truename_via_XListFonts):
7498 * objects-x.c (x_font_truename):
7499 * objects-x.c (x_font_instance_truename):
7500 * objects-x.c (x_font_instance_properties):
7501 * objects-x.c (x_list_fonts):
7502 * objects-x.c (x_find_charset_font):
7503 Mule-ize entire file.
7510 * print.c (std_handle_out_external):
7511 * print.c (debug_print_no_newline):
7512 * print.c (syms_of_print):
7513 Output to all debugger kinds in debug-print.
7514 Fix console-output code under MSWin to actually work.
7516 * process-nt.c (send_signal):
7517 * process-nt.c (nt_create_process):
7518 Use newer Unicode macros.
7520 * process-unix.c (unix_create_process):
7521 * process-unix.c (unix_canonicalize_host_name):
7522 * process-unix.c (unix_open_network_stream):
7528 * search.c (syms_of_search):
7531 * select-msw.c (mswindows_destroy_selection):
7534 * select-x.c (symbol_to_x_atom):
7537 * select.c (syms_of_select):
7540 * sound.c (Fplay_sound_file):
7544 * specifier.c (decode_specifier_type):
7545 * specifier.c (Fvalid_specifier_locale_type_p):
7546 * specifier.c (check_valid_locale_or_locale_type):
7547 * specifier.c (decode_locale):
7548 * specifier.c (decode_locale_type):
7549 * specifier.c (decode_locale_list):
7550 * specifier.c (check_valid_domain):
7551 * specifier.c (decode_specifier_tag_set):
7552 * specifier.c (Fcanonicalize_tag_set):
7553 * specifier.c (Fdefine_specifier_tag):
7554 * specifier.c (Fspecifier_tag_predicate):
7555 * specifier.c (check_valid_inst_list):
7556 * specifier.c (check_valid_spec_list):
7557 * specifier.c (decode_how_to_add_specification):
7558 * specifier.c (check_modifiable_specifier):
7559 * specifier.c (specifier_add_spec):
7560 * specifier.c (boolean_validate):
7561 * specifier.c (display_table_validate):
7564 * specifier.c (syms_of_specifier):
7565 Move some symbols to general-slots.h.
7569 * symbols.c (Fmapatoms):
7570 * symbols.c (Fapropos_internal):
7573 * symbols.c (set_default_buffer_slot_variable):
7574 * symbols.c (set_default_console_slot_variable):
7577 * symbols.c (defsymbol_massage_name_1):
7578 * symbols.c (defkeyword_massage_name):
7579 * symbols.c (deferror_1):
7580 * symbols.c (deferror):
7581 * symbols.c (deferror_massage_name_and_message):
7583 * symeval.h (DEFSYMBOL):
7584 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7586 * symbols.c (syms_of_symbols):
7590 * symsinit.h (init_win32): New.
7591 Also new is syms_of_dialog_mswindows.
7594 Add new Unicode macros, missing Cygwin wide-char functions,
7595 convenience conversion macros for Qmswindows_tstr, macros for
7596 encapsulating required MSWin <-> Cygwin filename conversions,
7597 prototype for dynamically-extracted (not in NT 3.51) functions.
7602 * tooltalk.c (Fadd_tooltalk_message_arg):
7603 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7604 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7607 * tooltalk.c (syms_of_tooltalk):
7611 * unexnt.c (unexec):
7612 Fix up headers, declaration of unexec() to be more standard.
7614 2000-07-20 Martin Buchholz <martin@xemacs.org>
7616 * offix.h: Revert change to guard macros - they're used in offix.c!
7618 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7620 * lisp.h: Defsubred Fdelete.
7622 * console-msw.h: (msprinter_default_printer): Added.
7624 * console-msw.c (msprinter_canonicalize_console_connection):
7625 (msprinter_canonicalize_device_connection): Added.
7627 * device-msw.c (msprinter_default_printer):
7628 (Fmswingows_get_default_printer):
7629 (signal_enum_priner_error):
7630 (Fmswingows_printer_list): Added.
7632 2000-07-19 Martin Buchholz <martin@xemacs.org>
7634 * XEmacs 21.2.35 is released.
7636 2000-07-19 Martin Buchholz <martin@xemacs.org>
7638 * select-x.c (x_handle_selection_request):
7639 Text selected in xemacs and pasted into xterm failed to appear.
7640 Spelling fixes and cosmetic changes.
7642 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7644 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7645 XEmacs frame (fix for doubling chars in dialog boxes).
7647 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7649 * select.c (select_convert_in, select_convert_out):
7650 Don't call intern() every time.
7652 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7653 * select.c (vars_of_select): Initialise them.
7655 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7657 * select.c (selection-coercible-types): New.
7659 * select.c (own-selection-internal):
7660 * select.c (get-selection-internal):
7661 MULE bug fix - these should default to COMPOUND_TEXT and not
7662 STRING for MULE. I think.
7664 * select.c (select_convert_out): Use selection-coercible-types
7665 to find types that we can attempt to perform coercions on.
7667 2000-07-18 Martin Buchholz <martin@xemacs.org>
7671 Add coding: cookie to identify encoding.
7673 * mule-canna.c (CANNA_mode_keys): make static.
7674 Use proper prototypes, even for functions of no arguments.
7675 Remove external prototype for Fding().
7677 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7679 * select.c (syms_of_select): Add missing DEFSUBR.
7681 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7683 * select.c (get_selection_internal, own_selection_internal):
7684 Make the type default to STRING, rather than placing a nil type
7685 into Vselection_alist.
7687 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7689 * gpmevent.c (tty_selection_exists_p):
7690 * gpmevent.c (tty_own_selection):
7691 Updated parameter lists.
7693 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7695 * select.h (selection-alist): Removed declaration.
7697 * select.h (get_local_selection):
7698 * select.c (get_local_selection):
7701 * select.h (convert_selection): Removed declaration.
7702 * select.c (convert_selection): Removed.
7703 This function belongs in Lisp.
7705 * select.h (select_convert_in): Declare.
7706 * select.h (select_convert_out): Declare.
7707 * select.c (select_convert_in): New.
7708 * select.c (select_convert_out): New.
7709 New conversion functions for other files to call.
7711 * select.h (select_notify_buffer_kill): Declare.
7712 * select.c (select_notify_buffer_kill): New.
7713 New functions that get called from kill-buffer.
7715 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
7716 X-specific lisp code.
7718 * select.h: Declare some of the lisp-visible functions for
7721 * select.c (clean_local_selection_data): Removed. This was
7722 a disgusting function, and previously should have been in
7723 select-x.c in any case. The functionality is now provided
7724 in select-convert-from-integer (select.el).
7726 * select.c (available-selection-types): Fixed stupidity where
7727 INTEGER and ATOM got added twice. Also add STRING when we see an
7730 * select.c (get-selection-internal): Removed symbol stripping. No
7731 longer causes conversion when data comes from the internal cache.
7733 * select.c (syms_of_select): Added new functions.
7735 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
7736 error checking - previously this called abort!
7738 * select-x.c (x_own_selection): Changed comment.
7740 * select-x.c (x_handle_selection_request): Use select_convert_out.
7741 Don't mess with selection-alist; it's an internal variable of select.c.
7743 * select-x.c (x_get_foreign_selection): Use select_convert_in.
7745 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
7746 rather than messing with selection-alist.
7748 * select-msw.c (mswindows_get_foreign_selection):
7749 Use TO_INTERNAL_FORMAT rather than hacking.
7751 2000-07-14 Martin Buchholz <martin@xemacs.org>
7753 * process-unix.c (unix_open_multicast_group):
7754 (unix_open_multicast_group): Remove useless casts.
7756 2000-07-13 Martin Buchholz <martin@xemacs.org>
7758 * sound.c (Fplay_sound): Fix `unused variable' warning.
7760 * emacs.c (main): Use correct type for _environ on SCO5.
7762 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
7764 * console.h (own_selection_method):
7765 * console.h (selection_exists_p_method):
7766 * console.h (available_selection_types_method): New.
7767 * console.h (register_selection_data_type_method): New.
7768 * console.h (selection_data_type_name): New.
7770 * console-msw.h (mswindows_destroy_selection): Declare it. New
7771 function & alist to track GlobalAlloc()'d handles that need
7772 releasing when the clipboard data gets replaced or emptied.
7774 * event-msw.c (mswindows_wnd_proc): Call it.
7776 * lisp.h, general.c (Qappend): New symbol representing a
7779 * select.c (own-selection-internal):
7780 * select.c (selection-exists-p):
7781 * select.c (available-selection-types): New.
7782 * select.c (register-selection-data-type): New.
7783 * select.c (selection-data-type-name): New. New functions to deal
7784 with device-specific selection data formats.
7785 * select.c (selection-converter-out-alist): Renamed.
7786 * select.c (selection-converter-in-alist): New.
7787 * select.c (selection-appender-alist): New. Added new alists.
7788 * select.c (syms_of_select, vars_of_select): Added new symbols &
7790 * select.c (get_local_selection): Split.
7791 * select.c: Removed spurious type checking - selections may now be
7792 of any type, not just strings.
7793 * select.c (own-selection-internal):
7795 * select.h, select.c (convert_selection): New. Created
7796 convert_selection() function based on get_local_selection().
7797 * select.h, select.c (QCF_*): New symbols representing mswindows
7799 * select.h, select.c (Qreplace_all, Qreplace_existing): New
7800 symbols representing `how-to-add' modes.
7802 * select-msw.c (x_sym_p): New.
7803 * select-msw.c (symbol_to_ms_cf): New.
7804 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
7805 symbols & clipboard formats. Can also handle string names.
7806 * select-msw.c (mswindows_own_selection):
7807 * select-msw.c (mswindows_selection_exists_p):
7808 Added `data-type' parameter. Use it.
7809 * select-msw.c (mswindows_available_selection_types): New.
7810 * select-msw.c (mswindows_register_selection_data_type): New.
7811 * select-msw.c (mswindows_selection_data_type_name): New.
7812 * select-msw.c (mswindows_own_selection):
7813 * select-msw.c (mswindows_get_foreign_selection):
7814 * select-msw.c (mswindows_selection_exists_p): Rewrote.
7815 * select-msw.c (console_create_select_mswindows): Added new methods.
7816 * select-msw.c (mswindows_destroy_selection): New.
7817 * select-msw.c (Vhandle_alist): New list.
7818 * select-msw.c (mswindows_own_selection):
7820 * select-x.c (x_own_selection):
7821 * select-x.c (x_selection_exists_p):
7822 * select-x.c: Added some comments about maybe using new
7824 * select-x.c (x_own_selection):
7826 * specifier.c: Remove definition of Qappend (now in general.c)
7827 * specifier.c (syms_of_specifier): Remove Qappend.
7829 2000-07-12 Martin Buchholz <martin@xemacs.org>
7831 * config.h.in: Add socklen_t.
7833 * s/decosf4-0.h: No special compiler flags needed or desired.
7834 In particular, undefine _BSD for DEC OSF 4.0.
7836 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7838 * redisplay-msw.c (msprinter_frame_output_end): Added.
7839 (console_type_create_redisplay_mswindows): Referred the above.
7841 * frame.c (setup_frame_without_minibuffer): Do not create a
7842 default minibuffer frame on a printer device.
7844 * frame-msw.c (apply_dc_geometry): Added.
7845 (msprinter_start_page):
7846 (msprinter_init_frame_3):
7847 (msprinter_eject_page): Use it.
7849 * console-msw.h (struct msprinter_frame): Added pix_left and top,
7850 and removed residual duplex and orientation properties.
7852 2000-07-11 Martin Buchholz <martin@xemacs.org>
7854 * eval.c (function_argcount): Work around a DEC CC compiler bug.
7856 * unexalpha.c: Remove system prototypes from C sources!
7858 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
7860 * eval.c: Remove references to M-x edit-options in DEFUNs for
7861 `defvar' and `defconst'.
7863 2000-07-09 Martin Buchholz <martin@xemacs.org>
7865 * config.h.in: Remove SMART_INCLUDE hackery.
7868 * config.h.in: Don't use SMART_INCLUDE.
7870 * postgresql.h: Include libpq-fe.h here. Fix typo.
7871 * inline.c: Simply #include "postgresql.h"
7873 - Don't use SMART_INCLUDE
7874 - Use simply "const".
7875 - Use standard doc string conventions.
7876 - Use correct type for result of PQstatus.
7878 2000-07-09 Martin Buchholz <martin@xemacs.org>
7880 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
7882 C++ compilation changes.
7883 * config.h.in (EXTERN_C): Define.
7884 * config.h.in (not): This is also a C++ keyword.
7885 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
7886 * cm.c: Use EXTERN_C.
7887 * redisplay-tty.c: Use EXTERN_C.
7888 * sysdep.c: Use EXTERN_C. Remove Gould support.
7890 2000-07-09 Martin Buchholz <martin@xemacs.org>
7892 * general.c: Remove duplicate definition for Qfunction.
7894 2000-07-08 Ben Wing <ben@xemacs.org>
7896 * device-msw.c (msprinter_init_device):
7897 * device-msw.c (sync_printer_with_devmode):
7898 * device-msw.c (handle_devmode_changes):
7899 * device-msw.c (print_dialog_worker):
7900 * device-msw.c (Fmsprinter_apply_settings):
7901 * device-msw.c (hash_devmode):
7902 * device-msw.c (Fmsprinter_settings_despecialize):
7903 use Qmswindows_tstr, not Qctext.
7905 * vm-limit.c (check_memory_limits):
7906 avoid infinite loop printing warning messages.
7908 2000-07-05 Craig Lanning <lanning@scra.org>
7910 * Makefile.in.in: Add support for including the Windows resources
7911 when building with the cygwin and mingw targets.
7913 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
7914 not set or not correct.
7915 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
7916 (init_initial_directory): Don't try to use $PWD on the
7917 WIN32_NATIVE target.
7920 [[Add -mwindows to eliminate console window.]] not required --ben
7921 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7922 (MAIL_USE_POP): removed; now handled by configure.
7924 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
7925 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
7926 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7927 (MAIL_USE_POP): removed; now handled by configure.
7928 (ENCAPSULATE_STAT): from Dan Holmsand, added.
7929 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
7930 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
7932 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
7933 up from <winsock.h> via systime.h.
7934 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
7935 (getpagesize): from Dan Holmsand, added.
7936 Added #endif which was left dangling by Ben's mega patch; added
7937 comment to help prevent this in the future.
7939 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
7941 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7943 * console-msw.h (struct mswindows_device): Removed unnecessary
7944 cached device geometry values.
7945 Added update_tick and an accessor macro.
7946 (Lisp_Devmode): Added lrecord declaration.
7947 (struct msprinter_device): Contain devmode as a Lisp object.
7948 Added mswindows_get_selected_frame_hwnd();
7950 * console.h (struct console_methods): Indentation nitpicking.
7952 * device-msw.c (mswindows_init_device): Do not initialize geometry
7953 cache. Initialize update tick.
7954 (mswindows_device_system_metrics): Ask the device for its geometry.
7955 (global_free_2_maybe):
7956 (devmode_to_hglobal):
7957 (handle_printer_changes):
7958 (ensure_not_printing):
7959 (print_dialog_worker):
7960 (Fmsprinter_print_setup_dialog):
7961 (Fmsprinter_print_dialog):
7964 (Fmsprinter_page_setup_dialog): Added functions.
7965 (sync_printer_with_devmode):
7966 (handle_devmode_changes):
7967 (Fmsprinter_get_settings):
7968 (Fmsprinter_select_settings):
7969 (Fmsprinter_apply_settings):
7971 (Fmsprinter_settings_copy):
7972 (Fmsprinter_settings_despecialize):
7976 (hash_devmode): Added functions
7977 (syms_of_device_mswindows): Init devmode lrecord class.
7979 * device.h: Added an exfun for find-device.
7981 * event-msw.c (mswindows_wnd_proc): Do not update the cached
7982 geometry; although, recreate the device compatible DC.
7984 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
7985 (msprinter_init_frame_3):
7986 (msprinter_frame_property):
7987 (msprinter_internal_frame_property_p):
7988 (msprinter_frame_properties):
7989 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
7990 print job properties (will move to device settings).
7992 * lisp.h: Added symbols.
7994 * general.c (syms_of_general): Declared them.
7996 * hash.c (string_hash): Added.
7998 * lrecord.h (lrecord_type): Added devmode lrecord type.
8000 2000-07-02 Mike Sperber <mike@xemacs.org>
8002 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
8005 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
8007 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
8010 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
8012 * data.c (Fstring_to_number): Don't recognize floating point if
8015 2000-06-22 Martin Buchholz <martin@xemacs.org>
8017 * glyphs-widget.c (tab_control_query_geometry):
8018 (widget_query_geometry):
8019 (button_query_geometry):
8020 * glyphs.c (text_query_geometry):
8021 Enforce type correctness.
8023 2000-06-18 Martin Buchholz <martin@xemacs.org>
8025 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
8026 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
8028 2000-06-17 Martin Buchholz <martin@xemacs.org>
8030 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
8031 conflicts with gcc's fixincluded version of FOO.h.
8033 * glyphs.h (image_instance_geometry): Remove trailing `,'
8035 2000-06-08 Mike Alexander <mta@arbortext.com>
8037 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
8038 (shove_thread): Don't write the same output twice
8039 (make_ntpipe_output_stream): Increase priority of shove thread
8040 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
8042 (ntpipe_shove_closer): Don't delete the pipe until we're done with
8045 2000-06-12 Ben Wing <ben@xemacs.org>
8047 * s\mingw32.h (sigset):
8048 * s\windowsnt.h (sigset):
8049 rename msw_ to mswindows_ for consistency with general convention.
8051 2000-06-12 Ben Wing <ben@xemacs.org>
8054 * console-msw.c (mswindows_get_console_hwnd):
8055 * console-msw.c (mswindows_ensure_console_allocated):
8056 * console-msw.c (mswindows_hide_console):
8057 * console-msw.c (mswindows_show_console):
8058 * console-msw.c (mswindows_ensure_console_buffered):
8059 * console-msw.c (mswindows_output_console_string):
8060 * console-msw.c (mswindows_windows9x_p):
8062 * device-msw.c (mswindows_get_workspace_coords):
8063 * device-msw.c (mswindows_device_system_metrics):
8064 * dialog-msw.c (mswindows_popup_dialog_box):
8065 * event-msw.c (mswindows_wnd_proc):
8066 * frame-msw.c (mswindows_size_frame_internal):
8067 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8068 * menubar-msw.c (displayable_menu_item):
8069 * menubar-msw.c (mswindows_char_is_accelerator):
8071 * nt.c (mswindows_sigset):
8072 * nt.c (mswindows_sigrelse):
8073 * nt.c (mswindows_sigpause):
8074 * nt.c (mswindows_raise):
8075 * nt.c (timer_proc):
8077 * ntproc.c (find_child_console):
8078 * ntproc.c (sys_kill):
8080 * print.c (std_handle_out_external):
8081 * process-nt.c (find_child_console):
8082 * process-nt.c (send_signal_the_95_way):
8083 * process-nt.c (ensure_console_window_exists):
8084 * process-nt.c (nt_create_process):
8086 rename msw_ to mswindows_ for consistency with general convention.
8090 include nt.h, not syswindows.h.
8092 * nt.c (mswindows_fstat):
8093 * nt.c (mswindows_stat):
8094 prefix mswindows_ instead of attempting to directly override the
8095 library functions. fix declarations.
8098 include syswindows.h. move some sysdep.h stuff here.
8101 include syswindows.h, not <windows.h>.
8109 * sysdep.c (sys_fstat):
8110 * sysdep.c (sys_stat):
8111 call mswindows versions when appropriate.
8114 move mswin decls to nt.h.
8117 add long comment describing appropriate use of the various windows
8120 2000-06-11 Ben Wing <ben@xemacs.org>
8122 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8124 2000-06-10 Ben Wing <ben@xemacs.org>
8126 * Makefile.in.in (release):
8127 Correction to make sure xemacs.exe always dumped when correct.
8131 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8133 * buffer.c (set_buffer_internal):
8134 [[[[2]]]]: Remove HAVE_FEP code.
8136 * buffer.c (init_initial_directory):
8140 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8144 * callproc.c (call_process_cleanup):
8145 * callproc.c (Fold_call_process_internal):
8146 * callproc.c (child_setup):
8147 * callproc.c (getenv_internal):
8148 * callproc.c (init_callproc):
8149 * callproc.c (vars_of_callproc):
8150 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8151 __CYGWIN32__ -> CYGWIN.
8152 DOS_NT -> WIN32_NATIVE.
8153 Remove MSDOS support/references, converting to WIN32_NATIVE
8155 __MINGW32__ -> MINGW.
8156 Fix windows.h includes.
8157 Remove bogus HAVE_NTGUI.
8163 mswindows_message_outputted added for use in allowing startup
8164 errors on the console to be seen.
8166 * console-msw.c (msw_ensure_console_allocated):
8167 * console-msw.c (msw_output_console_string):
8168 * console-msw.c (DHEADER):
8169 * console-msw.c (DOPAQUE_DATA):
8170 * console-msw.c (DEVENT):
8171 * console-msw.c (DCONS):
8172 * console-msw.c (DCONSCDR):
8173 * console-msw.c (DSTRING):
8174 * console-msw.c (DVECTOR):
8175 * console-msw.c (DSYMBOL):
8176 * console-msw.c (DSYMNAME):
8179 * console-stream.c (stream_init_console):
8180 Fix text/binary problems.
8183 * device-msw.c (mswindows_finish_init_device):
8184 * device-msw.c (mswindows_delete_device):
8187 * device.c (handle_asynch_device_change):
8191 * dgif_lib.c (DGifOpenFileName):
8192 * dgif_lib.c (DGifOpenFileHandle):
8193 * dgif_lib.c (DGifGetLine):
8194 * dgif_lib.c (DGifGetPixel):
8195 Added config.h/lisp.h, fix up includes.
8202 * dired.c (file_name_completion):
8203 * dired.c (Ffile_attributes):
8204 * dired.c (syms_of_dired):
8208 * dumper.c (pdump_file_unmap):
8209 * dumper.c (pdump_load):
8213 * editfns.c (Ftemp_directory):
8214 * editfns.c (user_login_name):
8215 * editfns.c (Fuser_real_login_name):
8216 * editfns.c (get_home_directory):
8219 * elhash.c (finish_marking_weak_hash_tables):
8220 [[[[5]]]]: Fix GCC warnings.
8223 * emacs.c (mswindows_handle_hardware_exceptions):
8224 * emacs.c (make_arg_list_1):
8226 * emacs.c (Fkill_emacs):
8227 * emacs.c (Fdump_emacs):
8229 Fix problems with nested crashes, add long comment.
8231 * event-Xt.c (init_event_Xt_late):
8235 * event-msw.c (mswindows_dde_callback):
8236 * event-msw.c (mswindows_handle_sticky_modifiers):
8237 * event-msw.c (mswindows_wnd_proc):
8241 * events.c (character_to_event):
8245 * fileio.c (Ffile_name_directory):
8246 * fileio.c (Ffile_name_nondirectory):
8247 * fileio.c (directory_file_name):
8248 * fileio.c (Fexpand_file_name):
8249 * fileio.c (Fsubstitute_in_file_name):
8250 * fileio.c (Ffile_name_absolute_p):
8251 * fileio.c (check_executable):
8252 * fileio.c (Ffile_readable_p):
8253 * fileio.c (Ffile_accessible_directory_p):
8254 * fileio.c (Ffile_modes):
8255 * fileio.c (Funix_sync):
8256 * fileio.c (vars_of_fileio):
8259 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8261 Expand getdefdir defn.
8262 Fix bogus rename() comment.
8264 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8265 to use standard XEmacs include files, e.g. sysfile.h, rather
8266 than system-specific includes.
8272 * frame.c (vars_of_frame):
8276 * getloadavg.c (getloadavg):
8278 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8279 (We don't use it elsewhere in the code; just add a comment.)
8286 * glyphs-msw.c (mswindows_resource_instantiate):
8289 * glyphs-x.c (x_native_layout_instantiate):
8292 * gui-msw.c (Fmswindows_shell_execute):
8301 * lread.c (locate_file_in_directory_mapper):
8308 * mem-limits.h (get_lim_data):
8320 * nt.c (rva_to_section):
8321 * nt.c (mswindows_executable_type):
8323 Fix closedir() defn.
8326 [[[[8]]]]: *_OK defs moved to sysfile.h.
8335 * print.c (std_handle_out_external):
8339 * process-nt.c (nt_create_process):
8341 try to fix process quoting somewhat.
8343 * process-unix.c (unix_create_process):
8347 * process.c (vars_of_process):
8354 * realpath.c (xrealpath):
8357 * redisplay-tty.c (init_tty_for_redisplay):
8367 * sheap.c (more_static_core):
8368 * sheap.c (report_sheap_usage):
8372 * signal.c (alarm_signal):
8379 * strftime.c (zone_name):
8382 * symsinit.h (init_sunpro):
8386 commctrl.h not in Cygwin b20.1.
8390 * sysdep.c (sys_subshell):
8391 * sysdep.c (init_baud_rate):
8392 * sysdep.c (emacs_get_tty):
8393 * sysdep.c (emacs_set_tty):
8394 * sysdep.c (tty_init_sys_modes_on_device):
8395 * sysdep.c (init_system_name):
8396 * sysdep.c (sys_open):
8397 * sysdep.c (interruptible_open):
8398 * sysdep.c (sys_fopen):
8399 * sysdep.c (sys_mkdir):
8400 * sysdep.c (sys_rename):
8401 * sysdep.c (get_process_times_1):
8408 * sysdir.h (DIRENTRY_NONEMPTY):
8411 * sysdll.c (dll_init):
8417 added text/binary defs.
8423 * sysproc.h (EDESTADDRREQ):
8424 * sysproc.h (poll_fds_for_input):
8441 Always define WIN32_LEAN_AND_MEAN.
8443 * unexcw.c (unexec):
8447 * unexec.c (copy_text_and_data):
8448 * unexec.c (adjust_lnnoptrs):
8452 * unexnt.c (_start):
8455 2000-06-07 Ben Wing <ben@xemacs.org>
8457 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8458 was used only as a model. We've long since extracted any useful
8459 logic or code out of this. (I just did an exhaustive search.)
8461 * s\msdos.h: Removed.
8463 * s\windows95.h: Removed.
8465 2000-06-10 Ben Wing <ben@xemacs.org>
8469 Don't use extern with fun defs.
8473 Remove nt\inc include.
8474 Remove getdisk, getdefdir. (The former is unused, the latter
8475 expanded in fileio.h.)
8478 * s\windowsnt.h (WIN32_NATIVE):
8479 * s\windowsnt.h (HAVE_STRCASECMP):
8481 Add long comment about preprocessor changes.
8482 Remove getdisk, getdefdir. (The former is unused, the latter
8483 expanded in fileio.h.)
8485 2000-06-10 Ben Wing <ben@xemacs.org>
8494 Remove bogus/unused NO_SOCK_SIGIO.
8496 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8498 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8501 2000-06-04 Mike Sperber <mike@xemacs.org>
8503 * casetab.c (set_case_table): For `set-standard-case-table',
8504 actually deposit the new case tables where the rest of XEmacs can
8507 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8509 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8511 2000-06-05 Ben Wing <ben@xemacs.org>
8513 * callproc.c (child_setup): Don't do close_load_descs() under
8514 MS Windows. Put in a comment explaining why.
8516 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8518 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8519 Toolkit shell" which breaks `kill-compilation' on Windows NT
8520 native, retaining STDERR handling improvements.
8522 2000-06-01 Andreas Jaeger <aj@suse.de>
8524 * s/s390.h: Support for S390, based on a patch by Martin
8525 Schwidefsky <schwidefsky@de.ibm.com>.
8527 2000-05-30 Andy Piper <andy@xemacs.org>
8529 * window.c (allocate_window):
8530 (make_dummy_parent):
8531 (Fset_window_configuration): use new hashtable type.
8533 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8534 (struct image_instantiator_methods):
8535 (struct Lisp_Image_Instance): make instance geometry signed.
8537 * glyphs.c (instantiate_image_instantiator):
8538 (image_instance_query_geometry):
8539 (image_instance_layout):
8540 (image_instance_layout):
8541 (query_string_geometry):
8542 (text_query_geometry):
8543 (image_instantiate):
8544 (image_instantiate):
8545 (cache_subwindow_instance_in_frame_maybe):
8546 (subwindow_query_geometry): make instance geometry signed.
8548 * glyphs-widget.c (widget_query_geometry):
8550 (button_query_geometry):
8551 (tree_view_query_geometry):
8552 (tab_control_query_geometry):
8553 (layout_query_geometry):
8555 (native_layout_layout): make instance geometry signed.
8557 2000-05-29 Olivier Galibert <galibert@pobox.com>
8559 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8562 * general.c (syms_of_general): Add Qfull_assoc symbol.
8564 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8566 (decode_weak_list_type): Decode full-assoc type.
8567 (encode_weak_list_type): Encode full-assoc type.
8568 (Fmake_weak_list): Update doc string.
8570 2000-05-30 Andy Piper <andy@xemacs.org>
8572 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8574 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8575 (decode_hash_table_weakness): ditto.
8576 (Fhash_table_weakness): ditto.
8577 (Fhash_table_type): ditto.
8578 (finish_marking_weak_hash_tables): ditto.
8579 (hash_table_weakness_validate): ditto.
8580 (syms_of_elhash): ditto.
8582 2000-05-28 Martin Buchholz <martin@xemacs.org>
8584 * XEmacs 21.2.34 is released.
8586 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8588 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8590 (updating_line_start_cache): Gone.
8591 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8592 generic code to force a minimum of 1 line laid out in the
8595 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8597 * glyphs.c (instantiate_image_instantiator): Check for initialized
8598 height & width no longer special cases IMAGE_NOTHING.
8599 (nothing_instantiate): Set height and width of instance.
8601 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8603 * unexelf.c (unexec): Search for ".data" section.
8604 Initialize new_data2_offset from old_data_index.
8605 Remove redundant check for ElfW.
8607 2000-05-23 Andy Piper <andy@xemacs.org>
8609 * glyphs.c (get_image_instantiator_governing_domain): allow more
8610 specific domains as the governing domain rather than expecting an
8611 exact match. This fixes problems with layouts.
8613 2000-05-22 Andy Piper <andy@xemacs.org>
8615 * redisplay-output.c (compare_runes): check for non-images
8617 * glyphs.c (set_glyph_dirty_p): ditto.
8618 (update_glyph_cachel_data): ditto.
8620 * glyphs-widget.c (layout_post_instantiate): ditto.
8621 (layout_post_instantiate): ditto.
8623 * event-msw.c (mswindows_wnd_proc): warning removal.
8625 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8627 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8629 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8631 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8633 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8634 (mswindows_executable_type): mingw32 now has enough headers for
8637 2000-05-20 Andy Piper <andy@xemacs.org>
8639 * console-msw.c (mswindows_output_last_error): ; -> ,
8641 2000-05-12 Andy Piper <andy@xemacs.org>
8643 * console-msw.c (FROB): compare ints with ints.
8645 2000-05-11 Andy Piper <andy@xemacs.org>
8647 * glyphs-x.c (x_finalize_image_instance): make minimal build
8650 2000-05-20 Ben Wing <ben@xemacs.org>
8653 * event-Xt.c (vars_of_event_Xt):
8654 move modifier-keys-are-sticky to event-stream.c.
8657 * event-msw.c (mswindows_enqueue_mouse_button_event):
8658 * event-msw.c (key_needs_default_processing_p):
8659 * event-msw.c (XEMSW_LCONTROL):
8660 * event-msw.c (mswindows_handle_sticky_modifiers):
8661 * event-msw.c (FROB):
8662 * event-msw.c (clear_sticky_modifiers):
8663 * event-msw.c (output_modifier_keyboard_state):
8664 * event-msw.c (output_alt_keyboard_state):
8665 * event-msw.c (mswindows_wnd_proc):
8666 * event-msw.c (mswindows_modifier_state):
8667 * event-msw.c (emacs_mswindows_handle_magic_event):
8668 implement sticky modifiers.
8671 * event-stream.c (vars_of_event_stream):
8672 move modifier-keys-are-sticky here.
8678 implement map-range-table.
8681 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8683 * redisplay-tty.c (reset_tty_modes):
8684 (tty_redisplay_shutdown): Adjust argument type to
8685 tty_frame_output_end.
8687 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8689 * eval.c (Fbacktrace): Don't output a line with only right
8692 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8694 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8695 (Fpq_reset_poll): Ditto.
8697 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8699 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8701 2000-05-16 Ben Wing <ben@xemacs.org>
8704 * buffer.c (dfc_convert_to/from_internal_format):
8705 * buffer.c (reinit_vars_of_buffer):
8706 Fix conversion functions to allow reentrancy.
8709 * console-msw.c (mswindows_output_last_error):
8710 New fun, generally useful -- output a human-readable
8711 version of GetLastError() on the console.
8714 * console-msw.h (struct mswindows_frame):
8715 Changes for DeferWindowPos. Declare mswindows_output_last_error().
8717 * console-stream.c (stream_output_begin):
8718 * console-stream.c (stream_output_end):
8719 * console-stream.c (stream_output_vertical_divider):
8720 * console-stream.c (stream_clear_region):
8721 * console-stream.c (stream_flash):
8722 * console-stream.c (console_type_create_stream):
8723 Delete blank stream methods, not needed.
8725 * console.h (struct console_methods):
8726 Split begin/end methods into window and frame.
8729 * event-msw.c (mswindows_handle_paint):
8730 * event-msw.c (output_alt_keyboard_state):
8731 * event-msw.c (mswindows_wnd_proc):
8732 * event-msw.c (vars_of_event_mswindows):
8733 Comment about problems with ignored-expose.
8734 Define mswindows-debug-events; not really implemented.
8736 * frame-msw.c (mswindows_init_frame_1):
8740 * glyphs-msw.c (begin_defer_window_pos):
8741 * glyphs-msw.c (mswindows_unmap_subwindow):
8742 * glyphs-msw.c (mswindows_map_subwindow):
8743 * glyphs-msw.c (mswindows_resize_subwindow):
8744 Use DeferWindowPos to reduce flashing when mapping/unmapping.
8746 * glyphs.c (make_image_instance_1):
8749 * gutter.c (Fredisplay_gutter_area):
8750 Use new begin/end methods.
8752 * lisp.h (Dynarr_new2):
8756 * redisplay-msw.c (mswindows_frame_output_begin):
8757 * redisplay-msw.c (mswindows_frame_output_end):
8758 * redisplay-msw.c (console_type_create_redisplay_mswindows):
8759 New begin/end methods -- handle DeferWindowPos.
8761 * redisplay-output.c (redisplay_move_cursor):
8762 * redisplay-output.c (redraw_cursor_in_window):
8763 * redisplay-output.c (redisplay_update_line):
8764 * redisplay-output.c (redisplay_output_window):
8765 New begin/end methods.
8768 * redisplay-tty.c (tty_frame_output_begin):
8769 * redisplay-tty.c (tty_frame_output_end):
8770 * redisplay-tty.c (console_type_create_redisplay_tty):
8771 New begin/end methods.
8774 * redisplay-x.c (x_window_output_begin):
8775 * redisplay-x.c (x_window_output_end):
8776 * redisplay-x.c (console_type_create_redisplay_x):
8777 New begin/end methods.
8779 * redisplay.c (redisplay_frame):
8780 * redisplay.c (Fredisplay_echo_area):
8781 New begin/end methods.
8782 use MAYBE_DEVMETH for clear_frame; it may not exist.
8784 * window.h (WINDOW_XFRAME):
8785 WINDOW_XFOO macros -- get locale and decode struct pointer.
8788 2000-05-12 Ben Wing <ben@xemacs.org>
8791 * emacs.c (ensure_no_quitting_from_now_on):
8792 * emacs.c (fatal_error_signal):
8793 * emacs.c (mswindows_handle_hardware_exceptions):
8795 * emacs.c (Fkill_emacs):
8796 * emacs.c (shut_down_emacs):
8797 * emacs.c (assert_failed):
8798 various improvements in fatal error handling.
8801 move preparing_for_armageddon to emacs.c.
8804 declare fatal_error_in_progress.
8807 * print.c (std_handle_out_external):
8808 * print.c (std_handle_out_va):
8809 * print.c (stderr_out):
8810 * print.c (stdout_out):
8811 use console under mswin when no standard output.
8812 don't do code conversion during fatal error.
8814 * scrollbar.c (Fscrollbar_page_up):
8815 * scrollbar.c (Fscrollbar_page_down):
8816 fix missing else. reindent.
8818 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
8822 * glyphs.h (GLYPH_CACHEL_DESCENT):
8823 (GLYPH_CACHEL_DESCENT):
8824 (GLYPH_CACHEL_DESCENT):
8825 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
8826 used in case these are inline functions.
8827 Use more absurd values to error check.
8829 include window.h for error check functions.
8831 2000-05-11 Ben Wing <ben@xemacs.org>
8833 * cmdloop.c (Freally_early_error_handler):
8834 Display message box under windows; otherwise, message will disappear
8835 before it can be viewed.
8838 * console-msw.c (Fmswindows_message_box):
8839 * console-msw.c (FROB):
8840 * console-msw.c (syms_of_console_mswindows):
8841 Define new fun `mswindows-message-box'.
8842 #### I will merge this into `popup-dialog-box'; just give me
8846 * general.c (syms_of_general):
8847 Some new symbols used in `mswindows-message-box'.
8850 * glyphs.c (Fset_image_instance_property):
8851 put warning in this fun.
8854 * glyphs.h (GLYPH_CACHEL_WIDTH):
8855 * glyphs.h (GLYPH_CACHEL_ASCENT):
8856 * glyphs.h (GLYPH_CACHEL):
8857 * glyphs.h (GLYPH_CACHEL_GLYPH):
8858 define error-checking versions to try to catch a bug i've seen --
8859 redisplay gets in an infinite loop because the glyph width of the
8860 continuation glyph is 65535.
8863 Extern message-box stuff.
8865 * window.c (allocate_window):
8866 * window.c (make_dummy_parent):
8867 * window.c (Fset_window_configuration):
8868 Use EQUAL not EQ for subwindow caches to make them work a bit
8869 better. (Something is still very broken.)
8872 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8874 * glyphs.c (image_instantiate): Suppress gcc warnings.
8875 (Fmake_image_instance): Fix doc string.
8876 * specifier.c (Fmake_specifier): Ditto.
8878 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
8880 * paths.h.in (PATH_LOCK): Removed.
8881 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
8882 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
8884 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8886 * fns.c (Ffeaturep): Update e-mail address in doc-string.
8887 Document (featurep '(and xemacs 21.02)).
8889 2000-05-09 Ben Wing <ben@xemacs.org>
8891 * buffer.c (complex_vars_of_buffer):
8892 update modeline-format doc.
8895 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
8898 timeline of all released versions of Emacs, for use in creating
8899 authorship comments and in synching up.
8901 * glyphs-widget.c (image_instantiator_buttons):
8902 * glyphs-widget.c (image_instantiator_edit_fields):
8903 * glyphs-widget.c (image_instantiator_combo_box):
8904 * glyphs-widget.c (image_instantiator_scrollbar):
8905 * glyphs-widget.c (image_instantiator_progress_guage):
8906 * glyphs-widget.c (image_instantiator_tree_view):
8907 * glyphs-widget.c (image_instantiator_tab_control):
8908 * glyphs-widget.c (image_instantiator_labels):
8909 * glyphs-widget.c (image_instantiator_layout):
8910 * glyphs-widget.c (image_instantiator_native_layout):
8911 rename decode_domain method to governing_domain.
8914 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
8915 * glyphs.c (add_entry_to_device_ii_format_list):
8916 make sure we don't put an entry more than once into the list.
8917 * glyphs.c (check_instance_cache_mapper):
8918 *************************************************************
8919 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8921 *************************************************************
8922 * glyphs.c (get_image_instantiator_governing_domain):
8923 clean up, expand on new concept of governing domain.
8924 * glyphs.c (instantiate_image_instantiator):
8925 * glyphs.c (allocate_image_instance):
8926 use governing_domain instead of cache_domain in naming.
8927 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
8928 * glyphs.c (make_image_instance_1):
8929 * glyphs.c (Fmake_image_instance):
8930 allow for any domain (not just device), and process the
8931 governing domain correctly. very big doc fix.
8932 * glyphs.c (Fimage_instance_domain):
8933 new primitive, to retrieve the governing domain of an image instance.
8934 * glyphs.c (image_instantiate):
8935 use new governing_domain stuff. this fixes a crash you could get
8936 by instantiating certain widget glyphs in frame locales. (should
8937 signal an error instead of crashing.)
8938 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
8939 * glyphs.c (Fglyphp): clean up doc.
8940 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
8941 * glyphs.c (syms_of_glyphs):
8942 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
8943 * glyphs.c (image_instantiator_format_create): add some comments about
8945 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
8946 for current-display-table. (Apparently Hrjove implemented in 1998 a
8947 design I wrote up in 1996, but didn't update the doc string.)
8949 * glyphs.h: clean up a doc string.
8950 * glyphs.h (governing_domain):
8951 * glyphs.h (struct image_instantiator_methods):
8952 changes for governing_domain stuff.
8955 * gutter.c (Fgutter_specifier_p):
8956 * gutter.c (Fgutter_size_specifier_p):
8957 * gutter.c (Fgutter_visible_specifier_p):
8959 * objects.c (Fcolor_specifier_p):
8960 * objects.c (Ffont_specifier_p):
8961 * objects.c (Fface_boolean_specifier_p):
8962 doc strings moved to make-*-specifier.
8964 * redisplay.c (add_disp_table_entry_runes_1):
8965 * redisplay.c (generate_fstring_runes):
8966 * redisplay.c (screen):
8967 add random comments and doc strings.
8970 * specifier.c (Fmake_specifier):
8971 major overhaul of this doc string.
8973 * specifier.c (Fvalid_specifier_domain_p):
8974 comment about the bogosity of image instances being domains.
8975 * specifier.c (decode_domain):
8976 now non-static, used in glyphs.c.
8977 * specifier.c (specifier_instance):
8978 comment about the bogosity of image instances being domains.
8979 * specifier.c (Fgeneric_specifier_p):
8980 move doc string to make-generic-specifier.
8981 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
8985 * specifier.h (DOMAIN_FRAME):
8986 * specifier.h (DOMAIN_LIVE_P):
8987 * specifier.h (DOMAIN_XDEVICE):
8989 add comments about problems with these macros.
8990 prototype for decode_domain.
8993 * toolbar.c (Ftoolbar_specifier_p):
8994 move doc string to `make-toolbar-specifier'.
8996 * window.c (window_unmap_subwindows_cache_mapper):
8997 *************************************************************
8998 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9000 *************************************************************
9002 2000-05-09 Andy Piper <andy@xemacs.org>
9004 * glyphs.h: declare reset_frame_subwindow_instance_cache.
9006 * window.c (Fset_window_configuration): reset the frame subwindow
9007 cache and re-initialize the window subwindow caches.
9009 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
9011 2000-05-09 Ben Wing <ben@xemacs.org>
9013 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
9016 2000-04-26 Mike Woolley <mike@bulsara.com>
9018 * ntheap.c: Changed recreate_heap to limit the amount reserved
9019 for the heap to that which is actually available. Also now
9020 displays a message box (with some dignostics) in the event that
9021 it still can't start.
9023 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
9025 * callproc.c (Fold_call_process_internal): GCPRO path
9027 2000-05-08 Jan Vroonhof <jan@xemacs.org>
9029 Patch by Bill Perry.
9031 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
9032 back data instead of #ifdef.
9033 (Fscrollbar_page_down): ditto.
9035 2000-05-07 Ben Wing <ben@xemacs.org>
9038 Kludge for defining Qmswindows_tstr.
9041 * nt.c (open_input_file):
9042 * nt.c (open_output_file):
9043 * nt.c (rva_to_section):
9044 * nt.c (mswindows_executable_type):
9045 Move all memory-mapped-file routines here (some were in unexnt.c,
9046 which is bad because they are used by process-nt.c, and unexnt
9047 won't be around when portable dumping). Synched the above routines
9051 Removed ifdef'd out bogus code.
9052 Fixed some prototypes.
9055 * nt.h (OFFSET_TO_RVA):
9056 * nt.h (RVA_TO_OFFSET):
9057 * nt.h (RVA_TO_PTR):
9058 Moved the memory-mapped-file structures, macros and prototypes
9059 here, to parallel nt.c. ntheap.h should really be removed
9060 entirely, and it's a non-portable-dumper specific file.
9062 * ntheap.h (round_to_next):
9063 Moved the memory-mapped-file structures, macros and prototypes
9066 * ntproc.c (compare_env):
9067 Moved rva_to_section and mswindows_executable_type to nt.c.
9068 Moved compare_env to process-nt.c.
9069 ntproc.c will die, one day.
9071 * ntproc.c (sys_spawnve):
9072 Account for win32_ -> mswindows_.
9075 * process-nt.c (struct nt_process_data):
9076 * process-nt.c (ensure_console_window_exists):
9077 * process-nt.c (compare_env):
9078 * process-nt.c (nt_create_process):
9079 * process-nt.c (nt_kill_process_by_pid):
9080 * process-nt.c (syms_of_process_nt):
9081 * process-nt.c (vars_of_process_nt):
9082 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
9083 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
9084 changes). Eliminate our old `nt-quote-process-args' mechanism.
9085 Synch up nt_create_process with FSF 20.6 sys_spawnve.
9086 Move compare_env here from ntproc.c.
9088 * process.c (Fprocess_send_region):
9089 Takes an optional fourth argument, BUFFER, which should fix some
9090 problems with call-process.
9093 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
9096 Move ICC_BAR_CLASSES to syscommctrl.h.
9097 Add preliminary macros for MSWindows/Mule. More to come.
9100 * unexnt.c (unexec):
9101 open_output_file moved to nt.c.
9104 2000-05-05 Andy Piper <andy@xemacs.org>
9106 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
9107 instance from the frame cache also since GC may catch up too late
9108 to make frame deletion sane.
9110 2000-05-04 Andy Piper <andy@xemacs.org>
9112 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
9113 (x_finalize_image_instance): ungcpro on deletion.
9115 * glyphs.c (image_instantiator_format_create): give pointers a
9116 query geometry method so that the geometry is at least set.
9118 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
9119 initialize layouts if using widgets.
9121 2000-05-03 Andy Piper <andy@xemacs.org>
9123 * nt.c: remove bogus reference to sysmmsystem.h
9125 * gui-x.c (popup_selection_callback): fix no selection abort.
9127 2000-05-02 Andy Piper <andy@xemacs.org>
9129 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9130 (mswindows_widget_instantiate): ditto.
9132 * glyphs-widget.c (initialize_widget_image_instance): initialize
9134 (widget_instantiate): cope with children and items in the same
9137 * glyphs.c (mark_image_instance): cope with children as a first
9139 (image_instance_equal): ditto.
9140 (image_instance_hash): ditto.
9141 (image_instance_changed): ditto.
9143 2000-04-30 Andy Piper <andy@xemacs.org>
9145 * glyphs.c (subwindow_query_geometry): new function. Return some
9147 (subwindow_instantiate): don't assign dimensions if none have been
9149 (image_instantiator_format_create): add subwindow_query_geometry.
9150 (print_image_instance): cope with layouts as widgets.
9152 2000-04-29 Andy Piper <andy@xemacs.org>
9154 * frame.c (delete_frame_internal): call
9155 free_frame_subwindow_instance_cache so that all subwindows are
9156 finalized before their parent.
9157 (mark_frame): remove subwindow_cachels.
9158 (Fmake_frame): remove subwindow_cachel manipulation.
9159 (allocate_frame_core): subwindow_instance_cache is a weak list.
9160 (delete_frame_internal): set subwindow_instance_cache to nil.
9162 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9164 (mswindows_finalize_image_instance): use the device
9165 not the domain as the domain may have died already.
9167 * glyphs-x.c (x_finalize_image_instance): ditto.
9168 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9171 * redisplay-output.c (redisplay_unmap_subwindows): update for
9172 subwindow instance cache as a weak list.
9173 (redisplay_unmap_subwindows_maybe): ditto.
9174 (redisplay_unmap_subwindows_except_us): ditto.
9176 * glyphs.c (unmap_subwindow): error checking will check the domain
9177 so don't deal with it here. Don't use cachels anymore.
9178 (map_subwindow): ditto.
9179 (update_subwindow_cachel_data): remove old accessor names.
9180 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9181 (Fresize_subwindow): don't update cachel.
9182 (mark_subwindow_cachels):
9183 (update_subwindow_cachel_data):
9184 (add_subwindow_cachel):
9185 (get_subwindow_cachel_index):
9186 (update_subwindow_cachel):
9187 (reset_subwindow_cachels):
9188 (mark_subwindow_cachels_as_not_updated): deleted.
9189 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9190 subwindow instance to the frame cache.
9191 (find_matching_subwindow): update for subwindow instance cache as
9193 (update_widget_instances): ditto.
9194 (image_instance_type_to_mask):inlined.
9195 (free_frame_subwindow_instance_cache): new function. finalize all
9196 subwindows that are instantiated.
9198 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9199 of cachel information.
9200 (IMAGE_INSTANCE_DISPLAY_X):
9201 (IMAGE_INSTANCE_DISPLAY_Y):
9202 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9203 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9204 (XIMAGE_INSTANCE_DISPLAY_X):
9205 (XIMAGE_INSTANCE_DISPLAY_Y):
9206 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9207 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9208 remove subwindow_cachel structure and function references.
9209 (image_instance_type_to_mask): inline from glyphs.c
9211 * redisplay.c (redisplay_frame): remove subwindow_cachel
9214 * frame.h (struct frame): remove subwindow_cachels.
9215 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9217 * frameslots.h: add subwindow_instance_cache.
9219 * window.c (replace_window): check subwindow cache of replacement.
9220 (window_unmap_subwindows_cache_mapper):
9221 (window_unmap_subwindows): new functions. Unmap all subwindows
9222 cached on this window.
9223 (mark_window_as_deleted): unmap all subwindows.
9225 2000-04-27 Andy Piper <andy@xemacs.org>
9227 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9229 * glyphs-widget.c (widget_layout): return something.
9230 (layout_layout): return something. Fail if not initialized.
9231 (layout_query_geometry): ditto.
9232 (image_instantiator_native_layout): new function. Initialized the
9234 (widget_instantiate): don't do layout stuff here.
9236 * glyphs.c (instantiate_image_instantiator): reorded calling or
9237 instantiate and post_instantiate with layout in between.
9238 (image_instance_layout): be more selective about deciding whether
9239 the layout has been done or not.
9241 * glyphs.h (struct image_instantiator_methods): return a value
9244 2000-04-26 Andy Piper <andy@xemacs.org>
9246 * glyphs.c (allocate_image_instance): make initial width and
9247 height unspecified. Set initialized to 0.
9249 * syscommctrl.h new file. Encapsulates commctrl.h.
9251 * syswindows.h new file. Encapsulates windows.h.
9253 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9255 * console-msw.h: ditto.
9257 * redisplay-tty.c (tty_output_display_block): remove layout references.
9259 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9260 window handle rather than just the frame.
9262 * glyphs.c (mark_image_instance): remove layout references.
9263 (print_image_instance): ditto.
9264 (image_instance_equal): ditto.
9265 (image_instance_hash): ditto.
9266 (decode_image_instance_type): ditto.
9267 (encode_image_instance_type): ditto.
9268 (image_instantiate): ditto.
9269 (allocate_glyph): ditto.
9270 (Fimage_instance_height): ditto.
9271 (Fimage_instance_width): ditto.
9272 (update_subwindow): ditto.
9274 * redisplay-x.c (x_output_display_block): recode for layouts as
9277 * redisplay-output.c (redisplay_output_layout): recode for layouts
9279 (compare_runes): remove layout references.
9281 * redisplay-msw.c (mswindows_output_display_block): recode for
9284 * glyphs-widget.c (image_instantiator_layout): remove
9285 layout_possible_dest_types.
9286 (layout_possible_dest_types): deleted.
9288 * glyphs.h (image_instance_type): remove layout references.
9289 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9290 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9291 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9293 2000-04-25 Andy Piper <andy@xemacs.org>
9295 * glyphs-widget.c (image_instantiator_buttons):
9296 (image_instantiator_edit_fields):
9297 (image_instantiator_combo_box):
9298 (image_instantiator_scrollbar):
9299 (image_instantiator_progress_guage):
9300 (image_instantiator_tree_view):
9301 (image_instantiator_tab_control):
9302 (image_instantiator_labels):
9303 (image_instantiator_layout): call default post_instantiate method.
9304 (widget_post_instantiate): new function. Simply lays out the
9307 * glyphs.h (struct image_instantiator_methods): add
9308 post_instantiate method.
9310 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9313 2000-04-23 Andy Piper <andy@xemacs.org>
9315 * glyphs.h (struct image_instantiator_methods): add
9316 decode_domain_method.
9317 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9318 derived from the domain.
9319 (IMAGE_INSTANCE_FRAME): new accessor.
9320 (XIMAGE_INSTANCE_FRAME): ditto.
9322 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9323 instead of _SUBWINDOW_FRAME.
9324 (finalize_image_instance): ditto.
9325 (Fimage_instance_foreground): ditto.
9326 (Fimage_instance_background): ditto.
9327 (image_instantiate): ditto.
9328 (update_subwindow_cachel): ditto.
9329 (update_subwindow): ditto.
9330 (unmap_subwindow): ditto.
9331 (map_subwindow): ditto
9332 (subwindow_instantiate): ditto.
9333 * glyphs-msw.c (mswindows_update_widget): ditto.
9334 (mswindows_progress_gauge_instantiate): ditto.
9335 (mswindows_tab_control_update): ditto.
9336 * glyphs-x.c (x_update_widget): ditto.
9337 (x_widget_instantiate): ditto.
9338 (x_tab_control_instantiate): ditto.
9339 (x_tab_control_update): ditto.
9340 * event-msw.c (mswindows_wnd_proc): ditto
9342 * glyphs-widget.c (image_instantiator_layout): use
9343 subwindow_decode_domain.
9344 (image_instantiator_buttons): ditto.
9345 (image_instantiator_edit_fields): ditto.
9346 (image_instantiator_combo_box): ditto.
9347 (image_instantiator_scrollbar): ditto.
9348 (image_instantiator_progress_guage): ditto.
9349 (image_instantiator_tree_view): ditto.
9350 (image_instantiator_tab_control): ditto.
9351 (image_instantiator_labels): ditto.
9352 (image_instantiator_layout): ditto.
9354 * glyphs.c: add instance error checking to many functions.
9355 (instantiate_image_instantiator): decode device from cache_domain.
9356 (image_instantiate): partially rewrite by using
9357 decode_image_instantiator_domain to determine what domain the
9358 instance needs to be cached in.
9359 (decode_image_instantiator_domain): new function. Determine what
9360 domain the image needs to be cached in.
9361 (check_window_subwindow_cache): new error checking function.
9362 (check_instance_cache_mapper): ditto.
9363 (check_image_instance_structure): ditto.
9364 (subwindow_decode_domain): new function. Encodes a window as a
9365 subwindow's cache domain.
9366 (image_instantiator_format_create): use it for text and
9369 2000-04-21 Andy Piper <andy@xemacs.org>
9371 * glyphs.c (image_instance_device): new function.
9372 (image_instance_frame): new function.
9373 (image_instance_window): new function.
9374 (image_instance_live_p): new function.
9376 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9379 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9380 (IMAGE_INSTANCE_DOMAIN): new accessor.
9381 (XIMAGE_INSTANCE_DOMAIN): ditto.
9383 * glyphs-x.c (x_finalize_image_instance): device->domain.
9385 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9386 (mswindows_finalize_image_instance): ditto.
9388 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9389 (gif_instantiate): ditto.
9390 (png_instantiate): ditto.
9391 (tiff_instantiate): ditto.
9393 * glyphs.c (instantiate_image_instantiator): use domain rather
9395 (mark_image_instance): device -> domain.
9396 (print_image_instance): ditto.
9397 (finalize_image_instance): ditto.
9398 (image_instance_equal): ditto.
9399 (allocate_image_instance): ditto.
9400 (Fcolorize_image_instance): ditto.
9401 (query_string_geometry): ditto.
9402 (image_instantiate): ditto
9403 (query_string_font): ditto.
9404 (image_instantiate): ditto.
9405 (update_subwindow): ditto.
9406 (unmap_subwindow): ditto.
9407 (map_subwindow): ditto.
9408 (subwindow_instantiate): ditto.
9410 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9411 (DOMAIN_FRAME): ditto.
9412 (DOMAIN_WINDOW): ditto.
9413 (DOMAIN_LIVE_P): ditto.
9414 (XDOMAIN_DEVICE): ditto.
9415 (XDOMAIN_FRAME): ditto.
9416 (XDOMAIN_WINDOW): ditto.
9418 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9419 a valid specifier domain.
9421 2000-04-19 Andy Piper <andy@xemacs.org>
9423 * glyphs-widget.c (syms_of_glyphs_widget): remove
9424 widget-callback-current-channel.
9425 (vars_of_glyphs_widget): ditto.
9428 * gui.c (get_gui_callback): revert to previous behaviour.
9430 2000-04-18 Andy Piper <andy@xemacs.org>
9432 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9433 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9434 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9436 * glyphs.c (image_instance_equal): add margin_width.
9437 (image_instance_hash): ditto.
9439 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9440 (layout_query_geometry): ditto.
9441 (layout_layout): ditto.
9442 (syms_of_glyphs_widget): add margin-width.
9443 (image_instantiator_layout): allow margin-width.
9445 * glyphs.c (update_widget_instances): make a normal function.
9446 (syms_of_glyphs): remove Qupdate_widget_instances.
9449 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9450 so that we don't corrupt ideas about the last event or
9451 command. Remove widget-callback-current-channel fiddling.
9452 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9454 2000-05-01 Martin Buchholz <martin@xemacs.org>
9456 * XEmacs 21.2.33 is released.
9458 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9460 * make-src-depend: Allow dots in header file name.
9462 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9464 * mule-charset.h (struct charset_lookup): Add
9465 next_allocated_1_byte_leading_byte and
9466 next_allocated_2_byte_leading_byte.
9467 * mule-charset.c: Move above two variables so that those values
9470 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9472 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9473 when string length is zero.
9474 (find_charsets_in_emchar_string): Ditto.
9476 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9478 * lisp.h: extern Qdialog and Qmenubar.
9480 * gui-x.c: added events.h.
9481 also fixed typo which made the file uncompilable.
9483 * general.c: Added Qmenubar and Qdialog
9485 2000-04-28 Ben Wing <ben@xemacs.org>
9487 * frame-msw.c (mswindows_init_frame_1):
9488 * frame-msw.c (mswindows_mark_frame):
9489 * event-msw.c (mswindows_enqueue_dispatch_event):
9491 * console-msw.h (struct mswindows_frame):
9492 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9493 there are now three hash tables for callbacks.
9494 mswindows_enqueue_dispatch_event is no longer static.
9496 * dialog-x.c (maybe_run_dbox_text_callback):
9497 * dialog-x.c (dbox_descriptor_to_widget_value):
9498 switch to new cons3 form for callbacks.
9500 * glyphs-msw.c (mswindows_register_gui_item):
9501 * glyphs-msw.c (mswindows_widget_instantiate):
9502 * glyphs-msw.c (add_tree_item):
9503 * glyphs-msw.c (add_tab_item):
9504 new image instance parameter, so it can be passed to callback-ex.
9505 respect :callback-ex as well as :callback.
9507 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9510 * glyphs.c (print_image_instance):
9511 prettify, e.g. now prints widget type.
9514 certain funs have new image instance parameter.
9517 * gui.c (get_gui_callback):
9518 * gui.c (gui_item_add_keyval_pair):
9519 * gui.c (gui_item_init):
9520 * gui.c (gui_add_item_keywords_to_plist):
9521 * gui.c (mark_gui_item):
9522 * gui.c (gui_item_hash):
9523 * gui.c (gui_item_equal):
9524 * gui.c (copy_gui_item):
9525 * gui.c (syms_of_gui):
9526 recognize callback-ex in a number of places.
9527 also, fix the annoying "can't get out of yes-no dialog" bug.
9530 * gui.h (struct Lisp_Gui_Item):
9531 recognize callback-ex in a number of places.
9533 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9534 new parameter in button_item_to_widget_value.
9536 * glyphs-x.c (x_update_widget):
9537 * glyphs-x.c (x_button_instantiate):
9538 * glyphs-x.c (x_button_update):
9539 * glyphs-x.c (x_progress_gauge_instantiate):
9540 * glyphs-x.c (x_edit_field_instantiate):
9541 * glyphs-x.c (x_combo_box_instantiate):
9542 * glyphs-x.c (x_tab_control_instantiate):
9543 * glyphs-x.c (x_label_instantiate):
9544 new image instance parameter in various places.
9547 * event-Xt.c (enqueue_Xt_dispatch_event):
9548 this fun gets exported.
9551 * gui-msw.c (mswindows_handle_gui_wm_command):
9552 handle both :callback and :callback-ex, and generate our own
9553 event because it's one of the callback-ex arguments.
9556 * gui-x.c (popup_selection_callback):
9557 handle both :callback and :callback-ex, and generate our own
9558 event because it's one of the callback-ex arguments.
9559 * gui-x.c (button_item_to_widget_value):
9560 * gui-x.c (gui_items_to_widget_values_1):
9561 * gui-x.c (gui_item_children_to_widget_values):
9562 * gui-x.c (gui_items_to_widget_values):
9563 new image instance parameter in various places.
9565 * fns.c (Freplace_list):
9566 fix small typo in doc string.
9569 declare enqueue_Xt_dispatch_event.
9571 2000-04-28 Ben Wing <ben@xemacs.org>
9574 * buffer.c (Frecord_buffer):
9575 * buffer.c (syms_of_buffer):
9576 delete record-buffer-hook.
9579 * fns.c (Freplace_list):
9580 * fns.c (syms_of_fns):
9581 new primitive replace-list.
9584 slot for old buffer-alist.
9590 * redisplay.c (redisplay_frame):
9591 * redisplay.c (syms_of_redisplay):
9592 * redisplay.c (vars_of_redisplay):
9593 new hook buffer-list-changed-hook.
9596 2000-04-27 Ben Wing <ben@xemacs.org>
9598 * extents.h: extern in_modeline_generation.
9600 * redisplay.c (generate_formatted_string_db): set
9601 in_modeline_generation.
9603 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9604 flags if in modeline generation. otherwise frame-modified-tick
9605 is ticked far too often.
9606 Declare in_modeline_generation.
9608 2000-04-26 Ben Wing <ben@xemacs.org>
9610 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9612 (vars_of_emacs): add quick-build as an error-checking option.
9613 A bit kludgy, but there doesn't seem much point in creating
9614 a real var for this.
9616 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9618 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9620 * redisplay.h (struct display_line): Add a new variable,
9623 * redisplay.c (create_text_block): Set dl->line_continuation if
9625 (create_string_text_block): Ditto.
9626 (regenerate_window_incrementally): Use line_continuation instead
9627 of searching continuation glyph.
9628 (add_margin_runes): Call add_glyph_rune.
9629 (add_glyph_rune): Handle margin glyph.
9631 2000-04-20 Martin Buchholz <martin@xemacs.org>
9633 * filelock.c (fill_in_lock_file_name):
9635 Check for IS_ANY_SEP instead of '/'.
9637 Avoid generating gratuitous garbage. Call user_login_name() directly.
9638 Never check errno without first seeing that system call failed.
9639 (unlock_file): Add GCPRO.
9640 (Flock_buffer): Fix docstring.
9641 (Ffile_locked_p): Fix docstring. Add GCPRO.
9643 2000-04-19 Martin Buchholz <martin@xemacs.org>
9645 * sysdep.c (get_pty_max_bytes):
9646 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9647 strings longer than 252 bytes.
9649 * md5.c: Unconditionally include ANSI header <limits.h>
9651 * glyphs-x.c (convert_EImage_to_XImage):
9652 * lisp-union.h (union Lisp_Object):
9653 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9655 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9657 * filelock.c (current_lock_owner): Remove unused variable o, p.
9659 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9661 * callint.c: Remove multiply defined symbol Qlet
9662 (syms_of_callint): ditto.
9664 2000-04-14 Andy Piper <andy@xemacs.org>
9666 * general.c (syms_of_general): add last-command, this-command, let
9669 * lisp.h: declare various symbols.
9671 * glyphs.h: declare Qwidget_callback_current_channel;
9673 * glyphs-widget.c (syms_of_glyphs_widget): add
9674 Qgui_callback_current_channel.
9675 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9677 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9678 widget-callback-current-channel when invoking the interactive
9679 arg. Also bind last-command and next-command when invoking the
9681 * gui-x.c (popup_selection_callback): ditto.
9683 * gui.c (get_gui_callback): massage args so that we are always
9684 calling eval. This allows us to add our own variable bindings
9687 * glyphs-x.c (x_button_instantiate): use
9688 gui_items_to_widget_values since this is GC safe.
9689 (x_progress_gauge_instantiate): ditto.
9690 (x_edit_field_instantiate): ditto.
9691 (x_label_instantiate): ditto.
9693 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9694 (emacs_Xt_event_widget_focus_out): new function
9695 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9697 (emacs_Xt_event_add_widget_actions): new function. add focus
9698 functions as actions.
9699 (init_event_Xt_late): use it.
9701 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9703 * event-stream.c (Fdispatch_event): Doc fix.
9705 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9707 * postgresql.c: Remove all references to PQsetenv*.
9709 * postgresql.h: Remove references to PGsetenvHandler object.
9710 * lrecord.h (lrecord_type): Ditto.
9712 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9714 * glyphs-msw.h (struct mswindows_image_instance_data): Added
9715 real_heigh and real_width members, and accessor macros for these.
9717 * glyphs-msw.c (init_image_instance_geometry): New function.
9718 (init_image_instance_from_dibitmap): Use it.
9719 (mswindows_resource_instantiate): Use it.
9720 (init_image_instance_from_xbm_inline): Use it.
9721 (mswindows_initialize_image_instance_mask): Use real bitmap
9723 (mswindows_create_resized_bitmap): Ditto.
9724 (mswindows_create_resized_mask): Ditto.
9726 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
9727 and bitmap to their surface size.
9729 2000-04-11 Jan Vroonhof <jan@xemacs.org>
9731 * process-unix.c (unix_send_process): Guard against process MIA
9732 after Faccept_process_output.
9734 2000-04-11 Ben Wing <ben@xemacs.org>
9736 * eval.c (unbind_to_hairy): fix brokenness introduced by
9737 nanosecond speed improvements.
9739 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
9741 * sunplay.c (init_device): To play sounds correctly, the device
9742 apparently needs to be initialized at least once by XEmacs. Make
9745 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
9747 * redisplay.c (add_margin_runes): Add text image glyph
9750 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9752 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
9753 gcc is newer than 2.5.
9755 2000-04-06 Colin Rafferty <colin@xemacs.org>
9757 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
9759 * fns.c (size_bit_vector):
9760 * alloc.c (size_vector):
9761 (make_vector_internal):
9762 (make_bit_vector_internal):
9763 (sweep_bit_vectors_1):
9764 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
9766 2000-04-06 Andy Piper <andy@xemacs.org>
9768 * gmalloc.c (malloc): undo previous change.
9773 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
9775 * line-number.c (buffer_line_number): Revert to former version.
9777 2000-04-06 Andy Piper <andy@xemacs.org>
9779 * gmalloc.c (malloc): add error checking.
9784 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
9785 button_item_to_widget_value arg.
9787 * glyphs-x.c (x_button_instantiate): add extra
9788 button_item_to_widget_value arg.
9789 (x_progress_gauge_instantiate): ditto.
9790 (x_edit_field_instantiate): ditto.
9791 (x_label_instantiate): ditto.
9793 * gui-x.c (gui_items_to_widget_values_1): add extra
9794 button_item_to_widget_value arg.
9795 (button_item_to_widget_value): add extra menu_item_p arg.
9797 * gui-x.h: change signature of button_item_to_widget_value.
9799 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
9800 button_item_to_widget_value arg.
9802 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9804 * buffer.h (struct buffer): auto_save_modified should be long.
9806 2000-04-05 Andy Piper <andy@xemacs.org>
9808 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
9810 (button_query_geometry): give a little more room so that athena
9813 2000-04-05 Andy Piper <andy@xemacs.org>
9815 * faces.c (complex_vars_of_faces): The widget face should inherit
9816 the font of the gui-element face.
9818 2000-04-04 Andy Piper <andy@xemacs.org>
9820 * glyphs-x.c (x_button_update): new function. unconditionally
9821 update a button's state when the instance is dirty.
9822 (image_instantiator_format_create_glyphs_x): add x_button_update.
9823 (x_widget_instantiate): remove old resize cruft.
9825 2000-04-02 Andy Piper <andy@xemacs.org>
9827 * frame.c (change_frame_size_1): The introduction of gutters means
9828 that we need to allow 0 as a potential frame dimension.
9830 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
9832 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
9833 image glyph if allow_cursor.
9834 (add_hscroll_rune): Don't allow cursor to border glyph.
9835 (create_text_block): Ditto.
9837 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
9839 (redisplay_output_layout): Call ensure_face_cachel_complete for
9843 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
9845 * redisplay.c (add_glyph_rune): Adding text image as text runes.
9847 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
9850 * redisplay-tty.c (tty_output_display_block): Delete the routine
9851 for text image glyph
9852 * redisplay-x.c (x_output_display_block): ditto
9853 * redisplay-msw.c (mswindows_output_display_block): ditto
9855 2000-02-02 Mike Alexander <mta@arbortext.com>
9857 Note: Some of these were committed by accident as part of other
9860 * regex.c (regex_compile): Avoid compiler warnings.
9862 * ntproc.c (sys_spawnve): Avoid compiler warnings.
9864 * nt.h: Declare term_ntproc correctly.
9866 * nt.c: Remove incorrect declaration of get_home_directory which
9867 is declared correctly in lisp.h.
9869 * keymap.c (get_keyelt): Avoid compiler warnings.
9870 (raw_lookup_key_mapper): Avoid compiler warnings.
9872 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
9874 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
9876 * filemode.c (mode_string): Avoid compiler warnings.
9878 * file-coding.c (Fcoding_system_aliasee): Add return statement to
9881 * events-mod.h: Undef some things that winuser.h defines differently.
9883 * data.c (Faset): Avoid compiler warnings.
9885 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
9887 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9889 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
9890 Fall through to simple beep on error.
9891 Replace "extern" by real header file.
9893 * linuxplay.c: Use nativesound.h
9894 (play_sound_data): Return error code. Be less verbose on error.
9896 * sunplay.c: Use nativesound.h
9897 (play_sound_data): Return error code. Be less verbose on error.
9899 * ntplay.c: Use nativesound.h
9900 (play_sound_data): Return fake error code
9902 * sgiplay.c: Use nativesound.h
9903 (play_sound_data): Return error code
9905 * hpplay.c: Use nativesound.h, partially implement
9906 new error code. Break compilation until finished.
9907 (play_sound_data): error code.
9909 * nativesound.h (play_sound_file):
9910 (play_sound_data): Prototype in new header.
9912 2000-03-31 Andy Piper <andy@xemacs.org>
9914 * glyphs-widget.c: (button_query_geometry): new function. Adjust
9915 for toggle and radio buttons.
9916 (image_instantiator_buttons): use it.
9918 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9920 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
9921 (x_update_horizontal_scrollbar_callback): Return if no mirror was
9922 found. Scrollbar event probably belonged to some old config.
9924 2000-03-31 Andy Piper <andy@xemacs.org>
9926 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
9928 (initialize_widget_image_instance): default layout to
9929 LAYOUT_HORIZONTAL rather than 0.
9930 (widget_instantiate): reverse the item list at the end rather than
9932 (layout_layout): re-code for the border text at the front of the
9933 item list rather than at the end.
9934 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
9935 provided by the user.
9936 (widget_query_geometry): comment.
9938 2000-03-30 Andy Piper <andy@xemacs.org>
9940 * glyphs-widget.c (image_instantiator_layout): allow standard
9941 widget keywords in layouts.
9943 * gutter.c (output_gutter): cope with nil gutter contents.
9945 * frame.c (Fset_frame_properties): add gutter docs.
9947 2000-03-29 Andy Piper <andy@xemacs.org>
9949 * toolbar-msw.c (TBSTYLE_FLAT): add.
9950 (mswindows_output_toolbar): minor fiddling.
9952 2000-03-29 Andy Piper <andy@xemacs.org>
9954 * gutter.c (output_gutter): force gutter size recalculation if
9955 what we are trying to display won't fit.
9956 (update_gutter_geometry): new function. A per-gutter version of
9957 update_frame_gutter_geometry.
9958 (update_frame_gutter_geometry): use it.
9959 (redraw_exposed_gutter): add extra debugging output.
9961 2000-03-28 Mike Alexander <mta@arbortext.com>
9963 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
9964 (pdump_file_unmap): Implement it on Windows
9965 (pdump_file_get): Save alocated handles for pdump_file_unmap
9967 2000-03-28 Andy Piper <andy@xemacs.org>
9969 * gui.c (get_gui_callback): treat Quit specially.
9971 2000-03-27 Andy Piper <andy@xemacs.org>
9973 * glyphs.c (image_instantiate): be careful to check in the same
9976 2000-03-27 Didier Verna <didier@xemacs.org>
9978 * config.h.in: define the proper SMART_INCLUDE macro.
9979 handle renaming of `foo_h_path' to `foo_h_file'.
9981 * database.c: ditto.
9985 * linuxplay.c: ditto.
9987 * terminfo.c: ditto.
9989 * tooltalk.h: ditto.
9991 2000-03-27 Andy Piper <andy@xemacs.org>
9993 * glyphs-msw.c (mswindows_update_widget): make sure the widget
9994 gets updated whenever the face might have changed.
9996 2000-03-26 Mike Alexander <mta@arbortext.com>
9998 * dumper.c (pdump_resource_free): Fix the comment.
10000 2000-03-21 Olivier Galibert <galibert@pobox.com>
10002 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
10004 2000-03-22 Mike Alexander <mta@arbortext.com>
10006 * dumper.c: Include Windows headers on Windows
10007 (pdump_resource_free): Add a body to the function
10008 (pdump_load): exe_name -> exe_path and add some comments.
10010 2000-03-25 Mike Alexander <mta@arbortext.com>
10012 * gui.c (copy_gui_item_tree): Return a value in all cases
10014 2000-03-21 Didier Verna <didier@xemacs.org>
10016 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
10018 (SMART_INCLUDE): new macro.
10019 (POSTGRES_INCLUDE): new macro to include postgresql headers from
10020 the proper location.
10022 * postgresql.c: use it.
10026 2000-03-24 Andy Piper <andy@xemacs.org>
10028 * gutter.c (redraw_exposed_gutters): must be "in display" when we
10031 2000-03-24 Andy Piper <andy@xemacs.org>
10033 * redisplay-output.c (compare_runes): use image_instance_changed
10034 to detect changes. Do not depend on glyphs_changed, only depend on
10036 (redisplay_output_layout): add debug messages.
10037 (compare_runes): ditto.
10039 * glyphs.h: declare new functions.
10040 (struct Lisp_Image_Instance): remove percent and associated
10043 * gui.h: declare new copying functions.
10045 * gui.c (copy_gui_item_tree): new function.
10046 (copy_gui_item): new function.
10047 (gui_item_id_hash): revert to standard hash.
10048 (gui_item_hash): ditto.
10049 (gui_item_hash_internal): deleted.
10050 (mark_gui_item): mark value.
10051 (gui_item_add_keyval_pair): add value.
10052 (gui_item_init): ditto.
10053 (gui_add_item_keywords_to_plist): ditto.
10054 (gui_item_equal): ditto.
10055 (syms_of_gui): add Q_value.
10057 * glyphs-x.c (x_progress_gauge_update): use pending items and
10058 value for setting the state.
10059 (x_update_widget): don't set items from pending here.
10061 * glyphs-widget.c (update_widget): update items here.
10062 (progress_gauge_set_property): use items for storing value. Put
10063 new value in pending items.
10065 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
10066 items for new value. Convert percent -> value.
10067 (mswindows_tab_control_update): don't update items here.
10069 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
10070 (update_subwindow): ditto.
10071 (image_instance_changed): new function. Compare hash values and
10072 past and present widget items.
10073 (image_instantiate): We more careful about where we instantiate
10075 (image_instantiate): add error checking.
10077 * gutter.c (syms_of_gutter): use -hook.
10079 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
10081 * console-tty.c (Fset_console_tty_input_coding_system): Use
10083 (Fset_console_tty_output_coding_system): Use Qterminal.
10084 (tty_init_console): Use Qkeyboard and Qterminal.
10086 2000-03-21 Ben Wing <ben@xemacs.org>
10088 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
10089 From Mike Alexander <mta@arbortext.com>.
10091 2000-03-21 Ben Wing <ben@xemacs.org>
10093 * event-msw.c (mswindows_need_event): Horrible kludge to fix
10094 process brokenness. Proper implementation to come.
10096 Rename call-process-internal to old-call-process-internal.
10097 New impl. in process.el.
10099 2000-03-21 Martin Buchholz <martin@xemacs.org>
10101 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
10103 2000-03-20 Andy Piper <andy@xemacs.org>
10105 * glyphs.c (full_list_hash): make hashes of the same elements in
10106 different orders return different values.
10108 2000-03-20 Martin Buchholz <martin@xemacs.org>
10110 * XEmacs 21.2.32 is released.
10112 2000-03-20 Martin Buchholz <martin@xemacs.org>
10114 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
10115 (DFC_MALLOC_USE_CONVERTED_DATA):
10116 Add aliasing-safe casts to allow use with char* or unsigned char*
10119 * eldap.c (Fldap_open):
10120 (Fldap_search_basic):
10123 Make C++-compilable.
10124 Make sure GCPRO'ed variables are initialized.
10125 Use temp variables to avoid repeated calls to Flength.
10127 2000-03-16 Martin Buchholz <martin@xemacs.org>
10130 Make sure PATH_MAX is always defined.
10131 Include limits.h for PATH_MAX.
10132 Deprecate use of MAXPATHLEN.
10134 2000-03-10 Martin Buchholz <martin@xemacs.org>
10136 * emacs.c: Add reinit_vars_of_fileio.
10137 * symsinit.h: Add reinit_vars_of_fileio.
10138 * fileio.c (reinit_vars_of_fileio): New.
10139 * fileio.c (Fmake_temp_name):
10140 Initialize temp_name random number from microseconds to make
10141 collisions even less likely. Initialize always at process startup
10142 time. (make-temp-name) used to return the same file name twice in
10144 Random stylistic fiddling.
10147 2000-03-20 Andy Piper <andy@xemacs.org>
10149 * glyphs.c (image_instantiate): allow text glyphs to be
10150 instantiated in the minibuffer window.
10152 2000-03-19 Andy Piper <andy@xemacs.org>
10154 * glyphs.c (image_instance_hash): be careful about which items we
10157 * glyphs-widget.c (tab_control_set_property): record into pending
10158 items rather than the actual items.
10160 * glyphs-x.c (x_update_widget): use pending items to update with.
10162 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10165 * glyphs.c (mark_image_instance): mark pending items.
10167 * window.c (Fset_window_configuration): record the buffer.
10168 (Fselect_window): totally revert previous change which breaks many
10171 2000-03-18 Andy Piper <andy@xemacs.org>
10173 * glyphs-msw.c (mswindows_tab_control_update): force selected
10176 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10177 window domain cache, otherwise we get inconsistencies at
10178 startup. There is something fishy at startup which can lead to the
10179 minibuffer being the selected window when the gutter content is
10182 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10184 (parse_gui_item_tree_children): ditto.
10185 (parse_gui_item_tree_item): ditto.
10187 * glyphs.c (Fupdate_widget_instances): return something.
10189 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10191 * window.c (Fselect_window): Undo 2000-03-17 change.
10193 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10195 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10196 against v7.0 libraries. Insta-coredump city until the postgres
10199 2000-03-17 Andy Piper <andy@xemacs.org>
10201 * faces.c (complex_vars_of_faces): don't give the widget face an
10202 inherited background pixmap.
10204 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10207 * event-stream.c (Fdispatch_non_command_events): return something.
10209 * gutter.c (output_gutter): use widget face.
10210 (clear_gutter): ditto.
10212 * NEWS: adjust again.
10214 * window.c (Fselect_window): make sure this runs to completion to
10215 avoid oddities with Fset_window_configuration.
10216 (Fcurrent_window_configuration): in general do not save the
10217 minibuffer as the selected window.
10219 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10221 2000-03-16 Olivier Galibert <galibert@pobox.com>
10223 * emacs.c (Frunning_temacs_p): Revert previous patch.
10224 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10226 2000-03-16 Andy Piper <andy@xemacs.org>
10228 * glyphs-x.c (x_tab_control_update): if no widget values then
10231 * NEWS: update for new features.
10233 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10234 synthetic event to the native system.
10235 (reinit_vars_of_event_Xt): set force_event_pending to
10236 emacs_Xt_force_event_pending.
10238 * events.h (struct event_stream): add force_event_pending.
10240 * specifier.c (recompute_one_cached_specifier_in_window): add
10243 * redisplay.c (redisplay_frame): don't call
10244 update_frame_subwindows. Reset subwindow cachels when
10245 subwindows_changed, removing this was an optimization too far.
10247 * redisplay-output.c (compare_runes): reorganize so that we catch
10248 glyph changes when we want them. Set optimize_output when this
10249 would help layouts.
10250 (redisplay_output_layout): remove frame_really_changed, use
10251 optimize_output instead.
10253 * redisplay-msw.c (mswindows_output_display_block): reset
10254 optimize_output after outputting a glyph.
10255 * redisplay-x.c (x_output_display_block): ditto.
10256 * redisplay-tty.c (tty_output_display_block): ditto.
10258 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10260 (gutter_specs_changed): do specific gutter positions.
10261 (top_gutter_specs_changed): new function. Only update the
10262 specified gutter specs.
10263 (bottom_gutter_specs_changed): ditto.
10264 (left_gutter_specs_changed): ditto.
10265 (right_gutter_specs_changed): ditto.
10267 * gui.c (gui_item_hash_internal): new function, does a real hash.
10268 (gui_item_id_hash): use it.
10269 (gui_item_hash): hash the eval'ed gui_item.
10271 * gui-x.c (popup_selection_callback): send an eval event to call
10272 Fupdate_widget_instances.
10274 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10275 to call Fupdate_widget_instances.
10277 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10278 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10280 * glyphs.c: (update_frame_subwindows): deleted.
10281 (Fupdate_widget_instances): new function for updating the dirty
10282 state of widgets that might have changed.
10283 (syms_of_glyphs): add Qupdate_widget_instances.
10284 (full_list_hash): hash a list completely.
10285 (image_instance_hash): use it for items and properties.
10287 * frame-msw.c (mswindows_size_frame_internal): remove unused
10290 * faces.h (struct face_cachel): fix comment.
10292 * event-stream.c (Fdispatch_non_command_events): new
10293 function. Process non-command events, forcing an event cycle
10295 (syms_of_event_stream): declare.
10296 (event_stream_force_event_pending): new function. Force an event
10297 on the native event queue so that an event cycle will occur next
10301 (struct ntpipe_shove_stream):
10302 (mswindows_enqueue_dispatch_event):
10303 (mswindows_dequeue_dispatch_event):
10304 (mswindows_cancel_dispatch_event):
10305 (mswindows_pump_outstanding_events):
10306 (mswindows_drain_windows_queue):
10307 (mswindows_handle_paint):
10308 (mswindows_wnd_proc):
10309 (mswindows_key_to_emacs_keysym):
10310 (get_process_input_waitable):
10311 (emacs_mswindows_delete_stream_pair): re-indent file.
10312 (mswindows_need_event): do not process further fds if the windows
10313 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10314 fixes the 100% cpu problem.
10315 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10317 2000-03-15 Olivier Galibert <galibert@pobox.com>
10323 * emacs.c: Moved dump file searching to dumper.c.
10324 (Frunning_temacs_p): Fixed.
10326 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10327 last_lrecord_type_index_assigned.
10329 2000-02-20 Olivier Galibert <galibert@pobox.com>
10331 * symsinit.h: Added reinit parameter to init_console_stream
10334 * lisp.h: Added file parameter to pdump_load declaration.
10336 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10337 support. Added dump file searching.
10339 * config.h.in: Added EMACS_PROGNAME.
10341 * console-stream.c (init_console_stream): Fix reinitialisation
10342 when running from temacs.
10344 * alloc.c (pdump): Add id support.
10345 (pdump_load): Add file parameter and signature/id support.
10347 * Makefile.in.in: Add full pdump support.
10349 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10351 * postgresql.c: Update documentation to reflect latest code
10353 (print_result): Show tuple counts in printed representation when
10355 (Fpq_put_nbytes): MULE-ize.
10356 (Fpq_get_line_async): Ditto.
10358 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10360 * postgresql.c (Fpq_lo_import): Fix return value.
10361 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10363 2000-03-13 Ben Wing <ben@xemacs.org>
10365 * alloc.c (pdump_load):
10366 Fix compile warning under mswin.
10368 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10370 * postgresql.c: Mule-ization, bug fixes.
10371 Use PG_CODING to encapsulate coding system name changes.
10372 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10373 (pg-coding-system): Create.
10375 (Fpq_conn_defaults): Mule-ize.
10376 (Fpq_connectdb): Mule-ize & bug fix.
10377 (Fpq_connect_start): Mule-ize.
10378 (Fpq_set_client_encoding): Mule-ize.
10379 (Fpq_finish): Document `DEAD' connection status.
10380 (Fpq_clear): Ditto.
10381 (Fpq_pgconn): Mule-ize.
10382 (Fpq_exec): Mule-ize & bug fix.
10383 (Fpq_send_query): Ditto.
10384 (Fpq_get_result): Ditto.
10385 (Fpq_res_status): Mule-ize.
10386 (Fpq_result_error_message): Mule-ize.
10387 (Fpq_ntuples): fix comments.
10388 (Fpq_fname): Mule-ize.
10389 (Fpq_fnumber): Mule-ize.
10390 (Fpq_ftype): fix comments.
10391 (Fpq_get_value): Mule-ize.
10392 (Fpq_cmd_status): Ditto.
10393 (Fpq_cmd_tuples): Ditto.
10394 (Fpq_oid_value): Ditto.
10395 (Fpq_notifies): Ditto.
10396 (Fpq_lo_import): Ditto.
10397 (Fpq_lo_export): Ditto.
10398 (Fpq_get_line): Ditto.
10399 (Fpq_put_line): Mule-ize and bug fix.
10400 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10402 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10404 * postgresql.c (vars_of_postgresql): Mule-ize.
10405 (Fpq_conn_defaults): Ditto.
10407 2000-03-12 Ben Wing <ben@xemacs.org>
10409 * alloc.c (Fmake_byte_code):
10410 * alloc.c (debug_string_purity_print):
10411 * alloc.c (pdump_backtrace):
10412 * alloc.c (pdump_get_indirect_count):
10413 * alloc.c (pdump_register_sub):
10414 * alloc.c (pdump_register_object):
10415 * alloc.c (pdump_register_struct):
10416 * alloc.c (pdump_dump_data):
10417 * alloc.c (pdump_reloc_one):
10421 * console-msw.c (GetConsoleHwnd):
10422 * console-msw.c (msw_hide_console):
10423 * console-msw.c (msw_show_console):
10424 * console-msw.c (msw_ensure_console_buffered):
10425 * console-msw.c (msw_output_console_string):
10426 * console-msw.c (console_type_create_mswindows):
10428 a) Added functions to manipulate the console window for use with
10431 b) Added support for writing text to the console, which is now
10432 used under Windows when xemacs is not being run non-interactively,
10433 to write text that would otherwise be destined for stdout because
10434 under these circumstances, text written to stdout tends to
10435 disappear and not be seen.
10439 * event-Xt.c (x_event_to_emacs_event):
10440 * event-Xt.c (describe_event_window):
10441 * events-mod.h (XEMACS_MOD_CONTROL):
10443 * events.c (Fmake_event):
10444 * events.c (character_to_event):
10445 * events.c (event_to_character):
10446 * events.c (format_event_object):
10447 * events.c (Fevent_modifiers):
10449 * events.h (struct key_data):
10450 * events.h (struct button_data):
10451 * events.h (struct misc_user_data):
10452 * frame-x.c (Fcde_start_drag_internal):
10453 * frame-x.c (Foffix_start_drag_internal):
10454 * gpmevent.c (Freceive_gpm_event):
10456 * keymap.c (bucky_sym_to_bucky_bit):
10457 * keymap.c (control_meta_superify):
10458 * keymap.c (make_key_description):
10459 * keymap.c (keymap_lookup_directly):
10460 * keymap.c (create_bucky_submap):
10461 * keymap.c (keymap_store):
10462 * keymap.c (define_key_check_and_coerce_keysym):
10463 * keymap.c (define_key_parser):
10464 * keymap.c (define_key_alternate_name):
10465 * keymap.c (Fdefine_key):
10466 * keymap.c (raw_lookup_key_mapper):
10467 * keymap.c (struct map_keymap_unsorted_closure):
10468 * keymap.c (map_keymap_unsorted_mapper):
10469 * keymap.c (map_keymap_sort_predicate):
10470 * keymap.c (map_keymap_sorted):
10471 * keymap.c (accessible_keymaps_mapper_1):
10472 * keymap.c (where_is_recursive_mapper):
10473 * keymap.c (describe_map_mapper):
10474 * keymap.c (describe_map_sort_predicate):
10475 * keymap.c (describe_map):
10476 * keymap.c (complex_vars_of_keymap):
10477 And a number of other files, the key modifier preprocessor
10478 constants that xemacs uses have names that conflict with constants
10479 defined under MS Windows for other purposes, so they were renamed
10480 to begin with the prefix XEMACS_. The variables that hold such
10481 modifiers were changed to consistently be of type int to fix
10482 various compile warnings.
10484 * console.c (complex_vars_of_console):
10487 * device-msw.c (mswindows_finish_init_device):
10488 * device-msw.c (msw_get_workspace_coords):
10489 * device-msw.c (mswindows_device_system_metrics):
10490 and various other files, added support for a new
10491 device property called offset-workspace which returns the position
10492 of the upper left corner of the workspace area and goes along with
10493 the existing size-workspace property.
10496 * dialog-msw.c (push_bufbyte_string_as_unicode):
10497 * dialog-msw.c (mswindows_popup_dialog_box):
10498 Added support for XEmacs-style accelerator specifications in
10499 button text. Note: I didn't add support for this under X Windows,
10500 and somebody needs to do this.
10503 * dialog.c (Fpopup_dialog_box):
10504 Documented the support for accelerators that was just mentioned.
10506 editfns.c (get_home_directory): Changed behavior under Windows
10507 when HOME not defined; former behavior was irretrievably broken.
10510 * emacs.c (main_1):
10512 * minibuf.c (clear_echo_area_internal):
10513 * minibuf.c (echo_area_append):
10515 * print.c (std_handle_out_external):
10516 * print.c (std_handle_out_va):
10518 * print.c (write_string_to_stdio_stream):
10519 * print.c (output_string):
10520 * print.c (debug_print):
10521 * print.c (debug_backtrace):
10522 * print.c (debug_short_backtrace):
10523 Cleaned up the code that prints text to stdout so that this can be
10524 changed to output into a console window instead under MS Windows,
10525 as described above.
10528 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10529 * eval.c (internal_catch):
10530 * eval.c (unwind_to_catch):
10531 * eval.c (throw_or_bomb_out):
10532 * eval.c (condition_case_1):
10533 * eval.c (signal_1):
10534 * eval.c (check_error_state_sanity):
10535 * eval.c (call_with_suspended_errors_1):
10536 * eval.c (call_with_suspended_errors):
10537 * eval.c (reinit_vars_of_eval):
10538 Added code to catch throw loops and check for a pesky bug that may
10542 * event-msw.c (key_needs_default_processing_p):
10543 * event-msw.c (mswindows_wnd_proc):
10544 * event-msw.c (mswindows_modifier_state):
10545 * event-msw.c (emacs_mswindows_quit_p):
10546 * event-msw.c (vars_of_event_mswindows):
10547 a) Added support for using the alt key to select menu items as is
10548 standard under MS Windows. This is controlled using the variable
10549 menu-accelerator-enabled, just like under X Windows. There is an
10550 option on the options menu to turn this support on. I really
10551 think that it should be on by default under Windows, but I'm not
10552 going to make this change yet.
10554 b) Added support for dynamic display size changes under Windows.
10557 * event-stream.c (maybe_echo_keys):
10558 * event-stream.c (Fnext_event):
10559 * event-stream.c (command_builder_find_leaf):
10560 * event-stream.c (lookup_command_event):
10561 * event-stream.c (execute_command_event):
10562 * event-stream.c (pre_command_hook):
10563 * event-stream.c (post_command_hook):
10564 * event-stream.c (syms_of_event_stream):
10565 * event-stream.c (vars_of_event_stream):
10566 * event-stream.c (complex_vars_of_event_stream):
10567 * events.h (struct command_builder):
10569 a) Tried to clean up a little bit the horribly written x-specific
10570 accelerator code that crept into this file. I moved this code
10571 into menubar-x.c where it belongs. I also needed to move the
10572 command builder structure into the file events.h because it is
10573 accessed directly by this accelerator code. What I didn't do, but
10574 which should be done at some point, is to properly abstract this
10575 code using device methods instead of the kludgy way that it
10576 currently hooks into the event code.
10578 b) Added the lisp variables this-command-properties and
10579 last-command- properties, which should be used to synchronize two
10580 adjacent commands in preference to playing games with the variable
10581 this-command, which is typically what happens.
10583 c) Added some slightly nasty code to hook into the lisp support
10584 for shifted- motion-key selection. This is actually necessary for
10585 somewhat complicated reasons, which are described in
10586 simple.el. (NB: I think the proper thing would be to have the code
10587 that calls the pre and post command hooks also call out to generic
10588 lisp functions in simple.el, where all built-in stuff could be
10589 added. I will think about this more.)
10591 * event-unixoid.c (poll_fds_for_input):
10592 * lread.c (readchar):
10593 * redisplay-tty.c (tty_clear_frame):
10594 * redisplay-x.c (x_get_gc):
10595 * signal.c (interrupt_signal):
10596 And a whole bunch of other files: fixed up places that printed
10597 directly to stderr to instead call the function stderr_out so that
10598 the changes I made under Windows work correctly.
10600 * filemode.c (mode_string):
10604 * frame-msw.c (mswindows_size_frame_internal):
10605 Fixed the computation of frame size and position to keep the frame
10606 within the workspace area, rather than within the physical
10607 dimensions of the screen, so that the frame doesn't overlap window
10608 manager decorations, such as the start menu and toolbar, typically
10609 at the bottom of the screen.
10611 * frame.c (vars_of_frame):
10612 Changed the default frame title format under MS Windows to consist
10613 of buffername-XEmacs, which is standard under MS Windows. I think
10614 it might be a good idea to change this everywhere because I think
10615 it is superior to the current frame title format, but this is the
10616 kind of change that is likely to cause some people to get annoyed,
10617 so I'm not making it.
10619 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10621 * gui-msw.c (mswindows_handle_gui_wm_command):
10622 Fixed compile warnings.
10625 * gui-x.c (strdup_and_add_accel):
10626 * gui-x.c (button_item_to_widget_value):
10628 Added code to automatically put an accelerator onto the beginning
10629 of menu items that don't have one as is now the standard, and is
10630 described more later. Also fixed things so that the menu item
10631 name can be an evaluated expression, again a new standard.
10634 * gui.c (gui_item_add_keyval_pair):
10635 * gui.c (make_gui_item_from_keywords_internal):
10636 * gui.c (gui_add_item_keywords_to_plist):
10637 * gui.c (gui_item_accelerator):
10638 * gui.c (gui_name_accelerator):
10639 * gui.c (gui_item_included_p):
10640 * gui.c (gui_item_display_flush_left):
10641 * gui.c (gui_item_display_flush_right):
10642 * gui.c (parse_gui_item_tree_item):
10643 * gui.c (parse_gui_item_tree_children):
10644 * gui.c (parse_gui_item_tree_list):
10645 Mule-ized. Cleanup. GCPRO addition.
10647 * line-number.c (buffer_line_number):
10649 * lisp.h (EMACS_INT_MAX):
10650 Added the manifest constant EMACS_INT_MIN corresponding to the
10651 existing constant EMACS_INT_MAX. This is partially to fix compile
10652 warnings under Windows, and partly for cleanliness.
10655 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10656 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10657 * menubar-msw.c (displayable_menu_item):
10658 * menubar-msw.c (populate_menu_add_item):
10659 * menubar-msw.c (populate_or_checksum_helper):
10660 * menubar-msw.c (populate_menu):
10661 * menubar-msw.c (update_frame_menubar_maybe):
10662 * menubar-msw.c (prune_menubar):
10663 * menubar-msw.c (msw_char_is_accelerator):
10664 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10665 * menubar-msw.c (mswindows_handle_wm_command):
10666 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10667 * menubar-msw.c (mswindows_handle_wm_initmenu):
10668 * menubar-msw.c (mswindows_update_frame_menubars):
10669 * menubar-msw.c (mswindows_free_frame_menubars):
10670 * menubar-msw.c (mswindows_popup_menu):
10671 Fixed a bug in handling accelerators where an extra character
10672 would be displayed in the menu item. Also generalized the
10673 function displayable_menu_item because it is now used by the
10674 dialog box code as well. And finally, added code in the functions
10675 that create the menubar to extract a list of accelerators for the
10676 top level menubar, which is used in the event code to determine
10677 whether a particular alt-key combination should be used to invoke
10678 a menu item, or should be passed through to access the standard
10679 XEmacs keymap binding for this key combination.
10681 Much needed GCPROing.
10684 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10685 * menubar-x.c (menu_item_descriptor_to_widget_value):
10686 * menubar-x.c (restore_in_menu_callback):
10687 * menubar-x.c (x_popup_menu):
10688 * menubar-x.c (menu_move_up):
10689 * menubar-x.c (menu_move_down):
10690 * menubar-x.c (menu_move_left):
10691 * menubar-x.c (menu_move_right):
10692 * menubar-x.c (menu_select_item):
10693 * menubar-x.c (command_builder_operate_menu_accelerator):
10694 * menubar-x.c (menu_accelerator_junk_on_error):
10695 * menubar-x.c (command_builder_find_menu_accelerator):
10696 * menubar-x.c (Faccelerate_menu):
10698 Moved a whole bunch of code here that was previously in
10699 event-stream.c as described above. There is also code connected
10700 to the new standard of adding an accelerator to the beginning of
10701 menu items that don't have one as described above and below.
10704 * menubar.c (menu_parse_submenu_keywords):
10705 * menubar.c (Fmenu_find_real_submenu):
10706 * menubar.c (Fnormalize_menu_item_name):
10707 * menubar.c (syms_of_menubar):
10708 * menubar.c (vars_of_menubar):
10709 * menubar.c (complex_vars_of_menubar):
10711 a) Cleaned up a bunch of documentation and improved it.
10713 b) XEmacs now automatically adds an accelerator onto the beginning
10714 of any menu items that don't have one. I did this because there
10715 will inevitably be some menu items on the main menubar that don't
10716 have accelerators on them because the package that adds that
10717 particular menu item hasn't yet been fixed up to have accelerators
10718 in them and it looked rather strange to have some items with and
10719 some items without accelerators, especially since even in items
10720 without accelerators, you can, at least under windows, still
10721 access the item through an accelerator corresponding to the first
10722 character in the item's name. If people don't like this behavior,
10723 I can add a variable to turn it off optionally, but I'm not sure
10724 this is a good idea because we really do need to have accelerators
10725 on all of the menu items, and if a package doesn't like the
10726 accelerators being put on the first character, then it should put
10727 the accelerators where they belong.
10729 c) I made a behavior change, which is that the descriptor that
10730 specifies the text of the menu item, which formerly was just a
10731 string, can now also be an evaluated expression. This makes this
10732 descriptor parallel with all of the others, which could also be
10733 evaluated expressions. This also obviates the need for the
10734 keyword :label, which was previously listed in the documentation
10735 as unimplemented, and which was for the same purpose.
10740 * ntproc.c (new_child):
10741 * ntproc.c (sys_spawnve):
10742 * ntproc.c (find_child_console):
10743 * ntproc.c (sys_kill):
10744 Fixed compile warnings. By the way, this file should really go
10745 away entirely, and this will happen as soon as Kirill makes his
10746 final round of process cleanups, which affect the function
10750 * process-nt.c (struct nt_process_data):
10751 * process-nt.c (find_process_from_pid):
10752 * process-nt.c (send_signal_the_nt_way):
10753 * process-nt.c (enable_child_signals):
10754 * process-nt.c (find_child_console):
10755 * process-nt.c (send_signal_the_95_way):
10756 * process-nt.c (nt_finalize_process_data):
10757 * process-nt.c (ensure_console_window_exists):
10758 * process-nt.c (nt_create_process):
10759 * process-nt.c (nt_kill_child_process):
10760 * process-nt.c (nt_kill_process_by_pid):
10761 * process-nt.c (nt_open_network_stream):
10762 * process-nt.c (vars_of_process_nt):
10763 Copied over code from Emacs 20.5 to correctly send signals to sub-
10764 processes under Windows 95. Also added code to automatically
10765 create and hide console window when a sub-process is created under
10766 Windows 95, which obviates the need for the separate runemacs.exe
10767 executable, and finally implemented some variables that were
10768 implemented in Emacs 20.5, but previously not in XEmacs. These
10769 include mswindows- start-process-share-console and
10770 mswindows-start-process-inherit-error-mode. (Both of these only
10771 apply to Windows 95.)
10773 * regex.c (regex_compile): Fixed a compile warning.
10776 * select-msw.c (mswindows_own_selection):
10777 * select-msw.c (mswindows_get_foreign_selection):
10778 * select-msw.c (mswindows_disown_selection):
10779 * select-msw.c (console_type_create_select_mswindows):
10780 * select-msw.c (syms_of_select_mswindows):
10781 Cleaned up the file and implemented the device method
10782 selection_exists_p, which had accidentally been left out. Also
10783 removed four lisp functions that were remnants from before the
10784 time when the selection code was properly device abstracted.
10785 These functions are no longer needed because there are generic
10786 equivalents, and because they were added recently and don't exist
10787 in FSF Emacs, I don't think there's any problem with just deleting
10791 * sysdep.c (sys_subshell):
10792 Fixed a compile warning, although in this case there's probably
10793 something wrong with this code, and it ought to be looked into
10794 more thoroughly by somebody who understands it.
10797 * window.c (Fwindow_text_area_height):
10798 * window.c (Fwindow_width):
10799 * window.c (Fwindow_full_width):
10800 * window.c (Fwindow_pixel_width):
10801 * window.c (debug_print_window):
10802 * window.c (syms_of_window):
10803 Added functions window-text-area-height and window-full-width,
10804 which are functions for returning various width and height
10805 characteristics of a window. (One of these functions is necessary
10806 for making the file dialog box work correctly, and the other one
10807 was added for completeness.) Also added a table to the
10808 documentation for window-height which describes the entire scheme
10809 for accessing width and height characteristics of a window.
10811 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10813 * nt.c (fstat): Added a comment for another problem with
10814 non-encapsulated [f]stat(), reported by Adrian Aichner
10815 <aichner@ecf.teradyne.com>.
10817 2000-03-11 Andy Piper <andy@xemacs.org>
10819 * window.c (make_dummy_parent): initialize subwindow instance
10821 (Fset_window_configuration): zero extent_modiff.
10823 2000-03-10 Andy Piper <andy@xemacs.org>
10825 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
10826 more changes can be triggered.
10827 (Fredisplay_frame): ditto.
10828 (Fredraw_device): ditto.
10829 (Fredisplay_device): ditto.
10830 (redisplay_frame): make non-static.
10831 (redisplay_frame): call update_frame_gutter_geometry outside of
10834 * gutter.h: declare update_frame_gutter_geometry.
10836 * redisplay.h: declare redisplay_frame.
10838 * gutter.c (update_frame_gutter_geometry): move geometry changes
10839 in update_frame_gutters here. Geometry changes can only occur
10840 outside of redisplay.
10841 (update_frame_gutters): remove geometry change code.
10842 (Fredisplay_gutter_area): make sure that we are in display when we
10843 update and that we have flushed any size changes.
10845 2000-03-11 Andy Piper <andy@xemacs.org>
10847 * alloc.c (pdump_dump_data): remove i & count shadows.
10849 2000-02-27 Mike Alexander <mta@arbortext.com>
10851 * sysdep.h: Declare pdump_read_file
10853 * sysdep.c (pdump_read_file): New function
10855 * alloc.c (pdump_load): Call pdump_read_file to get the portable
10858 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10860 * lrecord.h: add `lrecord_type_pgsetenv'.
10862 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
10864 * symsinit.h: declare (vars|syms)_of* functions.
10865 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
10867 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
10869 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
10871 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
10874 * emacs.c (main_1): Call postgres initialization code.
10876 * postgresql.h: New file. PostgreSQL RDBMS support.
10877 * postgresql.c: New file.
10879 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
10881 * redisplay-output.c (redisplay_output_display_block): Disable
10884 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10886 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
10887 (Fcanna_henkan_next): Ditto.
10888 (Fcanna_bunsetu_henkou): Ditto.
10889 (Fcanna_henkan_kakutei): Ditto.
10890 (Fcanna_henkan_end): Ditto.
10891 (Fcanna_henkan_quit): Ditto.
10892 (Fcanna_henkan_next): Set retun value correctly.
10893 (c2mu): Use unsigned char instead of signed char.
10895 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10897 * emacs.c (main_1): Always call syms_of_gui.
10898 * inline.c: include gui.h
10900 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10902 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
10903 converted to Lisp_Object.
10904 (Qtop_bottom): New variable.
10905 (syms_of_redisplay): Initialize it.
10906 * redisplay.h (Vvisible_bell): Ditto.
10907 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
10908 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
10909 only flash top and bottom.
10911 2000-03-08 Andy Piper <andy@xemacs.org>
10913 * buffer.c (Frename_buffer): record new buffer name the right way.
10915 2000-03-08 Andy Piper <andy@xemacs.org>
10917 * glyphs.c (update_subwindow): increase hash depth so that widget
10918 items get picked up properly.
10920 * redisplay-output.c (compare_runes): increase hash depth so that
10921 widget items get picked up properly.
10923 2000-03-08 Andy Piper <andy@xemacs.org>
10925 * gutter.c (output_gutter): add some debug.
10927 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
10928 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
10929 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
10931 * redisplay-output.c (compare_runes): use display_hash to
10932 determine if glyphs really are not the same.
10934 * glyphs.c (update_subwindow): check display_hash to see if
10935 anything really needs to be updated. If not then do
10936 nothing. Record the display_hash after updating.
10937 (image_instance_equal): compare the image_instance face also.
10939 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
10941 * redisplay.h: Fix comment style.
10943 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
10945 * consle-msw.h (struct mswindows_frame):
10946 Added new member paint_pending to indicate whether a WM_PAINT
10947 magic event has been queued for this frame.
10949 * event-msw.c (mswindows_drain_windows_queue):
10950 Don't queue a WM_PAINT magic event if one is already queued.
10951 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
10953 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
10955 2000-03-07 Didier Verna <didier@xemacs.org>
10957 * dired.c: #include `regex.h' after `sysfile.h'.
10959 2000-03-06 Martin Buchholz <martin@xemacs.org>
10961 * sound.c (init_nas_sound): Fix compiler warning.
10963 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
10965 (MARK_STRUCT_AS_FREE):
10966 (MARK_STRUCT_AS_NOT_FREE):
10967 Make `gcc -fstrict-aliasing' work properly.
10969 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
10971 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
10972 (mswindows_delete_device): Call CoUnnitialize().
10974 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
10976 2000-02-25 <CraigL@DyCon.com>
10978 * process-nt.c: MinGW now has <shellapi.h>, but still needs
10981 * sysdep.c: This extern declaration for environ prevents MinGW
10982 from finding the variable in CRTDLL.DLL.
10984 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
10986 (SHGFI_EXETYPE): ..
10987 (WM_MOUSEWHEEL): ..
10988 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
10990 (MMRESULT): Removed, now defined in cygwin's windows headers.
10992 (uid_t,gid_t,pid_t,ssize_t): ..
10993 (_timeb): Removed, MinGW defines both _timeb and timeb.
10994 (HAVE_H_ERRNO): Added.
10995 (HAVE_TZNAME): Added, configure is not detecting this.
10997 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
10999 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
11000 * syntax.c (syntax_match): Use it.
11002 * cmds.c: Import auto-fill-chars from FSF Emacs.
11003 (Vauto_fill_chars): New variables.
11004 (internal_self_insert): Check Vauto_fill_chars.
11006 Declare auto-fill-chars as a Lisp variable and initialize it.
11008 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11010 * fileio.c (Fmake_symbolic_link):
11012 Run handlers even if local machine doesn't have symlinks.
11014 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11016 * event-msw.c (mswindows_drain_windows_queue):
11017 Don't generate paint magic events for non-XEmacs frames.
11019 2000-03-05 Andy Piper <andy@xemacs.org>
11021 * redisplay.c (redisplay_frame): generate_displayable_area and
11022 friends assumes that we are not in GC, we therefore have to make
11023 sure that this doesn't happen.
11025 * gutter.c (calculate_gutter_size): generate_displayable_area
11026 assumes that we are not in GC, we therefore have to make sure that
11027 this doesn't happen.
11029 2000-03-05 Martin Buchholz <martin@xemacs.org>
11031 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
11033 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
11035 * redisplay.c (regenerate_window): Make sure we set a sane value
11036 for end_pos even if we jump out of the loop.
11037 (regenerate_window): Answer Ben's question :-).
11038 (start_end_of_last_line): Add may_error argument.
11039 (start_of_last_line):
11040 (end_of_last_line): Pass may_error = 0.
11041 (end_of_last_line_may_error): New function.
11042 (pixel_to_glyph_translation): Use it, so we don't crash in
11045 2000-03-04 Andy Piper <andy@xemacs.org>
11047 * window.h (struct window): add gutter_extent_modiff.
11049 * window.c (allocate_window): zero out gutter_extent_modiff.
11051 * redisplay.h: declare sync_display_line_structs.
11053 * redisplay.c (add_glyph_rune): add a better comment.
11055 * redisplay-output.c (sync_display_line_structs): made non-static.
11056 (compare_runes): remove unneccesary glyph cachel access.
11058 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
11060 * gutter.c (output_gutter): don't output the gutter if extent
11061 changes only involve extents in buffers. use 4 sets of display
11063 (gutter_extent_signal_changed_region_maybe): new function. Mark
11064 extents in gutters as changed.
11065 (update_frame_gutters): use 4 sets of display lines.
11066 (reset_gutter_display_lines): ditto.
11067 (free_frame_gutters): ditto.
11068 (redraw_exposed_gutter): force output of gutters.
11070 * frame.h (struct frame): add 4 sets of gutter display lines.
11072 * extents.c: (extent_changed_for_redisplay): signal changes to
11073 extents in strings in the gutter as well as extents in buffers.
11075 2000-03-02 Andy Piper <andy@xemacs.org>
11077 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
11079 * frame.c (Fmake_frame): make sure the gutters get initialized
11080 after the frame is visible.
11081 (set_frame_selected_window): re-arrange compilation macros a
11083 (change_frame_size_1): mark gutters changed.
11085 * device.c (Fset_device_class): mark gutters changed.
11087 2000-03-01 Andy Piper <andy@xemacs.org>
11089 * window.c (window_top_frame_gutter_height): deleted.
11090 (window_bottom_frame_gutter_height): ditto.
11091 (window_left_frame_gutter_height): ditto.
11092 (window_right_frame_gutter_height): ditto.
11093 (window_top_gutter_height): don't use them.
11094 (window_bottom_gutter_height): ditto.
11095 (window_left_gutter_width): ditto.
11096 (window_right_gutter_width): ditto.
11097 (Fsplit_window): ditto.
11098 (Fwindow_pixel_edges): don't use border dimensions here.
11100 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
11101 (update_scrollbar_instance): ditto.
11103 * redisplay.c (generate_modeline): don't take gutters into account.
11104 (generate_modeline): ditto.
11105 (redisplay_frame): small gutter display optimization.
11107 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
11109 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
11110 gutters into account.
11112 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
11113 for window position and type.
11115 * gutter.c (get_gutter_coords): fix for frame gutters.
11116 (update_frame_gutters): update frame geometry if the gutters have
11118 (init_frame_gutters): record current gutter geometries.
11120 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
11122 (mswindows_widget_instantiate): ditto.
11124 * frame.h (struct frame): add current_gutter_bounds.
11126 * frame.c (change_frame_size_1): position window and minibuffer
11127 appropriately taking into account the frame gutters.
11129 * frame-x.c: (x_initialize_frame_size): take into account the
11132 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11134 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11136 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11138 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11140 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11142 * file-coding.c (reset_decoding_stream): Clear previous
11143 detection state when autodetect.
11145 2000-02-29 Didier Verna <didier@xemacs.org>
11147 * extents.c (set_extent_glyph_1): don't require extents to be
11150 2000-02-27 Andy Piper <andy@xemacs.org>
11152 * gutter.c (Fset_default_gutter_position): don't default left and
11153 right gutter visibility to t.
11154 (Fset_default_gutter_position): run
11155 default-gutter-position-changed-hook.
11156 (syms_of_gutter): add default-gutter-position-changed-hook.
11158 2000-02-26 Andy Piper <andy@xemacs.org>
11160 * specifier.c (Fmake_specifier): add gutter references.
11162 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11164 * lisp.h: declare Fvalid_plist_p.
11166 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11168 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11169 well as its visibility so that it gets reconstructed.
11170 (construct_window_gutter_spec): new function. Construct a string
11171 to be displayed in the gutter from a plist of strings. Take care
11172 to only use elements that are declared as visible.
11173 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11175 (gutter_validate): allow plists of strings in the specifier.
11176 (gutter_specs_changed): construct the real_gutter from the gutter
11177 specs using construct_window_gutter_spec.
11178 (gutter_visible_validate): gutter-visible is a new specifier type.
11179 (Fgutter_visible_specifier_p): new function for the new specifier.
11180 (syms_of_gutter): declare gutter-visible and
11181 Fgutter_visible_specifier_p.
11182 (specifier_type_create_gutter): intitalize new gutter-visible
11184 (reinit_specifier_type_create_gutter): ditto.
11185 (specifier_vars_of_gutter): use new specifier type for gutter
11187 (init_frame_gutters): construct real_gutter correctly.
11188 (Fgutter_specifier_p): beef up documentation.
11189 (Fgutter_size_specifier_p): ditto.
11191 * winslots.h: add real_gutter slots.
11193 2000-02-25 Andy Piper <andy@xemacs.org>
11195 * device-msw.c: Be kind to older cygwin versions. From Raymond
11196 Toy <toy@rtp.ericsson.se>.
11198 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11199 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11201 2000-02-25 Martin Buchholz <martin@xemacs.org>
11203 * elhash.c (MARK_OBJ): Practice macro hygiene.
11205 2000-02-24 Martin Buchholz <martin@xemacs.org>
11207 * miscplay.c: s/__inline__/inline/g;
11208 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11209 (get_device_compdc): INLINE ==> static inline
11210 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11211 find -name '*.h' | \
11212 xargs global-replace \
11213 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11215 2000-02-25 Andy Piper <andy@xemacs.org>
11217 * window.c (window_top_frame_gutter_height): new function.
11218 (window_top_window_gutter_height): ditto.
11219 (window_top_gutter_height): use them.
11220 (window_bottom_frame_gutter_height): new function.
11221 (window_bottom_window_gutter_height): ditto.
11222 (window_bottom_gutter_height): use them.
11223 (window_left_window_gutter_width): new function.
11224 (window_left_frame_gutter_width): ditto.
11225 (window_left_gutter_width): use them.
11226 (window_right_window_gutter_width): new function.
11227 (window_right_frame_gutter_width): ditto.
11228 (window_right_gutter_width): use them.
11229 (window_pixel_height): new function. calulate window pixel height
11230 with frame gutter involvement.
11231 (Fsplit_window): calculate new sizes taking frame gutters into
11233 (window_char_height_to_pixel_height): don't include frame gutters.
11234 (window_char_height): use window_pixel_height.
11235 (window_pixheight): rename from window_pixel_height.
11236 (change_window_height): use it.
11237 (window_pixel_height_to_char_height): don't include frame gutters.
11238 (window_char_width_to_pixel_width): ditto.
11240 2000-02-25 Andy Piper <andy@xemacs.org>
11242 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11245 2000-02-24 Martin Buchholz <martin@xemacs.org>
11247 * alloc.c (staticpro):
11248 (staticpro_nodump):
11253 (compact_string_chars):
11254 (pdump_dump_wired):
11255 Convert: if (foo) abort(); ==> assert (! foo);
11257 * eldap.c (Fldap_search_basic):
11261 Fix compiler warnings, and possible crashes if (random) return
11262 value were to be used.
11264 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11266 * device-msw.c: Workaround ResetDC failure.
11268 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11269 applying a devmode.
11271 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11272 (mswindows_text_width): Do not start printer page.
11274 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11276 * glyphs-msw.c: Added image methods to msprinter console and
11277 msprinter-specific image instantiation.
11279 2000-02-20 Mike Alexander <mta@arbortext.com>
11281 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11282 to avoid crashes when selection-sets-clipboard is on
11283 (mswindows_own_selection): ditto
11285 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11288 * redisplay-msw.c (get_frame_dc):
11289 (get_frame_compdc):
11291 * device-msw.c (mswindows_init_device):
11292 (mswindows_delete_device):
11293 (msprinter_init_device):
11294 (msprinter_delete_device):
11295 * frame-msw.c (mswindows_init_frame_1):
11296 (mswindows_delete_frame):
11297 (msprinter_init_frame_3):
11298 (msprinter_delete_frame): Move compatible DC to device object from
11299 frame object, for both mswindows and msprinter. Only one at a time
11300 is needed, it is a real waste to have one per frame!
11302 2000-02-23 Andy Piper <andy@xemacs.org>
11304 * glyphs.c: add dynamic width and height elements.
11305 (image_instance_equal): ditto.
11307 * glyphs-widget.c (widget_query_geometry): calculate width and
11308 height dynamically if required.
11309 (initialize_widget_image_instance): initialize dynamic dimensions.
11310 (widget_instantiate): pick-up dynamic dimensions.
11312 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11313 dynamic determination. Add appropriate macros.
11315 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11317 (WINDOW_GUTTER_SIZE): ditto.
11318 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11320 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11322 (get_frame_dc): ditto.
11324 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11327 2000-02-23 Martin Buchholz <martin@xemacs.org>
11329 * XEmacs 21.2.31 is released.
11331 2000-02-22 Ben Wing <ben@xemacs.org>
11333 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11335 2000-02-22 Andy Piper <andy@xemacs.org>
11337 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11339 2000-02-21 Mike Sperber <mike@xemacs.org>
11343 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11346 2000-02-21 Mike Sperber <mike@xemacs.org>
11348 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11350 2000-02-21 Martin Buchholz <martin@xemacs.org>
11352 * XEmacs 21.2.30 is released.
11354 2000-02-20 Martin Buchholz <martin@xemacs.org>
11356 Performance hacking.
11358 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11359 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11360 * emacs.c (main_1):
11362 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11363 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11364 * symeval.h (DEFVAR_SYMVAL_FWD):
11365 * symbols.c (guts_of_unbound_marker):
11366 Make all c_readonly objects also lisp_readonly and marked for life.
11367 * lrecord.h (struct lrecord_implementation):
11368 Document flags better.
11369 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11370 * lrecord.h (DECLARE_LRECORD):
11371 * lrecord.h (XSETRECORD):
11372 * lrecord.h (RECORDP):
11373 * lrecord.h (RECORD_TYPEP):
11374 * lrecord.h (RECORD_MARKER): New.
11375 * lrecord.h (error_check_*):
11376 * lrecord.h (CONCHECK_NONRECORD):
11377 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11378 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11379 * lrecord.h (set_lheader_implementation):
11380 * lrecord.h (enum lrecord_type): New.
11381 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11382 * alloc.c (disksave_object_finalization_1):
11383 * alloc.c (mark_object):
11384 * alloc.c (lrecord_type_index):
11385 * alloc.c (tick_lcrecord_stats):
11386 * alloc.c (Fgarbage_collect):
11387 * alloc.c (init_alloc_once_early):
11388 * alloc.c (pdump_load):
11389 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11390 * alloc.c (lrecord_type_index): Delete.
11391 Make lisp object type indexes be constant.
11392 Makes (byte-compile) 5% faster.
11393 Put all marker functions into their own array.
11394 Makes (garbage-collect) 5% faster.
11395 Optimize SYMBOL_VALUE_MAGIC_P.
11396 Makes (byte-compile) 2-3% faster.
11397 * config.h.in (gc_checking_assert): New.
11398 * alloc.c: Use gc_checking_assert().
11399 * .dbxrc: Make compatible with new object type implementation.
11400 * .gdbinit: Make compatible with new object type implementation.
11401 * alloc.c: Delete all symbols defined only for debugging, such as
11402 Lisp_Type_Vector and lrecord_charset.
11404 2000-02-21 Andy Piper <andy@xemacs.org>
11406 * gui-msw.c (Fmswindows_shell_execute): fix file location
11409 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11410 unshowing so that set_window_buffer doesn't undo
11411 kill_buffer_hook's hard work.
11413 * glyphs-widget.c (tab_control_query_geometry): don't count the
11414 first item when calculating geometry.
11416 * glyphs.c (map_subwindow): remove redundant code.
11417 (update_frame_subwindows): be more circumspect about when to
11420 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11421 when items haven't changed. Update faces if faces have changed as
11422 well as just the widget face.
11423 (x_tab_control_update): Update faces if faces have changed as well
11424 as just the widget face.
11426 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11428 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11430 (build_syscolor_string): Use mswindows_color_to_string to try to
11432 (mswindows_device_system_metrics): Reverse the foreground and
11433 background colors so that they match the documentation.
11435 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11436 they match the default Windows palette.
11437 (mswindows_color_to_string): New function.
11439 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11441 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11443 2000-02-18 Olivier Galibert <galibert@pobox.com>
11445 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11446 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11448 * symbols.c (init_symbols_once_early): Removed obsolete
11449 DATA_SEG_BITS related kludge.
11450 (defvar_magic): Ditto.
11452 * malloc.c: Removed obsolete DATA_SEG_BITS
11454 * mem-limits.h: Ditto.
11456 * Makefile.in.in: Removed obsolete HAVE_SHM
11459 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11461 * device-msw.c (mswindows_delete_device): Free DDE string
11464 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11466 * keymap.c (get_keyelt):
11467 * unexnt.c (unexec):
11468 * vm-limit.c (memory_warnings):
11469 * ntheap.c (recreate_heap):
11470 * ntheap.h (UNINIT_PTR):
11471 * select-msw.c (Fmswindows_get_clipboard):
11472 (Fmswindows_set_clipboard):
11473 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11475 * menubar-msw.c (displayable_menu_item):
11477 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11478 * sysdep.c (sys_subshell):
11479 * process-nt.c (nt_create_process):
11480 * nt.c (normalize_filename):
11481 (dostounix_filename):
11482 (unixtodos_filename):
11483 * ntproc.c (win32_executable_type):
11484 * ntplay.c (play_sound_data_1):
11486 * editfns.c (get_home_directory):
11487 * event-msw.c (struct winsock_stream):
11488 (mswindows_dde_callback):
11489 * device-msw.c (msprinter_init_device):
11490 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11492 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11493 mswindows_clear_toolbar were swapped!
11495 * objects-msw.c:(colormap_t):
11497 * emacs.c (struct standard_args): Fixed const jumble.
11499 * glyphs-widget.c (update_widget): Fixed comparison notation.
11501 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11503 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11504 __declspec(noreturn) syntax.
11506 2000-02-19 Martin Buchholz <martin@xemacs.org>
11508 * eldap.c (Fldap_open):
11509 (Fldap_search_basic):
11512 Use new coding system conversion macros.
11514 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11516 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11518 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11520 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11521 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11523 * eldap.c (Qadd, Qreplace): New constant symbols
11524 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11525 interruptions by XEmacs signals
11526 Remove unnecessary calls to slow_down_interrupts and
11527 speed_up_interrupts
11528 (Fldap_search_basic): Renamed from Fldap_search_internal
11529 Added new optional parameter VERBOSE that triggers the
11530 display of progress messages
11531 Remove unnecessary calls to slow_down_interrupts and
11532 speed_up_interrupts
11533 LDAP result code analysis rewritten
11534 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11535 (syms_of_eldap): Define the new symbols and functions
11538 2000-02-17 Martin Buchholz <martin@xemacs.org>
11540 * realpath.c: Determine PATH_MAX maximally portably.
11542 * insdel.c (bytecount_to_charcount): Optimize.
11543 The function used to be optimized for entirely ASCII sequences.
11544 Now it is optimized for successive characters from the same
11545 charset. This also wins big for _mostly_ ASCII sequences.
11547 * fileio.c (Ffile_truename): convert return from realpath() using
11548 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11549 - Rewrite GCPROing slightly.
11551 * sysdep.c (sys_open): Do filename conversion, like all other
11552 sys_* functions. Fixes bug:
11553 (let ((file-name-coding-system 'iso-8859-2))
11554 (write-region x y latin2-name))
11555 ==> writes filename using internal encoding.
11557 2000-02-18 Martin Buchholz <martin@xemacs.org>
11559 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11560 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11561 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11562 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11563 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11564 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11565 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11566 (CONST_IF_NOT_DEBUG): Delete.
11567 * alloc.c (this_one_is_unmarkable): Delete.
11568 (mark_object): Don't check for this_one_is_unmarkable. Use the
11569 c_readonly flag instead.
11570 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11572 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11574 * event-msw.c (mswindows_drain_windows_queue):
11575 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11576 away redundant repaint events.
11578 2000-02-17 Andy Piper <andy@xemacs.org>
11580 * redisplay.h: declare mark_redisplay_structs.
11582 * redisplay.c (redisplay_window):
11583 (redisplay_frame): don't check subwindows_state_changed.
11584 (mark_redisplay): mark gutters here.
11586 * glyphs.c: (instantiate_image_instantiator): always layout if we
11587 haven't done so already.
11588 (allocate_image_instance): don't mark as dirty.
11589 (update_subwindow): bind inhibit_quit.
11591 * gutter.c (mark_gutters): new function.
11593 * glyphs-x.c (x_update_widget): Always resize to get round a
11596 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11597 breaking absolutely everything.
11599 * gutter.h: declare mark_gutters.
11601 2000-02-16 Martin Buchholz <martin@xemacs.org>
11603 * XEmacs 21.2.29 is released.
11605 2000-02-15 Olivier Galibert <galibert@pobox.com>
11607 * fns.c (size_bit_vector): Fix computation of the size.
11609 2000-02-15 Martin Buchholz <martin@xemacs.org>
11611 * *.[ch]: Change CONST to const globally.
11612 find -name '*.[ch]' | \
11613 xargs global-replace \
11614 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11615 - Remove vestigial references to CONST_IS_LOSING
11617 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11619 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11620 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11621 events instead of dispatching them directly.
11622 (mswindows_handle_paint): New function to do repainting.
11623 (mswindows_wnd_proc):
11624 (emacs_mswindows_handle_magic_event): Call above function.
11626 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11628 * objects-msw.c (mswindows_create_font_variant): Return the new
11630 (initialize_font_instance): Get font metrics from the underlined
11631 variant of the font to cope with the case where the underlined
11632 font has a bigger descent.
11634 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11636 * gui.c (gui_item_accelerator): Return the first underlined
11637 character in item name.
11639 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11641 * lisp.h: Added Qprinter.
11643 * general.c (syms_of_general): Initialized it.
11645 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11647 (get_frame_compdc): Made inline.
11649 * console.h (struct console_methods): Added eject_page method.
11651 * frame.h: Added FRAME_DISPLAY_P and friends.
11652 Aligned backslahes in many macros in more readable fashion.
11653 Added page_number to struct frame, and an accessor macro
11656 * defice.h: Added DEVICE_DISPLAY_P and friends.
11658 * device.c (Fdevice_printer_p): Used these.
11660 * frame.c (allocate_frame_core): Initialize page number.
11661 (Fprint_job_page_number):
11662 (Fprint_job_eject_page): Implemented.
11664 * frame-msw.c (msprinter_eject_page): Added method.
11665 (msprinter_start_page): Added.
11667 * window.c (Fwindow_truncated_p): Fixed docstring.
11668 (Fwindow_last_line_visible_height): Implemented.
11670 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11672 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11674 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11676 * syntax.c (scan_words): Always advance at least one character.
11678 2000-02-13 Andy Piper <andy@xemacs.org>
11680 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11681 to make sure the glyph is in the cachels.
11683 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11684 global image instance flag.
11685 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11686 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11688 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11689 (Fset_image_instance_property): mark layout as changed.
11690 (invalidate_glyph_geometry_maybe): mark layout as changed.
11691 (glyph_width): use new NEEDS_LAYOUT macro.
11692 (glyph_ascent): ditto.
11693 (glyph_descent): ditto.
11694 (glyph_height): ditto.
11695 (image_instance_layout): mark layout as clean after laying out.
11696 (update_subwindow): don't mark layout as clean here.
11698 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11699 should no longer be needed.
11701 * glyphs-x.c (x_update_widget): sanitize asserts.
11702 (x_finalize_image_instance): sanitize assignment to widgets.
11704 * glyphs-widget.c (widget_instantiate): don't need to clear the
11707 2000-02-13 Martin Buchholz <martin@xemacs.org>
11709 * sysdep.c (getcwd): Use standard prototype.
11710 * sysdep.h (getcwd): Use standard prototype.
11712 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
11713 (sequence, start, end).
11714 Remove redundant type checking.
11715 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
11716 view of `caller-protects') to avoid a crash where the real fix was
11719 2000-02-12 Martin Buchholz <martin@xemacs.org>
11721 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
11723 * s/sol2.h: Remove feature macro initialization.
11725 * alloc.c (alloc_lcrecord): Add more type checking assertions.
11726 (vector_hash): New. Code from internal_hash.
11728 Fix up allocation subsystem comments.
11730 * config.h.in: Add __EXTENSIONS__ for Solaris.
11732 * systime.h (EMACS_GETTIMEOFDAY): New.
11733 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
11734 Remove Solaris-specific code.
11735 Use void* for the (ignored) second arg for gettimeofday().
11737 * elhash.c (hash_table_hash): Implement it, finally.
11738 * elhash.c: Use hashcode_t.
11740 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
11741 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
11743 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
11744 * fns.c (size_bit_vector):
11745 * alloc.c (size_vector):
11746 (make_vector_internal):
11747 (make_bit_vector_internal):
11748 (sweep_bit_vectors_1):
11749 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
11751 2000-02-10 Martin Buchholz <martin@xemacs.org>
11753 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
11754 Include strings.h to avoid warnings for bzero and strcasecmp.
11756 2000-02-10 Olivier Galibert <galibert@pobox.com>
11758 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
11759 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
11761 * fns.c (size_bit_vector): New. Declare bit vectors as a
11764 2000-02-10 Olivier Galibert <galibert@pobox.com>
11766 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
11767 use a value field instead.
11768 (symbol_value_forward_forward): Use value field.
11769 (DEFVAR_SYMVAL_FWD): Use value field.
11770 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
11771 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
11772 (DEFVAR_CONST_INT): Ditto.
11773 (DEFVAR_BOOL): Ditto.
11774 (DEFVAR_CONST_BOOL): Ditto.
11775 (DEFVAR_INT_MAGIC): Ditto.
11776 (DEFVAR_BOOL_MAGIC): Ditto.
11778 * symbols.c (guts_of_unbound_marker): Use value field.
11779 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
11780 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
11782 * lisp.h: Declare dumpopaque and noninteractive1.
11784 * alloc.c (dumpopaque): Added.
11785 (pdump_dump_opaquevec): Added.
11786 (pdump): Call pdump_dump_opaquevec to dump opaque data.
11787 (pdump_load): Reload opaque data. Sync noninteractive1 with
11790 2000-02-10 Andy Piper <andy@xemacs.org>
11792 * glyphs.c (image_instance_layout): if the size changes, mark it
11795 * redisplay-output.c (redisplay_output_layout): Update the
11797 (redisplay_output_subwindow): ditto.
11799 * glyphs.c (update_subwindow): make sure we reset flags for
11800 layouts as well as everything else.
11802 * glyphs-widget.c (layout_layout): don't need to set the instances
11805 2000-02-09 Martin Buchholz <martin@xemacs.org>
11807 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
11808 not HAVE_DLOPEN, which is a lower-level thing.
11810 * .cvsignore: Ignore gmon.out
11812 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
11814 * .cvsignore: Ignore portable dumper xemacs.dmp file
11816 2000-02-09 Andy Piper <andy@xemacs.org>
11818 * redisplay-output.c (redisplay_output_layout): be more clever
11819 about when we output based on the changed flags.
11821 * glyphs.h (struct image_instantiator_methods): add update_method.
11822 (struct Lisp_Image_Instance): add changed flags. Declare new
11823 macros for manipulating them.
11825 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
11826 (image_instance_parent_glyph): find an image_instance's parent
11827 glyph or image_instance.
11828 (image_instance_layout): mark the size as changed.
11829 (set_image_instance_dirty_p): new function. mark an image
11830 instance, plus all of its parents, as dirty.
11831 (Fset_image_instance_property): use it.
11832 (Fglyph_animated_timeout_handler): use it.
11833 (update_subwindow): call update_widget and device methods for
11834 update_subwindow. Mark all changed flags as clean.
11835 (Fresize_subwindow): mark size as changed.
11837 * glyphs-x.c (x_finalize_image_instance): try and detect gc
11839 (x_update_subwindow): only resize subwindows here.
11840 (x_update_widget): new function. Update all changed properties of
11842 (x_resize_subwindow): deleted.
11843 (x_widget_set_property): deleted.
11844 (x_progress_gauge_set_property): deleted.
11845 (x_progress_gauge_update): new function. Implement recorded
11847 (x_tab_control_update): ditto.
11848 (x_tab_control_set_property): deleted.
11849 (console_type_create_glyphs_x): declare new functions.
11850 (image_instantiator_format_create_glyphs_x): ditto.
11852 * glyphs-widget.c (widget_set_property): mark text changed.
11853 (update_widget): new function. Update properties of a widget.
11854 (widget_instantiate): for layouts make sure we set their
11855 children's parent correctly.
11856 (tab_control_set_property): new function. Record changes that will
11857 take place under redisplay's control.
11858 (progress_gauge_set_property): ditto.
11859 (image_instantiator_progress_guage): declare new functions.
11860 (image_instantiator_tab_control): ditto.
11862 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
11864 (mswindows_update_widget): new function. Update all properties on
11865 a widget that have changed.
11866 (mswindows_button_update): new function. Update a button's set
11868 (mswindows_tab_control_update): new function. Update the items in
11870 (mswindows_tab_control_set_property): deleted.
11871 (mswindows_progress_gauge_update): new function. Update the
11872 progress gauge's progress.
11873 (mswindows_widget_set_property): deleted. This is all done
11874 asynchronously now.
11875 (mswindows_progress_gauge_set_property): ditto.
11876 (console_type_create_glyphs_mswindows): declare new methods.
11877 (image_instantiator_format_create_glyphs_mswindows): ditto.
11879 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
11880 (msprinter_set_frame_properties): ditto.
11882 * console.h (struct console_methods): Add update_widget_method.
11884 2000-02-09 Andy Piper <andy@xemacs.org>
11886 * gui-msw.c (Fmswindows_shell_execute): Make
11887 mswindows-shell-execute industrial strength.
11889 2000-02-08 Martin Buchholz <martin@xemacs.org>
11891 * lrecord.h: Make macro argument `props' match member function `plist'.
11894 * fns.c (Fremprop):
11895 * fns.c (Fobject_plist):
11898 Object property list frobbing cleanup.
11899 - Allow any lisp object (compared with `eq'), not just symbols, as
11900 keys in object plists.
11901 - Move symbol plist frobbing into symbols.c, where it belongs.
11902 - Move string plist frobbing into alloc.c, where it belongs.
11903 - Everything's an lrecord now, so no need to test for symbolp, etc.
11904 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
11906 * extents.c: Reorder code to remove declarations.
11908 * frame.h (store_in_alist): Remove useless declaration.
11910 2000-02-07 Martin Buchholz <martin@xemacs.org>
11912 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
11913 * config.h.in: Add HAVE_XCONVERTCASE.
11915 2000-02-07 Andy Piper <andy@xemacs.org>
11917 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
11918 it breaks many things.
11920 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11922 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
11923 actually can start a common comment type.
11924 * src/syntax.h (SYNTAX_END_P): ditto for end.
11926 2000-02-07 Martin Buchholz <martin@xemacs.org>
11928 * XEmacs 21.2.28 is released.
11930 2000-02-06 Martin Buchholz <martin@xemacs.org>
11932 * event-Xt.c (x_keysym_to_character): New.
11933 (maybe_define_x_key_as_self_inserting_character): New.
11934 (x_has_keysym): New.
11935 Auto-define all keys on the keyboard as self-insert-key.
11937 2000-02-02 Martin Buchholz <martin@xemacs.org>
11939 * menubar.c (vars_of_menubar): A small code simplification.
11941 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
11944 * ExternalClient.c:
11945 * EmacsShell-sub.c:
11948 Use consistent style for specifying X resources.
11950 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
11951 This makes (dontusethis-set-symbol-value-handler) actually usable.
11953 * lrecord.h (lrecord_decription_type):
11954 * alloc.c (pdump_register_sub):
11957 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
11958 Comply with XEmacs coding style.
11959 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
11960 args, and XD_LISP_OBJECT_ARRAY with 3 args.
11962 * keymap.c (Faccessible_keymaps):
11963 Make (accessible-keymaps map "\C-h") do the Right Thing.
11964 Make (accessible-keymaps map []) do the Right Thing.
11965 Make (accessible-keymaps map "") do the Right Thing.
11966 (check_keymap_definition_loop): New function.
11967 (keymap_store_internal): Keep luser from shooting self in foot,
11968 via (define-key ctl-x-4-map "p" global-map).
11969 Remove fullness slot from struct Lisp_Keymap, since hash tables
11971 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
11973 2000-01-30 Martin Buchholz <martin@xemacs.org>
11975 * redisplay.c (init_redisplay): Fix small memory leak.
11977 * elhash.c (pdump_reorganize_hash_table):
11978 Rename from reorganize_hash_table. Change prototype.
11979 Reuse the original memory for hentries. Save 100k.
11980 * alloc.c (PDUMP_READ): new macro.
11981 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
11982 * alloc.c: No need to #ifndef before #undef.
11984 * print.c: Allow debug_print() to print readably by modifying
11985 debug_print_readably. Use consistent variable names.
11987 * .dbxrc: Try to get things to work even if stopped in a function
11988 without source available by explicitly specifying source files.
11989 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11991 * unexnt.c (_start): Removed bogus code which caused loading heap
11992 from differrent executable file.
11993 Removed bogus assignment to _fmode, which caused inconsistencies.
11995 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11997 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
11998 Have spawnve encapsulation regard DONT_ENCAPSULATE.
11999 Do not preliminary `#define signal sigset'.
12001 * systime.h: Do not prototype environ on windows nt and cygwin,
12002 this conflicts with system header.
12004 * syssignal.h: Use correct define for WINDOWSNT
12006 * sysdep.h: Do not prototype environ on windows nt, this conflicts
12007 with system header.
12009 * sysdep.c (near start of file): Fixed commentary and rearranged
12010 ifdefs in readable order.
12011 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
12014 (end_of_data): Do not compile in if using PDUMP.
12016 * symsinit.h: Prototyped vars_of_nt().
12018 * ntproc.c (windows9x_p): Added, instead of os_subtype.
12019 (find_child_console): Use it.
12020 (sys_kill): Use it.
12022 * ntheap.h: Do not extern os_subtype.
12024 * ntheap.c (cache_system_info): Do not cache unneeded:
12025 nt_major_version, nt_minor_version and os_subtype.
12026 (recreate_heap): Do not compile in when PDUMPing.
12028 * nt.c (geteuid and friends): Use the new varibale
12029 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
12030 (init_user_info): Removed the above mentioned hackery.
12031 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
12032 stat has been fixed in the C runtime.
12033 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
12035 * file-coding.c (struct file_coding_dump): Do not define
12036 ucs_to_mule_table in the struct if not MULE.
12037 (struct struct lrecord_description fcd_description_1): Do not dump
12040 * emacs.c (main_1): Call vars_of_nt().
12041 (right before Fdump_emacs_data): Don't need lastfile if using both
12042 portabe dumper and system malloc.
12044 * alloc.c (Fmemory_limit): Conditionalized out.
12045 (pdump): Use OPEN_BINARY for the portable dump file.
12046 (pdump_load): Ditto.
12048 2000-02-02 Mike Alexander <mta@arbortext.com>
12050 * nt.c (convert_time): Set tm_isdst before calling mktime and
12051 avoid calling it at all if the compiler supports 64 bit integers.
12052 Also initialize utc_base_ft before using it.
12054 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
12056 * frame.c (change_frame_size_1): Take f->internal_border_width
12057 into consideration when calculating the width of the frame.
12059 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12061 * window.c (frame_min_height):
12062 (frame_size_valid_p):
12063 (frame_pixsize_valid_p): Added.
12064 (check_frame_size): Generalized.
12066 * window.h: Prototyped the above.
12069 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
12070 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
12071 Deleted Vwin32_* and Vbinary_process_* unused variables.
12073 * device-msw.c (msprinter_init_device): Do not get printer font
12074 list; Added DEVMODE functions.
12076 * frame-msw.c: Added lots of printer code.
12078 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
12081 * console-msw.h: Added more msprinter device private slots.
12083 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12085 * event-msw.c (key_needs_default_processing_p): Added.
12086 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
12088 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12090 * glyphs.c (image_instance_layout): Mark image instance as clean
12092 (glyph_dirty_p): Removed redundant function.
12093 (invalidate_glyph_geometry_maybe): Added.
12094 (update_glyph_cachel_data): Call it.
12096 * glyphs.h: Prototyped it.
12098 * redisplay.c (add_glyph_rune): Call it.
12099 (redisplay_window): Reset glyphs cachels when frame faces have
12100 changed, thus forcing recomputation of built-in border glyphs.
12102 2000-01-30 Martin Buchholz <martin@xemacs.org>
12104 * Makefile.in.in: Make portable dumper and purify play well together.
12105 Add imperfect, but better than nothing, support for pdump.
12106 Remove xemacs.dmp when temacs is re-generated.
12107 Don't ignore errors when dumping xemacs.
12109 * symbols.c (maybe_call_magic_handler): Remove one magic number.
12111 2000-01-28 Andy Piper <andy@xemacs.org>
12113 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
12114 (setup_normal_frame): ditto.
12115 (setup_frame_without_minibuffer): ditto.
12116 (setup_minibuffer_frame): ditto.
12117 (delete_frame_internal): ditto.
12118 (Fmake_frame_invisible): ditto.
12119 (Ficonify_frame): ditto.
12121 * window.h: change Fset_window_buffer signature.
12123 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12124 (Fset_window_buffer): allow recording of buffer if the window is
12125 the selected window.
12126 (window_loop): Use new Fset_window signature.
12128 2000-01-23 Daniel Pittman <daniel@danann.net>
12130 * config.h.in: Added template for `HAVE_ATHENA_3D'
12132 2000-01-29 Andy Piper <andy@xemacs.org>
12134 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12136 * gutter.c (output_gutter): Don't output if the window isn't live.
12138 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12140 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12141 of 01/12/00: Moved SetFocus back here where it belongs.
12143 2000-01-23 Andy Piper <andy@xemacs.org>
12145 * s/cygwin32.h: declare printer things.
12147 2000-01-26 Andy Piper <andy@xemacs.org>
12149 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12152 2000-01-24 Andy Piper <andy@xemacs.org>
12154 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12155 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12157 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12159 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12161 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12163 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12164 (mswindows_output_display_block): Avoid local shadows.
12166 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12167 (mswindows_enqueue_mouse_button_event): ditto.
12168 (mswindows_handle_gui_wm_command): remove declaration.
12170 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12173 * console-msw.h: Avoid shadows.
12174 (mswindows_get_toolbar_button_text):
12175 (emacs_mswindows_create_stream_pair):
12176 (emacs_mswindows_delete_stream_pair):
12177 (mswindows_handle_toolbar_wm_command): declare.
12179 * device-msw.c (build_syscolor_string): Avoid shadows.
12181 2000-01-23 Andy Piper <andy@xemacs.org>
12183 * glyphs-widget.c (widget_instantiate): reverse the items for
12184 layouts so that children are in the expected order.
12186 2000-01-28 Martin Buchholz <martin@xemacs.org>
12188 * ralloc.c: safe_bcopy ==> memmove
12189 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12190 * s/msdos.h: Remove BCOPY macros.
12191 * insdel.c (gap_right): Remove BCOPY conditional code.
12192 * insdel.c (gap_left): Remove BCOPY conditional code.
12193 XEmacs demands a working ANSI C compiler - hence memmove.
12195 * regex.c (regex_compile): Remove accidental use of trigraphs.
12197 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12199 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12202 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12204 * event-msw.c (mswindows_drain_windows_queue): Added the
12206 (mswindows_need_event): Commented the call to
12207 mswindows_drain_windows_queue().
12208 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12211 * console-msw.h: Moved a few function prototypes here from
12214 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12215 parameter from unsigned short to unsigned long.
12216 (Fmswindows_shell_execute): Added return value.
12218 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12220 * sysdep.c (init_system_name):
12221 process-unix.c (unix_canonicalized_host_name):
12222 Don't call freeaddrinfo() if getaddrinfo() fails.
12224 * process-unix.c (unix_open_unix_network_stream):
12225 Moved the code to get a port # into address loop.
12227 2000-01-27 Martin Buchholz <martin@xemacs.org>
12229 * buffer.c (reinit_vars_of_buffer):
12230 The right place to initialize conversion_in_dynarr and
12231 conversion_out_dynarr.
12233 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12235 * process-unix.c (unix_canonicalize_host_name): Muleize.
12236 (unix_open_network_stream): Muleize.
12238 * buffer.h: Fix up prototypes for ralloc.c functions.
12240 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12241 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12242 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12243 instead of gethostbyname()
12244 * process-unix.c: In unix_canonicalize_host_name() and
12245 unix_open_network_stream(), add code to use getaddrinfo()
12246 instead of gethostbyname().
12248 2000-01-27 Daniel Pittman <daniel@danann.net>
12250 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12251 libs when built with flat Athena.
12253 2000-01-27 Martin Buchholz <martin@xemacs.org>
12255 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12256 Use coding standards for function prototypes.
12258 2000-01-25 Martin Buchholz <martin@xemacs.org>
12260 * dialog-msw.c (push_lisp_string_as_unicode):
12261 * doc.c (unparesseuxify_doc_string):
12262 * dired.c (Fuser_name_completion_1):
12263 * dired.c (Fuser_name_all_completions):
12264 * dired.c (free_user_cache):
12265 * dired.c (user_name_completion):
12266 * console-x.c (get_display_arg_connection):
12267 * minibuf.c (clear_echo_area_internal):
12268 * minibuf.c (echo_area_append):
12269 * eldap.c (Fldap_open):
12270 * eldap.c (Fldap_search_internal):
12271 * frame-x.c (x_set_frame_text_value):
12272 * frame-x.c (x_set_frame_properties):
12273 * frame-x.c (x_create_widgets):
12274 * redisplay-tty.c (term_get_fkeys_1):
12275 * objects-x.c (x_parse_nearest_color):
12276 * objects-x.c (x_valid_color_name_p):
12277 * objects-x.c (x_initialize_font_instance):
12278 * objects-x.c (x_list_fonts):
12279 * objects-x.c (x_find_charset_font):
12280 * tooltalk.c (Fadd_tooltalk_message_arg):
12281 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12282 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12283 * process-unix.c (unix_create_process):
12284 * ntproc.c (sys_spawnve):
12285 * sound.c (Fplay_sound_file):
12286 * sound.c (Fplay_sound):
12287 * buffer.c (init_initial_directory):
12288 * buffer.c (init_buffer):
12289 * editfns.c (init_editfns):
12290 * editfns.c (Ftemp_directory):
12291 * editfns.c (Fuser_full_name):
12292 * editfns.c (uncache_home_directory):
12293 * editfns.c (get_home_directory):
12294 * editfns.c (Fuser_home_directory):
12295 * editfns.c (Fformat_time_string):
12296 * editfns.c (Fcurrent_time_string):
12297 * gui-x.c (button_item_to_widget_value):
12298 * database.c (Fopen_database):
12299 * event-Xt.c (x_to_emacs_keysym):
12300 * event-Xt.c (x_event_to_emacs_event):
12301 * event-Xt.c (describe_event_window):
12302 * event-msw.c (mswindows_wnd_proc):
12303 * glyphs-eimage.c (jpeg_instantiate):
12304 * glyphs-eimage.c (gif_instantiate):
12305 * glyphs-eimage.c (png_instantiate):
12306 * glyphs-eimage.c (tiff_instantiate):
12307 * glyphs-x.c (xbm_instantiate_1):
12308 * glyphs-x.c (x_xbm_instantiate):
12309 * glyphs-x.c (x_xface_instantiate):
12310 * glyphs-x.c (autodetect_instantiate):
12311 * glyphs-x.c (cursor_font_instantiate):
12312 * glyphs-x.c (x_widget_instantiate):
12313 * glyphs-x.c (x_widget_set_property):
12314 * glyphs-x.c (x_widget_property):
12315 * glyphs-x.c (BUILD_GLYPH_INST):
12316 * print.c (write_string_to_stdio_stream):
12317 * print.c (output_string):
12318 * print.c (Falternate_debugging_output):
12319 * print.c (Fexternal_debugging_output):
12320 * glyphs-msw.c (extract_xpm_color_names):
12321 * glyphs-msw.c (mswindows_xpm_instantiate):
12322 * glyphs-msw.c (bmp_instantiate):
12323 * glyphs-msw.c (resource_name_to_resource):
12324 * glyphs-msw.c (mswindows_resource_instantiate):
12325 * glyphs-msw.c (xbm_instantiate_1):
12326 * glyphs-msw.c (mswindows_xbm_instantiate):
12327 * glyphs-msw.c (mswindows_xface_instantiate):
12328 * glyphs-msw.c (mswindows_widget_instantiate):
12329 * glyphs-msw.c (add_tree_item):
12330 * glyphs-msw.c (add_tab_item):
12331 * glyphs-msw.c (mswindows_combo_box_instantiate):
12332 * glyphs-msw.c (mswindows_widget_property):
12333 * glyphs-msw.c (mswindows_combo_box_property):
12334 * glyphs-msw.c (mswindows_widget_set_property):
12335 * console.c (stuff_buffered_input):
12336 * objects-msw.c (mswindows_initialize_color_instance):
12337 * objects-msw.c (mswindows_valid_color_name_p):
12338 * objects-msw.c (mswindows_list_fonts):
12339 * objects-msw.c (mswindows_font_instance_truename):
12340 * bytecode.c (optimize_compiled_function):
12341 * select-x.c (symbol_to_x_atom):
12342 * select-x.c (x_atom_to_symbol):
12343 * select-x.c (hack_motif_clipboard_selection):
12344 * select-x.c (selection_data_to_lisp_data):
12345 * select-x.c (lisp_data_to_selection_data):
12346 * select-x.c (Fx_get_cutbuffer_internal):
12347 * select-x.c (Fx_store_cutbuffer_internal):
12348 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12349 * buffer.h (TO_INTERNAL_FORMAT): New function.
12350 * emacs.c (make_arg_list_1):
12351 * emacs.c (make_argc_argv):
12352 * emacs.c (main_1):
12353 * emacs.c (Fdump_emacs):
12354 * emacs.c (split_string_by_emchar_1):
12359 * device-x.c (x_init_device):
12360 * device-x.c (Fx_valid_keysym_name_p):
12361 * device-x.c (Fx_get_font_path):
12362 * device-x.c (Fx_set_font_path):
12363 * glyphs.c (bitmap_to_lisp_data):
12364 * glyphs.c (pixmap_to_lisp_data):
12365 * alloc.c (make_ext_string): Use coding system arguments. Update
12367 * alloc.c (build_string):
12368 * callproc.c (child_setup):
12369 * callproc.c (init_callproc):
12370 * fileio.c (lisp_strerror):
12371 * fileio.c (directory_file_name):
12372 * fileio.c (Fexpand_file_name):
12373 * fileio.c (Ffile_truename):
12374 * fileio.c (Fsysnetunam):
12375 * fileio.c (Fdo_auto_save):
12376 * sysdep.c (sys_readdir):
12377 * tests.c: New file. Allow adding C tests.
12378 Replace GET_* macros with a more comprehensible and flexible
12379 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12381 Any coding system can be used to do format conversion.
12382 Eliminate enum external_data_format.
12383 Eliminate convert_to_external_format.
12384 Eliminate convert_to_internal_format.
12385 Make sure file-name, keyboard, terminal, and ctext are always
12386 defined as coding systems or aliases. Make
12387 file-name-coding-system, terminal-coding-system, and
12388 keyboard-coding-system magical variables that are equivalent to
12389 defining the corresponding coding system aliases.
12391 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12392 * file-coding.c (Fcoding_system_alias_p): New function.
12393 * file-coding.c (Fcoding_system_aliasee): New function.
12394 * file-coding.c (append_suffix_to_symbol): New function.
12395 * file-coding.c (dangling_coding_system_alias_p): New function.
12396 * file-coding.c (Ffind_coding_system):
12397 * file-coding.c (Fcopy_coding_system):
12398 * file-coding.c (encode_coding_no_conversion):
12399 * file-coding.c (syms_of_file_coding):
12400 * file-coding.c (vars_of_file_coding):
12401 Rewrite coding system alias code.
12402 Allow nested aliases, like symbolic links.
12403 Allow redefinition of coding system aliases.
12404 Prevent existence of dangling coding system aliases.
12406 * dired.c (Fuser_name_completion_1):
12407 * dired.c (Fuser_name_all_completions):
12408 A crash would happen if user did QUIT in the middle of building
12409 user_name_cache. Remove redundant code in mainline and unwind_protect.
12412 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12414 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12415 an unsigned char *. Update all callers.
12417 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12419 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12421 2000-01-25 Martin Buchholz <martin@xemacs.org>
12423 * elhash.c (hentry_description): Use more portable definition.
12424 (resize_hash_table): Initialize new hentries using
12425 xnew_array_and_zero, thereby simplifying the code.
12427 * mule-charset.c (make_charset): Make sure entire object is
12428 initialized, to avoid Purify warnings.
12430 * alloc.c (resize_string): Fix unlikely crash with big strings.
12432 2000-01-24 Martin Buchholz <martin@xemacs.org>
12434 * realpath.c (xrealpath):
12435 Don't call getwd().
12437 2000-01-25 Martin Buchholz <martin@xemacs.org>
12439 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12441 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12443 * unexelfsgi.c (unexec): Change the way we decide which segment
12444 should be extended.
12446 Assumption that .bss section should be outside the PT_LOADable
12447 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12448 it's present) is inside the 'data' segment. This would fail the
12449 test which was used to find a segment to grow and cover new
12450 heap. Instead of this assumption, I created another one - on IRIX
12451 the segment to grow should start below .bss and it's address
12452 should extent above the end of .bss. Once this segment is
12453 identified, it's grown to accommodate the new heap and new
12454 zero-length .bss section is added at the end of .data2.
12456 2000-01-25 Martin Buchholz <martin@xemacs.org>
12458 * eval.c (Feval): Wrong number of arguments should use original
12459 function, not the indirect_function version of it.
12461 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12463 * glyphs-x.c (x_button_instantiate): Don't add image if
12464 it is not a pixmap.
12465 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12468 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12470 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12472 (DEFVAR_INT_MAGIC): Ditto.
12473 (DEFVAR_BOOL_MAGIC): Ditto.
12474 * glyphs.h: Reindent backslash.
12476 2000-01-24 Martin Buchholz <martin@xemacs.org>
12478 * glyphs-widget.c (layout_query_geometry):
12479 (layout_layout): Use correct types for gheight, gwidth.
12481 2000-01-24 Martin Buchholz <martin@xemacs.org>
12483 * EmacsManager.c (QueryGeometry): Purified.
12485 2000-01-23 Martin Buchholz <martin@xemacs.org>
12487 * alloc.c (make_float): Make sure entire object is initialized, to
12488 avoid Purify warnings.
12489 (pdump_register_sub): Remove useless assignment.
12490 (pdump): Use xmalloc, not malloc.
12491 (pdump_load): Use xmalloc, not malloc.
12493 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12500 * sysdep.c: Removed redundant #include <windows.h>
12502 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12504 * frame.c (delete_frame_internal): Do not delete device when its
12505 implementation so declares.
12506 (delete_frame_internal): Set device selected frame to nil when
12507 last frame goes away.
12509 * device-msw.c (msprinter_device_system_metrics): Implemented.
12510 (mswindows_device_system_metrics): Added 'device-dpi property.
12512 * device.c: (Fdevice_printer_p): Added.
12513 Added 'offset-workspace device metric.
12515 * console.h (device_metrics): Declared DM_offset_workspace.
12517 2000-01-23 Martin Buchholz <martin@xemacs.org>
12519 * fileio.c (Ffile_truename): Remove pointless and confusing
12520 initialization of elen.
12522 * glyphs-widget.c: Compiler warning fixes.
12524 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12526 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12527 instead of a Lisp_Object as argument to make it consistent with
12528 the other LIVE_P macros.
12529 (CHECK_LIVE_PROCESS): New macro.
12531 * process.c: Declare Qprocess_live_p.
12532 (Fprocess_live_p): New function.
12533 (create_process): Use PROCESS_LIVE_P.
12534 (read_process_output): Ditto.
12535 (set_process_filter): Ditto.
12536 (Fdelete_process): Ditto.
12537 (kill_buffer_processes): Ditto
12538 (process_send_signal): Use CHECK_LIVE_PROCESS.
12539 (Fprocess_input_coding_system): Check whether process is still
12540 alive (fix PR#1061).
12541 (Fprocess_output_coding_system): Ditto.
12542 (Fprocess_coding_system): Ditto.
12543 (Fset_process_input_coding_system): Ditto.
12544 (Fset_process_output_coding_system): Ditto.
12546 2000-01-23 Andy Piper <andy@xemacs.org>
12548 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12551 * glyphs.c (mark_image_instance): take into account changed
12552 image_instance format.
12553 (image_instance_equal): ditto.
12554 (image_instance_hash): ditto.
12556 * glyphs-widget.c (widget_instantiate): Incorporate layout
12557 instantiation here. Delay layout of the layout until later.
12558 (layout_instantiate): deleted.
12559 (layout_query_geometry): new function. get the geometry of a
12561 (layout_layout): layout a layout dynamically.
12562 (image_instantiator_widget): New function - splitting up
12563 image_instantiator_format_create_glyphs_widget for netwinder
12565 (image_instantiator_buttons):
12566 (image_instantiator_edit_fields):
12567 (image_instantiator_combo_box):
12568 (image_instantiator_scrollbar):
12569 (image_instantiator_progress_guage):
12570 (image_instantiator_tree_view):
12571 (image_instantiator_tab_control):
12572 (image_instantiator_labels):
12573 (image_instantiator_layout): ditto.
12574 (image_instantiator_format_create_glyphs_widget): Call preceding
12577 2000-01-22 Martin Buchholz <martin@xemacs.org>
12579 * process.c (Fset_process_coding_system):
12580 * device-x.c (Fx_keysym_hash_table):
12583 * lstream.c (Lstream_write): Return documented value, not 0.
12585 * fileio.c (directory_file_name):
12586 (Fsubstitute_in_file_name):
12587 (Fsubstitute_insert_file_contents_internal):
12588 (Fwrite_region_internal):
12593 Remove vestigial APOLLO-conditional code.
12595 2000-01-21 Martin Buchholz <martin@xemacs.org>
12597 * getpagesize.h: Add guard macros.
12598 * libsst.h: Add guard macros.
12599 * libst.h: Add guard macros.
12600 * line-number.h: Add guard macros.
12601 * ndir.h: Add guard macros.
12602 * sysfloat.h: Add guard macros.
12603 * sysfile.h: Add guard macros.
12604 * sysproc.h: Add guard macros.
12605 * syswait.h: Add guard macros.
12606 * xintrinsic.h: Add guard macros.
12607 * xintrinsicp.h: Add guard macros.
12608 * xmmanager.h: Add guard macros.
12609 * xmmanagerp.h: Add guard macros.
12610 * xmprimitive.h: Add guard macros.
12611 * xmu.h: Add guard macros.
12612 * gpmevent.h: Add copyright statement. Add guard macros.
12613 * miscplay.h: Add guard macros.
12614 * *.h: Use consistent C-standards-approved guard macro names.
12616 * opaque.c (make_opaque): Switch parameter order.
12617 * opaque.h (make_opaque): Switch parameter order.
12618 Update all callers.
12619 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12621 * config.h.in (type_checking_assert): Added.
12622 (bufpos_checking_assert): Added.
12624 2000-01-21 Martin Buchholz <martin@xemacs.org>
12626 * alloc.c: Harmless pdump changes.
12628 - spell alignment correctly.
12629 * sysdep.c: Use countof()
12631 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12633 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12634 initially_selected_for_input() console method, default to 0.
12635 (semi_canonicalize_console_connection): Try to delegate to
12636 canonicalize_console_connection if no such console method.
12637 (canonicalize_console_connection): Vice versa.
12638 (print_console): Do not print nil connection.
12640 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12641 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12642 (XDEVIMPF_FRAMELESS_OK): Added.
12643 (CONSOLE_INHERITS_METHOD): Added.
12645 * console-msw.c (mswindows_canonicalize_console_connection):
12647 (mswindows_canonicalize_device_connection): Added.
12649 * console-msw.h (struct msprinter_device): Added this struct and
12651 (mswindows_device): Made fontlist a lisp object.
12653 * device.c (semi_canonicalize_device_connection): Try to delegate
12654 to canonicalize_device_connection if no such console method.
12655 (canonicalize_device_connection): Vice versa.
12656 (print_device): Do not print nil connection.
12658 * device-msw.c (mswindows_init_device): Call InitCommonControls
12660 (mswindows_delete_device): Removed fontlist deallocation.
12661 (mswindows_mark_device): Added.
12663 * events.c (event_equal): Added abort() at unreached code.
12664 (event_hash): Ditto.
12666 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12667 fallback tags of Windows devices.
12669 * general.c (syms_of_general): Initialized Qmsprinter.
12671 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12672 of fallback tags of Windows devices.
12674 * lisp.h: Declared Qmsprinter.
12676 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12678 (mswindows_list_fonts): Ditto.
12679 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12680 that it can be used by both mswindows and msprinter devices.
12681 (initialize_font_instance): Added.
12682 (mswindows_initialize_font_instance): Use it.
12683 (msprinter_initialize_font_instance): Added.
12685 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12686 and implementation flags check.
12687 (redisplay_without_hooks): Changed the call to the above.
12688 (Fredraw_device): Ditto.
12689 (Fredisplay_device): Ditto.
12691 * redisplay-msw.c (get_frame_dc): Implemented.
12692 (get_frame_compdc): Implemented.
12693 (many functions): Use the two functions above to get device
12694 contexts, ether for a window or a printer.
12696 2000-01-21 Olivier Galibert <galibert@pobox.com>
12698 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12699 initialization here.
12700 (init_symbols_once_early): Call it.
12701 * emacs.c (main_1): Call it.
12702 * symsinit.h: Declare it.
12704 2000-01-19 Olivier Galibert <galibert@pobox.com>
12706 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12708 (pdump_backtrace): Ditto.
12709 (pdump_register_object): Ditto. Cleanup use of the pointers.
12710 (pdump_get_entry): Abort if trying to register a null pointer.
12711 (pdump_dump_data): Cleanup types when relocating.
12712 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
12713 (pdump_dump_rtables): Remove bad casts.
12714 (pdump_load): Cleanup relocation w.r.t union type. Use a
12715 Lisp_Object instead of a EMACS_INT for the hashtable
12718 2000-01-20 Martin Buchholz <martin@xemacs.org>
12720 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
12722 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
12724 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
12726 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
12728 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12730 * faces.h (FACE_STRIKETHRU_P): Added.
12732 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
12735 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
12736 (mswindows_set_dc_font): New function, aware of font variants,
12737 separated from mswindows_update_dc.
12739 * objects-msw.h (struct mswindows_font_instance_data): Added
12742 * objects-msw.c (mswindows_finalize_font_instance): Delete all
12743 cached fonts and the data structure.
12744 (mswindows_initialize_font_instance): Added creation of font data
12746 (mswindows_print_font_instance): Print at least something.
12747 (mswindows_create_font_variant): Implemented.
12748 (mswindows_get_hfont): Implemented.
12750 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
12752 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
12753 prototyping problem with msvc.
12755 * emacs.c (main_1): added syms_of_gui_mswindows() call
12757 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
12758 syms_of_gui_mswindows() function
12760 * symsinit.h: added the prototype for syms_of_gui_mswindows()
12762 2000-01-18 Martin Buchholz <martin@xemacs.org>
12764 * XEmacs 21.2.27 is released.
12766 2000-01-18 Martin Buchholz <martin@xemacs.org>
12768 * glyphs-eimage.c (struct tiff_error_struct):
12770 (tiff_warning_func):
12771 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
12776 * unexec.c: Remove vestigial Lucid C code.
12780 * libsst.c: Ansify.
12781 Remove declarations of errno and strerror().
12783 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
12785 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
12787 2000-01-16 Martin Buchholz <martin@xemacs.org>
12789 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
12792 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12797 Change enum eol_type to eol_type_t.
12799 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12801 * gui.c (get_gui_callback): Check cons before accessing car.
12803 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12805 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
12806 (XSETSPECIFIER_TYPE): Ditto.
12808 2000-01-17 Didier Verna <didier@xemacs.org>
12810 * redisplay.c (generate_fstring_runes): compute string size in
12811 characters, not bytes.
12813 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12815 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
12817 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
12819 * print.c (print_error_message): Call print_prepare().
12821 2000-01-14 Martin Buchholz <martin@xemacs.org>
12823 * .dbxrc: Renamed from dbxrc.
12825 * events.c (event_to_character):
12826 Use `assert (foo)' instead of `if (!foo) abort()'
12828 * .gdbinit (xtype): Add documentation.
12829 * .gdbinit (check-temacs): New function.
12830 * .gdbinit (check-xemacs): New function.
12831 * dbxrc (check-xemacs): New function.
12832 * dbxrc (check-xemacs): New function.
12834 2000-01-14 Andy Piper <andy@xemacs.org>
12836 * glyphs-widget.c (widget_query_geometry): Make sure that we
12837 calculate default dimensions correctly.
12839 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12841 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
12843 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
12844 pdump_wire'd variable.
12846 * emacs.c: (main_1): Conditionalized calls to
12847 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
12849 2000-01-13 Martin Buchholz <martin@xemacs.org>
12851 * window.c (Fset_window_configuration):
12852 * sysdep.c (_start):
12853 * input-method-motif.c (res):
12854 * event-Xt.c (Xt_process_to_emacs_event):
12855 Simple compiler warning fixes.
12857 * bytecode.c (funcall_compiled_function): Use the original
12858 function symbol on the backtrace list in preference to the
12859 compiled_function object in error messages.
12861 2000-01-13 Andy Piper <andy@xemacs.org>
12863 * glyphs-x.c (update_widget_face): Make sure we update the widget
12864 background as well as foreground.
12866 2000-01-13 Andy Piper <andy@xemacs.org>
12868 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
12869 fields to subwindow.
12870 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
12871 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
12872 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12873 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12875 * glyphs-widget.c (check_valid_tab_orientation): new function.
12876 (initialize_widget_image_instance): zero orientation and
12878 (widget_instantiate): pick up orientation.
12879 (tab_control_query_geometry): return appropriate values for
12882 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
12883 appropriate creation flags for left, right and bottom tabs.
12885 * s/cygwin32.h: add tab definitions.
12887 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12889 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
12890 frame upon hiding a subwindow.
12891 (mswindows_button_instantiate): Changed the push button style to
12893 (mswindows_button_instantiate): Removed button BS_NOTIFY
12895 (mswindows_button_instantiate): Removed redundant check for
12896 a disabled gui item.
12897 (mswindows_button_instantiate): Made use of WS_TABSTOP
12898 consistent: "operable" controls (edit, button, tree, scroll) have
12899 this style, "display-only" ones (static, progress gauge) do
12900 not. This style is currently ignored by XEmacs though. Also,
12901 removed the WS_EX_CONTROLPARENT style - it is not for children,
12902 it is for their parents!
12903 (mswindows_edit_field_instantiate): Ditto.
12904 (mswindows_progress_gauge_instantiate): Ditto.
12905 (mswindows_tree_view_instantiate): Ditto.
12906 (mswindows_tab_control_instantiate): Ditto.
12907 (mswindows_scrollbar_instantiate): Ditto.
12908 (mswindows_combo_box_instantiate): Ditto.
12909 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
12910 style to the "clip" window.
12911 (mswindows_button_instantiate): Removed compilation warning by
12912 equally typing terms of the ?: operator.
12914 2000-01-12 Didier Verna <didier@xemacs.org>
12916 * redisplay.c (generate_fstring_runes): new parameter holding the
12917 last modeline-format extent.
12918 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
12919 extent, fill the glyph block with it.
12920 (generate_fstring_runes): handle these parameters.
12921 (generate_formatted_string_db): ditto.
12923 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
12924 glyphs'extents in the modeline.
12926 1999-01-11 Mike Woolley <mike@bulsara.com>
12928 * ntheap.c: Reduced the reserved heap space from 1Gb down to
12929 256Mb, as a workaround for the non-starting problem many people
12932 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12934 * console-tty.c (Fset_console_tty_output_coding_system):
12935 Force redrawing tty frame.
12937 2000-01-10 Didier Verna <didier@xemacs.org>
12939 * redisplay.c (generate_fstring_runes): fix size computation bug.
12941 2000-01-09 William M. Perry <wmperry@aventail.com>
12943 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
12945 2000-01-09 Andy Piper <andy@xemacs.org>
12947 * glyphs-msw.c: index -> i to avoid shadows.
12948 (xbm_create_bitmap_from_data): make static.
12949 (check_valid_string_or_int): deleted.
12950 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
12952 * glyphs-x.c (x_update_subwindow): remove unused args.
12954 * glyphs.c (glyph_image_instance): return the thing. Don't set the
12955 back pointer - this is done in allocate_image_instance.
12956 (query_string_font): return Qnil to make the compiler happy.
12957 (unmap_subwindow): set to ~0 to make the compiler happy.
12958 (glyph_query_geometry): comment out until used.
12959 (glyph_layout): ditto.
12961 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12963 * insdel.c (signal_after_change): Remove extraneous unbind_to().