1 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
5 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
7 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
8 (vars_of_mule): Add new variable `utf-2000-version' [moved from
11 * chartab.c (Vutf_2000_version): Moved to mule.c.
12 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
14 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
16 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
17 when HAVE_CHISE_CLIENT is not defined.
19 * mule.c (vars_of_mule): Provide feature `chise' when
20 HAVE_CHISE_CLIENT is defined.
22 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
24 * config.h.in (UTF2000): Add comment.
25 (HAVE_CHISE_CLIENT): New macro.
27 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
29 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
31 (Fput_char_attribute): Likewise.
32 (char_attribute_system_db_file): Encode file-name of attribute.
33 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
36 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
38 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
39 (Fsave_charset_mapping_table): Use
40 `char_attribute_system_db_file'.
41 (load_char_decoding_entry_maybe): Likewise.
43 * chartab.h (Qsystem_char_id): New external variable.
44 (char_attribute_system_db_file): New prototype.
46 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
47 (char_attribute_system_db_file): New function.
48 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
49 (Freset_char_attribute_table): Likewise.
50 (load_char_attribute_maybe): Likewise.
51 (Fload_char_attribute_table): Likewise.
52 (syms_of_chartab): Add new symbol `system-char-id'.
54 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
56 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
57 `XCHARSET_GRAPHIC(ccs)'.
59 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
61 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
63 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
65 * chartab.c (Q_ucs_variants): New variable.
66 (syms_of_chartab): Add new symbol `->ucs-variants'.
67 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
68 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
69 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
71 * mule-charset.c (load_char_decoding_entry_maybe): New function.
73 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
74 `HAVE_DATABASE' is defined.
75 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
76 `HAVE_DATABASE' is defined.
78 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
80 * chartab.c (Fsave_char_attribute_table): Don't clear internal
82 (Freset_char_attribute_table): New function.
83 (syms_of_chartab): Add new builtin function
84 `reset-char-attribute-table'.
86 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
88 * chartab.c (load_char_attribute_maybe): Don't make directories.
90 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
92 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
94 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
97 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
99 * mule-charset.c (Fsave_charset_mapping_table): Use
100 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
102 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
103 instead of `XCHARSET_CHARS'.
105 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
107 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
108 (XCHARSET_BYTE_SIZE): Likewise.
110 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
112 (XCHARSET_BYTE_SIZE): Likewise.
114 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
116 * chartab.c (Fput_char_attribute): Use exec-directory instead of
117 data-directory to store database.
118 (Fsave_char_attribute_table): Likewise.
119 (load_char_attribute_maybe): Likewise.
120 (Fload_char_attribute_table): Likewise.
122 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
124 * mule-charset.c (Fsave_charset_mapping_table): New function.
125 (syms_of_mule_charset): Add new builtin function
126 `save-charset-mapping-table'.
128 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
130 * char-ucs.h (decoding_table_check_elements): Delete prototype.
131 (get_ccs_octet_table): New inline function.
132 (put_ccs_octet_table): Likewise.
133 (decoding_table_put_char): Use `get_ccs_octet_table' and
134 `put_ccs_octet_table'.
135 (decoding_table_remove_char): Use `decoding_table_put_char'.
136 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
138 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
140 (make_charset): Use Qunbound instead Qnil as initial value of
143 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
145 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
146 element is Qunloaded.
147 (map_over_uint16_byte_table): Likewise.
148 (map_over_byte_table): Likewise.
149 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
150 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
151 database support, load encoding-table of the specified
152 coded-charset if it is not loaded yet.
153 (save_uint8_byte_table): New function of UTF-2000 with external
155 (save_uint16_byte_table): Likewise.
156 (save_byte_table): Likewise.
157 (Fput_char_attribute): Don't store value into external database
158 even if the external database feature is supported in UTF-2000;
159 set `attribute' as name of char-table if the external database
160 feature is supported.
161 (Fsave_char_attribute_table): New function in UTF-2000.
162 (syms_of_chartab): Add new builtin function
163 `save-char-attribute-table' in UTF-2000.
165 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
167 * chartab.c (char_attribute_table_to_put): New variable in
169 (Qput_char_table_map_function): Likewise.
170 (value_to_put): Likewise.
171 (Fput_char_table_map_function): New function in UTF-2000.
172 (put_char_table): Use `Fmap_char_attribute' for
173 CHARTAB_RANGE_CHARSET in UTF-2000.
174 (Fput_char_attribute): Store symbol instead of string in
175 `XCHAR_TABLE_NAME (table)'.
176 (load_char_attribute_maybe): Likewise.
177 (syms_of_chartab): Add new symbol/function
178 `put-char-table-map-function'.
180 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
182 * database.h: Add new EXFUN for `Fmap_database'.
184 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
185 (syms_of_database): Likewise.
187 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
189 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
190 (XCHAR_TABLE_UNLOADED): Likewise.
192 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
193 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
194 HAVE_DATABASE is defined.
195 (char_attribute_table_to_load): New variable of UTF-2000 with
196 external database support.
197 (Qload_char_attribute_table_map_function): Likewise.
198 (Fload_char_attribute_table_map_function): New function of
199 UTF-2000 with external database support.
200 (Fload_char_attribute_table): New function of UTF-2000.
201 (Fmap_char_attribute): Call Fload_char_attribute_table if
202 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
203 (syms_of_chartab): Add new symbol and function
204 `load-char-attribute-table-map-function' in UTF-2000 with external
205 database support; add new function `load-char-attribute-table' in
208 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
210 * chartab.h (load_char_attribute_maybe): New prototype for
211 UTF-2000 with DATABASE support.
212 (get_char_id_table): Use `load_char_attribute_maybe' if
213 HAVE_DATABASE is defined.
215 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
216 with DATABASE support.
218 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
220 * chartab.c (Fput_char_attribute): Use S-expression as key of
223 * chartab.h (get_char_id_table): Use S-expression as key of
226 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
228 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
229 if an element is not loaded, load the corresponding attributes
230 from an external database.
231 (map_over_uint16_byte_table): Likewise.
232 (map_over_byte_table): Likewise.
233 (map_char_table): Modify for `map_over_uint8_byte_table',
234 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
235 element is not loaded, load the corresponding attributes from an
237 (Fput_char_attribute): Change initial values to Qunloaded.
239 * chartab.h (get_char_id_table): If a character attribute is not
240 loaded and the attribute value is not found in an external
241 database, store Qunbound as the attribute value.
243 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
245 * chartab.c (BT_UINT8_unloaded): New macro.
246 (UINT8_VALUE_P): Accept Qunloaded.
247 (UINT8_ENCODE): Likewise.
248 (UINT8_DECODE): Likewise.
249 (BT_UINT16_unloaded): New macro.
250 (UINT16_VALUE_P): Accept Qunloaded.
251 (UINT16_ENCODE): Likewise.
252 (UINT16_DECODE): Likewise.
253 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
255 (mark_char_table): Mark `ct->name' in UTF-2000.
256 (char_table_description): Add `name' in UTF-2000.
257 (Fmake_char_table): Initialize `ct->name'.
258 (Fcopy_char_table): Copy `ct->name'.
259 (Fput_char_attribute): Store value into an external database if
260 HAVE_DATABASE is defined.
262 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
264 (CHAR_TABLE_NAME): New macro in UTF-2000.
265 (XCHAR_TABLE_NAME): New macro in UTF-2000.
266 (get_char_id_table): Try to read an external database if Qunloaded
267 is stored in a table.
269 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
272 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
274 * database.h: Add EXFUN definitions for Fopen_database,
275 Fput_database, Fget_database and Fclose_database.
277 * data.c (Qunloaded): New variable in UTF-2000.
279 * lisp.h (Qunloaded): New variable in UTF-2000.
281 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
283 * mule-charset.c (put_char_ccs_code_point): Modify for
284 `decoding_table_remove_char' and `decoding_table_put_char'.
285 (remove_char_ccs): Modify for `decoding_table_remove_char'.
287 * char-ucs.h (decoding_table_remove_char): Change arguments to
288 hide decoding_table vector.
289 (decoding_table_put_char): Likewise.
291 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
293 * mule-charset.c (decoding_table_remove_char): Moved to
295 (decoding_table_put_char): Likewise.
297 * char-ucs.h (decoding_table_check_elements): New prototype [moved
298 from mule-charset.c].
299 (decoding_table_remove_char): New inline function [moved from
301 (decoding_table_put_char): Likewise.
303 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
305 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
308 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
310 * mule-charset.c (decode_builtin_char): Support mother charsets.
312 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
314 * mule-charset.c (Q94x94x60): New variable.
315 (charset_code_point): Support conversion `94x94x60'.
316 (Fmake_charset): Likewise.
317 (syms_of_mule_charset): Add new symbol `94x94x60'.
319 * char-ucs.h (CONVERSION_94x94x60): New macro.
321 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
323 * mule-charset.c (charset_code_point): Unify code about
326 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
328 * mule-charset.c (charset_code_point): Merge code about builtin
329 characters into code about mother charsets; don't use
330 `range_charset_code_point'.
331 (range_charset_code_point): Deleted.
333 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
335 * mule-charset.c (Qcode_offset): New variable.
336 (Fmake_charset): Use `XUINT' to get value of `min-code' and
337 `max-code'; accept new property `code-offset'.
338 (syms_of_mule_charset): Add new symbol `code-offset'.
340 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
342 * mule-charset.c (range_charset_code_point): Fixed.
344 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
346 * mule-charset.c (decode_builtin_char): Change semantics of
347 code-offset of coded-charset.
348 (charset_code_point): Likewise.
349 (range_charset_code_point): Likewise.
350 (complex_vars_of_mule_charset): Modify for the change.
352 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
354 * mule-charset.c (Fencode_char): Reverse arguments.
356 * mule-charset.c (charset_code_point): Fixed.
358 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
360 * mule-charset.c (Vcharset_mojikyo): Deleted.
361 (Vcharset_mojikyo_2022_1): Deleted.
362 (Vcharset_mojikyo_pj_{1..21}): Deleted.
363 (Qmin_code): New variable in UTF-2000.
364 (Qmax_code): Likewise.
366 (Qconversion): Likewise.
369 (Qmojikyo_2022_1): Deleted.
370 (Qmojikyo_pj_{1..22}): Deleted.
371 (mark_charset): Mark `cs->mother'.
372 (charset_description): Add description for `mother'.
373 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
374 new arguments `mother' and `conversion'; use
375 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
376 (charset_code_point): Moved from char-ucs.h; support `mother'
378 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
379 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
380 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
381 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
382 allow 2 as the value of `graphic' in UTF-2000; add new properties
383 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
384 require `final' in UTF-2000; modify for `make_charset'.
385 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
386 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
387 (Fcharset_property): Support `mother', `min-code' and `max-code'.
388 (Fencode_char): New function.
389 (syms_of_mule_charset): Add new builtin function `encode-char' in
390 UTF-2000; add new symbols `min-code', `max-code', `mother',
391 `conversion' and `94x60'; delete symbols `mojikyo',
392 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
393 (complex_vars_of_mule_charset): Modify for `make_charset' change;
394 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
395 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
397 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
398 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
400 * char-ucs.h (Vcharset_mojikyo): Deleted.
401 (Vcharset_mojikyo_2022_1): Deleted.
402 (LEADING_BYTE_MOJIKYO): Deleted.
403 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
404 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
405 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
406 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
407 add new member `mother'; add new member `conversion'.
408 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
409 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
410 (CHARSET_MOTHER): New macro.
411 (CHARSET_CONVERSION): New macro.
412 (CONVERSION_IDENTICAL): New macro.
413 (CONVERSION_94x60): New macro.
414 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
415 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
416 (XCHARSET_MOTHER): New macro.
417 (XCHARSET_CONVERSION): New macro.
418 (MIN_CHAR_MOJIKYO): Deleted.
419 (MAX_CHAR_MOJIKYO): Deleted.
420 (DECODE_MOJIKYO_2022): Deleted.
421 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
422 (charset_code_point): Changed to non-inline function.
423 (encode_char_1): Use `charset_code_point'.
424 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
426 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
428 * lread.c (read_compiled_function): Fix prototype.
429 (read_vector): Likewise.
431 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
433 * lrecord.h (struct lrecord_header): Delete `older'.
434 (set_lheader_implementation): Delete code for `older'.
435 (set_lheader_older_implementation): Deleted.
436 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
437 (OLDER_RECORD_P): Deleted.
438 (OLDER_RECORD_HEADER_P): Deleted.
439 (alloc_older_lcrecord): Deleted.
440 (alloc_older_lcrecord_type): Deleted.
442 * alloc.c (all_older_lcrecords): Deleted.
443 (alloc_older_lcrecord): Deleted.
444 (disksave_object_finalization_1): Delete code for older objects.
445 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
446 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
448 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
450 * mule-charset.c (decoding_table_put_char): Use `make_vector'
451 instead of `make_older_vector'.
452 (put_char_ccs_code_point): Likewise.
453 (mark_charset): Mark `cs->decoding_table'.
454 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
456 * lisp.h (make_older_vector): Deleted.
457 (make_vector_newer): Deleted.
459 * config.h.in (HAVE_GGC): Deleted.
461 * alloc.c (make_older_vector): Deleted.
462 (make_vector_newer_1): Deleted.
463 (make_vector_newer): Deleted.
465 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
467 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
468 (Qideograph_daikanwa_2): New variable.
469 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
470 (complex_vars_of_mule_charset): Add new coded-charset
471 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
472 `LEADING_BYTE_DAIKANWA'.
474 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
475 (LEADING_BYTE_DAIKANWA_1): New macro.
476 (LEADING_BYTE_DAIKANWA_2): New macro.
477 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
479 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
481 * mule-charset.c (complex_vars_of_mule_charset): Change
482 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
483 the second revised version.
485 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
487 * mule-charset.c (Vcharset_ucs_smp): New variable.
488 (Vcharset_ucs_sip): New variable.
489 (Qucs_smp): New variable.
490 (Qucs_sip): New variable.
491 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
492 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
493 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
494 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
495 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
496 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
498 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
499 (LEADING_BYTE_UCS_SIP): New macro.
500 (MIN_CHAR_SMP): New macro.
501 (MAX_CHAR_SMP): New macro.
502 (MIN_CHAR_SIP): New macro.
503 (MAX_CHAR_SIP): New macro.
505 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
507 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
510 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
512 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
513 value; don't store value into `encoding_table' of `Lisp_Charset'.
514 (mark_charset): `encoding_table' was deleted.
515 (charset_description): Likewise.
516 (make_charset): Likewise.
517 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
518 `put_char_ccs_code_point'.
520 * chartab.h (Fput_char_attribute): New EXFUN.
522 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
523 is unified with normal symbol space.
524 (Fget_char_attribute): Likewise.
525 (Fput_char_attribute): Likewise; behavior of
526 `put_char_ccs_code_point' is changed.
528 * char-ucs.h: Include "elhash.h".
529 (Vchar_attribute_hash_table): New external variable.
530 (struct Lisp_Charset): Delete `encoding_table'.
531 (CHARSET_ENCODING_TABLE): New implementation; refer
532 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
535 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
537 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
540 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
542 * text-coding.c (char_encode_big5): Prefer charset-g1 than
545 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
547 * chartab.c (uint8_byte_table_description): New constant.
548 (uint8-byte-table): Use `uint8_byte_table_description'.
549 (uint16_byte_table_description): New constant.
550 (uint16-byte-table): Use `uint16_byte_table_description'.
552 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
554 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
555 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
557 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
559 * mule-charset.c (Vcharset_ucs_ks): New variable.
560 (Qucs_ks): New variable.
561 (syms_of_mule_charset): Add new symbol `ucs-ks'.
562 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
564 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
566 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
568 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
569 (Fdecode_char): Likewise.
571 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
573 (Fdefine_char): Modify for Fdecode_char.
574 (Ffind_char): Likewise.
576 * mule-charset.c (Fdecode_char): Add new optional argument
578 (Fdecode_builtin_char): Modify for `Fdecode_char'.
580 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
582 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
583 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
584 (allocate_coding_system): Initialize initial-charsets of
585 CODESYS_BIG5 in XEmacs UTF-2000.
586 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
587 CODESYS_BIG5 in XEmacs UTF-2000.
588 (decode_coding_big5): Use initial-charset-g0 and -g1 of
589 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
591 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
593 (Qideograph_hanziku_{1 .. 12}): Likewise.
594 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
596 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
597 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
598 `ideograph-hanziku-{1 .. 12}'.
600 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
601 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
602 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
603 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
604 (DECODE_DEFINED_CHAR): New inline function.
605 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
607 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
609 * mule-charset.c (Vcharset_china3_jef): Renamed from
610 `Vcharset_japanese_jef_china3'.
611 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
612 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
613 `{MIN|MAX}_CHAR_JEF_CHINA3'..
614 (syms_of_mule_charset): Rename `china3-jef' from
615 `japanese-jef-china3'.
616 (complex_vars_of_mule_charset): Likewise; rename
617 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
619 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
620 `LEADING_BYTE_JEF_CHINA3'.
621 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
622 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
624 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
626 * mule-charset.c (encode_builtin_char_1): Comment out special code
627 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
629 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
630 (MAX_CHAR_MOJIKYO_0): Comment out.
631 (MIN_CHAR_CBETA): Changed to 0x00E20000.
632 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
633 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
634 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
636 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
638 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
639 (Qideograph_cbeta): New variable.
640 (encode_builtin_char_1): Comment out special code for
641 coded-charset `mojikyo' and `japanese-jef-china3'.
642 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
643 (complex_vars_of_mule_charset): Add new coded-charset
646 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
647 (MIN_CHAR_CBETA): New macro.
648 (MAX_CHAR_CBETA): New macro.
650 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
652 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
653 (LEADING_BYTE_JEF_CHINA3): New macro.
654 (MIN_CHAR_JEF_CHINA3): New macro.
655 (MAX_CHAR_JEF_CHINA3): Likewise.
656 (DECODE_CHAR): Fixed.
658 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
660 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
661 (Qjapanese_jef_china3): New variable.
662 (encode_builtin_char_1): Support `japanese-jef-china3'.
663 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
664 (complex_vars_of_mule_charset): Add new coded-charset
665 `japanese-jef-china3'.
667 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
669 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
670 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
671 94^4, 96^3, 96^4, 128^n and 256^n set.
672 (put_char_table): Use `XCHARSET_CELL_RANGE'.
673 (map_char_table): Likewise.
675 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
677 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
680 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
682 * chartab.h (get_char_id_table): New inline function.
684 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
687 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
689 * chartab.h (decode_char_table_range): New prototype in XEmacs
691 (put_char_id_table): New inline function in XEmacs UTF-2000.
693 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
695 (decode_char_table_range): Delete static declaration in XEmacs
698 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
700 * chartab.c (put_char_id_table): Use `put_char_table'.
702 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
704 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
705 (map_over_uint16_byte_table): Likewise.
706 (map_over_byte_table): Likewise.
707 (map_char_table): Modify for `map_over_uint8_byte_table',
708 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
711 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
713 * chartab.c (struct map_char_table_for_charset_arg): New
715 (map_char_table_for_charset_fun): New function.
716 (map_char_table): Use `map_char_table' for encoding_table of
719 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
721 * chartab.c (map_char_table): Check a character is found in
722 range->charset instead of non default value is defined in
723 char-table when range is CHARTAB_RANGE_ROW.
725 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
727 * chartab.c (map_char_id_table): Deleted.
728 (Fmap_char_attribute): Use `map_char_table' instead of
731 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
733 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
735 (update_syntax_table): Deleted in XEmacs UTF-2000.
737 * syntax.c (find_defun_start): Use `syntax_table' instead of
738 `mirror_syntax_table' in XEmacs UTF-2000.
739 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
741 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
743 (Fmatching_paren): Likewise.
744 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
746 (find_start_of_comment): Likewise.
747 (find_end_of_comment): Likewise.
748 (Fforward_comment): Likewise.
749 (scan_lists): Likewise.
750 (char_quoted): Likewise.
751 (Fbackward_prefix_chars): Likewise.
752 (scan_sexps_forward): Likewise.
753 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
754 (update_syntax_table): Likewise.
756 * search.c (skip_chars): Use `syntax_table' instead of
757 `mirror_syntax_table' in XEmacs UTF-2000.
759 (Freplace_match): Likewise.
761 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
762 `mirror_syntax_table' in XEmacs UTF-2000.
763 (WORDCHAR_P_UNSAFE): Likewise.
764 (re_match_2_internal): Likewise.
766 * font-lock.c (find_context): Use `buf->syntax_table' instead of
767 `buf->mirror_syntax_table' in XEmacs UTF-2000.
769 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
770 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
772 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
775 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
777 (print_char_table): Print `default_value' in XEmacs UTF-2000.
778 (char_table_description): Delete `mirror_table' in XEmacs
780 (fill_char_table): Don't call `update_syntax_table' in XEmacs
782 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
783 (Fcopy_char_table): Likewise.
784 (put_char_table): Don't call `update_syntax_table' in XEmacs
787 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
788 `buf->mirror_syntax_table' in XEmacs UTF-2000.
789 (casify_region_internal): Likewise.
791 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
793 * buffer.c (common_init_complex_vars_of_buffer): Don't use
794 `mirror_syntax_table' in XEmacs UTF-2000.
796 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
797 `buf->mirror_syntax_table' in XEmacs UTF-2000.
798 (Fexpand_abbrev): Likewise.
800 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
802 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
804 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
806 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
807 (map_over_uint16_byte_table): Likewise.
808 (map_over_byte_table): Likewise.
809 (get_char_id_table): Refer `cit->default_value'.
810 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
811 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
812 of character-id ranges.
813 (mark_char_table): Mark `ct->default_value'.
814 (char_table_description): Add `default_value'.
815 (fill_char_table): Use `default_value'.
816 (decode_char_table_range): Decode `nil' as
817 `CHARTAB_RANGE_DEFAULT'.
818 (get_char_id_table): Refer `cit->default_value'.
819 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
820 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
821 temporary hack; check value of char-table is bound or not.
822 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
824 * chartab.h (struct Lisp_Char_Table): Add new member
825 `default_value' in XEmacs UTF-2000.
826 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
827 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
830 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
832 * chartab.h (Lisp_Char_ID_Table): Deleted.
834 * chartab.c (char_table_description): Fix typo.
835 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
836 `Lisp_Char_ID_Table'.
838 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
840 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
843 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
846 * chartab.h (XCHAR_ID_TABLE): Deleted.
847 (XSETCHAR_ID_TABLE): Deleted.
848 (CHAR_ID_TABLE_P): Deleted.
850 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
852 (Fget_composite_char): Likewise.
853 (put_char_table): Likewise.
854 (add_char_attribute_alist_mapper): Fixed.
855 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
857 (Fget_char_attribute): Likewise.
858 (Fget_char_attribute): Likewise.
859 (Fmap_char_attribute): Likewise.
861 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
863 (encode_char_1): Likewise.
865 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
867 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
870 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
871 instead of `XCHAR_ID_TABLE'.
872 (remove_char_ccs): Likewise.
874 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
876 (Fget_composite_char): Likewise.
877 (Fchar_variants): Likewise.
878 (put_char_table): Likewise.
879 (add_char_attribute_alist_mapper): Likewise.
880 (Fchar_attribute_alist): Likewise.
881 (Fget_char_attribute): Likewise.
882 (Fput_char_attribute): Likewise.
883 (Fmap_char_attribute): Likewise.
884 (Fmap_char_attribute): Likewise.
886 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
888 (encode_char_1): Likewise.
890 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
892 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
893 `Lisp_Char_ID_Table'.
894 (mark_char_id_table): Deleted.
895 (print_char_id_table): Likewise.
896 (char_id_table_equal): Likewise.
897 (char_id_table_hash): Likewise.
898 (char_id_table_description): Likewise.
899 (char_id_table): Likewise.
900 (make_char_id_table): Use `Fmake_char_table' and
902 (get_char_id_table): Use `Lisp_Char_Table' instead of
903 `Lisp_Char_ID_Table'.
904 (put_char_id_table): Likewise.
905 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
907 (Fremove_char_attribute): Likewise.
908 (syms_of_chartab): Don't define type `char-id-table'.
910 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
911 (char_id_table): Likewise.
912 (GC_CHAR_ID_TABLE_P): Likewise.
913 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
914 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
915 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
916 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
917 (get_char_id_table): Use `Lisp_Char_Table' instead of
918 `Lisp_Char_ID_Table'.
919 (put_char_id_table_0): Likewise.
920 (put_char_id_table): Likewise.
922 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
924 * chartab.h: Lisp_Byte_Table related codes are moved from
927 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
929 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
931 * chartab.h: Don't include "chartab.h".
932 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
933 (Lisp_Char_ID_Table): Likewise.
934 (char_id_table): Likewise.
935 (XCHAR_ID_TABLE): Likewise.
936 (XSETCHAR_ID_TABLE): Likewise.
937 (CHAR_ID_TABLE_P): Likewise.
938 (GC_CHAR_ID_TABLE_P): Likewise.
939 (get_char_id_table): Likewise.
941 * char-ucs.h: Include "chartab.h".
942 (struct Lisp_Char_ID_Table): Moved to chartab.h.
943 (Lisp_Char_ID_Table): Likewise.
944 (char_id_table): Likewise.
945 (XCHAR_ID_TABLE): Likewise.
946 (XSETCHAR_ID_TABLE): Likewise.
947 (CHAR_ID_TABLE_P): Likewise.
948 (GC_CHAR_ID_TABLE_P): Likewise.
949 (get_char_id_table): Likewise.
951 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
953 * chartab.c (copy_uint8_byte_table): New function.
954 (copy_uint16_byte_table): New function.
955 (copy_byte_table): New function.
956 (map_over_uint8_byte_table): Modify to avoid huge numbers of
958 (map_over_uint16_byte_table): Likewise.
959 (map_over_byte_table): Likewise.
960 (get_byte_table): Move prototype to chartab.h.
961 (put_byte_table): Likewise.
962 (put_char_id_table_0): Moved to chartab.h.
963 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
964 (char_table_entry_equal): Likewise.
965 (char_table_entry_hash): Likewise.
966 (char_table_entry_description): Likewise.
967 (char_table_entry): Likewise.
968 (make_char_table_entry): Likewise.
969 (copy_char_table_entry): Likewise.
970 (get_non_ascii_char_table_value): Likewise.
971 (map_over_charset_ascii): Likewise.
972 (map_over_charset_control_1): Likewise.
973 (map_over_charset_row): Likewise.
974 (map_over_other_charset): Likewise.
975 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
976 (print_char_table): Likewise.
977 (char_table_equal): Likewise.
978 (char_table_hash): Likewise.
979 (char_table_description): Likewise.
980 (fill_char_table): Likewise.
981 (Fcopy_char_table): Likewise.
982 (get_char_table): Likewise.
983 (Fget_range_char_table): Likewise.
984 (put_char_table): Likewise.
985 (map_char_table): Likewise.
986 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
989 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
991 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
992 `Vauto_fill_chars' in XEmacs UTF-2000.
994 * chartab.h (get_byte_table): New prototype [moved from
996 (put_byte_table): Likewise [moved from chartab.c].
997 (put_char_id_table_0): New inline function [moved from chartab.c].
998 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
999 (Lisp_Char_Table_Entry): Likewise.
1000 (char_table_entry): Likewise.
1001 (XCHAR_TABLE_ENTRY): Likewise.
1002 (XSETCHAR_TABLE_ENTRY): Likewise.
1003 (CHAR_TABLE_ENTRYP): Likewise.
1004 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1005 (NUM_ASCII_CHARS): Likewise.
1006 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1007 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1009 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1011 * chartab.c (get_char_id_table): Change interface.
1012 (put_char_id_table_0): New function.
1013 (put_char_id_table): Change interface; new implementation.
1014 (Fget_composite_char): Modify for interface change of
1015 `get_char_id_table'.
1016 (Fchar_variants): Likewise.
1017 (add_char_attribute_alist_mapper): Likewise.
1018 (Fchar_attribute_alist): Likewise.
1019 (Fget_char_attribute): Likewise.
1020 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1021 as same as character as the first argument like `put-char-table';
1022 modify for interface change of `put_char_id_table'.
1023 (Fremove_char_attribute): Modify for interface change of
1024 `put_char_id_table'.
1026 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1028 * text-coding.c: Sync up with XEmacs 21.2.41.
1029 (COMPOSE_ADD_CHAR): Modify for interface change of
1030 `get_char_id_table'.
1032 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1033 change of `put_char_id_table'.
1034 (remove_char_ccs): Likewise.
1036 * chartab.h (put_char_id_table): Change interface.
1038 * char-ucs.h (get_char_id_table): Change interface.
1039 (charset_code_point): Modify for interface change of
1040 `get_char_id_table'.
1041 (encode_char_1): Likewise.
1043 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1045 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1047 (map_over_uint16_byte_table): Likewise.
1048 (map_over_byte_table): Likewise.
1049 (map_char_id_table): Add new argument `range' like
1051 (Fmap_char_attribute): Add new argument `range' like
1054 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1056 * chartab.c (map_over_uint8_byte_table): Change interface of
1057 mapping function to use struct chartab_range instead of Emchar.
1058 (map_over_uint16_byte_table): Likewise.
1059 (map_over_byte_table): Likewise.
1060 (map_char_id_table): Likewise.
1061 (struct slow_map_char_id_table_arg): Deleted.
1062 (slow_map_char_id_table_fun): Deleted.
1063 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1064 function `slow_map_char_table_fun' instead of struct
1065 `slow_map_char_id_table_arg' and function
1066 `slow_map_char_id_table_fun'.
1068 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1070 * mule-charset.c: Move char-it-table related codes to chartab.c.
1071 (Vutf_2000_version): Moved to chartab.c.
1072 (Fdefine_char): Likewise.
1073 (Ffind_char): Likewise.
1074 (syms_of_mule_charset): Move types `uint8-byte-table',
1075 `uint16-byte-table', `byte-table' and `char-id-table' to
1076 chartab.c; move functions `char_attribute_list,
1077 `find_char_attribute_table, `char_attribute_alist,
1078 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1079 `map_char_attribute, `define_char, `find_char, `char_variants and
1080 `get_composite_char to chartab.c; move symbols `=>ucs',
1081 `->decomposition', `compat', `isolated', `initial', `medial',
1082 `final', `vertical', `noBreak', `fraction', `super', `sub',
1083 `circle', `square', `wide', `narrow', `small' and `font' to
1085 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1086 setting codes for `Vcharacter_composition_table' and
1087 `Vcharacter_variant_table' to chartab.c.
1088 (complex_vars_of_mule_charset): Move setting code for
1089 `Vchar_attribute_hash_table' to chartab.c.
1091 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1092 (make_char_id_table): New prototype.
1093 (put_char_id_table): Likewise.
1094 (Fget_char_attribute): Likewise.
1096 * chartab.c: Move char-id-table related code from mule-charset.c.
1097 (Vutf_2000_version): Moved from mule-charset.c.
1099 * char-ucs.h (Qucs): New external variable.
1100 (put_char_ccs_code_point): New prototype.
1101 (remove_char_ccs): Likewise.
1103 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1105 * mule-charset.c (Vcharset_ucs_jis): New variable.
1106 (Qucs_jis): Likewise.
1107 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1108 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1110 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1112 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1114 * mule-charset.c (map_over_uint8_byte_table): New function.
1115 (map_over_uint16_byte_table): Likewise.
1116 (map_over_byte_table): Likewise.
1117 (map_char_id_table): Likewise.
1118 (slow_map_char_id_table_fun): Likewise.
1119 (Fmap_char_attribute): Likewise.
1120 (syms_of_mule_charset): Add new function `map-char-attribute'.
1122 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1124 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1125 (syms_of_mule_charset): Add new function `find-char'.
1127 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1129 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1131 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1132 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1134 (complex_vars_of_mule_charset): Add new coded-charset
1135 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1136 `ideograph-gt-pj-*'.
1138 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1140 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1142 * mule-charset.c (encode_builtin_char_1): Purge codes about
1143 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1144 {MIN|MAX}_CHAR_HEBREW.
1145 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1146 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1148 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1149 (MAX_CHAR_GREEK): Purged.
1150 (MIN_CHAR_CYRILLIC): Purged.
1151 (MAX_CHAR_CYRILLIC): Purged.
1152 (MIN_CHAR_HEBREW): Commented out.
1153 (MAX_CHAR_HEBREW): Likewise.
1155 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1157 * mule-charset.c (Qto_ucs): New variable.
1158 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1159 (Fdefine_char): Likewise.
1160 (syms_of_mule_charset): Add new symbol `=>ucs'.
1162 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1164 * mule-charset.c (Fdecode_char): Fixed.
1166 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1168 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1169 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1172 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1174 * mule-charset.c (Vcharset_ucs_big5): New variable.
1175 (Qucs_big5): Likewise.
1176 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1177 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1179 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1181 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1183 * mule-charset.c (decode_builtin_char): Check Big5 code range
1184 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1186 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1188 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1189 (Qchinese_gb12345): Likewise.
1190 (Fdecode_builtin_char): Fixed.
1191 (syms_of_mule_charset): Add `chinese-gb12345'.
1192 (complex_vars_of_mule_charset): Add coded-charset
1195 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1196 (LEADING_BYTE_CHINESE_GB12345): New macro.
1198 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1200 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1201 and `latin-viscii-upper' for `latin-viscii'.
1203 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1205 * mule-charset.c (Fdecode_builtin_char): Comment out
1206 regularization code for ISO-IR GR representation.
1208 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1210 * mule-charset.c (decode_builtin_char): New function; renamed from
1211 `make_builtin_char'; return -1 instead of signal.
1212 (Fdecode_builtin_char): Use `decode_builtin_char'.
1214 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1215 `make_builtin_char'.
1216 (DECODE_CHAR): Use `decode_builtin_char' instead of
1217 `make_builtin_char'; use mapping table of `chinese-big5' for
1218 `chinese-big5-{1,2}'.
1220 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1222 * text-coding.c (char_encode_big5): New function.
1223 (char_finish_big5): Likewise.
1224 (reset_encoding_stream): Use `char_encode_big5' and
1225 `char_finish_big5' for CODESYS_BIG5.
1226 (mule_encode): Don't use `encode_coding_big5'.
1227 (encode_coding_big5): Deleted.
1229 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1231 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1232 0x81- in XEmacs UTF-2000.
1233 (detect_coding_big5): Likewise.
1235 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1237 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1238 generate character-id if the CCS property does not have
1239 corresponding predefined character.
1240 (make_builtin_char): Return -1 if corresponding predefined
1241 character is not found.
1242 (Fdecode_char): Return nil if corresponding character is not
1244 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1245 don't map to builtin ucs space.
1247 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1249 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1250 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1252 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1254 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1255 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1256 (Qideograph_gt): Likewise.
1257 (Qideograph_gt_pj_{1..11}): Likewise.
1258 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1259 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1260 `ideograph-gt-pj-11'.
1261 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1262 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1263 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1265 * char-ucs.h (LEADING_BYTE_GT): New macro.
1266 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1267 (MIN_CHAR_GT): Likewise.
1268 (MAX_CHAR_GT): Likewise.
1270 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1272 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1273 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1275 * doprnt.c (unsigned_int_converters): Add `c'.
1276 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1278 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1279 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1281 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1282 (MAX_CHAR_MOJIKYO_0): New macro.
1283 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1285 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1287 * mule-charset.c (Fdefine_char): Delete cemented out code.
1288 (encode_builtin_char_1): Modify for new allocation of builtin
1291 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1293 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1295 * mule-charset.c (Vcharset_ucs_cns): New variable.
1296 (Qucs_cns): New variable.
1297 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1298 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1300 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1302 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1304 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1306 * search.c (search_buffer): Make `charset_base_code' as
1307 character-id >> 6 to eliminate the corresponding last byte in
1308 UTF-8 representation [I'm not sure it is right thing].
1309 (boyer_moore): Likewise.
1311 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1313 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1314 representation in MULE.
1316 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1318 * text-coding.c (Fmake_coding_system): Use
1319 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1320 `EXTERNAL_PROPERTY_LIST_LOOP'.
1322 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1324 * text-coding.c (decode_output_utf8_partial_char): New function.
1325 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1327 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1329 * text-coding.c (decode_coding_utf8): Output original byte
1330 sequence if it is broken; change order of conditions.
1332 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1335 * mb-multibyte.h (BYTE_ASCII_P):
1336 Use bit ops for char-signedness safety.
1337 (BYTE_C0_P): Use bit ops for char-signedness safety.
1338 (BYTE_C1_P): Use bit ops for char-signedness safety.
1340 * character.h: (XCHAR_OR_CHAR_INT):
1341 Always use inline function.
1342 Remove redundant type checking assert() - XINT will abort quite
1345 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1347 * text-coding.c: (Fencode_shift_jis_char):
1348 (Fencode_big5_char):
1349 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1350 Replace 0 with '\0' when working with bytes.
1351 Replace initial "(" with "\(" in docstrings.
1353 (Fmake_coding_system):
1354 When type is ccl and value is vector, register it with a proper
1355 symbol. And checks whether the given ccl program is valid.
1356 (mule_decode): When calling ccl_driver, if src indicates
1357 NULL pointer, set an empty string instead.
1358 (mule_encode): Likewise.
1361 (detect_coding_sjis):
1362 (decode_coding_sjis):
1363 (detect_coding_big5):
1364 (decode_coding_big5):
1365 (detect_coding_ucs4):
1366 (decode_coding_ucs4):
1367 (detect_coding_utf8):
1368 (decode_coding_utf8):
1369 (detect_coding_iso2022):
1370 (decode_coding_iso2022):
1371 (decode_coding_no_conversion):
1373 Make all detecting and decoding functions take an Extbyte * arg.
1374 (text_encode_generic):
1375 (encode_coding_big5):
1376 (encode_coding_no_conversion):
1378 Make all encoding functions take a Bufbyte * arg.
1379 Use size_t instead of unsigned int for memory sizes.
1380 Only cast to unsigned char whenever dereferencing Extbyte *.
1382 (struct lrecord_description fcd_description_1): Use countof.
1383 (complex_vars_of_file_coding):
1384 Use countof instead of sizeof.
1385 Use CHECK_NATNUM instead of CHECK_INT.
1387 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1389 * mule-charset.c (Fget_char_attribute): Add new optional argument
1391 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1392 (remove_char_ccs): Likewise.
1394 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1396 * text-coding.c (char_encode_shift_jis): New implementation in
1398 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1401 * mule-charset.c (Vcharset_chinese_big5): New variable in
1403 (Qchinese_big5): New variable in UTF-2000.
1404 (BIG5_SAME_ROW): New macro in UTF-2000.
1405 (make_builtin_char): Use builtin characters of
1406 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1407 characters of `Vcharset_chinese_big5'.
1408 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1409 (complex_vars_of_mule_charset): Add new coded-charset
1410 `chinese-big5' in UTF-2000.
1412 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1413 (Vcharset_chinese_big5): New external variable declaration.
1414 (Vcharset_japanese_jisx0208_1990): Likewise.
1416 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1418 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1420 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1422 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1424 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1425 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1426 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1429 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1431 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1433 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1435 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1438 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1440 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1441 for `CHARSET_BY_ATTRIBUTES'.
1442 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1443 `CHARSET_BY_ATTRIBUTES'.
1445 * text-coding.c (struct decoding_stream): Rename member `CH' to
1447 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1448 (decode_coding_sjis): Likewise.
1449 (decode_coding_big5): Likewise.
1450 (decode_coding_ucs4): Likewise.
1451 (decode_coding_utf8): Likewise.
1452 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1453 `CHARSET_BY_ATTRIBUTES'.
1454 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1455 `str->counter'; decode 3, 4 bytes sets.
1456 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1458 (decode_coding_no_conversion): Use `str->cpos' instead of
1461 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1462 (Qmojikyo_2022_1): New variable.
1463 (make_charset): Don't use `CHARSET_TYPE_*'.
1464 (range_charset_code_point): Support coded-charset
1466 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1467 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1468 `CHARSET_BY_ATTRIBUTES'.
1469 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1470 `CHARSET_BY_ATTRIBUTES'.
1471 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1472 (complex_vars_of_mule_charset): Add new coded-charset
1475 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1476 interface; changed to inline function.
1478 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1479 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1480 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1481 (CHARSET_TYPE_94): Deleted.
1482 (CHARSET_TYPE_94X94): Deleted.
1483 (CHARSET_TYPE_96): Deleted.
1484 (CHARSET_TYPE_96X96): Deleted.
1485 (CHARSET_TYPE_128): Deleted.
1486 (CHARSET_TYPE_128X128): Deleted.
1487 (CHARSET_TYPE_256): Deleted.
1488 (CHARSET_TYPE_256X256): Deleted.
1489 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1491 (DECODE_MOJIKYO_2022): New inline function.
1492 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1493 `Vcharset_mojikyo_2022_1'.
1495 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1497 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1499 (put_byte_table): Likewise.
1500 (char_id_table_equal): Use `get_byte_table' [new implementation].
1502 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1504 * mule-charset.c: Include <limits.h> in UTF-2000.
1505 (BT_UINT8_MIN): New macro in UTF-2000.
1506 (BT_UINT8_MAX): New macro in UTF-2000.
1507 (BT_UINT8_t): New macro in UTF-2000.
1508 (BT_UINT8_nil): New macro in UTF-2000.
1509 (BT_UINT8_unbound): New macro in UTF-2000.
1510 (INT_UINT8_P): New inline function in UTF-2000.
1511 (UINT8_VALUE_P): New inline function in UTF-2000.
1512 (UINT8_ENCODE): New inline function in UTF-2000.
1513 (UINT8_DECODE): New inline function in UTF-2000.
1514 (mark_uint8_byte_table): New function in UTF-2000.
1515 (print_uint8_byte_table): New function in UTF-2000.
1516 (uint8_byte_table_equal): New function in UTF-2000.
1517 (uint8_byte_table_hash): New function in UTF-2000.
1518 (make_uint8_byte_table): New function in UTF-2000.
1519 (uint8_byte_table_same_value_p): New function in UTF-2000.
1520 (BT_UINT16_MIN): New macro in UTF-2000.
1521 (BT_UINT16_MAX): New macro in UTF-2000.
1522 (BT_UINT16_t): New macro in UTF-2000.
1523 (BT_UINT16_nil): New macro in UTF-2000.
1524 (BT_UINT16_unbound): New macro in UTF-2000.
1525 (INT_UINT16_P): New inline function in UTF-2000.
1526 (UINT16_VALUE_P): New inline function in UTF-2000.
1527 (UINT16_ENCODE): New inline function in UTF-2000.
1528 (UINT16_DECODE): New inline function in UTF-2000.
1529 (UINT8_TO_UINT16): New inline function in UTF-2000.
1530 (mark_uint16_byte_table): New function in UTF-2000.
1531 (print_uint16_byte_table): New function in UTF-2000.
1532 (uint16_byte_table_equal): New function in UTF-2000.
1533 (uint16_byte_table_hash): New function in UTF-2000.
1534 (make_uint16_byte_table): New function in UTF-2000.
1535 (uint16_byte_table_same_value_p): New function in UTF-2000.
1536 (print_byte_table): New function in UTF-2000.
1537 (byte-table): Use `print_byte_table' as printer.
1538 (make_byte_table): Delete second argument `older'.
1539 (byte_table_same_value_p): New function in UTF-2000.
1540 (copy_byte_table): Deleted.
1541 (get_byte_table): New function in UTF-2000.
1542 (put_byte_table): New function in UTF-2000.
1543 (print_char_id_table): New function in UTF-2000.
1544 (char-id-table): Use `print_char_id_table' as printer.
1545 (make_char_id_table): Delete second argument `older'.
1546 (get_char_id_table): Use `get_byte_table [new implementation].
1547 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1549 (Ffind_char_attribute_table): New function in UTF-2000.
1550 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1551 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1552 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1553 (syms_of_mule_charset): Add new function
1554 `find-char-attribute-table' in UTF-2000.
1556 * lrecord.h (enum lrecord_type): Add
1557 `lrecord_type_uint16_byte_table' and
1558 `lrecord_type_uint8_byte_table'.
1560 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1561 (Lisp_Uint8_Byte_Table): New type.
1562 (XUINT8_BYTE_TABLE): New macro.
1563 (XSETUINT8_BYTE_TABLE): New macro.
1564 (UINT8_BYTE_TABLE_P): New macro.
1565 (GC_UINT8_BYTE_TABLE_P): New macro.
1566 (struct Lisp_Uint16_Byte_Table): New structure.
1567 (Lisp_Uint16_Byte_Table): New type.
1568 (XUINT16_BYTE_TABLE): New macro.
1569 (XSETUINT16_BYTE_TABLE): New macro.
1570 (UINT16_BYTE_TABLE_P): New macro.
1571 (GC_UINT16_BYTE_TABLE_P): New macro.
1573 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1575 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1576 (Vcharacter_ideographic_strokes_table): Deleted.
1577 (Vcharacter_total_strokes_table): Deleted.
1578 (Vcharacter_morohashi_daikanwa_table): Deleted.
1579 (Vcharacter_decomposition_table): Deleted.
1580 (Qname): Deleted because it is duplicated.
1581 (Qideographic_radical): Deleted.
1582 (Qideographic_strokes): Deleted.
1583 (Qtotal_strokes): Deleted.
1584 (Qmorohashi_daikanwa): Deleted.
1585 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1586 `ideographic-radical', `ideographic-strokes', `total-strokes',
1587 `morohashi-daikanwa' and `->decomposition'.
1588 (Fget_char_attribute): Likewise.
1589 (Fput_char_attribute): Likewise; use `make-vector' instead of
1590 `make_older_vector' for `->decomposition' value.
1591 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1592 `ideograph-daikanwa'.
1593 (syms_of_mule_charset): Delete builtin symbols `name',
1594 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1595 `morohashi-daikanwa'.
1596 (vars_of_mule_charset): Don't setup
1597 `Vcharacter_ideographic_radical_table',
1598 `Vcharacter_ideographic_strokes_table',
1599 `Vcharacter_total_strokes_table',
1600 `Vcharacter_morohashi_daikanwa_table' and
1601 `Vcharacter_decomposition_table'.
1603 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1605 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1606 `make_older_vector', `make_vector_newer_1' and
1607 `make_vector_newer'.
1609 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1610 `make_older_vector' and `make_vector_newer'.
1612 * config.h.in (HAVE_GGC): New macro.
1614 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1616 * mule-charset.c (struct char_attribute_list_closure): New
1617 structure in UTF-2000.
1618 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1619 (Fchar_attribute_list): Likewise.
1620 (Fset_charset_mapping_table): Use `make_vector_newer'.
1621 (Fdecode_builtin_char): New function in UTF-2000.
1622 (syms_of_mule_charset): Add new function `char-attribute-list' and
1623 `decode-builtin-char' in UTF-2000.
1625 * lisp.h (make_vector_newer): New prototype.
1627 * alloc.c (make_vector_newer_1): New function.
1628 (make_vector_newer): New function.
1630 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1632 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1635 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1637 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1638 (Vcharacter_attribute_table): Deleted.
1639 (Vcharacter_name_table): Deleted.
1640 (put_char_attribute): Deleted.
1641 (remove_char_attribute): Deleted.
1642 (struct char_attribute_alist_closure): New structure.
1643 (add_char_attribute_alist_mapper): New function.
1644 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1645 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1646 (Fget_char_attribute): Likewise.
1647 (Fput_char_attribute): Likewise.
1648 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1649 of `remove_char_attribute'.
1650 (Fdefine_char): Return character.
1651 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1652 and `Vcharacter_name_table'.
1653 (complex_vars_of_mule_charset): Likewise
1654 `Vchar_attribute_hash_table'.
1656 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1658 * character.h (CHARC_CHARSET): New macro.
1659 (CHARC_CHARSET_ID): New macro.
1660 (CHARC_CODE_POINT): New macro.
1661 (CHARC_COLUMNS): New macro.
1662 (CHARC_TO_CHAR): New inline function.
1663 (CHARC_EQ): New inline function.
1664 (CHARC_ASCII_EQ): New inline function.
1665 (CHARC_IS_SPACE): New inline function.
1666 (ASCII_TO_CHARC): New inline function.
1668 * char-ucs.h (encode_char_2): Deleted.
1669 (ENCODE_CHAR): Use `encode_char_1' again.
1670 (breakup_char_1): Likewise.
1671 (CHAR_TO_CHARC): New inline function.
1673 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1675 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1677 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1678 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1679 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1680 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1681 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1683 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1685 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1687 (x_output_display_block): Use `CHARC_CHARSET' and
1690 * redisplay-tty.c (tty_output_display_block): Use
1692 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1694 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1696 * insdel.c (find_charsets_in_charc_string): Use
1698 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1699 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1700 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1701 (convert_charc_string_into_malloced_string): Likewise.
1703 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1705 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1706 instead of <Emchar_dynarr *> for buf; use
1707 `convert_bufbyte_string_into_charc_dynarr' instead of
1708 `convert_bufbyte_string_into_emchar_dynarr'; use
1709 `find_charsets_in_charc_string' instead of
1710 `find_charsets_in_emchar_string'.
1713 - Include "character.h".
1714 (struct rune): New member `cglyph'; delete member `chr'.
1716 * redisplay.c (redisplay_text_width_charc_string): New function;
1717 delete `redisplay_text_width_emchar_string'.
1718 (rtw_charc_dynarr): New variable; renamed from
1719 `rtw_emchar_dynarr'.
1720 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
1721 `rtw_emchar_dynarr'; use
1722 `convert_bufbyte_string_into_charc_dynarr' instead of
1723 `convert_bufbyte_string_into_emchar_dynarr'; use
1724 `redisplay_text_width_charc_string' instead of
1725 `redisplay_text_width_emchar_string'.
1726 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1727 instead of `rtw_emchar_dynarr'; use
1728 `convert_bufbyte_string_into_charc_dynarr' instead of
1729 `convert_bufbyte_string_into_emchar_dynarr'.
1730 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1731 `redisplay_text_width_charc_string' instead of
1732 `redisplay_text_width_emchar_string'.
1733 (create_text_block): Modify for <struct rune> change.
1734 (generate_formatted_string_db): Likewise.
1735 (create_string_text_block): Likewise.
1736 (pixel_to_glyph_translation): Likewise.
1738 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
1739 instead of <const Emchar *>.
1740 (x_text_width): Likewise.
1741 (x_output_display_block): Use <Charc_dynarr *> instead
1742 <Emchar_dynarr *>; modify for <structure rune> change.
1743 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
1746 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
1747 <const Emchar *>; use `charc_string_displayed_columns' instead of
1748 `emchar_string_displayed_columns'.
1749 (tty_output_display_block): Use <Charc_dynarr *> instead of
1750 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
1751 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
1752 (tty_output_charc_dynarr_dynarr): New variable; renamed from
1753 `tty_output_emchar_dynarr_dynarr'.
1754 (tty_output_charc_dynarr): New function; delete
1755 `tty_output_charc_dynarr'.
1757 * redisplay-output.c (compare_runes): Modify for `struct rune'.
1758 (redisplay_output_layout): Use <Charc_dynarr *> instead of
1759 <Emchar_dynarr *> for buf; use
1760 `convert_bufbyte_string_into_charc_dynarr' instead of
1761 `convert_bufbyte_string_into_emchar_dynarr'.
1763 * frame.c (title_string_charc_dynarr): New variable; renamed from
1764 `title_string_emchar_dynarr'.
1765 (generate_title_string): Use `title_string_charc_dynarr' instead
1766 of `title_string_emchar_dynarr'; use
1767 `convert_charc_string_into_malloced_string' instead of
1768 `convert_emchar_string_into_malloced_string'.
1769 (init_frame): Use `title_string_charc_dynarr' instead of
1770 `title_string_emchar_dynarr'.
1773 - Include "character.h".
1774 (struct console_methods): Use <const Charc *> instead of <const
1775 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
1776 <Emchar_dynarr *> in output_string_method.
1778 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
1781 * console-stream.c (stream_text_width): Use <const Charc *>
1782 instead of <const Emchar *>.
1784 * character.h (Charc_dynarr): New type.
1786 * char-ucs.h (structure Charc): New structure; define new type
1789 * char-lb.h (DECODE_CHAR): New inline function.
1790 (encode_char_1): New inline function.
1791 (ENCODE_CHAR): New macro.
1792 (structure Charc): New structure; define new type `Charc'.
1794 * char-1byte.h (Vcharset_control_1): New macro.
1795 (Vcharset_latin_iso8859_1): New macro.
1796 (DECODE_CHAR): New inline function.
1797 (encode_char_1): New inline function.
1798 (ENCODE_CHAR): New macro.
1799 (structure Charc): New structure; define new type `Charc'.
1801 * insdel.c (find_charsets_in_charc_string): New function; delete
1802 `find_charsets_in_emchar_string'.
1803 (charc_string_displayed_columns): New function; delete
1804 `emchar_string_displayed_columns'.
1805 (convert_bufbyte_string_into_charc_dynarr): New function; delete
1806 `convert_bufbyte_string_into_emchar_dynarr'.
1807 (convert_charc_string_into_bufbyte_dynarr): New function; delete
1808 `convert_charc_string_into_bufbyte_dynarr'.
1809 (convert_charc_string_into_malloced_string): New function; delete
1810 `convert_charc_string_into_malloced_string'.
1812 * buffer.h (find_charsets_in_charc_string): New prototype; delete
1813 `find_charsets_in_emchar_string'.
1814 (charc_string_displayed_columns): New prototype; delete
1815 `emchar_string_displayed_columns'.
1816 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
1817 `convert_charc_string_into_bufbyte_dynarr'.
1818 (convert_charc_string_into_malloced_string): New prototype; delete
1819 `convert_charc_string_into_malloced_string'.
1821 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1823 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
1825 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1827 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
1829 * char-ucs.h: Use <short> for <Charset_ID>.
1831 * mule-charset.h, char-1byte.h: Use <unsigned char> for
1834 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1836 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1839 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1841 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
1843 (Qmorohashi_daikanwa): New variable.
1844 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
1845 for `morohashi-daikanwa' attribute.
1846 (Fget_char_attribute): Likewise.
1847 (Fput_char_attribute): Likewise.
1848 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
1849 has the same value of `ideograph-daikanwa'.
1850 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
1851 (vars_of_mule_charset): Setup
1852 `Vcharacter_morohashi_daikanwa_table'.
1854 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1856 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
1858 (add_charset_to_list_mapper): Add `key' instead of
1859 `XCHARSET_NAME (value)' to return aliases.
1861 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1863 * mule-charset.c (Vcharacter_ideographic_radical_table): New
1865 (Vcharacter_ideographic_strokes_table): New variable.
1866 (Qideographic_radical): New variable.
1867 (Qideographic_strokes): New variable.
1868 (Fchar_attribute_alist): Use
1869 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
1870 attribute; use `Vcharacter_ideographic_strokes_table' for
1871 `ideographic-strokes' attribute.
1872 (Fget_char_attribute): Likewise.
1873 (Fput_char_attribute): Likewise.
1874 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
1875 `ideographic-strokes'.
1876 (vars_of_mule_charset): Setup
1877 `Vcharacter_ideographic_radical_table' and
1878 `Vcharacter_ideographic_strokes_table'.
1880 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1882 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
1883 (Qtotal_strokes): New variable.
1884 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
1885 `total-strokes' attribute.
1886 (Fget_char_attribute): Likewise.
1887 (Fput_char_attribute): Likewise.
1888 (syms_of_mule_charset): Add new symbol `total-strokes'.
1889 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
1891 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1893 * mule-charset.c (Vcharacter_decomposition_table): New variable.
1894 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
1896 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
1897 `->decomposition' attribute.
1898 (Fput_char_attribute): Likewise.
1899 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
1901 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1903 * mule-charset.c (decoding_table_check_elements): New function.
1904 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
1906 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1908 * mule-charset.c (Fset_charset_mapping_table): Use
1909 `put_char_ccs_code_point'.
1911 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1913 * mule-charset.c (decoding_table_put_char): New inline function.
1914 (put_char_ccs_code_point): Use `decoding_table_put_char'.
1916 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1918 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
1919 (XCHARSET_BYTE_SIZE): New macro.
1920 (decoding_table_remove_char): New inline function.
1921 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
1922 `decoding_table_remove_char'.
1923 (remove_char_ccs): Use `decoding_table_remove_char'.
1924 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
1926 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1928 * mule-charset.c (Vcharacter_name_table): New variable.
1929 (Qname): New variable.
1930 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
1932 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
1933 `Vcharacter_name_table' for `name' attribute.
1934 (Fremove_char_attribute): Use function `remove_char_ccs'.
1935 (put_char_ccs_code_point): New function.
1936 (remove_char_ccs): New function.
1937 (syms_of_mule_charset): Add new symbol `name'.
1938 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
1940 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1942 * mule-charset.c (make_byte_table): Add new argument `older'.
1943 (make_char_id_table): Likewise.
1944 (copy_char_id_table): Comment out because it is not used.
1945 (put_char_id_table): Modify for `make_byte_table'.
1946 (Fput_char_attribute): Make encoding_table as older object;
1947 inherit older bit of `Vcharacter_composition_table'.
1948 (mark_charset): Don't mark `cs->encoding_table'.
1949 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
1950 normal object; make `Vcharacter_composition_table' as an older
1951 object; delete staticpro for `Vcharacter_composition_table'; make
1952 `Vcharacter_variant_table' as a normal object.
1954 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
1955 (mark_object): Don't check older object in UTF-2000.
1957 * lrecord.h (struct lrecord_header): Add new member `older' in
1959 (set_lheader_implementation): Setup `SLI_header->older' in
1961 (set_lheader_older_implementation): New macro in UTF-2000.
1962 (OLDER_RECORD_P): New macro in UTF-2000.
1963 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
1964 (alloc_older_lcrecord): New prototype in UTF-2000.
1965 (alloc_older_lcrecord_type): New macro in UTF-2000.
1967 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1969 * mule-charset.c (byte_table_description): Use
1970 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
1971 (char_id_table_description): Delete bogus `, 1'.
1972 (Fget_char_attribute): Refer encoding_table of each coded-charset
1973 to get value of coded-charset attribute of a character.
1974 (Fput_char_attribute): Use `make_older_vector' instead of
1975 `make_vector'; use encoding_table of each coded-charset to store
1976 value of coded-charset attribute of a character.
1977 (Fremove_char_attribute): Use encoding_table of each coded-charset
1978 to store value of coded-charset attribute of a character.
1979 (mark_charset): Mark `cs->encoding_table'; don't mark
1980 `cs->decoding_table'.
1981 (charset_description): Add description of new member
1983 (make_charset): Initialize `encoding_table'.
1985 * char-ucs.h (struct Lisp_Charset): Add new member
1987 (CHARSET_ENCODING_TABLE): New macro.
1988 (XCHARSET_ENCODING_TABLE): New macro.
1989 (charset_code_point): New implementation.
1990 (encode_char_1): Likewise.
1992 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
1993 (disksave_object_finalization_1): Call finalizers of
1994 `all_older_lcrecords' in UTF-2000.
1995 (make_older_vector): New function in UTF-2000.
1996 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
1999 * lisp.h (make_older_vector): New prototype in UTF-2000.
2001 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2003 * lrecord.h (enum lrecord_type): Rename
2004 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2006 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2007 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2008 `get_char_code_table'.
2010 * mule-charset.c (mark_char_id_table): Renamed from
2011 `mark_char_code_table'.
2012 (char_id_table_equal): Renamed from `char_code_table_equal'.
2013 (char_id_table_hash): Renamed from `char_code_table_hash'.
2014 (make_char_id_table): Renamed from `make_char_code_table'.
2015 (copy_char_id_table): Renamed from `copy_char_code_table'.
2016 (get_char_id_table): Renamed from `get_char_code_table'.
2017 (put_char_id_table): Renamed from `put_char_code_table'.
2018 (to_char_id): Renamed from `to_char_code'.
2020 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2021 `Lisp_Char_Code_Table'.
2022 (char_id_table): Renamed from `char_code_table'.
2023 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2024 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2025 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2026 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2027 (get_char_id_table): Renamed from `get_char_code_table'.
2029 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2031 * lrecord.h (enum lrecord_type): Rename
2032 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2034 * mule-charset.c (mark_byte_table): Renamed from
2035 `mark_char_byte_table'.
2036 (byte_table_equal): Renamed from `char_byte_table_equal'.
2037 (byte_table_hash): Renamed from `byte_table_hash'.
2038 (make_byte_table): Renamed from `make_byte_table'.
2039 (copy_byte_table): Renamed from `copy_char_byte_table'.
2041 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2042 `Lisp_Char_Byte_Table'.
2043 (byte_table): Renamed from `char_byte_table'.
2044 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2045 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2046 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2047 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2049 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2051 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2052 (dfc_convert_to_internal_format): Likewise.
2054 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2055 * text-coding.c (Fcoding_system_alias_p): New function.
2056 * text-coding.c (Fcoding_system_aliasee): New function.
2057 * text-coding.c (append_suffix_to_symbol): New function.
2058 * text-coding.c (dangling_coding_system_alias_p): New function.
2059 * text-coding.c (Ffind_coding_system):
2060 * text-coding.c (Fcopy_coding_system):
2061 * text-coding.c (encode_coding_no_conversion):
2062 * text-coding.c (syms_of_file_coding):
2063 * text-coding.c (vars_of_file_coding):
2064 Rewrite coding system alias code.
2065 Allow nested aliases, like symbolic links.
2066 Allow redefinition of coding system aliases.
2067 Prevent existence of dangling coding system aliases.
2068 Eliminate convert_to_external_format.
2069 Eliminate convert_to_internal_format.
2071 * text-coding.c: Change enum eol_type to eol_type_t.
2073 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2075 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2076 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2078 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2079 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2081 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2083 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2084 `ideograph-daikanwa'.
2086 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2087 (Vcharset_ucs_bmp): Likewise.
2088 (Vcharset_mojikyo): Add new extern variable definition.
2089 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2090 (Vcharset_latin_iso8859_3): Likewise.
2091 (Vcharset_latin_iso8859_4): Likewise.
2092 (Vcharset_latin_iso8859_9): Likewise.
2093 (Vcharset_latin_viscii_lower): Likewise.
2094 (Vcharset_latin_viscii_upper): Likewise.
2095 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2096 `mojikyo' code-point is used to decode.
2097 (encode_char_2): New function [to convert `mojikyo' code-point to
2098 Mojikyo font encoding].
2099 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2100 (breakup_char_1): Likewise.
2101 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2103 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2105 * text-coding.c (Fmake_coding_system): Add document about
2106 `disable-composition' property.
2108 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2110 * text-coding.c (Qdisable_composition): New variable; delete
2112 (Fmake_coding_system): Add new property `disable-composite';
2113 delete property `composite'.
2114 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2115 instead of `!CODING_SYSTEM_COMPOSITE'.
2116 (syms_of_file_coding): Add new symbol `disable-composition';
2117 delete symbol `composite'.
2119 * file-coding.h (struct Lisp_Coding_System): Add
2120 `disable_composition'; delete `enable_composition'.
2121 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2122 `CODING_SYSTEM_COMPOSITE'.
2123 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2124 `XCODING_SYSTEM_COMPOSITE'.
2126 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2128 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2131 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2133 * text-coding.c (Qcomposite): New variable.
2134 (Fmake_coding_system): Add new property `composite'.
2135 (struct decoding_stream): Add `combined_char_count',
2136 `combined_chars' and `combining_table' in UTF-2000.
2137 (COMPOSE_FLUSH_CHARS): New macro.
2138 (COMPOSE_ADD_CHAR): New macro.
2139 (reset_decoding_stream): Reset `str->combined_char_count' and
2140 `str->combining_table' in UTF-2000.
2141 (decode_coding_iso2022): Modify for character-decomposition.
2142 (syms_of_file_coding): Add new symbol `composite'.
2144 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2146 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2147 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2148 of `Vcharacter_composition_table' if `->decomposition' property
2150 (Qlatin_tcvn5712): New variable.
2151 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2152 (complex_vars_of_mule_charset): Add new coded-charset
2155 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2157 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2159 * file-coding.h (struct Lisp_Coding_System): Add
2160 `enable_composition'.
2161 (CODING_SYSTEM_COMPOSITE): New macro.
2162 (XCODING_SYSTEM_COMPOSITE): New macro.
2164 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2166 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2168 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2170 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2171 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2173 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2175 * mule-charset.c (Vcharset_mojikyo): New variable.
2176 (Fdefine_char): Don't use coded-charset which does not have
2177 non-builtin character range to allocate character-id.
2178 (Qmojikyo): New variable.
2179 (syms_of_mule_charset): Add new symbol `mojikyo'.
2180 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2182 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2183 (LEADING_BYTE_MOJIKYO): New macro.
2184 (MIN_CHAR_MOJIKYO): New macro.
2185 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2186 (MAX_CHAR_MOJIKYO): New macro.
2188 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2190 * mule-charset.c (remove_char_attribute): Fixed.
2192 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2194 * mule-charset.c (remove_char_attribute): New function.
2195 (Fremove_char_attribute): New function.
2196 (encode_builtin_char_1): Comment out builtin-support for
2197 greek-iso8859-7 and cyrillic-iso8859-5.
2198 (Fdecode_char): Check `code' is an integer.
2199 (syms_of_mule_charset): Add `remove-char-attribute'.
2200 (MIN_CHAR_GREEK): Deleted.
2201 (MAX_CHAR_GREEK): Likewise.
2202 (MIN_CHAR_CYRILLIC): Likewise.
2203 (MAX_CHAR_CYRILLIC): Likewise.
2204 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2205 MAX_CHAR_GREEK for `greek-iso8859-7'.
2207 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2208 (MAX_CHAR_GREEK): Likewise.
2209 (MIN_CHAR_CYRILLIC): Likewise.
2210 (MAX_CHAR_CYRILLIC): Likewise.
2212 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2214 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2215 format is used without `ucs' property.
2216 (Fdecode_char): Fix problem with GR representation.
2217 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2218 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2220 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2222 * mule-charset.c (make_builtin_char): New function.
2223 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2224 (Fset_charset_mapping_table): Modify for new representation of
2226 (Fdecode_char): New function.
2227 (syms_of_mule_charset): Add new builtin function `decode-char' in
2230 * char-ucs.h (make_builtin_char): New prototype.
2231 (DECODE_CHAR): New inline function.
2232 (MAKE_CHAR): Use `DECODE_CHAR'.
2234 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2236 * text-coding.c (parse_charset_conversion_specs): Use
2237 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2239 (iso2022_designate): Likewise.
2241 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2242 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2244 * mule-charset.c (Vcharset_ucs): New variable.
2245 (print_charset): Change design; use `CHARSET_CHARS' and
2246 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2247 (make_charset): Change signature to specify `chars' and
2248 `dimension' instead of `type'.
2249 (range_charset_code_point): Modify for 256^n-set.
2250 (encode_builtin_char_1): Encode as `ucs' in default.
2251 (Fmake_charset): Modify for `make_charset'.
2252 (Fmake_reverse_direction_charset): Likewise.
2253 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2255 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2258 * char-ucs.h (Vcharset_ucs): New variable.
2259 (LEADING_BYTE_UCS): New macro.
2260 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2261 and `chars' to `unsigned short' from `unsigned int'.
2262 (CHARSET_TYPE): Deleted.
2263 (XCHARSET_TYPE): Deleted.
2265 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2267 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2269 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2270 (ENCODE_CHAR): New macro.
2272 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2274 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2275 to 0.14 (Kawachi-Katakami).
2277 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2279 * text-coding.c (char_encode_shift_jis): Modify for
2280 `charset_code_point'.
2281 (char_encode_iso2022): Likewise.
2283 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2284 (integer) instead of list of <Lisp_Object>s (integers) as the
2285 format of code-point of a coded-charset.
2286 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2287 (encode_builtin_char_1): New function; delete
2288 `split_builtin_char'.
2289 (charset_code_point): Return <int> instead of <Lisp_Object>.
2290 (Fsplit_char): Don't use `SPLIT_CHAR'.
2292 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2293 prototype for `split_builtin_char'.
2294 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2295 (charset_code_point): Likewise.
2296 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2297 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2299 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2301 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2302 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2304 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2306 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2308 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2309 (MAX_CHAR_OBS_94x94): Deleted.
2311 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2313 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2315 * char-ucs.h (MAX_CHAR_BMP): New macro.
2317 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2319 * text-coding.c: Sync with r21-2-24.
2321 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2323 * file-coding.c: Modify for UTF-2000.
2325 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2327 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2330 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2332 * mule-charset.c (split_builtin_char): Delete builtin support for
2333 `katakana-jisx0201'.
2334 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2335 BMP area in builtin representation.
2337 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2338 `Vcharset_katakana_jisx0201'.
2340 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2342 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2343 (Qisolated): New variable.
2344 (Qinitial): New variable.
2345 (Qmedial): New variable.
2346 (Qfinal): New variable.
2347 (Qvertical): New variable.
2348 (Qsmall): New variable.
2349 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2350 `Qvertical' and `Qsmall'.
2351 (Qmojikyo_pj_[1 .. 21]): New variable.
2352 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2353 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2354 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2357 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2359 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2360 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2361 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2363 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2365 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2366 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2368 (Qjapanese_jisx0208_1990): New variable.
2369 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2370 (complex_vars_of_mule_charset): Add new coded-charset
2371 `japanese-jisx0208-1990'.
2373 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2374 (MIN_CHAR_JIS_X0208_1990): New macro.
2375 (MAX_CHAR_JIS_X0208_1990): New macro.
2377 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2379 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2380 coded-charset is not found.
2382 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2384 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2385 (Fdefine_char): Use `Fmake_char'.
2387 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2389 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2390 (Vcharset_hiragana_jisx0208): Deleted.
2391 (Vcharset_katakana_jisx0208): Deleted.
2392 (Qideograph_daikanwa): New variable.
2393 (Qhiragana_jisx0208): Deleted.
2394 (Qkatakana_jisx0208): Deleted.
2395 (split_builtin_char): Split `ideograph-daikanwa'.
2396 (Fsplit_char): New implementation for UTF-2000.
2397 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2398 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2399 (complex_vars_of_mule_charset): Add new coded-charset
2400 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2401 `katakana-jisx0208'.
2403 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2404 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2405 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2406 (MIN_CHAR_DAIKANWA): New macro.
2407 (MAX_CHAR_DAIKANWA): New macro.
2409 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2411 * data.c (Fstring_to_number): Don't recognize floating point if
2414 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2416 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2418 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2420 * mule-charset.c (Qsquare): New variable.
2421 (to_char_code): Add `Qsquare'.
2422 (syms_of_mule_charset): Add new symbol `square'.
2424 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2426 * mule-charset.c (Qcircle): New variable.
2427 (to_char_code): Add `Qcircle'.
2428 (syms_of_mule_charset): Add new symbol `circle'.
2430 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2432 * mule-charset.c (Qfont): New variable.
2433 (to_char_code): Add `Qfont'.
2434 (syms_of_mule_charset): Add new symbol `font'.
2436 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2438 * mule-charset.c (Qsub): New variable.
2439 (to_char_code): Add `Qsub'.
2440 (syms_of_mule_charset): Add new symbol `sub'.
2442 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2444 * mule-charset.c (Fput_char_attribute): Convert each element of
2445 VALUE to GL position if ATTRIBUTE is a GR-set,
2447 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2449 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2450 coded-charset is a GR-set.
2452 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2454 * mule-charset.c (Fput_char_attribute): Check each element of
2455 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2457 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2459 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2461 (Qethiopic_ucs): New variable in UTF-2000.
2462 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2463 (complex_vars_of_mule_charset): Add new coded-charset
2464 `ethiopic-ucs' in UTF-2000.
2466 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2467 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2469 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2471 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2473 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2475 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2478 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2480 * mule-charset.c (Vcharacter_variant_table): New variable.
2481 (Q_ucs): New variable.
2482 (Fchar_variants): New function.
2483 (Fput_char_attribute): Register `->ucs' value to
2484 `Vcharacter_variant_table'.
2485 (syms_of_mule_charset): Add new function `char-variants' and new
2487 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2489 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2491 * mule-charset.c (get_char_code_table): Allow negative character
2493 (put_char_code_table): Likewise.
2494 (Vcharacter_composition_table): New variable.
2495 (Q_decomposition): New variable.
2496 (Qwide): New variable.
2497 (Qnarrow): New variable.
2498 (Qcompat): New variable.
2499 (QnoBreak): New variable.
2500 (Qsuper): New variable.
2501 (Qfraction): New variable.
2502 (to_char_code): New function.
2503 (Fget_composite_char): New function.
2504 (Fput_char_attribute): Register `->decomposition' value to
2505 `Vcharacter_composition_table'.
2506 (syms_of_mule_charset): Add new function `get-composite-char', new
2507 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2508 `super' and `fraction'.
2509 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2511 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2513 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2514 character; copy the return value.
2516 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2518 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2520 * mule-charset.c (range_charset_code_point): Must use make_int.
2521 (split_builtin_char): New function.
2523 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2525 * mule-charset.c (char_byte_table): Change name from
2526 "char-code-table" to "char-byte-table".
2527 (mark_char_code_table): New function.
2528 (char_code_table_equal): New function.
2529 (char_code_table_hash): New function.
2530 (char_code_table_description): New constant.
2531 (char_code_table): New type.
2532 (make_char_code_table): New function.
2533 (copy_char_code_table): New function.
2534 (get_char_code_table): Modify for `char_code_table' type.
2535 (put_char_code_table): Likewise.
2536 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2539 * char-ucs.h (char_code_table): New type.
2540 (XCHAR_CODE_TABLE): New macro.
2541 (XSETCHAR_CODE_TABLE): New macro.
2542 (CHAR_CODE_TABLE_P): New macro.
2543 (GC_CHAR_CODE_TABLE_P): New macro.
2544 (struct Lisp_Char_Code_Table): New structure.
2546 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2548 * mule-charset.c (Fmake_charset): Setup byte_offset for
2551 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2553 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2556 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2558 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2561 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2563 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2564 charset, it is regarded as a charset.
2565 (put_char_attribute): New function in UTF-2000.
2566 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2567 charset, mapping-table of the charset is modified.
2568 (Fdefine_char): New function in UTF-2000.
2569 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2570 `Fput_char_attribute'.
2571 (syms_of_mule_charset): Add new function `define-char' and new
2572 symbol `ucs' in UTF-2000.
2573 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2575 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2577 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2578 non-UTF-2000 configuration.
2580 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2582 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2583 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2585 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2587 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2588 (Fset_charset_mapping_table): Likewise.
2590 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2591 (CHARSET_ENCODING_TABLE): Delete.
2592 (XCHARSET_ENCODING_TABLE): Delete.
2593 (charset_code_point): New interface.
2595 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2597 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2598 instead of `charset_get_byte1' and `charset_get_byte2'.
2600 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2601 (charset_get_byte2): Deleted.
2603 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2605 * char-ucs.h (SPLIT_CHAR): New inline function.
2606 (breakup_char_1): Use `SPLIT_CHAR'.
2608 * mule-charset.c (range_charset_code_point): New function.
2609 (charset_code_point): New function.
2611 * char-ucs.h (range_charset_code_point): New interface.
2612 (breakup_char_1): Use `range_charset_code_point'.
2614 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2616 * mule-charset.c (Fmake_charset): Delete unused local variable
2619 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2620 (breakup_char_1): Find a charset and code-point in
2621 `Vcharacter_attribute_table'.
2623 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2625 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2628 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2630 * mule-charset.c (Vcharacter_attribute_table): New variable.
2631 (Fchar_attribute_alist): New function.
2632 (Fget_char_attribute): New function.
2633 (Fput_char_attribute): New function.
2634 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2636 (syms_of_mule_charset): Add new function `char-attribute-alist',
2637 `get-char-attribute' and `put-char-attribute'.
2638 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2640 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2642 * mule-charset.c (Fmake_charset): Just use
2643 `get_unallocated_leading_byte'.
2645 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2646 sets; don't use final-byte based number for private sets.
2648 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2650 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2653 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2655 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2658 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2660 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2661 of `CHAR_LEADING_BYTE' in UTF-2000.
2663 * insdel.c (find_charsets_in_bufbyte_string): Use
2664 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2665 (find_charsets_in_emchar_string): Likewise.
2667 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2668 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2670 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2671 (CHAR_CHARSET_ID): New macro.
2673 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2675 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2676 charset-id - MIN_LEADING_BYTE.
2677 (put_char_table): Likewise.
2679 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2681 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2682 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2683 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2684 (CHARSET_ID_OFFSET): New macro.
2685 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2686 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2687 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2688 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2690 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2692 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2693 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2694 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2695 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2696 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2698 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2700 * mule-charset.c (next_allocated_leading_byte): New variable in
2702 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2703 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2704 (get_unallocated_leading_byte): Simply use
2705 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2706 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2709 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2710 (MAX_LEADING_BYTE_PRIVATE): New macro.
2711 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2712 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2714 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2716 * mule-charset.c (Fmake_charset): Allocate final-byte based
2717 charset-id for 94-set, 96-set and 94x94-set.
2719 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2721 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
2723 (Fmake_charset): Likewise.
2724 (complex_vars_of_mule_charset): Modify the font registry of
2725 `ucs-bmp' not to match `Ethiopic-Unicode'.
2727 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2729 * mule-charset.c (complex_vars_of_mule_charset): Add font
2730 registory of `ucs-bmp'.
2732 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2734 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2735 coded-charsets in `default-coded-charset-priority-list' when
2736 breaking up a character.
2738 * mule-charset.c (Vcharset_latin_viscii): New variable.
2739 (Qlatin_viscii): New variable.
2740 (make_charset): Don't use `decoding_table'.
2741 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
2743 (Fset_charset_mapping_table): New implementation.
2744 (syms_of_mule_charset): Add new symbol `latin-viscii'.
2745 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
2746 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
2747 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
2748 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
2749 charset `latin_viscii'.
2751 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
2752 (CHARSET_TYPE_94X94): Change to 1 from 2.
2753 (CHARSET_TYPE_96): Change to 2 from 1.
2754 (CHARSET_TYPE_128): New macro.
2755 (CHARSET_TYPE_128X128): Change to 5 from 4.
2756 (CHARSET_TYPE_256): New macro.
2757 (CHARSET_TYPE_256X256): Change to 7 from 5.
2758 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
2760 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2762 * text-coding.c (char_encode_shift_jis): Refer
2763 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
2764 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
2766 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
2767 (char_byte_table_equal): New function in UTF-2000.
2768 (char_byte_table_hash): New function in UTF-2000.
2769 (char_byte_table_description): New constant in UTF-2000.
2770 (char_byte_table): New type in UTF-2000.
2771 (make_char_byte_table): New function in UTF-2000.
2772 (copy_char_byte_table): New function in UTF-2000.
2773 (make_char_code_table): New macro in UTF-2000.
2774 (get_char_code_table): New function in UTF-2000.
2775 (put_char_code_table): New function in UTF-2000.
2776 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2777 (charset_description): Add setting in UTF-2000.
2778 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
2779 `CHARSET_TO_BYTE1_TABLE(cs)'.
2780 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
2781 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
2782 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
2783 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
2784 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
2785 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
2786 `CHARSET_TO_BYTE2_TABLE(cs)'.
2788 * char-ucs.h (char_byte_table): New type.
2789 (XCHAR_BYTE_TABLE): New macro.
2790 (XSETCHAR_BYTE_TABLE): New macro.
2791 (CHAR_BYTE_TABLE_P): New macro.
2792 (GC_CHAR_BYTE_TABLE_P): New macro.
2793 (struct Lisp_Char_Byte_Table): New structure.
2794 (get_char_code_table): New interface.
2795 (Emchar_to_byte_table): Deleted.
2796 (get_byte_from_character_table): Deleted.
2797 (struct Lisp_Charset): Add `encoding_table'; delete
2798 `to_byte1_table' and `to_byte2_table'.
2799 (CHARSET_ENCODING_TABLE): New macro.
2800 (CHARSET_TO_BYTE1_TABLE): Deleted.
2801 (CHARSET_TO_BYTE2_TABLE): Deleted.
2802 (XCHARSET_ENCODING_TABLE): New macro.
2803 (XCHARSET_TO_BYTE1_TABLE): Deleted.
2804 (XCHARSET_TO_BYTE2_TABLE): Deleted.
2806 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2808 * mule-charset.c (syms_of_mule_charset): Delete charset alias
2809 `vietnamese-viscii-*'.
2811 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2813 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
2814 (Qvietnamese_viscii_upper): New variable.
2815 (Fdefine_charset_alias): New function.
2816 (syms_of_mule_charset): Add new function `define-charset-alias'.
2817 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
2818 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
2821 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
2823 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
2824 (MAX_CHAR_OBS_94x94): New macro.
2825 (breakup_char_1): Support obsolete XEmacs-UCS private code space
2828 * mule-charset.c (put_byte_from_character_table): Change unit size
2830 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
2832 (Fmake_reverse_direction_charset): Modify dummy argument of
2833 `make_charset' for non-UTF-2000 environment.
2835 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2837 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
2839 * mule-charset.c (destroy_byte_from_character_table): New macro.
2840 (latin_jisx0201_to_ucs): Deleted.
2841 (latin_iso8859_2_to_ucs): Deleted.
2842 (latin_iso8859_3_to_ucs): Deleted.
2843 (latin_iso8859_4_to_ucs): Deleted.
2844 (latin_iso8859_9_to_ucs): Deleted.
2845 (latin_viscii_lower_to_ucs): Deleted.
2846 (latin_viscii_upper_to_ucs): Deleted.
2847 (mark_charset): Mark `cs->decoding_table'.
2848 (Fcharset_mapping_table): Fix DOC-string.
2849 (Fset_charset_mapping_table): New function.
2850 (syms_of_mule_charset): Add nwe function
2851 `set-charset-mapping-table'.
2852 (complex_vars_of_mule_charset): Don't setup and use
2855 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
2857 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
2860 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
2862 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
2863 (Vcharset_katakana_jisx0208): New variable.
2864 (Qhiragana_jisx0208): New variable.
2865 (Qkatakana_jisx0208): New variable.
2866 (make_charset): Add new argument `byte_offset'.
2867 (charset_get_byte1): Modify for new coded-charset definition; use
2868 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2869 `XCHARSET_BYTE_OFFSET'.
2870 (Fmake_charset): Modify for `make_charset'.
2871 (Fmake_reverse_direction_charset): Likewise.
2872 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
2873 `katakana-jisx0208'.
2874 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
2875 `.' in font registry of charset `katakana-jisx0201',
2876 `latin-jisx0201', `vietnamese-viscii-lower' and
2877 `vietnamese-viscii-upper'; modify DOC-string of charset
2878 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
2879 registry of charset `japanese-jisx0208' not to use font for JIS
2880 X0208:1990; add new charset `hiragana-jisx0208' and
2881 `katakana-jisx0208'.
2883 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
2884 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
2885 (struct Lisp_Charset): Add `byte_offset'.
2886 (CHARSET_BYTE_OFFSET): New macro.
2887 (XCHARSET_UCS_MIN): New macro.
2888 (XCHARSET_UCS_MAX): New macro.
2889 (XCHARSET_CODE_OFFSET): New macro.
2890 (XCHARSET_BYTE_OFFSET): New macro.
2891 (MIN_CHAR_HIRAGANA): New macro.
2892 (MAX_CHAR_HIRAGANA): New macro.
2893 (MIN_CHAR_KATAKANA): New macro.
2894 (MAX_CHAR_KATAKANA): New macro.
2895 (MAKE_CHAR): Modify for new coded-charset definition; use
2896 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2897 `XCHARSET_BYTE_OFFSET'.
2899 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2901 * mule-charset.c (CHAR96): Deleted.
2902 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
2904 (latin_iso8859_2_to_ucs): Likewise.
2905 (latin_iso8859_3_to_ucs): Likewise.
2906 (latin_iso8859_4_to_ucs): Likewise.
2907 (latin_iso8859_9_to_ucs): Likewise.
2908 (latin_viscii_lower_to_ucs): Likewise.
2909 (latin_viscii_upper_to_ucs): Likewise.
2910 (latin_tcvn5712_to_ucs): Commented out.
2911 (make_charset): Change type of argument `decoding_table' from
2912 <Emchar*> to <Lisp_Object> [vector of characters].
2913 (Fmake_charset): Modify for `make_charset'.
2914 (Fmake_reverse_direction_charset): Likewise.
2915 (Fcharset_mapping_table): New function in UTF-2000.
2916 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
2918 (complex_vars_of_mule_charset): Modify for type change of
2919 `*_to_ucs'; modify for `make_charset'.
2921 * char-ucs.h (struct Lisp_Charset): Change type of
2922 `decoding_table' from <Emchar*> to <Lisp_Object>.
2923 (MAKE_CHAR): Modify for new specification of `decoding_table'.
2925 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2927 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
2928 error with non-UTF-2000-Mule.
2930 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
2932 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
2934 (Vcharset_chinese_cns11643_4): Likewise.
2935 (Vcharset_chinese_cns11643_5): Likewise.
2936 (Vcharset_chinese_cns11643_6): Likewise.
2937 (Vcharset_chinese_cns11643_7): Likewise.
2938 (Qchinese_cns11643_3): Likewise.
2939 (Qchinese_cns11643_4): Likewise.
2940 (Qchinese_cns11643_5): Likewise.
2941 (Qchinese_cns11643_6): Likewise.
2942 (Qchinese_cns11643_7): Likewise.
2943 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
2944 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
2945 and `chinese-cns11643-7' to lisp/mule/chinese.el.
2946 (complex_vars_of_mule_charset): Likewise.
2948 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2950 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
2952 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
2953 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
2955 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2957 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
2959 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
2960 (breakup_char_1): Likewise.
2962 * text-coding.c (char_encode_iso2022): Keep designated charsets if
2963 one of them includes the specified character.
2965 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2967 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
2969 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2971 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
2973 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2975 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
2976 definition for non-UTF-2000 Mule.
2977 (latin_iso8859_3_to_ucs): Likewise.
2978 (latin_iso8859_4_to_ucs): Likewise.
2979 (latin_iso8859_9_to_ucs): Likewise.
2980 (latin_jisx0201_to_ucs): Likewise.
2981 (MIN_CHAR_THAI): Likewise.
2982 (MAX_CHAR_THAI): Likewise.
2983 (MIN_CHAR_GREEK): Likewise.
2984 (MAX_CHAR_GREEK): Likewise.
2985 (MIN_CHAR_HEBREW): Likewise.
2986 (MAX_CHAR_HEBREW): Likewise.
2987 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
2988 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
2989 (MIN_CHAR_CYRILLIC): Likewise.
2990 (MAX_CHAR_CYRILLIC): Likewise.
2992 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2994 * char-ucs.h (breakup_char_1): Use
2995 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
2996 thai-tis620 and katakana-jisx0201 area.
2998 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3000 * char-ucs.h (breakup_char_1): Use
3001 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3004 * text-coding.c (reset_encoding_stream): Fixed.
3005 (char_encode_ucs4): Delete `& 255'.
3007 * char-ucs.h (breakup_char_1): Use
3008 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3010 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3012 * file-coding.c (Fmake_coding_system): Don't set up
3013 `codesys->fixed.size'.
3014 (encode_coding_no_conversion): Don't refer
3015 `str->codesys->fixed.size'.
3017 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3019 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3020 (latin_a_char_to_byte1): Deleted.
3021 (latin_a_char_to_byte2): Deleted.
3023 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3025 * mule-charset.c (make_charset): Add new argument `ucs_min',
3026 `ucs_max' and `code_offset'.
3027 (charset_get_byte1): New implementation [delete specific charset
3028 depended implementations].
3029 (Fmake_charset): Modify for `make_charset'.
3030 (Fmake_reverse_direction_charset): Likewise.
3031 (complex_vars_of_mule_charset): Likewise.
3033 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3035 (CHARSET_UCS_MIN): New macro.
3036 (CHARSET_UCS_MAX): New macro.
3037 (CHARSET_CODE_OFFSET): New macro.
3038 (MAKE_CHAR): Delete charset depended definitions [except
3041 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3043 * char-ucs.h (breakup_char_1): Use
3044 `Vdefault_coded_charset_priority_list' for C0-Controls,
3045 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3047 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3049 * char-ucs.h (charset_get_byte1): New function.
3050 (XCHARSET_GET_BYTE1): Deleted.
3051 (charset_get_byte2): New function.
3052 (XCHARSET_GET_BYTE2): Deleted.
3053 (Vdefault_coded_charset_priority_list): New external variable.
3054 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3055 `Vdefault_preferred_coded_charset_list'.
3057 * mule-charset.c (charset_get_byte1): New function.
3058 (charset_get_byte2): New function.
3059 (Vdefault_coded_charset_priority_list): New variable.
3060 (vars_of_mule_charset): Add new variable
3061 `default-coded-charset-priority-list'.
3063 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3065 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3066 (XCHARSET_GET_BYTE2): New inline function.
3067 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3068 `XCHARSET_GET_BYTE2'.
3070 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3072 * mule-charset.c (make_charset): Initialize
3073 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3074 NULL if table is not defined.
3076 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3078 * text-coding.c (char_encode_shift_jis): Use
3079 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3080 `ucs_to_latin_jisx0201'.
3082 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3083 (ucs_to_latin_iso8859_2): Deleted.
3084 (ucs_to_latin_iso8859_3): Deleted.
3085 (ucs_to_latin_iso8859_4): Deleted.
3086 (ucs_to_latin_iso8859_9): Deleted.
3087 (ucs_to_latin_viscii_lower): Deleted.
3088 (ucs_to_latin_viscii_upper): Deleted.
3089 (ucs_to_latin_tcvn5712): Deleted.
3090 (make_charset): Add new argument `decoding_table'; set up
3091 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3092 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3093 `decoding_table' is defined in UTF-2000.
3094 (Fmake_charset): Modify for `make_charset'.
3095 (Fmake_reverse_direction_charset): Likewise.
3096 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3097 and `GENERATE_96_SET'.
3099 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3100 (ucs_to_latin_jisx0201): Deleted.
3101 (latin_iso8859_2_to_ucs): Deleted.
3102 (ucs_to_latin_iso8859_2): Deleted.
3103 (latin_iso8859_3_to_ucs): Deleted.
3104 (ucs_to_latin_iso8859_3): Deleted.
3105 (latin_iso8859_4_to_ucs): Deleted.
3106 (ucs_to_latin_iso8859_4): Deleted.
3107 (latin_iso8859_9_to_ucs): Deleted.
3108 (ucs_to_latin_iso8859_9): Deleted.
3109 (latin_viscii_lower_to_ucs): Deleted.
3110 (ucs_to_latin_viscii_lower): Deleted.
3111 (latin_viscii_upper_to_ucs): Deleted.
3112 (ucs_to_latin_viscii_upper): Deleted.
3113 (struct Lisp_Charset): Renamed `encoding_table' to
3114 `to_byte1_table'; add `to_byte2_table'.
3115 (CHARSET_DECODING_TABLE): New macro.
3116 (CHARSET_TO_BYTE1_TABLE): New macro.
3117 (CHARSET_TO_BYTE2_TABLE): New macro.
3118 (XCHARSET_DECODING_TABLE): New macro.
3119 (XCHARSET_TO_BYTE1_TABLE): New macro.
3120 (XCHARSET_TO_BYTE2_TABLE): New macro.
3121 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3123 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3124 don't use `ucs_to_*' tables.
3126 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3128 * text-coding.c (Fmake_coding_system): Don't set up
3129 `codesys->fixed.size'.
3130 (encode_coding_no_conversion): Use `if' instead of `switch'.
3132 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3134 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3136 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3137 (Fmake_charset): Modify for `make_charset'.
3138 (Fmake_reverse_direction_charset): Likewise.
3139 (complex_vars_of_mule_charset): Likewise.
3141 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3143 * text-coding.c (char_encode_shift_jis): Use table
3144 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3146 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3148 * text-coding.c (text_encode_generic): Use `if' instead of
3150 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3153 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3155 * text-coding.c (encode_coding_sjis): Deleted.
3156 (char_encode_shift_jis): New function.
3157 (char_finish_shift_jis): New function.
3158 (reset_encoding_stream): Set up `encode_char' and `finish' for
3159 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3160 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3161 (char_encode_utf8): Treat `eol_type'.
3163 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3165 * file-coding.c (decode_coding_iso2022): Use
3166 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3168 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3170 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3173 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3175 * char-lb.h (CHAR_COLUMNS): New macro.
3177 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3179 * text-coding.c (char_encode_ucs4): New function.
3180 (char_finish_ucs4): New function.
3181 (encode_coding_ucs4): Deleted.
3182 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3183 (text_encode_generic): Delete local variable `charset' and `half'.
3184 (ucs_to_mule_table): Deleted.
3185 (mule_to_ucs_table): Deleted.
3186 (Fset_ucs_char): Deleted.
3187 (ucs_to_char): Deleted.
3188 (Fucs_char): Deleted.
3189 (Fset_char_ucs): Deleted.
3190 (Fchar_ucs): Deleted.
3191 (decode_ucs4): Deleted.
3192 (mule_char_to_ucs4): Deleted.
3193 (encode_ucs4): Deleted.
3194 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3195 (decode_coding_utf8): Likewise.
3196 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3197 (char_encode_iso2022): Fixed.
3198 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3199 `Fset_char_ucs' and `Fchar_ucs'.
3200 (complex_vars_of_file_coding): Don't initialize
3201 `ucs_to_mule_table'.
3203 * objects-tty.c (tty_initialize_font_instance): Don't use
3206 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3209 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3210 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3212 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3213 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3214 (emchar_string_displayed_columns): Likewise.
3216 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3217 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3218 (string_column_at_point): Likewise.
3219 (Fmove_to_column): Likewise.
3221 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3222 `encoding_table' and `decoding_table'.
3223 (CHARSET_REP_BYTES): Deleted.
3224 (XCHARSET_REP_BYTES): Deleted.
3225 (XCHARSET_COLUMNS): Deleted.
3226 (CHAR_COLUMNS): New macro.
3227 (lookup_composite_char): Deleted unconditionally.
3228 (composite_char_string): Likewise.
3230 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3232 * char-ucs.h (Emchar_to_byte_table): New type.
3233 (get_byte_from_character_table): New function interface.
3234 (Vcharset_latin_jisx0201): New variable.
3235 (latin_jisx0201_to_ucs): New variable.
3236 (ucs_to_latin_jisx0201): New variable.
3237 (Vcharset_latin_iso8859_2): New variable.
3238 (latin_iso8859_2_to_ucs): New variable.
3239 (ucs_to_latin_iso8859_2): New variable.
3240 (Vcharset_latin_iso8859_3): New variable.
3241 (latin_iso8859_3_to_ucs): New variable.
3242 (ucs_to_latin_iso8859_3): New variable.
3243 (Vcharset_latin_iso8859_4): New variable.
3244 (latin_iso8859_4_to_ucs): New variable.
3245 (ucs_to_latin_iso8859_4): New variable.
3246 (Vcharset_latin_iso8859_9): New variable.
3247 (latin_iso8859_9_to_ucs): New variable.
3248 (ucs_to_latin_iso8859_9): New variable.
3249 (Vcharset_latin_viscii_lower): New variable.
3250 (latin_viscii_lower_to_ucs): New variable.
3251 (ucs_to_latin_viscii_lower): New variable.
3252 (Vcharset_latin_viscii_upper): New variable.
3253 (latin_viscii_upper_to_ucs): New variable.
3254 (ucs_to_latin_viscii_upper): New variable.
3255 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3256 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3257 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3258 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3259 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3260 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3261 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3262 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3263 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3264 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3266 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3267 (Vcharset_latin_viscii_upper): New variable.
3268 (make_byte_from_character_table): New function.
3269 (put_byte_from_character_table): New function.
3270 (get_byte_from_character_table): New function.
3271 (CHAR96): New macro.
3272 (ucs_to_latin_jisx0201): New variable.
3273 (latin_jisx0201_to_ucs): New variable.
3274 (ucs_to_latin_iso8859_2): New variable.
3275 (latin_iso8859_2_to_ucs): New variable.
3276 (ucs_to_latin_iso8859_3): New variable.
3277 (latin_iso8859_3_to_ucs): New variable.
3278 (ucs_to_latin_iso8859_4): New variable.
3279 (latin_iso8859_4_to_ucs): New variable.
3280 (ucs_to_latin_iso8859_9): New variable.
3281 (latin_iso8859_9_to_ucs): New variable.
3282 (ucs_to_latin_viscii_lower): New variable.
3283 (latin_viscii_lower_to_ucs): New variable.
3284 (ucs_to_latin_viscii_upper): New variable.
3285 (latin_viscii_upper_to_ucs): New variable.
3286 (ucs_to_latin_tcvn5712): New variable.
3287 (latin_tcvn5712_to_ucs): New variable.
3288 (Qlatin_viscii_lower): New variable.
3289 (Qlatin_viscii_upper): New variable.
3290 (syms_of_mule_charset): Set up new symbol
3291 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3292 (complex_vars_of_mule_charset): Set up new charset
3293 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3294 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3295 `ucs_to_<CHARSET>' tables.
3297 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3299 * text-coding.c: New file.
3301 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3303 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3305 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3306 (MAKE_CHAR): Modify for `ucs-bmp'.
3307 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3308 non-MULE characters of BMP.
3310 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3312 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3315 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3318 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3319 - Include character.h for `CHAR_ASCII_P'.
3321 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3323 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3324 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3326 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3327 (BYTE_C0_P): Likewise.
3328 (BYTE_C1_P): Likewise.
3329 (Lstream_get_emchar_1): Likewise.
3330 (Lstream_fput_emchar): Likewise.
3331 (Lstream_funget_emchar): Likewise.
3332 (copy_internal_to_external): Likewise.
3333 (copy_external_to_internal): Likewise.
3335 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3336 (BYTE_C0_P): Likewise.
3337 (BYTE_C1_P): Likewise.
3338 (Lstream_get_emchar_1): Likewise.
3339 (Lstream_fput_emchar): Likewise.
3340 (Lstream_funget_emchar): Likewise.
3341 (copy_internal_to_external): Likewise.
3342 (copy_external_to_internal): Likewise.
3344 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3345 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3347 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3348 (BYTE_ASCII_P): Moved to mb-1byte.h.
3350 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3352 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3354 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3355 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3356 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3357 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3358 (VALIDATE_CHARPTR_FORWARD): Likewise.
3359 (simple_charptr_emchar): Moved to mb-multibyte.h.
3360 (simple_set_charptr_emchar): Likewise.
3361 (simple_charptr_copy_char): Likewise.
3362 (non_ascii_charptr_emchar): Likewise.
3363 (non_ascii_set_charptr_emchar): Likewise.
3364 (non_ascii_charptr_copy_char): Likewise.
3365 (charptr_emchar): Moved to mb-*byte.h.
3366 (set_charptr_emchar): Likewise.
3367 (charptr_copy_char): Likewise.
3369 * mb-1byte.h, mb-multibyte.h: New files.
3371 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3373 * mb-utf-8.h (MULTIBYTE): New macro.
3374 (MAX_EMCHAR_LEN): Moved from buffer.h.
3375 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3377 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3379 * mb-lb.h, multibyte.h: New files.
3381 * char-1byte.h (Charset_ID): Moved from buffer.h.
3382 (MIN_LEADING_BYTE): Likewise.
3383 (LEADING_BYTE_ASCII): Likewise.
3384 (NUM_LEADING_BYTES): Likewise.
3385 (CHARSETP): Likewise.
3386 (CHARSET_BY_LEADING_BYTE): Likewise.
3387 (XCHARSET_LEADING_BYTE): Likewise.
3388 (XCHARSET_GRAPHIC): Likewise.
3389 (XCHARSET_COLUMNS): Likewise.
3390 (XCHARSET_DIMENSION): Likewise.
3391 (CHAR_CHARSET): Likewise.
3392 (CHAR_LEADING_BYTE): Likewise.
3393 (BREAKUP_CHAR): Likewise.
3394 (Vcharset_ascii): Likewise.
3396 * buffer.h: Include multibyte.h unconditionally.
3397 (VALID_CHARPTR_P): Moved to multibyte.h.
3398 (ASSERT_VALID_CHARPTR): Likewise.
3399 (REAL_INC_CHARPTR): Likewise.
3400 (REAL_INC_CHARBYTIND): Likewise.
3401 (REAL_DEC_CHARPTR): Likewise.
3402 (INC_CHARPTR): Likewise.
3403 (INC_CHARBYTIND): Likewise.
3404 (DEC_CHARPTR): Likewise.
3405 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3406 (VALIDATE_CHARPTR_FORWARD): Likewise.
3407 (charptr_n_addr): Likewise.
3408 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3409 (simple_charptr_emchar): Moved to multibyte.h.
3410 (simple_set_charptr_emchar): Likewise.
3411 (simple_charptr_copy_char): Likewise.
3412 (non_ascii_charptr_emchar): Likewise.
3413 (non_ascii_set_charptr_emchar): Likewise.
3414 (non_ascii_charptr_copy_char): Likewise.
3415 (charptr_emchar): Likewise.
3416 (set_charptr_emchar): Likewise.
3417 (charptr_copy_char): Likewise.
3418 (charptr_emchar_n): Likewise.
3419 (Charset_ID): Moved to char-1byte.h.
3420 (Vcharset_ascii): Likewise.
3421 (CHAR_CHARSET): Likewise.
3422 (CHAR_LEADING_BYTE): Likewise.
3423 (LEADING_BYTE_ASCII): Likewise.
3424 (NUM_LEADING_BYTES): Likewise.
3425 (MIN_LEADING_BYTE): Likewise.
3426 (CHARSETP): Likewise.
3427 (CHARSET_BY_LEADING_BYTE): Likewise.
3428 (XCHARSET_LEADING_BYTE): Likewise.
3429 (XCHARSET_GRAPHIC): Likewise.
3430 (XCHARSET_COLUMNS): Likewise.
3431 (XCHARSET_DIMENSION): Likewise.
3432 (BREAKUP_CHAR): Likewise.
3434 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3436 * character.h: Add document about interface for characters.
3438 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3439 (MAKE_CHAR): Delete comment about
3440 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3441 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3442 (BREAKUP_CHAR): Modify name of arguments.
3443 (CHAR_CHARSET): Modify name of argument.
3445 * buffer.h: Delete document about Emchar accessors.
3447 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3449 * character.h (CHAR_INTP): Moved from buffer.h
3450 (CHAR_OR_CHAR_INTP): Likewise.
3451 (XCHAR_OR_CHAR_INT): Likewise.
3452 (CHECK_CHAR_COERCE_INT): Likewise.
3454 * buffer.h (CHAR_INTP): Moved to character.h
3455 (CHAR_OR_CHAR_INTP): Likewise.
3456 (XCHAR_OR_CHAR_INT): Likewise.
3457 (CHECK_CHAR_COERCE_INT): Likewise.
3459 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3462 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3463 - Include char-1byte.h, char-lb.h or char-ucs.h.
3465 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3467 * buffer.h: Include character unconditionally.
3468 (valid_char_p): Moved to char-*.h.
3469 (non_ascii_valid_char_p): Moved to char-lb.h.
3471 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3473 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3475 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3476 in UTF-2000 because it is not ported yet and not to use
3477 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3478 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3479 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3481 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3482 (CHAR_ASCII_P): Moved from character.h.
3484 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3485 (CHAR_ASCII_P): Likewise.
3486 (CHAR_FIELD1_MASK): Deleted.
3487 (CHAR_FIELD2_MASK): Deleted.
3488 (CHAR_FIELD3_MASK): Deleted.
3489 (MAX_CHAR_BASIC_LATIN): New macro.
3490 (CHAR_FIELD1): Deleted.
3491 (CHAR_FIELD2_INTERNAL): Deleted.
3492 (CHAR_FIELD3_INTERNAL): Deleted.
3493 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3494 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3495 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3496 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3497 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3498 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3499 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3500 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3501 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3502 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3503 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3504 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3505 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3506 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3507 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3508 (MIN_CHAR_COMPOSITION): Deleted.
3509 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3510 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3512 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3514 * buffer.h: Include mb-utf-8.h in UTF-2000.
3516 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3518 * mb-utf-8.h: New file.
3520 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3522 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3525 * mule-charset.h, buffer.h (Charset_ID): New type.
3527 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3529 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3530 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3531 instead of `MULE_CHAR_PRIVATE_OFFSET',
3532 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3533 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3534 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3536 * character.h (Vcharset_japanese_jisx0212): New variable
3539 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3541 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3542 (charset_by_attributes): Delete array about direction.
3543 (latin_a_char_to_charset): New variable in UTF-2000.
3544 (latin_a_char_to_byte1): New variable in UTF-2000.
3545 (latin_a_char_to_byte2): New variable in UTF-2000.
3546 (Qucs_bmp): New variable.
3547 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3549 (next_allocated_2_byte_leading_byte): Likewise.
3550 (non_ascii_set_charptr_emchar): Likewise.
3551 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3552 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3553 `charset_by_attributes'.
3554 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3555 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3556 and `CHARSET_BY_LEADING_BYTE'.
3557 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3558 `utf-2000-version' to `vars_of_mule_charset'.
3559 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3560 define `leading-code-private-11' in UTF-2000; move setting of
3561 `utf-2000-version' from `syms_of_mule_charset'.
3562 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3565 * character.h (Charset_ID): New type.
3566 (LEADING_BYTE_UCS_BMP): New macro.
3567 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3568 (CHARSET_ID_OFFSET_94): New macro.
3569 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3570 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3571 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3573 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3574 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3575 (CHARSET_ID_OFFSET_96): New macro.
3576 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3577 CHARSET_ID_OFFSET_96 and final-byte.
3578 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3579 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3580 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3581 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3582 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3583 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3584 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3585 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3586 (LEADING_BYTE_THAI_TIS620): Likewise.
3587 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3588 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3589 (CHARSET_ID_OFFSET_94x94): New macro.
3590 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3591 CHARSET_ID_OFFSET_94x94 and final-byte.
3592 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3593 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3594 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3595 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3596 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3597 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3598 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3599 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3600 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3601 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3602 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3603 (CHARSET_TYPE_128X128): New macro.
3604 (CHARSET_TYPE_256X256): New macro.
3605 (XCHARSET_PRIVATE_P): Delete unconditionally.
3606 (charset_by_attributes): Delete array about direction.
3607 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3608 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3609 (MIN_CHAR_94): New macro.
3610 (MAX_CHAR_94): New macro.
3611 (MIN_CHAR_96): New macro.
3612 (MAX_CHAR_96): New macro.
3613 (MIN_CHAR_94x94): New macro.
3614 (MAX_CHAR_94x94): New macro.
3615 (MIN_CHAR_96x96): New macro.
3616 (MAX_CHAR_96x96): New macro.
3617 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3618 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3619 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3621 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3622 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3623 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3624 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3625 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3626 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3627 `XCHARSET_LEADING_BYTE' to make code-point.
3628 (latin_a_char_to_charset): New variable.
3629 (latin_a_char_to_byte1): New variable.
3630 (latin_a_char_to_byte2): New variable.
3631 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3632 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3633 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3635 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3636 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3637 (find_charsets_in_emchar_string): Likewise.
3638 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3640 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3642 (decode_coding_iso2022): Likewise.
3644 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3647 * redisplay.c (redisplay_text_width_emchar_string): Use
3648 `Charset_ID' instead of `unsigned char'.
3649 (redisplay_frame_text_width_string): Likewise.
3651 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3654 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3655 instead of `unsigned char'.
3656 (face_cachel_charset_font_metric_info): Likewise.
3658 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3659 (get_non_ascii_char_table_value): Likewise.
3660 (get_char_table): Likewise.
3661 (put_char_table): Likewise.
3662 (map_over_other_charset): Likewise.
3663 (map_char_table): Likewise.
3665 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3666 instead of `unsigned char'.
3668 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3670 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3671 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3673 * mule-charset.c (leading_code_private_11): Don't define in
3676 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3677 in UTF-2000 because it is not ported yet and not to use
3678 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3680 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3682 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3684 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3686 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3689 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3690 of unsigned char to store leading-byte.
3692 * chartab.c (get_non_ascii_char_table_value): Don't use
3693 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3695 * file-coding.c (encode_coding_big5): Delete bogus implementation
3698 * character.h (LEADING_BYTE_*): Delete definition for
3700 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3701 (LEADING_BYTE_PREFIX_P): Deleted.
3702 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3703 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3704 (BUFBYTE_LEADING_BYTE_P): Deleted.
3705 (CHARSET_PRIVATE_P): Deleted unconditionally.
3706 (rep_bytes_by_first_byte): Deleted unconditionally.
3707 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3708 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3709 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3710 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3711 (CHAR_FIELD2): Deleted.
3712 (CHAR_FIELD3): Deleted.
3713 (MAKE_CHAR): Delete definition for non-UTF-2000.
3714 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3715 (breakup_char_1): New implementation.
3716 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
3717 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
3719 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3721 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3724 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3726 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3727 (CHARSET_PRIVATE_P): Likewise.
3728 (XCHARSET_PRIVATE_P): Likewise.
3729 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3731 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3733 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3735 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3737 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3738 (NUM_LEADING_BYTES): Changed from 128 to 256.
3739 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3740 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
3742 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3744 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
3746 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
3747 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
3748 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
3749 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
3750 (Qchinese_cns11643_3): New variable in UTF2000.
3751 (Qchinese_cns11643_4): New variable in UTF2000.
3752 (Qchinese_cns11643_5): New variable in UTF2000.
3753 (Qchinese_cns11643_6): New variable in UTF2000.
3754 (Qchinese_cns11643_7): New variable in UTF2000.
3755 (syms_of_mule_charset): Define `chinese-cns11643-3',
3756 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3757 and `chinese-cns11643-7' in UTF2000.
3758 (vars_of_mule_charset): Initialize
3759 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
3761 (complex_vars_of_mule_charset): Setup charset
3762 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
3763 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
3765 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3767 * mule-charset.c: Move setting for `leading-code-private-11' from
3768 `syms_of_mule_charset' to `vars_of_mule_charset'.
3770 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3772 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
3773 and `NUM_LEADING_BYTES' in assert.
3775 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3777 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
3779 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
3780 `NUM_LEADING_BYTES' instead of 128.
3782 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3784 * mule-charset.h (charset_by_leading_byte): Use
3785 `NUM_LEADING_BYTES' instead of 128.
3786 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
3788 * mule-charset.c (charset_by_leading_byte): Use
3789 `NUM_LEADING_BYTES' instead of 128.
3790 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
3792 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
3795 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3797 * mule-charset.c (syms_of_mule_charset): Update to
3800 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3802 * file-coding.c (encode_coding_sjis): New implementation for
3803 UTF2000. (decode_coding_sjis): Ditto.
3805 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3807 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
3808 Don't define in UTF2000.
3810 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
3813 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3814 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
3817 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3819 * config.h.in (CHAR_IS_UCS4): New macro.
3821 * mule-charset.c (rep_bytes_by_first_byte): Modify for
3822 conventional MULE representation.
3823 (syms_of_mule_charset): Update to 0.3 (Imamiya).
3825 * mule-charset.h: Reverted to original.
3827 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3828 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
3829 "mule-charset.h" if CHAR_IS_UCS4 is defined.
3831 * character.h: New file.
3833 * file-coding.c (Fmake_coding_system): Set 1 to
3834 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
3836 (encode_coding_no_conversion): New implementation for UTF2000.
3838 * file-coding.h (struct Lisp_Coding_System): Add new member
3841 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3843 * file-coding.c (decode_coding_iso2022): Code-point arguments of
3844 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
3845 (encode_coding_iso2022): New implementation for UTF2000.
3847 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3849 * mule-canna.c (c2mu): New implementation for UTF2000.
3852 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3854 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
3856 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3858 * file-coding.c (reset_encoding_stream): Set 0 to
3859 `str->iso2022.current_char_boundary' in UTF2000.
3860 (encode_utf8): Don't define in UTF2000.
3861 (encode_coding_utf8): New implementation for UTF-8 representation
3863 (complex_vars_of_file_coding): Define coding-system `utf-8'.
3865 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3867 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
3869 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
3871 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3873 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
3875 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
3876 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
3877 as UTF-8 in UTF2000.
3878 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
3879 (non_ascii_valid_char_p): Don't define in UTF2000.
3880 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
3881 (Lstream_get_emchar_1): Likewise.
3882 (utf-2000-version): New variable in UTF2000.
3884 * lread.c (read_escape): Add new reader `u'.
3886 * insdel.c (three_to_one_table): Don't define in UTF2000.
3887 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
3888 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3890 (bytind_to_bufpos_func): Likewise.
3891 (buffer_mule_signal_inserted_region): Likewise.
3892 (vars_of_insdel): Don't initialize `three_to_one_table'.
3893 (init_buffer_text): Use `buf->text->mule_size' instead of
3894 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3897 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
3898 UTF-8 representation in UTF2000.
3899 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
3900 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
3901 (decode_coding_iso2022): Don't define local variable `lb' in
3902 UTF2000; don't use LEADING_BYTE in UTF2000; use
3903 `DECODE_ADD_UCS_CHAR' in UTF2000.
3904 (convert_to_external_format): Decode as UTF-8 in UTF2000.
3906 * config.h.in (UTF2000): New macro.
3908 * buffer.h (struct buffer_text): Add new member `mule_size' and
3909 don't add `mule_shifter' and `mule_three_p' in UTF2000.
3910 (valid_char_p): Return always 1 in UTF2000.
3911 (MAX_EMCHAR_LEN): 6 in UTF2000.
3912 (three_to_one_table): Don't define in UTF2000.
3913 (real_bufpos_to_bytind): Modify for UTF-8 representation in
3915 (real_bytind_to_bufpos): Likewise.
3917 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
3919 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3921 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
3922 representation change.
3923 (Vutf_2000_version): New variable.
3924 (leading_code_private_11): New variable.
3925 (syms_of_mule_charset): Add new variables `utf-2000-version' and
3926 `leading-code-private-11'.
3928 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
3929 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
3930 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
3931 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
3932 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
3933 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
3934 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
3935 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
3936 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
3937 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
3938 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
3939 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
3940 (MIN_CHAR_GREEK): New macro.
3941 (MAX_CHAR_GREEK): New macro.
3942 (MIN_CHAR_CYRILLIC): New macro.
3943 (MAX_CHAR_CYRILLIC): New macro.
3944 (MIN_CHAR_HEBREW): New macro.
3945 (MAX_CHAR_HEBREW): New macro.
3946 (MIN_CHAR_THAI): New macro.
3947 (MAX_CHAR_THAI): New macro.
3948 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
3949 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
3950 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
3951 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
3952 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
3953 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
3954 (CHAR_FIELD2): New inline function.
3955 (CHAR_FIELD3): New inline function.
3956 (MULE_CHAR_PRIVATE_OFFSET): New macro.
3957 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
3958 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
3959 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
3960 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
3961 (MIN_CHAR_COMPOSITION): Likewise.
3962 (CHAR_LEADING_BYTE): Modified for character representation change.
3963 (MAKE_CHAR): Likewise.
3965 * lisp.h (Vcharset_latin_iso8859_1): New variable.
3966 (Vcharset_greek_iso8859_7): Likewise.
3967 (Vcharset_cyrillic_iso8859_5): Likewise.
3968 (Vcharset_hebrew_iso8859_8): Likewise.
3969 (Vcharset_thai_tis620): Likewise.
3970 (Vcharset_katakana_jisx0201): Likewise.
3972 2001-02-08 Martin Buchholz <martin@xemacs.org>
3974 * XEmacs 21.2.44 "Thalia" is released.
3976 2001-02-06 Martin Buchholz <martin@xemacs.org>
3978 Fixes crashes in kill-emacs on some systems.
3979 * process-unix.c (unix_kill_child_process):
3980 It's OK for kill() to fail with ESRCH.
3982 2001-02-07 Martin Buchholz <martin@xemacs.org>
3984 Contortions to make .gdbinit tricks work on most systems.
3985 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
3986 * alloc.c (dbg_valmask): Make non-const.
3987 * alloc.c (dbg_typemask): Make non-const.
3988 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
3989 * alloc.c (dbg_valbits): Make non-const.
3990 * alloc.c (dbg_gctypebits): Make non-const.
3991 * .gdbinit (decode_object): Make it work with AIX cc.
3993 2001-02-06 Martin Buchholz <martin@xemacs.org>
3995 * elhash.c (make_general_lisp_hash_table):
3996 Use simpler and more efficient calloc to clear entries.
3998 2001-02-07 Martin Buchholz <martin@xemacs.org>
4000 * window.c (window_scroll): Work around an AIX C compiler bug.
4001 Fixes 'scroll-up' does nothing problem with xlC.
4003 2001-02-05 Martin Buchholz <martin@xemacs.org>
4005 * .gdbinit: Remove obsolete comment.
4007 2001-01-31 Mike Alexander <mta@arbortext.com>
4009 * select.c (Fown_selection_internal): Set owned_p for device
4012 2001-02-01 Martin Buchholz <martin@xemacs.org>
4015 "not" cannot be used as a macro name as it is an operator in C++
4016 * config.h.in: Stop #defining `not'.
4017 * chartab.c (check_category_char): not ==> not_p
4018 * chartab.h: Likewise.
4019 * regex.c (re_match_2_internal): Likewise.
4021 2001-02-02 Martin Buchholz <martin@xemacs.org>
4023 * lisp-disunion.h: Fix up comments.
4025 2001-01-31 Martin Buchholz <martin@xemacs.org>
4027 * keymap.c (define_key_check_and_coerce_keysym):
4029 Support mouse-6 and mouse-7 bindings in the obvious way.
4031 2001-02-01 Martin Buchholz <martin@xemacs.org>
4033 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
4035 2001-01-30 Martin Buchholz <martin@xemacs.org>
4037 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
4038 Previous patch missed DEFVAR_INT_MAGIC.
4039 Make sure future DEFVAR_foo use correct types.
4040 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
4041 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
4042 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
4043 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
4044 * (DEFVAR_INT): Likewise.
4045 * redisplay.c (vertical_clip): Should be of type Fixnum.
4046 * redisplay.c (horizontal_clip): Likewise.
4047 * lisp.h (dump_add_opaque_int): New.
4048 (dump_add_opaque_fixnum): New.
4050 2001-01-29 Andy Piper <andy@xemacs.org>
4052 * glyphs-widget.c (check_valid_int_or_function): allow symbols
4053 since they can be eval'ed
4055 2001-01-29 Martin Buchholz <martin@xemacs.org>
4057 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
4058 Oops, XEmacs redefines `class'. Use `typename' instead.
4060 2001-01-28 Martin Buchholz <martin@xemacs.org>
4062 * dumper.c: Fix C++ compile errors.
4064 2001-01-29 Martin Buchholz <martin@xemacs.org>
4066 * tparam.c: Use correct prototypes.
4068 2001-01-28 Martin Buchholz <martin@xemacs.org>
4070 * sysproc.h: #include util.h for NetBSD's openpty.
4072 2001-01-27 Martin Buchholz <martin@xemacs.org>
4074 More 64-bit correctness.
4075 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
4076 Use a typedef `fixnum' for the type used for DEFVAR_INT.
4078 This finally finishes the 64-bit SGI port.
4079 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
4080 * symbols.c: Fix up comments and type casts.
4081 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
4082 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
4083 * symeval.h (Fixnum): New type.
4084 * symeval.h (symbol_value_type): Fix up comment.
4100 * mule-canna.c: A million DEFVAR_INTs here...
4101 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
4114 s/int/Fixnum/g in DEFVAR_INT declarations.
4116 2001-01-26 Martin Buchholz <martin@xemacs.org>
4118 Port pdump to SGI alignment-sensitive environment.
4119 Lisp Object sizeof methods now return aligned sizes. Rely on that.
4120 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
4122 Define and use aligned reading and writing macros.
4123 Use buffered stdio instead of posix i/o for faster dumping.
4124 Eliminate kludgy 256 byte space for header.
4125 Read and write from dump file using structs for alignment safety.
4126 * dumper.c (pdump_align_stream): New.
4127 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
4128 * dumper.c (PDUMP_READ_ALIGNED): New.
4129 * dumper.c (PDUMP_WRITE_ALIGNED): New.
4130 * dumper.c (pdump_static_Lisp_Object): New struct.
4131 * dumper.c (pdump_static_pointer): New struct.
4132 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
4133 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
4134 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
4135 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
4137 * dumper.c (pdump_backtrace):
4138 * dumper.c (pdump_get_indirect_count):
4139 * dumper.c (pdump_register_object):
4140 * dumper.c (pdump_register_struct):
4141 * dumper.c (pdump_reloc_one):
4142 * dumper.c (pdump_scan_by_alignment):
4143 * dumper.c (pdump_dump_from_root_struct_ptrs):
4144 * dumper.c (pdump_dump_opaques):
4145 * dumper.c (pdump_dump_rtables):
4146 * dumper.c (pdump_dump_from_root_objects):
4148 * dumper.c (pdump_load_finish):
4149 Use aligned reading and writing.
4151 * dumper.c (pdump_free): Make static.
4152 * dumper.c (pdump_hFile): Likewise.
4153 * dumper.c (pdump_hMap): Likewise.
4155 2001-01-26 Martin Buchholz <martin@xemacs.org>
4157 * XEmacs 21.2.43 "Terspichore" is released.
4159 2001-01-25 Martin Buchholz <martin@xemacs.org>
4161 Type fiddling for window_config.saved_windows_count
4162 * window.c (struct window_config):
4163 Make saved_windows_count member unsigned.
4164 * window.c (sizeof_window_config_for_n_windows):
4165 Make parameter unsigned.
4166 * window.c (mark_window_config):
4167 * window.c (window_config_equal):
4168 * window.c (free_window_configuration):
4169 * window.c (Fset_window_configuration):
4170 * window.c (count_windows):
4171 * window.c (Fcurrent_window_configuration):
4172 * window.c (reinit_vars_of_window):
4173 Update all callers and users.
4175 2001-01-25 Martin Buchholz <martin@xemacs.org>
4177 Alignment correctness for flexible arrays.
4178 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
4179 Make alignment-correct. Add interesting comments.
4180 * alloc.c (size_vector):
4181 * alloc.c (make_vector_internal):
4182 * alloc.c (make_bit_vector_internal):
4183 * alloc.c (sweep_bit_vectors_1):
4184 * fns.c (size_bit_vector):
4185 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
4186 * window.c (sizeof_window_config_for_n_windows):
4187 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
4189 2001-01-24 Martin Buchholz <martin@xemacs.org>
4191 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
4193 2001-01-23 Andy Piper <andy@xemacs.org>
4195 * select.c (Fown_selection_internal): pass owned_p
4197 * select-msw.c (mswindows_own_selection): New Signature.
4199 * console.h (struct console_methods): add owned_p to
4202 * select-x.c (x_own_selection): pass owned_p
4203 (hack_motif_clipboard_selection): use owned_p
4204 (vars_of_select_x): new variable -
4205 x_selection_strict_motif_ownership.
4207 2001-01-23 Martin Buchholz <martin@xemacs.org>
4209 * specifier.h (specifier_data_offset): Remove pointless parens.
4210 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
4212 2001-01-24 Martin Buchholz <martin@xemacs.org>
4214 Make Lisp_Object sizeof methods be alignment-correct.
4215 pdump must restore objects to the same alignment as the C compiler
4216 assumes. It really matters on SGIs.
4217 * lstream.c (aligned_sizeof_lstream): New.
4218 (sizeof_lstream): Use aligned_sizeof_lstream.
4219 (Lstream_new): Likewise.
4220 * opaque.c (aligned_sizeof_opaque): New.
4221 (sizeof_opaque): Use aligned_sizeof_opaque.
4222 (make_opaque): Likewise.
4223 * specifier.c (aligned_sizeof_specifier): New.
4224 (sizeof_specifier): Use aligned_sizeof_specifier.
4225 (make_specifier_internal): Likewise.
4227 2001-01-23 Martin Buchholz <martin@xemacs.org>
4229 * lstream.h (struct lstream): Use max_align_t for trailing data.
4230 * specifier.h (struct Lisp_Specifier): Likewise.
4232 2001-01-22 Martin Buchholz <martin@xemacs.org>
4234 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
4235 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
4236 (CCL_SUSPEND): Likewise.
4237 (CCL_INVALID_CMD): Likewise.
4238 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
4239 (ccl_driver): Likewise.
4240 (CCL_WRITE_CHAR): Macro hygiene.
4241 (CCL_WRITE_STRING): Macro hygiene.
4243 2001-01-22 Martin Buchholz <martin@xemacs.org>
4245 Port "portable" dumper to SunOS 4 and HP-UX.
4246 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
4247 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
4248 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
4250 2001-01-22 Martin Buchholz <martin@xemacs.org>
4252 * lisp.h (ALIGNOF): A better definition for C++.
4254 2001-01-20 Martin Buchholz <martin@xemacs.org>
4257 Fix printf warnings: int format, long int arg.
4258 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
4259 (PUSH_FAILURE_POINT): Use correct printf formats.
4260 (POP_FAILURE_POINT): Use correct printf formats.
4261 Use do {...} while (0)
4263 2001-01-20 Martin Buchholz <martin@xemacs.org>
4265 * XEmacs 21.2.42 "Poseidon" is released.
4267 2001-01-20 Martin Buchholz <martin@xemacs.org>
4269 * console-x.h: typo fix du jour. Remove #if 0'ed code.
4271 2001-01-19 Martin Buchholz <martin@xemacs.org>
4273 De-kludgify FIXED_TYPE free list frobbing.
4274 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
4275 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
4276 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
4277 * alloc.c (Lisp_Free): New pseudo lisp object definition.
4278 * alloc.c (LRECORD_FREE_P): New.
4279 * alloc.c (MARK_LRECORD_AS_FREE): New.
4280 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
4281 * alloc.c (STRUCT_FREE_P): Deleted.
4282 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4283 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4284 * alloc.c (STRING_CHARS_FREE_P): New.
4285 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4286 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4287 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4288 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4289 * alloc.c (resize_string): Use new definitions.
4290 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4291 * alloc.c (verify_string_chars_integrity): Use new definitions.
4292 * alloc.c (compact_string_chars): Use new definitions.
4293 * alloc.c: Update monster comments.
4294 * lrecord.h (lrecord_type): Add some new lrecord types for
4297 2001-01-18 Martin Buchholz <martin@xemacs.org>
4299 Improve alignment hackery.
4300 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4301 (max_align_t): Moved from opaque.h - general purpose.
4302 (ALIGN_PTR): Use size_t, not long.
4303 * opaque.h (max_align_t): Move to lisp.h.
4305 2001-01-18 Norbert Koch <nk@LF.net>
4307 * gui.h: Fix and add prototypes to fix build problems.
4309 2001-01-18 Martin Buchholz <martin@xemacs.org>
4311 temacs is going away, so `dump-temacs' is now a bad name.
4312 * .dbxrc (dump-temacs): Rename to `dmp'.
4313 * .gdbinit (dump-temacs): Rename to `dmp'.
4315 2001-01-17 Andy Piper <andy@xemacs.org>
4317 * glyphs.c (print_image_instance): comment to make martin happy.
4319 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4322 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4324 (mswindows_tab_control_redisplay): warning suppression.
4326 * glyphs-widget.c (widget_update): re-write to cope with updated
4328 (widget_instantiate): use new gui_item functions.
4329 (tab_control_update): deleted.
4330 (progress_gauge_update): deleted.
4331 (image_instantiator_progress_guage): take out update reference.
4332 (image_instantiator_tree_view): ditto.
4333 (image_instantiator_tab_control): ditto.
4335 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4337 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4338 return whether anything was changed.
4339 (update_gui_item_keywords): as it sounds.
4341 * gui.h: declare widget_gui_parse_item_keywords.
4343 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4344 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4346 2001-01-17 Martin Buchholz <martin@xemacs.org>
4348 * XEmacs 21.2.41 "Polyhymnia" is released.
4350 2001-01-16 Didier Verna <didier@xemacs.org>
4352 * glyphs.c (image_instantiate): don't use fallbacks when
4353 instantiating a face's background pixmap by inheritance.
4355 2001-01-14 Mike Sperber <mike@xemacs.org>
4357 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4358 Conditionalize accordingly.
4360 2001-01-16 Martin Buchholz <martin@xemacs.org>
4362 * dumper.c (pdump_file_get): Fix a compiler warning.
4364 2001-01-15 Martin Buchholz <martin@xemacs.org>
4366 Make Purify happy when pdumping.
4367 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4368 iniitalizing all bits of new lisp object memory.
4369 * symbols.c (Fmake_local_variable): Likewise.
4370 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4371 * symbols.c (Fdefvaralias): Likewise.
4372 * mule-charset.c (vars_of_mule_charset): Likewise.
4374 2001-01-15 Martin Buchholz <martin@xemacs.org>
4375 Add the `-nd' flag when running pre-dump operations under the debugger.
4376 * .dbxrc (run-temacs): Add `-nd'.
4377 * .dbxrc (update-elc): Likewise.
4378 * .dbxrc (dump-temacs): Likewise.
4379 * .gdbinit (run-temacs): Likewise.
4380 * .gdbinit (check-temacs): Likewise.
4381 * .gdbinit (update-elc): Likewise.
4382 * .gdbinit (dump-temacs): Likewise.
4384 2001-01-14 Martin Buchholz <martin@xemacs.org>
4386 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4387 export OBJECT_MODE=64
4388 configure --pdump --use-union-type=no
4389 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4390 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4392 * miscplay.c (sndcnv8U_2mono):
4393 Avoid two uses of `++' in the same expression.
4394 Suppresses a GCC warning.
4396 2001-01-13 Martin Buchholz <martin@xemacs.org>
4398 Make sure future compilers don't miscompile alloc.c.
4400 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4401 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4403 2001-01-12 Martin Buchholz <martin@xemacs.org>
4405 * dumper.c: A little post-pdump-rename comment fixup.
4407 2001-01-09 Jerry James <james@eecs.ku.edu>
4409 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4411 2001-01-13 Martin Buchholz <martin@xemacs.org>
4413 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4417 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4420 replace_symbol pdump_wire_lists pdump_weak_object_chains
4421 replace_symbol pdump_wire_list dump_add_weak_object_chain
4423 replace_symbol pdump_wires pdump_root_objects
4424 replace_symbol pdump_wire dump_add_root_object
4426 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4427 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4429 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4430 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4431 replace_symbol dumpstructinfo pdump_root_struct_ptr
4432 replace_symbol dumpstruct dump_add_root_struct_ptr
4434 replace_symbol dumpopaque dump_add_opaque
4435 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4436 replace_symbol dumpopaqueinfos pdump_opaques
4437 replace_symbol dumpopaqueinfo pdump_opaque
4439 replace_symbol nb_structdump nb_root_struct_ptrs
4440 replace_symbol nb_opaquedump nb_opaques
4442 replace_symbol align_table pdump_align_table
4443 replace_symbol dump_header pdump_header
4445 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4446 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4449 2001-01-12 Martin Buchholz <martin@xemacs.org>
4451 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4452 optimizing bytecount_to_charcount().
4454 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4457 (HAVE_DLFCN_H): Removed.
4458 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4460 2001-01-06 Martin Buchholz <martin@xemacs.org>
4462 Portable dumper maintainability improvements.
4463 * alloc.c (staticpro):
4464 * alloc.c (staticpro_nodump):
4465 * alloc.c (garbage_collect_1):
4466 * alloc.c (reinit_alloc_once_early):
4467 * alloc.c (init_alloc_once_early):
4468 * alloc.c: Move dumper functions to alloc.c.
4469 * dumper.c (pdump_backtrace):
4470 * dumper.c (pdump_dump_structs):
4471 * dumper.c (pdump_dump_opaques):
4472 * dumper.c (pdump_dump_rtables):
4473 * dumper.c (pdump_dump_wired):
4475 * dumper.c (pdump_load_check):
4476 * dumper.c (pdump_load_finish):
4477 * dumper.c (pdump_file_unmap):
4478 * dumper.c (pdump_file_get):
4479 * dumper.c (pdump_resource_free):
4480 * dumper.c (pdump_resource_get):
4481 * dumper.c (pdump_file_free):
4482 * dumper.c (pdump_file_try):
4483 * dumper.c (pdump_load):
4484 Remove fixed size limits on staticpro(), staticpro_nodump(),
4485 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4486 Remove custom code for dumping lrecord_implementations_table - use
4488 Remove (most of the) custom code for dumping staticpros - dump it
4489 like any other dynarr.
4491 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4492 * dumper.c: Moved functions from alloc.c.
4493 * alloc.c (dumpstruct): Moved to dumper.c.
4494 * alloc.c (dumpopaque): Likewise.
4495 * alloc.c (pdump_wire): Likewise.
4496 * alloc.c (pdump_wire_list): Likewise.
4498 * lisp.h (Dynarr_sizeof): New.
4499 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4500 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4501 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4503 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4504 * lisp.h (dumpopaque): ditto.
4505 * lisp.h (pdump_wire): ditto.
4506 * lisp.h (pdump_wire_list): ditto.
4508 2001-01-09 Martin Buchholz <martin@xemacs.org>
4510 * make-src-depend (PrintPatternDeps):
4511 Use `sort' to make output independent of perl version.
4513 2001-01-08 Martin Buchholz <martin@xemacs.org>
4516 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4517 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4519 2001-01-03 Didier Verna <didier@xemacs.org>
4521 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4522 that `focus_frame' is alive before thinking of calling
4523 `redisplay_redraw_cursor' on it.
4525 2001-01-08 Martin Buchholz <martin@xemacs.org>
4527 * XEmacs 21.2.40 is released.
4529 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4531 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4533 2001-01-06 Martin Buchholz <martin@xemacs.org>
4535 * alloc.c (dbg_valmask): Make const.
4536 * alloc.c (dbg_typemask): Make const.
4537 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4538 * alloc.c (dbg_valbits): Make const.
4539 * alloc.c (dbg_gctypebits): Make const.
4541 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4543 * redisplay-x.c (x_bevel_area):
4544 redisplay.h (struct rune):
4545 Typo fixes in comments.
4547 2001-01-05 Andy Piper <andy@xemacs.org>
4549 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4552 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4554 2001-01-05 Martin Buchholz <martin@xemacs.org>
4556 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4558 * mule-ccl.c (stack_idx_of_map_multiple):
4559 Non const global data must not be initialized!
4560 Found by MIYASHITA Hisashi.
4562 2001-01-02 Andy Piper <andy@xemacs.org>
4564 * frame.c (change_frame_size): make sure frame size is always
4567 * glyphs.c (image_instance_layout): minor code reuse.
4569 * window.c (Fcurrent_window_configuration): revert previous
4572 2001-01-02 Martin Buchholz <martin@xemacs.org>
4575 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4577 2000-12-31 Andy Piper <andy@xemacs.org>
4579 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4580 when widget gets unmapped.
4582 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4583 function. Make sure widgets losing focus don't just drop it.
4584 (handle_focus_event_1): record the widget with focus.
4586 2000-12-31 Andy Piper <andy@xemacs.org>
4588 * window.c (allocate_window): use
4589 make_image_instance_cache_hash_table.
4590 (make_dummy_parent): ditto.
4591 (Fset_window_configuration): ditto.
4593 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4595 * glyphs.c (process_image_string_instantiator): use
4597 (get_image_instantiator_governing_domain): ditto.
4598 (normalize_image_instantiator): ditto.
4599 (instantiate_image_instantiator): ditto.
4600 (make_image_instance_1): ditto.
4601 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4602 (instantiator_eq_equal): new function for use with instance hash
4604 (instantiator_eq_hash): ditto.
4605 (make_image_instance_cache_hash_table): create a suitable hash
4606 table for storing image instances.
4608 * elhash.h (hash_table_weakness): new internal weakness type
4609 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4610 declare new functions.
4612 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4613 another weakness type for glyphs.
4614 (make_standard_lisp_hash_table): new function split out from
4615 make_general_lisp_hash_table.
4616 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4617 (hash_table_instantiate): ditto.
4618 (Fmake_hash_table): ditto.
4620 2000-12-31 Martin Buchholz <martin@xemacs.org>
4622 * XEmacs 21.2.39 is released.
4624 2000-12-29 Andy Piper <andy@xemacs.org>
4626 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4628 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4629 the frame has changed so that we pick up geometry changes such as
4632 2000-12-28 Andy Piper <andy@xemacs.org>
4634 * lastfile.c (my_ebss): make a char array so we can pad the
4635 bss. Fixes cygwin unexec.
4637 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4639 2000-12-26 Andy Piper <andy@xemacs.org>
4641 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
4642 comments and try and be more precise about a non-/SIGIO world.
4643 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
4646 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
4647 we don't normalize to zero width or height.
4649 2000-12-24 Andy Piper <andy@xemacs.org>
4651 * Makefile.in.in (ldflags): add -mwindows when appropriate.
4653 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
4655 * s/sco5.h: SCO 5 has pty support.
4657 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
4659 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
4660 input-method-xlib.c contains whole contents of input-method-xfs.c,
4661 so we can use input-method-xlib.c's code for USE_XFONTSET
4663 * input-method-xfs.c: removed.
4665 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
4667 * file-coding.h (enum coding_category_type): reorder enumerators to
4668 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
4669 (now one greater than largest real coding_category_type enumerator).
4670 * file-coding.c (coding_category_symbol, coding_category_by_priority,
4671 coding_category_system, fcd_descriptihon_1, decode_coding_category,
4672 Fcoding_category_list, Fset_coding_priority_list,
4673 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
4674 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
4676 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4678 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
4679 * redisplay-output.c (redisplay_output_window): Clear top of window
4680 when face is changed.
4681 * redisplay-x.c (x_redraw_exposed_window): Call
4682 redisplay_clear_top_of_window.
4683 * redisplay.h: Publish redisplay_clear_top_of_window.
4685 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4687 * buffer.c (Fkill_buffer): Map over all devices.
4688 * window.c (window_loop): Remove UNSHOW_BUFFER code.
4689 (list_windows): New function.
4690 (list_all_windows): Ditto.
4691 (Freplace_buffer_in_windows): Use them.
4693 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4695 * database.c (berkdb_subtype): Recognize new subtype `queue'.
4696 (Fopen_database): Use `db_create' instead of `db_open'.
4697 (syms_of_database): Initialize Qqueue.
4699 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4701 * buffer.c (common_init_complex_vars_of_buffer): Initialize
4702 buffer_local_face_property.
4703 * buffer.h (struct buffer): New member buffer_local_face_property.
4704 * window.c (Fset_window_buffer): Mark window's face as changed
4705 when buffer has buffer local face.
4706 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
4707 * objects.c (color_after_change): Set buffer_local_face_property
4708 when locale of face specifier is buffer.
4709 * objects.c (font_after_change): Ditto.
4710 * objects.c (face_boolean_after_change): Ditto.
4711 * glyphs.c (image_after_change): Ditto.
4713 2000-12-09 Dan Holmsand <dan@eyebee.com>
4715 * nt.c (mswindows_fstat): Report file permissions, volume serial
4716 number, etc. Code adapted from FSF Emacs 20.7.
4718 2000-12-09 Dan Holmsand <dan@eyebee.com>
4720 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
4721 of stat when we don't have symbolic links, to make sure
4722 mswindows_stat is called on mswindows.
4724 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
4726 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
4728 2000-12-12 Martin Buchholz <martin@xemacs.org>
4730 * doprnt.c (emacs_doprnt_1): More printing fixes.
4731 Make printing of numbers compatible with libc and FSF Emacs.
4732 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
4733 Use the system printf to do most of the hard work of formatting,
4734 instead of doprnt_1().
4735 Calculate memory to allocate for format string.
4736 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
4737 (doprnt_1): Cleaner code and documentation.
4739 2000-12-01 Jerry James <james@eecs.ukans.edu>
4741 * Makefile.in.in: Use the loop variable to install headers.
4743 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4745 * window.c (Fsplit_window): Don't invalidate face cache.
4747 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4749 * minibuf.c (Fall_completions): Undo the previous change
4750 which removed checking elements start with space.
4752 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4754 * mule-canna.c: Didier suppression.
4756 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4758 * mule-canna.c: rename static unsigned char buf[] to key_buffer
4759 (warning suppression). Add English comment translations.
4761 2000-12-05 Martin Buchholz <martin@xemacs.org>
4763 * unexelfsgi.c (unexec): Better test for mmap failure.
4765 2000-12-05 Martin Buchholz <martin@xemacs.org>
4767 * XEmacs 21.2.38 is released.
4769 2000-12-05 Martin Buchholz <martin@xemacs.org>
4771 * redisplay.c (bar-cursor): Make a user variable.
4773 * symsinit.h: Add init_postgresql_from_environment.
4775 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4777 * regex.c: Convert to clean C.
4779 2000-12-05 Dan Holmsand <dan@eyebee.com>
4782 Don't #include sysfile.h. Revert to duplicating PATH_MAX
4784 (sys_readlink): renamed to system_readlink to avoid conflict with
4785 the other sys_readlink.
4787 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
4789 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
4791 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
4793 * postgresql.c (init_postgresql_from_environment): new function.
4794 (vars_of_postgresql): Move code initializing Lisp variables out and
4795 into init_postgresql_from_environment.
4796 emacs.c (main_1): Call init_postgresql_from_environment if and only
4797 if running a dumped XEmacs.
4799 2000-08-31 Dan Holmsand <dan@eyebee.com>
4801 * buffer.c: Make find-file-compare-truenames default to true on
4804 * realpath.c (win32_abs_start):
4806 (win32_readlink): New functions.
4807 (xrealpath): Return really real filenames on windows.
4809 * fileio.c (Ffile_truename): Make file-truename work on windows.
4811 2000-11-29 Didier Verna <didier@xemacs.org>
4813 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
4814 * faces.c (update_face_cachel_data): use it.
4815 * faces.c (add_face_cachel): use it. Complete background pixmap
4816 frobbing in face cache if `update_face_cachel_data' has not done so.
4818 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
4820 * search.c (string_match_1): Don't set last_thing_searched
4823 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
4825 * buffer.c: Include casetab.h
4826 (common_init_complex_vars_of_buffer): Use new case-table object.
4827 * buffer.h: Include casetab.h
4828 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
4829 (DOWNCASE_TABLE_OF): Ditto.
4830 * bufslots.h: Remove char-tables and add case-table.
4831 * casetab.c: Include casetab.h
4832 (CASE_TABLE_P): Removed.
4833 (mark_case_table): New function.
4834 (allocate_case_table): New function.
4835 (Fcase_table_p): Use new case-table.
4836 (case_table_char): New function.
4837 (Fget_case_table): Ditto.
4838 (Fput_case_table): Ditto.
4839 (Fput_case_table_pair): Ditto.
4840 (Fcopy_case_table): Ditto.
4841 (Fcurrent_case_table): Return case-table.
4842 (Fstandard_case_table): Return case-table.
4843 (Fset_case_table): Fix doc-string.
4844 (set_case_table): Use case-table
4845 (syms_of_casetab): DEFSUBR new functions.
4846 (complex_vars_of_casetab): Set up standard case-table.
4847 * casetab.h: New file.
4848 * editfns.c: Include casetab.h
4849 (Fcompare_buffer_substrings): Use case-table.
4850 * inline.c: Include casetab.h
4851 * lisp.h: Remove bogus extern.
4852 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
4853 * search.c: Include casetab.h
4854 (TRANSLATE_ASCII): Removed.
4855 (TRANSLATE): Unconditionally translate character.
4856 (looking_at_1): Use case-table.
4857 (string_match_1): Ditto.
4858 (fast_string_match): Ditto.
4859 (search_command): Ditto.
4860 (search_buffer): Separate boyer_moore. Check whether
4861 boyer_moore is possible.
4862 (simple_search): New function.
4863 (boyer_moore): Separated from search_buffer. Translate char.
4865 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
4867 * regex.c (RE_TR_ASCII): Removed.
4868 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
4869 (PATFETCH): Call PATFETCH_RAW.
4870 (PATFETCH_RAW): Fetch Emchar.
4871 (PATUNFETCH): Decrement charptr.
4872 (GET_BUFFER_SPACE): Rename b to buf_end.
4874 (BUF_PUSH_2): Ditto.
4875 (BUF_PUSH_3): Ditto.
4876 (EXTEND_BUFFER): Ditto.
4877 (SET_LIST_BIT): Ditto.
4878 (regex_compile): Ditto. Translate non ASCII char.
4879 (compile_range): Ditto.
4880 (re_search_2): Ditto.
4881 (re_match_2_internal): Compare Emchar.
4882 (bcmp_translate): Ditto.
4884 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
4886 * lisp.h (basic char/int typedefs): comment improvement.
4888 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
4890 * emacs.c (main_1): unconditional pdump unstomping; don't save and
4891 unstomp inhibit_site_lisp. Improve comments.
4893 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
4895 * mule-charset.c (Fcharset_property): improve type checking, comments.
4897 2000-11-28 Andy Piper <andy@xemacs.org>
4899 * redisplay-output.c (redisplay_output_subwindow): make sure we do
4900 clipped display for windows in the gutter also.
4901 (redisplay_display_boxes_in_window_p): change semantics of return
4902 codes to be more intuitive.
4904 * gutter.h: declare display_boxes_in_gutter_p.
4906 * gutter.c (display_boxes_in_gutter_p): new function for
4909 2000-11-22 Andy Piper <andy@xemacs.org>
4911 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
4914 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
4916 * callproc.c (Fold_call_process_internal):
4917 * gpm.c (Freceive_gpm_event):
4918 (tty_get_foreign_selection): Might be just warning supression.
4919 * fileio.c (Fwrite_region_internal):
4920 (Fset_visited_file_modtime):
4921 * keymap.c (event_matches_key_specifier_p):
4922 Initialize GCPROed variable.
4924 * menubar-x.c (command_builder_find_menu_accelerator):
4925 Initialize before use.
4927 2000-11-23 Andy Piper <andy@xemacs.org>
4929 * unexcw.c (unexec): make the resulting executable executable.
4931 2000-11-21 Martin Buchholz <martin@xemacs.org>
4933 * doc.c (get_doc_string):
4934 Use size_t, not int, for result of XSTRING_LENGTH.
4936 * cmds.c (Fdelete_char):
4937 * cmds.c (Fpoint_at_eol):
4938 * cmds.c (Fself_insert_command):
4939 Use EMACS_INT, not int, for result of XINT.
4940 Someday, someone will want to insert more than 2**31 identical characters.
4942 * cmds.c (Fdelete_char):
4943 * cmds.c (Fdelete_backward_char):
4944 * syntax.c (Fforward_word):
4945 * syntax.c (Fforward_comment):
4946 Make COUNT argument optional, for consistency with forward-char et al.
4948 2000-11-22 Martin Buchholz <martin@xemacs.org>
4951 * print.c (long_to_string):
4952 Return a useful value: the pointer at end of data written.
4955 Use `static const char * const' for constant strings.
4956 (union printf_arg): Delete `i', `ui' members.
4959 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
4960 Do all printf-ing via the `l' specifier.
4961 Use EMACS_INT instead of int.
4964 2000-11-20 Didier Verna <didier@xemacs.org>
4966 * faces.c (update_face_cachel_data): don't frob the background
4967 pixmap when the window is being created. The face is needed but
4970 2000-11-20 Andy Piper <andy@xemacs.org>
4972 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
4973 messing with a debug environment.
4975 2000-11-20 Martin Buchholz <martin@xemacs.org>
4977 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
4979 2000-11-20 Martin Buchholz <martin@xemacs.org>
4981 * casetab.c (Fcase_table_p): Fix compile error and crash.
4983 2000-11-18 Philip Aston <philipa@mail.com>
4985 * s/cygwin32.h: Cygwin has SVR4-like pty support.
4987 2000-11-18 Martin Buchholz <martin@xemacs.org>
4989 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
4990 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
4992 2000-11-17 Martin Buchholz <martin@xemacs.org>
4994 * config.h.in: Define HAVE_ELF_H if elf.h exists.
4995 * unexelf.c: Use HAVE_ELF_H.
4996 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
4997 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
4998 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
4999 Greg Harrington <greg_harrington@hotmail.com> provided a machine
5001 So this is an unexelfsgi.c from a different line of development.
5003 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5005 * regex.c (RE_TR_ASCII): New function.
5006 (RE_TRANSLATE): Call it.
5008 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
5010 * buffer.h (TRT_TABLE_OF): Remove assert.
5011 (IN_TRT_TABLE_DOMAIN): Removed.
5013 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
5015 * free-hook.c (log_gcpro):
5016 (show_gcprohist): Add support for GCPRO5.
5018 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
5020 * emacs.c (main_1): Improve -sd error message when --pdump=no.
5022 2000-11-16 Olivier Galibert <galibert@xemacs.org>
5024 * symeval.h: Declare flush_all_buffer_local_cache.
5026 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
5027 (flush_buffer_local_cache): Added.
5028 (flush_all_buffer_local_cache): Added.
5030 * lrecord.h: Remove unused XD_LO_RESET_NIL.
5032 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
5033 (pdump_dump_data): Ditto.
5034 (pdump_reloc_one): Ditto.
5035 (pdump): Remove unused pdump_qnil. Flush buffer local caches
5039 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5041 * buffer.c: Remove if 0'ed entry.
5042 * buffer.h: Rewrite TRT to use char-table.
5043 * bufslots.h: Remove mirror tables.
5044 * casetab.c: Remove mirror tables.
5045 (CASE_TABLE_P): New macro.
5046 (Fcase_table_p): Element of a case table is string or char-table.
5047 (make_mirror_trt_table): Removed.
5048 (set_case_table): Setup char-table from strings for backward
5050 * dired.c (Fdirectory_files):
5051 * dired-msw.c: (mswindows_get_files):
5052 * lisp.h: Change prototype of re_pattern_buffer.
5053 * regex.c: (RE_TRANSLATE): New macro.
5054 (TRANSLATE_P): Ditto.
5055 Change translate to type RE_TRANSLATE_TYPE.
5056 * regex.h: Define RE_TRANSLATE_TYPE
5057 * search.c (TRANSLATE): New macro.
5058 (TRANSLATE_ASCII): New macro.
5059 Translate table is changed to Lisp_Object.
5060 (signal_failure): Inhibit return.
5062 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
5069 Do UNGCPRO before return.
5071 2000-11-14 Martin Buchholz <martin@xemacs.org>
5073 * XEmacs 21.2.37 is released.
5075 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
5077 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
5078 Add comments about discarded return value.
5080 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
5083 * event-stream.c: Fix comments. Remove some #if 0'ed part.
5085 2000-10-27 Andy Piper <andy@xemacs.org>
5087 * gutter.c (Fset_default_gutter_position): default left and right
5089 (calculate_gutter_size): calculate resonable heuristic for left
5090 and right gutter sizes.
5091 (specifier_vars_of_gutter): change left and right gutter sizes to
5093 (calculate_gutter_size_from_display_lines): new function.
5094 (output_gutter): check for resizing on left and right gutters.
5095 (clear_gutter): don't special case top and left gutters.
5096 (specifier_vars_of_gutter): use new signature for
5097 set_specifier_caching.
5099 * glyphs-x.c (x_redisplay_widget): spelling fix.
5100 * glyphs.c (specifier_vars_of_glyphs):
5101 * menubar.c (specifier_vars_of_menubar):
5102 * redisplay.c (specifier_vars_of_redisplay):
5103 * toolbar.c (specifier_vars_of_toolbar):
5104 * window.c (specifier_vars_of_window):
5105 * scrollbar.c (specifier_vars_of_scrollbar):
5106 (complex_vars_of_scrollbar): use new signature for
5107 set_specifier_caching.
5109 * specifier.c (set_specifier_caching): include recompute flag.
5110 (recompute_one_cached_specifier_in_window): always recompute if
5112 (recompute_one_cached_specifier_in_frame): ditto.
5114 * specifier.h (struct specifier_caching): add recompute flag.
5116 2000-10-24 Andy Piper <andy@xemacs.org>
5118 * unexcw.c (copy_executable_and_dump_data_section): add new
5119 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
5122 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5124 * console-x.h (x_device): New member modifier_release_time.
5125 * event-Xt.c (x_handle_sticky_modifiers):
5126 Bound interval modifier keys are sticky.
5127 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
5128 * events.h: extern it.
5130 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5132 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
5134 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
5136 * event-stream.c (execute_command_event): Preserve current_events
5137 and the like when event is misc-user-event.
5138 Inhibit quit during the call to maybe_echo_keys.
5140 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5142 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
5143 symlink when buffer is killed.
5144 (inhibit_clash_detection): New variable.
5146 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5148 * console.c (Fset_input_method): Trigger redisplay on tty.
5150 2000-11-07 Martin Buchholz <martin@xemacs.org>
5152 * process.c (Fprocess_status): Revert to previous behavior:
5153 (process-status "nosuchprocess") ==> nil
5155 2000-11-06 Martin Buchholz <martin@xemacs.org>
5157 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
5158 Work around another GCC 2.95.2 optimizer bug.
5160 2000-11-02 Martin Buchholz <martin@xemacs.org>
5162 * process.c (Fget_process): Use LIST_LOOP_2.
5163 (kill_buffer_processes): Use LIST_LOOP_2.
5165 * minibuf.c (Fall_completions):
5166 Delete old non-functional code for FSF fourth argument.
5168 * frame.c (frame_matches_frame_spec):
5169 Renamed from `frame_matches_frametype'. Update all callers.
5170 (device_matches_device_spec):
5171 Renamed from 'device_matches_console_spec'. Update all callers.
5173 * doc.c (Fsubstitute_command_keys):
5174 Remove buffer overflow crash. Small code cleanups.
5176 * casetab.c (check_case_table): Simpler code.
5178 * window.c (Freplace_buffer_in_windows):
5179 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
5180 (and similar implementation) as Fdelete_windows_on.
5183 * alloc.c (Fmake_list):
5184 * alloc.c (make_vector):
5185 * alloc.c (Fmake_vector):
5186 * alloc.c (make_bit_vector):
5187 * alloc.c (Fmake_bit_vector):
5188 * alloc.c (Fbit_vector):
5189 * alloc.c (Fmake_string):
5190 * alloc.c (Fpurecopy):
5191 * alloc.c (Fmemory_limit):
5193 * buffer.c (Fget_buffer):
5194 * buffer.c (Fkill_buffer):
5195 * buffer.c (complex_vars_of_buffer):
5196 * bytecode.c (Fcompiled_function_stack_depth):
5197 * callint.c (Fprefix_numeric_value):
5199 * event-stream.c (Fread_key_sequence):
5201 * casetab.c (Fcase_table_p):
5202 * casetab.c (check_case_table):
5203 * casetab.c (Fset_case_table):
5204 * casetab.c (Fset_standard_case_table):
5206 * chartab.c (Fchar_table_type):
5207 * chartab.c (Freset_char_table):
5208 * chartab.c (Fget_char_table):
5209 * chartab.c (Fget_range_char_table):
5210 * chartab.c (Fput_char_table):
5211 * chartab.c (Fmap_char_table):
5212 * chartab.c (Fcategory_table_p):
5213 * chartab.c (Fcheck_category_at):
5214 * chartab.c (Fchar_in_category_p):
5215 * chartab.c (Fcategory_table):
5216 * chartab.c (Fcopy_category_table):
5217 * chartab.c (Fset_category_table):
5218 * chartab.c (Fcategory_designator_p):
5219 * chartab.c (Fcategory_table_value_p):
5220 * cmds.c (Fdelete_char):
5221 * cmds.c (Fdelete_backward_char):
5222 * cmds.c (Fself_insert_command):
5223 * cmds.c (Fself_insert_internal):
5224 * console.c (Fvalid_console_type_p):
5225 * console.c (Fcdfw_console):
5226 * console.c (Fconsole_type):
5227 * console.c (Fconsole_name):
5228 * console.c (Fconsole_device_list):
5229 * console.c (Fconsole_on_window_system_p):
5233 * data.c (Fsubr_interactive):
5234 * data.c (Fchar_to_int):
5235 * data.c (Fint_to_char):
5238 * data.c (Fnumber_to_string):
5239 * data.c (Fstring_to_number):
5241 * database.c (mark_database):
5242 * database.c (finalize_database):
5243 * database.c (Fdatabase_live_p):
5244 * database.c (Fdatabasep):
5245 * device-x.c (Fx_get_resource):
5246 * device.c (Fdfw_device):
5248 * dired.c (Ffile_name_completion):
5249 * dired.c (Ffile_name_all_completions):
5250 * dired.c (Fuser_name_completion):
5251 * dired.c (Fuser_name_completion_1):
5252 * dired.c (Fuser_name_all_completions):
5253 * doc.c (Fdocumentation):
5254 * doc.c (Fdocumentation_property):
5255 * doc.c (Fsubstitute_command_keys):
5257 * editfns.c (Fchar_to_string):
5258 * editfns.c (Fstring_to_char):
5259 * editfns.c (Ftemp_directory):
5260 * editfns.c (Finsert_char):
5261 * editfns.c (Fbuffer_substring_no_properties):
5262 * editfns.c (Fnarrow_to_region):
5263 * editfns.c (Fchar_equal):
5264 * editfns.c (Fchar_Equal):
5265 * editfns.c (Ftranspose_regions):
5266 * emacs.c (Fdump_emacs):
5268 * eval.c (Fcommand_execute):
5269 * eval.c (Fautoload):
5270 * eval.c (Fbacktrace):
5271 * eval.c (Fbacktrace_frame):
5273 * events.c (Fcopy_event):
5274 * events.c (Fcharacter_to_event):
5275 * events.c (Fevent_button):
5276 * events.c (Fevent_process):
5278 * extents.c (Fnext_extent_change):
5279 * extents.c (Fextent_property):
5281 * faces.c (Fmake_face):
5283 * file-coding.c (Fencode_shift_jis_char):
5284 * file-coding.c (Fencode_big5_char):
5285 * fileio.c (Ffile_name_directory):
5286 * fileio.c (Ffile_name_nondirectory):
5287 * fileio.c (Ffile_name_as_directory):
5288 * fileio.c (Fdirectory_file_name):
5289 * fileio.c (Ffile_truename):
5290 * fileio.c (Fsubstitute_in_file_name):
5291 * fileio.c (Ffile_modes):
5292 * fileio.c (Fset_file_modes):
5293 * fileio.c (Fset_default_file_modes):
5294 * fileio.c (Fverify_visited_file_modtime):
5295 * floatfns.c (Facos):
5296 * floatfns.c (Fasin):
5297 * floatfns.c (Fatan):
5298 * floatfns.c (Fcos):
5299 * floatfns.c (Fsin):
5300 * floatfns.c (Ftan):
5301 * floatfns.c (Fbessel_j0):
5302 * floatfns.c (Fbessel_j1):
5303 * floatfns.c (Fbessel_jn):
5304 * floatfns.c (Fbessel_y0):
5305 * floatfns.c (Fbessel_y1):
5306 * floatfns.c (Fbessel_yn):
5307 * floatfns.c (Ferf):
5308 * floatfns.c (Ferfc):
5309 * floatfns.c (Flog_gamma):
5310 * floatfns.c (Fexp):
5311 * floatfns.c (Fexpt):
5312 * floatfns.c (Flog):
5313 * floatfns.c (Flog10):
5314 * floatfns.c (Fsqrt):
5315 * floatfns.c (Fcube_root):
5316 * floatfns.c (Facosh):
5317 * floatfns.c (Fasinh):
5318 * floatfns.c (Fatanh):
5319 * floatfns.c (Fcosh):
5320 * floatfns.c (Fsinh):
5321 * floatfns.c (Ftanh):
5322 * floatfns.c (Fabs):
5323 * floatfns.c (Ffloat):
5324 * floatfns.c (Flogb):
5325 * floatfns.c (Fceiling):
5326 * floatfns.c (Ffloor):
5327 * floatfns.c (Fround):
5328 * floatfns.c (Ftruncate):
5329 * floatfns.c (Ffceiling):
5330 * floatfns.c (Fffloor):
5331 * floatfns.c (Ffround):
5332 * floatfns.c (Fftruncate):
5333 * fns.c (Fstring_equal):
5334 * fns.c (Fstring_lessp):
5339 * fns.c (Fsubstring):
5341 * fns.c (Fold_assoc):
5342 * fns.c (assoc_no_quit):
5344 * fns.c (Fold_assq):
5345 * fns.c (assq_no_quit):
5347 * fns.c (Fold_rassoc):
5349 * fns.c (Fold_rassq):
5350 * fns.c (rassq_no_quit):
5351 * fns.c (Fremassoc):
5352 * fns.c (remassoc_no_quit):
5354 * fns.c (remassq_no_quit):
5355 * fns.c (Fremrassoc):
5356 * fns.c (Fremrassq):
5357 * fns.c (remrassq_no_quit):
5359 * fns.c (Fplist_get):
5360 * fns.c (Fplist_put):
5361 * fns.c (Fplist_remprop):
5362 * fns.c (Fplist_member):
5363 * fns.c (Flax_plist_get):
5364 * fns.c (Flax_plist_put):
5365 * fns.c (Flax_plist_remprop):
5366 * fns.c (Flax_plist_member):
5368 * fns.c (Fold_equal):
5370 * fns.c (Fbase64_encode_region):
5371 * fns.c (Fbase64_encode_string):
5372 * fns.c (Fbase64_decode_region):
5374 * frame.c (frame_matches_frame_spec):
5375 * frame.c (device_matches_device_spec):
5376 * frame.c (next_frame):
5377 * frame.c (previous_frame):
5378 * frame.c (Fnext_frame):
5379 * frame.c (Fprevious_frame):
5380 * frame.c (Fframe_property):
5381 * frame.c (Fset_frame_height):
5382 * frame.c (Fset_frame_size):
5386 * glyphs.c (decode_error_behavior_flag):
5387 * glyphs.c (Fmake_image_instance):
5388 * indent.c (Findent_to):
5389 * intl.c (Fignore_defer_gettext):
5390 * keymap.c (Fkeymapp):
5391 * keymap.c (Flookup_key):
5393 * lread.c (Fload_internal):
5394 * lread.c (Feval_buffer):
5395 * lread.c (Feval_region):
5396 * macros.c (Fexecute_kbd_macro):
5397 * marker.c (set_marker_internal):
5398 * marker.c (Fset_marker):
5399 * marker.c (set_marker_restricted):
5400 * marker.c (Fcopy_marker):
5401 * marker.c (noseeum_copy_marker):
5403 * menubar.c (Fpopup_menu):
5405 * mule-charset.c (Fcharset_name):
5406 * mule-charset.c (Fchar_charset):
5407 * mule-charset.c (Fchar_octet):
5408 * mule-charset.c (Fsplit_char):
5409 * mule-wnnfns.c (Fwnn_open):
5410 * mule-wnnfns.c (Fwnn_dict_comment):
5411 * mule-wnnfns.c (Fwnn_quit_henkan):
5412 * mule-wnnfns.c (Fwnn_word_toroku):
5413 * mule-wnnfns.c (Fwnn_word_sakujo):
5414 * mule-wnnfns.c (Fwnn_word_use):
5415 * mule-wnnfns.c (Fwnn_hindo_set):
5417 * objects.c (Fmake_color_instance):
5418 * objects.c (Fmake_font_instance):
5419 * print.c (Fwrite_char):
5421 * process.c (mark_process):
5422 * process.c (print_process):
5423 * process.c (get_process_from_usid):
5424 * process.c (Fprocessp):
5425 * process.c (Fprocess_live_p):
5426 * process.c (Fget_process):
5427 * process.c (Fget_buffer_process):
5428 * process.c (get_process):
5429 * process.c (Fprocess_id):
5430 * process.c (Fprocess_name):
5431 * process.c (Fprocess_command):
5432 * process.c (init_process_io_handles):
5433 * process.c (start_process_unwind):
5434 * process.c (Fstart_process_internal):
5435 * process.c (Fopen_multicast_group_internal):
5436 * process.c (Fset_process_window_size):
5437 * process.c (read_process_output):
5438 * process.c (send_process):
5439 * process.c (Fprocess_tty_name):
5440 * process.c (Fset_process_buffer):
5441 * process.c (Fprocess_buffer):
5442 * process.c (Fprocess_mark):
5443 * process.c (set_process_filter):
5444 * process.c (Fset_process_filter):
5445 * process.c (Fprocess_filter):
5446 * process.c (Fprocess_send_region):
5447 * process.c (Fprocess_send_string):
5448 * process.c (exec_sentinel):
5449 * process.c (Fset_process_sentinel):
5450 * process.c (Fprocess_sentinel):
5451 * process.c (status_notify):
5452 * process.c (Fprocess_status):
5453 * process.c (Fprocess_exit_status):
5454 * process.c (process_send_signal):
5455 * process.c (Fprocess_send_eof):
5456 * process.c (deactivate_process):
5457 * process.c (remove_process):
5458 * process.c (Fdelete_process):
5459 * process.c (kill_buffer_processes):
5460 * process.c (Fprocess_kill_without_query):
5461 * process.c (Fprocess_kill_without_query_p):
5463 * rangetab.c (Fget_range_table):
5464 * rangetab.c (Fput_range_table):
5465 * rangetab.c (Fremove_range_table):
5466 * rangetab.c (Fclear_range_table):
5468 * search.c (Fskip_chars_forward):
5469 * search.c (Fskip_chars_backward):
5470 * search.c (Fskip_syntax_forward):
5471 * search.c (Fskip_syntax_backward):
5472 * search.c (search_command):
5473 * search.c (Freplace_match):
5474 * search.c (Fregexp_quote):
5475 * select.c (Fown_selection_internal):
5476 * select.c (Fselection_owner_p):
5477 * select.c (Fselection_exists_p):
5478 * select.c (Fget_selection_internal):
5481 * symbols.c (Fintern):
5482 * symbols.c (Fintern_soft):
5483 * symbols.c (Funintern):
5484 * symbols.c (Fapropos_internal):
5485 * symbols.c (Fset_default):
5487 * syntax.c (Fsyntax_table_p):
5488 * syntax.c (Fcopy_syntax_table):
5489 * syntax.c (Fset_syntax_table):
5490 * syntax.c (Fchar_syntax):
5491 * syntax.c (syntax_match):
5492 * syntax.c (Fmatching_paren):
5493 * syntax.c (Fforward_word):
5494 * syntax.c (scan_lists):
5495 * syntax.c (Fscan_lists):
5496 * syntax.c (Fscan_sexps):
5497 * syntax.c (Fparse_partial_sexp):
5498 * toolbar.c (Fcheck_toolbar_button_syntax):
5501 * window.c (Fwindowp):
5502 * window.c (Fwindow_live_p):
5503 * window.c (Fwindow_point):
5504 * window.c (Fdelete_window):
5505 * window.c (Fnext_window):
5506 * window.c (Fprevious_window):
5507 * window.c (Fother_window):
5508 * window.c (window_loop):
5509 * window.c (Fget_lru_window):
5510 * window.c (Fsplit_window):
5511 * window.c (Fenlarge_window):
5512 * window.c (Fenlarge_window_pixels):
5513 * window.c (Fshrink_window):
5514 * window.c (Fshrink_window_pixels):
5515 * window.c (change_window_height):
5516 * window.c (Fwindow_configuration_p):
5517 * window.c (Fcurrent_window_configuration):
5519 * casefiddle.c (casify_object):
5520 * casefiddle.c (Fupcase):
5521 * casefiddle.c (Fdowncase):
5522 * casefiddle.c (Fcapitalize):
5523 * casefiddle.c (Fupcase_initials):
5524 * casefiddle.c (casify_region_internal):
5525 * casefiddle.c (casify_region):
5526 * casefiddle.c (Fupcase_region):
5527 * casefiddle.c (Fdowncase_region):
5528 * casefiddle.c (Fcapitalize_region):
5529 * casefiddle.c (Fupcase_initials_region):
5530 * casefiddle.c (Fupcase_word):
5531 * casefiddle.c (Fdowncase_word):
5532 * casefiddle.c (Fcapitalize_word):
5533 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5534 Replace 0 with '\0' when working with bytes.
5535 Replace initial "(" with "\(" in docstrings.
5537 2000-11-01 Martin Buchholz <martin@xemacs.org>
5539 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5541 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5543 2000-10-31 Martin Buchholz <martin@xemacs.org>
5545 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5547 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5549 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5552 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5554 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5555 (inhibit_auto_save_session): New variable.
5556 (vars_of_fileio): Declare and initialize them.
5557 * fileio.c (Fdo_auto_save): Don't create session file if
5558 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5560 2000-10-31 Martin Buchholz <martin@xemacs.org>
5562 * sgiplay.c (play_internal): C++ compilability.
5563 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5564 * callproc.c (Fold_call_process_internal):
5565 Remove unused vars `env', `first'.
5566 * scrollbar.c (update_scrollbar_instance):
5567 #### unused var `current_window'.
5568 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5569 etc. within #ifdef NOT_YET.
5570 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5571 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5572 * specifier.c (specifier_instance):
5573 #### unused var `tag'.
5574 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5576 2000-10-27 Martin Buchholz <martin@xemacs.org>
5579 * fns.c (list_sort):
5580 * fns.c (Ffillarray):
5581 * fns.c (bytecode_nconc2):
5584 * fns.c (Fmapconcat):
5585 Be pedantically 64-bit correct. For the time when someone will
5586 want to have a list with length > 2**32.
5588 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5589 Work around MIPSpro compiler bug.
5591 * process-unix.c (unix_kill_child_process): Add snarky comment.
5592 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5594 * config.h.in: Oops, _getpt ==> _getpty
5596 2000-10-26 Martin Buchholz <martin@xemacs.org>
5600 Use void*, not char*, as return type of alloca().
5602 * alloc.c (free_marker): Side effect inside assert expression!
5604 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5606 * mule-charset.c (Fset_charset_ccl_program): To check
5607 if the given ccl program is valid, use setup_ccl_program()
5608 instead of CHECK_VECTOR().
5609 (Fmake_charset): Likewise.
5611 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5613 * faces.c (get_extent_fragment_face_cache_index):
5614 Fix cachel.merged_faces memory leak.
5616 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5618 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5619 Reset MSB of octets obtained by DECODE_SJIS
5620 because of the incompatibility with Emacs.
5621 (ccl_driver)<CCL_ENCODE_SJIS>:
5622 Set MSB of octets before passing them to
5623 ENCODE_SJIS because of the incompatibility
5626 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5628 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5629 (DECLARE_LRECORD): Undo the last change.
5630 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5632 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5634 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5635 the implementation to lrecord_implementations_table.
5637 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5639 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5640 initial value of `lrecord_type_##c_name' and
5641 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
5642 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
5643 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
5644 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
5645 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
5647 2000-10-17 Martin Buchholz <martin@xemacs.org>
5649 * miscplay.c (sndcnv8S_2mono):
5650 (sndcnv2monounsigned):
5651 (sndcnvULaw_2linear):
5653 Remove implementation-defined behavior.
5655 2000-10-12 Martin Buchholz <martin@xemacs.org>
5657 * input-method-xlib.c: Warning suppression.
5659 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
5661 * mule-ccl.c: Sync up with Emacs 21.0.90.
5662 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
5664 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
5666 (ccl_driver[WriteMultibyteChar2]): Bug fix.
5667 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
5668 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
5669 leading char belongs to official 2-dimensional charset.
5670 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
5671 write the given character as is. Otherwise,
5672 if it is a multibyte char, convert it by
5673 non_ascii_set_charptr_emchar, then write it.
5674 (CCL_WRITE_STRING): Likewise.
5675 (ccl_get_compiled_code): New function.
5676 (setup_ccl_program): When ccl_prog is invalid,
5678 (Fregister_code_conversion_map): New function.
5679 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
5681 * mule-ccl.h: Sync up with Emacs 21.0.90.
5682 (Fregister_ccl_program): export it.
5684 * redisplay-msw.c (separate_textual_runs):
5685 If ccl program is not valid, don't do ccl conversion.
5687 * redisplay-x.c (separate_textual_runs): Ditto.
5689 * file-coding.c (Fmake_coding_system):
5690 When type is ccl and value is vector, register it
5691 with a proper symbol. And checks whether the
5692 given ccl program is valid.
5693 (mule_decode): When calling ccl_driver, if src indicates
5694 NULL pointer, set an empty string instead.
5695 (mule_encode): Likewise.
5697 2000-10-11 Martin Buchholz <martin@xemacs.org>
5699 The following large batch of changes gets us back to a state of
5700 C++ compilability. Extbyte is now a char, which means that
5701 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
5703 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
5705 * sound.c (Fplay_sound): Type correctness.
5707 * select-x.c (hack_motif_clipboard_selection): Type correctness.
5708 (x_get_window_property): Type correctness.
5709 (receive_incremental_selection): unsigned char ==> Extbyte
5710 (selection_data_to_lisp_data): unsigned char ==> Extbyte
5711 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
5712 (Fx_store_cutbuffer_internal): Type correctness.
5714 * process-unix.c (try_to_initialize_subtty): Type correctness.
5716 * objects-x.c (x_print_color_instance): Type correctness.
5717 (x_print_font_instance): Type correctness.
5718 (x_list_fonts): SExtbyte ==> Extbyte.
5719 (valid_x_font_name_p): SExtbyte ==> Extbyte.
5720 (x_find_charset_font): SExtbyte ==> Extbyte.
5721 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
5722 (truename_via_XListFonts): SExtbyte ==> Extbyte.
5723 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
5726 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
5727 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
5728 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
5729 (BYTE_C0_P): Use bit ops for char-signedness safety.
5730 (BYTE_C1_P): Use bit ops for char-signedness safety.
5731 (CHARSET_BY_LEADING_BYTE):
5732 (CHARSET_BY_ATTRIBUTES):
5733 Always use inline function.
5734 Use type_checking_assert.
5737 * mule-charset.c (non_ascii_charptr_copy_char):
5738 Modify to work with both ASCII and non-ASCII characters.
5739 Improve docs and variable names.
5740 Replace over-clever fall-through switch with a simple loop.
5741 (Lstream_get_emchar_1):
5742 Replace over-clever fall-through switch with a simple loop.
5744 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5745 Warning suppression.
5747 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
5748 the return value of Lstream_getc, which could be EOF as well.
5750 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
5752 * lisp.h: Make Extbyte a char, not unsigned char, so that external
5753 APIs can be used on Extbytes without casts. Risky!
5757 * input-method-xlib.c (XIM_init_device):
5758 Use Xlib.h instead of IntrinsicP.h.
5759 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
5760 which will break in X11R7.
5761 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
5762 to call XRegisterIMInstantiateCallback with correct types.
5764 * gui-x.c (button_item_to_widget_value): Type correctness.
5766 * glyphs.c (bitmap_to_lisp_data): Type correctness.
5768 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
5769 (xbm_instantiate_1): Type correctness.
5770 (BUILD_GLYPH_INST): Type correctness.
5772 * fileio.c (Fsubstitute_in_file_name): Type correctness.
5775 (decode_coding_sjis):
5776 (decode_coding_big5):
5777 (decode_coding_ucs4):
5778 (decode_coding_utf8):
5779 (decode_coding_iso2022):
5780 (decode_coding_no_conversion):
5781 Make all decoding functions take an Extbyte * arg.
5782 (encode_coding_sjis):
5783 (encode_coding_big5):
5784 (encode_coding_ucs4):
5785 (encode_coding_utf8):
5786 (encode_coding_iso2022):
5787 (encode_coding_no_conversion):
5788 Make all encoding functions take a Bufbyte * arg.
5789 Use size_t instead of unsigned int for memory sizes.
5790 Only cast to unsigned char whenever dereferencing Extbyte *.
5792 * doc.c (unparesseuxify_doc_string): Type correctness.
5794 * console-x.c (split_up_display_spec):
5795 Rewrite without using details of internal string representation.
5796 (x_semi_canonicalize_device_connection): Type correctness.
5799 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
5800 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
5801 (HAVE_XFREE386): Removed.
5803 * buffer.h (DEC_CHARPTR): `const' correctness.
5804 (bufbyte_strcmp): New.
5805 (bufbyte_memcmp): New.
5807 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
5809 * buffer.h (XCHAR_OR_CHAR_INT):
5810 Always use inline function.
5811 Remove redundant type checking assert() - XINT will abort quite nicely.
5813 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
5815 * search.c (Freplace_match): Set newtext to an empty string.
5817 2000-10-10 Martin Buchholz <martin@xemacs.org>
5819 * s/decosf1-3.h: Remove #include of stropts.h
5820 * s/ptx.h: Remove #include of stropts.h
5821 * s/usg5-4.h: Remove #include of stropts.h
5824 Use stropts.h, not sys/stropts.h.
5825 Use strtio.h, not sys/strtio.h.
5827 2000-10-04 Martin Buchholz <martin@xemacs.org>
5829 * XEmacs 21.2.36 is released.
5831 2000-09-21 Andy Piper <andy@xemacs.org>
5833 * glyphs-x.c (x_redisplay_widget): make sure non-structural
5834 changes still involve copying the widget tree.
5835 (update_widget_face): make sure a change is register in the widget
5836 tree. Call update_tab_widget_face appropriately.
5837 (update_tab_widget_face): ditto.
5838 (x_tab_control_redisplay): make sure non-structural changes still
5839 involve copying the widget tree.
5841 2000-08-31 Daiki Ueno <ueno@unixuser.org>
5843 * lread.c (locate_file): Check the path element is non-nil.
5845 2000-10-02 Martin Buchholz <martin@xemacs.org>
5847 * lisp.h: Warning suppression for SCO compilers.
5849 * redisplay-tty.c (reset_tty_modes): Fix crash.
5850 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
5852 2000-09-27 Martin Buchholz <martin@xemacs.org>
5854 Big signal/process handling overhaul. Bugs fixed:
5855 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
5856 M-x comint-kill-subjob should work for both values nil and t of
5857 process-connection-type. It was broken on most platforms.
5858 Testing on Irix and Cygwin still needed. Other plaforms tested.
5859 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
5860 * process-unix.c: Signal/Process handling overhaul.
5861 (pty_name): make 64 bytes, as `expect' does, for paranoia.
5862 (allocate_pty): Use all available modern methods of allocating
5863 ptys, falling back to old style BSD allocation as a last resort.
5864 Use allegedly more secure Unix98 pty allocation by default.
5865 (allocate_pty_the_old_fashioned_way): New. the last resort.
5866 (unix_create_process): Push ptem, ldterm, ttcompat where
5867 available. Autoconfiscate.
5868 (try_to_initialize_subtty): New.
5869 (unix_kill_child_process): Proper signal handling for ptys on most
5870 platforms, using special knowledge of AIX, BSD, etc...
5871 (unix_create_process): Always disconnect_controlling_terminal() for
5872 subprocesses, whether using ptys or not.
5873 * process.h: Remove old getpt-dependent PTY code.
5874 * process.c (Fprocess_send_signal): New, obvious generic function.
5875 (decode_signal): New.
5876 (Finterrupt_process):
5880 (Fcontinue_process):
5881 (Fsignal_process): Use decode_signal.
5882 (process_send_signal):
5883 Many docstring corrections.
5884 Allow any signal to be sent to a process object.
5885 * config.h.in: Add symbols for big signal/process overhaul.
5886 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
5887 * sysproc.h: Include process-related headers, where available:
5888 sys/stropts.h sys/strtio.h pty.h libutil.h
5896 Remove old S&M pty stuff.
5897 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
5898 * systty.h: Simplify cpp hackery, improve comments.
5899 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
5901 * editfns.c (Fformat_time_string):
5902 Be a little more paranoid with the return value of ctime.
5904 * fileio.c (check_executable):
5906 Use symbolic constants X_OK, W_OK.
5908 * console-x.c (split_up_display_spec): Fix a warning.
5910 2000-10-02 Martin Buchholz <martin@xemacs.org>
5912 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
5913 * ntproc.c (sys_spawnve): make_string ==> build_string
5914 Small clarity improvements.
5916 2000-09-30 Martin Buchholz <martin@xemacs.org>
5918 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
5920 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
5922 * config.h.in (HAVE_STRCASECMP): Remove.
5924 2000-09-29 Martin Buchholz <martin@xemacs.org>
5926 * redisplay-output.c (redisplay_output_pixmap):
5927 Cleaner and possibly more 64-bit correct code.
5929 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5931 * dumper.c (pdump_load_finish): move restoration of
5932 `noninteractive1' to emacs.c (main_1).
5933 * emacs.c (main_1): protect LISP-visible command-line flags
5936 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
5938 * Makefile.in.in (versionclean): Use EXE_TARGET and
5939 DUMP_TARGET instead of literal program names.
5941 2000-09-20 Martin Buchholz <martin@xemacs.org>
5943 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
5945 2000-09-19 Martin Buchholz <martin@xemacs.org>
5947 * *: Spelling mega-patch
5949 2000-09-19 Martin Buchholz <martin@xemacs.org>
5951 * fns.c (bad_bad_turtle):
5952 Delete "Eek!" comment, since we fixed the bug to which it refers.
5954 2000-09-16 Martin Buchholz <martin@xemacs.org>
5956 * alloca.c: Replace REGISTER with register.
5958 2000-09-16 Daiki Ueno <ueno@unixuser.org>
5960 * file-coding.c (ucs_to_char): Use countof.
5962 2000-09-16 Martin Buchholz <martin@xemacs.org>
5964 * file-coding.c: (ucs_to_char):
5965 (complex_vars_of_file_coding):
5966 Use countof instead of sizeof.
5967 Use CHECK_NATNUM instead of CHECK_INT.
5969 * sysdep.c (strcasecmp): Remove.
5970 * device-x.c (ascii_strcasecmp): New.
5971 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
5972 Avoid using non-standard non-portable strcasecmp.
5974 2000-09-16 Martin Buchholz <martin@xemacs.org>
5976 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
5977 * font-lock.c: remove reference to emacsfns.h.
5978 * search.c: small doc improvement.
5979 * event-Xt.c: correct file names in comments.
5980 * console-x.h Correct file names in comments.
5981 * frame.c: Correct file names in comments.
5982 * event-stream.c: remove Energize from comments.
5984 2000-09-15 Martin Buchholz <martin@xemacs.org>
5986 * symeval.h (DEFERROR_STANDARD):
5989 (DEFSYMBOL_NO_DUMP):
5990 (DEFSYMBOL_MULTIWORD_PREDICATE):
5991 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
5993 The construct &##name is not sensible C.
5994 Fixes compilation errors with Unixware native compiler.
5996 2000-09-14 Martin Buchholz <martin@xemacs.org>
5998 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
5999 (next_frame_internal): Removed. We now just have next_frame.
6001 Write a simpler and cleaner one-pass algorithm.
6002 Remove called_from_delete_device arg and #ifdefed-out code.
6004 Renamed from prev_frame. Update callers.
6005 Cleaned up to have an analogous implementation to next_frame.
6006 (other_visible_frames_internal): Remove the
6007 called_from_delete_device bogus arg, and hence, remove this
6008 function. Just use other_visible_frames().
6010 * window.c (Fnext_window):
6012 Since next_frame() is guaranteed to return a frame, remove check
6013 for nil inserted in previous patch.
6016 Make code look more like Fnext_window.
6018 Respect the `console' arg when iterating through windows.
6019 Fixes bug: (get-buffer-window buffer t device) not respecting
6021 This function needs more work, as others have pointed out.
6023 * frame.h: Rename prev_frame to previous_frame.
6024 device_matches_console_spec no longer takes a `frame' arg.
6029 Use EMACS_BLOCK_SIGNAL instead of sigblock.
6030 From "Golubev I. N." <gin@mo.msk.ru>.
6032 * make-src-depend: Fix typo.
6034 2000-09-13 Martin Buchholz <martin@xemacs.org>
6036 * window.c (Fnext_window):
6037 next_frame() might return nil, not a frame.
6039 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6041 * frame.c (next_frame_internal):
6042 We've passed a frame if we've passed its device.
6044 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
6045 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
6047 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6049 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6050 Allow option to suppress accelerators in menu/dialog items.
6051 (populate_or_checksum_helper): Pass dialog title through above.
6053 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
6055 * event-msw.c (mswindows_key_to_emacs_keysym):
6056 Add "pause" key, fix "menu" key.
6058 2000-09-09 Martin Buchholz <martin@xemacs.org>
6060 * eval.c (reinit_vars_of_eval):
6061 Increase max_lisp_eval_depth to 1000,
6062 required for thai-xtis.el to byte-compile under some circumstances.
6064 2000-09-04 Martin Buchholz <martin@xemacs.org>
6066 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
6069 2000-09-01 Martin Buchholz <martin@xemacs.org>
6071 * make-src-depend: Make the generated Makefiles smaller.
6073 * s/hpux.h (SETUP_SLAVE_PTY):
6074 Provide a %d in the format string for the errno argument.
6076 * editfns.c (Ftemp_directory):
6078 Avoid buffer overrun on very long file name.
6080 * input-method-xlib.c (XIM_init_device):
6081 6th parameter of XRegisterIMInstantiateCallback has different
6082 pointer types on different OSes, so simply cast to (void *).
6084 * unexhp9k800.c: Warning fixes. Fiddly changes.
6086 * sysdll.c (dll_open):
6087 shl_load will hang hard if passed a NULL filename.
6088 Simply return NULL for compatibility with dlopen.
6089 * sysdll.c: Conform to XEmacs coding standards.
6091 * sysdep.c (get_pty_max_bytes):
6092 Support pty input lines longer than 512 bytes on HP-UX 10.20.
6094 2000-08-31 Martin Buchholz <martin@xemacs.org>
6096 * tooltalk.c: Add #include <syssignal.h>
6098 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
6100 * s/hpux.h: Don't use undefined function sigunblock().
6102 2000-08-31 Martin Buchholz <martin@xemacs.org>
6104 * config.h.in: Add HAVE_BALLOON_HELP.
6105 * emacs.c: Use HAVE_BALLOON_HELP.
6106 * Makefile.in.in (x_objs):
6107 Make Balloon Help conditional on finding shape.h.
6109 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
6111 * syntax.c (regex_emacs_buffer_p): New variable.
6112 * syntax.h (regex_emacs_buffer_p): extern.
6113 * search.c (looking_at_1):
6115 (fast_string_match):
6116 (search_buffer): Set regex_emacs_buffer_p.
6117 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
6118 when before_dot, at_dot, after_dot.
6120 2000-08-23 Andy Piper <andy@xemacs.org>
6122 * gui-x.c (popup_selection_callback): Only set action_occurred
6123 when we really have an image instance.
6124 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
6126 2000-08-23 Andy Piper <andy@xemacs.org>
6128 * gui-msw.c (mswindows_handle_gui_wm_command): set
6130 * gui-x.c (popup_selection_callback): ditto.
6132 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
6133 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
6134 (struct Lisp_Image_Instance): add action_occurred flag.
6136 * glyphs.c (redisplay_subwindow): use action_occurred flag.
6137 (image_instance_changed): ditto.
6138 (reset_frame_subwindow_instance_cache): only unmap windows - do
6139 not remove them from the cache also.
6141 * glyphs-widget.c (tab_control_update): better debug.
6142 (progress_gauge_update): ditto.
6143 (layout_update): ditto.
6144 (layout_instantiate): ditto.
6145 (tab_control_order_only_changed): cope with null pending items.
6147 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
6148 debug. Force selection of an item when an action occurred. Cope
6149 with null pending_items.
6150 (mswindows_progress_gauge_redisplay): better debug.
6151 * glyphs-x.c (x_tab_control_redisplay): ditto.
6153 * redisplay.c (redisplay_frame): reset the frame cache if the
6156 * window.c (Fset_window_configuration): potentially re-enable
6158 (window_unmap_subwindows): need to finalize instances here since
6159 it is only used in mark_window_as_deleted.
6161 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
6163 * nas.c (SndOpenDataForReading):
6164 nas.c (WaveOpenDataForReading):
6165 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
6166 Somehow escaped from the 2000-08-14 patch.
6168 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6170 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
6171 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
6173 2000-08-21 Andy Piper <andy@xemacs.org>
6175 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
6176 window if it is not already displayed.
6178 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
6179 it is not already displayed.
6181 * window.c (Fset_window_configuration): don't reset the frame
6184 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
6185 instances from the frame cache if we are actually finalizing them.
6186 (reset_frame_subwindow_instance_cache): reset frame cache only
6187 after unmapping everything.
6188 (map_subwindow): set displayed flag after mapping.
6190 2000-08-21 Martin Buchholz <martin@xemacs.org>
6192 * data.c (indirect_function):
6193 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
6195 * eval.c (function_argcount):
6196 Use original function when signaling errors.
6198 2000-08-18 Andy Piper <andy@xemacs.org>
6200 * frame.c (delete_frame_internal): use new
6201 free_frame_subwindow_instances name.
6203 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
6204 (add_tab_item): make return type correct.
6205 (mswindows_tab_control_instantiate): assert index of tab.
6206 (mswindows_tab_control_redisplay): Re-code to use
6207 gui_item_equal_sans_selected and gui_item_list_find_selected.
6209 * glyphs-widget.c (tab_control_update): Correct comment.
6211 * window.c (window_unmap_subwindows): use new
6212 unmap_subwindow_instance_cache_mapper.
6213 (window_unmap_subwindows_cache_mapper): deleted.
6214 (Fset_window_configuration): comparisons should now be with
6215 EQ. Preserve the subwindow instance cache across configuration
6217 (allocate_window): ditto.
6218 (make_dummy_parent): ditto.
6220 * glyphs.c (free_frame_subwindow_instances): rename from
6221 free_frame_subwindow_instance_cache. finalize all instances rather
6222 than just those in the display cache.
6223 (finalize_all_subwindow_instances): walk windows unmapping and
6224 finalizing subwindows.
6225 (unmap_subwindow_instance_cache_mapper): moved from
6226 window.c. Allow finalization as well as unmapping.
6228 * gui.c (gui_item_list_find_selected): new function.
6230 * gui.h (gui_item_list_find_selected): declare.
6232 * glyphs-x.c (x_tab_control_redisplay): pick tab
6233 explicitly. Re-code to use gui_item_equal_sans_selected and
6234 gui_item_list_find_selected.
6236 * glyphs-x.h: add lwlib-utils.h
6238 * buffer.c (Frecord_buffer): undo previous change.
6240 2000-08-09 Vin Shelton <acs@xemacs.org>
6242 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
6243 possible. Create temporary files more securely. The patch was
6244 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
6245 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
6246 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
6249 2000-08-07 Ben Wing <ben@xemacs.org>
6251 * getloadavg.c: remove duplicate (and windows-breaking)
6252 includes of fcntl.h and sys/file.h.
6254 * nt.c: remove duplicate getloadavg() definition.
6256 * sysdll.h (Qdll_filename_encoding): add missing stand-in
6259 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
6261 * eval.c (function_argcount): If function needs to be autoloaded
6262 actually use the loaded definition.
6265 2000-08-05 Ben Wing <ben@xemacs.org>
6267 * getloadavg.c: add prototype for getloadavg(). remove
6268 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
6269 of the code). remove duplicate header includes.
6271 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
6273 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
6274 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
6275 useful load average.
6277 * alloc.c (reinit_alloc_once_early): removed references to
6278 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
6279 the lisp vars are the only things referencing the malloc_sbrk_*
6280 vars, and they were already if 0'd out. these vars only exist
6281 in the older malloc.c, which is basically unused, and they're
6282 only for informational purposes.
6284 * m\*.h: removed useless VIRT_ADDR_VARIES.
6286 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6288 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6290 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6291 color if the image is a mono pixmap.
6293 2000-07-30 Ben Wing <ben@xemacs.org>
6295 * Makefile.in.in (release):
6298 * buffer.c (directory_is_current_directory):
6299 * dired-msw.c (mswindows_get_files):
6301 * dired.c (Fdirectory_files):
6302 * dired.c (file_name_completion_stat):
6303 * dired.c (Ffile_attributes):
6304 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6305 preprocessor tricks, to avoid problems on some machines
6308 * callproc.c (egetenv): GC docs.
6311 * console-msw.h (struct mswindows_dialog_id):
6312 * lrecord.h (lrecord_type):
6313 New object for use with MSW dialogs.
6315 * console.h (struct console_methods):
6316 New enable/disable frame methods, for proper modal dialogs.
6318 * device-msw.c (msprinter_default_printer): Fix to follow
6319 proper Mule conventions.
6322 * device-msw.c (signal_open_printer_error):
6323 * device-msw.c (msprinter_init_device):
6324 * device-msw.c (ensure_not_printing):
6325 * device-msw.c (plist_get_margin):
6326 * device-msw.c (Fmsprinter_select_settings):
6327 * device-msw.c (finalize_devmode):
6328 * device-msw.c (Fmsprinter_settings_despecialize):
6329 * device-msw.c (signal_enum_priner_error):
6330 * extents.c (decode_extent):
6331 * extents.c (decode_map_extents_flags):
6332 * extents.c (decode_extent_at_flag):
6333 * extents.c (Fextent_at):
6334 * extents.c (Fextents_at):
6335 * extents.c (symbol_to_glyph_layout):
6336 [[[[2]]]] Use structured errors.
6339 * dialog-msw.c (mswindows_is_dialog_msg):
6340 * dialog-msw.c (mark_mswindows_dialog_id):
6341 * dialog-msw.c (dialog_proc):
6342 * dialog-msw.c (handle_question_dialog_box):
6343 * dialog-msw.c (syms_of_dialog_mswindows):
6344 Define new object to clean up marking; use it as a dialog identifier.
6345 Call new delete-dialog-box-hook.
6347 * dialog-x.c (dbox_selection_callback):
6348 * dialog-x.c (dbox_descriptor_to_widget_value):
6349 * dialog-x.c (x_make_dialog_box_internal):
6350 Call new delete-dialog-box-hook.
6354 * dialog.c (syms_of_dialog):
6355 * dialog.c (vars_of_dialog):
6356 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6359 * eval.c (signal_call_debugger):
6360 when noninteractive, output stack traces on the console instead
6361 of in a (never-seen) buffer.
6363 * eval.c (signal_type_error):
6364 * eval.c (invalid_argument_2):
6366 new funs for use w/structured errors.
6369 * event-Xt.c (x_to_emacs_keysym):
6370 * event-Xt.c (describe_event):
6371 * event-Xt.c (emacs_Xt_event_handler):
6372 * event-Xt.c (vars_of_event_Xt):
6374 * event-msw.c (mswindows_wnd_proc):
6375 * event-msw.c (vars_of_event_mswindows):
6376 rename {x,mswindows}-debug-events to debug-{}-events for
6377 consistency with other debug-foo variables.
6380 document next-event more clearly.
6382 * fileio.c (Ffile_name_directory):
6383 * fileio.c (Ffile_name_nondirectory):
6384 * fileio.c (Funhandled_file_name_directory):
6385 * fileio.c (file_name_as_directory):
6386 * fileio.c (Ffile_name_as_directory):
6387 * fileio.c (directory_file_name):
6388 * fileio.c (Fdirectory_file_name):
6389 * fileio.c (Fmake_temp_name):
6390 * fileio.c (Ffile_truename):
6391 * fileio.c (Fsubstitute_in_file_name):
6392 * fileio.c (expand_and_dir_to_file):
6393 * fileio.c (barf_or_query_if_file_exists):
6394 * fileio.c (check_executable):
6395 * fileio.c (Ffile_exists_p):
6396 * fileio.c (Ffile_writable_p):
6397 * fileio.c (Ffile_directory_p):
6398 * fileio.c (Ffile_regular_p):
6399 * fileio.c (Ffile_modes):
6400 * fileio.c (Ffile_newer_than_file_p):
6401 * fileio.c (Fverify_visited_file_modtime):
6402 * fileio.c (Fset_visited_file_modtime):
6403 * fileio.c (auto_save_1):
6408 * frame-msw.c (mswindows_init_frame_1):
6409 * frame-msw.c (mswindows_enable_frame):
6410 * frame-msw.c (error_frame_unsizable):
6411 * frame-msw.c (msprinter_init_frame_1):
6412 * frame-msw.c (msprinter_init_frame_3):
6413 * frame-msw.c (console_type_create_frame_mswindows):
6415 implement new enable/disable frame methods.
6418 * frame-x.c (x_enable_frame):
6419 * frame-x.c (console_type_create_frame_x):
6420 implement new enable/disable frame methods.
6423 * frame.c (Fdisable_frame):
6424 * frame.c (syms_of_frame):
6425 * frame.h (struct frame):
6426 implement new enable/disable frame methods/functions.
6431 * glyphs-msw.c (mswindows_widget_instantiate):
6432 comment that initial-focus should be implemented.
6435 * glyphs-widget.c (check_valid_instantiator):
6436 * glyphs-widget.c (check_valid_orientation):
6437 * glyphs-widget.c (check_valid_tab_orientation):
6438 * glyphs-widget.c (check_valid_justification):
6439 * glyphs-widget.c (check_valid_border):
6440 * glyphs-widget.c (check_valid_callback):
6441 * glyphs-widget.c (check_valid_int_or_function):
6442 * glyphs-widget.c (check_valid_string_or_vector):
6443 * glyphs-widget.c (check_valid_item_list_1):
6444 * glyphs-widget.c (widget_validate):
6445 * glyphs-widget.c (combo_box_validate):
6446 * glyphs-widget.c (widget_instantiate):
6447 * glyphs-widget.c (syms_of_glyphs_widget):
6448 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6449 * glyphs-widget.c (image_instantiator_combo_box):
6450 * glyphs-widget.c (image_instantiator_scrollbar):
6451 * glyphs-widget.c (image_instantiator_tab_control):
6452 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6454 support (unimplemented) keyword initial-focus.
6455 reindent long macros.
6457 * glyphs-x.c (x_redisplay_widget):
6458 * glyphs-x.c (x_button_instantiate):
6459 * glyphs-x.c (x_button_redisplay):
6460 * glyphs-x.c (x_progress_gauge_instantiate):
6461 * glyphs-x.c (x_edit_field_instantiate):
6462 * glyphs-x.c (x_combo_box_instantiate):
6463 * glyphs-x.c (x_tab_control_instantiate):
6464 * glyphs-x.c (x_label_instantiate):
6466 * gui-x.c (button_item_to_widget_value):
6467 * gui-x.c (gui_items_to_widget_values_1):
6468 * gui-x.c (gui_item_children_to_widget_values):
6469 * gui-x.c (gui_items_to_widget_values):
6471 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6472 add new flag to gui-parsing routines to indicate whether
6473 accelerator specs should be supported.
6475 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6477 * glyphs.h (struct Lisp_Image_Instance):
6478 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6479 add initial-focus flag.
6482 * gui.c (syms_of_gui):
6483 * gui.c (vars_of_gui):
6484 clean up menu-no-selection-hook.
6487 support delete-dialog-box-hook.
6489 * lread.c (Fload_internal):
6490 * lread.c (locate_file_in_directory_mapper):
6494 * lrecord.h (struct toolbar_button):
6495 * lrecord.h (syms_of_toolbar):
6496 document how to create a new object.
6498 * menubar-msw.c (mswindows_char_is_accelerator):
6499 may be called on frames w/o menus.
6501 * menubar.c (vars_of_menubar):
6502 clean up :filter docs.
6509 * process-nt.c (validate_signal_number):
6510 * process-nt.c (signal_cannot_launch):
6511 * process-nt.c (nt_create_process):
6512 * process-nt.c (nt_send_process):
6513 * process-nt.c (nt_kill_child_process):
6514 * process-nt.c (nt_open_network_stream):
6515 * process-nt.c (syms_of_process_nt):
6517 delete quote-handling. call new lisp code that does it better.
6519 * process-unix.c (connect_to_file_descriptor):
6520 * process-unix.c (allocate_pty):
6521 * process-unix.c (unix_send_process):
6522 * process-unix.c (unix_kill_child_process):
6523 * process-unix.c (unix_open_network_stream):
6524 * process-unix.c (unix_open_multicast_group):
6528 * process.c (Fstart_process_internal):
6529 (2). need to canonicalize process path even if absolute.
6531 * select-msw.c (symbol_to_ms_cf):
6532 * select-msw.c (ms_cf_to_symbol):
6533 * select-msw.c (cf_is_autofreed):
6534 * select-msw.c (mswindows_destroy_selection):
6536 * select.c (syms_of_select):
6538 support dibv5, fix bugs. (from Mike Alexander)
6540 * select.c (Fget_selection_internal):
6541 * select.c (select_convert_out):
6544 * sysdep.c (xemacs_stat):
6549 but keep original stat() here because we provide encapsulation
6553 * sysfile.h (fstat):
6554 remove stat garbage.
6558 don't include tchar.h. it's inappropriate because it makes
6559 compile-time distinctions when we want runtime distinctions.
6560 (we provide our own tchar replacements)
6563 use default object printer for toolbar-button.
6566 make sure we don't encapsulate.
6568 * window.c (vars_of_window):
6569 emphasize that temp-buffer-show-hook is obsolete.
6571 2000-08-05 Martin Buchholz <martin@xemacs.org>
6573 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6574 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6576 * events.c (Fevent_timestamp_lessp):
6577 Not 64-bit clean. Use EMACS_INT, not int.
6579 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6581 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6582 unsigned int and changed the last enum to
6583 lrecord_type_last_built_in_type.
6584 (lrecord_implementations_table): changed prototype to know how
6585 long the array is supposed to be.
6586 (lrecord_type_count): new unsigned int to keep track of the
6587 current number of lisp lrecord types.
6588 (DEFINE_EXTERNAL_LRECORD):
6589 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6590 dynamic-modules to declare new lisp types. They are the same
6591 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6592 int for each new type, and increment lrecord_type_count by 1.
6594 * alloc.c (lrecord_implementations_table): Changed to reference
6595 lrecord_type_last_built_in_type for the size of the array.
6596 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6598 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6600 * glyphs.h (check_valid_item_list): Renamed from
6601 check_valid_item_list_1.
6603 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6605 * select.c (Qselect_coerce): New.
6606 * select.c (Vselection_coercion_alist): New.
6607 * select.c (syms_of_select): Declare.
6608 * select.c (get-selection-internal): Use it.
6609 Use the new select-coerce functionality.
6611 * select.c (select_coerce): New.
6612 * select.h (select_coerce): Declare.
6613 New function to coerce one type of data into another.
6615 2000-08-03 Martin Buchholz <martin@xemacs.org>
6617 * callproc.c (Fcall_process_internal):
6618 (Fcall_process_internal):
6619 * process-unix.c (unix_create_process):
6620 Save and restore the value of errno, so that error messages are accurate.
6622 2000-08-01 Martin Buchholz <martin@xemacs.org>
6624 * elhash.c (print_hash_table):
6625 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6626 Prettify docstrings and indentation.
6628 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6630 * window.c (Fwindow_pixel_edges): Subtract frame border and
6633 2000-07-31 Andy Piper <andy@xemacs.org>
6635 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6636 will acknowledge the change.
6638 * glyphs.h: declare tab_control_order_only_changed.
6640 * glyphs-x.c (x_tab_control_redisplay): use
6641 tab_control_order_only_changed.
6643 * glyphs-widget.c (tab_control_order_only_changed): new function.
6645 * glyphs-msw.c (mswindows_tab_control_redisplay): use
6646 tab_control_order_only_changed.
6648 * gui.c (gui_item_equal_sans_selected): new function.
6649 (gui_item_equal): use it.
6651 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
6652 :properties in favor of :items..
6654 * glyphs-widget.c (check_valid_item_list): rename from
6655 check_valid_item_list_1.
6656 (check_valid_item_list_1): renamed.
6657 (combo_box_validate): deprecate :properties in favor of :items.
6658 (widget_instantiate): ditto.
6659 (tab_control_update): ditto.
6660 (image_instantiator_combo_box): ditto.
6661 (image_instantiator_tree_view): ditto.
6662 (image_instantiator_tab_control): ditto.
6663 (layout_post_instantiate): remove dead code.
6665 * print.c (debug_print_no_newline): only write to debugger if in
6668 * elhash.c (Fmake_hash_table): update doc string.
6670 * event-msw.c (mswindows_wnd_proc): don't allow processing of
6671 messages whilst in GC. This at least stops XEmacs crashing but has
6672 the potential for wierd behaviour.
6674 2000-07-31 Martin Buchholz <martin@xemacs.org>
6677 Make existence of s&m files optional.
6679 * s/bsd386.h: Remove HAVE_GETLOADAVG.
6680 * s/freebsd.h: Remove HAVE_GETLOADAVG.
6681 * s/gnu.h: Remove HAVE_GETLOADAVG.
6682 * s/netbsd.h: Remove HAVE_GETLOADAVG.
6683 * s/sol2.h: Remove HAVE_GETLOADAVG.
6684 * lisp.h: Remove getloadavg() declaration.
6686 Include <sys/loadavg.h> if available.
6687 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
6688 * config.h.in: Group together getloadavg()-related macros.
6689 Use only configure-time tests to detect getloadavg().
6691 2000-07-30 Martin Buchholz <martin@xemacs.org>
6693 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
6695 2000-07-25 Andy Piper <andy@xemacs.org>
6697 * syswindows.h: add tchar.h for native builds.
6699 * frame.c (syms_of_frame): remove set-glyph-image.
6701 * general-slots.h: add Qset_glyph_image.
6703 * glyphs-widget.c (layout_update): add domain arg to
6705 (syms_of_glyphs_widget): remove set-glyph-image.
6707 2000-07-23 Ben Wing <ben@xemacs.org>
6709 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
6712 2000-07-22 Andy Piper <andy@xemacs.org>
6714 * symsinit.h: add syms_of_win32().
6716 * gui-msw.c (syms_of_gui_mswindows): remove
6717 Fmswindows_shell_execute.
6718 (Fmswindows_shell_execute): moved to win32.c.
6720 * emacs.c (main_1): add syms_of_win32 ().
6722 * win32.c (init_potentially_nonexistent_functions): rewrite in
6723 compiler-friendly terms.
6724 (Fmswindows_shell_execute): move here from gui-msw.c.
6725 (syms_of_win32): new.
6727 * device-msw.c (Fmswindows_printer_list): clean up args to
6729 Don't include tchar under cygwin or mingw.
6730 (msprinter_default_printer): make cygwin-friendly.
6732 2000-07-21 Andy Piper <andy@xemacs.org>
6734 * glyphs-widget.c (image_instantiator_tree_view): use tab
6735 control's update function.
6736 (layout_property): new function. Retrieve items.
6738 * glyphs-msw.c (mswindows_tree_view_redisplay): new
6739 function. Re-populate the tree view from the pending items.
6741 * glyphs.c (instantiate_image_instantiator): Make sure the domain
6742 is designated the parent if the domain is an image instance. This
6743 is needed so that dirtiness can be cascade up the hierarchy and
6744 thus for layout children to be redisplayed correctly.
6745 (allocate_image_instance): rename glyph -> parent.
6747 * redisplay.h: change redisplay_output_layout signature.
6749 * redisplay-msw.c (mswindows_output_display_block): use domain
6752 * redisplay-x.c (x_output_display_block): use domain arg.
6754 2000-07-10 Andy Piper <andy@xemacs.org>
6756 * window.c (Fset_window_configuration): add comment.
6758 * redisplay-output.c (compare_runes):
6759 (redisplay_output_subwindow): redisplay rather than update subwindow.
6760 (redisplay_output_layout): ditto.
6762 * redisplay-msw.c (mswindows_frame_output_end):
6763 (mswindows_frame_output_end): make defer window pos optional.
6765 * lisp.h: add Flast.
6767 * glyphs.h (struct image_instantiator_methods): add dest_mask top
6768 normalize method. Change update method to be for changed
6769 instantiators. Add redisplay method. Change signature of layout
6771 (struct Lisp_Image_Instance): add instantiator.
6772 (IMAGE_INSTANCE_INSTANTIATOR): new.
6773 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
6774 (XIMAGE_INSTANCE_INSTANTIATOR): new.
6775 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
6778 (find_instantiator_differences): new function.
6779 (Fset_instantiator_property): new convenience function.
6780 (check_image_instance_structure): strictly check for vector
6782 (normalize_image_instantiator): make non-static.
6783 (instantiate_image_instantiator): pass on dest_mask and use new
6784 signatures for image_instance_layout and friends.
6785 (mark_image_instance): mark the instantiator. Mark the subwindow
6786 face not the widget face.
6787 (image_instance_equal): add instantiator.
6788 (image_instance_hash): ditto.
6789 (allocate_image_instance): ditto.
6790 (Fset_image_instance_property): removed.
6791 (Fimage_instance_file_name): ditto.
6792 (Fcolorize_image_instance): ditto.
6793 (image_instance_layout): add offsets to be set.
6794 (update_image_instance): new function. update an image instance
6795 from its changed instantiator.
6796 (inherit_normalize): add dest_mask.
6797 (xbm_normalize): ditto.
6798 (xface_normalize): ditto.
6799 (xpm_normalize): ditto.
6800 (text_update): set_property -> update.
6801 (image_instantiate): use the glyph identity as a hash key, not the
6803 (glyph_width): use new image_instance_layout signature.
6804 (glyph_ascent): ditto.
6805 (glyph_descent): ditto.
6806 (glyph_height): ditto.
6807 (glyph_query_geometry): ressurrect.
6808 (glyph_layout): ditto.
6809 (redisplay_subwindow): update -> redisplay.
6810 (syms_of_glyphs): add Fset_instantiator_property.
6811 (image_instantiator_format_create): set_property -> update.
6814 (autodetect_normalize): add dest_maks to signature.
6815 (x_redisplay_subwindow): update -> redisplay.
6816 (x_redisplay_widget): ditto.
6817 (x_button_redisplay): ditto.
6818 (x_progress_gauge_redisplay): ditto.
6819 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
6821 (console_type_create_glyphs_x): update -> redisplay.
6822 (image_instantiator_format_create_glyphs_x): ditto.
6825 (check_valid_instantiator): disallow glyphs in the instantiator,
6826 they must now be vectors.
6827 (check_valid_instantiator_list): ditto.
6828 (glyph_instantiator_to_glyph): use internal symbol rather than
6830 (widget_update): renamed from widget_set_property. Call cascaded
6832 (redisplay_widget): renamed from update_widget.
6833 (widget_layout): image_instance_layout now takes position as well
6835 (widget_normalize): ditto.
6836 (widget_instantiate): ditto.
6837 (tab_control_query_geometry) ditto.:
6838 (tab_control_update): renamed from tab_control_set_property.
6839 (progress_gauge_update): set_property -> update.
6840 (layout_normalize): rewrite so that child instantiators are
6842 (layout_update): new function. Create glyphs from the normalized
6843 children and cope with any other layout keywords. We do not
6844 instantiate children here that will be take care of by
6845 redisplay_output_layout.
6846 (layout_instantiate): call layout_update and not much else.
6847 (layout_post_instantiate): not sure whether this is needed
6849 (layout_query_geometry): query glyph geometry rather than
6850 image_instance geometry.
6851 (layout_layout): set offsets from pass in parameters. Use glyph
6852 geometry and layout functions rather than image instance ones.
6853 (native_layout_layout): ditto.
6854 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
6855 (image_instantiator_widget): set_property -> update.
6856 (image_instantiator_buttons): ditto.
6857 (image_instantiator_progress_guage): ditto.
6858 (image_instantiator_tab_control): ditto.
6859 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
6860 (image_instantiator_layout): add update method.
6862 * glyphs-msw.c (bmp_normalize):
6863 (mswindows_resource_normalize): add dest_mask so that it can be
6864 proprogated by layout_normalize.
6865 (begin_defer_window_pos): make optional because it may not be the
6866 right thing to do and it introduces differences with X.
6867 (mswindows_unmap_subwindow): ditto.
6868 (mswindows_map_subwindow): ditto.
6869 (mswindows_redisplay_subwindow): renamed from
6870 mswindows_update_subwindow.
6871 (mswindows_redisplay_widget): ditto.
6872 (mswindows_button_redisplay): renamed from
6873 mswindows_button_update. Update is now what the instantiation
6874 function does for a changed instantiator.
6875 (mswindows_progress_gauge_instantiate): set the progress value
6876 here if appropriate.
6877 (mswindows_tab_control_redisplay): cope with re-ordering of the
6878 members of the tab widget by simply selecting the new top
6879 widget. This makes things appear ok if you click on a tab.
6880 (mswindows_combo_box_instantiate): image_instance_layout now takes
6881 position as well as size.
6882 (mswindows_progress_gauge_redisplay): renamed from
6883 mswindows_progress_gauge_update.
6884 (console_type_create_glyphs_mswindows): fix update -> redisplay.
6885 (image_instantiator_format_create_glyphs_mswindows): ditto.
6887 * glyphs-eimage.c (jpeg_normalize):
6890 (tiff_normalize): add dest_mask so that it can be proprogated by
6895 (hash_table_weakness_validate):
6896 (decode_hash_table_weakness):
6897 (Fhash_table_weakness):
6899 (syms_of_elhash): use Ben's naming scheme for hashtable types..
6901 * console.h (struct console_methods): move update_* to
6904 2000-07-20 Ben Wing <ben@xemacs.org>
6906 * *.[ch] (XSETOBJ): remove unused middle argument.
6907 lisp-disunion.h: correct wrap_object() to one argument.
6909 2000-07-15 Ben Wing <ben@xemacs.org>
6912 * s/cygwin32.h (CYGWIN_CONV_PATH):
6913 Add missing logb prototype for v1.1.
6914 Use post-b20 names and alias to pre-b20 names when pre-b20.
6916 * s/windowsnt.h: [5].
6918 2000-07-15 Ben Wing <ben@xemacs.org>
6920 * Makefile.in.in (x_objs):
6921 * Makefile.in.in (sheap_objs):
6922 * Makefile.in.in (objs):
6923 added win32.o, cosmetic cleanups.
6925 * alloc.c (Fmake_byte_code):
6926 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
6927 etc. macros which declare their own args now.
6929 * alloc.c (syms_of_alloc):
6930 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
6933 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
6935 * buffer.c (Fget_file_buffer):
6936 Fixed GCPRO problem.
6938 * buffer.c (get_truename_buffer):
6939 Fixed comment about GC checking.
6941 * buffer.c (syms_of_buffer):
6942 Undeclared those dedicated frame funs.
6946 Define convenience macros for internal/external conversions.
6947 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
6948 and Qenvironment_variable_encoding for cleaner code.
6951 Remove dedicated-frame; in lisp.
6953 * bytecode.c (funcall_compiled_function):
6956 * bytecode.c (syms_of_bytecode):
6960 * console-msw.c (mswindows_show_console): Rewrote.
6962 * console-msw.c (Fmswindows_debugging_output): New.
6963 Sends to OutputDebugString (special MSWin debugger interface).
6965 * console-msw.c (Fmswindows_message_box):
6966 Fixed stupid bugs so it works when called from kill-emacs.
6968 * console-msw.c (syms_of_console_mswindows):
6969 Declare Fmswindows_debugging_output.
6972 New MSWin prototypes.
6974 * console-msw.h (struct mswindows_frame):
6975 New entry last-click-mods for improved button-modifier support.
6977 * console-msw.h (FRAME_MSWINDOWS_POPUP):
6978 New struct entry `popup' with corresponding accessor.
6981 * console-x.c (split_up_display_spec):
6982 * console-x.c (get_display_arg_connection):
6983 * console-x.c (x_semi_canonicalize_console_connection):
6984 * console-x.c (x_canonicalize_device_connection):
6985 [[[6]]]: Change char to more specific type.
6986 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
6988 * console-x.c (x_semi_canonicalize_console_connection):
6989 * console-x.c (x_canonicalize_device_connection):
6990 [[[9]]]: Fix up error signalling to use new structured error system.
6993 [[[4]]]: Define codesys aliases:
6994 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
6995 Qx_color_name_encoding, Qx_display_name_encoding.
6997 * console.h (struct console_methods):
6998 New method make_dialog_box_internal supersedes older
6999 popup_dialog_box method.
7002 Define many new errors, part of new structured errors.
7004 * data.c (init_errors_once_early):
7005 * data.c (syms_of_data):
7008 * device-msw.c (mswindows_init_device):
7009 [[[5]]]: Cleanup to support NT 3.51.
7011 * device-msw.c (decode_devmode): Cleanup.
7013 * device-msw.c (mswindows_handle_print_setup_dialog_box):
7014 * device-msw.c (mswindows_handle_print_dialog_box):
7015 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7016 * device-msw.c (syms_of_device_mswindows):
7017 Delete the dialog box primitives recently introduced by Kirill and
7018 instead interface to general dialog box interface.
7021 * device-x.c (compute_x_app_name):
7022 * device-x.c (x_init_device):
7023 * device-x.c (Fx_valid_keysym_name_p):
7024 * device-x.c (Fx_set_font_path):
7028 * device.h (wrap_device): New.
7029 First of its kind; meant to replace XSETDEVICE.
7031 * dialog-msw.c: Many file-dialog symbols.
7033 * dialog-msw.c (mswindows_register_popup_frame): New.
7034 * dialog-msw.c (mswindows_is_dialog_msg): New.
7035 For supporting kbd traversal in dialog boxes.
7037 * dialog-msw.c (dialog_proc):
7038 Support hitting ESC in dialogs.
7040 * dialog-msw.c (struct):
7041 Common dialog box errors.
7043 * dialog-msw.c (handle_file_dialog_box): New.
7044 Add file dialog code.
7046 * dialog-msw.c (handle_question_dialog_box):
7047 Redo existing code to support new question dialog syntax.
7049 * dialog-msw.c (console_type_create_dialog_mswindows):
7050 We support new dialog console method.
7052 * dialog-msw.c (syms_of_dialog_mswindows):
7053 * dialog-msw.c (vars_of_dialog_mswindows):
7054 New file dialog symbols, vars.
7057 * dialog-x.c (maybe_run_dbox_text_callback):
7058 * dialog-x.c (dbox_descriptor_to_widget_value):
7059 * dialog-x.c (x_make_dialog_box_internal):
7060 * dialog-x.c (console_type_create_dialog_x):
7061 Mule-ize entire file.
7062 Redo to support question dialog syntax.
7066 * dialog.c (Fmake_dialog_box_internal):
7067 * dialog.c (syms_of_dialog):
7068 Kill old popup-dialog-box, replace with new primitive.
7069 Just call device method or signal error.
7071 * eldap.c (Fldap_open):
7072 * eldap.c (Fldap_search_basic):
7073 * eldap.c (Fldap_add):
7074 * eldap.c (Fldap_modify):
7079 * emacs.c (make_arg_list_1):
7080 * emacs.c (make_arg_list):
7081 Mule-ize call to dll_init().
7085 * emacs.c (make_argc_argv):
7086 * emacs.c (free_argc_argv):
7087 * emacs.c (init_cmdargs):
7089 * emacs.c (Fkill_emacs):
7090 * emacs.c (Fdump_emacs):
7091 Update comments about what can be used in syms_* etc.
7092 Call init_win32() when necessary.
7093 Fix up MS Win dialog box in kill-buffer to actually work right.
7104 * eval.c (condition_case_3):
7106 * eval.c (function_argcount):
7107 * eval.c (funcall_lambda):
7110 * eval.c (type_error): New.
7111 * eval.c (maybe_type_error): New.
7112 * eval.c (continuable_type_error): New.
7113 * eval.c (maybe_continuable_type_error): New.
7114 * eval.c (type_error_with_frob): New.
7115 * eval.c (maybe_type_error_with_frob): New.
7116 * eval.c (continuable_type_error_with_frob): New.
7117 * eval.c (maybe_continuable_type_error_with_frob): New.
7118 New functions for use with structured errors.
7121 * event-Xt.c (x_event_to_emacs_event):
7122 Buttons are now modifiers too.
7124 * event-Xt.c (emacs_Xt_current_event_timestamp):
7125 Implement new event method.
7126 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
7129 * event-msw.c (ntpipe_shove_writer): [5].
7130 * event-msw.c (mswindows_enqueue_mouse_button_event):
7131 * event-msw.c (mswindows_drain_windows_queue):
7132 * event-msw.c (mswindows_wnd_proc): [7].
7133 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
7134 * event-msw.c (mswindows_modifier_state):
7135 Throughout: support new button modifiers.
7137 * event-msw.c (emacs_mswindows_current_event_timestamp):
7138 Implement new event method.
7139 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
7142 * event-stream.c (event_stream_current_event_timestamp): New.
7143 * event-stream.c (maybe_kbd_translate): New functionality.
7144 * event-stream.c (vars_of_event_stream):
7145 Document new kbd-translate-table functionality.
7147 * event-stream.c (Fcurrent_event_timestamp): New.
7148 New primitive for use in fabricated events.
7149 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
7151 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
7154 * events.c (Fmake_event):
7155 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
7159 * events.c (format_event_object): fix gcc warnings.
7161 * events.c (Fevent_timestamp): Document new primitives.
7163 * events.c (TIMESTAMP_HALFSPACE): New.
7165 * events.c (Fevent_timestamp_lessp): New. New primitive for
7166 comparing timestamps correctly (half-space algorithm).
7168 * events.c (Fevent_modifier_bits): Doc fix.
7170 * events.c (Fevent_modifiers): Major doc addition.
7171 * events.c (event_x_y_pixel_internal): Typo fix.
7172 * events.c (syms_of_events): Declare new primitives.
7175 Update long comment for button modifiers, timestamps.
7177 * events.h (struct event_stream):
7178 New current_event_timestamp method.
7181 * extents.c (extent_in_region_p):
7182 * extents.c (decode_extent):
7183 * extents.c (Fset_extent_parent):
7184 * extents.c (decode_map_extents_flags):
7188 * extents.c (struct extent_at_arg):
7189 * extents.c (decode_extent_at_flag):
7190 * extents.c (extent_at_mapper):
7191 * extents.c (extent_at_bytind):
7192 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
7193 * extents.c (Fextents_at): New primitive. [9].
7194 * extents.c (symbol_to_glyph_layout): [9].
7195 Support new primitive `extents-at'.
7198 * extents.c (get_text_property_bytind):
7199 extent_at_bytind has another arg.
7202 * extents.c (syms_of_extents): New primitive.
7204 * file-coding.c (Fmake_coding_system): [1].
7205 * file-coding.c (subsidiary_coding_system): fix gcc warning
7206 * file-coding.c (syms_of_file_coding): [2].
7208 * fileio.c (Fexpand_file_name):
7209 * fileio.c (Fsysnetunam):
7210 * fileio.c (Ffile_exists_p):
7211 * fileio.c (Ffile_executable_p):
7212 * fileio.c (Fverify_visited_file_modtime):
7215 * fileio.c (syms_of_fileio): [2].
7217 * filelock.c (lock_file_1):
7218 * filelock.c (current_lock_owner):
7219 * filelock.c (lock_if_free):
7220 * filelock.c (lock_file):
7221 * filelock.c (unlock_file):
7224 * fns.c (concat): Fix gcc warning.
7227 * fns.c (Fold_member):
7229 * fns.c (Fold_memq):
7230 * fns.c (memq_no_quit):
7232 * fns.c (Fold_assoc):
7234 * fns.c (Fold_assq):
7235 * fns.c (assq_no_quit):
7237 * fns.c (Fold_rassoc):
7239 * fns.c (Fold_rassq):
7240 * fns.c (rassq_no_quit):
7242 * fns.c (Fold_delete):
7244 * fns.c (Fold_delq):
7245 * fns.c (delq_no_quit):
7246 * fns.c (Fremassoc):
7248 * fns.c (remassq_no_quit):
7249 * fns.c (Fremrassoc):
7250 * fns.c (Fremrassq):
7251 * fns.c (remrassq_no_quit):
7256 * frame-msw.c (mswindows_init_frame_1):
7257 * frame-msw.c (mswindows_delete_frame):
7258 Register popups with dialog code so keyboard traversing works.
7260 * frame-tty.c (tty_raise_frame_no_select): [1].
7263 * frame-x.c (x_set_frame_text_value):
7264 * frame-x.c (x_set_frame_properties):
7265 * frame-x.c (x_create_widgets):
7269 * frame.c (Fmouse_pixel_position): Minor doc fixes.
7271 * frame.h (wrap_frame): New.
7272 Macro like wrap_device.
7275 * general.c (SYMBOL):
7276 * general.c (syms_of_general):
7277 Major reorg. This is now just a wrapper and symbols themselves
7278 are listed in general-slots.h.
7280 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
7281 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7283 * glyphs-msw.c (mswindows_native_layout_instantiate):
7284 Add DS_CONTROL so keyboard traversal will work.
7287 * glyphs-widget.c (syms_of_glyphs_widget):
7288 Move some symbols to general-slots.h.
7291 * glyphs-x.c (xbm_instantiate_1):
7292 * glyphs-x.c (x_xbm_instantiate):
7293 * glyphs-x.c (x_xface_instantiate):
7294 * glyphs-x.c (autodetect_instantiate):
7295 * glyphs-x.c (cursor_font_instantiate):
7296 * glyphs-x.c (x_update_widget):
7297 * glyphs-x.c (x_widget_instantiate):
7298 * glyphs.c (bitmap_to_lisp_data):
7299 * glyphs.c (pixmap_to_lisp_data):
7302 * glyphs.c (syms_of_glyphs):
7306 * gui-x.c (print_widget_value):
7307 * gui-x.c (menu_separator_style_and_to_external):
7308 * gui-x.c (add_accel_and_to_external):
7309 * gui-x.c (button_item_to_widget_value):
7310 * gui-x.c (gui_items_to_widget_values_1):
7311 * gui-x.c (gui_items_to_widget_values):
7312 * gui-x.c (syms_of_gui_x):
7313 * gui-x.c (vars_of_gui_x):
7314 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7318 Muleize, prototype changes matching gui-x.c.
7321 * gui.c (separator_string_p):
7322 * gui.c (gui_item_add_keyval_pair):
7323 * gui.c (make_gui_item_from_keywords_internal):
7324 * gui.c (signal_too_long_error):
7325 * gui.c (parse_gui_item_tree_item):
7326 * gui.c (syms_of_gui):
7327 * gui.c (vars_of_gui):
7329 menu-no-selection-hook moved here (used by MSWin).
7330 Move some symbols to general-slots.h.
7334 * insdel.c (get_buffer_pos_char):
7335 * insdel.c (get_buffer_range_char):
7338 * keymap.c (keymap_lookup_directly):
7339 * keymap.c (keymap_store):
7340 * keymap.c (ensure_meta_prefix_char_keymapp):
7341 * keymap.c (describe_map):
7343 Support new button modifiers.
7345 * lisp-disunion.h (wrap_object):
7346 * lisp-disunion.h (XSETOBJ):
7347 Rename make_obj to wrap_object.
7350 * lisp-union.h (make_int):
7351 * lisp-union.h (make_char):
7352 Support wrap_object.
7355 * lisp.h (LIST_LOOP):
7356 * lisp.h (EXTERNAL_LIST_LOOP):
7357 * lisp.h (LIST_LOOP_2):
7358 * lisp.h (EXTERNAL_LIST_LOOP_1):
7359 * lisp.h (EXTERNAL_LIST_LOOP_2):
7360 * lisp.h (EXTERNAL_LIST_LOOP_3):
7361 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7362 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7363 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7364 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7365 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7366 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7367 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7368 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7369 * lisp.h (struct Lisp_Symbol):
7370 * lisp.h (maybe_continuable_error_with_frob):
7371 Fix up section comments.
7372 Add new types for char to indicate usage.
7373 Delete symbols auto-generated from general-slots.h.
7374 Add prototypes for structured error functions.
7375 Add long comments describing looping macros and change interface
7376 so that lvalues are automatically declared.
7377 Add NO_DECLARE macro in case callers want to declare lvalues
7380 * lread.c (read_syntax_error):
7381 * lread.c (continuable_read_syntax_error):
7382 * lread.c (read_structure):
7383 * lread.c (sequence_reader):
7384 * lread.c (read_list_conser):
7385 * lread.c (read_compiled_function):
7386 Rename syntax_error and continuable_syntax_error to avoid clash
7387 with same-named structured error functions.
7389 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7390 * menubar-msw.c (populate_menu_add_item):
7391 * menubar-msw.c (populate_or_checksum_helper):
7396 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7397 Mule-ize whole file.
7399 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7401 * mule-charset.c (Fmake_charset):
7402 * mule-wnnfns.c (Fwnn_set_param):
7405 * ntproc.c (create_child):
7406 * ntproc.c (Fwin32_set_current_locale):
7407 Add comments portending doom.
7410 * objects-msw.c (old_font_enum_callback_2):
7411 * objects-msw.c (font_enum_callback_1):
7412 * objects-msw.c (mswindows_enumerate_fonts):
7416 * objects-x.c (allocate_nearest_color):
7417 * objects-x.c (x_parse_nearest_color):
7418 * objects-x.c (x_initialize_color_instance):
7419 * objects-x.c (x_print_color_instance):
7420 * objects-x.c (x_finalize_color_instance):
7421 * objects-x.c (x_valid_color_name_p):
7422 * objects-x.c (x_initialize_font_instance):
7423 * objects-x.c (x_print_font_instance):
7424 * objects-x.c (valid_x_font_name_p):
7425 * objects-x.c (truename_via_FONT_prop):
7426 * objects-x.c (truename_via_random_props):
7427 * objects-x.c (truename_via_XListFonts):
7428 * objects-x.c (x_font_truename):
7429 * objects-x.c (x_font_instance_truename):
7430 * objects-x.c (x_font_instance_properties):
7431 * objects-x.c (x_list_fonts):
7432 * objects-x.c (x_find_charset_font):
7433 Mule-ize entire file.
7440 * print.c (std_handle_out_external):
7441 * print.c (debug_print_no_newline):
7442 * print.c (syms_of_print):
7443 Output to all debugger kinds in debug-print.
7444 Fix console-output code under MSWin to actually work.
7446 * process-nt.c (send_signal):
7447 * process-nt.c (nt_create_process):
7448 Use newer Unicode macros.
7450 * process-unix.c (unix_create_process):
7451 * process-unix.c (unix_canonicalize_host_name):
7452 * process-unix.c (unix_open_network_stream):
7458 * search.c (syms_of_search):
7461 * select-msw.c (mswindows_destroy_selection):
7464 * select-x.c (symbol_to_x_atom):
7467 * select.c (syms_of_select):
7470 * sound.c (Fplay_sound_file):
7474 * specifier.c (decode_specifier_type):
7475 * specifier.c (Fvalid_specifier_locale_type_p):
7476 * specifier.c (check_valid_locale_or_locale_type):
7477 * specifier.c (decode_locale):
7478 * specifier.c (decode_locale_type):
7479 * specifier.c (decode_locale_list):
7480 * specifier.c (check_valid_domain):
7481 * specifier.c (decode_specifier_tag_set):
7482 * specifier.c (Fcanonicalize_tag_set):
7483 * specifier.c (Fdefine_specifier_tag):
7484 * specifier.c (Fspecifier_tag_predicate):
7485 * specifier.c (check_valid_inst_list):
7486 * specifier.c (check_valid_spec_list):
7487 * specifier.c (decode_how_to_add_specification):
7488 * specifier.c (check_modifiable_specifier):
7489 * specifier.c (specifier_add_spec):
7490 * specifier.c (boolean_validate):
7491 * specifier.c (display_table_validate):
7494 * specifier.c (syms_of_specifier):
7495 Move some symbols to general-slots.h.
7499 * symbols.c (Fmapatoms):
7500 * symbols.c (Fapropos_internal):
7503 * symbols.c (set_default_buffer_slot_variable):
7504 * symbols.c (set_default_console_slot_variable):
7507 * symbols.c (defsymbol_massage_name_1):
7508 * symbols.c (defkeyword_massage_name):
7509 * symbols.c (deferror_1):
7510 * symbols.c (deferror):
7511 * symbols.c (deferror_massage_name_and_message):
7513 * symeval.h (DEFSYMBOL):
7514 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7516 * symbols.c (syms_of_symbols):
7520 * symsinit.h (init_win32): New.
7521 Also new is syms_of_dialog_mswindows.
7524 Add new Unicode macros, missing Cygwin wide-char functions,
7525 convenience conversion macros for Qmswindows_tstr, macros for
7526 encapsulating required MSWin <-> Cygwin filename conversions,
7527 prototype for dynamically-extracted (not in NT 3.51) functions.
7532 * tooltalk.c (Fadd_tooltalk_message_arg):
7533 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7534 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7537 * tooltalk.c (syms_of_tooltalk):
7541 * unexnt.c (unexec):
7542 Fix up headers, declaration of unexec() to be more standard.
7544 2000-07-20 Martin Buchholz <martin@xemacs.org>
7546 * offix.h: Revert change to guard macros - they're used in offix.c!
7548 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7550 * lisp.h: Defsubred Fdelete.
7552 * console-msw.h: (msprinter_default_printer): Added.
7554 * console-msw.c (msprinter_canonicalize_console_connection):
7555 (msprinter_canonicalize_device_connection): Added.
7557 * device-msw.c (msprinter_default_printer):
7558 (Fmswingows_get_default_printer):
7559 (signal_enum_priner_error):
7560 (Fmswingows_printer_list): Added.
7562 2000-07-19 Martin Buchholz <martin@xemacs.org>
7564 * XEmacs 21.2.35 is released.
7566 2000-07-19 Martin Buchholz <martin@xemacs.org>
7568 * select-x.c (x_handle_selection_request):
7569 Text selected in xemacs and pasted into xterm failed to appear.
7570 Spelling fixes and cosmetic changes.
7572 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7574 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7575 XEmacs frame (fix for doubling chars in dialog boxes).
7577 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7579 * select.c (select_convert_in, select_convert_out):
7580 Don't call intern() every time.
7582 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7583 * select.c (vars_of_select): Initialise them.
7585 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7587 * select.c (selection-coercible-types): New.
7589 * select.c (own-selection-internal):
7590 * select.c (get-selection-internal):
7591 MULE bug fix - these should default to COMPOUND_TEXT and not
7592 STRING for MULE. I think.
7594 * select.c (select_convert_out): Use selection-coercible-types
7595 to find types that we can attempt to perform coercions on.
7597 2000-07-18 Martin Buchholz <martin@xemacs.org>
7601 Add coding: cookie to identify encoding.
7603 * mule-canna.c (CANNA_mode_keys): make static.
7604 Use proper prototypes, even for functions of no arguments.
7605 Remove external prototype for Fding().
7607 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7609 * select.c (syms_of_select): Add missing DEFSUBR.
7611 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7613 * select.c (get_selection_internal, own_selection_internal):
7614 Make the type default to STRING, rather than placing a nil type
7615 into Vselection_alist.
7617 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7619 * gpmevent.c (tty_selection_exists_p):
7620 * gpmevent.c (tty_own_selection):
7621 Updated parameter lists.
7623 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7625 * select.h (selection-alist): Removed declaration.
7627 * select.h (get_local_selection):
7628 * select.c (get_local_selection):
7631 * select.h (convert_selection): Removed declaration.
7632 * select.c (convert_selection): Removed.
7633 This function belongs in Lisp.
7635 * select.h (select_convert_in): Declare.
7636 * select.h (select_convert_out): Declare.
7637 * select.c (select_convert_in): New.
7638 * select.c (select_convert_out): New.
7639 New conversion functions for other files to call.
7641 * select.h (select_notify_buffer_kill): Declare.
7642 * select.c (select_notify_buffer_kill): New.
7643 New functions that get called from kill-buffer.
7645 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
7646 X-specific lisp code.
7648 * select.h: Declare some of the lisp-visible functions for
7651 * select.c (clean_local_selection_data): Removed. This was
7652 a disgusting function, and previously should have been in
7653 select-x.c in any case. The functionality is now provided
7654 in select-convert-from-integer (select.el).
7656 * select.c (available-selection-types): Fixed stupidity where
7657 INTEGER and ATOM got added twice. Also add STRING when we see an
7660 * select.c (get-selection-internal): Removed symbol stripping. No
7661 longer causes conversion when data comes from the internal cache.
7663 * select.c (syms_of_select): Added new functions.
7665 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
7666 error checking - previously this called abort!
7668 * select-x.c (x_own_selection): Changed comment.
7670 * select-x.c (x_handle_selection_request): Use select_convert_out.
7671 Don't mess with selection-alist; it's an internal variable of select.c.
7673 * select-x.c (x_get_foreign_selection): Use select_convert_in.
7675 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
7676 rather than messing with selection-alist.
7678 * select-msw.c (mswindows_get_foreign_selection):
7679 Use TO_INTERNAL_FORMAT rather than hacking.
7681 2000-07-14 Martin Buchholz <martin@xemacs.org>
7683 * process-unix.c (unix_open_multicast_group):
7684 (unix_open_multicast_group): Remove useless casts.
7686 2000-07-13 Martin Buchholz <martin@xemacs.org>
7688 * sound.c (Fplay_sound): Fix `unused variable' warning.
7690 * emacs.c (main): Use correct type for _environ on SCO5.
7692 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
7694 * console.h (own_selection_method):
7695 * console.h (selection_exists_p_method):
7696 * console.h (available_selection_types_method): New.
7697 * console.h (register_selection_data_type_method): New.
7698 * console.h (selection_data_type_name): New.
7700 * console-msw.h (mswindows_destroy_selection): Declare it. New
7701 function & alist to track GlobalAlloc()'d handles that need
7702 releasing when the clipboard data gets replaced or emptied.
7704 * event-msw.c (mswindows_wnd_proc): Call it.
7706 * lisp.h, general.c (Qappend): New symbol representing a
7709 * select.c (own-selection-internal):
7710 * select.c (selection-exists-p):
7711 * select.c (available-selection-types): New.
7712 * select.c (register-selection-data-type): New.
7713 * select.c (selection-data-type-name): New. New functions to deal
7714 with device-specific selection data formats.
7715 * select.c (selection-converter-out-alist): Renamed.
7716 * select.c (selection-converter-in-alist): New.
7717 * select.c (selection-appender-alist): New. Added new alists.
7718 * select.c (syms_of_select, vars_of_select): Added new symbols &
7720 * select.c (get_local_selection): Split.
7721 * select.c: Removed spurious type checking - selections may now be
7722 of any type, not just strings.
7723 * select.c (own-selection-internal):
7725 * select.h, select.c (convert_selection): New. Created
7726 convert_selection() function based on get_local_selection().
7727 * select.h, select.c (QCF_*): New symbols representing mswindows
7729 * select.h, select.c (Qreplace_all, Qreplace_existing): New
7730 symbols representing `how-to-add' modes.
7732 * select-msw.c (x_sym_p): New.
7733 * select-msw.c (symbol_to_ms_cf): New.
7734 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
7735 symbols & clipboard formats. Can also handle string names.
7736 * select-msw.c (mswindows_own_selection):
7737 * select-msw.c (mswindows_selection_exists_p):
7738 Added `data-type' parameter. Use it.
7739 * select-msw.c (mswindows_available_selection_types): New.
7740 * select-msw.c (mswindows_register_selection_data_type): New.
7741 * select-msw.c (mswindows_selection_data_type_name): New.
7742 * select-msw.c (mswindows_own_selection):
7743 * select-msw.c (mswindows_get_foreign_selection):
7744 * select-msw.c (mswindows_selection_exists_p): Rewrote.
7745 * select-msw.c (console_create_select_mswindows): Added new methods.
7746 * select-msw.c (mswindows_destroy_selection): New.
7747 * select-msw.c (Vhandle_alist): New list.
7748 * select-msw.c (mswindows_own_selection):
7750 * select-x.c (x_own_selection):
7751 * select-x.c (x_selection_exists_p):
7752 * select-x.c: Added some comments about maybe using new
7754 * select-x.c (x_own_selection):
7756 * specifier.c: Remove definition of Qappend (now in general.c)
7757 * specifier.c (syms_of_specifier): Remove Qappend.
7759 2000-07-12 Martin Buchholz <martin@xemacs.org>
7761 * config.h.in: Add socklen_t.
7763 * s/decosf4-0.h: No special compiler flags needed or desired.
7764 In particular, undefine _BSD for DEC OSF 4.0.
7766 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7768 * redisplay-msw.c (msprinter_frame_output_end): Added.
7769 (console_type_create_redisplay_mswindows): Referred the above.
7771 * frame.c (setup_frame_without_minibuffer): Do not create a
7772 default minibuffer frame on a printer device.
7774 * frame-msw.c (apply_dc_geometry): Added.
7775 (msprinter_start_page):
7776 (msprinter_init_frame_3):
7777 (msprinter_eject_page): Use it.
7779 * console-msw.h (struct msprinter_frame): Added pix_left and top,
7780 and removed residual duplex and orientation properties.
7782 2000-07-11 Martin Buchholz <martin@xemacs.org>
7784 * eval.c (function_argcount): Work around a DEC CC compiler bug.
7786 * unexalpha.c: Remove system prototypes from C sources!
7788 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
7790 * eval.c: Remove references to M-x edit-options in DEFUNs for
7791 `defvar' and `defconst'.
7793 2000-07-09 Martin Buchholz <martin@xemacs.org>
7795 * config.h.in: Remove SMART_INCLUDE hackery.
7798 * config.h.in: Don't use SMART_INCLUDE.
7800 * postgresql.h: Include libpq-fe.h here. Fix typo.
7801 * inline.c: Simply #include "postgresql.h"
7803 - Don't use SMART_INCLUDE
7804 - Use simply "const".
7805 - Use standard doc string conventions.
7806 - Use correct type for result of PQstatus.
7808 2000-07-09 Martin Buchholz <martin@xemacs.org>
7810 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
7812 C++ compilation changes.
7813 * config.h.in (EXTERN_C): Define.
7814 * config.h.in (not): This is also a C++ keyword.
7815 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
7816 * cm.c: Use EXTERN_C.
7817 * redisplay-tty.c: Use EXTERN_C.
7818 * sysdep.c: Use EXTERN_C. Remove Gould support.
7820 2000-07-09 Martin Buchholz <martin@xemacs.org>
7822 * general.c: Remove duplicate definition for Qfunction.
7824 2000-07-08 Ben Wing <ben@xemacs.org>
7826 * device-msw.c (msprinter_init_device):
7827 * device-msw.c (sync_printer_with_devmode):
7828 * device-msw.c (handle_devmode_changes):
7829 * device-msw.c (print_dialog_worker):
7830 * device-msw.c (Fmsprinter_apply_settings):
7831 * device-msw.c (hash_devmode):
7832 * device-msw.c (Fmsprinter_settings_despecialize):
7833 use Qmswindows_tstr, not Qctext.
7835 * vm-limit.c (check_memory_limits):
7836 avoid infinite loop printing warning messages.
7838 2000-07-05 Craig Lanning <lanning@scra.org>
7840 * Makefile.in.in: Add support for including the Windows resources
7841 when building with the cygwin and mingw targets.
7843 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
7844 not set or not correct.
7845 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
7846 (init_initial_directory): Don't try to use $PWD on the
7847 WIN32_NATIVE target.
7850 [[Add -mwindows to eliminate console window.]] not required --ben
7851 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7852 (MAIL_USE_POP): removed; now handled by configure.
7854 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
7855 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
7856 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7857 (MAIL_USE_POP): removed; now handled by configure.
7858 (ENCAPSULATE_STAT): from Dan Holmsand, added.
7859 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
7860 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
7862 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
7863 up from <winsock.h> via systime.h.
7864 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
7865 (getpagesize): from Dan Holmsand, added.
7866 Added #endif which was left dangling by Ben's mega patch; added
7867 comment to help prevent this in the future.
7869 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
7871 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7873 * console-msw.h (struct mswindows_device): Removed unnecessary
7874 cached device geometry values.
7875 Added update_tick and an accessor macro.
7876 (Lisp_Devmode): Added lrecord declaration.
7877 (struct msprinter_device): Contain devmode as a Lisp object.
7878 Added mswindows_get_selected_frame_hwnd();
7880 * console.h (struct console_methods): Indentation nitpicking.
7882 * device-msw.c (mswindows_init_device): Do not initialize geometry
7883 cache. Initialize update tick.
7884 (mswindows_device_system_metrics): Ask the device for its geometry.
7885 (global_free_2_maybe):
7886 (devmode_to_hglobal):
7887 (handle_printer_changes):
7888 (ensure_not_printing):
7889 (print_dialog_worker):
7890 (Fmsprinter_print_setup_dialog):
7891 (Fmsprinter_print_dialog):
7894 (Fmsprinter_page_setup_dialog): Added functions.
7895 (sync_printer_with_devmode):
7896 (handle_devmode_changes):
7897 (Fmsprinter_get_settings):
7898 (Fmsprinter_select_settings):
7899 (Fmsprinter_apply_settings):
7901 (Fmsprinter_settings_copy):
7902 (Fmsprinter_settings_despecialize):
7906 (hash_devmode): Added functions
7907 (syms_of_device_mswindows): Init devmode lrecord class.
7909 * device.h: Added an exfun for find-device.
7911 * event-msw.c (mswindows_wnd_proc): Do not update the cached
7912 geometry; although, recreate the device compatible DC.
7914 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
7915 (msprinter_init_frame_3):
7916 (msprinter_frame_property):
7917 (msprinter_internal_frame_property_p):
7918 (msprinter_frame_properties):
7919 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
7920 print job properties (will move to device settings).
7922 * lisp.h: Added symbols.
7924 * general.c (syms_of_general): Declared them.
7926 * hash.c (string_hash): Added.
7928 * lrecord.h (lrecord_type): Added devmode lrecord type.
7930 2000-07-02 Mike Sperber <mike@xemacs.org>
7932 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
7935 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
7937 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
7940 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
7942 * data.c (Fstring_to_number): Don't recognize floating point if
7945 2000-06-22 Martin Buchholz <martin@xemacs.org>
7947 * glyphs-widget.c (tab_control_query_geometry):
7948 (widget_query_geometry):
7949 (button_query_geometry):
7950 * glyphs.c (text_query_geometry):
7951 Enforce type correctness.
7953 2000-06-18 Martin Buchholz <martin@xemacs.org>
7955 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
7956 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
7958 2000-06-17 Martin Buchholz <martin@xemacs.org>
7960 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
7961 conflicts with gcc's fixincluded version of FOO.h.
7963 * glyphs.h (image_instance_geometry): Remove trailing `,'
7965 2000-06-08 Mike Alexander <mta@arbortext.com>
7967 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
7968 (shove_thread): Don't write the same output twice
7969 (make_ntpipe_output_stream): Increase priority of shove thread
7970 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
7972 (ntpipe_shove_closer): Don't delete the pipe until we're done with
7975 2000-06-12 Ben Wing <ben@xemacs.org>
7977 * s\mingw32.h (sigset):
7978 * s\windowsnt.h (sigset):
7979 rename msw_ to mswindows_ for consistency with general convention.
7981 2000-06-12 Ben Wing <ben@xemacs.org>
7984 * console-msw.c (mswindows_get_console_hwnd):
7985 * console-msw.c (mswindows_ensure_console_allocated):
7986 * console-msw.c (mswindows_hide_console):
7987 * console-msw.c (mswindows_show_console):
7988 * console-msw.c (mswindows_ensure_console_buffered):
7989 * console-msw.c (mswindows_output_console_string):
7990 * console-msw.c (mswindows_windows9x_p):
7992 * device-msw.c (mswindows_get_workspace_coords):
7993 * device-msw.c (mswindows_device_system_metrics):
7994 * dialog-msw.c (mswindows_popup_dialog_box):
7995 * event-msw.c (mswindows_wnd_proc):
7996 * frame-msw.c (mswindows_size_frame_internal):
7997 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7998 * menubar-msw.c (displayable_menu_item):
7999 * menubar-msw.c (mswindows_char_is_accelerator):
8001 * nt.c (mswindows_sigset):
8002 * nt.c (mswindows_sigrelse):
8003 * nt.c (mswindows_sigpause):
8004 * nt.c (mswindows_raise):
8005 * nt.c (timer_proc):
8007 * ntproc.c (find_child_console):
8008 * ntproc.c (sys_kill):
8010 * print.c (std_handle_out_external):
8011 * process-nt.c (find_child_console):
8012 * process-nt.c (send_signal_the_95_way):
8013 * process-nt.c (ensure_console_window_exists):
8014 * process-nt.c (nt_create_process):
8016 rename msw_ to mswindows_ for consistency with general convention.
8020 include nt.h, not syswindows.h.
8022 * nt.c (mswindows_fstat):
8023 * nt.c (mswindows_stat):
8024 prefix mswindows_ instead of attempting to directly override the
8025 library functions. fix declarations.
8028 include syswindows.h. move some sysdep.h stuff here.
8031 include syswindows.h, not <windows.h>.
8039 * sysdep.c (sys_fstat):
8040 * sysdep.c (sys_stat):
8041 call mswindows versions when appropriate.
8044 move mswin decls to nt.h.
8047 add long comment describing appropriate use of the various windows
8050 2000-06-11 Ben Wing <ben@xemacs.org>
8052 * device-x.c: Correct doc string for sixth arg of x-get-resource.
8054 2000-06-10 Ben Wing <ben@xemacs.org>
8056 * Makefile.in.in (release):
8057 Correction to make sure xemacs.exe always dumped when correct.
8061 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
8063 * buffer.c (set_buffer_internal):
8064 [[[[2]]]]: Remove HAVE_FEP code.
8066 * buffer.c (init_initial_directory):
8070 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
8074 * callproc.c (call_process_cleanup):
8075 * callproc.c (Fold_call_process_internal):
8076 * callproc.c (child_setup):
8077 * callproc.c (getenv_internal):
8078 * callproc.c (init_callproc):
8079 * callproc.c (vars_of_callproc):
8080 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
8081 __CYGWIN32__ -> CYGWIN.
8082 DOS_NT -> WIN32_NATIVE.
8083 Remove MSDOS support/references, converting to WIN32_NATIVE
8085 __MINGW32__ -> MINGW.
8086 Fix windows.h includes.
8087 Remove bogus HAVE_NTGUI.
8093 mswindows_message_outputted added for use in allowing startup
8094 errors on the console to be seen.
8096 * console-msw.c (msw_ensure_console_allocated):
8097 * console-msw.c (msw_output_console_string):
8098 * console-msw.c (DHEADER):
8099 * console-msw.c (DOPAQUE_DATA):
8100 * console-msw.c (DEVENT):
8101 * console-msw.c (DCONS):
8102 * console-msw.c (DCONSCDR):
8103 * console-msw.c (DSTRING):
8104 * console-msw.c (DVECTOR):
8105 * console-msw.c (DSYMBOL):
8106 * console-msw.c (DSYMNAME):
8109 * console-stream.c (stream_init_console):
8110 Fix text/binary problems.
8113 * device-msw.c (mswindows_finish_init_device):
8114 * device-msw.c (mswindows_delete_device):
8117 * device.c (handle_asynch_device_change):
8121 * dgif_lib.c (DGifOpenFileName):
8122 * dgif_lib.c (DGifOpenFileHandle):
8123 * dgif_lib.c (DGifGetLine):
8124 * dgif_lib.c (DGifGetPixel):
8125 Added config.h/lisp.h, fix up includes.
8132 * dired.c (file_name_completion):
8133 * dired.c (Ffile_attributes):
8134 * dired.c (syms_of_dired):
8138 * dumper.c (pdump_file_unmap):
8139 * dumper.c (pdump_load):
8143 * editfns.c (Ftemp_directory):
8144 * editfns.c (user_login_name):
8145 * editfns.c (Fuser_real_login_name):
8146 * editfns.c (get_home_directory):
8149 * elhash.c (finish_marking_weak_hash_tables):
8150 [[[[5]]]]: Fix GCC warnings.
8153 * emacs.c (mswindows_handle_hardware_exceptions):
8154 * emacs.c (make_arg_list_1):
8156 * emacs.c (Fkill_emacs):
8157 * emacs.c (Fdump_emacs):
8159 Fix problems with nested crashes, add long comment.
8161 * event-Xt.c (init_event_Xt_late):
8165 * event-msw.c (mswindows_dde_callback):
8166 * event-msw.c (mswindows_handle_sticky_modifiers):
8167 * event-msw.c (mswindows_wnd_proc):
8171 * events.c (character_to_event):
8175 * fileio.c (Ffile_name_directory):
8176 * fileio.c (Ffile_name_nondirectory):
8177 * fileio.c (directory_file_name):
8178 * fileio.c (Fexpand_file_name):
8179 * fileio.c (Fsubstitute_in_file_name):
8180 * fileio.c (Ffile_name_absolute_p):
8181 * fileio.c (check_executable):
8182 * fileio.c (Ffile_readable_p):
8183 * fileio.c (Ffile_accessible_directory_p):
8184 * fileio.c (Ffile_modes):
8185 * fileio.c (Funix_sync):
8186 * fileio.c (vars_of_fileio):
8189 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
8191 Expand getdefdir defn.
8192 Fix bogus rename() comment.
8194 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
8195 to use standard XEmacs include files, e.g. sysfile.h, rather
8196 than system-specific includes.
8202 * frame.c (vars_of_frame):
8206 * getloadavg.c (getloadavg):
8208 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
8209 (We don't use it elsewhere in the code; just add a comment.)
8216 * glyphs-msw.c (mswindows_resource_instantiate):
8219 * glyphs-x.c (x_native_layout_instantiate):
8222 * gui-msw.c (Fmswindows_shell_execute):
8231 * lread.c (locate_file_in_directory_mapper):
8238 * mem-limits.h (get_lim_data):
8250 * nt.c (rva_to_section):
8251 * nt.c (mswindows_executable_type):
8253 Fix closedir() defn.
8256 [[[[8]]]]: *_OK defs moved to sysfile.h.
8265 * print.c (std_handle_out_external):
8269 * process-nt.c (nt_create_process):
8271 try to fix process quoting somewhat.
8273 * process-unix.c (unix_create_process):
8277 * process.c (vars_of_process):
8284 * realpath.c (xrealpath):
8287 * redisplay-tty.c (init_tty_for_redisplay):
8297 * sheap.c (more_static_core):
8298 * sheap.c (report_sheap_usage):
8302 * signal.c (alarm_signal):
8309 * strftime.c (zone_name):
8312 * symsinit.h (init_sunpro):
8316 commctrl.h not in Cygwin b20.1.
8320 * sysdep.c (sys_subshell):
8321 * sysdep.c (init_baud_rate):
8322 * sysdep.c (emacs_get_tty):
8323 * sysdep.c (emacs_set_tty):
8324 * sysdep.c (tty_init_sys_modes_on_device):
8325 * sysdep.c (init_system_name):
8326 * sysdep.c (sys_open):
8327 * sysdep.c (interruptible_open):
8328 * sysdep.c (sys_fopen):
8329 * sysdep.c (sys_mkdir):
8330 * sysdep.c (sys_rename):
8331 * sysdep.c (get_process_times_1):
8338 * sysdir.h (DIRENTRY_NONEMPTY):
8341 * sysdll.c (dll_init):
8347 added text/binary defs.
8353 * sysproc.h (EDESTADDRREQ):
8354 * sysproc.h (poll_fds_for_input):
8371 Always define WIN32_LEAN_AND_MEAN.
8373 * unexcw.c (unexec):
8377 * unexec.c (copy_text_and_data):
8378 * unexec.c (adjust_lnnoptrs):
8382 * unexnt.c (_start):
8385 2000-06-07 Ben Wing <ben@xemacs.org>
8387 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8388 was used only as a model. We've long since extracted any useful
8389 logic or code out of this. (I just did an exhaustive search.)
8391 * s\msdos.h: Removed.
8393 * s\windows95.h: Removed.
8395 2000-06-10 Ben Wing <ben@xemacs.org>
8399 Don't use extern with fun defs.
8403 Remove nt\inc include.
8404 Remove getdisk, getdefdir. (The former is unused, the latter
8405 expanded in fileio.h.)
8408 * s\windowsnt.h (WIN32_NATIVE):
8409 * s\windowsnt.h (HAVE_STRCASECMP):
8411 Add long comment about preprocessor changes.
8412 Remove getdisk, getdefdir. (The former is unused, the latter
8413 expanded in fileio.h.)
8415 2000-06-10 Ben Wing <ben@xemacs.org>
8424 Remove bogus/unused NO_SOCK_SIGIO.
8426 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8428 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8431 2000-06-04 Mike Sperber <mike@xemacs.org>
8433 * casetab.c (set_case_table): For `set-standard-case-table',
8434 actually deposit the new case tables where the rest of XEmacs can
8437 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8439 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8441 2000-06-05 Ben Wing <ben@xemacs.org>
8443 * callproc.c (child_setup): Don't do close_load_descs() under
8444 MS Windows. Put in a comment explaining why.
8446 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8448 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8449 Toolkit shell" which breaks `kill-compilation' on Windows NT
8450 native, retaining STDERR handling improvements.
8452 2000-06-01 Andreas Jaeger <aj@suse.de>
8454 * s/s390.h: Support for S390, based on a patch by Martin
8455 Schwidefsky <schwidefsky@de.ibm.com>.
8457 2000-05-30 Andy Piper <andy@xemacs.org>
8459 * window.c (allocate_window):
8460 (make_dummy_parent):
8461 (Fset_window_configuration): use new hashtable type.
8463 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8464 (struct image_instantiator_methods):
8465 (struct Lisp_Image_Instance): make instance geometry signed.
8467 * glyphs.c (instantiate_image_instantiator):
8468 (image_instance_query_geometry):
8469 (image_instance_layout):
8470 (image_instance_layout):
8471 (query_string_geometry):
8472 (text_query_geometry):
8473 (image_instantiate):
8474 (image_instantiate):
8475 (cache_subwindow_instance_in_frame_maybe):
8476 (subwindow_query_geometry): make instance geometry signed.
8478 * glyphs-widget.c (widget_query_geometry):
8480 (button_query_geometry):
8481 (tree_view_query_geometry):
8482 (tab_control_query_geometry):
8483 (layout_query_geometry):
8485 (native_layout_layout): make instance geometry signed.
8487 2000-05-29 Olivier Galibert <galibert@pobox.com>
8489 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8492 * general.c (syms_of_general): Add Qfull_assoc symbol.
8494 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8496 (decode_weak_list_type): Decode full-assoc type.
8497 (encode_weak_list_type): Encode full-assoc type.
8498 (Fmake_weak_list): Update doc string.
8500 2000-05-30 Andy Piper <andy@xemacs.org>
8502 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8504 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8505 (decode_hash_table_weakness): ditto.
8506 (Fhash_table_weakness): ditto.
8507 (Fhash_table_type): ditto.
8508 (finish_marking_weak_hash_tables): ditto.
8509 (hash_table_weakness_validate): ditto.
8510 (syms_of_elhash): ditto.
8512 2000-05-28 Martin Buchholz <martin@xemacs.org>
8514 * XEmacs 21.2.34 is released.
8516 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8518 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8520 (updating_line_start_cache): Gone.
8521 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8522 generic code to force a minimum of 1 line laid out in the
8525 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8527 * glyphs.c (instantiate_image_instantiator): Check for initialized
8528 height & width no longer special cases IMAGE_NOTHING.
8529 (nothing_instantiate): Set height and width of instance.
8531 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8533 * unexelf.c (unexec): Search for ".data" section.
8534 Initialize new_data2_offset from old_data_index.
8535 Remove redundant check for ElfW.
8537 2000-05-23 Andy Piper <andy@xemacs.org>
8539 * glyphs.c (get_image_instantiator_governing_domain): allow more
8540 specific domains as the governing domain rather than expecting an
8541 exact match. This fixes problems with layouts.
8543 2000-05-22 Andy Piper <andy@xemacs.org>
8545 * redisplay-output.c (compare_runes): check for non-images
8547 * glyphs.c (set_glyph_dirty_p): ditto.
8548 (update_glyph_cachel_data): ditto.
8550 * glyphs-widget.c (layout_post_instantiate): ditto.
8551 (layout_post_instantiate): ditto.
8553 * event-msw.c (mswindows_wnd_proc): warning removal.
8555 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8557 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8559 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8561 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8563 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8564 (mswindows_executable_type): mingw32 now has enough headers for
8567 2000-05-20 Andy Piper <andy@xemacs.org>
8569 * console-msw.c (mswindows_output_last_error): ; -> ,
8571 2000-05-12 Andy Piper <andy@xemacs.org>
8573 * console-msw.c (FROB): compare ints with ints.
8575 2000-05-11 Andy Piper <andy@xemacs.org>
8577 * glyphs-x.c (x_finalize_image_instance): make minimal build
8580 2000-05-20 Ben Wing <ben@xemacs.org>
8583 * event-Xt.c (vars_of_event_Xt):
8584 move modifier-keys-are-sticky to event-stream.c.
8587 * event-msw.c (mswindows_enqueue_mouse_button_event):
8588 * event-msw.c (key_needs_default_processing_p):
8589 * event-msw.c (XEMSW_LCONTROL):
8590 * event-msw.c (mswindows_handle_sticky_modifiers):
8591 * event-msw.c (FROB):
8592 * event-msw.c (clear_sticky_modifiers):
8593 * event-msw.c (output_modifier_keyboard_state):
8594 * event-msw.c (output_alt_keyboard_state):
8595 * event-msw.c (mswindows_wnd_proc):
8596 * event-msw.c (mswindows_modifier_state):
8597 * event-msw.c (emacs_mswindows_handle_magic_event):
8598 implement sticky modifiers.
8601 * event-stream.c (vars_of_event_stream):
8602 move modifier-keys-are-sticky here.
8608 implement map-range-table.
8611 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8613 * redisplay-tty.c (reset_tty_modes):
8614 (tty_redisplay_shutdown): Adjust argument type to
8615 tty_frame_output_end.
8617 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8619 * eval.c (Fbacktrace): Don't output a line with only right
8622 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8624 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8625 (Fpq_reset_poll): Ditto.
8627 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8629 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8631 2000-05-16 Ben Wing <ben@xemacs.org>
8634 * buffer.c (dfc_convert_to/from_internal_format):
8635 * buffer.c (reinit_vars_of_buffer):
8636 Fix conversion functions to allow reentrancy.
8639 * console-msw.c (mswindows_output_last_error):
8640 New fun, generally useful -- output a human-readable
8641 version of GetLastError() on the console.
8644 * console-msw.h (struct mswindows_frame):
8645 Changes for DeferWindowPos. Declare mswindows_output_last_error().
8647 * console-stream.c (stream_output_begin):
8648 * console-stream.c (stream_output_end):
8649 * console-stream.c (stream_output_vertical_divider):
8650 * console-stream.c (stream_clear_region):
8651 * console-stream.c (stream_flash):
8652 * console-stream.c (console_type_create_stream):
8653 Delete blank stream methods, not needed.
8655 * console.h (struct console_methods):
8656 Split begin/end methods into window and frame.
8659 * event-msw.c (mswindows_handle_paint):
8660 * event-msw.c (output_alt_keyboard_state):
8661 * event-msw.c (mswindows_wnd_proc):
8662 * event-msw.c (vars_of_event_mswindows):
8663 Comment about problems with ignored-expose.
8664 Define mswindows-debug-events; not really implemented.
8666 * frame-msw.c (mswindows_init_frame_1):
8670 * glyphs-msw.c (begin_defer_window_pos):
8671 * glyphs-msw.c (mswindows_unmap_subwindow):
8672 * glyphs-msw.c (mswindows_map_subwindow):
8673 * glyphs-msw.c (mswindows_resize_subwindow):
8674 Use DeferWindowPos to reduce flashing when mapping/unmapping.
8676 * glyphs.c (make_image_instance_1):
8679 * gutter.c (Fredisplay_gutter_area):
8680 Use new begin/end methods.
8682 * lisp.h (Dynarr_new2):
8686 * redisplay-msw.c (mswindows_frame_output_begin):
8687 * redisplay-msw.c (mswindows_frame_output_end):
8688 * redisplay-msw.c (console_type_create_redisplay_mswindows):
8689 New begin/end methods -- handle DeferWindowPos.
8691 * redisplay-output.c (redisplay_move_cursor):
8692 * redisplay-output.c (redraw_cursor_in_window):
8693 * redisplay-output.c (redisplay_update_line):
8694 * redisplay-output.c (redisplay_output_window):
8695 New begin/end methods.
8698 * redisplay-tty.c (tty_frame_output_begin):
8699 * redisplay-tty.c (tty_frame_output_end):
8700 * redisplay-tty.c (console_type_create_redisplay_tty):
8701 New begin/end methods.
8704 * redisplay-x.c (x_window_output_begin):
8705 * redisplay-x.c (x_window_output_end):
8706 * redisplay-x.c (console_type_create_redisplay_x):
8707 New begin/end methods.
8709 * redisplay.c (redisplay_frame):
8710 * redisplay.c (Fredisplay_echo_area):
8711 New begin/end methods.
8712 use MAYBE_DEVMETH for clear_frame; it may not exist.
8714 * window.h (WINDOW_XFRAME):
8715 WINDOW_XFOO macros -- get locale and decode struct pointer.
8718 2000-05-12 Ben Wing <ben@xemacs.org>
8721 * emacs.c (ensure_no_quitting_from_now_on):
8722 * emacs.c (fatal_error_signal):
8723 * emacs.c (mswindows_handle_hardware_exceptions):
8725 * emacs.c (Fkill_emacs):
8726 * emacs.c (shut_down_emacs):
8727 * emacs.c (assert_failed):
8728 various improvements in fatal error handling.
8731 move preparing_for_armageddon to emacs.c.
8734 declare fatal_error_in_progress.
8737 * print.c (std_handle_out_external):
8738 * print.c (std_handle_out_va):
8739 * print.c (stderr_out):
8740 * print.c (stdout_out):
8741 use console under mswin when no standard output.
8742 don't do code conversion during fatal error.
8744 * scrollbar.c (Fscrollbar_page_up):
8745 * scrollbar.c (Fscrollbar_page_down):
8746 fix missing else. reindent.
8748 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
8752 * glyphs.h (GLYPH_CACHEL_DESCENT):
8753 (GLYPH_CACHEL_DESCENT):
8754 (GLYPH_CACHEL_DESCENT):
8755 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
8756 used in case these are inline functions.
8757 Use more absurd values to error check.
8759 include window.h for error check functions.
8761 2000-05-11 Ben Wing <ben@xemacs.org>
8763 * cmdloop.c (Freally_early_error_handler):
8764 Display message box under windows; otherwise, message will disappear
8765 before it can be viewed.
8768 * console-msw.c (Fmswindows_message_box):
8769 * console-msw.c (FROB):
8770 * console-msw.c (syms_of_console_mswindows):
8771 Define new fun `mswindows-message-box'.
8772 #### I will merge this into `popup-dialog-box'; just give me
8776 * general.c (syms_of_general):
8777 Some new symbols used in `mswindows-message-box'.
8780 * glyphs.c (Fset_image_instance_property):
8781 put warning in this fun.
8784 * glyphs.h (GLYPH_CACHEL_WIDTH):
8785 * glyphs.h (GLYPH_CACHEL_ASCENT):
8786 * glyphs.h (GLYPH_CACHEL):
8787 * glyphs.h (GLYPH_CACHEL_GLYPH):
8788 define error-checking versions to try to catch a bug i've seen --
8789 redisplay gets in an infinite loop because the glyph width of the
8790 continuation glyph is 65535.
8793 Extern message-box stuff.
8795 * window.c (allocate_window):
8796 * window.c (make_dummy_parent):
8797 * window.c (Fset_window_configuration):
8798 Use EQUAL not EQ for subwindow caches to make them work a bit
8799 better. (Something is still very broken.)
8802 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8804 * glyphs.c (image_instantiate): Suppress gcc warnings.
8805 (Fmake_image_instance): Fix doc string.
8806 * specifier.c (Fmake_specifier): Ditto.
8808 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
8810 * paths.h.in (PATH_LOCK): Removed.
8811 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
8812 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
8814 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8816 * fns.c (Ffeaturep): Update e-mail address in doc-string.
8817 Document (featurep '(and xemacs 21.02)).
8819 2000-05-09 Ben Wing <ben@xemacs.org>
8821 * buffer.c (complex_vars_of_buffer):
8822 update modeline-format doc.
8825 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
8828 timeline of all released versions of Emacs, for use in creating
8829 authorship comments and in synching up.
8831 * glyphs-widget.c (image_instantiator_buttons):
8832 * glyphs-widget.c (image_instantiator_edit_fields):
8833 * glyphs-widget.c (image_instantiator_combo_box):
8834 * glyphs-widget.c (image_instantiator_scrollbar):
8835 * glyphs-widget.c (image_instantiator_progress_guage):
8836 * glyphs-widget.c (image_instantiator_tree_view):
8837 * glyphs-widget.c (image_instantiator_tab_control):
8838 * glyphs-widget.c (image_instantiator_labels):
8839 * glyphs-widget.c (image_instantiator_layout):
8840 * glyphs-widget.c (image_instantiator_native_layout):
8841 rename decode_domain method to governing_domain.
8844 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
8845 * glyphs.c (add_entry_to_device_ii_format_list):
8846 make sure we don't put an entry more than once into the list.
8847 * glyphs.c (check_instance_cache_mapper):
8848 *************************************************************
8849 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8851 *************************************************************
8852 * glyphs.c (get_image_instantiator_governing_domain):
8853 clean up, expand on new concept of governing domain.
8854 * glyphs.c (instantiate_image_instantiator):
8855 * glyphs.c (allocate_image_instance):
8856 use governing_domain instead of cache_domain in naming.
8857 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
8858 * glyphs.c (make_image_instance_1):
8859 * glyphs.c (Fmake_image_instance):
8860 allow for any domain (not just device), and process the
8861 governing domain correctly. very big doc fix.
8862 * glyphs.c (Fimage_instance_domain):
8863 new primitive, to retrieve the governing domain of an image instance.
8864 * glyphs.c (image_instantiate):
8865 use new governing_domain stuff. this fixes a crash you could get
8866 by instantiating certain widget glyphs in frame locales. (should
8867 signal an error instead of crashing.)
8868 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
8869 * glyphs.c (Fglyphp): clean up doc.
8870 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
8871 * glyphs.c (syms_of_glyphs):
8872 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
8873 * glyphs.c (image_instantiator_format_create): add some comments about
8875 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
8876 for current-display-table. (Apparently Hrjove implemented in 1998 a
8877 design I wrote up in 1996, but didn't update the doc string.)
8879 * glyphs.h: clean up a doc string.
8880 * glyphs.h (governing_domain):
8881 * glyphs.h (struct image_instantiator_methods):
8882 changes for governing_domain stuff.
8885 * gutter.c (Fgutter_specifier_p):
8886 * gutter.c (Fgutter_size_specifier_p):
8887 * gutter.c (Fgutter_visible_specifier_p):
8889 * objects.c (Fcolor_specifier_p):
8890 * objects.c (Ffont_specifier_p):
8891 * objects.c (Fface_boolean_specifier_p):
8892 doc strings moved to make-*-specifier.
8894 * redisplay.c (add_disp_table_entry_runes_1):
8895 * redisplay.c (generate_fstring_runes):
8896 * redisplay.c (screen):
8897 add random comments and doc strings.
8900 * specifier.c (Fmake_specifier):
8901 major overhaul of this doc string.
8903 * specifier.c (Fvalid_specifier_domain_p):
8904 comment about the bogosity of image instances being domains.
8905 * specifier.c (decode_domain):
8906 now non-static, used in glyphs.c.
8907 * specifier.c (specifier_instance):
8908 comment about the bogosity of image instances being domains.
8909 * specifier.c (Fgeneric_specifier_p):
8910 move doc string to make-generic-specifier.
8911 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
8915 * specifier.h (DOMAIN_FRAME):
8916 * specifier.h (DOMAIN_LIVE_P):
8917 * specifier.h (DOMAIN_XDEVICE):
8919 add comments about problems with these macros.
8920 prototype for decode_domain.
8923 * toolbar.c (Ftoolbar_specifier_p):
8924 move doc string to `make-toolbar-specifier'.
8926 * window.c (window_unmap_subwindows_cache_mapper):
8927 *************************************************************
8928 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8930 *************************************************************
8932 2000-05-09 Andy Piper <andy@xemacs.org>
8934 * glyphs.h: declare reset_frame_subwindow_instance_cache.
8936 * window.c (Fset_window_configuration): reset the frame subwindow
8937 cache and re-initialize the window subwindow caches.
8939 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
8941 2000-05-09 Ben Wing <ben@xemacs.org>
8943 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
8946 2000-04-26 Mike Woolley <mike@bulsara.com>
8948 * ntheap.c: Changed recreate_heap to limit the amount reserved
8949 for the heap to that which is actually available. Also now
8950 displays a message box (with some dignostics) in the event that
8951 it still can't start.
8953 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
8955 * callproc.c (Fold_call_process_internal): GCPRO path
8957 2000-05-08 Jan Vroonhof <jan@xemacs.org>
8959 Patch by Bill Perry.
8961 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
8962 back data instead of #ifdef.
8963 (Fscrollbar_page_down): ditto.
8965 2000-05-07 Ben Wing <ben@xemacs.org>
8968 Kludge for defining Qmswindows_tstr.
8971 * nt.c (open_input_file):
8972 * nt.c (open_output_file):
8973 * nt.c (rva_to_section):
8974 * nt.c (mswindows_executable_type):
8975 Move all memory-mapped-file routines here (some were in unexnt.c,
8976 which is bad because they are used by process-nt.c, and unexnt
8977 won't be around when portable dumping). Synched the above routines
8981 Removed ifdef'd out bogus code.
8982 Fixed some prototypes.
8985 * nt.h (OFFSET_TO_RVA):
8986 * nt.h (RVA_TO_OFFSET):
8987 * nt.h (RVA_TO_PTR):
8988 Moved the memory-mapped-file structures, macros and prototypes
8989 here, to parallel nt.c. ntheap.h should really be removed
8990 entirely, and it's a non-portable-dumper specific file.
8992 * ntheap.h (round_to_next):
8993 Moved the memory-mapped-file structures, macros and prototypes
8996 * ntproc.c (compare_env):
8997 Moved rva_to_section and mswindows_executable_type to nt.c.
8998 Moved compare_env to process-nt.c.
8999 ntproc.c will die, one day.
9001 * ntproc.c (sys_spawnve):
9002 Account for win32_ -> mswindows_.
9005 * process-nt.c (struct nt_process_data):
9006 * process-nt.c (ensure_console_window_exists):
9007 * process-nt.c (compare_env):
9008 * process-nt.c (nt_create_process):
9009 * process-nt.c (nt_kill_process_by_pid):
9010 * process-nt.c (syms_of_process_nt):
9011 * process-nt.c (vars_of_process_nt):
9012 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
9013 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
9014 changes). Eliminate our old `nt-quote-process-args' mechanism.
9015 Synch up nt_create_process with FSF 20.6 sys_spawnve.
9016 Move compare_env here from ntproc.c.
9018 * process.c (Fprocess_send_region):
9019 Takes an optional fourth argument, BUFFER, which should fix some
9020 problems with call-process.
9023 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
9026 Move ICC_BAR_CLASSES to syscommctrl.h.
9027 Add preliminary macros for MSWindows/Mule. More to come.
9030 * unexnt.c (unexec):
9031 open_output_file moved to nt.c.
9034 2000-05-05 Andy Piper <andy@xemacs.org>
9036 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
9037 instance from the frame cache also since GC may catch up too late
9038 to make frame deletion sane.
9040 2000-05-04 Andy Piper <andy@xemacs.org>
9042 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
9043 (x_finalize_image_instance): ungcpro on deletion.
9045 * glyphs.c (image_instantiator_format_create): give pointers a
9046 query geometry method so that the geometry is at least set.
9048 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
9049 initialize layouts if using widgets.
9051 2000-05-03 Andy Piper <andy@xemacs.org>
9053 * nt.c: remove bogus reference to sysmmsystem.h
9055 * gui-x.c (popup_selection_callback): fix no selection abort.
9057 2000-05-02 Andy Piper <andy@xemacs.org>
9059 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
9060 (mswindows_widget_instantiate): ditto.
9062 * glyphs-widget.c (initialize_widget_image_instance): initialize
9064 (widget_instantiate): cope with children and items in the same
9067 * glyphs.c (mark_image_instance): cope with children as a first
9069 (image_instance_equal): ditto.
9070 (image_instance_hash): ditto.
9071 (image_instance_changed): ditto.
9073 2000-04-30 Andy Piper <andy@xemacs.org>
9075 * glyphs.c (subwindow_query_geometry): new function. Return some
9077 (subwindow_instantiate): don't assign dimensions if none have been
9079 (image_instantiator_format_create): add subwindow_query_geometry.
9080 (print_image_instance): cope with layouts as widgets.
9082 2000-04-29 Andy Piper <andy@xemacs.org>
9084 * frame.c (delete_frame_internal): call
9085 free_frame_subwindow_instance_cache so that all subwindows are
9086 finalized before their parent.
9087 (mark_frame): remove subwindow_cachels.
9088 (Fmake_frame): remove subwindow_cachel manipulation.
9089 (allocate_frame_core): subwindow_instance_cache is a weak list.
9090 (delete_frame_internal): set subwindow_instance_cache to nil.
9092 * glyphs-msw.c (mswindows_finalize_image_instance): make double
9094 (mswindows_finalize_image_instance): use the device
9095 not the domain as the domain may have died already.
9097 * glyphs-x.c (x_finalize_image_instance): ditto.
9098 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
9101 * redisplay-output.c (redisplay_unmap_subwindows): update for
9102 subwindow instance cache as a weak list.
9103 (redisplay_unmap_subwindows_maybe): ditto.
9104 (redisplay_unmap_subwindows_except_us): ditto.
9106 * glyphs.c (unmap_subwindow): error checking will check the domain
9107 so don't deal with it here. Don't use cachels anymore.
9108 (map_subwindow): ditto.
9109 (update_subwindow_cachel_data): remove old accessor names.
9110 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
9111 (Fresize_subwindow): don't update cachel.
9112 (mark_subwindow_cachels):
9113 (update_subwindow_cachel_data):
9114 (add_subwindow_cachel):
9115 (get_subwindow_cachel_index):
9116 (update_subwindow_cachel):
9117 (reset_subwindow_cachels):
9118 (mark_subwindow_cachels_as_not_updated): deleted.
9119 (cache_subwindow_instance_in_frame_maybe): new function. Add a
9120 subwindow instance to the frame cache.
9121 (find_matching_subwindow): update for subwindow instance cache as
9123 (update_widget_instances): ditto.
9124 (image_instance_type_to_mask):inlined.
9125 (free_frame_subwindow_instance_cache): new function. finalize all
9126 subwindows that are instantiated.
9128 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
9129 of cachel information.
9130 (IMAGE_INSTANCE_DISPLAY_X):
9131 (IMAGE_INSTANCE_DISPLAY_Y):
9132 (IMAGE_INSTANCE_DISPLAY_WIDTH):
9133 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
9134 (XIMAGE_INSTANCE_DISPLAY_X):
9135 (XIMAGE_INSTANCE_DISPLAY_Y):
9136 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
9137 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
9138 remove subwindow_cachel structure and function references.
9139 (image_instance_type_to_mask): inline from glyphs.c
9141 * redisplay.c (redisplay_frame): remove subwindow_cachel
9144 * frame.h (struct frame): remove subwindow_cachels.
9145 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
9147 * frameslots.h: add subwindow_instance_cache.
9149 * window.c (replace_window): check subwindow cache of replacement.
9150 (window_unmap_subwindows_cache_mapper):
9151 (window_unmap_subwindows): new functions. Unmap all subwindows
9152 cached on this window.
9153 (mark_window_as_deleted): unmap all subwindows.
9155 2000-04-27 Andy Piper <andy@xemacs.org>
9157 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
9159 * glyphs-widget.c (widget_layout): return something.
9160 (layout_layout): return something. Fail if not initialized.
9161 (layout_query_geometry): ditto.
9162 (image_instantiator_native_layout): new function. Initialized the
9164 (widget_instantiate): don't do layout stuff here.
9166 * glyphs.c (instantiate_image_instantiator): reorded calling or
9167 instantiate and post_instantiate with layout in between.
9168 (image_instance_layout): be more selective about deciding whether
9169 the layout has been done or not.
9171 * glyphs.h (struct image_instantiator_methods): return a value
9174 2000-04-26 Andy Piper <andy@xemacs.org>
9176 * glyphs.c (allocate_image_instance): make initial width and
9177 height unspecified. Set initialized to 0.
9179 * syscommctrl.h new file. Encapsulates commctrl.h.
9181 * syswindows.h new file. Encapsulates windows.h.
9183 * ntplay.c: use new syswindows.h and syscommctrl.h header.
9185 * console-msw.h: ditto.
9187 * redisplay-tty.c (tty_output_display_block): remove layout references.
9189 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
9190 window handle rather than just the frame.
9192 * glyphs.c (mark_image_instance): remove layout references.
9193 (print_image_instance): ditto.
9194 (image_instance_equal): ditto.
9195 (image_instance_hash): ditto.
9196 (decode_image_instance_type): ditto.
9197 (encode_image_instance_type): ditto.
9198 (image_instantiate): ditto.
9199 (allocate_glyph): ditto.
9200 (Fimage_instance_height): ditto.
9201 (Fimage_instance_width): ditto.
9202 (update_subwindow): ditto.
9204 * redisplay-x.c (x_output_display_block): recode for layouts as
9207 * redisplay-output.c (redisplay_output_layout): recode for layouts
9209 (compare_runes): remove layout references.
9211 * redisplay-msw.c (mswindows_output_display_block): recode for
9214 * glyphs-widget.c (image_instantiator_layout): remove
9215 layout_possible_dest_types.
9216 (layout_possible_dest_types): deleted.
9218 * glyphs.h (image_instance_type): remove layout references.
9219 (struct Lisp_Image_Instance): ditto. Add initialized flag.
9220 (IMAGE_INSTANCE_INITIALIZED): new accessor.
9221 (XIMAGE_INSTANCE_INITIALIZED): ditto.
9223 2000-04-25 Andy Piper <andy@xemacs.org>
9225 * glyphs-widget.c (image_instantiator_buttons):
9226 (image_instantiator_edit_fields):
9227 (image_instantiator_combo_box):
9228 (image_instantiator_scrollbar):
9229 (image_instantiator_progress_guage):
9230 (image_instantiator_tree_view):
9231 (image_instantiator_tab_control):
9232 (image_instantiator_labels):
9233 (image_instantiator_layout): call default post_instantiate method.
9234 (widget_post_instantiate): new function. Simply lays out the
9237 * glyphs.h (struct image_instantiator_methods): add
9238 post_instantiate method.
9240 * glyphs.c (instantiate_image_instantiator): add post_instantiate
9243 2000-04-23 Andy Piper <andy@xemacs.org>
9245 * glyphs.h (struct image_instantiator_methods): add
9246 decode_domain_method.
9247 (struct Lisp_Image_Instance): remove subwindow frame - it can be
9248 derived from the domain.
9249 (IMAGE_INSTANCE_FRAME): new accessor.
9250 (XIMAGE_INSTANCE_FRAME): ditto.
9252 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
9253 instead of _SUBWINDOW_FRAME.
9254 (finalize_image_instance): ditto.
9255 (Fimage_instance_foreground): ditto.
9256 (Fimage_instance_background): ditto.
9257 (image_instantiate): ditto.
9258 (update_subwindow_cachel): ditto.
9259 (update_subwindow): ditto.
9260 (unmap_subwindow): ditto.
9261 (map_subwindow): ditto
9262 (subwindow_instantiate): ditto.
9263 * glyphs-msw.c (mswindows_update_widget): ditto.
9264 (mswindows_progress_gauge_instantiate): ditto.
9265 (mswindows_tab_control_update): ditto.
9266 * glyphs-x.c (x_update_widget): ditto.
9267 (x_widget_instantiate): ditto.
9268 (x_tab_control_instantiate): ditto.
9269 (x_tab_control_update): ditto.
9270 * event-msw.c (mswindows_wnd_proc): ditto
9272 * glyphs-widget.c (image_instantiator_layout): use
9273 subwindow_decode_domain.
9274 (image_instantiator_buttons): ditto.
9275 (image_instantiator_edit_fields): ditto.
9276 (image_instantiator_combo_box): ditto.
9277 (image_instantiator_scrollbar): ditto.
9278 (image_instantiator_progress_guage): ditto.
9279 (image_instantiator_tree_view): ditto.
9280 (image_instantiator_tab_control): ditto.
9281 (image_instantiator_labels): ditto.
9282 (image_instantiator_layout): ditto.
9284 * glyphs.c: add instance error checking to many functions.
9285 (instantiate_image_instantiator): decode device from cache_domain.
9286 (image_instantiate): partially rewrite by using
9287 decode_image_instantiator_domain to determine what domain the
9288 instance needs to be cached in.
9289 (decode_image_instantiator_domain): new function. Determine what
9290 domain the image needs to be cached in.
9291 (check_window_subwindow_cache): new error checking function.
9292 (check_instance_cache_mapper): ditto.
9293 (check_image_instance_structure): ditto.
9294 (subwindow_decode_domain): new function. Encodes a window as a
9295 subwindow's cache domain.
9296 (image_instantiator_format_create): use it for text and
9299 2000-04-21 Andy Piper <andy@xemacs.org>
9301 * glyphs.c (image_instance_device): new function.
9302 (image_instance_frame): new function.
9303 (image_instance_window): new function.
9304 (image_instance_live_p): new function.
9306 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9309 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9310 (IMAGE_INSTANCE_DOMAIN): new accessor.
9311 (XIMAGE_INSTANCE_DOMAIN): ditto.
9313 * glyphs-x.c (x_finalize_image_instance): device->domain.
9315 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9316 (mswindows_finalize_image_instance): ditto.
9318 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9319 (gif_instantiate): ditto.
9320 (png_instantiate): ditto.
9321 (tiff_instantiate): ditto.
9323 * glyphs.c (instantiate_image_instantiator): use domain rather
9325 (mark_image_instance): device -> domain.
9326 (print_image_instance): ditto.
9327 (finalize_image_instance): ditto.
9328 (image_instance_equal): ditto.
9329 (allocate_image_instance): ditto.
9330 (Fcolorize_image_instance): ditto.
9331 (query_string_geometry): ditto.
9332 (image_instantiate): ditto
9333 (query_string_font): ditto.
9334 (image_instantiate): ditto.
9335 (update_subwindow): ditto.
9336 (unmap_subwindow): ditto.
9337 (map_subwindow): ditto.
9338 (subwindow_instantiate): ditto.
9340 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9341 (DOMAIN_FRAME): ditto.
9342 (DOMAIN_WINDOW): ditto.
9343 (DOMAIN_LIVE_P): ditto.
9344 (XDOMAIN_DEVICE): ditto.
9345 (XDOMAIN_FRAME): ditto.
9346 (XDOMAIN_WINDOW): ditto.
9348 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9349 a valid specifier domain.
9351 2000-04-19 Andy Piper <andy@xemacs.org>
9353 * glyphs-widget.c (syms_of_glyphs_widget): remove
9354 widget-callback-current-channel.
9355 (vars_of_glyphs_widget): ditto.
9358 * gui.c (get_gui_callback): revert to previous behaviour.
9360 2000-04-18 Andy Piper <andy@xemacs.org>
9362 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9363 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9364 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9366 * glyphs.c (image_instance_equal): add margin_width.
9367 (image_instance_hash): ditto.
9369 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9370 (layout_query_geometry): ditto.
9371 (layout_layout): ditto.
9372 (syms_of_glyphs_widget): add margin-width.
9373 (image_instantiator_layout): allow margin-width.
9375 * glyphs.c (update_widget_instances): make a normal function.
9376 (syms_of_glyphs): remove Qupdate_widget_instances.
9379 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9380 so that we don't corrupt ideas about the last event or
9381 command. Remove widget-callback-current-channel fiddling.
9382 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9384 2000-05-01 Martin Buchholz <martin@xemacs.org>
9386 * XEmacs 21.2.33 is released.
9388 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9390 * make-src-depend: Allow dots in header file name.
9392 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9394 * mule-charset.h (struct charset_lookup): Add
9395 next_allocated_1_byte_leading_byte and
9396 next_allocated_2_byte_leading_byte.
9397 * mule-charset.c: Move above two variables so that those values
9400 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9402 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9403 when string length is zero.
9404 (find_charsets_in_emchar_string): Ditto.
9406 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9408 * lisp.h: extern Qdialog and Qmenubar.
9410 * gui-x.c: added events.h.
9411 also fixed typo which made the file uncompilable.
9413 * general.c: Added Qmenubar and Qdialog
9415 2000-04-28 Ben Wing <ben@xemacs.org>
9417 * frame-msw.c (mswindows_init_frame_1):
9418 * frame-msw.c (mswindows_mark_frame):
9419 * event-msw.c (mswindows_enqueue_dispatch_event):
9421 * console-msw.h (struct mswindows_frame):
9422 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9423 there are now three hash tables for callbacks.
9424 mswindows_enqueue_dispatch_event is no longer static.
9426 * dialog-x.c (maybe_run_dbox_text_callback):
9427 * dialog-x.c (dbox_descriptor_to_widget_value):
9428 switch to new cons3 form for callbacks.
9430 * glyphs-msw.c (mswindows_register_gui_item):
9431 * glyphs-msw.c (mswindows_widget_instantiate):
9432 * glyphs-msw.c (add_tree_item):
9433 * glyphs-msw.c (add_tab_item):
9434 new image instance parameter, so it can be passed to callback-ex.
9435 respect :callback-ex as well as :callback.
9437 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9440 * glyphs.c (print_image_instance):
9441 prettify, e.g. now prints widget type.
9444 certain funs have new image instance parameter.
9447 * gui.c (get_gui_callback):
9448 * gui.c (gui_item_add_keyval_pair):
9449 * gui.c (gui_item_init):
9450 * gui.c (gui_add_item_keywords_to_plist):
9451 * gui.c (mark_gui_item):
9452 * gui.c (gui_item_hash):
9453 * gui.c (gui_item_equal):
9454 * gui.c (copy_gui_item):
9455 * gui.c (syms_of_gui):
9456 recognize callback-ex in a number of places.
9457 also, fix the annoying "can't get out of yes-no dialog" bug.
9460 * gui.h (struct Lisp_Gui_Item):
9461 recognize callback-ex in a number of places.
9463 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9464 new parameter in button_item_to_widget_value.
9466 * glyphs-x.c (x_update_widget):
9467 * glyphs-x.c (x_button_instantiate):
9468 * glyphs-x.c (x_button_update):
9469 * glyphs-x.c (x_progress_gauge_instantiate):
9470 * glyphs-x.c (x_edit_field_instantiate):
9471 * glyphs-x.c (x_combo_box_instantiate):
9472 * glyphs-x.c (x_tab_control_instantiate):
9473 * glyphs-x.c (x_label_instantiate):
9474 new image instance parameter in various places.
9477 * event-Xt.c (enqueue_Xt_dispatch_event):
9478 this fun gets exported.
9481 * gui-msw.c (mswindows_handle_gui_wm_command):
9482 handle both :callback and :callback-ex, and generate our own
9483 event because it's one of the callback-ex arguments.
9486 * gui-x.c (popup_selection_callback):
9487 handle both :callback and :callback-ex, and generate our own
9488 event because it's one of the callback-ex arguments.
9489 * gui-x.c (button_item_to_widget_value):
9490 * gui-x.c (gui_items_to_widget_values_1):
9491 * gui-x.c (gui_item_children_to_widget_values):
9492 * gui-x.c (gui_items_to_widget_values):
9493 new image instance parameter in various places.
9495 * fns.c (Freplace_list):
9496 fix small typo in doc string.
9499 declare enqueue_Xt_dispatch_event.
9501 2000-04-28 Ben Wing <ben@xemacs.org>
9504 * buffer.c (Frecord_buffer):
9505 * buffer.c (syms_of_buffer):
9506 delete record-buffer-hook.
9509 * fns.c (Freplace_list):
9510 * fns.c (syms_of_fns):
9511 new primitive replace-list.
9514 slot for old buffer-alist.
9520 * redisplay.c (redisplay_frame):
9521 * redisplay.c (syms_of_redisplay):
9522 * redisplay.c (vars_of_redisplay):
9523 new hook buffer-list-changed-hook.
9526 2000-04-27 Ben Wing <ben@xemacs.org>
9528 * extents.h: extern in_modeline_generation.
9530 * redisplay.c (generate_formatted_string_db): set
9531 in_modeline_generation.
9533 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9534 flags if in modeline generation. otherwise frame-modified-tick
9535 is ticked far too often.
9536 Declare in_modeline_generation.
9538 2000-04-26 Ben Wing <ben@xemacs.org>
9540 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9542 (vars_of_emacs): add quick-build as an error-checking option.
9543 A bit kludgy, but there doesn't seem much point in creating
9544 a real var for this.
9546 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9548 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9550 * redisplay.h (struct display_line): Add a new variable,
9553 * redisplay.c (create_text_block): Set dl->line_continuation if
9555 (create_string_text_block): Ditto.
9556 (regenerate_window_incrementally): Use line_continuation instead
9557 of searching continuation glyph.
9558 (add_margin_runes): Call add_glyph_rune.
9559 (add_glyph_rune): Handle margin glyph.
9561 2000-04-20 Martin Buchholz <martin@xemacs.org>
9563 * filelock.c (fill_in_lock_file_name):
9565 Check for IS_ANY_SEP instead of '/'.
9567 Avoid generating gratuitous garbage. Call user_login_name() directly.
9568 Never check errno without first seeing that system call failed.
9569 (unlock_file): Add GCPRO.
9570 (Flock_buffer): Fix docstring.
9571 (Ffile_locked_p): Fix docstring. Add GCPRO.
9573 2000-04-19 Martin Buchholz <martin@xemacs.org>
9575 * sysdep.c (get_pty_max_bytes):
9576 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9577 strings longer than 252 bytes.
9579 * md5.c: Unconditionally include ANSI header <limits.h>
9581 * glyphs-x.c (convert_EImage_to_XImage):
9582 * lisp-union.h (union Lisp_Object):
9583 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9585 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9587 * filelock.c (current_lock_owner): Remove unused variable o, p.
9589 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9591 * callint.c: Remove multiply defined symbol Qlet
9592 (syms_of_callint): ditto.
9594 2000-04-14 Andy Piper <andy@xemacs.org>
9596 * general.c (syms_of_general): add last-command, this-command, let
9599 * lisp.h: declare various symbols.
9601 * glyphs.h: declare Qwidget_callback_current_channel;
9603 * glyphs-widget.c (syms_of_glyphs_widget): add
9604 Qgui_callback_current_channel.
9605 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9607 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9608 widget-callback-current-channel when invoking the interactive
9609 arg. Also bind last-command and next-command when invoking the
9611 * gui-x.c (popup_selection_callback): ditto.
9613 * gui.c (get_gui_callback): massage args so that we are always
9614 calling eval. This allows us to add our own variable bindings
9617 * glyphs-x.c (x_button_instantiate): use
9618 gui_items_to_widget_values since this is GC safe.
9619 (x_progress_gauge_instantiate): ditto.
9620 (x_edit_field_instantiate): ditto.
9621 (x_label_instantiate): ditto.
9623 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9624 (emacs_Xt_event_widget_focus_out): new function
9625 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9627 (emacs_Xt_event_add_widget_actions): new function. add focus
9628 functions as actions.
9629 (init_event_Xt_late): use it.
9631 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9633 * event-stream.c (Fdispatch_event): Doc fix.
9635 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9637 * postgresql.c: Remove all references to PQsetenv*.
9639 * postgresql.h: Remove references to PGsetenvHandler object.
9640 * lrecord.h (lrecord_type): Ditto.
9642 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9644 * glyphs-msw.h (struct mswindows_image_instance_data): Added
9645 real_heigh and real_width members, and accessor macros for these.
9647 * glyphs-msw.c (init_image_instance_geometry): New function.
9648 (init_image_instance_from_dibitmap): Use it.
9649 (mswindows_resource_instantiate): Use it.
9650 (init_image_instance_from_xbm_inline): Use it.
9651 (mswindows_initialize_image_instance_mask): Use real bitmap
9653 (mswindows_create_resized_bitmap): Ditto.
9654 (mswindows_create_resized_mask): Ditto.
9656 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
9657 and bitmap to their surface size.
9659 2000-04-11 Jan Vroonhof <jan@xemacs.org>
9661 * process-unix.c (unix_send_process): Guard against process MIA
9662 after Faccept_process_output.
9664 2000-04-11 Ben Wing <ben@xemacs.org>
9666 * eval.c (unbind_to_hairy): fix brokenness introduced by
9667 nanosecond speed improvements.
9669 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
9671 * sunplay.c (init_device): To play sounds correctly, the device
9672 apparently needs to be initialized at least once by XEmacs. Make
9675 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
9677 * redisplay.c (add_margin_runes): Add text image glyph
9680 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9682 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
9683 gcc is newer than 2.5.
9685 2000-04-06 Colin Rafferty <colin@xemacs.org>
9687 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
9689 * fns.c (size_bit_vector):
9690 * alloc.c (size_vector):
9691 (make_vector_internal):
9692 (make_bit_vector_internal):
9693 (sweep_bit_vectors_1):
9694 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
9696 2000-04-06 Andy Piper <andy@xemacs.org>
9698 * gmalloc.c (malloc): undo previous change.
9703 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
9705 * line-number.c (buffer_line_number): Revert to former version.
9707 2000-04-06 Andy Piper <andy@xemacs.org>
9709 * gmalloc.c (malloc): add error checking.
9714 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
9715 button_item_to_widget_value arg.
9717 * glyphs-x.c (x_button_instantiate): add extra
9718 button_item_to_widget_value arg.
9719 (x_progress_gauge_instantiate): ditto.
9720 (x_edit_field_instantiate): ditto.
9721 (x_label_instantiate): ditto.
9723 * gui-x.c (gui_items_to_widget_values_1): add extra
9724 button_item_to_widget_value arg.
9725 (button_item_to_widget_value): add extra menu_item_p arg.
9727 * gui-x.h: change signature of button_item_to_widget_value.
9729 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
9730 button_item_to_widget_value arg.
9732 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9734 * buffer.h (struct buffer): auto_save_modified should be long.
9736 2000-04-05 Andy Piper <andy@xemacs.org>
9738 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
9740 (button_query_geometry): give a little more room so that athena
9743 2000-04-05 Andy Piper <andy@xemacs.org>
9745 * faces.c (complex_vars_of_faces): The widget face should inherit
9746 the font of the gui-element face.
9748 2000-04-04 Andy Piper <andy@xemacs.org>
9750 * glyphs-x.c (x_button_update): new function. unconditionally
9751 update a button's state when the instance is dirty.
9752 (image_instantiator_format_create_glyphs_x): add x_button_update.
9753 (x_widget_instantiate): remove old resize cruft.
9755 2000-04-02 Andy Piper <andy@xemacs.org>
9757 * frame.c (change_frame_size_1): The introduction of gutters means
9758 that we need to allow 0 as a potential frame dimension.
9760 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
9762 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
9763 image glyph if allow_cursor.
9764 (add_hscroll_rune): Don't allow cursor to border glyph.
9765 (create_text_block): Ditto.
9767 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
9769 (redisplay_output_layout): Call ensure_face_cachel_complete for
9773 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
9775 * redisplay.c (add_glyph_rune): Adding text image as text runes.
9777 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
9780 * redisplay-tty.c (tty_output_display_block): Delete the routine
9781 for text image glyph
9782 * redisplay-x.c (x_output_display_block): ditto
9783 * redisplay-msw.c (mswindows_output_display_block): ditto
9785 2000-02-02 Mike Alexander <mta@arbortext.com>
9787 Note: Some of these were committed by accident as part of other
9790 * regex.c (regex_compile): Avoid compiler warnings.
9792 * ntproc.c (sys_spawnve): Avoid compiler warnings.
9794 * nt.h: Declare term_ntproc correctly.
9796 * nt.c: Remove incorrect declaration of get_home_directory which
9797 is declared correctly in lisp.h.
9799 * keymap.c (get_keyelt): Avoid compiler warnings.
9800 (raw_lookup_key_mapper): Avoid compiler warnings.
9802 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
9804 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
9806 * filemode.c (mode_string): Avoid compiler warnings.
9808 * file-coding.c (Fcoding_system_aliasee): Add return statement to
9811 * events-mod.h: Undef some things that winuser.h defines differently.
9813 * data.c (Faset): Avoid compiler warnings.
9815 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
9817 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9819 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
9820 Fall through to simple beep on error.
9821 Replace "extern" by real header file.
9823 * linuxplay.c: Use nativesound.h
9824 (play_sound_data): Return error code. Be less verbose on error.
9826 * sunplay.c: Use nativesound.h
9827 (play_sound_data): Return error code. Be less verbose on error.
9829 * ntplay.c: Use nativesound.h
9830 (play_sound_data): Return fake error code
9832 * sgiplay.c: Use nativesound.h
9833 (play_sound_data): Return error code
9835 * hpplay.c: Use nativesound.h, partially implement
9836 new error code. Break compilation until finished.
9837 (play_sound_data): error code.
9839 * nativesound.h (play_sound_file):
9840 (play_sound_data): Prototype in new header.
9842 2000-03-31 Andy Piper <andy@xemacs.org>
9844 * glyphs-widget.c: (button_query_geometry): new function. Adjust
9845 for toggle and radio buttons.
9846 (image_instantiator_buttons): use it.
9848 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9850 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
9851 (x_update_horizontal_scrollbar_callback): Return if no mirror was
9852 found. Scrollbar event probably belonged to some old config.
9854 2000-03-31 Andy Piper <andy@xemacs.org>
9856 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
9858 (initialize_widget_image_instance): default layout to
9859 LAYOUT_HORIZONTAL rather than 0.
9860 (widget_instantiate): reverse the item list at the end rather than
9862 (layout_layout): re-code for the border text at the front of the
9863 item list rather than at the end.
9864 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
9865 provided by the user.
9866 (widget_query_geometry): comment.
9868 2000-03-30 Andy Piper <andy@xemacs.org>
9870 * glyphs-widget.c (image_instantiator_layout): allow standard
9871 widget keywords in layouts.
9873 * gutter.c (output_gutter): cope with nil gutter contents.
9875 * frame.c (Fset_frame_properties): add gutter docs.
9877 2000-03-29 Andy Piper <andy@xemacs.org>
9879 * toolbar-msw.c (TBSTYLE_FLAT): add.
9880 (mswindows_output_toolbar): minor fiddling.
9882 2000-03-29 Andy Piper <andy@xemacs.org>
9884 * gutter.c (output_gutter): force gutter size recalculation if
9885 what we are trying to display won't fit.
9886 (update_gutter_geometry): new function. A per-gutter version of
9887 update_frame_gutter_geometry.
9888 (update_frame_gutter_geometry): use it.
9889 (redraw_exposed_gutter): add extra debugging output.
9891 2000-03-28 Mike Alexander <mta@arbortext.com>
9893 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
9894 (pdump_file_unmap): Implement it on Windows
9895 (pdump_file_get): Save alocated handles for pdump_file_unmap
9897 2000-03-28 Andy Piper <andy@xemacs.org>
9899 * gui.c (get_gui_callback): treat Quit specially.
9901 2000-03-27 Andy Piper <andy@xemacs.org>
9903 * glyphs.c (image_instantiate): be careful to check in the same
9906 2000-03-27 Didier Verna <didier@xemacs.org>
9908 * config.h.in: define the proper SMART_INCLUDE macro.
9909 handle renaming of `foo_h_path' to `foo_h_file'.
9911 * database.c: ditto.
9915 * linuxplay.c: ditto.
9917 * terminfo.c: ditto.
9919 * tooltalk.h: ditto.
9921 2000-03-27 Andy Piper <andy@xemacs.org>
9923 * glyphs-msw.c (mswindows_update_widget): make sure the widget
9924 gets updated whenever the face might have changed.
9926 2000-03-26 Mike Alexander <mta@arbortext.com>
9928 * dumper.c (pdump_resource_free): Fix the comment.
9930 2000-03-21 Olivier Galibert <galibert@pobox.com>
9932 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
9934 2000-03-22 Mike Alexander <mta@arbortext.com>
9936 * dumper.c: Include Windows headers on Windows
9937 (pdump_resource_free): Add a body to the function
9938 (pdump_load): exe_name -> exe_path and add some comments.
9940 2000-03-25 Mike Alexander <mta@arbortext.com>
9942 * gui.c (copy_gui_item_tree): Return a value in all cases
9944 2000-03-21 Didier Verna <didier@xemacs.org>
9946 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
9948 (SMART_INCLUDE): new macro.
9949 (POSTGRES_INCLUDE): new macro to include postgresql headers from
9950 the proper location.
9952 * postgresql.c: use it.
9956 2000-03-24 Andy Piper <andy@xemacs.org>
9958 * gutter.c (redraw_exposed_gutters): must be "in display" when we
9961 2000-03-24 Andy Piper <andy@xemacs.org>
9963 * redisplay-output.c (compare_runes): use image_instance_changed
9964 to detect changes. Do not depend on glyphs_changed, only depend on
9966 (redisplay_output_layout): add debug messages.
9967 (compare_runes): ditto.
9969 * glyphs.h: declare new functions.
9970 (struct Lisp_Image_Instance): remove percent and associated
9973 * gui.h: declare new copying functions.
9975 * gui.c (copy_gui_item_tree): new function.
9976 (copy_gui_item): new function.
9977 (gui_item_id_hash): revert to standard hash.
9978 (gui_item_hash): ditto.
9979 (gui_item_hash_internal): deleted.
9980 (mark_gui_item): mark value.
9981 (gui_item_add_keyval_pair): add value.
9982 (gui_item_init): ditto.
9983 (gui_add_item_keywords_to_plist): ditto.
9984 (gui_item_equal): ditto.
9985 (syms_of_gui): add Q_value.
9987 * glyphs-x.c (x_progress_gauge_update): use pending items and
9988 value for setting the state.
9989 (x_update_widget): don't set items from pending here.
9991 * glyphs-widget.c (update_widget): update items here.
9992 (progress_gauge_set_property): use items for storing value. Put
9993 new value in pending items.
9995 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
9996 items for new value. Convert percent -> value.
9997 (mswindows_tab_control_update): don't update items here.
9999 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
10000 (update_subwindow): ditto.
10001 (image_instance_changed): new function. Compare hash values and
10002 past and present widget items.
10003 (image_instantiate): We more careful about where we instantiate
10005 (image_instantiate): add error checking.
10007 * gutter.c (syms_of_gutter): use -hook.
10009 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
10011 * console-tty.c (Fset_console_tty_input_coding_system): Use
10013 (Fset_console_tty_output_coding_system): Use Qterminal.
10014 (tty_init_console): Use Qkeyboard and Qterminal.
10016 2000-03-21 Ben Wing <ben@xemacs.org>
10018 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
10019 From Mike Alexander <mta@arbortext.com>.
10021 2000-03-21 Ben Wing <ben@xemacs.org>
10023 * event-msw.c (mswindows_need_event): Horrible kludge to fix
10024 process brokenness. Proper implementation to come.
10026 Rename call-process-internal to old-call-process-internal.
10027 New impl. in process.el.
10029 2000-03-21 Martin Buchholz <martin@xemacs.org>
10031 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
10033 2000-03-20 Andy Piper <andy@xemacs.org>
10035 * glyphs.c (full_list_hash): make hashes of the same elements in
10036 different orders return different values.
10038 2000-03-20 Martin Buchholz <martin@xemacs.org>
10040 * XEmacs 21.2.32 is released.
10042 2000-03-20 Martin Buchholz <martin@xemacs.org>
10044 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
10045 (DFC_MALLOC_USE_CONVERTED_DATA):
10046 Add aliasing-safe casts to allow use with char* or unsigned char*
10049 * eldap.c (Fldap_open):
10050 (Fldap_search_basic):
10053 Make C++-compilable.
10054 Make sure GCPRO'ed variables are initialized.
10055 Use temp variables to avoid repeated calls to Flength.
10057 2000-03-16 Martin Buchholz <martin@xemacs.org>
10060 Make sure PATH_MAX is always defined.
10061 Include limits.h for PATH_MAX.
10062 Deprecate use of MAXPATHLEN.
10064 2000-03-10 Martin Buchholz <martin@xemacs.org>
10066 * emacs.c: Add reinit_vars_of_fileio.
10067 * symsinit.h: Add reinit_vars_of_fileio.
10068 * fileio.c (reinit_vars_of_fileio): New.
10069 * fileio.c (Fmake_temp_name):
10070 Initialize temp_name random number from microseconds to make
10071 collisions even less likely. Initialize always at process startup
10072 time. (make-temp-name) used to return the same file name twice in
10074 Random stylistic fiddling.
10077 2000-03-20 Andy Piper <andy@xemacs.org>
10079 * glyphs.c (image_instantiate): allow text glyphs to be
10080 instantiated in the minibuffer window.
10082 2000-03-19 Andy Piper <andy@xemacs.org>
10084 * glyphs.c (image_instance_hash): be careful about which items we
10087 * glyphs-widget.c (tab_control_set_property): record into pending
10088 items rather than the actual items.
10090 * glyphs-x.c (x_update_widget): use pending items to update with.
10092 * glyphs-msw.c (mswindows_tab_control_update): use pending items
10095 * glyphs.c (mark_image_instance): mark pending items.
10097 * window.c (Fset_window_configuration): record the buffer.
10098 (Fselect_window): totally revert previous change which breaks many
10101 2000-03-18 Andy Piper <andy@xemacs.org>
10103 * glyphs-msw.c (mswindows_tab_control_update): force selected
10106 * glyphs.c (image_instantiate): don't allow the minibuffer as a
10107 window domain cache, otherwise we get inconsistencies at
10108 startup. There is something fishy at startup which can lead to the
10109 minibuffer being the selected window when the gutter content is
10112 * gui.c (parse_gui_item_tree_list): add probably unnecessary
10114 (parse_gui_item_tree_children): ditto.
10115 (parse_gui_item_tree_item): ditto.
10117 * glyphs.c (Fupdate_widget_instances): return something.
10119 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
10121 * window.c (Fselect_window): Undo 2000-03-17 change.
10123 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
10125 * postgresql.c (Fpq_setenv): Remove this turkey when linking
10126 against v7.0 libraries. Insta-coredump city until the postgres
10129 2000-03-17 Andy Piper <andy@xemacs.org>
10131 * faces.c (complex_vars_of_faces): don't give the widget face an
10132 inherited background pixmap.
10134 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
10137 * event-stream.c (Fdispatch_non_command_events): return something.
10139 * gutter.c (output_gutter): use widget face.
10140 (clear_gutter): ditto.
10142 * NEWS: adjust again.
10144 * window.c (Fselect_window): make sure this runs to completion to
10145 avoid oddities with Fset_window_configuration.
10146 (Fcurrent_window_configuration): in general do not save the
10147 minibuffer as the selected window.
10149 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
10151 2000-03-16 Olivier Galibert <galibert@pobox.com>
10153 * emacs.c (Frunning_temacs_p): Revert previous patch.
10154 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
10156 2000-03-16 Andy Piper <andy@xemacs.org>
10158 * glyphs-x.c (x_tab_control_update): if no widget values then
10161 * NEWS: update for new features.
10163 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
10164 synthetic event to the native system.
10165 (reinit_vars_of_event_Xt): set force_event_pending to
10166 emacs_Xt_force_event_pending.
10168 * events.h (struct event_stream): add force_event_pending.
10170 * specifier.c (recompute_one_cached_specifier_in_window): add
10173 * redisplay.c (redisplay_frame): don't call
10174 update_frame_subwindows. Reset subwindow cachels when
10175 subwindows_changed, removing this was an optimization too far.
10177 * redisplay-output.c (compare_runes): reorganize so that we catch
10178 glyph changes when we want them. Set optimize_output when this
10179 would help layouts.
10180 (redisplay_output_layout): remove frame_really_changed, use
10181 optimize_output instead.
10183 * redisplay-msw.c (mswindows_output_display_block): reset
10184 optimize_output after outputting a glyph.
10185 * redisplay-x.c (x_output_display_block): ditto.
10186 * redisplay-tty.c (tty_output_display_block): ditto.
10188 * gutter.c: (specifier_vars_of_gutter): use new spec changed
10190 (gutter_specs_changed): do specific gutter positions.
10191 (top_gutter_specs_changed): new function. Only update the
10192 specified gutter specs.
10193 (bottom_gutter_specs_changed): ditto.
10194 (left_gutter_specs_changed): ditto.
10195 (right_gutter_specs_changed): ditto.
10197 * gui.c (gui_item_hash_internal): new function, does a real hash.
10198 (gui_item_id_hash): use it.
10199 (gui_item_hash): hash the eval'ed gui_item.
10201 * gui-x.c (popup_selection_callback): send an eval event to call
10202 Fupdate_widget_instances.
10204 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
10205 to call Fupdate_widget_instances.
10207 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
10208 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
10210 * glyphs.c: (update_frame_subwindows): deleted.
10211 (Fupdate_widget_instances): new function for updating the dirty
10212 state of widgets that might have changed.
10213 (syms_of_glyphs): add Qupdate_widget_instances.
10214 (full_list_hash): hash a list completely.
10215 (image_instance_hash): use it for items and properties.
10217 * frame-msw.c (mswindows_size_frame_internal): remove unused
10220 * faces.h (struct face_cachel): fix comment.
10222 * event-stream.c (Fdispatch_non_command_events): new
10223 function. Process non-command events, forcing an event cycle
10225 (syms_of_event_stream): declare.
10226 (event_stream_force_event_pending): new function. Force an event
10227 on the native event queue so that an event cycle will occur next
10231 (struct ntpipe_shove_stream):
10232 (mswindows_enqueue_dispatch_event):
10233 (mswindows_dequeue_dispatch_event):
10234 (mswindows_cancel_dispatch_event):
10235 (mswindows_pump_outstanding_events):
10236 (mswindows_drain_windows_queue):
10237 (mswindows_handle_paint):
10238 (mswindows_wnd_proc):
10239 (mswindows_key_to_emacs_keysym):
10240 (get_process_input_waitable):
10241 (emacs_mswindows_delete_stream_pair): re-indent file.
10242 (mswindows_need_event): do not process further fds if the windows
10243 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
10244 fixes the 100% cpu problem.
10245 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
10247 2000-03-15 Olivier Galibert <galibert@pobox.com>
10253 * emacs.c: Moved dump file searching to dumper.c.
10254 (Frunning_temacs_p): Fixed.
10256 * alloc.c: Moved everything pdump-related to dumper.c. Removed
10257 last_lrecord_type_index_assigned.
10259 2000-02-20 Olivier Galibert <galibert@pobox.com>
10261 * symsinit.h: Added reinit parameter to init_console_stream
10264 * lisp.h: Added file parameter to pdump_load declaration.
10266 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
10267 support. Added dump file searching.
10269 * config.h.in: Added EMACS_PROGNAME.
10271 * console-stream.c (init_console_stream): Fix reinitialisation
10272 when running from temacs.
10274 * alloc.c (pdump): Add id support.
10275 (pdump_load): Add file parameter and signature/id support.
10277 * Makefile.in.in: Add full pdump support.
10279 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
10281 * postgresql.c: Update documentation to reflect latest code
10283 (print_result): Show tuple counts in printed representation when
10285 (Fpq_put_nbytes): MULE-ize.
10286 (Fpq_get_line_async): Ditto.
10288 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10290 * postgresql.c (Fpq_lo_import): Fix return value.
10291 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10293 2000-03-13 Ben Wing <ben@xemacs.org>
10295 * alloc.c (pdump_load):
10296 Fix compile warning under mswin.
10298 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10300 * postgresql.c: Mule-ization, bug fixes.
10301 Use PG_CODING to encapsulate coding system name changes.
10302 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10303 (pg-coding-system): Create.
10305 (Fpq_conn_defaults): Mule-ize.
10306 (Fpq_connectdb): Mule-ize & bug fix.
10307 (Fpq_connect_start): Mule-ize.
10308 (Fpq_set_client_encoding): Mule-ize.
10309 (Fpq_finish): Document `DEAD' connection status.
10310 (Fpq_clear): Ditto.
10311 (Fpq_pgconn): Mule-ize.
10312 (Fpq_exec): Mule-ize & bug fix.
10313 (Fpq_send_query): Ditto.
10314 (Fpq_get_result): Ditto.
10315 (Fpq_res_status): Mule-ize.
10316 (Fpq_result_error_message): Mule-ize.
10317 (Fpq_ntuples): fix comments.
10318 (Fpq_fname): Mule-ize.
10319 (Fpq_fnumber): Mule-ize.
10320 (Fpq_ftype): fix comments.
10321 (Fpq_get_value): Mule-ize.
10322 (Fpq_cmd_status): Ditto.
10323 (Fpq_cmd_tuples): Ditto.
10324 (Fpq_oid_value): Ditto.
10325 (Fpq_notifies): Ditto.
10326 (Fpq_lo_import): Ditto.
10327 (Fpq_lo_export): Ditto.
10328 (Fpq_get_line): Ditto.
10329 (Fpq_put_line): Mule-ize and bug fix.
10330 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10332 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10334 * postgresql.c (vars_of_postgresql): Mule-ize.
10335 (Fpq_conn_defaults): Ditto.
10337 2000-03-12 Ben Wing <ben@xemacs.org>
10339 * alloc.c (Fmake_byte_code):
10340 * alloc.c (debug_string_purity_print):
10341 * alloc.c (pdump_backtrace):
10342 * alloc.c (pdump_get_indirect_count):
10343 * alloc.c (pdump_register_sub):
10344 * alloc.c (pdump_register_object):
10345 * alloc.c (pdump_register_struct):
10346 * alloc.c (pdump_dump_data):
10347 * alloc.c (pdump_reloc_one):
10351 * console-msw.c (GetConsoleHwnd):
10352 * console-msw.c (msw_hide_console):
10353 * console-msw.c (msw_show_console):
10354 * console-msw.c (msw_ensure_console_buffered):
10355 * console-msw.c (msw_output_console_string):
10356 * console-msw.c (console_type_create_mswindows):
10358 a) Added functions to manipulate the console window for use with
10361 b) Added support for writing text to the console, which is now
10362 used under Windows when xemacs is not being run non-interactively,
10363 to write text that would otherwise be destined for stdout because
10364 under these circumstances, text written to stdout tends to
10365 disappear and not be seen.
10369 * event-Xt.c (x_event_to_emacs_event):
10370 * event-Xt.c (describe_event_window):
10371 * events-mod.h (XEMACS_MOD_CONTROL):
10373 * events.c (Fmake_event):
10374 * events.c (character_to_event):
10375 * events.c (event_to_character):
10376 * events.c (format_event_object):
10377 * events.c (Fevent_modifiers):
10379 * events.h (struct key_data):
10380 * events.h (struct button_data):
10381 * events.h (struct misc_user_data):
10382 * frame-x.c (Fcde_start_drag_internal):
10383 * frame-x.c (Foffix_start_drag_internal):
10384 * gpmevent.c (Freceive_gpm_event):
10386 * keymap.c (bucky_sym_to_bucky_bit):
10387 * keymap.c (control_meta_superify):
10388 * keymap.c (make_key_description):
10389 * keymap.c (keymap_lookup_directly):
10390 * keymap.c (create_bucky_submap):
10391 * keymap.c (keymap_store):
10392 * keymap.c (define_key_check_and_coerce_keysym):
10393 * keymap.c (define_key_parser):
10394 * keymap.c (define_key_alternate_name):
10395 * keymap.c (Fdefine_key):
10396 * keymap.c (raw_lookup_key_mapper):
10397 * keymap.c (struct map_keymap_unsorted_closure):
10398 * keymap.c (map_keymap_unsorted_mapper):
10399 * keymap.c (map_keymap_sort_predicate):
10400 * keymap.c (map_keymap_sorted):
10401 * keymap.c (accessible_keymaps_mapper_1):
10402 * keymap.c (where_is_recursive_mapper):
10403 * keymap.c (describe_map_mapper):
10404 * keymap.c (describe_map_sort_predicate):
10405 * keymap.c (describe_map):
10406 * keymap.c (complex_vars_of_keymap):
10407 And a number of other files, the key modifier preprocessor
10408 constants that xemacs uses have names that conflict with constants
10409 defined under MS Windows for other purposes, so they were renamed
10410 to begin with the prefix XEMACS_. The variables that hold such
10411 modifiers were changed to consistently be of type int to fix
10412 various compile warnings.
10414 * console.c (complex_vars_of_console):
10417 * device-msw.c (mswindows_finish_init_device):
10418 * device-msw.c (msw_get_workspace_coords):
10419 * device-msw.c (mswindows_device_system_metrics):
10420 and various other files, added support for a new
10421 device property called offset-workspace which returns the position
10422 of the upper left corner of the workspace area and goes along with
10423 the existing size-workspace property.
10426 * dialog-msw.c (push_bufbyte_string_as_unicode):
10427 * dialog-msw.c (mswindows_popup_dialog_box):
10428 Added support for XEmacs-style accelerator specifications in
10429 button text. Note: I didn't add support for this under X Windows,
10430 and somebody needs to do this.
10433 * dialog.c (Fpopup_dialog_box):
10434 Documented the support for accelerators that was just mentioned.
10436 editfns.c (get_home_directory): Changed behavior under Windows
10437 when HOME not defined; former behavior was irretrievably broken.
10440 * emacs.c (main_1):
10442 * minibuf.c (clear_echo_area_internal):
10443 * minibuf.c (echo_area_append):
10445 * print.c (std_handle_out_external):
10446 * print.c (std_handle_out_va):
10448 * print.c (write_string_to_stdio_stream):
10449 * print.c (output_string):
10450 * print.c (debug_print):
10451 * print.c (debug_backtrace):
10452 * print.c (debug_short_backtrace):
10453 Cleaned up the code that prints text to stdout so that this can be
10454 changed to output into a console window instead under MS Windows,
10455 as described above.
10458 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10459 * eval.c (internal_catch):
10460 * eval.c (unwind_to_catch):
10461 * eval.c (throw_or_bomb_out):
10462 * eval.c (condition_case_1):
10463 * eval.c (signal_1):
10464 * eval.c (check_error_state_sanity):
10465 * eval.c (call_with_suspended_errors_1):
10466 * eval.c (call_with_suspended_errors):
10467 * eval.c (reinit_vars_of_eval):
10468 Added code to catch throw loops and check for a pesky bug that may
10472 * event-msw.c (key_needs_default_processing_p):
10473 * event-msw.c (mswindows_wnd_proc):
10474 * event-msw.c (mswindows_modifier_state):
10475 * event-msw.c (emacs_mswindows_quit_p):
10476 * event-msw.c (vars_of_event_mswindows):
10477 a) Added support for using the alt key to select menu items as is
10478 standard under MS Windows. This is controlled using the variable
10479 menu-accelerator-enabled, just like under X Windows. There is an
10480 option on the options menu to turn this support on. I really
10481 think that it should be on by default under Windows, but I'm not
10482 going to make this change yet.
10484 b) Added support for dynamic display size changes under Windows.
10487 * event-stream.c (maybe_echo_keys):
10488 * event-stream.c (Fnext_event):
10489 * event-stream.c (command_builder_find_leaf):
10490 * event-stream.c (lookup_command_event):
10491 * event-stream.c (execute_command_event):
10492 * event-stream.c (pre_command_hook):
10493 * event-stream.c (post_command_hook):
10494 * event-stream.c (syms_of_event_stream):
10495 * event-stream.c (vars_of_event_stream):
10496 * event-stream.c (complex_vars_of_event_stream):
10497 * events.h (struct command_builder):
10499 a) Tried to clean up a little bit the horribly written x-specific
10500 accelerator code that crept into this file. I moved this code
10501 into menubar-x.c where it belongs. I also needed to move the
10502 command builder structure into the file events.h because it is
10503 accessed directly by this accelerator code. What I didn't do, but
10504 which should be done at some point, is to properly abstract this
10505 code using device methods instead of the kludgy way that it
10506 currently hooks into the event code.
10508 b) Added the lisp variables this-command-properties and
10509 last-command- properties, which should be used to synchronize two
10510 adjacent commands in preference to playing games with the variable
10511 this-command, which is typically what happens.
10513 c) Added some slightly nasty code to hook into the lisp support
10514 for shifted- motion-key selection. This is actually necessary for
10515 somewhat complicated reasons, which are described in
10516 simple.el. (NB: I think the proper thing would be to have the code
10517 that calls the pre and post command hooks also call out to generic
10518 lisp functions in simple.el, where all built-in stuff could be
10519 added. I will think about this more.)
10521 * event-unixoid.c (poll_fds_for_input):
10522 * lread.c (readchar):
10523 * redisplay-tty.c (tty_clear_frame):
10524 * redisplay-x.c (x_get_gc):
10525 * signal.c (interrupt_signal):
10526 And a whole bunch of other files: fixed up places that printed
10527 directly to stderr to instead call the function stderr_out so that
10528 the changes I made under Windows work correctly.
10530 * filemode.c (mode_string):
10534 * frame-msw.c (mswindows_size_frame_internal):
10535 Fixed the computation of frame size and position to keep the frame
10536 within the workspace area, rather than within the physical
10537 dimensions of the screen, so that the frame doesn't overlap window
10538 manager decorations, such as the start menu and toolbar, typically
10539 at the bottom of the screen.
10541 * frame.c (vars_of_frame):
10542 Changed the default frame title format under MS Windows to consist
10543 of buffername-XEmacs, which is standard under MS Windows. I think
10544 it might be a good idea to change this everywhere because I think
10545 it is superior to the current frame title format, but this is the
10546 kind of change that is likely to cause some people to get annoyed,
10547 so I'm not making it.
10549 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10551 * gui-msw.c (mswindows_handle_gui_wm_command):
10552 Fixed compile warnings.
10555 * gui-x.c (strdup_and_add_accel):
10556 * gui-x.c (button_item_to_widget_value):
10558 Added code to automatically put an accelerator onto the beginning
10559 of menu items that don't have one as is now the standard, and is
10560 described more later. Also fixed things so that the menu item
10561 name can be an evaluated expression, again a new standard.
10564 * gui.c (gui_item_add_keyval_pair):
10565 * gui.c (make_gui_item_from_keywords_internal):
10566 * gui.c (gui_add_item_keywords_to_plist):
10567 * gui.c (gui_item_accelerator):
10568 * gui.c (gui_name_accelerator):
10569 * gui.c (gui_item_included_p):
10570 * gui.c (gui_item_display_flush_left):
10571 * gui.c (gui_item_display_flush_right):
10572 * gui.c (parse_gui_item_tree_item):
10573 * gui.c (parse_gui_item_tree_children):
10574 * gui.c (parse_gui_item_tree_list):
10575 Mule-ized. Cleanup. GCPRO addition.
10577 * line-number.c (buffer_line_number):
10579 * lisp.h (EMACS_INT_MAX):
10580 Added the manifest constant EMACS_INT_MIN corresponding to the
10581 existing constant EMACS_INT_MAX. This is partially to fix compile
10582 warnings under Windows, and partly for cleanliness.
10585 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10586 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10587 * menubar-msw.c (displayable_menu_item):
10588 * menubar-msw.c (populate_menu_add_item):
10589 * menubar-msw.c (populate_or_checksum_helper):
10590 * menubar-msw.c (populate_menu):
10591 * menubar-msw.c (update_frame_menubar_maybe):
10592 * menubar-msw.c (prune_menubar):
10593 * menubar-msw.c (msw_char_is_accelerator):
10594 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10595 * menubar-msw.c (mswindows_handle_wm_command):
10596 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10597 * menubar-msw.c (mswindows_handle_wm_initmenu):
10598 * menubar-msw.c (mswindows_update_frame_menubars):
10599 * menubar-msw.c (mswindows_free_frame_menubars):
10600 * menubar-msw.c (mswindows_popup_menu):
10601 Fixed a bug in handling accelerators where an extra character
10602 would be displayed in the menu item. Also generalized the
10603 function displayable_menu_item because it is now used by the
10604 dialog box code as well. And finally, added code in the functions
10605 that create the menubar to extract a list of accelerators for the
10606 top level menubar, which is used in the event code to determine
10607 whether a particular alt-key combination should be used to invoke
10608 a menu item, or should be passed through to access the standard
10609 XEmacs keymap binding for this key combination.
10611 Much needed GCPROing.
10614 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10615 * menubar-x.c (menu_item_descriptor_to_widget_value):
10616 * menubar-x.c (restore_in_menu_callback):
10617 * menubar-x.c (x_popup_menu):
10618 * menubar-x.c (menu_move_up):
10619 * menubar-x.c (menu_move_down):
10620 * menubar-x.c (menu_move_left):
10621 * menubar-x.c (menu_move_right):
10622 * menubar-x.c (menu_select_item):
10623 * menubar-x.c (command_builder_operate_menu_accelerator):
10624 * menubar-x.c (menu_accelerator_junk_on_error):
10625 * menubar-x.c (command_builder_find_menu_accelerator):
10626 * menubar-x.c (Faccelerate_menu):
10628 Moved a whole bunch of code here that was previously in
10629 event-stream.c as described above. There is also code connected
10630 to the new standard of adding an accelerator to the beginning of
10631 menu items that don't have one as described above and below.
10634 * menubar.c (menu_parse_submenu_keywords):
10635 * menubar.c (Fmenu_find_real_submenu):
10636 * menubar.c (Fnormalize_menu_item_name):
10637 * menubar.c (syms_of_menubar):
10638 * menubar.c (vars_of_menubar):
10639 * menubar.c (complex_vars_of_menubar):
10641 a) Cleaned up a bunch of documentation and improved it.
10643 b) XEmacs now automatically adds an accelerator onto the beginning
10644 of any menu items that don't have one. I did this because there
10645 will inevitably be some menu items on the main menubar that don't
10646 have accelerators on them because the package that adds that
10647 particular menu item hasn't yet been fixed up to have accelerators
10648 in them and it looked rather strange to have some items with and
10649 some items without accelerators, especially since even in items
10650 without accelerators, you can, at least under windows, still
10651 access the item through an accelerator corresponding to the first
10652 character in the item's name. If people don't like this behavior,
10653 I can add a variable to turn it off optionally, but I'm not sure
10654 this is a good idea because we really do need to have accelerators
10655 on all of the menu items, and if a package doesn't like the
10656 accelerators being put on the first character, then it should put
10657 the accelerators where they belong.
10659 c) I made a behavior change, which is that the descriptor that
10660 specifies the text of the menu item, which formerly was just a
10661 string, can now also be an evaluated expression. This makes this
10662 descriptor parallel with all of the others, which could also be
10663 evaluated expressions. This also obviates the need for the
10664 keyword :label, which was previously listed in the documentation
10665 as unimplemented, and which was for the same purpose.
10670 * ntproc.c (new_child):
10671 * ntproc.c (sys_spawnve):
10672 * ntproc.c (find_child_console):
10673 * ntproc.c (sys_kill):
10674 Fixed compile warnings. By the way, this file should really go
10675 away entirely, and this will happen as soon as Kirill makes his
10676 final round of process cleanups, which affect the function
10680 * process-nt.c (struct nt_process_data):
10681 * process-nt.c (find_process_from_pid):
10682 * process-nt.c (send_signal_the_nt_way):
10683 * process-nt.c (enable_child_signals):
10684 * process-nt.c (find_child_console):
10685 * process-nt.c (send_signal_the_95_way):
10686 * process-nt.c (nt_finalize_process_data):
10687 * process-nt.c (ensure_console_window_exists):
10688 * process-nt.c (nt_create_process):
10689 * process-nt.c (nt_kill_child_process):
10690 * process-nt.c (nt_kill_process_by_pid):
10691 * process-nt.c (nt_open_network_stream):
10692 * process-nt.c (vars_of_process_nt):
10693 Copied over code from Emacs 20.5 to correctly send signals to sub-
10694 processes under Windows 95. Also added code to automatically
10695 create and hide console window when a sub-process is created under
10696 Windows 95, which obviates the need for the separate runemacs.exe
10697 executable, and finally implemented some variables that were
10698 implemented in Emacs 20.5, but previously not in XEmacs. These
10699 include mswindows- start-process-share-console and
10700 mswindows-start-process-inherit-error-mode. (Both of these only
10701 apply to Windows 95.)
10703 * regex.c (regex_compile): Fixed a compile warning.
10706 * select-msw.c (mswindows_own_selection):
10707 * select-msw.c (mswindows_get_foreign_selection):
10708 * select-msw.c (mswindows_disown_selection):
10709 * select-msw.c (console_type_create_select_mswindows):
10710 * select-msw.c (syms_of_select_mswindows):
10711 Cleaned up the file and implemented the device method
10712 selection_exists_p, which had accidentally been left out. Also
10713 removed four lisp functions that were remnants from before the
10714 time when the selection code was properly device abstracted.
10715 These functions are no longer needed because there are generic
10716 equivalents, and because they were added recently and don't exist
10717 in FSF Emacs, I don't think there's any problem with just deleting
10721 * sysdep.c (sys_subshell):
10722 Fixed a compile warning, although in this case there's probably
10723 something wrong with this code, and it ought to be looked into
10724 more thoroughly by somebody who understands it.
10727 * window.c (Fwindow_text_area_height):
10728 * window.c (Fwindow_width):
10729 * window.c (Fwindow_full_width):
10730 * window.c (Fwindow_pixel_width):
10731 * window.c (debug_print_window):
10732 * window.c (syms_of_window):
10733 Added functions window-text-area-height and window-full-width,
10734 which are functions for returning various width and height
10735 characteristics of a window. (One of these functions is necessary
10736 for making the file dialog box work correctly, and the other one
10737 was added for completeness.) Also added a table to the
10738 documentation for window-height which describes the entire scheme
10739 for accessing width and height characteristics of a window.
10741 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10743 * nt.c (fstat): Added a comment for another problem with
10744 non-encapsulated [f]stat(), reported by Adrian Aichner
10745 <aichner@ecf.teradyne.com>.
10747 2000-03-11 Andy Piper <andy@xemacs.org>
10749 * window.c (make_dummy_parent): initialize subwindow instance
10751 (Fset_window_configuration): zero extent_modiff.
10753 2000-03-10 Andy Piper <andy@xemacs.org>
10755 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
10756 more changes can be triggered.
10757 (Fredisplay_frame): ditto.
10758 (Fredraw_device): ditto.
10759 (Fredisplay_device): ditto.
10760 (redisplay_frame): make non-static.
10761 (redisplay_frame): call update_frame_gutter_geometry outside of
10764 * gutter.h: declare update_frame_gutter_geometry.
10766 * redisplay.h: declare redisplay_frame.
10768 * gutter.c (update_frame_gutter_geometry): move geometry changes
10769 in update_frame_gutters here. Geometry changes can only occur
10770 outside of redisplay.
10771 (update_frame_gutters): remove geometry change code.
10772 (Fredisplay_gutter_area): make sure that we are in display when we
10773 update and that we have flushed any size changes.
10775 2000-03-11 Andy Piper <andy@xemacs.org>
10777 * alloc.c (pdump_dump_data): remove i & count shadows.
10779 2000-02-27 Mike Alexander <mta@arbortext.com>
10781 * sysdep.h: Declare pdump_read_file
10783 * sysdep.c (pdump_read_file): New function
10785 * alloc.c (pdump_load): Call pdump_read_file to get the portable
10788 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10790 * lrecord.h: add `lrecord_type_pgsetenv'.
10792 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
10794 * symsinit.h: declare (vars|syms)_of* functions.
10795 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
10797 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
10799 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
10801 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
10804 * emacs.c (main_1): Call postgres initialization code.
10806 * postgresql.h: New file. PostgreSQL RDBMS support.
10807 * postgresql.c: New file.
10809 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
10811 * redisplay-output.c (redisplay_output_display_block): Disable
10814 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10816 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
10817 (Fcanna_henkan_next): Ditto.
10818 (Fcanna_bunsetu_henkou): Ditto.
10819 (Fcanna_henkan_kakutei): Ditto.
10820 (Fcanna_henkan_end): Ditto.
10821 (Fcanna_henkan_quit): Ditto.
10822 (Fcanna_henkan_next): Set retun value correctly.
10823 (c2mu): Use unsigned char instead of signed char.
10825 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10827 * emacs.c (main_1): Always call syms_of_gui.
10828 * inline.c: include gui.h
10830 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10832 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
10833 converted to Lisp_Object.
10834 (Qtop_bottom): New variable.
10835 (syms_of_redisplay): Initialize it.
10836 * redisplay.h (Vvisible_bell): Ditto.
10837 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
10838 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
10839 only flash top and bottom.
10841 2000-03-08 Andy Piper <andy@xemacs.org>
10843 * buffer.c (Frename_buffer): record new buffer name the right way.
10845 2000-03-08 Andy Piper <andy@xemacs.org>
10847 * glyphs.c (update_subwindow): increase hash depth so that widget
10848 items get picked up properly.
10850 * redisplay-output.c (compare_runes): increase hash depth so that
10851 widget items get picked up properly.
10853 2000-03-08 Andy Piper <andy@xemacs.org>
10855 * gutter.c (output_gutter): add some debug.
10857 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
10858 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
10859 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
10861 * redisplay-output.c (compare_runes): use display_hash to
10862 determine if glyphs really are not the same.
10864 * glyphs.c (update_subwindow): check display_hash to see if
10865 anything really needs to be updated. If not then do
10866 nothing. Record the display_hash after updating.
10867 (image_instance_equal): compare the image_instance face also.
10869 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
10871 * redisplay.h: Fix comment style.
10873 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
10875 * consle-msw.h (struct mswindows_frame):
10876 Added new member paint_pending to indicate whether a WM_PAINT
10877 magic event has been queued for this frame.
10879 * event-msw.c (mswindows_drain_windows_queue):
10880 Don't queue a WM_PAINT magic event if one is already queued.
10881 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
10883 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
10885 2000-03-07 Didier Verna <didier@xemacs.org>
10887 * dired.c: #include `regex.h' after `sysfile.h'.
10889 2000-03-06 Martin Buchholz <martin@xemacs.org>
10891 * sound.c (init_nas_sound): Fix compiler warning.
10893 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
10895 (MARK_STRUCT_AS_FREE):
10896 (MARK_STRUCT_AS_NOT_FREE):
10897 Make `gcc -fstrict-aliasing' work properly.
10899 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
10901 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
10902 (mswindows_delete_device): Call CoUnnitialize().
10904 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
10906 2000-02-25 <CraigL@DyCon.com>
10908 * process-nt.c: MinGW now has <shellapi.h>, but still needs
10911 * sysdep.c: This extern declaration for environ prevents MinGW
10912 from finding the variable in CRTDLL.DLL.
10914 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
10916 (SHGFI_EXETYPE): ..
10917 (WM_MOUSEWHEEL): ..
10918 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
10920 (MMRESULT): Removed, now defined in cygwin's windows headers.
10922 (uid_t,gid_t,pid_t,ssize_t): ..
10923 (_timeb): Removed, MinGW defines both _timeb and timeb.
10924 (HAVE_H_ERRNO): Added.
10925 (HAVE_TZNAME): Added, configure is not detecting this.
10927 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
10929 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
10930 * syntax.c (syntax_match): Use it.
10932 * cmds.c: Import auto-fill-chars from FSF Emacs.
10933 (Vauto_fill_chars): New variables.
10934 (internal_self_insert): Check Vauto_fill_chars.
10936 Declare auto-fill-chars as a Lisp variable and initialize it.
10938 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10940 * fileio.c (Fmake_symbolic_link):
10942 Run handlers even if local machine doesn't have symlinks.
10944 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10946 * event-msw.c (mswindows_drain_windows_queue):
10947 Don't generate paint magic events for non-XEmacs frames.
10949 2000-03-05 Andy Piper <andy@xemacs.org>
10951 * redisplay.c (redisplay_frame): generate_displayable_area and
10952 friends assumes that we are not in GC, we therefore have to make
10953 sure that this doesn't happen.
10955 * gutter.c (calculate_gutter_size): generate_displayable_area
10956 assumes that we are not in GC, we therefore have to make sure that
10957 this doesn't happen.
10959 2000-03-05 Martin Buchholz <martin@xemacs.org>
10961 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
10963 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10965 * redisplay.c (regenerate_window): Make sure we set a sane value
10966 for end_pos even if we jump out of the loop.
10967 (regenerate_window): Answer Ben's question :-).
10968 (start_end_of_last_line): Add may_error argument.
10969 (start_of_last_line):
10970 (end_of_last_line): Pass may_error = 0.
10971 (end_of_last_line_may_error): New function.
10972 (pixel_to_glyph_translation): Use it, so we don't crash in
10975 2000-03-04 Andy Piper <andy@xemacs.org>
10977 * window.h (struct window): add gutter_extent_modiff.
10979 * window.c (allocate_window): zero out gutter_extent_modiff.
10981 * redisplay.h: declare sync_display_line_structs.
10983 * redisplay.c (add_glyph_rune): add a better comment.
10985 * redisplay-output.c (sync_display_line_structs): made non-static.
10986 (compare_runes): remove unneccesary glyph cachel access.
10988 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
10990 * gutter.c (output_gutter): don't output the gutter if extent
10991 changes only involve extents in buffers. use 4 sets of display
10993 (gutter_extent_signal_changed_region_maybe): new function. Mark
10994 extents in gutters as changed.
10995 (update_frame_gutters): use 4 sets of display lines.
10996 (reset_gutter_display_lines): ditto.
10997 (free_frame_gutters): ditto.
10998 (redraw_exposed_gutter): force output of gutters.
11000 * frame.h (struct frame): add 4 sets of gutter display lines.
11002 * extents.c: (extent_changed_for_redisplay): signal changes to
11003 extents in strings in the gutter as well as extents in buffers.
11005 2000-03-02 Andy Piper <andy@xemacs.org>
11007 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
11009 * frame.c (Fmake_frame): make sure the gutters get initialized
11010 after the frame is visible.
11011 (set_frame_selected_window): re-arrange compilation macros a
11013 (change_frame_size_1): mark gutters changed.
11015 * device.c (Fset_device_class): mark gutters changed.
11017 2000-03-01 Andy Piper <andy@xemacs.org>
11019 * window.c (window_top_frame_gutter_height): deleted.
11020 (window_bottom_frame_gutter_height): ditto.
11021 (window_left_frame_gutter_height): ditto.
11022 (window_right_frame_gutter_height): ditto.
11023 (window_top_gutter_height): don't use them.
11024 (window_bottom_gutter_height): ditto.
11025 (window_left_gutter_width): ditto.
11026 (window_right_gutter_width): ditto.
11027 (Fsplit_window): ditto.
11028 (Fwindow_pixel_edges): don't use border dimensions here.
11030 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
11031 (update_scrollbar_instance): ditto.
11033 * redisplay.c (generate_modeline): don't take gutters into account.
11034 (generate_modeline): ditto.
11035 (redisplay_frame): small gutter display optimization.
11037 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
11039 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
11040 gutters into account.
11042 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
11043 for window position and type.
11045 * gutter.c (get_gutter_coords): fix for frame gutters.
11046 (update_frame_gutters): update frame geometry if the gutters have
11048 (init_frame_gutters): record current gutter geometries.
11050 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
11052 (mswindows_widget_instantiate): ditto.
11054 * frame.h (struct frame): add current_gutter_bounds.
11056 * frame.c (change_frame_size_1): position window and minibuffer
11057 appropriately taking into account the frame gutters.
11059 * frame-x.c: (x_initialize_frame_size): take into account the
11062 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11064 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
11066 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
11068 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
11070 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11072 * file-coding.c (reset_decoding_stream): Clear previous
11073 detection state when autodetect.
11075 2000-02-29 Didier Verna <didier@xemacs.org>
11077 * extents.c (set_extent_glyph_1): don't require extents to be
11080 2000-02-27 Andy Piper <andy@xemacs.org>
11082 * gutter.c (Fset_default_gutter_position): don't default left and
11083 right gutter visibility to t.
11084 (Fset_default_gutter_position): run
11085 default-gutter-position-changed-hook.
11086 (syms_of_gutter): add default-gutter-position-changed-hook.
11088 2000-02-26 Andy Piper <andy@xemacs.org>
11090 * specifier.c (Fmake_specifier): add gutter references.
11092 * gutter.h (RAW_WINDOW_GUTTER): new macro.
11094 * lisp.h: declare Fvalid_plist_p.
11096 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
11098 (default_gutter_visible_p_changed_in_window): invalidate gutter as
11099 well as its visibility so that it gets reconstructed.
11100 (construct_window_gutter_spec): new function. Construct a string
11101 to be displayed in the gutter from a plist of strings. Take care
11102 to only use elements that are declared as visible.
11103 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
11105 (gutter_validate): allow plists of strings in the specifier.
11106 (gutter_specs_changed): construct the real_gutter from the gutter
11107 specs using construct_window_gutter_spec.
11108 (gutter_visible_validate): gutter-visible is a new specifier type.
11109 (Fgutter_visible_specifier_p): new function for the new specifier.
11110 (syms_of_gutter): declare gutter-visible and
11111 Fgutter_visible_specifier_p.
11112 (specifier_type_create_gutter): intitalize new gutter-visible
11114 (reinit_specifier_type_create_gutter): ditto.
11115 (specifier_vars_of_gutter): use new specifier type for gutter
11117 (init_frame_gutters): construct real_gutter correctly.
11118 (Fgutter_specifier_p): beef up documentation.
11119 (Fgutter_size_specifier_p): ditto.
11121 * winslots.h: add real_gutter slots.
11123 2000-02-25 Andy Piper <andy@xemacs.org>
11125 * device-msw.c: Be kind to older cygwin versions. From Raymond
11126 Toy <toy@rtp.ericsson.se>.
11128 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
11129 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
11131 2000-02-25 Martin Buchholz <martin@xemacs.org>
11133 * elhash.c (MARK_OBJ): Practice macro hygiene.
11135 2000-02-24 Martin Buchholz <martin@xemacs.org>
11137 * miscplay.c: s/__inline__/inline/g;
11138 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
11139 (get_device_compdc): INLINE ==> static inline
11140 * *.[ch]: Change INLINE to INLINE_HEADER globally.
11141 find -name '*.h' | \
11142 xargs global-replace \
11143 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
11145 2000-02-25 Andy Piper <andy@xemacs.org>
11147 * window.c (window_top_frame_gutter_height): new function.
11148 (window_top_window_gutter_height): ditto.
11149 (window_top_gutter_height): use them.
11150 (window_bottom_frame_gutter_height): new function.
11151 (window_bottom_window_gutter_height): ditto.
11152 (window_bottom_gutter_height): use them.
11153 (window_left_window_gutter_width): new function.
11154 (window_left_frame_gutter_width): ditto.
11155 (window_left_gutter_width): use them.
11156 (window_right_window_gutter_width): new function.
11157 (window_right_frame_gutter_width): ditto.
11158 (window_right_gutter_width): use them.
11159 (window_pixel_height): new function. calulate window pixel height
11160 with frame gutter involvement.
11161 (Fsplit_window): calculate new sizes taking frame gutters into
11163 (window_char_height_to_pixel_height): don't include frame gutters.
11164 (window_char_height): use window_pixel_height.
11165 (window_pixheight): rename from window_pixel_height.
11166 (change_window_height): use it.
11167 (window_pixel_height_to_char_height): don't include frame gutters.
11168 (window_char_width_to_pixel_width): ditto.
11170 2000-02-25 Andy Piper <andy@xemacs.org>
11172 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
11175 2000-02-24 Martin Buchholz <martin@xemacs.org>
11177 * alloc.c (staticpro):
11178 (staticpro_nodump):
11183 (compact_string_chars):
11184 (pdump_dump_wired):
11185 Convert: if (foo) abort(); ==> assert (! foo);
11187 * eldap.c (Fldap_search_basic):
11191 Fix compiler warnings, and possible crashes if (random) return
11192 value were to be used.
11194 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11196 * device-msw.c: Workaround ResetDC failure.
11198 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
11199 applying a devmode.
11201 * redisplay-msw.c (get_frame_dc): Added start_page_p.
11202 (mswindows_text_width): Do not start printer page.
11204 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
11206 * glyphs-msw.c: Added image methods to msprinter console and
11207 msprinter-specific image instantiation.
11209 2000-02-20 Mike Alexander <mta@arbortext.com>
11211 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
11212 to avoid crashes when selection-sets-clipboard is on
11213 (mswindows_own_selection): ditto
11215 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11218 * redisplay-msw.c (get_frame_dc):
11219 (get_frame_compdc):
11221 * device-msw.c (mswindows_init_device):
11222 (mswindows_delete_device):
11223 (msprinter_init_device):
11224 (msprinter_delete_device):
11225 * frame-msw.c (mswindows_init_frame_1):
11226 (mswindows_delete_frame):
11227 (msprinter_init_frame_3):
11228 (msprinter_delete_frame): Move compatible DC to device object from
11229 frame object, for both mswindows and msprinter. Only one at a time
11230 is needed, it is a real waste to have one per frame!
11232 2000-02-23 Andy Piper <andy@xemacs.org>
11234 * glyphs.c: add dynamic width and height elements.
11235 (image_instance_equal): ditto.
11237 * glyphs-widget.c (widget_query_geometry): calculate width and
11238 height dynamically if required.
11239 (initialize_widget_image_instance): initialize dynamic dimensions.
11240 (widget_instantiate): pick-up dynamic dimensions.
11242 * glyphs.h (struct Lisp_Image_Instance): add width and height for
11243 dynamic determination. Add appropriate macros.
11245 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
11247 (WINDOW_GUTTER_SIZE): ditto.
11248 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
11250 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
11252 (get_frame_dc): ditto.
11254 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
11257 2000-02-23 Martin Buchholz <martin@xemacs.org>
11259 * XEmacs 21.2.31 is released.
11261 2000-02-22 Ben Wing <ben@xemacs.org>
11263 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
11265 2000-02-22 Andy Piper <andy@xemacs.org>
11267 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
11269 2000-02-21 Mike Sperber <mike@xemacs.org>
11273 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
11276 2000-02-21 Mike Sperber <mike@xemacs.org>
11278 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
11280 2000-02-21 Martin Buchholz <martin@xemacs.org>
11282 * XEmacs 21.2.30 is released.
11284 2000-02-20 Martin Buchholz <martin@xemacs.org>
11286 Performance hacking.
11288 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11289 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11290 * emacs.c (main_1):
11292 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11293 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11294 * symeval.h (DEFVAR_SYMVAL_FWD):
11295 * symbols.c (guts_of_unbound_marker):
11296 Make all c_readonly objects also lisp_readonly and marked for life.
11297 * lrecord.h (struct lrecord_implementation):
11298 Document flags better.
11299 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11300 * lrecord.h (DECLARE_LRECORD):
11301 * lrecord.h (XSETRECORD):
11302 * lrecord.h (RECORDP):
11303 * lrecord.h (RECORD_TYPEP):
11304 * lrecord.h (RECORD_MARKER): New.
11305 * lrecord.h (error_check_*):
11306 * lrecord.h (CONCHECK_NONRECORD):
11307 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11308 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11309 * lrecord.h (set_lheader_implementation):
11310 * lrecord.h (enum lrecord_type): New.
11311 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11312 * alloc.c (disksave_object_finalization_1):
11313 * alloc.c (mark_object):
11314 * alloc.c (lrecord_type_index):
11315 * alloc.c (tick_lcrecord_stats):
11316 * alloc.c (Fgarbage_collect):
11317 * alloc.c (init_alloc_once_early):
11318 * alloc.c (pdump_load):
11319 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11320 * alloc.c (lrecord_type_index): Delete.
11321 Make lisp object type indexes be constant.
11322 Makes (byte-compile) 5% faster.
11323 Put all marker functions into their own array.
11324 Makes (garbage-collect) 5% faster.
11325 Optimize SYMBOL_VALUE_MAGIC_P.
11326 Makes (byte-compile) 2-3% faster.
11327 * config.h.in (gc_checking_assert): New.
11328 * alloc.c: Use gc_checking_assert().
11329 * .dbxrc: Make compatible with new object type implementation.
11330 * .gdbinit: Make compatible with new object type implementation.
11331 * alloc.c: Delete all symbols defined only for debugging, such as
11332 Lisp_Type_Vector and lrecord_charset.
11334 2000-02-21 Andy Piper <andy@xemacs.org>
11336 * gui-msw.c (Fmswindows_shell_execute): fix file location
11339 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11340 unshowing so that set_window_buffer doesn't undo
11341 kill_buffer_hook's hard work.
11343 * glyphs-widget.c (tab_control_query_geometry): don't count the
11344 first item when calculating geometry.
11346 * glyphs.c (map_subwindow): remove redundant code.
11347 (update_frame_subwindows): be more circumspect about when to
11350 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11351 when items haven't changed. Update faces if faces have changed as
11352 well as just the widget face.
11353 (x_tab_control_update): Update faces if faces have changed as well
11354 as just the widget face.
11356 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11358 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11360 (build_syscolor_string): Use mswindows_color_to_string to try to
11362 (mswindows_device_system_metrics): Reverse the foreground and
11363 background colors so that they match the documentation.
11365 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11366 they match the default Windows palette.
11367 (mswindows_color_to_string): New function.
11369 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11371 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11373 2000-02-18 Olivier Galibert <galibert@pobox.com>
11375 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11376 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11378 * symbols.c (init_symbols_once_early): Removed obsolete
11379 DATA_SEG_BITS related kludge.
11380 (defvar_magic): Ditto.
11382 * malloc.c: Removed obsolete DATA_SEG_BITS
11384 * mem-limits.h: Ditto.
11386 * Makefile.in.in: Removed obsolete HAVE_SHM
11389 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11391 * device-msw.c (mswindows_delete_device): Free DDE string
11394 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11396 * keymap.c (get_keyelt):
11397 * unexnt.c (unexec):
11398 * vm-limit.c (memory_warnings):
11399 * ntheap.c (recreate_heap):
11400 * ntheap.h (UNINIT_PTR):
11401 * select-msw.c (Fmswindows_get_clipboard):
11402 (Fmswindows_set_clipboard):
11403 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11405 * menubar-msw.c (displayable_menu_item):
11407 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11408 * sysdep.c (sys_subshell):
11409 * process-nt.c (nt_create_process):
11410 * nt.c (normalize_filename):
11411 (dostounix_filename):
11412 (unixtodos_filename):
11413 * ntproc.c (win32_executable_type):
11414 * ntplay.c (play_sound_data_1):
11416 * editfns.c (get_home_directory):
11417 * event-msw.c (struct winsock_stream):
11418 (mswindows_dde_callback):
11419 * device-msw.c (msprinter_init_device):
11420 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11422 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11423 mswindows_clear_toolbar were swapped!
11425 * objects-msw.c:(colormap_t):
11427 * emacs.c (struct standard_args): Fixed const jumble.
11429 * glyphs-widget.c (update_widget): Fixed comparison notation.
11431 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11433 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11434 __declspec(noreturn) syntax.
11436 2000-02-19 Martin Buchholz <martin@xemacs.org>
11438 * eldap.c (Fldap_open):
11439 (Fldap_search_basic):
11442 Use new coding system conversion macros.
11444 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11446 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11448 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11450 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11451 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11453 * eldap.c (Qadd, Qreplace): New constant symbols
11454 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11455 interruptions by XEmacs signals
11456 Remove unnecessary calls to slow_down_interrupts and
11457 speed_up_interrupts
11458 (Fldap_search_basic): Renamed from Fldap_search_internal
11459 Added new optional parameter VERBOSE that triggers the
11460 display of progress messages
11461 Remove unnecessary calls to slow_down_interrupts and
11462 speed_up_interrupts
11463 LDAP result code analysis rewritten
11464 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11465 (syms_of_eldap): Define the new symbols and functions
11468 2000-02-17 Martin Buchholz <martin@xemacs.org>
11470 * realpath.c: Determine PATH_MAX maximally portably.
11472 * insdel.c (bytecount_to_charcount): Optimize.
11473 The function used to be optimized for entirely ASCII sequences.
11474 Now it is optimized for successive characters from the same
11475 charset. This also wins big for _mostly_ ASCII sequences.
11477 * fileio.c (Ffile_truename): convert return from realpath() using
11478 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11479 - Rewrite GCPROing slightly.
11481 * sysdep.c (sys_open): Do filename conversion, like all other
11482 sys_* functions. Fixes bug:
11483 (let ((file-name-coding-system 'iso-8859-2))
11484 (write-region x y latin2-name))
11485 ==> writes filename using internal encoding.
11487 2000-02-18 Martin Buchholz <martin@xemacs.org>
11489 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11490 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11491 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11492 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11493 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11494 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11495 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11496 (CONST_IF_NOT_DEBUG): Delete.
11497 * alloc.c (this_one_is_unmarkable): Delete.
11498 (mark_object): Don't check for this_one_is_unmarkable. Use the
11499 c_readonly flag instead.
11500 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11502 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11504 * event-msw.c (mswindows_drain_windows_queue):
11505 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11506 away redundant repaint events.
11508 2000-02-17 Andy Piper <andy@xemacs.org>
11510 * redisplay.h: declare mark_redisplay_structs.
11512 * redisplay.c (redisplay_window):
11513 (redisplay_frame): don't check subwindows_state_changed.
11514 (mark_redisplay): mark gutters here.
11516 * glyphs.c: (instantiate_image_instantiator): always layout if we
11517 haven't done so already.
11518 (allocate_image_instance): don't mark as dirty.
11519 (update_subwindow): bind inhibit_quit.
11521 * gutter.c (mark_gutters): new function.
11523 * glyphs-x.c (x_update_widget): Always resize to get round a
11526 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11527 breaking absolutely everything.
11529 * gutter.h: declare mark_gutters.
11531 2000-02-16 Martin Buchholz <martin@xemacs.org>
11533 * XEmacs 21.2.29 is released.
11535 2000-02-15 Olivier Galibert <galibert@pobox.com>
11537 * fns.c (size_bit_vector): Fix computation of the size.
11539 2000-02-15 Martin Buchholz <martin@xemacs.org>
11541 * *.[ch]: Change CONST to const globally.
11542 find -name '*.[ch]' | \
11543 xargs global-replace \
11544 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11545 - Remove vestigial references to CONST_IS_LOSING
11547 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11549 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11550 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11551 events instead of dispatching them directly.
11552 (mswindows_handle_paint): New function to do repainting.
11553 (mswindows_wnd_proc):
11554 (emacs_mswindows_handle_magic_event): Call above function.
11556 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11558 * objects-msw.c (mswindows_create_font_variant): Return the new
11560 (initialize_font_instance): Get font metrics from the underlined
11561 variant of the font to cope with the case where the underlined
11562 font has a bigger descent.
11564 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11566 * gui.c (gui_item_accelerator): Return the first underlined
11567 character in item name.
11569 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11571 * lisp.h: Added Qprinter.
11573 * general.c (syms_of_general): Initialized it.
11575 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11577 (get_frame_compdc): Made inline.
11579 * console.h (struct console_methods): Added eject_page method.
11581 * frame.h: Added FRAME_DISPLAY_P and friends.
11582 Aligned backslahes in many macros in more readable fashion.
11583 Added page_number to struct frame, and an accessor macro
11586 * defice.h: Added DEVICE_DISPLAY_P and friends.
11588 * device.c (Fdevice_printer_p): Used these.
11590 * frame.c (allocate_frame_core): Initialize page number.
11591 (Fprint_job_page_number):
11592 (Fprint_job_eject_page): Implemented.
11594 * frame-msw.c (msprinter_eject_page): Added method.
11595 (msprinter_start_page): Added.
11597 * window.c (Fwindow_truncated_p): Fixed docstring.
11598 (Fwindow_last_line_visible_height): Implemented.
11600 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11602 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11604 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11606 * syntax.c (scan_words): Always advance at least one character.
11608 2000-02-13 Andy Piper <andy@xemacs.org>
11610 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11611 to make sure the glyph is in the cachels.
11613 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11614 global image instance flag.
11615 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11616 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11618 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11619 (Fset_image_instance_property): mark layout as changed.
11620 (invalidate_glyph_geometry_maybe): mark layout as changed.
11621 (glyph_width): use new NEEDS_LAYOUT macro.
11622 (glyph_ascent): ditto.
11623 (glyph_descent): ditto.
11624 (glyph_height): ditto.
11625 (image_instance_layout): mark layout as clean after laying out.
11626 (update_subwindow): don't mark layout as clean here.
11628 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11629 should no longer be needed.
11631 * glyphs-x.c (x_update_widget): sanitize asserts.
11632 (x_finalize_image_instance): sanitize assignment to widgets.
11634 * glyphs-widget.c (widget_instantiate): don't need to clear the
11637 2000-02-13 Martin Buchholz <martin@xemacs.org>
11639 * sysdep.c (getcwd): Use standard prototype.
11640 * sysdep.h (getcwd): Use standard prototype.
11642 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
11643 (sequence, start, end).
11644 Remove redundant type checking.
11645 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
11646 view of `caller-protects') to avoid a crash where the real fix was
11649 2000-02-12 Martin Buchholz <martin@xemacs.org>
11651 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
11653 * s/sol2.h: Remove feature macro initialization.
11655 * alloc.c (alloc_lcrecord): Add more type checking assertions.
11656 (vector_hash): New. Code from internal_hash.
11658 Fix up allocation subsystem comments.
11660 * config.h.in: Add __EXTENSIONS__ for Solaris.
11662 * systime.h (EMACS_GETTIMEOFDAY): New.
11663 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
11664 Remove Solaris-specific code.
11665 Use void* for the (ignored) second arg for gettimeofday().
11667 * elhash.c (hash_table_hash): Implement it, finally.
11668 * elhash.c: Use hashcode_t.
11670 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
11671 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
11673 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
11674 * fns.c (size_bit_vector):
11675 * alloc.c (size_vector):
11676 (make_vector_internal):
11677 (make_bit_vector_internal):
11678 (sweep_bit_vectors_1):
11679 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
11681 2000-02-10 Martin Buchholz <martin@xemacs.org>
11683 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
11684 Include strings.h to avoid warnings for bzero and strcasecmp.
11686 2000-02-10 Olivier Galibert <galibert@pobox.com>
11688 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
11689 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
11691 * fns.c (size_bit_vector): New. Declare bit vectors as a
11694 2000-02-10 Olivier Galibert <galibert@pobox.com>
11696 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
11697 use a value field instead.
11698 (symbol_value_forward_forward): Use value field.
11699 (DEFVAR_SYMVAL_FWD): Use value field.
11700 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
11701 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
11702 (DEFVAR_CONST_INT): Ditto.
11703 (DEFVAR_BOOL): Ditto.
11704 (DEFVAR_CONST_BOOL): Ditto.
11705 (DEFVAR_INT_MAGIC): Ditto.
11706 (DEFVAR_BOOL_MAGIC): Ditto.
11708 * symbols.c (guts_of_unbound_marker): Use value field.
11709 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
11710 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
11712 * lisp.h: Declare dumpopaque and noninteractive1.
11714 * alloc.c (dumpopaque): Added.
11715 (pdump_dump_opaquevec): Added.
11716 (pdump): Call pdump_dump_opaquevec to dump opaque data.
11717 (pdump_load): Reload opaque data. Sync noninteractive1 with
11720 2000-02-10 Andy Piper <andy@xemacs.org>
11722 * glyphs.c (image_instance_layout): if the size changes, mark it
11725 * redisplay-output.c (redisplay_output_layout): Update the
11727 (redisplay_output_subwindow): ditto.
11729 * glyphs.c (update_subwindow): make sure we reset flags for
11730 layouts as well as everything else.
11732 * glyphs-widget.c (layout_layout): don't need to set the instances
11735 2000-02-09 Martin Buchholz <martin@xemacs.org>
11737 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
11738 not HAVE_DLOPEN, which is a lower-level thing.
11740 * .cvsignore: Ignore gmon.out
11742 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
11744 * .cvsignore: Ignore portable dumper xemacs.dmp file
11746 2000-02-09 Andy Piper <andy@xemacs.org>
11748 * redisplay-output.c (redisplay_output_layout): be more clever
11749 about when we output based on the changed flags.
11751 * glyphs.h (struct image_instantiator_methods): add update_method.
11752 (struct Lisp_Image_Instance): add changed flags. Declare new
11753 macros for manipulating them.
11755 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
11756 (image_instance_parent_glyph): find an image_instance's parent
11757 glyph or image_instance.
11758 (image_instance_layout): mark the size as changed.
11759 (set_image_instance_dirty_p): new function. mark an image
11760 instance, plus all of its parents, as dirty.
11761 (Fset_image_instance_property): use it.
11762 (Fglyph_animated_timeout_handler): use it.
11763 (update_subwindow): call update_widget and device methods for
11764 update_subwindow. Mark all changed flags as clean.
11765 (Fresize_subwindow): mark size as changed.
11767 * glyphs-x.c (x_finalize_image_instance): try and detect gc
11769 (x_update_subwindow): only resize subwindows here.
11770 (x_update_widget): new function. Update all changed properties of
11772 (x_resize_subwindow): deleted.
11773 (x_widget_set_property): deleted.
11774 (x_progress_gauge_set_property): deleted.
11775 (x_progress_gauge_update): new function. Implement recorded
11777 (x_tab_control_update): ditto.
11778 (x_tab_control_set_property): deleted.
11779 (console_type_create_glyphs_x): declare new functions.
11780 (image_instantiator_format_create_glyphs_x): ditto.
11782 * glyphs-widget.c (widget_set_property): mark text changed.
11783 (update_widget): new function. Update properties of a widget.
11784 (widget_instantiate): for layouts make sure we set their
11785 children's parent correctly.
11786 (tab_control_set_property): new function. Record changes that will
11787 take place under redisplay's control.
11788 (progress_gauge_set_property): ditto.
11789 (image_instantiator_progress_guage): declare new functions.
11790 (image_instantiator_tab_control): ditto.
11792 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
11794 (mswindows_update_widget): new function. Update all properties on
11795 a widget that have changed.
11796 (mswindows_button_update): new function. Update a button's set
11798 (mswindows_tab_control_update): new function. Update the items in
11800 (mswindows_tab_control_set_property): deleted.
11801 (mswindows_progress_gauge_update): new function. Update the
11802 progress gauge's progress.
11803 (mswindows_widget_set_property): deleted. This is all done
11804 asynchronously now.
11805 (mswindows_progress_gauge_set_property): ditto.
11806 (console_type_create_glyphs_mswindows): declare new methods.
11807 (image_instantiator_format_create_glyphs_mswindows): ditto.
11809 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
11810 (msprinter_set_frame_properties): ditto.
11812 * console.h (struct console_methods): Add update_widget_method.
11814 2000-02-09 Andy Piper <andy@xemacs.org>
11816 * gui-msw.c (Fmswindows_shell_execute): Make
11817 mswindows-shell-execute industrial strength.
11819 2000-02-08 Martin Buchholz <martin@xemacs.org>
11821 * lrecord.h: Make macro argument `props' match member function `plist'.
11824 * fns.c (Fremprop):
11825 * fns.c (Fobject_plist):
11828 Object property list frobbing cleanup.
11829 - Allow any lisp object (compared with `eq'), not just symbols, as
11830 keys in object plists.
11831 - Move symbol plist frobbing into symbols.c, where it belongs.
11832 - Move string plist frobbing into alloc.c, where it belongs.
11833 - Everything's an lrecord now, so no need to test for symbolp, etc.
11834 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
11836 * extents.c: Reorder code to remove declarations.
11838 * frame.h (store_in_alist): Remove useless declaration.
11840 2000-02-07 Martin Buchholz <martin@xemacs.org>
11842 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
11843 * config.h.in: Add HAVE_XCONVERTCASE.
11845 2000-02-07 Andy Piper <andy@xemacs.org>
11847 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
11848 it breaks many things.
11850 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11852 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
11853 actually can start a common comment type.
11854 * src/syntax.h (SYNTAX_END_P): ditto for end.
11856 2000-02-07 Martin Buchholz <martin@xemacs.org>
11858 * XEmacs 21.2.28 is released.
11860 2000-02-06 Martin Buchholz <martin@xemacs.org>
11862 * event-Xt.c (x_keysym_to_character): New.
11863 (maybe_define_x_key_as_self_inserting_character): New.
11864 (x_has_keysym): New.
11865 Auto-define all keys on the keyboard as self-insert-key.
11867 2000-02-02 Martin Buchholz <martin@xemacs.org>
11869 * menubar.c (vars_of_menubar): A small code simplification.
11871 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
11874 * ExternalClient.c:
11875 * EmacsShell-sub.c:
11878 Use consistent style for specifying X resources.
11880 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
11881 This makes (dontusethis-set-symbol-value-handler) actually usable.
11883 * lrecord.h (lrecord_decription_type):
11884 * alloc.c (pdump_register_sub):
11887 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
11888 Comply with XEmacs coding style.
11889 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
11890 args, and XD_LISP_OBJECT_ARRAY with 3 args.
11892 * keymap.c (Faccessible_keymaps):
11893 Make (accessible-keymaps map "\C-h") do the Right Thing.
11894 Make (accessible-keymaps map []) do the Right Thing.
11895 Make (accessible-keymaps map "") do the Right Thing.
11896 (check_keymap_definition_loop): New function.
11897 (keymap_store_internal): Keep luser from shooting self in foot,
11898 via (define-key ctl-x-4-map "p" global-map).
11899 Remove fullness slot from struct Lisp_Keymap, since hash tables
11901 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
11903 2000-01-30 Martin Buchholz <martin@xemacs.org>
11905 * redisplay.c (init_redisplay): Fix small memory leak.
11907 * elhash.c (pdump_reorganize_hash_table):
11908 Rename from reorganize_hash_table. Change prototype.
11909 Reuse the original memory for hentries. Save 100k.
11910 * alloc.c (PDUMP_READ): new macro.
11911 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
11912 * alloc.c: No need to #ifndef before #undef.
11914 * print.c: Allow debug_print() to print readably by modifying
11915 debug_print_readably. Use consistent variable names.
11917 * .dbxrc: Try to get things to work even if stopped in a function
11918 without source available by explicitly specifying source files.
11919 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11921 * unexnt.c (_start): Removed bogus code which caused loading heap
11922 from differrent executable file.
11923 Removed bogus assignment to _fmode, which caused inconsistencies.
11925 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11927 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
11928 Have spawnve encapsulation regard DONT_ENCAPSULATE.
11929 Do not preliminary `#define signal sigset'.
11931 * systime.h: Do not prototype environ on windows nt and cygwin,
11932 this conflicts with system header.
11934 * syssignal.h: Use correct define for WINDOWSNT
11936 * sysdep.h: Do not prototype environ on windows nt, this conflicts
11937 with system header.
11939 * sysdep.c (near start of file): Fixed commentary and rearranged
11940 ifdefs in readable order.
11941 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
11944 (end_of_data): Do not compile in if using PDUMP.
11946 * symsinit.h: Prototyped vars_of_nt().
11948 * ntproc.c (windows9x_p): Added, instead of os_subtype.
11949 (find_child_console): Use it.
11950 (sys_kill): Use it.
11952 * ntheap.h: Do not extern os_subtype.
11954 * ntheap.c (cache_system_info): Do not cache unneeded:
11955 nt_major_version, nt_minor_version and os_subtype.
11956 (recreate_heap): Do not compile in when PDUMPing.
11958 * nt.c (geteuid and friends): Use the new varibale
11959 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
11960 (init_user_info): Removed the above mentioned hackery.
11961 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
11962 stat has been fixed in the C runtime.
11963 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
11965 * file-coding.c (struct file_coding_dump): Do not define
11966 ucs_to_mule_table in the struct if not MULE.
11967 (struct struct lrecord_description fcd_description_1): Do not dump
11970 * emacs.c (main_1): Call vars_of_nt().
11971 (right before Fdump_emacs_data): Don't need lastfile if using both
11972 portabe dumper and system malloc.
11974 * alloc.c (Fmemory_limit): Conditionalized out.
11975 (pdump): Use OPEN_BINARY for the portable dump file.
11976 (pdump_load): Ditto.
11978 2000-02-02 Mike Alexander <mta@arbortext.com>
11980 * nt.c (convert_time): Set tm_isdst before calling mktime and
11981 avoid calling it at all if the compiler supports 64 bit integers.
11982 Also initialize utc_base_ft before using it.
11984 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11986 * frame.c (change_frame_size_1): Take f->internal_border_width
11987 into consideration when calculating the width of the frame.
11989 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11991 * window.c (frame_min_height):
11992 (frame_size_valid_p):
11993 (frame_pixsize_valid_p): Added.
11994 (check_frame_size): Generalized.
11996 * window.h: Prototyped the above.
11999 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
12000 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
12001 Deleted Vwin32_* and Vbinary_process_* unused variables.
12003 * device-msw.c (msprinter_init_device): Do not get printer font
12004 list; Added DEVMODE functions.
12006 * frame-msw.c: Added lots of printer code.
12008 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
12011 * console-msw.h: Added more msprinter device private slots.
12013 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12015 * event-msw.c (key_needs_default_processing_p): Added.
12016 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
12018 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12020 * glyphs.c (image_instance_layout): Mark image instance as clean
12022 (glyph_dirty_p): Removed redundant function.
12023 (invalidate_glyph_geometry_maybe): Added.
12024 (update_glyph_cachel_data): Call it.
12026 * glyphs.h: Prototyped it.
12028 * redisplay.c (add_glyph_rune): Call it.
12029 (redisplay_window): Reset glyphs cachels when frame faces have
12030 changed, thus forcing recomputation of built-in border glyphs.
12032 2000-01-30 Martin Buchholz <martin@xemacs.org>
12034 * Makefile.in.in: Make portable dumper and purify play well together.
12035 Add imperfect, but better than nothing, support for pdump.
12036 Remove xemacs.dmp when temacs is re-generated.
12037 Don't ignore errors when dumping xemacs.
12039 * symbols.c (maybe_call_magic_handler): Remove one magic number.
12041 2000-01-28 Andy Piper <andy@xemacs.org>
12043 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
12044 (setup_normal_frame): ditto.
12045 (setup_frame_without_minibuffer): ditto.
12046 (setup_minibuffer_frame): ditto.
12047 (delete_frame_internal): ditto.
12048 (Fmake_frame_invisible): ditto.
12049 (Ficonify_frame): ditto.
12051 * window.h: change Fset_window_buffer signature.
12053 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
12054 (Fset_window_buffer): allow recording of buffer if the window is
12055 the selected window.
12056 (window_loop): Use new Fset_window signature.
12058 2000-01-23 Daniel Pittman <daniel@danann.net>
12060 * config.h.in: Added template for `HAVE_ATHENA_3D'
12062 2000-01-29 Andy Piper <andy@xemacs.org>
12064 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
12066 * gutter.c (output_gutter): Don't output if the window isn't live.
12068 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12070 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
12071 of 01/12/00: Moved SetFocus back here where it belongs.
12073 2000-01-23 Andy Piper <andy@xemacs.org>
12075 * s/cygwin32.h: declare printer things.
12077 2000-01-26 Andy Piper <andy@xemacs.org>
12079 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
12082 2000-01-24 Andy Piper <andy@xemacs.org>
12084 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
12085 (mswindows_button_instantiate): Make sure glyph is a pixmap.
12087 * glyphs-widget.c (widget_instantiate): Avoid shadows.
12089 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
12091 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
12093 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
12094 (mswindows_output_display_block): Avoid local shadows.
12096 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
12097 (mswindows_enqueue_mouse_button_event): ditto.
12098 (mswindows_handle_gui_wm_command): remove declaration.
12100 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
12103 * console-msw.h: Avoid shadows.
12104 (mswindows_get_toolbar_button_text):
12105 (emacs_mswindows_create_stream_pair):
12106 (emacs_mswindows_delete_stream_pair):
12107 (mswindows_handle_toolbar_wm_command): declare.
12109 * device-msw.c (build_syscolor_string): Avoid shadows.
12111 2000-01-23 Andy Piper <andy@xemacs.org>
12113 * glyphs-widget.c (widget_instantiate): reverse the items for
12114 layouts so that children are in the expected order.
12116 2000-01-28 Martin Buchholz <martin@xemacs.org>
12118 * ralloc.c: safe_bcopy ==> memmove
12119 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
12120 * s/msdos.h: Remove BCOPY macros.
12121 * insdel.c (gap_right): Remove BCOPY conditional code.
12122 * insdel.c (gap_left): Remove BCOPY conditional code.
12123 XEmacs demands a working ANSI C compiler - hence memmove.
12125 * regex.c (regex_compile): Remove accidental use of trigraphs.
12127 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12129 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
12132 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12134 * event-msw.c (mswindows_drain_windows_queue): Added the
12136 (mswindows_need_event): Commented the call to
12137 mswindows_drain_windows_queue().
12138 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
12141 * console-msw.h: Moved a few function prototypes here from
12144 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
12145 parameter from unsigned short to unsigned long.
12146 (Fmswindows_shell_execute): Added return value.
12148 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12150 * sysdep.c (init_system_name):
12151 process-unix.c (unix_canonicalized_host_name):
12152 Don't call freeaddrinfo() if getaddrinfo() fails.
12154 * process-unix.c (unix_open_unix_network_stream):
12155 Moved the code to get a port # into address loop.
12157 2000-01-27 Martin Buchholz <martin@xemacs.org>
12159 * buffer.c (reinit_vars_of_buffer):
12160 The right place to initialize conversion_in_dynarr and
12161 conversion_out_dynarr.
12163 * alloc.c (pdump): Use the real open() till sys_open() is functional.
12165 * process-unix.c (unix_canonicalize_host_name): Muleize.
12166 (unix_open_network_stream): Muleize.
12168 * buffer.h: Fix up prototypes for ralloc.c functions.
12170 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
12171 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
12172 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
12173 instead of gethostbyname()
12174 * process-unix.c: In unix_canonicalize_host_name() and
12175 unix_open_network_stream(), add code to use getaddrinfo()
12176 instead of gethostbyname().
12178 2000-01-27 Daniel Pittman <daniel@danann.net>
12180 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
12181 libs when built with flat Athena.
12183 2000-01-27 Martin Buchholz <martin@xemacs.org>
12185 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
12186 Use coding standards for function prototypes.
12188 2000-01-25 Martin Buchholz <martin@xemacs.org>
12190 * dialog-msw.c (push_lisp_string_as_unicode):
12191 * doc.c (unparesseuxify_doc_string):
12192 * dired.c (Fuser_name_completion_1):
12193 * dired.c (Fuser_name_all_completions):
12194 * dired.c (free_user_cache):
12195 * dired.c (user_name_completion):
12196 * console-x.c (get_display_arg_connection):
12197 * minibuf.c (clear_echo_area_internal):
12198 * minibuf.c (echo_area_append):
12199 * eldap.c (Fldap_open):
12200 * eldap.c (Fldap_search_internal):
12201 * frame-x.c (x_set_frame_text_value):
12202 * frame-x.c (x_set_frame_properties):
12203 * frame-x.c (x_create_widgets):
12204 * redisplay-tty.c (term_get_fkeys_1):
12205 * objects-x.c (x_parse_nearest_color):
12206 * objects-x.c (x_valid_color_name_p):
12207 * objects-x.c (x_initialize_font_instance):
12208 * objects-x.c (x_list_fonts):
12209 * objects-x.c (x_find_charset_font):
12210 * tooltalk.c (Fadd_tooltalk_message_arg):
12211 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12212 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12213 * process-unix.c (unix_create_process):
12214 * ntproc.c (sys_spawnve):
12215 * sound.c (Fplay_sound_file):
12216 * sound.c (Fplay_sound):
12217 * buffer.c (init_initial_directory):
12218 * buffer.c (init_buffer):
12219 * editfns.c (init_editfns):
12220 * editfns.c (Ftemp_directory):
12221 * editfns.c (Fuser_full_name):
12222 * editfns.c (uncache_home_directory):
12223 * editfns.c (get_home_directory):
12224 * editfns.c (Fuser_home_directory):
12225 * editfns.c (Fformat_time_string):
12226 * editfns.c (Fcurrent_time_string):
12227 * gui-x.c (button_item_to_widget_value):
12228 * database.c (Fopen_database):
12229 * event-Xt.c (x_to_emacs_keysym):
12230 * event-Xt.c (x_event_to_emacs_event):
12231 * event-Xt.c (describe_event_window):
12232 * event-msw.c (mswindows_wnd_proc):
12233 * glyphs-eimage.c (jpeg_instantiate):
12234 * glyphs-eimage.c (gif_instantiate):
12235 * glyphs-eimage.c (png_instantiate):
12236 * glyphs-eimage.c (tiff_instantiate):
12237 * glyphs-x.c (xbm_instantiate_1):
12238 * glyphs-x.c (x_xbm_instantiate):
12239 * glyphs-x.c (x_xface_instantiate):
12240 * glyphs-x.c (autodetect_instantiate):
12241 * glyphs-x.c (cursor_font_instantiate):
12242 * glyphs-x.c (x_widget_instantiate):
12243 * glyphs-x.c (x_widget_set_property):
12244 * glyphs-x.c (x_widget_property):
12245 * glyphs-x.c (BUILD_GLYPH_INST):
12246 * print.c (write_string_to_stdio_stream):
12247 * print.c (output_string):
12248 * print.c (Falternate_debugging_output):
12249 * print.c (Fexternal_debugging_output):
12250 * glyphs-msw.c (extract_xpm_color_names):
12251 * glyphs-msw.c (mswindows_xpm_instantiate):
12252 * glyphs-msw.c (bmp_instantiate):
12253 * glyphs-msw.c (resource_name_to_resource):
12254 * glyphs-msw.c (mswindows_resource_instantiate):
12255 * glyphs-msw.c (xbm_instantiate_1):
12256 * glyphs-msw.c (mswindows_xbm_instantiate):
12257 * glyphs-msw.c (mswindows_xface_instantiate):
12258 * glyphs-msw.c (mswindows_widget_instantiate):
12259 * glyphs-msw.c (add_tree_item):
12260 * glyphs-msw.c (add_tab_item):
12261 * glyphs-msw.c (mswindows_combo_box_instantiate):
12262 * glyphs-msw.c (mswindows_widget_property):
12263 * glyphs-msw.c (mswindows_combo_box_property):
12264 * glyphs-msw.c (mswindows_widget_set_property):
12265 * console.c (stuff_buffered_input):
12266 * objects-msw.c (mswindows_initialize_color_instance):
12267 * objects-msw.c (mswindows_valid_color_name_p):
12268 * objects-msw.c (mswindows_list_fonts):
12269 * objects-msw.c (mswindows_font_instance_truename):
12270 * bytecode.c (optimize_compiled_function):
12271 * select-x.c (symbol_to_x_atom):
12272 * select-x.c (x_atom_to_symbol):
12273 * select-x.c (hack_motif_clipboard_selection):
12274 * select-x.c (selection_data_to_lisp_data):
12275 * select-x.c (lisp_data_to_selection_data):
12276 * select-x.c (Fx_get_cutbuffer_internal):
12277 * select-x.c (Fx_store_cutbuffer_internal):
12278 * buffer.h (TO_EXTERNAL_FORMAT): New function.
12279 * buffer.h (TO_INTERNAL_FORMAT): New function.
12280 * emacs.c (make_arg_list_1):
12281 * emacs.c (make_argc_argv):
12282 * emacs.c (main_1):
12283 * emacs.c (Fdump_emacs):
12284 * emacs.c (split_string_by_emchar_1):
12289 * device-x.c (x_init_device):
12290 * device-x.c (Fx_valid_keysym_name_p):
12291 * device-x.c (Fx_get_font_path):
12292 * device-x.c (Fx_set_font_path):
12293 * glyphs.c (bitmap_to_lisp_data):
12294 * glyphs.c (pixmap_to_lisp_data):
12295 * alloc.c (make_ext_string): Use coding system arguments. Update
12297 * alloc.c (build_string):
12298 * callproc.c (child_setup):
12299 * callproc.c (init_callproc):
12300 * fileio.c (lisp_strerror):
12301 * fileio.c (directory_file_name):
12302 * fileio.c (Fexpand_file_name):
12303 * fileio.c (Ffile_truename):
12304 * fileio.c (Fsysnetunam):
12305 * fileio.c (Fdo_auto_save):
12306 * sysdep.c (sys_readdir):
12307 * tests.c: New file. Allow adding C tests.
12308 Replace GET_* macros with a more comprehensible and flexible
12309 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12311 Any coding system can be used to do format conversion.
12312 Eliminate enum external_data_format.
12313 Eliminate convert_to_external_format.
12314 Eliminate convert_to_internal_format.
12315 Make sure file-name, keyboard, terminal, and ctext are always
12316 defined as coding systems or aliases. Make
12317 file-name-coding-system, terminal-coding-system, and
12318 keyboard-coding-system magical variables that are equivalent to
12319 defining the corresponding coding system aliases.
12321 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12322 * file-coding.c (Fcoding_system_alias_p): New function.
12323 * file-coding.c (Fcoding_system_aliasee): New function.
12324 * file-coding.c (append_suffix_to_symbol): New function.
12325 * file-coding.c (dangling_coding_system_alias_p): New function.
12326 * file-coding.c (Ffind_coding_system):
12327 * file-coding.c (Fcopy_coding_system):
12328 * file-coding.c (encode_coding_no_conversion):
12329 * file-coding.c (syms_of_file_coding):
12330 * file-coding.c (vars_of_file_coding):
12331 Rewrite coding system alias code.
12332 Allow nested aliases, like symbolic links.
12333 Allow redefinition of coding system aliases.
12334 Prevent existence of dangling coding system aliases.
12336 * dired.c (Fuser_name_completion_1):
12337 * dired.c (Fuser_name_all_completions):
12338 A crash would happen if user did QUIT in the middle of building
12339 user_name_cache. Remove redundant code in mainline and unwind_protect.
12342 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12344 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12345 an unsigned char *. Update all callers.
12347 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12349 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12351 2000-01-25 Martin Buchholz <martin@xemacs.org>
12353 * elhash.c (hentry_description): Use more portable definition.
12354 (resize_hash_table): Initialize new hentries using
12355 xnew_array_and_zero, thereby simplifying the code.
12357 * mule-charset.c (make_charset): Make sure entire object is
12358 initialized, to avoid Purify warnings.
12360 * alloc.c (resize_string): Fix unlikely crash with big strings.
12362 2000-01-24 Martin Buchholz <martin@xemacs.org>
12364 * realpath.c (xrealpath):
12365 Don't call getwd().
12367 2000-01-25 Martin Buchholz <martin@xemacs.org>
12369 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12371 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12373 * unexelfsgi.c (unexec): Change the way we decide which segment
12374 should be extended.
12376 Assumption that .bss section should be outside the PT_LOADable
12377 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12378 it's present) is inside the 'data' segment. This would fail the
12379 test which was used to find a segment to grow and cover new
12380 heap. Instead of this assumption, I created another one - on IRIX
12381 the segment to grow should start below .bss and it's address
12382 should extent above the end of .bss. Once this segment is
12383 identified, it's grown to accommodate the new heap and new
12384 zero-length .bss section is added at the end of .data2.
12386 2000-01-25 Martin Buchholz <martin@xemacs.org>
12388 * eval.c (Feval): Wrong number of arguments should use original
12389 function, not the indirect_function version of it.
12391 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12393 * glyphs-x.c (x_button_instantiate): Don't add image if
12394 it is not a pixmap.
12395 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12398 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12400 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12402 (DEFVAR_INT_MAGIC): Ditto.
12403 (DEFVAR_BOOL_MAGIC): Ditto.
12404 * glyphs.h: Reindent backslash.
12406 2000-01-24 Martin Buchholz <martin@xemacs.org>
12408 * glyphs-widget.c (layout_query_geometry):
12409 (layout_layout): Use correct types for gheight, gwidth.
12411 2000-01-24 Martin Buchholz <martin@xemacs.org>
12413 * EmacsManager.c (QueryGeometry): Purified.
12415 2000-01-23 Martin Buchholz <martin@xemacs.org>
12417 * alloc.c (make_float): Make sure entire object is initialized, to
12418 avoid Purify warnings.
12419 (pdump_register_sub): Remove useless assignment.
12420 (pdump): Use xmalloc, not malloc.
12421 (pdump_load): Use xmalloc, not malloc.
12423 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12430 * sysdep.c: Removed redundant #include <windows.h>
12432 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12434 * frame.c (delete_frame_internal): Do not delete device when its
12435 implementation so declares.
12436 (delete_frame_internal): Set device selected frame to nil when
12437 last frame goes away.
12439 * device-msw.c (msprinter_device_system_metrics): Implemented.
12440 (mswindows_device_system_metrics): Added 'device-dpi property.
12442 * device.c: (Fdevice_printer_p): Added.
12443 Added 'offset-workspace device metric.
12445 * console.h (device_metrics): Declared DM_offset_workspace.
12447 2000-01-23 Martin Buchholz <martin@xemacs.org>
12449 * fileio.c (Ffile_truename): Remove pointless and confusing
12450 initialization of elen.
12452 * glyphs-widget.c: Compiler warning fixes.
12454 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12456 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12457 instead of a Lisp_Object as argument to make it consistent with
12458 the other LIVE_P macros.
12459 (CHECK_LIVE_PROCESS): New macro.
12461 * process.c: Declare Qprocess_live_p.
12462 (Fprocess_live_p): New function.
12463 (create_process): Use PROCESS_LIVE_P.
12464 (read_process_output): Ditto.
12465 (set_process_filter): Ditto.
12466 (Fdelete_process): Ditto.
12467 (kill_buffer_processes): Ditto
12468 (process_send_signal): Use CHECK_LIVE_PROCESS.
12469 (Fprocess_input_coding_system): Check whether process is still
12470 alive (fix PR#1061).
12471 (Fprocess_output_coding_system): Ditto.
12472 (Fprocess_coding_system): Ditto.
12473 (Fset_process_input_coding_system): Ditto.
12474 (Fset_process_output_coding_system): Ditto.
12476 2000-01-23 Andy Piper <andy@xemacs.org>
12478 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12481 * glyphs.c (mark_image_instance): take into account changed
12482 image_instance format.
12483 (image_instance_equal): ditto.
12484 (image_instance_hash): ditto.
12486 * glyphs-widget.c (widget_instantiate): Incorporate layout
12487 instantiation here. Delay layout of the layout until later.
12488 (layout_instantiate): deleted.
12489 (layout_query_geometry): new function. get the geometry of a
12491 (layout_layout): layout a layout dynamically.
12492 (image_instantiator_widget): New function - splitting up
12493 image_instantiator_format_create_glyphs_widget for netwinder
12495 (image_instantiator_buttons):
12496 (image_instantiator_edit_fields):
12497 (image_instantiator_combo_box):
12498 (image_instantiator_scrollbar):
12499 (image_instantiator_progress_guage):
12500 (image_instantiator_tree_view):
12501 (image_instantiator_tab_control):
12502 (image_instantiator_labels):
12503 (image_instantiator_layout): ditto.
12504 (image_instantiator_format_create_glyphs_widget): Call preceding
12507 2000-01-22 Martin Buchholz <martin@xemacs.org>
12509 * process.c (Fset_process_coding_system):
12510 * device-x.c (Fx_keysym_hash_table):
12513 * lstream.c (Lstream_write): Return documented value, not 0.
12515 * fileio.c (directory_file_name):
12516 (Fsubstitute_in_file_name):
12517 (Fsubstitute_insert_file_contents_internal):
12518 (Fwrite_region_internal):
12523 Remove vestigial APOLLO-conditional code.
12525 2000-01-21 Martin Buchholz <martin@xemacs.org>
12527 * getpagesize.h: Add guard macros.
12528 * libsst.h: Add guard macros.
12529 * libst.h: Add guard macros.
12530 * line-number.h: Add guard macros.
12531 * ndir.h: Add guard macros.
12532 * sysfloat.h: Add guard macros.
12533 * sysfile.h: Add guard macros.
12534 * sysproc.h: Add guard macros.
12535 * syswait.h: Add guard macros.
12536 * xintrinsic.h: Add guard macros.
12537 * xintrinsicp.h: Add guard macros.
12538 * xmmanager.h: Add guard macros.
12539 * xmmanagerp.h: Add guard macros.
12540 * xmprimitive.h: Add guard macros.
12541 * xmu.h: Add guard macros.
12542 * gpmevent.h: Add copyright statement. Add guard macros.
12543 * miscplay.h: Add guard macros.
12544 * *.h: Use consistent C-standards-approved guard macro names.
12546 * opaque.c (make_opaque): Switch parameter order.
12547 * opaque.h (make_opaque): Switch parameter order.
12548 Update all callers.
12549 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12551 * config.h.in (type_checking_assert): Added.
12552 (bufpos_checking_assert): Added.
12554 2000-01-21 Martin Buchholz <martin@xemacs.org>
12556 * alloc.c: Harmless pdump changes.
12558 - spell alignment correctly.
12559 * sysdep.c: Use countof()
12561 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12563 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12564 initially_selected_for_input() console method, default to 0.
12565 (semi_canonicalize_console_connection): Try to delegate to
12566 canonicalize_console_connection if no such console method.
12567 (canonicalize_console_connection): Vice versa.
12568 (print_console): Do not print nil connection.
12570 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12571 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12572 (XDEVIMPF_FRAMELESS_OK): Added.
12573 (CONSOLE_INHERITS_METHOD): Added.
12575 * console-msw.c (mswindows_canonicalize_console_connection):
12577 (mswindows_canonicalize_device_connection): Added.
12579 * console-msw.h (struct msprinter_device): Added this struct and
12581 (mswindows_device): Made fontlist a lisp object.
12583 * device.c (semi_canonicalize_device_connection): Try to delegate
12584 to canonicalize_device_connection if no such console method.
12585 (canonicalize_device_connection): Vice versa.
12586 (print_device): Do not print nil connection.
12588 * device-msw.c (mswindows_init_device): Call InitCommonControls
12590 (mswindows_delete_device): Removed fontlist deallocation.
12591 (mswindows_mark_device): Added.
12593 * events.c (event_equal): Added abort() at unreached code.
12594 (event_hash): Ditto.
12596 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12597 fallback tags of Windows devices.
12599 * general.c (syms_of_general): Initialized Qmsprinter.
12601 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12602 of fallback tags of Windows devices.
12604 * lisp.h: Declared Qmsprinter.
12606 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12608 (mswindows_list_fonts): Ditto.
12609 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12610 that it can be used by both mswindows and msprinter devices.
12611 (initialize_font_instance): Added.
12612 (mswindows_initialize_font_instance): Use it.
12613 (msprinter_initialize_font_instance): Added.
12615 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12616 and implementation flags check.
12617 (redisplay_without_hooks): Changed the call to the above.
12618 (Fredraw_device): Ditto.
12619 (Fredisplay_device): Ditto.
12621 * redisplay-msw.c (get_frame_dc): Implemented.
12622 (get_frame_compdc): Implemented.
12623 (many functions): Use the two functions above to get device
12624 contexts, ether for a window or a printer.
12626 2000-01-21 Olivier Galibert <galibert@pobox.com>
12628 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12629 initialization here.
12630 (init_symbols_once_early): Call it.
12631 * emacs.c (main_1): Call it.
12632 * symsinit.h: Declare it.
12634 2000-01-19 Olivier Galibert <galibert@pobox.com>
12636 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12638 (pdump_backtrace): Ditto.
12639 (pdump_register_object): Ditto. Cleanup use of the pointers.
12640 (pdump_get_entry): Abort if trying to register a null pointer.
12641 (pdump_dump_data): Cleanup types when relocating.
12642 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
12643 (pdump_dump_rtables): Remove bad casts.
12644 (pdump_load): Cleanup relocation w.r.t union type. Use a
12645 Lisp_Object instead of a EMACS_INT for the hashtable
12648 2000-01-20 Martin Buchholz <martin@xemacs.org>
12650 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
12652 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
12654 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
12656 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
12658 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12660 * faces.h (FACE_STRIKETHRU_P): Added.
12662 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
12665 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
12666 (mswindows_set_dc_font): New function, aware of font variants,
12667 separated from mswindows_update_dc.
12669 * objects-msw.h (struct mswindows_font_instance_data): Added
12672 * objects-msw.c (mswindows_finalize_font_instance): Delete all
12673 cached fonts and the data structure.
12674 (mswindows_initialize_font_instance): Added creation of font data
12676 (mswindows_print_font_instance): Print at least something.
12677 (mswindows_create_font_variant): Implemented.
12678 (mswindows_get_hfont): Implemented.
12680 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
12682 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
12683 prototyping problem with msvc.
12685 * emacs.c (main_1): added syms_of_gui_mswindows() call
12687 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
12688 syms_of_gui_mswindows() function
12690 * symsinit.h: added the prototype for syms_of_gui_mswindows()
12692 2000-01-18 Martin Buchholz <martin@xemacs.org>
12694 * XEmacs 21.2.27 is released.
12696 2000-01-18 Martin Buchholz <martin@xemacs.org>
12698 * glyphs-eimage.c (struct tiff_error_struct):
12700 (tiff_warning_func):
12701 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
12706 * unexec.c: Remove vestigial Lucid C code.
12710 * libsst.c: Ansify.
12711 Remove declarations of errno and strerror().
12713 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
12715 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
12717 2000-01-16 Martin Buchholz <martin@xemacs.org>
12719 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
12722 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12727 Change enum eol_type to eol_type_t.
12729 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12731 * gui.c (get_gui_callback): Check cons before accessing car.
12733 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12735 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
12736 (XSETSPECIFIER_TYPE): Ditto.
12738 2000-01-17 Didier Verna <didier@xemacs.org>
12740 * redisplay.c (generate_fstring_runes): compute string size in
12741 characters, not bytes.
12743 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12745 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
12747 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
12749 * print.c (print_error_message): Call print_prepare().
12751 2000-01-14 Martin Buchholz <martin@xemacs.org>
12753 * .dbxrc: Renamed from dbxrc.
12755 * events.c (event_to_character):
12756 Use `assert (foo)' instead of `if (!foo) abort()'
12758 * .gdbinit (xtype): Add documentation.
12759 * .gdbinit (check-temacs): New function.
12760 * .gdbinit (check-xemacs): New function.
12761 * dbxrc (check-xemacs): New function.
12762 * dbxrc (check-xemacs): New function.
12764 2000-01-14 Andy Piper <andy@xemacs.org>
12766 * glyphs-widget.c (widget_query_geometry): Make sure that we
12767 calculate default dimensions correctly.
12769 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12771 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
12773 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
12774 pdump_wire'd variable.
12776 * emacs.c: (main_1): Conditionalized calls to
12777 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
12779 2000-01-13 Martin Buchholz <martin@xemacs.org>
12781 * window.c (Fset_window_configuration):
12782 * sysdep.c (_start):
12783 * input-method-motif.c (res):
12784 * event-Xt.c (Xt_process_to_emacs_event):
12785 Simple compiler warning fixes.
12787 * bytecode.c (funcall_compiled_function): Use the original
12788 function symbol on the backtrace list in preference to the
12789 compiled_function object in error messages.
12791 2000-01-13 Andy Piper <andy@xemacs.org>
12793 * glyphs-x.c (update_widget_face): Make sure we update the widget
12794 background as well as foreground.
12796 2000-01-13 Andy Piper <andy@xemacs.org>
12798 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
12799 fields to subwindow.
12800 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
12801 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
12802 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12803 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12805 * glyphs-widget.c (check_valid_tab_orientation): new function.
12806 (initialize_widget_image_instance): zero orientation and
12808 (widget_instantiate): pick up orientation.
12809 (tab_control_query_geometry): return appropriate values for
12812 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
12813 appropriate creation flags for left, right and bottom tabs.
12815 * s/cygwin32.h: add tab definitions.
12817 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12819 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
12820 frame upon hiding a subwindow.
12821 (mswindows_button_instantiate): Changed the push button style to
12823 (mswindows_button_instantiate): Removed button BS_NOTIFY
12825 (mswindows_button_instantiate): Removed redundant check for
12826 a disabled gui item.
12827 (mswindows_button_instantiate): Made use of WS_TABSTOP
12828 consistent: "operable" controls (edit, button, tree, scroll) have
12829 this style, "display-only" ones (static, progress gauge) do
12830 not. This style is currently ignored by XEmacs though. Also,
12831 removed the WS_EX_CONTROLPARENT style - it is not for children,
12832 it is for their parents!
12833 (mswindows_edit_field_instantiate): Ditto.
12834 (mswindows_progress_gauge_instantiate): Ditto.
12835 (mswindows_tree_view_instantiate): Ditto.
12836 (mswindows_tab_control_instantiate): Ditto.
12837 (mswindows_scrollbar_instantiate): Ditto.
12838 (mswindows_combo_box_instantiate): Ditto.
12839 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
12840 style to the "clip" window.
12841 (mswindows_button_instantiate): Removed compilation warning by
12842 equally typing terms of the ?: operator.
12844 2000-01-12 Didier Verna <didier@xemacs.org>
12846 * redisplay.c (generate_fstring_runes): new parameter holding the
12847 last modeline-format extent.
12848 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
12849 extent, fill the glyph block with it.
12850 (generate_fstring_runes): handle these parameters.
12851 (generate_formatted_string_db): ditto.
12853 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
12854 glyphs'extents in the modeline.
12856 1999-01-11 Mike Woolley <mike@bulsara.com>
12858 * ntheap.c: Reduced the reserved heap space from 1Gb down to
12859 256Mb, as a workaround for the non-starting problem many people
12862 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12864 * console-tty.c (Fset_console_tty_output_coding_system):
12865 Force redrawing tty frame.
12867 2000-01-10 Didier Verna <didier@xemacs.org>
12869 * redisplay.c (generate_fstring_runes): fix size computation bug.
12871 2000-01-09 William M. Perry <wmperry@aventail.com>
12873 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
12875 2000-01-09 Andy Piper <andy@xemacs.org>
12877 * glyphs-msw.c: index -> i to avoid shadows.
12878 (xbm_create_bitmap_from_data): make static.
12879 (check_valid_string_or_int): deleted.
12880 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
12882 * glyphs-x.c (x_update_subwindow): remove unused args.
12884 * glyphs.c (glyph_image_instance): return the thing. Don't set the
12885 back pointer - this is done in allocate_image_instance.
12886 (query_string_font): return Qnil to make the compiler happy.
12887 (unmap_subwindow): set to ~0 to make the compiler happy.
12888 (glyph_query_geometry): comment out until used.
12889 (glyph_layout): ditto.
12891 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12893 * insdel.c (signal_after_change): Remove extraneous unbind_to().