1 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
4 (char_table_description): Delete member `db_file'.
5 (Fmake_char_table): Don't refer `ct->db_file'.
6 (Fcopy_char_table): Likewise.
7 (Fsave_char_attribute_table): Likewise.
8 (Fclose_char_attribute_table): Likewise.
9 (Freset_char_attribute_table): Likewise.
10 (load_char_attribute_maybe): Likewise.
11 (Fload_char_attribute_table): Likewise.
13 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
15 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
17 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
18 (Fsave_char_attribute_table): Don't check `ct->db_file' if
20 (load_char_attribute_maybe): Likewise.
21 (Fload_char_attribute_table): Likewise.
23 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
25 * chartab.c (Fclose_char_attribute_table): Set Qnil on
26 `ct->db_file' unconditionally.
28 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
30 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
32 (char_table_description): Add description for `db_file' and `db'
34 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
36 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
37 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
38 (Fclose_char_attribute_table): New function.
39 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
40 (load_char_attribute_maybe): Change interface; use `cit->db_file'
42 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
43 (syms_of_chartab): Add new builtin function
44 `Fclose_char_attribute_table'.
46 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
48 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
50 (load_char_attribute_maybe): Change interface.
51 (get_char_id_table): Modify for `load_char_attribute_maybe'.
53 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
55 * database.h: Add an EXFUN for `Fdatabase_live_p'.
57 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
59 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
60 instead of `DECODE_CHAR' for mother; don't use special code for
61 chinese-big5 to use code space of chinese-big5-1 and
63 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
64 `MAX_CHAR_BIG5_CDP' for chinese-big5.
66 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
67 (MAX_CHAR_BIG5_CDP): Revival.
69 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
71 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
72 the XLFD registry-encoding name of `chinese-big5'.
74 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
76 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
77 (Qchinese_big5_cdp): Deleted.
78 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
79 (complex_vars_of_mule_charset): Delete coded-charset
82 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
83 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
84 `CHARSET_ID_OFFSET - n' for private CCS.
85 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
86 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
87 of `MIN_LEADING_BYTE'.
88 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
89 `(CHARSET_ID_OFFSET - 97)'.
90 (MIN_CHAR_BIG5_CDP): Deleted.
91 (MAX_CHAR_BIG5_CDP): Deleted.
93 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
95 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
97 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
99 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
100 (vars_of_mule): Add new variable `utf-2000-version' [moved from
103 * chartab.c (Vutf_2000_version): Moved to mule.c.
104 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
106 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
108 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
109 when HAVE_CHISE_CLIENT is not defined.
111 * mule.c (vars_of_mule): Provide feature `chise' when
112 HAVE_CHISE_CLIENT is defined.
114 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
116 * config.h.in (UTF2000): Add comment.
117 (HAVE_CHISE_CLIENT): New macro.
119 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
121 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
123 (Fput_char_attribute): Likewise.
124 (char_attribute_system_db_file): Encode file-name of attribute.
125 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
128 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
130 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
131 (Fsave_charset_mapping_table): Use
132 `char_attribute_system_db_file'.
133 (load_char_decoding_entry_maybe): Likewise.
135 * chartab.h (Qsystem_char_id): New external variable.
136 (char_attribute_system_db_file): New prototype.
138 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
139 (char_attribute_system_db_file): New function.
140 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
141 (Freset_char_attribute_table): Likewise.
142 (load_char_attribute_maybe): Likewise.
143 (Fload_char_attribute_table): Likewise.
144 (syms_of_chartab): Add new symbol `system-char-id'.
146 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
148 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
149 `XCHARSET_GRAPHIC(ccs)'.
151 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
153 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
155 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
157 * chartab.c (Q_ucs_variants): New variable.
158 (syms_of_chartab): Add new symbol `->ucs-variants'.
159 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
160 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
161 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
163 * mule-charset.c (load_char_decoding_entry_maybe): New function.
165 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
166 `HAVE_DATABASE' is defined.
167 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
168 `HAVE_DATABASE' is defined.
170 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
172 * chartab.c (Fsave_char_attribute_table): Don't clear internal
174 (Freset_char_attribute_table): New function.
175 (syms_of_chartab): Add new builtin function
176 `reset-char-attribute-table'.
178 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
180 * chartab.c (load_char_attribute_maybe): Don't make directories.
182 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
184 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
186 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
189 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
191 * mule-charset.c (Fsave_charset_mapping_table): Use
192 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
194 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
195 instead of `XCHARSET_CHARS'.
197 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
199 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
200 (XCHARSET_BYTE_SIZE): Likewise.
202 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
204 (XCHARSET_BYTE_SIZE): Likewise.
206 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
208 * chartab.c (Fput_char_attribute): Use exec-directory instead of
209 data-directory to store database.
210 (Fsave_char_attribute_table): Likewise.
211 (load_char_attribute_maybe): Likewise.
212 (Fload_char_attribute_table): Likewise.
214 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
216 * mule-charset.c (Fsave_charset_mapping_table): New function.
217 (syms_of_mule_charset): Add new builtin function
218 `save-charset-mapping-table'.
220 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
222 * char-ucs.h (decoding_table_check_elements): Delete prototype.
223 (get_ccs_octet_table): New inline function.
224 (put_ccs_octet_table): Likewise.
225 (decoding_table_put_char): Use `get_ccs_octet_table' and
226 `put_ccs_octet_table'.
227 (decoding_table_remove_char): Use `decoding_table_put_char'.
228 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
230 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
232 (make_charset): Use Qunbound instead Qnil as initial value of
235 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
237 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
238 element is Qunloaded.
239 (map_over_uint16_byte_table): Likewise.
240 (map_over_byte_table): Likewise.
241 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
242 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
243 database support, load encoding-table of the specified
244 coded-charset if it is not loaded yet.
245 (save_uint8_byte_table): New function of UTF-2000 with external
247 (save_uint16_byte_table): Likewise.
248 (save_byte_table): Likewise.
249 (Fput_char_attribute): Don't store value into external database
250 even if the external database feature is supported in UTF-2000;
251 set `attribute' as name of char-table if the external database
252 feature is supported.
253 (Fsave_char_attribute_table): New function in UTF-2000.
254 (syms_of_chartab): Add new builtin function
255 `save-char-attribute-table' in UTF-2000.
257 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
259 * chartab.c (char_attribute_table_to_put): New variable in
261 (Qput_char_table_map_function): Likewise.
262 (value_to_put): Likewise.
263 (Fput_char_table_map_function): New function in UTF-2000.
264 (put_char_table): Use `Fmap_char_attribute' for
265 CHARTAB_RANGE_CHARSET in UTF-2000.
266 (Fput_char_attribute): Store symbol instead of string in
267 `XCHAR_TABLE_NAME (table)'.
268 (load_char_attribute_maybe): Likewise.
269 (syms_of_chartab): Add new symbol/function
270 `put-char-table-map-function'.
272 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
274 * database.h: Add new EXFUN for `Fmap_database'.
276 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
277 (syms_of_database): Likewise.
279 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
281 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
282 (XCHAR_TABLE_UNLOADED): Likewise.
284 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
285 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
286 HAVE_DATABASE is defined.
287 (char_attribute_table_to_load): New variable of UTF-2000 with
288 external database support.
289 (Qload_char_attribute_table_map_function): Likewise.
290 (Fload_char_attribute_table_map_function): New function of
291 UTF-2000 with external database support.
292 (Fload_char_attribute_table): New function of UTF-2000.
293 (Fmap_char_attribute): Call Fload_char_attribute_table if
294 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
295 (syms_of_chartab): Add new symbol and function
296 `load-char-attribute-table-map-function' in UTF-2000 with external
297 database support; add new function `load-char-attribute-table' in
300 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
302 * chartab.h (load_char_attribute_maybe): New prototype for
303 UTF-2000 with DATABASE support.
304 (get_char_id_table): Use `load_char_attribute_maybe' if
305 HAVE_DATABASE is defined.
307 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
308 with DATABASE support.
310 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
312 * chartab.c (Fput_char_attribute): Use S-expression as key of
315 * chartab.h (get_char_id_table): Use S-expression as key of
318 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
320 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
321 if an element is not loaded, load the corresponding attributes
322 from an external database.
323 (map_over_uint16_byte_table): Likewise.
324 (map_over_byte_table): Likewise.
325 (map_char_table): Modify for `map_over_uint8_byte_table',
326 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
327 element is not loaded, load the corresponding attributes from an
329 (Fput_char_attribute): Change initial values to Qunloaded.
331 * chartab.h (get_char_id_table): If a character attribute is not
332 loaded and the attribute value is not found in an external
333 database, store Qunbound as the attribute value.
335 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
337 * chartab.c (BT_UINT8_unloaded): New macro.
338 (UINT8_VALUE_P): Accept Qunloaded.
339 (UINT8_ENCODE): Likewise.
340 (UINT8_DECODE): Likewise.
341 (BT_UINT16_unloaded): New macro.
342 (UINT16_VALUE_P): Accept Qunloaded.
343 (UINT16_ENCODE): Likewise.
344 (UINT16_DECODE): Likewise.
345 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
347 (mark_char_table): Mark `ct->name' in UTF-2000.
348 (char_table_description): Add `name' in UTF-2000.
349 (Fmake_char_table): Initialize `ct->name'.
350 (Fcopy_char_table): Copy `ct->name'.
351 (Fput_char_attribute): Store value into an external database if
352 HAVE_DATABASE is defined.
354 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
356 (CHAR_TABLE_NAME): New macro in UTF-2000.
357 (XCHAR_TABLE_NAME): New macro in UTF-2000.
358 (get_char_id_table): Try to read an external database if Qunloaded
359 is stored in a table.
361 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
364 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
366 * database.h: Add EXFUN definitions for Fopen_database,
367 Fput_database, Fget_database and Fclose_database.
369 * data.c (Qunloaded): New variable in UTF-2000.
371 * lisp.h (Qunloaded): New variable in UTF-2000.
373 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
375 * mule-charset.c (put_char_ccs_code_point): Modify for
376 `decoding_table_remove_char' and `decoding_table_put_char'.
377 (remove_char_ccs): Modify for `decoding_table_remove_char'.
379 * char-ucs.h (decoding_table_remove_char): Change arguments to
380 hide decoding_table vector.
381 (decoding_table_put_char): Likewise.
383 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
385 * mule-charset.c (decoding_table_remove_char): Moved to
387 (decoding_table_put_char): Likewise.
389 * char-ucs.h (decoding_table_check_elements): New prototype [moved
390 from mule-charset.c].
391 (decoding_table_remove_char): New inline function [moved from
393 (decoding_table_put_char): Likewise.
395 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
397 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
400 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
402 * mule-charset.c (decode_builtin_char): Support mother charsets.
404 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
406 * mule-charset.c (Q94x94x60): New variable.
407 (charset_code_point): Support conversion `94x94x60'.
408 (Fmake_charset): Likewise.
409 (syms_of_mule_charset): Add new symbol `94x94x60'.
411 * char-ucs.h (CONVERSION_94x94x60): New macro.
413 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
415 * mule-charset.c (charset_code_point): Unify code about
418 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
420 * mule-charset.c (charset_code_point): Merge code about builtin
421 characters into code about mother charsets; don't use
422 `range_charset_code_point'.
423 (range_charset_code_point): Deleted.
425 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
427 * mule-charset.c (Qcode_offset): New variable.
428 (Fmake_charset): Use `XUINT' to get value of `min-code' and
429 `max-code'; accept new property `code-offset'.
430 (syms_of_mule_charset): Add new symbol `code-offset'.
432 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
434 * mule-charset.c (range_charset_code_point): Fixed.
436 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
438 * mule-charset.c (decode_builtin_char): Change semantics of
439 code-offset of coded-charset.
440 (charset_code_point): Likewise.
441 (range_charset_code_point): Likewise.
442 (complex_vars_of_mule_charset): Modify for the change.
444 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
446 * mule-charset.c (Fencode_char): Reverse arguments.
448 * mule-charset.c (charset_code_point): Fixed.
450 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
452 * mule-charset.c (Vcharset_mojikyo): Deleted.
453 (Vcharset_mojikyo_2022_1): Deleted.
454 (Vcharset_mojikyo_pj_{1..21}): Deleted.
455 (Qmin_code): New variable in UTF-2000.
456 (Qmax_code): Likewise.
458 (Qconversion): Likewise.
461 (Qmojikyo_2022_1): Deleted.
462 (Qmojikyo_pj_{1..22}): Deleted.
463 (mark_charset): Mark `cs->mother'.
464 (charset_description): Add description for `mother'.
465 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
466 new arguments `mother' and `conversion'; use
467 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
468 (charset_code_point): Moved from char-ucs.h; support `mother'
470 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
471 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
472 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
473 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
474 allow 2 as the value of `graphic' in UTF-2000; add new properties
475 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
476 require `final' in UTF-2000; modify for `make_charset'.
477 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
478 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
479 (Fcharset_property): Support `mother', `min-code' and `max-code'.
480 (Fencode_char): New function.
481 (syms_of_mule_charset): Add new builtin function `encode-char' in
482 UTF-2000; add new symbols `min-code', `max-code', `mother',
483 `conversion' and `94x60'; delete symbols `mojikyo',
484 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
485 (complex_vars_of_mule_charset): Modify for `make_charset' change;
486 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
487 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
489 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
490 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
492 * char-ucs.h (Vcharset_mojikyo): Deleted.
493 (Vcharset_mojikyo_2022_1): Deleted.
494 (LEADING_BYTE_MOJIKYO): Deleted.
495 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
496 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
497 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
498 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
499 add new member `mother'; add new member `conversion'.
500 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
501 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
502 (CHARSET_MOTHER): New macro.
503 (CHARSET_CONVERSION): New macro.
504 (CONVERSION_IDENTICAL): New macro.
505 (CONVERSION_94x60): New macro.
506 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
507 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
508 (XCHARSET_MOTHER): New macro.
509 (XCHARSET_CONVERSION): New macro.
510 (MIN_CHAR_MOJIKYO): Deleted.
511 (MAX_CHAR_MOJIKYO): Deleted.
512 (DECODE_MOJIKYO_2022): Deleted.
513 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
514 (charset_code_point): Changed to non-inline function.
515 (encode_char_1): Use `charset_code_point'.
516 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
518 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
520 * lread.c (read_compiled_function): Fix prototype.
521 (read_vector): Likewise.
523 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
525 * lrecord.h (struct lrecord_header): Delete `older'.
526 (set_lheader_implementation): Delete code for `older'.
527 (set_lheader_older_implementation): Deleted.
528 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
529 (OLDER_RECORD_P): Deleted.
530 (OLDER_RECORD_HEADER_P): Deleted.
531 (alloc_older_lcrecord): Deleted.
532 (alloc_older_lcrecord_type): Deleted.
534 * alloc.c (all_older_lcrecords): Deleted.
535 (alloc_older_lcrecord): Deleted.
536 (disksave_object_finalization_1): Delete code for older objects.
537 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
538 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
540 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
542 * mule-charset.c (decoding_table_put_char): Use `make_vector'
543 instead of `make_older_vector'.
544 (put_char_ccs_code_point): Likewise.
545 (mark_charset): Mark `cs->decoding_table'.
546 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
548 * lisp.h (make_older_vector): Deleted.
549 (make_vector_newer): Deleted.
551 * config.h.in (HAVE_GGC): Deleted.
553 * alloc.c (make_older_vector): Deleted.
554 (make_vector_newer_1): Deleted.
555 (make_vector_newer): Deleted.
557 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
559 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
560 (Qideograph_daikanwa_2): New variable.
561 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
562 (complex_vars_of_mule_charset): Add new coded-charset
563 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
564 `LEADING_BYTE_DAIKANWA'.
566 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
567 (LEADING_BYTE_DAIKANWA_1): New macro.
568 (LEADING_BYTE_DAIKANWA_2): New macro.
569 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
571 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
573 * mule-charset.c (complex_vars_of_mule_charset): Change
574 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
575 the second revised version.
577 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
579 * mule-charset.c (Vcharset_ucs_smp): New variable.
580 (Vcharset_ucs_sip): New variable.
581 (Qucs_smp): New variable.
582 (Qucs_sip): New variable.
583 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
584 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
585 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
586 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
587 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
588 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
590 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
591 (LEADING_BYTE_UCS_SIP): New macro.
592 (MIN_CHAR_SMP): New macro.
593 (MAX_CHAR_SMP): New macro.
594 (MIN_CHAR_SIP): New macro.
595 (MAX_CHAR_SIP): New macro.
597 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
599 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
602 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
604 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
605 value; don't store value into `encoding_table' of `Lisp_Charset'.
606 (mark_charset): `encoding_table' was deleted.
607 (charset_description): Likewise.
608 (make_charset): Likewise.
609 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
610 `put_char_ccs_code_point'.
612 * chartab.h (Fput_char_attribute): New EXFUN.
614 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
615 is unified with normal symbol space.
616 (Fget_char_attribute): Likewise.
617 (Fput_char_attribute): Likewise; behavior of
618 `put_char_ccs_code_point' is changed.
620 * char-ucs.h: Include "elhash.h".
621 (Vchar_attribute_hash_table): New external variable.
622 (struct Lisp_Charset): Delete `encoding_table'.
623 (CHARSET_ENCODING_TABLE): New implementation; refer
624 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
627 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
629 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
632 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
634 * text-coding.c (char_encode_big5): Prefer charset-g1 than
637 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
639 * chartab.c (uint8_byte_table_description): New constant.
640 (uint8-byte-table): Use `uint8_byte_table_description'.
641 (uint16_byte_table_description): New constant.
642 (uint16-byte-table): Use `uint16_byte_table_description'.
644 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
646 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
647 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
649 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
651 * mule-charset.c (Vcharset_ucs_ks): New variable.
652 (Qucs_ks): New variable.
653 (syms_of_mule_charset): Add new symbol `ucs-ks'.
654 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
656 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
658 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
660 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
661 (Fdecode_char): Likewise.
663 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
665 (Fdefine_char): Modify for Fdecode_char.
666 (Ffind_char): Likewise.
668 * mule-charset.c (Fdecode_char): Add new optional argument
670 (Fdecode_builtin_char): Modify for `Fdecode_char'.
672 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
674 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
675 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
676 (allocate_coding_system): Initialize initial-charsets of
677 CODESYS_BIG5 in XEmacs UTF-2000.
678 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
679 CODESYS_BIG5 in XEmacs UTF-2000.
680 (decode_coding_big5): Use initial-charset-g0 and -g1 of
681 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
683 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
685 (Qideograph_hanziku_{1 .. 12}): Likewise.
686 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
688 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
689 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
690 `ideograph-hanziku-{1 .. 12}'.
692 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
693 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
694 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
695 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
696 (DECODE_DEFINED_CHAR): New inline function.
697 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
699 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
701 * mule-charset.c (Vcharset_china3_jef): Renamed from
702 `Vcharset_japanese_jef_china3'.
703 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
704 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
705 `{MIN|MAX}_CHAR_JEF_CHINA3'..
706 (syms_of_mule_charset): Rename `china3-jef' from
707 `japanese-jef-china3'.
708 (complex_vars_of_mule_charset): Likewise; rename
709 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
711 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
712 `LEADING_BYTE_JEF_CHINA3'.
713 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
714 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
716 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
718 * mule-charset.c (encode_builtin_char_1): Comment out special code
719 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
721 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
722 (MAX_CHAR_MOJIKYO_0): Comment out.
723 (MIN_CHAR_CBETA): Changed to 0x00E20000.
724 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
725 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
726 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
728 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
730 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
731 (Qideograph_cbeta): New variable.
732 (encode_builtin_char_1): Comment out special code for
733 coded-charset `mojikyo' and `japanese-jef-china3'.
734 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
735 (complex_vars_of_mule_charset): Add new coded-charset
738 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
739 (MIN_CHAR_CBETA): New macro.
740 (MAX_CHAR_CBETA): New macro.
742 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
744 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
745 (LEADING_BYTE_JEF_CHINA3): New macro.
746 (MIN_CHAR_JEF_CHINA3): New macro.
747 (MAX_CHAR_JEF_CHINA3): Likewise.
748 (DECODE_CHAR): Fixed.
750 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
752 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
753 (Qjapanese_jef_china3): New variable.
754 (encode_builtin_char_1): Support `japanese-jef-china3'.
755 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
756 (complex_vars_of_mule_charset): Add new coded-charset
757 `japanese-jef-china3'.
759 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
761 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
762 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
763 94^4, 96^3, 96^4, 128^n and 256^n set.
764 (put_char_table): Use `XCHARSET_CELL_RANGE'.
765 (map_char_table): Likewise.
767 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
769 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
772 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
774 * chartab.h (get_char_id_table): New inline function.
776 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
779 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
781 * chartab.h (decode_char_table_range): New prototype in XEmacs
783 (put_char_id_table): New inline function in XEmacs UTF-2000.
785 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
787 (decode_char_table_range): Delete static declaration in XEmacs
790 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
792 * chartab.c (put_char_id_table): Use `put_char_table'.
794 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
796 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
797 (map_over_uint16_byte_table): Likewise.
798 (map_over_byte_table): Likewise.
799 (map_char_table): Modify for `map_over_uint8_byte_table',
800 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
803 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
805 * chartab.c (struct map_char_table_for_charset_arg): New
807 (map_char_table_for_charset_fun): New function.
808 (map_char_table): Use `map_char_table' for encoding_table of
811 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
813 * chartab.c (map_char_table): Check a character is found in
814 range->charset instead of non default value is defined in
815 char-table when range is CHARTAB_RANGE_ROW.
817 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
819 * chartab.c (map_char_id_table): Deleted.
820 (Fmap_char_attribute): Use `map_char_table' instead of
823 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
825 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
827 (update_syntax_table): Deleted in XEmacs UTF-2000.
829 * syntax.c (find_defun_start): Use `syntax_table' instead of
830 `mirror_syntax_table' in XEmacs UTF-2000.
831 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
833 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
835 (Fmatching_paren): Likewise.
836 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
838 (find_start_of_comment): Likewise.
839 (find_end_of_comment): Likewise.
840 (Fforward_comment): Likewise.
841 (scan_lists): Likewise.
842 (char_quoted): Likewise.
843 (Fbackward_prefix_chars): Likewise.
844 (scan_sexps_forward): Likewise.
845 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
846 (update_syntax_table): Likewise.
848 * search.c (skip_chars): Use `syntax_table' instead of
849 `mirror_syntax_table' in XEmacs UTF-2000.
851 (Freplace_match): Likewise.
853 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
854 `mirror_syntax_table' in XEmacs UTF-2000.
855 (WORDCHAR_P_UNSAFE): Likewise.
856 (re_match_2_internal): Likewise.
858 * font-lock.c (find_context): Use `buf->syntax_table' instead of
859 `buf->mirror_syntax_table' in XEmacs UTF-2000.
861 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
862 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
864 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
867 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
869 (print_char_table): Print `default_value' in XEmacs UTF-2000.
870 (char_table_description): Delete `mirror_table' in XEmacs
872 (fill_char_table): Don't call `update_syntax_table' in XEmacs
874 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
875 (Fcopy_char_table): Likewise.
876 (put_char_table): Don't call `update_syntax_table' in XEmacs
879 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
880 `buf->mirror_syntax_table' in XEmacs UTF-2000.
881 (casify_region_internal): Likewise.
883 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
885 * buffer.c (common_init_complex_vars_of_buffer): Don't use
886 `mirror_syntax_table' in XEmacs UTF-2000.
888 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
889 `buf->mirror_syntax_table' in XEmacs UTF-2000.
890 (Fexpand_abbrev): Likewise.
892 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
894 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
896 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
898 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
899 (map_over_uint16_byte_table): Likewise.
900 (map_over_byte_table): Likewise.
901 (get_char_id_table): Refer `cit->default_value'.
902 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
903 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
904 of character-id ranges.
905 (mark_char_table): Mark `ct->default_value'.
906 (char_table_description): Add `default_value'.
907 (fill_char_table): Use `default_value'.
908 (decode_char_table_range): Decode `nil' as
909 `CHARTAB_RANGE_DEFAULT'.
910 (get_char_id_table): Refer `cit->default_value'.
911 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
912 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
913 temporary hack; check value of char-table is bound or not.
914 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
916 * chartab.h (struct Lisp_Char_Table): Add new member
917 `default_value' in XEmacs UTF-2000.
918 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
919 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
922 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
924 * chartab.h (Lisp_Char_ID_Table): Deleted.
926 * chartab.c (char_table_description): Fix typo.
927 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
928 `Lisp_Char_ID_Table'.
930 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
932 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
935 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
938 * chartab.h (XCHAR_ID_TABLE): Deleted.
939 (XSETCHAR_ID_TABLE): Deleted.
940 (CHAR_ID_TABLE_P): Deleted.
942 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
944 (Fget_composite_char): Likewise.
945 (put_char_table): Likewise.
946 (add_char_attribute_alist_mapper): Fixed.
947 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
949 (Fget_char_attribute): Likewise.
950 (Fget_char_attribute): Likewise.
951 (Fmap_char_attribute): Likewise.
953 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
955 (encode_char_1): Likewise.
957 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
959 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
962 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
963 instead of `XCHAR_ID_TABLE'.
964 (remove_char_ccs): Likewise.
966 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
968 (Fget_composite_char): Likewise.
969 (Fchar_variants): Likewise.
970 (put_char_table): Likewise.
971 (add_char_attribute_alist_mapper): Likewise.
972 (Fchar_attribute_alist): Likewise.
973 (Fget_char_attribute): Likewise.
974 (Fput_char_attribute): Likewise.
975 (Fmap_char_attribute): Likewise.
976 (Fmap_char_attribute): Likewise.
978 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
980 (encode_char_1): Likewise.
982 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
984 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
985 `Lisp_Char_ID_Table'.
986 (mark_char_id_table): Deleted.
987 (print_char_id_table): Likewise.
988 (char_id_table_equal): Likewise.
989 (char_id_table_hash): Likewise.
990 (char_id_table_description): Likewise.
991 (char_id_table): Likewise.
992 (make_char_id_table): Use `Fmake_char_table' and
994 (get_char_id_table): Use `Lisp_Char_Table' instead of
995 `Lisp_Char_ID_Table'.
996 (put_char_id_table): Likewise.
997 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
999 (Fremove_char_attribute): Likewise.
1000 (syms_of_chartab): Don't define type `char-id-table'.
1002 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1003 (char_id_table): Likewise.
1004 (GC_CHAR_ID_TABLE_P): Likewise.
1005 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1006 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1007 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1008 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1009 (get_char_id_table): Use `Lisp_Char_Table' instead of
1010 `Lisp_Char_ID_Table'.
1011 (put_char_id_table_0): Likewise.
1012 (put_char_id_table): Likewise.
1014 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1016 * chartab.h: Lisp_Byte_Table related codes are moved from
1019 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1021 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1023 * chartab.h: Don't include "chartab.h".
1024 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1025 (Lisp_Char_ID_Table): Likewise.
1026 (char_id_table): Likewise.
1027 (XCHAR_ID_TABLE): Likewise.
1028 (XSETCHAR_ID_TABLE): Likewise.
1029 (CHAR_ID_TABLE_P): Likewise.
1030 (GC_CHAR_ID_TABLE_P): Likewise.
1031 (get_char_id_table): Likewise.
1033 * char-ucs.h: Include "chartab.h".
1034 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1035 (Lisp_Char_ID_Table): Likewise.
1036 (char_id_table): Likewise.
1037 (XCHAR_ID_TABLE): Likewise.
1038 (XSETCHAR_ID_TABLE): Likewise.
1039 (CHAR_ID_TABLE_P): Likewise.
1040 (GC_CHAR_ID_TABLE_P): Likewise.
1041 (get_char_id_table): Likewise.
1043 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1045 * chartab.c (copy_uint8_byte_table): New function.
1046 (copy_uint16_byte_table): New function.
1047 (copy_byte_table): New function.
1048 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1050 (map_over_uint16_byte_table): Likewise.
1051 (map_over_byte_table): Likewise.
1052 (get_byte_table): Move prototype to chartab.h.
1053 (put_byte_table): Likewise.
1054 (put_char_id_table_0): Moved to chartab.h.
1055 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1056 (char_table_entry_equal): Likewise.
1057 (char_table_entry_hash): Likewise.
1058 (char_table_entry_description): Likewise.
1059 (char_table_entry): Likewise.
1060 (make_char_table_entry): Likewise.
1061 (copy_char_table_entry): Likewise.
1062 (get_non_ascii_char_table_value): Likewise.
1063 (map_over_charset_ascii): Likewise.
1064 (map_over_charset_control_1): Likewise.
1065 (map_over_charset_row): Likewise.
1066 (map_over_other_charset): Likewise.
1067 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1068 (print_char_table): Likewise.
1069 (char_table_equal): Likewise.
1070 (char_table_hash): Likewise.
1071 (char_table_description): Likewise.
1072 (fill_char_table): Likewise.
1073 (Fcopy_char_table): Likewise.
1074 (get_char_table): Likewise.
1075 (Fget_range_char_table): Likewise.
1076 (put_char_table): Likewise.
1077 (map_char_table): Likewise.
1078 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1081 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1083 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1084 `Vauto_fill_chars' in XEmacs UTF-2000.
1086 * chartab.h (get_byte_table): New prototype [moved from
1088 (put_byte_table): Likewise [moved from chartab.c].
1089 (put_char_id_table_0): New inline function [moved from chartab.c].
1090 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1091 (Lisp_Char_Table_Entry): Likewise.
1092 (char_table_entry): Likewise.
1093 (XCHAR_TABLE_ENTRY): Likewise.
1094 (XSETCHAR_TABLE_ENTRY): Likewise.
1095 (CHAR_TABLE_ENTRYP): Likewise.
1096 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1097 (NUM_ASCII_CHARS): Likewise.
1098 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1099 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1101 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1103 * chartab.c (get_char_id_table): Change interface.
1104 (put_char_id_table_0): New function.
1105 (put_char_id_table): Change interface; new implementation.
1106 (Fget_composite_char): Modify for interface change of
1107 `get_char_id_table'.
1108 (Fchar_variants): Likewise.
1109 (add_char_attribute_alist_mapper): Likewise.
1110 (Fchar_attribute_alist): Likewise.
1111 (Fget_char_attribute): Likewise.
1112 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1113 as same as character as the first argument like `put-char-table';
1114 modify for interface change of `put_char_id_table'.
1115 (Fremove_char_attribute): Modify for interface change of
1116 `put_char_id_table'.
1118 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1120 * text-coding.c: Sync up with XEmacs 21.2.41.
1121 (COMPOSE_ADD_CHAR): Modify for interface change of
1122 `get_char_id_table'.
1124 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1125 change of `put_char_id_table'.
1126 (remove_char_ccs): Likewise.
1128 * chartab.h (put_char_id_table): Change interface.
1130 * char-ucs.h (get_char_id_table): Change interface.
1131 (charset_code_point): Modify for interface change of
1132 `get_char_id_table'.
1133 (encode_char_1): Likewise.
1135 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1137 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1139 (map_over_uint16_byte_table): Likewise.
1140 (map_over_byte_table): Likewise.
1141 (map_char_id_table): Add new argument `range' like
1143 (Fmap_char_attribute): Add new argument `range' like
1146 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1148 * chartab.c (map_over_uint8_byte_table): Change interface of
1149 mapping function to use struct chartab_range instead of Emchar.
1150 (map_over_uint16_byte_table): Likewise.
1151 (map_over_byte_table): Likewise.
1152 (map_char_id_table): Likewise.
1153 (struct slow_map_char_id_table_arg): Deleted.
1154 (slow_map_char_id_table_fun): Deleted.
1155 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1156 function `slow_map_char_table_fun' instead of struct
1157 `slow_map_char_id_table_arg' and function
1158 `slow_map_char_id_table_fun'.
1160 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1162 * mule-charset.c: Move char-it-table related codes to chartab.c.
1163 (Vutf_2000_version): Moved to chartab.c.
1164 (Fdefine_char): Likewise.
1165 (Ffind_char): Likewise.
1166 (syms_of_mule_charset): Move types `uint8-byte-table',
1167 `uint16-byte-table', `byte-table' and `char-id-table' to
1168 chartab.c; move functions `char_attribute_list,
1169 `find_char_attribute_table, `char_attribute_alist,
1170 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1171 `map_char_attribute, `define_char, `find_char, `char_variants and
1172 `get_composite_char to chartab.c; move symbols `=>ucs',
1173 `->decomposition', `compat', `isolated', `initial', `medial',
1174 `final', `vertical', `noBreak', `fraction', `super', `sub',
1175 `circle', `square', `wide', `narrow', `small' and `font' to
1177 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1178 setting codes for `Vcharacter_composition_table' and
1179 `Vcharacter_variant_table' to chartab.c.
1180 (complex_vars_of_mule_charset): Move setting code for
1181 `Vchar_attribute_hash_table' to chartab.c.
1183 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1184 (make_char_id_table): New prototype.
1185 (put_char_id_table): Likewise.
1186 (Fget_char_attribute): Likewise.
1188 * chartab.c: Move char-id-table related code from mule-charset.c.
1189 (Vutf_2000_version): Moved from mule-charset.c.
1191 * char-ucs.h (Qucs): New external variable.
1192 (put_char_ccs_code_point): New prototype.
1193 (remove_char_ccs): Likewise.
1195 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1197 * mule-charset.c (Vcharset_ucs_jis): New variable.
1198 (Qucs_jis): Likewise.
1199 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1200 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1202 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1204 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1206 * mule-charset.c (map_over_uint8_byte_table): New function.
1207 (map_over_uint16_byte_table): Likewise.
1208 (map_over_byte_table): Likewise.
1209 (map_char_id_table): Likewise.
1210 (slow_map_char_id_table_fun): Likewise.
1211 (Fmap_char_attribute): Likewise.
1212 (syms_of_mule_charset): Add new function `map-char-attribute'.
1214 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1216 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1217 (syms_of_mule_charset): Add new function `find-char'.
1219 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1221 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1223 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1224 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1226 (complex_vars_of_mule_charset): Add new coded-charset
1227 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1228 `ideograph-gt-pj-*'.
1230 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1232 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1234 * mule-charset.c (encode_builtin_char_1): Purge codes about
1235 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1236 {MIN|MAX}_CHAR_HEBREW.
1237 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1238 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1240 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1241 (MAX_CHAR_GREEK): Purged.
1242 (MIN_CHAR_CYRILLIC): Purged.
1243 (MAX_CHAR_CYRILLIC): Purged.
1244 (MIN_CHAR_HEBREW): Commented out.
1245 (MAX_CHAR_HEBREW): Likewise.
1247 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1249 * mule-charset.c (Qto_ucs): New variable.
1250 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1251 (Fdefine_char): Likewise.
1252 (syms_of_mule_charset): Add new symbol `=>ucs'.
1254 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1256 * mule-charset.c (Fdecode_char): Fixed.
1258 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1260 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1261 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1264 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1266 * mule-charset.c (Vcharset_ucs_big5): New variable.
1267 (Qucs_big5): Likewise.
1268 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1269 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1271 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1273 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1275 * mule-charset.c (decode_builtin_char): Check Big5 code range
1276 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1278 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1280 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1281 (Qchinese_gb12345): Likewise.
1282 (Fdecode_builtin_char): Fixed.
1283 (syms_of_mule_charset): Add `chinese-gb12345'.
1284 (complex_vars_of_mule_charset): Add coded-charset
1287 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1288 (LEADING_BYTE_CHINESE_GB12345): New macro.
1290 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1292 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1293 and `latin-viscii-upper' for `latin-viscii'.
1295 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1297 * mule-charset.c (Fdecode_builtin_char): Comment out
1298 regularization code for ISO-IR GR representation.
1300 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1302 * mule-charset.c (decode_builtin_char): New function; renamed from
1303 `make_builtin_char'; return -1 instead of signal.
1304 (Fdecode_builtin_char): Use `decode_builtin_char'.
1306 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1307 `make_builtin_char'.
1308 (DECODE_CHAR): Use `decode_builtin_char' instead of
1309 `make_builtin_char'; use mapping table of `chinese-big5' for
1310 `chinese-big5-{1,2}'.
1312 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1314 * text-coding.c (char_encode_big5): New function.
1315 (char_finish_big5): Likewise.
1316 (reset_encoding_stream): Use `char_encode_big5' and
1317 `char_finish_big5' for CODESYS_BIG5.
1318 (mule_encode): Don't use `encode_coding_big5'.
1319 (encode_coding_big5): Deleted.
1321 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1323 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1324 0x81- in XEmacs UTF-2000.
1325 (detect_coding_big5): Likewise.
1327 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1329 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1330 generate character-id if the CCS property does not have
1331 corresponding predefined character.
1332 (make_builtin_char): Return -1 if corresponding predefined
1333 character is not found.
1334 (Fdecode_char): Return nil if corresponding character is not
1336 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1337 don't map to builtin ucs space.
1339 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1341 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1342 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1344 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1346 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1347 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1348 (Qideograph_gt): Likewise.
1349 (Qideograph_gt_pj_{1..11}): Likewise.
1350 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1351 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1352 `ideograph-gt-pj-11'.
1353 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1354 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1355 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1357 * char-ucs.h (LEADING_BYTE_GT): New macro.
1358 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1359 (MIN_CHAR_GT): Likewise.
1360 (MAX_CHAR_GT): Likewise.
1362 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1364 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1365 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1367 * doprnt.c (unsigned_int_converters): Add `c'.
1368 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1370 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1371 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1373 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1374 (MAX_CHAR_MOJIKYO_0): New macro.
1375 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1377 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1379 * mule-charset.c (Fdefine_char): Delete cemented out code.
1380 (encode_builtin_char_1): Modify for new allocation of builtin
1383 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1385 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1387 * mule-charset.c (Vcharset_ucs_cns): New variable.
1388 (Qucs_cns): New variable.
1389 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1390 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1392 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1394 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1396 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1398 * search.c (search_buffer): Make `charset_base_code' as
1399 character-id >> 6 to eliminate the corresponding last byte in
1400 UTF-8 representation [I'm not sure it is right thing].
1401 (boyer_moore): Likewise.
1403 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1405 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1406 representation in MULE.
1408 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1410 * text-coding.c (Fmake_coding_system): Use
1411 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1412 `EXTERNAL_PROPERTY_LIST_LOOP'.
1414 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1416 * text-coding.c (decode_output_utf8_partial_char): New function.
1417 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1419 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1421 * text-coding.c (decode_coding_utf8): Output original byte
1422 sequence if it is broken; change order of conditions.
1424 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1427 * mb-multibyte.h (BYTE_ASCII_P):
1428 Use bit ops for char-signedness safety.
1429 (BYTE_C0_P): Use bit ops for char-signedness safety.
1430 (BYTE_C1_P): Use bit ops for char-signedness safety.
1432 * character.h: (XCHAR_OR_CHAR_INT):
1433 Always use inline function.
1434 Remove redundant type checking assert() - XINT will abort quite
1437 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1439 * text-coding.c: (Fencode_shift_jis_char):
1440 (Fencode_big5_char):
1441 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1442 Replace 0 with '\0' when working with bytes.
1443 Replace initial "(" with "\(" in docstrings.
1445 (Fmake_coding_system):
1446 When type is ccl and value is vector, register it with a proper
1447 symbol. And checks whether the given ccl program is valid.
1448 (mule_decode): When calling ccl_driver, if src indicates
1449 NULL pointer, set an empty string instead.
1450 (mule_encode): Likewise.
1453 (detect_coding_sjis):
1454 (decode_coding_sjis):
1455 (detect_coding_big5):
1456 (decode_coding_big5):
1457 (detect_coding_ucs4):
1458 (decode_coding_ucs4):
1459 (detect_coding_utf8):
1460 (decode_coding_utf8):
1461 (detect_coding_iso2022):
1462 (decode_coding_iso2022):
1463 (decode_coding_no_conversion):
1465 Make all detecting and decoding functions take an Extbyte * arg.
1466 (text_encode_generic):
1467 (encode_coding_big5):
1468 (encode_coding_no_conversion):
1470 Make all encoding functions take a Bufbyte * arg.
1471 Use size_t instead of unsigned int for memory sizes.
1472 Only cast to unsigned char whenever dereferencing Extbyte *.
1474 (struct lrecord_description fcd_description_1): Use countof.
1475 (complex_vars_of_file_coding):
1476 Use countof instead of sizeof.
1477 Use CHECK_NATNUM instead of CHECK_INT.
1479 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1481 * mule-charset.c (Fget_char_attribute): Add new optional argument
1483 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1484 (remove_char_ccs): Likewise.
1486 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1488 * text-coding.c (char_encode_shift_jis): New implementation in
1490 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1493 * mule-charset.c (Vcharset_chinese_big5): New variable in
1495 (Qchinese_big5): New variable in UTF-2000.
1496 (BIG5_SAME_ROW): New macro in UTF-2000.
1497 (make_builtin_char): Use builtin characters of
1498 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1499 characters of `Vcharset_chinese_big5'.
1500 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1501 (complex_vars_of_mule_charset): Add new coded-charset
1502 `chinese-big5' in UTF-2000.
1504 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1505 (Vcharset_chinese_big5): New external variable declaration.
1506 (Vcharset_japanese_jisx0208_1990): Likewise.
1508 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1510 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1512 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1514 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1516 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1517 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1518 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1521 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1523 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1525 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1527 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1530 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1532 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1533 for `CHARSET_BY_ATTRIBUTES'.
1534 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1535 `CHARSET_BY_ATTRIBUTES'.
1537 * text-coding.c (struct decoding_stream): Rename member `CH' to
1539 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1540 (decode_coding_sjis): Likewise.
1541 (decode_coding_big5): Likewise.
1542 (decode_coding_ucs4): Likewise.
1543 (decode_coding_utf8): Likewise.
1544 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1545 `CHARSET_BY_ATTRIBUTES'.
1546 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1547 `str->counter'; decode 3, 4 bytes sets.
1548 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1550 (decode_coding_no_conversion): Use `str->cpos' instead of
1553 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1554 (Qmojikyo_2022_1): New variable.
1555 (make_charset): Don't use `CHARSET_TYPE_*'.
1556 (range_charset_code_point): Support coded-charset
1558 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1559 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1560 `CHARSET_BY_ATTRIBUTES'.
1561 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1562 `CHARSET_BY_ATTRIBUTES'.
1563 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1564 (complex_vars_of_mule_charset): Add new coded-charset
1567 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1568 interface; changed to inline function.
1570 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1571 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1572 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1573 (CHARSET_TYPE_94): Deleted.
1574 (CHARSET_TYPE_94X94): Deleted.
1575 (CHARSET_TYPE_96): Deleted.
1576 (CHARSET_TYPE_96X96): Deleted.
1577 (CHARSET_TYPE_128): Deleted.
1578 (CHARSET_TYPE_128X128): Deleted.
1579 (CHARSET_TYPE_256): Deleted.
1580 (CHARSET_TYPE_256X256): Deleted.
1581 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1583 (DECODE_MOJIKYO_2022): New inline function.
1584 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1585 `Vcharset_mojikyo_2022_1'.
1587 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1589 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1591 (put_byte_table): Likewise.
1592 (char_id_table_equal): Use `get_byte_table' [new implementation].
1594 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1596 * mule-charset.c: Include <limits.h> in UTF-2000.
1597 (BT_UINT8_MIN): New macro in UTF-2000.
1598 (BT_UINT8_MAX): New macro in UTF-2000.
1599 (BT_UINT8_t): New macro in UTF-2000.
1600 (BT_UINT8_nil): New macro in UTF-2000.
1601 (BT_UINT8_unbound): New macro in UTF-2000.
1602 (INT_UINT8_P): New inline function in UTF-2000.
1603 (UINT8_VALUE_P): New inline function in UTF-2000.
1604 (UINT8_ENCODE): New inline function in UTF-2000.
1605 (UINT8_DECODE): New inline function in UTF-2000.
1606 (mark_uint8_byte_table): New function in UTF-2000.
1607 (print_uint8_byte_table): New function in UTF-2000.
1608 (uint8_byte_table_equal): New function in UTF-2000.
1609 (uint8_byte_table_hash): New function in UTF-2000.
1610 (make_uint8_byte_table): New function in UTF-2000.
1611 (uint8_byte_table_same_value_p): New function in UTF-2000.
1612 (BT_UINT16_MIN): New macro in UTF-2000.
1613 (BT_UINT16_MAX): New macro in UTF-2000.
1614 (BT_UINT16_t): New macro in UTF-2000.
1615 (BT_UINT16_nil): New macro in UTF-2000.
1616 (BT_UINT16_unbound): New macro in UTF-2000.
1617 (INT_UINT16_P): New inline function in UTF-2000.
1618 (UINT16_VALUE_P): New inline function in UTF-2000.
1619 (UINT16_ENCODE): New inline function in UTF-2000.
1620 (UINT16_DECODE): New inline function in UTF-2000.
1621 (UINT8_TO_UINT16): New inline function in UTF-2000.
1622 (mark_uint16_byte_table): New function in UTF-2000.
1623 (print_uint16_byte_table): New function in UTF-2000.
1624 (uint16_byte_table_equal): New function in UTF-2000.
1625 (uint16_byte_table_hash): New function in UTF-2000.
1626 (make_uint16_byte_table): New function in UTF-2000.
1627 (uint16_byte_table_same_value_p): New function in UTF-2000.
1628 (print_byte_table): New function in UTF-2000.
1629 (byte-table): Use `print_byte_table' as printer.
1630 (make_byte_table): Delete second argument `older'.
1631 (byte_table_same_value_p): New function in UTF-2000.
1632 (copy_byte_table): Deleted.
1633 (get_byte_table): New function in UTF-2000.
1634 (put_byte_table): New function in UTF-2000.
1635 (print_char_id_table): New function in UTF-2000.
1636 (char-id-table): Use `print_char_id_table' as printer.
1637 (make_char_id_table): Delete second argument `older'.
1638 (get_char_id_table): Use `get_byte_table [new implementation].
1639 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1641 (Ffind_char_attribute_table): New function in UTF-2000.
1642 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1643 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1644 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1645 (syms_of_mule_charset): Add new function
1646 `find-char-attribute-table' in UTF-2000.
1648 * lrecord.h (enum lrecord_type): Add
1649 `lrecord_type_uint16_byte_table' and
1650 `lrecord_type_uint8_byte_table'.
1652 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1653 (Lisp_Uint8_Byte_Table): New type.
1654 (XUINT8_BYTE_TABLE): New macro.
1655 (XSETUINT8_BYTE_TABLE): New macro.
1656 (UINT8_BYTE_TABLE_P): New macro.
1657 (GC_UINT8_BYTE_TABLE_P): New macro.
1658 (struct Lisp_Uint16_Byte_Table): New structure.
1659 (Lisp_Uint16_Byte_Table): New type.
1660 (XUINT16_BYTE_TABLE): New macro.
1661 (XSETUINT16_BYTE_TABLE): New macro.
1662 (UINT16_BYTE_TABLE_P): New macro.
1663 (GC_UINT16_BYTE_TABLE_P): New macro.
1665 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1667 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1668 (Vcharacter_ideographic_strokes_table): Deleted.
1669 (Vcharacter_total_strokes_table): Deleted.
1670 (Vcharacter_morohashi_daikanwa_table): Deleted.
1671 (Vcharacter_decomposition_table): Deleted.
1672 (Qname): Deleted because it is duplicated.
1673 (Qideographic_radical): Deleted.
1674 (Qideographic_strokes): Deleted.
1675 (Qtotal_strokes): Deleted.
1676 (Qmorohashi_daikanwa): Deleted.
1677 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1678 `ideographic-radical', `ideographic-strokes', `total-strokes',
1679 `morohashi-daikanwa' and `->decomposition'.
1680 (Fget_char_attribute): Likewise.
1681 (Fput_char_attribute): Likewise; use `make-vector' instead of
1682 `make_older_vector' for `->decomposition' value.
1683 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1684 `ideograph-daikanwa'.
1685 (syms_of_mule_charset): Delete builtin symbols `name',
1686 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1687 `morohashi-daikanwa'.
1688 (vars_of_mule_charset): Don't setup
1689 `Vcharacter_ideographic_radical_table',
1690 `Vcharacter_ideographic_strokes_table',
1691 `Vcharacter_total_strokes_table',
1692 `Vcharacter_morohashi_daikanwa_table' and
1693 `Vcharacter_decomposition_table'.
1695 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1697 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1698 `make_older_vector', `make_vector_newer_1' and
1699 `make_vector_newer'.
1701 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1702 `make_older_vector' and `make_vector_newer'.
1704 * config.h.in (HAVE_GGC): New macro.
1706 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1708 * mule-charset.c (struct char_attribute_list_closure): New
1709 structure in UTF-2000.
1710 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1711 (Fchar_attribute_list): Likewise.
1712 (Fset_charset_mapping_table): Use `make_vector_newer'.
1713 (Fdecode_builtin_char): New function in UTF-2000.
1714 (syms_of_mule_charset): Add new function `char-attribute-list' and
1715 `decode-builtin-char' in UTF-2000.
1717 * lisp.h (make_vector_newer): New prototype.
1719 * alloc.c (make_vector_newer_1): New function.
1720 (make_vector_newer): New function.
1722 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1724 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1727 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1729 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1730 (Vcharacter_attribute_table): Deleted.
1731 (Vcharacter_name_table): Deleted.
1732 (put_char_attribute): Deleted.
1733 (remove_char_attribute): Deleted.
1734 (struct char_attribute_alist_closure): New structure.
1735 (add_char_attribute_alist_mapper): New function.
1736 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1737 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1738 (Fget_char_attribute): Likewise.
1739 (Fput_char_attribute): Likewise.
1740 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1741 of `remove_char_attribute'.
1742 (Fdefine_char): Return character.
1743 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1744 and `Vcharacter_name_table'.
1745 (complex_vars_of_mule_charset): Likewise
1746 `Vchar_attribute_hash_table'.
1748 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1750 * character.h (CHARC_CHARSET): New macro.
1751 (CHARC_CHARSET_ID): New macro.
1752 (CHARC_CODE_POINT): New macro.
1753 (CHARC_COLUMNS): New macro.
1754 (CHARC_TO_CHAR): New inline function.
1755 (CHARC_EQ): New inline function.
1756 (CHARC_ASCII_EQ): New inline function.
1757 (CHARC_IS_SPACE): New inline function.
1758 (ASCII_TO_CHARC): New inline function.
1760 * char-ucs.h (encode_char_2): Deleted.
1761 (ENCODE_CHAR): Use `encode_char_1' again.
1762 (breakup_char_1): Likewise.
1763 (CHAR_TO_CHARC): New inline function.
1765 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1767 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1769 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1770 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1771 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1772 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1773 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1775 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1777 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1779 (x_output_display_block): Use `CHARC_CHARSET' and
1782 * redisplay-tty.c (tty_output_display_block): Use
1784 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1786 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1788 * insdel.c (find_charsets_in_charc_string): Use
1790 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1791 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1792 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1793 (convert_charc_string_into_malloced_string): Likewise.
1795 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1797 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1798 instead of <Emchar_dynarr *> for buf; use
1799 `convert_bufbyte_string_into_charc_dynarr' instead of
1800 `convert_bufbyte_string_into_emchar_dynarr'; use
1801 `find_charsets_in_charc_string' instead of
1802 `find_charsets_in_emchar_string'.
1805 - Include "character.h".
1806 (struct rune): New member `cglyph'; delete member `chr'.
1808 * redisplay.c (redisplay_text_width_charc_string): New function;
1809 delete `redisplay_text_width_emchar_string'.
1810 (rtw_charc_dynarr): New variable; renamed from
1811 `rtw_emchar_dynarr'.
1812 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
1813 `rtw_emchar_dynarr'; use
1814 `convert_bufbyte_string_into_charc_dynarr' instead of
1815 `convert_bufbyte_string_into_emchar_dynarr'; use
1816 `redisplay_text_width_charc_string' instead of
1817 `redisplay_text_width_emchar_string'.
1818 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1819 instead of `rtw_emchar_dynarr'; use
1820 `convert_bufbyte_string_into_charc_dynarr' instead of
1821 `convert_bufbyte_string_into_emchar_dynarr'.
1822 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1823 `redisplay_text_width_charc_string' instead of
1824 `redisplay_text_width_emchar_string'.
1825 (create_text_block): Modify for <struct rune> change.
1826 (generate_formatted_string_db): Likewise.
1827 (create_string_text_block): Likewise.
1828 (pixel_to_glyph_translation): Likewise.
1830 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
1831 instead of <const Emchar *>.
1832 (x_text_width): Likewise.
1833 (x_output_display_block): Use <Charc_dynarr *> instead
1834 <Emchar_dynarr *>; modify for <structure rune> change.
1835 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
1838 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
1839 <const Emchar *>; use `charc_string_displayed_columns' instead of
1840 `emchar_string_displayed_columns'.
1841 (tty_output_display_block): Use <Charc_dynarr *> instead of
1842 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
1843 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
1844 (tty_output_charc_dynarr_dynarr): New variable; renamed from
1845 `tty_output_emchar_dynarr_dynarr'.
1846 (tty_output_charc_dynarr): New function; delete
1847 `tty_output_charc_dynarr'.
1849 * redisplay-output.c (compare_runes): Modify for `struct rune'.
1850 (redisplay_output_layout): Use <Charc_dynarr *> instead of
1851 <Emchar_dynarr *> for buf; use
1852 `convert_bufbyte_string_into_charc_dynarr' instead of
1853 `convert_bufbyte_string_into_emchar_dynarr'.
1855 * frame.c (title_string_charc_dynarr): New variable; renamed from
1856 `title_string_emchar_dynarr'.
1857 (generate_title_string): Use `title_string_charc_dynarr' instead
1858 of `title_string_emchar_dynarr'; use
1859 `convert_charc_string_into_malloced_string' instead of
1860 `convert_emchar_string_into_malloced_string'.
1861 (init_frame): Use `title_string_charc_dynarr' instead of
1862 `title_string_emchar_dynarr'.
1865 - Include "character.h".
1866 (struct console_methods): Use <const Charc *> instead of <const
1867 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
1868 <Emchar_dynarr *> in output_string_method.
1870 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
1873 * console-stream.c (stream_text_width): Use <const Charc *>
1874 instead of <const Emchar *>.
1876 * character.h (Charc_dynarr): New type.
1878 * char-ucs.h (structure Charc): New structure; define new type
1881 * char-lb.h (DECODE_CHAR): New inline function.
1882 (encode_char_1): New inline function.
1883 (ENCODE_CHAR): New macro.
1884 (structure Charc): New structure; define new type `Charc'.
1886 * char-1byte.h (Vcharset_control_1): New macro.
1887 (Vcharset_latin_iso8859_1): New macro.
1888 (DECODE_CHAR): New inline function.
1889 (encode_char_1): New inline function.
1890 (ENCODE_CHAR): New macro.
1891 (structure Charc): New structure; define new type `Charc'.
1893 * insdel.c (find_charsets_in_charc_string): New function; delete
1894 `find_charsets_in_emchar_string'.
1895 (charc_string_displayed_columns): New function; delete
1896 `emchar_string_displayed_columns'.
1897 (convert_bufbyte_string_into_charc_dynarr): New function; delete
1898 `convert_bufbyte_string_into_emchar_dynarr'.
1899 (convert_charc_string_into_bufbyte_dynarr): New function; delete
1900 `convert_charc_string_into_bufbyte_dynarr'.
1901 (convert_charc_string_into_malloced_string): New function; delete
1902 `convert_charc_string_into_malloced_string'.
1904 * buffer.h (find_charsets_in_charc_string): New prototype; delete
1905 `find_charsets_in_emchar_string'.
1906 (charc_string_displayed_columns): New prototype; delete
1907 `emchar_string_displayed_columns'.
1908 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
1909 `convert_charc_string_into_bufbyte_dynarr'.
1910 (convert_charc_string_into_malloced_string): New prototype; delete
1911 `convert_charc_string_into_malloced_string'.
1913 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1915 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
1917 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1919 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
1921 * char-ucs.h: Use <short> for <Charset_ID>.
1923 * mule-charset.h, char-1byte.h: Use <unsigned char> for
1926 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1928 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1931 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1933 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
1935 (Qmorohashi_daikanwa): New variable.
1936 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
1937 for `morohashi-daikanwa' attribute.
1938 (Fget_char_attribute): Likewise.
1939 (Fput_char_attribute): Likewise.
1940 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
1941 has the same value of `ideograph-daikanwa'.
1942 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
1943 (vars_of_mule_charset): Setup
1944 `Vcharacter_morohashi_daikanwa_table'.
1946 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1948 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
1950 (add_charset_to_list_mapper): Add `key' instead of
1951 `XCHARSET_NAME (value)' to return aliases.
1953 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1955 * mule-charset.c (Vcharacter_ideographic_radical_table): New
1957 (Vcharacter_ideographic_strokes_table): New variable.
1958 (Qideographic_radical): New variable.
1959 (Qideographic_strokes): New variable.
1960 (Fchar_attribute_alist): Use
1961 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
1962 attribute; use `Vcharacter_ideographic_strokes_table' for
1963 `ideographic-strokes' attribute.
1964 (Fget_char_attribute): Likewise.
1965 (Fput_char_attribute): Likewise.
1966 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
1967 `ideographic-strokes'.
1968 (vars_of_mule_charset): Setup
1969 `Vcharacter_ideographic_radical_table' and
1970 `Vcharacter_ideographic_strokes_table'.
1972 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1974 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
1975 (Qtotal_strokes): New variable.
1976 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
1977 `total-strokes' attribute.
1978 (Fget_char_attribute): Likewise.
1979 (Fput_char_attribute): Likewise.
1980 (syms_of_mule_charset): Add new symbol `total-strokes'.
1981 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
1983 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1985 * mule-charset.c (Vcharacter_decomposition_table): New variable.
1986 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
1988 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
1989 `->decomposition' attribute.
1990 (Fput_char_attribute): Likewise.
1991 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
1993 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1995 * mule-charset.c (decoding_table_check_elements): New function.
1996 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
1998 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2000 * mule-charset.c (Fset_charset_mapping_table): Use
2001 `put_char_ccs_code_point'.
2003 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2005 * mule-charset.c (decoding_table_put_char): New inline function.
2006 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2008 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2010 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2011 (XCHARSET_BYTE_SIZE): New macro.
2012 (decoding_table_remove_char): New inline function.
2013 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2014 `decoding_table_remove_char'.
2015 (remove_char_ccs): Use `decoding_table_remove_char'.
2016 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2018 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2020 * mule-charset.c (Vcharacter_name_table): New variable.
2021 (Qname): New variable.
2022 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2024 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2025 `Vcharacter_name_table' for `name' attribute.
2026 (Fremove_char_attribute): Use function `remove_char_ccs'.
2027 (put_char_ccs_code_point): New function.
2028 (remove_char_ccs): New function.
2029 (syms_of_mule_charset): Add new symbol `name'.
2030 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2032 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2034 * mule-charset.c (make_byte_table): Add new argument `older'.
2035 (make_char_id_table): Likewise.
2036 (copy_char_id_table): Comment out because it is not used.
2037 (put_char_id_table): Modify for `make_byte_table'.
2038 (Fput_char_attribute): Make encoding_table as older object;
2039 inherit older bit of `Vcharacter_composition_table'.
2040 (mark_charset): Don't mark `cs->encoding_table'.
2041 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2042 normal object; make `Vcharacter_composition_table' as an older
2043 object; delete staticpro for `Vcharacter_composition_table'; make
2044 `Vcharacter_variant_table' as a normal object.
2046 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2047 (mark_object): Don't check older object in UTF-2000.
2049 * lrecord.h (struct lrecord_header): Add new member `older' in
2051 (set_lheader_implementation): Setup `SLI_header->older' in
2053 (set_lheader_older_implementation): New macro in UTF-2000.
2054 (OLDER_RECORD_P): New macro in UTF-2000.
2055 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2056 (alloc_older_lcrecord): New prototype in UTF-2000.
2057 (alloc_older_lcrecord_type): New macro in UTF-2000.
2059 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2061 * mule-charset.c (byte_table_description): Use
2062 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2063 (char_id_table_description): Delete bogus `, 1'.
2064 (Fget_char_attribute): Refer encoding_table of each coded-charset
2065 to get value of coded-charset attribute of a character.
2066 (Fput_char_attribute): Use `make_older_vector' instead of
2067 `make_vector'; use encoding_table of each coded-charset to store
2068 value of coded-charset attribute of a character.
2069 (Fremove_char_attribute): Use encoding_table of each coded-charset
2070 to store value of coded-charset attribute of a character.
2071 (mark_charset): Mark `cs->encoding_table'; don't mark
2072 `cs->decoding_table'.
2073 (charset_description): Add description of new member
2075 (make_charset): Initialize `encoding_table'.
2077 * char-ucs.h (struct Lisp_Charset): Add new member
2079 (CHARSET_ENCODING_TABLE): New macro.
2080 (XCHARSET_ENCODING_TABLE): New macro.
2081 (charset_code_point): New implementation.
2082 (encode_char_1): Likewise.
2084 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2085 (disksave_object_finalization_1): Call finalizers of
2086 `all_older_lcrecords' in UTF-2000.
2087 (make_older_vector): New function in UTF-2000.
2088 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2091 * lisp.h (make_older_vector): New prototype in UTF-2000.
2093 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2095 * lrecord.h (enum lrecord_type): Rename
2096 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2098 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2099 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2100 `get_char_code_table'.
2102 * mule-charset.c (mark_char_id_table): Renamed from
2103 `mark_char_code_table'.
2104 (char_id_table_equal): Renamed from `char_code_table_equal'.
2105 (char_id_table_hash): Renamed from `char_code_table_hash'.
2106 (make_char_id_table): Renamed from `make_char_code_table'.
2107 (copy_char_id_table): Renamed from `copy_char_code_table'.
2108 (get_char_id_table): Renamed from `get_char_code_table'.
2109 (put_char_id_table): Renamed from `put_char_code_table'.
2110 (to_char_id): Renamed from `to_char_code'.
2112 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2113 `Lisp_Char_Code_Table'.
2114 (char_id_table): Renamed from `char_code_table'.
2115 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2116 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2117 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2118 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2119 (get_char_id_table): Renamed from `get_char_code_table'.
2121 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2123 * lrecord.h (enum lrecord_type): Rename
2124 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2126 * mule-charset.c (mark_byte_table): Renamed from
2127 `mark_char_byte_table'.
2128 (byte_table_equal): Renamed from `char_byte_table_equal'.
2129 (byte_table_hash): Renamed from `byte_table_hash'.
2130 (make_byte_table): Renamed from `make_byte_table'.
2131 (copy_byte_table): Renamed from `copy_char_byte_table'.
2133 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2134 `Lisp_Char_Byte_Table'.
2135 (byte_table): Renamed from `char_byte_table'.
2136 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2137 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2138 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2139 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2141 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2143 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2144 (dfc_convert_to_internal_format): Likewise.
2146 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2147 * text-coding.c (Fcoding_system_alias_p): New function.
2148 * text-coding.c (Fcoding_system_aliasee): New function.
2149 * text-coding.c (append_suffix_to_symbol): New function.
2150 * text-coding.c (dangling_coding_system_alias_p): New function.
2151 * text-coding.c (Ffind_coding_system):
2152 * text-coding.c (Fcopy_coding_system):
2153 * text-coding.c (encode_coding_no_conversion):
2154 * text-coding.c (syms_of_file_coding):
2155 * text-coding.c (vars_of_file_coding):
2156 Rewrite coding system alias code.
2157 Allow nested aliases, like symbolic links.
2158 Allow redefinition of coding system aliases.
2159 Prevent existence of dangling coding system aliases.
2160 Eliminate convert_to_external_format.
2161 Eliminate convert_to_internal_format.
2163 * text-coding.c: Change enum eol_type to eol_type_t.
2165 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2167 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2168 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2170 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2171 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2173 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2175 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2176 `ideograph-daikanwa'.
2178 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2179 (Vcharset_ucs_bmp): Likewise.
2180 (Vcharset_mojikyo): Add new extern variable definition.
2181 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2182 (Vcharset_latin_iso8859_3): Likewise.
2183 (Vcharset_latin_iso8859_4): Likewise.
2184 (Vcharset_latin_iso8859_9): Likewise.
2185 (Vcharset_latin_viscii_lower): Likewise.
2186 (Vcharset_latin_viscii_upper): Likewise.
2187 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2188 `mojikyo' code-point is used to decode.
2189 (encode_char_2): New function [to convert `mojikyo' code-point to
2190 Mojikyo font encoding].
2191 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2192 (breakup_char_1): Likewise.
2193 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2195 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2197 * text-coding.c (Fmake_coding_system): Add document about
2198 `disable-composition' property.
2200 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2202 * text-coding.c (Qdisable_composition): New variable; delete
2204 (Fmake_coding_system): Add new property `disable-composite';
2205 delete property `composite'.
2206 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2207 instead of `!CODING_SYSTEM_COMPOSITE'.
2208 (syms_of_file_coding): Add new symbol `disable-composition';
2209 delete symbol `composite'.
2211 * file-coding.h (struct Lisp_Coding_System): Add
2212 `disable_composition'; delete `enable_composition'.
2213 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2214 `CODING_SYSTEM_COMPOSITE'.
2215 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2216 `XCODING_SYSTEM_COMPOSITE'.
2218 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2220 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2223 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2225 * text-coding.c (Qcomposite): New variable.
2226 (Fmake_coding_system): Add new property `composite'.
2227 (struct decoding_stream): Add `combined_char_count',
2228 `combined_chars' and `combining_table' in UTF-2000.
2229 (COMPOSE_FLUSH_CHARS): New macro.
2230 (COMPOSE_ADD_CHAR): New macro.
2231 (reset_decoding_stream): Reset `str->combined_char_count' and
2232 `str->combining_table' in UTF-2000.
2233 (decode_coding_iso2022): Modify for character-decomposition.
2234 (syms_of_file_coding): Add new symbol `composite'.
2236 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2238 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2239 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2240 of `Vcharacter_composition_table' if `->decomposition' property
2242 (Qlatin_tcvn5712): New variable.
2243 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2244 (complex_vars_of_mule_charset): Add new coded-charset
2247 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2249 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2251 * file-coding.h (struct Lisp_Coding_System): Add
2252 `enable_composition'.
2253 (CODING_SYSTEM_COMPOSITE): New macro.
2254 (XCODING_SYSTEM_COMPOSITE): New macro.
2256 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2258 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2260 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2262 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2263 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2265 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2267 * mule-charset.c (Vcharset_mojikyo): New variable.
2268 (Fdefine_char): Don't use coded-charset which does not have
2269 non-builtin character range to allocate character-id.
2270 (Qmojikyo): New variable.
2271 (syms_of_mule_charset): Add new symbol `mojikyo'.
2272 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2274 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2275 (LEADING_BYTE_MOJIKYO): New macro.
2276 (MIN_CHAR_MOJIKYO): New macro.
2277 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2278 (MAX_CHAR_MOJIKYO): New macro.
2280 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2282 * mule-charset.c (remove_char_attribute): Fixed.
2284 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2286 * mule-charset.c (remove_char_attribute): New function.
2287 (Fremove_char_attribute): New function.
2288 (encode_builtin_char_1): Comment out builtin-support for
2289 greek-iso8859-7 and cyrillic-iso8859-5.
2290 (Fdecode_char): Check `code' is an integer.
2291 (syms_of_mule_charset): Add `remove-char-attribute'.
2292 (MIN_CHAR_GREEK): Deleted.
2293 (MAX_CHAR_GREEK): Likewise.
2294 (MIN_CHAR_CYRILLIC): Likewise.
2295 (MAX_CHAR_CYRILLIC): Likewise.
2296 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2297 MAX_CHAR_GREEK for `greek-iso8859-7'.
2299 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2300 (MAX_CHAR_GREEK): Likewise.
2301 (MIN_CHAR_CYRILLIC): Likewise.
2302 (MAX_CHAR_CYRILLIC): Likewise.
2304 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2306 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2307 format is used without `ucs' property.
2308 (Fdecode_char): Fix problem with GR representation.
2309 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2310 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2312 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2314 * mule-charset.c (make_builtin_char): New function.
2315 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2316 (Fset_charset_mapping_table): Modify for new representation of
2318 (Fdecode_char): New function.
2319 (syms_of_mule_charset): Add new builtin function `decode-char' in
2322 * char-ucs.h (make_builtin_char): New prototype.
2323 (DECODE_CHAR): New inline function.
2324 (MAKE_CHAR): Use `DECODE_CHAR'.
2326 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2328 * text-coding.c (parse_charset_conversion_specs): Use
2329 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2331 (iso2022_designate): Likewise.
2333 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2334 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2336 * mule-charset.c (Vcharset_ucs): New variable.
2337 (print_charset): Change design; use `CHARSET_CHARS' and
2338 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2339 (make_charset): Change signature to specify `chars' and
2340 `dimension' instead of `type'.
2341 (range_charset_code_point): Modify for 256^n-set.
2342 (encode_builtin_char_1): Encode as `ucs' in default.
2343 (Fmake_charset): Modify for `make_charset'.
2344 (Fmake_reverse_direction_charset): Likewise.
2345 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2347 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2350 * char-ucs.h (Vcharset_ucs): New variable.
2351 (LEADING_BYTE_UCS): New macro.
2352 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2353 and `chars' to `unsigned short' from `unsigned int'.
2354 (CHARSET_TYPE): Deleted.
2355 (XCHARSET_TYPE): Deleted.
2357 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2359 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2361 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2362 (ENCODE_CHAR): New macro.
2364 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2366 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2367 to 0.14 (Kawachi-Katakami).
2369 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2371 * text-coding.c (char_encode_shift_jis): Modify for
2372 `charset_code_point'.
2373 (char_encode_iso2022): Likewise.
2375 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2376 (integer) instead of list of <Lisp_Object>s (integers) as the
2377 format of code-point of a coded-charset.
2378 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2379 (encode_builtin_char_1): New function; delete
2380 `split_builtin_char'.
2381 (charset_code_point): Return <int> instead of <Lisp_Object>.
2382 (Fsplit_char): Don't use `SPLIT_CHAR'.
2384 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2385 prototype for `split_builtin_char'.
2386 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2387 (charset_code_point): Likewise.
2388 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2389 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2391 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2393 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2394 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2396 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2398 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2400 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2401 (MAX_CHAR_OBS_94x94): Deleted.
2403 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2405 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2407 * char-ucs.h (MAX_CHAR_BMP): New macro.
2409 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2411 * text-coding.c: Sync with r21-2-24.
2413 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2415 * file-coding.c: Modify for UTF-2000.
2417 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2419 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2422 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2424 * mule-charset.c (split_builtin_char): Delete builtin support for
2425 `katakana-jisx0201'.
2426 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2427 BMP area in builtin representation.
2429 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2430 `Vcharset_katakana_jisx0201'.
2432 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2434 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2435 (Qisolated): New variable.
2436 (Qinitial): New variable.
2437 (Qmedial): New variable.
2438 (Qfinal): New variable.
2439 (Qvertical): New variable.
2440 (Qsmall): New variable.
2441 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2442 `Qvertical' and `Qsmall'.
2443 (Qmojikyo_pj_[1 .. 21]): New variable.
2444 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2445 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2446 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2449 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2451 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2452 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2453 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2455 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2457 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2458 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2460 (Qjapanese_jisx0208_1990): New variable.
2461 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2462 (complex_vars_of_mule_charset): Add new coded-charset
2463 `japanese-jisx0208-1990'.
2465 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2466 (MIN_CHAR_JIS_X0208_1990): New macro.
2467 (MAX_CHAR_JIS_X0208_1990): New macro.
2469 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2471 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2472 coded-charset is not found.
2474 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2476 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2477 (Fdefine_char): Use `Fmake_char'.
2479 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2481 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2482 (Vcharset_hiragana_jisx0208): Deleted.
2483 (Vcharset_katakana_jisx0208): Deleted.
2484 (Qideograph_daikanwa): New variable.
2485 (Qhiragana_jisx0208): Deleted.
2486 (Qkatakana_jisx0208): Deleted.
2487 (split_builtin_char): Split `ideograph-daikanwa'.
2488 (Fsplit_char): New implementation for UTF-2000.
2489 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2490 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2491 (complex_vars_of_mule_charset): Add new coded-charset
2492 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2493 `katakana-jisx0208'.
2495 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2496 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2497 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2498 (MIN_CHAR_DAIKANWA): New macro.
2499 (MAX_CHAR_DAIKANWA): New macro.
2501 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2503 * data.c (Fstring_to_number): Don't recognize floating point if
2506 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2508 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2510 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2512 * mule-charset.c (Qsquare): New variable.
2513 (to_char_code): Add `Qsquare'.
2514 (syms_of_mule_charset): Add new symbol `square'.
2516 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2518 * mule-charset.c (Qcircle): New variable.
2519 (to_char_code): Add `Qcircle'.
2520 (syms_of_mule_charset): Add new symbol `circle'.
2522 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2524 * mule-charset.c (Qfont): New variable.
2525 (to_char_code): Add `Qfont'.
2526 (syms_of_mule_charset): Add new symbol `font'.
2528 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2530 * mule-charset.c (Qsub): New variable.
2531 (to_char_code): Add `Qsub'.
2532 (syms_of_mule_charset): Add new symbol `sub'.
2534 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2536 * mule-charset.c (Fput_char_attribute): Convert each element of
2537 VALUE to GL position if ATTRIBUTE is a GR-set,
2539 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2541 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2542 coded-charset is a GR-set.
2544 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2546 * mule-charset.c (Fput_char_attribute): Check each element of
2547 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2549 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2551 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2553 (Qethiopic_ucs): New variable in UTF-2000.
2554 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2555 (complex_vars_of_mule_charset): Add new coded-charset
2556 `ethiopic-ucs' in UTF-2000.
2558 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2559 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2561 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2563 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2565 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2567 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2570 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2572 * mule-charset.c (Vcharacter_variant_table): New variable.
2573 (Q_ucs): New variable.
2574 (Fchar_variants): New function.
2575 (Fput_char_attribute): Register `->ucs' value to
2576 `Vcharacter_variant_table'.
2577 (syms_of_mule_charset): Add new function `char-variants' and new
2579 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2581 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2583 * mule-charset.c (get_char_code_table): Allow negative character
2585 (put_char_code_table): Likewise.
2586 (Vcharacter_composition_table): New variable.
2587 (Q_decomposition): New variable.
2588 (Qwide): New variable.
2589 (Qnarrow): New variable.
2590 (Qcompat): New variable.
2591 (QnoBreak): New variable.
2592 (Qsuper): New variable.
2593 (Qfraction): New variable.
2594 (to_char_code): New function.
2595 (Fget_composite_char): New function.
2596 (Fput_char_attribute): Register `->decomposition' value to
2597 `Vcharacter_composition_table'.
2598 (syms_of_mule_charset): Add new function `get-composite-char', new
2599 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2600 `super' and `fraction'.
2601 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2603 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2605 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2606 character; copy the return value.
2608 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2610 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2612 * mule-charset.c (range_charset_code_point): Must use make_int.
2613 (split_builtin_char): New function.
2615 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2617 * mule-charset.c (char_byte_table): Change name from
2618 "char-code-table" to "char-byte-table".
2619 (mark_char_code_table): New function.
2620 (char_code_table_equal): New function.
2621 (char_code_table_hash): New function.
2622 (char_code_table_description): New constant.
2623 (char_code_table): New type.
2624 (make_char_code_table): New function.
2625 (copy_char_code_table): New function.
2626 (get_char_code_table): Modify for `char_code_table' type.
2627 (put_char_code_table): Likewise.
2628 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2631 * char-ucs.h (char_code_table): New type.
2632 (XCHAR_CODE_TABLE): New macro.
2633 (XSETCHAR_CODE_TABLE): New macro.
2634 (CHAR_CODE_TABLE_P): New macro.
2635 (GC_CHAR_CODE_TABLE_P): New macro.
2636 (struct Lisp_Char_Code_Table): New structure.
2638 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2640 * mule-charset.c (Fmake_charset): Setup byte_offset for
2643 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2645 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2648 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2650 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2653 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2655 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2656 charset, it is regarded as a charset.
2657 (put_char_attribute): New function in UTF-2000.
2658 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2659 charset, mapping-table of the charset is modified.
2660 (Fdefine_char): New function in UTF-2000.
2661 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2662 `Fput_char_attribute'.
2663 (syms_of_mule_charset): Add new function `define-char' and new
2664 symbol `ucs' in UTF-2000.
2665 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2667 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2669 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2670 non-UTF-2000 configuration.
2672 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2674 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2675 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2677 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2679 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2680 (Fset_charset_mapping_table): Likewise.
2682 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2683 (CHARSET_ENCODING_TABLE): Delete.
2684 (XCHARSET_ENCODING_TABLE): Delete.
2685 (charset_code_point): New interface.
2687 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2689 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2690 instead of `charset_get_byte1' and `charset_get_byte2'.
2692 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2693 (charset_get_byte2): Deleted.
2695 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2697 * char-ucs.h (SPLIT_CHAR): New inline function.
2698 (breakup_char_1): Use `SPLIT_CHAR'.
2700 * mule-charset.c (range_charset_code_point): New function.
2701 (charset_code_point): New function.
2703 * char-ucs.h (range_charset_code_point): New interface.
2704 (breakup_char_1): Use `range_charset_code_point'.
2706 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2708 * mule-charset.c (Fmake_charset): Delete unused local variable
2711 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2712 (breakup_char_1): Find a charset and code-point in
2713 `Vcharacter_attribute_table'.
2715 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2717 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2720 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2722 * mule-charset.c (Vcharacter_attribute_table): New variable.
2723 (Fchar_attribute_alist): New function.
2724 (Fget_char_attribute): New function.
2725 (Fput_char_attribute): New function.
2726 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2728 (syms_of_mule_charset): Add new function `char-attribute-alist',
2729 `get-char-attribute' and `put-char-attribute'.
2730 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2732 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2734 * mule-charset.c (Fmake_charset): Just use
2735 `get_unallocated_leading_byte'.
2737 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2738 sets; don't use final-byte based number for private sets.
2740 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2742 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2745 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2747 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2750 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2752 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2753 of `CHAR_LEADING_BYTE' in UTF-2000.
2755 * insdel.c (find_charsets_in_bufbyte_string): Use
2756 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2757 (find_charsets_in_emchar_string): Likewise.
2759 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2760 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2762 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2763 (CHAR_CHARSET_ID): New macro.
2765 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2767 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2768 charset-id - MIN_LEADING_BYTE.
2769 (put_char_table): Likewise.
2771 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2773 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2774 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2775 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2776 (CHARSET_ID_OFFSET): New macro.
2777 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2778 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2779 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2780 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2782 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2784 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2785 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2786 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2787 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2788 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2790 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2792 * mule-charset.c (next_allocated_leading_byte): New variable in
2794 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2795 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2796 (get_unallocated_leading_byte): Simply use
2797 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2798 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2801 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2802 (MAX_LEADING_BYTE_PRIVATE): New macro.
2803 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2804 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2806 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2808 * mule-charset.c (Fmake_charset): Allocate final-byte based
2809 charset-id for 94-set, 96-set and 94x94-set.
2811 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2813 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
2815 (Fmake_charset): Likewise.
2816 (complex_vars_of_mule_charset): Modify the font registry of
2817 `ucs-bmp' not to match `Ethiopic-Unicode'.
2819 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2821 * mule-charset.c (complex_vars_of_mule_charset): Add font
2822 registory of `ucs-bmp'.
2824 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2826 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2827 coded-charsets in `default-coded-charset-priority-list' when
2828 breaking up a character.
2830 * mule-charset.c (Vcharset_latin_viscii): New variable.
2831 (Qlatin_viscii): New variable.
2832 (make_charset): Don't use `decoding_table'.
2833 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
2835 (Fset_charset_mapping_table): New implementation.
2836 (syms_of_mule_charset): Add new symbol `latin-viscii'.
2837 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
2838 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
2839 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
2840 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
2841 charset `latin_viscii'.
2843 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
2844 (CHARSET_TYPE_94X94): Change to 1 from 2.
2845 (CHARSET_TYPE_96): Change to 2 from 1.
2846 (CHARSET_TYPE_128): New macro.
2847 (CHARSET_TYPE_128X128): Change to 5 from 4.
2848 (CHARSET_TYPE_256): New macro.
2849 (CHARSET_TYPE_256X256): Change to 7 from 5.
2850 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
2852 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2854 * text-coding.c (char_encode_shift_jis): Refer
2855 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
2856 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
2858 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
2859 (char_byte_table_equal): New function in UTF-2000.
2860 (char_byte_table_hash): New function in UTF-2000.
2861 (char_byte_table_description): New constant in UTF-2000.
2862 (char_byte_table): New type in UTF-2000.
2863 (make_char_byte_table): New function in UTF-2000.
2864 (copy_char_byte_table): New function in UTF-2000.
2865 (make_char_code_table): New macro in UTF-2000.
2866 (get_char_code_table): New function in UTF-2000.
2867 (put_char_code_table): New function in UTF-2000.
2868 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2869 (charset_description): Add setting in UTF-2000.
2870 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
2871 `CHARSET_TO_BYTE1_TABLE(cs)'.
2872 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
2873 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
2874 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
2875 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
2876 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
2877 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
2878 `CHARSET_TO_BYTE2_TABLE(cs)'.
2880 * char-ucs.h (char_byte_table): New type.
2881 (XCHAR_BYTE_TABLE): New macro.
2882 (XSETCHAR_BYTE_TABLE): New macro.
2883 (CHAR_BYTE_TABLE_P): New macro.
2884 (GC_CHAR_BYTE_TABLE_P): New macro.
2885 (struct Lisp_Char_Byte_Table): New structure.
2886 (get_char_code_table): New interface.
2887 (Emchar_to_byte_table): Deleted.
2888 (get_byte_from_character_table): Deleted.
2889 (struct Lisp_Charset): Add `encoding_table'; delete
2890 `to_byte1_table' and `to_byte2_table'.
2891 (CHARSET_ENCODING_TABLE): New macro.
2892 (CHARSET_TO_BYTE1_TABLE): Deleted.
2893 (CHARSET_TO_BYTE2_TABLE): Deleted.
2894 (XCHARSET_ENCODING_TABLE): New macro.
2895 (XCHARSET_TO_BYTE1_TABLE): Deleted.
2896 (XCHARSET_TO_BYTE2_TABLE): Deleted.
2898 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2900 * mule-charset.c (syms_of_mule_charset): Delete charset alias
2901 `vietnamese-viscii-*'.
2903 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2905 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
2906 (Qvietnamese_viscii_upper): New variable.
2907 (Fdefine_charset_alias): New function.
2908 (syms_of_mule_charset): Add new function `define-charset-alias'.
2909 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
2910 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
2913 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
2915 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
2916 (MAX_CHAR_OBS_94x94): New macro.
2917 (breakup_char_1): Support obsolete XEmacs-UCS private code space
2920 * mule-charset.c (put_byte_from_character_table): Change unit size
2922 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
2924 (Fmake_reverse_direction_charset): Modify dummy argument of
2925 `make_charset' for non-UTF-2000 environment.
2927 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2929 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
2931 * mule-charset.c (destroy_byte_from_character_table): New macro.
2932 (latin_jisx0201_to_ucs): Deleted.
2933 (latin_iso8859_2_to_ucs): Deleted.
2934 (latin_iso8859_3_to_ucs): Deleted.
2935 (latin_iso8859_4_to_ucs): Deleted.
2936 (latin_iso8859_9_to_ucs): Deleted.
2937 (latin_viscii_lower_to_ucs): Deleted.
2938 (latin_viscii_upper_to_ucs): Deleted.
2939 (mark_charset): Mark `cs->decoding_table'.
2940 (Fcharset_mapping_table): Fix DOC-string.
2941 (Fset_charset_mapping_table): New function.
2942 (syms_of_mule_charset): Add nwe function
2943 `set-charset-mapping-table'.
2944 (complex_vars_of_mule_charset): Don't setup and use
2947 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
2949 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
2952 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
2954 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
2955 (Vcharset_katakana_jisx0208): New variable.
2956 (Qhiragana_jisx0208): New variable.
2957 (Qkatakana_jisx0208): New variable.
2958 (make_charset): Add new argument `byte_offset'.
2959 (charset_get_byte1): Modify for new coded-charset definition; use
2960 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2961 `XCHARSET_BYTE_OFFSET'.
2962 (Fmake_charset): Modify for `make_charset'.
2963 (Fmake_reverse_direction_charset): Likewise.
2964 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
2965 `katakana-jisx0208'.
2966 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
2967 `.' in font registry of charset `katakana-jisx0201',
2968 `latin-jisx0201', `vietnamese-viscii-lower' and
2969 `vietnamese-viscii-upper'; modify DOC-string of charset
2970 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
2971 registry of charset `japanese-jisx0208' not to use font for JIS
2972 X0208:1990; add new charset `hiragana-jisx0208' and
2973 `katakana-jisx0208'.
2975 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
2976 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
2977 (struct Lisp_Charset): Add `byte_offset'.
2978 (CHARSET_BYTE_OFFSET): New macro.
2979 (XCHARSET_UCS_MIN): New macro.
2980 (XCHARSET_UCS_MAX): New macro.
2981 (XCHARSET_CODE_OFFSET): New macro.
2982 (XCHARSET_BYTE_OFFSET): New macro.
2983 (MIN_CHAR_HIRAGANA): New macro.
2984 (MAX_CHAR_HIRAGANA): New macro.
2985 (MIN_CHAR_KATAKANA): New macro.
2986 (MAX_CHAR_KATAKANA): New macro.
2987 (MAKE_CHAR): Modify for new coded-charset definition; use
2988 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2989 `XCHARSET_BYTE_OFFSET'.
2991 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2993 * mule-charset.c (CHAR96): Deleted.
2994 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
2996 (latin_iso8859_2_to_ucs): Likewise.
2997 (latin_iso8859_3_to_ucs): Likewise.
2998 (latin_iso8859_4_to_ucs): Likewise.
2999 (latin_iso8859_9_to_ucs): Likewise.
3000 (latin_viscii_lower_to_ucs): Likewise.
3001 (latin_viscii_upper_to_ucs): Likewise.
3002 (latin_tcvn5712_to_ucs): Commented out.
3003 (make_charset): Change type of argument `decoding_table' from
3004 <Emchar*> to <Lisp_Object> [vector of characters].
3005 (Fmake_charset): Modify for `make_charset'.
3006 (Fmake_reverse_direction_charset): Likewise.
3007 (Fcharset_mapping_table): New function in UTF-2000.
3008 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3010 (complex_vars_of_mule_charset): Modify for type change of
3011 `*_to_ucs'; modify for `make_charset'.
3013 * char-ucs.h (struct Lisp_Charset): Change type of
3014 `decoding_table' from <Emchar*> to <Lisp_Object>.
3015 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3017 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3019 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3020 error with non-UTF-2000-Mule.
3022 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3024 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3026 (Vcharset_chinese_cns11643_4): Likewise.
3027 (Vcharset_chinese_cns11643_5): Likewise.
3028 (Vcharset_chinese_cns11643_6): Likewise.
3029 (Vcharset_chinese_cns11643_7): Likewise.
3030 (Qchinese_cns11643_3): Likewise.
3031 (Qchinese_cns11643_4): Likewise.
3032 (Qchinese_cns11643_5): Likewise.
3033 (Qchinese_cns11643_6): Likewise.
3034 (Qchinese_cns11643_7): Likewise.
3035 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3036 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3037 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3038 (complex_vars_of_mule_charset): Likewise.
3040 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3042 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3044 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3045 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3047 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3049 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3051 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3052 (breakup_char_1): Likewise.
3054 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3055 one of them includes the specified character.
3057 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3059 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3061 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3063 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3065 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3067 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3068 definition for non-UTF-2000 Mule.
3069 (latin_iso8859_3_to_ucs): Likewise.
3070 (latin_iso8859_4_to_ucs): Likewise.
3071 (latin_iso8859_9_to_ucs): Likewise.
3072 (latin_jisx0201_to_ucs): Likewise.
3073 (MIN_CHAR_THAI): Likewise.
3074 (MAX_CHAR_THAI): Likewise.
3075 (MIN_CHAR_GREEK): Likewise.
3076 (MAX_CHAR_GREEK): Likewise.
3077 (MIN_CHAR_HEBREW): Likewise.
3078 (MAX_CHAR_HEBREW): Likewise.
3079 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3080 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3081 (MIN_CHAR_CYRILLIC): Likewise.
3082 (MAX_CHAR_CYRILLIC): Likewise.
3084 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3086 * char-ucs.h (breakup_char_1): Use
3087 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3088 thai-tis620 and katakana-jisx0201 area.
3090 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3092 * char-ucs.h (breakup_char_1): Use
3093 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3096 * text-coding.c (reset_encoding_stream): Fixed.
3097 (char_encode_ucs4): Delete `& 255'.
3099 * char-ucs.h (breakup_char_1): Use
3100 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3102 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3104 * file-coding.c (Fmake_coding_system): Don't set up
3105 `codesys->fixed.size'.
3106 (encode_coding_no_conversion): Don't refer
3107 `str->codesys->fixed.size'.
3109 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3111 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3112 (latin_a_char_to_byte1): Deleted.
3113 (latin_a_char_to_byte2): Deleted.
3115 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3117 * mule-charset.c (make_charset): Add new argument `ucs_min',
3118 `ucs_max' and `code_offset'.
3119 (charset_get_byte1): New implementation [delete specific charset
3120 depended implementations].
3121 (Fmake_charset): Modify for `make_charset'.
3122 (Fmake_reverse_direction_charset): Likewise.
3123 (complex_vars_of_mule_charset): Likewise.
3125 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3127 (CHARSET_UCS_MIN): New macro.
3128 (CHARSET_UCS_MAX): New macro.
3129 (CHARSET_CODE_OFFSET): New macro.
3130 (MAKE_CHAR): Delete charset depended definitions [except
3133 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3135 * char-ucs.h (breakup_char_1): Use
3136 `Vdefault_coded_charset_priority_list' for C0-Controls,
3137 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3139 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3141 * char-ucs.h (charset_get_byte1): New function.
3142 (XCHARSET_GET_BYTE1): Deleted.
3143 (charset_get_byte2): New function.
3144 (XCHARSET_GET_BYTE2): Deleted.
3145 (Vdefault_coded_charset_priority_list): New external variable.
3146 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3147 `Vdefault_preferred_coded_charset_list'.
3149 * mule-charset.c (charset_get_byte1): New function.
3150 (charset_get_byte2): New function.
3151 (Vdefault_coded_charset_priority_list): New variable.
3152 (vars_of_mule_charset): Add new variable
3153 `default-coded-charset-priority-list'.
3155 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3157 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3158 (XCHARSET_GET_BYTE2): New inline function.
3159 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3160 `XCHARSET_GET_BYTE2'.
3162 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3164 * mule-charset.c (make_charset): Initialize
3165 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3166 NULL if table is not defined.
3168 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3170 * text-coding.c (char_encode_shift_jis): Use
3171 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3172 `ucs_to_latin_jisx0201'.
3174 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3175 (ucs_to_latin_iso8859_2): Deleted.
3176 (ucs_to_latin_iso8859_3): Deleted.
3177 (ucs_to_latin_iso8859_4): Deleted.
3178 (ucs_to_latin_iso8859_9): Deleted.
3179 (ucs_to_latin_viscii_lower): Deleted.
3180 (ucs_to_latin_viscii_upper): Deleted.
3181 (ucs_to_latin_tcvn5712): Deleted.
3182 (make_charset): Add new argument `decoding_table'; set up
3183 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3184 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3185 `decoding_table' is defined in UTF-2000.
3186 (Fmake_charset): Modify for `make_charset'.
3187 (Fmake_reverse_direction_charset): Likewise.
3188 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3189 and `GENERATE_96_SET'.
3191 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3192 (ucs_to_latin_jisx0201): Deleted.
3193 (latin_iso8859_2_to_ucs): Deleted.
3194 (ucs_to_latin_iso8859_2): Deleted.
3195 (latin_iso8859_3_to_ucs): Deleted.
3196 (ucs_to_latin_iso8859_3): Deleted.
3197 (latin_iso8859_4_to_ucs): Deleted.
3198 (ucs_to_latin_iso8859_4): Deleted.
3199 (latin_iso8859_9_to_ucs): Deleted.
3200 (ucs_to_latin_iso8859_9): Deleted.
3201 (latin_viscii_lower_to_ucs): Deleted.
3202 (ucs_to_latin_viscii_lower): Deleted.
3203 (latin_viscii_upper_to_ucs): Deleted.
3204 (ucs_to_latin_viscii_upper): Deleted.
3205 (struct Lisp_Charset): Renamed `encoding_table' to
3206 `to_byte1_table'; add `to_byte2_table'.
3207 (CHARSET_DECODING_TABLE): New macro.
3208 (CHARSET_TO_BYTE1_TABLE): New macro.
3209 (CHARSET_TO_BYTE2_TABLE): New macro.
3210 (XCHARSET_DECODING_TABLE): New macro.
3211 (XCHARSET_TO_BYTE1_TABLE): New macro.
3212 (XCHARSET_TO_BYTE2_TABLE): New macro.
3213 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3215 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3216 don't use `ucs_to_*' tables.
3218 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3220 * text-coding.c (Fmake_coding_system): Don't set up
3221 `codesys->fixed.size'.
3222 (encode_coding_no_conversion): Use `if' instead of `switch'.
3224 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3226 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3228 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3229 (Fmake_charset): Modify for `make_charset'.
3230 (Fmake_reverse_direction_charset): Likewise.
3231 (complex_vars_of_mule_charset): Likewise.
3233 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3235 * text-coding.c (char_encode_shift_jis): Use table
3236 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3238 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3240 * text-coding.c (text_encode_generic): Use `if' instead of
3242 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3245 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3247 * text-coding.c (encode_coding_sjis): Deleted.
3248 (char_encode_shift_jis): New function.
3249 (char_finish_shift_jis): New function.
3250 (reset_encoding_stream): Set up `encode_char' and `finish' for
3251 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3252 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3253 (char_encode_utf8): Treat `eol_type'.
3255 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3257 * file-coding.c (decode_coding_iso2022): Use
3258 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3260 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3262 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3265 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3267 * char-lb.h (CHAR_COLUMNS): New macro.
3269 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3271 * text-coding.c (char_encode_ucs4): New function.
3272 (char_finish_ucs4): New function.
3273 (encode_coding_ucs4): Deleted.
3274 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3275 (text_encode_generic): Delete local variable `charset' and `half'.
3276 (ucs_to_mule_table): Deleted.
3277 (mule_to_ucs_table): Deleted.
3278 (Fset_ucs_char): Deleted.
3279 (ucs_to_char): Deleted.
3280 (Fucs_char): Deleted.
3281 (Fset_char_ucs): Deleted.
3282 (Fchar_ucs): Deleted.
3283 (decode_ucs4): Deleted.
3284 (mule_char_to_ucs4): Deleted.
3285 (encode_ucs4): Deleted.
3286 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3287 (decode_coding_utf8): Likewise.
3288 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3289 (char_encode_iso2022): Fixed.
3290 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3291 `Fset_char_ucs' and `Fchar_ucs'.
3292 (complex_vars_of_file_coding): Don't initialize
3293 `ucs_to_mule_table'.
3295 * objects-tty.c (tty_initialize_font_instance): Don't use
3298 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3301 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3302 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3304 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3305 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3306 (emchar_string_displayed_columns): Likewise.
3308 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3309 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3310 (string_column_at_point): Likewise.
3311 (Fmove_to_column): Likewise.
3313 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3314 `encoding_table' and `decoding_table'.
3315 (CHARSET_REP_BYTES): Deleted.
3316 (XCHARSET_REP_BYTES): Deleted.
3317 (XCHARSET_COLUMNS): Deleted.
3318 (CHAR_COLUMNS): New macro.
3319 (lookup_composite_char): Deleted unconditionally.
3320 (composite_char_string): Likewise.
3322 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3324 * char-ucs.h (Emchar_to_byte_table): New type.
3325 (get_byte_from_character_table): New function interface.
3326 (Vcharset_latin_jisx0201): New variable.
3327 (latin_jisx0201_to_ucs): New variable.
3328 (ucs_to_latin_jisx0201): New variable.
3329 (Vcharset_latin_iso8859_2): New variable.
3330 (latin_iso8859_2_to_ucs): New variable.
3331 (ucs_to_latin_iso8859_2): New variable.
3332 (Vcharset_latin_iso8859_3): New variable.
3333 (latin_iso8859_3_to_ucs): New variable.
3334 (ucs_to_latin_iso8859_3): New variable.
3335 (Vcharset_latin_iso8859_4): New variable.
3336 (latin_iso8859_4_to_ucs): New variable.
3337 (ucs_to_latin_iso8859_4): New variable.
3338 (Vcharset_latin_iso8859_9): New variable.
3339 (latin_iso8859_9_to_ucs): New variable.
3340 (ucs_to_latin_iso8859_9): New variable.
3341 (Vcharset_latin_viscii_lower): New variable.
3342 (latin_viscii_lower_to_ucs): New variable.
3343 (ucs_to_latin_viscii_lower): New variable.
3344 (Vcharset_latin_viscii_upper): New variable.
3345 (latin_viscii_upper_to_ucs): New variable.
3346 (ucs_to_latin_viscii_upper): New variable.
3347 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3348 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3349 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3350 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3351 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3352 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3353 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3354 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3355 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3356 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3358 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3359 (Vcharset_latin_viscii_upper): New variable.
3360 (make_byte_from_character_table): New function.
3361 (put_byte_from_character_table): New function.
3362 (get_byte_from_character_table): New function.
3363 (CHAR96): New macro.
3364 (ucs_to_latin_jisx0201): New variable.
3365 (latin_jisx0201_to_ucs): New variable.
3366 (ucs_to_latin_iso8859_2): New variable.
3367 (latin_iso8859_2_to_ucs): New variable.
3368 (ucs_to_latin_iso8859_3): New variable.
3369 (latin_iso8859_3_to_ucs): New variable.
3370 (ucs_to_latin_iso8859_4): New variable.
3371 (latin_iso8859_4_to_ucs): New variable.
3372 (ucs_to_latin_iso8859_9): New variable.
3373 (latin_iso8859_9_to_ucs): New variable.
3374 (ucs_to_latin_viscii_lower): New variable.
3375 (latin_viscii_lower_to_ucs): New variable.
3376 (ucs_to_latin_viscii_upper): New variable.
3377 (latin_viscii_upper_to_ucs): New variable.
3378 (ucs_to_latin_tcvn5712): New variable.
3379 (latin_tcvn5712_to_ucs): New variable.
3380 (Qlatin_viscii_lower): New variable.
3381 (Qlatin_viscii_upper): New variable.
3382 (syms_of_mule_charset): Set up new symbol
3383 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3384 (complex_vars_of_mule_charset): Set up new charset
3385 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3386 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3387 `ucs_to_<CHARSET>' tables.
3389 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3391 * text-coding.c: New file.
3393 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3395 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3397 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3398 (MAKE_CHAR): Modify for `ucs-bmp'.
3399 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3400 non-MULE characters of BMP.
3402 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3404 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3407 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3410 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3411 - Include character.h for `CHAR_ASCII_P'.
3413 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3415 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3416 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3418 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3419 (BYTE_C0_P): Likewise.
3420 (BYTE_C1_P): Likewise.
3421 (Lstream_get_emchar_1): Likewise.
3422 (Lstream_fput_emchar): Likewise.
3423 (Lstream_funget_emchar): Likewise.
3424 (copy_internal_to_external): Likewise.
3425 (copy_external_to_internal): Likewise.
3427 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3428 (BYTE_C0_P): Likewise.
3429 (BYTE_C1_P): Likewise.
3430 (Lstream_get_emchar_1): Likewise.
3431 (Lstream_fput_emchar): Likewise.
3432 (Lstream_funget_emchar): Likewise.
3433 (copy_internal_to_external): Likewise.
3434 (copy_external_to_internal): Likewise.
3436 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3437 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3439 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3440 (BYTE_ASCII_P): Moved to mb-1byte.h.
3442 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3444 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3446 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3447 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3448 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3449 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3450 (VALIDATE_CHARPTR_FORWARD): Likewise.
3451 (simple_charptr_emchar): Moved to mb-multibyte.h.
3452 (simple_set_charptr_emchar): Likewise.
3453 (simple_charptr_copy_char): Likewise.
3454 (non_ascii_charptr_emchar): Likewise.
3455 (non_ascii_set_charptr_emchar): Likewise.
3456 (non_ascii_charptr_copy_char): Likewise.
3457 (charptr_emchar): Moved to mb-*byte.h.
3458 (set_charptr_emchar): Likewise.
3459 (charptr_copy_char): Likewise.
3461 * mb-1byte.h, mb-multibyte.h: New files.
3463 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3465 * mb-utf-8.h (MULTIBYTE): New macro.
3466 (MAX_EMCHAR_LEN): Moved from buffer.h.
3467 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3469 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3471 * mb-lb.h, multibyte.h: New files.
3473 * char-1byte.h (Charset_ID): Moved from buffer.h.
3474 (MIN_LEADING_BYTE): Likewise.
3475 (LEADING_BYTE_ASCII): Likewise.
3476 (NUM_LEADING_BYTES): Likewise.
3477 (CHARSETP): Likewise.
3478 (CHARSET_BY_LEADING_BYTE): Likewise.
3479 (XCHARSET_LEADING_BYTE): Likewise.
3480 (XCHARSET_GRAPHIC): Likewise.
3481 (XCHARSET_COLUMNS): Likewise.
3482 (XCHARSET_DIMENSION): Likewise.
3483 (CHAR_CHARSET): Likewise.
3484 (CHAR_LEADING_BYTE): Likewise.
3485 (BREAKUP_CHAR): Likewise.
3486 (Vcharset_ascii): Likewise.
3488 * buffer.h: Include multibyte.h unconditionally.
3489 (VALID_CHARPTR_P): Moved to multibyte.h.
3490 (ASSERT_VALID_CHARPTR): Likewise.
3491 (REAL_INC_CHARPTR): Likewise.
3492 (REAL_INC_CHARBYTIND): Likewise.
3493 (REAL_DEC_CHARPTR): Likewise.
3494 (INC_CHARPTR): Likewise.
3495 (INC_CHARBYTIND): Likewise.
3496 (DEC_CHARPTR): Likewise.
3497 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3498 (VALIDATE_CHARPTR_FORWARD): Likewise.
3499 (charptr_n_addr): Likewise.
3500 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3501 (simple_charptr_emchar): Moved to multibyte.h.
3502 (simple_set_charptr_emchar): Likewise.
3503 (simple_charptr_copy_char): Likewise.
3504 (non_ascii_charptr_emchar): Likewise.
3505 (non_ascii_set_charptr_emchar): Likewise.
3506 (non_ascii_charptr_copy_char): Likewise.
3507 (charptr_emchar): Likewise.
3508 (set_charptr_emchar): Likewise.
3509 (charptr_copy_char): Likewise.
3510 (charptr_emchar_n): Likewise.
3511 (Charset_ID): Moved to char-1byte.h.
3512 (Vcharset_ascii): Likewise.
3513 (CHAR_CHARSET): Likewise.
3514 (CHAR_LEADING_BYTE): Likewise.
3515 (LEADING_BYTE_ASCII): Likewise.
3516 (NUM_LEADING_BYTES): Likewise.
3517 (MIN_LEADING_BYTE): Likewise.
3518 (CHARSETP): Likewise.
3519 (CHARSET_BY_LEADING_BYTE): Likewise.
3520 (XCHARSET_LEADING_BYTE): Likewise.
3521 (XCHARSET_GRAPHIC): Likewise.
3522 (XCHARSET_COLUMNS): Likewise.
3523 (XCHARSET_DIMENSION): Likewise.
3524 (BREAKUP_CHAR): Likewise.
3526 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3528 * character.h: Add document about interface for characters.
3530 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3531 (MAKE_CHAR): Delete comment about
3532 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3533 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3534 (BREAKUP_CHAR): Modify name of arguments.
3535 (CHAR_CHARSET): Modify name of argument.
3537 * buffer.h: Delete document about Emchar accessors.
3539 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3541 * character.h (CHAR_INTP): Moved from buffer.h
3542 (CHAR_OR_CHAR_INTP): Likewise.
3543 (XCHAR_OR_CHAR_INT): Likewise.
3544 (CHECK_CHAR_COERCE_INT): Likewise.
3546 * buffer.h (CHAR_INTP): Moved to character.h
3547 (CHAR_OR_CHAR_INTP): Likewise.
3548 (XCHAR_OR_CHAR_INT): Likewise.
3549 (CHECK_CHAR_COERCE_INT): Likewise.
3551 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3554 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3555 - Include char-1byte.h, char-lb.h or char-ucs.h.
3557 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3559 * buffer.h: Include character unconditionally.
3560 (valid_char_p): Moved to char-*.h.
3561 (non_ascii_valid_char_p): Moved to char-lb.h.
3563 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3565 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3567 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3568 in UTF-2000 because it is not ported yet and not to use
3569 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3570 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3571 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3573 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3574 (CHAR_ASCII_P): Moved from character.h.
3576 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3577 (CHAR_ASCII_P): Likewise.
3578 (CHAR_FIELD1_MASK): Deleted.
3579 (CHAR_FIELD2_MASK): Deleted.
3580 (CHAR_FIELD3_MASK): Deleted.
3581 (MAX_CHAR_BASIC_LATIN): New macro.
3582 (CHAR_FIELD1): Deleted.
3583 (CHAR_FIELD2_INTERNAL): Deleted.
3584 (CHAR_FIELD3_INTERNAL): Deleted.
3585 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3586 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3587 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3588 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3589 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3590 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3591 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3592 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3593 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3594 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3595 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3596 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3597 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3598 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3599 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3600 (MIN_CHAR_COMPOSITION): Deleted.
3601 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3602 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3604 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3606 * buffer.h: Include mb-utf-8.h in UTF-2000.
3608 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3610 * mb-utf-8.h: New file.
3612 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3614 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3617 * mule-charset.h, buffer.h (Charset_ID): New type.
3619 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3621 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3622 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3623 instead of `MULE_CHAR_PRIVATE_OFFSET',
3624 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3625 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3626 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3628 * character.h (Vcharset_japanese_jisx0212): New variable
3631 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3633 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3634 (charset_by_attributes): Delete array about direction.
3635 (latin_a_char_to_charset): New variable in UTF-2000.
3636 (latin_a_char_to_byte1): New variable in UTF-2000.
3637 (latin_a_char_to_byte2): New variable in UTF-2000.
3638 (Qucs_bmp): New variable.
3639 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3641 (next_allocated_2_byte_leading_byte): Likewise.
3642 (non_ascii_set_charptr_emchar): Likewise.
3643 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3644 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3645 `charset_by_attributes'.
3646 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3647 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3648 and `CHARSET_BY_LEADING_BYTE'.
3649 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3650 `utf-2000-version' to `vars_of_mule_charset'.
3651 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3652 define `leading-code-private-11' in UTF-2000; move setting of
3653 `utf-2000-version' from `syms_of_mule_charset'.
3654 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3657 * character.h (Charset_ID): New type.
3658 (LEADING_BYTE_UCS_BMP): New macro.
3659 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3660 (CHARSET_ID_OFFSET_94): New macro.
3661 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3662 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3663 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3665 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3666 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3667 (CHARSET_ID_OFFSET_96): New macro.
3668 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3669 CHARSET_ID_OFFSET_96 and final-byte.
3670 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3671 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3672 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3673 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3674 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3675 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3676 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3677 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3678 (LEADING_BYTE_THAI_TIS620): Likewise.
3679 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3680 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3681 (CHARSET_ID_OFFSET_94x94): New macro.
3682 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3683 CHARSET_ID_OFFSET_94x94 and final-byte.
3684 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3685 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3686 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3687 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3688 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3689 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3690 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3691 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3692 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3693 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3694 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3695 (CHARSET_TYPE_128X128): New macro.
3696 (CHARSET_TYPE_256X256): New macro.
3697 (XCHARSET_PRIVATE_P): Delete unconditionally.
3698 (charset_by_attributes): Delete array about direction.
3699 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3700 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3701 (MIN_CHAR_94): New macro.
3702 (MAX_CHAR_94): New macro.
3703 (MIN_CHAR_96): New macro.
3704 (MAX_CHAR_96): New macro.
3705 (MIN_CHAR_94x94): New macro.
3706 (MAX_CHAR_94x94): New macro.
3707 (MIN_CHAR_96x96): New macro.
3708 (MAX_CHAR_96x96): New macro.
3709 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3710 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3711 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3713 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3714 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3715 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3716 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3717 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3718 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3719 `XCHARSET_LEADING_BYTE' to make code-point.
3720 (latin_a_char_to_charset): New variable.
3721 (latin_a_char_to_byte1): New variable.
3722 (latin_a_char_to_byte2): New variable.
3723 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3724 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3725 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3727 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3728 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3729 (find_charsets_in_emchar_string): Likewise.
3730 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3732 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3734 (decode_coding_iso2022): Likewise.
3736 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3739 * redisplay.c (redisplay_text_width_emchar_string): Use
3740 `Charset_ID' instead of `unsigned char'.
3741 (redisplay_frame_text_width_string): Likewise.
3743 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3746 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3747 instead of `unsigned char'.
3748 (face_cachel_charset_font_metric_info): Likewise.
3750 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3751 (get_non_ascii_char_table_value): Likewise.
3752 (get_char_table): Likewise.
3753 (put_char_table): Likewise.
3754 (map_over_other_charset): Likewise.
3755 (map_char_table): Likewise.
3757 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3758 instead of `unsigned char'.
3760 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3762 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3763 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3765 * mule-charset.c (leading_code_private_11): Don't define in
3768 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3769 in UTF-2000 because it is not ported yet and not to use
3770 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3772 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3774 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3776 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3778 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3781 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3782 of unsigned char to store leading-byte.
3784 * chartab.c (get_non_ascii_char_table_value): Don't use
3785 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3787 * file-coding.c (encode_coding_big5): Delete bogus implementation
3790 * character.h (LEADING_BYTE_*): Delete definition for
3792 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3793 (LEADING_BYTE_PREFIX_P): Deleted.
3794 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3795 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3796 (BUFBYTE_LEADING_BYTE_P): Deleted.
3797 (CHARSET_PRIVATE_P): Deleted unconditionally.
3798 (rep_bytes_by_first_byte): Deleted unconditionally.
3799 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3800 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3801 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3802 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3803 (CHAR_FIELD2): Deleted.
3804 (CHAR_FIELD3): Deleted.
3805 (MAKE_CHAR): Delete definition for non-UTF-2000.
3806 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3807 (breakup_char_1): New implementation.
3808 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
3809 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
3811 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3813 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3816 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3818 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3819 (CHARSET_PRIVATE_P): Likewise.
3820 (XCHARSET_PRIVATE_P): Likewise.
3821 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3823 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3825 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3827 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3829 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3830 (NUM_LEADING_BYTES): Changed from 128 to 256.
3831 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3832 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
3834 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3836 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
3838 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
3839 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
3840 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
3841 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
3842 (Qchinese_cns11643_3): New variable in UTF2000.
3843 (Qchinese_cns11643_4): New variable in UTF2000.
3844 (Qchinese_cns11643_5): New variable in UTF2000.
3845 (Qchinese_cns11643_6): New variable in UTF2000.
3846 (Qchinese_cns11643_7): New variable in UTF2000.
3847 (syms_of_mule_charset): Define `chinese-cns11643-3',
3848 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3849 and `chinese-cns11643-7' in UTF2000.
3850 (vars_of_mule_charset): Initialize
3851 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
3853 (complex_vars_of_mule_charset): Setup charset
3854 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
3855 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
3857 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3859 * mule-charset.c: Move setting for `leading-code-private-11' from
3860 `syms_of_mule_charset' to `vars_of_mule_charset'.
3862 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3864 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
3865 and `NUM_LEADING_BYTES' in assert.
3867 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3869 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
3871 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
3872 `NUM_LEADING_BYTES' instead of 128.
3874 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3876 * mule-charset.h (charset_by_leading_byte): Use
3877 `NUM_LEADING_BYTES' instead of 128.
3878 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
3880 * mule-charset.c (charset_by_leading_byte): Use
3881 `NUM_LEADING_BYTES' instead of 128.
3882 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
3884 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
3887 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3889 * mule-charset.c (syms_of_mule_charset): Update to
3892 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3894 * file-coding.c (encode_coding_sjis): New implementation for
3895 UTF2000. (decode_coding_sjis): Ditto.
3897 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3899 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
3900 Don't define in UTF2000.
3902 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
3905 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3906 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
3909 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3911 * config.h.in (CHAR_IS_UCS4): New macro.
3913 * mule-charset.c (rep_bytes_by_first_byte): Modify for
3914 conventional MULE representation.
3915 (syms_of_mule_charset): Update to 0.3 (Imamiya).
3917 * mule-charset.h: Reverted to original.
3919 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3920 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
3921 "mule-charset.h" if CHAR_IS_UCS4 is defined.
3923 * character.h: New file.
3925 * file-coding.c (Fmake_coding_system): Set 1 to
3926 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
3928 (encode_coding_no_conversion): New implementation for UTF2000.
3930 * file-coding.h (struct Lisp_Coding_System): Add new member
3933 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3935 * file-coding.c (decode_coding_iso2022): Code-point arguments of
3936 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
3937 (encode_coding_iso2022): New implementation for UTF2000.
3939 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3941 * mule-canna.c (c2mu): New implementation for UTF2000.
3944 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3946 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
3948 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3950 * file-coding.c (reset_encoding_stream): Set 0 to
3951 `str->iso2022.current_char_boundary' in UTF2000.
3952 (encode_utf8): Don't define in UTF2000.
3953 (encode_coding_utf8): New implementation for UTF-8 representation
3955 (complex_vars_of_file_coding): Define coding-system `utf-8'.
3957 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3959 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
3961 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
3963 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3965 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
3967 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
3968 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
3969 as UTF-8 in UTF2000.
3970 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
3971 (non_ascii_valid_char_p): Don't define in UTF2000.
3972 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
3973 (Lstream_get_emchar_1): Likewise.
3974 (utf-2000-version): New variable in UTF2000.
3976 * lread.c (read_escape): Add new reader `u'.
3978 * insdel.c (three_to_one_table): Don't define in UTF2000.
3979 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
3980 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3982 (bytind_to_bufpos_func): Likewise.
3983 (buffer_mule_signal_inserted_region): Likewise.
3984 (vars_of_insdel): Don't initialize `three_to_one_table'.
3985 (init_buffer_text): Use `buf->text->mule_size' instead of
3986 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3989 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
3990 UTF-8 representation in UTF2000.
3991 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
3992 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
3993 (decode_coding_iso2022): Don't define local variable `lb' in
3994 UTF2000; don't use LEADING_BYTE in UTF2000; use
3995 `DECODE_ADD_UCS_CHAR' in UTF2000.
3996 (convert_to_external_format): Decode as UTF-8 in UTF2000.
3998 * config.h.in (UTF2000): New macro.
4000 * buffer.h (struct buffer_text): Add new member `mule_size' and
4001 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4002 (valid_char_p): Return always 1 in UTF2000.
4003 (MAX_EMCHAR_LEN): 6 in UTF2000.
4004 (three_to_one_table): Don't define in UTF2000.
4005 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4007 (real_bytind_to_bufpos): Likewise.
4009 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4011 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4013 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4014 representation change.
4015 (Vutf_2000_version): New variable.
4016 (leading_code_private_11): New variable.
4017 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4018 `leading-code-private-11'.
4020 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4021 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4022 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4023 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4024 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4025 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4026 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4027 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4028 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4029 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4030 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4031 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4032 (MIN_CHAR_GREEK): New macro.
4033 (MAX_CHAR_GREEK): New macro.
4034 (MIN_CHAR_CYRILLIC): New macro.
4035 (MAX_CHAR_CYRILLIC): New macro.
4036 (MIN_CHAR_HEBREW): New macro.
4037 (MAX_CHAR_HEBREW): New macro.
4038 (MIN_CHAR_THAI): New macro.
4039 (MAX_CHAR_THAI): New macro.
4040 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4041 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4042 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4043 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4044 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4045 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4046 (CHAR_FIELD2): New inline function.
4047 (CHAR_FIELD3): New inline function.
4048 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4049 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4050 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4051 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4052 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4053 (MIN_CHAR_COMPOSITION): Likewise.
4054 (CHAR_LEADING_BYTE): Modified for character representation change.
4055 (MAKE_CHAR): Likewise.
4057 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4058 (Vcharset_greek_iso8859_7): Likewise.
4059 (Vcharset_cyrillic_iso8859_5): Likewise.
4060 (Vcharset_hebrew_iso8859_8): Likewise.
4061 (Vcharset_thai_tis620): Likewise.
4062 (Vcharset_katakana_jisx0201): Likewise.
4064 2001-02-08 Martin Buchholz <martin@xemacs.org>
4066 * XEmacs 21.2.44 "Thalia" is released.
4068 2001-02-06 Martin Buchholz <martin@xemacs.org>
4070 Fixes crashes in kill-emacs on some systems.
4071 * process-unix.c (unix_kill_child_process):
4072 It's OK for kill() to fail with ESRCH.
4074 2001-02-07 Martin Buchholz <martin@xemacs.org>
4076 Contortions to make .gdbinit tricks work on most systems.
4077 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
4078 * alloc.c (dbg_valmask): Make non-const.
4079 * alloc.c (dbg_typemask): Make non-const.
4080 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
4081 * alloc.c (dbg_valbits): Make non-const.
4082 * alloc.c (dbg_gctypebits): Make non-const.
4083 * .gdbinit (decode_object): Make it work with AIX cc.
4085 2001-02-06 Martin Buchholz <martin@xemacs.org>
4087 * elhash.c (make_general_lisp_hash_table):
4088 Use simpler and more efficient calloc to clear entries.
4090 2001-02-07 Martin Buchholz <martin@xemacs.org>
4092 * window.c (window_scroll): Work around an AIX C compiler bug.
4093 Fixes 'scroll-up' does nothing problem with xlC.
4095 2001-02-05 Martin Buchholz <martin@xemacs.org>
4097 * .gdbinit: Remove obsolete comment.
4099 2001-01-31 Mike Alexander <mta@arbortext.com>
4101 * select.c (Fown_selection_internal): Set owned_p for device
4104 2001-02-01 Martin Buchholz <martin@xemacs.org>
4107 "not" cannot be used as a macro name as it is an operator in C++
4108 * config.h.in: Stop #defining `not'.
4109 * chartab.c (check_category_char): not ==> not_p
4110 * chartab.h: Likewise.
4111 * regex.c (re_match_2_internal): Likewise.
4113 2001-02-02 Martin Buchholz <martin@xemacs.org>
4115 * lisp-disunion.h: Fix up comments.
4117 2001-01-31 Martin Buchholz <martin@xemacs.org>
4119 * keymap.c (define_key_check_and_coerce_keysym):
4121 Support mouse-6 and mouse-7 bindings in the obvious way.
4123 2001-02-01 Martin Buchholz <martin@xemacs.org>
4125 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
4127 2001-01-30 Martin Buchholz <martin@xemacs.org>
4129 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
4130 Previous patch missed DEFVAR_INT_MAGIC.
4131 Make sure future DEFVAR_foo use correct types.
4132 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
4133 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
4134 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
4135 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
4136 * (DEFVAR_INT): Likewise.
4137 * redisplay.c (vertical_clip): Should be of type Fixnum.
4138 * redisplay.c (horizontal_clip): Likewise.
4139 * lisp.h (dump_add_opaque_int): New.
4140 (dump_add_opaque_fixnum): New.
4142 2001-01-29 Andy Piper <andy@xemacs.org>
4144 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4145 since they can be eval'ed
4147 2001-01-29 Martin Buchholz <martin@xemacs.org>
4149 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4150 Oops, XEmacs redefines `class'. Use `typename' instead.
4152 2001-01-28 Martin Buchholz <martin@xemacs.org>
4154 * dumper.c: Fix C++ compile errors.
4156 2001-01-29 Martin Buchholz <martin@xemacs.org>
4158 * tparam.c: Use correct prototypes.
4160 2001-01-28 Martin Buchholz <martin@xemacs.org>
4162 * sysproc.h: #include util.h for NetBSD's openpty.
4164 2001-01-27 Martin Buchholz <martin@xemacs.org>
4166 More 64-bit correctness.
4167 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4168 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4170 This finally finishes the 64-bit SGI port.
4171 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4172 * symbols.c: Fix up comments and type casts.
4173 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4174 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4175 * symeval.h (Fixnum): New type.
4176 * symeval.h (symbol_value_type): Fix up comment.
4192 * mule-canna.c: A million DEFVAR_INTs here...
4193 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4206 s/int/Fixnum/g in DEFVAR_INT declarations.
4208 2001-01-26 Martin Buchholz <martin@xemacs.org>
4210 Port pdump to SGI alignment-sensitive environment.
4211 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4212 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4214 Define and use aligned reading and writing macros.
4215 Use buffered stdio instead of posix i/o for faster dumping.
4216 Eliminate kludgy 256 byte space for header.
4217 Read and write from dump file using structs for alignment safety.
4218 * dumper.c (pdump_align_stream): New.
4219 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4220 * dumper.c (PDUMP_READ_ALIGNED): New.
4221 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4222 * dumper.c (pdump_static_Lisp_Object): New struct.
4223 * dumper.c (pdump_static_pointer): New struct.
4224 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4225 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4226 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4227 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4229 * dumper.c (pdump_backtrace):
4230 * dumper.c (pdump_get_indirect_count):
4231 * dumper.c (pdump_register_object):
4232 * dumper.c (pdump_register_struct):
4233 * dumper.c (pdump_reloc_one):
4234 * dumper.c (pdump_scan_by_alignment):
4235 * dumper.c (pdump_dump_from_root_struct_ptrs):
4236 * dumper.c (pdump_dump_opaques):
4237 * dumper.c (pdump_dump_rtables):
4238 * dumper.c (pdump_dump_from_root_objects):
4240 * dumper.c (pdump_load_finish):
4241 Use aligned reading and writing.
4243 * dumper.c (pdump_free): Make static.
4244 * dumper.c (pdump_hFile): Likewise.
4245 * dumper.c (pdump_hMap): Likewise.
4247 2001-01-26 Martin Buchholz <martin@xemacs.org>
4249 * XEmacs 21.2.43 "Terspichore" is released.
4251 2001-01-25 Martin Buchholz <martin@xemacs.org>
4253 Type fiddling for window_config.saved_windows_count
4254 * window.c (struct window_config):
4255 Make saved_windows_count member unsigned.
4256 * window.c (sizeof_window_config_for_n_windows):
4257 Make parameter unsigned.
4258 * window.c (mark_window_config):
4259 * window.c (window_config_equal):
4260 * window.c (free_window_configuration):
4261 * window.c (Fset_window_configuration):
4262 * window.c (count_windows):
4263 * window.c (Fcurrent_window_configuration):
4264 * window.c (reinit_vars_of_window):
4265 Update all callers and users.
4267 2001-01-25 Martin Buchholz <martin@xemacs.org>
4269 Alignment correctness for flexible arrays.
4270 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4271 Make alignment-correct. Add interesting comments.
4272 * alloc.c (size_vector):
4273 * alloc.c (make_vector_internal):
4274 * alloc.c (make_bit_vector_internal):
4275 * alloc.c (sweep_bit_vectors_1):
4276 * fns.c (size_bit_vector):
4277 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4278 * window.c (sizeof_window_config_for_n_windows):
4279 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4281 2001-01-24 Martin Buchholz <martin@xemacs.org>
4283 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4285 2001-01-23 Andy Piper <andy@xemacs.org>
4287 * select.c (Fown_selection_internal): pass owned_p
4289 * select-msw.c (mswindows_own_selection): New Signature.
4291 * console.h (struct console_methods): add owned_p to
4294 * select-x.c (x_own_selection): pass owned_p
4295 (hack_motif_clipboard_selection): use owned_p
4296 (vars_of_select_x): new variable -
4297 x_selection_strict_motif_ownership.
4299 2001-01-23 Martin Buchholz <martin@xemacs.org>
4301 * specifier.h (specifier_data_offset): Remove pointless parens.
4302 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4304 2001-01-24 Martin Buchholz <martin@xemacs.org>
4306 Make Lisp_Object sizeof methods be alignment-correct.
4307 pdump must restore objects to the same alignment as the C compiler
4308 assumes. It really matters on SGIs.
4309 * lstream.c (aligned_sizeof_lstream): New.
4310 (sizeof_lstream): Use aligned_sizeof_lstream.
4311 (Lstream_new): Likewise.
4312 * opaque.c (aligned_sizeof_opaque): New.
4313 (sizeof_opaque): Use aligned_sizeof_opaque.
4314 (make_opaque): Likewise.
4315 * specifier.c (aligned_sizeof_specifier): New.
4316 (sizeof_specifier): Use aligned_sizeof_specifier.
4317 (make_specifier_internal): Likewise.
4319 2001-01-23 Martin Buchholz <martin@xemacs.org>
4321 * lstream.h (struct lstream): Use max_align_t for trailing data.
4322 * specifier.h (struct Lisp_Specifier): Likewise.
4324 2001-01-22 Martin Buchholz <martin@xemacs.org>
4326 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4327 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4328 (CCL_SUSPEND): Likewise.
4329 (CCL_INVALID_CMD): Likewise.
4330 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4331 (ccl_driver): Likewise.
4332 (CCL_WRITE_CHAR): Macro hygiene.
4333 (CCL_WRITE_STRING): Macro hygiene.
4335 2001-01-22 Martin Buchholz <martin@xemacs.org>
4337 Port "portable" dumper to SunOS 4 and HP-UX.
4338 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4339 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4340 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4342 2001-01-22 Martin Buchholz <martin@xemacs.org>
4344 * lisp.h (ALIGNOF): A better definition for C++.
4346 2001-01-20 Martin Buchholz <martin@xemacs.org>
4349 Fix printf warnings: int format, long int arg.
4350 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4351 (PUSH_FAILURE_POINT): Use correct printf formats.
4352 (POP_FAILURE_POINT): Use correct printf formats.
4353 Use do {...} while (0)
4355 2001-01-20 Martin Buchholz <martin@xemacs.org>
4357 * XEmacs 21.2.42 "Poseidon" is released.
4359 2001-01-20 Martin Buchholz <martin@xemacs.org>
4361 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4363 2001-01-19 Martin Buchholz <martin@xemacs.org>
4365 De-kludgify FIXED_TYPE free list frobbing.
4366 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4367 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4368 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4369 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4370 * alloc.c (LRECORD_FREE_P): New.
4371 * alloc.c (MARK_LRECORD_AS_FREE): New.
4372 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4373 * alloc.c (STRUCT_FREE_P): Deleted.
4374 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4375 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4376 * alloc.c (STRING_CHARS_FREE_P): New.
4377 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4378 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4379 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4380 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4381 * alloc.c (resize_string): Use new definitions.
4382 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4383 * alloc.c (verify_string_chars_integrity): Use new definitions.
4384 * alloc.c (compact_string_chars): Use new definitions.
4385 * alloc.c: Update monster comments.
4386 * lrecord.h (lrecord_type): Add some new lrecord types for
4389 2001-01-18 Martin Buchholz <martin@xemacs.org>
4391 Improve alignment hackery.
4392 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4393 (max_align_t): Moved from opaque.h - general purpose.
4394 (ALIGN_PTR): Use size_t, not long.
4395 * opaque.h (max_align_t): Move to lisp.h.
4397 2001-01-18 Norbert Koch <nk@LF.net>
4399 * gui.h: Fix and add prototypes to fix build problems.
4401 2001-01-18 Martin Buchholz <martin@xemacs.org>
4403 temacs is going away, so `dump-temacs' is now a bad name.
4404 * .dbxrc (dump-temacs): Rename to `dmp'.
4405 * .gdbinit (dump-temacs): Rename to `dmp'.
4407 2001-01-17 Andy Piper <andy@xemacs.org>
4409 * glyphs.c (print_image_instance): comment to make martin happy.
4411 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4414 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4416 (mswindows_tab_control_redisplay): warning suppression.
4418 * glyphs-widget.c (widget_update): re-write to cope with updated
4420 (widget_instantiate): use new gui_item functions.
4421 (tab_control_update): deleted.
4422 (progress_gauge_update): deleted.
4423 (image_instantiator_progress_guage): take out update reference.
4424 (image_instantiator_tree_view): ditto.
4425 (image_instantiator_tab_control): ditto.
4427 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4429 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4430 return whether anything was changed.
4431 (update_gui_item_keywords): as it sounds.
4433 * gui.h: declare widget_gui_parse_item_keywords.
4435 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4436 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4438 2001-01-17 Martin Buchholz <martin@xemacs.org>
4440 * XEmacs 21.2.41 "Polyhymnia" is released.
4442 2001-01-16 Didier Verna <didier@xemacs.org>
4444 * glyphs.c (image_instantiate): don't use fallbacks when
4445 instantiating a face's background pixmap by inheritance.
4447 2001-01-14 Mike Sperber <mike@xemacs.org>
4449 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4450 Conditionalize accordingly.
4452 2001-01-16 Martin Buchholz <martin@xemacs.org>
4454 * dumper.c (pdump_file_get): Fix a compiler warning.
4456 2001-01-15 Martin Buchholz <martin@xemacs.org>
4458 Make Purify happy when pdumping.
4459 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4460 iniitalizing all bits of new lisp object memory.
4461 * symbols.c (Fmake_local_variable): Likewise.
4462 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4463 * symbols.c (Fdefvaralias): Likewise.
4464 * mule-charset.c (vars_of_mule_charset): Likewise.
4466 2001-01-15 Martin Buchholz <martin@xemacs.org>
4467 Add the `-nd' flag when running pre-dump operations under the debugger.
4468 * .dbxrc (run-temacs): Add `-nd'.
4469 * .dbxrc (update-elc): Likewise.
4470 * .dbxrc (dump-temacs): Likewise.
4471 * .gdbinit (run-temacs): Likewise.
4472 * .gdbinit (check-temacs): Likewise.
4473 * .gdbinit (update-elc): Likewise.
4474 * .gdbinit (dump-temacs): Likewise.
4476 2001-01-14 Martin Buchholz <martin@xemacs.org>
4478 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4479 export OBJECT_MODE=64
4480 configure --pdump --use-union-type=no
4481 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4482 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4484 * miscplay.c (sndcnv8U_2mono):
4485 Avoid two uses of `++' in the same expression.
4486 Suppresses a GCC warning.
4488 2001-01-13 Martin Buchholz <martin@xemacs.org>
4490 Make sure future compilers don't miscompile alloc.c.
4492 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4493 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4495 2001-01-12 Martin Buchholz <martin@xemacs.org>
4497 * dumper.c: A little post-pdump-rename comment fixup.
4499 2001-01-09 Jerry James <james@eecs.ku.edu>
4501 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4503 2001-01-13 Martin Buchholz <martin@xemacs.org>
4505 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4509 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4512 replace_symbol pdump_wire_lists pdump_weak_object_chains
4513 replace_symbol pdump_wire_list dump_add_weak_object_chain
4515 replace_symbol pdump_wires pdump_root_objects
4516 replace_symbol pdump_wire dump_add_root_object
4518 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4519 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4521 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4522 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4523 replace_symbol dumpstructinfo pdump_root_struct_ptr
4524 replace_symbol dumpstruct dump_add_root_struct_ptr
4526 replace_symbol dumpopaque dump_add_opaque
4527 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4528 replace_symbol dumpopaqueinfos pdump_opaques
4529 replace_symbol dumpopaqueinfo pdump_opaque
4531 replace_symbol nb_structdump nb_root_struct_ptrs
4532 replace_symbol nb_opaquedump nb_opaques
4534 replace_symbol align_table pdump_align_table
4535 replace_symbol dump_header pdump_header
4537 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4538 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4541 2001-01-12 Martin Buchholz <martin@xemacs.org>
4543 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4544 optimizing bytecount_to_charcount().
4546 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4549 (HAVE_DLFCN_H): Removed.
4550 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4552 2001-01-06 Martin Buchholz <martin@xemacs.org>
4554 Portable dumper maintainability improvements.
4555 * alloc.c (staticpro):
4556 * alloc.c (staticpro_nodump):
4557 * alloc.c (garbage_collect_1):
4558 * alloc.c (reinit_alloc_once_early):
4559 * alloc.c (init_alloc_once_early):
4560 * alloc.c: Move dumper functions to alloc.c.
4561 * dumper.c (pdump_backtrace):
4562 * dumper.c (pdump_dump_structs):
4563 * dumper.c (pdump_dump_opaques):
4564 * dumper.c (pdump_dump_rtables):
4565 * dumper.c (pdump_dump_wired):
4567 * dumper.c (pdump_load_check):
4568 * dumper.c (pdump_load_finish):
4569 * dumper.c (pdump_file_unmap):
4570 * dumper.c (pdump_file_get):
4571 * dumper.c (pdump_resource_free):
4572 * dumper.c (pdump_resource_get):
4573 * dumper.c (pdump_file_free):
4574 * dumper.c (pdump_file_try):
4575 * dumper.c (pdump_load):
4576 Remove fixed size limits on staticpro(), staticpro_nodump(),
4577 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4578 Remove custom code for dumping lrecord_implementations_table - use
4580 Remove (most of the) custom code for dumping staticpros - dump it
4581 like any other dynarr.
4583 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4584 * dumper.c: Moved functions from alloc.c.
4585 * alloc.c (dumpstruct): Moved to dumper.c.
4586 * alloc.c (dumpopaque): Likewise.
4587 * alloc.c (pdump_wire): Likewise.
4588 * alloc.c (pdump_wire_list): Likewise.
4590 * lisp.h (Dynarr_sizeof): New.
4591 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4592 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4593 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4595 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4596 * lisp.h (dumpopaque): ditto.
4597 * lisp.h (pdump_wire): ditto.
4598 * lisp.h (pdump_wire_list): ditto.
4600 2001-01-09 Martin Buchholz <martin@xemacs.org>
4602 * make-src-depend (PrintPatternDeps):
4603 Use `sort' to make output independent of perl version.
4605 2001-01-08 Martin Buchholz <martin@xemacs.org>
4608 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4609 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4611 2001-01-03 Didier Verna <didier@xemacs.org>
4613 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4614 that `focus_frame' is alive before thinking of calling
4615 `redisplay_redraw_cursor' on it.
4617 2001-01-08 Martin Buchholz <martin@xemacs.org>
4619 * XEmacs 21.2.40 is released.
4621 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4623 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4625 2001-01-06 Martin Buchholz <martin@xemacs.org>
4627 * alloc.c (dbg_valmask): Make const.
4628 * alloc.c (dbg_typemask): Make const.
4629 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4630 * alloc.c (dbg_valbits): Make const.
4631 * alloc.c (dbg_gctypebits): Make const.
4633 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4635 * redisplay-x.c (x_bevel_area):
4636 redisplay.h (struct rune):
4637 Typo fixes in comments.
4639 2001-01-05 Andy Piper <andy@xemacs.org>
4641 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4644 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4646 2001-01-05 Martin Buchholz <martin@xemacs.org>
4648 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4650 * mule-ccl.c (stack_idx_of_map_multiple):
4651 Non const global data must not be initialized!
4652 Found by MIYASHITA Hisashi.
4654 2001-01-02 Andy Piper <andy@xemacs.org>
4656 * frame.c (change_frame_size): make sure frame size is always
4659 * glyphs.c (image_instance_layout): minor code reuse.
4661 * window.c (Fcurrent_window_configuration): revert previous
4664 2001-01-02 Martin Buchholz <martin@xemacs.org>
4667 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4669 2000-12-31 Andy Piper <andy@xemacs.org>
4671 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4672 when widget gets unmapped.
4674 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4675 function. Make sure widgets losing focus don't just drop it.
4676 (handle_focus_event_1): record the widget with focus.
4678 2000-12-31 Andy Piper <andy@xemacs.org>
4680 * window.c (allocate_window): use
4681 make_image_instance_cache_hash_table.
4682 (make_dummy_parent): ditto.
4683 (Fset_window_configuration): ditto.
4685 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4687 * glyphs.c (process_image_string_instantiator): use
4689 (get_image_instantiator_governing_domain): ditto.
4690 (normalize_image_instantiator): ditto.
4691 (instantiate_image_instantiator): ditto.
4692 (make_image_instance_1): ditto.
4693 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4694 (instantiator_eq_equal): new function for use with instance hash
4696 (instantiator_eq_hash): ditto.
4697 (make_image_instance_cache_hash_table): create a suitable hash
4698 table for storing image instances.
4700 * elhash.h (hash_table_weakness): new internal weakness type
4701 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4702 declare new functions.
4704 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4705 another weakness type for glyphs.
4706 (make_standard_lisp_hash_table): new function split out from
4707 make_general_lisp_hash_table.
4708 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4709 (hash_table_instantiate): ditto.
4710 (Fmake_hash_table): ditto.
4712 2000-12-31 Martin Buchholz <martin@xemacs.org>
4714 * XEmacs 21.2.39 is released.
4716 2000-12-29 Andy Piper <andy@xemacs.org>
4718 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4720 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4721 the frame has changed so that we pick up geometry changes such as
4724 2000-12-28 Andy Piper <andy@xemacs.org>
4726 * lastfile.c (my_ebss): make a char array so we can pad the
4727 bss. Fixes cygwin unexec.
4729 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4731 2000-12-26 Andy Piper <andy@xemacs.org>
4733 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
4734 comments and try and be more precise about a non-/SIGIO world.
4735 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
4738 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
4739 we don't normalize to zero width or height.
4741 2000-12-24 Andy Piper <andy@xemacs.org>
4743 * Makefile.in.in (ldflags): add -mwindows when appropriate.
4745 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
4747 * s/sco5.h: SCO 5 has pty support.
4749 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
4751 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
4752 input-method-xlib.c contains whole contents of input-method-xfs.c,
4753 so we can use input-method-xlib.c's code for USE_XFONTSET
4755 * input-method-xfs.c: removed.
4757 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
4759 * file-coding.h (enum coding_category_type): reorder enumerators to
4760 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
4761 (now one greater than largest real coding_category_type enumerator).
4762 * file-coding.c (coding_category_symbol, coding_category_by_priority,
4763 coding_category_system, fcd_descriptihon_1, decode_coding_category,
4764 Fcoding_category_list, Fset_coding_priority_list,
4765 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
4766 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
4768 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4770 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
4771 * redisplay-output.c (redisplay_output_window): Clear top of window
4772 when face is changed.
4773 * redisplay-x.c (x_redraw_exposed_window): Call
4774 redisplay_clear_top_of_window.
4775 * redisplay.h: Publish redisplay_clear_top_of_window.
4777 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4779 * buffer.c (Fkill_buffer): Map over all devices.
4780 * window.c (window_loop): Remove UNSHOW_BUFFER code.
4781 (list_windows): New function.
4782 (list_all_windows): Ditto.
4783 (Freplace_buffer_in_windows): Use them.
4785 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4787 * database.c (berkdb_subtype): Recognize new subtype `queue'.
4788 (Fopen_database): Use `db_create' instead of `db_open'.
4789 (syms_of_database): Initialize Qqueue.
4791 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4793 * buffer.c (common_init_complex_vars_of_buffer): Initialize
4794 buffer_local_face_property.
4795 * buffer.h (struct buffer): New member buffer_local_face_property.
4796 * window.c (Fset_window_buffer): Mark window's face as changed
4797 when buffer has buffer local face.
4798 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
4799 * objects.c (color_after_change): Set buffer_local_face_property
4800 when locale of face specifier is buffer.
4801 * objects.c (font_after_change): Ditto.
4802 * objects.c (face_boolean_after_change): Ditto.
4803 * glyphs.c (image_after_change): Ditto.
4805 2000-12-09 Dan Holmsand <dan@eyebee.com>
4807 * nt.c (mswindows_fstat): Report file permissions, volume serial
4808 number, etc. Code adapted from FSF Emacs 20.7.
4810 2000-12-09 Dan Holmsand <dan@eyebee.com>
4812 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
4813 of stat when we don't have symbolic links, to make sure
4814 mswindows_stat is called on mswindows.
4816 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
4818 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
4820 2000-12-12 Martin Buchholz <martin@xemacs.org>
4822 * doprnt.c (emacs_doprnt_1): More printing fixes.
4823 Make printing of numbers compatible with libc and FSF Emacs.
4824 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
4825 Use the system printf to do most of the hard work of formatting,
4826 instead of doprnt_1().
4827 Calculate memory to allocate for format string.
4828 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
4829 (doprnt_1): Cleaner code and documentation.
4831 2000-12-01 Jerry James <james@eecs.ukans.edu>
4833 * Makefile.in.in: Use the loop variable to install headers.
4835 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4837 * window.c (Fsplit_window): Don't invalidate face cache.
4839 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4841 * minibuf.c (Fall_completions): Undo the previous change
4842 which removed checking elements start with space.
4844 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4846 * mule-canna.c: Didier suppression.
4848 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4850 * mule-canna.c: rename static unsigned char buf[] to key_buffer
4851 (warning suppression). Add English comment translations.
4853 2000-12-05 Martin Buchholz <martin@xemacs.org>
4855 * unexelfsgi.c (unexec): Better test for mmap failure.
4857 2000-12-05 Martin Buchholz <martin@xemacs.org>
4859 * XEmacs 21.2.38 is released.
4861 2000-12-05 Martin Buchholz <martin@xemacs.org>
4863 * redisplay.c (bar-cursor): Make a user variable.
4865 * symsinit.h: Add init_postgresql_from_environment.
4867 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4869 * regex.c: Convert to clean C.
4871 2000-12-05 Dan Holmsand <dan@eyebee.com>
4874 Don't #include sysfile.h. Revert to duplicating PATH_MAX
4876 (sys_readlink): renamed to system_readlink to avoid conflict with
4877 the other sys_readlink.
4879 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
4881 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
4883 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
4885 * postgresql.c (init_postgresql_from_environment): new function.
4886 (vars_of_postgresql): Move code initializing Lisp variables out and
4887 into init_postgresql_from_environment.
4888 emacs.c (main_1): Call init_postgresql_from_environment if and only
4889 if running a dumped XEmacs.
4891 2000-08-31 Dan Holmsand <dan@eyebee.com>
4893 * buffer.c: Make find-file-compare-truenames default to true on
4896 * realpath.c (win32_abs_start):
4898 (win32_readlink): New functions.
4899 (xrealpath): Return really real filenames on windows.
4901 * fileio.c (Ffile_truename): Make file-truename work on windows.
4903 2000-11-29 Didier Verna <didier@xemacs.org>
4905 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
4906 * faces.c (update_face_cachel_data): use it.
4907 * faces.c (add_face_cachel): use it. Complete background pixmap
4908 frobbing in face cache if `update_face_cachel_data' has not done so.
4910 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
4912 * search.c (string_match_1): Don't set last_thing_searched
4915 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
4917 * buffer.c: Include casetab.h
4918 (common_init_complex_vars_of_buffer): Use new case-table object.
4919 * buffer.h: Include casetab.h
4920 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
4921 (DOWNCASE_TABLE_OF): Ditto.
4922 * bufslots.h: Remove char-tables and add case-table.
4923 * casetab.c: Include casetab.h
4924 (CASE_TABLE_P): Removed.
4925 (mark_case_table): New function.
4926 (allocate_case_table): New function.
4927 (Fcase_table_p): Use new case-table.
4928 (case_table_char): New function.
4929 (Fget_case_table): Ditto.
4930 (Fput_case_table): Ditto.
4931 (Fput_case_table_pair): Ditto.
4932 (Fcopy_case_table): Ditto.
4933 (Fcurrent_case_table): Return case-table.
4934 (Fstandard_case_table): Return case-table.
4935 (Fset_case_table): Fix doc-string.
4936 (set_case_table): Use case-table
4937 (syms_of_casetab): DEFSUBR new functions.
4938 (complex_vars_of_casetab): Set up standard case-table.
4939 * casetab.h: New file.
4940 * editfns.c: Include casetab.h
4941 (Fcompare_buffer_substrings): Use case-table.
4942 * inline.c: Include casetab.h
4943 * lisp.h: Remove bogus extern.
4944 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
4945 * search.c: Include casetab.h
4946 (TRANSLATE_ASCII): Removed.
4947 (TRANSLATE): Unconditionally translate character.
4948 (looking_at_1): Use case-table.
4949 (string_match_1): Ditto.
4950 (fast_string_match): Ditto.
4951 (search_command): Ditto.
4952 (search_buffer): Separate boyer_moore. Check whether
4953 boyer_moore is possible.
4954 (simple_search): New function.
4955 (boyer_moore): Separated from search_buffer. Translate char.
4957 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
4959 * regex.c (RE_TR_ASCII): Removed.
4960 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
4961 (PATFETCH): Call PATFETCH_RAW.
4962 (PATFETCH_RAW): Fetch Emchar.
4963 (PATUNFETCH): Decrement charptr.
4964 (GET_BUFFER_SPACE): Rename b to buf_end.
4966 (BUF_PUSH_2): Ditto.
4967 (BUF_PUSH_3): Ditto.
4968 (EXTEND_BUFFER): Ditto.
4969 (SET_LIST_BIT): Ditto.
4970 (regex_compile): Ditto. Translate non ASCII char.
4971 (compile_range): Ditto.
4972 (re_search_2): Ditto.
4973 (re_match_2_internal): Compare Emchar.
4974 (bcmp_translate): Ditto.
4976 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
4978 * lisp.h (basic char/int typedefs): comment improvement.
4980 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
4982 * emacs.c (main_1): unconditional pdump unstomping; don't save and
4983 unstomp inhibit_site_lisp. Improve comments.
4985 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
4987 * mule-charset.c (Fcharset_property): improve type checking, comments.
4989 2000-11-28 Andy Piper <andy@xemacs.org>
4991 * redisplay-output.c (redisplay_output_subwindow): make sure we do
4992 clipped display for windows in the gutter also.
4993 (redisplay_display_boxes_in_window_p): change semantics of return
4994 codes to be more intuitive.
4996 * gutter.h: declare display_boxes_in_gutter_p.
4998 * gutter.c (display_boxes_in_gutter_p): new function for
5001 2000-11-22 Andy Piper <andy@xemacs.org>
5003 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
5006 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
5008 * callproc.c (Fold_call_process_internal):
5009 * gpm.c (Freceive_gpm_event):
5010 (tty_get_foreign_selection): Might be just warning supression.
5011 * fileio.c (Fwrite_region_internal):
5012 (Fset_visited_file_modtime):
5013 * keymap.c (event_matches_key_specifier_p):
5014 Initialize GCPROed variable.
5016 * menubar-x.c (command_builder_find_menu_accelerator):
5017 Initialize before use.
5019 2000-11-23 Andy Piper <andy@xemacs.org>
5021 * unexcw.c (unexec): make the resulting executable executable.
5023 2000-11-21 Martin Buchholz <martin@xemacs.org>
5025 * doc.c (get_doc_string):
5026 Use size_t, not int, for result of XSTRING_LENGTH.
5028 * cmds.c (Fdelete_char):
5029 * cmds.c (Fpoint_at_eol):
5030 * cmds.c (Fself_insert_command):
5031 Use EMACS_INT, not int, for result of XINT.
5032 Someday, someone will want to insert more than 2**31 identical characters.
5034 * cmds.c (Fdelete_char):
5035 * cmds.c (Fdelete_backward_char):
5036 * syntax.c (Fforward_word):
5037 * syntax.c (Fforward_comment):
5038 Make COUNT argument optional, for consistency with forward-char et al.
5040 2000-11-22 Martin Buchholz <martin@xemacs.org>
5043 * print.c (long_to_string):
5044 Return a useful value: the pointer at end of data written.
5047 Use `static const char * const' for constant strings.
5048 (union printf_arg): Delete `i', `ui' members.
5051 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
5052 Do all printf-ing via the `l' specifier.
5053 Use EMACS_INT instead of int.
5056 2000-11-20 Didier Verna <didier@xemacs.org>
5058 * faces.c (update_face_cachel_data): don't frob the background
5059 pixmap when the window is being created. The face is needed but
5062 2000-11-20 Andy Piper <andy@xemacs.org>
5064 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
5065 messing with a debug environment.
5067 2000-11-20 Martin Buchholz <martin@xemacs.org>
5069 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
5071 2000-11-20 Martin Buchholz <martin@xemacs.org>
5073 * casetab.c (Fcase_table_p): Fix compile error and crash.
5075 2000-11-18 Philip Aston <philipa@mail.com>
5077 * s/cygwin32.h: Cygwin has SVR4-like pty support.
5079 2000-11-18 Martin Buchholz <martin@xemacs.org>
5081 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
5082 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
5084 2000-11-17 Martin Buchholz <martin@xemacs.org>
5086 * config.h.in: Define HAVE_ELF_H if elf.h exists.
5087 * unexelf.c: Use HAVE_ELF_H.
5088 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
5089 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
5090 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
5091 Greg Harrington <greg_harrington@hotmail.com> provided a machine
5093 So this is an unexelfsgi.c from a different line of development.
5095 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5097 * regex.c (RE_TR_ASCII): New function.
5098 (RE_TRANSLATE): Call it.
5100 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5102 * buffer.h (TRT_TABLE_OF): Remove assert.
5103 (IN_TRT_TABLE_DOMAIN): Removed.
5105 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
5107 * free-hook.c (log_gcpro):
5108 (show_gcprohist): Add support for GCPRO5.
5110 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
5112 * emacs.c (main_1): Improve -sd error message when --pdump=no.
5114 2000-11-16 Olivier Galibert <galibert@xemacs.org>
5116 * symeval.h: Declare flush_all_buffer_local_cache.
5118 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
5119 (flush_buffer_local_cache): Added.
5120 (flush_all_buffer_local_cache): Added.
5122 * lrecord.h: Remove unused XD_LO_RESET_NIL.
5124 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
5125 (pdump_dump_data): Ditto.
5126 (pdump_reloc_one): Ditto.
5127 (pdump): Remove unused pdump_qnil. Flush buffer local caches
5131 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5133 * buffer.c: Remove if 0'ed entry.
5134 * buffer.h: Rewrite TRT to use char-table.
5135 * bufslots.h: Remove mirror tables.
5136 * casetab.c: Remove mirror tables.
5137 (CASE_TABLE_P): New macro.
5138 (Fcase_table_p): Element of a case table is string or char-table.
5139 (make_mirror_trt_table): Removed.
5140 (set_case_table): Setup char-table from strings for backward
5142 * dired.c (Fdirectory_files):
5143 * dired-msw.c: (mswindows_get_files):
5144 * lisp.h: Change prototype of re_pattern_buffer.
5145 * regex.c: (RE_TRANSLATE): New macro.
5146 (TRANSLATE_P): Ditto.
5147 Change translate to type RE_TRANSLATE_TYPE.
5148 * regex.h: Define RE_TRANSLATE_TYPE
5149 * search.c (TRANSLATE): New macro.
5150 (TRANSLATE_ASCII): New macro.
5151 Translate table is changed to Lisp_Object.
5152 (signal_failure): Inhibit return.
5154 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5161 Do UNGCPRO before return.
5163 2000-11-14 Martin Buchholz <martin@xemacs.org>
5165 * XEmacs 21.2.37 is released.
5167 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5169 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5170 Add comments about discarded return value.
5172 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5175 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5177 2000-10-27 Andy Piper <andy@xemacs.org>
5179 * gutter.c (Fset_default_gutter_position): default left and right
5181 (calculate_gutter_size): calculate resonable heuristic for left
5182 and right gutter sizes.
5183 (specifier_vars_of_gutter): change left and right gutter sizes to
5185 (calculate_gutter_size_from_display_lines): new function.
5186 (output_gutter): check for resizing on left and right gutters.
5187 (clear_gutter): don't special case top and left gutters.
5188 (specifier_vars_of_gutter): use new signature for
5189 set_specifier_caching.
5191 * glyphs-x.c (x_redisplay_widget): spelling fix.
5192 * glyphs.c (specifier_vars_of_glyphs):
5193 * menubar.c (specifier_vars_of_menubar):
5194 * redisplay.c (specifier_vars_of_redisplay):
5195 * toolbar.c (specifier_vars_of_toolbar):
5196 * window.c (specifier_vars_of_window):
5197 * scrollbar.c (specifier_vars_of_scrollbar):
5198 (complex_vars_of_scrollbar): use new signature for
5199 set_specifier_caching.
5201 * specifier.c (set_specifier_caching): include recompute flag.
5202 (recompute_one_cached_specifier_in_window): always recompute if
5204 (recompute_one_cached_specifier_in_frame): ditto.
5206 * specifier.h (struct specifier_caching): add recompute flag.
5208 2000-10-24 Andy Piper <andy@xemacs.org>
5210 * unexcw.c (copy_executable_and_dump_data_section): add new
5211 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5214 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5216 * console-x.h (x_device): New member modifier_release_time.
5217 * event-Xt.c (x_handle_sticky_modifiers):
5218 Bound interval modifier keys are sticky.
5219 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5220 * events.h: extern it.
5222 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5224 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5226 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5228 * event-stream.c (execute_command_event): Preserve current_events
5229 and the like when event is misc-user-event.
5230 Inhibit quit during the call to maybe_echo_keys.
5232 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5234 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5235 symlink when buffer is killed.
5236 (inhibit_clash_detection): New variable.
5238 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5240 * console.c (Fset_input_method): Trigger redisplay on tty.
5242 2000-11-07 Martin Buchholz <martin@xemacs.org>
5244 * process.c (Fprocess_status): Revert to previous behavior:
5245 (process-status "nosuchprocess") ==> nil
5247 2000-11-06 Martin Buchholz <martin@xemacs.org>
5249 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5250 Work around another GCC 2.95.2 optimizer bug.
5252 2000-11-02 Martin Buchholz <martin@xemacs.org>
5254 * process.c (Fget_process): Use LIST_LOOP_2.
5255 (kill_buffer_processes): Use LIST_LOOP_2.
5257 * minibuf.c (Fall_completions):
5258 Delete old non-functional code for FSF fourth argument.
5260 * frame.c (frame_matches_frame_spec):
5261 Renamed from `frame_matches_frametype'. Update all callers.
5262 (device_matches_device_spec):
5263 Renamed from 'device_matches_console_spec'. Update all callers.
5265 * doc.c (Fsubstitute_command_keys):
5266 Remove buffer overflow crash. Small code cleanups.
5268 * casetab.c (check_case_table): Simpler code.
5270 * window.c (Freplace_buffer_in_windows):
5271 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5272 (and similar implementation) as Fdelete_windows_on.
5275 * alloc.c (Fmake_list):
5276 * alloc.c (make_vector):
5277 * alloc.c (Fmake_vector):
5278 * alloc.c (make_bit_vector):
5279 * alloc.c (Fmake_bit_vector):
5280 * alloc.c (Fbit_vector):
5281 * alloc.c (Fmake_string):
5282 * alloc.c (Fpurecopy):
5283 * alloc.c (Fmemory_limit):
5285 * buffer.c (Fget_buffer):
5286 * buffer.c (Fkill_buffer):
5287 * buffer.c (complex_vars_of_buffer):
5288 * bytecode.c (Fcompiled_function_stack_depth):
5289 * callint.c (Fprefix_numeric_value):
5291 * event-stream.c (Fread_key_sequence):
5293 * casetab.c (Fcase_table_p):
5294 * casetab.c (check_case_table):
5295 * casetab.c (Fset_case_table):
5296 * casetab.c (Fset_standard_case_table):
5298 * chartab.c (Fchar_table_type):
5299 * chartab.c (Freset_char_table):
5300 * chartab.c (Fget_char_table):
5301 * chartab.c (Fget_range_char_table):
5302 * chartab.c (Fput_char_table):
5303 * chartab.c (Fmap_char_table):
5304 * chartab.c (Fcategory_table_p):
5305 * chartab.c (Fcheck_category_at):
5306 * chartab.c (Fchar_in_category_p):
5307 * chartab.c (Fcategory_table):
5308 * chartab.c (Fcopy_category_table):
5309 * chartab.c (Fset_category_table):
5310 * chartab.c (Fcategory_designator_p):
5311 * chartab.c (Fcategory_table_value_p):
5312 * cmds.c (Fdelete_char):
5313 * cmds.c (Fdelete_backward_char):
5314 * cmds.c (Fself_insert_command):
5315 * cmds.c (Fself_insert_internal):
5316 * console.c (Fvalid_console_type_p):
5317 * console.c (Fcdfw_console):
5318 * console.c (Fconsole_type):
5319 * console.c (Fconsole_name):
5320 * console.c (Fconsole_device_list):
5321 * console.c (Fconsole_on_window_system_p):
5325 * data.c (Fsubr_interactive):
5326 * data.c (Fchar_to_int):
5327 * data.c (Fint_to_char):
5330 * data.c (Fnumber_to_string):
5331 * data.c (Fstring_to_number):
5333 * database.c (mark_database):
5334 * database.c (finalize_database):
5335 * database.c (Fdatabase_live_p):
5336 * database.c (Fdatabasep):
5337 * device-x.c (Fx_get_resource):
5338 * device.c (Fdfw_device):
5340 * dired.c (Ffile_name_completion):
5341 * dired.c (Ffile_name_all_completions):
5342 * dired.c (Fuser_name_completion):
5343 * dired.c (Fuser_name_completion_1):
5344 * dired.c (Fuser_name_all_completions):
5345 * doc.c (Fdocumentation):
5346 * doc.c (Fdocumentation_property):
5347 * doc.c (Fsubstitute_command_keys):
5349 * editfns.c (Fchar_to_string):
5350 * editfns.c (Fstring_to_char):
5351 * editfns.c (Ftemp_directory):
5352 * editfns.c (Finsert_char):
5353 * editfns.c (Fbuffer_substring_no_properties):
5354 * editfns.c (Fnarrow_to_region):
5355 * editfns.c (Fchar_equal):
5356 * editfns.c (Fchar_Equal):
5357 * editfns.c (Ftranspose_regions):
5358 * emacs.c (Fdump_emacs):
5360 * eval.c (Fcommand_execute):
5361 * eval.c (Fautoload):
5362 * eval.c (Fbacktrace):
5363 * eval.c (Fbacktrace_frame):
5365 * events.c (Fcopy_event):
5366 * events.c (Fcharacter_to_event):
5367 * events.c (Fevent_button):
5368 * events.c (Fevent_process):
5370 * extents.c (Fnext_extent_change):
5371 * extents.c (Fextent_property):
5373 * faces.c (Fmake_face):
5375 * file-coding.c (Fencode_shift_jis_char):
5376 * file-coding.c (Fencode_big5_char):
5377 * fileio.c (Ffile_name_directory):
5378 * fileio.c (Ffile_name_nondirectory):
5379 * fileio.c (Ffile_name_as_directory):
5380 * fileio.c (Fdirectory_file_name):
5381 * fileio.c (Ffile_truename):
5382 * fileio.c (Fsubstitute_in_file_name):
5383 * fileio.c (Ffile_modes):
5384 * fileio.c (Fset_file_modes):
5385 * fileio.c (Fset_default_file_modes):
5386 * fileio.c (Fverify_visited_file_modtime):
5387 * floatfns.c (Facos):
5388 * floatfns.c (Fasin):
5389 * floatfns.c (Fatan):
5390 * floatfns.c (Fcos):
5391 * floatfns.c (Fsin):
5392 * floatfns.c (Ftan):
5393 * floatfns.c (Fbessel_j0):
5394 * floatfns.c (Fbessel_j1):
5395 * floatfns.c (Fbessel_jn):
5396 * floatfns.c (Fbessel_y0):
5397 * floatfns.c (Fbessel_y1):
5398 * floatfns.c (Fbessel_yn):
5399 * floatfns.c (Ferf):
5400 * floatfns.c (Ferfc):
5401 * floatfns.c (Flog_gamma):
5402 * floatfns.c (Fexp):
5403 * floatfns.c (Fexpt):
5404 * floatfns.c (Flog):
5405 * floatfns.c (Flog10):
5406 * floatfns.c (Fsqrt):
5407 * floatfns.c (Fcube_root):
5408 * floatfns.c (Facosh):
5409 * floatfns.c (Fasinh):
5410 * floatfns.c (Fatanh):
5411 * floatfns.c (Fcosh):
5412 * floatfns.c (Fsinh):
5413 * floatfns.c (Ftanh):
5414 * floatfns.c (Fabs):
5415 * floatfns.c (Ffloat):
5416 * floatfns.c (Flogb):
5417 * floatfns.c (Fceiling):
5418 * floatfns.c (Ffloor):
5419 * floatfns.c (Fround):
5420 * floatfns.c (Ftruncate):
5421 * floatfns.c (Ffceiling):
5422 * floatfns.c (Fffloor):
5423 * floatfns.c (Ffround):
5424 * floatfns.c (Fftruncate):
5425 * fns.c (Fstring_equal):
5426 * fns.c (Fstring_lessp):
5431 * fns.c (Fsubstring):
5433 * fns.c (Fold_assoc):
5434 * fns.c (assoc_no_quit):
5436 * fns.c (Fold_assq):
5437 * fns.c (assq_no_quit):
5439 * fns.c (Fold_rassoc):
5441 * fns.c (Fold_rassq):
5442 * fns.c (rassq_no_quit):
5443 * fns.c (Fremassoc):
5444 * fns.c (remassoc_no_quit):
5446 * fns.c (remassq_no_quit):
5447 * fns.c (Fremrassoc):
5448 * fns.c (Fremrassq):
5449 * fns.c (remrassq_no_quit):
5451 * fns.c (Fplist_get):
5452 * fns.c (Fplist_put):
5453 * fns.c (Fplist_remprop):
5454 * fns.c (Fplist_member):
5455 * fns.c (Flax_plist_get):
5456 * fns.c (Flax_plist_put):
5457 * fns.c (Flax_plist_remprop):
5458 * fns.c (Flax_plist_member):
5460 * fns.c (Fold_equal):
5462 * fns.c (Fbase64_encode_region):
5463 * fns.c (Fbase64_encode_string):
5464 * fns.c (Fbase64_decode_region):
5466 * frame.c (frame_matches_frame_spec):
5467 * frame.c (device_matches_device_spec):
5468 * frame.c (next_frame):
5469 * frame.c (previous_frame):
5470 * frame.c (Fnext_frame):
5471 * frame.c (Fprevious_frame):
5472 * frame.c (Fframe_property):
5473 * frame.c (Fset_frame_height):
5474 * frame.c (Fset_frame_size):
5478 * glyphs.c (decode_error_behavior_flag):
5479 * glyphs.c (Fmake_image_instance):
5480 * indent.c (Findent_to):
5481 * intl.c (Fignore_defer_gettext):
5482 * keymap.c (Fkeymapp):
5483 * keymap.c (Flookup_key):
5485 * lread.c (Fload_internal):
5486 * lread.c (Feval_buffer):
5487 * lread.c (Feval_region):
5488 * macros.c (Fexecute_kbd_macro):
5489 * marker.c (set_marker_internal):
5490 * marker.c (Fset_marker):
5491 * marker.c (set_marker_restricted):
5492 * marker.c (Fcopy_marker):
5493 * marker.c (noseeum_copy_marker):
5495 * menubar.c (Fpopup_menu):
5497 * mule-charset.c (Fcharset_name):
5498 * mule-charset.c (Fchar_charset):
5499 * mule-charset.c (Fchar_octet):
5500 * mule-charset.c (Fsplit_char):
5501 * mule-wnnfns.c (Fwnn_open):
5502 * mule-wnnfns.c (Fwnn_dict_comment):
5503 * mule-wnnfns.c (Fwnn_quit_henkan):
5504 * mule-wnnfns.c (Fwnn_word_toroku):
5505 * mule-wnnfns.c (Fwnn_word_sakujo):
5506 * mule-wnnfns.c (Fwnn_word_use):
5507 * mule-wnnfns.c (Fwnn_hindo_set):
5509 * objects.c (Fmake_color_instance):
5510 * objects.c (Fmake_font_instance):
5511 * print.c (Fwrite_char):
5513 * process.c (mark_process):
5514 * process.c (print_process):
5515 * process.c (get_process_from_usid):
5516 * process.c (Fprocessp):
5517 * process.c (Fprocess_live_p):
5518 * process.c (Fget_process):
5519 * process.c (Fget_buffer_process):
5520 * process.c (get_process):
5521 * process.c (Fprocess_id):
5522 * process.c (Fprocess_name):
5523 * process.c (Fprocess_command):
5524 * process.c (init_process_io_handles):
5525 * process.c (start_process_unwind):
5526 * process.c (Fstart_process_internal):
5527 * process.c (Fopen_multicast_group_internal):
5528 * process.c (Fset_process_window_size):
5529 * process.c (read_process_output):
5530 * process.c (send_process):
5531 * process.c (Fprocess_tty_name):
5532 * process.c (Fset_process_buffer):
5533 * process.c (Fprocess_buffer):
5534 * process.c (Fprocess_mark):
5535 * process.c (set_process_filter):
5536 * process.c (Fset_process_filter):
5537 * process.c (Fprocess_filter):
5538 * process.c (Fprocess_send_region):
5539 * process.c (Fprocess_send_string):
5540 * process.c (exec_sentinel):
5541 * process.c (Fset_process_sentinel):
5542 * process.c (Fprocess_sentinel):
5543 * process.c (status_notify):
5544 * process.c (Fprocess_status):
5545 * process.c (Fprocess_exit_status):
5546 * process.c (process_send_signal):
5547 * process.c (Fprocess_send_eof):
5548 * process.c (deactivate_process):
5549 * process.c (remove_process):
5550 * process.c (Fdelete_process):
5551 * process.c (kill_buffer_processes):
5552 * process.c (Fprocess_kill_without_query):
5553 * process.c (Fprocess_kill_without_query_p):
5555 * rangetab.c (Fget_range_table):
5556 * rangetab.c (Fput_range_table):
5557 * rangetab.c (Fremove_range_table):
5558 * rangetab.c (Fclear_range_table):
5560 * search.c (Fskip_chars_forward):
5561 * search.c (Fskip_chars_backward):
5562 * search.c (Fskip_syntax_forward):
5563 * search.c (Fskip_syntax_backward):
5564 * search.c (search_command):
5565 * search.c (Freplace_match):
5566 * search.c (Fregexp_quote):
5567 * select.c (Fown_selection_internal):
5568 * select.c (Fselection_owner_p):
5569 * select.c (Fselection_exists_p):
5570 * select.c (Fget_selection_internal):
5573 * symbols.c (Fintern):
5574 * symbols.c (Fintern_soft):
5575 * symbols.c (Funintern):
5576 * symbols.c (Fapropos_internal):
5577 * symbols.c (Fset_default):
5579 * syntax.c (Fsyntax_table_p):
5580 * syntax.c (Fcopy_syntax_table):
5581 * syntax.c (Fset_syntax_table):
5582 * syntax.c (Fchar_syntax):
5583 * syntax.c (syntax_match):
5584 * syntax.c (Fmatching_paren):
5585 * syntax.c (Fforward_word):
5586 * syntax.c (scan_lists):
5587 * syntax.c (Fscan_lists):
5588 * syntax.c (Fscan_sexps):
5589 * syntax.c (Fparse_partial_sexp):
5590 * toolbar.c (Fcheck_toolbar_button_syntax):
5593 * window.c (Fwindowp):
5594 * window.c (Fwindow_live_p):
5595 * window.c (Fwindow_point):
5596 * window.c (Fdelete_window):
5597 * window.c (Fnext_window):
5598 * window.c (Fprevious_window):
5599 * window.c (Fother_window):
5600 * window.c (window_loop):
5601 * window.c (Fget_lru_window):
5602 * window.c (Fsplit_window):
5603 * window.c (Fenlarge_window):
5604 * window.c (Fenlarge_window_pixels):
5605 * window.c (Fshrink_window):
5606 * window.c (Fshrink_window_pixels):
5607 * window.c (change_window_height):
5608 * window.c (Fwindow_configuration_p):
5609 * window.c (Fcurrent_window_configuration):
5611 * casefiddle.c (casify_object):
5612 * casefiddle.c (Fupcase):
5613 * casefiddle.c (Fdowncase):
5614 * casefiddle.c (Fcapitalize):
5615 * casefiddle.c (Fupcase_initials):
5616 * casefiddle.c (casify_region_internal):
5617 * casefiddle.c (casify_region):
5618 * casefiddle.c (Fupcase_region):
5619 * casefiddle.c (Fdowncase_region):
5620 * casefiddle.c (Fcapitalize_region):
5621 * casefiddle.c (Fupcase_initials_region):
5622 * casefiddle.c (Fupcase_word):
5623 * casefiddle.c (Fdowncase_word):
5624 * casefiddle.c (Fcapitalize_word):
5625 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5626 Replace 0 with '\0' when working with bytes.
5627 Replace initial "(" with "\(" in docstrings.
5629 2000-11-01 Martin Buchholz <martin@xemacs.org>
5631 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5633 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5635 2000-10-31 Martin Buchholz <martin@xemacs.org>
5637 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5639 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5641 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5644 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5646 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5647 (inhibit_auto_save_session): New variable.
5648 (vars_of_fileio): Declare and initialize them.
5649 * fileio.c (Fdo_auto_save): Don't create session file if
5650 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5652 2000-10-31 Martin Buchholz <martin@xemacs.org>
5654 * sgiplay.c (play_internal): C++ compilability.
5655 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5656 * callproc.c (Fold_call_process_internal):
5657 Remove unused vars `env', `first'.
5658 * scrollbar.c (update_scrollbar_instance):
5659 #### unused var `current_window'.
5660 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5661 etc. within #ifdef NOT_YET.
5662 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5663 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5664 * specifier.c (specifier_instance):
5665 #### unused var `tag'.
5666 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5668 2000-10-27 Martin Buchholz <martin@xemacs.org>
5671 * fns.c (list_sort):
5672 * fns.c (Ffillarray):
5673 * fns.c (bytecode_nconc2):
5676 * fns.c (Fmapconcat):
5677 Be pedantically 64-bit correct. For the time when someone will
5678 want to have a list with length > 2**32.
5680 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5681 Work around MIPSpro compiler bug.
5683 * process-unix.c (unix_kill_child_process): Add snarky comment.
5684 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5686 * config.h.in: Oops, _getpt ==> _getpty
5688 2000-10-26 Martin Buchholz <martin@xemacs.org>
5692 Use void*, not char*, as return type of alloca().
5694 * alloc.c (free_marker): Side effect inside assert expression!
5696 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5698 * mule-charset.c (Fset_charset_ccl_program): To check
5699 if the given ccl program is valid, use setup_ccl_program()
5700 instead of CHECK_VECTOR().
5701 (Fmake_charset): Likewise.
5703 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5705 * faces.c (get_extent_fragment_face_cache_index):
5706 Fix cachel.merged_faces memory leak.
5708 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5710 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5711 Reset MSB of octets obtained by DECODE_SJIS
5712 because of the incompatibility with Emacs.
5713 (ccl_driver)<CCL_ENCODE_SJIS>:
5714 Set MSB of octets before passing them to
5715 ENCODE_SJIS because of the incompatibility
5718 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5720 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5721 (DECLARE_LRECORD): Undo the last change.
5722 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5724 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5726 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5727 the implementation to lrecord_implementations_table.
5729 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5731 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5732 initial value of `lrecord_type_##c_name' and
5733 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
5734 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
5735 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
5736 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
5737 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
5739 2000-10-17 Martin Buchholz <martin@xemacs.org>
5741 * miscplay.c (sndcnv8S_2mono):
5742 (sndcnv2monounsigned):
5743 (sndcnvULaw_2linear):
5745 Remove implementation-defined behavior.
5747 2000-10-12 Martin Buchholz <martin@xemacs.org>
5749 * input-method-xlib.c: Warning suppression.
5751 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
5753 * mule-ccl.c: Sync up with Emacs 21.0.90.
5754 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
5756 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
5758 (ccl_driver[WriteMultibyteChar2]): Bug fix.
5759 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
5760 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
5761 leading char belongs to official 2-dimensional charset.
5762 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
5763 write the given character as is. Otherwise,
5764 if it is a multibyte char, convert it by
5765 non_ascii_set_charptr_emchar, then write it.
5766 (CCL_WRITE_STRING): Likewise.
5767 (ccl_get_compiled_code): New function.
5768 (setup_ccl_program): When ccl_prog is invalid,
5770 (Fregister_code_conversion_map): New function.
5771 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
5773 * mule-ccl.h: Sync up with Emacs 21.0.90.
5774 (Fregister_ccl_program): export it.
5776 * redisplay-msw.c (separate_textual_runs):
5777 If ccl program is not valid, don't do ccl conversion.
5779 * redisplay-x.c (separate_textual_runs): Ditto.
5781 * file-coding.c (Fmake_coding_system):
5782 When type is ccl and value is vector, register it
5783 with a proper symbol. And checks whether the
5784 given ccl program is valid.
5785 (mule_decode): When calling ccl_driver, if src indicates
5786 NULL pointer, set an empty string instead.
5787 (mule_encode): Likewise.
5789 2000-10-11 Martin Buchholz <martin@xemacs.org>
5791 The following large batch of changes gets us back to a state of
5792 C++ compilability. Extbyte is now a char, which means that
5793 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
5795 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
5797 * sound.c (Fplay_sound): Type correctness.
5799 * select-x.c (hack_motif_clipboard_selection): Type correctness.
5800 (x_get_window_property): Type correctness.
5801 (receive_incremental_selection): unsigned char ==> Extbyte
5802 (selection_data_to_lisp_data): unsigned char ==> Extbyte
5803 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
5804 (Fx_store_cutbuffer_internal): Type correctness.
5806 * process-unix.c (try_to_initialize_subtty): Type correctness.
5808 * objects-x.c (x_print_color_instance): Type correctness.
5809 (x_print_font_instance): Type correctness.
5810 (x_list_fonts): SExtbyte ==> Extbyte.
5811 (valid_x_font_name_p): SExtbyte ==> Extbyte.
5812 (x_find_charset_font): SExtbyte ==> Extbyte.
5813 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
5814 (truename_via_XListFonts): SExtbyte ==> Extbyte.
5815 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
5818 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
5819 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
5820 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
5821 (BYTE_C0_P): Use bit ops for char-signedness safety.
5822 (BYTE_C1_P): Use bit ops for char-signedness safety.
5823 (CHARSET_BY_LEADING_BYTE):
5824 (CHARSET_BY_ATTRIBUTES):
5825 Always use inline function.
5826 Use type_checking_assert.
5829 * mule-charset.c (non_ascii_charptr_copy_char):
5830 Modify to work with both ASCII and non-ASCII characters.
5831 Improve docs and variable names.
5832 Replace over-clever fall-through switch with a simple loop.
5833 (Lstream_get_emchar_1):
5834 Replace over-clever fall-through switch with a simple loop.
5836 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5837 Warning suppression.
5839 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
5840 the return value of Lstream_getc, which could be EOF as well.
5842 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
5844 * lisp.h: Make Extbyte a char, not unsigned char, so that external
5845 APIs can be used on Extbytes without casts. Risky!
5849 * input-method-xlib.c (XIM_init_device):
5850 Use Xlib.h instead of IntrinsicP.h.
5851 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
5852 which will break in X11R7.
5853 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
5854 to call XRegisterIMInstantiateCallback with correct types.
5856 * gui-x.c (button_item_to_widget_value): Type correctness.
5858 * glyphs.c (bitmap_to_lisp_data): Type correctness.
5860 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
5861 (xbm_instantiate_1): Type correctness.
5862 (BUILD_GLYPH_INST): Type correctness.
5864 * fileio.c (Fsubstitute_in_file_name): Type correctness.
5867 (decode_coding_sjis):
5868 (decode_coding_big5):
5869 (decode_coding_ucs4):
5870 (decode_coding_utf8):
5871 (decode_coding_iso2022):
5872 (decode_coding_no_conversion):
5873 Make all decoding functions take an Extbyte * arg.
5874 (encode_coding_sjis):
5875 (encode_coding_big5):
5876 (encode_coding_ucs4):
5877 (encode_coding_utf8):
5878 (encode_coding_iso2022):
5879 (encode_coding_no_conversion):
5880 Make all encoding functions take a Bufbyte * arg.
5881 Use size_t instead of unsigned int for memory sizes.
5882 Only cast to unsigned char whenever dereferencing Extbyte *.
5884 * doc.c (unparesseuxify_doc_string): Type correctness.
5886 * console-x.c (split_up_display_spec):
5887 Rewrite without using details of internal string representation.
5888 (x_semi_canonicalize_device_connection): Type correctness.
5891 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
5892 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
5893 (HAVE_XFREE386): Removed.
5895 * buffer.h (DEC_CHARPTR): `const' correctness.
5896 (bufbyte_strcmp): New.
5897 (bufbyte_memcmp): New.
5899 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
5901 * buffer.h (XCHAR_OR_CHAR_INT):
5902 Always use inline function.
5903 Remove redundant type checking assert() - XINT will abort quite nicely.
5905 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
5907 * search.c (Freplace_match): Set newtext to an empty string.
5909 2000-10-10 Martin Buchholz <martin@xemacs.org>
5911 * s/decosf1-3.h: Remove #include of stropts.h
5912 * s/ptx.h: Remove #include of stropts.h
5913 * s/usg5-4.h: Remove #include of stropts.h
5916 Use stropts.h, not sys/stropts.h.
5917 Use strtio.h, not sys/strtio.h.
5919 2000-10-04 Martin Buchholz <martin@xemacs.org>
5921 * XEmacs 21.2.36 is released.
5923 2000-09-21 Andy Piper <andy@xemacs.org>
5925 * glyphs-x.c (x_redisplay_widget): make sure non-structural
5926 changes still involve copying the widget tree.
5927 (update_widget_face): make sure a change is register in the widget
5928 tree. Call update_tab_widget_face appropriately.
5929 (update_tab_widget_face): ditto.
5930 (x_tab_control_redisplay): make sure non-structural changes still
5931 involve copying the widget tree.
5933 2000-08-31 Daiki Ueno <ueno@unixuser.org>
5935 * lread.c (locate_file): Check the path element is non-nil.
5937 2000-10-02 Martin Buchholz <martin@xemacs.org>
5939 * lisp.h: Warning suppression for SCO compilers.
5941 * redisplay-tty.c (reset_tty_modes): Fix crash.
5942 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
5944 2000-09-27 Martin Buchholz <martin@xemacs.org>
5946 Big signal/process handling overhaul. Bugs fixed:
5947 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
5948 M-x comint-kill-subjob should work for both values nil and t of
5949 process-connection-type. It was broken on most platforms.
5950 Testing on Irix and Cygwin still needed. Other plaforms tested.
5951 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
5952 * process-unix.c: Signal/Process handling overhaul.
5953 (pty_name): make 64 bytes, as `expect' does, for paranoia.
5954 (allocate_pty): Use all available modern methods of allocating
5955 ptys, falling back to old style BSD allocation as a last resort.
5956 Use allegedly more secure Unix98 pty allocation by default.
5957 (allocate_pty_the_old_fashioned_way): New. the last resort.
5958 (unix_create_process): Push ptem, ldterm, ttcompat where
5959 available. Autoconfiscate.
5960 (try_to_initialize_subtty): New.
5961 (unix_kill_child_process): Proper signal handling for ptys on most
5962 platforms, using special knowledge of AIX, BSD, etc...
5963 (unix_create_process): Always disconnect_controlling_terminal() for
5964 subprocesses, whether using ptys or not.
5965 * process.h: Remove old getpt-dependent PTY code.
5966 * process.c (Fprocess_send_signal): New, obvious generic function.
5967 (decode_signal): New.
5968 (Finterrupt_process):
5972 (Fcontinue_process):
5973 (Fsignal_process): Use decode_signal.
5974 (process_send_signal):
5975 Many docstring corrections.
5976 Allow any signal to be sent to a process object.
5977 * config.h.in: Add symbols for big signal/process overhaul.
5978 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
5979 * sysproc.h: Include process-related headers, where available:
5980 sys/stropts.h sys/strtio.h pty.h libutil.h
5988 Remove old S&M pty stuff.
5989 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
5990 * systty.h: Simplify cpp hackery, improve comments.
5991 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
5993 * editfns.c (Fformat_time_string):
5994 Be a little more paranoid with the return value of ctime.
5996 * fileio.c (check_executable):
5998 Use symbolic constants X_OK, W_OK.
6000 * console-x.c (split_up_display_spec): Fix a warning.
6002 2000-10-02 Martin Buchholz <martin@xemacs.org>
6004 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
6005 * ntproc.c (sys_spawnve): make_string ==> build_string
6006 Small clarity improvements.
6008 2000-09-30 Martin Buchholz <martin@xemacs.org>
6010 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
6012 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
6014 * config.h.in (HAVE_STRCASECMP): Remove.
6016 2000-09-29 Martin Buchholz <martin@xemacs.org>
6018 * redisplay-output.c (redisplay_output_pixmap):
6019 Cleaner and possibly more 64-bit correct code.
6021 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6023 * dumper.c (pdump_load_finish): move restoration of
6024 `noninteractive1' to emacs.c (main_1).
6025 * emacs.c (main_1): protect LISP-visible command-line flags
6028 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
6030 * Makefile.in.in (versionclean): Use EXE_TARGET and
6031 DUMP_TARGET instead of literal program names.
6033 2000-09-20 Martin Buchholz <martin@xemacs.org>
6035 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
6037 2000-09-19 Martin Buchholz <martin@xemacs.org>
6039 * *: Spelling mega-patch
6041 2000-09-19 Martin Buchholz <martin@xemacs.org>
6043 * fns.c (bad_bad_turtle):
6044 Delete "Eek!" comment, since we fixed the bug to which it refers.
6046 2000-09-16 Martin Buchholz <martin@xemacs.org>
6048 * alloca.c: Replace REGISTER with register.
6050 2000-09-16 Daiki Ueno <ueno@unixuser.org>
6052 * file-coding.c (ucs_to_char): Use countof.
6054 2000-09-16 Martin Buchholz <martin@xemacs.org>
6056 * file-coding.c: (ucs_to_char):
6057 (complex_vars_of_file_coding):
6058 Use countof instead of sizeof.
6059 Use CHECK_NATNUM instead of CHECK_INT.
6061 * sysdep.c (strcasecmp): Remove.
6062 * device-x.c (ascii_strcasecmp): New.
6063 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
6064 Avoid using non-standard non-portable strcasecmp.
6066 2000-09-16 Martin Buchholz <martin@xemacs.org>
6068 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
6069 * font-lock.c: remove reference to emacsfns.h.
6070 * search.c: small doc improvement.
6071 * event-Xt.c: correct file names in comments.
6072 * console-x.h Correct file names in comments.
6073 * frame.c: Correct file names in comments.
6074 * event-stream.c: remove Energize from comments.
6076 2000-09-15 Martin Buchholz <martin@xemacs.org>
6078 * symeval.h (DEFERROR_STANDARD):
6081 (DEFSYMBOL_NO_DUMP):
6082 (DEFSYMBOL_MULTIWORD_PREDICATE):
6083 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
6085 The construct &##name is not sensible C.
6086 Fixes compilation errors with Unixware native compiler.
6088 2000-09-14 Martin Buchholz <martin@xemacs.org>
6090 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
6091 (next_frame_internal): Removed. We now just have next_frame.
6093 Write a simpler and cleaner one-pass algorithm.
6094 Remove called_from_delete_device arg and #ifdefed-out code.
6096 Renamed from prev_frame. Update callers.
6097 Cleaned up to have an analogous implementation to next_frame.
6098 (other_visible_frames_internal): Remove the
6099 called_from_delete_device bogus arg, and hence, remove this
6100 function. Just use other_visible_frames().
6102 * window.c (Fnext_window):
6104 Since next_frame() is guaranteed to return a frame, remove check
6105 for nil inserted in previous patch.
6108 Make code look more like Fnext_window.
6110 Respect the `console' arg when iterating through windows.
6111 Fixes bug: (get-buffer-window buffer t device) not respecting
6113 This function needs more work, as others have pointed out.
6115 * frame.h: Rename prev_frame to previous_frame.
6116 device_matches_console_spec no longer takes a `frame' arg.
6121 Use EMACS_BLOCK_SIGNAL instead of sigblock.
6122 From "Golubev I. N." <gin@mo.msk.ru>.
6124 * make-src-depend: Fix typo.
6126 2000-09-13 Martin Buchholz <martin@xemacs.org>
6128 * window.c (Fnext_window):
6129 next_frame() might return nil, not a frame.
6131 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6133 * frame.c (next_frame_internal):
6134 We've passed a frame if we've passed its device.
6136 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6137 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
6139 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6141 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6142 Allow option to suppress accelerators in menu/dialog items.
6143 (populate_or_checksum_helper): Pass dialog title through above.
6145 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6147 * event-msw.c (mswindows_key_to_emacs_keysym):
6148 Add "pause" key, fix "menu" key.
6150 2000-09-09 Martin Buchholz <martin@xemacs.org>
6152 * eval.c (reinit_vars_of_eval):
6153 Increase max_lisp_eval_depth to 1000,
6154 required for thai-xtis.el to byte-compile under some circumstances.
6156 2000-09-04 Martin Buchholz <martin@xemacs.org>
6158 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6161 2000-09-01 Martin Buchholz <martin@xemacs.org>
6163 * make-src-depend: Make the generated Makefiles smaller.
6165 * s/hpux.h (SETUP_SLAVE_PTY):
6166 Provide a %d in the format string for the errno argument.
6168 * editfns.c (Ftemp_directory):
6170 Avoid buffer overrun on very long file name.
6172 * input-method-xlib.c (XIM_init_device):
6173 6th parameter of XRegisterIMInstantiateCallback has different
6174 pointer types on different OSes, so simply cast to (void *).
6176 * unexhp9k800.c: Warning fixes. Fiddly changes.
6178 * sysdll.c (dll_open):
6179 shl_load will hang hard if passed a NULL filename.
6180 Simply return NULL for compatibility with dlopen.
6181 * sysdll.c: Conform to XEmacs coding standards.
6183 * sysdep.c (get_pty_max_bytes):
6184 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6186 2000-08-31 Martin Buchholz <martin@xemacs.org>
6188 * tooltalk.c: Add #include <syssignal.h>
6190 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6192 * s/hpux.h: Don't use undefined function sigunblock().
6194 2000-08-31 Martin Buchholz <martin@xemacs.org>
6196 * config.h.in: Add HAVE_BALLOON_HELP.
6197 * emacs.c: Use HAVE_BALLOON_HELP.
6198 * Makefile.in.in (x_objs):
6199 Make Balloon Help conditional on finding shape.h.
6201 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6203 * syntax.c (regex_emacs_buffer_p): New variable.
6204 * syntax.h (regex_emacs_buffer_p): extern.
6205 * search.c (looking_at_1):
6207 (fast_string_match):
6208 (search_buffer): Set regex_emacs_buffer_p.
6209 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6210 when before_dot, at_dot, after_dot.
6212 2000-08-23 Andy Piper <andy@xemacs.org>
6214 * gui-x.c (popup_selection_callback): Only set action_occurred
6215 when we really have an image instance.
6216 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6218 2000-08-23 Andy Piper <andy@xemacs.org>
6220 * gui-msw.c (mswindows_handle_gui_wm_command): set
6222 * gui-x.c (popup_selection_callback): ditto.
6224 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6225 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6226 (struct Lisp_Image_Instance): add action_occurred flag.
6228 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6229 (image_instance_changed): ditto.
6230 (reset_frame_subwindow_instance_cache): only unmap windows - do
6231 not remove them from the cache also.
6233 * glyphs-widget.c (tab_control_update): better debug.
6234 (progress_gauge_update): ditto.
6235 (layout_update): ditto.
6236 (layout_instantiate): ditto.
6237 (tab_control_order_only_changed): cope with null pending items.
6239 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6240 debug. Force selection of an item when an action occurred. Cope
6241 with null pending_items.
6242 (mswindows_progress_gauge_redisplay): better debug.
6243 * glyphs-x.c (x_tab_control_redisplay): ditto.
6245 * redisplay.c (redisplay_frame): reset the frame cache if the
6248 * window.c (Fset_window_configuration): potentially re-enable
6250 (window_unmap_subwindows): need to finalize instances here since
6251 it is only used in mark_window_as_deleted.
6253 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6255 * nas.c (SndOpenDataForReading):
6256 nas.c (WaveOpenDataForReading):
6257 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6258 Somehow escaped from the 2000-08-14 patch.
6260 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6262 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6263 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6265 2000-08-21 Andy Piper <andy@xemacs.org>
6267 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6268 window if it is not already displayed.
6270 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6271 it is not already displayed.
6273 * window.c (Fset_window_configuration): don't reset the frame
6276 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6277 instances from the frame cache if we are actually finalizing them.
6278 (reset_frame_subwindow_instance_cache): reset frame cache only
6279 after unmapping everything.
6280 (map_subwindow): set displayed flag after mapping.
6282 2000-08-21 Martin Buchholz <martin@xemacs.org>
6284 * data.c (indirect_function):
6285 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6287 * eval.c (function_argcount):
6288 Use original function when signaling errors.
6290 2000-08-18 Andy Piper <andy@xemacs.org>
6292 * frame.c (delete_frame_internal): use new
6293 free_frame_subwindow_instances name.
6295 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6296 (add_tab_item): make return type correct.
6297 (mswindows_tab_control_instantiate): assert index of tab.
6298 (mswindows_tab_control_redisplay): Re-code to use
6299 gui_item_equal_sans_selected and gui_item_list_find_selected.
6301 * glyphs-widget.c (tab_control_update): Correct comment.
6303 * window.c (window_unmap_subwindows): use new
6304 unmap_subwindow_instance_cache_mapper.
6305 (window_unmap_subwindows_cache_mapper): deleted.
6306 (Fset_window_configuration): comparisons should now be with
6307 EQ. Preserve the subwindow instance cache across configuration
6309 (allocate_window): ditto.
6310 (make_dummy_parent): ditto.
6312 * glyphs.c (free_frame_subwindow_instances): rename from
6313 free_frame_subwindow_instance_cache. finalize all instances rather
6314 than just those in the display cache.
6315 (finalize_all_subwindow_instances): walk windows unmapping and
6316 finalizing subwindows.
6317 (unmap_subwindow_instance_cache_mapper): moved from
6318 window.c. Allow finalization as well as unmapping.
6320 * gui.c (gui_item_list_find_selected): new function.
6322 * gui.h (gui_item_list_find_selected): declare.
6324 * glyphs-x.c (x_tab_control_redisplay): pick tab
6325 explicitly. Re-code to use gui_item_equal_sans_selected and
6326 gui_item_list_find_selected.
6328 * glyphs-x.h: add lwlib-utils.h
6330 * buffer.c (Frecord_buffer): undo previous change.
6332 2000-08-09 Vin Shelton <acs@xemacs.org>
6334 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6335 possible. Create temporary files more securely. The patch was
6336 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6337 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6338 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6341 2000-08-07 Ben Wing <ben@xemacs.org>
6343 * getloadavg.c: remove duplicate (and windows-breaking)
6344 includes of fcntl.h and sys/file.h.
6346 * nt.c: remove duplicate getloadavg() definition.
6348 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6351 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6353 * eval.c (function_argcount): If function needs to be autoloaded
6354 actually use the loaded definition.
6357 2000-08-05 Ben Wing <ben@xemacs.org>
6359 * getloadavg.c: add prototype for getloadavg(). remove
6360 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6361 of the code). remove duplicate header includes.
6363 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6365 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6366 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6367 useful load average.
6369 * alloc.c (reinit_alloc_once_early): removed references to
6370 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6371 the lisp vars are the only things referencing the malloc_sbrk_*
6372 vars, and they were already if 0'd out. these vars only exist
6373 in the older malloc.c, which is basically unused, and they're
6374 only for informational purposes.
6376 * m\*.h: removed useless VIRT_ADDR_VARIES.
6378 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6380 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6382 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6383 color if the image is a mono pixmap.
6385 2000-07-30 Ben Wing <ben@xemacs.org>
6387 * Makefile.in.in (release):
6390 * buffer.c (directory_is_current_directory):
6391 * dired-msw.c (mswindows_get_files):
6393 * dired.c (Fdirectory_files):
6394 * dired.c (file_name_completion_stat):
6395 * dired.c (Ffile_attributes):
6396 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6397 preprocessor tricks, to avoid problems on some machines
6400 * callproc.c (egetenv): GC docs.
6403 * console-msw.h (struct mswindows_dialog_id):
6404 * lrecord.h (lrecord_type):
6405 New object for use with MSW dialogs.
6407 * console.h (struct console_methods):
6408 New enable/disable frame methods, for proper modal dialogs.
6410 * device-msw.c (msprinter_default_printer): Fix to follow
6411 proper Mule conventions.
6414 * device-msw.c (signal_open_printer_error):
6415 * device-msw.c (msprinter_init_device):
6416 * device-msw.c (ensure_not_printing):
6417 * device-msw.c (plist_get_margin):
6418 * device-msw.c (Fmsprinter_select_settings):
6419 * device-msw.c (finalize_devmode):
6420 * device-msw.c (Fmsprinter_settings_despecialize):
6421 * device-msw.c (signal_enum_priner_error):
6422 * extents.c (decode_extent):
6423 * extents.c (decode_map_extents_flags):
6424 * extents.c (decode_extent_at_flag):
6425 * extents.c (Fextent_at):
6426 * extents.c (Fextents_at):
6427 * extents.c (symbol_to_glyph_layout):
6428 [[[[2]]]] Use structured errors.
6431 * dialog-msw.c (mswindows_is_dialog_msg):
6432 * dialog-msw.c (mark_mswindows_dialog_id):
6433 * dialog-msw.c (dialog_proc):
6434 * dialog-msw.c (handle_question_dialog_box):
6435 * dialog-msw.c (syms_of_dialog_mswindows):
6436 Define new object to clean up marking; use it as a dialog identifier.
6437 Call new delete-dialog-box-hook.
6439 * dialog-x.c (dbox_selection_callback):
6440 * dialog-x.c (dbox_descriptor_to_widget_value):
6441 * dialog-x.c (x_make_dialog_box_internal):
6442 Call new delete-dialog-box-hook.
6446 * dialog.c (syms_of_dialog):
6447 * dialog.c (vars_of_dialog):
6448 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6451 * eval.c (signal_call_debugger):
6452 when noninteractive, output stack traces on the console instead
6453 of in a (never-seen) buffer.
6455 * eval.c (signal_type_error):
6456 * eval.c (invalid_argument_2):
6458 new funs for use w/structured errors.
6461 * event-Xt.c (x_to_emacs_keysym):
6462 * event-Xt.c (describe_event):
6463 * event-Xt.c (emacs_Xt_event_handler):
6464 * event-Xt.c (vars_of_event_Xt):
6466 * event-msw.c (mswindows_wnd_proc):
6467 * event-msw.c (vars_of_event_mswindows):
6468 rename {x,mswindows}-debug-events to debug-{}-events for
6469 consistency with other debug-foo variables.
6472 document next-event more clearly.
6474 * fileio.c (Ffile_name_directory):
6475 * fileio.c (Ffile_name_nondirectory):
6476 * fileio.c (Funhandled_file_name_directory):
6477 * fileio.c (file_name_as_directory):
6478 * fileio.c (Ffile_name_as_directory):
6479 * fileio.c (directory_file_name):
6480 * fileio.c (Fdirectory_file_name):
6481 * fileio.c (Fmake_temp_name):
6482 * fileio.c (Ffile_truename):
6483 * fileio.c (Fsubstitute_in_file_name):
6484 * fileio.c (expand_and_dir_to_file):
6485 * fileio.c (barf_or_query_if_file_exists):
6486 * fileio.c (check_executable):
6487 * fileio.c (Ffile_exists_p):
6488 * fileio.c (Ffile_writable_p):
6489 * fileio.c (Ffile_directory_p):
6490 * fileio.c (Ffile_regular_p):
6491 * fileio.c (Ffile_modes):
6492 * fileio.c (Ffile_newer_than_file_p):
6493 * fileio.c (Fverify_visited_file_modtime):
6494 * fileio.c (Fset_visited_file_modtime):
6495 * fileio.c (auto_save_1):
6500 * frame-msw.c (mswindows_init_frame_1):
6501 * frame-msw.c (mswindows_enable_frame):
6502 * frame-msw.c (error_frame_unsizable):
6503 * frame-msw.c (msprinter_init_frame_1):
6504 * frame-msw.c (msprinter_init_frame_3):
6505 * frame-msw.c (console_type_create_frame_mswindows):
6507 implement new enable/disable frame methods.
6510 * frame-x.c (x_enable_frame):
6511 * frame-x.c (console_type_create_frame_x):
6512 implement new enable/disable frame methods.
6515 * frame.c (Fdisable_frame):
6516 * frame.c (syms_of_frame):
6517 * frame.h (struct frame):
6518 implement new enable/disable frame methods/functions.
6523 * glyphs-msw.c (mswindows_widget_instantiate):
6524 comment that initial-focus should be implemented.
6527 * glyphs-widget.c (check_valid_instantiator):
6528 * glyphs-widget.c (check_valid_orientation):
6529 * glyphs-widget.c (check_valid_tab_orientation):
6530 * glyphs-widget.c (check_valid_justification):
6531 * glyphs-widget.c (check_valid_border):
6532 * glyphs-widget.c (check_valid_callback):
6533 * glyphs-widget.c (check_valid_int_or_function):
6534 * glyphs-widget.c (check_valid_string_or_vector):
6535 * glyphs-widget.c (check_valid_item_list_1):
6536 * glyphs-widget.c (widget_validate):
6537 * glyphs-widget.c (combo_box_validate):
6538 * glyphs-widget.c (widget_instantiate):
6539 * glyphs-widget.c (syms_of_glyphs_widget):
6540 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6541 * glyphs-widget.c (image_instantiator_combo_box):
6542 * glyphs-widget.c (image_instantiator_scrollbar):
6543 * glyphs-widget.c (image_instantiator_tab_control):
6544 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6546 support (unimplemented) keyword initial-focus.
6547 reindent long macros.
6549 * glyphs-x.c (x_redisplay_widget):
6550 * glyphs-x.c (x_button_instantiate):
6551 * glyphs-x.c (x_button_redisplay):
6552 * glyphs-x.c (x_progress_gauge_instantiate):
6553 * glyphs-x.c (x_edit_field_instantiate):
6554 * glyphs-x.c (x_combo_box_instantiate):
6555 * glyphs-x.c (x_tab_control_instantiate):
6556 * glyphs-x.c (x_label_instantiate):
6558 * gui-x.c (button_item_to_widget_value):
6559 * gui-x.c (gui_items_to_widget_values_1):
6560 * gui-x.c (gui_item_children_to_widget_values):
6561 * gui-x.c (gui_items_to_widget_values):
6563 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6564 add new flag to gui-parsing routines to indicate whether
6565 accelerator specs should be supported.
6567 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6569 * glyphs.h (struct Lisp_Image_Instance):
6570 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6571 add initial-focus flag.
6574 * gui.c (syms_of_gui):
6575 * gui.c (vars_of_gui):
6576 clean up menu-no-selection-hook.
6579 support delete-dialog-box-hook.
6581 * lread.c (Fload_internal):
6582 * lread.c (locate_file_in_directory_mapper):
6586 * lrecord.h (struct toolbar_button):
6587 * lrecord.h (syms_of_toolbar):
6588 document how to create a new object.
6590 * menubar-msw.c (mswindows_char_is_accelerator):
6591 may be called on frames w/o menus.
6593 * menubar.c (vars_of_menubar):
6594 clean up :filter docs.
6601 * process-nt.c (validate_signal_number):
6602 * process-nt.c (signal_cannot_launch):
6603 * process-nt.c (nt_create_process):
6604 * process-nt.c (nt_send_process):
6605 * process-nt.c (nt_kill_child_process):
6606 * process-nt.c (nt_open_network_stream):
6607 * process-nt.c (syms_of_process_nt):
6609 delete quote-handling. call new lisp code that does it better.
6611 * process-unix.c (connect_to_file_descriptor):
6612 * process-unix.c (allocate_pty):
6613 * process-unix.c (unix_send_process):
6614 * process-unix.c (unix_kill_child_process):
6615 * process-unix.c (unix_open_network_stream):
6616 * process-unix.c (unix_open_multicast_group):
6620 * process.c (Fstart_process_internal):
6621 (2). need to canonicalize process path even if absolute.
6623 * select-msw.c (symbol_to_ms_cf):
6624 * select-msw.c (ms_cf_to_symbol):
6625 * select-msw.c (cf_is_autofreed):
6626 * select-msw.c (mswindows_destroy_selection):
6628 * select.c (syms_of_select):
6630 support dibv5, fix bugs. (from Mike Alexander)
6632 * select.c (Fget_selection_internal):
6633 * select.c (select_convert_out):
6636 * sysdep.c (xemacs_stat):
6641 but keep original stat() here because we provide encapsulation
6645 * sysfile.h (fstat):
6646 remove stat garbage.
6650 don't include tchar.h. it's inappropriate because it makes
6651 compile-time distinctions when we want runtime distinctions.
6652 (we provide our own tchar replacements)
6655 use default object printer for toolbar-button.
6658 make sure we don't encapsulate.
6660 * window.c (vars_of_window):
6661 emphasize that temp-buffer-show-hook is obsolete.
6663 2000-08-05 Martin Buchholz <martin@xemacs.org>
6665 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6666 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6668 * events.c (Fevent_timestamp_lessp):
6669 Not 64-bit clean. Use EMACS_INT, not int.
6671 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6673 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6674 unsigned int and changed the last enum to
6675 lrecord_type_last_built_in_type.
6676 (lrecord_implementations_table): changed prototype to know how
6677 long the array is supposed to be.
6678 (lrecord_type_count): new unsigned int to keep track of the
6679 current number of lisp lrecord types.
6680 (DEFINE_EXTERNAL_LRECORD):
6681 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6682 dynamic-modules to declare new lisp types. They are the same
6683 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6684 int for each new type, and increment lrecord_type_count by 1.
6686 * alloc.c (lrecord_implementations_table): Changed to reference
6687 lrecord_type_last_built_in_type for the size of the array.
6688 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6690 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6692 * glyphs.h (check_valid_item_list): Renamed from
6693 check_valid_item_list_1.
6695 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6697 * select.c (Qselect_coerce): New.
6698 * select.c (Vselection_coercion_alist): New.
6699 * select.c (syms_of_select): Declare.
6700 * select.c (get-selection-internal): Use it.
6701 Use the new select-coerce functionality.
6703 * select.c (select_coerce): New.
6704 * select.h (select_coerce): Declare.
6705 New function to coerce one type of data into another.
6707 2000-08-03 Martin Buchholz <martin@xemacs.org>
6709 * callproc.c (Fcall_process_internal):
6710 (Fcall_process_internal):
6711 * process-unix.c (unix_create_process):
6712 Save and restore the value of errno, so that error messages are accurate.
6714 2000-08-01 Martin Buchholz <martin@xemacs.org>
6716 * elhash.c (print_hash_table):
6717 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6718 Prettify docstrings and indentation.
6720 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6722 * window.c (Fwindow_pixel_edges): Subtract frame border and
6725 2000-07-31 Andy Piper <andy@xemacs.org>
6727 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6728 will acknowledge the change.
6730 * glyphs.h: declare tab_control_order_only_changed.
6732 * glyphs-x.c (x_tab_control_redisplay): use
6733 tab_control_order_only_changed.
6735 * glyphs-widget.c (tab_control_order_only_changed): new function.
6737 * glyphs-msw.c (mswindows_tab_control_redisplay): use
6738 tab_control_order_only_changed.
6740 * gui.c (gui_item_equal_sans_selected): new function.
6741 (gui_item_equal): use it.
6743 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
6744 :properties in favor of :items..
6746 * glyphs-widget.c (check_valid_item_list): rename from
6747 check_valid_item_list_1.
6748 (check_valid_item_list_1): renamed.
6749 (combo_box_validate): deprecate :properties in favor of :items.
6750 (widget_instantiate): ditto.
6751 (tab_control_update): ditto.
6752 (image_instantiator_combo_box): ditto.
6753 (image_instantiator_tree_view): ditto.
6754 (image_instantiator_tab_control): ditto.
6755 (layout_post_instantiate): remove dead code.
6757 * print.c (debug_print_no_newline): only write to debugger if in
6760 * elhash.c (Fmake_hash_table): update doc string.
6762 * event-msw.c (mswindows_wnd_proc): don't allow processing of
6763 messages whilst in GC. This at least stops XEmacs crashing but has
6764 the potential for wierd behaviour.
6766 2000-07-31 Martin Buchholz <martin@xemacs.org>
6769 Make existence of s&m files optional.
6771 * s/bsd386.h: Remove HAVE_GETLOADAVG.
6772 * s/freebsd.h: Remove HAVE_GETLOADAVG.
6773 * s/gnu.h: Remove HAVE_GETLOADAVG.
6774 * s/netbsd.h: Remove HAVE_GETLOADAVG.
6775 * s/sol2.h: Remove HAVE_GETLOADAVG.
6776 * lisp.h: Remove getloadavg() declaration.
6778 Include <sys/loadavg.h> if available.
6779 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
6780 * config.h.in: Group together getloadavg()-related macros.
6781 Use only configure-time tests to detect getloadavg().
6783 2000-07-30 Martin Buchholz <martin@xemacs.org>
6785 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
6787 2000-07-25 Andy Piper <andy@xemacs.org>
6789 * syswindows.h: add tchar.h for native builds.
6791 * frame.c (syms_of_frame): remove set-glyph-image.
6793 * general-slots.h: add Qset_glyph_image.
6795 * glyphs-widget.c (layout_update): add domain arg to
6797 (syms_of_glyphs_widget): remove set-glyph-image.
6799 2000-07-23 Ben Wing <ben@xemacs.org>
6801 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
6804 2000-07-22 Andy Piper <andy@xemacs.org>
6806 * symsinit.h: add syms_of_win32().
6808 * gui-msw.c (syms_of_gui_mswindows): remove
6809 Fmswindows_shell_execute.
6810 (Fmswindows_shell_execute): moved to win32.c.
6812 * emacs.c (main_1): add syms_of_win32 ().
6814 * win32.c (init_potentially_nonexistent_functions): rewrite in
6815 compiler-friendly terms.
6816 (Fmswindows_shell_execute): move here from gui-msw.c.
6817 (syms_of_win32): new.
6819 * device-msw.c (Fmswindows_printer_list): clean up args to
6821 Don't include tchar under cygwin or mingw.
6822 (msprinter_default_printer): make cygwin-friendly.
6824 2000-07-21 Andy Piper <andy@xemacs.org>
6826 * glyphs-widget.c (image_instantiator_tree_view): use tab
6827 control's update function.
6828 (layout_property): new function. Retrieve items.
6830 * glyphs-msw.c (mswindows_tree_view_redisplay): new
6831 function. Re-populate the tree view from the pending items.
6833 * glyphs.c (instantiate_image_instantiator): Make sure the domain
6834 is designated the parent if the domain is an image instance. This
6835 is needed so that dirtiness can be cascade up the hierarchy and
6836 thus for layout children to be redisplayed correctly.
6837 (allocate_image_instance): rename glyph -> parent.
6839 * redisplay.h: change redisplay_output_layout signature.
6841 * redisplay-msw.c (mswindows_output_display_block): use domain
6844 * redisplay-x.c (x_output_display_block): use domain arg.
6846 2000-07-10 Andy Piper <andy@xemacs.org>
6848 * window.c (Fset_window_configuration): add comment.
6850 * redisplay-output.c (compare_runes):
6851 (redisplay_output_subwindow): redisplay rather than update subwindow.
6852 (redisplay_output_layout): ditto.
6854 * redisplay-msw.c (mswindows_frame_output_end):
6855 (mswindows_frame_output_end): make defer window pos optional.
6857 * lisp.h: add Flast.
6859 * glyphs.h (struct image_instantiator_methods): add dest_mask top
6860 normalize method. Change update method to be for changed
6861 instantiators. Add redisplay method. Change signature of layout
6863 (struct Lisp_Image_Instance): add instantiator.
6864 (IMAGE_INSTANCE_INSTANTIATOR): new.
6865 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
6866 (XIMAGE_INSTANCE_INSTANTIATOR): new.
6867 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
6870 (find_instantiator_differences): new function.
6871 (Fset_instantiator_property): new convenience function.
6872 (check_image_instance_structure): strictly check for vector
6874 (normalize_image_instantiator): make non-static.
6875 (instantiate_image_instantiator): pass on dest_mask and use new
6876 signatures for image_instance_layout and friends.
6877 (mark_image_instance): mark the instantiator. Mark the subwindow
6878 face not the widget face.
6879 (image_instance_equal): add instantiator.
6880 (image_instance_hash): ditto.
6881 (allocate_image_instance): ditto.
6882 (Fset_image_instance_property): removed.
6883 (Fimage_instance_file_name): ditto.
6884 (Fcolorize_image_instance): ditto.
6885 (image_instance_layout): add offsets to be set.
6886 (update_image_instance): new function. update an image instance
6887 from its changed instantiator.
6888 (inherit_normalize): add dest_mask.
6889 (xbm_normalize): ditto.
6890 (xface_normalize): ditto.
6891 (xpm_normalize): ditto.
6892 (text_update): set_property -> update.
6893 (image_instantiate): use the glyph identity as a hash key, not the
6895 (glyph_width): use new image_instance_layout signature.
6896 (glyph_ascent): ditto.
6897 (glyph_descent): ditto.
6898 (glyph_height): ditto.
6899 (glyph_query_geometry): ressurrect.
6900 (glyph_layout): ditto.
6901 (redisplay_subwindow): update -> redisplay.
6902 (syms_of_glyphs): add Fset_instantiator_property.
6903 (image_instantiator_format_create): set_property -> update.
6906 (autodetect_normalize): add dest_maks to signature.
6907 (x_redisplay_subwindow): update -> redisplay.
6908 (x_redisplay_widget): ditto.
6909 (x_button_redisplay): ditto.
6910 (x_progress_gauge_redisplay): ditto.
6911 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
6913 (console_type_create_glyphs_x): update -> redisplay.
6914 (image_instantiator_format_create_glyphs_x): ditto.
6917 (check_valid_instantiator): disallow glyphs in the instantiator,
6918 they must now be vectors.
6919 (check_valid_instantiator_list): ditto.
6920 (glyph_instantiator_to_glyph): use internal symbol rather than
6922 (widget_update): renamed from widget_set_property. Call cascaded
6924 (redisplay_widget): renamed from update_widget.
6925 (widget_layout): image_instance_layout now takes position as well
6927 (widget_normalize): ditto.
6928 (widget_instantiate): ditto.
6929 (tab_control_query_geometry) ditto.:
6930 (tab_control_update): renamed from tab_control_set_property.
6931 (progress_gauge_update): set_property -> update.
6932 (layout_normalize): rewrite so that child instantiators are
6934 (layout_update): new function. Create glyphs from the normalized
6935 children and cope with any other layout keywords. We do not
6936 instantiate children here that will be take care of by
6937 redisplay_output_layout.
6938 (layout_instantiate): call layout_update and not much else.
6939 (layout_post_instantiate): not sure whether this is needed
6941 (layout_query_geometry): query glyph geometry rather than
6942 image_instance geometry.
6943 (layout_layout): set offsets from pass in parameters. Use glyph
6944 geometry and layout functions rather than image instance ones.
6945 (native_layout_layout): ditto.
6946 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
6947 (image_instantiator_widget): set_property -> update.
6948 (image_instantiator_buttons): ditto.
6949 (image_instantiator_progress_guage): ditto.
6950 (image_instantiator_tab_control): ditto.
6951 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
6952 (image_instantiator_layout): add update method.
6954 * glyphs-msw.c (bmp_normalize):
6955 (mswindows_resource_normalize): add dest_mask so that it can be
6956 proprogated by layout_normalize.
6957 (begin_defer_window_pos): make optional because it may not be the
6958 right thing to do and it introduces differences with X.
6959 (mswindows_unmap_subwindow): ditto.
6960 (mswindows_map_subwindow): ditto.
6961 (mswindows_redisplay_subwindow): renamed from
6962 mswindows_update_subwindow.
6963 (mswindows_redisplay_widget): ditto.
6964 (mswindows_button_redisplay): renamed from
6965 mswindows_button_update. Update is now what the instantiation
6966 function does for a changed instantiator.
6967 (mswindows_progress_gauge_instantiate): set the progress value
6968 here if appropriate.
6969 (mswindows_tab_control_redisplay): cope with re-ordering of the
6970 members of the tab widget by simply selecting the new top
6971 widget. This makes things appear ok if you click on a tab.
6972 (mswindows_combo_box_instantiate): image_instance_layout now takes
6973 position as well as size.
6974 (mswindows_progress_gauge_redisplay): renamed from
6975 mswindows_progress_gauge_update.
6976 (console_type_create_glyphs_mswindows): fix update -> redisplay.
6977 (image_instantiator_format_create_glyphs_mswindows): ditto.
6979 * glyphs-eimage.c (jpeg_normalize):
6982 (tiff_normalize): add dest_mask so that it can be proprogated by
6987 (hash_table_weakness_validate):
6988 (decode_hash_table_weakness):
6989 (Fhash_table_weakness):
6991 (syms_of_elhash): use Ben's naming scheme for hashtable types..
6993 * console.h (struct console_methods): move update_* to
6996 2000-07-20 Ben Wing <ben@xemacs.org>
6998 * *.[ch] (XSETOBJ): remove unused middle argument.
6999 lisp-disunion.h: correct wrap_object() to one argument.
7001 2000-07-15 Ben Wing <ben@xemacs.org>
7004 * s/cygwin32.h (CYGWIN_CONV_PATH):
7005 Add missing logb prototype for v1.1.
7006 Use post-b20 names and alias to pre-b20 names when pre-b20.
7008 * s/windowsnt.h: [5].
7010 2000-07-15 Ben Wing <ben@xemacs.org>
7012 * Makefile.in.in (x_objs):
7013 * Makefile.in.in (sheap_objs):
7014 * Makefile.in.in (objs):
7015 added win32.o, cosmetic cleanups.
7017 * alloc.c (Fmake_byte_code):
7018 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
7019 etc. macros which declare their own args now.
7021 * alloc.c (syms_of_alloc):
7022 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
7025 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
7027 * buffer.c (Fget_file_buffer):
7028 Fixed GCPRO problem.
7030 * buffer.c (get_truename_buffer):
7031 Fixed comment about GC checking.
7033 * buffer.c (syms_of_buffer):
7034 Undeclared those dedicated frame funs.
7038 Define convenience macros for internal/external conversions.
7039 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
7040 and Qenvironment_variable_encoding for cleaner code.
7043 Remove dedicated-frame; in lisp.
7045 * bytecode.c (funcall_compiled_function):
7048 * bytecode.c (syms_of_bytecode):
7052 * console-msw.c (mswindows_show_console): Rewrote.
7054 * console-msw.c (Fmswindows_debugging_output): New.
7055 Sends to OutputDebugString (special MSWin debugger interface).
7057 * console-msw.c (Fmswindows_message_box):
7058 Fixed stupid bugs so it works when called from kill-emacs.
7060 * console-msw.c (syms_of_console_mswindows):
7061 Declare Fmswindows_debugging_output.
7064 New MSWin prototypes.
7066 * console-msw.h (struct mswindows_frame):
7067 New entry last-click-mods for improved button-modifier support.
7069 * console-msw.h (FRAME_MSWINDOWS_POPUP):
7070 New struct entry `popup' with corresponding accessor.
7073 * console-x.c (split_up_display_spec):
7074 * console-x.c (get_display_arg_connection):
7075 * console-x.c (x_semi_canonicalize_console_connection):
7076 * console-x.c (x_canonicalize_device_connection):
7077 [[[6]]]: Change char to more specific type.
7078 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
7080 * console-x.c (x_semi_canonicalize_console_connection):
7081 * console-x.c (x_canonicalize_device_connection):
7082 [[[9]]]: Fix up error signalling to use new structured error system.
7085 [[[4]]]: Define codesys aliases:
7086 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
7087 Qx_color_name_encoding, Qx_display_name_encoding.
7089 * console.h (struct console_methods):
7090 New method make_dialog_box_internal supersedes older
7091 popup_dialog_box method.
7094 Define many new errors, part of new structured errors.
7096 * data.c (init_errors_once_early):
7097 * data.c (syms_of_data):
7100 * device-msw.c (mswindows_init_device):
7101 [[[5]]]: Cleanup to support NT 3.51.
7103 * device-msw.c (decode_devmode): Cleanup.
7105 * device-msw.c (mswindows_handle_print_setup_dialog_box):
7106 * device-msw.c (mswindows_handle_print_dialog_box):
7107 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7108 * device-msw.c (syms_of_device_mswindows):
7109 Delete the dialog box primitives recently introduced by Kirill and
7110 instead interface to general dialog box interface.
7113 * device-x.c (compute_x_app_name):
7114 * device-x.c (x_init_device):
7115 * device-x.c (Fx_valid_keysym_name_p):
7116 * device-x.c (Fx_set_font_path):
7120 * device.h (wrap_device): New.
7121 First of its kind; meant to replace XSETDEVICE.
7123 * dialog-msw.c: Many file-dialog symbols.
7125 * dialog-msw.c (mswindows_register_popup_frame): New.
7126 * dialog-msw.c (mswindows_is_dialog_msg): New.
7127 For supporting kbd traversal in dialog boxes.
7129 * dialog-msw.c (dialog_proc):
7130 Support hitting ESC in dialogs.
7132 * dialog-msw.c (struct):
7133 Common dialog box errors.
7135 * dialog-msw.c (handle_file_dialog_box): New.
7136 Add file dialog code.
7138 * dialog-msw.c (handle_question_dialog_box):
7139 Redo existing code to support new question dialog syntax.
7141 * dialog-msw.c (console_type_create_dialog_mswindows):
7142 We support new dialog console method.
7144 * dialog-msw.c (syms_of_dialog_mswindows):
7145 * dialog-msw.c (vars_of_dialog_mswindows):
7146 New file dialog symbols, vars.
7149 * dialog-x.c (maybe_run_dbox_text_callback):
7150 * dialog-x.c (dbox_descriptor_to_widget_value):
7151 * dialog-x.c (x_make_dialog_box_internal):
7152 * dialog-x.c (console_type_create_dialog_x):
7153 Mule-ize entire file.
7154 Redo to support question dialog syntax.
7158 * dialog.c (Fmake_dialog_box_internal):
7159 * dialog.c (syms_of_dialog):
7160 Kill old popup-dialog-box, replace with new primitive.
7161 Just call device method or signal error.
7163 * eldap.c (Fldap_open):
7164 * eldap.c (Fldap_search_basic):
7165 * eldap.c (Fldap_add):
7166 * eldap.c (Fldap_modify):
7171 * emacs.c (make_arg_list_1):
7172 * emacs.c (make_arg_list):
7173 Mule-ize call to dll_init().
7177 * emacs.c (make_argc_argv):
7178 * emacs.c (free_argc_argv):
7179 * emacs.c (init_cmdargs):
7181 * emacs.c (Fkill_emacs):
7182 * emacs.c (Fdump_emacs):
7183 Update comments about what can be used in syms_* etc.
7184 Call init_win32() when necessary.
7185 Fix up MS Win dialog box in kill-buffer to actually work right.
7196 * eval.c (condition_case_3):
7198 * eval.c (function_argcount):
7199 * eval.c (funcall_lambda):
7202 * eval.c (type_error): New.
7203 * eval.c (maybe_type_error): New.
7204 * eval.c (continuable_type_error): New.
7205 * eval.c (maybe_continuable_type_error): New.
7206 * eval.c (type_error_with_frob): New.
7207 * eval.c (maybe_type_error_with_frob): New.
7208 * eval.c (continuable_type_error_with_frob): New.
7209 * eval.c (maybe_continuable_type_error_with_frob): New.
7210 New functions for use with structured errors.
7213 * event-Xt.c (x_event_to_emacs_event):
7214 Buttons are now modifiers too.
7216 * event-Xt.c (emacs_Xt_current_event_timestamp):
7217 Implement new event method.
7218 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7221 * event-msw.c (ntpipe_shove_writer): [5].
7222 * event-msw.c (mswindows_enqueue_mouse_button_event):
7223 * event-msw.c (mswindows_drain_windows_queue):
7224 * event-msw.c (mswindows_wnd_proc): [7].
7225 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7226 * event-msw.c (mswindows_modifier_state):
7227 Throughout: support new button modifiers.
7229 * event-msw.c (emacs_mswindows_current_event_timestamp):
7230 Implement new event method.
7231 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7234 * event-stream.c (event_stream_current_event_timestamp): New.
7235 * event-stream.c (maybe_kbd_translate): New functionality.
7236 * event-stream.c (vars_of_event_stream):
7237 Document new kbd-translate-table functionality.
7239 * event-stream.c (Fcurrent_event_timestamp): New.
7240 New primitive for use in fabricated events.
7241 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7243 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7246 * events.c (Fmake_event):
7247 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7251 * events.c (format_event_object): fix gcc warnings.
7253 * events.c (Fevent_timestamp): Document new primitives.
7255 * events.c (TIMESTAMP_HALFSPACE): New.
7257 * events.c (Fevent_timestamp_lessp): New. New primitive for
7258 comparing timestamps correctly (half-space algorithm).
7260 * events.c (Fevent_modifier_bits): Doc fix.
7262 * events.c (Fevent_modifiers): Major doc addition.
7263 * events.c (event_x_y_pixel_internal): Typo fix.
7264 * events.c (syms_of_events): Declare new primitives.
7267 Update long comment for button modifiers, timestamps.
7269 * events.h (struct event_stream):
7270 New current_event_timestamp method.
7273 * extents.c (extent_in_region_p):
7274 * extents.c (decode_extent):
7275 * extents.c (Fset_extent_parent):
7276 * extents.c (decode_map_extents_flags):
7280 * extents.c (struct extent_at_arg):
7281 * extents.c (decode_extent_at_flag):
7282 * extents.c (extent_at_mapper):
7283 * extents.c (extent_at_bytind):
7284 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7285 * extents.c (Fextents_at): New primitive. [9].
7286 * extents.c (symbol_to_glyph_layout): [9].
7287 Support new primitive `extents-at'.
7290 * extents.c (get_text_property_bytind):
7291 extent_at_bytind has another arg.
7294 * extents.c (syms_of_extents): New primitive.
7296 * file-coding.c (Fmake_coding_system): [1].
7297 * file-coding.c (subsidiary_coding_system): fix gcc warning
7298 * file-coding.c (syms_of_file_coding): [2].
7300 * fileio.c (Fexpand_file_name):
7301 * fileio.c (Fsysnetunam):
7302 * fileio.c (Ffile_exists_p):
7303 * fileio.c (Ffile_executable_p):
7304 * fileio.c (Fverify_visited_file_modtime):
7307 * fileio.c (syms_of_fileio): [2].
7309 * filelock.c (lock_file_1):
7310 * filelock.c (current_lock_owner):
7311 * filelock.c (lock_if_free):
7312 * filelock.c (lock_file):
7313 * filelock.c (unlock_file):
7316 * fns.c (concat): Fix gcc warning.
7319 * fns.c (Fold_member):
7321 * fns.c (Fold_memq):
7322 * fns.c (memq_no_quit):
7324 * fns.c (Fold_assoc):
7326 * fns.c (Fold_assq):
7327 * fns.c (assq_no_quit):
7329 * fns.c (Fold_rassoc):
7331 * fns.c (Fold_rassq):
7332 * fns.c (rassq_no_quit):
7334 * fns.c (Fold_delete):
7336 * fns.c (Fold_delq):
7337 * fns.c (delq_no_quit):
7338 * fns.c (Fremassoc):
7340 * fns.c (remassq_no_quit):
7341 * fns.c (Fremrassoc):
7342 * fns.c (Fremrassq):
7343 * fns.c (remrassq_no_quit):
7348 * frame-msw.c (mswindows_init_frame_1):
7349 * frame-msw.c (mswindows_delete_frame):
7350 Register popups with dialog code so keyboard traversing works.
7352 * frame-tty.c (tty_raise_frame_no_select): [1].
7355 * frame-x.c (x_set_frame_text_value):
7356 * frame-x.c (x_set_frame_properties):
7357 * frame-x.c (x_create_widgets):
7361 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7363 * frame.h (wrap_frame): New.
7364 Macro like wrap_device.
7367 * general.c (SYMBOL):
7368 * general.c (syms_of_general):
7369 Major reorg. This is now just a wrapper and symbols themselves
7370 are listed in general-slots.h.
7372 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7373 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7375 * glyphs-msw.c (mswindows_native_layout_instantiate):
7376 Add DS_CONTROL so keyboard traversal will work.
7379 * glyphs-widget.c (syms_of_glyphs_widget):
7380 Move some symbols to general-slots.h.
7383 * glyphs-x.c (xbm_instantiate_1):
7384 * glyphs-x.c (x_xbm_instantiate):
7385 * glyphs-x.c (x_xface_instantiate):
7386 * glyphs-x.c (autodetect_instantiate):
7387 * glyphs-x.c (cursor_font_instantiate):
7388 * glyphs-x.c (x_update_widget):
7389 * glyphs-x.c (x_widget_instantiate):
7390 * glyphs.c (bitmap_to_lisp_data):
7391 * glyphs.c (pixmap_to_lisp_data):
7394 * glyphs.c (syms_of_glyphs):
7398 * gui-x.c (print_widget_value):
7399 * gui-x.c (menu_separator_style_and_to_external):
7400 * gui-x.c (add_accel_and_to_external):
7401 * gui-x.c (button_item_to_widget_value):
7402 * gui-x.c (gui_items_to_widget_values_1):
7403 * gui-x.c (gui_items_to_widget_values):
7404 * gui-x.c (syms_of_gui_x):
7405 * gui-x.c (vars_of_gui_x):
7406 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7410 Muleize, prototype changes matching gui-x.c.
7413 * gui.c (separator_string_p):
7414 * gui.c (gui_item_add_keyval_pair):
7415 * gui.c (make_gui_item_from_keywords_internal):
7416 * gui.c (signal_too_long_error):
7417 * gui.c (parse_gui_item_tree_item):
7418 * gui.c (syms_of_gui):
7419 * gui.c (vars_of_gui):
7421 menu-no-selection-hook moved here (used by MSWin).
7422 Move some symbols to general-slots.h.
7426 * insdel.c (get_buffer_pos_char):
7427 * insdel.c (get_buffer_range_char):
7430 * keymap.c (keymap_lookup_directly):
7431 * keymap.c (keymap_store):
7432 * keymap.c (ensure_meta_prefix_char_keymapp):
7433 * keymap.c (describe_map):
7435 Support new button modifiers.
7437 * lisp-disunion.h (wrap_object):
7438 * lisp-disunion.h (XSETOBJ):
7439 Rename make_obj to wrap_object.
7442 * lisp-union.h (make_int):
7443 * lisp-union.h (make_char):
7444 Support wrap_object.
7447 * lisp.h (LIST_LOOP):
7448 * lisp.h (EXTERNAL_LIST_LOOP):
7449 * lisp.h (LIST_LOOP_2):
7450 * lisp.h (EXTERNAL_LIST_LOOP_1):
7451 * lisp.h (EXTERNAL_LIST_LOOP_2):
7452 * lisp.h (EXTERNAL_LIST_LOOP_3):
7453 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7454 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7455 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7456 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7457 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7458 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7459 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7460 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7461 * lisp.h (struct Lisp_Symbol):
7462 * lisp.h (maybe_continuable_error_with_frob):
7463 Fix up section comments.
7464 Add new types for char to indicate usage.
7465 Delete symbols auto-generated from general-slots.h.
7466 Add prototypes for structured error functions.
7467 Add long comments describing looping macros and change interface
7468 so that lvalues are automatically declared.
7469 Add NO_DECLARE macro in case callers want to declare lvalues
7472 * lread.c (read_syntax_error):
7473 * lread.c (continuable_read_syntax_error):
7474 * lread.c (read_structure):
7475 * lread.c (sequence_reader):
7476 * lread.c (read_list_conser):
7477 * lread.c (read_compiled_function):
7478 Rename syntax_error and continuable_syntax_error to avoid clash
7479 with same-named structured error functions.
7481 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7482 * menubar-msw.c (populate_menu_add_item):
7483 * menubar-msw.c (populate_or_checksum_helper):
7488 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7489 Mule-ize whole file.
7491 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7493 * mule-charset.c (Fmake_charset):
7494 * mule-wnnfns.c (Fwnn_set_param):
7497 * ntproc.c (create_child):
7498 * ntproc.c (Fwin32_set_current_locale):
7499 Add comments portending doom.
7502 * objects-msw.c (old_font_enum_callback_2):
7503 * objects-msw.c (font_enum_callback_1):
7504 * objects-msw.c (mswindows_enumerate_fonts):
7508 * objects-x.c (allocate_nearest_color):
7509 * objects-x.c (x_parse_nearest_color):
7510 * objects-x.c (x_initialize_color_instance):
7511 * objects-x.c (x_print_color_instance):
7512 * objects-x.c (x_finalize_color_instance):
7513 * objects-x.c (x_valid_color_name_p):
7514 * objects-x.c (x_initialize_font_instance):
7515 * objects-x.c (x_print_font_instance):
7516 * objects-x.c (valid_x_font_name_p):
7517 * objects-x.c (truename_via_FONT_prop):
7518 * objects-x.c (truename_via_random_props):
7519 * objects-x.c (truename_via_XListFonts):
7520 * objects-x.c (x_font_truename):
7521 * objects-x.c (x_font_instance_truename):
7522 * objects-x.c (x_font_instance_properties):
7523 * objects-x.c (x_list_fonts):
7524 * objects-x.c (x_find_charset_font):
7525 Mule-ize entire file.
7532 * print.c (std_handle_out_external):
7533 * print.c (debug_print_no_newline):
7534 * print.c (syms_of_print):
7535 Output to all debugger kinds in debug-print.
7536 Fix console-output code under MSWin to actually work.
7538 * process-nt.c (send_signal):
7539 * process-nt.c (nt_create_process):
7540 Use newer Unicode macros.
7542 * process-unix.c (unix_create_process):
7543 * process-unix.c (unix_canonicalize_host_name):
7544 * process-unix.c (unix_open_network_stream):
7550 * search.c (syms_of_search):
7553 * select-msw.c (mswindows_destroy_selection):
7556 * select-x.c (symbol_to_x_atom):
7559 * select.c (syms_of_select):
7562 * sound.c (Fplay_sound_file):
7566 * specifier.c (decode_specifier_type):
7567 * specifier.c (Fvalid_specifier_locale_type_p):
7568 * specifier.c (check_valid_locale_or_locale_type):
7569 * specifier.c (decode_locale):
7570 * specifier.c (decode_locale_type):
7571 * specifier.c (decode_locale_list):
7572 * specifier.c (check_valid_domain):
7573 * specifier.c (decode_specifier_tag_set):
7574 * specifier.c (Fcanonicalize_tag_set):
7575 * specifier.c (Fdefine_specifier_tag):
7576 * specifier.c (Fspecifier_tag_predicate):
7577 * specifier.c (check_valid_inst_list):
7578 * specifier.c (check_valid_spec_list):
7579 * specifier.c (decode_how_to_add_specification):
7580 * specifier.c (check_modifiable_specifier):
7581 * specifier.c (specifier_add_spec):
7582 * specifier.c (boolean_validate):
7583 * specifier.c (display_table_validate):
7586 * specifier.c (syms_of_specifier):
7587 Move some symbols to general-slots.h.
7591 * symbols.c (Fmapatoms):
7592 * symbols.c (Fapropos_internal):
7595 * symbols.c (set_default_buffer_slot_variable):
7596 * symbols.c (set_default_console_slot_variable):
7599 * symbols.c (defsymbol_massage_name_1):
7600 * symbols.c (defkeyword_massage_name):
7601 * symbols.c (deferror_1):
7602 * symbols.c (deferror):
7603 * symbols.c (deferror_massage_name_and_message):
7605 * symeval.h (DEFSYMBOL):
7606 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7608 * symbols.c (syms_of_symbols):
7612 * symsinit.h (init_win32): New.
7613 Also new is syms_of_dialog_mswindows.
7616 Add new Unicode macros, missing Cygwin wide-char functions,
7617 convenience conversion macros for Qmswindows_tstr, macros for
7618 encapsulating required MSWin <-> Cygwin filename conversions,
7619 prototype for dynamically-extracted (not in NT 3.51) functions.
7624 * tooltalk.c (Fadd_tooltalk_message_arg):
7625 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7626 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7629 * tooltalk.c (syms_of_tooltalk):
7633 * unexnt.c (unexec):
7634 Fix up headers, declaration of unexec() to be more standard.
7636 2000-07-20 Martin Buchholz <martin@xemacs.org>
7638 * offix.h: Revert change to guard macros - they're used in offix.c!
7640 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7642 * lisp.h: Defsubred Fdelete.
7644 * console-msw.h: (msprinter_default_printer): Added.
7646 * console-msw.c (msprinter_canonicalize_console_connection):
7647 (msprinter_canonicalize_device_connection): Added.
7649 * device-msw.c (msprinter_default_printer):
7650 (Fmswingows_get_default_printer):
7651 (signal_enum_priner_error):
7652 (Fmswingows_printer_list): Added.
7654 2000-07-19 Martin Buchholz <martin@xemacs.org>
7656 * XEmacs 21.2.35 is released.
7658 2000-07-19 Martin Buchholz <martin@xemacs.org>
7660 * select-x.c (x_handle_selection_request):
7661 Text selected in xemacs and pasted into xterm failed to appear.
7662 Spelling fixes and cosmetic changes.
7664 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7666 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7667 XEmacs frame (fix for doubling chars in dialog boxes).
7669 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7671 * select.c (select_convert_in, select_convert_out):
7672 Don't call intern() every time.
7674 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7675 * select.c (vars_of_select): Initialise them.
7677 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7679 * select.c (selection-coercible-types): New.
7681 * select.c (own-selection-internal):
7682 * select.c (get-selection-internal):
7683 MULE bug fix - these should default to COMPOUND_TEXT and not
7684 STRING for MULE. I think.
7686 * select.c (select_convert_out): Use selection-coercible-types
7687 to find types that we can attempt to perform coercions on.
7689 2000-07-18 Martin Buchholz <martin@xemacs.org>
7693 Add coding: cookie to identify encoding.
7695 * mule-canna.c (CANNA_mode_keys): make static.
7696 Use proper prototypes, even for functions of no arguments.
7697 Remove external prototype for Fding().
7699 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7701 * select.c (syms_of_select): Add missing DEFSUBR.
7703 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7705 * select.c (get_selection_internal, own_selection_internal):
7706 Make the type default to STRING, rather than placing a nil type
7707 into Vselection_alist.
7709 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7711 * gpmevent.c (tty_selection_exists_p):
7712 * gpmevent.c (tty_own_selection):
7713 Updated parameter lists.
7715 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7717 * select.h (selection-alist): Removed declaration.
7719 * select.h (get_local_selection):
7720 * select.c (get_local_selection):
7723 * select.h (convert_selection): Removed declaration.
7724 * select.c (convert_selection): Removed.
7725 This function belongs in Lisp.
7727 * select.h (select_convert_in): Declare.
7728 * select.h (select_convert_out): Declare.
7729 * select.c (select_convert_in): New.
7730 * select.c (select_convert_out): New.
7731 New conversion functions for other files to call.
7733 * select.h (select_notify_buffer_kill): Declare.
7734 * select.c (select_notify_buffer_kill): New.
7735 New functions that get called from kill-buffer.
7737 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
7738 X-specific lisp code.
7740 * select.h: Declare some of the lisp-visible functions for
7743 * select.c (clean_local_selection_data): Removed. This was
7744 a disgusting function, and previously should have been in
7745 select-x.c in any case. The functionality is now provided
7746 in select-convert-from-integer (select.el).
7748 * select.c (available-selection-types): Fixed stupidity where
7749 INTEGER and ATOM got added twice. Also add STRING when we see an
7752 * select.c (get-selection-internal): Removed symbol stripping. No
7753 longer causes conversion when data comes from the internal cache.
7755 * select.c (syms_of_select): Added new functions.
7757 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
7758 error checking - previously this called abort!
7760 * select-x.c (x_own_selection): Changed comment.
7762 * select-x.c (x_handle_selection_request): Use select_convert_out.
7763 Don't mess with selection-alist; it's an internal variable of select.c.
7765 * select-x.c (x_get_foreign_selection): Use select_convert_in.
7767 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
7768 rather than messing with selection-alist.
7770 * select-msw.c (mswindows_get_foreign_selection):
7771 Use TO_INTERNAL_FORMAT rather than hacking.
7773 2000-07-14 Martin Buchholz <martin@xemacs.org>
7775 * process-unix.c (unix_open_multicast_group):
7776 (unix_open_multicast_group): Remove useless casts.
7778 2000-07-13 Martin Buchholz <martin@xemacs.org>
7780 * sound.c (Fplay_sound): Fix `unused variable' warning.
7782 * emacs.c (main): Use correct type for _environ on SCO5.
7784 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
7786 * console.h (own_selection_method):
7787 * console.h (selection_exists_p_method):
7788 * console.h (available_selection_types_method): New.
7789 * console.h (register_selection_data_type_method): New.
7790 * console.h (selection_data_type_name): New.
7792 * console-msw.h (mswindows_destroy_selection): Declare it. New
7793 function & alist to track GlobalAlloc()'d handles that need
7794 releasing when the clipboard data gets replaced or emptied.
7796 * event-msw.c (mswindows_wnd_proc): Call it.
7798 * lisp.h, general.c (Qappend): New symbol representing a
7801 * select.c (own-selection-internal):
7802 * select.c (selection-exists-p):
7803 * select.c (available-selection-types): New.
7804 * select.c (register-selection-data-type): New.
7805 * select.c (selection-data-type-name): New. New functions to deal
7806 with device-specific selection data formats.
7807 * select.c (selection-converter-out-alist): Renamed.
7808 * select.c (selection-converter-in-alist): New.
7809 * select.c (selection-appender-alist): New. Added new alists.
7810 * select.c (syms_of_select, vars_of_select): Added new symbols &
7812 * select.c (get_local_selection): Split.
7813 * select.c: Removed spurious type checking - selections may now be
7814 of any type, not just strings.
7815 * select.c (own-selection-internal):
7817 * select.h, select.c (convert_selection): New. Created
7818 convert_selection() function based on get_local_selection().
7819 * select.h, select.c (QCF_*): New symbols representing mswindows
7821 * select.h, select.c (Qreplace_all, Qreplace_existing): New
7822 symbols representing `how-to-add' modes.
7824 * select-msw.c (x_sym_p): New.
7825 * select-msw.c (symbol_to_ms_cf): New.
7826 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
7827 symbols & clipboard formats. Can also handle string names.
7828 * select-msw.c (mswindows_own_selection):
7829 * select-msw.c (mswindows_selection_exists_p):
7830 Added `data-type' parameter. Use it.
7831 * select-msw.c (mswindows_available_selection_types): New.
7832 * select-msw.c (mswindows_register_selection_data_type): New.
7833 * select-msw.c (mswindows_selection_data_type_name): New.
7834 * select-msw.c (mswindows_own_selection):
7835 * select-msw.c (mswindows_get_foreign_selection):
7836 * select-msw.c (mswindows_selection_exists_p): Rewrote.
7837 * select-msw.c (console_create_select_mswindows): Added new methods.
7838 * select-msw.c (mswindows_destroy_selection): New.
7839 * select-msw.c (Vhandle_alist): New list.
7840 * select-msw.c (mswindows_own_selection):
7842 * select-x.c (x_own_selection):
7843 * select-x.c (x_selection_exists_p):
7844 * select-x.c: Added some comments about maybe using new
7846 * select-x.c (x_own_selection):
7848 * specifier.c: Remove definition of Qappend (now in general.c)
7849 * specifier.c (syms_of_specifier): Remove Qappend.
7851 2000-07-12 Martin Buchholz <martin@xemacs.org>
7853 * config.h.in: Add socklen_t.
7855 * s/decosf4-0.h: No special compiler flags needed or desired.
7856 In particular, undefine _BSD for DEC OSF 4.0.
7858 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7860 * redisplay-msw.c (msprinter_frame_output_end): Added.
7861 (console_type_create_redisplay_mswindows): Referred the above.
7863 * frame.c (setup_frame_without_minibuffer): Do not create a
7864 default minibuffer frame on a printer device.
7866 * frame-msw.c (apply_dc_geometry): Added.
7867 (msprinter_start_page):
7868 (msprinter_init_frame_3):
7869 (msprinter_eject_page): Use it.
7871 * console-msw.h (struct msprinter_frame): Added pix_left and top,
7872 and removed residual duplex and orientation properties.
7874 2000-07-11 Martin Buchholz <martin@xemacs.org>
7876 * eval.c (function_argcount): Work around a DEC CC compiler bug.
7878 * unexalpha.c: Remove system prototypes from C sources!
7880 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
7882 * eval.c: Remove references to M-x edit-options in DEFUNs for
7883 `defvar' and `defconst'.
7885 2000-07-09 Martin Buchholz <martin@xemacs.org>
7887 * config.h.in: Remove SMART_INCLUDE hackery.
7890 * config.h.in: Don't use SMART_INCLUDE.
7892 * postgresql.h: Include libpq-fe.h here. Fix typo.
7893 * inline.c: Simply #include "postgresql.h"
7895 - Don't use SMART_INCLUDE
7896 - Use simply "const".
7897 - Use standard doc string conventions.
7898 - Use correct type for result of PQstatus.
7900 2000-07-09 Martin Buchholz <martin@xemacs.org>
7902 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
7904 C++ compilation changes.
7905 * config.h.in (EXTERN_C): Define.
7906 * config.h.in (not): This is also a C++ keyword.
7907 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
7908 * cm.c: Use EXTERN_C.
7909 * redisplay-tty.c: Use EXTERN_C.
7910 * sysdep.c: Use EXTERN_C. Remove Gould support.
7912 2000-07-09 Martin Buchholz <martin@xemacs.org>
7914 * general.c: Remove duplicate definition for Qfunction.
7916 2000-07-08 Ben Wing <ben@xemacs.org>
7918 * device-msw.c (msprinter_init_device):
7919 * device-msw.c (sync_printer_with_devmode):
7920 * device-msw.c (handle_devmode_changes):
7921 * device-msw.c (print_dialog_worker):
7922 * device-msw.c (Fmsprinter_apply_settings):
7923 * device-msw.c (hash_devmode):
7924 * device-msw.c (Fmsprinter_settings_despecialize):
7925 use Qmswindows_tstr, not Qctext.
7927 * vm-limit.c (check_memory_limits):
7928 avoid infinite loop printing warning messages.
7930 2000-07-05 Craig Lanning <lanning@scra.org>
7932 * Makefile.in.in: Add support for including the Windows resources
7933 when building with the cygwin and mingw targets.
7935 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
7936 not set or not correct.
7937 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
7938 (init_initial_directory): Don't try to use $PWD on the
7939 WIN32_NATIVE target.
7942 [[Add -mwindows to eliminate console window.]] not required --ben
7943 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7944 (MAIL_USE_POP): removed; now handled by configure.
7946 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
7947 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
7948 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7949 (MAIL_USE_POP): removed; now handled by configure.
7950 (ENCAPSULATE_STAT): from Dan Holmsand, added.
7951 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
7952 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
7954 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
7955 up from <winsock.h> via systime.h.
7956 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
7957 (getpagesize): from Dan Holmsand, added.
7958 Added #endif which was left dangling by Ben's mega patch; added
7959 comment to help prevent this in the future.
7961 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
7963 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7965 * console-msw.h (struct mswindows_device): Removed unnecessary
7966 cached device geometry values.
7967 Added update_tick and an accessor macro.
7968 (Lisp_Devmode): Added lrecord declaration.
7969 (struct msprinter_device): Contain devmode as a Lisp object.
7970 Added mswindows_get_selected_frame_hwnd();
7972 * console.h (struct console_methods): Indentation nitpicking.
7974 * device-msw.c (mswindows_init_device): Do not initialize geometry
7975 cache. Initialize update tick.
7976 (mswindows_device_system_metrics): Ask the device for its geometry.
7977 (global_free_2_maybe):
7978 (devmode_to_hglobal):
7979 (handle_printer_changes):
7980 (ensure_not_printing):
7981 (print_dialog_worker):
7982 (Fmsprinter_print_setup_dialog):
7983 (Fmsprinter_print_dialog):
7986 (Fmsprinter_page_setup_dialog): Added functions.
7987 (sync_printer_with_devmode):
7988 (handle_devmode_changes):
7989 (Fmsprinter_get_settings):
7990 (Fmsprinter_select_settings):
7991 (Fmsprinter_apply_settings):
7993 (Fmsprinter_settings_copy):
7994 (Fmsprinter_settings_despecialize):
7998 (hash_devmode): Added functions
7999 (syms_of_device_mswindows): Init devmode lrecord class.
8001 * device.h: Added an exfun for find-device.
8003 * event-msw.c (mswindows_wnd_proc): Do not update the cached
8004 geometry; although, recreate the device compatible DC.
8006 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
8007 (msprinter_init_frame_3):
8008 (msprinter_frame_property):
8009 (msprinter_internal_frame_property_p):
8010 (msprinter_frame_properties):
8011 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
8012 print job properties (will move to device settings).
8014 * lisp.h: Added symbols.
8016 * general.c (syms_of_general): Declared them.
8018 * hash.c (string_hash): Added.
8020 * lrecord.h (lrecord_type): Added devmode lrecord type.
8022 2000-07-02 Mike Sperber <mike@xemacs.org>
8024 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
8027 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
8029 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
8032 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
8034 * data.c (Fstring_to_number): Don't recognize floating point if
8037 2000-06-22 Martin Buchholz <martin@xemacs.org>
8039 * glyphs-widget.c (tab_control_query_geometry):
8040 (widget_query_geometry):
8041 (button_query_geometry):
8042 * glyphs.c (text_query_geometry):
8043 Enforce type correctness.
8045 2000-06-18 Martin Buchholz <martin@xemacs.org>
8047 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
8048 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
8050 2000-06-17 Martin Buchholz <martin@xemacs.org>
8052 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
8053 conflicts with gcc's fixincluded version of FOO.h.
8055 * glyphs.h (image_instance_geometry): Remove trailing `,'
8057 2000-06-08 Mike Alexander <mta@arbortext.com>
8059 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
8060 (shove_thread): Don't write the same output twice
8061 (make_ntpipe_output_stream): Increase priority of shove thread
8062 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
8064 (ntpipe_shove_closer): Don't delete the pipe until we're done with
8067 2000-06-12 Ben Wing <ben@xemacs.org>
8069 * s\mingw32.h (sigset):
8070 * s\windowsnt.h (sigset):
8071 rename msw_ to mswindows_ for consistency with general convention.
8073 2000-06-12 Ben Wing <ben@xemacs.org>
8076 * console-msw.c (mswindows_get_console_hwnd):
8077 * console-msw.c (mswindows_ensure_console_allocated):
8078 * console-msw.c (mswindows_hide_console):
8079 * console-msw.c (mswindows_show_console):
8080 * console-msw.c (mswindows_ensure_console_buffered):
8081 * console-msw.c (mswindows_output_console_string):
8082 * console-msw.c (mswindows_windows9x_p):
8084 * device-msw.c (mswindows_get_workspace_coords):
8085 * device-msw.c (mswindows_device_system_metrics):
8086 * dialog-msw.c (mswindows_popup_dialog_box):
8087 * event-msw.c (mswindows_wnd_proc):
8088 * frame-msw.c (mswindows_size_frame_internal):
8089 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8090 * menubar-msw.c (displayable_menu_item):
8091 * menubar-msw.c (mswindows_char_is_accelerator):
8093 * nt.c (mswindows_sigset):
8094 * nt.c (mswindows_sigrelse):
8095 * nt.c (mswindows_sigpause):
8096 * nt.c (mswindows_raise):
8097 * nt.c (timer_proc):
8099 * ntproc.c (find_child_console):
8100 * ntproc.c (sys_kill):
8102 * print.c (std_handle_out_external):
8103 * process-nt.c (find_child_console):
8104 * process-nt.c (send_signal_the_95_way):
8105 * process-nt.c (ensure_console_window_exists):
8106 * process-nt.c (nt_create_process):
8108 rename msw_ to mswindows_ for consistency with general convention.
8112 include nt.h, not syswindows.h.
8114 * nt.c (mswindows_fstat):
8115 * nt.c (mswindows_stat):
8116 prefix mswindows_ instead of attempting to directly override the
8117 library functions. fix declarations.
8120 include syswindows.h. move some sysdep.h stuff here.
8123 include syswindows.h, not <windows.h>.
8131 * sysdep.c (sys_fstat):
8132 * sysdep.c (sys_stat):
8133 call mswindows versions when appropriate.
8136 move mswin decls to nt.h.
8139 add long comment describing appropriate use of the various windows
8142 2000-06-11 Ben Wing <ben@xemacs.org>
8144 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8146 2000-06-10 Ben Wing <ben@xemacs.org>
8148 * Makefile.in.in (release):
8149 Correction to make sure xemacs.exe always dumped when correct.
8153 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8155 * buffer.c (set_buffer_internal):
8156 [[[[2]]]]: Remove HAVE_FEP code.
8158 * buffer.c (init_initial_directory):
8162 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8166 * callproc.c (call_process_cleanup):
8167 * callproc.c (Fold_call_process_internal):
8168 * callproc.c (child_setup):
8169 * callproc.c (getenv_internal):
8170 * callproc.c (init_callproc):
8171 * callproc.c (vars_of_callproc):
8172 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8173 __CYGWIN32__ -> CYGWIN.
8174 DOS_NT -> WIN32_NATIVE.
8175 Remove MSDOS support/references, converting to WIN32_NATIVE
8177 __MINGW32__ -> MINGW.
8178 Fix windows.h includes.
8179 Remove bogus HAVE_NTGUI.
8185 mswindows_message_outputted added for use in allowing startup
8186 errors on the console to be seen.
8188 * console-msw.c (msw_ensure_console_allocated):
8189 * console-msw.c (msw_output_console_string):
8190 * console-msw.c (DHEADER):
8191 * console-msw.c (DOPAQUE_DATA):
8192 * console-msw.c (DEVENT):
8193 * console-msw.c (DCONS):
8194 * console-msw.c (DCONSCDR):
8195 * console-msw.c (DSTRING):
8196 * console-msw.c (DVECTOR):
8197 * console-msw.c (DSYMBOL):
8198 * console-msw.c (DSYMNAME):
8201 * console-stream.c (stream_init_console):
8202 Fix text/binary problems.
8205 * device-msw.c (mswindows_finish_init_device):
8206 * device-msw.c (mswindows_delete_device):
8209 * device.c (handle_asynch_device_change):
8213 * dgif_lib.c (DGifOpenFileName):
8214 * dgif_lib.c (DGifOpenFileHandle):
8215 * dgif_lib.c (DGifGetLine):
8216 * dgif_lib.c (DGifGetPixel):
8217 Added config.h/lisp.h, fix up includes.
8224 * dired.c (file_name_completion):
8225 * dired.c (Ffile_attributes):
8226 * dired.c (syms_of_dired):
8230 * dumper.c (pdump_file_unmap):
8231 * dumper.c (pdump_load):
8235 * editfns.c (Ftemp_directory):
8236 * editfns.c (user_login_name):
8237 * editfns.c (Fuser_real_login_name):
8238 * editfns.c (get_home_directory):
8241 * elhash.c (finish_marking_weak_hash_tables):
8242 [[[[5]]]]: Fix GCC warnings.
8245 * emacs.c (mswindows_handle_hardware_exceptions):
8246 * emacs.c (make_arg_list_1):
8248 * emacs.c (Fkill_emacs):
8249 * emacs.c (Fdump_emacs):
8251 Fix problems with nested crashes, add long comment.
8253 * event-Xt.c (init_event_Xt_late):
8257 * event-msw.c (mswindows_dde_callback):
8258 * event-msw.c (mswindows_handle_sticky_modifiers):
8259 * event-msw.c (mswindows_wnd_proc):
8263 * events.c (character_to_event):
8267 * fileio.c (Ffile_name_directory):
8268 * fileio.c (Ffile_name_nondirectory):
8269 * fileio.c (directory_file_name):
8270 * fileio.c (Fexpand_file_name):
8271 * fileio.c (Fsubstitute_in_file_name):
8272 * fileio.c (Ffile_name_absolute_p):
8273 * fileio.c (check_executable):
8274 * fileio.c (Ffile_readable_p):
8275 * fileio.c (Ffile_accessible_directory_p):
8276 * fileio.c (Ffile_modes):
8277 * fileio.c (Funix_sync):
8278 * fileio.c (vars_of_fileio):
8281 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8283 Expand getdefdir defn.
8284 Fix bogus rename() comment.
8286 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8287 to use standard XEmacs include files, e.g. sysfile.h, rather
8288 than system-specific includes.
8294 * frame.c (vars_of_frame):
8298 * getloadavg.c (getloadavg):
8300 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8301 (We don't use it elsewhere in the code; just add a comment.)
8308 * glyphs-msw.c (mswindows_resource_instantiate):
8311 * glyphs-x.c (x_native_layout_instantiate):
8314 * gui-msw.c (Fmswindows_shell_execute):
8323 * lread.c (locate_file_in_directory_mapper):
8330 * mem-limits.h (get_lim_data):
8342 * nt.c (rva_to_section):
8343 * nt.c (mswindows_executable_type):
8345 Fix closedir() defn.
8348 [[[[8]]]]: *_OK defs moved to sysfile.h.
8357 * print.c (std_handle_out_external):
8361 * process-nt.c (nt_create_process):
8363 try to fix process quoting somewhat.
8365 * process-unix.c (unix_create_process):
8369 * process.c (vars_of_process):
8376 * realpath.c (xrealpath):
8379 * redisplay-tty.c (init_tty_for_redisplay):
8389 * sheap.c (more_static_core):
8390 * sheap.c (report_sheap_usage):
8394 * signal.c (alarm_signal):
8401 * strftime.c (zone_name):
8404 * symsinit.h (init_sunpro):
8408 commctrl.h not in Cygwin b20.1.
8412 * sysdep.c (sys_subshell):
8413 * sysdep.c (init_baud_rate):
8414 * sysdep.c (emacs_get_tty):
8415 * sysdep.c (emacs_set_tty):
8416 * sysdep.c (tty_init_sys_modes_on_device):
8417 * sysdep.c (init_system_name):
8418 * sysdep.c (sys_open):
8419 * sysdep.c (interruptible_open):
8420 * sysdep.c (sys_fopen):
8421 * sysdep.c (sys_mkdir):
8422 * sysdep.c (sys_rename):
8423 * sysdep.c (get_process_times_1):
8430 * sysdir.h (DIRENTRY_NONEMPTY):
8433 * sysdll.c (dll_init):
8439 added text/binary defs.
8445 * sysproc.h (EDESTADDRREQ):
8446 * sysproc.h (poll_fds_for_input):
8463 Always define WIN32_LEAN_AND_MEAN.
8465 * unexcw.c (unexec):
8469 * unexec.c (copy_text_and_data):
8470 * unexec.c (adjust_lnnoptrs):
8474 * unexnt.c (_start):
8477 2000-06-07 Ben Wing <ben@xemacs.org>
8479 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8480 was used only as a model. We've long since extracted any useful
8481 logic or code out of this. (I just did an exhaustive search.)
8483 * s\msdos.h: Removed.
8485 * s\windows95.h: Removed.
8487 2000-06-10 Ben Wing <ben@xemacs.org>
8491 Don't use extern with fun defs.
8495 Remove nt\inc include.
8496 Remove getdisk, getdefdir. (The former is unused, the latter
8497 expanded in fileio.h.)
8500 * s\windowsnt.h (WIN32_NATIVE):
8501 * s\windowsnt.h (HAVE_STRCASECMP):
8503 Add long comment about preprocessor changes.
8504 Remove getdisk, getdefdir. (The former is unused, the latter
8505 expanded in fileio.h.)
8507 2000-06-10 Ben Wing <ben@xemacs.org>
8516 Remove bogus/unused NO_SOCK_SIGIO.
8518 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8520 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8523 2000-06-04 Mike Sperber <mike@xemacs.org>
8525 * casetab.c (set_case_table): For `set-standard-case-table',
8526 actually deposit the new case tables where the rest of XEmacs can
8529 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8531 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8533 2000-06-05 Ben Wing <ben@xemacs.org>
8535 * callproc.c (child_setup): Don't do close_load_descs() under
8536 MS Windows. Put in a comment explaining why.
8538 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8540 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8541 Toolkit shell" which breaks `kill-compilation' on Windows NT
8542 native, retaining STDERR handling improvements.
8544 2000-06-01 Andreas Jaeger <aj@suse.de>
8546 * s/s390.h: Support for S390, based on a patch by Martin
8547 Schwidefsky <schwidefsky@de.ibm.com>.
8549 2000-05-30 Andy Piper <andy@xemacs.org>
8551 * window.c (allocate_window):
8552 (make_dummy_parent):
8553 (Fset_window_configuration): use new hashtable type.
8555 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8556 (struct image_instantiator_methods):
8557 (struct Lisp_Image_Instance): make instance geometry signed.
8559 * glyphs.c (instantiate_image_instantiator):
8560 (image_instance_query_geometry):
8561 (image_instance_layout):
8562 (image_instance_layout):
8563 (query_string_geometry):
8564 (text_query_geometry):
8565 (image_instantiate):
8566 (image_instantiate):
8567 (cache_subwindow_instance_in_frame_maybe):
8568 (subwindow_query_geometry): make instance geometry signed.
8570 * glyphs-widget.c (widget_query_geometry):
8572 (button_query_geometry):
8573 (tree_view_query_geometry):
8574 (tab_control_query_geometry):
8575 (layout_query_geometry):
8577 (native_layout_layout): make instance geometry signed.
8579 2000-05-29 Olivier Galibert <galibert@pobox.com>
8581 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8584 * general.c (syms_of_general): Add Qfull_assoc symbol.
8586 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8588 (decode_weak_list_type): Decode full-assoc type.
8589 (encode_weak_list_type): Encode full-assoc type.
8590 (Fmake_weak_list): Update doc string.
8592 2000-05-30 Andy Piper <andy@xemacs.org>
8594 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8596 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8597 (decode_hash_table_weakness): ditto.
8598 (Fhash_table_weakness): ditto.
8599 (Fhash_table_type): ditto.
8600 (finish_marking_weak_hash_tables): ditto.
8601 (hash_table_weakness_validate): ditto.
8602 (syms_of_elhash): ditto.
8604 2000-05-28 Martin Buchholz <martin@xemacs.org>
8606 * XEmacs 21.2.34 is released.
8608 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8610 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8612 (updating_line_start_cache): Gone.
8613 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8614 generic code to force a minimum of 1 line laid out in the
8617 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8619 * glyphs.c (instantiate_image_instantiator): Check for initialized
8620 height & width no longer special cases IMAGE_NOTHING.
8621 (nothing_instantiate): Set height and width of instance.
8623 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8625 * unexelf.c (unexec): Search for ".data" section.
8626 Initialize new_data2_offset from old_data_index.
8627 Remove redundant check for ElfW.
8629 2000-05-23 Andy Piper <andy@xemacs.org>
8631 * glyphs.c (get_image_instantiator_governing_domain): allow more
8632 specific domains as the governing domain rather than expecting an
8633 exact match. This fixes problems with layouts.
8635 2000-05-22 Andy Piper <andy@xemacs.org>
8637 * redisplay-output.c (compare_runes): check for non-images
8639 * glyphs.c (set_glyph_dirty_p): ditto.
8640 (update_glyph_cachel_data): ditto.
8642 * glyphs-widget.c (layout_post_instantiate): ditto.
8643 (layout_post_instantiate): ditto.
8645 * event-msw.c (mswindows_wnd_proc): warning removal.
8647 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8649 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8651 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8653 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8655 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8656 (mswindows_executable_type): mingw32 now has enough headers for
8659 2000-05-20 Andy Piper <andy@xemacs.org>
8661 * console-msw.c (mswindows_output_last_error): ; -> ,
8663 2000-05-12 Andy Piper <andy@xemacs.org>
8665 * console-msw.c (FROB): compare ints with ints.
8667 2000-05-11 Andy Piper <andy@xemacs.org>
8669 * glyphs-x.c (x_finalize_image_instance): make minimal build
8672 2000-05-20 Ben Wing <ben@xemacs.org>
8675 * event-Xt.c (vars_of_event_Xt):
8676 move modifier-keys-are-sticky to event-stream.c.
8679 * event-msw.c (mswindows_enqueue_mouse_button_event):
8680 * event-msw.c (key_needs_default_processing_p):
8681 * event-msw.c (XEMSW_LCONTROL):
8682 * event-msw.c (mswindows_handle_sticky_modifiers):
8683 * event-msw.c (FROB):
8684 * event-msw.c (clear_sticky_modifiers):
8685 * event-msw.c (output_modifier_keyboard_state):
8686 * event-msw.c (output_alt_keyboard_state):
8687 * event-msw.c (mswindows_wnd_proc):
8688 * event-msw.c (mswindows_modifier_state):
8689 * event-msw.c (emacs_mswindows_handle_magic_event):
8690 implement sticky modifiers.
8693 * event-stream.c (vars_of_event_stream):
8694 move modifier-keys-are-sticky here.
8700 implement map-range-table.
8703 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8705 * redisplay-tty.c (reset_tty_modes):
8706 (tty_redisplay_shutdown): Adjust argument type to
8707 tty_frame_output_end.
8709 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8711 * eval.c (Fbacktrace): Don't output a line with only right
8714 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8716 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8717 (Fpq_reset_poll): Ditto.
8719 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8721 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8723 2000-05-16 Ben Wing <ben@xemacs.org>
8726 * buffer.c (dfc_convert_to/from_internal_format):
8727 * buffer.c (reinit_vars_of_buffer):
8728 Fix conversion functions to allow reentrancy.
8731 * console-msw.c (mswindows_output_last_error):
8732 New fun, generally useful -- output a human-readable
8733 version of GetLastError() on the console.
8736 * console-msw.h (struct mswindows_frame):
8737 Changes for DeferWindowPos. Declare mswindows_output_last_error().
8739 * console-stream.c (stream_output_begin):
8740 * console-stream.c (stream_output_end):
8741 * console-stream.c (stream_output_vertical_divider):
8742 * console-stream.c (stream_clear_region):
8743 * console-stream.c (stream_flash):
8744 * console-stream.c (console_type_create_stream):
8745 Delete blank stream methods, not needed.
8747 * console.h (struct console_methods):
8748 Split begin/end methods into window and frame.
8751 * event-msw.c (mswindows_handle_paint):
8752 * event-msw.c (output_alt_keyboard_state):
8753 * event-msw.c (mswindows_wnd_proc):
8754 * event-msw.c (vars_of_event_mswindows):
8755 Comment about problems with ignored-expose.
8756 Define mswindows-debug-events; not really implemented.
8758 * frame-msw.c (mswindows_init_frame_1):
8762 * glyphs-msw.c (begin_defer_window_pos):
8763 * glyphs-msw.c (mswindows_unmap_subwindow):
8764 * glyphs-msw.c (mswindows_map_subwindow):
8765 * glyphs-msw.c (mswindows_resize_subwindow):
8766 Use DeferWindowPos to reduce flashing when mapping/unmapping.
8768 * glyphs.c (make_image_instance_1):
8771 * gutter.c (Fredisplay_gutter_area):
8772 Use new begin/end methods.
8774 * lisp.h (Dynarr_new2):
8778 * redisplay-msw.c (mswindows_frame_output_begin):
8779 * redisplay-msw.c (mswindows_frame_output_end):
8780 * redisplay-msw.c (console_type_create_redisplay_mswindows):
8781 New begin/end methods -- handle DeferWindowPos.
8783 * redisplay-output.c (redisplay_move_cursor):
8784 * redisplay-output.c (redraw_cursor_in_window):
8785 * redisplay-output.c (redisplay_update_line):
8786 * redisplay-output.c (redisplay_output_window):
8787 New begin/end methods.
8790 * redisplay-tty.c (tty_frame_output_begin):
8791 * redisplay-tty.c (tty_frame_output_end):
8792 * redisplay-tty.c (console_type_create_redisplay_tty):
8793 New begin/end methods.
8796 * redisplay-x.c (x_window_output_begin):
8797 * redisplay-x.c (x_window_output_end):
8798 * redisplay-x.c (console_type_create_redisplay_x):
8799 New begin/end methods.
8801 * redisplay.c (redisplay_frame):
8802 * redisplay.c (Fredisplay_echo_area):
8803 New begin/end methods.
8804 use MAYBE_DEVMETH for clear_frame; it may not exist.
8806 * window.h (WINDOW_XFRAME):
8807 WINDOW_XFOO macros -- get locale and decode struct pointer.
8810 2000-05-12 Ben Wing <ben@xemacs.org>
8813 * emacs.c (ensure_no_quitting_from_now_on):
8814 * emacs.c (fatal_error_signal):
8815 * emacs.c (mswindows_handle_hardware_exceptions):
8817 * emacs.c (Fkill_emacs):
8818 * emacs.c (shut_down_emacs):
8819 * emacs.c (assert_failed):
8820 various improvements in fatal error handling.
8823 move preparing_for_armageddon to emacs.c.
8826 declare fatal_error_in_progress.
8829 * print.c (std_handle_out_external):
8830 * print.c (std_handle_out_va):
8831 * print.c (stderr_out):
8832 * print.c (stdout_out):
8833 use console under mswin when no standard output.
8834 don't do code conversion during fatal error.
8836 * scrollbar.c (Fscrollbar_page_up):
8837 * scrollbar.c (Fscrollbar_page_down):
8838 fix missing else. reindent.
8840 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
8844 * glyphs.h (GLYPH_CACHEL_DESCENT):
8845 (GLYPH_CACHEL_DESCENT):
8846 (GLYPH_CACHEL_DESCENT):
8847 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
8848 used in case these are inline functions.
8849 Use more absurd values to error check.
8851 include window.h for error check functions.
8853 2000-05-11 Ben Wing <ben@xemacs.org>
8855 * cmdloop.c (Freally_early_error_handler):
8856 Display message box under windows; otherwise, message will disappear
8857 before it can be viewed.
8860 * console-msw.c (Fmswindows_message_box):
8861 * console-msw.c (FROB):
8862 * console-msw.c (syms_of_console_mswindows):
8863 Define new fun `mswindows-message-box'.
8864 #### I will merge this into `popup-dialog-box'; just give me
8868 * general.c (syms_of_general):
8869 Some new symbols used in `mswindows-message-box'.
8872 * glyphs.c (Fset_image_instance_property):
8873 put warning in this fun.
8876 * glyphs.h (GLYPH_CACHEL_WIDTH):
8877 * glyphs.h (GLYPH_CACHEL_ASCENT):
8878 * glyphs.h (GLYPH_CACHEL):
8879 * glyphs.h (GLYPH_CACHEL_GLYPH):
8880 define error-checking versions to try to catch a bug i've seen --
8881 redisplay gets in an infinite loop because the glyph width of the
8882 continuation glyph is 65535.
8885 Extern message-box stuff.
8887 * window.c (allocate_window):
8888 * window.c (make_dummy_parent):
8889 * window.c (Fset_window_configuration):
8890 Use EQUAL not EQ for subwindow caches to make them work a bit
8891 better. (Something is still very broken.)
8894 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8896 * glyphs.c (image_instantiate): Suppress gcc warnings.
8897 (Fmake_image_instance): Fix doc string.
8898 * specifier.c (Fmake_specifier): Ditto.
8900 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
8902 * paths.h.in (PATH_LOCK): Removed.
8903 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
8904 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
8906 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8908 * fns.c (Ffeaturep): Update e-mail address in doc-string.
8909 Document (featurep '(and xemacs 21.02)).
8911 2000-05-09 Ben Wing <ben@xemacs.org>
8913 * buffer.c (complex_vars_of_buffer):
8914 update modeline-format doc.
8917 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
8920 timeline of all released versions of Emacs, for use in creating
8921 authorship comments and in synching up.
8923 * glyphs-widget.c (image_instantiator_buttons):
8924 * glyphs-widget.c (image_instantiator_edit_fields):
8925 * glyphs-widget.c (image_instantiator_combo_box):
8926 * glyphs-widget.c (image_instantiator_scrollbar):
8927 * glyphs-widget.c (image_instantiator_progress_guage):
8928 * glyphs-widget.c (image_instantiator_tree_view):
8929 * glyphs-widget.c (image_instantiator_tab_control):
8930 * glyphs-widget.c (image_instantiator_labels):
8931 * glyphs-widget.c (image_instantiator_layout):
8932 * glyphs-widget.c (image_instantiator_native_layout):
8933 rename decode_domain method to governing_domain.
8936 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
8937 * glyphs.c (add_entry_to_device_ii_format_list):
8938 make sure we don't put an entry more than once into the list.
8939 * glyphs.c (check_instance_cache_mapper):
8940 *************************************************************
8941 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8943 *************************************************************
8944 * glyphs.c (get_image_instantiator_governing_domain):
8945 clean up, expand on new concept of governing domain.
8946 * glyphs.c (instantiate_image_instantiator):
8947 * glyphs.c (allocate_image_instance):
8948 use governing_domain instead of cache_domain in naming.
8949 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
8950 * glyphs.c (make_image_instance_1):
8951 * glyphs.c (Fmake_image_instance):
8952 allow for any domain (not just device), and process the
8953 governing domain correctly. very big doc fix.
8954 * glyphs.c (Fimage_instance_domain):
8955 new primitive, to retrieve the governing domain of an image instance.
8956 * glyphs.c (image_instantiate):
8957 use new governing_domain stuff. this fixes a crash you could get
8958 by instantiating certain widget glyphs in frame locales. (should
8959 signal an error instead of crashing.)
8960 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
8961 * glyphs.c (Fglyphp): clean up doc.
8962 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
8963 * glyphs.c (syms_of_glyphs):
8964 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
8965 * glyphs.c (image_instantiator_format_create): add some comments about
8967 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
8968 for current-display-table. (Apparently Hrjove implemented in 1998 a
8969 design I wrote up in 1996, but didn't update the doc string.)
8971 * glyphs.h: clean up a doc string.
8972 * glyphs.h (governing_domain):
8973 * glyphs.h (struct image_instantiator_methods):
8974 changes for governing_domain stuff.
8977 * gutter.c (Fgutter_specifier_p):
8978 * gutter.c (Fgutter_size_specifier_p):
8979 * gutter.c (Fgutter_visible_specifier_p):
8981 * objects.c (Fcolor_specifier_p):
8982 * objects.c (Ffont_specifier_p):
8983 * objects.c (Fface_boolean_specifier_p):
8984 doc strings moved to make-*-specifier.
8986 * redisplay.c (add_disp_table_entry_runes_1):
8987 * redisplay.c (generate_fstring_runes):
8988 * redisplay.c (screen):
8989 add random comments and doc strings.
8992 * specifier.c (Fmake_specifier):
8993 major overhaul of this doc string.
8995 * specifier.c (Fvalid_specifier_domain_p):
8996 comment about the bogosity of image instances being domains.
8997 * specifier.c (decode_domain):
8998 now non-static, used in glyphs.c.
8999 * specifier.c (specifier_instance):
9000 comment about the bogosity of image instances being domains.
9001 * specifier.c (Fgeneric_specifier_p):
9002 move doc string to make-generic-specifier.
9003 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
9007 * specifier.h (DOMAIN_FRAME):
9008 * specifier.h (DOMAIN_LIVE_P):
9009 * specifier.h (DOMAIN_XDEVICE):
9011 add comments about problems with these macros.
9012 prototype for decode_domain.
9015 * toolbar.c (Ftoolbar_specifier_p):
9016 move doc string to `make-toolbar-specifier'.
9018 * window.c (window_unmap_subwindows_cache_mapper):
9019 *************************************************************
9020 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
9022 *************************************************************
9024 2000-05-09 Andy Piper <andy@xemacs.org>
9026 * glyphs.h: declare reset_frame_subwindow_instance_cache.
9028 * window.c (Fset_window_configuration): reset the frame subwindow
9029 cache and re-initialize the window subwindow caches.
9031 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
9033 2000-05-09 Ben Wing <ben@xemacs.org>
9035 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
9038 2000-04-26 Mike Woolley <mike@bulsara.com>
9040 * ntheap.c: Changed recreate_heap to limit the amount reserved
9041 for the heap to that which is actually available. Also now
9042 displays a message box (with some dignostics) in the event that
9043 it still can't start.
9045 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
9047 * callproc.c (Fold_call_process_internal): GCPRO path
9049 2000-05-08 Jan Vroonhof <jan@xemacs.org>
9051 Patch by Bill Perry.
9053 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
9054 back data instead of #ifdef.
9055 (Fscrollbar_page_down): ditto.
9057 2000-05-07 Ben Wing <ben@xemacs.org>
9060 Kludge for defining Qmswindows_tstr.
9063 * nt.c (open_input_file):
9064 * nt.c (open_output_file):
9065 * nt.c (rva_to_section):
9066 * nt.c (mswindows_executable_type):
9067 Move all memory-mapped-file routines here (some were in unexnt.c,
9068 which is bad because they are used by process-nt.c, and unexnt
9069 won't be around when portable dumping). Synched the above routines
9073 Removed ifdef'd out bogus code.
9074 Fixed some prototypes.
9077 * nt.h (OFFSET_TO_RVA):
9078 * nt.h (RVA_TO_OFFSET):
9079 * nt.h (RVA_TO_PTR):
9080 Moved the memory-mapped-file structures, macros and prototypes
9081 here, to parallel nt.c. ntheap.h should really be removed
9082 entirely, and it's a non-portable-dumper specific file.
9084 * ntheap.h (round_to_next):
9085 Moved the memory-mapped-file structures, macros and prototypes
9088 * ntproc.c (compare_env):
9089 Moved rva_to_section and mswindows_executable_type to nt.c.
9090 Moved compare_env to process-nt.c.
9091 ntproc.c will die, one day.
9093 * ntproc.c (sys_spawnve):
9094 Account for win32_ -> mswindows_.
9097 * process-nt.c (struct nt_process_data):
9098 * process-nt.c (ensure_console_window_exists):
9099 * process-nt.c (compare_env):
9100 * process-nt.c (nt_create_process):
9101 * process-nt.c (nt_kill_process_by_pid):
9102 * process-nt.c (syms_of_process_nt):
9103 * process-nt.c (vars_of_process_nt):
9104 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
9105 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
9106 changes). Eliminate our old `nt-quote-process-args' mechanism.
9107 Synch up nt_create_process with FSF 20.6 sys_spawnve.
9108 Move compare_env here from ntproc.c.
9110 * process.c (Fprocess_send_region):
9111 Takes an optional fourth argument, BUFFER, which should fix some
9112 problems with call-process.
9115 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
9118 Move ICC_BAR_CLASSES to syscommctrl.h.
9119 Add preliminary macros for MSWindows/Mule. More to come.
9122 * unexnt.c (unexec):
9123 open_output_file moved to nt.c.
9126 2000-05-05 Andy Piper <andy@xemacs.org>
9128 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
9129 instance from the frame cache also since GC may catch up too late
9130 to make frame deletion sane.
9132 2000-05-04 Andy Piper <andy@xemacs.org>
9134 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
9135 (x_finalize_image_instance): ungcpro on deletion.
9137 * glyphs.c (image_instantiator_format_create): give pointers a
9138 query geometry method so that the geometry is at least set.
9140 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
9141 initialize layouts if using widgets.
9143 2000-05-03 Andy Piper <andy@xemacs.org>
9145 * nt.c: remove bogus reference to sysmmsystem.h
9147 * gui-x.c (popup_selection_callback): fix no selection abort.
9149 2000-05-02 Andy Piper <andy@xemacs.org>
9151 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9152 (mswindows_widget_instantiate): ditto.
9154 * glyphs-widget.c (initialize_widget_image_instance): initialize
9156 (widget_instantiate): cope with children and items in the same
9159 * glyphs.c (mark_image_instance): cope with children as a first
9161 (image_instance_equal): ditto.
9162 (image_instance_hash): ditto.
9163 (image_instance_changed): ditto.
9165 2000-04-30 Andy Piper <andy@xemacs.org>
9167 * glyphs.c (subwindow_query_geometry): new function. Return some
9169 (subwindow_instantiate): don't assign dimensions if none have been
9171 (image_instantiator_format_create): add subwindow_query_geometry.
9172 (print_image_instance): cope with layouts as widgets.
9174 2000-04-29 Andy Piper <andy@xemacs.org>
9176 * frame.c (delete_frame_internal): call
9177 free_frame_subwindow_instance_cache so that all subwindows are
9178 finalized before their parent.
9179 (mark_frame): remove subwindow_cachels.
9180 (Fmake_frame): remove subwindow_cachel manipulation.
9181 (allocate_frame_core): subwindow_instance_cache is a weak list.
9182 (delete_frame_internal): set subwindow_instance_cache to nil.
9184 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9186 (mswindows_finalize_image_instance): use the device
9187 not the domain as the domain may have died already.
9189 * glyphs-x.c (x_finalize_image_instance): ditto.
9190 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9193 * redisplay-output.c (redisplay_unmap_subwindows): update for
9194 subwindow instance cache as a weak list.
9195 (redisplay_unmap_subwindows_maybe): ditto.
9196 (redisplay_unmap_subwindows_except_us): ditto.
9198 * glyphs.c (unmap_subwindow): error checking will check the domain
9199 so don't deal with it here. Don't use cachels anymore.
9200 (map_subwindow): ditto.
9201 (update_subwindow_cachel_data): remove old accessor names.
9202 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9203 (Fresize_subwindow): don't update cachel.
9204 (mark_subwindow_cachels):
9205 (update_subwindow_cachel_data):
9206 (add_subwindow_cachel):
9207 (get_subwindow_cachel_index):
9208 (update_subwindow_cachel):
9209 (reset_subwindow_cachels):
9210 (mark_subwindow_cachels_as_not_updated): deleted.
9211 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9212 subwindow instance to the frame cache.
9213 (find_matching_subwindow): update for subwindow instance cache as
9215 (update_widget_instances): ditto.
9216 (image_instance_type_to_mask):inlined.
9217 (free_frame_subwindow_instance_cache): new function. finalize all
9218 subwindows that are instantiated.
9220 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9221 of cachel information.
9222 (IMAGE_INSTANCE_DISPLAY_X):
9223 (IMAGE_INSTANCE_DISPLAY_Y):
9224 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9225 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9226 (XIMAGE_INSTANCE_DISPLAY_X):
9227 (XIMAGE_INSTANCE_DISPLAY_Y):
9228 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9229 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9230 remove subwindow_cachel structure and function references.
9231 (image_instance_type_to_mask): inline from glyphs.c
9233 * redisplay.c (redisplay_frame): remove subwindow_cachel
9236 * frame.h (struct frame): remove subwindow_cachels.
9237 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9239 * frameslots.h: add subwindow_instance_cache.
9241 * window.c (replace_window): check subwindow cache of replacement.
9242 (window_unmap_subwindows_cache_mapper):
9243 (window_unmap_subwindows): new functions. Unmap all subwindows
9244 cached on this window.
9245 (mark_window_as_deleted): unmap all subwindows.
9247 2000-04-27 Andy Piper <andy@xemacs.org>
9249 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9251 * glyphs-widget.c (widget_layout): return something.
9252 (layout_layout): return something. Fail if not initialized.
9253 (layout_query_geometry): ditto.
9254 (image_instantiator_native_layout): new function. Initialized the
9256 (widget_instantiate): don't do layout stuff here.
9258 * glyphs.c (instantiate_image_instantiator): reorded calling or
9259 instantiate and post_instantiate with layout in between.
9260 (image_instance_layout): be more selective about deciding whether
9261 the layout has been done or not.
9263 * glyphs.h (struct image_instantiator_methods): return a value
9266 2000-04-26 Andy Piper <andy@xemacs.org>
9268 * glyphs.c (allocate_image_instance): make initial width and
9269 height unspecified. Set initialized to 0.
9271 * syscommctrl.h new file. Encapsulates commctrl.h.
9273 * syswindows.h new file. Encapsulates windows.h.
9275 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9277 * console-msw.h: ditto.
9279 * redisplay-tty.c (tty_output_display_block): remove layout references.
9281 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9282 window handle rather than just the frame.
9284 * glyphs.c (mark_image_instance): remove layout references.
9285 (print_image_instance): ditto.
9286 (image_instance_equal): ditto.
9287 (image_instance_hash): ditto.
9288 (decode_image_instance_type): ditto.
9289 (encode_image_instance_type): ditto.
9290 (image_instantiate): ditto.
9291 (allocate_glyph): ditto.
9292 (Fimage_instance_height): ditto.
9293 (Fimage_instance_width): ditto.
9294 (update_subwindow): ditto.
9296 * redisplay-x.c (x_output_display_block): recode for layouts as
9299 * redisplay-output.c (redisplay_output_layout): recode for layouts
9301 (compare_runes): remove layout references.
9303 * redisplay-msw.c (mswindows_output_display_block): recode for
9306 * glyphs-widget.c (image_instantiator_layout): remove
9307 layout_possible_dest_types.
9308 (layout_possible_dest_types): deleted.
9310 * glyphs.h (image_instance_type): remove layout references.
9311 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9312 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9313 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9315 2000-04-25 Andy Piper <andy@xemacs.org>
9317 * glyphs-widget.c (image_instantiator_buttons):
9318 (image_instantiator_edit_fields):
9319 (image_instantiator_combo_box):
9320 (image_instantiator_scrollbar):
9321 (image_instantiator_progress_guage):
9322 (image_instantiator_tree_view):
9323 (image_instantiator_tab_control):
9324 (image_instantiator_labels):
9325 (image_instantiator_layout): call default post_instantiate method.
9326 (widget_post_instantiate): new function. Simply lays out the
9329 * glyphs.h (struct image_instantiator_methods): add
9330 post_instantiate method.
9332 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9335 2000-04-23 Andy Piper <andy@xemacs.org>
9337 * glyphs.h (struct image_instantiator_methods): add
9338 decode_domain_method.
9339 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9340 derived from the domain.
9341 (IMAGE_INSTANCE_FRAME): new accessor.
9342 (XIMAGE_INSTANCE_FRAME): ditto.
9344 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9345 instead of _SUBWINDOW_FRAME.
9346 (finalize_image_instance): ditto.
9347 (Fimage_instance_foreground): ditto.
9348 (Fimage_instance_background): ditto.
9349 (image_instantiate): ditto.
9350 (update_subwindow_cachel): ditto.
9351 (update_subwindow): ditto.
9352 (unmap_subwindow): ditto.
9353 (map_subwindow): ditto
9354 (subwindow_instantiate): ditto.
9355 * glyphs-msw.c (mswindows_update_widget): ditto.
9356 (mswindows_progress_gauge_instantiate): ditto.
9357 (mswindows_tab_control_update): ditto.
9358 * glyphs-x.c (x_update_widget): ditto.
9359 (x_widget_instantiate): ditto.
9360 (x_tab_control_instantiate): ditto.
9361 (x_tab_control_update): ditto.
9362 * event-msw.c (mswindows_wnd_proc): ditto
9364 * glyphs-widget.c (image_instantiator_layout): use
9365 subwindow_decode_domain.
9366 (image_instantiator_buttons): ditto.
9367 (image_instantiator_edit_fields): ditto.
9368 (image_instantiator_combo_box): ditto.
9369 (image_instantiator_scrollbar): ditto.
9370 (image_instantiator_progress_guage): ditto.
9371 (image_instantiator_tree_view): ditto.
9372 (image_instantiator_tab_control): ditto.
9373 (image_instantiator_labels): ditto.
9374 (image_instantiator_layout): ditto.
9376 * glyphs.c: add instance error checking to many functions.
9377 (instantiate_image_instantiator): decode device from cache_domain.
9378 (image_instantiate): partially rewrite by using
9379 decode_image_instantiator_domain to determine what domain the
9380 instance needs to be cached in.
9381 (decode_image_instantiator_domain): new function. Determine what
9382 domain the image needs to be cached in.
9383 (check_window_subwindow_cache): new error checking function.
9384 (check_instance_cache_mapper): ditto.
9385 (check_image_instance_structure): ditto.
9386 (subwindow_decode_domain): new function. Encodes a window as a
9387 subwindow's cache domain.
9388 (image_instantiator_format_create): use it for text and
9391 2000-04-21 Andy Piper <andy@xemacs.org>
9393 * glyphs.c (image_instance_device): new function.
9394 (image_instance_frame): new function.
9395 (image_instance_window): new function.
9396 (image_instance_live_p): new function.
9398 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9401 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9402 (IMAGE_INSTANCE_DOMAIN): new accessor.
9403 (XIMAGE_INSTANCE_DOMAIN): ditto.
9405 * glyphs-x.c (x_finalize_image_instance): device->domain.
9407 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9408 (mswindows_finalize_image_instance): ditto.
9410 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9411 (gif_instantiate): ditto.
9412 (png_instantiate): ditto.
9413 (tiff_instantiate): ditto.
9415 * glyphs.c (instantiate_image_instantiator): use domain rather
9417 (mark_image_instance): device -> domain.
9418 (print_image_instance): ditto.
9419 (finalize_image_instance): ditto.
9420 (image_instance_equal): ditto.
9421 (allocate_image_instance): ditto.
9422 (Fcolorize_image_instance): ditto.
9423 (query_string_geometry): ditto.
9424 (image_instantiate): ditto
9425 (query_string_font): ditto.
9426 (image_instantiate): ditto.
9427 (update_subwindow): ditto.
9428 (unmap_subwindow): ditto.
9429 (map_subwindow): ditto.
9430 (subwindow_instantiate): ditto.
9432 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9433 (DOMAIN_FRAME): ditto.
9434 (DOMAIN_WINDOW): ditto.
9435 (DOMAIN_LIVE_P): ditto.
9436 (XDOMAIN_DEVICE): ditto.
9437 (XDOMAIN_FRAME): ditto.
9438 (XDOMAIN_WINDOW): ditto.
9440 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9441 a valid specifier domain.
9443 2000-04-19 Andy Piper <andy@xemacs.org>
9445 * glyphs-widget.c (syms_of_glyphs_widget): remove
9446 widget-callback-current-channel.
9447 (vars_of_glyphs_widget): ditto.
9450 * gui.c (get_gui_callback): revert to previous behaviour.
9452 2000-04-18 Andy Piper <andy@xemacs.org>
9454 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9455 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9456 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9458 * glyphs.c (image_instance_equal): add margin_width.
9459 (image_instance_hash): ditto.
9461 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9462 (layout_query_geometry): ditto.
9463 (layout_layout): ditto.
9464 (syms_of_glyphs_widget): add margin-width.
9465 (image_instantiator_layout): allow margin-width.
9467 * glyphs.c (update_widget_instances): make a normal function.
9468 (syms_of_glyphs): remove Qupdate_widget_instances.
9471 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9472 so that we don't corrupt ideas about the last event or
9473 command. Remove widget-callback-current-channel fiddling.
9474 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9476 2000-05-01 Martin Buchholz <martin@xemacs.org>
9478 * XEmacs 21.2.33 is released.
9480 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9482 * make-src-depend: Allow dots in header file name.
9484 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9486 * mule-charset.h (struct charset_lookup): Add
9487 next_allocated_1_byte_leading_byte and
9488 next_allocated_2_byte_leading_byte.
9489 * mule-charset.c: Move above two variables so that those values
9492 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9494 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9495 when string length is zero.
9496 (find_charsets_in_emchar_string): Ditto.
9498 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9500 * lisp.h: extern Qdialog and Qmenubar.
9502 * gui-x.c: added events.h.
9503 also fixed typo which made the file uncompilable.
9505 * general.c: Added Qmenubar and Qdialog
9507 2000-04-28 Ben Wing <ben@xemacs.org>
9509 * frame-msw.c (mswindows_init_frame_1):
9510 * frame-msw.c (mswindows_mark_frame):
9511 * event-msw.c (mswindows_enqueue_dispatch_event):
9513 * console-msw.h (struct mswindows_frame):
9514 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9515 there are now three hash tables for callbacks.
9516 mswindows_enqueue_dispatch_event is no longer static.
9518 * dialog-x.c (maybe_run_dbox_text_callback):
9519 * dialog-x.c (dbox_descriptor_to_widget_value):
9520 switch to new cons3 form for callbacks.
9522 * glyphs-msw.c (mswindows_register_gui_item):
9523 * glyphs-msw.c (mswindows_widget_instantiate):
9524 * glyphs-msw.c (add_tree_item):
9525 * glyphs-msw.c (add_tab_item):
9526 new image instance parameter, so it can be passed to callback-ex.
9527 respect :callback-ex as well as :callback.
9529 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9532 * glyphs.c (print_image_instance):
9533 prettify, e.g. now prints widget type.
9536 certain funs have new image instance parameter.
9539 * gui.c (get_gui_callback):
9540 * gui.c (gui_item_add_keyval_pair):
9541 * gui.c (gui_item_init):
9542 * gui.c (gui_add_item_keywords_to_plist):
9543 * gui.c (mark_gui_item):
9544 * gui.c (gui_item_hash):
9545 * gui.c (gui_item_equal):
9546 * gui.c (copy_gui_item):
9547 * gui.c (syms_of_gui):
9548 recognize callback-ex in a number of places.
9549 also, fix the annoying "can't get out of yes-no dialog" bug.
9552 * gui.h (struct Lisp_Gui_Item):
9553 recognize callback-ex in a number of places.
9555 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9556 new parameter in button_item_to_widget_value.
9558 * glyphs-x.c (x_update_widget):
9559 * glyphs-x.c (x_button_instantiate):
9560 * glyphs-x.c (x_button_update):
9561 * glyphs-x.c (x_progress_gauge_instantiate):
9562 * glyphs-x.c (x_edit_field_instantiate):
9563 * glyphs-x.c (x_combo_box_instantiate):
9564 * glyphs-x.c (x_tab_control_instantiate):
9565 * glyphs-x.c (x_label_instantiate):
9566 new image instance parameter in various places.
9569 * event-Xt.c (enqueue_Xt_dispatch_event):
9570 this fun gets exported.
9573 * gui-msw.c (mswindows_handle_gui_wm_command):
9574 handle both :callback and :callback-ex, and generate our own
9575 event because it's one of the callback-ex arguments.
9578 * gui-x.c (popup_selection_callback):
9579 handle both :callback and :callback-ex, and generate our own
9580 event because it's one of the callback-ex arguments.
9581 * gui-x.c (button_item_to_widget_value):
9582 * gui-x.c (gui_items_to_widget_values_1):
9583 * gui-x.c (gui_item_children_to_widget_values):
9584 * gui-x.c (gui_items_to_widget_values):
9585 new image instance parameter in various places.
9587 * fns.c (Freplace_list):
9588 fix small typo in doc string.
9591 declare enqueue_Xt_dispatch_event.
9593 2000-04-28 Ben Wing <ben@xemacs.org>
9596 * buffer.c (Frecord_buffer):
9597 * buffer.c (syms_of_buffer):
9598 delete record-buffer-hook.
9601 * fns.c (Freplace_list):
9602 * fns.c (syms_of_fns):
9603 new primitive replace-list.
9606 slot for old buffer-alist.
9612 * redisplay.c (redisplay_frame):
9613 * redisplay.c (syms_of_redisplay):
9614 * redisplay.c (vars_of_redisplay):
9615 new hook buffer-list-changed-hook.
9618 2000-04-27 Ben Wing <ben@xemacs.org>
9620 * extents.h: extern in_modeline_generation.
9622 * redisplay.c (generate_formatted_string_db): set
9623 in_modeline_generation.
9625 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9626 flags if in modeline generation. otherwise frame-modified-tick
9627 is ticked far too often.
9628 Declare in_modeline_generation.
9630 2000-04-26 Ben Wing <ben@xemacs.org>
9632 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9634 (vars_of_emacs): add quick-build as an error-checking option.
9635 A bit kludgy, but there doesn't seem much point in creating
9636 a real var for this.
9638 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9640 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9642 * redisplay.h (struct display_line): Add a new variable,
9645 * redisplay.c (create_text_block): Set dl->line_continuation if
9647 (create_string_text_block): Ditto.
9648 (regenerate_window_incrementally): Use line_continuation instead
9649 of searching continuation glyph.
9650 (add_margin_runes): Call add_glyph_rune.
9651 (add_glyph_rune): Handle margin glyph.
9653 2000-04-20 Martin Buchholz <martin@xemacs.org>
9655 * filelock.c (fill_in_lock_file_name):
9657 Check for IS_ANY_SEP instead of '/'.
9659 Avoid generating gratuitous garbage. Call user_login_name() directly.
9660 Never check errno without first seeing that system call failed.
9661 (unlock_file): Add GCPRO.
9662 (Flock_buffer): Fix docstring.
9663 (Ffile_locked_p): Fix docstring. Add GCPRO.
9665 2000-04-19 Martin Buchholz <martin@xemacs.org>
9667 * sysdep.c (get_pty_max_bytes):
9668 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9669 strings longer than 252 bytes.
9671 * md5.c: Unconditionally include ANSI header <limits.h>
9673 * glyphs-x.c (convert_EImage_to_XImage):
9674 * lisp-union.h (union Lisp_Object):
9675 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9677 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9679 * filelock.c (current_lock_owner): Remove unused variable o, p.
9681 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9683 * callint.c: Remove multiply defined symbol Qlet
9684 (syms_of_callint): ditto.
9686 2000-04-14 Andy Piper <andy@xemacs.org>
9688 * general.c (syms_of_general): add last-command, this-command, let
9691 * lisp.h: declare various symbols.
9693 * glyphs.h: declare Qwidget_callback_current_channel;
9695 * glyphs-widget.c (syms_of_glyphs_widget): add
9696 Qgui_callback_current_channel.
9697 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9699 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9700 widget-callback-current-channel when invoking the interactive
9701 arg. Also bind last-command and next-command when invoking the
9703 * gui-x.c (popup_selection_callback): ditto.
9705 * gui.c (get_gui_callback): massage args so that we are always
9706 calling eval. This allows us to add our own variable bindings
9709 * glyphs-x.c (x_button_instantiate): use
9710 gui_items_to_widget_values since this is GC safe.
9711 (x_progress_gauge_instantiate): ditto.
9712 (x_edit_field_instantiate): ditto.
9713 (x_label_instantiate): ditto.
9715 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9716 (emacs_Xt_event_widget_focus_out): new function
9717 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9719 (emacs_Xt_event_add_widget_actions): new function. add focus
9720 functions as actions.
9721 (init_event_Xt_late): use it.
9723 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9725 * event-stream.c (Fdispatch_event): Doc fix.
9727 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9729 * postgresql.c: Remove all references to PQsetenv*.
9731 * postgresql.h: Remove references to PGsetenvHandler object.
9732 * lrecord.h (lrecord_type): Ditto.
9734 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9736 * glyphs-msw.h (struct mswindows_image_instance_data): Added
9737 real_heigh and real_width members, and accessor macros for these.
9739 * glyphs-msw.c (init_image_instance_geometry): New function.
9740 (init_image_instance_from_dibitmap): Use it.
9741 (mswindows_resource_instantiate): Use it.
9742 (init_image_instance_from_xbm_inline): Use it.
9743 (mswindows_initialize_image_instance_mask): Use real bitmap
9745 (mswindows_create_resized_bitmap): Ditto.
9746 (mswindows_create_resized_mask): Ditto.
9748 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
9749 and bitmap to their surface size.
9751 2000-04-11 Jan Vroonhof <jan@xemacs.org>
9753 * process-unix.c (unix_send_process): Guard against process MIA
9754 after Faccept_process_output.
9756 2000-04-11 Ben Wing <ben@xemacs.org>
9758 * eval.c (unbind_to_hairy): fix brokenness introduced by
9759 nanosecond speed improvements.
9761 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
9763 * sunplay.c (init_device): To play sounds correctly, the device
9764 apparently needs to be initialized at least once by XEmacs. Make
9767 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
9769 * redisplay.c (add_margin_runes): Add text image glyph
9772 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9774 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
9775 gcc is newer than 2.5.
9777 2000-04-06 Colin Rafferty <colin@xemacs.org>
9779 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
9781 * fns.c (size_bit_vector):
9782 * alloc.c (size_vector):
9783 (make_vector_internal):
9784 (make_bit_vector_internal):
9785 (sweep_bit_vectors_1):
9786 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
9788 2000-04-06 Andy Piper <andy@xemacs.org>
9790 * gmalloc.c (malloc): undo previous change.
9795 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
9797 * line-number.c (buffer_line_number): Revert to former version.
9799 2000-04-06 Andy Piper <andy@xemacs.org>
9801 * gmalloc.c (malloc): add error checking.
9806 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
9807 button_item_to_widget_value arg.
9809 * glyphs-x.c (x_button_instantiate): add extra
9810 button_item_to_widget_value arg.
9811 (x_progress_gauge_instantiate): ditto.
9812 (x_edit_field_instantiate): ditto.
9813 (x_label_instantiate): ditto.
9815 * gui-x.c (gui_items_to_widget_values_1): add extra
9816 button_item_to_widget_value arg.
9817 (button_item_to_widget_value): add extra menu_item_p arg.
9819 * gui-x.h: change signature of button_item_to_widget_value.
9821 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
9822 button_item_to_widget_value arg.
9824 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9826 * buffer.h (struct buffer): auto_save_modified should be long.
9828 2000-04-05 Andy Piper <andy@xemacs.org>
9830 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
9832 (button_query_geometry): give a little more room so that athena
9835 2000-04-05 Andy Piper <andy@xemacs.org>
9837 * faces.c (complex_vars_of_faces): The widget face should inherit
9838 the font of the gui-element face.
9840 2000-04-04 Andy Piper <andy@xemacs.org>
9842 * glyphs-x.c (x_button_update): new function. unconditionally
9843 update a button's state when the instance is dirty.
9844 (image_instantiator_format_create_glyphs_x): add x_button_update.
9845 (x_widget_instantiate): remove old resize cruft.
9847 2000-04-02 Andy Piper <andy@xemacs.org>
9849 * frame.c (change_frame_size_1): The introduction of gutters means
9850 that we need to allow 0 as a potential frame dimension.
9852 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
9854 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
9855 image glyph if allow_cursor.
9856 (add_hscroll_rune): Don't allow cursor to border glyph.
9857 (create_text_block): Ditto.
9859 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
9861 (redisplay_output_layout): Call ensure_face_cachel_complete for
9865 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
9867 * redisplay.c (add_glyph_rune): Adding text image as text runes.
9869 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
9872 * redisplay-tty.c (tty_output_display_block): Delete the routine
9873 for text image glyph
9874 * redisplay-x.c (x_output_display_block): ditto
9875 * redisplay-msw.c (mswindows_output_display_block): ditto
9877 2000-02-02 Mike Alexander <mta@arbortext.com>
9879 Note: Some of these were committed by accident as part of other
9882 * regex.c (regex_compile): Avoid compiler warnings.
9884 * ntproc.c (sys_spawnve): Avoid compiler warnings.
9886 * nt.h: Declare term_ntproc correctly.
9888 * nt.c: Remove incorrect declaration of get_home_directory which
9889 is declared correctly in lisp.h.
9891 * keymap.c (get_keyelt): Avoid compiler warnings.
9892 (raw_lookup_key_mapper): Avoid compiler warnings.
9894 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
9896 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
9898 * filemode.c (mode_string): Avoid compiler warnings.
9900 * file-coding.c (Fcoding_system_aliasee): Add return statement to
9903 * events-mod.h: Undef some things that winuser.h defines differently.
9905 * data.c (Faset): Avoid compiler warnings.
9907 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
9909 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9911 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
9912 Fall through to simple beep on error.
9913 Replace "extern" by real header file.
9915 * linuxplay.c: Use nativesound.h
9916 (play_sound_data): Return error code. Be less verbose on error.
9918 * sunplay.c: Use nativesound.h
9919 (play_sound_data): Return error code. Be less verbose on error.
9921 * ntplay.c: Use nativesound.h
9922 (play_sound_data): Return fake error code
9924 * sgiplay.c: Use nativesound.h
9925 (play_sound_data): Return error code
9927 * hpplay.c: Use nativesound.h, partially implement
9928 new error code. Break compilation until finished.
9929 (play_sound_data): error code.
9931 * nativesound.h (play_sound_file):
9932 (play_sound_data): Prototype in new header.
9934 2000-03-31 Andy Piper <andy@xemacs.org>
9936 * glyphs-widget.c: (button_query_geometry): new function. Adjust
9937 for toggle and radio buttons.
9938 (image_instantiator_buttons): use it.
9940 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9942 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
9943 (x_update_horizontal_scrollbar_callback): Return if no mirror was
9944 found. Scrollbar event probably belonged to some old config.
9946 2000-03-31 Andy Piper <andy@xemacs.org>
9948 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
9950 (initialize_widget_image_instance): default layout to
9951 LAYOUT_HORIZONTAL rather than 0.
9952 (widget_instantiate): reverse the item list at the end rather than
9954 (layout_layout): re-code for the border text at the front of the
9955 item list rather than at the end.
9956 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
9957 provided by the user.
9958 (widget_query_geometry): comment.
9960 2000-03-30 Andy Piper <andy@xemacs.org>
9962 * glyphs-widget.c (image_instantiator_layout): allow standard
9963 widget keywords in layouts.
9965 * gutter.c (output_gutter): cope with nil gutter contents.
9967 * frame.c (Fset_frame_properties): add gutter docs.
9969 2000-03-29 Andy Piper <andy@xemacs.org>
9971 * toolbar-msw.c (TBSTYLE_FLAT): add.
9972 (mswindows_output_toolbar): minor fiddling.
9974 2000-03-29 Andy Piper <andy@xemacs.org>
9976 * gutter.c (output_gutter): force gutter size recalculation if
9977 what we are trying to display won't fit.
9978 (update_gutter_geometry): new function. A per-gutter version of
9979 update_frame_gutter_geometry.
9980 (update_frame_gutter_geometry): use it.
9981 (redraw_exposed_gutter): add extra debugging output.
9983 2000-03-28 Mike Alexander <mta@arbortext.com>
9985 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
9986 (pdump_file_unmap): Implement it on Windows
9987 (pdump_file_get): Save alocated handles for pdump_file_unmap
9989 2000-03-28 Andy Piper <andy@xemacs.org>
9991 * gui.c (get_gui_callback): treat Quit specially.
9993 2000-03-27 Andy Piper <andy@xemacs.org>
9995 * glyphs.c (image_instantiate): be careful to check in the same
9998 2000-03-27 Didier Verna <didier@xemacs.org>
10000 * config.h.in: define the proper SMART_INCLUDE macro.
10001 handle renaming of `foo_h_path' to `foo_h_file'.
10003 * database.c: ditto.
10007 * linuxplay.c: ditto.
10009 * terminfo.c: ditto.
10011 * tooltalk.h: ditto.
10013 2000-03-27 Andy Piper <andy@xemacs.org>
10015 * glyphs-msw.c (mswindows_update_widget): make sure the widget
10016 gets updated whenever the face might have changed.
10018 2000-03-26 Mike Alexander <mta@arbortext.com>
10020 * dumper.c (pdump_resource_free): Fix the comment.
10022 2000-03-21 Olivier Galibert <galibert@pobox.com>
10024 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
10026 2000-03-22 Mike Alexander <mta@arbortext.com>
10028 * dumper.c: Include Windows headers on Windows
10029 (pdump_resource_free): Add a body to the function
10030 (pdump_load): exe_name -> exe_path and add some comments.
10032 2000-03-25 Mike Alexander <mta@arbortext.com>
10034 * gui.c (copy_gui_item_tree): Return a value in all cases
10036 2000-03-21 Didier Verna <didier@xemacs.org>
10038 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
10040 (SMART_INCLUDE): new macro.
10041 (POSTGRES_INCLUDE): new macro to include postgresql headers from
10042 the proper location.
10044 * postgresql.c: use it.
10048 2000-03-24 Andy Piper <andy@xemacs.org>
10050 * gutter.c (redraw_exposed_gutters): must be "in display" when we
10053 2000-03-24 Andy Piper <andy@xemacs.org>
10055 * redisplay-output.c (compare_runes): use image_instance_changed
10056 to detect changes. Do not depend on glyphs_changed, only depend on
10058 (redisplay_output_layout): add debug messages.
10059 (compare_runes): ditto.
10061 * glyphs.h: declare new functions.
10062 (struct Lisp_Image_Instance): remove percent and associated
10065 * gui.h: declare new copying functions.
10067 * gui.c (copy_gui_item_tree): new function.
10068 (copy_gui_item): new function.
10069 (gui_item_id_hash): revert to standard hash.
10070 (gui_item_hash): ditto.
10071 (gui_item_hash_internal): deleted.
10072 (mark_gui_item): mark value.
10073 (gui_item_add_keyval_pair): add value.
10074 (gui_item_init): ditto.
10075 (gui_add_item_keywords_to_plist): ditto.
10076 (gui_item_equal): ditto.
10077 (syms_of_gui): add Q_value.
10079 * glyphs-x.c (x_progress_gauge_update): use pending items and
10080 value for setting the state.
10081 (x_update_widget): don't set items from pending here.
10083 * glyphs-widget.c (update_widget): update items here.
10084 (progress_gauge_set_property): use items for storing value. Put
10085 new value in pending items.
10087 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
10088 items for new value. Convert percent -> value.
10089 (mswindows_tab_control_update): don't update items here.
10091 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
10092 (update_subwindow): ditto.
10093 (image_instance_changed): new function. Compare hash values and
10094 past and present widget items.
10095 (image_instantiate): We more careful about where we instantiate
10097 (image_instantiate): add error checking.
10099 * gutter.c (syms_of_gutter): use -hook.
10101 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
10103 * console-tty.c (Fset_console_tty_input_coding_system): Use
10105 (Fset_console_tty_output_coding_system): Use Qterminal.
10106 (tty_init_console): Use Qkeyboard and Qterminal.
10108 2000-03-21 Ben Wing <ben@xemacs.org>
10110 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
10111 From Mike Alexander <mta@arbortext.com>.
10113 2000-03-21 Ben Wing <ben@xemacs.org>
10115 * event-msw.c (mswindows_need_event): Horrible kludge to fix
10116 process brokenness. Proper implementation to come.
10118 Rename call-process-internal to old-call-process-internal.
10119 New impl. in process.el.
10121 2000-03-21 Martin Buchholz <martin@xemacs.org>
10123 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
10125 2000-03-20 Andy Piper <andy@xemacs.org>
10127 * glyphs.c (full_list_hash): make hashes of the same elements in
10128 different orders return different values.
10130 2000-03-20 Martin Buchholz <martin@xemacs.org>
10132 * XEmacs 21.2.32 is released.
10134 2000-03-20 Martin Buchholz <martin@xemacs.org>
10136 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
10137 (DFC_MALLOC_USE_CONVERTED_DATA):
10138 Add aliasing-safe casts to allow use with char* or unsigned char*
10141 * eldap.c (Fldap_open):
10142 (Fldap_search_basic):
10145 Make C++-compilable.
10146 Make sure GCPRO'ed variables are initialized.
10147 Use temp variables to avoid repeated calls to Flength.
10149 2000-03-16 Martin Buchholz <martin@xemacs.org>
10152 Make sure PATH_MAX is always defined.
10153 Include limits.h for PATH_MAX.
10154 Deprecate use of MAXPATHLEN.
10156 2000-03-10 Martin Buchholz <martin@xemacs.org>
10158 * emacs.c: Add reinit_vars_of_fileio.
10159 * symsinit.h: Add reinit_vars_of_fileio.
10160 * fileio.c (reinit_vars_of_fileio): New.
10161 * fileio.c (Fmake_temp_name):
10162 Initialize temp_name random number from microseconds to make
10163 collisions even less likely. Initialize always at process startup
10164 time. (make-temp-name) used to return the same file name twice in
10166 Random stylistic fiddling.
10169 2000-03-20 Andy Piper <andy@xemacs.org>
10171 * glyphs.c (image_instantiate): allow text glyphs to be
10172 instantiated in the minibuffer window.
10174 2000-03-19 Andy Piper <andy@xemacs.org>
10176 * glyphs.c (image_instance_hash): be careful about which items we
10179 * glyphs-widget.c (tab_control_set_property): record into pending
10180 items rather than the actual items.
10182 * glyphs-x.c (x_update_widget): use pending items to update with.
10184 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10187 * glyphs.c (mark_image_instance): mark pending items.
10189 * window.c (Fset_window_configuration): record the buffer.
10190 (Fselect_window): totally revert previous change which breaks many
10193 2000-03-18 Andy Piper <andy@xemacs.org>
10195 * glyphs-msw.c (mswindows_tab_control_update): force selected
10198 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10199 window domain cache, otherwise we get inconsistencies at
10200 startup. There is something fishy at startup which can lead to the
10201 minibuffer being the selected window when the gutter content is
10204 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10206 (parse_gui_item_tree_children): ditto.
10207 (parse_gui_item_tree_item): ditto.
10209 * glyphs.c (Fupdate_widget_instances): return something.
10211 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10213 * window.c (Fselect_window): Undo 2000-03-17 change.
10215 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10217 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10218 against v7.0 libraries. Insta-coredump city until the postgres
10221 2000-03-17 Andy Piper <andy@xemacs.org>
10223 * faces.c (complex_vars_of_faces): don't give the widget face an
10224 inherited background pixmap.
10226 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10229 * event-stream.c (Fdispatch_non_command_events): return something.
10231 * gutter.c (output_gutter): use widget face.
10232 (clear_gutter): ditto.
10234 * NEWS: adjust again.
10236 * window.c (Fselect_window): make sure this runs to completion to
10237 avoid oddities with Fset_window_configuration.
10238 (Fcurrent_window_configuration): in general do not save the
10239 minibuffer as the selected window.
10241 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10243 2000-03-16 Olivier Galibert <galibert@pobox.com>
10245 * emacs.c (Frunning_temacs_p): Revert previous patch.
10246 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10248 2000-03-16 Andy Piper <andy@xemacs.org>
10250 * glyphs-x.c (x_tab_control_update): if no widget values then
10253 * NEWS: update for new features.
10255 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10256 synthetic event to the native system.
10257 (reinit_vars_of_event_Xt): set force_event_pending to
10258 emacs_Xt_force_event_pending.
10260 * events.h (struct event_stream): add force_event_pending.
10262 * specifier.c (recompute_one_cached_specifier_in_window): add
10265 * redisplay.c (redisplay_frame): don't call
10266 update_frame_subwindows. Reset subwindow cachels when
10267 subwindows_changed, removing this was an optimization too far.
10269 * redisplay-output.c (compare_runes): reorganize so that we catch
10270 glyph changes when we want them. Set optimize_output when this
10271 would help layouts.
10272 (redisplay_output_layout): remove frame_really_changed, use
10273 optimize_output instead.
10275 * redisplay-msw.c (mswindows_output_display_block): reset
10276 optimize_output after outputting a glyph.
10277 * redisplay-x.c (x_output_display_block): ditto.
10278 * redisplay-tty.c (tty_output_display_block): ditto.
10280 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10282 (gutter_specs_changed): do specific gutter positions.
10283 (top_gutter_specs_changed): new function. Only update the
10284 specified gutter specs.
10285 (bottom_gutter_specs_changed): ditto.
10286 (left_gutter_specs_changed): ditto.
10287 (right_gutter_specs_changed): ditto.
10289 * gui.c (gui_item_hash_internal): new function, does a real hash.
10290 (gui_item_id_hash): use it.
10291 (gui_item_hash): hash the eval'ed gui_item.
10293 * gui-x.c (popup_selection_callback): send an eval event to call
10294 Fupdate_widget_instances.
10296 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10297 to call Fupdate_widget_instances.
10299 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10300 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10302 * glyphs.c: (update_frame_subwindows): deleted.
10303 (Fupdate_widget_instances): new function for updating the dirty
10304 state of widgets that might have changed.
10305 (syms_of_glyphs): add Qupdate_widget_instances.
10306 (full_list_hash): hash a list completely.
10307 (image_instance_hash): use it for items and properties.
10309 * frame-msw.c (mswindows_size_frame_internal): remove unused
10312 * faces.h (struct face_cachel): fix comment.
10314 * event-stream.c (Fdispatch_non_command_events): new
10315 function. Process non-command events, forcing an event cycle
10317 (syms_of_event_stream): declare.
10318 (event_stream_force_event_pending): new function. Force an event
10319 on the native event queue so that an event cycle will occur next
10323 (struct ntpipe_shove_stream):
10324 (mswindows_enqueue_dispatch_event):
10325 (mswindows_dequeue_dispatch_event):
10326 (mswindows_cancel_dispatch_event):
10327 (mswindows_pump_outstanding_events):
10328 (mswindows_drain_windows_queue):
10329 (mswindows_handle_paint):
10330 (mswindows_wnd_proc):
10331 (mswindows_key_to_emacs_keysym):
10332 (get_process_input_waitable):
10333 (emacs_mswindows_delete_stream_pair): re-indent file.
10334 (mswindows_need_event): do not process further fds if the windows
10335 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10336 fixes the 100% cpu problem.
10337 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10339 2000-03-15 Olivier Galibert <galibert@pobox.com>
10345 * emacs.c: Moved dump file searching to dumper.c.
10346 (Frunning_temacs_p): Fixed.
10348 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10349 last_lrecord_type_index_assigned.
10351 2000-02-20 Olivier Galibert <galibert@pobox.com>
10353 * symsinit.h: Added reinit parameter to init_console_stream
10356 * lisp.h: Added file parameter to pdump_load declaration.
10358 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10359 support. Added dump file searching.
10361 * config.h.in: Added EMACS_PROGNAME.
10363 * console-stream.c (init_console_stream): Fix reinitialisation
10364 when running from temacs.
10366 * alloc.c (pdump): Add id support.
10367 (pdump_load): Add file parameter and signature/id support.
10369 * Makefile.in.in: Add full pdump support.
10371 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10373 * postgresql.c: Update documentation to reflect latest code
10375 (print_result): Show tuple counts in printed representation when
10377 (Fpq_put_nbytes): MULE-ize.
10378 (Fpq_get_line_async): Ditto.
10380 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10382 * postgresql.c (Fpq_lo_import): Fix return value.
10383 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10385 2000-03-13 Ben Wing <ben@xemacs.org>
10387 * alloc.c (pdump_load):
10388 Fix compile warning under mswin.
10390 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10392 * postgresql.c: Mule-ization, bug fixes.
10393 Use PG_CODING to encapsulate coding system name changes.
10394 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10395 (pg-coding-system): Create.
10397 (Fpq_conn_defaults): Mule-ize.
10398 (Fpq_connectdb): Mule-ize & bug fix.
10399 (Fpq_connect_start): Mule-ize.
10400 (Fpq_set_client_encoding): Mule-ize.
10401 (Fpq_finish): Document `DEAD' connection status.
10402 (Fpq_clear): Ditto.
10403 (Fpq_pgconn): Mule-ize.
10404 (Fpq_exec): Mule-ize & bug fix.
10405 (Fpq_send_query): Ditto.
10406 (Fpq_get_result): Ditto.
10407 (Fpq_res_status): Mule-ize.
10408 (Fpq_result_error_message): Mule-ize.
10409 (Fpq_ntuples): fix comments.
10410 (Fpq_fname): Mule-ize.
10411 (Fpq_fnumber): Mule-ize.
10412 (Fpq_ftype): fix comments.
10413 (Fpq_get_value): Mule-ize.
10414 (Fpq_cmd_status): Ditto.
10415 (Fpq_cmd_tuples): Ditto.
10416 (Fpq_oid_value): Ditto.
10417 (Fpq_notifies): Ditto.
10418 (Fpq_lo_import): Ditto.
10419 (Fpq_lo_export): Ditto.
10420 (Fpq_get_line): Ditto.
10421 (Fpq_put_line): Mule-ize and bug fix.
10422 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10424 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10426 * postgresql.c (vars_of_postgresql): Mule-ize.
10427 (Fpq_conn_defaults): Ditto.
10429 2000-03-12 Ben Wing <ben@xemacs.org>
10431 * alloc.c (Fmake_byte_code):
10432 * alloc.c (debug_string_purity_print):
10433 * alloc.c (pdump_backtrace):
10434 * alloc.c (pdump_get_indirect_count):
10435 * alloc.c (pdump_register_sub):
10436 * alloc.c (pdump_register_object):
10437 * alloc.c (pdump_register_struct):
10438 * alloc.c (pdump_dump_data):
10439 * alloc.c (pdump_reloc_one):
10443 * console-msw.c (GetConsoleHwnd):
10444 * console-msw.c (msw_hide_console):
10445 * console-msw.c (msw_show_console):
10446 * console-msw.c (msw_ensure_console_buffered):
10447 * console-msw.c (msw_output_console_string):
10448 * console-msw.c (console_type_create_mswindows):
10450 a) Added functions to manipulate the console window for use with
10453 b) Added support for writing text to the console, which is now
10454 used under Windows when xemacs is not being run non-interactively,
10455 to write text that would otherwise be destined for stdout because
10456 under these circumstances, text written to stdout tends to
10457 disappear and not be seen.
10461 * event-Xt.c (x_event_to_emacs_event):
10462 * event-Xt.c (describe_event_window):
10463 * events-mod.h (XEMACS_MOD_CONTROL):
10465 * events.c (Fmake_event):
10466 * events.c (character_to_event):
10467 * events.c (event_to_character):
10468 * events.c (format_event_object):
10469 * events.c (Fevent_modifiers):
10471 * events.h (struct key_data):
10472 * events.h (struct button_data):
10473 * events.h (struct misc_user_data):
10474 * frame-x.c (Fcde_start_drag_internal):
10475 * frame-x.c (Foffix_start_drag_internal):
10476 * gpmevent.c (Freceive_gpm_event):
10478 * keymap.c (bucky_sym_to_bucky_bit):
10479 * keymap.c (control_meta_superify):
10480 * keymap.c (make_key_description):
10481 * keymap.c (keymap_lookup_directly):
10482 * keymap.c (create_bucky_submap):
10483 * keymap.c (keymap_store):
10484 * keymap.c (define_key_check_and_coerce_keysym):
10485 * keymap.c (define_key_parser):
10486 * keymap.c (define_key_alternate_name):
10487 * keymap.c (Fdefine_key):
10488 * keymap.c (raw_lookup_key_mapper):
10489 * keymap.c (struct map_keymap_unsorted_closure):
10490 * keymap.c (map_keymap_unsorted_mapper):
10491 * keymap.c (map_keymap_sort_predicate):
10492 * keymap.c (map_keymap_sorted):
10493 * keymap.c (accessible_keymaps_mapper_1):
10494 * keymap.c (where_is_recursive_mapper):
10495 * keymap.c (describe_map_mapper):
10496 * keymap.c (describe_map_sort_predicate):
10497 * keymap.c (describe_map):
10498 * keymap.c (complex_vars_of_keymap):
10499 And a number of other files, the key modifier preprocessor
10500 constants that xemacs uses have names that conflict with constants
10501 defined under MS Windows for other purposes, so they were renamed
10502 to begin with the prefix XEMACS_. The variables that hold such
10503 modifiers were changed to consistently be of type int to fix
10504 various compile warnings.
10506 * console.c (complex_vars_of_console):
10509 * device-msw.c (mswindows_finish_init_device):
10510 * device-msw.c (msw_get_workspace_coords):
10511 * device-msw.c (mswindows_device_system_metrics):
10512 and various other files, added support for a new
10513 device property called offset-workspace which returns the position
10514 of the upper left corner of the workspace area and goes along with
10515 the existing size-workspace property.
10518 * dialog-msw.c (push_bufbyte_string_as_unicode):
10519 * dialog-msw.c (mswindows_popup_dialog_box):
10520 Added support for XEmacs-style accelerator specifications in
10521 button text. Note: I didn't add support for this under X Windows,
10522 and somebody needs to do this.
10525 * dialog.c (Fpopup_dialog_box):
10526 Documented the support for accelerators that was just mentioned.
10528 editfns.c (get_home_directory): Changed behavior under Windows
10529 when HOME not defined; former behavior was irretrievably broken.
10532 * emacs.c (main_1):
10534 * minibuf.c (clear_echo_area_internal):
10535 * minibuf.c (echo_area_append):
10537 * print.c (std_handle_out_external):
10538 * print.c (std_handle_out_va):
10540 * print.c (write_string_to_stdio_stream):
10541 * print.c (output_string):
10542 * print.c (debug_print):
10543 * print.c (debug_backtrace):
10544 * print.c (debug_short_backtrace):
10545 Cleaned up the code that prints text to stdout so that this can be
10546 changed to output into a console window instead under MS Windows,
10547 as described above.
10550 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10551 * eval.c (internal_catch):
10552 * eval.c (unwind_to_catch):
10553 * eval.c (throw_or_bomb_out):
10554 * eval.c (condition_case_1):
10555 * eval.c (signal_1):
10556 * eval.c (check_error_state_sanity):
10557 * eval.c (call_with_suspended_errors_1):
10558 * eval.c (call_with_suspended_errors):
10559 * eval.c (reinit_vars_of_eval):
10560 Added code to catch throw loops and check for a pesky bug that may
10564 * event-msw.c (key_needs_default_processing_p):
10565 * event-msw.c (mswindows_wnd_proc):
10566 * event-msw.c (mswindows_modifier_state):
10567 * event-msw.c (emacs_mswindows_quit_p):
10568 * event-msw.c (vars_of_event_mswindows):
10569 a) Added support for using the alt key to select menu items as is
10570 standard under MS Windows. This is controlled using the variable
10571 menu-accelerator-enabled, just like under X Windows. There is an
10572 option on the options menu to turn this support on. I really
10573 think that it should be on by default under Windows, but I'm not
10574 going to make this change yet.
10576 b) Added support for dynamic display size changes under Windows.
10579 * event-stream.c (maybe_echo_keys):
10580 * event-stream.c (Fnext_event):
10581 * event-stream.c (command_builder_find_leaf):
10582 * event-stream.c (lookup_command_event):
10583 * event-stream.c (execute_command_event):
10584 * event-stream.c (pre_command_hook):
10585 * event-stream.c (post_command_hook):
10586 * event-stream.c (syms_of_event_stream):
10587 * event-stream.c (vars_of_event_stream):
10588 * event-stream.c (complex_vars_of_event_stream):
10589 * events.h (struct command_builder):
10591 a) Tried to clean up a little bit the horribly written x-specific
10592 accelerator code that crept into this file. I moved this code
10593 into menubar-x.c where it belongs. I also needed to move the
10594 command builder structure into the file events.h because it is
10595 accessed directly by this accelerator code. What I didn't do, but
10596 which should be done at some point, is to properly abstract this
10597 code using device methods instead of the kludgy way that it
10598 currently hooks into the event code.
10600 b) Added the lisp variables this-command-properties and
10601 last-command- properties, which should be used to synchronize two
10602 adjacent commands in preference to playing games with the variable
10603 this-command, which is typically what happens.
10605 c) Added some slightly nasty code to hook into the lisp support
10606 for shifted- motion-key selection. This is actually necessary for
10607 somewhat complicated reasons, which are described in
10608 simple.el. (NB: I think the proper thing would be to have the code
10609 that calls the pre and post command hooks also call out to generic
10610 lisp functions in simple.el, where all built-in stuff could be
10611 added. I will think about this more.)
10613 * event-unixoid.c (poll_fds_for_input):
10614 * lread.c (readchar):
10615 * redisplay-tty.c (tty_clear_frame):
10616 * redisplay-x.c (x_get_gc):
10617 * signal.c (interrupt_signal):
10618 And a whole bunch of other files: fixed up places that printed
10619 directly to stderr to instead call the function stderr_out so that
10620 the changes I made under Windows work correctly.
10622 * filemode.c (mode_string):
10626 * frame-msw.c (mswindows_size_frame_internal):
10627 Fixed the computation of frame size and position to keep the frame
10628 within the workspace area, rather than within the physical
10629 dimensions of the screen, so that the frame doesn't overlap window
10630 manager decorations, such as the start menu and toolbar, typically
10631 at the bottom of the screen.
10633 * frame.c (vars_of_frame):
10634 Changed the default frame title format under MS Windows to consist
10635 of buffername-XEmacs, which is standard under MS Windows. I think
10636 it might be a good idea to change this everywhere because I think
10637 it is superior to the current frame title format, but this is the
10638 kind of change that is likely to cause some people to get annoyed,
10639 so I'm not making it.
10641 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10643 * gui-msw.c (mswindows_handle_gui_wm_command):
10644 Fixed compile warnings.
10647 * gui-x.c (strdup_and_add_accel):
10648 * gui-x.c (button_item_to_widget_value):
10650 Added code to automatically put an accelerator onto the beginning
10651 of menu items that don't have one as is now the standard, and is
10652 described more later. Also fixed things so that the menu item
10653 name can be an evaluated expression, again a new standard.
10656 * gui.c (gui_item_add_keyval_pair):
10657 * gui.c (make_gui_item_from_keywords_internal):
10658 * gui.c (gui_add_item_keywords_to_plist):
10659 * gui.c (gui_item_accelerator):
10660 * gui.c (gui_name_accelerator):
10661 * gui.c (gui_item_included_p):
10662 * gui.c (gui_item_display_flush_left):
10663 * gui.c (gui_item_display_flush_right):
10664 * gui.c (parse_gui_item_tree_item):
10665 * gui.c (parse_gui_item_tree_children):
10666 * gui.c (parse_gui_item_tree_list):
10667 Mule-ized. Cleanup. GCPRO addition.
10669 * line-number.c (buffer_line_number):
10671 * lisp.h (EMACS_INT_MAX):
10672 Added the manifest constant EMACS_INT_MIN corresponding to the
10673 existing constant EMACS_INT_MAX. This is partially to fix compile
10674 warnings under Windows, and partly for cleanliness.
10677 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10678 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10679 * menubar-msw.c (displayable_menu_item):
10680 * menubar-msw.c (populate_menu_add_item):
10681 * menubar-msw.c (populate_or_checksum_helper):
10682 * menubar-msw.c (populate_menu):
10683 * menubar-msw.c (update_frame_menubar_maybe):
10684 * menubar-msw.c (prune_menubar):
10685 * menubar-msw.c (msw_char_is_accelerator):
10686 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10687 * menubar-msw.c (mswindows_handle_wm_command):
10688 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10689 * menubar-msw.c (mswindows_handle_wm_initmenu):
10690 * menubar-msw.c (mswindows_update_frame_menubars):
10691 * menubar-msw.c (mswindows_free_frame_menubars):
10692 * menubar-msw.c (mswindows_popup_menu):
10693 Fixed a bug in handling accelerators where an extra character
10694 would be displayed in the menu item. Also generalized the
10695 function displayable_menu_item because it is now used by the
10696 dialog box code as well. And finally, added code in the functions
10697 that create the menubar to extract a list of accelerators for the
10698 top level menubar, which is used in the event code to determine
10699 whether a particular alt-key combination should be used to invoke
10700 a menu item, or should be passed through to access the standard
10701 XEmacs keymap binding for this key combination.
10703 Much needed GCPROing.
10706 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10707 * menubar-x.c (menu_item_descriptor_to_widget_value):
10708 * menubar-x.c (restore_in_menu_callback):
10709 * menubar-x.c (x_popup_menu):
10710 * menubar-x.c (menu_move_up):
10711 * menubar-x.c (menu_move_down):
10712 * menubar-x.c (menu_move_left):
10713 * menubar-x.c (menu_move_right):
10714 * menubar-x.c (menu_select_item):
10715 * menubar-x.c (command_builder_operate_menu_accelerator):
10716 * menubar-x.c (menu_accelerator_junk_on_error):
10717 * menubar-x.c (command_builder_find_menu_accelerator):
10718 * menubar-x.c (Faccelerate_menu):
10720 Moved a whole bunch of code here that was previously in
10721 event-stream.c as described above. There is also code connected
10722 to the new standard of adding an accelerator to the beginning of
10723 menu items that don't have one as described above and below.
10726 * menubar.c (menu_parse_submenu_keywords):
10727 * menubar.c (Fmenu_find_real_submenu):
10728 * menubar.c (Fnormalize_menu_item_name):
10729 * menubar.c (syms_of_menubar):
10730 * menubar.c (vars_of_menubar):
10731 * menubar.c (complex_vars_of_menubar):
10733 a) Cleaned up a bunch of documentation and improved it.
10735 b) XEmacs now automatically adds an accelerator onto the beginning
10736 of any menu items that don't have one. I did this because there
10737 will inevitably be some menu items on the main menubar that don't
10738 have accelerators on them because the package that adds that
10739 particular menu item hasn't yet been fixed up to have accelerators
10740 in them and it looked rather strange to have some items with and
10741 some items without accelerators, especially since even in items
10742 without accelerators, you can, at least under windows, still
10743 access the item through an accelerator corresponding to the first
10744 character in the item's name. If people don't like this behavior,
10745 I can add a variable to turn it off optionally, but I'm not sure
10746 this is a good idea because we really do need to have accelerators
10747 on all of the menu items, and if a package doesn't like the
10748 accelerators being put on the first character, then it should put
10749 the accelerators where they belong.
10751 c) I made a behavior change, which is that the descriptor that
10752 specifies the text of the menu item, which formerly was just a
10753 string, can now also be an evaluated expression. This makes this
10754 descriptor parallel with all of the others, which could also be
10755 evaluated expressions. This also obviates the need for the
10756 keyword :label, which was previously listed in the documentation
10757 as unimplemented, and which was for the same purpose.
10762 * ntproc.c (new_child):
10763 * ntproc.c (sys_spawnve):
10764 * ntproc.c (find_child_console):
10765 * ntproc.c (sys_kill):
10766 Fixed compile warnings. By the way, this file should really go
10767 away entirely, and this will happen as soon as Kirill makes his
10768 final round of process cleanups, which affect the function
10772 * process-nt.c (struct nt_process_data):
10773 * process-nt.c (find_process_from_pid):
10774 * process-nt.c (send_signal_the_nt_way):
10775 * process-nt.c (enable_child_signals):
10776 * process-nt.c (find_child_console):
10777 * process-nt.c (send_signal_the_95_way):
10778 * process-nt.c (nt_finalize_process_data):
10779 * process-nt.c (ensure_console_window_exists):
10780 * process-nt.c (nt_create_process):
10781 * process-nt.c (nt_kill_child_process):
10782 * process-nt.c (nt_kill_process_by_pid):
10783 * process-nt.c (nt_open_network_stream):
10784 * process-nt.c (vars_of_process_nt):
10785 Copied over code from Emacs 20.5 to correctly send signals to sub-
10786 processes under Windows 95. Also added code to automatically
10787 create and hide console window when a sub-process is created under
10788 Windows 95, which obviates the need for the separate runemacs.exe
10789 executable, and finally implemented some variables that were
10790 implemented in Emacs 20.5, but previously not in XEmacs. These
10791 include mswindows- start-process-share-console and
10792 mswindows-start-process-inherit-error-mode. (Both of these only
10793 apply to Windows 95.)
10795 * regex.c (regex_compile): Fixed a compile warning.
10798 * select-msw.c (mswindows_own_selection):
10799 * select-msw.c (mswindows_get_foreign_selection):
10800 * select-msw.c (mswindows_disown_selection):
10801 * select-msw.c (console_type_create_select_mswindows):
10802 * select-msw.c (syms_of_select_mswindows):
10803 Cleaned up the file and implemented the device method
10804 selection_exists_p, which had accidentally been left out. Also
10805 removed four lisp functions that were remnants from before the
10806 time when the selection code was properly device abstracted.
10807 These functions are no longer needed because there are generic
10808 equivalents, and because they were added recently and don't exist
10809 in FSF Emacs, I don't think there's any problem with just deleting
10813 * sysdep.c (sys_subshell):
10814 Fixed a compile warning, although in this case there's probably
10815 something wrong with this code, and it ought to be looked into
10816 more thoroughly by somebody who understands it.
10819 * window.c (Fwindow_text_area_height):
10820 * window.c (Fwindow_width):
10821 * window.c (Fwindow_full_width):
10822 * window.c (Fwindow_pixel_width):
10823 * window.c (debug_print_window):
10824 * window.c (syms_of_window):
10825 Added functions window-text-area-height and window-full-width,
10826 which are functions for returning various width and height
10827 characteristics of a window. (One of these functions is necessary
10828 for making the file dialog box work correctly, and the other one
10829 was added for completeness.) Also added a table to the
10830 documentation for window-height which describes the entire scheme
10831 for accessing width and height characteristics of a window.
10833 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10835 * nt.c (fstat): Added a comment for another problem with
10836 non-encapsulated [f]stat(), reported by Adrian Aichner
10837 <aichner@ecf.teradyne.com>.
10839 2000-03-11 Andy Piper <andy@xemacs.org>
10841 * window.c (make_dummy_parent): initialize subwindow instance
10843 (Fset_window_configuration): zero extent_modiff.
10845 2000-03-10 Andy Piper <andy@xemacs.org>
10847 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
10848 more changes can be triggered.
10849 (Fredisplay_frame): ditto.
10850 (Fredraw_device): ditto.
10851 (Fredisplay_device): ditto.
10852 (redisplay_frame): make non-static.
10853 (redisplay_frame): call update_frame_gutter_geometry outside of
10856 * gutter.h: declare update_frame_gutter_geometry.
10858 * redisplay.h: declare redisplay_frame.
10860 * gutter.c (update_frame_gutter_geometry): move geometry changes
10861 in update_frame_gutters here. Geometry changes can only occur
10862 outside of redisplay.
10863 (update_frame_gutters): remove geometry change code.
10864 (Fredisplay_gutter_area): make sure that we are in display when we
10865 update and that we have flushed any size changes.
10867 2000-03-11 Andy Piper <andy@xemacs.org>
10869 * alloc.c (pdump_dump_data): remove i & count shadows.
10871 2000-02-27 Mike Alexander <mta@arbortext.com>
10873 * sysdep.h: Declare pdump_read_file
10875 * sysdep.c (pdump_read_file): New function
10877 * alloc.c (pdump_load): Call pdump_read_file to get the portable
10880 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10882 * lrecord.h: add `lrecord_type_pgsetenv'.
10884 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
10886 * symsinit.h: declare (vars|syms)_of* functions.
10887 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
10889 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
10891 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
10893 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
10896 * emacs.c (main_1): Call postgres initialization code.
10898 * postgresql.h: New file. PostgreSQL RDBMS support.
10899 * postgresql.c: New file.
10901 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
10903 * redisplay-output.c (redisplay_output_display_block): Disable
10906 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10908 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
10909 (Fcanna_henkan_next): Ditto.
10910 (Fcanna_bunsetu_henkou): Ditto.
10911 (Fcanna_henkan_kakutei): Ditto.
10912 (Fcanna_henkan_end): Ditto.
10913 (Fcanna_henkan_quit): Ditto.
10914 (Fcanna_henkan_next): Set retun value correctly.
10915 (c2mu): Use unsigned char instead of signed char.
10917 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10919 * emacs.c (main_1): Always call syms_of_gui.
10920 * inline.c: include gui.h
10922 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10924 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
10925 converted to Lisp_Object.
10926 (Qtop_bottom): New variable.
10927 (syms_of_redisplay): Initialize it.
10928 * redisplay.h (Vvisible_bell): Ditto.
10929 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
10930 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
10931 only flash top and bottom.
10933 2000-03-08 Andy Piper <andy@xemacs.org>
10935 * buffer.c (Frename_buffer): record new buffer name the right way.
10937 2000-03-08 Andy Piper <andy@xemacs.org>
10939 * glyphs.c (update_subwindow): increase hash depth so that widget
10940 items get picked up properly.
10942 * redisplay-output.c (compare_runes): increase hash depth so that
10943 widget items get picked up properly.
10945 2000-03-08 Andy Piper <andy@xemacs.org>
10947 * gutter.c (output_gutter): add some debug.
10949 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
10950 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
10951 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
10953 * redisplay-output.c (compare_runes): use display_hash to
10954 determine if glyphs really are not the same.
10956 * glyphs.c (update_subwindow): check display_hash to see if
10957 anything really needs to be updated. If not then do
10958 nothing. Record the display_hash after updating.
10959 (image_instance_equal): compare the image_instance face also.
10961 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
10963 * redisplay.h: Fix comment style.
10965 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
10967 * consle-msw.h (struct mswindows_frame):
10968 Added new member paint_pending to indicate whether a WM_PAINT
10969 magic event has been queued for this frame.
10971 * event-msw.c (mswindows_drain_windows_queue):
10972 Don't queue a WM_PAINT magic event if one is already queued.
10973 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
10975 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
10977 2000-03-07 Didier Verna <didier@xemacs.org>
10979 * dired.c: #include `regex.h' after `sysfile.h'.
10981 2000-03-06 Martin Buchholz <martin@xemacs.org>
10983 * sound.c (init_nas_sound): Fix compiler warning.
10985 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
10987 (MARK_STRUCT_AS_FREE):
10988 (MARK_STRUCT_AS_NOT_FREE):
10989 Make `gcc -fstrict-aliasing' work properly.
10991 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
10993 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
10994 (mswindows_delete_device): Call CoUnnitialize().
10996 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
10998 2000-02-25 <CraigL@DyCon.com>
11000 * process-nt.c: MinGW now has <shellapi.h>, but still needs
11003 * sysdep.c: This extern declaration for environ prevents MinGW
11004 from finding the variable in CRTDLL.DLL.
11006 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
11008 (SHGFI_EXETYPE): ..
11009 (WM_MOUSEWHEEL): ..
11010 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
11012 (MMRESULT): Removed, now defined in cygwin's windows headers.
11014 (uid_t,gid_t,pid_t,ssize_t): ..
11015 (_timeb): Removed, MinGW defines both _timeb and timeb.
11016 (HAVE_H_ERRNO): Added.
11017 (HAVE_TZNAME): Added, configure is not detecting this.
11019 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
11021 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
11022 * syntax.c (syntax_match): Use it.
11024 * cmds.c: Import auto-fill-chars from FSF Emacs.
11025 (Vauto_fill_chars): New variables.
11026 (internal_self_insert): Check Vauto_fill_chars.
11028 Declare auto-fill-chars as a Lisp variable and initialize it.
11030 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11032 * fileio.c (Fmake_symbolic_link):
11034 Run handlers even if local machine doesn't have symlinks.
11036 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
11038 * event-msw.c (mswindows_drain_windows_queue):
11039 Don't generate paint magic events for non-XEmacs frames.
11041 2000-03-05 Andy Piper <andy@xemacs.org>
11043 * redisplay.c (redisplay_frame): generate_displayable_area and
11044 friends assumes that we are not in GC, we therefore have to make
11045 sure that this doesn't happen.
11047 * gutter.c (calculate_gutter_size): generate_displayable_area
11048 assumes that we are not in GC, we therefore have to make sure that
11049 this doesn't happen.
11051 2000-03-05 Martin Buchholz <martin@xemacs.org>
11053 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
11055 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
11057 * redisplay.c (regenerate_window): Make sure we set a sane value
11058 for end_pos even if we jump out of the loop.
11059 (regenerate_window): Answer Ben's question :-).
11060 (start_end_of_last_line): Add may_error argument.
11061 (start_of_last_line):
11062 (end_of_last_line): Pass may_error = 0.
11063 (end_of_last_line_may_error): New function.
11064 (pixel_to_glyph_translation): Use it, so we don't crash in
11067 2000-03-04 Andy Piper <andy@xemacs.org>
11069 * window.h (struct window): add gutter_extent_modiff.
11071 * window.c (allocate_window): zero out gutter_extent_modiff.
11073 * redisplay.h: declare sync_display_line_structs.
11075 * redisplay.c (add_glyph_rune): add a better comment.
11077 * redisplay-output.c (sync_display_line_structs): made non-static.
11078 (compare_runes): remove unneccesary glyph cachel access.
11080 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
11082 * gutter.c (output_gutter): don't output the gutter if extent
11083 changes only involve extents in buffers. use 4 sets of display
11085 (gutter_extent_signal_changed_region_maybe): new function. Mark
11086 extents in gutters as changed.
11087 (update_frame_gutters): use 4 sets of display lines.
11088 (reset_gutter_display_lines): ditto.
11089 (free_frame_gutters): ditto.
11090 (redraw_exposed_gutter): force output of gutters.
11092 * frame.h (struct frame): add 4 sets of gutter display lines.
11094 * extents.c: (extent_changed_for_redisplay): signal changes to
11095 extents in strings in the gutter as well as extents in buffers.
11097 2000-03-02 Andy Piper <andy@xemacs.org>
11099 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
11101 * frame.c (Fmake_frame): make sure the gutters get initialized
11102 after the frame is visible.
11103 (set_frame_selected_window): re-arrange compilation macros a
11105 (change_frame_size_1): mark gutters changed.
11107 * device.c (Fset_device_class): mark gutters changed.
11109 2000-03-01 Andy Piper <andy@xemacs.org>
11111 * window.c (window_top_frame_gutter_height): deleted.
11112 (window_bottom_frame_gutter_height): ditto.
11113 (window_left_frame_gutter_height): ditto.
11114 (window_right_frame_gutter_height): ditto.
11115 (window_top_gutter_height): don't use them.
11116 (window_bottom_gutter_height): ditto.
11117 (window_left_gutter_width): ditto.
11118 (window_right_gutter_width): ditto.
11119 (Fsplit_window): ditto.
11120 (Fwindow_pixel_edges): don't use border dimensions here.
11122 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
11123 (update_scrollbar_instance): ditto.
11125 * redisplay.c (generate_modeline): don't take gutters into account.
11126 (generate_modeline): ditto.
11127 (redisplay_frame): small gutter display optimization.
11129 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
11131 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
11132 gutters into account.
11134 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
11135 for window position and type.
11137 * gutter.c (get_gutter_coords): fix for frame gutters.
11138 (update_frame_gutters): update frame geometry if the gutters have
11140 (init_frame_gutters): record current gutter geometries.
11142 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
11144 (mswindows_widget_instantiate): ditto.
11146 * frame.h (struct frame): add current_gutter_bounds.
11148 * frame.c (change_frame_size_1): position window and minibuffer
11149 appropriately taking into account the frame gutters.
11151 * frame-x.c: (x_initialize_frame_size): take into account the
11154 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11156 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11158 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11160 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11162 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11164 * file-coding.c (reset_decoding_stream): Clear previous
11165 detection state when autodetect.
11167 2000-02-29 Didier Verna <didier@xemacs.org>
11169 * extents.c (set_extent_glyph_1): don't require extents to be
11172 2000-02-27 Andy Piper <andy@xemacs.org>
11174 * gutter.c (Fset_default_gutter_position): don't default left and
11175 right gutter visibility to t.
11176 (Fset_default_gutter_position): run
11177 default-gutter-position-changed-hook.
11178 (syms_of_gutter): add default-gutter-position-changed-hook.
11180 2000-02-26 Andy Piper <andy@xemacs.org>
11182 * specifier.c (Fmake_specifier): add gutter references.
11184 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11186 * lisp.h: declare Fvalid_plist_p.
11188 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11190 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11191 well as its visibility so that it gets reconstructed.
11192 (construct_window_gutter_spec): new function. Construct a string
11193 to be displayed in the gutter from a plist of strings. Take care
11194 to only use elements that are declared as visible.
11195 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11197 (gutter_validate): allow plists of strings in the specifier.
11198 (gutter_specs_changed): construct the real_gutter from the gutter
11199 specs using construct_window_gutter_spec.
11200 (gutter_visible_validate): gutter-visible is a new specifier type.
11201 (Fgutter_visible_specifier_p): new function for the new specifier.
11202 (syms_of_gutter): declare gutter-visible and
11203 Fgutter_visible_specifier_p.
11204 (specifier_type_create_gutter): intitalize new gutter-visible
11206 (reinit_specifier_type_create_gutter): ditto.
11207 (specifier_vars_of_gutter): use new specifier type for gutter
11209 (init_frame_gutters): construct real_gutter correctly.
11210 (Fgutter_specifier_p): beef up documentation.
11211 (Fgutter_size_specifier_p): ditto.
11213 * winslots.h: add real_gutter slots.
11215 2000-02-25 Andy Piper <andy@xemacs.org>
11217 * device-msw.c: Be kind to older cygwin versions. From Raymond
11218 Toy <toy@rtp.ericsson.se>.
11220 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11221 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11223 2000-02-25 Martin Buchholz <martin@xemacs.org>
11225 * elhash.c (MARK_OBJ): Practice macro hygiene.
11227 2000-02-24 Martin Buchholz <martin@xemacs.org>
11229 * miscplay.c: s/__inline__/inline/g;
11230 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11231 (get_device_compdc): INLINE ==> static inline
11232 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11233 find -name '*.h' | \
11234 xargs global-replace \
11235 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11237 2000-02-25 Andy Piper <andy@xemacs.org>
11239 * window.c (window_top_frame_gutter_height): new function.
11240 (window_top_window_gutter_height): ditto.
11241 (window_top_gutter_height): use them.
11242 (window_bottom_frame_gutter_height): new function.
11243 (window_bottom_window_gutter_height): ditto.
11244 (window_bottom_gutter_height): use them.
11245 (window_left_window_gutter_width): new function.
11246 (window_left_frame_gutter_width): ditto.
11247 (window_left_gutter_width): use them.
11248 (window_right_window_gutter_width): new function.
11249 (window_right_frame_gutter_width): ditto.
11250 (window_right_gutter_width): use them.
11251 (window_pixel_height): new function. calulate window pixel height
11252 with frame gutter involvement.
11253 (Fsplit_window): calculate new sizes taking frame gutters into
11255 (window_char_height_to_pixel_height): don't include frame gutters.
11256 (window_char_height): use window_pixel_height.
11257 (window_pixheight): rename from window_pixel_height.
11258 (change_window_height): use it.
11259 (window_pixel_height_to_char_height): don't include frame gutters.
11260 (window_char_width_to_pixel_width): ditto.
11262 2000-02-25 Andy Piper <andy@xemacs.org>
11264 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11267 2000-02-24 Martin Buchholz <martin@xemacs.org>
11269 * alloc.c (staticpro):
11270 (staticpro_nodump):
11275 (compact_string_chars):
11276 (pdump_dump_wired):
11277 Convert: if (foo) abort(); ==> assert (! foo);
11279 * eldap.c (Fldap_search_basic):
11283 Fix compiler warnings, and possible crashes if (random) return
11284 value were to be used.
11286 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11288 * device-msw.c: Workaround ResetDC failure.
11290 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11291 applying a devmode.
11293 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11294 (mswindows_text_width): Do not start printer page.
11296 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11298 * glyphs-msw.c: Added image methods to msprinter console and
11299 msprinter-specific image instantiation.
11301 2000-02-20 Mike Alexander <mta@arbortext.com>
11303 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11304 to avoid crashes when selection-sets-clipboard is on
11305 (mswindows_own_selection): ditto
11307 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11310 * redisplay-msw.c (get_frame_dc):
11311 (get_frame_compdc):
11313 * device-msw.c (mswindows_init_device):
11314 (mswindows_delete_device):
11315 (msprinter_init_device):
11316 (msprinter_delete_device):
11317 * frame-msw.c (mswindows_init_frame_1):
11318 (mswindows_delete_frame):
11319 (msprinter_init_frame_3):
11320 (msprinter_delete_frame): Move compatible DC to device object from
11321 frame object, for both mswindows and msprinter. Only one at a time
11322 is needed, it is a real waste to have one per frame!
11324 2000-02-23 Andy Piper <andy@xemacs.org>
11326 * glyphs.c: add dynamic width and height elements.
11327 (image_instance_equal): ditto.
11329 * glyphs-widget.c (widget_query_geometry): calculate width and
11330 height dynamically if required.
11331 (initialize_widget_image_instance): initialize dynamic dimensions.
11332 (widget_instantiate): pick-up dynamic dimensions.
11334 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11335 dynamic determination. Add appropriate macros.
11337 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11339 (WINDOW_GUTTER_SIZE): ditto.
11340 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11342 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11344 (get_frame_dc): ditto.
11346 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11349 2000-02-23 Martin Buchholz <martin@xemacs.org>
11351 * XEmacs 21.2.31 is released.
11353 2000-02-22 Ben Wing <ben@xemacs.org>
11355 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11357 2000-02-22 Andy Piper <andy@xemacs.org>
11359 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11361 2000-02-21 Mike Sperber <mike@xemacs.org>
11365 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11368 2000-02-21 Mike Sperber <mike@xemacs.org>
11370 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11372 2000-02-21 Martin Buchholz <martin@xemacs.org>
11374 * XEmacs 21.2.30 is released.
11376 2000-02-20 Martin Buchholz <martin@xemacs.org>
11378 Performance hacking.
11380 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11381 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11382 * emacs.c (main_1):
11384 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11385 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11386 * symeval.h (DEFVAR_SYMVAL_FWD):
11387 * symbols.c (guts_of_unbound_marker):
11388 Make all c_readonly objects also lisp_readonly and marked for life.
11389 * lrecord.h (struct lrecord_implementation):
11390 Document flags better.
11391 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11392 * lrecord.h (DECLARE_LRECORD):
11393 * lrecord.h (XSETRECORD):
11394 * lrecord.h (RECORDP):
11395 * lrecord.h (RECORD_TYPEP):
11396 * lrecord.h (RECORD_MARKER): New.
11397 * lrecord.h (error_check_*):
11398 * lrecord.h (CONCHECK_NONRECORD):
11399 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11400 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11401 * lrecord.h (set_lheader_implementation):
11402 * lrecord.h (enum lrecord_type): New.
11403 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11404 * alloc.c (disksave_object_finalization_1):
11405 * alloc.c (mark_object):
11406 * alloc.c (lrecord_type_index):
11407 * alloc.c (tick_lcrecord_stats):
11408 * alloc.c (Fgarbage_collect):
11409 * alloc.c (init_alloc_once_early):
11410 * alloc.c (pdump_load):
11411 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11412 * alloc.c (lrecord_type_index): Delete.
11413 Make lisp object type indexes be constant.
11414 Makes (byte-compile) 5% faster.
11415 Put all marker functions into their own array.
11416 Makes (garbage-collect) 5% faster.
11417 Optimize SYMBOL_VALUE_MAGIC_P.
11418 Makes (byte-compile) 2-3% faster.
11419 * config.h.in (gc_checking_assert): New.
11420 * alloc.c: Use gc_checking_assert().
11421 * .dbxrc: Make compatible with new object type implementation.
11422 * .gdbinit: Make compatible with new object type implementation.
11423 * alloc.c: Delete all symbols defined only for debugging, such as
11424 Lisp_Type_Vector and lrecord_charset.
11426 2000-02-21 Andy Piper <andy@xemacs.org>
11428 * gui-msw.c (Fmswindows_shell_execute): fix file location
11431 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11432 unshowing so that set_window_buffer doesn't undo
11433 kill_buffer_hook's hard work.
11435 * glyphs-widget.c (tab_control_query_geometry): don't count the
11436 first item when calculating geometry.
11438 * glyphs.c (map_subwindow): remove redundant code.
11439 (update_frame_subwindows): be more circumspect about when to
11442 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11443 when items haven't changed. Update faces if faces have changed as
11444 well as just the widget face.
11445 (x_tab_control_update): Update faces if faces have changed as well
11446 as just the widget face.
11448 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11450 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11452 (build_syscolor_string): Use mswindows_color_to_string to try to
11454 (mswindows_device_system_metrics): Reverse the foreground and
11455 background colors so that they match the documentation.
11457 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11458 they match the default Windows palette.
11459 (mswindows_color_to_string): New function.
11461 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11463 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11465 2000-02-18 Olivier Galibert <galibert@pobox.com>
11467 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11468 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11470 * symbols.c (init_symbols_once_early): Removed obsolete
11471 DATA_SEG_BITS related kludge.
11472 (defvar_magic): Ditto.
11474 * malloc.c: Removed obsolete DATA_SEG_BITS
11476 * mem-limits.h: Ditto.
11478 * Makefile.in.in: Removed obsolete HAVE_SHM
11481 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11483 * device-msw.c (mswindows_delete_device): Free DDE string
11486 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11488 * keymap.c (get_keyelt):
11489 * unexnt.c (unexec):
11490 * vm-limit.c (memory_warnings):
11491 * ntheap.c (recreate_heap):
11492 * ntheap.h (UNINIT_PTR):
11493 * select-msw.c (Fmswindows_get_clipboard):
11494 (Fmswindows_set_clipboard):
11495 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11497 * menubar-msw.c (displayable_menu_item):
11499 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11500 * sysdep.c (sys_subshell):
11501 * process-nt.c (nt_create_process):
11502 * nt.c (normalize_filename):
11503 (dostounix_filename):
11504 (unixtodos_filename):
11505 * ntproc.c (win32_executable_type):
11506 * ntplay.c (play_sound_data_1):
11508 * editfns.c (get_home_directory):
11509 * event-msw.c (struct winsock_stream):
11510 (mswindows_dde_callback):
11511 * device-msw.c (msprinter_init_device):
11512 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11514 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11515 mswindows_clear_toolbar were swapped!
11517 * objects-msw.c:(colormap_t):
11519 * emacs.c (struct standard_args): Fixed const jumble.
11521 * glyphs-widget.c (update_widget): Fixed comparison notation.
11523 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11525 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11526 __declspec(noreturn) syntax.
11528 2000-02-19 Martin Buchholz <martin@xemacs.org>
11530 * eldap.c (Fldap_open):
11531 (Fldap_search_basic):
11534 Use new coding system conversion macros.
11536 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11538 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11540 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11542 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11543 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11545 * eldap.c (Qadd, Qreplace): New constant symbols
11546 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11547 interruptions by XEmacs signals
11548 Remove unnecessary calls to slow_down_interrupts and
11549 speed_up_interrupts
11550 (Fldap_search_basic): Renamed from Fldap_search_internal
11551 Added new optional parameter VERBOSE that triggers the
11552 display of progress messages
11553 Remove unnecessary calls to slow_down_interrupts and
11554 speed_up_interrupts
11555 LDAP result code analysis rewritten
11556 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11557 (syms_of_eldap): Define the new symbols and functions
11560 2000-02-17 Martin Buchholz <martin@xemacs.org>
11562 * realpath.c: Determine PATH_MAX maximally portably.
11564 * insdel.c (bytecount_to_charcount): Optimize.
11565 The function used to be optimized for entirely ASCII sequences.
11566 Now it is optimized for successive characters from the same
11567 charset. This also wins big for _mostly_ ASCII sequences.
11569 * fileio.c (Ffile_truename): convert return from realpath() using
11570 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11571 - Rewrite GCPROing slightly.
11573 * sysdep.c (sys_open): Do filename conversion, like all other
11574 sys_* functions. Fixes bug:
11575 (let ((file-name-coding-system 'iso-8859-2))
11576 (write-region x y latin2-name))
11577 ==> writes filename using internal encoding.
11579 2000-02-18 Martin Buchholz <martin@xemacs.org>
11581 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11582 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11583 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11584 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11585 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11586 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11587 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11588 (CONST_IF_NOT_DEBUG): Delete.
11589 * alloc.c (this_one_is_unmarkable): Delete.
11590 (mark_object): Don't check for this_one_is_unmarkable. Use the
11591 c_readonly flag instead.
11592 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11594 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11596 * event-msw.c (mswindows_drain_windows_queue):
11597 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11598 away redundant repaint events.
11600 2000-02-17 Andy Piper <andy@xemacs.org>
11602 * redisplay.h: declare mark_redisplay_structs.
11604 * redisplay.c (redisplay_window):
11605 (redisplay_frame): don't check subwindows_state_changed.
11606 (mark_redisplay): mark gutters here.
11608 * glyphs.c: (instantiate_image_instantiator): always layout if we
11609 haven't done so already.
11610 (allocate_image_instance): don't mark as dirty.
11611 (update_subwindow): bind inhibit_quit.
11613 * gutter.c (mark_gutters): new function.
11615 * glyphs-x.c (x_update_widget): Always resize to get round a
11618 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11619 breaking absolutely everything.
11621 * gutter.h: declare mark_gutters.
11623 2000-02-16 Martin Buchholz <martin@xemacs.org>
11625 * XEmacs 21.2.29 is released.
11627 2000-02-15 Olivier Galibert <galibert@pobox.com>
11629 * fns.c (size_bit_vector): Fix computation of the size.
11631 2000-02-15 Martin Buchholz <martin@xemacs.org>
11633 * *.[ch]: Change CONST to const globally.
11634 find -name '*.[ch]' | \
11635 xargs global-replace \
11636 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11637 - Remove vestigial references to CONST_IS_LOSING
11639 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11641 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11642 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11643 events instead of dispatching them directly.
11644 (mswindows_handle_paint): New function to do repainting.
11645 (mswindows_wnd_proc):
11646 (emacs_mswindows_handle_magic_event): Call above function.
11648 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11650 * objects-msw.c (mswindows_create_font_variant): Return the new
11652 (initialize_font_instance): Get font metrics from the underlined
11653 variant of the font to cope with the case where the underlined
11654 font has a bigger descent.
11656 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11658 * gui.c (gui_item_accelerator): Return the first underlined
11659 character in item name.
11661 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11663 * lisp.h: Added Qprinter.
11665 * general.c (syms_of_general): Initialized it.
11667 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11669 (get_frame_compdc): Made inline.
11671 * console.h (struct console_methods): Added eject_page method.
11673 * frame.h: Added FRAME_DISPLAY_P and friends.
11674 Aligned backslahes in many macros in more readable fashion.
11675 Added page_number to struct frame, and an accessor macro
11678 * defice.h: Added DEVICE_DISPLAY_P and friends.
11680 * device.c (Fdevice_printer_p): Used these.
11682 * frame.c (allocate_frame_core): Initialize page number.
11683 (Fprint_job_page_number):
11684 (Fprint_job_eject_page): Implemented.
11686 * frame-msw.c (msprinter_eject_page): Added method.
11687 (msprinter_start_page): Added.
11689 * window.c (Fwindow_truncated_p): Fixed docstring.
11690 (Fwindow_last_line_visible_height): Implemented.
11692 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11694 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11696 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11698 * syntax.c (scan_words): Always advance at least one character.
11700 2000-02-13 Andy Piper <andy@xemacs.org>
11702 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11703 to make sure the glyph is in the cachels.
11705 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11706 global image instance flag.
11707 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11708 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11710 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11711 (Fset_image_instance_property): mark layout as changed.
11712 (invalidate_glyph_geometry_maybe): mark layout as changed.
11713 (glyph_width): use new NEEDS_LAYOUT macro.
11714 (glyph_ascent): ditto.
11715 (glyph_descent): ditto.
11716 (glyph_height): ditto.
11717 (image_instance_layout): mark layout as clean after laying out.
11718 (update_subwindow): don't mark layout as clean here.
11720 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11721 should no longer be needed.
11723 * glyphs-x.c (x_update_widget): sanitize asserts.
11724 (x_finalize_image_instance): sanitize assignment to widgets.
11726 * glyphs-widget.c (widget_instantiate): don't need to clear the
11729 2000-02-13 Martin Buchholz <martin@xemacs.org>
11731 * sysdep.c (getcwd): Use standard prototype.
11732 * sysdep.h (getcwd): Use standard prototype.
11734 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
11735 (sequence, start, end).
11736 Remove redundant type checking.
11737 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
11738 view of `caller-protects') to avoid a crash where the real fix was
11741 2000-02-12 Martin Buchholz <martin@xemacs.org>
11743 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
11745 * s/sol2.h: Remove feature macro initialization.
11747 * alloc.c (alloc_lcrecord): Add more type checking assertions.
11748 (vector_hash): New. Code from internal_hash.
11750 Fix up allocation subsystem comments.
11752 * config.h.in: Add __EXTENSIONS__ for Solaris.
11754 * systime.h (EMACS_GETTIMEOFDAY): New.
11755 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
11756 Remove Solaris-specific code.
11757 Use void* for the (ignored) second arg for gettimeofday().
11759 * elhash.c (hash_table_hash): Implement it, finally.
11760 * elhash.c: Use hashcode_t.
11762 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
11763 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
11765 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
11766 * fns.c (size_bit_vector):
11767 * alloc.c (size_vector):
11768 (make_vector_internal):
11769 (make_bit_vector_internal):
11770 (sweep_bit_vectors_1):
11771 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
11773 2000-02-10 Martin Buchholz <martin@xemacs.org>
11775 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
11776 Include strings.h to avoid warnings for bzero and strcasecmp.
11778 2000-02-10 Olivier Galibert <galibert@pobox.com>
11780 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
11781 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
11783 * fns.c (size_bit_vector): New. Declare bit vectors as a
11786 2000-02-10 Olivier Galibert <galibert@pobox.com>
11788 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
11789 use a value field instead.
11790 (symbol_value_forward_forward): Use value field.
11791 (DEFVAR_SYMVAL_FWD): Use value field.
11792 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
11793 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
11794 (DEFVAR_CONST_INT): Ditto.
11795 (DEFVAR_BOOL): Ditto.
11796 (DEFVAR_CONST_BOOL): Ditto.
11797 (DEFVAR_INT_MAGIC): Ditto.
11798 (DEFVAR_BOOL_MAGIC): Ditto.
11800 * symbols.c (guts_of_unbound_marker): Use value field.
11801 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
11802 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
11804 * lisp.h: Declare dumpopaque and noninteractive1.
11806 * alloc.c (dumpopaque): Added.
11807 (pdump_dump_opaquevec): Added.
11808 (pdump): Call pdump_dump_opaquevec to dump opaque data.
11809 (pdump_load): Reload opaque data. Sync noninteractive1 with
11812 2000-02-10 Andy Piper <andy@xemacs.org>
11814 * glyphs.c (image_instance_layout): if the size changes, mark it
11817 * redisplay-output.c (redisplay_output_layout): Update the
11819 (redisplay_output_subwindow): ditto.
11821 * glyphs.c (update_subwindow): make sure we reset flags for
11822 layouts as well as everything else.
11824 * glyphs-widget.c (layout_layout): don't need to set the instances
11827 2000-02-09 Martin Buchholz <martin@xemacs.org>
11829 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
11830 not HAVE_DLOPEN, which is a lower-level thing.
11832 * .cvsignore: Ignore gmon.out
11834 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
11836 * .cvsignore: Ignore portable dumper xemacs.dmp file
11838 2000-02-09 Andy Piper <andy@xemacs.org>
11840 * redisplay-output.c (redisplay_output_layout): be more clever
11841 about when we output based on the changed flags.
11843 * glyphs.h (struct image_instantiator_methods): add update_method.
11844 (struct Lisp_Image_Instance): add changed flags. Declare new
11845 macros for manipulating them.
11847 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
11848 (image_instance_parent_glyph): find an image_instance's parent
11849 glyph or image_instance.
11850 (image_instance_layout): mark the size as changed.
11851 (set_image_instance_dirty_p): new function. mark an image
11852 instance, plus all of its parents, as dirty.
11853 (Fset_image_instance_property): use it.
11854 (Fglyph_animated_timeout_handler): use it.
11855 (update_subwindow): call update_widget and device methods for
11856 update_subwindow. Mark all changed flags as clean.
11857 (Fresize_subwindow): mark size as changed.
11859 * glyphs-x.c (x_finalize_image_instance): try and detect gc
11861 (x_update_subwindow): only resize subwindows here.
11862 (x_update_widget): new function. Update all changed properties of
11864 (x_resize_subwindow): deleted.
11865 (x_widget_set_property): deleted.
11866 (x_progress_gauge_set_property): deleted.
11867 (x_progress_gauge_update): new function. Implement recorded
11869 (x_tab_control_update): ditto.
11870 (x_tab_control_set_property): deleted.
11871 (console_type_create_glyphs_x): declare new functions.
11872 (image_instantiator_format_create_glyphs_x): ditto.
11874 * glyphs-widget.c (widget_set_property): mark text changed.
11875 (update_widget): new function. Update properties of a widget.
11876 (widget_instantiate): for layouts make sure we set their
11877 children's parent correctly.
11878 (tab_control_set_property): new function. Record changes that will
11879 take place under redisplay's control.
11880 (progress_gauge_set_property): ditto.
11881 (image_instantiator_progress_guage): declare new functions.
11882 (image_instantiator_tab_control): ditto.
11884 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
11886 (mswindows_update_widget): new function. Update all properties on
11887 a widget that have changed.
11888 (mswindows_button_update): new function. Update a button's set
11890 (mswindows_tab_control_update): new function. Update the items in
11892 (mswindows_tab_control_set_property): deleted.
11893 (mswindows_progress_gauge_update): new function. Update the
11894 progress gauge's progress.
11895 (mswindows_widget_set_property): deleted. This is all done
11896 asynchronously now.
11897 (mswindows_progress_gauge_set_property): ditto.
11898 (console_type_create_glyphs_mswindows): declare new methods.
11899 (image_instantiator_format_create_glyphs_mswindows): ditto.
11901 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
11902 (msprinter_set_frame_properties): ditto.
11904 * console.h (struct console_methods): Add update_widget_method.
11906 2000-02-09 Andy Piper <andy@xemacs.org>
11908 * gui-msw.c (Fmswindows_shell_execute): Make
11909 mswindows-shell-execute industrial strength.
11911 2000-02-08 Martin Buchholz <martin@xemacs.org>
11913 * lrecord.h: Make macro argument `props' match member function `plist'.
11916 * fns.c (Fremprop):
11917 * fns.c (Fobject_plist):
11920 Object property list frobbing cleanup.
11921 - Allow any lisp object (compared with `eq'), not just symbols, as
11922 keys in object plists.
11923 - Move symbol plist frobbing into symbols.c, where it belongs.
11924 - Move string plist frobbing into alloc.c, where it belongs.
11925 - Everything's an lrecord now, so no need to test for symbolp, etc.
11926 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
11928 * extents.c: Reorder code to remove declarations.
11930 * frame.h (store_in_alist): Remove useless declaration.
11932 2000-02-07 Martin Buchholz <martin@xemacs.org>
11934 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
11935 * config.h.in: Add HAVE_XCONVERTCASE.
11937 2000-02-07 Andy Piper <andy@xemacs.org>
11939 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
11940 it breaks many things.
11942 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11944 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
11945 actually can start a common comment type.
11946 * src/syntax.h (SYNTAX_END_P): ditto for end.
11948 2000-02-07 Martin Buchholz <martin@xemacs.org>
11950 * XEmacs 21.2.28 is released.
11952 2000-02-06 Martin Buchholz <martin@xemacs.org>
11954 * event-Xt.c (x_keysym_to_character): New.
11955 (maybe_define_x_key_as_self_inserting_character): New.
11956 (x_has_keysym): New.
11957 Auto-define all keys on the keyboard as self-insert-key.
11959 2000-02-02 Martin Buchholz <martin@xemacs.org>
11961 * menubar.c (vars_of_menubar): A small code simplification.
11963 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
11966 * ExternalClient.c:
11967 * EmacsShell-sub.c:
11970 Use consistent style for specifying X resources.
11972 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
11973 This makes (dontusethis-set-symbol-value-handler) actually usable.
11975 * lrecord.h (lrecord_decription_type):
11976 * alloc.c (pdump_register_sub):
11979 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
11980 Comply with XEmacs coding style.
11981 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
11982 args, and XD_LISP_OBJECT_ARRAY with 3 args.
11984 * keymap.c (Faccessible_keymaps):
11985 Make (accessible-keymaps map "\C-h") do the Right Thing.
11986 Make (accessible-keymaps map []) do the Right Thing.
11987 Make (accessible-keymaps map "") do the Right Thing.
11988 (check_keymap_definition_loop): New function.
11989 (keymap_store_internal): Keep luser from shooting self in foot,
11990 via (define-key ctl-x-4-map "p" global-map).
11991 Remove fullness slot from struct Lisp_Keymap, since hash tables
11993 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
11995 2000-01-30 Martin Buchholz <martin@xemacs.org>
11997 * redisplay.c (init_redisplay): Fix small memory leak.
11999 * elhash.c (pdump_reorganize_hash_table):
12000 Rename from reorganize_hash_table. Change prototype.
12001 Reuse the original memory for hentries. Save 100k.
12002 * alloc.c (PDUMP_READ): new macro.
12003 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
12004 * alloc.c: No need to #ifndef before #undef.
12006 * print.c: Allow debug_print() to print readably by modifying
12007 debug_print_readably. Use consistent variable names.
12009 * .dbxrc: Try to get things to work even if stopped in a function
12010 without source available by explicitly specifying source files.
12011 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12013 * unexnt.c (_start): Removed bogus code which caused loading heap
12014 from differrent executable file.
12015 Removed bogus assignment to _fmode, which caused inconsistencies.
12017 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12019 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
12020 Have spawnve encapsulation regard DONT_ENCAPSULATE.
12021 Do not preliminary `#define signal sigset'.
12023 * systime.h: Do not prototype environ on windows nt and cygwin,
12024 this conflicts with system header.
12026 * syssignal.h: Use correct define for WINDOWSNT
12028 * sysdep.h: Do not prototype environ on windows nt, this conflicts
12029 with system header.
12031 * sysdep.c (near start of file): Fixed commentary and rearranged
12032 ifdefs in readable order.
12033 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
12036 (end_of_data): Do not compile in if using PDUMP.
12038 * symsinit.h: Prototyped vars_of_nt().
12040 * ntproc.c (windows9x_p): Added, instead of os_subtype.
12041 (find_child_console): Use it.
12042 (sys_kill): Use it.
12044 * ntheap.h: Do not extern os_subtype.
12046 * ntheap.c (cache_system_info): Do not cache unneeded:
12047 nt_major_version, nt_minor_version and os_subtype.
12048 (recreate_heap): Do not compile in when PDUMPing.
12050 * nt.c (geteuid and friends): Use the new varibale
12051 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
12052 (init_user_info): Removed the above mentioned hackery.
12053 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
12054 stat has been fixed in the C runtime.
12055 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
12057 * file-coding.c (struct file_coding_dump): Do not define
12058 ucs_to_mule_table in the struct if not MULE.
12059 (struct struct lrecord_description fcd_description_1): Do not dump
12062 * emacs.c (main_1): Call vars_of_nt().
12063 (right before Fdump_emacs_data): Don't need lastfile if using both
12064 portabe dumper and system malloc.
12066 * alloc.c (Fmemory_limit): Conditionalized out.
12067 (pdump): Use OPEN_BINARY for the portable dump file.
12068 (pdump_load): Ditto.
12070 2000-02-02 Mike Alexander <mta@arbortext.com>
12072 * nt.c (convert_time): Set tm_isdst before calling mktime and
12073 avoid calling it at all if the compiler supports 64 bit integers.
12074 Also initialize utc_base_ft before using it.
12076 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
12078 * frame.c (change_frame_size_1): Take f->internal_border_width
12079 into consideration when calculating the width of the frame.
12081 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12083 * window.c (frame_min_height):
12084 (frame_size_valid_p):
12085 (frame_pixsize_valid_p): Added.
12086 (check_frame_size): Generalized.
12088 * window.h: Prototyped the above.
12091 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
12092 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
12093 Deleted Vwin32_* and Vbinary_process_* unused variables.
12095 * device-msw.c (msprinter_init_device): Do not get printer font
12096 list; Added DEVMODE functions.
12098 * frame-msw.c: Added lots of printer code.
12100 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
12103 * console-msw.h: Added more msprinter device private slots.
12105 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12107 * event-msw.c (key_needs_default_processing_p): Added.
12108 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
12110 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12112 * glyphs.c (image_instance_layout): Mark image instance as clean
12114 (glyph_dirty_p): Removed redundant function.
12115 (invalidate_glyph_geometry_maybe): Added.
12116 (update_glyph_cachel_data): Call it.
12118 * glyphs.h: Prototyped it.
12120 * redisplay.c (add_glyph_rune): Call it.
12121 (redisplay_window): Reset glyphs cachels when frame faces have
12122 changed, thus forcing recomputation of built-in border glyphs.
12124 2000-01-30 Martin Buchholz <martin@xemacs.org>
12126 * Makefile.in.in: Make portable dumper and purify play well together.
12127 Add imperfect, but better than nothing, support for pdump.
12128 Remove xemacs.dmp when temacs is re-generated.
12129 Don't ignore errors when dumping xemacs.
12131 * symbols.c (maybe_call_magic_handler): Remove one magic number.
12133 2000-01-28 Andy Piper <andy@xemacs.org>
12135 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
12136 (setup_normal_frame): ditto.
12137 (setup_frame_without_minibuffer): ditto.
12138 (setup_minibuffer_frame): ditto.
12139 (delete_frame_internal): ditto.
12140 (Fmake_frame_invisible): ditto.
12141 (Ficonify_frame): ditto.
12143 * window.h: change Fset_window_buffer signature.
12145 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12146 (Fset_window_buffer): allow recording of buffer if the window is
12147 the selected window.
12148 (window_loop): Use new Fset_window signature.
12150 2000-01-23 Daniel Pittman <daniel@danann.net>
12152 * config.h.in: Added template for `HAVE_ATHENA_3D'
12154 2000-01-29 Andy Piper <andy@xemacs.org>
12156 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12158 * gutter.c (output_gutter): Don't output if the window isn't live.
12160 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12162 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12163 of 01/12/00: Moved SetFocus back here where it belongs.
12165 2000-01-23 Andy Piper <andy@xemacs.org>
12167 * s/cygwin32.h: declare printer things.
12169 2000-01-26 Andy Piper <andy@xemacs.org>
12171 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12174 2000-01-24 Andy Piper <andy@xemacs.org>
12176 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12177 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12179 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12181 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12183 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12185 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12186 (mswindows_output_display_block): Avoid local shadows.
12188 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12189 (mswindows_enqueue_mouse_button_event): ditto.
12190 (mswindows_handle_gui_wm_command): remove declaration.
12192 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12195 * console-msw.h: Avoid shadows.
12196 (mswindows_get_toolbar_button_text):
12197 (emacs_mswindows_create_stream_pair):
12198 (emacs_mswindows_delete_stream_pair):
12199 (mswindows_handle_toolbar_wm_command): declare.
12201 * device-msw.c (build_syscolor_string): Avoid shadows.
12203 2000-01-23 Andy Piper <andy@xemacs.org>
12205 * glyphs-widget.c (widget_instantiate): reverse the items for
12206 layouts so that children are in the expected order.
12208 2000-01-28 Martin Buchholz <martin@xemacs.org>
12210 * ralloc.c: safe_bcopy ==> memmove
12211 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12212 * s/msdos.h: Remove BCOPY macros.
12213 * insdel.c (gap_right): Remove BCOPY conditional code.
12214 * insdel.c (gap_left): Remove BCOPY conditional code.
12215 XEmacs demands a working ANSI C compiler - hence memmove.
12217 * regex.c (regex_compile): Remove accidental use of trigraphs.
12219 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12221 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12224 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12226 * event-msw.c (mswindows_drain_windows_queue): Added the
12228 (mswindows_need_event): Commented the call to
12229 mswindows_drain_windows_queue().
12230 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12233 * console-msw.h: Moved a few function prototypes here from
12236 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12237 parameter from unsigned short to unsigned long.
12238 (Fmswindows_shell_execute): Added return value.
12240 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12242 * sysdep.c (init_system_name):
12243 process-unix.c (unix_canonicalized_host_name):
12244 Don't call freeaddrinfo() if getaddrinfo() fails.
12246 * process-unix.c (unix_open_unix_network_stream):
12247 Moved the code to get a port # into address loop.
12249 2000-01-27 Martin Buchholz <martin@xemacs.org>
12251 * buffer.c (reinit_vars_of_buffer):
12252 The right place to initialize conversion_in_dynarr and
12253 conversion_out_dynarr.
12255 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12257 * process-unix.c (unix_canonicalize_host_name): Muleize.
12258 (unix_open_network_stream): Muleize.
12260 * buffer.h: Fix up prototypes for ralloc.c functions.
12262 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12263 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12264 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12265 instead of gethostbyname()
12266 * process-unix.c: In unix_canonicalize_host_name() and
12267 unix_open_network_stream(), add code to use getaddrinfo()
12268 instead of gethostbyname().
12270 2000-01-27 Daniel Pittman <daniel@danann.net>
12272 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12273 libs when built with flat Athena.
12275 2000-01-27 Martin Buchholz <martin@xemacs.org>
12277 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12278 Use coding standards for function prototypes.
12280 2000-01-25 Martin Buchholz <martin@xemacs.org>
12282 * dialog-msw.c (push_lisp_string_as_unicode):
12283 * doc.c (unparesseuxify_doc_string):
12284 * dired.c (Fuser_name_completion_1):
12285 * dired.c (Fuser_name_all_completions):
12286 * dired.c (free_user_cache):
12287 * dired.c (user_name_completion):
12288 * console-x.c (get_display_arg_connection):
12289 * minibuf.c (clear_echo_area_internal):
12290 * minibuf.c (echo_area_append):
12291 * eldap.c (Fldap_open):
12292 * eldap.c (Fldap_search_internal):
12293 * frame-x.c (x_set_frame_text_value):
12294 * frame-x.c (x_set_frame_properties):
12295 * frame-x.c (x_create_widgets):
12296 * redisplay-tty.c (term_get_fkeys_1):
12297 * objects-x.c (x_parse_nearest_color):
12298 * objects-x.c (x_valid_color_name_p):
12299 * objects-x.c (x_initialize_font_instance):
12300 * objects-x.c (x_list_fonts):
12301 * objects-x.c (x_find_charset_font):
12302 * tooltalk.c (Fadd_tooltalk_message_arg):
12303 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12304 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12305 * process-unix.c (unix_create_process):
12306 * ntproc.c (sys_spawnve):
12307 * sound.c (Fplay_sound_file):
12308 * sound.c (Fplay_sound):
12309 * buffer.c (init_initial_directory):
12310 * buffer.c (init_buffer):
12311 * editfns.c (init_editfns):
12312 * editfns.c (Ftemp_directory):
12313 * editfns.c (Fuser_full_name):
12314 * editfns.c (uncache_home_directory):
12315 * editfns.c (get_home_directory):
12316 * editfns.c (Fuser_home_directory):
12317 * editfns.c (Fformat_time_string):
12318 * editfns.c (Fcurrent_time_string):
12319 * gui-x.c (button_item_to_widget_value):
12320 * database.c (Fopen_database):
12321 * event-Xt.c (x_to_emacs_keysym):
12322 * event-Xt.c (x_event_to_emacs_event):
12323 * event-Xt.c (describe_event_window):
12324 * event-msw.c (mswindows_wnd_proc):
12325 * glyphs-eimage.c (jpeg_instantiate):
12326 * glyphs-eimage.c (gif_instantiate):
12327 * glyphs-eimage.c (png_instantiate):
12328 * glyphs-eimage.c (tiff_instantiate):
12329 * glyphs-x.c (xbm_instantiate_1):
12330 * glyphs-x.c (x_xbm_instantiate):
12331 * glyphs-x.c (x_xface_instantiate):
12332 * glyphs-x.c (autodetect_instantiate):
12333 * glyphs-x.c (cursor_font_instantiate):
12334 * glyphs-x.c (x_widget_instantiate):
12335 * glyphs-x.c (x_widget_set_property):
12336 * glyphs-x.c (x_widget_property):
12337 * glyphs-x.c (BUILD_GLYPH_INST):
12338 * print.c (write_string_to_stdio_stream):
12339 * print.c (output_string):
12340 * print.c (Falternate_debugging_output):
12341 * print.c (Fexternal_debugging_output):
12342 * glyphs-msw.c (extract_xpm_color_names):
12343 * glyphs-msw.c (mswindows_xpm_instantiate):
12344 * glyphs-msw.c (bmp_instantiate):
12345 * glyphs-msw.c (resource_name_to_resource):
12346 * glyphs-msw.c (mswindows_resource_instantiate):
12347 * glyphs-msw.c (xbm_instantiate_1):
12348 * glyphs-msw.c (mswindows_xbm_instantiate):
12349 * glyphs-msw.c (mswindows_xface_instantiate):
12350 * glyphs-msw.c (mswindows_widget_instantiate):
12351 * glyphs-msw.c (add_tree_item):
12352 * glyphs-msw.c (add_tab_item):
12353 * glyphs-msw.c (mswindows_combo_box_instantiate):
12354 * glyphs-msw.c (mswindows_widget_property):
12355 * glyphs-msw.c (mswindows_combo_box_property):
12356 * glyphs-msw.c (mswindows_widget_set_property):
12357 * console.c (stuff_buffered_input):
12358 * objects-msw.c (mswindows_initialize_color_instance):
12359 * objects-msw.c (mswindows_valid_color_name_p):
12360 * objects-msw.c (mswindows_list_fonts):
12361 * objects-msw.c (mswindows_font_instance_truename):
12362 * bytecode.c (optimize_compiled_function):
12363 * select-x.c (symbol_to_x_atom):
12364 * select-x.c (x_atom_to_symbol):
12365 * select-x.c (hack_motif_clipboard_selection):
12366 * select-x.c (selection_data_to_lisp_data):
12367 * select-x.c (lisp_data_to_selection_data):
12368 * select-x.c (Fx_get_cutbuffer_internal):
12369 * select-x.c (Fx_store_cutbuffer_internal):
12370 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12371 * buffer.h (TO_INTERNAL_FORMAT): New function.
12372 * emacs.c (make_arg_list_1):
12373 * emacs.c (make_argc_argv):
12374 * emacs.c (main_1):
12375 * emacs.c (Fdump_emacs):
12376 * emacs.c (split_string_by_emchar_1):
12381 * device-x.c (x_init_device):
12382 * device-x.c (Fx_valid_keysym_name_p):
12383 * device-x.c (Fx_get_font_path):
12384 * device-x.c (Fx_set_font_path):
12385 * glyphs.c (bitmap_to_lisp_data):
12386 * glyphs.c (pixmap_to_lisp_data):
12387 * alloc.c (make_ext_string): Use coding system arguments. Update
12389 * alloc.c (build_string):
12390 * callproc.c (child_setup):
12391 * callproc.c (init_callproc):
12392 * fileio.c (lisp_strerror):
12393 * fileio.c (directory_file_name):
12394 * fileio.c (Fexpand_file_name):
12395 * fileio.c (Ffile_truename):
12396 * fileio.c (Fsysnetunam):
12397 * fileio.c (Fdo_auto_save):
12398 * sysdep.c (sys_readdir):
12399 * tests.c: New file. Allow adding C tests.
12400 Replace GET_* macros with a more comprehensible and flexible
12401 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12403 Any coding system can be used to do format conversion.
12404 Eliminate enum external_data_format.
12405 Eliminate convert_to_external_format.
12406 Eliminate convert_to_internal_format.
12407 Make sure file-name, keyboard, terminal, and ctext are always
12408 defined as coding systems or aliases. Make
12409 file-name-coding-system, terminal-coding-system, and
12410 keyboard-coding-system magical variables that are equivalent to
12411 defining the corresponding coding system aliases.
12413 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12414 * file-coding.c (Fcoding_system_alias_p): New function.
12415 * file-coding.c (Fcoding_system_aliasee): New function.
12416 * file-coding.c (append_suffix_to_symbol): New function.
12417 * file-coding.c (dangling_coding_system_alias_p): New function.
12418 * file-coding.c (Ffind_coding_system):
12419 * file-coding.c (Fcopy_coding_system):
12420 * file-coding.c (encode_coding_no_conversion):
12421 * file-coding.c (syms_of_file_coding):
12422 * file-coding.c (vars_of_file_coding):
12423 Rewrite coding system alias code.
12424 Allow nested aliases, like symbolic links.
12425 Allow redefinition of coding system aliases.
12426 Prevent existence of dangling coding system aliases.
12428 * dired.c (Fuser_name_completion_1):
12429 * dired.c (Fuser_name_all_completions):
12430 A crash would happen if user did QUIT in the middle of building
12431 user_name_cache. Remove redundant code in mainline and unwind_protect.
12434 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12436 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12437 an unsigned char *. Update all callers.
12439 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12441 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12443 2000-01-25 Martin Buchholz <martin@xemacs.org>
12445 * elhash.c (hentry_description): Use more portable definition.
12446 (resize_hash_table): Initialize new hentries using
12447 xnew_array_and_zero, thereby simplifying the code.
12449 * mule-charset.c (make_charset): Make sure entire object is
12450 initialized, to avoid Purify warnings.
12452 * alloc.c (resize_string): Fix unlikely crash with big strings.
12454 2000-01-24 Martin Buchholz <martin@xemacs.org>
12456 * realpath.c (xrealpath):
12457 Don't call getwd().
12459 2000-01-25 Martin Buchholz <martin@xemacs.org>
12461 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12463 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12465 * unexelfsgi.c (unexec): Change the way we decide which segment
12466 should be extended.
12468 Assumption that .bss section should be outside the PT_LOADable
12469 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12470 it's present) is inside the 'data' segment. This would fail the
12471 test which was used to find a segment to grow and cover new
12472 heap. Instead of this assumption, I created another one - on IRIX
12473 the segment to grow should start below .bss and it's address
12474 should extent above the end of .bss. Once this segment is
12475 identified, it's grown to accommodate the new heap and new
12476 zero-length .bss section is added at the end of .data2.
12478 2000-01-25 Martin Buchholz <martin@xemacs.org>
12480 * eval.c (Feval): Wrong number of arguments should use original
12481 function, not the indirect_function version of it.
12483 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12485 * glyphs-x.c (x_button_instantiate): Don't add image if
12486 it is not a pixmap.
12487 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12490 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12492 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12494 (DEFVAR_INT_MAGIC): Ditto.
12495 (DEFVAR_BOOL_MAGIC): Ditto.
12496 * glyphs.h: Reindent backslash.
12498 2000-01-24 Martin Buchholz <martin@xemacs.org>
12500 * glyphs-widget.c (layout_query_geometry):
12501 (layout_layout): Use correct types for gheight, gwidth.
12503 2000-01-24 Martin Buchholz <martin@xemacs.org>
12505 * EmacsManager.c (QueryGeometry): Purified.
12507 2000-01-23 Martin Buchholz <martin@xemacs.org>
12509 * alloc.c (make_float): Make sure entire object is initialized, to
12510 avoid Purify warnings.
12511 (pdump_register_sub): Remove useless assignment.
12512 (pdump): Use xmalloc, not malloc.
12513 (pdump_load): Use xmalloc, not malloc.
12515 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12522 * sysdep.c: Removed redundant #include <windows.h>
12524 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12526 * frame.c (delete_frame_internal): Do not delete device when its
12527 implementation so declares.
12528 (delete_frame_internal): Set device selected frame to nil when
12529 last frame goes away.
12531 * device-msw.c (msprinter_device_system_metrics): Implemented.
12532 (mswindows_device_system_metrics): Added 'device-dpi property.
12534 * device.c: (Fdevice_printer_p): Added.
12535 Added 'offset-workspace device metric.
12537 * console.h (device_metrics): Declared DM_offset_workspace.
12539 2000-01-23 Martin Buchholz <martin@xemacs.org>
12541 * fileio.c (Ffile_truename): Remove pointless and confusing
12542 initialization of elen.
12544 * glyphs-widget.c: Compiler warning fixes.
12546 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12548 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12549 instead of a Lisp_Object as argument to make it consistent with
12550 the other LIVE_P macros.
12551 (CHECK_LIVE_PROCESS): New macro.
12553 * process.c: Declare Qprocess_live_p.
12554 (Fprocess_live_p): New function.
12555 (create_process): Use PROCESS_LIVE_P.
12556 (read_process_output): Ditto.
12557 (set_process_filter): Ditto.
12558 (Fdelete_process): Ditto.
12559 (kill_buffer_processes): Ditto
12560 (process_send_signal): Use CHECK_LIVE_PROCESS.
12561 (Fprocess_input_coding_system): Check whether process is still
12562 alive (fix PR#1061).
12563 (Fprocess_output_coding_system): Ditto.
12564 (Fprocess_coding_system): Ditto.
12565 (Fset_process_input_coding_system): Ditto.
12566 (Fset_process_output_coding_system): Ditto.
12568 2000-01-23 Andy Piper <andy@xemacs.org>
12570 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12573 * glyphs.c (mark_image_instance): take into account changed
12574 image_instance format.
12575 (image_instance_equal): ditto.
12576 (image_instance_hash): ditto.
12578 * glyphs-widget.c (widget_instantiate): Incorporate layout
12579 instantiation here. Delay layout of the layout until later.
12580 (layout_instantiate): deleted.
12581 (layout_query_geometry): new function. get the geometry of a
12583 (layout_layout): layout a layout dynamically.
12584 (image_instantiator_widget): New function - splitting up
12585 image_instantiator_format_create_glyphs_widget for netwinder
12587 (image_instantiator_buttons):
12588 (image_instantiator_edit_fields):
12589 (image_instantiator_combo_box):
12590 (image_instantiator_scrollbar):
12591 (image_instantiator_progress_guage):
12592 (image_instantiator_tree_view):
12593 (image_instantiator_tab_control):
12594 (image_instantiator_labels):
12595 (image_instantiator_layout): ditto.
12596 (image_instantiator_format_create_glyphs_widget): Call preceding
12599 2000-01-22 Martin Buchholz <martin@xemacs.org>
12601 * process.c (Fset_process_coding_system):
12602 * device-x.c (Fx_keysym_hash_table):
12605 * lstream.c (Lstream_write): Return documented value, not 0.
12607 * fileio.c (directory_file_name):
12608 (Fsubstitute_in_file_name):
12609 (Fsubstitute_insert_file_contents_internal):
12610 (Fwrite_region_internal):
12615 Remove vestigial APOLLO-conditional code.
12617 2000-01-21 Martin Buchholz <martin@xemacs.org>
12619 * getpagesize.h: Add guard macros.
12620 * libsst.h: Add guard macros.
12621 * libst.h: Add guard macros.
12622 * line-number.h: Add guard macros.
12623 * ndir.h: Add guard macros.
12624 * sysfloat.h: Add guard macros.
12625 * sysfile.h: Add guard macros.
12626 * sysproc.h: Add guard macros.
12627 * syswait.h: Add guard macros.
12628 * xintrinsic.h: Add guard macros.
12629 * xintrinsicp.h: Add guard macros.
12630 * xmmanager.h: Add guard macros.
12631 * xmmanagerp.h: Add guard macros.
12632 * xmprimitive.h: Add guard macros.
12633 * xmu.h: Add guard macros.
12634 * gpmevent.h: Add copyright statement. Add guard macros.
12635 * miscplay.h: Add guard macros.
12636 * *.h: Use consistent C-standards-approved guard macro names.
12638 * opaque.c (make_opaque): Switch parameter order.
12639 * opaque.h (make_opaque): Switch parameter order.
12640 Update all callers.
12641 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12643 * config.h.in (type_checking_assert): Added.
12644 (bufpos_checking_assert): Added.
12646 2000-01-21 Martin Buchholz <martin@xemacs.org>
12648 * alloc.c: Harmless pdump changes.
12650 - spell alignment correctly.
12651 * sysdep.c: Use countof()
12653 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12655 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12656 initially_selected_for_input() console method, default to 0.
12657 (semi_canonicalize_console_connection): Try to delegate to
12658 canonicalize_console_connection if no such console method.
12659 (canonicalize_console_connection): Vice versa.
12660 (print_console): Do not print nil connection.
12662 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12663 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12664 (XDEVIMPF_FRAMELESS_OK): Added.
12665 (CONSOLE_INHERITS_METHOD): Added.
12667 * console-msw.c (mswindows_canonicalize_console_connection):
12669 (mswindows_canonicalize_device_connection): Added.
12671 * console-msw.h (struct msprinter_device): Added this struct and
12673 (mswindows_device): Made fontlist a lisp object.
12675 * device.c (semi_canonicalize_device_connection): Try to delegate
12676 to canonicalize_device_connection if no such console method.
12677 (canonicalize_device_connection): Vice versa.
12678 (print_device): Do not print nil connection.
12680 * device-msw.c (mswindows_init_device): Call InitCommonControls
12682 (mswindows_delete_device): Removed fontlist deallocation.
12683 (mswindows_mark_device): Added.
12685 * events.c (event_equal): Added abort() at unreached code.
12686 (event_hash): Ditto.
12688 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12689 fallback tags of Windows devices.
12691 * general.c (syms_of_general): Initialized Qmsprinter.
12693 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12694 of fallback tags of Windows devices.
12696 * lisp.h: Declared Qmsprinter.
12698 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12700 (mswindows_list_fonts): Ditto.
12701 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12702 that it can be used by both mswindows and msprinter devices.
12703 (initialize_font_instance): Added.
12704 (mswindows_initialize_font_instance): Use it.
12705 (msprinter_initialize_font_instance): Added.
12707 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12708 and implementation flags check.
12709 (redisplay_without_hooks): Changed the call to the above.
12710 (Fredraw_device): Ditto.
12711 (Fredisplay_device): Ditto.
12713 * redisplay-msw.c (get_frame_dc): Implemented.
12714 (get_frame_compdc): Implemented.
12715 (many functions): Use the two functions above to get device
12716 contexts, ether for a window or a printer.
12718 2000-01-21 Olivier Galibert <galibert@pobox.com>
12720 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12721 initialization here.
12722 (init_symbols_once_early): Call it.
12723 * emacs.c (main_1): Call it.
12724 * symsinit.h: Declare it.
12726 2000-01-19 Olivier Galibert <galibert@pobox.com>
12728 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12730 (pdump_backtrace): Ditto.
12731 (pdump_register_object): Ditto. Cleanup use of the pointers.
12732 (pdump_get_entry): Abort if trying to register a null pointer.
12733 (pdump_dump_data): Cleanup types when relocating.
12734 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
12735 (pdump_dump_rtables): Remove bad casts.
12736 (pdump_load): Cleanup relocation w.r.t union type. Use a
12737 Lisp_Object instead of a EMACS_INT for the hashtable
12740 2000-01-20 Martin Buchholz <martin@xemacs.org>
12742 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
12744 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
12746 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
12748 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
12750 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12752 * faces.h (FACE_STRIKETHRU_P): Added.
12754 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
12757 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
12758 (mswindows_set_dc_font): New function, aware of font variants,
12759 separated from mswindows_update_dc.
12761 * objects-msw.h (struct mswindows_font_instance_data): Added
12764 * objects-msw.c (mswindows_finalize_font_instance): Delete all
12765 cached fonts and the data structure.
12766 (mswindows_initialize_font_instance): Added creation of font data
12768 (mswindows_print_font_instance): Print at least something.
12769 (mswindows_create_font_variant): Implemented.
12770 (mswindows_get_hfont): Implemented.
12772 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
12774 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
12775 prototyping problem with msvc.
12777 * emacs.c (main_1): added syms_of_gui_mswindows() call
12779 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
12780 syms_of_gui_mswindows() function
12782 * symsinit.h: added the prototype for syms_of_gui_mswindows()
12784 2000-01-18 Martin Buchholz <martin@xemacs.org>
12786 * XEmacs 21.2.27 is released.
12788 2000-01-18 Martin Buchholz <martin@xemacs.org>
12790 * glyphs-eimage.c (struct tiff_error_struct):
12792 (tiff_warning_func):
12793 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
12798 * unexec.c: Remove vestigial Lucid C code.
12802 * libsst.c: Ansify.
12803 Remove declarations of errno and strerror().
12805 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
12807 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
12809 2000-01-16 Martin Buchholz <martin@xemacs.org>
12811 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
12814 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12819 Change enum eol_type to eol_type_t.
12821 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12823 * gui.c (get_gui_callback): Check cons before accessing car.
12825 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12827 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
12828 (XSETSPECIFIER_TYPE): Ditto.
12830 2000-01-17 Didier Verna <didier@xemacs.org>
12832 * redisplay.c (generate_fstring_runes): compute string size in
12833 characters, not bytes.
12835 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12837 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
12839 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
12841 * print.c (print_error_message): Call print_prepare().
12843 2000-01-14 Martin Buchholz <martin@xemacs.org>
12845 * .dbxrc: Renamed from dbxrc.
12847 * events.c (event_to_character):
12848 Use `assert (foo)' instead of `if (!foo) abort()'
12850 * .gdbinit (xtype): Add documentation.
12851 * .gdbinit (check-temacs): New function.
12852 * .gdbinit (check-xemacs): New function.
12853 * dbxrc (check-xemacs): New function.
12854 * dbxrc (check-xemacs): New function.
12856 2000-01-14 Andy Piper <andy@xemacs.org>
12858 * glyphs-widget.c (widget_query_geometry): Make sure that we
12859 calculate default dimensions correctly.
12861 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12863 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
12865 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
12866 pdump_wire'd variable.
12868 * emacs.c: (main_1): Conditionalized calls to
12869 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
12871 2000-01-13 Martin Buchholz <martin@xemacs.org>
12873 * window.c (Fset_window_configuration):
12874 * sysdep.c (_start):
12875 * input-method-motif.c (res):
12876 * event-Xt.c (Xt_process_to_emacs_event):
12877 Simple compiler warning fixes.
12879 * bytecode.c (funcall_compiled_function): Use the original
12880 function symbol on the backtrace list in preference to the
12881 compiled_function object in error messages.
12883 2000-01-13 Andy Piper <andy@xemacs.org>
12885 * glyphs-x.c (update_widget_face): Make sure we update the widget
12886 background as well as foreground.
12888 2000-01-13 Andy Piper <andy@xemacs.org>
12890 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
12891 fields to subwindow.
12892 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
12893 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
12894 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12895 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12897 * glyphs-widget.c (check_valid_tab_orientation): new function.
12898 (initialize_widget_image_instance): zero orientation and
12900 (widget_instantiate): pick up orientation.
12901 (tab_control_query_geometry): return appropriate values for
12904 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
12905 appropriate creation flags for left, right and bottom tabs.
12907 * s/cygwin32.h: add tab definitions.
12909 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12911 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
12912 frame upon hiding a subwindow.
12913 (mswindows_button_instantiate): Changed the push button style to
12915 (mswindows_button_instantiate): Removed button BS_NOTIFY
12917 (mswindows_button_instantiate): Removed redundant check for
12918 a disabled gui item.
12919 (mswindows_button_instantiate): Made use of WS_TABSTOP
12920 consistent: "operable" controls (edit, button, tree, scroll) have
12921 this style, "display-only" ones (static, progress gauge) do
12922 not. This style is currently ignored by XEmacs though. Also,
12923 removed the WS_EX_CONTROLPARENT style - it is not for children,
12924 it is for their parents!
12925 (mswindows_edit_field_instantiate): Ditto.
12926 (mswindows_progress_gauge_instantiate): Ditto.
12927 (mswindows_tree_view_instantiate): Ditto.
12928 (mswindows_tab_control_instantiate): Ditto.
12929 (mswindows_scrollbar_instantiate): Ditto.
12930 (mswindows_combo_box_instantiate): Ditto.
12931 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
12932 style to the "clip" window.
12933 (mswindows_button_instantiate): Removed compilation warning by
12934 equally typing terms of the ?: operator.
12936 2000-01-12 Didier Verna <didier@xemacs.org>
12938 * redisplay.c (generate_fstring_runes): new parameter holding the
12939 last modeline-format extent.
12940 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
12941 extent, fill the glyph block with it.
12942 (generate_fstring_runes): handle these parameters.
12943 (generate_formatted_string_db): ditto.
12945 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
12946 glyphs'extents in the modeline.
12948 1999-01-11 Mike Woolley <mike@bulsara.com>
12950 * ntheap.c: Reduced the reserved heap space from 1Gb down to
12951 256Mb, as a workaround for the non-starting problem many people
12954 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12956 * console-tty.c (Fset_console_tty_output_coding_system):
12957 Force redrawing tty frame.
12959 2000-01-10 Didier Verna <didier@xemacs.org>
12961 * redisplay.c (generate_fstring_runes): fix size computation bug.
12963 2000-01-09 William M. Perry <wmperry@aventail.com>
12965 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
12967 2000-01-09 Andy Piper <andy@xemacs.org>
12969 * glyphs-msw.c: index -> i to avoid shadows.
12970 (xbm_create_bitmap_from_data): make static.
12971 (check_valid_string_or_int): deleted.
12972 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
12974 * glyphs-x.c (x_update_subwindow): remove unused args.
12976 * glyphs.c (glyph_image_instance): return the thing. Don't set the
12977 back pointer - this is done in allocate_image_instance.
12978 (query_string_font): return Qnil to make the compiler happy.
12979 (unmap_subwindow): set to ~0 to make the compiler happy.
12980 (glyph_query_geometry): comment out until used.
12981 (glyph_layout): ditto.
12983 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12985 * insdel.c (signal_after_change): Remove extraneous unbind_to().