1 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
4 (Fsave_char_attribute_table): Don't check `ct->db_file' if
6 (load_char_attribute_maybe): Likewise.
7 (Fload_char_attribute_table): Likewise.
9 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
11 * chartab.c (Fclose_char_attribute_table): Set Qnil on
12 `ct->db_file' unconditionally.
14 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
16 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
18 (char_table_description): Add description for `db_file' and `db'
20 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
22 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
23 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
24 (Fclose_char_attribute_table): New function.
25 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
26 (load_char_attribute_maybe): Change interface; use `cit->db_file'
28 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
29 (syms_of_chartab): Add new builtin function
30 `Fclose_char_attribute_table'.
32 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
34 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
36 (load_char_attribute_maybe): Change interface.
37 (get_char_id_table): Modify for `load_char_attribute_maybe'.
39 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
41 * database.h: Add an EXFUN for `Fdatabase_live_p'.
43 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
45 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
46 instead of `DECODE_CHAR' for mother; don't use special code for
47 chinese-big5 to use code space of chinese-big5-1 and
49 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
50 `MAX_CHAR_BIG5_CDP' for chinese-big5.
52 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
53 (MAX_CHAR_BIG5_CDP): Revival.
55 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
57 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
58 the XLFD registry-encoding name of `chinese-big5'.
60 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
62 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
63 (Qchinese_big5_cdp): Deleted.
64 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
65 (complex_vars_of_mule_charset): Delete coded-charset
68 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
69 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
70 `CHARSET_ID_OFFSET - n' for private CCS.
71 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
72 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
73 of `MIN_LEADING_BYTE'.
74 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
75 `(CHARSET_ID_OFFSET - 97)'.
76 (MIN_CHAR_BIG5_CDP): Deleted.
77 (MAX_CHAR_BIG5_CDP): Deleted.
79 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
81 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
83 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
85 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
86 (vars_of_mule): Add new variable `utf-2000-version' [moved from
89 * chartab.c (Vutf_2000_version): Moved to mule.c.
90 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
92 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
94 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
95 when HAVE_CHISE_CLIENT is not defined.
97 * mule.c (vars_of_mule): Provide feature `chise' when
98 HAVE_CHISE_CLIENT is defined.
100 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
102 * config.h.in (UTF2000): Add comment.
103 (HAVE_CHISE_CLIENT): New macro.
105 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
107 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
109 (Fput_char_attribute): Likewise.
110 (char_attribute_system_db_file): Encode file-name of attribute.
111 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
114 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
116 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
117 (Fsave_charset_mapping_table): Use
118 `char_attribute_system_db_file'.
119 (load_char_decoding_entry_maybe): Likewise.
121 * chartab.h (Qsystem_char_id): New external variable.
122 (char_attribute_system_db_file): New prototype.
124 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
125 (char_attribute_system_db_file): New function.
126 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
127 (Freset_char_attribute_table): Likewise.
128 (load_char_attribute_maybe): Likewise.
129 (Fload_char_attribute_table): Likewise.
130 (syms_of_chartab): Add new symbol `system-char-id'.
132 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
134 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
135 `XCHARSET_GRAPHIC(ccs)'.
137 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
139 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
141 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
143 * chartab.c (Q_ucs_variants): New variable.
144 (syms_of_chartab): Add new symbol `->ucs-variants'.
145 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
146 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
147 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
149 * mule-charset.c (load_char_decoding_entry_maybe): New function.
151 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
152 `HAVE_DATABASE' is defined.
153 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
154 `HAVE_DATABASE' is defined.
156 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
158 * chartab.c (Fsave_char_attribute_table): Don't clear internal
160 (Freset_char_attribute_table): New function.
161 (syms_of_chartab): Add new builtin function
162 `reset-char-attribute-table'.
164 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
166 * chartab.c (load_char_attribute_maybe): Don't make directories.
168 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
170 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
172 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
175 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
177 * mule-charset.c (Fsave_charset_mapping_table): Use
178 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
180 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
181 instead of `XCHARSET_CHARS'.
183 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
185 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
186 (XCHARSET_BYTE_SIZE): Likewise.
188 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
190 (XCHARSET_BYTE_SIZE): Likewise.
192 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
194 * chartab.c (Fput_char_attribute): Use exec-directory instead of
195 data-directory to store database.
196 (Fsave_char_attribute_table): Likewise.
197 (load_char_attribute_maybe): Likewise.
198 (Fload_char_attribute_table): Likewise.
200 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
202 * mule-charset.c (Fsave_charset_mapping_table): New function.
203 (syms_of_mule_charset): Add new builtin function
204 `save-charset-mapping-table'.
206 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
208 * char-ucs.h (decoding_table_check_elements): Delete prototype.
209 (get_ccs_octet_table): New inline function.
210 (put_ccs_octet_table): Likewise.
211 (decoding_table_put_char): Use `get_ccs_octet_table' and
212 `put_ccs_octet_table'.
213 (decoding_table_remove_char): Use `decoding_table_put_char'.
214 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
216 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
218 (make_charset): Use Qunbound instead Qnil as initial value of
221 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
223 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
224 element is Qunloaded.
225 (map_over_uint16_byte_table): Likewise.
226 (map_over_byte_table): Likewise.
227 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
228 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
229 database support, load encoding-table of the specified
230 coded-charset if it is not loaded yet.
231 (save_uint8_byte_table): New function of UTF-2000 with external
233 (save_uint16_byte_table): Likewise.
234 (save_byte_table): Likewise.
235 (Fput_char_attribute): Don't store value into external database
236 even if the external database feature is supported in UTF-2000;
237 set `attribute' as name of char-table if the external database
238 feature is supported.
239 (Fsave_char_attribute_table): New function in UTF-2000.
240 (syms_of_chartab): Add new builtin function
241 `save-char-attribute-table' in UTF-2000.
243 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
245 * chartab.c (char_attribute_table_to_put): New variable in
247 (Qput_char_table_map_function): Likewise.
248 (value_to_put): Likewise.
249 (Fput_char_table_map_function): New function in UTF-2000.
250 (put_char_table): Use `Fmap_char_attribute' for
251 CHARTAB_RANGE_CHARSET in UTF-2000.
252 (Fput_char_attribute): Store symbol instead of string in
253 `XCHAR_TABLE_NAME (table)'.
254 (load_char_attribute_maybe): Likewise.
255 (syms_of_chartab): Add new symbol/function
256 `put-char-table-map-function'.
258 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
260 * database.h: Add new EXFUN for `Fmap_database'.
262 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
263 (syms_of_database): Likewise.
265 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
267 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
268 (XCHAR_TABLE_UNLOADED): Likewise.
270 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
271 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
272 HAVE_DATABASE is defined.
273 (char_attribute_table_to_load): New variable of UTF-2000 with
274 external database support.
275 (Qload_char_attribute_table_map_function): Likewise.
276 (Fload_char_attribute_table_map_function): New function of
277 UTF-2000 with external database support.
278 (Fload_char_attribute_table): New function of UTF-2000.
279 (Fmap_char_attribute): Call Fload_char_attribute_table if
280 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
281 (syms_of_chartab): Add new symbol and function
282 `load-char-attribute-table-map-function' in UTF-2000 with external
283 database support; add new function `load-char-attribute-table' in
286 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
288 * chartab.h (load_char_attribute_maybe): New prototype for
289 UTF-2000 with DATABASE support.
290 (get_char_id_table): Use `load_char_attribute_maybe' if
291 HAVE_DATABASE is defined.
293 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
294 with DATABASE support.
296 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
298 * chartab.c (Fput_char_attribute): Use S-expression as key of
301 * chartab.h (get_char_id_table): Use S-expression as key of
304 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
306 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
307 if an element is not loaded, load the corresponding attributes
308 from an external database.
309 (map_over_uint16_byte_table): Likewise.
310 (map_over_byte_table): Likewise.
311 (map_char_table): Modify for `map_over_uint8_byte_table',
312 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
313 element is not loaded, load the corresponding attributes from an
315 (Fput_char_attribute): Change initial values to Qunloaded.
317 * chartab.h (get_char_id_table): If a character attribute is not
318 loaded and the attribute value is not found in an external
319 database, store Qunbound as the attribute value.
321 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
323 * chartab.c (BT_UINT8_unloaded): New macro.
324 (UINT8_VALUE_P): Accept Qunloaded.
325 (UINT8_ENCODE): Likewise.
326 (UINT8_DECODE): Likewise.
327 (BT_UINT16_unloaded): New macro.
328 (UINT16_VALUE_P): Accept Qunloaded.
329 (UINT16_ENCODE): Likewise.
330 (UINT16_DECODE): Likewise.
331 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
333 (mark_char_table): Mark `ct->name' in UTF-2000.
334 (char_table_description): Add `name' in UTF-2000.
335 (Fmake_char_table): Initialize `ct->name'.
336 (Fcopy_char_table): Copy `ct->name'.
337 (Fput_char_attribute): Store value into an external database if
338 HAVE_DATABASE is defined.
340 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
342 (CHAR_TABLE_NAME): New macro in UTF-2000.
343 (XCHAR_TABLE_NAME): New macro in UTF-2000.
344 (get_char_id_table): Try to read an external database if Qunloaded
345 is stored in a table.
347 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
350 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
352 * database.h: Add EXFUN definitions for Fopen_database,
353 Fput_database, Fget_database and Fclose_database.
355 * data.c (Qunloaded): New variable in UTF-2000.
357 * lisp.h (Qunloaded): New variable in UTF-2000.
359 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
361 * mule-charset.c (put_char_ccs_code_point): Modify for
362 `decoding_table_remove_char' and `decoding_table_put_char'.
363 (remove_char_ccs): Modify for `decoding_table_remove_char'.
365 * char-ucs.h (decoding_table_remove_char): Change arguments to
366 hide decoding_table vector.
367 (decoding_table_put_char): Likewise.
369 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
371 * mule-charset.c (decoding_table_remove_char): Moved to
373 (decoding_table_put_char): Likewise.
375 * char-ucs.h (decoding_table_check_elements): New prototype [moved
376 from mule-charset.c].
377 (decoding_table_remove_char): New inline function [moved from
379 (decoding_table_put_char): Likewise.
381 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
383 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
386 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
388 * mule-charset.c (decode_builtin_char): Support mother charsets.
390 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
392 * mule-charset.c (Q94x94x60): New variable.
393 (charset_code_point): Support conversion `94x94x60'.
394 (Fmake_charset): Likewise.
395 (syms_of_mule_charset): Add new symbol `94x94x60'.
397 * char-ucs.h (CONVERSION_94x94x60): New macro.
399 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
401 * mule-charset.c (charset_code_point): Unify code about
404 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
406 * mule-charset.c (charset_code_point): Merge code about builtin
407 characters into code about mother charsets; don't use
408 `range_charset_code_point'.
409 (range_charset_code_point): Deleted.
411 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
413 * mule-charset.c (Qcode_offset): New variable.
414 (Fmake_charset): Use `XUINT' to get value of `min-code' and
415 `max-code'; accept new property `code-offset'.
416 (syms_of_mule_charset): Add new symbol `code-offset'.
418 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
420 * mule-charset.c (range_charset_code_point): Fixed.
422 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
424 * mule-charset.c (decode_builtin_char): Change semantics of
425 code-offset of coded-charset.
426 (charset_code_point): Likewise.
427 (range_charset_code_point): Likewise.
428 (complex_vars_of_mule_charset): Modify for the change.
430 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
432 * mule-charset.c (Fencode_char): Reverse arguments.
434 * mule-charset.c (charset_code_point): Fixed.
436 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
438 * mule-charset.c (Vcharset_mojikyo): Deleted.
439 (Vcharset_mojikyo_2022_1): Deleted.
440 (Vcharset_mojikyo_pj_{1..21}): Deleted.
441 (Qmin_code): New variable in UTF-2000.
442 (Qmax_code): Likewise.
444 (Qconversion): Likewise.
447 (Qmojikyo_2022_1): Deleted.
448 (Qmojikyo_pj_{1..22}): Deleted.
449 (mark_charset): Mark `cs->mother'.
450 (charset_description): Add description for `mother'.
451 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
452 new arguments `mother' and `conversion'; use
453 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
454 (charset_code_point): Moved from char-ucs.h; support `mother'
456 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
457 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
458 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
459 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
460 allow 2 as the value of `graphic' in UTF-2000; add new properties
461 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
462 require `final' in UTF-2000; modify for `make_charset'.
463 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
464 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
465 (Fcharset_property): Support `mother', `min-code' and `max-code'.
466 (Fencode_char): New function.
467 (syms_of_mule_charset): Add new builtin function `encode-char' in
468 UTF-2000; add new symbols `min-code', `max-code', `mother',
469 `conversion' and `94x60'; delete symbols `mojikyo',
470 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
471 (complex_vars_of_mule_charset): Modify for `make_charset' change;
472 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
473 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
475 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
476 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
478 * char-ucs.h (Vcharset_mojikyo): Deleted.
479 (Vcharset_mojikyo_2022_1): Deleted.
480 (LEADING_BYTE_MOJIKYO): Deleted.
481 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
482 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
483 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
484 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
485 add new member `mother'; add new member `conversion'.
486 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
487 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
488 (CHARSET_MOTHER): New macro.
489 (CHARSET_CONVERSION): New macro.
490 (CONVERSION_IDENTICAL): New macro.
491 (CONVERSION_94x60): New macro.
492 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
493 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
494 (XCHARSET_MOTHER): New macro.
495 (XCHARSET_CONVERSION): New macro.
496 (MIN_CHAR_MOJIKYO): Deleted.
497 (MAX_CHAR_MOJIKYO): Deleted.
498 (DECODE_MOJIKYO_2022): Deleted.
499 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
500 (charset_code_point): Changed to non-inline function.
501 (encode_char_1): Use `charset_code_point'.
502 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
504 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
506 * lread.c (read_compiled_function): Fix prototype.
507 (read_vector): Likewise.
509 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
511 * lrecord.h (struct lrecord_header): Delete `older'.
512 (set_lheader_implementation): Delete code for `older'.
513 (set_lheader_older_implementation): Deleted.
514 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
515 (OLDER_RECORD_P): Deleted.
516 (OLDER_RECORD_HEADER_P): Deleted.
517 (alloc_older_lcrecord): Deleted.
518 (alloc_older_lcrecord_type): Deleted.
520 * alloc.c (all_older_lcrecords): Deleted.
521 (alloc_older_lcrecord): Deleted.
522 (disksave_object_finalization_1): Delete code for older objects.
523 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
524 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
526 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
528 * mule-charset.c (decoding_table_put_char): Use `make_vector'
529 instead of `make_older_vector'.
530 (put_char_ccs_code_point): Likewise.
531 (mark_charset): Mark `cs->decoding_table'.
532 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
534 * lisp.h (make_older_vector): Deleted.
535 (make_vector_newer): Deleted.
537 * config.h.in (HAVE_GGC): Deleted.
539 * alloc.c (make_older_vector): Deleted.
540 (make_vector_newer_1): Deleted.
541 (make_vector_newer): Deleted.
543 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
545 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
546 (Qideograph_daikanwa_2): New variable.
547 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
548 (complex_vars_of_mule_charset): Add new coded-charset
549 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
550 `LEADING_BYTE_DAIKANWA'.
552 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
553 (LEADING_BYTE_DAIKANWA_1): New macro.
554 (LEADING_BYTE_DAIKANWA_2): New macro.
555 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
557 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
559 * mule-charset.c (complex_vars_of_mule_charset): Change
560 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
561 the second revised version.
563 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
565 * mule-charset.c (Vcharset_ucs_smp): New variable.
566 (Vcharset_ucs_sip): New variable.
567 (Qucs_smp): New variable.
568 (Qucs_sip): New variable.
569 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
570 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
571 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
572 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
573 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
574 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
576 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
577 (LEADING_BYTE_UCS_SIP): New macro.
578 (MIN_CHAR_SMP): New macro.
579 (MAX_CHAR_SMP): New macro.
580 (MIN_CHAR_SIP): New macro.
581 (MAX_CHAR_SIP): New macro.
583 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
585 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
588 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
590 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
591 value; don't store value into `encoding_table' of `Lisp_Charset'.
592 (mark_charset): `encoding_table' was deleted.
593 (charset_description): Likewise.
594 (make_charset): Likewise.
595 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
596 `put_char_ccs_code_point'.
598 * chartab.h (Fput_char_attribute): New EXFUN.
600 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
601 is unified with normal symbol space.
602 (Fget_char_attribute): Likewise.
603 (Fput_char_attribute): Likewise; behavior of
604 `put_char_ccs_code_point' is changed.
606 * char-ucs.h: Include "elhash.h".
607 (Vchar_attribute_hash_table): New external variable.
608 (struct Lisp_Charset): Delete `encoding_table'.
609 (CHARSET_ENCODING_TABLE): New implementation; refer
610 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
613 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
615 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
618 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
620 * text-coding.c (char_encode_big5): Prefer charset-g1 than
623 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
625 * chartab.c (uint8_byte_table_description): New constant.
626 (uint8-byte-table): Use `uint8_byte_table_description'.
627 (uint16_byte_table_description): New constant.
628 (uint16-byte-table): Use `uint16_byte_table_description'.
630 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
632 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
633 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
635 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
637 * mule-charset.c (Vcharset_ucs_ks): New variable.
638 (Qucs_ks): New variable.
639 (syms_of_mule_charset): Add new symbol `ucs-ks'.
640 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
642 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
644 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
646 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
647 (Fdecode_char): Likewise.
649 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
651 (Fdefine_char): Modify for Fdecode_char.
652 (Ffind_char): Likewise.
654 * mule-charset.c (Fdecode_char): Add new optional argument
656 (Fdecode_builtin_char): Modify for `Fdecode_char'.
658 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
660 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
661 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
662 (allocate_coding_system): Initialize initial-charsets of
663 CODESYS_BIG5 in XEmacs UTF-2000.
664 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
665 CODESYS_BIG5 in XEmacs UTF-2000.
666 (decode_coding_big5): Use initial-charset-g0 and -g1 of
667 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
669 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
671 (Qideograph_hanziku_{1 .. 12}): Likewise.
672 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
674 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
675 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
676 `ideograph-hanziku-{1 .. 12}'.
678 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
679 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
680 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
681 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
682 (DECODE_DEFINED_CHAR): New inline function.
683 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
685 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
687 * mule-charset.c (Vcharset_china3_jef): Renamed from
688 `Vcharset_japanese_jef_china3'.
689 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
690 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
691 `{MIN|MAX}_CHAR_JEF_CHINA3'..
692 (syms_of_mule_charset): Rename `china3-jef' from
693 `japanese-jef-china3'.
694 (complex_vars_of_mule_charset): Likewise; rename
695 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
697 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
698 `LEADING_BYTE_JEF_CHINA3'.
699 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
700 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
702 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
704 * mule-charset.c (encode_builtin_char_1): Comment out special code
705 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
707 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
708 (MAX_CHAR_MOJIKYO_0): Comment out.
709 (MIN_CHAR_CBETA): Changed to 0x00E20000.
710 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
711 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
712 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
714 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
716 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
717 (Qideograph_cbeta): New variable.
718 (encode_builtin_char_1): Comment out special code for
719 coded-charset `mojikyo' and `japanese-jef-china3'.
720 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
721 (complex_vars_of_mule_charset): Add new coded-charset
724 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
725 (MIN_CHAR_CBETA): New macro.
726 (MAX_CHAR_CBETA): New macro.
728 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
730 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
731 (LEADING_BYTE_JEF_CHINA3): New macro.
732 (MIN_CHAR_JEF_CHINA3): New macro.
733 (MAX_CHAR_JEF_CHINA3): Likewise.
734 (DECODE_CHAR): Fixed.
736 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
738 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
739 (Qjapanese_jef_china3): New variable.
740 (encode_builtin_char_1): Support `japanese-jef-china3'.
741 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
742 (complex_vars_of_mule_charset): Add new coded-charset
743 `japanese-jef-china3'.
745 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
747 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
748 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
749 94^4, 96^3, 96^4, 128^n and 256^n set.
750 (put_char_table): Use `XCHARSET_CELL_RANGE'.
751 (map_char_table): Likewise.
753 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
755 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
758 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
760 * chartab.h (get_char_id_table): New inline function.
762 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
765 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
767 * chartab.h (decode_char_table_range): New prototype in XEmacs
769 (put_char_id_table): New inline function in XEmacs UTF-2000.
771 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
773 (decode_char_table_range): Delete static declaration in XEmacs
776 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
778 * chartab.c (put_char_id_table): Use `put_char_table'.
780 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
782 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
783 (map_over_uint16_byte_table): Likewise.
784 (map_over_byte_table): Likewise.
785 (map_char_table): Modify for `map_over_uint8_byte_table',
786 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
789 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
791 * chartab.c (struct map_char_table_for_charset_arg): New
793 (map_char_table_for_charset_fun): New function.
794 (map_char_table): Use `map_char_table' for encoding_table of
797 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
799 * chartab.c (map_char_table): Check a character is found in
800 range->charset instead of non default value is defined in
801 char-table when range is CHARTAB_RANGE_ROW.
803 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
805 * chartab.c (map_char_id_table): Deleted.
806 (Fmap_char_attribute): Use `map_char_table' instead of
809 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
811 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
813 (update_syntax_table): Deleted in XEmacs UTF-2000.
815 * syntax.c (find_defun_start): Use `syntax_table' instead of
816 `mirror_syntax_table' in XEmacs UTF-2000.
817 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
819 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
821 (Fmatching_paren): Likewise.
822 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
824 (find_start_of_comment): Likewise.
825 (find_end_of_comment): Likewise.
826 (Fforward_comment): Likewise.
827 (scan_lists): Likewise.
828 (char_quoted): Likewise.
829 (Fbackward_prefix_chars): Likewise.
830 (scan_sexps_forward): Likewise.
831 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
832 (update_syntax_table): Likewise.
834 * search.c (skip_chars): Use `syntax_table' instead of
835 `mirror_syntax_table' in XEmacs UTF-2000.
837 (Freplace_match): Likewise.
839 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
840 `mirror_syntax_table' in XEmacs UTF-2000.
841 (WORDCHAR_P_UNSAFE): Likewise.
842 (re_match_2_internal): Likewise.
844 * font-lock.c (find_context): Use `buf->syntax_table' instead of
845 `buf->mirror_syntax_table' in XEmacs UTF-2000.
847 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
848 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
850 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
853 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
855 (print_char_table): Print `default_value' in XEmacs UTF-2000.
856 (char_table_description): Delete `mirror_table' in XEmacs
858 (fill_char_table): Don't call `update_syntax_table' in XEmacs
860 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
861 (Fcopy_char_table): Likewise.
862 (put_char_table): Don't call `update_syntax_table' in XEmacs
865 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
866 `buf->mirror_syntax_table' in XEmacs UTF-2000.
867 (casify_region_internal): Likewise.
869 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
871 * buffer.c (common_init_complex_vars_of_buffer): Don't use
872 `mirror_syntax_table' in XEmacs UTF-2000.
874 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
875 `buf->mirror_syntax_table' in XEmacs UTF-2000.
876 (Fexpand_abbrev): Likewise.
878 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
880 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
882 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
884 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
885 (map_over_uint16_byte_table): Likewise.
886 (map_over_byte_table): Likewise.
887 (get_char_id_table): Refer `cit->default_value'.
888 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
889 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
890 of character-id ranges.
891 (mark_char_table): Mark `ct->default_value'.
892 (char_table_description): Add `default_value'.
893 (fill_char_table): Use `default_value'.
894 (decode_char_table_range): Decode `nil' as
895 `CHARTAB_RANGE_DEFAULT'.
896 (get_char_id_table): Refer `cit->default_value'.
897 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
898 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
899 temporary hack; check value of char-table is bound or not.
900 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
902 * chartab.h (struct Lisp_Char_Table): Add new member
903 `default_value' in XEmacs UTF-2000.
904 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
905 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
908 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
910 * chartab.h (Lisp_Char_ID_Table): Deleted.
912 * chartab.c (char_table_description): Fix typo.
913 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
914 `Lisp_Char_ID_Table'.
916 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
918 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
921 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
924 * chartab.h (XCHAR_ID_TABLE): Deleted.
925 (XSETCHAR_ID_TABLE): Deleted.
926 (CHAR_ID_TABLE_P): Deleted.
928 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
930 (Fget_composite_char): Likewise.
931 (put_char_table): Likewise.
932 (add_char_attribute_alist_mapper): Fixed.
933 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
935 (Fget_char_attribute): Likewise.
936 (Fget_char_attribute): Likewise.
937 (Fmap_char_attribute): Likewise.
939 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
941 (encode_char_1): Likewise.
943 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
945 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
948 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
949 instead of `XCHAR_ID_TABLE'.
950 (remove_char_ccs): Likewise.
952 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
954 (Fget_composite_char): Likewise.
955 (Fchar_variants): Likewise.
956 (put_char_table): Likewise.
957 (add_char_attribute_alist_mapper): Likewise.
958 (Fchar_attribute_alist): Likewise.
959 (Fget_char_attribute): Likewise.
960 (Fput_char_attribute): Likewise.
961 (Fmap_char_attribute): Likewise.
962 (Fmap_char_attribute): Likewise.
964 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
966 (encode_char_1): Likewise.
968 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
970 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
971 `Lisp_Char_ID_Table'.
972 (mark_char_id_table): Deleted.
973 (print_char_id_table): Likewise.
974 (char_id_table_equal): Likewise.
975 (char_id_table_hash): Likewise.
976 (char_id_table_description): Likewise.
977 (char_id_table): Likewise.
978 (make_char_id_table): Use `Fmake_char_table' and
980 (get_char_id_table): Use `Lisp_Char_Table' instead of
981 `Lisp_Char_ID_Table'.
982 (put_char_id_table): Likewise.
983 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
985 (Fremove_char_attribute): Likewise.
986 (syms_of_chartab): Don't define type `char-id-table'.
988 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
989 (char_id_table): Likewise.
990 (GC_CHAR_ID_TABLE_P): Likewise.
991 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
992 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
993 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
994 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
995 (get_char_id_table): Use `Lisp_Char_Table' instead of
996 `Lisp_Char_ID_Table'.
997 (put_char_id_table_0): Likewise.
998 (put_char_id_table): Likewise.
1000 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1002 * chartab.h: Lisp_Byte_Table related codes are moved from
1005 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1007 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1009 * chartab.h: Don't include "chartab.h".
1010 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1011 (Lisp_Char_ID_Table): Likewise.
1012 (char_id_table): Likewise.
1013 (XCHAR_ID_TABLE): Likewise.
1014 (XSETCHAR_ID_TABLE): Likewise.
1015 (CHAR_ID_TABLE_P): Likewise.
1016 (GC_CHAR_ID_TABLE_P): Likewise.
1017 (get_char_id_table): Likewise.
1019 * char-ucs.h: Include "chartab.h".
1020 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1021 (Lisp_Char_ID_Table): Likewise.
1022 (char_id_table): Likewise.
1023 (XCHAR_ID_TABLE): Likewise.
1024 (XSETCHAR_ID_TABLE): Likewise.
1025 (CHAR_ID_TABLE_P): Likewise.
1026 (GC_CHAR_ID_TABLE_P): Likewise.
1027 (get_char_id_table): Likewise.
1029 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1031 * chartab.c (copy_uint8_byte_table): New function.
1032 (copy_uint16_byte_table): New function.
1033 (copy_byte_table): New function.
1034 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1036 (map_over_uint16_byte_table): Likewise.
1037 (map_over_byte_table): Likewise.
1038 (get_byte_table): Move prototype to chartab.h.
1039 (put_byte_table): Likewise.
1040 (put_char_id_table_0): Moved to chartab.h.
1041 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1042 (char_table_entry_equal): Likewise.
1043 (char_table_entry_hash): Likewise.
1044 (char_table_entry_description): Likewise.
1045 (char_table_entry): Likewise.
1046 (make_char_table_entry): Likewise.
1047 (copy_char_table_entry): Likewise.
1048 (get_non_ascii_char_table_value): Likewise.
1049 (map_over_charset_ascii): Likewise.
1050 (map_over_charset_control_1): Likewise.
1051 (map_over_charset_row): Likewise.
1052 (map_over_other_charset): Likewise.
1053 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1054 (print_char_table): Likewise.
1055 (char_table_equal): Likewise.
1056 (char_table_hash): Likewise.
1057 (char_table_description): Likewise.
1058 (fill_char_table): Likewise.
1059 (Fcopy_char_table): Likewise.
1060 (get_char_table): Likewise.
1061 (Fget_range_char_table): Likewise.
1062 (put_char_table): Likewise.
1063 (map_char_table): Likewise.
1064 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1067 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1069 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1070 `Vauto_fill_chars' in XEmacs UTF-2000.
1072 * chartab.h (get_byte_table): New prototype [moved from
1074 (put_byte_table): Likewise [moved from chartab.c].
1075 (put_char_id_table_0): New inline function [moved from chartab.c].
1076 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1077 (Lisp_Char_Table_Entry): Likewise.
1078 (char_table_entry): Likewise.
1079 (XCHAR_TABLE_ENTRY): Likewise.
1080 (XSETCHAR_TABLE_ENTRY): Likewise.
1081 (CHAR_TABLE_ENTRYP): Likewise.
1082 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1083 (NUM_ASCII_CHARS): Likewise.
1084 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1085 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1087 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1089 * chartab.c (get_char_id_table): Change interface.
1090 (put_char_id_table_0): New function.
1091 (put_char_id_table): Change interface; new implementation.
1092 (Fget_composite_char): Modify for interface change of
1093 `get_char_id_table'.
1094 (Fchar_variants): Likewise.
1095 (add_char_attribute_alist_mapper): Likewise.
1096 (Fchar_attribute_alist): Likewise.
1097 (Fget_char_attribute): Likewise.
1098 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1099 as same as character as the first argument like `put-char-table';
1100 modify for interface change of `put_char_id_table'.
1101 (Fremove_char_attribute): Modify for interface change of
1102 `put_char_id_table'.
1104 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1106 * text-coding.c: Sync up with XEmacs 21.2.41.
1107 (COMPOSE_ADD_CHAR): Modify for interface change of
1108 `get_char_id_table'.
1110 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1111 change of `put_char_id_table'.
1112 (remove_char_ccs): Likewise.
1114 * chartab.h (put_char_id_table): Change interface.
1116 * char-ucs.h (get_char_id_table): Change interface.
1117 (charset_code_point): Modify for interface change of
1118 `get_char_id_table'.
1119 (encode_char_1): Likewise.
1121 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1123 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1125 (map_over_uint16_byte_table): Likewise.
1126 (map_over_byte_table): Likewise.
1127 (map_char_id_table): Add new argument `range' like
1129 (Fmap_char_attribute): Add new argument `range' like
1132 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1134 * chartab.c (map_over_uint8_byte_table): Change interface of
1135 mapping function to use struct chartab_range instead of Emchar.
1136 (map_over_uint16_byte_table): Likewise.
1137 (map_over_byte_table): Likewise.
1138 (map_char_id_table): Likewise.
1139 (struct slow_map_char_id_table_arg): Deleted.
1140 (slow_map_char_id_table_fun): Deleted.
1141 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1142 function `slow_map_char_table_fun' instead of struct
1143 `slow_map_char_id_table_arg' and function
1144 `slow_map_char_id_table_fun'.
1146 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1148 * mule-charset.c: Move char-it-table related codes to chartab.c.
1149 (Vutf_2000_version): Moved to chartab.c.
1150 (Fdefine_char): Likewise.
1151 (Ffind_char): Likewise.
1152 (syms_of_mule_charset): Move types `uint8-byte-table',
1153 `uint16-byte-table', `byte-table' and `char-id-table' to
1154 chartab.c; move functions `char_attribute_list,
1155 `find_char_attribute_table, `char_attribute_alist,
1156 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1157 `map_char_attribute, `define_char, `find_char, `char_variants and
1158 `get_composite_char to chartab.c; move symbols `=>ucs',
1159 `->decomposition', `compat', `isolated', `initial', `medial',
1160 `final', `vertical', `noBreak', `fraction', `super', `sub',
1161 `circle', `square', `wide', `narrow', `small' and `font' to
1163 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1164 setting codes for `Vcharacter_composition_table' and
1165 `Vcharacter_variant_table' to chartab.c.
1166 (complex_vars_of_mule_charset): Move setting code for
1167 `Vchar_attribute_hash_table' to chartab.c.
1169 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1170 (make_char_id_table): New prototype.
1171 (put_char_id_table): Likewise.
1172 (Fget_char_attribute): Likewise.
1174 * chartab.c: Move char-id-table related code from mule-charset.c.
1175 (Vutf_2000_version): Moved from mule-charset.c.
1177 * char-ucs.h (Qucs): New external variable.
1178 (put_char_ccs_code_point): New prototype.
1179 (remove_char_ccs): Likewise.
1181 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1183 * mule-charset.c (Vcharset_ucs_jis): New variable.
1184 (Qucs_jis): Likewise.
1185 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1186 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1188 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1190 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1192 * mule-charset.c (map_over_uint8_byte_table): New function.
1193 (map_over_uint16_byte_table): Likewise.
1194 (map_over_byte_table): Likewise.
1195 (map_char_id_table): Likewise.
1196 (slow_map_char_id_table_fun): Likewise.
1197 (Fmap_char_attribute): Likewise.
1198 (syms_of_mule_charset): Add new function `map-char-attribute'.
1200 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1202 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1203 (syms_of_mule_charset): Add new function `find-char'.
1205 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1207 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1209 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1210 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1212 (complex_vars_of_mule_charset): Add new coded-charset
1213 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1214 `ideograph-gt-pj-*'.
1216 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1218 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1220 * mule-charset.c (encode_builtin_char_1): Purge codes about
1221 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1222 {MIN|MAX}_CHAR_HEBREW.
1223 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1224 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1226 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1227 (MAX_CHAR_GREEK): Purged.
1228 (MIN_CHAR_CYRILLIC): Purged.
1229 (MAX_CHAR_CYRILLIC): Purged.
1230 (MIN_CHAR_HEBREW): Commented out.
1231 (MAX_CHAR_HEBREW): Likewise.
1233 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1235 * mule-charset.c (Qto_ucs): New variable.
1236 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1237 (Fdefine_char): Likewise.
1238 (syms_of_mule_charset): Add new symbol `=>ucs'.
1240 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1242 * mule-charset.c (Fdecode_char): Fixed.
1244 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1246 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1247 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1250 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1252 * mule-charset.c (Vcharset_ucs_big5): New variable.
1253 (Qucs_big5): Likewise.
1254 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1255 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1257 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1259 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1261 * mule-charset.c (decode_builtin_char): Check Big5 code range
1262 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1264 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1266 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1267 (Qchinese_gb12345): Likewise.
1268 (Fdecode_builtin_char): Fixed.
1269 (syms_of_mule_charset): Add `chinese-gb12345'.
1270 (complex_vars_of_mule_charset): Add coded-charset
1273 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1274 (LEADING_BYTE_CHINESE_GB12345): New macro.
1276 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1278 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1279 and `latin-viscii-upper' for `latin-viscii'.
1281 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1283 * mule-charset.c (Fdecode_builtin_char): Comment out
1284 regularization code for ISO-IR GR representation.
1286 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1288 * mule-charset.c (decode_builtin_char): New function; renamed from
1289 `make_builtin_char'; return -1 instead of signal.
1290 (Fdecode_builtin_char): Use `decode_builtin_char'.
1292 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1293 `make_builtin_char'.
1294 (DECODE_CHAR): Use `decode_builtin_char' instead of
1295 `make_builtin_char'; use mapping table of `chinese-big5' for
1296 `chinese-big5-{1,2}'.
1298 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1300 * text-coding.c (char_encode_big5): New function.
1301 (char_finish_big5): Likewise.
1302 (reset_encoding_stream): Use `char_encode_big5' and
1303 `char_finish_big5' for CODESYS_BIG5.
1304 (mule_encode): Don't use `encode_coding_big5'.
1305 (encode_coding_big5): Deleted.
1307 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1309 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1310 0x81- in XEmacs UTF-2000.
1311 (detect_coding_big5): Likewise.
1313 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1315 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1316 generate character-id if the CCS property does not have
1317 corresponding predefined character.
1318 (make_builtin_char): Return -1 if corresponding predefined
1319 character is not found.
1320 (Fdecode_char): Return nil if corresponding character is not
1322 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1323 don't map to builtin ucs space.
1325 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1327 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1328 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1330 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1332 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1333 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1334 (Qideograph_gt): Likewise.
1335 (Qideograph_gt_pj_{1..11}): Likewise.
1336 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1337 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1338 `ideograph-gt-pj-11'.
1339 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1340 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1341 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1343 * char-ucs.h (LEADING_BYTE_GT): New macro.
1344 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1345 (MIN_CHAR_GT): Likewise.
1346 (MAX_CHAR_GT): Likewise.
1348 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1350 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1351 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1353 * doprnt.c (unsigned_int_converters): Add `c'.
1354 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1356 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1357 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1359 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1360 (MAX_CHAR_MOJIKYO_0): New macro.
1361 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1363 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1365 * mule-charset.c (Fdefine_char): Delete cemented out code.
1366 (encode_builtin_char_1): Modify for new allocation of builtin
1369 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1371 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1373 * mule-charset.c (Vcharset_ucs_cns): New variable.
1374 (Qucs_cns): New variable.
1375 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1376 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1378 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1380 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1382 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1384 * search.c (search_buffer): Make `charset_base_code' as
1385 character-id >> 6 to eliminate the corresponding last byte in
1386 UTF-8 representation [I'm not sure it is right thing].
1387 (boyer_moore): Likewise.
1389 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1391 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1392 representation in MULE.
1394 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1396 * text-coding.c (Fmake_coding_system): Use
1397 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1398 `EXTERNAL_PROPERTY_LIST_LOOP'.
1400 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1402 * text-coding.c (decode_output_utf8_partial_char): New function.
1403 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1405 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1407 * text-coding.c (decode_coding_utf8): Output original byte
1408 sequence if it is broken; change order of conditions.
1410 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1413 * mb-multibyte.h (BYTE_ASCII_P):
1414 Use bit ops for char-signedness safety.
1415 (BYTE_C0_P): Use bit ops for char-signedness safety.
1416 (BYTE_C1_P): Use bit ops for char-signedness safety.
1418 * character.h: (XCHAR_OR_CHAR_INT):
1419 Always use inline function.
1420 Remove redundant type checking assert() - XINT will abort quite
1423 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1425 * text-coding.c: (Fencode_shift_jis_char):
1426 (Fencode_big5_char):
1427 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1428 Replace 0 with '\0' when working with bytes.
1429 Replace initial "(" with "\(" in docstrings.
1431 (Fmake_coding_system):
1432 When type is ccl and value is vector, register it with a proper
1433 symbol. And checks whether the given ccl program is valid.
1434 (mule_decode): When calling ccl_driver, if src indicates
1435 NULL pointer, set an empty string instead.
1436 (mule_encode): Likewise.
1439 (detect_coding_sjis):
1440 (decode_coding_sjis):
1441 (detect_coding_big5):
1442 (decode_coding_big5):
1443 (detect_coding_ucs4):
1444 (decode_coding_ucs4):
1445 (detect_coding_utf8):
1446 (decode_coding_utf8):
1447 (detect_coding_iso2022):
1448 (decode_coding_iso2022):
1449 (decode_coding_no_conversion):
1451 Make all detecting and decoding functions take an Extbyte * arg.
1452 (text_encode_generic):
1453 (encode_coding_big5):
1454 (encode_coding_no_conversion):
1456 Make all encoding functions take a Bufbyte * arg.
1457 Use size_t instead of unsigned int for memory sizes.
1458 Only cast to unsigned char whenever dereferencing Extbyte *.
1460 (struct lrecord_description fcd_description_1): Use countof.
1461 (complex_vars_of_file_coding):
1462 Use countof instead of sizeof.
1463 Use CHECK_NATNUM instead of CHECK_INT.
1465 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1467 * mule-charset.c (Fget_char_attribute): Add new optional argument
1469 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1470 (remove_char_ccs): Likewise.
1472 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1474 * text-coding.c (char_encode_shift_jis): New implementation in
1476 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1479 * mule-charset.c (Vcharset_chinese_big5): New variable in
1481 (Qchinese_big5): New variable in UTF-2000.
1482 (BIG5_SAME_ROW): New macro in UTF-2000.
1483 (make_builtin_char): Use builtin characters of
1484 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1485 characters of `Vcharset_chinese_big5'.
1486 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1487 (complex_vars_of_mule_charset): Add new coded-charset
1488 `chinese-big5' in UTF-2000.
1490 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1491 (Vcharset_chinese_big5): New external variable declaration.
1492 (Vcharset_japanese_jisx0208_1990): Likewise.
1494 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1496 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1498 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1500 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1502 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1503 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1504 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1507 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1509 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1511 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1513 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1516 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1518 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1519 for `CHARSET_BY_ATTRIBUTES'.
1520 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1521 `CHARSET_BY_ATTRIBUTES'.
1523 * text-coding.c (struct decoding_stream): Rename member `CH' to
1525 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1526 (decode_coding_sjis): Likewise.
1527 (decode_coding_big5): Likewise.
1528 (decode_coding_ucs4): Likewise.
1529 (decode_coding_utf8): Likewise.
1530 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1531 `CHARSET_BY_ATTRIBUTES'.
1532 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1533 `str->counter'; decode 3, 4 bytes sets.
1534 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1536 (decode_coding_no_conversion): Use `str->cpos' instead of
1539 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1540 (Qmojikyo_2022_1): New variable.
1541 (make_charset): Don't use `CHARSET_TYPE_*'.
1542 (range_charset_code_point): Support coded-charset
1544 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1545 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1546 `CHARSET_BY_ATTRIBUTES'.
1547 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1548 `CHARSET_BY_ATTRIBUTES'.
1549 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1550 (complex_vars_of_mule_charset): Add new coded-charset
1553 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1554 interface; changed to inline function.
1556 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1557 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1558 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1559 (CHARSET_TYPE_94): Deleted.
1560 (CHARSET_TYPE_94X94): Deleted.
1561 (CHARSET_TYPE_96): Deleted.
1562 (CHARSET_TYPE_96X96): Deleted.
1563 (CHARSET_TYPE_128): Deleted.
1564 (CHARSET_TYPE_128X128): Deleted.
1565 (CHARSET_TYPE_256): Deleted.
1566 (CHARSET_TYPE_256X256): Deleted.
1567 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1569 (DECODE_MOJIKYO_2022): New inline function.
1570 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1571 `Vcharset_mojikyo_2022_1'.
1573 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1575 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1577 (put_byte_table): Likewise.
1578 (char_id_table_equal): Use `get_byte_table' [new implementation].
1580 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1582 * mule-charset.c: Include <limits.h> in UTF-2000.
1583 (BT_UINT8_MIN): New macro in UTF-2000.
1584 (BT_UINT8_MAX): New macro in UTF-2000.
1585 (BT_UINT8_t): New macro in UTF-2000.
1586 (BT_UINT8_nil): New macro in UTF-2000.
1587 (BT_UINT8_unbound): New macro in UTF-2000.
1588 (INT_UINT8_P): New inline function in UTF-2000.
1589 (UINT8_VALUE_P): New inline function in UTF-2000.
1590 (UINT8_ENCODE): New inline function in UTF-2000.
1591 (UINT8_DECODE): New inline function in UTF-2000.
1592 (mark_uint8_byte_table): New function in UTF-2000.
1593 (print_uint8_byte_table): New function in UTF-2000.
1594 (uint8_byte_table_equal): New function in UTF-2000.
1595 (uint8_byte_table_hash): New function in UTF-2000.
1596 (make_uint8_byte_table): New function in UTF-2000.
1597 (uint8_byte_table_same_value_p): New function in UTF-2000.
1598 (BT_UINT16_MIN): New macro in UTF-2000.
1599 (BT_UINT16_MAX): New macro in UTF-2000.
1600 (BT_UINT16_t): New macro in UTF-2000.
1601 (BT_UINT16_nil): New macro in UTF-2000.
1602 (BT_UINT16_unbound): New macro in UTF-2000.
1603 (INT_UINT16_P): New inline function in UTF-2000.
1604 (UINT16_VALUE_P): New inline function in UTF-2000.
1605 (UINT16_ENCODE): New inline function in UTF-2000.
1606 (UINT16_DECODE): New inline function in UTF-2000.
1607 (UINT8_TO_UINT16): New inline function in UTF-2000.
1608 (mark_uint16_byte_table): New function in UTF-2000.
1609 (print_uint16_byte_table): New function in UTF-2000.
1610 (uint16_byte_table_equal): New function in UTF-2000.
1611 (uint16_byte_table_hash): New function in UTF-2000.
1612 (make_uint16_byte_table): New function in UTF-2000.
1613 (uint16_byte_table_same_value_p): New function in UTF-2000.
1614 (print_byte_table): New function in UTF-2000.
1615 (byte-table): Use `print_byte_table' as printer.
1616 (make_byte_table): Delete second argument `older'.
1617 (byte_table_same_value_p): New function in UTF-2000.
1618 (copy_byte_table): Deleted.
1619 (get_byte_table): New function in UTF-2000.
1620 (put_byte_table): New function in UTF-2000.
1621 (print_char_id_table): New function in UTF-2000.
1622 (char-id-table): Use `print_char_id_table' as printer.
1623 (make_char_id_table): Delete second argument `older'.
1624 (get_char_id_table): Use `get_byte_table [new implementation].
1625 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1627 (Ffind_char_attribute_table): New function in UTF-2000.
1628 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1629 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1630 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1631 (syms_of_mule_charset): Add new function
1632 `find-char-attribute-table' in UTF-2000.
1634 * lrecord.h (enum lrecord_type): Add
1635 `lrecord_type_uint16_byte_table' and
1636 `lrecord_type_uint8_byte_table'.
1638 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1639 (Lisp_Uint8_Byte_Table): New type.
1640 (XUINT8_BYTE_TABLE): New macro.
1641 (XSETUINT8_BYTE_TABLE): New macro.
1642 (UINT8_BYTE_TABLE_P): New macro.
1643 (GC_UINT8_BYTE_TABLE_P): New macro.
1644 (struct Lisp_Uint16_Byte_Table): New structure.
1645 (Lisp_Uint16_Byte_Table): New type.
1646 (XUINT16_BYTE_TABLE): New macro.
1647 (XSETUINT16_BYTE_TABLE): New macro.
1648 (UINT16_BYTE_TABLE_P): New macro.
1649 (GC_UINT16_BYTE_TABLE_P): New macro.
1651 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1653 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1654 (Vcharacter_ideographic_strokes_table): Deleted.
1655 (Vcharacter_total_strokes_table): Deleted.
1656 (Vcharacter_morohashi_daikanwa_table): Deleted.
1657 (Vcharacter_decomposition_table): Deleted.
1658 (Qname): Deleted because it is duplicated.
1659 (Qideographic_radical): Deleted.
1660 (Qideographic_strokes): Deleted.
1661 (Qtotal_strokes): Deleted.
1662 (Qmorohashi_daikanwa): Deleted.
1663 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1664 `ideographic-radical', `ideographic-strokes', `total-strokes',
1665 `morohashi-daikanwa' and `->decomposition'.
1666 (Fget_char_attribute): Likewise.
1667 (Fput_char_attribute): Likewise; use `make-vector' instead of
1668 `make_older_vector' for `->decomposition' value.
1669 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1670 `ideograph-daikanwa'.
1671 (syms_of_mule_charset): Delete builtin symbols `name',
1672 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1673 `morohashi-daikanwa'.
1674 (vars_of_mule_charset): Don't setup
1675 `Vcharacter_ideographic_radical_table',
1676 `Vcharacter_ideographic_strokes_table',
1677 `Vcharacter_total_strokes_table',
1678 `Vcharacter_morohashi_daikanwa_table' and
1679 `Vcharacter_decomposition_table'.
1681 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1683 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1684 `make_older_vector', `make_vector_newer_1' and
1685 `make_vector_newer'.
1687 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1688 `make_older_vector' and `make_vector_newer'.
1690 * config.h.in (HAVE_GGC): New macro.
1692 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1694 * mule-charset.c (struct char_attribute_list_closure): New
1695 structure in UTF-2000.
1696 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1697 (Fchar_attribute_list): Likewise.
1698 (Fset_charset_mapping_table): Use `make_vector_newer'.
1699 (Fdecode_builtin_char): New function in UTF-2000.
1700 (syms_of_mule_charset): Add new function `char-attribute-list' and
1701 `decode-builtin-char' in UTF-2000.
1703 * lisp.h (make_vector_newer): New prototype.
1705 * alloc.c (make_vector_newer_1): New function.
1706 (make_vector_newer): New function.
1708 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1710 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1713 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1715 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1716 (Vcharacter_attribute_table): Deleted.
1717 (Vcharacter_name_table): Deleted.
1718 (put_char_attribute): Deleted.
1719 (remove_char_attribute): Deleted.
1720 (struct char_attribute_alist_closure): New structure.
1721 (add_char_attribute_alist_mapper): New function.
1722 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1723 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1724 (Fget_char_attribute): Likewise.
1725 (Fput_char_attribute): Likewise.
1726 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1727 of `remove_char_attribute'.
1728 (Fdefine_char): Return character.
1729 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1730 and `Vcharacter_name_table'.
1731 (complex_vars_of_mule_charset): Likewise
1732 `Vchar_attribute_hash_table'.
1734 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1736 * character.h (CHARC_CHARSET): New macro.
1737 (CHARC_CHARSET_ID): New macro.
1738 (CHARC_CODE_POINT): New macro.
1739 (CHARC_COLUMNS): New macro.
1740 (CHARC_TO_CHAR): New inline function.
1741 (CHARC_EQ): New inline function.
1742 (CHARC_ASCII_EQ): New inline function.
1743 (CHARC_IS_SPACE): New inline function.
1744 (ASCII_TO_CHARC): New inline function.
1746 * char-ucs.h (encode_char_2): Deleted.
1747 (ENCODE_CHAR): Use `encode_char_1' again.
1748 (breakup_char_1): Likewise.
1749 (CHAR_TO_CHARC): New inline function.
1751 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1753 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1755 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1756 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1757 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1758 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1759 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1761 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1763 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1765 (x_output_display_block): Use `CHARC_CHARSET' and
1768 * redisplay-tty.c (tty_output_display_block): Use
1770 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1772 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1774 * insdel.c (find_charsets_in_charc_string): Use
1776 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1777 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1778 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1779 (convert_charc_string_into_malloced_string): Likewise.
1781 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1783 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1784 instead of <Emchar_dynarr *> for buf; use
1785 `convert_bufbyte_string_into_charc_dynarr' instead of
1786 `convert_bufbyte_string_into_emchar_dynarr'; use
1787 `find_charsets_in_charc_string' instead of
1788 `find_charsets_in_emchar_string'.
1791 - Include "character.h".
1792 (struct rune): New member `cglyph'; delete member `chr'.
1794 * redisplay.c (redisplay_text_width_charc_string): New function;
1795 delete `redisplay_text_width_emchar_string'.
1796 (rtw_charc_dynarr): New variable; renamed from
1797 `rtw_emchar_dynarr'.
1798 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
1799 `rtw_emchar_dynarr'; use
1800 `convert_bufbyte_string_into_charc_dynarr' instead of
1801 `convert_bufbyte_string_into_emchar_dynarr'; use
1802 `redisplay_text_width_charc_string' instead of
1803 `redisplay_text_width_emchar_string'.
1804 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1805 instead of `rtw_emchar_dynarr'; use
1806 `convert_bufbyte_string_into_charc_dynarr' instead of
1807 `convert_bufbyte_string_into_emchar_dynarr'.
1808 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1809 `redisplay_text_width_charc_string' instead of
1810 `redisplay_text_width_emchar_string'.
1811 (create_text_block): Modify for <struct rune> change.
1812 (generate_formatted_string_db): Likewise.
1813 (create_string_text_block): Likewise.
1814 (pixel_to_glyph_translation): Likewise.
1816 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
1817 instead of <const Emchar *>.
1818 (x_text_width): Likewise.
1819 (x_output_display_block): Use <Charc_dynarr *> instead
1820 <Emchar_dynarr *>; modify for <structure rune> change.
1821 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
1824 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
1825 <const Emchar *>; use `charc_string_displayed_columns' instead of
1826 `emchar_string_displayed_columns'.
1827 (tty_output_display_block): Use <Charc_dynarr *> instead of
1828 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
1829 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
1830 (tty_output_charc_dynarr_dynarr): New variable; renamed from
1831 `tty_output_emchar_dynarr_dynarr'.
1832 (tty_output_charc_dynarr): New function; delete
1833 `tty_output_charc_dynarr'.
1835 * redisplay-output.c (compare_runes): Modify for `struct rune'.
1836 (redisplay_output_layout): Use <Charc_dynarr *> instead of
1837 <Emchar_dynarr *> for buf; use
1838 `convert_bufbyte_string_into_charc_dynarr' instead of
1839 `convert_bufbyte_string_into_emchar_dynarr'.
1841 * frame.c (title_string_charc_dynarr): New variable; renamed from
1842 `title_string_emchar_dynarr'.
1843 (generate_title_string): Use `title_string_charc_dynarr' instead
1844 of `title_string_emchar_dynarr'; use
1845 `convert_charc_string_into_malloced_string' instead of
1846 `convert_emchar_string_into_malloced_string'.
1847 (init_frame): Use `title_string_charc_dynarr' instead of
1848 `title_string_emchar_dynarr'.
1851 - Include "character.h".
1852 (struct console_methods): Use <const Charc *> instead of <const
1853 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
1854 <Emchar_dynarr *> in output_string_method.
1856 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
1859 * console-stream.c (stream_text_width): Use <const Charc *>
1860 instead of <const Emchar *>.
1862 * character.h (Charc_dynarr): New type.
1864 * char-ucs.h (structure Charc): New structure; define new type
1867 * char-lb.h (DECODE_CHAR): New inline function.
1868 (encode_char_1): New inline function.
1869 (ENCODE_CHAR): New macro.
1870 (structure Charc): New structure; define new type `Charc'.
1872 * char-1byte.h (Vcharset_control_1): New macro.
1873 (Vcharset_latin_iso8859_1): New macro.
1874 (DECODE_CHAR): New inline function.
1875 (encode_char_1): New inline function.
1876 (ENCODE_CHAR): New macro.
1877 (structure Charc): New structure; define new type `Charc'.
1879 * insdel.c (find_charsets_in_charc_string): New function; delete
1880 `find_charsets_in_emchar_string'.
1881 (charc_string_displayed_columns): New function; delete
1882 `emchar_string_displayed_columns'.
1883 (convert_bufbyte_string_into_charc_dynarr): New function; delete
1884 `convert_bufbyte_string_into_emchar_dynarr'.
1885 (convert_charc_string_into_bufbyte_dynarr): New function; delete
1886 `convert_charc_string_into_bufbyte_dynarr'.
1887 (convert_charc_string_into_malloced_string): New function; delete
1888 `convert_charc_string_into_malloced_string'.
1890 * buffer.h (find_charsets_in_charc_string): New prototype; delete
1891 `find_charsets_in_emchar_string'.
1892 (charc_string_displayed_columns): New prototype; delete
1893 `emchar_string_displayed_columns'.
1894 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
1895 `convert_charc_string_into_bufbyte_dynarr'.
1896 (convert_charc_string_into_malloced_string): New prototype; delete
1897 `convert_charc_string_into_malloced_string'.
1899 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1901 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
1903 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1905 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
1907 * char-ucs.h: Use <short> for <Charset_ID>.
1909 * mule-charset.h, char-1byte.h: Use <unsigned char> for
1912 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1914 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1917 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1919 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
1921 (Qmorohashi_daikanwa): New variable.
1922 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
1923 for `morohashi-daikanwa' attribute.
1924 (Fget_char_attribute): Likewise.
1925 (Fput_char_attribute): Likewise.
1926 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
1927 has the same value of `ideograph-daikanwa'.
1928 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
1929 (vars_of_mule_charset): Setup
1930 `Vcharacter_morohashi_daikanwa_table'.
1932 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1934 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
1936 (add_charset_to_list_mapper): Add `key' instead of
1937 `XCHARSET_NAME (value)' to return aliases.
1939 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1941 * mule-charset.c (Vcharacter_ideographic_radical_table): New
1943 (Vcharacter_ideographic_strokes_table): New variable.
1944 (Qideographic_radical): New variable.
1945 (Qideographic_strokes): New variable.
1946 (Fchar_attribute_alist): Use
1947 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
1948 attribute; use `Vcharacter_ideographic_strokes_table' for
1949 `ideographic-strokes' attribute.
1950 (Fget_char_attribute): Likewise.
1951 (Fput_char_attribute): Likewise.
1952 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
1953 `ideographic-strokes'.
1954 (vars_of_mule_charset): Setup
1955 `Vcharacter_ideographic_radical_table' and
1956 `Vcharacter_ideographic_strokes_table'.
1958 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1960 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
1961 (Qtotal_strokes): New variable.
1962 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
1963 `total-strokes' attribute.
1964 (Fget_char_attribute): Likewise.
1965 (Fput_char_attribute): Likewise.
1966 (syms_of_mule_charset): Add new symbol `total-strokes'.
1967 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
1969 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1971 * mule-charset.c (Vcharacter_decomposition_table): New variable.
1972 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
1974 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
1975 `->decomposition' attribute.
1976 (Fput_char_attribute): Likewise.
1977 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
1979 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1981 * mule-charset.c (decoding_table_check_elements): New function.
1982 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
1984 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1986 * mule-charset.c (Fset_charset_mapping_table): Use
1987 `put_char_ccs_code_point'.
1989 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1991 * mule-charset.c (decoding_table_put_char): New inline function.
1992 (put_char_ccs_code_point): Use `decoding_table_put_char'.
1994 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1996 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
1997 (XCHARSET_BYTE_SIZE): New macro.
1998 (decoding_table_remove_char): New inline function.
1999 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2000 `decoding_table_remove_char'.
2001 (remove_char_ccs): Use `decoding_table_remove_char'.
2002 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2004 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2006 * mule-charset.c (Vcharacter_name_table): New variable.
2007 (Qname): New variable.
2008 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2010 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2011 `Vcharacter_name_table' for `name' attribute.
2012 (Fremove_char_attribute): Use function `remove_char_ccs'.
2013 (put_char_ccs_code_point): New function.
2014 (remove_char_ccs): New function.
2015 (syms_of_mule_charset): Add new symbol `name'.
2016 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2018 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2020 * mule-charset.c (make_byte_table): Add new argument `older'.
2021 (make_char_id_table): Likewise.
2022 (copy_char_id_table): Comment out because it is not used.
2023 (put_char_id_table): Modify for `make_byte_table'.
2024 (Fput_char_attribute): Make encoding_table as older object;
2025 inherit older bit of `Vcharacter_composition_table'.
2026 (mark_charset): Don't mark `cs->encoding_table'.
2027 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2028 normal object; make `Vcharacter_composition_table' as an older
2029 object; delete staticpro for `Vcharacter_composition_table'; make
2030 `Vcharacter_variant_table' as a normal object.
2032 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2033 (mark_object): Don't check older object in UTF-2000.
2035 * lrecord.h (struct lrecord_header): Add new member `older' in
2037 (set_lheader_implementation): Setup `SLI_header->older' in
2039 (set_lheader_older_implementation): New macro in UTF-2000.
2040 (OLDER_RECORD_P): New macro in UTF-2000.
2041 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2042 (alloc_older_lcrecord): New prototype in UTF-2000.
2043 (alloc_older_lcrecord_type): New macro in UTF-2000.
2045 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2047 * mule-charset.c (byte_table_description): Use
2048 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2049 (char_id_table_description): Delete bogus `, 1'.
2050 (Fget_char_attribute): Refer encoding_table of each coded-charset
2051 to get value of coded-charset attribute of a character.
2052 (Fput_char_attribute): Use `make_older_vector' instead of
2053 `make_vector'; use encoding_table of each coded-charset to store
2054 value of coded-charset attribute of a character.
2055 (Fremove_char_attribute): Use encoding_table of each coded-charset
2056 to store value of coded-charset attribute of a character.
2057 (mark_charset): Mark `cs->encoding_table'; don't mark
2058 `cs->decoding_table'.
2059 (charset_description): Add description of new member
2061 (make_charset): Initialize `encoding_table'.
2063 * char-ucs.h (struct Lisp_Charset): Add new member
2065 (CHARSET_ENCODING_TABLE): New macro.
2066 (XCHARSET_ENCODING_TABLE): New macro.
2067 (charset_code_point): New implementation.
2068 (encode_char_1): Likewise.
2070 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2071 (disksave_object_finalization_1): Call finalizers of
2072 `all_older_lcrecords' in UTF-2000.
2073 (make_older_vector): New function in UTF-2000.
2074 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2077 * lisp.h (make_older_vector): New prototype in UTF-2000.
2079 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2081 * lrecord.h (enum lrecord_type): Rename
2082 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2084 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2085 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2086 `get_char_code_table'.
2088 * mule-charset.c (mark_char_id_table): Renamed from
2089 `mark_char_code_table'.
2090 (char_id_table_equal): Renamed from `char_code_table_equal'.
2091 (char_id_table_hash): Renamed from `char_code_table_hash'.
2092 (make_char_id_table): Renamed from `make_char_code_table'.
2093 (copy_char_id_table): Renamed from `copy_char_code_table'.
2094 (get_char_id_table): Renamed from `get_char_code_table'.
2095 (put_char_id_table): Renamed from `put_char_code_table'.
2096 (to_char_id): Renamed from `to_char_code'.
2098 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2099 `Lisp_Char_Code_Table'.
2100 (char_id_table): Renamed from `char_code_table'.
2101 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2102 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2103 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2104 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2105 (get_char_id_table): Renamed from `get_char_code_table'.
2107 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2109 * lrecord.h (enum lrecord_type): Rename
2110 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2112 * mule-charset.c (mark_byte_table): Renamed from
2113 `mark_char_byte_table'.
2114 (byte_table_equal): Renamed from `char_byte_table_equal'.
2115 (byte_table_hash): Renamed from `byte_table_hash'.
2116 (make_byte_table): Renamed from `make_byte_table'.
2117 (copy_byte_table): Renamed from `copy_char_byte_table'.
2119 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2120 `Lisp_Char_Byte_Table'.
2121 (byte_table): Renamed from `char_byte_table'.
2122 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2123 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2124 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2125 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2127 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2129 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2130 (dfc_convert_to_internal_format): Likewise.
2132 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2133 * text-coding.c (Fcoding_system_alias_p): New function.
2134 * text-coding.c (Fcoding_system_aliasee): New function.
2135 * text-coding.c (append_suffix_to_symbol): New function.
2136 * text-coding.c (dangling_coding_system_alias_p): New function.
2137 * text-coding.c (Ffind_coding_system):
2138 * text-coding.c (Fcopy_coding_system):
2139 * text-coding.c (encode_coding_no_conversion):
2140 * text-coding.c (syms_of_file_coding):
2141 * text-coding.c (vars_of_file_coding):
2142 Rewrite coding system alias code.
2143 Allow nested aliases, like symbolic links.
2144 Allow redefinition of coding system aliases.
2145 Prevent existence of dangling coding system aliases.
2146 Eliminate convert_to_external_format.
2147 Eliminate convert_to_internal_format.
2149 * text-coding.c: Change enum eol_type to eol_type_t.
2151 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2153 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2154 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2156 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2157 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2159 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2161 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2162 `ideograph-daikanwa'.
2164 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2165 (Vcharset_ucs_bmp): Likewise.
2166 (Vcharset_mojikyo): Add new extern variable definition.
2167 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2168 (Vcharset_latin_iso8859_3): Likewise.
2169 (Vcharset_latin_iso8859_4): Likewise.
2170 (Vcharset_latin_iso8859_9): Likewise.
2171 (Vcharset_latin_viscii_lower): Likewise.
2172 (Vcharset_latin_viscii_upper): Likewise.
2173 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2174 `mojikyo' code-point is used to decode.
2175 (encode_char_2): New function [to convert `mojikyo' code-point to
2176 Mojikyo font encoding].
2177 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2178 (breakup_char_1): Likewise.
2179 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2181 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2183 * text-coding.c (Fmake_coding_system): Add document about
2184 `disable-composition' property.
2186 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2188 * text-coding.c (Qdisable_composition): New variable; delete
2190 (Fmake_coding_system): Add new property `disable-composite';
2191 delete property `composite'.
2192 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2193 instead of `!CODING_SYSTEM_COMPOSITE'.
2194 (syms_of_file_coding): Add new symbol `disable-composition';
2195 delete symbol `composite'.
2197 * file-coding.h (struct Lisp_Coding_System): Add
2198 `disable_composition'; delete `enable_composition'.
2199 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2200 `CODING_SYSTEM_COMPOSITE'.
2201 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2202 `XCODING_SYSTEM_COMPOSITE'.
2204 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2206 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2209 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2211 * text-coding.c (Qcomposite): New variable.
2212 (Fmake_coding_system): Add new property `composite'.
2213 (struct decoding_stream): Add `combined_char_count',
2214 `combined_chars' and `combining_table' in UTF-2000.
2215 (COMPOSE_FLUSH_CHARS): New macro.
2216 (COMPOSE_ADD_CHAR): New macro.
2217 (reset_decoding_stream): Reset `str->combined_char_count' and
2218 `str->combining_table' in UTF-2000.
2219 (decode_coding_iso2022): Modify for character-decomposition.
2220 (syms_of_file_coding): Add new symbol `composite'.
2222 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2224 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2225 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2226 of `Vcharacter_composition_table' if `->decomposition' property
2228 (Qlatin_tcvn5712): New variable.
2229 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2230 (complex_vars_of_mule_charset): Add new coded-charset
2233 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2235 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2237 * file-coding.h (struct Lisp_Coding_System): Add
2238 `enable_composition'.
2239 (CODING_SYSTEM_COMPOSITE): New macro.
2240 (XCODING_SYSTEM_COMPOSITE): New macro.
2242 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2244 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2246 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2248 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2249 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2251 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2253 * mule-charset.c (Vcharset_mojikyo): New variable.
2254 (Fdefine_char): Don't use coded-charset which does not have
2255 non-builtin character range to allocate character-id.
2256 (Qmojikyo): New variable.
2257 (syms_of_mule_charset): Add new symbol `mojikyo'.
2258 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2260 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2261 (LEADING_BYTE_MOJIKYO): New macro.
2262 (MIN_CHAR_MOJIKYO): New macro.
2263 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2264 (MAX_CHAR_MOJIKYO): New macro.
2266 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2268 * mule-charset.c (remove_char_attribute): Fixed.
2270 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2272 * mule-charset.c (remove_char_attribute): New function.
2273 (Fremove_char_attribute): New function.
2274 (encode_builtin_char_1): Comment out builtin-support for
2275 greek-iso8859-7 and cyrillic-iso8859-5.
2276 (Fdecode_char): Check `code' is an integer.
2277 (syms_of_mule_charset): Add `remove-char-attribute'.
2278 (MIN_CHAR_GREEK): Deleted.
2279 (MAX_CHAR_GREEK): Likewise.
2280 (MIN_CHAR_CYRILLIC): Likewise.
2281 (MAX_CHAR_CYRILLIC): Likewise.
2282 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2283 MAX_CHAR_GREEK for `greek-iso8859-7'.
2285 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2286 (MAX_CHAR_GREEK): Likewise.
2287 (MIN_CHAR_CYRILLIC): Likewise.
2288 (MAX_CHAR_CYRILLIC): Likewise.
2290 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2292 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2293 format is used without `ucs' property.
2294 (Fdecode_char): Fix problem with GR representation.
2295 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2296 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2298 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2300 * mule-charset.c (make_builtin_char): New function.
2301 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2302 (Fset_charset_mapping_table): Modify for new representation of
2304 (Fdecode_char): New function.
2305 (syms_of_mule_charset): Add new builtin function `decode-char' in
2308 * char-ucs.h (make_builtin_char): New prototype.
2309 (DECODE_CHAR): New inline function.
2310 (MAKE_CHAR): Use `DECODE_CHAR'.
2312 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2314 * text-coding.c (parse_charset_conversion_specs): Use
2315 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2317 (iso2022_designate): Likewise.
2319 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2320 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2322 * mule-charset.c (Vcharset_ucs): New variable.
2323 (print_charset): Change design; use `CHARSET_CHARS' and
2324 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2325 (make_charset): Change signature to specify `chars' and
2326 `dimension' instead of `type'.
2327 (range_charset_code_point): Modify for 256^n-set.
2328 (encode_builtin_char_1): Encode as `ucs' in default.
2329 (Fmake_charset): Modify for `make_charset'.
2330 (Fmake_reverse_direction_charset): Likewise.
2331 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2333 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2336 * char-ucs.h (Vcharset_ucs): New variable.
2337 (LEADING_BYTE_UCS): New macro.
2338 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2339 and `chars' to `unsigned short' from `unsigned int'.
2340 (CHARSET_TYPE): Deleted.
2341 (XCHARSET_TYPE): Deleted.
2343 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2345 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2347 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2348 (ENCODE_CHAR): New macro.
2350 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2352 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2353 to 0.14 (Kawachi-Katakami).
2355 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2357 * text-coding.c (char_encode_shift_jis): Modify for
2358 `charset_code_point'.
2359 (char_encode_iso2022): Likewise.
2361 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2362 (integer) instead of list of <Lisp_Object>s (integers) as the
2363 format of code-point of a coded-charset.
2364 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2365 (encode_builtin_char_1): New function; delete
2366 `split_builtin_char'.
2367 (charset_code_point): Return <int> instead of <Lisp_Object>.
2368 (Fsplit_char): Don't use `SPLIT_CHAR'.
2370 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2371 prototype for `split_builtin_char'.
2372 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2373 (charset_code_point): Likewise.
2374 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2375 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2377 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2379 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2380 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2382 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2384 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2386 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2387 (MAX_CHAR_OBS_94x94): Deleted.
2389 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2391 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2393 * char-ucs.h (MAX_CHAR_BMP): New macro.
2395 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2397 * text-coding.c: Sync with r21-2-24.
2399 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2401 * file-coding.c: Modify for UTF-2000.
2403 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2405 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2408 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2410 * mule-charset.c (split_builtin_char): Delete builtin support for
2411 `katakana-jisx0201'.
2412 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2413 BMP area in builtin representation.
2415 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2416 `Vcharset_katakana_jisx0201'.
2418 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2420 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2421 (Qisolated): New variable.
2422 (Qinitial): New variable.
2423 (Qmedial): New variable.
2424 (Qfinal): New variable.
2425 (Qvertical): New variable.
2426 (Qsmall): New variable.
2427 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2428 `Qvertical' and `Qsmall'.
2429 (Qmojikyo_pj_[1 .. 21]): New variable.
2430 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2431 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2432 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2435 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2437 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2438 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2439 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2441 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2443 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2444 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2446 (Qjapanese_jisx0208_1990): New variable.
2447 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2448 (complex_vars_of_mule_charset): Add new coded-charset
2449 `japanese-jisx0208-1990'.
2451 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2452 (MIN_CHAR_JIS_X0208_1990): New macro.
2453 (MAX_CHAR_JIS_X0208_1990): New macro.
2455 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2457 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2458 coded-charset is not found.
2460 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2462 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2463 (Fdefine_char): Use `Fmake_char'.
2465 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2467 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2468 (Vcharset_hiragana_jisx0208): Deleted.
2469 (Vcharset_katakana_jisx0208): Deleted.
2470 (Qideograph_daikanwa): New variable.
2471 (Qhiragana_jisx0208): Deleted.
2472 (Qkatakana_jisx0208): Deleted.
2473 (split_builtin_char): Split `ideograph-daikanwa'.
2474 (Fsplit_char): New implementation for UTF-2000.
2475 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2476 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2477 (complex_vars_of_mule_charset): Add new coded-charset
2478 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2479 `katakana-jisx0208'.
2481 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2482 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2483 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2484 (MIN_CHAR_DAIKANWA): New macro.
2485 (MAX_CHAR_DAIKANWA): New macro.
2487 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2489 * data.c (Fstring_to_number): Don't recognize floating point if
2492 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2494 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2496 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2498 * mule-charset.c (Qsquare): New variable.
2499 (to_char_code): Add `Qsquare'.
2500 (syms_of_mule_charset): Add new symbol `square'.
2502 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2504 * mule-charset.c (Qcircle): New variable.
2505 (to_char_code): Add `Qcircle'.
2506 (syms_of_mule_charset): Add new symbol `circle'.
2508 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2510 * mule-charset.c (Qfont): New variable.
2511 (to_char_code): Add `Qfont'.
2512 (syms_of_mule_charset): Add new symbol `font'.
2514 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2516 * mule-charset.c (Qsub): New variable.
2517 (to_char_code): Add `Qsub'.
2518 (syms_of_mule_charset): Add new symbol `sub'.
2520 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2522 * mule-charset.c (Fput_char_attribute): Convert each element of
2523 VALUE to GL position if ATTRIBUTE is a GR-set,
2525 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2527 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2528 coded-charset is a GR-set.
2530 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2532 * mule-charset.c (Fput_char_attribute): Check each element of
2533 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2535 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2537 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2539 (Qethiopic_ucs): New variable in UTF-2000.
2540 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2541 (complex_vars_of_mule_charset): Add new coded-charset
2542 `ethiopic-ucs' in UTF-2000.
2544 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2545 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2547 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2549 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2551 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2553 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2556 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2558 * mule-charset.c (Vcharacter_variant_table): New variable.
2559 (Q_ucs): New variable.
2560 (Fchar_variants): New function.
2561 (Fput_char_attribute): Register `->ucs' value to
2562 `Vcharacter_variant_table'.
2563 (syms_of_mule_charset): Add new function `char-variants' and new
2565 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2567 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2569 * mule-charset.c (get_char_code_table): Allow negative character
2571 (put_char_code_table): Likewise.
2572 (Vcharacter_composition_table): New variable.
2573 (Q_decomposition): New variable.
2574 (Qwide): New variable.
2575 (Qnarrow): New variable.
2576 (Qcompat): New variable.
2577 (QnoBreak): New variable.
2578 (Qsuper): New variable.
2579 (Qfraction): New variable.
2580 (to_char_code): New function.
2581 (Fget_composite_char): New function.
2582 (Fput_char_attribute): Register `->decomposition' value to
2583 `Vcharacter_composition_table'.
2584 (syms_of_mule_charset): Add new function `get-composite-char', new
2585 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2586 `super' and `fraction'.
2587 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2589 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2591 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2592 character; copy the return value.
2594 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2596 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2598 * mule-charset.c (range_charset_code_point): Must use make_int.
2599 (split_builtin_char): New function.
2601 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2603 * mule-charset.c (char_byte_table): Change name from
2604 "char-code-table" to "char-byte-table".
2605 (mark_char_code_table): New function.
2606 (char_code_table_equal): New function.
2607 (char_code_table_hash): New function.
2608 (char_code_table_description): New constant.
2609 (char_code_table): New type.
2610 (make_char_code_table): New function.
2611 (copy_char_code_table): New function.
2612 (get_char_code_table): Modify for `char_code_table' type.
2613 (put_char_code_table): Likewise.
2614 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2617 * char-ucs.h (char_code_table): New type.
2618 (XCHAR_CODE_TABLE): New macro.
2619 (XSETCHAR_CODE_TABLE): New macro.
2620 (CHAR_CODE_TABLE_P): New macro.
2621 (GC_CHAR_CODE_TABLE_P): New macro.
2622 (struct Lisp_Char_Code_Table): New structure.
2624 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2626 * mule-charset.c (Fmake_charset): Setup byte_offset for
2629 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2631 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2634 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2636 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2639 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2641 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2642 charset, it is regarded as a charset.
2643 (put_char_attribute): New function in UTF-2000.
2644 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2645 charset, mapping-table of the charset is modified.
2646 (Fdefine_char): New function in UTF-2000.
2647 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2648 `Fput_char_attribute'.
2649 (syms_of_mule_charset): Add new function `define-char' and new
2650 symbol `ucs' in UTF-2000.
2651 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2653 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2655 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2656 non-UTF-2000 configuration.
2658 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2660 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2661 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2663 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2665 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2666 (Fset_charset_mapping_table): Likewise.
2668 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2669 (CHARSET_ENCODING_TABLE): Delete.
2670 (XCHARSET_ENCODING_TABLE): Delete.
2671 (charset_code_point): New interface.
2673 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2675 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2676 instead of `charset_get_byte1' and `charset_get_byte2'.
2678 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2679 (charset_get_byte2): Deleted.
2681 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2683 * char-ucs.h (SPLIT_CHAR): New inline function.
2684 (breakup_char_1): Use `SPLIT_CHAR'.
2686 * mule-charset.c (range_charset_code_point): New function.
2687 (charset_code_point): New function.
2689 * char-ucs.h (range_charset_code_point): New interface.
2690 (breakup_char_1): Use `range_charset_code_point'.
2692 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2694 * mule-charset.c (Fmake_charset): Delete unused local variable
2697 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2698 (breakup_char_1): Find a charset and code-point in
2699 `Vcharacter_attribute_table'.
2701 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2703 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2706 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2708 * mule-charset.c (Vcharacter_attribute_table): New variable.
2709 (Fchar_attribute_alist): New function.
2710 (Fget_char_attribute): New function.
2711 (Fput_char_attribute): New function.
2712 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2714 (syms_of_mule_charset): Add new function `char-attribute-alist',
2715 `get-char-attribute' and `put-char-attribute'.
2716 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2718 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2720 * mule-charset.c (Fmake_charset): Just use
2721 `get_unallocated_leading_byte'.
2723 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2724 sets; don't use final-byte based number for private sets.
2726 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2728 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2731 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2733 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2736 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2738 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2739 of `CHAR_LEADING_BYTE' in UTF-2000.
2741 * insdel.c (find_charsets_in_bufbyte_string): Use
2742 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2743 (find_charsets_in_emchar_string): Likewise.
2745 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2746 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2748 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2749 (CHAR_CHARSET_ID): New macro.
2751 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2753 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2754 charset-id - MIN_LEADING_BYTE.
2755 (put_char_table): Likewise.
2757 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2759 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2760 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2761 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2762 (CHARSET_ID_OFFSET): New macro.
2763 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2764 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2765 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2766 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2768 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2770 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2771 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2772 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2773 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2774 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2776 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2778 * mule-charset.c (next_allocated_leading_byte): New variable in
2780 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2781 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2782 (get_unallocated_leading_byte): Simply use
2783 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2784 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2787 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2788 (MAX_LEADING_BYTE_PRIVATE): New macro.
2789 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2790 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2792 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2794 * mule-charset.c (Fmake_charset): Allocate final-byte based
2795 charset-id for 94-set, 96-set and 94x94-set.
2797 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2799 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
2801 (Fmake_charset): Likewise.
2802 (complex_vars_of_mule_charset): Modify the font registry of
2803 `ucs-bmp' not to match `Ethiopic-Unicode'.
2805 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2807 * mule-charset.c (complex_vars_of_mule_charset): Add font
2808 registory of `ucs-bmp'.
2810 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2812 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2813 coded-charsets in `default-coded-charset-priority-list' when
2814 breaking up a character.
2816 * mule-charset.c (Vcharset_latin_viscii): New variable.
2817 (Qlatin_viscii): New variable.
2818 (make_charset): Don't use `decoding_table'.
2819 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
2821 (Fset_charset_mapping_table): New implementation.
2822 (syms_of_mule_charset): Add new symbol `latin-viscii'.
2823 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
2824 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
2825 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
2826 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
2827 charset `latin_viscii'.
2829 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
2830 (CHARSET_TYPE_94X94): Change to 1 from 2.
2831 (CHARSET_TYPE_96): Change to 2 from 1.
2832 (CHARSET_TYPE_128): New macro.
2833 (CHARSET_TYPE_128X128): Change to 5 from 4.
2834 (CHARSET_TYPE_256): New macro.
2835 (CHARSET_TYPE_256X256): Change to 7 from 5.
2836 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
2838 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2840 * text-coding.c (char_encode_shift_jis): Refer
2841 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
2842 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
2844 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
2845 (char_byte_table_equal): New function in UTF-2000.
2846 (char_byte_table_hash): New function in UTF-2000.
2847 (char_byte_table_description): New constant in UTF-2000.
2848 (char_byte_table): New type in UTF-2000.
2849 (make_char_byte_table): New function in UTF-2000.
2850 (copy_char_byte_table): New function in UTF-2000.
2851 (make_char_code_table): New macro in UTF-2000.
2852 (get_char_code_table): New function in UTF-2000.
2853 (put_char_code_table): New function in UTF-2000.
2854 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2855 (charset_description): Add setting in UTF-2000.
2856 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
2857 `CHARSET_TO_BYTE1_TABLE(cs)'.
2858 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
2859 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
2860 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
2861 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
2862 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
2863 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
2864 `CHARSET_TO_BYTE2_TABLE(cs)'.
2866 * char-ucs.h (char_byte_table): New type.
2867 (XCHAR_BYTE_TABLE): New macro.
2868 (XSETCHAR_BYTE_TABLE): New macro.
2869 (CHAR_BYTE_TABLE_P): New macro.
2870 (GC_CHAR_BYTE_TABLE_P): New macro.
2871 (struct Lisp_Char_Byte_Table): New structure.
2872 (get_char_code_table): New interface.
2873 (Emchar_to_byte_table): Deleted.
2874 (get_byte_from_character_table): Deleted.
2875 (struct Lisp_Charset): Add `encoding_table'; delete
2876 `to_byte1_table' and `to_byte2_table'.
2877 (CHARSET_ENCODING_TABLE): New macro.
2878 (CHARSET_TO_BYTE1_TABLE): Deleted.
2879 (CHARSET_TO_BYTE2_TABLE): Deleted.
2880 (XCHARSET_ENCODING_TABLE): New macro.
2881 (XCHARSET_TO_BYTE1_TABLE): Deleted.
2882 (XCHARSET_TO_BYTE2_TABLE): Deleted.
2884 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2886 * mule-charset.c (syms_of_mule_charset): Delete charset alias
2887 `vietnamese-viscii-*'.
2889 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2891 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
2892 (Qvietnamese_viscii_upper): New variable.
2893 (Fdefine_charset_alias): New function.
2894 (syms_of_mule_charset): Add new function `define-charset-alias'.
2895 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
2896 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
2899 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
2901 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
2902 (MAX_CHAR_OBS_94x94): New macro.
2903 (breakup_char_1): Support obsolete XEmacs-UCS private code space
2906 * mule-charset.c (put_byte_from_character_table): Change unit size
2908 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
2910 (Fmake_reverse_direction_charset): Modify dummy argument of
2911 `make_charset' for non-UTF-2000 environment.
2913 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2915 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
2917 * mule-charset.c (destroy_byte_from_character_table): New macro.
2918 (latin_jisx0201_to_ucs): Deleted.
2919 (latin_iso8859_2_to_ucs): Deleted.
2920 (latin_iso8859_3_to_ucs): Deleted.
2921 (latin_iso8859_4_to_ucs): Deleted.
2922 (latin_iso8859_9_to_ucs): Deleted.
2923 (latin_viscii_lower_to_ucs): Deleted.
2924 (latin_viscii_upper_to_ucs): Deleted.
2925 (mark_charset): Mark `cs->decoding_table'.
2926 (Fcharset_mapping_table): Fix DOC-string.
2927 (Fset_charset_mapping_table): New function.
2928 (syms_of_mule_charset): Add nwe function
2929 `set-charset-mapping-table'.
2930 (complex_vars_of_mule_charset): Don't setup and use
2933 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
2935 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
2938 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
2940 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
2941 (Vcharset_katakana_jisx0208): New variable.
2942 (Qhiragana_jisx0208): New variable.
2943 (Qkatakana_jisx0208): New variable.
2944 (make_charset): Add new argument `byte_offset'.
2945 (charset_get_byte1): Modify for new coded-charset definition; use
2946 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2947 `XCHARSET_BYTE_OFFSET'.
2948 (Fmake_charset): Modify for `make_charset'.
2949 (Fmake_reverse_direction_charset): Likewise.
2950 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
2951 `katakana-jisx0208'.
2952 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
2953 `.' in font registry of charset `katakana-jisx0201',
2954 `latin-jisx0201', `vietnamese-viscii-lower' and
2955 `vietnamese-viscii-upper'; modify DOC-string of charset
2956 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
2957 registry of charset `japanese-jisx0208' not to use font for JIS
2958 X0208:1990; add new charset `hiragana-jisx0208' and
2959 `katakana-jisx0208'.
2961 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
2962 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
2963 (struct Lisp_Charset): Add `byte_offset'.
2964 (CHARSET_BYTE_OFFSET): New macro.
2965 (XCHARSET_UCS_MIN): New macro.
2966 (XCHARSET_UCS_MAX): New macro.
2967 (XCHARSET_CODE_OFFSET): New macro.
2968 (XCHARSET_BYTE_OFFSET): New macro.
2969 (MIN_CHAR_HIRAGANA): New macro.
2970 (MAX_CHAR_HIRAGANA): New macro.
2971 (MIN_CHAR_KATAKANA): New macro.
2972 (MAX_CHAR_KATAKANA): New macro.
2973 (MAKE_CHAR): Modify for new coded-charset definition; use
2974 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2975 `XCHARSET_BYTE_OFFSET'.
2977 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2979 * mule-charset.c (CHAR96): Deleted.
2980 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
2982 (latin_iso8859_2_to_ucs): Likewise.
2983 (latin_iso8859_3_to_ucs): Likewise.
2984 (latin_iso8859_4_to_ucs): Likewise.
2985 (latin_iso8859_9_to_ucs): Likewise.
2986 (latin_viscii_lower_to_ucs): Likewise.
2987 (latin_viscii_upper_to_ucs): Likewise.
2988 (latin_tcvn5712_to_ucs): Commented out.
2989 (make_charset): Change type of argument `decoding_table' from
2990 <Emchar*> to <Lisp_Object> [vector of characters].
2991 (Fmake_charset): Modify for `make_charset'.
2992 (Fmake_reverse_direction_charset): Likewise.
2993 (Fcharset_mapping_table): New function in UTF-2000.
2994 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
2996 (complex_vars_of_mule_charset): Modify for type change of
2997 `*_to_ucs'; modify for `make_charset'.
2999 * char-ucs.h (struct Lisp_Charset): Change type of
3000 `decoding_table' from <Emchar*> to <Lisp_Object>.
3001 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3003 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3005 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3006 error with non-UTF-2000-Mule.
3008 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3010 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3012 (Vcharset_chinese_cns11643_4): Likewise.
3013 (Vcharset_chinese_cns11643_5): Likewise.
3014 (Vcharset_chinese_cns11643_6): Likewise.
3015 (Vcharset_chinese_cns11643_7): Likewise.
3016 (Qchinese_cns11643_3): Likewise.
3017 (Qchinese_cns11643_4): Likewise.
3018 (Qchinese_cns11643_5): Likewise.
3019 (Qchinese_cns11643_6): Likewise.
3020 (Qchinese_cns11643_7): Likewise.
3021 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3022 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3023 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3024 (complex_vars_of_mule_charset): Likewise.
3026 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3028 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3030 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3031 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3033 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3035 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3037 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3038 (breakup_char_1): Likewise.
3040 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3041 one of them includes the specified character.
3043 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3045 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3047 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3049 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3051 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3053 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3054 definition for non-UTF-2000 Mule.
3055 (latin_iso8859_3_to_ucs): Likewise.
3056 (latin_iso8859_4_to_ucs): Likewise.
3057 (latin_iso8859_9_to_ucs): Likewise.
3058 (latin_jisx0201_to_ucs): Likewise.
3059 (MIN_CHAR_THAI): Likewise.
3060 (MAX_CHAR_THAI): Likewise.
3061 (MIN_CHAR_GREEK): Likewise.
3062 (MAX_CHAR_GREEK): Likewise.
3063 (MIN_CHAR_HEBREW): Likewise.
3064 (MAX_CHAR_HEBREW): Likewise.
3065 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3066 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3067 (MIN_CHAR_CYRILLIC): Likewise.
3068 (MAX_CHAR_CYRILLIC): Likewise.
3070 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3072 * char-ucs.h (breakup_char_1): Use
3073 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3074 thai-tis620 and katakana-jisx0201 area.
3076 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3078 * char-ucs.h (breakup_char_1): Use
3079 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3082 * text-coding.c (reset_encoding_stream): Fixed.
3083 (char_encode_ucs4): Delete `& 255'.
3085 * char-ucs.h (breakup_char_1): Use
3086 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3088 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3090 * file-coding.c (Fmake_coding_system): Don't set up
3091 `codesys->fixed.size'.
3092 (encode_coding_no_conversion): Don't refer
3093 `str->codesys->fixed.size'.
3095 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3097 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3098 (latin_a_char_to_byte1): Deleted.
3099 (latin_a_char_to_byte2): Deleted.
3101 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3103 * mule-charset.c (make_charset): Add new argument `ucs_min',
3104 `ucs_max' and `code_offset'.
3105 (charset_get_byte1): New implementation [delete specific charset
3106 depended implementations].
3107 (Fmake_charset): Modify for `make_charset'.
3108 (Fmake_reverse_direction_charset): Likewise.
3109 (complex_vars_of_mule_charset): Likewise.
3111 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3113 (CHARSET_UCS_MIN): New macro.
3114 (CHARSET_UCS_MAX): New macro.
3115 (CHARSET_CODE_OFFSET): New macro.
3116 (MAKE_CHAR): Delete charset depended definitions [except
3119 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3121 * char-ucs.h (breakup_char_1): Use
3122 `Vdefault_coded_charset_priority_list' for C0-Controls,
3123 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3125 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3127 * char-ucs.h (charset_get_byte1): New function.
3128 (XCHARSET_GET_BYTE1): Deleted.
3129 (charset_get_byte2): New function.
3130 (XCHARSET_GET_BYTE2): Deleted.
3131 (Vdefault_coded_charset_priority_list): New external variable.
3132 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3133 `Vdefault_preferred_coded_charset_list'.
3135 * mule-charset.c (charset_get_byte1): New function.
3136 (charset_get_byte2): New function.
3137 (Vdefault_coded_charset_priority_list): New variable.
3138 (vars_of_mule_charset): Add new variable
3139 `default-coded-charset-priority-list'.
3141 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3143 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3144 (XCHARSET_GET_BYTE2): New inline function.
3145 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3146 `XCHARSET_GET_BYTE2'.
3148 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3150 * mule-charset.c (make_charset): Initialize
3151 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3152 NULL if table is not defined.
3154 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3156 * text-coding.c (char_encode_shift_jis): Use
3157 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3158 `ucs_to_latin_jisx0201'.
3160 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3161 (ucs_to_latin_iso8859_2): Deleted.
3162 (ucs_to_latin_iso8859_3): Deleted.
3163 (ucs_to_latin_iso8859_4): Deleted.
3164 (ucs_to_latin_iso8859_9): Deleted.
3165 (ucs_to_latin_viscii_lower): Deleted.
3166 (ucs_to_latin_viscii_upper): Deleted.
3167 (ucs_to_latin_tcvn5712): Deleted.
3168 (make_charset): Add new argument `decoding_table'; set up
3169 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3170 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3171 `decoding_table' is defined in UTF-2000.
3172 (Fmake_charset): Modify for `make_charset'.
3173 (Fmake_reverse_direction_charset): Likewise.
3174 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3175 and `GENERATE_96_SET'.
3177 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3178 (ucs_to_latin_jisx0201): Deleted.
3179 (latin_iso8859_2_to_ucs): Deleted.
3180 (ucs_to_latin_iso8859_2): Deleted.
3181 (latin_iso8859_3_to_ucs): Deleted.
3182 (ucs_to_latin_iso8859_3): Deleted.
3183 (latin_iso8859_4_to_ucs): Deleted.
3184 (ucs_to_latin_iso8859_4): Deleted.
3185 (latin_iso8859_9_to_ucs): Deleted.
3186 (ucs_to_latin_iso8859_9): Deleted.
3187 (latin_viscii_lower_to_ucs): Deleted.
3188 (ucs_to_latin_viscii_lower): Deleted.
3189 (latin_viscii_upper_to_ucs): Deleted.
3190 (ucs_to_latin_viscii_upper): Deleted.
3191 (struct Lisp_Charset): Renamed `encoding_table' to
3192 `to_byte1_table'; add `to_byte2_table'.
3193 (CHARSET_DECODING_TABLE): New macro.
3194 (CHARSET_TO_BYTE1_TABLE): New macro.
3195 (CHARSET_TO_BYTE2_TABLE): New macro.
3196 (XCHARSET_DECODING_TABLE): New macro.
3197 (XCHARSET_TO_BYTE1_TABLE): New macro.
3198 (XCHARSET_TO_BYTE2_TABLE): New macro.
3199 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3201 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3202 don't use `ucs_to_*' tables.
3204 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3206 * text-coding.c (Fmake_coding_system): Don't set up
3207 `codesys->fixed.size'.
3208 (encode_coding_no_conversion): Use `if' instead of `switch'.
3210 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3212 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3214 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3215 (Fmake_charset): Modify for `make_charset'.
3216 (Fmake_reverse_direction_charset): Likewise.
3217 (complex_vars_of_mule_charset): Likewise.
3219 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3221 * text-coding.c (char_encode_shift_jis): Use table
3222 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3224 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3226 * text-coding.c (text_encode_generic): Use `if' instead of
3228 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3231 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3233 * text-coding.c (encode_coding_sjis): Deleted.
3234 (char_encode_shift_jis): New function.
3235 (char_finish_shift_jis): New function.
3236 (reset_encoding_stream): Set up `encode_char' and `finish' for
3237 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3238 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3239 (char_encode_utf8): Treat `eol_type'.
3241 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3243 * file-coding.c (decode_coding_iso2022): Use
3244 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3246 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3248 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3251 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3253 * char-lb.h (CHAR_COLUMNS): New macro.
3255 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3257 * text-coding.c (char_encode_ucs4): New function.
3258 (char_finish_ucs4): New function.
3259 (encode_coding_ucs4): Deleted.
3260 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3261 (text_encode_generic): Delete local variable `charset' and `half'.
3262 (ucs_to_mule_table): Deleted.
3263 (mule_to_ucs_table): Deleted.
3264 (Fset_ucs_char): Deleted.
3265 (ucs_to_char): Deleted.
3266 (Fucs_char): Deleted.
3267 (Fset_char_ucs): Deleted.
3268 (Fchar_ucs): Deleted.
3269 (decode_ucs4): Deleted.
3270 (mule_char_to_ucs4): Deleted.
3271 (encode_ucs4): Deleted.
3272 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3273 (decode_coding_utf8): Likewise.
3274 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3275 (char_encode_iso2022): Fixed.
3276 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3277 `Fset_char_ucs' and `Fchar_ucs'.
3278 (complex_vars_of_file_coding): Don't initialize
3279 `ucs_to_mule_table'.
3281 * objects-tty.c (tty_initialize_font_instance): Don't use
3284 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3287 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3288 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3290 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3291 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3292 (emchar_string_displayed_columns): Likewise.
3294 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3295 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3296 (string_column_at_point): Likewise.
3297 (Fmove_to_column): Likewise.
3299 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3300 `encoding_table' and `decoding_table'.
3301 (CHARSET_REP_BYTES): Deleted.
3302 (XCHARSET_REP_BYTES): Deleted.
3303 (XCHARSET_COLUMNS): Deleted.
3304 (CHAR_COLUMNS): New macro.
3305 (lookup_composite_char): Deleted unconditionally.
3306 (composite_char_string): Likewise.
3308 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3310 * char-ucs.h (Emchar_to_byte_table): New type.
3311 (get_byte_from_character_table): New function interface.
3312 (Vcharset_latin_jisx0201): New variable.
3313 (latin_jisx0201_to_ucs): New variable.
3314 (ucs_to_latin_jisx0201): New variable.
3315 (Vcharset_latin_iso8859_2): New variable.
3316 (latin_iso8859_2_to_ucs): New variable.
3317 (ucs_to_latin_iso8859_2): New variable.
3318 (Vcharset_latin_iso8859_3): New variable.
3319 (latin_iso8859_3_to_ucs): New variable.
3320 (ucs_to_latin_iso8859_3): New variable.
3321 (Vcharset_latin_iso8859_4): New variable.
3322 (latin_iso8859_4_to_ucs): New variable.
3323 (ucs_to_latin_iso8859_4): New variable.
3324 (Vcharset_latin_iso8859_9): New variable.
3325 (latin_iso8859_9_to_ucs): New variable.
3326 (ucs_to_latin_iso8859_9): New variable.
3327 (Vcharset_latin_viscii_lower): New variable.
3328 (latin_viscii_lower_to_ucs): New variable.
3329 (ucs_to_latin_viscii_lower): New variable.
3330 (Vcharset_latin_viscii_upper): New variable.
3331 (latin_viscii_upper_to_ucs): New variable.
3332 (ucs_to_latin_viscii_upper): New variable.
3333 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3334 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3335 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3336 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3337 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3338 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3339 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3340 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3341 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3342 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3344 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3345 (Vcharset_latin_viscii_upper): New variable.
3346 (make_byte_from_character_table): New function.
3347 (put_byte_from_character_table): New function.
3348 (get_byte_from_character_table): New function.
3349 (CHAR96): New macro.
3350 (ucs_to_latin_jisx0201): New variable.
3351 (latin_jisx0201_to_ucs): New variable.
3352 (ucs_to_latin_iso8859_2): New variable.
3353 (latin_iso8859_2_to_ucs): New variable.
3354 (ucs_to_latin_iso8859_3): New variable.
3355 (latin_iso8859_3_to_ucs): New variable.
3356 (ucs_to_latin_iso8859_4): New variable.
3357 (latin_iso8859_4_to_ucs): New variable.
3358 (ucs_to_latin_iso8859_9): New variable.
3359 (latin_iso8859_9_to_ucs): New variable.
3360 (ucs_to_latin_viscii_lower): New variable.
3361 (latin_viscii_lower_to_ucs): New variable.
3362 (ucs_to_latin_viscii_upper): New variable.
3363 (latin_viscii_upper_to_ucs): New variable.
3364 (ucs_to_latin_tcvn5712): New variable.
3365 (latin_tcvn5712_to_ucs): New variable.
3366 (Qlatin_viscii_lower): New variable.
3367 (Qlatin_viscii_upper): New variable.
3368 (syms_of_mule_charset): Set up new symbol
3369 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3370 (complex_vars_of_mule_charset): Set up new charset
3371 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3372 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3373 `ucs_to_<CHARSET>' tables.
3375 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3377 * text-coding.c: New file.
3379 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3381 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3383 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3384 (MAKE_CHAR): Modify for `ucs-bmp'.
3385 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3386 non-MULE characters of BMP.
3388 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3390 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3393 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3396 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3397 - Include character.h for `CHAR_ASCII_P'.
3399 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3401 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3402 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3404 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3405 (BYTE_C0_P): Likewise.
3406 (BYTE_C1_P): Likewise.
3407 (Lstream_get_emchar_1): Likewise.
3408 (Lstream_fput_emchar): Likewise.
3409 (Lstream_funget_emchar): Likewise.
3410 (copy_internal_to_external): Likewise.
3411 (copy_external_to_internal): Likewise.
3413 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3414 (BYTE_C0_P): Likewise.
3415 (BYTE_C1_P): Likewise.
3416 (Lstream_get_emchar_1): Likewise.
3417 (Lstream_fput_emchar): Likewise.
3418 (Lstream_funget_emchar): Likewise.
3419 (copy_internal_to_external): Likewise.
3420 (copy_external_to_internal): Likewise.
3422 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3423 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3425 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3426 (BYTE_ASCII_P): Moved to mb-1byte.h.
3428 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3430 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3432 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3433 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3434 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3435 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3436 (VALIDATE_CHARPTR_FORWARD): Likewise.
3437 (simple_charptr_emchar): Moved to mb-multibyte.h.
3438 (simple_set_charptr_emchar): Likewise.
3439 (simple_charptr_copy_char): Likewise.
3440 (non_ascii_charptr_emchar): Likewise.
3441 (non_ascii_set_charptr_emchar): Likewise.
3442 (non_ascii_charptr_copy_char): Likewise.
3443 (charptr_emchar): Moved to mb-*byte.h.
3444 (set_charptr_emchar): Likewise.
3445 (charptr_copy_char): Likewise.
3447 * mb-1byte.h, mb-multibyte.h: New files.
3449 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3451 * mb-utf-8.h (MULTIBYTE): New macro.
3452 (MAX_EMCHAR_LEN): Moved from buffer.h.
3453 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3455 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3457 * mb-lb.h, multibyte.h: New files.
3459 * char-1byte.h (Charset_ID): Moved from buffer.h.
3460 (MIN_LEADING_BYTE): Likewise.
3461 (LEADING_BYTE_ASCII): Likewise.
3462 (NUM_LEADING_BYTES): Likewise.
3463 (CHARSETP): Likewise.
3464 (CHARSET_BY_LEADING_BYTE): Likewise.
3465 (XCHARSET_LEADING_BYTE): Likewise.
3466 (XCHARSET_GRAPHIC): Likewise.
3467 (XCHARSET_COLUMNS): Likewise.
3468 (XCHARSET_DIMENSION): Likewise.
3469 (CHAR_CHARSET): Likewise.
3470 (CHAR_LEADING_BYTE): Likewise.
3471 (BREAKUP_CHAR): Likewise.
3472 (Vcharset_ascii): Likewise.
3474 * buffer.h: Include multibyte.h unconditionally.
3475 (VALID_CHARPTR_P): Moved to multibyte.h.
3476 (ASSERT_VALID_CHARPTR): Likewise.
3477 (REAL_INC_CHARPTR): Likewise.
3478 (REAL_INC_CHARBYTIND): Likewise.
3479 (REAL_DEC_CHARPTR): Likewise.
3480 (INC_CHARPTR): Likewise.
3481 (INC_CHARBYTIND): Likewise.
3482 (DEC_CHARPTR): Likewise.
3483 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3484 (VALIDATE_CHARPTR_FORWARD): Likewise.
3485 (charptr_n_addr): Likewise.
3486 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3487 (simple_charptr_emchar): Moved to multibyte.h.
3488 (simple_set_charptr_emchar): Likewise.
3489 (simple_charptr_copy_char): Likewise.
3490 (non_ascii_charptr_emchar): Likewise.
3491 (non_ascii_set_charptr_emchar): Likewise.
3492 (non_ascii_charptr_copy_char): Likewise.
3493 (charptr_emchar): Likewise.
3494 (set_charptr_emchar): Likewise.
3495 (charptr_copy_char): Likewise.
3496 (charptr_emchar_n): Likewise.
3497 (Charset_ID): Moved to char-1byte.h.
3498 (Vcharset_ascii): Likewise.
3499 (CHAR_CHARSET): Likewise.
3500 (CHAR_LEADING_BYTE): Likewise.
3501 (LEADING_BYTE_ASCII): Likewise.
3502 (NUM_LEADING_BYTES): Likewise.
3503 (MIN_LEADING_BYTE): Likewise.
3504 (CHARSETP): Likewise.
3505 (CHARSET_BY_LEADING_BYTE): Likewise.
3506 (XCHARSET_LEADING_BYTE): Likewise.
3507 (XCHARSET_GRAPHIC): Likewise.
3508 (XCHARSET_COLUMNS): Likewise.
3509 (XCHARSET_DIMENSION): Likewise.
3510 (BREAKUP_CHAR): Likewise.
3512 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3514 * character.h: Add document about interface for characters.
3516 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3517 (MAKE_CHAR): Delete comment about
3518 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3519 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3520 (BREAKUP_CHAR): Modify name of arguments.
3521 (CHAR_CHARSET): Modify name of argument.
3523 * buffer.h: Delete document about Emchar accessors.
3525 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3527 * character.h (CHAR_INTP): Moved from buffer.h
3528 (CHAR_OR_CHAR_INTP): Likewise.
3529 (XCHAR_OR_CHAR_INT): Likewise.
3530 (CHECK_CHAR_COERCE_INT): Likewise.
3532 * buffer.h (CHAR_INTP): Moved to character.h
3533 (CHAR_OR_CHAR_INTP): Likewise.
3534 (XCHAR_OR_CHAR_INT): Likewise.
3535 (CHECK_CHAR_COERCE_INT): Likewise.
3537 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3540 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3541 - Include char-1byte.h, char-lb.h or char-ucs.h.
3543 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3545 * buffer.h: Include character unconditionally.
3546 (valid_char_p): Moved to char-*.h.
3547 (non_ascii_valid_char_p): Moved to char-lb.h.
3549 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3551 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3553 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3554 in UTF-2000 because it is not ported yet and not to use
3555 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3556 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3557 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3559 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3560 (CHAR_ASCII_P): Moved from character.h.
3562 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3563 (CHAR_ASCII_P): Likewise.
3564 (CHAR_FIELD1_MASK): Deleted.
3565 (CHAR_FIELD2_MASK): Deleted.
3566 (CHAR_FIELD3_MASK): Deleted.
3567 (MAX_CHAR_BASIC_LATIN): New macro.
3568 (CHAR_FIELD1): Deleted.
3569 (CHAR_FIELD2_INTERNAL): Deleted.
3570 (CHAR_FIELD3_INTERNAL): Deleted.
3571 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3572 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3573 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3574 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3575 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3576 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3577 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3578 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3579 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3580 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3581 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3582 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3583 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3584 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3585 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3586 (MIN_CHAR_COMPOSITION): Deleted.
3587 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3588 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3590 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3592 * buffer.h: Include mb-utf-8.h in UTF-2000.
3594 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3596 * mb-utf-8.h: New file.
3598 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3600 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3603 * mule-charset.h, buffer.h (Charset_ID): New type.
3605 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3607 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3608 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3609 instead of `MULE_CHAR_PRIVATE_OFFSET',
3610 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3611 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3612 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3614 * character.h (Vcharset_japanese_jisx0212): New variable
3617 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3619 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3620 (charset_by_attributes): Delete array about direction.
3621 (latin_a_char_to_charset): New variable in UTF-2000.
3622 (latin_a_char_to_byte1): New variable in UTF-2000.
3623 (latin_a_char_to_byte2): New variable in UTF-2000.
3624 (Qucs_bmp): New variable.
3625 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3627 (next_allocated_2_byte_leading_byte): Likewise.
3628 (non_ascii_set_charptr_emchar): Likewise.
3629 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3630 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3631 `charset_by_attributes'.
3632 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3633 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3634 and `CHARSET_BY_LEADING_BYTE'.
3635 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3636 `utf-2000-version' to `vars_of_mule_charset'.
3637 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3638 define `leading-code-private-11' in UTF-2000; move setting of
3639 `utf-2000-version' from `syms_of_mule_charset'.
3640 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3643 * character.h (Charset_ID): New type.
3644 (LEADING_BYTE_UCS_BMP): New macro.
3645 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3646 (CHARSET_ID_OFFSET_94): New macro.
3647 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3648 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3649 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3651 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3652 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3653 (CHARSET_ID_OFFSET_96): New macro.
3654 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3655 CHARSET_ID_OFFSET_96 and final-byte.
3656 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3657 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3658 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3659 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3660 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3661 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3662 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3663 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3664 (LEADING_BYTE_THAI_TIS620): Likewise.
3665 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3666 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3667 (CHARSET_ID_OFFSET_94x94): New macro.
3668 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3669 CHARSET_ID_OFFSET_94x94 and final-byte.
3670 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3671 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3672 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3673 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3674 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3675 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3676 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3677 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3678 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3679 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3680 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3681 (CHARSET_TYPE_128X128): New macro.
3682 (CHARSET_TYPE_256X256): New macro.
3683 (XCHARSET_PRIVATE_P): Delete unconditionally.
3684 (charset_by_attributes): Delete array about direction.
3685 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3686 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3687 (MIN_CHAR_94): New macro.
3688 (MAX_CHAR_94): New macro.
3689 (MIN_CHAR_96): New macro.
3690 (MAX_CHAR_96): New macro.
3691 (MIN_CHAR_94x94): New macro.
3692 (MAX_CHAR_94x94): New macro.
3693 (MIN_CHAR_96x96): New macro.
3694 (MAX_CHAR_96x96): New macro.
3695 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3696 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3697 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3699 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3700 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3701 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3702 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3703 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3704 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3705 `XCHARSET_LEADING_BYTE' to make code-point.
3706 (latin_a_char_to_charset): New variable.
3707 (latin_a_char_to_byte1): New variable.
3708 (latin_a_char_to_byte2): New variable.
3709 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3710 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3711 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3713 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3714 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3715 (find_charsets_in_emchar_string): Likewise.
3716 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3718 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3720 (decode_coding_iso2022): Likewise.
3722 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3725 * redisplay.c (redisplay_text_width_emchar_string): Use
3726 `Charset_ID' instead of `unsigned char'.
3727 (redisplay_frame_text_width_string): Likewise.
3729 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3732 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3733 instead of `unsigned char'.
3734 (face_cachel_charset_font_metric_info): Likewise.
3736 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3737 (get_non_ascii_char_table_value): Likewise.
3738 (get_char_table): Likewise.
3739 (put_char_table): Likewise.
3740 (map_over_other_charset): Likewise.
3741 (map_char_table): Likewise.
3743 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3744 instead of `unsigned char'.
3746 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3748 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3749 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3751 * mule-charset.c (leading_code_private_11): Don't define in
3754 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3755 in UTF-2000 because it is not ported yet and not to use
3756 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3758 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3760 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3762 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3764 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3767 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3768 of unsigned char to store leading-byte.
3770 * chartab.c (get_non_ascii_char_table_value): Don't use
3771 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3773 * file-coding.c (encode_coding_big5): Delete bogus implementation
3776 * character.h (LEADING_BYTE_*): Delete definition for
3778 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3779 (LEADING_BYTE_PREFIX_P): Deleted.
3780 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3781 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3782 (BUFBYTE_LEADING_BYTE_P): Deleted.
3783 (CHARSET_PRIVATE_P): Deleted unconditionally.
3784 (rep_bytes_by_first_byte): Deleted unconditionally.
3785 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3786 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3787 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3788 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3789 (CHAR_FIELD2): Deleted.
3790 (CHAR_FIELD3): Deleted.
3791 (MAKE_CHAR): Delete definition for non-UTF-2000.
3792 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3793 (breakup_char_1): New implementation.
3794 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
3795 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
3797 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3799 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3802 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3804 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3805 (CHARSET_PRIVATE_P): Likewise.
3806 (XCHARSET_PRIVATE_P): Likewise.
3807 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3809 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3811 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3813 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3815 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3816 (NUM_LEADING_BYTES): Changed from 128 to 256.
3817 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3818 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
3820 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3822 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
3824 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
3825 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
3826 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
3827 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
3828 (Qchinese_cns11643_3): New variable in UTF2000.
3829 (Qchinese_cns11643_4): New variable in UTF2000.
3830 (Qchinese_cns11643_5): New variable in UTF2000.
3831 (Qchinese_cns11643_6): New variable in UTF2000.
3832 (Qchinese_cns11643_7): New variable in UTF2000.
3833 (syms_of_mule_charset): Define `chinese-cns11643-3',
3834 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3835 and `chinese-cns11643-7' in UTF2000.
3836 (vars_of_mule_charset): Initialize
3837 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
3839 (complex_vars_of_mule_charset): Setup charset
3840 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
3841 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
3843 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3845 * mule-charset.c: Move setting for `leading-code-private-11' from
3846 `syms_of_mule_charset' to `vars_of_mule_charset'.
3848 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3850 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
3851 and `NUM_LEADING_BYTES' in assert.
3853 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3855 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
3857 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
3858 `NUM_LEADING_BYTES' instead of 128.
3860 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3862 * mule-charset.h (charset_by_leading_byte): Use
3863 `NUM_LEADING_BYTES' instead of 128.
3864 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
3866 * mule-charset.c (charset_by_leading_byte): Use
3867 `NUM_LEADING_BYTES' instead of 128.
3868 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
3870 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
3873 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3875 * mule-charset.c (syms_of_mule_charset): Update to
3878 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3880 * file-coding.c (encode_coding_sjis): New implementation for
3881 UTF2000. (decode_coding_sjis): Ditto.
3883 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3885 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
3886 Don't define in UTF2000.
3888 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
3891 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3892 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
3895 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3897 * config.h.in (CHAR_IS_UCS4): New macro.
3899 * mule-charset.c (rep_bytes_by_first_byte): Modify for
3900 conventional MULE representation.
3901 (syms_of_mule_charset): Update to 0.3 (Imamiya).
3903 * mule-charset.h: Reverted to original.
3905 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3906 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
3907 "mule-charset.h" if CHAR_IS_UCS4 is defined.
3909 * character.h: New file.
3911 * file-coding.c (Fmake_coding_system): Set 1 to
3912 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
3914 (encode_coding_no_conversion): New implementation for UTF2000.
3916 * file-coding.h (struct Lisp_Coding_System): Add new member
3919 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3921 * file-coding.c (decode_coding_iso2022): Code-point arguments of
3922 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
3923 (encode_coding_iso2022): New implementation for UTF2000.
3925 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3927 * mule-canna.c (c2mu): New implementation for UTF2000.
3930 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3932 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
3934 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3936 * file-coding.c (reset_encoding_stream): Set 0 to
3937 `str->iso2022.current_char_boundary' in UTF2000.
3938 (encode_utf8): Don't define in UTF2000.
3939 (encode_coding_utf8): New implementation for UTF-8 representation
3941 (complex_vars_of_file_coding): Define coding-system `utf-8'.
3943 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3945 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
3947 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
3949 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3951 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
3953 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
3954 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
3955 as UTF-8 in UTF2000.
3956 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
3957 (non_ascii_valid_char_p): Don't define in UTF2000.
3958 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
3959 (Lstream_get_emchar_1): Likewise.
3960 (utf-2000-version): New variable in UTF2000.
3962 * lread.c (read_escape): Add new reader `u'.
3964 * insdel.c (three_to_one_table): Don't define in UTF2000.
3965 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
3966 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3968 (bytind_to_bufpos_func): Likewise.
3969 (buffer_mule_signal_inserted_region): Likewise.
3970 (vars_of_insdel): Don't initialize `three_to_one_table'.
3971 (init_buffer_text): Use `buf->text->mule_size' instead of
3972 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3975 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
3976 UTF-8 representation in UTF2000.
3977 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
3978 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
3979 (decode_coding_iso2022): Don't define local variable `lb' in
3980 UTF2000; don't use LEADING_BYTE in UTF2000; use
3981 `DECODE_ADD_UCS_CHAR' in UTF2000.
3982 (convert_to_external_format): Decode as UTF-8 in UTF2000.
3984 * config.h.in (UTF2000): New macro.
3986 * buffer.h (struct buffer_text): Add new member `mule_size' and
3987 don't add `mule_shifter' and `mule_three_p' in UTF2000.
3988 (valid_char_p): Return always 1 in UTF2000.
3989 (MAX_EMCHAR_LEN): 6 in UTF2000.
3990 (three_to_one_table): Don't define in UTF2000.
3991 (real_bufpos_to_bytind): Modify for UTF-8 representation in
3993 (real_bytind_to_bufpos): Likewise.
3995 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
3997 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3999 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4000 representation change.
4001 (Vutf_2000_version): New variable.
4002 (leading_code_private_11): New variable.
4003 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4004 `leading-code-private-11'.
4006 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4007 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4008 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4009 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4010 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4011 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4012 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4013 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4014 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4015 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4016 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4017 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4018 (MIN_CHAR_GREEK): New macro.
4019 (MAX_CHAR_GREEK): New macro.
4020 (MIN_CHAR_CYRILLIC): New macro.
4021 (MAX_CHAR_CYRILLIC): New macro.
4022 (MIN_CHAR_HEBREW): New macro.
4023 (MAX_CHAR_HEBREW): New macro.
4024 (MIN_CHAR_THAI): New macro.
4025 (MAX_CHAR_THAI): New macro.
4026 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4027 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4028 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4029 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4030 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4031 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4032 (CHAR_FIELD2): New inline function.
4033 (CHAR_FIELD3): New inline function.
4034 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4035 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4036 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4037 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4038 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4039 (MIN_CHAR_COMPOSITION): Likewise.
4040 (CHAR_LEADING_BYTE): Modified for character representation change.
4041 (MAKE_CHAR): Likewise.
4043 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4044 (Vcharset_greek_iso8859_7): Likewise.
4045 (Vcharset_cyrillic_iso8859_5): Likewise.
4046 (Vcharset_hebrew_iso8859_8): Likewise.
4047 (Vcharset_thai_tis620): Likewise.
4048 (Vcharset_katakana_jisx0201): Likewise.
4050 2001-02-08 Martin Buchholz <martin@xemacs.org>
4052 * XEmacs 21.2.44 "Thalia" is released.
4054 2001-02-06 Martin Buchholz <martin@xemacs.org>
4056 Fixes crashes in kill-emacs on some systems.
4057 * process-unix.c (unix_kill_child_process):
4058 It's OK for kill() to fail with ESRCH.
4060 2001-02-07 Martin Buchholz <martin@xemacs.org>
4062 Contortions to make .gdbinit tricks work on most systems.
4063 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
4064 * alloc.c (dbg_valmask): Make non-const.
4065 * alloc.c (dbg_typemask): Make non-const.
4066 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
4067 * alloc.c (dbg_valbits): Make non-const.
4068 * alloc.c (dbg_gctypebits): Make non-const.
4069 * .gdbinit (decode_object): Make it work with AIX cc.
4071 2001-02-06 Martin Buchholz <martin@xemacs.org>
4073 * elhash.c (make_general_lisp_hash_table):
4074 Use simpler and more efficient calloc to clear entries.
4076 2001-02-07 Martin Buchholz <martin@xemacs.org>
4078 * window.c (window_scroll): Work around an AIX C compiler bug.
4079 Fixes 'scroll-up' does nothing problem with xlC.
4081 2001-02-05 Martin Buchholz <martin@xemacs.org>
4083 * .gdbinit: Remove obsolete comment.
4085 2001-01-31 Mike Alexander <mta@arbortext.com>
4087 * select.c (Fown_selection_internal): Set owned_p for device
4090 2001-02-01 Martin Buchholz <martin@xemacs.org>
4093 "not" cannot be used as a macro name as it is an operator in C++
4094 * config.h.in: Stop #defining `not'.
4095 * chartab.c (check_category_char): not ==> not_p
4096 * chartab.h: Likewise.
4097 * regex.c (re_match_2_internal): Likewise.
4099 2001-02-02 Martin Buchholz <martin@xemacs.org>
4101 * lisp-disunion.h: Fix up comments.
4103 2001-01-31 Martin Buchholz <martin@xemacs.org>
4105 * keymap.c (define_key_check_and_coerce_keysym):
4107 Support mouse-6 and mouse-7 bindings in the obvious way.
4109 2001-02-01 Martin Buchholz <martin@xemacs.org>
4111 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
4113 2001-01-30 Martin Buchholz <martin@xemacs.org>
4115 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
4116 Previous patch missed DEFVAR_INT_MAGIC.
4117 Make sure future DEFVAR_foo use correct types.
4118 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
4119 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
4120 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
4121 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
4122 * (DEFVAR_INT): Likewise.
4123 * redisplay.c (vertical_clip): Should be of type Fixnum.
4124 * redisplay.c (horizontal_clip): Likewise.
4125 * lisp.h (dump_add_opaque_int): New.
4126 (dump_add_opaque_fixnum): New.
4128 2001-01-29 Andy Piper <andy@xemacs.org>
4130 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4131 since they can be eval'ed
4133 2001-01-29 Martin Buchholz <martin@xemacs.org>
4135 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4136 Oops, XEmacs redefines `class'. Use `typename' instead.
4138 2001-01-28 Martin Buchholz <martin@xemacs.org>
4140 * dumper.c: Fix C++ compile errors.
4142 2001-01-29 Martin Buchholz <martin@xemacs.org>
4144 * tparam.c: Use correct prototypes.
4146 2001-01-28 Martin Buchholz <martin@xemacs.org>
4148 * sysproc.h: #include util.h for NetBSD's openpty.
4150 2001-01-27 Martin Buchholz <martin@xemacs.org>
4152 More 64-bit correctness.
4153 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4154 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4156 This finally finishes the 64-bit SGI port.
4157 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4158 * symbols.c: Fix up comments and type casts.
4159 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4160 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4161 * symeval.h (Fixnum): New type.
4162 * symeval.h (symbol_value_type): Fix up comment.
4178 * mule-canna.c: A million DEFVAR_INTs here...
4179 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4192 s/int/Fixnum/g in DEFVAR_INT declarations.
4194 2001-01-26 Martin Buchholz <martin@xemacs.org>
4196 Port pdump to SGI alignment-sensitive environment.
4197 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4198 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4200 Define and use aligned reading and writing macros.
4201 Use buffered stdio instead of posix i/o for faster dumping.
4202 Eliminate kludgy 256 byte space for header.
4203 Read and write from dump file using structs for alignment safety.
4204 * dumper.c (pdump_align_stream): New.
4205 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4206 * dumper.c (PDUMP_READ_ALIGNED): New.
4207 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4208 * dumper.c (pdump_static_Lisp_Object): New struct.
4209 * dumper.c (pdump_static_pointer): New struct.
4210 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4211 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4212 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4213 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4215 * dumper.c (pdump_backtrace):
4216 * dumper.c (pdump_get_indirect_count):
4217 * dumper.c (pdump_register_object):
4218 * dumper.c (pdump_register_struct):
4219 * dumper.c (pdump_reloc_one):
4220 * dumper.c (pdump_scan_by_alignment):
4221 * dumper.c (pdump_dump_from_root_struct_ptrs):
4222 * dumper.c (pdump_dump_opaques):
4223 * dumper.c (pdump_dump_rtables):
4224 * dumper.c (pdump_dump_from_root_objects):
4226 * dumper.c (pdump_load_finish):
4227 Use aligned reading and writing.
4229 * dumper.c (pdump_free): Make static.
4230 * dumper.c (pdump_hFile): Likewise.
4231 * dumper.c (pdump_hMap): Likewise.
4233 2001-01-26 Martin Buchholz <martin@xemacs.org>
4235 * XEmacs 21.2.43 "Terspichore" is released.
4237 2001-01-25 Martin Buchholz <martin@xemacs.org>
4239 Type fiddling for window_config.saved_windows_count
4240 * window.c (struct window_config):
4241 Make saved_windows_count member unsigned.
4242 * window.c (sizeof_window_config_for_n_windows):
4243 Make parameter unsigned.
4244 * window.c (mark_window_config):
4245 * window.c (window_config_equal):
4246 * window.c (free_window_configuration):
4247 * window.c (Fset_window_configuration):
4248 * window.c (count_windows):
4249 * window.c (Fcurrent_window_configuration):
4250 * window.c (reinit_vars_of_window):
4251 Update all callers and users.
4253 2001-01-25 Martin Buchholz <martin@xemacs.org>
4255 Alignment correctness for flexible arrays.
4256 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4257 Make alignment-correct. Add interesting comments.
4258 * alloc.c (size_vector):
4259 * alloc.c (make_vector_internal):
4260 * alloc.c (make_bit_vector_internal):
4261 * alloc.c (sweep_bit_vectors_1):
4262 * fns.c (size_bit_vector):
4263 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4264 * window.c (sizeof_window_config_for_n_windows):
4265 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4267 2001-01-24 Martin Buchholz <martin@xemacs.org>
4269 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4271 2001-01-23 Andy Piper <andy@xemacs.org>
4273 * select.c (Fown_selection_internal): pass owned_p
4275 * select-msw.c (mswindows_own_selection): New Signature.
4277 * console.h (struct console_methods): add owned_p to
4280 * select-x.c (x_own_selection): pass owned_p
4281 (hack_motif_clipboard_selection): use owned_p
4282 (vars_of_select_x): new variable -
4283 x_selection_strict_motif_ownership.
4285 2001-01-23 Martin Buchholz <martin@xemacs.org>
4287 * specifier.h (specifier_data_offset): Remove pointless parens.
4288 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4290 2001-01-24 Martin Buchholz <martin@xemacs.org>
4292 Make Lisp_Object sizeof methods be alignment-correct.
4293 pdump must restore objects to the same alignment as the C compiler
4294 assumes. It really matters on SGIs.
4295 * lstream.c (aligned_sizeof_lstream): New.
4296 (sizeof_lstream): Use aligned_sizeof_lstream.
4297 (Lstream_new): Likewise.
4298 * opaque.c (aligned_sizeof_opaque): New.
4299 (sizeof_opaque): Use aligned_sizeof_opaque.
4300 (make_opaque): Likewise.
4301 * specifier.c (aligned_sizeof_specifier): New.
4302 (sizeof_specifier): Use aligned_sizeof_specifier.
4303 (make_specifier_internal): Likewise.
4305 2001-01-23 Martin Buchholz <martin@xemacs.org>
4307 * lstream.h (struct lstream): Use max_align_t for trailing data.
4308 * specifier.h (struct Lisp_Specifier): Likewise.
4310 2001-01-22 Martin Buchholz <martin@xemacs.org>
4312 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4313 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4314 (CCL_SUSPEND): Likewise.
4315 (CCL_INVALID_CMD): Likewise.
4316 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4317 (ccl_driver): Likewise.
4318 (CCL_WRITE_CHAR): Macro hygiene.
4319 (CCL_WRITE_STRING): Macro hygiene.
4321 2001-01-22 Martin Buchholz <martin@xemacs.org>
4323 Port "portable" dumper to SunOS 4 and HP-UX.
4324 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4325 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4326 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4328 2001-01-22 Martin Buchholz <martin@xemacs.org>
4330 * lisp.h (ALIGNOF): A better definition for C++.
4332 2001-01-20 Martin Buchholz <martin@xemacs.org>
4335 Fix printf warnings: int format, long int arg.
4336 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4337 (PUSH_FAILURE_POINT): Use correct printf formats.
4338 (POP_FAILURE_POINT): Use correct printf formats.
4339 Use do {...} while (0)
4341 2001-01-20 Martin Buchholz <martin@xemacs.org>
4343 * XEmacs 21.2.42 "Poseidon" is released.
4345 2001-01-20 Martin Buchholz <martin@xemacs.org>
4347 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4349 2001-01-19 Martin Buchholz <martin@xemacs.org>
4351 De-kludgify FIXED_TYPE free list frobbing.
4352 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4353 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4354 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4355 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4356 * alloc.c (LRECORD_FREE_P): New.
4357 * alloc.c (MARK_LRECORD_AS_FREE): New.
4358 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4359 * alloc.c (STRUCT_FREE_P): Deleted.
4360 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4361 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4362 * alloc.c (STRING_CHARS_FREE_P): New.
4363 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4364 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4365 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4366 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4367 * alloc.c (resize_string): Use new definitions.
4368 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4369 * alloc.c (verify_string_chars_integrity): Use new definitions.
4370 * alloc.c (compact_string_chars): Use new definitions.
4371 * alloc.c: Update monster comments.
4372 * lrecord.h (lrecord_type): Add some new lrecord types for
4375 2001-01-18 Martin Buchholz <martin@xemacs.org>
4377 Improve alignment hackery.
4378 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4379 (max_align_t): Moved from opaque.h - general purpose.
4380 (ALIGN_PTR): Use size_t, not long.
4381 * opaque.h (max_align_t): Move to lisp.h.
4383 2001-01-18 Norbert Koch <nk@LF.net>
4385 * gui.h: Fix and add prototypes to fix build problems.
4387 2001-01-18 Martin Buchholz <martin@xemacs.org>
4389 temacs is going away, so `dump-temacs' is now a bad name.
4390 * .dbxrc (dump-temacs): Rename to `dmp'.
4391 * .gdbinit (dump-temacs): Rename to `dmp'.
4393 2001-01-17 Andy Piper <andy@xemacs.org>
4395 * glyphs.c (print_image_instance): comment to make martin happy.
4397 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4400 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4402 (mswindows_tab_control_redisplay): warning suppression.
4404 * glyphs-widget.c (widget_update): re-write to cope with updated
4406 (widget_instantiate): use new gui_item functions.
4407 (tab_control_update): deleted.
4408 (progress_gauge_update): deleted.
4409 (image_instantiator_progress_guage): take out update reference.
4410 (image_instantiator_tree_view): ditto.
4411 (image_instantiator_tab_control): ditto.
4413 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4415 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4416 return whether anything was changed.
4417 (update_gui_item_keywords): as it sounds.
4419 * gui.h: declare widget_gui_parse_item_keywords.
4421 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4422 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4424 2001-01-17 Martin Buchholz <martin@xemacs.org>
4426 * XEmacs 21.2.41 "Polyhymnia" is released.
4428 2001-01-16 Didier Verna <didier@xemacs.org>
4430 * glyphs.c (image_instantiate): don't use fallbacks when
4431 instantiating a face's background pixmap by inheritance.
4433 2001-01-14 Mike Sperber <mike@xemacs.org>
4435 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4436 Conditionalize accordingly.
4438 2001-01-16 Martin Buchholz <martin@xemacs.org>
4440 * dumper.c (pdump_file_get): Fix a compiler warning.
4442 2001-01-15 Martin Buchholz <martin@xemacs.org>
4444 Make Purify happy when pdumping.
4445 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4446 iniitalizing all bits of new lisp object memory.
4447 * symbols.c (Fmake_local_variable): Likewise.
4448 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4449 * symbols.c (Fdefvaralias): Likewise.
4450 * mule-charset.c (vars_of_mule_charset): Likewise.
4452 2001-01-15 Martin Buchholz <martin@xemacs.org>
4453 Add the `-nd' flag when running pre-dump operations under the debugger.
4454 * .dbxrc (run-temacs): Add `-nd'.
4455 * .dbxrc (update-elc): Likewise.
4456 * .dbxrc (dump-temacs): Likewise.
4457 * .gdbinit (run-temacs): Likewise.
4458 * .gdbinit (check-temacs): Likewise.
4459 * .gdbinit (update-elc): Likewise.
4460 * .gdbinit (dump-temacs): Likewise.
4462 2001-01-14 Martin Buchholz <martin@xemacs.org>
4464 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4465 export OBJECT_MODE=64
4466 configure --pdump --use-union-type=no
4467 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4468 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4470 * miscplay.c (sndcnv8U_2mono):
4471 Avoid two uses of `++' in the same expression.
4472 Suppresses a GCC warning.
4474 2001-01-13 Martin Buchholz <martin@xemacs.org>
4476 Make sure future compilers don't miscompile alloc.c.
4478 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4479 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4481 2001-01-12 Martin Buchholz <martin@xemacs.org>
4483 * dumper.c: A little post-pdump-rename comment fixup.
4485 2001-01-09 Jerry James <james@eecs.ku.edu>
4487 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4489 2001-01-13 Martin Buchholz <martin@xemacs.org>
4491 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4495 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4498 replace_symbol pdump_wire_lists pdump_weak_object_chains
4499 replace_symbol pdump_wire_list dump_add_weak_object_chain
4501 replace_symbol pdump_wires pdump_root_objects
4502 replace_symbol pdump_wire dump_add_root_object
4504 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4505 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4507 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4508 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4509 replace_symbol dumpstructinfo pdump_root_struct_ptr
4510 replace_symbol dumpstruct dump_add_root_struct_ptr
4512 replace_symbol dumpopaque dump_add_opaque
4513 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4514 replace_symbol dumpopaqueinfos pdump_opaques
4515 replace_symbol dumpopaqueinfo pdump_opaque
4517 replace_symbol nb_structdump nb_root_struct_ptrs
4518 replace_symbol nb_opaquedump nb_opaques
4520 replace_symbol align_table pdump_align_table
4521 replace_symbol dump_header pdump_header
4523 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4524 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4527 2001-01-12 Martin Buchholz <martin@xemacs.org>
4529 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4530 optimizing bytecount_to_charcount().
4532 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4535 (HAVE_DLFCN_H): Removed.
4536 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4538 2001-01-06 Martin Buchholz <martin@xemacs.org>
4540 Portable dumper maintainability improvements.
4541 * alloc.c (staticpro):
4542 * alloc.c (staticpro_nodump):
4543 * alloc.c (garbage_collect_1):
4544 * alloc.c (reinit_alloc_once_early):
4545 * alloc.c (init_alloc_once_early):
4546 * alloc.c: Move dumper functions to alloc.c.
4547 * dumper.c (pdump_backtrace):
4548 * dumper.c (pdump_dump_structs):
4549 * dumper.c (pdump_dump_opaques):
4550 * dumper.c (pdump_dump_rtables):
4551 * dumper.c (pdump_dump_wired):
4553 * dumper.c (pdump_load_check):
4554 * dumper.c (pdump_load_finish):
4555 * dumper.c (pdump_file_unmap):
4556 * dumper.c (pdump_file_get):
4557 * dumper.c (pdump_resource_free):
4558 * dumper.c (pdump_resource_get):
4559 * dumper.c (pdump_file_free):
4560 * dumper.c (pdump_file_try):
4561 * dumper.c (pdump_load):
4562 Remove fixed size limits on staticpro(), staticpro_nodump(),
4563 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4564 Remove custom code for dumping lrecord_implementations_table - use
4566 Remove (most of the) custom code for dumping staticpros - dump it
4567 like any other dynarr.
4569 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4570 * dumper.c: Moved functions from alloc.c.
4571 * alloc.c (dumpstruct): Moved to dumper.c.
4572 * alloc.c (dumpopaque): Likewise.
4573 * alloc.c (pdump_wire): Likewise.
4574 * alloc.c (pdump_wire_list): Likewise.
4576 * lisp.h (Dynarr_sizeof): New.
4577 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4578 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4579 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4581 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4582 * lisp.h (dumpopaque): ditto.
4583 * lisp.h (pdump_wire): ditto.
4584 * lisp.h (pdump_wire_list): ditto.
4586 2001-01-09 Martin Buchholz <martin@xemacs.org>
4588 * make-src-depend (PrintPatternDeps):
4589 Use `sort' to make output independent of perl version.
4591 2001-01-08 Martin Buchholz <martin@xemacs.org>
4594 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4595 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4597 2001-01-03 Didier Verna <didier@xemacs.org>
4599 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4600 that `focus_frame' is alive before thinking of calling
4601 `redisplay_redraw_cursor' on it.
4603 2001-01-08 Martin Buchholz <martin@xemacs.org>
4605 * XEmacs 21.2.40 is released.
4607 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4609 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4611 2001-01-06 Martin Buchholz <martin@xemacs.org>
4613 * alloc.c (dbg_valmask): Make const.
4614 * alloc.c (dbg_typemask): Make const.
4615 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4616 * alloc.c (dbg_valbits): Make const.
4617 * alloc.c (dbg_gctypebits): Make const.
4619 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4621 * redisplay-x.c (x_bevel_area):
4622 redisplay.h (struct rune):
4623 Typo fixes in comments.
4625 2001-01-05 Andy Piper <andy@xemacs.org>
4627 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4630 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4632 2001-01-05 Martin Buchholz <martin@xemacs.org>
4634 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4636 * mule-ccl.c (stack_idx_of_map_multiple):
4637 Non const global data must not be initialized!
4638 Found by MIYASHITA Hisashi.
4640 2001-01-02 Andy Piper <andy@xemacs.org>
4642 * frame.c (change_frame_size): make sure frame size is always
4645 * glyphs.c (image_instance_layout): minor code reuse.
4647 * window.c (Fcurrent_window_configuration): revert previous
4650 2001-01-02 Martin Buchholz <martin@xemacs.org>
4653 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4655 2000-12-31 Andy Piper <andy@xemacs.org>
4657 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4658 when widget gets unmapped.
4660 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4661 function. Make sure widgets losing focus don't just drop it.
4662 (handle_focus_event_1): record the widget with focus.
4664 2000-12-31 Andy Piper <andy@xemacs.org>
4666 * window.c (allocate_window): use
4667 make_image_instance_cache_hash_table.
4668 (make_dummy_parent): ditto.
4669 (Fset_window_configuration): ditto.
4671 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4673 * glyphs.c (process_image_string_instantiator): use
4675 (get_image_instantiator_governing_domain): ditto.
4676 (normalize_image_instantiator): ditto.
4677 (instantiate_image_instantiator): ditto.
4678 (make_image_instance_1): ditto.
4679 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4680 (instantiator_eq_equal): new function for use with instance hash
4682 (instantiator_eq_hash): ditto.
4683 (make_image_instance_cache_hash_table): create a suitable hash
4684 table for storing image instances.
4686 * elhash.h (hash_table_weakness): new internal weakness type
4687 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4688 declare new functions.
4690 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4691 another weakness type for glyphs.
4692 (make_standard_lisp_hash_table): new function split out from
4693 make_general_lisp_hash_table.
4694 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4695 (hash_table_instantiate): ditto.
4696 (Fmake_hash_table): ditto.
4698 2000-12-31 Martin Buchholz <martin@xemacs.org>
4700 * XEmacs 21.2.39 is released.
4702 2000-12-29 Andy Piper <andy@xemacs.org>
4704 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4706 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4707 the frame has changed so that we pick up geometry changes such as
4710 2000-12-28 Andy Piper <andy@xemacs.org>
4712 * lastfile.c (my_ebss): make a char array so we can pad the
4713 bss. Fixes cygwin unexec.
4715 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4717 2000-12-26 Andy Piper <andy@xemacs.org>
4719 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
4720 comments and try and be more precise about a non-/SIGIO world.
4721 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
4724 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
4725 we don't normalize to zero width or height.
4727 2000-12-24 Andy Piper <andy@xemacs.org>
4729 * Makefile.in.in (ldflags): add -mwindows when appropriate.
4731 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
4733 * s/sco5.h: SCO 5 has pty support.
4735 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
4737 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
4738 input-method-xlib.c contains whole contents of input-method-xfs.c,
4739 so we can use input-method-xlib.c's code for USE_XFONTSET
4741 * input-method-xfs.c: removed.
4743 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
4745 * file-coding.h (enum coding_category_type): reorder enumerators to
4746 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
4747 (now one greater than largest real coding_category_type enumerator).
4748 * file-coding.c (coding_category_symbol, coding_category_by_priority,
4749 coding_category_system, fcd_descriptihon_1, decode_coding_category,
4750 Fcoding_category_list, Fset_coding_priority_list,
4751 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
4752 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
4754 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4756 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
4757 * redisplay-output.c (redisplay_output_window): Clear top of window
4758 when face is changed.
4759 * redisplay-x.c (x_redraw_exposed_window): Call
4760 redisplay_clear_top_of_window.
4761 * redisplay.h: Publish redisplay_clear_top_of_window.
4763 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4765 * buffer.c (Fkill_buffer): Map over all devices.
4766 * window.c (window_loop): Remove UNSHOW_BUFFER code.
4767 (list_windows): New function.
4768 (list_all_windows): Ditto.
4769 (Freplace_buffer_in_windows): Use them.
4771 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4773 * database.c (berkdb_subtype): Recognize new subtype `queue'.
4774 (Fopen_database): Use `db_create' instead of `db_open'.
4775 (syms_of_database): Initialize Qqueue.
4777 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4779 * buffer.c (common_init_complex_vars_of_buffer): Initialize
4780 buffer_local_face_property.
4781 * buffer.h (struct buffer): New member buffer_local_face_property.
4782 * window.c (Fset_window_buffer): Mark window's face as changed
4783 when buffer has buffer local face.
4784 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
4785 * objects.c (color_after_change): Set buffer_local_face_property
4786 when locale of face specifier is buffer.
4787 * objects.c (font_after_change): Ditto.
4788 * objects.c (face_boolean_after_change): Ditto.
4789 * glyphs.c (image_after_change): Ditto.
4791 2000-12-09 Dan Holmsand <dan@eyebee.com>
4793 * nt.c (mswindows_fstat): Report file permissions, volume serial
4794 number, etc. Code adapted from FSF Emacs 20.7.
4796 2000-12-09 Dan Holmsand <dan@eyebee.com>
4798 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
4799 of stat when we don't have symbolic links, to make sure
4800 mswindows_stat is called on mswindows.
4802 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
4804 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
4806 2000-12-12 Martin Buchholz <martin@xemacs.org>
4808 * doprnt.c (emacs_doprnt_1): More printing fixes.
4809 Make printing of numbers compatible with libc and FSF Emacs.
4810 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
4811 Use the system printf to do most of the hard work of formatting,
4812 instead of doprnt_1().
4813 Calculate memory to allocate for format string.
4814 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
4815 (doprnt_1): Cleaner code and documentation.
4817 2000-12-01 Jerry James <james@eecs.ukans.edu>
4819 * Makefile.in.in: Use the loop variable to install headers.
4821 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4823 * window.c (Fsplit_window): Don't invalidate face cache.
4825 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4827 * minibuf.c (Fall_completions): Undo the previous change
4828 which removed checking elements start with space.
4830 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4832 * mule-canna.c: Didier suppression.
4834 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4836 * mule-canna.c: rename static unsigned char buf[] to key_buffer
4837 (warning suppression). Add English comment translations.
4839 2000-12-05 Martin Buchholz <martin@xemacs.org>
4841 * unexelfsgi.c (unexec): Better test for mmap failure.
4843 2000-12-05 Martin Buchholz <martin@xemacs.org>
4845 * XEmacs 21.2.38 is released.
4847 2000-12-05 Martin Buchholz <martin@xemacs.org>
4849 * redisplay.c (bar-cursor): Make a user variable.
4851 * symsinit.h: Add init_postgresql_from_environment.
4853 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4855 * regex.c: Convert to clean C.
4857 2000-12-05 Dan Holmsand <dan@eyebee.com>
4860 Don't #include sysfile.h. Revert to duplicating PATH_MAX
4862 (sys_readlink): renamed to system_readlink to avoid conflict with
4863 the other sys_readlink.
4865 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
4867 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
4869 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
4871 * postgresql.c (init_postgresql_from_environment): new function.
4872 (vars_of_postgresql): Move code initializing Lisp variables out and
4873 into init_postgresql_from_environment.
4874 emacs.c (main_1): Call init_postgresql_from_environment if and only
4875 if running a dumped XEmacs.
4877 2000-08-31 Dan Holmsand <dan@eyebee.com>
4879 * buffer.c: Make find-file-compare-truenames default to true on
4882 * realpath.c (win32_abs_start):
4884 (win32_readlink): New functions.
4885 (xrealpath): Return really real filenames on windows.
4887 * fileio.c (Ffile_truename): Make file-truename work on windows.
4889 2000-11-29 Didier Verna <didier@xemacs.org>
4891 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
4892 * faces.c (update_face_cachel_data): use it.
4893 * faces.c (add_face_cachel): use it. Complete background pixmap
4894 frobbing in face cache if `update_face_cachel_data' has not done so.
4896 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
4898 * search.c (string_match_1): Don't set last_thing_searched
4901 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
4903 * buffer.c: Include casetab.h
4904 (common_init_complex_vars_of_buffer): Use new case-table object.
4905 * buffer.h: Include casetab.h
4906 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
4907 (DOWNCASE_TABLE_OF): Ditto.
4908 * bufslots.h: Remove char-tables and add case-table.
4909 * casetab.c: Include casetab.h
4910 (CASE_TABLE_P): Removed.
4911 (mark_case_table): New function.
4912 (allocate_case_table): New function.
4913 (Fcase_table_p): Use new case-table.
4914 (case_table_char): New function.
4915 (Fget_case_table): Ditto.
4916 (Fput_case_table): Ditto.
4917 (Fput_case_table_pair): Ditto.
4918 (Fcopy_case_table): Ditto.
4919 (Fcurrent_case_table): Return case-table.
4920 (Fstandard_case_table): Return case-table.
4921 (Fset_case_table): Fix doc-string.
4922 (set_case_table): Use case-table
4923 (syms_of_casetab): DEFSUBR new functions.
4924 (complex_vars_of_casetab): Set up standard case-table.
4925 * casetab.h: New file.
4926 * editfns.c: Include casetab.h
4927 (Fcompare_buffer_substrings): Use case-table.
4928 * inline.c: Include casetab.h
4929 * lisp.h: Remove bogus extern.
4930 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
4931 * search.c: Include casetab.h
4932 (TRANSLATE_ASCII): Removed.
4933 (TRANSLATE): Unconditionally translate character.
4934 (looking_at_1): Use case-table.
4935 (string_match_1): Ditto.
4936 (fast_string_match): Ditto.
4937 (search_command): Ditto.
4938 (search_buffer): Separate boyer_moore. Check whether
4939 boyer_moore is possible.
4940 (simple_search): New function.
4941 (boyer_moore): Separated from search_buffer. Translate char.
4943 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
4945 * regex.c (RE_TR_ASCII): Removed.
4946 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
4947 (PATFETCH): Call PATFETCH_RAW.
4948 (PATFETCH_RAW): Fetch Emchar.
4949 (PATUNFETCH): Decrement charptr.
4950 (GET_BUFFER_SPACE): Rename b to buf_end.
4952 (BUF_PUSH_2): Ditto.
4953 (BUF_PUSH_3): Ditto.
4954 (EXTEND_BUFFER): Ditto.
4955 (SET_LIST_BIT): Ditto.
4956 (regex_compile): Ditto. Translate non ASCII char.
4957 (compile_range): Ditto.
4958 (re_search_2): Ditto.
4959 (re_match_2_internal): Compare Emchar.
4960 (bcmp_translate): Ditto.
4962 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
4964 * lisp.h (basic char/int typedefs): comment improvement.
4966 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
4968 * emacs.c (main_1): unconditional pdump unstomping; don't save and
4969 unstomp inhibit_site_lisp. Improve comments.
4971 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
4973 * mule-charset.c (Fcharset_property): improve type checking, comments.
4975 2000-11-28 Andy Piper <andy@xemacs.org>
4977 * redisplay-output.c (redisplay_output_subwindow): make sure we do
4978 clipped display for windows in the gutter also.
4979 (redisplay_display_boxes_in_window_p): change semantics of return
4980 codes to be more intuitive.
4982 * gutter.h: declare display_boxes_in_gutter_p.
4984 * gutter.c (display_boxes_in_gutter_p): new function for
4987 2000-11-22 Andy Piper <andy@xemacs.org>
4989 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
4992 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
4994 * callproc.c (Fold_call_process_internal):
4995 * gpm.c (Freceive_gpm_event):
4996 (tty_get_foreign_selection): Might be just warning supression.
4997 * fileio.c (Fwrite_region_internal):
4998 (Fset_visited_file_modtime):
4999 * keymap.c (event_matches_key_specifier_p):
5000 Initialize GCPROed variable.
5002 * menubar-x.c (command_builder_find_menu_accelerator):
5003 Initialize before use.
5005 2000-11-23 Andy Piper <andy@xemacs.org>
5007 * unexcw.c (unexec): make the resulting executable executable.
5009 2000-11-21 Martin Buchholz <martin@xemacs.org>
5011 * doc.c (get_doc_string):
5012 Use size_t, not int, for result of XSTRING_LENGTH.
5014 * cmds.c (Fdelete_char):
5015 * cmds.c (Fpoint_at_eol):
5016 * cmds.c (Fself_insert_command):
5017 Use EMACS_INT, not int, for result of XINT.
5018 Someday, someone will want to insert more than 2**31 identical characters.
5020 * cmds.c (Fdelete_char):
5021 * cmds.c (Fdelete_backward_char):
5022 * syntax.c (Fforward_word):
5023 * syntax.c (Fforward_comment):
5024 Make COUNT argument optional, for consistency with forward-char et al.
5026 2000-11-22 Martin Buchholz <martin@xemacs.org>
5029 * print.c (long_to_string):
5030 Return a useful value: the pointer at end of data written.
5033 Use `static const char * const' for constant strings.
5034 (union printf_arg): Delete `i', `ui' members.
5037 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
5038 Do all printf-ing via the `l' specifier.
5039 Use EMACS_INT instead of int.
5042 2000-11-20 Didier Verna <didier@xemacs.org>
5044 * faces.c (update_face_cachel_data): don't frob the background
5045 pixmap when the window is being created. The face is needed but
5048 2000-11-20 Andy Piper <andy@xemacs.org>
5050 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
5051 messing with a debug environment.
5053 2000-11-20 Martin Buchholz <martin@xemacs.org>
5055 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
5057 2000-11-20 Martin Buchholz <martin@xemacs.org>
5059 * casetab.c (Fcase_table_p): Fix compile error and crash.
5061 2000-11-18 Philip Aston <philipa@mail.com>
5063 * s/cygwin32.h: Cygwin has SVR4-like pty support.
5065 2000-11-18 Martin Buchholz <martin@xemacs.org>
5067 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
5068 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
5070 2000-11-17 Martin Buchholz <martin@xemacs.org>
5072 * config.h.in: Define HAVE_ELF_H if elf.h exists.
5073 * unexelf.c: Use HAVE_ELF_H.
5074 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
5075 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
5076 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
5077 Greg Harrington <greg_harrington@hotmail.com> provided a machine
5079 So this is an unexelfsgi.c from a different line of development.
5081 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5083 * regex.c (RE_TR_ASCII): New function.
5084 (RE_TRANSLATE): Call it.
5086 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5088 * buffer.h (TRT_TABLE_OF): Remove assert.
5089 (IN_TRT_TABLE_DOMAIN): Removed.
5091 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
5093 * free-hook.c (log_gcpro):
5094 (show_gcprohist): Add support for GCPRO5.
5096 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
5098 * emacs.c (main_1): Improve -sd error message when --pdump=no.
5100 2000-11-16 Olivier Galibert <galibert@xemacs.org>
5102 * symeval.h: Declare flush_all_buffer_local_cache.
5104 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
5105 (flush_buffer_local_cache): Added.
5106 (flush_all_buffer_local_cache): Added.
5108 * lrecord.h: Remove unused XD_LO_RESET_NIL.
5110 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
5111 (pdump_dump_data): Ditto.
5112 (pdump_reloc_one): Ditto.
5113 (pdump): Remove unused pdump_qnil. Flush buffer local caches
5117 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5119 * buffer.c: Remove if 0'ed entry.
5120 * buffer.h: Rewrite TRT to use char-table.
5121 * bufslots.h: Remove mirror tables.
5122 * casetab.c: Remove mirror tables.
5123 (CASE_TABLE_P): New macro.
5124 (Fcase_table_p): Element of a case table is string or char-table.
5125 (make_mirror_trt_table): Removed.
5126 (set_case_table): Setup char-table from strings for backward
5128 * dired.c (Fdirectory_files):
5129 * dired-msw.c: (mswindows_get_files):
5130 * lisp.h: Change prototype of re_pattern_buffer.
5131 * regex.c: (RE_TRANSLATE): New macro.
5132 (TRANSLATE_P): Ditto.
5133 Change translate to type RE_TRANSLATE_TYPE.
5134 * regex.h: Define RE_TRANSLATE_TYPE
5135 * search.c (TRANSLATE): New macro.
5136 (TRANSLATE_ASCII): New macro.
5137 Translate table is changed to Lisp_Object.
5138 (signal_failure): Inhibit return.
5140 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5147 Do UNGCPRO before return.
5149 2000-11-14 Martin Buchholz <martin@xemacs.org>
5151 * XEmacs 21.2.37 is released.
5153 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5155 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5156 Add comments about discarded return value.
5158 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5161 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5163 2000-10-27 Andy Piper <andy@xemacs.org>
5165 * gutter.c (Fset_default_gutter_position): default left and right
5167 (calculate_gutter_size): calculate resonable heuristic for left
5168 and right gutter sizes.
5169 (specifier_vars_of_gutter): change left and right gutter sizes to
5171 (calculate_gutter_size_from_display_lines): new function.
5172 (output_gutter): check for resizing on left and right gutters.
5173 (clear_gutter): don't special case top and left gutters.
5174 (specifier_vars_of_gutter): use new signature for
5175 set_specifier_caching.
5177 * glyphs-x.c (x_redisplay_widget): spelling fix.
5178 * glyphs.c (specifier_vars_of_glyphs):
5179 * menubar.c (specifier_vars_of_menubar):
5180 * redisplay.c (specifier_vars_of_redisplay):
5181 * toolbar.c (specifier_vars_of_toolbar):
5182 * window.c (specifier_vars_of_window):
5183 * scrollbar.c (specifier_vars_of_scrollbar):
5184 (complex_vars_of_scrollbar): use new signature for
5185 set_specifier_caching.
5187 * specifier.c (set_specifier_caching): include recompute flag.
5188 (recompute_one_cached_specifier_in_window): always recompute if
5190 (recompute_one_cached_specifier_in_frame): ditto.
5192 * specifier.h (struct specifier_caching): add recompute flag.
5194 2000-10-24 Andy Piper <andy@xemacs.org>
5196 * unexcw.c (copy_executable_and_dump_data_section): add new
5197 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5200 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5202 * console-x.h (x_device): New member modifier_release_time.
5203 * event-Xt.c (x_handle_sticky_modifiers):
5204 Bound interval modifier keys are sticky.
5205 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5206 * events.h: extern it.
5208 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5210 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5212 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5214 * event-stream.c (execute_command_event): Preserve current_events
5215 and the like when event is misc-user-event.
5216 Inhibit quit during the call to maybe_echo_keys.
5218 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5220 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5221 symlink when buffer is killed.
5222 (inhibit_clash_detection): New variable.
5224 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5226 * console.c (Fset_input_method): Trigger redisplay on tty.
5228 2000-11-07 Martin Buchholz <martin@xemacs.org>
5230 * process.c (Fprocess_status): Revert to previous behavior:
5231 (process-status "nosuchprocess") ==> nil
5233 2000-11-06 Martin Buchholz <martin@xemacs.org>
5235 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5236 Work around another GCC 2.95.2 optimizer bug.
5238 2000-11-02 Martin Buchholz <martin@xemacs.org>
5240 * process.c (Fget_process): Use LIST_LOOP_2.
5241 (kill_buffer_processes): Use LIST_LOOP_2.
5243 * minibuf.c (Fall_completions):
5244 Delete old non-functional code for FSF fourth argument.
5246 * frame.c (frame_matches_frame_spec):
5247 Renamed from `frame_matches_frametype'. Update all callers.
5248 (device_matches_device_spec):
5249 Renamed from 'device_matches_console_spec'. Update all callers.
5251 * doc.c (Fsubstitute_command_keys):
5252 Remove buffer overflow crash. Small code cleanups.
5254 * casetab.c (check_case_table): Simpler code.
5256 * window.c (Freplace_buffer_in_windows):
5257 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5258 (and similar implementation) as Fdelete_windows_on.
5261 * alloc.c (Fmake_list):
5262 * alloc.c (make_vector):
5263 * alloc.c (Fmake_vector):
5264 * alloc.c (make_bit_vector):
5265 * alloc.c (Fmake_bit_vector):
5266 * alloc.c (Fbit_vector):
5267 * alloc.c (Fmake_string):
5268 * alloc.c (Fpurecopy):
5269 * alloc.c (Fmemory_limit):
5271 * buffer.c (Fget_buffer):
5272 * buffer.c (Fkill_buffer):
5273 * buffer.c (complex_vars_of_buffer):
5274 * bytecode.c (Fcompiled_function_stack_depth):
5275 * callint.c (Fprefix_numeric_value):
5277 * event-stream.c (Fread_key_sequence):
5279 * casetab.c (Fcase_table_p):
5280 * casetab.c (check_case_table):
5281 * casetab.c (Fset_case_table):
5282 * casetab.c (Fset_standard_case_table):
5284 * chartab.c (Fchar_table_type):
5285 * chartab.c (Freset_char_table):
5286 * chartab.c (Fget_char_table):
5287 * chartab.c (Fget_range_char_table):
5288 * chartab.c (Fput_char_table):
5289 * chartab.c (Fmap_char_table):
5290 * chartab.c (Fcategory_table_p):
5291 * chartab.c (Fcheck_category_at):
5292 * chartab.c (Fchar_in_category_p):
5293 * chartab.c (Fcategory_table):
5294 * chartab.c (Fcopy_category_table):
5295 * chartab.c (Fset_category_table):
5296 * chartab.c (Fcategory_designator_p):
5297 * chartab.c (Fcategory_table_value_p):
5298 * cmds.c (Fdelete_char):
5299 * cmds.c (Fdelete_backward_char):
5300 * cmds.c (Fself_insert_command):
5301 * cmds.c (Fself_insert_internal):
5302 * console.c (Fvalid_console_type_p):
5303 * console.c (Fcdfw_console):
5304 * console.c (Fconsole_type):
5305 * console.c (Fconsole_name):
5306 * console.c (Fconsole_device_list):
5307 * console.c (Fconsole_on_window_system_p):
5311 * data.c (Fsubr_interactive):
5312 * data.c (Fchar_to_int):
5313 * data.c (Fint_to_char):
5316 * data.c (Fnumber_to_string):
5317 * data.c (Fstring_to_number):
5319 * database.c (mark_database):
5320 * database.c (finalize_database):
5321 * database.c (Fdatabase_live_p):
5322 * database.c (Fdatabasep):
5323 * device-x.c (Fx_get_resource):
5324 * device.c (Fdfw_device):
5326 * dired.c (Ffile_name_completion):
5327 * dired.c (Ffile_name_all_completions):
5328 * dired.c (Fuser_name_completion):
5329 * dired.c (Fuser_name_completion_1):
5330 * dired.c (Fuser_name_all_completions):
5331 * doc.c (Fdocumentation):
5332 * doc.c (Fdocumentation_property):
5333 * doc.c (Fsubstitute_command_keys):
5335 * editfns.c (Fchar_to_string):
5336 * editfns.c (Fstring_to_char):
5337 * editfns.c (Ftemp_directory):
5338 * editfns.c (Finsert_char):
5339 * editfns.c (Fbuffer_substring_no_properties):
5340 * editfns.c (Fnarrow_to_region):
5341 * editfns.c (Fchar_equal):
5342 * editfns.c (Fchar_Equal):
5343 * editfns.c (Ftranspose_regions):
5344 * emacs.c (Fdump_emacs):
5346 * eval.c (Fcommand_execute):
5347 * eval.c (Fautoload):
5348 * eval.c (Fbacktrace):
5349 * eval.c (Fbacktrace_frame):
5351 * events.c (Fcopy_event):
5352 * events.c (Fcharacter_to_event):
5353 * events.c (Fevent_button):
5354 * events.c (Fevent_process):
5356 * extents.c (Fnext_extent_change):
5357 * extents.c (Fextent_property):
5359 * faces.c (Fmake_face):
5361 * file-coding.c (Fencode_shift_jis_char):
5362 * file-coding.c (Fencode_big5_char):
5363 * fileio.c (Ffile_name_directory):
5364 * fileio.c (Ffile_name_nondirectory):
5365 * fileio.c (Ffile_name_as_directory):
5366 * fileio.c (Fdirectory_file_name):
5367 * fileio.c (Ffile_truename):
5368 * fileio.c (Fsubstitute_in_file_name):
5369 * fileio.c (Ffile_modes):
5370 * fileio.c (Fset_file_modes):
5371 * fileio.c (Fset_default_file_modes):
5372 * fileio.c (Fverify_visited_file_modtime):
5373 * floatfns.c (Facos):
5374 * floatfns.c (Fasin):
5375 * floatfns.c (Fatan):
5376 * floatfns.c (Fcos):
5377 * floatfns.c (Fsin):
5378 * floatfns.c (Ftan):
5379 * floatfns.c (Fbessel_j0):
5380 * floatfns.c (Fbessel_j1):
5381 * floatfns.c (Fbessel_jn):
5382 * floatfns.c (Fbessel_y0):
5383 * floatfns.c (Fbessel_y1):
5384 * floatfns.c (Fbessel_yn):
5385 * floatfns.c (Ferf):
5386 * floatfns.c (Ferfc):
5387 * floatfns.c (Flog_gamma):
5388 * floatfns.c (Fexp):
5389 * floatfns.c (Fexpt):
5390 * floatfns.c (Flog):
5391 * floatfns.c (Flog10):
5392 * floatfns.c (Fsqrt):
5393 * floatfns.c (Fcube_root):
5394 * floatfns.c (Facosh):
5395 * floatfns.c (Fasinh):
5396 * floatfns.c (Fatanh):
5397 * floatfns.c (Fcosh):
5398 * floatfns.c (Fsinh):
5399 * floatfns.c (Ftanh):
5400 * floatfns.c (Fabs):
5401 * floatfns.c (Ffloat):
5402 * floatfns.c (Flogb):
5403 * floatfns.c (Fceiling):
5404 * floatfns.c (Ffloor):
5405 * floatfns.c (Fround):
5406 * floatfns.c (Ftruncate):
5407 * floatfns.c (Ffceiling):
5408 * floatfns.c (Fffloor):
5409 * floatfns.c (Ffround):
5410 * floatfns.c (Fftruncate):
5411 * fns.c (Fstring_equal):
5412 * fns.c (Fstring_lessp):
5417 * fns.c (Fsubstring):
5419 * fns.c (Fold_assoc):
5420 * fns.c (assoc_no_quit):
5422 * fns.c (Fold_assq):
5423 * fns.c (assq_no_quit):
5425 * fns.c (Fold_rassoc):
5427 * fns.c (Fold_rassq):
5428 * fns.c (rassq_no_quit):
5429 * fns.c (Fremassoc):
5430 * fns.c (remassoc_no_quit):
5432 * fns.c (remassq_no_quit):
5433 * fns.c (Fremrassoc):
5434 * fns.c (Fremrassq):
5435 * fns.c (remrassq_no_quit):
5437 * fns.c (Fplist_get):
5438 * fns.c (Fplist_put):
5439 * fns.c (Fplist_remprop):
5440 * fns.c (Fplist_member):
5441 * fns.c (Flax_plist_get):
5442 * fns.c (Flax_plist_put):
5443 * fns.c (Flax_plist_remprop):
5444 * fns.c (Flax_plist_member):
5446 * fns.c (Fold_equal):
5448 * fns.c (Fbase64_encode_region):
5449 * fns.c (Fbase64_encode_string):
5450 * fns.c (Fbase64_decode_region):
5452 * frame.c (frame_matches_frame_spec):
5453 * frame.c (device_matches_device_spec):
5454 * frame.c (next_frame):
5455 * frame.c (previous_frame):
5456 * frame.c (Fnext_frame):
5457 * frame.c (Fprevious_frame):
5458 * frame.c (Fframe_property):
5459 * frame.c (Fset_frame_height):
5460 * frame.c (Fset_frame_size):
5464 * glyphs.c (decode_error_behavior_flag):
5465 * glyphs.c (Fmake_image_instance):
5466 * indent.c (Findent_to):
5467 * intl.c (Fignore_defer_gettext):
5468 * keymap.c (Fkeymapp):
5469 * keymap.c (Flookup_key):
5471 * lread.c (Fload_internal):
5472 * lread.c (Feval_buffer):
5473 * lread.c (Feval_region):
5474 * macros.c (Fexecute_kbd_macro):
5475 * marker.c (set_marker_internal):
5476 * marker.c (Fset_marker):
5477 * marker.c (set_marker_restricted):
5478 * marker.c (Fcopy_marker):
5479 * marker.c (noseeum_copy_marker):
5481 * menubar.c (Fpopup_menu):
5483 * mule-charset.c (Fcharset_name):
5484 * mule-charset.c (Fchar_charset):
5485 * mule-charset.c (Fchar_octet):
5486 * mule-charset.c (Fsplit_char):
5487 * mule-wnnfns.c (Fwnn_open):
5488 * mule-wnnfns.c (Fwnn_dict_comment):
5489 * mule-wnnfns.c (Fwnn_quit_henkan):
5490 * mule-wnnfns.c (Fwnn_word_toroku):
5491 * mule-wnnfns.c (Fwnn_word_sakujo):
5492 * mule-wnnfns.c (Fwnn_word_use):
5493 * mule-wnnfns.c (Fwnn_hindo_set):
5495 * objects.c (Fmake_color_instance):
5496 * objects.c (Fmake_font_instance):
5497 * print.c (Fwrite_char):
5499 * process.c (mark_process):
5500 * process.c (print_process):
5501 * process.c (get_process_from_usid):
5502 * process.c (Fprocessp):
5503 * process.c (Fprocess_live_p):
5504 * process.c (Fget_process):
5505 * process.c (Fget_buffer_process):
5506 * process.c (get_process):
5507 * process.c (Fprocess_id):
5508 * process.c (Fprocess_name):
5509 * process.c (Fprocess_command):
5510 * process.c (init_process_io_handles):
5511 * process.c (start_process_unwind):
5512 * process.c (Fstart_process_internal):
5513 * process.c (Fopen_multicast_group_internal):
5514 * process.c (Fset_process_window_size):
5515 * process.c (read_process_output):
5516 * process.c (send_process):
5517 * process.c (Fprocess_tty_name):
5518 * process.c (Fset_process_buffer):
5519 * process.c (Fprocess_buffer):
5520 * process.c (Fprocess_mark):
5521 * process.c (set_process_filter):
5522 * process.c (Fset_process_filter):
5523 * process.c (Fprocess_filter):
5524 * process.c (Fprocess_send_region):
5525 * process.c (Fprocess_send_string):
5526 * process.c (exec_sentinel):
5527 * process.c (Fset_process_sentinel):
5528 * process.c (Fprocess_sentinel):
5529 * process.c (status_notify):
5530 * process.c (Fprocess_status):
5531 * process.c (Fprocess_exit_status):
5532 * process.c (process_send_signal):
5533 * process.c (Fprocess_send_eof):
5534 * process.c (deactivate_process):
5535 * process.c (remove_process):
5536 * process.c (Fdelete_process):
5537 * process.c (kill_buffer_processes):
5538 * process.c (Fprocess_kill_without_query):
5539 * process.c (Fprocess_kill_without_query_p):
5541 * rangetab.c (Fget_range_table):
5542 * rangetab.c (Fput_range_table):
5543 * rangetab.c (Fremove_range_table):
5544 * rangetab.c (Fclear_range_table):
5546 * search.c (Fskip_chars_forward):
5547 * search.c (Fskip_chars_backward):
5548 * search.c (Fskip_syntax_forward):
5549 * search.c (Fskip_syntax_backward):
5550 * search.c (search_command):
5551 * search.c (Freplace_match):
5552 * search.c (Fregexp_quote):
5553 * select.c (Fown_selection_internal):
5554 * select.c (Fselection_owner_p):
5555 * select.c (Fselection_exists_p):
5556 * select.c (Fget_selection_internal):
5559 * symbols.c (Fintern):
5560 * symbols.c (Fintern_soft):
5561 * symbols.c (Funintern):
5562 * symbols.c (Fapropos_internal):
5563 * symbols.c (Fset_default):
5565 * syntax.c (Fsyntax_table_p):
5566 * syntax.c (Fcopy_syntax_table):
5567 * syntax.c (Fset_syntax_table):
5568 * syntax.c (Fchar_syntax):
5569 * syntax.c (syntax_match):
5570 * syntax.c (Fmatching_paren):
5571 * syntax.c (Fforward_word):
5572 * syntax.c (scan_lists):
5573 * syntax.c (Fscan_lists):
5574 * syntax.c (Fscan_sexps):
5575 * syntax.c (Fparse_partial_sexp):
5576 * toolbar.c (Fcheck_toolbar_button_syntax):
5579 * window.c (Fwindowp):
5580 * window.c (Fwindow_live_p):
5581 * window.c (Fwindow_point):
5582 * window.c (Fdelete_window):
5583 * window.c (Fnext_window):
5584 * window.c (Fprevious_window):
5585 * window.c (Fother_window):
5586 * window.c (window_loop):
5587 * window.c (Fget_lru_window):
5588 * window.c (Fsplit_window):
5589 * window.c (Fenlarge_window):
5590 * window.c (Fenlarge_window_pixels):
5591 * window.c (Fshrink_window):
5592 * window.c (Fshrink_window_pixels):
5593 * window.c (change_window_height):
5594 * window.c (Fwindow_configuration_p):
5595 * window.c (Fcurrent_window_configuration):
5597 * casefiddle.c (casify_object):
5598 * casefiddle.c (Fupcase):
5599 * casefiddle.c (Fdowncase):
5600 * casefiddle.c (Fcapitalize):
5601 * casefiddle.c (Fupcase_initials):
5602 * casefiddle.c (casify_region_internal):
5603 * casefiddle.c (casify_region):
5604 * casefiddle.c (Fupcase_region):
5605 * casefiddle.c (Fdowncase_region):
5606 * casefiddle.c (Fcapitalize_region):
5607 * casefiddle.c (Fupcase_initials_region):
5608 * casefiddle.c (Fupcase_word):
5609 * casefiddle.c (Fdowncase_word):
5610 * casefiddle.c (Fcapitalize_word):
5611 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5612 Replace 0 with '\0' when working with bytes.
5613 Replace initial "(" with "\(" in docstrings.
5615 2000-11-01 Martin Buchholz <martin@xemacs.org>
5617 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5619 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5621 2000-10-31 Martin Buchholz <martin@xemacs.org>
5623 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5625 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5627 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5630 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5632 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5633 (inhibit_auto_save_session): New variable.
5634 (vars_of_fileio): Declare and initialize them.
5635 * fileio.c (Fdo_auto_save): Don't create session file if
5636 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5638 2000-10-31 Martin Buchholz <martin@xemacs.org>
5640 * sgiplay.c (play_internal): C++ compilability.
5641 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5642 * callproc.c (Fold_call_process_internal):
5643 Remove unused vars `env', `first'.
5644 * scrollbar.c (update_scrollbar_instance):
5645 #### unused var `current_window'.
5646 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5647 etc. within #ifdef NOT_YET.
5648 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5649 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5650 * specifier.c (specifier_instance):
5651 #### unused var `tag'.
5652 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5654 2000-10-27 Martin Buchholz <martin@xemacs.org>
5657 * fns.c (list_sort):
5658 * fns.c (Ffillarray):
5659 * fns.c (bytecode_nconc2):
5662 * fns.c (Fmapconcat):
5663 Be pedantically 64-bit correct. For the time when someone will
5664 want to have a list with length > 2**32.
5666 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5667 Work around MIPSpro compiler bug.
5669 * process-unix.c (unix_kill_child_process): Add snarky comment.
5670 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5672 * config.h.in: Oops, _getpt ==> _getpty
5674 2000-10-26 Martin Buchholz <martin@xemacs.org>
5678 Use void*, not char*, as return type of alloca().
5680 * alloc.c (free_marker): Side effect inside assert expression!
5682 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5684 * mule-charset.c (Fset_charset_ccl_program): To check
5685 if the given ccl program is valid, use setup_ccl_program()
5686 instead of CHECK_VECTOR().
5687 (Fmake_charset): Likewise.
5689 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5691 * faces.c (get_extent_fragment_face_cache_index):
5692 Fix cachel.merged_faces memory leak.
5694 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5696 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5697 Reset MSB of octets obtained by DECODE_SJIS
5698 because of the incompatibility with Emacs.
5699 (ccl_driver)<CCL_ENCODE_SJIS>:
5700 Set MSB of octets before passing them to
5701 ENCODE_SJIS because of the incompatibility
5704 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5706 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5707 (DECLARE_LRECORD): Undo the last change.
5708 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5710 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5712 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5713 the implementation to lrecord_implementations_table.
5715 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5717 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5718 initial value of `lrecord_type_##c_name' and
5719 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
5720 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
5721 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
5722 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
5723 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
5725 2000-10-17 Martin Buchholz <martin@xemacs.org>
5727 * miscplay.c (sndcnv8S_2mono):
5728 (sndcnv2monounsigned):
5729 (sndcnvULaw_2linear):
5731 Remove implementation-defined behavior.
5733 2000-10-12 Martin Buchholz <martin@xemacs.org>
5735 * input-method-xlib.c: Warning suppression.
5737 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
5739 * mule-ccl.c: Sync up with Emacs 21.0.90.
5740 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
5742 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
5744 (ccl_driver[WriteMultibyteChar2]): Bug fix.
5745 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
5746 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
5747 leading char belongs to official 2-dimensional charset.
5748 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
5749 write the given character as is. Otherwise,
5750 if it is a multibyte char, convert it by
5751 non_ascii_set_charptr_emchar, then write it.
5752 (CCL_WRITE_STRING): Likewise.
5753 (ccl_get_compiled_code): New function.
5754 (setup_ccl_program): When ccl_prog is invalid,
5756 (Fregister_code_conversion_map): New function.
5757 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
5759 * mule-ccl.h: Sync up with Emacs 21.0.90.
5760 (Fregister_ccl_program): export it.
5762 * redisplay-msw.c (separate_textual_runs):
5763 If ccl program is not valid, don't do ccl conversion.
5765 * redisplay-x.c (separate_textual_runs): Ditto.
5767 * file-coding.c (Fmake_coding_system):
5768 When type is ccl and value is vector, register it
5769 with a proper symbol. And checks whether the
5770 given ccl program is valid.
5771 (mule_decode): When calling ccl_driver, if src indicates
5772 NULL pointer, set an empty string instead.
5773 (mule_encode): Likewise.
5775 2000-10-11 Martin Buchholz <martin@xemacs.org>
5777 The following large batch of changes gets us back to a state of
5778 C++ compilability. Extbyte is now a char, which means that
5779 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
5781 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
5783 * sound.c (Fplay_sound): Type correctness.
5785 * select-x.c (hack_motif_clipboard_selection): Type correctness.
5786 (x_get_window_property): Type correctness.
5787 (receive_incremental_selection): unsigned char ==> Extbyte
5788 (selection_data_to_lisp_data): unsigned char ==> Extbyte
5789 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
5790 (Fx_store_cutbuffer_internal): Type correctness.
5792 * process-unix.c (try_to_initialize_subtty): Type correctness.
5794 * objects-x.c (x_print_color_instance): Type correctness.
5795 (x_print_font_instance): Type correctness.
5796 (x_list_fonts): SExtbyte ==> Extbyte.
5797 (valid_x_font_name_p): SExtbyte ==> Extbyte.
5798 (x_find_charset_font): SExtbyte ==> Extbyte.
5799 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
5800 (truename_via_XListFonts): SExtbyte ==> Extbyte.
5801 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
5804 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
5805 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
5806 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
5807 (BYTE_C0_P): Use bit ops for char-signedness safety.
5808 (BYTE_C1_P): Use bit ops for char-signedness safety.
5809 (CHARSET_BY_LEADING_BYTE):
5810 (CHARSET_BY_ATTRIBUTES):
5811 Always use inline function.
5812 Use type_checking_assert.
5815 * mule-charset.c (non_ascii_charptr_copy_char):
5816 Modify to work with both ASCII and non-ASCII characters.
5817 Improve docs and variable names.
5818 Replace over-clever fall-through switch with a simple loop.
5819 (Lstream_get_emchar_1):
5820 Replace over-clever fall-through switch with a simple loop.
5822 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5823 Warning suppression.
5825 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
5826 the return value of Lstream_getc, which could be EOF as well.
5828 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
5830 * lisp.h: Make Extbyte a char, not unsigned char, so that external
5831 APIs can be used on Extbytes without casts. Risky!
5835 * input-method-xlib.c (XIM_init_device):
5836 Use Xlib.h instead of IntrinsicP.h.
5837 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
5838 which will break in X11R7.
5839 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
5840 to call XRegisterIMInstantiateCallback with correct types.
5842 * gui-x.c (button_item_to_widget_value): Type correctness.
5844 * glyphs.c (bitmap_to_lisp_data): Type correctness.
5846 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
5847 (xbm_instantiate_1): Type correctness.
5848 (BUILD_GLYPH_INST): Type correctness.
5850 * fileio.c (Fsubstitute_in_file_name): Type correctness.
5853 (decode_coding_sjis):
5854 (decode_coding_big5):
5855 (decode_coding_ucs4):
5856 (decode_coding_utf8):
5857 (decode_coding_iso2022):
5858 (decode_coding_no_conversion):
5859 Make all decoding functions take an Extbyte * arg.
5860 (encode_coding_sjis):
5861 (encode_coding_big5):
5862 (encode_coding_ucs4):
5863 (encode_coding_utf8):
5864 (encode_coding_iso2022):
5865 (encode_coding_no_conversion):
5866 Make all encoding functions take a Bufbyte * arg.
5867 Use size_t instead of unsigned int for memory sizes.
5868 Only cast to unsigned char whenever dereferencing Extbyte *.
5870 * doc.c (unparesseuxify_doc_string): Type correctness.
5872 * console-x.c (split_up_display_spec):
5873 Rewrite without using details of internal string representation.
5874 (x_semi_canonicalize_device_connection): Type correctness.
5877 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
5878 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
5879 (HAVE_XFREE386): Removed.
5881 * buffer.h (DEC_CHARPTR): `const' correctness.
5882 (bufbyte_strcmp): New.
5883 (bufbyte_memcmp): New.
5885 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
5887 * buffer.h (XCHAR_OR_CHAR_INT):
5888 Always use inline function.
5889 Remove redundant type checking assert() - XINT will abort quite nicely.
5891 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
5893 * search.c (Freplace_match): Set newtext to an empty string.
5895 2000-10-10 Martin Buchholz <martin@xemacs.org>
5897 * s/decosf1-3.h: Remove #include of stropts.h
5898 * s/ptx.h: Remove #include of stropts.h
5899 * s/usg5-4.h: Remove #include of stropts.h
5902 Use stropts.h, not sys/stropts.h.
5903 Use strtio.h, not sys/strtio.h.
5905 2000-10-04 Martin Buchholz <martin@xemacs.org>
5907 * XEmacs 21.2.36 is released.
5909 2000-09-21 Andy Piper <andy@xemacs.org>
5911 * glyphs-x.c (x_redisplay_widget): make sure non-structural
5912 changes still involve copying the widget tree.
5913 (update_widget_face): make sure a change is register in the widget
5914 tree. Call update_tab_widget_face appropriately.
5915 (update_tab_widget_face): ditto.
5916 (x_tab_control_redisplay): make sure non-structural changes still
5917 involve copying the widget tree.
5919 2000-08-31 Daiki Ueno <ueno@unixuser.org>
5921 * lread.c (locate_file): Check the path element is non-nil.
5923 2000-10-02 Martin Buchholz <martin@xemacs.org>
5925 * lisp.h: Warning suppression for SCO compilers.
5927 * redisplay-tty.c (reset_tty_modes): Fix crash.
5928 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
5930 2000-09-27 Martin Buchholz <martin@xemacs.org>
5932 Big signal/process handling overhaul. Bugs fixed:
5933 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
5934 M-x comint-kill-subjob should work for both values nil and t of
5935 process-connection-type. It was broken on most platforms.
5936 Testing on Irix and Cygwin still needed. Other plaforms tested.
5937 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
5938 * process-unix.c: Signal/Process handling overhaul.
5939 (pty_name): make 64 bytes, as `expect' does, for paranoia.
5940 (allocate_pty): Use all available modern methods of allocating
5941 ptys, falling back to old style BSD allocation as a last resort.
5942 Use allegedly more secure Unix98 pty allocation by default.
5943 (allocate_pty_the_old_fashioned_way): New. the last resort.
5944 (unix_create_process): Push ptem, ldterm, ttcompat where
5945 available. Autoconfiscate.
5946 (try_to_initialize_subtty): New.
5947 (unix_kill_child_process): Proper signal handling for ptys on most
5948 platforms, using special knowledge of AIX, BSD, etc...
5949 (unix_create_process): Always disconnect_controlling_terminal() for
5950 subprocesses, whether using ptys or not.
5951 * process.h: Remove old getpt-dependent PTY code.
5952 * process.c (Fprocess_send_signal): New, obvious generic function.
5953 (decode_signal): New.
5954 (Finterrupt_process):
5958 (Fcontinue_process):
5959 (Fsignal_process): Use decode_signal.
5960 (process_send_signal):
5961 Many docstring corrections.
5962 Allow any signal to be sent to a process object.
5963 * config.h.in: Add symbols for big signal/process overhaul.
5964 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
5965 * sysproc.h: Include process-related headers, where available:
5966 sys/stropts.h sys/strtio.h pty.h libutil.h
5974 Remove old S&M pty stuff.
5975 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
5976 * systty.h: Simplify cpp hackery, improve comments.
5977 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
5979 * editfns.c (Fformat_time_string):
5980 Be a little more paranoid with the return value of ctime.
5982 * fileio.c (check_executable):
5984 Use symbolic constants X_OK, W_OK.
5986 * console-x.c (split_up_display_spec): Fix a warning.
5988 2000-10-02 Martin Buchholz <martin@xemacs.org>
5990 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
5991 * ntproc.c (sys_spawnve): make_string ==> build_string
5992 Small clarity improvements.
5994 2000-09-30 Martin Buchholz <martin@xemacs.org>
5996 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
5998 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
6000 * config.h.in (HAVE_STRCASECMP): Remove.
6002 2000-09-29 Martin Buchholz <martin@xemacs.org>
6004 * redisplay-output.c (redisplay_output_pixmap):
6005 Cleaner and possibly more 64-bit correct code.
6007 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6009 * dumper.c (pdump_load_finish): move restoration of
6010 `noninteractive1' to emacs.c (main_1).
6011 * emacs.c (main_1): protect LISP-visible command-line flags
6014 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
6016 * Makefile.in.in (versionclean): Use EXE_TARGET and
6017 DUMP_TARGET instead of literal program names.
6019 2000-09-20 Martin Buchholz <martin@xemacs.org>
6021 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
6023 2000-09-19 Martin Buchholz <martin@xemacs.org>
6025 * *: Spelling mega-patch
6027 2000-09-19 Martin Buchholz <martin@xemacs.org>
6029 * fns.c (bad_bad_turtle):
6030 Delete "Eek!" comment, since we fixed the bug to which it refers.
6032 2000-09-16 Martin Buchholz <martin@xemacs.org>
6034 * alloca.c: Replace REGISTER with register.
6036 2000-09-16 Daiki Ueno <ueno@unixuser.org>
6038 * file-coding.c (ucs_to_char): Use countof.
6040 2000-09-16 Martin Buchholz <martin@xemacs.org>
6042 * file-coding.c: (ucs_to_char):
6043 (complex_vars_of_file_coding):
6044 Use countof instead of sizeof.
6045 Use CHECK_NATNUM instead of CHECK_INT.
6047 * sysdep.c (strcasecmp): Remove.
6048 * device-x.c (ascii_strcasecmp): New.
6049 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
6050 Avoid using non-standard non-portable strcasecmp.
6052 2000-09-16 Martin Buchholz <martin@xemacs.org>
6054 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
6055 * font-lock.c: remove reference to emacsfns.h.
6056 * search.c: small doc improvement.
6057 * event-Xt.c: correct file names in comments.
6058 * console-x.h Correct file names in comments.
6059 * frame.c: Correct file names in comments.
6060 * event-stream.c: remove Energize from comments.
6062 2000-09-15 Martin Buchholz <martin@xemacs.org>
6064 * symeval.h (DEFERROR_STANDARD):
6067 (DEFSYMBOL_NO_DUMP):
6068 (DEFSYMBOL_MULTIWORD_PREDICATE):
6069 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
6071 The construct &##name is not sensible C.
6072 Fixes compilation errors with Unixware native compiler.
6074 2000-09-14 Martin Buchholz <martin@xemacs.org>
6076 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
6077 (next_frame_internal): Removed. We now just have next_frame.
6079 Write a simpler and cleaner one-pass algorithm.
6080 Remove called_from_delete_device arg and #ifdefed-out code.
6082 Renamed from prev_frame. Update callers.
6083 Cleaned up to have an analogous implementation to next_frame.
6084 (other_visible_frames_internal): Remove the
6085 called_from_delete_device bogus arg, and hence, remove this
6086 function. Just use other_visible_frames().
6088 * window.c (Fnext_window):
6090 Since next_frame() is guaranteed to return a frame, remove check
6091 for nil inserted in previous patch.
6094 Make code look more like Fnext_window.
6096 Respect the `console' arg when iterating through windows.
6097 Fixes bug: (get-buffer-window buffer t device) not respecting
6099 This function needs more work, as others have pointed out.
6101 * frame.h: Rename prev_frame to previous_frame.
6102 device_matches_console_spec no longer takes a `frame' arg.
6107 Use EMACS_BLOCK_SIGNAL instead of sigblock.
6108 From "Golubev I. N." <gin@mo.msk.ru>.
6110 * make-src-depend: Fix typo.
6112 2000-09-13 Martin Buchholz <martin@xemacs.org>
6114 * window.c (Fnext_window):
6115 next_frame() might return nil, not a frame.
6117 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6119 * frame.c (next_frame_internal):
6120 We've passed a frame if we've passed its device.
6122 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6123 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
6125 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6127 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6128 Allow option to suppress accelerators in menu/dialog items.
6129 (populate_or_checksum_helper): Pass dialog title through above.
6131 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6133 * event-msw.c (mswindows_key_to_emacs_keysym):
6134 Add "pause" key, fix "menu" key.
6136 2000-09-09 Martin Buchholz <martin@xemacs.org>
6138 * eval.c (reinit_vars_of_eval):
6139 Increase max_lisp_eval_depth to 1000,
6140 required for thai-xtis.el to byte-compile under some circumstances.
6142 2000-09-04 Martin Buchholz <martin@xemacs.org>
6144 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6147 2000-09-01 Martin Buchholz <martin@xemacs.org>
6149 * make-src-depend: Make the generated Makefiles smaller.
6151 * s/hpux.h (SETUP_SLAVE_PTY):
6152 Provide a %d in the format string for the errno argument.
6154 * editfns.c (Ftemp_directory):
6156 Avoid buffer overrun on very long file name.
6158 * input-method-xlib.c (XIM_init_device):
6159 6th parameter of XRegisterIMInstantiateCallback has different
6160 pointer types on different OSes, so simply cast to (void *).
6162 * unexhp9k800.c: Warning fixes. Fiddly changes.
6164 * sysdll.c (dll_open):
6165 shl_load will hang hard if passed a NULL filename.
6166 Simply return NULL for compatibility with dlopen.
6167 * sysdll.c: Conform to XEmacs coding standards.
6169 * sysdep.c (get_pty_max_bytes):
6170 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6172 2000-08-31 Martin Buchholz <martin@xemacs.org>
6174 * tooltalk.c: Add #include <syssignal.h>
6176 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6178 * s/hpux.h: Don't use undefined function sigunblock().
6180 2000-08-31 Martin Buchholz <martin@xemacs.org>
6182 * config.h.in: Add HAVE_BALLOON_HELP.
6183 * emacs.c: Use HAVE_BALLOON_HELP.
6184 * Makefile.in.in (x_objs):
6185 Make Balloon Help conditional on finding shape.h.
6187 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6189 * syntax.c (regex_emacs_buffer_p): New variable.
6190 * syntax.h (regex_emacs_buffer_p): extern.
6191 * search.c (looking_at_1):
6193 (fast_string_match):
6194 (search_buffer): Set regex_emacs_buffer_p.
6195 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6196 when before_dot, at_dot, after_dot.
6198 2000-08-23 Andy Piper <andy@xemacs.org>
6200 * gui-x.c (popup_selection_callback): Only set action_occurred
6201 when we really have an image instance.
6202 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6204 2000-08-23 Andy Piper <andy@xemacs.org>
6206 * gui-msw.c (mswindows_handle_gui_wm_command): set
6208 * gui-x.c (popup_selection_callback): ditto.
6210 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6211 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6212 (struct Lisp_Image_Instance): add action_occurred flag.
6214 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6215 (image_instance_changed): ditto.
6216 (reset_frame_subwindow_instance_cache): only unmap windows - do
6217 not remove them from the cache also.
6219 * glyphs-widget.c (tab_control_update): better debug.
6220 (progress_gauge_update): ditto.
6221 (layout_update): ditto.
6222 (layout_instantiate): ditto.
6223 (tab_control_order_only_changed): cope with null pending items.
6225 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6226 debug. Force selection of an item when an action occurred. Cope
6227 with null pending_items.
6228 (mswindows_progress_gauge_redisplay): better debug.
6229 * glyphs-x.c (x_tab_control_redisplay): ditto.
6231 * redisplay.c (redisplay_frame): reset the frame cache if the
6234 * window.c (Fset_window_configuration): potentially re-enable
6236 (window_unmap_subwindows): need to finalize instances here since
6237 it is only used in mark_window_as_deleted.
6239 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6241 * nas.c (SndOpenDataForReading):
6242 nas.c (WaveOpenDataForReading):
6243 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6244 Somehow escaped from the 2000-08-14 patch.
6246 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6248 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6249 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6251 2000-08-21 Andy Piper <andy@xemacs.org>
6253 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6254 window if it is not already displayed.
6256 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6257 it is not already displayed.
6259 * window.c (Fset_window_configuration): don't reset the frame
6262 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6263 instances from the frame cache if we are actually finalizing them.
6264 (reset_frame_subwindow_instance_cache): reset frame cache only
6265 after unmapping everything.
6266 (map_subwindow): set displayed flag after mapping.
6268 2000-08-21 Martin Buchholz <martin@xemacs.org>
6270 * data.c (indirect_function):
6271 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6273 * eval.c (function_argcount):
6274 Use original function when signaling errors.
6276 2000-08-18 Andy Piper <andy@xemacs.org>
6278 * frame.c (delete_frame_internal): use new
6279 free_frame_subwindow_instances name.
6281 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6282 (add_tab_item): make return type correct.
6283 (mswindows_tab_control_instantiate): assert index of tab.
6284 (mswindows_tab_control_redisplay): Re-code to use
6285 gui_item_equal_sans_selected and gui_item_list_find_selected.
6287 * glyphs-widget.c (tab_control_update): Correct comment.
6289 * window.c (window_unmap_subwindows): use new
6290 unmap_subwindow_instance_cache_mapper.
6291 (window_unmap_subwindows_cache_mapper): deleted.
6292 (Fset_window_configuration): comparisons should now be with
6293 EQ. Preserve the subwindow instance cache across configuration
6295 (allocate_window): ditto.
6296 (make_dummy_parent): ditto.
6298 * glyphs.c (free_frame_subwindow_instances): rename from
6299 free_frame_subwindow_instance_cache. finalize all instances rather
6300 than just those in the display cache.
6301 (finalize_all_subwindow_instances): walk windows unmapping and
6302 finalizing subwindows.
6303 (unmap_subwindow_instance_cache_mapper): moved from
6304 window.c. Allow finalization as well as unmapping.
6306 * gui.c (gui_item_list_find_selected): new function.
6308 * gui.h (gui_item_list_find_selected): declare.
6310 * glyphs-x.c (x_tab_control_redisplay): pick tab
6311 explicitly. Re-code to use gui_item_equal_sans_selected and
6312 gui_item_list_find_selected.
6314 * glyphs-x.h: add lwlib-utils.h
6316 * buffer.c (Frecord_buffer): undo previous change.
6318 2000-08-09 Vin Shelton <acs@xemacs.org>
6320 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6321 possible. Create temporary files more securely. The patch was
6322 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6323 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6324 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6327 2000-08-07 Ben Wing <ben@xemacs.org>
6329 * getloadavg.c: remove duplicate (and windows-breaking)
6330 includes of fcntl.h and sys/file.h.
6332 * nt.c: remove duplicate getloadavg() definition.
6334 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6337 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6339 * eval.c (function_argcount): If function needs to be autoloaded
6340 actually use the loaded definition.
6343 2000-08-05 Ben Wing <ben@xemacs.org>
6345 * getloadavg.c: add prototype for getloadavg(). remove
6346 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6347 of the code). remove duplicate header includes.
6349 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6351 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6352 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6353 useful load average.
6355 * alloc.c (reinit_alloc_once_early): removed references to
6356 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6357 the lisp vars are the only things referencing the malloc_sbrk_*
6358 vars, and they were already if 0'd out. these vars only exist
6359 in the older malloc.c, which is basically unused, and they're
6360 only for informational purposes.
6362 * m\*.h: removed useless VIRT_ADDR_VARIES.
6364 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6366 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6368 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6369 color if the image is a mono pixmap.
6371 2000-07-30 Ben Wing <ben@xemacs.org>
6373 * Makefile.in.in (release):
6376 * buffer.c (directory_is_current_directory):
6377 * dired-msw.c (mswindows_get_files):
6379 * dired.c (Fdirectory_files):
6380 * dired.c (file_name_completion_stat):
6381 * dired.c (Ffile_attributes):
6382 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6383 preprocessor tricks, to avoid problems on some machines
6386 * callproc.c (egetenv): GC docs.
6389 * console-msw.h (struct mswindows_dialog_id):
6390 * lrecord.h (lrecord_type):
6391 New object for use with MSW dialogs.
6393 * console.h (struct console_methods):
6394 New enable/disable frame methods, for proper modal dialogs.
6396 * device-msw.c (msprinter_default_printer): Fix to follow
6397 proper Mule conventions.
6400 * device-msw.c (signal_open_printer_error):
6401 * device-msw.c (msprinter_init_device):
6402 * device-msw.c (ensure_not_printing):
6403 * device-msw.c (plist_get_margin):
6404 * device-msw.c (Fmsprinter_select_settings):
6405 * device-msw.c (finalize_devmode):
6406 * device-msw.c (Fmsprinter_settings_despecialize):
6407 * device-msw.c (signal_enum_priner_error):
6408 * extents.c (decode_extent):
6409 * extents.c (decode_map_extents_flags):
6410 * extents.c (decode_extent_at_flag):
6411 * extents.c (Fextent_at):
6412 * extents.c (Fextents_at):
6413 * extents.c (symbol_to_glyph_layout):
6414 [[[[2]]]] Use structured errors.
6417 * dialog-msw.c (mswindows_is_dialog_msg):
6418 * dialog-msw.c (mark_mswindows_dialog_id):
6419 * dialog-msw.c (dialog_proc):
6420 * dialog-msw.c (handle_question_dialog_box):
6421 * dialog-msw.c (syms_of_dialog_mswindows):
6422 Define new object to clean up marking; use it as a dialog identifier.
6423 Call new delete-dialog-box-hook.
6425 * dialog-x.c (dbox_selection_callback):
6426 * dialog-x.c (dbox_descriptor_to_widget_value):
6427 * dialog-x.c (x_make_dialog_box_internal):
6428 Call new delete-dialog-box-hook.
6432 * dialog.c (syms_of_dialog):
6433 * dialog.c (vars_of_dialog):
6434 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6437 * eval.c (signal_call_debugger):
6438 when noninteractive, output stack traces on the console instead
6439 of in a (never-seen) buffer.
6441 * eval.c (signal_type_error):
6442 * eval.c (invalid_argument_2):
6444 new funs for use w/structured errors.
6447 * event-Xt.c (x_to_emacs_keysym):
6448 * event-Xt.c (describe_event):
6449 * event-Xt.c (emacs_Xt_event_handler):
6450 * event-Xt.c (vars_of_event_Xt):
6452 * event-msw.c (mswindows_wnd_proc):
6453 * event-msw.c (vars_of_event_mswindows):
6454 rename {x,mswindows}-debug-events to debug-{}-events for
6455 consistency with other debug-foo variables.
6458 document next-event more clearly.
6460 * fileio.c (Ffile_name_directory):
6461 * fileio.c (Ffile_name_nondirectory):
6462 * fileio.c (Funhandled_file_name_directory):
6463 * fileio.c (file_name_as_directory):
6464 * fileio.c (Ffile_name_as_directory):
6465 * fileio.c (directory_file_name):
6466 * fileio.c (Fdirectory_file_name):
6467 * fileio.c (Fmake_temp_name):
6468 * fileio.c (Ffile_truename):
6469 * fileio.c (Fsubstitute_in_file_name):
6470 * fileio.c (expand_and_dir_to_file):
6471 * fileio.c (barf_or_query_if_file_exists):
6472 * fileio.c (check_executable):
6473 * fileio.c (Ffile_exists_p):
6474 * fileio.c (Ffile_writable_p):
6475 * fileio.c (Ffile_directory_p):
6476 * fileio.c (Ffile_regular_p):
6477 * fileio.c (Ffile_modes):
6478 * fileio.c (Ffile_newer_than_file_p):
6479 * fileio.c (Fverify_visited_file_modtime):
6480 * fileio.c (Fset_visited_file_modtime):
6481 * fileio.c (auto_save_1):
6486 * frame-msw.c (mswindows_init_frame_1):
6487 * frame-msw.c (mswindows_enable_frame):
6488 * frame-msw.c (error_frame_unsizable):
6489 * frame-msw.c (msprinter_init_frame_1):
6490 * frame-msw.c (msprinter_init_frame_3):
6491 * frame-msw.c (console_type_create_frame_mswindows):
6493 implement new enable/disable frame methods.
6496 * frame-x.c (x_enable_frame):
6497 * frame-x.c (console_type_create_frame_x):
6498 implement new enable/disable frame methods.
6501 * frame.c (Fdisable_frame):
6502 * frame.c (syms_of_frame):
6503 * frame.h (struct frame):
6504 implement new enable/disable frame methods/functions.
6509 * glyphs-msw.c (mswindows_widget_instantiate):
6510 comment that initial-focus should be implemented.
6513 * glyphs-widget.c (check_valid_instantiator):
6514 * glyphs-widget.c (check_valid_orientation):
6515 * glyphs-widget.c (check_valid_tab_orientation):
6516 * glyphs-widget.c (check_valid_justification):
6517 * glyphs-widget.c (check_valid_border):
6518 * glyphs-widget.c (check_valid_callback):
6519 * glyphs-widget.c (check_valid_int_or_function):
6520 * glyphs-widget.c (check_valid_string_or_vector):
6521 * glyphs-widget.c (check_valid_item_list_1):
6522 * glyphs-widget.c (widget_validate):
6523 * glyphs-widget.c (combo_box_validate):
6524 * glyphs-widget.c (widget_instantiate):
6525 * glyphs-widget.c (syms_of_glyphs_widget):
6526 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6527 * glyphs-widget.c (image_instantiator_combo_box):
6528 * glyphs-widget.c (image_instantiator_scrollbar):
6529 * glyphs-widget.c (image_instantiator_tab_control):
6530 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6532 support (unimplemented) keyword initial-focus.
6533 reindent long macros.
6535 * glyphs-x.c (x_redisplay_widget):
6536 * glyphs-x.c (x_button_instantiate):
6537 * glyphs-x.c (x_button_redisplay):
6538 * glyphs-x.c (x_progress_gauge_instantiate):
6539 * glyphs-x.c (x_edit_field_instantiate):
6540 * glyphs-x.c (x_combo_box_instantiate):
6541 * glyphs-x.c (x_tab_control_instantiate):
6542 * glyphs-x.c (x_label_instantiate):
6544 * gui-x.c (button_item_to_widget_value):
6545 * gui-x.c (gui_items_to_widget_values_1):
6546 * gui-x.c (gui_item_children_to_widget_values):
6547 * gui-x.c (gui_items_to_widget_values):
6549 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6550 add new flag to gui-parsing routines to indicate whether
6551 accelerator specs should be supported.
6553 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6555 * glyphs.h (struct Lisp_Image_Instance):
6556 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6557 add initial-focus flag.
6560 * gui.c (syms_of_gui):
6561 * gui.c (vars_of_gui):
6562 clean up menu-no-selection-hook.
6565 support delete-dialog-box-hook.
6567 * lread.c (Fload_internal):
6568 * lread.c (locate_file_in_directory_mapper):
6572 * lrecord.h (struct toolbar_button):
6573 * lrecord.h (syms_of_toolbar):
6574 document how to create a new object.
6576 * menubar-msw.c (mswindows_char_is_accelerator):
6577 may be called on frames w/o menus.
6579 * menubar.c (vars_of_menubar):
6580 clean up :filter docs.
6587 * process-nt.c (validate_signal_number):
6588 * process-nt.c (signal_cannot_launch):
6589 * process-nt.c (nt_create_process):
6590 * process-nt.c (nt_send_process):
6591 * process-nt.c (nt_kill_child_process):
6592 * process-nt.c (nt_open_network_stream):
6593 * process-nt.c (syms_of_process_nt):
6595 delete quote-handling. call new lisp code that does it better.
6597 * process-unix.c (connect_to_file_descriptor):
6598 * process-unix.c (allocate_pty):
6599 * process-unix.c (unix_send_process):
6600 * process-unix.c (unix_kill_child_process):
6601 * process-unix.c (unix_open_network_stream):
6602 * process-unix.c (unix_open_multicast_group):
6606 * process.c (Fstart_process_internal):
6607 (2). need to canonicalize process path even if absolute.
6609 * select-msw.c (symbol_to_ms_cf):
6610 * select-msw.c (ms_cf_to_symbol):
6611 * select-msw.c (cf_is_autofreed):
6612 * select-msw.c (mswindows_destroy_selection):
6614 * select.c (syms_of_select):
6616 support dibv5, fix bugs. (from Mike Alexander)
6618 * select.c (Fget_selection_internal):
6619 * select.c (select_convert_out):
6622 * sysdep.c (xemacs_stat):
6627 but keep original stat() here because we provide encapsulation
6631 * sysfile.h (fstat):
6632 remove stat garbage.
6636 don't include tchar.h. it's inappropriate because it makes
6637 compile-time distinctions when we want runtime distinctions.
6638 (we provide our own tchar replacements)
6641 use default object printer for toolbar-button.
6644 make sure we don't encapsulate.
6646 * window.c (vars_of_window):
6647 emphasize that temp-buffer-show-hook is obsolete.
6649 2000-08-05 Martin Buchholz <martin@xemacs.org>
6651 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6652 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6654 * events.c (Fevent_timestamp_lessp):
6655 Not 64-bit clean. Use EMACS_INT, not int.
6657 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6659 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6660 unsigned int and changed the last enum to
6661 lrecord_type_last_built_in_type.
6662 (lrecord_implementations_table): changed prototype to know how
6663 long the array is supposed to be.
6664 (lrecord_type_count): new unsigned int to keep track of the
6665 current number of lisp lrecord types.
6666 (DEFINE_EXTERNAL_LRECORD):
6667 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6668 dynamic-modules to declare new lisp types. They are the same
6669 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6670 int for each new type, and increment lrecord_type_count by 1.
6672 * alloc.c (lrecord_implementations_table): Changed to reference
6673 lrecord_type_last_built_in_type for the size of the array.
6674 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6676 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6678 * glyphs.h (check_valid_item_list): Renamed from
6679 check_valid_item_list_1.
6681 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6683 * select.c (Qselect_coerce): New.
6684 * select.c (Vselection_coercion_alist): New.
6685 * select.c (syms_of_select): Declare.
6686 * select.c (get-selection-internal): Use it.
6687 Use the new select-coerce functionality.
6689 * select.c (select_coerce): New.
6690 * select.h (select_coerce): Declare.
6691 New function to coerce one type of data into another.
6693 2000-08-03 Martin Buchholz <martin@xemacs.org>
6695 * callproc.c (Fcall_process_internal):
6696 (Fcall_process_internal):
6697 * process-unix.c (unix_create_process):
6698 Save and restore the value of errno, so that error messages are accurate.
6700 2000-08-01 Martin Buchholz <martin@xemacs.org>
6702 * elhash.c (print_hash_table):
6703 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6704 Prettify docstrings and indentation.
6706 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6708 * window.c (Fwindow_pixel_edges): Subtract frame border and
6711 2000-07-31 Andy Piper <andy@xemacs.org>
6713 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6714 will acknowledge the change.
6716 * glyphs.h: declare tab_control_order_only_changed.
6718 * glyphs-x.c (x_tab_control_redisplay): use
6719 tab_control_order_only_changed.
6721 * glyphs-widget.c (tab_control_order_only_changed): new function.
6723 * glyphs-msw.c (mswindows_tab_control_redisplay): use
6724 tab_control_order_only_changed.
6726 * gui.c (gui_item_equal_sans_selected): new function.
6727 (gui_item_equal): use it.
6729 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
6730 :properties in favor of :items..
6732 * glyphs-widget.c (check_valid_item_list): rename from
6733 check_valid_item_list_1.
6734 (check_valid_item_list_1): renamed.
6735 (combo_box_validate): deprecate :properties in favor of :items.
6736 (widget_instantiate): ditto.
6737 (tab_control_update): ditto.
6738 (image_instantiator_combo_box): ditto.
6739 (image_instantiator_tree_view): ditto.
6740 (image_instantiator_tab_control): ditto.
6741 (layout_post_instantiate): remove dead code.
6743 * print.c (debug_print_no_newline): only write to debugger if in
6746 * elhash.c (Fmake_hash_table): update doc string.
6748 * event-msw.c (mswindows_wnd_proc): don't allow processing of
6749 messages whilst in GC. This at least stops XEmacs crashing but has
6750 the potential for wierd behaviour.
6752 2000-07-31 Martin Buchholz <martin@xemacs.org>
6755 Make existence of s&m files optional.
6757 * s/bsd386.h: Remove HAVE_GETLOADAVG.
6758 * s/freebsd.h: Remove HAVE_GETLOADAVG.
6759 * s/gnu.h: Remove HAVE_GETLOADAVG.
6760 * s/netbsd.h: Remove HAVE_GETLOADAVG.
6761 * s/sol2.h: Remove HAVE_GETLOADAVG.
6762 * lisp.h: Remove getloadavg() declaration.
6764 Include <sys/loadavg.h> if available.
6765 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
6766 * config.h.in: Group together getloadavg()-related macros.
6767 Use only configure-time tests to detect getloadavg().
6769 2000-07-30 Martin Buchholz <martin@xemacs.org>
6771 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
6773 2000-07-25 Andy Piper <andy@xemacs.org>
6775 * syswindows.h: add tchar.h for native builds.
6777 * frame.c (syms_of_frame): remove set-glyph-image.
6779 * general-slots.h: add Qset_glyph_image.
6781 * glyphs-widget.c (layout_update): add domain arg to
6783 (syms_of_glyphs_widget): remove set-glyph-image.
6785 2000-07-23 Ben Wing <ben@xemacs.org>
6787 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
6790 2000-07-22 Andy Piper <andy@xemacs.org>
6792 * symsinit.h: add syms_of_win32().
6794 * gui-msw.c (syms_of_gui_mswindows): remove
6795 Fmswindows_shell_execute.
6796 (Fmswindows_shell_execute): moved to win32.c.
6798 * emacs.c (main_1): add syms_of_win32 ().
6800 * win32.c (init_potentially_nonexistent_functions): rewrite in
6801 compiler-friendly terms.
6802 (Fmswindows_shell_execute): move here from gui-msw.c.
6803 (syms_of_win32): new.
6805 * device-msw.c (Fmswindows_printer_list): clean up args to
6807 Don't include tchar under cygwin or mingw.
6808 (msprinter_default_printer): make cygwin-friendly.
6810 2000-07-21 Andy Piper <andy@xemacs.org>
6812 * glyphs-widget.c (image_instantiator_tree_view): use tab
6813 control's update function.
6814 (layout_property): new function. Retrieve items.
6816 * glyphs-msw.c (mswindows_tree_view_redisplay): new
6817 function. Re-populate the tree view from the pending items.
6819 * glyphs.c (instantiate_image_instantiator): Make sure the domain
6820 is designated the parent if the domain is an image instance. This
6821 is needed so that dirtiness can be cascade up the hierarchy and
6822 thus for layout children to be redisplayed correctly.
6823 (allocate_image_instance): rename glyph -> parent.
6825 * redisplay.h: change redisplay_output_layout signature.
6827 * redisplay-msw.c (mswindows_output_display_block): use domain
6830 * redisplay-x.c (x_output_display_block): use domain arg.
6832 2000-07-10 Andy Piper <andy@xemacs.org>
6834 * window.c (Fset_window_configuration): add comment.
6836 * redisplay-output.c (compare_runes):
6837 (redisplay_output_subwindow): redisplay rather than update subwindow.
6838 (redisplay_output_layout): ditto.
6840 * redisplay-msw.c (mswindows_frame_output_end):
6841 (mswindows_frame_output_end): make defer window pos optional.
6843 * lisp.h: add Flast.
6845 * glyphs.h (struct image_instantiator_methods): add dest_mask top
6846 normalize method. Change update method to be for changed
6847 instantiators. Add redisplay method. Change signature of layout
6849 (struct Lisp_Image_Instance): add instantiator.
6850 (IMAGE_INSTANCE_INSTANTIATOR): new.
6851 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
6852 (XIMAGE_INSTANCE_INSTANTIATOR): new.
6853 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
6856 (find_instantiator_differences): new function.
6857 (Fset_instantiator_property): new convenience function.
6858 (check_image_instance_structure): strictly check for vector
6860 (normalize_image_instantiator): make non-static.
6861 (instantiate_image_instantiator): pass on dest_mask and use new
6862 signatures for image_instance_layout and friends.
6863 (mark_image_instance): mark the instantiator. Mark the subwindow
6864 face not the widget face.
6865 (image_instance_equal): add instantiator.
6866 (image_instance_hash): ditto.
6867 (allocate_image_instance): ditto.
6868 (Fset_image_instance_property): removed.
6869 (Fimage_instance_file_name): ditto.
6870 (Fcolorize_image_instance): ditto.
6871 (image_instance_layout): add offsets to be set.
6872 (update_image_instance): new function. update an image instance
6873 from its changed instantiator.
6874 (inherit_normalize): add dest_mask.
6875 (xbm_normalize): ditto.
6876 (xface_normalize): ditto.
6877 (xpm_normalize): ditto.
6878 (text_update): set_property -> update.
6879 (image_instantiate): use the glyph identity as a hash key, not the
6881 (glyph_width): use new image_instance_layout signature.
6882 (glyph_ascent): ditto.
6883 (glyph_descent): ditto.
6884 (glyph_height): ditto.
6885 (glyph_query_geometry): ressurrect.
6886 (glyph_layout): ditto.
6887 (redisplay_subwindow): update -> redisplay.
6888 (syms_of_glyphs): add Fset_instantiator_property.
6889 (image_instantiator_format_create): set_property -> update.
6892 (autodetect_normalize): add dest_maks to signature.
6893 (x_redisplay_subwindow): update -> redisplay.
6894 (x_redisplay_widget): ditto.
6895 (x_button_redisplay): ditto.
6896 (x_progress_gauge_redisplay): ditto.
6897 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
6899 (console_type_create_glyphs_x): update -> redisplay.
6900 (image_instantiator_format_create_glyphs_x): ditto.
6903 (check_valid_instantiator): disallow glyphs in the instantiator,
6904 they must now be vectors.
6905 (check_valid_instantiator_list): ditto.
6906 (glyph_instantiator_to_glyph): use internal symbol rather than
6908 (widget_update): renamed from widget_set_property. Call cascaded
6910 (redisplay_widget): renamed from update_widget.
6911 (widget_layout): image_instance_layout now takes position as well
6913 (widget_normalize): ditto.
6914 (widget_instantiate): ditto.
6915 (tab_control_query_geometry) ditto.:
6916 (tab_control_update): renamed from tab_control_set_property.
6917 (progress_gauge_update): set_property -> update.
6918 (layout_normalize): rewrite so that child instantiators are
6920 (layout_update): new function. Create glyphs from the normalized
6921 children and cope with any other layout keywords. We do not
6922 instantiate children here that will be take care of by
6923 redisplay_output_layout.
6924 (layout_instantiate): call layout_update and not much else.
6925 (layout_post_instantiate): not sure whether this is needed
6927 (layout_query_geometry): query glyph geometry rather than
6928 image_instance geometry.
6929 (layout_layout): set offsets from pass in parameters. Use glyph
6930 geometry and layout functions rather than image instance ones.
6931 (native_layout_layout): ditto.
6932 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
6933 (image_instantiator_widget): set_property -> update.
6934 (image_instantiator_buttons): ditto.
6935 (image_instantiator_progress_guage): ditto.
6936 (image_instantiator_tab_control): ditto.
6937 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
6938 (image_instantiator_layout): add update method.
6940 * glyphs-msw.c (bmp_normalize):
6941 (mswindows_resource_normalize): add dest_mask so that it can be
6942 proprogated by layout_normalize.
6943 (begin_defer_window_pos): make optional because it may not be the
6944 right thing to do and it introduces differences with X.
6945 (mswindows_unmap_subwindow): ditto.
6946 (mswindows_map_subwindow): ditto.
6947 (mswindows_redisplay_subwindow): renamed from
6948 mswindows_update_subwindow.
6949 (mswindows_redisplay_widget): ditto.
6950 (mswindows_button_redisplay): renamed from
6951 mswindows_button_update. Update is now what the instantiation
6952 function does for a changed instantiator.
6953 (mswindows_progress_gauge_instantiate): set the progress value
6954 here if appropriate.
6955 (mswindows_tab_control_redisplay): cope with re-ordering of the
6956 members of the tab widget by simply selecting the new top
6957 widget. This makes things appear ok if you click on a tab.
6958 (mswindows_combo_box_instantiate): image_instance_layout now takes
6959 position as well as size.
6960 (mswindows_progress_gauge_redisplay): renamed from
6961 mswindows_progress_gauge_update.
6962 (console_type_create_glyphs_mswindows): fix update -> redisplay.
6963 (image_instantiator_format_create_glyphs_mswindows): ditto.
6965 * glyphs-eimage.c (jpeg_normalize):
6968 (tiff_normalize): add dest_mask so that it can be proprogated by
6973 (hash_table_weakness_validate):
6974 (decode_hash_table_weakness):
6975 (Fhash_table_weakness):
6977 (syms_of_elhash): use Ben's naming scheme for hashtable types..
6979 * console.h (struct console_methods): move update_* to
6982 2000-07-20 Ben Wing <ben@xemacs.org>
6984 * *.[ch] (XSETOBJ): remove unused middle argument.
6985 lisp-disunion.h: correct wrap_object() to one argument.
6987 2000-07-15 Ben Wing <ben@xemacs.org>
6990 * s/cygwin32.h (CYGWIN_CONV_PATH):
6991 Add missing logb prototype for v1.1.
6992 Use post-b20 names and alias to pre-b20 names when pre-b20.
6994 * s/windowsnt.h: [5].
6996 2000-07-15 Ben Wing <ben@xemacs.org>
6998 * Makefile.in.in (x_objs):
6999 * Makefile.in.in (sheap_objs):
7000 * Makefile.in.in (objs):
7001 added win32.o, cosmetic cleanups.
7003 * alloc.c (Fmake_byte_code):
7004 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
7005 etc. macros which declare their own args now.
7007 * alloc.c (syms_of_alloc):
7008 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
7011 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
7013 * buffer.c (Fget_file_buffer):
7014 Fixed GCPRO problem.
7016 * buffer.c (get_truename_buffer):
7017 Fixed comment about GC checking.
7019 * buffer.c (syms_of_buffer):
7020 Undeclared those dedicated frame funs.
7024 Define convenience macros for internal/external conversions.
7025 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
7026 and Qenvironment_variable_encoding for cleaner code.
7029 Remove dedicated-frame; in lisp.
7031 * bytecode.c (funcall_compiled_function):
7034 * bytecode.c (syms_of_bytecode):
7038 * console-msw.c (mswindows_show_console): Rewrote.
7040 * console-msw.c (Fmswindows_debugging_output): New.
7041 Sends to OutputDebugString (special MSWin debugger interface).
7043 * console-msw.c (Fmswindows_message_box):
7044 Fixed stupid bugs so it works when called from kill-emacs.
7046 * console-msw.c (syms_of_console_mswindows):
7047 Declare Fmswindows_debugging_output.
7050 New MSWin prototypes.
7052 * console-msw.h (struct mswindows_frame):
7053 New entry last-click-mods for improved button-modifier support.
7055 * console-msw.h (FRAME_MSWINDOWS_POPUP):
7056 New struct entry `popup' with corresponding accessor.
7059 * console-x.c (split_up_display_spec):
7060 * console-x.c (get_display_arg_connection):
7061 * console-x.c (x_semi_canonicalize_console_connection):
7062 * console-x.c (x_canonicalize_device_connection):
7063 [[[6]]]: Change char to more specific type.
7064 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
7066 * console-x.c (x_semi_canonicalize_console_connection):
7067 * console-x.c (x_canonicalize_device_connection):
7068 [[[9]]]: Fix up error signalling to use new structured error system.
7071 [[[4]]]: Define codesys aliases:
7072 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
7073 Qx_color_name_encoding, Qx_display_name_encoding.
7075 * console.h (struct console_methods):
7076 New method make_dialog_box_internal supersedes older
7077 popup_dialog_box method.
7080 Define many new errors, part of new structured errors.
7082 * data.c (init_errors_once_early):
7083 * data.c (syms_of_data):
7086 * device-msw.c (mswindows_init_device):
7087 [[[5]]]: Cleanup to support NT 3.51.
7089 * device-msw.c (decode_devmode): Cleanup.
7091 * device-msw.c (mswindows_handle_print_setup_dialog_box):
7092 * device-msw.c (mswindows_handle_print_dialog_box):
7093 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7094 * device-msw.c (syms_of_device_mswindows):
7095 Delete the dialog box primitives recently introduced by Kirill and
7096 instead interface to general dialog box interface.
7099 * device-x.c (compute_x_app_name):
7100 * device-x.c (x_init_device):
7101 * device-x.c (Fx_valid_keysym_name_p):
7102 * device-x.c (Fx_set_font_path):
7106 * device.h (wrap_device): New.
7107 First of its kind; meant to replace XSETDEVICE.
7109 * dialog-msw.c: Many file-dialog symbols.
7111 * dialog-msw.c (mswindows_register_popup_frame): New.
7112 * dialog-msw.c (mswindows_is_dialog_msg): New.
7113 For supporting kbd traversal in dialog boxes.
7115 * dialog-msw.c (dialog_proc):
7116 Support hitting ESC in dialogs.
7118 * dialog-msw.c (struct):
7119 Common dialog box errors.
7121 * dialog-msw.c (handle_file_dialog_box): New.
7122 Add file dialog code.
7124 * dialog-msw.c (handle_question_dialog_box):
7125 Redo existing code to support new question dialog syntax.
7127 * dialog-msw.c (console_type_create_dialog_mswindows):
7128 We support new dialog console method.
7130 * dialog-msw.c (syms_of_dialog_mswindows):
7131 * dialog-msw.c (vars_of_dialog_mswindows):
7132 New file dialog symbols, vars.
7135 * dialog-x.c (maybe_run_dbox_text_callback):
7136 * dialog-x.c (dbox_descriptor_to_widget_value):
7137 * dialog-x.c (x_make_dialog_box_internal):
7138 * dialog-x.c (console_type_create_dialog_x):
7139 Mule-ize entire file.
7140 Redo to support question dialog syntax.
7144 * dialog.c (Fmake_dialog_box_internal):
7145 * dialog.c (syms_of_dialog):
7146 Kill old popup-dialog-box, replace with new primitive.
7147 Just call device method or signal error.
7149 * eldap.c (Fldap_open):
7150 * eldap.c (Fldap_search_basic):
7151 * eldap.c (Fldap_add):
7152 * eldap.c (Fldap_modify):
7157 * emacs.c (make_arg_list_1):
7158 * emacs.c (make_arg_list):
7159 Mule-ize call to dll_init().
7163 * emacs.c (make_argc_argv):
7164 * emacs.c (free_argc_argv):
7165 * emacs.c (init_cmdargs):
7167 * emacs.c (Fkill_emacs):
7168 * emacs.c (Fdump_emacs):
7169 Update comments about what can be used in syms_* etc.
7170 Call init_win32() when necessary.
7171 Fix up MS Win dialog box in kill-buffer to actually work right.
7182 * eval.c (condition_case_3):
7184 * eval.c (function_argcount):
7185 * eval.c (funcall_lambda):
7188 * eval.c (type_error): New.
7189 * eval.c (maybe_type_error): New.
7190 * eval.c (continuable_type_error): New.
7191 * eval.c (maybe_continuable_type_error): New.
7192 * eval.c (type_error_with_frob): New.
7193 * eval.c (maybe_type_error_with_frob): New.
7194 * eval.c (continuable_type_error_with_frob): New.
7195 * eval.c (maybe_continuable_type_error_with_frob): New.
7196 New functions for use with structured errors.
7199 * event-Xt.c (x_event_to_emacs_event):
7200 Buttons are now modifiers too.
7202 * event-Xt.c (emacs_Xt_current_event_timestamp):
7203 Implement new event method.
7204 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7207 * event-msw.c (ntpipe_shove_writer): [5].
7208 * event-msw.c (mswindows_enqueue_mouse_button_event):
7209 * event-msw.c (mswindows_drain_windows_queue):
7210 * event-msw.c (mswindows_wnd_proc): [7].
7211 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7212 * event-msw.c (mswindows_modifier_state):
7213 Throughout: support new button modifiers.
7215 * event-msw.c (emacs_mswindows_current_event_timestamp):
7216 Implement new event method.
7217 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7220 * event-stream.c (event_stream_current_event_timestamp): New.
7221 * event-stream.c (maybe_kbd_translate): New functionality.
7222 * event-stream.c (vars_of_event_stream):
7223 Document new kbd-translate-table functionality.
7225 * event-stream.c (Fcurrent_event_timestamp): New.
7226 New primitive for use in fabricated events.
7227 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7229 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7232 * events.c (Fmake_event):
7233 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7237 * events.c (format_event_object): fix gcc warnings.
7239 * events.c (Fevent_timestamp): Document new primitives.
7241 * events.c (TIMESTAMP_HALFSPACE): New.
7243 * events.c (Fevent_timestamp_lessp): New. New primitive for
7244 comparing timestamps correctly (half-space algorithm).
7246 * events.c (Fevent_modifier_bits): Doc fix.
7248 * events.c (Fevent_modifiers): Major doc addition.
7249 * events.c (event_x_y_pixel_internal): Typo fix.
7250 * events.c (syms_of_events): Declare new primitives.
7253 Update long comment for button modifiers, timestamps.
7255 * events.h (struct event_stream):
7256 New current_event_timestamp method.
7259 * extents.c (extent_in_region_p):
7260 * extents.c (decode_extent):
7261 * extents.c (Fset_extent_parent):
7262 * extents.c (decode_map_extents_flags):
7266 * extents.c (struct extent_at_arg):
7267 * extents.c (decode_extent_at_flag):
7268 * extents.c (extent_at_mapper):
7269 * extents.c (extent_at_bytind):
7270 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7271 * extents.c (Fextents_at): New primitive. [9].
7272 * extents.c (symbol_to_glyph_layout): [9].
7273 Support new primitive `extents-at'.
7276 * extents.c (get_text_property_bytind):
7277 extent_at_bytind has another arg.
7280 * extents.c (syms_of_extents): New primitive.
7282 * file-coding.c (Fmake_coding_system): [1].
7283 * file-coding.c (subsidiary_coding_system): fix gcc warning
7284 * file-coding.c (syms_of_file_coding): [2].
7286 * fileio.c (Fexpand_file_name):
7287 * fileio.c (Fsysnetunam):
7288 * fileio.c (Ffile_exists_p):
7289 * fileio.c (Ffile_executable_p):
7290 * fileio.c (Fverify_visited_file_modtime):
7293 * fileio.c (syms_of_fileio): [2].
7295 * filelock.c (lock_file_1):
7296 * filelock.c (current_lock_owner):
7297 * filelock.c (lock_if_free):
7298 * filelock.c (lock_file):
7299 * filelock.c (unlock_file):
7302 * fns.c (concat): Fix gcc warning.
7305 * fns.c (Fold_member):
7307 * fns.c (Fold_memq):
7308 * fns.c (memq_no_quit):
7310 * fns.c (Fold_assoc):
7312 * fns.c (Fold_assq):
7313 * fns.c (assq_no_quit):
7315 * fns.c (Fold_rassoc):
7317 * fns.c (Fold_rassq):
7318 * fns.c (rassq_no_quit):
7320 * fns.c (Fold_delete):
7322 * fns.c (Fold_delq):
7323 * fns.c (delq_no_quit):
7324 * fns.c (Fremassoc):
7326 * fns.c (remassq_no_quit):
7327 * fns.c (Fremrassoc):
7328 * fns.c (Fremrassq):
7329 * fns.c (remrassq_no_quit):
7334 * frame-msw.c (mswindows_init_frame_1):
7335 * frame-msw.c (mswindows_delete_frame):
7336 Register popups with dialog code so keyboard traversing works.
7338 * frame-tty.c (tty_raise_frame_no_select): [1].
7341 * frame-x.c (x_set_frame_text_value):
7342 * frame-x.c (x_set_frame_properties):
7343 * frame-x.c (x_create_widgets):
7347 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7349 * frame.h (wrap_frame): New.
7350 Macro like wrap_device.
7353 * general.c (SYMBOL):
7354 * general.c (syms_of_general):
7355 Major reorg. This is now just a wrapper and symbols themselves
7356 are listed in general-slots.h.
7358 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7359 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7361 * glyphs-msw.c (mswindows_native_layout_instantiate):
7362 Add DS_CONTROL so keyboard traversal will work.
7365 * glyphs-widget.c (syms_of_glyphs_widget):
7366 Move some symbols to general-slots.h.
7369 * glyphs-x.c (xbm_instantiate_1):
7370 * glyphs-x.c (x_xbm_instantiate):
7371 * glyphs-x.c (x_xface_instantiate):
7372 * glyphs-x.c (autodetect_instantiate):
7373 * glyphs-x.c (cursor_font_instantiate):
7374 * glyphs-x.c (x_update_widget):
7375 * glyphs-x.c (x_widget_instantiate):
7376 * glyphs.c (bitmap_to_lisp_data):
7377 * glyphs.c (pixmap_to_lisp_data):
7380 * glyphs.c (syms_of_glyphs):
7384 * gui-x.c (print_widget_value):
7385 * gui-x.c (menu_separator_style_and_to_external):
7386 * gui-x.c (add_accel_and_to_external):
7387 * gui-x.c (button_item_to_widget_value):
7388 * gui-x.c (gui_items_to_widget_values_1):
7389 * gui-x.c (gui_items_to_widget_values):
7390 * gui-x.c (syms_of_gui_x):
7391 * gui-x.c (vars_of_gui_x):
7392 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7396 Muleize, prototype changes matching gui-x.c.
7399 * gui.c (separator_string_p):
7400 * gui.c (gui_item_add_keyval_pair):
7401 * gui.c (make_gui_item_from_keywords_internal):
7402 * gui.c (signal_too_long_error):
7403 * gui.c (parse_gui_item_tree_item):
7404 * gui.c (syms_of_gui):
7405 * gui.c (vars_of_gui):
7407 menu-no-selection-hook moved here (used by MSWin).
7408 Move some symbols to general-slots.h.
7412 * insdel.c (get_buffer_pos_char):
7413 * insdel.c (get_buffer_range_char):
7416 * keymap.c (keymap_lookup_directly):
7417 * keymap.c (keymap_store):
7418 * keymap.c (ensure_meta_prefix_char_keymapp):
7419 * keymap.c (describe_map):
7421 Support new button modifiers.
7423 * lisp-disunion.h (wrap_object):
7424 * lisp-disunion.h (XSETOBJ):
7425 Rename make_obj to wrap_object.
7428 * lisp-union.h (make_int):
7429 * lisp-union.h (make_char):
7430 Support wrap_object.
7433 * lisp.h (LIST_LOOP):
7434 * lisp.h (EXTERNAL_LIST_LOOP):
7435 * lisp.h (LIST_LOOP_2):
7436 * lisp.h (EXTERNAL_LIST_LOOP_1):
7437 * lisp.h (EXTERNAL_LIST_LOOP_2):
7438 * lisp.h (EXTERNAL_LIST_LOOP_3):
7439 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7440 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7441 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7442 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7443 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7444 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7445 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7446 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7447 * lisp.h (struct Lisp_Symbol):
7448 * lisp.h (maybe_continuable_error_with_frob):
7449 Fix up section comments.
7450 Add new types for char to indicate usage.
7451 Delete symbols auto-generated from general-slots.h.
7452 Add prototypes for structured error functions.
7453 Add long comments describing looping macros and change interface
7454 so that lvalues are automatically declared.
7455 Add NO_DECLARE macro in case callers want to declare lvalues
7458 * lread.c (read_syntax_error):
7459 * lread.c (continuable_read_syntax_error):
7460 * lread.c (read_structure):
7461 * lread.c (sequence_reader):
7462 * lread.c (read_list_conser):
7463 * lread.c (read_compiled_function):
7464 Rename syntax_error and continuable_syntax_error to avoid clash
7465 with same-named structured error functions.
7467 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7468 * menubar-msw.c (populate_menu_add_item):
7469 * menubar-msw.c (populate_or_checksum_helper):
7474 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7475 Mule-ize whole file.
7477 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7479 * mule-charset.c (Fmake_charset):
7480 * mule-wnnfns.c (Fwnn_set_param):
7483 * ntproc.c (create_child):
7484 * ntproc.c (Fwin32_set_current_locale):
7485 Add comments portending doom.
7488 * objects-msw.c (old_font_enum_callback_2):
7489 * objects-msw.c (font_enum_callback_1):
7490 * objects-msw.c (mswindows_enumerate_fonts):
7494 * objects-x.c (allocate_nearest_color):
7495 * objects-x.c (x_parse_nearest_color):
7496 * objects-x.c (x_initialize_color_instance):
7497 * objects-x.c (x_print_color_instance):
7498 * objects-x.c (x_finalize_color_instance):
7499 * objects-x.c (x_valid_color_name_p):
7500 * objects-x.c (x_initialize_font_instance):
7501 * objects-x.c (x_print_font_instance):
7502 * objects-x.c (valid_x_font_name_p):
7503 * objects-x.c (truename_via_FONT_prop):
7504 * objects-x.c (truename_via_random_props):
7505 * objects-x.c (truename_via_XListFonts):
7506 * objects-x.c (x_font_truename):
7507 * objects-x.c (x_font_instance_truename):
7508 * objects-x.c (x_font_instance_properties):
7509 * objects-x.c (x_list_fonts):
7510 * objects-x.c (x_find_charset_font):
7511 Mule-ize entire file.
7518 * print.c (std_handle_out_external):
7519 * print.c (debug_print_no_newline):
7520 * print.c (syms_of_print):
7521 Output to all debugger kinds in debug-print.
7522 Fix console-output code under MSWin to actually work.
7524 * process-nt.c (send_signal):
7525 * process-nt.c (nt_create_process):
7526 Use newer Unicode macros.
7528 * process-unix.c (unix_create_process):
7529 * process-unix.c (unix_canonicalize_host_name):
7530 * process-unix.c (unix_open_network_stream):
7536 * search.c (syms_of_search):
7539 * select-msw.c (mswindows_destroy_selection):
7542 * select-x.c (symbol_to_x_atom):
7545 * select.c (syms_of_select):
7548 * sound.c (Fplay_sound_file):
7552 * specifier.c (decode_specifier_type):
7553 * specifier.c (Fvalid_specifier_locale_type_p):
7554 * specifier.c (check_valid_locale_or_locale_type):
7555 * specifier.c (decode_locale):
7556 * specifier.c (decode_locale_type):
7557 * specifier.c (decode_locale_list):
7558 * specifier.c (check_valid_domain):
7559 * specifier.c (decode_specifier_tag_set):
7560 * specifier.c (Fcanonicalize_tag_set):
7561 * specifier.c (Fdefine_specifier_tag):
7562 * specifier.c (Fspecifier_tag_predicate):
7563 * specifier.c (check_valid_inst_list):
7564 * specifier.c (check_valid_spec_list):
7565 * specifier.c (decode_how_to_add_specification):
7566 * specifier.c (check_modifiable_specifier):
7567 * specifier.c (specifier_add_spec):
7568 * specifier.c (boolean_validate):
7569 * specifier.c (display_table_validate):
7572 * specifier.c (syms_of_specifier):
7573 Move some symbols to general-slots.h.
7577 * symbols.c (Fmapatoms):
7578 * symbols.c (Fapropos_internal):
7581 * symbols.c (set_default_buffer_slot_variable):
7582 * symbols.c (set_default_console_slot_variable):
7585 * symbols.c (defsymbol_massage_name_1):
7586 * symbols.c (defkeyword_massage_name):
7587 * symbols.c (deferror_1):
7588 * symbols.c (deferror):
7589 * symbols.c (deferror_massage_name_and_message):
7591 * symeval.h (DEFSYMBOL):
7592 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7594 * symbols.c (syms_of_symbols):
7598 * symsinit.h (init_win32): New.
7599 Also new is syms_of_dialog_mswindows.
7602 Add new Unicode macros, missing Cygwin wide-char functions,
7603 convenience conversion macros for Qmswindows_tstr, macros for
7604 encapsulating required MSWin <-> Cygwin filename conversions,
7605 prototype for dynamically-extracted (not in NT 3.51) functions.
7610 * tooltalk.c (Fadd_tooltalk_message_arg):
7611 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7612 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7615 * tooltalk.c (syms_of_tooltalk):
7619 * unexnt.c (unexec):
7620 Fix up headers, declaration of unexec() to be more standard.
7622 2000-07-20 Martin Buchholz <martin@xemacs.org>
7624 * offix.h: Revert change to guard macros - they're used in offix.c!
7626 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7628 * lisp.h: Defsubred Fdelete.
7630 * console-msw.h: (msprinter_default_printer): Added.
7632 * console-msw.c (msprinter_canonicalize_console_connection):
7633 (msprinter_canonicalize_device_connection): Added.
7635 * device-msw.c (msprinter_default_printer):
7636 (Fmswingows_get_default_printer):
7637 (signal_enum_priner_error):
7638 (Fmswingows_printer_list): Added.
7640 2000-07-19 Martin Buchholz <martin@xemacs.org>
7642 * XEmacs 21.2.35 is released.
7644 2000-07-19 Martin Buchholz <martin@xemacs.org>
7646 * select-x.c (x_handle_selection_request):
7647 Text selected in xemacs and pasted into xterm failed to appear.
7648 Spelling fixes and cosmetic changes.
7650 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7652 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7653 XEmacs frame (fix for doubling chars in dialog boxes).
7655 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7657 * select.c (select_convert_in, select_convert_out):
7658 Don't call intern() every time.
7660 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7661 * select.c (vars_of_select): Initialise them.
7663 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7665 * select.c (selection-coercible-types): New.
7667 * select.c (own-selection-internal):
7668 * select.c (get-selection-internal):
7669 MULE bug fix - these should default to COMPOUND_TEXT and not
7670 STRING for MULE. I think.
7672 * select.c (select_convert_out): Use selection-coercible-types
7673 to find types that we can attempt to perform coercions on.
7675 2000-07-18 Martin Buchholz <martin@xemacs.org>
7679 Add coding: cookie to identify encoding.
7681 * mule-canna.c (CANNA_mode_keys): make static.
7682 Use proper prototypes, even for functions of no arguments.
7683 Remove external prototype for Fding().
7685 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7687 * select.c (syms_of_select): Add missing DEFSUBR.
7689 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7691 * select.c (get_selection_internal, own_selection_internal):
7692 Make the type default to STRING, rather than placing a nil type
7693 into Vselection_alist.
7695 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7697 * gpmevent.c (tty_selection_exists_p):
7698 * gpmevent.c (tty_own_selection):
7699 Updated parameter lists.
7701 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7703 * select.h (selection-alist): Removed declaration.
7705 * select.h (get_local_selection):
7706 * select.c (get_local_selection):
7709 * select.h (convert_selection): Removed declaration.
7710 * select.c (convert_selection): Removed.
7711 This function belongs in Lisp.
7713 * select.h (select_convert_in): Declare.
7714 * select.h (select_convert_out): Declare.
7715 * select.c (select_convert_in): New.
7716 * select.c (select_convert_out): New.
7717 New conversion functions for other files to call.
7719 * select.h (select_notify_buffer_kill): Declare.
7720 * select.c (select_notify_buffer_kill): New.
7721 New functions that get called from kill-buffer.
7723 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
7724 X-specific lisp code.
7726 * select.h: Declare some of the lisp-visible functions for
7729 * select.c (clean_local_selection_data): Removed. This was
7730 a disgusting function, and previously should have been in
7731 select-x.c in any case. The functionality is now provided
7732 in select-convert-from-integer (select.el).
7734 * select.c (available-selection-types): Fixed stupidity where
7735 INTEGER and ATOM got added twice. Also add STRING when we see an
7738 * select.c (get-selection-internal): Removed symbol stripping. No
7739 longer causes conversion when data comes from the internal cache.
7741 * select.c (syms_of_select): Added new functions.
7743 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
7744 error checking - previously this called abort!
7746 * select-x.c (x_own_selection): Changed comment.
7748 * select-x.c (x_handle_selection_request): Use select_convert_out.
7749 Don't mess with selection-alist; it's an internal variable of select.c.
7751 * select-x.c (x_get_foreign_selection): Use select_convert_in.
7753 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
7754 rather than messing with selection-alist.
7756 * select-msw.c (mswindows_get_foreign_selection):
7757 Use TO_INTERNAL_FORMAT rather than hacking.
7759 2000-07-14 Martin Buchholz <martin@xemacs.org>
7761 * process-unix.c (unix_open_multicast_group):
7762 (unix_open_multicast_group): Remove useless casts.
7764 2000-07-13 Martin Buchholz <martin@xemacs.org>
7766 * sound.c (Fplay_sound): Fix `unused variable' warning.
7768 * emacs.c (main): Use correct type for _environ on SCO5.
7770 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
7772 * console.h (own_selection_method):
7773 * console.h (selection_exists_p_method):
7774 * console.h (available_selection_types_method): New.
7775 * console.h (register_selection_data_type_method): New.
7776 * console.h (selection_data_type_name): New.
7778 * console-msw.h (mswindows_destroy_selection): Declare it. New
7779 function & alist to track GlobalAlloc()'d handles that need
7780 releasing when the clipboard data gets replaced or emptied.
7782 * event-msw.c (mswindows_wnd_proc): Call it.
7784 * lisp.h, general.c (Qappend): New symbol representing a
7787 * select.c (own-selection-internal):
7788 * select.c (selection-exists-p):
7789 * select.c (available-selection-types): New.
7790 * select.c (register-selection-data-type): New.
7791 * select.c (selection-data-type-name): New. New functions to deal
7792 with device-specific selection data formats.
7793 * select.c (selection-converter-out-alist): Renamed.
7794 * select.c (selection-converter-in-alist): New.
7795 * select.c (selection-appender-alist): New. Added new alists.
7796 * select.c (syms_of_select, vars_of_select): Added new symbols &
7798 * select.c (get_local_selection): Split.
7799 * select.c: Removed spurious type checking - selections may now be
7800 of any type, not just strings.
7801 * select.c (own-selection-internal):
7803 * select.h, select.c (convert_selection): New. Created
7804 convert_selection() function based on get_local_selection().
7805 * select.h, select.c (QCF_*): New symbols representing mswindows
7807 * select.h, select.c (Qreplace_all, Qreplace_existing): New
7808 symbols representing `how-to-add' modes.
7810 * select-msw.c (x_sym_p): New.
7811 * select-msw.c (symbol_to_ms_cf): New.
7812 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
7813 symbols & clipboard formats. Can also handle string names.
7814 * select-msw.c (mswindows_own_selection):
7815 * select-msw.c (mswindows_selection_exists_p):
7816 Added `data-type' parameter. Use it.
7817 * select-msw.c (mswindows_available_selection_types): New.
7818 * select-msw.c (mswindows_register_selection_data_type): New.
7819 * select-msw.c (mswindows_selection_data_type_name): New.
7820 * select-msw.c (mswindows_own_selection):
7821 * select-msw.c (mswindows_get_foreign_selection):
7822 * select-msw.c (mswindows_selection_exists_p): Rewrote.
7823 * select-msw.c (console_create_select_mswindows): Added new methods.
7824 * select-msw.c (mswindows_destroy_selection): New.
7825 * select-msw.c (Vhandle_alist): New list.
7826 * select-msw.c (mswindows_own_selection):
7828 * select-x.c (x_own_selection):
7829 * select-x.c (x_selection_exists_p):
7830 * select-x.c: Added some comments about maybe using new
7832 * select-x.c (x_own_selection):
7834 * specifier.c: Remove definition of Qappend (now in general.c)
7835 * specifier.c (syms_of_specifier): Remove Qappend.
7837 2000-07-12 Martin Buchholz <martin@xemacs.org>
7839 * config.h.in: Add socklen_t.
7841 * s/decosf4-0.h: No special compiler flags needed or desired.
7842 In particular, undefine _BSD for DEC OSF 4.0.
7844 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7846 * redisplay-msw.c (msprinter_frame_output_end): Added.
7847 (console_type_create_redisplay_mswindows): Referred the above.
7849 * frame.c (setup_frame_without_minibuffer): Do not create a
7850 default minibuffer frame on a printer device.
7852 * frame-msw.c (apply_dc_geometry): Added.
7853 (msprinter_start_page):
7854 (msprinter_init_frame_3):
7855 (msprinter_eject_page): Use it.
7857 * console-msw.h (struct msprinter_frame): Added pix_left and top,
7858 and removed residual duplex and orientation properties.
7860 2000-07-11 Martin Buchholz <martin@xemacs.org>
7862 * eval.c (function_argcount): Work around a DEC CC compiler bug.
7864 * unexalpha.c: Remove system prototypes from C sources!
7866 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
7868 * eval.c: Remove references to M-x edit-options in DEFUNs for
7869 `defvar' and `defconst'.
7871 2000-07-09 Martin Buchholz <martin@xemacs.org>
7873 * config.h.in: Remove SMART_INCLUDE hackery.
7876 * config.h.in: Don't use SMART_INCLUDE.
7878 * postgresql.h: Include libpq-fe.h here. Fix typo.
7879 * inline.c: Simply #include "postgresql.h"
7881 - Don't use SMART_INCLUDE
7882 - Use simply "const".
7883 - Use standard doc string conventions.
7884 - Use correct type for result of PQstatus.
7886 2000-07-09 Martin Buchholz <martin@xemacs.org>
7888 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
7890 C++ compilation changes.
7891 * config.h.in (EXTERN_C): Define.
7892 * config.h.in (not): This is also a C++ keyword.
7893 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
7894 * cm.c: Use EXTERN_C.
7895 * redisplay-tty.c: Use EXTERN_C.
7896 * sysdep.c: Use EXTERN_C. Remove Gould support.
7898 2000-07-09 Martin Buchholz <martin@xemacs.org>
7900 * general.c: Remove duplicate definition for Qfunction.
7902 2000-07-08 Ben Wing <ben@xemacs.org>
7904 * device-msw.c (msprinter_init_device):
7905 * device-msw.c (sync_printer_with_devmode):
7906 * device-msw.c (handle_devmode_changes):
7907 * device-msw.c (print_dialog_worker):
7908 * device-msw.c (Fmsprinter_apply_settings):
7909 * device-msw.c (hash_devmode):
7910 * device-msw.c (Fmsprinter_settings_despecialize):
7911 use Qmswindows_tstr, not Qctext.
7913 * vm-limit.c (check_memory_limits):
7914 avoid infinite loop printing warning messages.
7916 2000-07-05 Craig Lanning <lanning@scra.org>
7918 * Makefile.in.in: Add support for including the Windows resources
7919 when building with the cygwin and mingw targets.
7921 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
7922 not set or not correct.
7923 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
7924 (init_initial_directory): Don't try to use $PWD on the
7925 WIN32_NATIVE target.
7928 [[Add -mwindows to eliminate console window.]] not required --ben
7929 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7930 (MAIL_USE_POP): removed; now handled by configure.
7932 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
7933 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
7934 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7935 (MAIL_USE_POP): removed; now handled by configure.
7936 (ENCAPSULATE_STAT): from Dan Holmsand, added.
7937 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
7938 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
7940 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
7941 up from <winsock.h> via systime.h.
7942 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
7943 (getpagesize): from Dan Holmsand, added.
7944 Added #endif which was left dangling by Ben's mega patch; added
7945 comment to help prevent this in the future.
7947 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
7949 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7951 * console-msw.h (struct mswindows_device): Removed unnecessary
7952 cached device geometry values.
7953 Added update_tick and an accessor macro.
7954 (Lisp_Devmode): Added lrecord declaration.
7955 (struct msprinter_device): Contain devmode as a Lisp object.
7956 Added mswindows_get_selected_frame_hwnd();
7958 * console.h (struct console_methods): Indentation nitpicking.
7960 * device-msw.c (mswindows_init_device): Do not initialize geometry
7961 cache. Initialize update tick.
7962 (mswindows_device_system_metrics): Ask the device for its geometry.
7963 (global_free_2_maybe):
7964 (devmode_to_hglobal):
7965 (handle_printer_changes):
7966 (ensure_not_printing):
7967 (print_dialog_worker):
7968 (Fmsprinter_print_setup_dialog):
7969 (Fmsprinter_print_dialog):
7972 (Fmsprinter_page_setup_dialog): Added functions.
7973 (sync_printer_with_devmode):
7974 (handle_devmode_changes):
7975 (Fmsprinter_get_settings):
7976 (Fmsprinter_select_settings):
7977 (Fmsprinter_apply_settings):
7979 (Fmsprinter_settings_copy):
7980 (Fmsprinter_settings_despecialize):
7984 (hash_devmode): Added functions
7985 (syms_of_device_mswindows): Init devmode lrecord class.
7987 * device.h: Added an exfun for find-device.
7989 * event-msw.c (mswindows_wnd_proc): Do not update the cached
7990 geometry; although, recreate the device compatible DC.
7992 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
7993 (msprinter_init_frame_3):
7994 (msprinter_frame_property):
7995 (msprinter_internal_frame_property_p):
7996 (msprinter_frame_properties):
7997 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
7998 print job properties (will move to device settings).
8000 * lisp.h: Added symbols.
8002 * general.c (syms_of_general): Declared them.
8004 * hash.c (string_hash): Added.
8006 * lrecord.h (lrecord_type): Added devmode lrecord type.
8008 2000-07-02 Mike Sperber <mike@xemacs.org>
8010 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
8013 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
8015 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
8018 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
8020 * data.c (Fstring_to_number): Don't recognize floating point if
8023 2000-06-22 Martin Buchholz <martin@xemacs.org>
8025 * glyphs-widget.c (tab_control_query_geometry):
8026 (widget_query_geometry):
8027 (button_query_geometry):
8028 * glyphs.c (text_query_geometry):
8029 Enforce type correctness.
8031 2000-06-18 Martin Buchholz <martin@xemacs.org>
8033 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
8034 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
8036 2000-06-17 Martin Buchholz <martin@xemacs.org>
8038 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
8039 conflicts with gcc's fixincluded version of FOO.h.
8041 * glyphs.h (image_instance_geometry): Remove trailing `,'
8043 2000-06-08 Mike Alexander <mta@arbortext.com>
8045 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
8046 (shove_thread): Don't write the same output twice
8047 (make_ntpipe_output_stream): Increase priority of shove thread
8048 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
8050 (ntpipe_shove_closer): Don't delete the pipe until we're done with
8053 2000-06-12 Ben Wing <ben@xemacs.org>
8055 * s\mingw32.h (sigset):
8056 * s\windowsnt.h (sigset):
8057 rename msw_ to mswindows_ for consistency with general convention.
8059 2000-06-12 Ben Wing <ben@xemacs.org>
8062 * console-msw.c (mswindows_get_console_hwnd):
8063 * console-msw.c (mswindows_ensure_console_allocated):
8064 * console-msw.c (mswindows_hide_console):
8065 * console-msw.c (mswindows_show_console):
8066 * console-msw.c (mswindows_ensure_console_buffered):
8067 * console-msw.c (mswindows_output_console_string):
8068 * console-msw.c (mswindows_windows9x_p):
8070 * device-msw.c (mswindows_get_workspace_coords):
8071 * device-msw.c (mswindows_device_system_metrics):
8072 * dialog-msw.c (mswindows_popup_dialog_box):
8073 * event-msw.c (mswindows_wnd_proc):
8074 * frame-msw.c (mswindows_size_frame_internal):
8075 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8076 * menubar-msw.c (displayable_menu_item):
8077 * menubar-msw.c (mswindows_char_is_accelerator):
8079 * nt.c (mswindows_sigset):
8080 * nt.c (mswindows_sigrelse):
8081 * nt.c (mswindows_sigpause):
8082 * nt.c (mswindows_raise):
8083 * nt.c (timer_proc):
8085 * ntproc.c (find_child_console):
8086 * ntproc.c (sys_kill):
8088 * print.c (std_handle_out_external):
8089 * process-nt.c (find_child_console):
8090 * process-nt.c (send_signal_the_95_way):
8091 * process-nt.c (ensure_console_window_exists):
8092 * process-nt.c (nt_create_process):
8094 rename msw_ to mswindows_ for consistency with general convention.
8098 include nt.h, not syswindows.h.
8100 * nt.c (mswindows_fstat):
8101 * nt.c (mswindows_stat):
8102 prefix mswindows_ instead of attempting to directly override the
8103 library functions. fix declarations.
8106 include syswindows.h. move some sysdep.h stuff here.
8109 include syswindows.h, not <windows.h>.
8117 * sysdep.c (sys_fstat):
8118 * sysdep.c (sys_stat):
8119 call mswindows versions when appropriate.
8122 move mswin decls to nt.h.
8125 add long comment describing appropriate use of the various windows
8128 2000-06-11 Ben Wing <ben@xemacs.org>
8130 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8132 2000-06-10 Ben Wing <ben@xemacs.org>
8134 * Makefile.in.in (release):
8135 Correction to make sure xemacs.exe always dumped when correct.
8139 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8141 * buffer.c (set_buffer_internal):
8142 [[[[2]]]]: Remove HAVE_FEP code.
8144 * buffer.c (init_initial_directory):
8148 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8152 * callproc.c (call_process_cleanup):
8153 * callproc.c (Fold_call_process_internal):
8154 * callproc.c (child_setup):
8155 * callproc.c (getenv_internal):
8156 * callproc.c (init_callproc):
8157 * callproc.c (vars_of_callproc):
8158 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8159 __CYGWIN32__ -> CYGWIN.
8160 DOS_NT -> WIN32_NATIVE.
8161 Remove MSDOS support/references, converting to WIN32_NATIVE
8163 __MINGW32__ -> MINGW.
8164 Fix windows.h includes.
8165 Remove bogus HAVE_NTGUI.
8171 mswindows_message_outputted added for use in allowing startup
8172 errors on the console to be seen.
8174 * console-msw.c (msw_ensure_console_allocated):
8175 * console-msw.c (msw_output_console_string):
8176 * console-msw.c (DHEADER):
8177 * console-msw.c (DOPAQUE_DATA):
8178 * console-msw.c (DEVENT):
8179 * console-msw.c (DCONS):
8180 * console-msw.c (DCONSCDR):
8181 * console-msw.c (DSTRING):
8182 * console-msw.c (DVECTOR):
8183 * console-msw.c (DSYMBOL):
8184 * console-msw.c (DSYMNAME):
8187 * console-stream.c (stream_init_console):
8188 Fix text/binary problems.
8191 * device-msw.c (mswindows_finish_init_device):
8192 * device-msw.c (mswindows_delete_device):
8195 * device.c (handle_asynch_device_change):
8199 * dgif_lib.c (DGifOpenFileName):
8200 * dgif_lib.c (DGifOpenFileHandle):
8201 * dgif_lib.c (DGifGetLine):
8202 * dgif_lib.c (DGifGetPixel):
8203 Added config.h/lisp.h, fix up includes.
8210 * dired.c (file_name_completion):
8211 * dired.c (Ffile_attributes):
8212 * dired.c (syms_of_dired):
8216 * dumper.c (pdump_file_unmap):
8217 * dumper.c (pdump_load):
8221 * editfns.c (Ftemp_directory):
8222 * editfns.c (user_login_name):
8223 * editfns.c (Fuser_real_login_name):
8224 * editfns.c (get_home_directory):
8227 * elhash.c (finish_marking_weak_hash_tables):
8228 [[[[5]]]]: Fix GCC warnings.
8231 * emacs.c (mswindows_handle_hardware_exceptions):
8232 * emacs.c (make_arg_list_1):
8234 * emacs.c (Fkill_emacs):
8235 * emacs.c (Fdump_emacs):
8237 Fix problems with nested crashes, add long comment.
8239 * event-Xt.c (init_event_Xt_late):
8243 * event-msw.c (mswindows_dde_callback):
8244 * event-msw.c (mswindows_handle_sticky_modifiers):
8245 * event-msw.c (mswindows_wnd_proc):
8249 * events.c (character_to_event):
8253 * fileio.c (Ffile_name_directory):
8254 * fileio.c (Ffile_name_nondirectory):
8255 * fileio.c (directory_file_name):
8256 * fileio.c (Fexpand_file_name):
8257 * fileio.c (Fsubstitute_in_file_name):
8258 * fileio.c (Ffile_name_absolute_p):
8259 * fileio.c (check_executable):
8260 * fileio.c (Ffile_readable_p):
8261 * fileio.c (Ffile_accessible_directory_p):
8262 * fileio.c (Ffile_modes):
8263 * fileio.c (Funix_sync):
8264 * fileio.c (vars_of_fileio):
8267 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8269 Expand getdefdir defn.
8270 Fix bogus rename() comment.
8272 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8273 to use standard XEmacs include files, e.g. sysfile.h, rather
8274 than system-specific includes.
8280 * frame.c (vars_of_frame):
8284 * getloadavg.c (getloadavg):
8286 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8287 (We don't use it elsewhere in the code; just add a comment.)
8294 * glyphs-msw.c (mswindows_resource_instantiate):
8297 * glyphs-x.c (x_native_layout_instantiate):
8300 * gui-msw.c (Fmswindows_shell_execute):
8309 * lread.c (locate_file_in_directory_mapper):
8316 * mem-limits.h (get_lim_data):
8328 * nt.c (rva_to_section):
8329 * nt.c (mswindows_executable_type):
8331 Fix closedir() defn.
8334 [[[[8]]]]: *_OK defs moved to sysfile.h.
8343 * print.c (std_handle_out_external):
8347 * process-nt.c (nt_create_process):
8349 try to fix process quoting somewhat.
8351 * process-unix.c (unix_create_process):
8355 * process.c (vars_of_process):
8362 * realpath.c (xrealpath):
8365 * redisplay-tty.c (init_tty_for_redisplay):
8375 * sheap.c (more_static_core):
8376 * sheap.c (report_sheap_usage):
8380 * signal.c (alarm_signal):
8387 * strftime.c (zone_name):
8390 * symsinit.h (init_sunpro):
8394 commctrl.h not in Cygwin b20.1.
8398 * sysdep.c (sys_subshell):
8399 * sysdep.c (init_baud_rate):
8400 * sysdep.c (emacs_get_tty):
8401 * sysdep.c (emacs_set_tty):
8402 * sysdep.c (tty_init_sys_modes_on_device):
8403 * sysdep.c (init_system_name):
8404 * sysdep.c (sys_open):
8405 * sysdep.c (interruptible_open):
8406 * sysdep.c (sys_fopen):
8407 * sysdep.c (sys_mkdir):
8408 * sysdep.c (sys_rename):
8409 * sysdep.c (get_process_times_1):
8416 * sysdir.h (DIRENTRY_NONEMPTY):
8419 * sysdll.c (dll_init):
8425 added text/binary defs.
8431 * sysproc.h (EDESTADDRREQ):
8432 * sysproc.h (poll_fds_for_input):
8449 Always define WIN32_LEAN_AND_MEAN.
8451 * unexcw.c (unexec):
8455 * unexec.c (copy_text_and_data):
8456 * unexec.c (adjust_lnnoptrs):
8460 * unexnt.c (_start):
8463 2000-06-07 Ben Wing <ben@xemacs.org>
8465 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8466 was used only as a model. We've long since extracted any useful
8467 logic or code out of this. (I just did an exhaustive search.)
8469 * s\msdos.h: Removed.
8471 * s\windows95.h: Removed.
8473 2000-06-10 Ben Wing <ben@xemacs.org>
8477 Don't use extern with fun defs.
8481 Remove nt\inc include.
8482 Remove getdisk, getdefdir. (The former is unused, the latter
8483 expanded in fileio.h.)
8486 * s\windowsnt.h (WIN32_NATIVE):
8487 * s\windowsnt.h (HAVE_STRCASECMP):
8489 Add long comment about preprocessor changes.
8490 Remove getdisk, getdefdir. (The former is unused, the latter
8491 expanded in fileio.h.)
8493 2000-06-10 Ben Wing <ben@xemacs.org>
8502 Remove bogus/unused NO_SOCK_SIGIO.
8504 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8506 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8509 2000-06-04 Mike Sperber <mike@xemacs.org>
8511 * casetab.c (set_case_table): For `set-standard-case-table',
8512 actually deposit the new case tables where the rest of XEmacs can
8515 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8517 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8519 2000-06-05 Ben Wing <ben@xemacs.org>
8521 * callproc.c (child_setup): Don't do close_load_descs() under
8522 MS Windows. Put in a comment explaining why.
8524 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8526 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8527 Toolkit shell" which breaks `kill-compilation' on Windows NT
8528 native, retaining STDERR handling improvements.
8530 2000-06-01 Andreas Jaeger <aj@suse.de>
8532 * s/s390.h: Support for S390, based on a patch by Martin
8533 Schwidefsky <schwidefsky@de.ibm.com>.
8535 2000-05-30 Andy Piper <andy@xemacs.org>
8537 * window.c (allocate_window):
8538 (make_dummy_parent):
8539 (Fset_window_configuration): use new hashtable type.
8541 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8542 (struct image_instantiator_methods):
8543 (struct Lisp_Image_Instance): make instance geometry signed.
8545 * glyphs.c (instantiate_image_instantiator):
8546 (image_instance_query_geometry):
8547 (image_instance_layout):
8548 (image_instance_layout):
8549 (query_string_geometry):
8550 (text_query_geometry):
8551 (image_instantiate):
8552 (image_instantiate):
8553 (cache_subwindow_instance_in_frame_maybe):
8554 (subwindow_query_geometry): make instance geometry signed.
8556 * glyphs-widget.c (widget_query_geometry):
8558 (button_query_geometry):
8559 (tree_view_query_geometry):
8560 (tab_control_query_geometry):
8561 (layout_query_geometry):
8563 (native_layout_layout): make instance geometry signed.
8565 2000-05-29 Olivier Galibert <galibert@pobox.com>
8567 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8570 * general.c (syms_of_general): Add Qfull_assoc symbol.
8572 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8574 (decode_weak_list_type): Decode full-assoc type.
8575 (encode_weak_list_type): Encode full-assoc type.
8576 (Fmake_weak_list): Update doc string.
8578 2000-05-30 Andy Piper <andy@xemacs.org>
8580 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8582 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8583 (decode_hash_table_weakness): ditto.
8584 (Fhash_table_weakness): ditto.
8585 (Fhash_table_type): ditto.
8586 (finish_marking_weak_hash_tables): ditto.
8587 (hash_table_weakness_validate): ditto.
8588 (syms_of_elhash): ditto.
8590 2000-05-28 Martin Buchholz <martin@xemacs.org>
8592 * XEmacs 21.2.34 is released.
8594 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8596 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8598 (updating_line_start_cache): Gone.
8599 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8600 generic code to force a minimum of 1 line laid out in the
8603 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8605 * glyphs.c (instantiate_image_instantiator): Check for initialized
8606 height & width no longer special cases IMAGE_NOTHING.
8607 (nothing_instantiate): Set height and width of instance.
8609 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8611 * unexelf.c (unexec): Search for ".data" section.
8612 Initialize new_data2_offset from old_data_index.
8613 Remove redundant check for ElfW.
8615 2000-05-23 Andy Piper <andy@xemacs.org>
8617 * glyphs.c (get_image_instantiator_governing_domain): allow more
8618 specific domains as the governing domain rather than expecting an
8619 exact match. This fixes problems with layouts.
8621 2000-05-22 Andy Piper <andy@xemacs.org>
8623 * redisplay-output.c (compare_runes): check for non-images
8625 * glyphs.c (set_glyph_dirty_p): ditto.
8626 (update_glyph_cachel_data): ditto.
8628 * glyphs-widget.c (layout_post_instantiate): ditto.
8629 (layout_post_instantiate): ditto.
8631 * event-msw.c (mswindows_wnd_proc): warning removal.
8633 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8635 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8637 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8639 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8641 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8642 (mswindows_executable_type): mingw32 now has enough headers for
8645 2000-05-20 Andy Piper <andy@xemacs.org>
8647 * console-msw.c (mswindows_output_last_error): ; -> ,
8649 2000-05-12 Andy Piper <andy@xemacs.org>
8651 * console-msw.c (FROB): compare ints with ints.
8653 2000-05-11 Andy Piper <andy@xemacs.org>
8655 * glyphs-x.c (x_finalize_image_instance): make minimal build
8658 2000-05-20 Ben Wing <ben@xemacs.org>
8661 * event-Xt.c (vars_of_event_Xt):
8662 move modifier-keys-are-sticky to event-stream.c.
8665 * event-msw.c (mswindows_enqueue_mouse_button_event):
8666 * event-msw.c (key_needs_default_processing_p):
8667 * event-msw.c (XEMSW_LCONTROL):
8668 * event-msw.c (mswindows_handle_sticky_modifiers):
8669 * event-msw.c (FROB):
8670 * event-msw.c (clear_sticky_modifiers):
8671 * event-msw.c (output_modifier_keyboard_state):
8672 * event-msw.c (output_alt_keyboard_state):
8673 * event-msw.c (mswindows_wnd_proc):
8674 * event-msw.c (mswindows_modifier_state):
8675 * event-msw.c (emacs_mswindows_handle_magic_event):
8676 implement sticky modifiers.
8679 * event-stream.c (vars_of_event_stream):
8680 move modifier-keys-are-sticky here.
8686 implement map-range-table.
8689 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8691 * redisplay-tty.c (reset_tty_modes):
8692 (tty_redisplay_shutdown): Adjust argument type to
8693 tty_frame_output_end.
8695 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8697 * eval.c (Fbacktrace): Don't output a line with only right
8700 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8702 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8703 (Fpq_reset_poll): Ditto.
8705 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8707 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8709 2000-05-16 Ben Wing <ben@xemacs.org>
8712 * buffer.c (dfc_convert_to/from_internal_format):
8713 * buffer.c (reinit_vars_of_buffer):
8714 Fix conversion functions to allow reentrancy.
8717 * console-msw.c (mswindows_output_last_error):
8718 New fun, generally useful -- output a human-readable
8719 version of GetLastError() on the console.
8722 * console-msw.h (struct mswindows_frame):
8723 Changes for DeferWindowPos. Declare mswindows_output_last_error().
8725 * console-stream.c (stream_output_begin):
8726 * console-stream.c (stream_output_end):
8727 * console-stream.c (stream_output_vertical_divider):
8728 * console-stream.c (stream_clear_region):
8729 * console-stream.c (stream_flash):
8730 * console-stream.c (console_type_create_stream):
8731 Delete blank stream methods, not needed.
8733 * console.h (struct console_methods):
8734 Split begin/end methods into window and frame.
8737 * event-msw.c (mswindows_handle_paint):
8738 * event-msw.c (output_alt_keyboard_state):
8739 * event-msw.c (mswindows_wnd_proc):
8740 * event-msw.c (vars_of_event_mswindows):
8741 Comment about problems with ignored-expose.
8742 Define mswindows-debug-events; not really implemented.
8744 * frame-msw.c (mswindows_init_frame_1):
8748 * glyphs-msw.c (begin_defer_window_pos):
8749 * glyphs-msw.c (mswindows_unmap_subwindow):
8750 * glyphs-msw.c (mswindows_map_subwindow):
8751 * glyphs-msw.c (mswindows_resize_subwindow):
8752 Use DeferWindowPos to reduce flashing when mapping/unmapping.
8754 * glyphs.c (make_image_instance_1):
8757 * gutter.c (Fredisplay_gutter_area):
8758 Use new begin/end methods.
8760 * lisp.h (Dynarr_new2):
8764 * redisplay-msw.c (mswindows_frame_output_begin):
8765 * redisplay-msw.c (mswindows_frame_output_end):
8766 * redisplay-msw.c (console_type_create_redisplay_mswindows):
8767 New begin/end methods -- handle DeferWindowPos.
8769 * redisplay-output.c (redisplay_move_cursor):
8770 * redisplay-output.c (redraw_cursor_in_window):
8771 * redisplay-output.c (redisplay_update_line):
8772 * redisplay-output.c (redisplay_output_window):
8773 New begin/end methods.
8776 * redisplay-tty.c (tty_frame_output_begin):
8777 * redisplay-tty.c (tty_frame_output_end):
8778 * redisplay-tty.c (console_type_create_redisplay_tty):
8779 New begin/end methods.
8782 * redisplay-x.c (x_window_output_begin):
8783 * redisplay-x.c (x_window_output_end):
8784 * redisplay-x.c (console_type_create_redisplay_x):
8785 New begin/end methods.
8787 * redisplay.c (redisplay_frame):
8788 * redisplay.c (Fredisplay_echo_area):
8789 New begin/end methods.
8790 use MAYBE_DEVMETH for clear_frame; it may not exist.
8792 * window.h (WINDOW_XFRAME):
8793 WINDOW_XFOO macros -- get locale and decode struct pointer.
8796 2000-05-12 Ben Wing <ben@xemacs.org>
8799 * emacs.c (ensure_no_quitting_from_now_on):
8800 * emacs.c (fatal_error_signal):
8801 * emacs.c (mswindows_handle_hardware_exceptions):
8803 * emacs.c (Fkill_emacs):
8804 * emacs.c (shut_down_emacs):
8805 * emacs.c (assert_failed):
8806 various improvements in fatal error handling.
8809 move preparing_for_armageddon to emacs.c.
8812 declare fatal_error_in_progress.
8815 * print.c (std_handle_out_external):
8816 * print.c (std_handle_out_va):
8817 * print.c (stderr_out):
8818 * print.c (stdout_out):
8819 use console under mswin when no standard output.
8820 don't do code conversion during fatal error.
8822 * scrollbar.c (Fscrollbar_page_up):
8823 * scrollbar.c (Fscrollbar_page_down):
8824 fix missing else. reindent.
8826 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
8830 * glyphs.h (GLYPH_CACHEL_DESCENT):
8831 (GLYPH_CACHEL_DESCENT):
8832 (GLYPH_CACHEL_DESCENT):
8833 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
8834 used in case these are inline functions.
8835 Use more absurd values to error check.
8837 include window.h for error check functions.
8839 2000-05-11 Ben Wing <ben@xemacs.org>
8841 * cmdloop.c (Freally_early_error_handler):
8842 Display message box under windows; otherwise, message will disappear
8843 before it can be viewed.
8846 * console-msw.c (Fmswindows_message_box):
8847 * console-msw.c (FROB):
8848 * console-msw.c (syms_of_console_mswindows):
8849 Define new fun `mswindows-message-box'.
8850 #### I will merge this into `popup-dialog-box'; just give me
8854 * general.c (syms_of_general):
8855 Some new symbols used in `mswindows-message-box'.
8858 * glyphs.c (Fset_image_instance_property):
8859 put warning in this fun.
8862 * glyphs.h (GLYPH_CACHEL_WIDTH):
8863 * glyphs.h (GLYPH_CACHEL_ASCENT):
8864 * glyphs.h (GLYPH_CACHEL):
8865 * glyphs.h (GLYPH_CACHEL_GLYPH):
8866 define error-checking versions to try to catch a bug i've seen --
8867 redisplay gets in an infinite loop because the glyph width of the
8868 continuation glyph is 65535.
8871 Extern message-box stuff.
8873 * window.c (allocate_window):
8874 * window.c (make_dummy_parent):
8875 * window.c (Fset_window_configuration):
8876 Use EQUAL not EQ for subwindow caches to make them work a bit
8877 better. (Something is still very broken.)
8880 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8882 * glyphs.c (image_instantiate): Suppress gcc warnings.
8883 (Fmake_image_instance): Fix doc string.
8884 * specifier.c (Fmake_specifier): Ditto.
8886 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
8888 * paths.h.in (PATH_LOCK): Removed.
8889 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
8890 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
8892 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8894 * fns.c (Ffeaturep): Update e-mail address in doc-string.
8895 Document (featurep '(and xemacs 21.02)).
8897 2000-05-09 Ben Wing <ben@xemacs.org>
8899 * buffer.c (complex_vars_of_buffer):
8900 update modeline-format doc.
8903 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
8906 timeline of all released versions of Emacs, for use in creating
8907 authorship comments and in synching up.
8909 * glyphs-widget.c (image_instantiator_buttons):
8910 * glyphs-widget.c (image_instantiator_edit_fields):
8911 * glyphs-widget.c (image_instantiator_combo_box):
8912 * glyphs-widget.c (image_instantiator_scrollbar):
8913 * glyphs-widget.c (image_instantiator_progress_guage):
8914 * glyphs-widget.c (image_instantiator_tree_view):
8915 * glyphs-widget.c (image_instantiator_tab_control):
8916 * glyphs-widget.c (image_instantiator_labels):
8917 * glyphs-widget.c (image_instantiator_layout):
8918 * glyphs-widget.c (image_instantiator_native_layout):
8919 rename decode_domain method to governing_domain.
8922 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
8923 * glyphs.c (add_entry_to_device_ii_format_list):
8924 make sure we don't put an entry more than once into the list.
8925 * glyphs.c (check_instance_cache_mapper):
8926 *************************************************************
8927 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8929 *************************************************************
8930 * glyphs.c (get_image_instantiator_governing_domain):
8931 clean up, expand on new concept of governing domain.
8932 * glyphs.c (instantiate_image_instantiator):
8933 * glyphs.c (allocate_image_instance):
8934 use governing_domain instead of cache_domain in naming.
8935 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
8936 * glyphs.c (make_image_instance_1):
8937 * glyphs.c (Fmake_image_instance):
8938 allow for any domain (not just device), and process the
8939 governing domain correctly. very big doc fix.
8940 * glyphs.c (Fimage_instance_domain):
8941 new primitive, to retrieve the governing domain of an image instance.
8942 * glyphs.c (image_instantiate):
8943 use new governing_domain stuff. this fixes a crash you could get
8944 by instantiating certain widget glyphs in frame locales. (should
8945 signal an error instead of crashing.)
8946 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
8947 * glyphs.c (Fglyphp): clean up doc.
8948 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
8949 * glyphs.c (syms_of_glyphs):
8950 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
8951 * glyphs.c (image_instantiator_format_create): add some comments about
8953 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
8954 for current-display-table. (Apparently Hrjove implemented in 1998 a
8955 design I wrote up in 1996, but didn't update the doc string.)
8957 * glyphs.h: clean up a doc string.
8958 * glyphs.h (governing_domain):
8959 * glyphs.h (struct image_instantiator_methods):
8960 changes for governing_domain stuff.
8963 * gutter.c (Fgutter_specifier_p):
8964 * gutter.c (Fgutter_size_specifier_p):
8965 * gutter.c (Fgutter_visible_specifier_p):
8967 * objects.c (Fcolor_specifier_p):
8968 * objects.c (Ffont_specifier_p):
8969 * objects.c (Fface_boolean_specifier_p):
8970 doc strings moved to make-*-specifier.
8972 * redisplay.c (add_disp_table_entry_runes_1):
8973 * redisplay.c (generate_fstring_runes):
8974 * redisplay.c (screen):
8975 add random comments and doc strings.
8978 * specifier.c (Fmake_specifier):
8979 major overhaul of this doc string.
8981 * specifier.c (Fvalid_specifier_domain_p):
8982 comment about the bogosity of image instances being domains.
8983 * specifier.c (decode_domain):
8984 now non-static, used in glyphs.c.
8985 * specifier.c (specifier_instance):
8986 comment about the bogosity of image instances being domains.
8987 * specifier.c (Fgeneric_specifier_p):
8988 move doc string to make-generic-specifier.
8989 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
8993 * specifier.h (DOMAIN_FRAME):
8994 * specifier.h (DOMAIN_LIVE_P):
8995 * specifier.h (DOMAIN_XDEVICE):
8997 add comments about problems with these macros.
8998 prototype for decode_domain.
9001 * toolbar.c (Ftoolbar_specifier_p):
9002 move doc string to `make-toolbar-specifier'.
9004 * window.c (window_unmap_subwindows_cache_mapper):
9005 *************************************************************
9006 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9008 *************************************************************
9010 2000-05-09 Andy Piper <andy@xemacs.org>
9012 * glyphs.h: declare reset_frame_subwindow_instance_cache.
9014 * window.c (Fset_window_configuration): reset the frame subwindow
9015 cache and re-initialize the window subwindow caches.
9017 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
9019 2000-05-09 Ben Wing <ben@xemacs.org>
9021 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
9024 2000-04-26 Mike Woolley <mike@bulsara.com>
9026 * ntheap.c: Changed recreate_heap to limit the amount reserved
9027 for the heap to that which is actually available. Also now
9028 displays a message box (with some dignostics) in the event that
9029 it still can't start.
9031 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
9033 * callproc.c (Fold_call_process_internal): GCPRO path
9035 2000-05-08 Jan Vroonhof <jan@xemacs.org>
9037 Patch by Bill Perry.
9039 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
9040 back data instead of #ifdef.
9041 (Fscrollbar_page_down): ditto.
9043 2000-05-07 Ben Wing <ben@xemacs.org>
9046 Kludge for defining Qmswindows_tstr.
9049 * nt.c (open_input_file):
9050 * nt.c (open_output_file):
9051 * nt.c (rva_to_section):
9052 * nt.c (mswindows_executable_type):
9053 Move all memory-mapped-file routines here (some were in unexnt.c,
9054 which is bad because they are used by process-nt.c, and unexnt
9055 won't be around when portable dumping). Synched the above routines
9059 Removed ifdef'd out bogus code.
9060 Fixed some prototypes.
9063 * nt.h (OFFSET_TO_RVA):
9064 * nt.h (RVA_TO_OFFSET):
9065 * nt.h (RVA_TO_PTR):
9066 Moved the memory-mapped-file structures, macros and prototypes
9067 here, to parallel nt.c. ntheap.h should really be removed
9068 entirely, and it's a non-portable-dumper specific file.
9070 * ntheap.h (round_to_next):
9071 Moved the memory-mapped-file structures, macros and prototypes
9074 * ntproc.c (compare_env):
9075 Moved rva_to_section and mswindows_executable_type to nt.c.
9076 Moved compare_env to process-nt.c.
9077 ntproc.c will die, one day.
9079 * ntproc.c (sys_spawnve):
9080 Account for win32_ -> mswindows_.
9083 * process-nt.c (struct nt_process_data):
9084 * process-nt.c (ensure_console_window_exists):
9085 * process-nt.c (compare_env):
9086 * process-nt.c (nt_create_process):
9087 * process-nt.c (nt_kill_process_by_pid):
9088 * process-nt.c (syms_of_process_nt):
9089 * process-nt.c (vars_of_process_nt):
9090 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
9091 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
9092 changes). Eliminate our old `nt-quote-process-args' mechanism.
9093 Synch up nt_create_process with FSF 20.6 sys_spawnve.
9094 Move compare_env here from ntproc.c.
9096 * process.c (Fprocess_send_region):
9097 Takes an optional fourth argument, BUFFER, which should fix some
9098 problems with call-process.
9101 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
9104 Move ICC_BAR_CLASSES to syscommctrl.h.
9105 Add preliminary macros for MSWindows/Mule. More to come.
9108 * unexnt.c (unexec):
9109 open_output_file moved to nt.c.
9112 2000-05-05 Andy Piper <andy@xemacs.org>
9114 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
9115 instance from the frame cache also since GC may catch up too late
9116 to make frame deletion sane.
9118 2000-05-04 Andy Piper <andy@xemacs.org>
9120 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
9121 (x_finalize_image_instance): ungcpro on deletion.
9123 * glyphs.c (image_instantiator_format_create): give pointers a
9124 query geometry method so that the geometry is at least set.
9126 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
9127 initialize layouts if using widgets.
9129 2000-05-03 Andy Piper <andy@xemacs.org>
9131 * nt.c: remove bogus reference to sysmmsystem.h
9133 * gui-x.c (popup_selection_callback): fix no selection abort.
9135 2000-05-02 Andy Piper <andy@xemacs.org>
9137 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9138 (mswindows_widget_instantiate): ditto.
9140 * glyphs-widget.c (initialize_widget_image_instance): initialize
9142 (widget_instantiate): cope with children and items in the same
9145 * glyphs.c (mark_image_instance): cope with children as a first
9147 (image_instance_equal): ditto.
9148 (image_instance_hash): ditto.
9149 (image_instance_changed): ditto.
9151 2000-04-30 Andy Piper <andy@xemacs.org>
9153 * glyphs.c (subwindow_query_geometry): new function. Return some
9155 (subwindow_instantiate): don't assign dimensions if none have been
9157 (image_instantiator_format_create): add subwindow_query_geometry.
9158 (print_image_instance): cope with layouts as widgets.
9160 2000-04-29 Andy Piper <andy@xemacs.org>
9162 * frame.c (delete_frame_internal): call
9163 free_frame_subwindow_instance_cache so that all subwindows are
9164 finalized before their parent.
9165 (mark_frame): remove subwindow_cachels.
9166 (Fmake_frame): remove subwindow_cachel manipulation.
9167 (allocate_frame_core): subwindow_instance_cache is a weak list.
9168 (delete_frame_internal): set subwindow_instance_cache to nil.
9170 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9172 (mswindows_finalize_image_instance): use the device
9173 not the domain as the domain may have died already.
9175 * glyphs-x.c (x_finalize_image_instance): ditto.
9176 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9179 * redisplay-output.c (redisplay_unmap_subwindows): update for
9180 subwindow instance cache as a weak list.
9181 (redisplay_unmap_subwindows_maybe): ditto.
9182 (redisplay_unmap_subwindows_except_us): ditto.
9184 * glyphs.c (unmap_subwindow): error checking will check the domain
9185 so don't deal with it here. Don't use cachels anymore.
9186 (map_subwindow): ditto.
9187 (update_subwindow_cachel_data): remove old accessor names.
9188 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9189 (Fresize_subwindow): don't update cachel.
9190 (mark_subwindow_cachels):
9191 (update_subwindow_cachel_data):
9192 (add_subwindow_cachel):
9193 (get_subwindow_cachel_index):
9194 (update_subwindow_cachel):
9195 (reset_subwindow_cachels):
9196 (mark_subwindow_cachels_as_not_updated): deleted.
9197 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9198 subwindow instance to the frame cache.
9199 (find_matching_subwindow): update for subwindow instance cache as
9201 (update_widget_instances): ditto.
9202 (image_instance_type_to_mask):inlined.
9203 (free_frame_subwindow_instance_cache): new function. finalize all
9204 subwindows that are instantiated.
9206 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9207 of cachel information.
9208 (IMAGE_INSTANCE_DISPLAY_X):
9209 (IMAGE_INSTANCE_DISPLAY_Y):
9210 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9211 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9212 (XIMAGE_INSTANCE_DISPLAY_X):
9213 (XIMAGE_INSTANCE_DISPLAY_Y):
9214 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9215 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9216 remove subwindow_cachel structure and function references.
9217 (image_instance_type_to_mask): inline from glyphs.c
9219 * redisplay.c (redisplay_frame): remove subwindow_cachel
9222 * frame.h (struct frame): remove subwindow_cachels.
9223 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9225 * frameslots.h: add subwindow_instance_cache.
9227 * window.c (replace_window): check subwindow cache of replacement.
9228 (window_unmap_subwindows_cache_mapper):
9229 (window_unmap_subwindows): new functions. Unmap all subwindows
9230 cached on this window.
9231 (mark_window_as_deleted): unmap all subwindows.
9233 2000-04-27 Andy Piper <andy@xemacs.org>
9235 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9237 * glyphs-widget.c (widget_layout): return something.
9238 (layout_layout): return something. Fail if not initialized.
9239 (layout_query_geometry): ditto.
9240 (image_instantiator_native_layout): new function. Initialized the
9242 (widget_instantiate): don't do layout stuff here.
9244 * glyphs.c (instantiate_image_instantiator): reorded calling or
9245 instantiate and post_instantiate with layout in between.
9246 (image_instance_layout): be more selective about deciding whether
9247 the layout has been done or not.
9249 * glyphs.h (struct image_instantiator_methods): return a value
9252 2000-04-26 Andy Piper <andy@xemacs.org>
9254 * glyphs.c (allocate_image_instance): make initial width and
9255 height unspecified. Set initialized to 0.
9257 * syscommctrl.h new file. Encapsulates commctrl.h.
9259 * syswindows.h new file. Encapsulates windows.h.
9261 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9263 * console-msw.h: ditto.
9265 * redisplay-tty.c (tty_output_display_block): remove layout references.
9267 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9268 window handle rather than just the frame.
9270 * glyphs.c (mark_image_instance): remove layout references.
9271 (print_image_instance): ditto.
9272 (image_instance_equal): ditto.
9273 (image_instance_hash): ditto.
9274 (decode_image_instance_type): ditto.
9275 (encode_image_instance_type): ditto.
9276 (image_instantiate): ditto.
9277 (allocate_glyph): ditto.
9278 (Fimage_instance_height): ditto.
9279 (Fimage_instance_width): ditto.
9280 (update_subwindow): ditto.
9282 * redisplay-x.c (x_output_display_block): recode for layouts as
9285 * redisplay-output.c (redisplay_output_layout): recode for layouts
9287 (compare_runes): remove layout references.
9289 * redisplay-msw.c (mswindows_output_display_block): recode for
9292 * glyphs-widget.c (image_instantiator_layout): remove
9293 layout_possible_dest_types.
9294 (layout_possible_dest_types): deleted.
9296 * glyphs.h (image_instance_type): remove layout references.
9297 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9298 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9299 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9301 2000-04-25 Andy Piper <andy@xemacs.org>
9303 * glyphs-widget.c (image_instantiator_buttons):
9304 (image_instantiator_edit_fields):
9305 (image_instantiator_combo_box):
9306 (image_instantiator_scrollbar):
9307 (image_instantiator_progress_guage):
9308 (image_instantiator_tree_view):
9309 (image_instantiator_tab_control):
9310 (image_instantiator_labels):
9311 (image_instantiator_layout): call default post_instantiate method.
9312 (widget_post_instantiate): new function. Simply lays out the
9315 * glyphs.h (struct image_instantiator_methods): add
9316 post_instantiate method.
9318 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9321 2000-04-23 Andy Piper <andy@xemacs.org>
9323 * glyphs.h (struct image_instantiator_methods): add
9324 decode_domain_method.
9325 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9326 derived from the domain.
9327 (IMAGE_INSTANCE_FRAME): new accessor.
9328 (XIMAGE_INSTANCE_FRAME): ditto.
9330 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9331 instead of _SUBWINDOW_FRAME.
9332 (finalize_image_instance): ditto.
9333 (Fimage_instance_foreground): ditto.
9334 (Fimage_instance_background): ditto.
9335 (image_instantiate): ditto.
9336 (update_subwindow_cachel): ditto.
9337 (update_subwindow): ditto.
9338 (unmap_subwindow): ditto.
9339 (map_subwindow): ditto
9340 (subwindow_instantiate): ditto.
9341 * glyphs-msw.c (mswindows_update_widget): ditto.
9342 (mswindows_progress_gauge_instantiate): ditto.
9343 (mswindows_tab_control_update): ditto.
9344 * glyphs-x.c (x_update_widget): ditto.
9345 (x_widget_instantiate): ditto.
9346 (x_tab_control_instantiate): ditto.
9347 (x_tab_control_update): ditto.
9348 * event-msw.c (mswindows_wnd_proc): ditto
9350 * glyphs-widget.c (image_instantiator_layout): use
9351 subwindow_decode_domain.
9352 (image_instantiator_buttons): ditto.
9353 (image_instantiator_edit_fields): ditto.
9354 (image_instantiator_combo_box): ditto.
9355 (image_instantiator_scrollbar): ditto.
9356 (image_instantiator_progress_guage): ditto.
9357 (image_instantiator_tree_view): ditto.
9358 (image_instantiator_tab_control): ditto.
9359 (image_instantiator_labels): ditto.
9360 (image_instantiator_layout): ditto.
9362 * glyphs.c: add instance error checking to many functions.
9363 (instantiate_image_instantiator): decode device from cache_domain.
9364 (image_instantiate): partially rewrite by using
9365 decode_image_instantiator_domain to determine what domain the
9366 instance needs to be cached in.
9367 (decode_image_instantiator_domain): new function. Determine what
9368 domain the image needs to be cached in.
9369 (check_window_subwindow_cache): new error checking function.
9370 (check_instance_cache_mapper): ditto.
9371 (check_image_instance_structure): ditto.
9372 (subwindow_decode_domain): new function. Encodes a window as a
9373 subwindow's cache domain.
9374 (image_instantiator_format_create): use it for text and
9377 2000-04-21 Andy Piper <andy@xemacs.org>
9379 * glyphs.c (image_instance_device): new function.
9380 (image_instance_frame): new function.
9381 (image_instance_window): new function.
9382 (image_instance_live_p): new function.
9384 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9387 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9388 (IMAGE_INSTANCE_DOMAIN): new accessor.
9389 (XIMAGE_INSTANCE_DOMAIN): ditto.
9391 * glyphs-x.c (x_finalize_image_instance): device->domain.
9393 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9394 (mswindows_finalize_image_instance): ditto.
9396 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9397 (gif_instantiate): ditto.
9398 (png_instantiate): ditto.
9399 (tiff_instantiate): ditto.
9401 * glyphs.c (instantiate_image_instantiator): use domain rather
9403 (mark_image_instance): device -> domain.
9404 (print_image_instance): ditto.
9405 (finalize_image_instance): ditto.
9406 (image_instance_equal): ditto.
9407 (allocate_image_instance): ditto.
9408 (Fcolorize_image_instance): ditto.
9409 (query_string_geometry): ditto.
9410 (image_instantiate): ditto
9411 (query_string_font): ditto.
9412 (image_instantiate): ditto.
9413 (update_subwindow): ditto.
9414 (unmap_subwindow): ditto.
9415 (map_subwindow): ditto.
9416 (subwindow_instantiate): ditto.
9418 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9419 (DOMAIN_FRAME): ditto.
9420 (DOMAIN_WINDOW): ditto.
9421 (DOMAIN_LIVE_P): ditto.
9422 (XDOMAIN_DEVICE): ditto.
9423 (XDOMAIN_FRAME): ditto.
9424 (XDOMAIN_WINDOW): ditto.
9426 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9427 a valid specifier domain.
9429 2000-04-19 Andy Piper <andy@xemacs.org>
9431 * glyphs-widget.c (syms_of_glyphs_widget): remove
9432 widget-callback-current-channel.
9433 (vars_of_glyphs_widget): ditto.
9436 * gui.c (get_gui_callback): revert to previous behaviour.
9438 2000-04-18 Andy Piper <andy@xemacs.org>
9440 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9441 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9442 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9444 * glyphs.c (image_instance_equal): add margin_width.
9445 (image_instance_hash): ditto.
9447 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9448 (layout_query_geometry): ditto.
9449 (layout_layout): ditto.
9450 (syms_of_glyphs_widget): add margin-width.
9451 (image_instantiator_layout): allow margin-width.
9453 * glyphs.c (update_widget_instances): make a normal function.
9454 (syms_of_glyphs): remove Qupdate_widget_instances.
9457 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9458 so that we don't corrupt ideas about the last event or
9459 command. Remove widget-callback-current-channel fiddling.
9460 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9462 2000-05-01 Martin Buchholz <martin@xemacs.org>
9464 * XEmacs 21.2.33 is released.
9466 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9468 * make-src-depend: Allow dots in header file name.
9470 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9472 * mule-charset.h (struct charset_lookup): Add
9473 next_allocated_1_byte_leading_byte and
9474 next_allocated_2_byte_leading_byte.
9475 * mule-charset.c: Move above two variables so that those values
9478 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9480 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9481 when string length is zero.
9482 (find_charsets_in_emchar_string): Ditto.
9484 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9486 * lisp.h: extern Qdialog and Qmenubar.
9488 * gui-x.c: added events.h.
9489 also fixed typo which made the file uncompilable.
9491 * general.c: Added Qmenubar and Qdialog
9493 2000-04-28 Ben Wing <ben@xemacs.org>
9495 * frame-msw.c (mswindows_init_frame_1):
9496 * frame-msw.c (mswindows_mark_frame):
9497 * event-msw.c (mswindows_enqueue_dispatch_event):
9499 * console-msw.h (struct mswindows_frame):
9500 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9501 there are now three hash tables for callbacks.
9502 mswindows_enqueue_dispatch_event is no longer static.
9504 * dialog-x.c (maybe_run_dbox_text_callback):
9505 * dialog-x.c (dbox_descriptor_to_widget_value):
9506 switch to new cons3 form for callbacks.
9508 * glyphs-msw.c (mswindows_register_gui_item):
9509 * glyphs-msw.c (mswindows_widget_instantiate):
9510 * glyphs-msw.c (add_tree_item):
9511 * glyphs-msw.c (add_tab_item):
9512 new image instance parameter, so it can be passed to callback-ex.
9513 respect :callback-ex as well as :callback.
9515 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9518 * glyphs.c (print_image_instance):
9519 prettify, e.g. now prints widget type.
9522 certain funs have new image instance parameter.
9525 * gui.c (get_gui_callback):
9526 * gui.c (gui_item_add_keyval_pair):
9527 * gui.c (gui_item_init):
9528 * gui.c (gui_add_item_keywords_to_plist):
9529 * gui.c (mark_gui_item):
9530 * gui.c (gui_item_hash):
9531 * gui.c (gui_item_equal):
9532 * gui.c (copy_gui_item):
9533 * gui.c (syms_of_gui):
9534 recognize callback-ex in a number of places.
9535 also, fix the annoying "can't get out of yes-no dialog" bug.
9538 * gui.h (struct Lisp_Gui_Item):
9539 recognize callback-ex in a number of places.
9541 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9542 new parameter in button_item_to_widget_value.
9544 * glyphs-x.c (x_update_widget):
9545 * glyphs-x.c (x_button_instantiate):
9546 * glyphs-x.c (x_button_update):
9547 * glyphs-x.c (x_progress_gauge_instantiate):
9548 * glyphs-x.c (x_edit_field_instantiate):
9549 * glyphs-x.c (x_combo_box_instantiate):
9550 * glyphs-x.c (x_tab_control_instantiate):
9551 * glyphs-x.c (x_label_instantiate):
9552 new image instance parameter in various places.
9555 * event-Xt.c (enqueue_Xt_dispatch_event):
9556 this fun gets exported.
9559 * gui-msw.c (mswindows_handle_gui_wm_command):
9560 handle both :callback and :callback-ex, and generate our own
9561 event because it's one of the callback-ex arguments.
9564 * gui-x.c (popup_selection_callback):
9565 handle both :callback and :callback-ex, and generate our own
9566 event because it's one of the callback-ex arguments.
9567 * gui-x.c (button_item_to_widget_value):
9568 * gui-x.c (gui_items_to_widget_values_1):
9569 * gui-x.c (gui_item_children_to_widget_values):
9570 * gui-x.c (gui_items_to_widget_values):
9571 new image instance parameter in various places.
9573 * fns.c (Freplace_list):
9574 fix small typo in doc string.
9577 declare enqueue_Xt_dispatch_event.
9579 2000-04-28 Ben Wing <ben@xemacs.org>
9582 * buffer.c (Frecord_buffer):
9583 * buffer.c (syms_of_buffer):
9584 delete record-buffer-hook.
9587 * fns.c (Freplace_list):
9588 * fns.c (syms_of_fns):
9589 new primitive replace-list.
9592 slot for old buffer-alist.
9598 * redisplay.c (redisplay_frame):
9599 * redisplay.c (syms_of_redisplay):
9600 * redisplay.c (vars_of_redisplay):
9601 new hook buffer-list-changed-hook.
9604 2000-04-27 Ben Wing <ben@xemacs.org>
9606 * extents.h: extern in_modeline_generation.
9608 * redisplay.c (generate_formatted_string_db): set
9609 in_modeline_generation.
9611 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9612 flags if in modeline generation. otherwise frame-modified-tick
9613 is ticked far too often.
9614 Declare in_modeline_generation.
9616 2000-04-26 Ben Wing <ben@xemacs.org>
9618 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9620 (vars_of_emacs): add quick-build as an error-checking option.
9621 A bit kludgy, but there doesn't seem much point in creating
9622 a real var for this.
9624 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9626 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9628 * redisplay.h (struct display_line): Add a new variable,
9631 * redisplay.c (create_text_block): Set dl->line_continuation if
9633 (create_string_text_block): Ditto.
9634 (regenerate_window_incrementally): Use line_continuation instead
9635 of searching continuation glyph.
9636 (add_margin_runes): Call add_glyph_rune.
9637 (add_glyph_rune): Handle margin glyph.
9639 2000-04-20 Martin Buchholz <martin@xemacs.org>
9641 * filelock.c (fill_in_lock_file_name):
9643 Check for IS_ANY_SEP instead of '/'.
9645 Avoid generating gratuitous garbage. Call user_login_name() directly.
9646 Never check errno without first seeing that system call failed.
9647 (unlock_file): Add GCPRO.
9648 (Flock_buffer): Fix docstring.
9649 (Ffile_locked_p): Fix docstring. Add GCPRO.
9651 2000-04-19 Martin Buchholz <martin@xemacs.org>
9653 * sysdep.c (get_pty_max_bytes):
9654 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9655 strings longer than 252 bytes.
9657 * md5.c: Unconditionally include ANSI header <limits.h>
9659 * glyphs-x.c (convert_EImage_to_XImage):
9660 * lisp-union.h (union Lisp_Object):
9661 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9663 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9665 * filelock.c (current_lock_owner): Remove unused variable o, p.
9667 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9669 * callint.c: Remove multiply defined symbol Qlet
9670 (syms_of_callint): ditto.
9672 2000-04-14 Andy Piper <andy@xemacs.org>
9674 * general.c (syms_of_general): add last-command, this-command, let
9677 * lisp.h: declare various symbols.
9679 * glyphs.h: declare Qwidget_callback_current_channel;
9681 * glyphs-widget.c (syms_of_glyphs_widget): add
9682 Qgui_callback_current_channel.
9683 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9685 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9686 widget-callback-current-channel when invoking the interactive
9687 arg. Also bind last-command and next-command when invoking the
9689 * gui-x.c (popup_selection_callback): ditto.
9691 * gui.c (get_gui_callback): massage args so that we are always
9692 calling eval. This allows us to add our own variable bindings
9695 * glyphs-x.c (x_button_instantiate): use
9696 gui_items_to_widget_values since this is GC safe.
9697 (x_progress_gauge_instantiate): ditto.
9698 (x_edit_field_instantiate): ditto.
9699 (x_label_instantiate): ditto.
9701 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9702 (emacs_Xt_event_widget_focus_out): new function
9703 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9705 (emacs_Xt_event_add_widget_actions): new function. add focus
9706 functions as actions.
9707 (init_event_Xt_late): use it.
9709 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9711 * event-stream.c (Fdispatch_event): Doc fix.
9713 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9715 * postgresql.c: Remove all references to PQsetenv*.
9717 * postgresql.h: Remove references to PGsetenvHandler object.
9718 * lrecord.h (lrecord_type): Ditto.
9720 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9722 * glyphs-msw.h (struct mswindows_image_instance_data): Added
9723 real_heigh and real_width members, and accessor macros for these.
9725 * glyphs-msw.c (init_image_instance_geometry): New function.
9726 (init_image_instance_from_dibitmap): Use it.
9727 (mswindows_resource_instantiate): Use it.
9728 (init_image_instance_from_xbm_inline): Use it.
9729 (mswindows_initialize_image_instance_mask): Use real bitmap
9731 (mswindows_create_resized_bitmap): Ditto.
9732 (mswindows_create_resized_mask): Ditto.
9734 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
9735 and bitmap to their surface size.
9737 2000-04-11 Jan Vroonhof <jan@xemacs.org>
9739 * process-unix.c (unix_send_process): Guard against process MIA
9740 after Faccept_process_output.
9742 2000-04-11 Ben Wing <ben@xemacs.org>
9744 * eval.c (unbind_to_hairy): fix brokenness introduced by
9745 nanosecond speed improvements.
9747 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
9749 * sunplay.c (init_device): To play sounds correctly, the device
9750 apparently needs to be initialized at least once by XEmacs. Make
9753 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
9755 * redisplay.c (add_margin_runes): Add text image glyph
9758 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9760 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
9761 gcc is newer than 2.5.
9763 2000-04-06 Colin Rafferty <colin@xemacs.org>
9765 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
9767 * fns.c (size_bit_vector):
9768 * alloc.c (size_vector):
9769 (make_vector_internal):
9770 (make_bit_vector_internal):
9771 (sweep_bit_vectors_1):
9772 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
9774 2000-04-06 Andy Piper <andy@xemacs.org>
9776 * gmalloc.c (malloc): undo previous change.
9781 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
9783 * line-number.c (buffer_line_number): Revert to former version.
9785 2000-04-06 Andy Piper <andy@xemacs.org>
9787 * gmalloc.c (malloc): add error checking.
9792 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
9793 button_item_to_widget_value arg.
9795 * glyphs-x.c (x_button_instantiate): add extra
9796 button_item_to_widget_value arg.
9797 (x_progress_gauge_instantiate): ditto.
9798 (x_edit_field_instantiate): ditto.
9799 (x_label_instantiate): ditto.
9801 * gui-x.c (gui_items_to_widget_values_1): add extra
9802 button_item_to_widget_value arg.
9803 (button_item_to_widget_value): add extra menu_item_p arg.
9805 * gui-x.h: change signature of button_item_to_widget_value.
9807 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
9808 button_item_to_widget_value arg.
9810 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9812 * buffer.h (struct buffer): auto_save_modified should be long.
9814 2000-04-05 Andy Piper <andy@xemacs.org>
9816 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
9818 (button_query_geometry): give a little more room so that athena
9821 2000-04-05 Andy Piper <andy@xemacs.org>
9823 * faces.c (complex_vars_of_faces): The widget face should inherit
9824 the font of the gui-element face.
9826 2000-04-04 Andy Piper <andy@xemacs.org>
9828 * glyphs-x.c (x_button_update): new function. unconditionally
9829 update a button's state when the instance is dirty.
9830 (image_instantiator_format_create_glyphs_x): add x_button_update.
9831 (x_widget_instantiate): remove old resize cruft.
9833 2000-04-02 Andy Piper <andy@xemacs.org>
9835 * frame.c (change_frame_size_1): The introduction of gutters means
9836 that we need to allow 0 as a potential frame dimension.
9838 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
9840 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
9841 image glyph if allow_cursor.
9842 (add_hscroll_rune): Don't allow cursor to border glyph.
9843 (create_text_block): Ditto.
9845 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
9847 (redisplay_output_layout): Call ensure_face_cachel_complete for
9851 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
9853 * redisplay.c (add_glyph_rune): Adding text image as text runes.
9855 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
9858 * redisplay-tty.c (tty_output_display_block): Delete the routine
9859 for text image glyph
9860 * redisplay-x.c (x_output_display_block): ditto
9861 * redisplay-msw.c (mswindows_output_display_block): ditto
9863 2000-02-02 Mike Alexander <mta@arbortext.com>
9865 Note: Some of these were committed by accident as part of other
9868 * regex.c (regex_compile): Avoid compiler warnings.
9870 * ntproc.c (sys_spawnve): Avoid compiler warnings.
9872 * nt.h: Declare term_ntproc correctly.
9874 * nt.c: Remove incorrect declaration of get_home_directory which
9875 is declared correctly in lisp.h.
9877 * keymap.c (get_keyelt): Avoid compiler warnings.
9878 (raw_lookup_key_mapper): Avoid compiler warnings.
9880 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
9882 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
9884 * filemode.c (mode_string): Avoid compiler warnings.
9886 * file-coding.c (Fcoding_system_aliasee): Add return statement to
9889 * events-mod.h: Undef some things that winuser.h defines differently.
9891 * data.c (Faset): Avoid compiler warnings.
9893 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
9895 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9897 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
9898 Fall through to simple beep on error.
9899 Replace "extern" by real header file.
9901 * linuxplay.c: Use nativesound.h
9902 (play_sound_data): Return error code. Be less verbose on error.
9904 * sunplay.c: Use nativesound.h
9905 (play_sound_data): Return error code. Be less verbose on error.
9907 * ntplay.c: Use nativesound.h
9908 (play_sound_data): Return fake error code
9910 * sgiplay.c: Use nativesound.h
9911 (play_sound_data): Return error code
9913 * hpplay.c: Use nativesound.h, partially implement
9914 new error code. Break compilation until finished.
9915 (play_sound_data): error code.
9917 * nativesound.h (play_sound_file):
9918 (play_sound_data): Prototype in new header.
9920 2000-03-31 Andy Piper <andy@xemacs.org>
9922 * glyphs-widget.c: (button_query_geometry): new function. Adjust
9923 for toggle and radio buttons.
9924 (image_instantiator_buttons): use it.
9926 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9928 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
9929 (x_update_horizontal_scrollbar_callback): Return if no mirror was
9930 found. Scrollbar event probably belonged to some old config.
9932 2000-03-31 Andy Piper <andy@xemacs.org>
9934 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
9936 (initialize_widget_image_instance): default layout to
9937 LAYOUT_HORIZONTAL rather than 0.
9938 (widget_instantiate): reverse the item list at the end rather than
9940 (layout_layout): re-code for the border text at the front of the
9941 item list rather than at the end.
9942 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
9943 provided by the user.
9944 (widget_query_geometry): comment.
9946 2000-03-30 Andy Piper <andy@xemacs.org>
9948 * glyphs-widget.c (image_instantiator_layout): allow standard
9949 widget keywords in layouts.
9951 * gutter.c (output_gutter): cope with nil gutter contents.
9953 * frame.c (Fset_frame_properties): add gutter docs.
9955 2000-03-29 Andy Piper <andy@xemacs.org>
9957 * toolbar-msw.c (TBSTYLE_FLAT): add.
9958 (mswindows_output_toolbar): minor fiddling.
9960 2000-03-29 Andy Piper <andy@xemacs.org>
9962 * gutter.c (output_gutter): force gutter size recalculation if
9963 what we are trying to display won't fit.
9964 (update_gutter_geometry): new function. A per-gutter version of
9965 update_frame_gutter_geometry.
9966 (update_frame_gutter_geometry): use it.
9967 (redraw_exposed_gutter): add extra debugging output.
9969 2000-03-28 Mike Alexander <mta@arbortext.com>
9971 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
9972 (pdump_file_unmap): Implement it on Windows
9973 (pdump_file_get): Save alocated handles for pdump_file_unmap
9975 2000-03-28 Andy Piper <andy@xemacs.org>
9977 * gui.c (get_gui_callback): treat Quit specially.
9979 2000-03-27 Andy Piper <andy@xemacs.org>
9981 * glyphs.c (image_instantiate): be careful to check in the same
9984 2000-03-27 Didier Verna <didier@xemacs.org>
9986 * config.h.in: define the proper SMART_INCLUDE macro.
9987 handle renaming of `foo_h_path' to `foo_h_file'.
9989 * database.c: ditto.
9993 * linuxplay.c: ditto.
9995 * terminfo.c: ditto.
9997 * tooltalk.h: ditto.
9999 2000-03-27 Andy Piper <andy@xemacs.org>
10001 * glyphs-msw.c (mswindows_update_widget): make sure the widget
10002 gets updated whenever the face might have changed.
10004 2000-03-26 Mike Alexander <mta@arbortext.com>
10006 * dumper.c (pdump_resource_free): Fix the comment.
10008 2000-03-21 Olivier Galibert <galibert@pobox.com>
10010 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
10012 2000-03-22 Mike Alexander <mta@arbortext.com>
10014 * dumper.c: Include Windows headers on Windows
10015 (pdump_resource_free): Add a body to the function
10016 (pdump_load): exe_name -> exe_path and add some comments.
10018 2000-03-25 Mike Alexander <mta@arbortext.com>
10020 * gui.c (copy_gui_item_tree): Return a value in all cases
10022 2000-03-21 Didier Verna <didier@xemacs.org>
10024 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
10026 (SMART_INCLUDE): new macro.
10027 (POSTGRES_INCLUDE): new macro to include postgresql headers from
10028 the proper location.
10030 * postgresql.c: use it.
10034 2000-03-24 Andy Piper <andy@xemacs.org>
10036 * gutter.c (redraw_exposed_gutters): must be "in display" when we
10039 2000-03-24 Andy Piper <andy@xemacs.org>
10041 * redisplay-output.c (compare_runes): use image_instance_changed
10042 to detect changes. Do not depend on glyphs_changed, only depend on
10044 (redisplay_output_layout): add debug messages.
10045 (compare_runes): ditto.
10047 * glyphs.h: declare new functions.
10048 (struct Lisp_Image_Instance): remove percent and associated
10051 * gui.h: declare new copying functions.
10053 * gui.c (copy_gui_item_tree): new function.
10054 (copy_gui_item): new function.
10055 (gui_item_id_hash): revert to standard hash.
10056 (gui_item_hash): ditto.
10057 (gui_item_hash_internal): deleted.
10058 (mark_gui_item): mark value.
10059 (gui_item_add_keyval_pair): add value.
10060 (gui_item_init): ditto.
10061 (gui_add_item_keywords_to_plist): ditto.
10062 (gui_item_equal): ditto.
10063 (syms_of_gui): add Q_value.
10065 * glyphs-x.c (x_progress_gauge_update): use pending items and
10066 value for setting the state.
10067 (x_update_widget): don't set items from pending here.
10069 * glyphs-widget.c (update_widget): update items here.
10070 (progress_gauge_set_property): use items for storing value. Put
10071 new value in pending items.
10073 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
10074 items for new value. Convert percent -> value.
10075 (mswindows_tab_control_update): don't update items here.
10077 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
10078 (update_subwindow): ditto.
10079 (image_instance_changed): new function. Compare hash values and
10080 past and present widget items.
10081 (image_instantiate): We more careful about where we instantiate
10083 (image_instantiate): add error checking.
10085 * gutter.c (syms_of_gutter): use -hook.
10087 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
10089 * console-tty.c (Fset_console_tty_input_coding_system): Use
10091 (Fset_console_tty_output_coding_system): Use Qterminal.
10092 (tty_init_console): Use Qkeyboard and Qterminal.
10094 2000-03-21 Ben Wing <ben@xemacs.org>
10096 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
10097 From Mike Alexander <mta@arbortext.com>.
10099 2000-03-21 Ben Wing <ben@xemacs.org>
10101 * event-msw.c (mswindows_need_event): Horrible kludge to fix
10102 process brokenness. Proper implementation to come.
10104 Rename call-process-internal to old-call-process-internal.
10105 New impl. in process.el.
10107 2000-03-21 Martin Buchholz <martin@xemacs.org>
10109 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
10111 2000-03-20 Andy Piper <andy@xemacs.org>
10113 * glyphs.c (full_list_hash): make hashes of the same elements in
10114 different orders return different values.
10116 2000-03-20 Martin Buchholz <martin@xemacs.org>
10118 * XEmacs 21.2.32 is released.
10120 2000-03-20 Martin Buchholz <martin@xemacs.org>
10122 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
10123 (DFC_MALLOC_USE_CONVERTED_DATA):
10124 Add aliasing-safe casts to allow use with char* or unsigned char*
10127 * eldap.c (Fldap_open):
10128 (Fldap_search_basic):
10131 Make C++-compilable.
10132 Make sure GCPRO'ed variables are initialized.
10133 Use temp variables to avoid repeated calls to Flength.
10135 2000-03-16 Martin Buchholz <martin@xemacs.org>
10138 Make sure PATH_MAX is always defined.
10139 Include limits.h for PATH_MAX.
10140 Deprecate use of MAXPATHLEN.
10142 2000-03-10 Martin Buchholz <martin@xemacs.org>
10144 * emacs.c: Add reinit_vars_of_fileio.
10145 * symsinit.h: Add reinit_vars_of_fileio.
10146 * fileio.c (reinit_vars_of_fileio): New.
10147 * fileio.c (Fmake_temp_name):
10148 Initialize temp_name random number from microseconds to make
10149 collisions even less likely. Initialize always at process startup
10150 time. (make-temp-name) used to return the same file name twice in
10152 Random stylistic fiddling.
10155 2000-03-20 Andy Piper <andy@xemacs.org>
10157 * glyphs.c (image_instantiate): allow text glyphs to be
10158 instantiated in the minibuffer window.
10160 2000-03-19 Andy Piper <andy@xemacs.org>
10162 * glyphs.c (image_instance_hash): be careful about which items we
10165 * glyphs-widget.c (tab_control_set_property): record into pending
10166 items rather than the actual items.
10168 * glyphs-x.c (x_update_widget): use pending items to update with.
10170 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10173 * glyphs.c (mark_image_instance): mark pending items.
10175 * window.c (Fset_window_configuration): record the buffer.
10176 (Fselect_window): totally revert previous change which breaks many
10179 2000-03-18 Andy Piper <andy@xemacs.org>
10181 * glyphs-msw.c (mswindows_tab_control_update): force selected
10184 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10185 window domain cache, otherwise we get inconsistencies at
10186 startup. There is something fishy at startup which can lead to the
10187 minibuffer being the selected window when the gutter content is
10190 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10192 (parse_gui_item_tree_children): ditto.
10193 (parse_gui_item_tree_item): ditto.
10195 * glyphs.c (Fupdate_widget_instances): return something.
10197 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10199 * window.c (Fselect_window): Undo 2000-03-17 change.
10201 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10203 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10204 against v7.0 libraries. Insta-coredump city until the postgres
10207 2000-03-17 Andy Piper <andy@xemacs.org>
10209 * faces.c (complex_vars_of_faces): don't give the widget face an
10210 inherited background pixmap.
10212 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10215 * event-stream.c (Fdispatch_non_command_events): return something.
10217 * gutter.c (output_gutter): use widget face.
10218 (clear_gutter): ditto.
10220 * NEWS: adjust again.
10222 * window.c (Fselect_window): make sure this runs to completion to
10223 avoid oddities with Fset_window_configuration.
10224 (Fcurrent_window_configuration): in general do not save the
10225 minibuffer as the selected window.
10227 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10229 2000-03-16 Olivier Galibert <galibert@pobox.com>
10231 * emacs.c (Frunning_temacs_p): Revert previous patch.
10232 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10234 2000-03-16 Andy Piper <andy@xemacs.org>
10236 * glyphs-x.c (x_tab_control_update): if no widget values then
10239 * NEWS: update for new features.
10241 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10242 synthetic event to the native system.
10243 (reinit_vars_of_event_Xt): set force_event_pending to
10244 emacs_Xt_force_event_pending.
10246 * events.h (struct event_stream): add force_event_pending.
10248 * specifier.c (recompute_one_cached_specifier_in_window): add
10251 * redisplay.c (redisplay_frame): don't call
10252 update_frame_subwindows. Reset subwindow cachels when
10253 subwindows_changed, removing this was an optimization too far.
10255 * redisplay-output.c (compare_runes): reorganize so that we catch
10256 glyph changes when we want them. Set optimize_output when this
10257 would help layouts.
10258 (redisplay_output_layout): remove frame_really_changed, use
10259 optimize_output instead.
10261 * redisplay-msw.c (mswindows_output_display_block): reset
10262 optimize_output after outputting a glyph.
10263 * redisplay-x.c (x_output_display_block): ditto.
10264 * redisplay-tty.c (tty_output_display_block): ditto.
10266 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10268 (gutter_specs_changed): do specific gutter positions.
10269 (top_gutter_specs_changed): new function. Only update the
10270 specified gutter specs.
10271 (bottom_gutter_specs_changed): ditto.
10272 (left_gutter_specs_changed): ditto.
10273 (right_gutter_specs_changed): ditto.
10275 * gui.c (gui_item_hash_internal): new function, does a real hash.
10276 (gui_item_id_hash): use it.
10277 (gui_item_hash): hash the eval'ed gui_item.
10279 * gui-x.c (popup_selection_callback): send an eval event to call
10280 Fupdate_widget_instances.
10282 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10283 to call Fupdate_widget_instances.
10285 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10286 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10288 * glyphs.c: (update_frame_subwindows): deleted.
10289 (Fupdate_widget_instances): new function for updating the dirty
10290 state of widgets that might have changed.
10291 (syms_of_glyphs): add Qupdate_widget_instances.
10292 (full_list_hash): hash a list completely.
10293 (image_instance_hash): use it for items and properties.
10295 * frame-msw.c (mswindows_size_frame_internal): remove unused
10298 * faces.h (struct face_cachel): fix comment.
10300 * event-stream.c (Fdispatch_non_command_events): new
10301 function. Process non-command events, forcing an event cycle
10303 (syms_of_event_stream): declare.
10304 (event_stream_force_event_pending): new function. Force an event
10305 on the native event queue so that an event cycle will occur next
10309 (struct ntpipe_shove_stream):
10310 (mswindows_enqueue_dispatch_event):
10311 (mswindows_dequeue_dispatch_event):
10312 (mswindows_cancel_dispatch_event):
10313 (mswindows_pump_outstanding_events):
10314 (mswindows_drain_windows_queue):
10315 (mswindows_handle_paint):
10316 (mswindows_wnd_proc):
10317 (mswindows_key_to_emacs_keysym):
10318 (get_process_input_waitable):
10319 (emacs_mswindows_delete_stream_pair): re-indent file.
10320 (mswindows_need_event): do not process further fds if the windows
10321 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10322 fixes the 100% cpu problem.
10323 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10325 2000-03-15 Olivier Galibert <galibert@pobox.com>
10331 * emacs.c: Moved dump file searching to dumper.c.
10332 (Frunning_temacs_p): Fixed.
10334 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10335 last_lrecord_type_index_assigned.
10337 2000-02-20 Olivier Galibert <galibert@pobox.com>
10339 * symsinit.h: Added reinit parameter to init_console_stream
10342 * lisp.h: Added file parameter to pdump_load declaration.
10344 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10345 support. Added dump file searching.
10347 * config.h.in: Added EMACS_PROGNAME.
10349 * console-stream.c (init_console_stream): Fix reinitialisation
10350 when running from temacs.
10352 * alloc.c (pdump): Add id support.
10353 (pdump_load): Add file parameter and signature/id support.
10355 * Makefile.in.in: Add full pdump support.
10357 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10359 * postgresql.c: Update documentation to reflect latest code
10361 (print_result): Show tuple counts in printed representation when
10363 (Fpq_put_nbytes): MULE-ize.
10364 (Fpq_get_line_async): Ditto.
10366 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10368 * postgresql.c (Fpq_lo_import): Fix return value.
10369 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10371 2000-03-13 Ben Wing <ben@xemacs.org>
10373 * alloc.c (pdump_load):
10374 Fix compile warning under mswin.
10376 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10378 * postgresql.c: Mule-ization, bug fixes.
10379 Use PG_CODING to encapsulate coding system name changes.
10380 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10381 (pg-coding-system): Create.
10383 (Fpq_conn_defaults): Mule-ize.
10384 (Fpq_connectdb): Mule-ize & bug fix.
10385 (Fpq_connect_start): Mule-ize.
10386 (Fpq_set_client_encoding): Mule-ize.
10387 (Fpq_finish): Document `DEAD' connection status.
10388 (Fpq_clear): Ditto.
10389 (Fpq_pgconn): Mule-ize.
10390 (Fpq_exec): Mule-ize & bug fix.
10391 (Fpq_send_query): Ditto.
10392 (Fpq_get_result): Ditto.
10393 (Fpq_res_status): Mule-ize.
10394 (Fpq_result_error_message): Mule-ize.
10395 (Fpq_ntuples): fix comments.
10396 (Fpq_fname): Mule-ize.
10397 (Fpq_fnumber): Mule-ize.
10398 (Fpq_ftype): fix comments.
10399 (Fpq_get_value): Mule-ize.
10400 (Fpq_cmd_status): Ditto.
10401 (Fpq_cmd_tuples): Ditto.
10402 (Fpq_oid_value): Ditto.
10403 (Fpq_notifies): Ditto.
10404 (Fpq_lo_import): Ditto.
10405 (Fpq_lo_export): Ditto.
10406 (Fpq_get_line): Ditto.
10407 (Fpq_put_line): Mule-ize and bug fix.
10408 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10410 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10412 * postgresql.c (vars_of_postgresql): Mule-ize.
10413 (Fpq_conn_defaults): Ditto.
10415 2000-03-12 Ben Wing <ben@xemacs.org>
10417 * alloc.c (Fmake_byte_code):
10418 * alloc.c (debug_string_purity_print):
10419 * alloc.c (pdump_backtrace):
10420 * alloc.c (pdump_get_indirect_count):
10421 * alloc.c (pdump_register_sub):
10422 * alloc.c (pdump_register_object):
10423 * alloc.c (pdump_register_struct):
10424 * alloc.c (pdump_dump_data):
10425 * alloc.c (pdump_reloc_one):
10429 * console-msw.c (GetConsoleHwnd):
10430 * console-msw.c (msw_hide_console):
10431 * console-msw.c (msw_show_console):
10432 * console-msw.c (msw_ensure_console_buffered):
10433 * console-msw.c (msw_output_console_string):
10434 * console-msw.c (console_type_create_mswindows):
10436 a) Added functions to manipulate the console window for use with
10439 b) Added support for writing text to the console, which is now
10440 used under Windows when xemacs is not being run non-interactively,
10441 to write text that would otherwise be destined for stdout because
10442 under these circumstances, text written to stdout tends to
10443 disappear and not be seen.
10447 * event-Xt.c (x_event_to_emacs_event):
10448 * event-Xt.c (describe_event_window):
10449 * events-mod.h (XEMACS_MOD_CONTROL):
10451 * events.c (Fmake_event):
10452 * events.c (character_to_event):
10453 * events.c (event_to_character):
10454 * events.c (format_event_object):
10455 * events.c (Fevent_modifiers):
10457 * events.h (struct key_data):
10458 * events.h (struct button_data):
10459 * events.h (struct misc_user_data):
10460 * frame-x.c (Fcde_start_drag_internal):
10461 * frame-x.c (Foffix_start_drag_internal):
10462 * gpmevent.c (Freceive_gpm_event):
10464 * keymap.c (bucky_sym_to_bucky_bit):
10465 * keymap.c (control_meta_superify):
10466 * keymap.c (make_key_description):
10467 * keymap.c (keymap_lookup_directly):
10468 * keymap.c (create_bucky_submap):
10469 * keymap.c (keymap_store):
10470 * keymap.c (define_key_check_and_coerce_keysym):
10471 * keymap.c (define_key_parser):
10472 * keymap.c (define_key_alternate_name):
10473 * keymap.c (Fdefine_key):
10474 * keymap.c (raw_lookup_key_mapper):
10475 * keymap.c (struct map_keymap_unsorted_closure):
10476 * keymap.c (map_keymap_unsorted_mapper):
10477 * keymap.c (map_keymap_sort_predicate):
10478 * keymap.c (map_keymap_sorted):
10479 * keymap.c (accessible_keymaps_mapper_1):
10480 * keymap.c (where_is_recursive_mapper):
10481 * keymap.c (describe_map_mapper):
10482 * keymap.c (describe_map_sort_predicate):
10483 * keymap.c (describe_map):
10484 * keymap.c (complex_vars_of_keymap):
10485 And a number of other files, the key modifier preprocessor
10486 constants that xemacs uses have names that conflict with constants
10487 defined under MS Windows for other purposes, so they were renamed
10488 to begin with the prefix XEMACS_. The variables that hold such
10489 modifiers were changed to consistently be of type int to fix
10490 various compile warnings.
10492 * console.c (complex_vars_of_console):
10495 * device-msw.c (mswindows_finish_init_device):
10496 * device-msw.c (msw_get_workspace_coords):
10497 * device-msw.c (mswindows_device_system_metrics):
10498 and various other files, added support for a new
10499 device property called offset-workspace which returns the position
10500 of the upper left corner of the workspace area and goes along with
10501 the existing size-workspace property.
10504 * dialog-msw.c (push_bufbyte_string_as_unicode):
10505 * dialog-msw.c (mswindows_popup_dialog_box):
10506 Added support for XEmacs-style accelerator specifications in
10507 button text. Note: I didn't add support for this under X Windows,
10508 and somebody needs to do this.
10511 * dialog.c (Fpopup_dialog_box):
10512 Documented the support for accelerators that was just mentioned.
10514 editfns.c (get_home_directory): Changed behavior under Windows
10515 when HOME not defined; former behavior was irretrievably broken.
10518 * emacs.c (main_1):
10520 * minibuf.c (clear_echo_area_internal):
10521 * minibuf.c (echo_area_append):
10523 * print.c (std_handle_out_external):
10524 * print.c (std_handle_out_va):
10526 * print.c (write_string_to_stdio_stream):
10527 * print.c (output_string):
10528 * print.c (debug_print):
10529 * print.c (debug_backtrace):
10530 * print.c (debug_short_backtrace):
10531 Cleaned up the code that prints text to stdout so that this can be
10532 changed to output into a console window instead under MS Windows,
10533 as described above.
10536 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10537 * eval.c (internal_catch):
10538 * eval.c (unwind_to_catch):
10539 * eval.c (throw_or_bomb_out):
10540 * eval.c (condition_case_1):
10541 * eval.c (signal_1):
10542 * eval.c (check_error_state_sanity):
10543 * eval.c (call_with_suspended_errors_1):
10544 * eval.c (call_with_suspended_errors):
10545 * eval.c (reinit_vars_of_eval):
10546 Added code to catch throw loops and check for a pesky bug that may
10550 * event-msw.c (key_needs_default_processing_p):
10551 * event-msw.c (mswindows_wnd_proc):
10552 * event-msw.c (mswindows_modifier_state):
10553 * event-msw.c (emacs_mswindows_quit_p):
10554 * event-msw.c (vars_of_event_mswindows):
10555 a) Added support for using the alt key to select menu items as is
10556 standard under MS Windows. This is controlled using the variable
10557 menu-accelerator-enabled, just like under X Windows. There is an
10558 option on the options menu to turn this support on. I really
10559 think that it should be on by default under Windows, but I'm not
10560 going to make this change yet.
10562 b) Added support for dynamic display size changes under Windows.
10565 * event-stream.c (maybe_echo_keys):
10566 * event-stream.c (Fnext_event):
10567 * event-stream.c (command_builder_find_leaf):
10568 * event-stream.c (lookup_command_event):
10569 * event-stream.c (execute_command_event):
10570 * event-stream.c (pre_command_hook):
10571 * event-stream.c (post_command_hook):
10572 * event-stream.c (syms_of_event_stream):
10573 * event-stream.c (vars_of_event_stream):
10574 * event-stream.c (complex_vars_of_event_stream):
10575 * events.h (struct command_builder):
10577 a) Tried to clean up a little bit the horribly written x-specific
10578 accelerator code that crept into this file. I moved this code
10579 into menubar-x.c where it belongs. I also needed to move the
10580 command builder structure into the file events.h because it is
10581 accessed directly by this accelerator code. What I didn't do, but
10582 which should be done at some point, is to properly abstract this
10583 code using device methods instead of the kludgy way that it
10584 currently hooks into the event code.
10586 b) Added the lisp variables this-command-properties and
10587 last-command- properties, which should be used to synchronize two
10588 adjacent commands in preference to playing games with the variable
10589 this-command, which is typically what happens.
10591 c) Added some slightly nasty code to hook into the lisp support
10592 for shifted- motion-key selection. This is actually necessary for
10593 somewhat complicated reasons, which are described in
10594 simple.el. (NB: I think the proper thing would be to have the code
10595 that calls the pre and post command hooks also call out to generic
10596 lisp functions in simple.el, where all built-in stuff could be
10597 added. I will think about this more.)
10599 * event-unixoid.c (poll_fds_for_input):
10600 * lread.c (readchar):
10601 * redisplay-tty.c (tty_clear_frame):
10602 * redisplay-x.c (x_get_gc):
10603 * signal.c (interrupt_signal):
10604 And a whole bunch of other files: fixed up places that printed
10605 directly to stderr to instead call the function stderr_out so that
10606 the changes I made under Windows work correctly.
10608 * filemode.c (mode_string):
10612 * frame-msw.c (mswindows_size_frame_internal):
10613 Fixed the computation of frame size and position to keep the frame
10614 within the workspace area, rather than within the physical
10615 dimensions of the screen, so that the frame doesn't overlap window
10616 manager decorations, such as the start menu and toolbar, typically
10617 at the bottom of the screen.
10619 * frame.c (vars_of_frame):
10620 Changed the default frame title format under MS Windows to consist
10621 of buffername-XEmacs, which is standard under MS Windows. I think
10622 it might be a good idea to change this everywhere because I think
10623 it is superior to the current frame title format, but this is the
10624 kind of change that is likely to cause some people to get annoyed,
10625 so I'm not making it.
10627 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10629 * gui-msw.c (mswindows_handle_gui_wm_command):
10630 Fixed compile warnings.
10633 * gui-x.c (strdup_and_add_accel):
10634 * gui-x.c (button_item_to_widget_value):
10636 Added code to automatically put an accelerator onto the beginning
10637 of menu items that don't have one as is now the standard, and is
10638 described more later. Also fixed things so that the menu item
10639 name can be an evaluated expression, again a new standard.
10642 * gui.c (gui_item_add_keyval_pair):
10643 * gui.c (make_gui_item_from_keywords_internal):
10644 * gui.c (gui_add_item_keywords_to_plist):
10645 * gui.c (gui_item_accelerator):
10646 * gui.c (gui_name_accelerator):
10647 * gui.c (gui_item_included_p):
10648 * gui.c (gui_item_display_flush_left):
10649 * gui.c (gui_item_display_flush_right):
10650 * gui.c (parse_gui_item_tree_item):
10651 * gui.c (parse_gui_item_tree_children):
10652 * gui.c (parse_gui_item_tree_list):
10653 Mule-ized. Cleanup. GCPRO addition.
10655 * line-number.c (buffer_line_number):
10657 * lisp.h (EMACS_INT_MAX):
10658 Added the manifest constant EMACS_INT_MIN corresponding to the
10659 existing constant EMACS_INT_MAX. This is partially to fix compile
10660 warnings under Windows, and partly for cleanliness.
10663 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10664 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10665 * menubar-msw.c (displayable_menu_item):
10666 * menubar-msw.c (populate_menu_add_item):
10667 * menubar-msw.c (populate_or_checksum_helper):
10668 * menubar-msw.c (populate_menu):
10669 * menubar-msw.c (update_frame_menubar_maybe):
10670 * menubar-msw.c (prune_menubar):
10671 * menubar-msw.c (msw_char_is_accelerator):
10672 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10673 * menubar-msw.c (mswindows_handle_wm_command):
10674 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10675 * menubar-msw.c (mswindows_handle_wm_initmenu):
10676 * menubar-msw.c (mswindows_update_frame_menubars):
10677 * menubar-msw.c (mswindows_free_frame_menubars):
10678 * menubar-msw.c (mswindows_popup_menu):
10679 Fixed a bug in handling accelerators where an extra character
10680 would be displayed in the menu item. Also generalized the
10681 function displayable_menu_item because it is now used by the
10682 dialog box code as well. And finally, added code in the functions
10683 that create the menubar to extract a list of accelerators for the
10684 top level menubar, which is used in the event code to determine
10685 whether a particular alt-key combination should be used to invoke
10686 a menu item, or should be passed through to access the standard
10687 XEmacs keymap binding for this key combination.
10689 Much needed GCPROing.
10692 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10693 * menubar-x.c (menu_item_descriptor_to_widget_value):
10694 * menubar-x.c (restore_in_menu_callback):
10695 * menubar-x.c (x_popup_menu):
10696 * menubar-x.c (menu_move_up):
10697 * menubar-x.c (menu_move_down):
10698 * menubar-x.c (menu_move_left):
10699 * menubar-x.c (menu_move_right):
10700 * menubar-x.c (menu_select_item):
10701 * menubar-x.c (command_builder_operate_menu_accelerator):
10702 * menubar-x.c (menu_accelerator_junk_on_error):
10703 * menubar-x.c (command_builder_find_menu_accelerator):
10704 * menubar-x.c (Faccelerate_menu):
10706 Moved a whole bunch of code here that was previously in
10707 event-stream.c as described above. There is also code connected
10708 to the new standard of adding an accelerator to the beginning of
10709 menu items that don't have one as described above and below.
10712 * menubar.c (menu_parse_submenu_keywords):
10713 * menubar.c (Fmenu_find_real_submenu):
10714 * menubar.c (Fnormalize_menu_item_name):
10715 * menubar.c (syms_of_menubar):
10716 * menubar.c (vars_of_menubar):
10717 * menubar.c (complex_vars_of_menubar):
10719 a) Cleaned up a bunch of documentation and improved it.
10721 b) XEmacs now automatically adds an accelerator onto the beginning
10722 of any menu items that don't have one. I did this because there
10723 will inevitably be some menu items on the main menubar that don't
10724 have accelerators on them because the package that adds that
10725 particular menu item hasn't yet been fixed up to have accelerators
10726 in them and it looked rather strange to have some items with and
10727 some items without accelerators, especially since even in items
10728 without accelerators, you can, at least under windows, still
10729 access the item through an accelerator corresponding to the first
10730 character in the item's name. If people don't like this behavior,
10731 I can add a variable to turn it off optionally, but I'm not sure
10732 this is a good idea because we really do need to have accelerators
10733 on all of the menu items, and if a package doesn't like the
10734 accelerators being put on the first character, then it should put
10735 the accelerators where they belong.
10737 c) I made a behavior change, which is that the descriptor that
10738 specifies the text of the menu item, which formerly was just a
10739 string, can now also be an evaluated expression. This makes this
10740 descriptor parallel with all of the others, which could also be
10741 evaluated expressions. This also obviates the need for the
10742 keyword :label, which was previously listed in the documentation
10743 as unimplemented, and which was for the same purpose.
10748 * ntproc.c (new_child):
10749 * ntproc.c (sys_spawnve):
10750 * ntproc.c (find_child_console):
10751 * ntproc.c (sys_kill):
10752 Fixed compile warnings. By the way, this file should really go
10753 away entirely, and this will happen as soon as Kirill makes his
10754 final round of process cleanups, which affect the function
10758 * process-nt.c (struct nt_process_data):
10759 * process-nt.c (find_process_from_pid):
10760 * process-nt.c (send_signal_the_nt_way):
10761 * process-nt.c (enable_child_signals):
10762 * process-nt.c (find_child_console):
10763 * process-nt.c (send_signal_the_95_way):
10764 * process-nt.c (nt_finalize_process_data):
10765 * process-nt.c (ensure_console_window_exists):
10766 * process-nt.c (nt_create_process):
10767 * process-nt.c (nt_kill_child_process):
10768 * process-nt.c (nt_kill_process_by_pid):
10769 * process-nt.c (nt_open_network_stream):
10770 * process-nt.c (vars_of_process_nt):
10771 Copied over code from Emacs 20.5 to correctly send signals to sub-
10772 processes under Windows 95. Also added code to automatically
10773 create and hide console window when a sub-process is created under
10774 Windows 95, which obviates the need for the separate runemacs.exe
10775 executable, and finally implemented some variables that were
10776 implemented in Emacs 20.5, but previously not in XEmacs. These
10777 include mswindows- start-process-share-console and
10778 mswindows-start-process-inherit-error-mode. (Both of these only
10779 apply to Windows 95.)
10781 * regex.c (regex_compile): Fixed a compile warning.
10784 * select-msw.c (mswindows_own_selection):
10785 * select-msw.c (mswindows_get_foreign_selection):
10786 * select-msw.c (mswindows_disown_selection):
10787 * select-msw.c (console_type_create_select_mswindows):
10788 * select-msw.c (syms_of_select_mswindows):
10789 Cleaned up the file and implemented the device method
10790 selection_exists_p, which had accidentally been left out. Also
10791 removed four lisp functions that were remnants from before the
10792 time when the selection code was properly device abstracted.
10793 These functions are no longer needed because there are generic
10794 equivalents, and because they were added recently and don't exist
10795 in FSF Emacs, I don't think there's any problem with just deleting
10799 * sysdep.c (sys_subshell):
10800 Fixed a compile warning, although in this case there's probably
10801 something wrong with this code, and it ought to be looked into
10802 more thoroughly by somebody who understands it.
10805 * window.c (Fwindow_text_area_height):
10806 * window.c (Fwindow_width):
10807 * window.c (Fwindow_full_width):
10808 * window.c (Fwindow_pixel_width):
10809 * window.c (debug_print_window):
10810 * window.c (syms_of_window):
10811 Added functions window-text-area-height and window-full-width,
10812 which are functions for returning various width and height
10813 characteristics of a window. (One of these functions is necessary
10814 for making the file dialog box work correctly, and the other one
10815 was added for completeness.) Also added a table to the
10816 documentation for window-height which describes the entire scheme
10817 for accessing width and height characteristics of a window.
10819 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10821 * nt.c (fstat): Added a comment for another problem with
10822 non-encapsulated [f]stat(), reported by Adrian Aichner
10823 <aichner@ecf.teradyne.com>.
10825 2000-03-11 Andy Piper <andy@xemacs.org>
10827 * window.c (make_dummy_parent): initialize subwindow instance
10829 (Fset_window_configuration): zero extent_modiff.
10831 2000-03-10 Andy Piper <andy@xemacs.org>
10833 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
10834 more changes can be triggered.
10835 (Fredisplay_frame): ditto.
10836 (Fredraw_device): ditto.
10837 (Fredisplay_device): ditto.
10838 (redisplay_frame): make non-static.
10839 (redisplay_frame): call update_frame_gutter_geometry outside of
10842 * gutter.h: declare update_frame_gutter_geometry.
10844 * redisplay.h: declare redisplay_frame.
10846 * gutter.c (update_frame_gutter_geometry): move geometry changes
10847 in update_frame_gutters here. Geometry changes can only occur
10848 outside of redisplay.
10849 (update_frame_gutters): remove geometry change code.
10850 (Fredisplay_gutter_area): make sure that we are in display when we
10851 update and that we have flushed any size changes.
10853 2000-03-11 Andy Piper <andy@xemacs.org>
10855 * alloc.c (pdump_dump_data): remove i & count shadows.
10857 2000-02-27 Mike Alexander <mta@arbortext.com>
10859 * sysdep.h: Declare pdump_read_file
10861 * sysdep.c (pdump_read_file): New function
10863 * alloc.c (pdump_load): Call pdump_read_file to get the portable
10866 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10868 * lrecord.h: add `lrecord_type_pgsetenv'.
10870 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
10872 * symsinit.h: declare (vars|syms)_of* functions.
10873 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
10875 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
10877 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
10879 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
10882 * emacs.c (main_1): Call postgres initialization code.
10884 * postgresql.h: New file. PostgreSQL RDBMS support.
10885 * postgresql.c: New file.
10887 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
10889 * redisplay-output.c (redisplay_output_display_block): Disable
10892 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10894 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
10895 (Fcanna_henkan_next): Ditto.
10896 (Fcanna_bunsetu_henkou): Ditto.
10897 (Fcanna_henkan_kakutei): Ditto.
10898 (Fcanna_henkan_end): Ditto.
10899 (Fcanna_henkan_quit): Ditto.
10900 (Fcanna_henkan_next): Set retun value correctly.
10901 (c2mu): Use unsigned char instead of signed char.
10903 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10905 * emacs.c (main_1): Always call syms_of_gui.
10906 * inline.c: include gui.h
10908 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10910 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
10911 converted to Lisp_Object.
10912 (Qtop_bottom): New variable.
10913 (syms_of_redisplay): Initialize it.
10914 * redisplay.h (Vvisible_bell): Ditto.
10915 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
10916 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
10917 only flash top and bottom.
10919 2000-03-08 Andy Piper <andy@xemacs.org>
10921 * buffer.c (Frename_buffer): record new buffer name the right way.
10923 2000-03-08 Andy Piper <andy@xemacs.org>
10925 * glyphs.c (update_subwindow): increase hash depth so that widget
10926 items get picked up properly.
10928 * redisplay-output.c (compare_runes): increase hash depth so that
10929 widget items get picked up properly.
10931 2000-03-08 Andy Piper <andy@xemacs.org>
10933 * gutter.c (output_gutter): add some debug.
10935 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
10936 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
10937 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
10939 * redisplay-output.c (compare_runes): use display_hash to
10940 determine if glyphs really are not the same.
10942 * glyphs.c (update_subwindow): check display_hash to see if
10943 anything really needs to be updated. If not then do
10944 nothing. Record the display_hash after updating.
10945 (image_instance_equal): compare the image_instance face also.
10947 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
10949 * redisplay.h: Fix comment style.
10951 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
10953 * consle-msw.h (struct mswindows_frame):
10954 Added new member paint_pending to indicate whether a WM_PAINT
10955 magic event has been queued for this frame.
10957 * event-msw.c (mswindows_drain_windows_queue):
10958 Don't queue a WM_PAINT magic event if one is already queued.
10959 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
10961 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
10963 2000-03-07 Didier Verna <didier@xemacs.org>
10965 * dired.c: #include `regex.h' after `sysfile.h'.
10967 2000-03-06 Martin Buchholz <martin@xemacs.org>
10969 * sound.c (init_nas_sound): Fix compiler warning.
10971 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
10973 (MARK_STRUCT_AS_FREE):
10974 (MARK_STRUCT_AS_NOT_FREE):
10975 Make `gcc -fstrict-aliasing' work properly.
10977 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
10979 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
10980 (mswindows_delete_device): Call CoUnnitialize().
10982 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
10984 2000-02-25 <CraigL@DyCon.com>
10986 * process-nt.c: MinGW now has <shellapi.h>, but still needs
10989 * sysdep.c: This extern declaration for environ prevents MinGW
10990 from finding the variable in CRTDLL.DLL.
10992 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
10994 (SHGFI_EXETYPE): ..
10995 (WM_MOUSEWHEEL): ..
10996 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
10998 (MMRESULT): Removed, now defined in cygwin's windows headers.
11000 (uid_t,gid_t,pid_t,ssize_t): ..
11001 (_timeb): Removed, MinGW defines both _timeb and timeb.
11002 (HAVE_H_ERRNO): Added.
11003 (HAVE_TZNAME): Added, configure is not detecting this.
11005 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
11007 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
11008 * syntax.c (syntax_match): Use it.
11010 * cmds.c: Import auto-fill-chars from FSF Emacs.
11011 (Vauto_fill_chars): New variables.
11012 (internal_self_insert): Check Vauto_fill_chars.
11014 Declare auto-fill-chars as a Lisp variable and initialize it.
11016 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11018 * fileio.c (Fmake_symbolic_link):
11020 Run handlers even if local machine doesn't have symlinks.
11022 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11024 * event-msw.c (mswindows_drain_windows_queue):
11025 Don't generate paint magic events for non-XEmacs frames.
11027 2000-03-05 Andy Piper <andy@xemacs.org>
11029 * redisplay.c (redisplay_frame): generate_displayable_area and
11030 friends assumes that we are not in GC, we therefore have to make
11031 sure that this doesn't happen.
11033 * gutter.c (calculate_gutter_size): generate_displayable_area
11034 assumes that we are not in GC, we therefore have to make sure that
11035 this doesn't happen.
11037 2000-03-05 Martin Buchholz <martin@xemacs.org>
11039 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
11041 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
11043 * redisplay.c (regenerate_window): Make sure we set a sane value
11044 for end_pos even if we jump out of the loop.
11045 (regenerate_window): Answer Ben's question :-).
11046 (start_end_of_last_line): Add may_error argument.
11047 (start_of_last_line):
11048 (end_of_last_line): Pass may_error = 0.
11049 (end_of_last_line_may_error): New function.
11050 (pixel_to_glyph_translation): Use it, so we don't crash in
11053 2000-03-04 Andy Piper <andy@xemacs.org>
11055 * window.h (struct window): add gutter_extent_modiff.
11057 * window.c (allocate_window): zero out gutter_extent_modiff.
11059 * redisplay.h: declare sync_display_line_structs.
11061 * redisplay.c (add_glyph_rune): add a better comment.
11063 * redisplay-output.c (sync_display_line_structs): made non-static.
11064 (compare_runes): remove unneccesary glyph cachel access.
11066 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
11068 * gutter.c (output_gutter): don't output the gutter if extent
11069 changes only involve extents in buffers. use 4 sets of display
11071 (gutter_extent_signal_changed_region_maybe): new function. Mark
11072 extents in gutters as changed.
11073 (update_frame_gutters): use 4 sets of display lines.
11074 (reset_gutter_display_lines): ditto.
11075 (free_frame_gutters): ditto.
11076 (redraw_exposed_gutter): force output of gutters.
11078 * frame.h (struct frame): add 4 sets of gutter display lines.
11080 * extents.c: (extent_changed_for_redisplay): signal changes to
11081 extents in strings in the gutter as well as extents in buffers.
11083 2000-03-02 Andy Piper <andy@xemacs.org>
11085 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
11087 * frame.c (Fmake_frame): make sure the gutters get initialized
11088 after the frame is visible.
11089 (set_frame_selected_window): re-arrange compilation macros a
11091 (change_frame_size_1): mark gutters changed.
11093 * device.c (Fset_device_class): mark gutters changed.
11095 2000-03-01 Andy Piper <andy@xemacs.org>
11097 * window.c (window_top_frame_gutter_height): deleted.
11098 (window_bottom_frame_gutter_height): ditto.
11099 (window_left_frame_gutter_height): ditto.
11100 (window_right_frame_gutter_height): ditto.
11101 (window_top_gutter_height): don't use them.
11102 (window_bottom_gutter_height): ditto.
11103 (window_left_gutter_width): ditto.
11104 (window_right_gutter_width): ditto.
11105 (Fsplit_window): ditto.
11106 (Fwindow_pixel_edges): don't use border dimensions here.
11108 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
11109 (update_scrollbar_instance): ditto.
11111 * redisplay.c (generate_modeline): don't take gutters into account.
11112 (generate_modeline): ditto.
11113 (redisplay_frame): small gutter display optimization.
11115 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
11117 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
11118 gutters into account.
11120 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
11121 for window position and type.
11123 * gutter.c (get_gutter_coords): fix for frame gutters.
11124 (update_frame_gutters): update frame geometry if the gutters have
11126 (init_frame_gutters): record current gutter geometries.
11128 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
11130 (mswindows_widget_instantiate): ditto.
11132 * frame.h (struct frame): add current_gutter_bounds.
11134 * frame.c (change_frame_size_1): position window and minibuffer
11135 appropriately taking into account the frame gutters.
11137 * frame-x.c: (x_initialize_frame_size): take into account the
11140 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11142 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11144 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11146 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11148 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11150 * file-coding.c (reset_decoding_stream): Clear previous
11151 detection state when autodetect.
11153 2000-02-29 Didier Verna <didier@xemacs.org>
11155 * extents.c (set_extent_glyph_1): don't require extents to be
11158 2000-02-27 Andy Piper <andy@xemacs.org>
11160 * gutter.c (Fset_default_gutter_position): don't default left and
11161 right gutter visibility to t.
11162 (Fset_default_gutter_position): run
11163 default-gutter-position-changed-hook.
11164 (syms_of_gutter): add default-gutter-position-changed-hook.
11166 2000-02-26 Andy Piper <andy@xemacs.org>
11168 * specifier.c (Fmake_specifier): add gutter references.
11170 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11172 * lisp.h: declare Fvalid_plist_p.
11174 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11176 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11177 well as its visibility so that it gets reconstructed.
11178 (construct_window_gutter_spec): new function. Construct a string
11179 to be displayed in the gutter from a plist of strings. Take care
11180 to only use elements that are declared as visible.
11181 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11183 (gutter_validate): allow plists of strings in the specifier.
11184 (gutter_specs_changed): construct the real_gutter from the gutter
11185 specs using construct_window_gutter_spec.
11186 (gutter_visible_validate): gutter-visible is a new specifier type.
11187 (Fgutter_visible_specifier_p): new function for the new specifier.
11188 (syms_of_gutter): declare gutter-visible and
11189 Fgutter_visible_specifier_p.
11190 (specifier_type_create_gutter): intitalize new gutter-visible
11192 (reinit_specifier_type_create_gutter): ditto.
11193 (specifier_vars_of_gutter): use new specifier type for gutter
11195 (init_frame_gutters): construct real_gutter correctly.
11196 (Fgutter_specifier_p): beef up documentation.
11197 (Fgutter_size_specifier_p): ditto.
11199 * winslots.h: add real_gutter slots.
11201 2000-02-25 Andy Piper <andy@xemacs.org>
11203 * device-msw.c: Be kind to older cygwin versions. From Raymond
11204 Toy <toy@rtp.ericsson.se>.
11206 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11207 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11209 2000-02-25 Martin Buchholz <martin@xemacs.org>
11211 * elhash.c (MARK_OBJ): Practice macro hygiene.
11213 2000-02-24 Martin Buchholz <martin@xemacs.org>
11215 * miscplay.c: s/__inline__/inline/g;
11216 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11217 (get_device_compdc): INLINE ==> static inline
11218 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11219 find -name '*.h' | \
11220 xargs global-replace \
11221 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11223 2000-02-25 Andy Piper <andy@xemacs.org>
11225 * window.c (window_top_frame_gutter_height): new function.
11226 (window_top_window_gutter_height): ditto.
11227 (window_top_gutter_height): use them.
11228 (window_bottom_frame_gutter_height): new function.
11229 (window_bottom_window_gutter_height): ditto.
11230 (window_bottom_gutter_height): use them.
11231 (window_left_window_gutter_width): new function.
11232 (window_left_frame_gutter_width): ditto.
11233 (window_left_gutter_width): use them.
11234 (window_right_window_gutter_width): new function.
11235 (window_right_frame_gutter_width): ditto.
11236 (window_right_gutter_width): use them.
11237 (window_pixel_height): new function. calulate window pixel height
11238 with frame gutter involvement.
11239 (Fsplit_window): calculate new sizes taking frame gutters into
11241 (window_char_height_to_pixel_height): don't include frame gutters.
11242 (window_char_height): use window_pixel_height.
11243 (window_pixheight): rename from window_pixel_height.
11244 (change_window_height): use it.
11245 (window_pixel_height_to_char_height): don't include frame gutters.
11246 (window_char_width_to_pixel_width): ditto.
11248 2000-02-25 Andy Piper <andy@xemacs.org>
11250 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11253 2000-02-24 Martin Buchholz <martin@xemacs.org>
11255 * alloc.c (staticpro):
11256 (staticpro_nodump):
11261 (compact_string_chars):
11262 (pdump_dump_wired):
11263 Convert: if (foo) abort(); ==> assert (! foo);
11265 * eldap.c (Fldap_search_basic):
11269 Fix compiler warnings, and possible crashes if (random) return
11270 value were to be used.
11272 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11274 * device-msw.c: Workaround ResetDC failure.
11276 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11277 applying a devmode.
11279 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11280 (mswindows_text_width): Do not start printer page.
11282 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11284 * glyphs-msw.c: Added image methods to msprinter console and
11285 msprinter-specific image instantiation.
11287 2000-02-20 Mike Alexander <mta@arbortext.com>
11289 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11290 to avoid crashes when selection-sets-clipboard is on
11291 (mswindows_own_selection): ditto
11293 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11296 * redisplay-msw.c (get_frame_dc):
11297 (get_frame_compdc):
11299 * device-msw.c (mswindows_init_device):
11300 (mswindows_delete_device):
11301 (msprinter_init_device):
11302 (msprinter_delete_device):
11303 * frame-msw.c (mswindows_init_frame_1):
11304 (mswindows_delete_frame):
11305 (msprinter_init_frame_3):
11306 (msprinter_delete_frame): Move compatible DC to device object from
11307 frame object, for both mswindows and msprinter. Only one at a time
11308 is needed, it is a real waste to have one per frame!
11310 2000-02-23 Andy Piper <andy@xemacs.org>
11312 * glyphs.c: add dynamic width and height elements.
11313 (image_instance_equal): ditto.
11315 * glyphs-widget.c (widget_query_geometry): calculate width and
11316 height dynamically if required.
11317 (initialize_widget_image_instance): initialize dynamic dimensions.
11318 (widget_instantiate): pick-up dynamic dimensions.
11320 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11321 dynamic determination. Add appropriate macros.
11323 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11325 (WINDOW_GUTTER_SIZE): ditto.
11326 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11328 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11330 (get_frame_dc): ditto.
11332 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11335 2000-02-23 Martin Buchholz <martin@xemacs.org>
11337 * XEmacs 21.2.31 is released.
11339 2000-02-22 Ben Wing <ben@xemacs.org>
11341 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11343 2000-02-22 Andy Piper <andy@xemacs.org>
11345 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11347 2000-02-21 Mike Sperber <mike@xemacs.org>
11351 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11354 2000-02-21 Mike Sperber <mike@xemacs.org>
11356 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11358 2000-02-21 Martin Buchholz <martin@xemacs.org>
11360 * XEmacs 21.2.30 is released.
11362 2000-02-20 Martin Buchholz <martin@xemacs.org>
11364 Performance hacking.
11366 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11367 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11368 * emacs.c (main_1):
11370 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11371 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11372 * symeval.h (DEFVAR_SYMVAL_FWD):
11373 * symbols.c (guts_of_unbound_marker):
11374 Make all c_readonly objects also lisp_readonly and marked for life.
11375 * lrecord.h (struct lrecord_implementation):
11376 Document flags better.
11377 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11378 * lrecord.h (DECLARE_LRECORD):
11379 * lrecord.h (XSETRECORD):
11380 * lrecord.h (RECORDP):
11381 * lrecord.h (RECORD_TYPEP):
11382 * lrecord.h (RECORD_MARKER): New.
11383 * lrecord.h (error_check_*):
11384 * lrecord.h (CONCHECK_NONRECORD):
11385 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11386 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11387 * lrecord.h (set_lheader_implementation):
11388 * lrecord.h (enum lrecord_type): New.
11389 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11390 * alloc.c (disksave_object_finalization_1):
11391 * alloc.c (mark_object):
11392 * alloc.c (lrecord_type_index):
11393 * alloc.c (tick_lcrecord_stats):
11394 * alloc.c (Fgarbage_collect):
11395 * alloc.c (init_alloc_once_early):
11396 * alloc.c (pdump_load):
11397 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11398 * alloc.c (lrecord_type_index): Delete.
11399 Make lisp object type indexes be constant.
11400 Makes (byte-compile) 5% faster.
11401 Put all marker functions into their own array.
11402 Makes (garbage-collect) 5% faster.
11403 Optimize SYMBOL_VALUE_MAGIC_P.
11404 Makes (byte-compile) 2-3% faster.
11405 * config.h.in (gc_checking_assert): New.
11406 * alloc.c: Use gc_checking_assert().
11407 * .dbxrc: Make compatible with new object type implementation.
11408 * .gdbinit: Make compatible with new object type implementation.
11409 * alloc.c: Delete all symbols defined only for debugging, such as
11410 Lisp_Type_Vector and lrecord_charset.
11412 2000-02-21 Andy Piper <andy@xemacs.org>
11414 * gui-msw.c (Fmswindows_shell_execute): fix file location
11417 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11418 unshowing so that set_window_buffer doesn't undo
11419 kill_buffer_hook's hard work.
11421 * glyphs-widget.c (tab_control_query_geometry): don't count the
11422 first item when calculating geometry.
11424 * glyphs.c (map_subwindow): remove redundant code.
11425 (update_frame_subwindows): be more circumspect about when to
11428 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11429 when items haven't changed. Update faces if faces have changed as
11430 well as just the widget face.
11431 (x_tab_control_update): Update faces if faces have changed as well
11432 as just the widget face.
11434 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11436 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11438 (build_syscolor_string): Use mswindows_color_to_string to try to
11440 (mswindows_device_system_metrics): Reverse the foreground and
11441 background colors so that they match the documentation.
11443 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11444 they match the default Windows palette.
11445 (mswindows_color_to_string): New function.
11447 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11449 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11451 2000-02-18 Olivier Galibert <galibert@pobox.com>
11453 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11454 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11456 * symbols.c (init_symbols_once_early): Removed obsolete
11457 DATA_SEG_BITS related kludge.
11458 (defvar_magic): Ditto.
11460 * malloc.c: Removed obsolete DATA_SEG_BITS
11462 * mem-limits.h: Ditto.
11464 * Makefile.in.in: Removed obsolete HAVE_SHM
11467 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11469 * device-msw.c (mswindows_delete_device): Free DDE string
11472 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11474 * keymap.c (get_keyelt):
11475 * unexnt.c (unexec):
11476 * vm-limit.c (memory_warnings):
11477 * ntheap.c (recreate_heap):
11478 * ntheap.h (UNINIT_PTR):
11479 * select-msw.c (Fmswindows_get_clipboard):
11480 (Fmswindows_set_clipboard):
11481 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11483 * menubar-msw.c (displayable_menu_item):
11485 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11486 * sysdep.c (sys_subshell):
11487 * process-nt.c (nt_create_process):
11488 * nt.c (normalize_filename):
11489 (dostounix_filename):
11490 (unixtodos_filename):
11491 * ntproc.c (win32_executable_type):
11492 * ntplay.c (play_sound_data_1):
11494 * editfns.c (get_home_directory):
11495 * event-msw.c (struct winsock_stream):
11496 (mswindows_dde_callback):
11497 * device-msw.c (msprinter_init_device):
11498 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11500 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11501 mswindows_clear_toolbar were swapped!
11503 * objects-msw.c:(colormap_t):
11505 * emacs.c (struct standard_args): Fixed const jumble.
11507 * glyphs-widget.c (update_widget): Fixed comparison notation.
11509 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11511 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11512 __declspec(noreturn) syntax.
11514 2000-02-19 Martin Buchholz <martin@xemacs.org>
11516 * eldap.c (Fldap_open):
11517 (Fldap_search_basic):
11520 Use new coding system conversion macros.
11522 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11524 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11526 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11528 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11529 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11531 * eldap.c (Qadd, Qreplace): New constant symbols
11532 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11533 interruptions by XEmacs signals
11534 Remove unnecessary calls to slow_down_interrupts and
11535 speed_up_interrupts
11536 (Fldap_search_basic): Renamed from Fldap_search_internal
11537 Added new optional parameter VERBOSE that triggers the
11538 display of progress messages
11539 Remove unnecessary calls to slow_down_interrupts and
11540 speed_up_interrupts
11541 LDAP result code analysis rewritten
11542 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11543 (syms_of_eldap): Define the new symbols and functions
11546 2000-02-17 Martin Buchholz <martin@xemacs.org>
11548 * realpath.c: Determine PATH_MAX maximally portably.
11550 * insdel.c (bytecount_to_charcount): Optimize.
11551 The function used to be optimized for entirely ASCII sequences.
11552 Now it is optimized for successive characters from the same
11553 charset. This also wins big for _mostly_ ASCII sequences.
11555 * fileio.c (Ffile_truename): convert return from realpath() using
11556 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11557 - Rewrite GCPROing slightly.
11559 * sysdep.c (sys_open): Do filename conversion, like all other
11560 sys_* functions. Fixes bug:
11561 (let ((file-name-coding-system 'iso-8859-2))
11562 (write-region x y latin2-name))
11563 ==> writes filename using internal encoding.
11565 2000-02-18 Martin Buchholz <martin@xemacs.org>
11567 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11568 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11569 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11570 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11571 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11572 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11573 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11574 (CONST_IF_NOT_DEBUG): Delete.
11575 * alloc.c (this_one_is_unmarkable): Delete.
11576 (mark_object): Don't check for this_one_is_unmarkable. Use the
11577 c_readonly flag instead.
11578 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11580 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11582 * event-msw.c (mswindows_drain_windows_queue):
11583 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11584 away redundant repaint events.
11586 2000-02-17 Andy Piper <andy@xemacs.org>
11588 * redisplay.h: declare mark_redisplay_structs.
11590 * redisplay.c (redisplay_window):
11591 (redisplay_frame): don't check subwindows_state_changed.
11592 (mark_redisplay): mark gutters here.
11594 * glyphs.c: (instantiate_image_instantiator): always layout if we
11595 haven't done so already.
11596 (allocate_image_instance): don't mark as dirty.
11597 (update_subwindow): bind inhibit_quit.
11599 * gutter.c (mark_gutters): new function.
11601 * glyphs-x.c (x_update_widget): Always resize to get round a
11604 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11605 breaking absolutely everything.
11607 * gutter.h: declare mark_gutters.
11609 2000-02-16 Martin Buchholz <martin@xemacs.org>
11611 * XEmacs 21.2.29 is released.
11613 2000-02-15 Olivier Galibert <galibert@pobox.com>
11615 * fns.c (size_bit_vector): Fix computation of the size.
11617 2000-02-15 Martin Buchholz <martin@xemacs.org>
11619 * *.[ch]: Change CONST to const globally.
11620 find -name '*.[ch]' | \
11621 xargs global-replace \
11622 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11623 - Remove vestigial references to CONST_IS_LOSING
11625 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11627 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11628 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11629 events instead of dispatching them directly.
11630 (mswindows_handle_paint): New function to do repainting.
11631 (mswindows_wnd_proc):
11632 (emacs_mswindows_handle_magic_event): Call above function.
11634 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11636 * objects-msw.c (mswindows_create_font_variant): Return the new
11638 (initialize_font_instance): Get font metrics from the underlined
11639 variant of the font to cope with the case where the underlined
11640 font has a bigger descent.
11642 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11644 * gui.c (gui_item_accelerator): Return the first underlined
11645 character in item name.
11647 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11649 * lisp.h: Added Qprinter.
11651 * general.c (syms_of_general): Initialized it.
11653 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11655 (get_frame_compdc): Made inline.
11657 * console.h (struct console_methods): Added eject_page method.
11659 * frame.h: Added FRAME_DISPLAY_P and friends.
11660 Aligned backslahes in many macros in more readable fashion.
11661 Added page_number to struct frame, and an accessor macro
11664 * defice.h: Added DEVICE_DISPLAY_P and friends.
11666 * device.c (Fdevice_printer_p): Used these.
11668 * frame.c (allocate_frame_core): Initialize page number.
11669 (Fprint_job_page_number):
11670 (Fprint_job_eject_page): Implemented.
11672 * frame-msw.c (msprinter_eject_page): Added method.
11673 (msprinter_start_page): Added.
11675 * window.c (Fwindow_truncated_p): Fixed docstring.
11676 (Fwindow_last_line_visible_height): Implemented.
11678 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11680 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11682 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11684 * syntax.c (scan_words): Always advance at least one character.
11686 2000-02-13 Andy Piper <andy@xemacs.org>
11688 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11689 to make sure the glyph is in the cachels.
11691 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11692 global image instance flag.
11693 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11694 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11696 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11697 (Fset_image_instance_property): mark layout as changed.
11698 (invalidate_glyph_geometry_maybe): mark layout as changed.
11699 (glyph_width): use new NEEDS_LAYOUT macro.
11700 (glyph_ascent): ditto.
11701 (glyph_descent): ditto.
11702 (glyph_height): ditto.
11703 (image_instance_layout): mark layout as clean after laying out.
11704 (update_subwindow): don't mark layout as clean here.
11706 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11707 should no longer be needed.
11709 * glyphs-x.c (x_update_widget): sanitize asserts.
11710 (x_finalize_image_instance): sanitize assignment to widgets.
11712 * glyphs-widget.c (widget_instantiate): don't need to clear the
11715 2000-02-13 Martin Buchholz <martin@xemacs.org>
11717 * sysdep.c (getcwd): Use standard prototype.
11718 * sysdep.h (getcwd): Use standard prototype.
11720 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
11721 (sequence, start, end).
11722 Remove redundant type checking.
11723 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
11724 view of `caller-protects') to avoid a crash where the real fix was
11727 2000-02-12 Martin Buchholz <martin@xemacs.org>
11729 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
11731 * s/sol2.h: Remove feature macro initialization.
11733 * alloc.c (alloc_lcrecord): Add more type checking assertions.
11734 (vector_hash): New. Code from internal_hash.
11736 Fix up allocation subsystem comments.
11738 * config.h.in: Add __EXTENSIONS__ for Solaris.
11740 * systime.h (EMACS_GETTIMEOFDAY): New.
11741 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
11742 Remove Solaris-specific code.
11743 Use void* for the (ignored) second arg for gettimeofday().
11745 * elhash.c (hash_table_hash): Implement it, finally.
11746 * elhash.c: Use hashcode_t.
11748 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
11749 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
11751 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
11752 * fns.c (size_bit_vector):
11753 * alloc.c (size_vector):
11754 (make_vector_internal):
11755 (make_bit_vector_internal):
11756 (sweep_bit_vectors_1):
11757 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
11759 2000-02-10 Martin Buchholz <martin@xemacs.org>
11761 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
11762 Include strings.h to avoid warnings for bzero and strcasecmp.
11764 2000-02-10 Olivier Galibert <galibert@pobox.com>
11766 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
11767 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
11769 * fns.c (size_bit_vector): New. Declare bit vectors as a
11772 2000-02-10 Olivier Galibert <galibert@pobox.com>
11774 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
11775 use a value field instead.
11776 (symbol_value_forward_forward): Use value field.
11777 (DEFVAR_SYMVAL_FWD): Use value field.
11778 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
11779 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
11780 (DEFVAR_CONST_INT): Ditto.
11781 (DEFVAR_BOOL): Ditto.
11782 (DEFVAR_CONST_BOOL): Ditto.
11783 (DEFVAR_INT_MAGIC): Ditto.
11784 (DEFVAR_BOOL_MAGIC): Ditto.
11786 * symbols.c (guts_of_unbound_marker): Use value field.
11787 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
11788 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
11790 * lisp.h: Declare dumpopaque and noninteractive1.
11792 * alloc.c (dumpopaque): Added.
11793 (pdump_dump_opaquevec): Added.
11794 (pdump): Call pdump_dump_opaquevec to dump opaque data.
11795 (pdump_load): Reload opaque data. Sync noninteractive1 with
11798 2000-02-10 Andy Piper <andy@xemacs.org>
11800 * glyphs.c (image_instance_layout): if the size changes, mark it
11803 * redisplay-output.c (redisplay_output_layout): Update the
11805 (redisplay_output_subwindow): ditto.
11807 * glyphs.c (update_subwindow): make sure we reset flags for
11808 layouts as well as everything else.
11810 * glyphs-widget.c (layout_layout): don't need to set the instances
11813 2000-02-09 Martin Buchholz <martin@xemacs.org>
11815 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
11816 not HAVE_DLOPEN, which is a lower-level thing.
11818 * .cvsignore: Ignore gmon.out
11820 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
11822 * .cvsignore: Ignore portable dumper xemacs.dmp file
11824 2000-02-09 Andy Piper <andy@xemacs.org>
11826 * redisplay-output.c (redisplay_output_layout): be more clever
11827 about when we output based on the changed flags.
11829 * glyphs.h (struct image_instantiator_methods): add update_method.
11830 (struct Lisp_Image_Instance): add changed flags. Declare new
11831 macros for manipulating them.
11833 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
11834 (image_instance_parent_glyph): find an image_instance's parent
11835 glyph or image_instance.
11836 (image_instance_layout): mark the size as changed.
11837 (set_image_instance_dirty_p): new function. mark an image
11838 instance, plus all of its parents, as dirty.
11839 (Fset_image_instance_property): use it.
11840 (Fglyph_animated_timeout_handler): use it.
11841 (update_subwindow): call update_widget and device methods for
11842 update_subwindow. Mark all changed flags as clean.
11843 (Fresize_subwindow): mark size as changed.
11845 * glyphs-x.c (x_finalize_image_instance): try and detect gc
11847 (x_update_subwindow): only resize subwindows here.
11848 (x_update_widget): new function. Update all changed properties of
11850 (x_resize_subwindow): deleted.
11851 (x_widget_set_property): deleted.
11852 (x_progress_gauge_set_property): deleted.
11853 (x_progress_gauge_update): new function. Implement recorded
11855 (x_tab_control_update): ditto.
11856 (x_tab_control_set_property): deleted.
11857 (console_type_create_glyphs_x): declare new functions.
11858 (image_instantiator_format_create_glyphs_x): ditto.
11860 * glyphs-widget.c (widget_set_property): mark text changed.
11861 (update_widget): new function. Update properties of a widget.
11862 (widget_instantiate): for layouts make sure we set their
11863 children's parent correctly.
11864 (tab_control_set_property): new function. Record changes that will
11865 take place under redisplay's control.
11866 (progress_gauge_set_property): ditto.
11867 (image_instantiator_progress_guage): declare new functions.
11868 (image_instantiator_tab_control): ditto.
11870 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
11872 (mswindows_update_widget): new function. Update all properties on
11873 a widget that have changed.
11874 (mswindows_button_update): new function. Update a button's set
11876 (mswindows_tab_control_update): new function. Update the items in
11878 (mswindows_tab_control_set_property): deleted.
11879 (mswindows_progress_gauge_update): new function. Update the
11880 progress gauge's progress.
11881 (mswindows_widget_set_property): deleted. This is all done
11882 asynchronously now.
11883 (mswindows_progress_gauge_set_property): ditto.
11884 (console_type_create_glyphs_mswindows): declare new methods.
11885 (image_instantiator_format_create_glyphs_mswindows): ditto.
11887 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
11888 (msprinter_set_frame_properties): ditto.
11890 * console.h (struct console_methods): Add update_widget_method.
11892 2000-02-09 Andy Piper <andy@xemacs.org>
11894 * gui-msw.c (Fmswindows_shell_execute): Make
11895 mswindows-shell-execute industrial strength.
11897 2000-02-08 Martin Buchholz <martin@xemacs.org>
11899 * lrecord.h: Make macro argument `props' match member function `plist'.
11902 * fns.c (Fremprop):
11903 * fns.c (Fobject_plist):
11906 Object property list frobbing cleanup.
11907 - Allow any lisp object (compared with `eq'), not just symbols, as
11908 keys in object plists.
11909 - Move symbol plist frobbing into symbols.c, where it belongs.
11910 - Move string plist frobbing into alloc.c, where it belongs.
11911 - Everything's an lrecord now, so no need to test for symbolp, etc.
11912 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
11914 * extents.c: Reorder code to remove declarations.
11916 * frame.h (store_in_alist): Remove useless declaration.
11918 2000-02-07 Martin Buchholz <martin@xemacs.org>
11920 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
11921 * config.h.in: Add HAVE_XCONVERTCASE.
11923 2000-02-07 Andy Piper <andy@xemacs.org>
11925 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
11926 it breaks many things.
11928 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11930 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
11931 actually can start a common comment type.
11932 * src/syntax.h (SYNTAX_END_P): ditto for end.
11934 2000-02-07 Martin Buchholz <martin@xemacs.org>
11936 * XEmacs 21.2.28 is released.
11938 2000-02-06 Martin Buchholz <martin@xemacs.org>
11940 * event-Xt.c (x_keysym_to_character): New.
11941 (maybe_define_x_key_as_self_inserting_character): New.
11942 (x_has_keysym): New.
11943 Auto-define all keys on the keyboard as self-insert-key.
11945 2000-02-02 Martin Buchholz <martin@xemacs.org>
11947 * menubar.c (vars_of_menubar): A small code simplification.
11949 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
11952 * ExternalClient.c:
11953 * EmacsShell-sub.c:
11956 Use consistent style for specifying X resources.
11958 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
11959 This makes (dontusethis-set-symbol-value-handler) actually usable.
11961 * lrecord.h (lrecord_decription_type):
11962 * alloc.c (pdump_register_sub):
11965 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
11966 Comply with XEmacs coding style.
11967 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
11968 args, and XD_LISP_OBJECT_ARRAY with 3 args.
11970 * keymap.c (Faccessible_keymaps):
11971 Make (accessible-keymaps map "\C-h") do the Right Thing.
11972 Make (accessible-keymaps map []) do the Right Thing.
11973 Make (accessible-keymaps map "") do the Right Thing.
11974 (check_keymap_definition_loop): New function.
11975 (keymap_store_internal): Keep luser from shooting self in foot,
11976 via (define-key ctl-x-4-map "p" global-map).
11977 Remove fullness slot from struct Lisp_Keymap, since hash tables
11979 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
11981 2000-01-30 Martin Buchholz <martin@xemacs.org>
11983 * redisplay.c (init_redisplay): Fix small memory leak.
11985 * elhash.c (pdump_reorganize_hash_table):
11986 Rename from reorganize_hash_table. Change prototype.
11987 Reuse the original memory for hentries. Save 100k.
11988 * alloc.c (PDUMP_READ): new macro.
11989 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
11990 * alloc.c: No need to #ifndef before #undef.
11992 * print.c: Allow debug_print() to print readably by modifying
11993 debug_print_readably. Use consistent variable names.
11995 * .dbxrc: Try to get things to work even if stopped in a function
11996 without source available by explicitly specifying source files.
11997 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11999 * unexnt.c (_start): Removed bogus code which caused loading heap
12000 from differrent executable file.
12001 Removed bogus assignment to _fmode, which caused inconsistencies.
12003 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12005 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
12006 Have spawnve encapsulation regard DONT_ENCAPSULATE.
12007 Do not preliminary `#define signal sigset'.
12009 * systime.h: Do not prototype environ on windows nt and cygwin,
12010 this conflicts with system header.
12012 * syssignal.h: Use correct define for WINDOWSNT
12014 * sysdep.h: Do not prototype environ on windows nt, this conflicts
12015 with system header.
12017 * sysdep.c (near start of file): Fixed commentary and rearranged
12018 ifdefs in readable order.
12019 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
12022 (end_of_data): Do not compile in if using PDUMP.
12024 * symsinit.h: Prototyped vars_of_nt().
12026 * ntproc.c (windows9x_p): Added, instead of os_subtype.
12027 (find_child_console): Use it.
12028 (sys_kill): Use it.
12030 * ntheap.h: Do not extern os_subtype.
12032 * ntheap.c (cache_system_info): Do not cache unneeded:
12033 nt_major_version, nt_minor_version and os_subtype.
12034 (recreate_heap): Do not compile in when PDUMPing.
12036 * nt.c (geteuid and friends): Use the new varibale
12037 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
12038 (init_user_info): Removed the above mentioned hackery.
12039 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
12040 stat has been fixed in the C runtime.
12041 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
12043 * file-coding.c (struct file_coding_dump): Do not define
12044 ucs_to_mule_table in the struct if not MULE.
12045 (struct struct lrecord_description fcd_description_1): Do not dump
12048 * emacs.c (main_1): Call vars_of_nt().
12049 (right before Fdump_emacs_data): Don't need lastfile if using both
12050 portabe dumper and system malloc.
12052 * alloc.c (Fmemory_limit): Conditionalized out.
12053 (pdump): Use OPEN_BINARY for the portable dump file.
12054 (pdump_load): Ditto.
12056 2000-02-02 Mike Alexander <mta@arbortext.com>
12058 * nt.c (convert_time): Set tm_isdst before calling mktime and
12059 avoid calling it at all if the compiler supports 64 bit integers.
12060 Also initialize utc_base_ft before using it.
12062 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
12064 * frame.c (change_frame_size_1): Take f->internal_border_width
12065 into consideration when calculating the width of the frame.
12067 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12069 * window.c (frame_min_height):
12070 (frame_size_valid_p):
12071 (frame_pixsize_valid_p): Added.
12072 (check_frame_size): Generalized.
12074 * window.h: Prototyped the above.
12077 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
12078 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
12079 Deleted Vwin32_* and Vbinary_process_* unused variables.
12081 * device-msw.c (msprinter_init_device): Do not get printer font
12082 list; Added DEVMODE functions.
12084 * frame-msw.c: Added lots of printer code.
12086 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
12089 * console-msw.h: Added more msprinter device private slots.
12091 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12093 * event-msw.c (key_needs_default_processing_p): Added.
12094 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
12096 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12098 * glyphs.c (image_instance_layout): Mark image instance as clean
12100 (glyph_dirty_p): Removed redundant function.
12101 (invalidate_glyph_geometry_maybe): Added.
12102 (update_glyph_cachel_data): Call it.
12104 * glyphs.h: Prototyped it.
12106 * redisplay.c (add_glyph_rune): Call it.
12107 (redisplay_window): Reset glyphs cachels when frame faces have
12108 changed, thus forcing recomputation of built-in border glyphs.
12110 2000-01-30 Martin Buchholz <martin@xemacs.org>
12112 * Makefile.in.in: Make portable dumper and purify play well together.
12113 Add imperfect, but better than nothing, support for pdump.
12114 Remove xemacs.dmp when temacs is re-generated.
12115 Don't ignore errors when dumping xemacs.
12117 * symbols.c (maybe_call_magic_handler): Remove one magic number.
12119 2000-01-28 Andy Piper <andy@xemacs.org>
12121 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
12122 (setup_normal_frame): ditto.
12123 (setup_frame_without_minibuffer): ditto.
12124 (setup_minibuffer_frame): ditto.
12125 (delete_frame_internal): ditto.
12126 (Fmake_frame_invisible): ditto.
12127 (Ficonify_frame): ditto.
12129 * window.h: change Fset_window_buffer signature.
12131 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12132 (Fset_window_buffer): allow recording of buffer if the window is
12133 the selected window.
12134 (window_loop): Use new Fset_window signature.
12136 2000-01-23 Daniel Pittman <daniel@danann.net>
12138 * config.h.in: Added template for `HAVE_ATHENA_3D'
12140 2000-01-29 Andy Piper <andy@xemacs.org>
12142 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12144 * gutter.c (output_gutter): Don't output if the window isn't live.
12146 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12148 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12149 of 01/12/00: Moved SetFocus back here where it belongs.
12151 2000-01-23 Andy Piper <andy@xemacs.org>
12153 * s/cygwin32.h: declare printer things.
12155 2000-01-26 Andy Piper <andy@xemacs.org>
12157 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12160 2000-01-24 Andy Piper <andy@xemacs.org>
12162 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12163 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12165 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12167 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12169 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12171 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12172 (mswindows_output_display_block): Avoid local shadows.
12174 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12175 (mswindows_enqueue_mouse_button_event): ditto.
12176 (mswindows_handle_gui_wm_command): remove declaration.
12178 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12181 * console-msw.h: Avoid shadows.
12182 (mswindows_get_toolbar_button_text):
12183 (emacs_mswindows_create_stream_pair):
12184 (emacs_mswindows_delete_stream_pair):
12185 (mswindows_handle_toolbar_wm_command): declare.
12187 * device-msw.c (build_syscolor_string): Avoid shadows.
12189 2000-01-23 Andy Piper <andy@xemacs.org>
12191 * glyphs-widget.c (widget_instantiate): reverse the items for
12192 layouts so that children are in the expected order.
12194 2000-01-28 Martin Buchholz <martin@xemacs.org>
12196 * ralloc.c: safe_bcopy ==> memmove
12197 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12198 * s/msdos.h: Remove BCOPY macros.
12199 * insdel.c (gap_right): Remove BCOPY conditional code.
12200 * insdel.c (gap_left): Remove BCOPY conditional code.
12201 XEmacs demands a working ANSI C compiler - hence memmove.
12203 * regex.c (regex_compile): Remove accidental use of trigraphs.
12205 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12207 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12210 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12212 * event-msw.c (mswindows_drain_windows_queue): Added the
12214 (mswindows_need_event): Commented the call to
12215 mswindows_drain_windows_queue().
12216 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12219 * console-msw.h: Moved a few function prototypes here from
12222 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12223 parameter from unsigned short to unsigned long.
12224 (Fmswindows_shell_execute): Added return value.
12226 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12228 * sysdep.c (init_system_name):
12229 process-unix.c (unix_canonicalized_host_name):
12230 Don't call freeaddrinfo() if getaddrinfo() fails.
12232 * process-unix.c (unix_open_unix_network_stream):
12233 Moved the code to get a port # into address loop.
12235 2000-01-27 Martin Buchholz <martin@xemacs.org>
12237 * buffer.c (reinit_vars_of_buffer):
12238 The right place to initialize conversion_in_dynarr and
12239 conversion_out_dynarr.
12241 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12243 * process-unix.c (unix_canonicalize_host_name): Muleize.
12244 (unix_open_network_stream): Muleize.
12246 * buffer.h: Fix up prototypes for ralloc.c functions.
12248 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12249 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12250 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12251 instead of gethostbyname()
12252 * process-unix.c: In unix_canonicalize_host_name() and
12253 unix_open_network_stream(), add code to use getaddrinfo()
12254 instead of gethostbyname().
12256 2000-01-27 Daniel Pittman <daniel@danann.net>
12258 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12259 libs when built with flat Athena.
12261 2000-01-27 Martin Buchholz <martin@xemacs.org>
12263 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12264 Use coding standards for function prototypes.
12266 2000-01-25 Martin Buchholz <martin@xemacs.org>
12268 * dialog-msw.c (push_lisp_string_as_unicode):
12269 * doc.c (unparesseuxify_doc_string):
12270 * dired.c (Fuser_name_completion_1):
12271 * dired.c (Fuser_name_all_completions):
12272 * dired.c (free_user_cache):
12273 * dired.c (user_name_completion):
12274 * console-x.c (get_display_arg_connection):
12275 * minibuf.c (clear_echo_area_internal):
12276 * minibuf.c (echo_area_append):
12277 * eldap.c (Fldap_open):
12278 * eldap.c (Fldap_search_internal):
12279 * frame-x.c (x_set_frame_text_value):
12280 * frame-x.c (x_set_frame_properties):
12281 * frame-x.c (x_create_widgets):
12282 * redisplay-tty.c (term_get_fkeys_1):
12283 * objects-x.c (x_parse_nearest_color):
12284 * objects-x.c (x_valid_color_name_p):
12285 * objects-x.c (x_initialize_font_instance):
12286 * objects-x.c (x_list_fonts):
12287 * objects-x.c (x_find_charset_font):
12288 * tooltalk.c (Fadd_tooltalk_message_arg):
12289 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12290 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12291 * process-unix.c (unix_create_process):
12292 * ntproc.c (sys_spawnve):
12293 * sound.c (Fplay_sound_file):
12294 * sound.c (Fplay_sound):
12295 * buffer.c (init_initial_directory):
12296 * buffer.c (init_buffer):
12297 * editfns.c (init_editfns):
12298 * editfns.c (Ftemp_directory):
12299 * editfns.c (Fuser_full_name):
12300 * editfns.c (uncache_home_directory):
12301 * editfns.c (get_home_directory):
12302 * editfns.c (Fuser_home_directory):
12303 * editfns.c (Fformat_time_string):
12304 * editfns.c (Fcurrent_time_string):
12305 * gui-x.c (button_item_to_widget_value):
12306 * database.c (Fopen_database):
12307 * event-Xt.c (x_to_emacs_keysym):
12308 * event-Xt.c (x_event_to_emacs_event):
12309 * event-Xt.c (describe_event_window):
12310 * event-msw.c (mswindows_wnd_proc):
12311 * glyphs-eimage.c (jpeg_instantiate):
12312 * glyphs-eimage.c (gif_instantiate):
12313 * glyphs-eimage.c (png_instantiate):
12314 * glyphs-eimage.c (tiff_instantiate):
12315 * glyphs-x.c (xbm_instantiate_1):
12316 * glyphs-x.c (x_xbm_instantiate):
12317 * glyphs-x.c (x_xface_instantiate):
12318 * glyphs-x.c (autodetect_instantiate):
12319 * glyphs-x.c (cursor_font_instantiate):
12320 * glyphs-x.c (x_widget_instantiate):
12321 * glyphs-x.c (x_widget_set_property):
12322 * glyphs-x.c (x_widget_property):
12323 * glyphs-x.c (BUILD_GLYPH_INST):
12324 * print.c (write_string_to_stdio_stream):
12325 * print.c (output_string):
12326 * print.c (Falternate_debugging_output):
12327 * print.c (Fexternal_debugging_output):
12328 * glyphs-msw.c (extract_xpm_color_names):
12329 * glyphs-msw.c (mswindows_xpm_instantiate):
12330 * glyphs-msw.c (bmp_instantiate):
12331 * glyphs-msw.c (resource_name_to_resource):
12332 * glyphs-msw.c (mswindows_resource_instantiate):
12333 * glyphs-msw.c (xbm_instantiate_1):
12334 * glyphs-msw.c (mswindows_xbm_instantiate):
12335 * glyphs-msw.c (mswindows_xface_instantiate):
12336 * glyphs-msw.c (mswindows_widget_instantiate):
12337 * glyphs-msw.c (add_tree_item):
12338 * glyphs-msw.c (add_tab_item):
12339 * glyphs-msw.c (mswindows_combo_box_instantiate):
12340 * glyphs-msw.c (mswindows_widget_property):
12341 * glyphs-msw.c (mswindows_combo_box_property):
12342 * glyphs-msw.c (mswindows_widget_set_property):
12343 * console.c (stuff_buffered_input):
12344 * objects-msw.c (mswindows_initialize_color_instance):
12345 * objects-msw.c (mswindows_valid_color_name_p):
12346 * objects-msw.c (mswindows_list_fonts):
12347 * objects-msw.c (mswindows_font_instance_truename):
12348 * bytecode.c (optimize_compiled_function):
12349 * select-x.c (symbol_to_x_atom):
12350 * select-x.c (x_atom_to_symbol):
12351 * select-x.c (hack_motif_clipboard_selection):
12352 * select-x.c (selection_data_to_lisp_data):
12353 * select-x.c (lisp_data_to_selection_data):
12354 * select-x.c (Fx_get_cutbuffer_internal):
12355 * select-x.c (Fx_store_cutbuffer_internal):
12356 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12357 * buffer.h (TO_INTERNAL_FORMAT): New function.
12358 * emacs.c (make_arg_list_1):
12359 * emacs.c (make_argc_argv):
12360 * emacs.c (main_1):
12361 * emacs.c (Fdump_emacs):
12362 * emacs.c (split_string_by_emchar_1):
12367 * device-x.c (x_init_device):
12368 * device-x.c (Fx_valid_keysym_name_p):
12369 * device-x.c (Fx_get_font_path):
12370 * device-x.c (Fx_set_font_path):
12371 * glyphs.c (bitmap_to_lisp_data):
12372 * glyphs.c (pixmap_to_lisp_data):
12373 * alloc.c (make_ext_string): Use coding system arguments. Update
12375 * alloc.c (build_string):
12376 * callproc.c (child_setup):
12377 * callproc.c (init_callproc):
12378 * fileio.c (lisp_strerror):
12379 * fileio.c (directory_file_name):
12380 * fileio.c (Fexpand_file_name):
12381 * fileio.c (Ffile_truename):
12382 * fileio.c (Fsysnetunam):
12383 * fileio.c (Fdo_auto_save):
12384 * sysdep.c (sys_readdir):
12385 * tests.c: New file. Allow adding C tests.
12386 Replace GET_* macros with a more comprehensible and flexible
12387 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12389 Any coding system can be used to do format conversion.
12390 Eliminate enum external_data_format.
12391 Eliminate convert_to_external_format.
12392 Eliminate convert_to_internal_format.
12393 Make sure file-name, keyboard, terminal, and ctext are always
12394 defined as coding systems or aliases. Make
12395 file-name-coding-system, terminal-coding-system, and
12396 keyboard-coding-system magical variables that are equivalent to
12397 defining the corresponding coding system aliases.
12399 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12400 * file-coding.c (Fcoding_system_alias_p): New function.
12401 * file-coding.c (Fcoding_system_aliasee): New function.
12402 * file-coding.c (append_suffix_to_symbol): New function.
12403 * file-coding.c (dangling_coding_system_alias_p): New function.
12404 * file-coding.c (Ffind_coding_system):
12405 * file-coding.c (Fcopy_coding_system):
12406 * file-coding.c (encode_coding_no_conversion):
12407 * file-coding.c (syms_of_file_coding):
12408 * file-coding.c (vars_of_file_coding):
12409 Rewrite coding system alias code.
12410 Allow nested aliases, like symbolic links.
12411 Allow redefinition of coding system aliases.
12412 Prevent existence of dangling coding system aliases.
12414 * dired.c (Fuser_name_completion_1):
12415 * dired.c (Fuser_name_all_completions):
12416 A crash would happen if user did QUIT in the middle of building
12417 user_name_cache. Remove redundant code in mainline and unwind_protect.
12420 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12422 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12423 an unsigned char *. Update all callers.
12425 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12427 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12429 2000-01-25 Martin Buchholz <martin@xemacs.org>
12431 * elhash.c (hentry_description): Use more portable definition.
12432 (resize_hash_table): Initialize new hentries using
12433 xnew_array_and_zero, thereby simplifying the code.
12435 * mule-charset.c (make_charset): Make sure entire object is
12436 initialized, to avoid Purify warnings.
12438 * alloc.c (resize_string): Fix unlikely crash with big strings.
12440 2000-01-24 Martin Buchholz <martin@xemacs.org>
12442 * realpath.c (xrealpath):
12443 Don't call getwd().
12445 2000-01-25 Martin Buchholz <martin@xemacs.org>
12447 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12449 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12451 * unexelfsgi.c (unexec): Change the way we decide which segment
12452 should be extended.
12454 Assumption that .bss section should be outside the PT_LOADable
12455 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12456 it's present) is inside the 'data' segment. This would fail the
12457 test which was used to find a segment to grow and cover new
12458 heap. Instead of this assumption, I created another one - on IRIX
12459 the segment to grow should start below .bss and it's address
12460 should extent above the end of .bss. Once this segment is
12461 identified, it's grown to accommodate the new heap and new
12462 zero-length .bss section is added at the end of .data2.
12464 2000-01-25 Martin Buchholz <martin@xemacs.org>
12466 * eval.c (Feval): Wrong number of arguments should use original
12467 function, not the indirect_function version of it.
12469 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12471 * glyphs-x.c (x_button_instantiate): Don't add image if
12472 it is not a pixmap.
12473 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12476 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12478 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12480 (DEFVAR_INT_MAGIC): Ditto.
12481 (DEFVAR_BOOL_MAGIC): Ditto.
12482 * glyphs.h: Reindent backslash.
12484 2000-01-24 Martin Buchholz <martin@xemacs.org>
12486 * glyphs-widget.c (layout_query_geometry):
12487 (layout_layout): Use correct types for gheight, gwidth.
12489 2000-01-24 Martin Buchholz <martin@xemacs.org>
12491 * EmacsManager.c (QueryGeometry): Purified.
12493 2000-01-23 Martin Buchholz <martin@xemacs.org>
12495 * alloc.c (make_float): Make sure entire object is initialized, to
12496 avoid Purify warnings.
12497 (pdump_register_sub): Remove useless assignment.
12498 (pdump): Use xmalloc, not malloc.
12499 (pdump_load): Use xmalloc, not malloc.
12501 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12508 * sysdep.c: Removed redundant #include <windows.h>
12510 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12512 * frame.c (delete_frame_internal): Do not delete device when its
12513 implementation so declares.
12514 (delete_frame_internal): Set device selected frame to nil when
12515 last frame goes away.
12517 * device-msw.c (msprinter_device_system_metrics): Implemented.
12518 (mswindows_device_system_metrics): Added 'device-dpi property.
12520 * device.c: (Fdevice_printer_p): Added.
12521 Added 'offset-workspace device metric.
12523 * console.h (device_metrics): Declared DM_offset_workspace.
12525 2000-01-23 Martin Buchholz <martin@xemacs.org>
12527 * fileio.c (Ffile_truename): Remove pointless and confusing
12528 initialization of elen.
12530 * glyphs-widget.c: Compiler warning fixes.
12532 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12534 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12535 instead of a Lisp_Object as argument to make it consistent with
12536 the other LIVE_P macros.
12537 (CHECK_LIVE_PROCESS): New macro.
12539 * process.c: Declare Qprocess_live_p.
12540 (Fprocess_live_p): New function.
12541 (create_process): Use PROCESS_LIVE_P.
12542 (read_process_output): Ditto.
12543 (set_process_filter): Ditto.
12544 (Fdelete_process): Ditto.
12545 (kill_buffer_processes): Ditto
12546 (process_send_signal): Use CHECK_LIVE_PROCESS.
12547 (Fprocess_input_coding_system): Check whether process is still
12548 alive (fix PR#1061).
12549 (Fprocess_output_coding_system): Ditto.
12550 (Fprocess_coding_system): Ditto.
12551 (Fset_process_input_coding_system): Ditto.
12552 (Fset_process_output_coding_system): Ditto.
12554 2000-01-23 Andy Piper <andy@xemacs.org>
12556 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12559 * glyphs.c (mark_image_instance): take into account changed
12560 image_instance format.
12561 (image_instance_equal): ditto.
12562 (image_instance_hash): ditto.
12564 * glyphs-widget.c (widget_instantiate): Incorporate layout
12565 instantiation here. Delay layout of the layout until later.
12566 (layout_instantiate): deleted.
12567 (layout_query_geometry): new function. get the geometry of a
12569 (layout_layout): layout a layout dynamically.
12570 (image_instantiator_widget): New function - splitting up
12571 image_instantiator_format_create_glyphs_widget for netwinder
12573 (image_instantiator_buttons):
12574 (image_instantiator_edit_fields):
12575 (image_instantiator_combo_box):
12576 (image_instantiator_scrollbar):
12577 (image_instantiator_progress_guage):
12578 (image_instantiator_tree_view):
12579 (image_instantiator_tab_control):
12580 (image_instantiator_labels):
12581 (image_instantiator_layout): ditto.
12582 (image_instantiator_format_create_glyphs_widget): Call preceding
12585 2000-01-22 Martin Buchholz <martin@xemacs.org>
12587 * process.c (Fset_process_coding_system):
12588 * device-x.c (Fx_keysym_hash_table):
12591 * lstream.c (Lstream_write): Return documented value, not 0.
12593 * fileio.c (directory_file_name):
12594 (Fsubstitute_in_file_name):
12595 (Fsubstitute_insert_file_contents_internal):
12596 (Fwrite_region_internal):
12601 Remove vestigial APOLLO-conditional code.
12603 2000-01-21 Martin Buchholz <martin@xemacs.org>
12605 * getpagesize.h: Add guard macros.
12606 * libsst.h: Add guard macros.
12607 * libst.h: Add guard macros.
12608 * line-number.h: Add guard macros.
12609 * ndir.h: Add guard macros.
12610 * sysfloat.h: Add guard macros.
12611 * sysfile.h: Add guard macros.
12612 * sysproc.h: Add guard macros.
12613 * syswait.h: Add guard macros.
12614 * xintrinsic.h: Add guard macros.
12615 * xintrinsicp.h: Add guard macros.
12616 * xmmanager.h: Add guard macros.
12617 * xmmanagerp.h: Add guard macros.
12618 * xmprimitive.h: Add guard macros.
12619 * xmu.h: Add guard macros.
12620 * gpmevent.h: Add copyright statement. Add guard macros.
12621 * miscplay.h: Add guard macros.
12622 * *.h: Use consistent C-standards-approved guard macro names.
12624 * opaque.c (make_opaque): Switch parameter order.
12625 * opaque.h (make_opaque): Switch parameter order.
12626 Update all callers.
12627 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12629 * config.h.in (type_checking_assert): Added.
12630 (bufpos_checking_assert): Added.
12632 2000-01-21 Martin Buchholz <martin@xemacs.org>
12634 * alloc.c: Harmless pdump changes.
12636 - spell alignment correctly.
12637 * sysdep.c: Use countof()
12639 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12641 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12642 initially_selected_for_input() console method, default to 0.
12643 (semi_canonicalize_console_connection): Try to delegate to
12644 canonicalize_console_connection if no such console method.
12645 (canonicalize_console_connection): Vice versa.
12646 (print_console): Do not print nil connection.
12648 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12649 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12650 (XDEVIMPF_FRAMELESS_OK): Added.
12651 (CONSOLE_INHERITS_METHOD): Added.
12653 * console-msw.c (mswindows_canonicalize_console_connection):
12655 (mswindows_canonicalize_device_connection): Added.
12657 * console-msw.h (struct msprinter_device): Added this struct and
12659 (mswindows_device): Made fontlist a lisp object.
12661 * device.c (semi_canonicalize_device_connection): Try to delegate
12662 to canonicalize_device_connection if no such console method.
12663 (canonicalize_device_connection): Vice versa.
12664 (print_device): Do not print nil connection.
12666 * device-msw.c (mswindows_init_device): Call InitCommonControls
12668 (mswindows_delete_device): Removed fontlist deallocation.
12669 (mswindows_mark_device): Added.
12671 * events.c (event_equal): Added abort() at unreached code.
12672 (event_hash): Ditto.
12674 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12675 fallback tags of Windows devices.
12677 * general.c (syms_of_general): Initialized Qmsprinter.
12679 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12680 of fallback tags of Windows devices.
12682 * lisp.h: Declared Qmsprinter.
12684 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12686 (mswindows_list_fonts): Ditto.
12687 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12688 that it can be used by both mswindows and msprinter devices.
12689 (initialize_font_instance): Added.
12690 (mswindows_initialize_font_instance): Use it.
12691 (msprinter_initialize_font_instance): Added.
12693 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12694 and implementation flags check.
12695 (redisplay_without_hooks): Changed the call to the above.
12696 (Fredraw_device): Ditto.
12697 (Fredisplay_device): Ditto.
12699 * redisplay-msw.c (get_frame_dc): Implemented.
12700 (get_frame_compdc): Implemented.
12701 (many functions): Use the two functions above to get device
12702 contexts, ether for a window or a printer.
12704 2000-01-21 Olivier Galibert <galibert@pobox.com>
12706 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12707 initialization here.
12708 (init_symbols_once_early): Call it.
12709 * emacs.c (main_1): Call it.
12710 * symsinit.h: Declare it.
12712 2000-01-19 Olivier Galibert <galibert@pobox.com>
12714 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12716 (pdump_backtrace): Ditto.
12717 (pdump_register_object): Ditto. Cleanup use of the pointers.
12718 (pdump_get_entry): Abort if trying to register a null pointer.
12719 (pdump_dump_data): Cleanup types when relocating.
12720 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
12721 (pdump_dump_rtables): Remove bad casts.
12722 (pdump_load): Cleanup relocation w.r.t union type. Use a
12723 Lisp_Object instead of a EMACS_INT for the hashtable
12726 2000-01-20 Martin Buchholz <martin@xemacs.org>
12728 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
12730 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
12732 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
12734 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
12736 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12738 * faces.h (FACE_STRIKETHRU_P): Added.
12740 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
12743 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
12744 (mswindows_set_dc_font): New function, aware of font variants,
12745 separated from mswindows_update_dc.
12747 * objects-msw.h (struct mswindows_font_instance_data): Added
12750 * objects-msw.c (mswindows_finalize_font_instance): Delete all
12751 cached fonts and the data structure.
12752 (mswindows_initialize_font_instance): Added creation of font data
12754 (mswindows_print_font_instance): Print at least something.
12755 (mswindows_create_font_variant): Implemented.
12756 (mswindows_get_hfont): Implemented.
12758 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
12760 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
12761 prototyping problem with msvc.
12763 * emacs.c (main_1): added syms_of_gui_mswindows() call
12765 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
12766 syms_of_gui_mswindows() function
12768 * symsinit.h: added the prototype for syms_of_gui_mswindows()
12770 2000-01-18 Martin Buchholz <martin@xemacs.org>
12772 * XEmacs 21.2.27 is released.
12774 2000-01-18 Martin Buchholz <martin@xemacs.org>
12776 * glyphs-eimage.c (struct tiff_error_struct):
12778 (tiff_warning_func):
12779 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
12784 * unexec.c: Remove vestigial Lucid C code.
12788 * libsst.c: Ansify.
12789 Remove declarations of errno and strerror().
12791 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
12793 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
12795 2000-01-16 Martin Buchholz <martin@xemacs.org>
12797 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
12800 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12805 Change enum eol_type to eol_type_t.
12807 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12809 * gui.c (get_gui_callback): Check cons before accessing car.
12811 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12813 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
12814 (XSETSPECIFIER_TYPE): Ditto.
12816 2000-01-17 Didier Verna <didier@xemacs.org>
12818 * redisplay.c (generate_fstring_runes): compute string size in
12819 characters, not bytes.
12821 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12823 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
12825 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
12827 * print.c (print_error_message): Call print_prepare().
12829 2000-01-14 Martin Buchholz <martin@xemacs.org>
12831 * .dbxrc: Renamed from dbxrc.
12833 * events.c (event_to_character):
12834 Use `assert (foo)' instead of `if (!foo) abort()'
12836 * .gdbinit (xtype): Add documentation.
12837 * .gdbinit (check-temacs): New function.
12838 * .gdbinit (check-xemacs): New function.
12839 * dbxrc (check-xemacs): New function.
12840 * dbxrc (check-xemacs): New function.
12842 2000-01-14 Andy Piper <andy@xemacs.org>
12844 * glyphs-widget.c (widget_query_geometry): Make sure that we
12845 calculate default dimensions correctly.
12847 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12849 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
12851 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
12852 pdump_wire'd variable.
12854 * emacs.c: (main_1): Conditionalized calls to
12855 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
12857 2000-01-13 Martin Buchholz <martin@xemacs.org>
12859 * window.c (Fset_window_configuration):
12860 * sysdep.c (_start):
12861 * input-method-motif.c (res):
12862 * event-Xt.c (Xt_process_to_emacs_event):
12863 Simple compiler warning fixes.
12865 * bytecode.c (funcall_compiled_function): Use the original
12866 function symbol on the backtrace list in preference to the
12867 compiled_function object in error messages.
12869 2000-01-13 Andy Piper <andy@xemacs.org>
12871 * glyphs-x.c (update_widget_face): Make sure we update the widget
12872 background as well as foreground.
12874 2000-01-13 Andy Piper <andy@xemacs.org>
12876 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
12877 fields to subwindow.
12878 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
12879 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
12880 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12881 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12883 * glyphs-widget.c (check_valid_tab_orientation): new function.
12884 (initialize_widget_image_instance): zero orientation and
12886 (widget_instantiate): pick up orientation.
12887 (tab_control_query_geometry): return appropriate values for
12890 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
12891 appropriate creation flags for left, right and bottom tabs.
12893 * s/cygwin32.h: add tab definitions.
12895 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12897 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
12898 frame upon hiding a subwindow.
12899 (mswindows_button_instantiate): Changed the push button style to
12901 (mswindows_button_instantiate): Removed button BS_NOTIFY
12903 (mswindows_button_instantiate): Removed redundant check for
12904 a disabled gui item.
12905 (mswindows_button_instantiate): Made use of WS_TABSTOP
12906 consistent: "operable" controls (edit, button, tree, scroll) have
12907 this style, "display-only" ones (static, progress gauge) do
12908 not. This style is currently ignored by XEmacs though. Also,
12909 removed the WS_EX_CONTROLPARENT style - it is not for children,
12910 it is for their parents!
12911 (mswindows_edit_field_instantiate): Ditto.
12912 (mswindows_progress_gauge_instantiate): Ditto.
12913 (mswindows_tree_view_instantiate): Ditto.
12914 (mswindows_tab_control_instantiate): Ditto.
12915 (mswindows_scrollbar_instantiate): Ditto.
12916 (mswindows_combo_box_instantiate): Ditto.
12917 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
12918 style to the "clip" window.
12919 (mswindows_button_instantiate): Removed compilation warning by
12920 equally typing terms of the ?: operator.
12922 2000-01-12 Didier Verna <didier@xemacs.org>
12924 * redisplay.c (generate_fstring_runes): new parameter holding the
12925 last modeline-format extent.
12926 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
12927 extent, fill the glyph block with it.
12928 (generate_fstring_runes): handle these parameters.
12929 (generate_formatted_string_db): ditto.
12931 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
12932 glyphs'extents in the modeline.
12934 1999-01-11 Mike Woolley <mike@bulsara.com>
12936 * ntheap.c: Reduced the reserved heap space from 1Gb down to
12937 256Mb, as a workaround for the non-starting problem many people
12940 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12942 * console-tty.c (Fset_console_tty_output_coding_system):
12943 Force redrawing tty frame.
12945 2000-01-10 Didier Verna <didier@xemacs.org>
12947 * redisplay.c (generate_fstring_runes): fix size computation bug.
12949 2000-01-09 William M. Perry <wmperry@aventail.com>
12951 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
12953 2000-01-09 Andy Piper <andy@xemacs.org>
12955 * glyphs-msw.c: index -> i to avoid shadows.
12956 (xbm_create_bitmap_from_data): make static.
12957 (check_valid_string_or_int): deleted.
12958 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
12960 * glyphs-x.c (x_update_subwindow): remove unused args.
12962 * glyphs.c (glyph_image_instance): return the thing. Don't set the
12963 back pointer - this is done in allocate_image_instance.
12964 (query_string_font): return Qnil to make the compiler happy.
12965 (unmap_subwindow): set to ~0 to make the compiler happy.
12966 (glyph_query_geometry): comment out until used.
12967 (glyph_layout): ditto.
12969 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12971 * insdel.c (signal_after_change): Remove extraneous unbind_to().