1 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
3 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
4 n to -n; charset-id of non ISO-IR sets are changed to positive
7 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
9 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
10 for &MCS-XXXXXXXX; values.
12 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
14 * mule.c (Vxemacs_chise_version): Renamed from
16 (vars_of_mule): Add new variable `xemacs-chise-version'; define
17 `utf-2000-version' as an alias for `xemacs-chise-version'.
19 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
21 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
22 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
25 * config.h.in (CHISE): New macro.
27 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
29 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
31 (Qmap_ucs): New variable.
32 (syms_of_mule_charset): Add new symbol `=ucs'.
33 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
35 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
36 (simplify_char_spec): Likewise.
38 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
40 * char-ucs.h (Qmap_ucs): New extern variable.
42 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
44 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
45 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
46 don't define it when UTF2000 is not defined.
47 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
48 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
49 when UTF2000 is not defined.
50 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
51 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
53 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
55 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
57 * mule-charset.c (Vcharset_ucs_gb): Deleted.
59 (syms_of_mule_charset): Delete `ucs-gb'.
60 (complex_vars_of_mule_charset): Likewise.
62 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
64 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
66 * mule-charset.c (Vcharset_ucs_cns): Deleted.
68 (syms_of_mule_charset): Delete `ucs-cns'.
69 (complex_vars_of_mule_charset): Likewise.
71 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
73 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
75 * mule-charset.c (Vcharset_ucs_jis): Deleted.
77 (syms_of_mule_charset): Delete `ucs-jis'.
78 (complex_vars_of_mule_charset): Likewise.
80 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
82 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
84 * mule-charset.c (Vcharset_ucs_ks): Deleted.
86 (syms_of_mule_charset): Delete `ucs-ks'.
87 (complex_vars_of_mule_charset): Likewise.
89 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
91 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
92 (Qideograph_daikanwa_2): Deleted.
93 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
94 (complex_vars_of_mule_charset): Likewise.
96 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
97 (LEADING_BYTE_DAIKANWA_1): Deleted.
98 (LEADING_BYTE_DAIKANWA_2): Deleted.
99 (MIN_CHAR_DAIKANWA): Deleted.
100 (MAX_CHAR_DAIKANWA): Deleted.
102 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
104 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
105 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
106 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
108 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
109 (Vcharset_ideograph_daikanwa): Deleted.
110 (Qideograph_hanziku_{1..12}): Deleted.
111 (Qideograph_daikanwa): Deleted.
112 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
113 Vcharset_ideograph_daikanwa.
114 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
115 `ideograph-hanziku-{1..12}'.
116 (complex_vars_of_mule_charset): Likewise.
118 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
120 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
122 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
123 (Qideograph_gt_pj_{1..11}): Deleted.
124 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
125 (complex_vars_of_mule_charset): Likewise.
127 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
129 * mule-charset.c (Vcharset_ucs_big5): Deleted.
130 (Vcharset_ideograph_gt): Deleted.
131 (Qucs_big5): Deleted.
132 (Qideograph_gt): Deleted.
133 (syms_of_mule_charset): Delete symbol `ucs-big5' and
135 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
138 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
139 (LEADING_BYTE_GT): Deleted.
140 (MIN_CHAR_GT): Deleted.
141 (MAX_CHAR_GT): Deleted.
143 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
145 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
147 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
149 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
150 (save_uint16_byte_table): Likewise.
151 (save_byte_table): Likewise; convert values by it.
152 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
153 for `ideographic-structure'.
154 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
155 as the filter for `ideographic-structure'.
157 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
159 * chartab.c (put_char_composition): New function.
160 (Fput_char_attribute): Use `put_char_composition'; use
161 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
163 * fns.c (simplify_char_spec): New function.
164 (char_ref_simplify_spec): New function.
165 (Fchar_refs_simplify_char_specs): New function.
166 (syms_of_fns): Add new builtin function
167 `char-refs-simplify-char-specs'.
169 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
171 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
172 (Qideograph_cbeta): Deleted.
173 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
174 (complex_vars_of_mule_charset): Likewise.
176 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
177 (MIN_CHAR_CBETA): Comment out.
178 (MAX_CHAR_CBETA): Likewise.
180 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
182 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
183 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
184 CHISE client feature.
186 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
188 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
190 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
192 * mule-charset.c (charset_lookup_description_1): Use
193 `NUM_LEADING_BYTES' in UTF-2000.
195 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
197 * char-ucs.h (GC_CHARSETP): Deleted.
199 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
201 * char-ucs.h (MAX_CHAR_GT): Updated.
203 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
205 * text-coding.c: Sync with XEmacs 21.4.10.
207 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
209 * mule-charset.c (Vcharset_china3_jef): Deleted.
210 (Qchina3_jef): Deleted.
211 (syms_of_mule_charset): Don't define `china3-jef'.
212 (complex_vars_of_mule_charset): Likewise.
214 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
215 (MIN_CHAR_CHINA3_JEF): Comment out.
216 (MAX_CHAR_CHINA3_JEF): Comment out.
218 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
220 * mule-charset.c (Vcharset_ucs_gb): New variable.
221 (Qucs_gb): New variable.
222 (syms_of_mule_charset): Add new symbol `ucs-gb'.
223 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
225 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
227 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
229 * mule-charset.c (charset_code_point): if a coded-charset has a
230 final-byte, don't inherit the builtin range of the mother CCS.
232 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
234 * mule-charset.c (charset_code_point): Fix problem about
237 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
239 * mule-charset.c (decode_builtin_char): Reorganized.
241 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
243 * text-coding.c (char_encode_as_entity_reference): Modify for
244 `charset_code_point'.
245 (char_encode_shift_jis): Likewise.
246 (char_encode_big5): Likewise.
247 (char_encode_utf8): Likewise.
248 (char_encode_iso2022): Likewise.
250 * mule-charset.c (charset_code_point): Add new argument
252 (Fencode_char): Add new optional argument `defined_only'.
254 * chartab.c (put_char_table): Modify for `charset_code_point'.
256 * char-ucs.h (charset_code_point): Add new argument
258 (encode_char_1): Modify for `charset_code_point'.
260 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
262 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
263 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
265 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
267 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
268 (Qjis_x0208): Likewise.
269 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
270 XCHARSET_FINAL(charset).
271 (charset_code_point): Modify condition for final-byte based
273 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
274 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
275 in UTF-2000; specify `=jis-x0208' as the mother of
276 `japanese-jisx0208-1978', `japanese-jisx0208' and
277 `japanese-jisx0208-1990' in UTF-2000.
279 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
281 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
283 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
285 * text-coding.c (decode_coding_utf16): Support UTF-16.
286 (char_encode_utf16): Fixed.
288 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
290 * text-coding.c (Qutf16): New variable in MULE.
291 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
292 (Fcoding_system_type): Add `utf-16' in MULE.
293 (struct detection_state): Add a structure for utf16 in MULE.
294 (detect_coding_type): Setup st->utf16.mask in MULE.
295 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
297 (reset_encoding_stream): Use `char_encode_utf16' and
298 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
299 (detect_coding_utf16): New function [incomplete].
300 (decode_coding_utf16): New function [support only UCS-2].
301 (char_encode_utf16): New function.
302 (char_finish_utf16): New function.
303 (syms_of_file_coding): Add new symbol `utf-16'; setup
304 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
306 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
308 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
309 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
311 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
313 * chartab.c (put_char_table): When a charset is specified as a
314 range in UTF-2000, don't support builtin characters.
316 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
318 * mule-charset.c (decode_defined_char): Don't refer external
319 database if Qunbound or Qnil are found.
320 (Fsave_charset_mapping_table): Don't define it if
321 HAVE_CHISE_CLIENT is not defined.
322 (Freset_charset_mapping_table): New function.
323 (load_char_decoding_entry_maybe): Store Qnil if a character is not
324 found in external database.
325 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
326 if HAVE_CHISE_CLIENT is not defined; add new builtin function
327 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
329 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
331 * text-coding.c (decode_coding_utf8): Check CCS is specified or
334 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
336 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
337 Q_lowercase, Q_uppercase in UTF-2000.
339 * chartab.c (get_char_table): Add special code for the standard
340 case table to use character attribute `->downcase' and
341 `->uppercase' for case operations in UTF-2000.
343 * casetab.c (Qflippedcase): New variable in UTF-2000.
344 (Q_lowercase): Likewise.
345 (Q_uppercase): Likewise.
346 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
347 and `->uppercase' in UTF-2000.
348 (complex_vars_of_casetab): Assign attribute name `downcase' to
349 downcase and CANON table of Vstandard_case_table in UTF-2000;
350 assign attribute name `flippedcase' to upcase and EQV table of
351 Vstandard_case_table in UTF-2000.
353 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
355 * text-coding.c (decode_add_er_char): Support isolated-chars.
356 (char_encode_as_entity_reference): Likewise.
358 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
360 * emacs.c (Vutf_2000_lisp_directory): New variable.
361 (Vconfigure_utf_2000_lisp_directory): Likewise.
362 (complex_vars_of_emacs): Add new variable
363 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
365 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
367 * char-ucs.h (DECODE_CHAR): Delete special code for
368 `chinese-big5-1' and `chinese-big5-2'.
370 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
372 (decode_defined_char): Support CONVERSION_BIG5_1 and
374 (decode_builtin_char): Likewise.
375 (charset_code_point): Likewise.
376 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
377 'conversion in UTF-2000.
378 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
379 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
380 `chinese-big5-2' as children of `chinese-big5'.
382 * char-ucs.h (CONVERSION_BIG5_1): New macro.
383 (CONVERSION_BIG5_2): New macro.
385 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
387 * text-coding.c (char_encode_big5): Support entity-reference.
389 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
391 * text-coding.c (char_encode_as_entity_reference): New function.
392 (char_encode_utf8): Use `char_encode_as_entity_reference'.
394 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
396 * text-coding.c (decode_coding_big5): Support entity-reference
399 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
401 * text-coding.c (allocate_coding_system): Initialize initial
402 charsets for CODESYS_UTF8.
403 (Fmake_coding_system): Accept charset-g0, charset-g1 and
404 charset-g2 for CODESYS_UTF8.
405 (decode_coding_utf8): Use charset-g0.
406 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
407 to force variants to map to UCS.
409 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
411 * text-coding.c (Qutf_8_mcs): New variable.
412 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
413 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
414 instead of `utf-8' in UTF-2000.
416 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
418 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
419 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
420 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
421 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
422 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
423 CONVERSION_96x96x96x96 are introduced.
424 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
425 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
426 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
428 * char-ucs.h (CONVERSION_94): New macro.
429 (CONVERSION_96): New macro.
430 (CONVERSION_94x94): New macro.
431 (CONVERSION_96x96): New macro.
432 (CONVERSION_94x94x94): New macro.
433 (CONVERSION_96x96x96): New macro.
434 (CONVERSION_94x94x94x60): New macro.
435 (CONVERSION_94x94x94x94): New macro.
436 (CONVERSION_96x96x96x96): New macro.
438 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
440 * chartab.c (Vcharacter_variant_table): Deleted.
441 (Fchar_variants): Use character-attribute `->ucs-variants' instead
442 of `Vcharacter_variant_table'.
443 (Fput_char_attribute): Likewise.
444 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
445 (complex_vars_of_chartab): Likewise.
447 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
449 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
451 * fns.c (Qideographic_structure): New variable.
452 (Qkeyword_char): New variable.
453 (ids_format_unit): New function.
454 (Fideographic_structure_to_ids): New function.
455 (syms_of_fns): Add new symbols `ideographic-structure' and
456 `:char'; add new builtin function `ideographic-structure-to-ids'.
458 * data.c (Fchar_ref_p): New function.
459 (syms_of_data): Add new builtin function `char-ref-p'.
461 * chartab.h: Add an EXFUN for `Ffind_char'.
463 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
465 * text-coding.c (Vcharacter_composition_table): Deleted.
466 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
469 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
471 (Vcharacter_composition_table): Deleted.
472 (Fget_composite_char): Use the implementation for external-DB
473 support in every UTF-2000.
474 (Fput_char_attribute): Likewise.
475 (char_attribute_system_db_file): Don't define if external-DB
476 feature is not available.
477 (Fsave_char_attribute_table): Likewise.
478 (Fmount_char_attribute_table): Likewise.
479 (Fclose_char_attribute_table): Likewise.
480 (Freset_char_attribute_table): Likewise.
481 (Fload_char_attribute_table): Likewise.
482 (syms_of_chartab): Don't define `save-char-attribute-table',
483 `mount-char-attribute-table', `reset-char-attribute-table',
484 `close-char-attribute-table' and `load-char-attribute-table' if
485 external-DB feature is not available.
486 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
488 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
490 * text-coding.c (Qcomposition): Add extern if external-DB feature
492 (Vcharacter_composition_table): Don't add extern if external-DB
493 feature is supported.
494 (COMPOSE_ADD_CHAR): Modify for new data-representation of
495 character composition rule if external-DB feature is supported.
497 * chartab.c (Vcharacter_composition_table): Don't define if
498 external-DB feature is supported.
499 (Qcomposition): New variable.
500 (Fget_composite_char): New implementation for external-DB support.
501 (Fput_char_attribute): Use `composition' property of each
502 character instead of `Vcharacter_composition_table' to store
503 character-composition rules if external-DB feature is supported.
504 (syms_of_chartab): Add new symbol `composition'.
505 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
506 external-DB feature is supported.
508 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
510 * chartab.c (Vchar_db_stingy_mode): New variable.
511 (load_char_attribute_maybe): Close database if
512 Vchar_db_stingy_mode is not NIL.
513 (Fload_char_attribute_table_map_function): Use
514 `get_char_id_table_0' instead of `get_char_id_table'.
515 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
517 * chartab.h (get_char_id_table_0): New inline function.
518 (get_char_id_table): Use `get_char_id_table_0'.
520 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
522 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
523 and `COMPOSE_ADD_CHAR'.
524 (decode_coding_iso2022): Use `decode_flush_er_chars'.
526 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
528 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
529 instead of `DECODE_ADD_UCS_CHAR'.
530 (COMPOSE_ADD_CHAR): Likewise.
532 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
534 * text-coding.c (decode_flush_er_chars): New inline function.
535 (decode_add_er_char): New function.
536 (decode_coding_utf8): Use `decode_flush_er_chars' and
537 `decode_add_er_char'.
539 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
541 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
542 done before `decode_output_utf8_partial_char'.
544 * mule-charset.c (complex_vars_of_mule_charset): Specify
545 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
546 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
548 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
550 * mule-charset.c (decode_defined_char): New function; search
552 (decode_builtin_char): Don't search mother if
553 XCHARSET_MAX_CODE(charset) == 0.
554 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
555 == 0 even if code >= XCHARSET_MAX_CODE(charset).
556 (Fdecode_char): Use `decode_defined_char' instead of
557 `DECODE_DEFINED_CHAR'.
558 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
559 mother of `Vcharset_ucs_jis'.
561 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
562 instead of `DECODE_DEFINED_CHAR'.
564 * char-ucs.h (decode_defined_char): Renamed from
565 `DECODE_DEFINED_CHAR'; changed to normal function.
566 (DECODE_CHAR): Use `decode_defined_char' instead of
567 `DECODE_DEFINED_CHAR'.
569 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
571 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
573 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
575 * text-coding.c (Vcoded_charset_entity_reference_alist): New
577 (Quse_entity_reference): New variable.
581 (coding_system_description): Add description for
583 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
584 (allocate_coding_system): Initialize `ccs_priority_list' in
586 (Fmake_coding_system): Add description about
587 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
589 (Fcoding_system_property): Accept `disable-composition' and
590 `use-entity-reference' in UTF-2000.
591 (struct decoding_stream): Add new member `er_counter' and `er_buf'
593 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
594 (decode_coding_utf8): Decode entity-reference if
595 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
596 (char_encode_utf8): Encode non-Unicode characters as
597 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
599 (syms_of_file_coding): Add new symbols `use-entity-reference',
601 (vars_of_file_coding): Add new variable
602 `coded-charset-entity-reference-alist'.
603 (complex_vars_of_file_coding): Declare `disable-composition' and
604 `use-entity-reference' to be coding-system-properties in UTF-2000.
606 * file-coding.h (struct Lisp_Coding_System): Add new member
607 `use_entity_reference' and `ccs_priority_list'.
608 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
609 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
610 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
612 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
614 * chartab.c (save_uint8_byte_table): Don't clear the table.
615 (save_uint16_byte_table): Likewise.
616 (save_byte_table): Likewise.
617 (Fmount_char_attribute_table): New function.
618 (syms_of_chartab): Add new builtin function
619 `mount-char-attribute-table'.
621 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
623 * mule-charset.c (Fsave_charset_mapping_table): Open database as
625 (load_char_decoding_entry_maybe): Open database as read-only mode.
627 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
628 open database as "w+" mode.
629 (load_char_attribute_maybe): Open database as read-only mode.
630 (Fload_char_attribute_table): Likewise.
632 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
634 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
635 (char_table_description): Delete member `db_file'.
636 (Fmake_char_table): Don't refer `ct->db_file'.
637 (Fcopy_char_table): Likewise.
638 (Fsave_char_attribute_table): Likewise.
639 (Fclose_char_attribute_table): Likewise.
640 (Freset_char_attribute_table): Likewise.
641 (load_char_attribute_maybe): Likewise.
642 (Fload_char_attribute_table): Likewise.
644 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
646 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
648 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
649 (Fsave_char_attribute_table): Don't check `ct->db_file' if
651 (load_char_attribute_maybe): Likewise.
652 (Fload_char_attribute_table): Likewise.
654 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
656 * chartab.c (Fclose_char_attribute_table): Set Qnil on
657 `ct->db_file' unconditionally.
659 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
661 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
663 (char_table_description): Add description for `db_file' and `db'
665 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
667 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
668 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
669 (Fclose_char_attribute_table): New function.
670 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
671 (load_char_attribute_maybe): Change interface; use `cit->db_file'
673 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
674 (syms_of_chartab): Add new builtin function
675 `Fclose_char_attribute_table'.
677 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
679 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
681 (load_char_attribute_maybe): Change interface.
682 (get_char_id_table): Modify for `load_char_attribute_maybe'.
684 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
686 * database.h: Add an EXFUN for `Fdatabase_live_p'.
688 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
690 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
691 instead of `DECODE_CHAR' for mother; don't use special code for
692 chinese-big5 to use code space of chinese-big5-1 and
694 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
695 `MAX_CHAR_BIG5_CDP' for chinese-big5.
697 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
698 (MAX_CHAR_BIG5_CDP): Revival.
700 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
702 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
703 the XLFD registry-encoding name of `chinese-big5'.
705 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
707 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
708 (Qchinese_big5_cdp): Deleted.
709 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
710 (complex_vars_of_mule_charset): Delete coded-charset
713 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
714 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
715 `CHARSET_ID_OFFSET - n' for private CCS.
716 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
717 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
718 of `MIN_LEADING_BYTE'.
719 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
720 `(CHARSET_ID_OFFSET - 97)'.
721 (MIN_CHAR_BIG5_CDP): Deleted.
722 (MAX_CHAR_BIG5_CDP): Deleted.
724 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
726 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
728 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
730 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
731 (vars_of_mule): Add new variable `utf-2000-version' [moved from
734 * chartab.c (Vutf_2000_version): Moved to mule.c.
735 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
737 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
739 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
740 when HAVE_CHISE_CLIENT is not defined.
742 * mule.c (vars_of_mule): Provide feature `chise' when
743 HAVE_CHISE_CLIENT is defined.
745 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
747 * config.h.in (UTF2000): Add comment.
748 (HAVE_CHISE_CLIENT): New macro.
750 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
752 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
754 (Fput_char_attribute): Likewise.
755 (char_attribute_system_db_file): Encode file-name of attribute.
756 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
759 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
761 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
762 (Fsave_charset_mapping_table): Use
763 `char_attribute_system_db_file'.
764 (load_char_decoding_entry_maybe): Likewise.
766 * chartab.h (Qsystem_char_id): New external variable.
767 (char_attribute_system_db_file): New prototype.
769 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
770 (char_attribute_system_db_file): New function.
771 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
772 (Freset_char_attribute_table): Likewise.
773 (load_char_attribute_maybe): Likewise.
774 (Fload_char_attribute_table): Likewise.
775 (syms_of_chartab): Add new symbol `system-char-id'.
777 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
779 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
780 `XCHARSET_GRAPHIC(ccs)'.
782 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
784 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
786 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
788 * chartab.c (Q_ucs_variants): New variable.
789 (syms_of_chartab): Add new symbol `->ucs-variants'.
790 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
791 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
792 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
794 * mule-charset.c (load_char_decoding_entry_maybe): New function.
796 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
797 `HAVE_DATABASE' is defined.
798 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
799 `HAVE_DATABASE' is defined.
801 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
803 * chartab.c (Fsave_char_attribute_table): Don't clear internal
805 (Freset_char_attribute_table): New function.
806 (syms_of_chartab): Add new builtin function
807 `reset-char-attribute-table'.
809 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
811 * chartab.c (load_char_attribute_maybe): Don't make directories.
813 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
815 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
817 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
820 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
822 * mule-charset.c (Fsave_charset_mapping_table): Use
823 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
825 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
826 instead of `XCHARSET_CHARS'.
828 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
830 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
831 (XCHARSET_BYTE_SIZE): Likewise.
833 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
835 (XCHARSET_BYTE_SIZE): Likewise.
837 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
839 * chartab.c (Fput_char_attribute): Use exec-directory instead of
840 data-directory to store database.
841 (Fsave_char_attribute_table): Likewise.
842 (load_char_attribute_maybe): Likewise.
843 (Fload_char_attribute_table): Likewise.
845 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
847 * mule-charset.c (Fsave_charset_mapping_table): New function.
848 (syms_of_mule_charset): Add new builtin function
849 `save-charset-mapping-table'.
851 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
853 * char-ucs.h (decoding_table_check_elements): Delete prototype.
854 (get_ccs_octet_table): New inline function.
855 (put_ccs_octet_table): Likewise.
856 (decoding_table_put_char): Use `get_ccs_octet_table' and
857 `put_ccs_octet_table'.
858 (decoding_table_remove_char): Use `decoding_table_put_char'.
859 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
861 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
863 (make_charset): Use Qunbound instead Qnil as initial value of
866 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
868 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
869 element is Qunloaded.
870 (map_over_uint16_byte_table): Likewise.
871 (map_over_byte_table): Likewise.
872 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
873 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
874 database support, load encoding-table of the specified
875 coded-charset if it is not loaded yet.
876 (save_uint8_byte_table): New function of UTF-2000 with external
878 (save_uint16_byte_table): Likewise.
879 (save_byte_table): Likewise.
880 (Fput_char_attribute): Don't store value into external database
881 even if the external database feature is supported in UTF-2000;
882 set `attribute' as name of char-table if the external database
883 feature is supported.
884 (Fsave_char_attribute_table): New function in UTF-2000.
885 (syms_of_chartab): Add new builtin function
886 `save-char-attribute-table' in UTF-2000.
888 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
890 * chartab.c (char_attribute_table_to_put): New variable in
892 (Qput_char_table_map_function): Likewise.
893 (value_to_put): Likewise.
894 (Fput_char_table_map_function): New function in UTF-2000.
895 (put_char_table): Use `Fmap_char_attribute' for
896 CHARTAB_RANGE_CHARSET in UTF-2000.
897 (Fput_char_attribute): Store symbol instead of string in
898 `XCHAR_TABLE_NAME (table)'.
899 (load_char_attribute_maybe): Likewise.
900 (syms_of_chartab): Add new symbol/function
901 `put-char-table-map-function'.
903 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
905 * database.h: Add new EXFUN for `Fmap_database'.
907 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
908 (syms_of_database): Likewise.
910 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
912 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
913 (XCHAR_TABLE_UNLOADED): Likewise.
915 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
916 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
917 HAVE_DATABASE is defined.
918 (char_attribute_table_to_load): New variable of UTF-2000 with
919 external database support.
920 (Qload_char_attribute_table_map_function): Likewise.
921 (Fload_char_attribute_table_map_function): New function of
922 UTF-2000 with external database support.
923 (Fload_char_attribute_table): New function of UTF-2000.
924 (Fmap_char_attribute): Call Fload_char_attribute_table if
925 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
926 (syms_of_chartab): Add new symbol and function
927 `load-char-attribute-table-map-function' in UTF-2000 with external
928 database support; add new function `load-char-attribute-table' in
931 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
933 * chartab.h (load_char_attribute_maybe): New prototype for
934 UTF-2000 with DATABASE support.
935 (get_char_id_table): Use `load_char_attribute_maybe' if
936 HAVE_DATABASE is defined.
938 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
939 with DATABASE support.
941 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
943 * chartab.c (Fput_char_attribute): Use S-expression as key of
946 * chartab.h (get_char_id_table): Use S-expression as key of
949 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
951 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
952 if an element is not loaded, load the corresponding attributes
953 from an external database.
954 (map_over_uint16_byte_table): Likewise.
955 (map_over_byte_table): Likewise.
956 (map_char_table): Modify for `map_over_uint8_byte_table',
957 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
958 element is not loaded, load the corresponding attributes from an
960 (Fput_char_attribute): Change initial values to Qunloaded.
962 * chartab.h (get_char_id_table): If a character attribute is not
963 loaded and the attribute value is not found in an external
964 database, store Qunbound as the attribute value.
966 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
968 * chartab.c (BT_UINT8_unloaded): New macro.
969 (UINT8_VALUE_P): Accept Qunloaded.
970 (UINT8_ENCODE): Likewise.
971 (UINT8_DECODE): Likewise.
972 (BT_UINT16_unloaded): New macro.
973 (UINT16_VALUE_P): Accept Qunloaded.
974 (UINT16_ENCODE): Likewise.
975 (UINT16_DECODE): Likewise.
976 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
978 (mark_char_table): Mark `ct->name' in UTF-2000.
979 (char_table_description): Add `name' in UTF-2000.
980 (Fmake_char_table): Initialize `ct->name'.
981 (Fcopy_char_table): Copy `ct->name'.
982 (Fput_char_attribute): Store value into an external database if
983 HAVE_DATABASE is defined.
985 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
987 (CHAR_TABLE_NAME): New macro in UTF-2000.
988 (XCHAR_TABLE_NAME): New macro in UTF-2000.
989 (get_char_id_table): Try to read an external database if Qunloaded
990 is stored in a table.
992 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
995 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
997 * database.h: Add EXFUN definitions for Fopen_database,
998 Fput_database, Fget_database and Fclose_database.
1000 * data.c (Qunloaded): New variable in UTF-2000.
1002 * lisp.h (Qunloaded): New variable in UTF-2000.
1004 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1006 * mule-charset.c (put_char_ccs_code_point): Modify for
1007 `decoding_table_remove_char' and `decoding_table_put_char'.
1008 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1010 * char-ucs.h (decoding_table_remove_char): Change arguments to
1011 hide decoding_table vector.
1012 (decoding_table_put_char): Likewise.
1014 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1016 * mule-charset.c (decoding_table_remove_char): Moved to
1018 (decoding_table_put_char): Likewise.
1020 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1021 from mule-charset.c].
1022 (decoding_table_remove_char): New inline function [moved from
1024 (decoding_table_put_char): Likewise.
1026 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1028 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1031 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1033 * mule-charset.c (decode_builtin_char): Support mother charsets.
1035 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1037 * mule-charset.c (Q94x94x60): New variable.
1038 (charset_code_point): Support conversion `94x94x60'.
1039 (Fmake_charset): Likewise.
1040 (syms_of_mule_charset): Add new symbol `94x94x60'.
1042 * char-ucs.h (CONVERSION_94x94x60): New macro.
1044 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1046 * mule-charset.c (charset_code_point): Unify code about
1049 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1051 * mule-charset.c (charset_code_point): Merge code about builtin
1052 characters into code about mother charsets; don't use
1053 `range_charset_code_point'.
1054 (range_charset_code_point): Deleted.
1056 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1058 * mule-charset.c (Qcode_offset): New variable.
1059 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1060 `max-code'; accept new property `code-offset'.
1061 (syms_of_mule_charset): Add new symbol `code-offset'.
1063 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1065 * mule-charset.c (range_charset_code_point): Fixed.
1067 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1069 * mule-charset.c (decode_builtin_char): Change semantics of
1070 code-offset of coded-charset.
1071 (charset_code_point): Likewise.
1072 (range_charset_code_point): Likewise.
1073 (complex_vars_of_mule_charset): Modify for the change.
1075 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1077 * mule-charset.c (Fencode_char): Reverse arguments.
1079 * mule-charset.c (charset_code_point): Fixed.
1081 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1083 * mule-charset.c (Vcharset_mojikyo): Deleted.
1084 (Vcharset_mojikyo_2022_1): Deleted.
1085 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1086 (Qmin_code): New variable in UTF-2000.
1087 (Qmax_code): Likewise.
1088 (Qmother): Likewise.
1089 (Qconversion): Likewise.
1091 (Qmojikyo): Deleted.
1092 (Qmojikyo_2022_1): Deleted.
1093 (Qmojikyo_pj_{1..22}): Deleted.
1094 (mark_charset): Mark `cs->mother'.
1095 (charset_description): Add description for `mother'.
1096 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1097 new arguments `mother' and `conversion'; use
1098 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1099 (charset_code_point): Moved from char-ucs.h; support `mother'
1101 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1102 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1103 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1104 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1105 allow 2 as the value of `graphic' in UTF-2000; add new properties
1106 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1107 require `final' in UTF-2000; modify for `make_charset'.
1108 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1109 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1110 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1111 (Fencode_char): New function.
1112 (syms_of_mule_charset): Add new builtin function `encode-char' in
1113 UTF-2000; add new symbols `min-code', `max-code', `mother',
1114 `conversion' and `94x60'; delete symbols `mojikyo',
1115 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1116 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1117 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1118 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1120 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1121 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1123 * char-ucs.h (Vcharset_mojikyo): Deleted.
1124 (Vcharset_mojikyo_2022_1): Deleted.
1125 (LEADING_BYTE_MOJIKYO): Deleted.
1126 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1127 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1128 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1129 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1130 add new member `mother'; add new member `conversion'.
1131 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1132 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1133 (CHARSET_MOTHER): New macro.
1134 (CHARSET_CONVERSION): New macro.
1135 (CONVERSION_IDENTICAL): New macro.
1136 (CONVERSION_94x60): New macro.
1137 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1138 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1139 (XCHARSET_MOTHER): New macro.
1140 (XCHARSET_CONVERSION): New macro.
1141 (MIN_CHAR_MOJIKYO): Deleted.
1142 (MAX_CHAR_MOJIKYO): Deleted.
1143 (DECODE_MOJIKYO_2022): Deleted.
1144 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1145 (charset_code_point): Changed to non-inline function.
1146 (encode_char_1): Use `charset_code_point'.
1147 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1149 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1151 * lread.c (read_compiled_function): Fix prototype.
1152 (read_vector): Likewise.
1154 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1156 * lrecord.h (struct lrecord_header): Delete `older'.
1157 (set_lheader_implementation): Delete code for `older'.
1158 (set_lheader_older_implementation): Deleted.
1159 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1160 (OLDER_RECORD_P): Deleted.
1161 (OLDER_RECORD_HEADER_P): Deleted.
1162 (alloc_older_lcrecord): Deleted.
1163 (alloc_older_lcrecord_type): Deleted.
1165 * alloc.c (all_older_lcrecords): Deleted.
1166 (alloc_older_lcrecord): Deleted.
1167 (disksave_object_finalization_1): Delete code for older objects.
1168 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1169 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1171 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1173 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1174 instead of `make_older_vector'.
1175 (put_char_ccs_code_point): Likewise.
1176 (mark_charset): Mark `cs->decoding_table'.
1177 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1179 * lisp.h (make_older_vector): Deleted.
1180 (make_vector_newer): Deleted.
1182 * config.h.in (HAVE_GGC): Deleted.
1184 * alloc.c (make_older_vector): Deleted.
1185 (make_vector_newer_1): Deleted.
1186 (make_vector_newer): Deleted.
1188 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1190 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1191 (Qideograph_daikanwa_2): New variable.
1192 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1193 (complex_vars_of_mule_charset): Add new coded-charset
1194 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1195 `LEADING_BYTE_DAIKANWA'.
1197 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1198 (LEADING_BYTE_DAIKANWA_1): New macro.
1199 (LEADING_BYTE_DAIKANWA_2): New macro.
1200 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1202 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1204 * mule-charset.c (complex_vars_of_mule_charset): Change
1205 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1206 the second revised version.
1208 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1210 * mule-charset.c (Vcharset_ucs_smp): New variable.
1211 (Vcharset_ucs_sip): New variable.
1212 (Qucs_smp): New variable.
1213 (Qucs_sip): New variable.
1214 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1215 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1216 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1217 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1218 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1219 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1221 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1222 (LEADING_BYTE_UCS_SIP): New macro.
1223 (MIN_CHAR_SMP): New macro.
1224 (MAX_CHAR_SMP): New macro.
1225 (MIN_CHAR_SIP): New macro.
1226 (MAX_CHAR_SIP): New macro.
1228 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1230 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1233 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1235 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1236 value; don't store value into `encoding_table' of `Lisp_Charset'.
1237 (mark_charset): `encoding_table' was deleted.
1238 (charset_description): Likewise.
1239 (make_charset): Likewise.
1240 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1241 `put_char_ccs_code_point'.
1243 * chartab.h (Fput_char_attribute): New EXFUN.
1245 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1246 is unified with normal symbol space.
1247 (Fget_char_attribute): Likewise.
1248 (Fput_char_attribute): Likewise; behavior of
1249 `put_char_ccs_code_point' is changed.
1251 * char-ucs.h: Include "elhash.h".
1252 (Vchar_attribute_hash_table): New external variable.
1253 (struct Lisp_Charset): Delete `encoding_table'.
1254 (CHARSET_ENCODING_TABLE): New implementation; refer
1255 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1258 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1260 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1263 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1265 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1268 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1270 * chartab.c (uint8_byte_table_description): New constant.
1271 (uint8-byte-table): Use `uint8_byte_table_description'.
1272 (uint16_byte_table_description): New constant.
1273 (uint16-byte-table): Use `uint16_byte_table_description'.
1275 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1277 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1278 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1280 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1282 * mule-charset.c (Vcharset_ucs_ks): New variable.
1283 (Qucs_ks): New variable.
1284 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1285 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1287 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1289 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1291 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1292 (Fdecode_char): Likewise.
1294 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1296 (Fdefine_char): Modify for Fdecode_char.
1297 (Ffind_char): Likewise.
1299 * mule-charset.c (Fdecode_char): Add new optional argument
1301 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1303 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1305 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1306 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1307 (allocate_coding_system): Initialize initial-charsets of
1308 CODESYS_BIG5 in XEmacs UTF-2000.
1309 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1310 CODESYS_BIG5 in XEmacs UTF-2000.
1311 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1312 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1314 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
1316 (Qideograph_hanziku_{1 .. 12}): Likewise.
1317 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
1319 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
1320 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
1321 `ideograph-hanziku-{1 .. 12}'.
1323 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
1324 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
1325 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
1326 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
1327 (DECODE_DEFINED_CHAR): New inline function.
1328 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
1330 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1332 * mule-charset.c (Vcharset_china3_jef): Renamed from
1333 `Vcharset_japanese_jef_china3'.
1334 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
1335 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
1336 `{MIN|MAX}_CHAR_JEF_CHINA3'..
1337 (syms_of_mule_charset): Rename `china3-jef' from
1338 `japanese-jef-china3'.
1339 (complex_vars_of_mule_charset): Likewise; rename
1340 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
1342 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
1343 `LEADING_BYTE_JEF_CHINA3'.
1344 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
1345 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
1347 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1349 * mule-charset.c (encode_builtin_char_1): Comment out special code
1350 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1352 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1353 (MAX_CHAR_MOJIKYO_0): Comment out.
1354 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1355 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1356 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1357 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1359 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1361 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1362 (Qideograph_cbeta): New variable.
1363 (encode_builtin_char_1): Comment out special code for
1364 coded-charset `mojikyo' and `japanese-jef-china3'.
1365 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1366 (complex_vars_of_mule_charset): Add new coded-charset
1369 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1370 (MIN_CHAR_CBETA): New macro.
1371 (MAX_CHAR_CBETA): New macro.
1373 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1375 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1376 (LEADING_BYTE_JEF_CHINA3): New macro.
1377 (MIN_CHAR_JEF_CHINA3): New macro.
1378 (MAX_CHAR_JEF_CHINA3): Likewise.
1379 (DECODE_CHAR): Fixed.
1381 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1383 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1384 (Qjapanese_jef_china3): New variable.
1385 (encode_builtin_char_1): Support `japanese-jef-china3'.
1386 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1387 (complex_vars_of_mule_charset): Add new coded-charset
1388 `japanese-jef-china3'.
1390 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1392 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1393 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1394 94^4, 96^3, 96^4, 128^n and 256^n set.
1395 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1396 (map_char_table): Likewise.
1398 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1400 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1403 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1405 * chartab.h (get_char_id_table): New inline function.
1407 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1410 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1412 * chartab.h (decode_char_table_range): New prototype in XEmacs
1414 (put_char_id_table): New inline function in XEmacs UTF-2000.
1416 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1418 (decode_char_table_range): Delete static declaration in XEmacs
1421 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1423 * chartab.c (put_char_id_table): Use `put_char_table'.
1425 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1427 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1428 (map_over_uint16_byte_table): Likewise.
1429 (map_over_byte_table): Likewise.
1430 (map_char_table): Modify for `map_over_uint8_byte_table',
1431 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1434 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1436 * chartab.c (struct map_char_table_for_charset_arg): New
1438 (map_char_table_for_charset_fun): New function.
1439 (map_char_table): Use `map_char_table' for encoding_table of
1442 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1444 * chartab.c (map_char_table): Check a character is found in
1445 range->charset instead of non default value is defined in
1446 char-table when range is CHARTAB_RANGE_ROW.
1448 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1450 * chartab.c (map_char_id_table): Deleted.
1451 (Fmap_char_attribute): Use `map_char_table' instead of
1452 `map_char_id_table'.
1454 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1456 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1458 (update_syntax_table): Deleted in XEmacs UTF-2000.
1460 * syntax.c (find_defun_start): Use `syntax_table' instead of
1461 `mirror_syntax_table' in XEmacs UTF-2000.
1462 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1464 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1466 (Fmatching_paren): Likewise.
1467 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1469 (find_start_of_comment): Likewise.
1470 (find_end_of_comment): Likewise.
1471 (Fforward_comment): Likewise.
1472 (scan_lists): Likewise.
1473 (char_quoted): Likewise.
1474 (Fbackward_prefix_chars): Likewise.
1475 (scan_sexps_forward): Likewise.
1476 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1477 (update_syntax_table): Likewise.
1479 * search.c (skip_chars): Use `syntax_table' instead of
1480 `mirror_syntax_table' in XEmacs UTF-2000.
1481 (wordify): Likewise.
1482 (Freplace_match): Likewise.
1484 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1485 `mirror_syntax_table' in XEmacs UTF-2000.
1486 (WORDCHAR_P_UNSAFE): Likewise.
1487 (re_match_2_internal): Likewise.
1489 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1490 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1492 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1493 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1495 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1498 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1500 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1501 (char_table_description): Delete `mirror_table' in XEmacs
1503 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1505 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1506 (Fcopy_char_table): Likewise.
1507 (put_char_table): Don't call `update_syntax_table' in XEmacs
1510 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1511 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1512 (casify_region_internal): Likewise.
1514 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1516 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1517 `mirror_syntax_table' in XEmacs UTF-2000.
1519 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1520 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1521 (Fexpand_abbrev): Likewise.
1523 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1525 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1527 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1529 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1530 (map_over_uint16_byte_table): Likewise.
1531 (map_over_byte_table): Likewise.
1532 (get_char_id_table): Refer `cit->default_value'.
1533 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1534 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1535 of character-id ranges.
1536 (mark_char_table): Mark `ct->default_value'.
1537 (char_table_description): Add `default_value'.
1538 (fill_char_table): Use `default_value'.
1539 (decode_char_table_range): Decode `nil' as
1540 `CHARTAB_RANGE_DEFAULT'.
1541 (get_char_id_table): Refer `cit->default_value'.
1542 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1543 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1544 temporary hack; check value of char-table is bound or not.
1545 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1547 * chartab.h (struct Lisp_Char_Table): Add new member
1548 `default_value' in XEmacs UTF-2000.
1549 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1550 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1553 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1555 * chartab.h (Lisp_Char_ID_Table): Deleted.
1557 * chartab.c (char_table_description): Fix typo.
1558 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1559 `Lisp_Char_ID_Table'.
1561 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1563 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1566 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1569 * chartab.h (XCHAR_ID_TABLE): Deleted.
1570 (XSETCHAR_ID_TABLE): Deleted.
1571 (CHAR_ID_TABLE_P): Deleted.
1573 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1575 (Fget_composite_char): Likewise.
1576 (put_char_table): Likewise.
1577 (add_char_attribute_alist_mapper): Fixed.
1578 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1580 (Fget_char_attribute): Likewise.
1581 (Fget_char_attribute): Likewise.
1582 (Fmap_char_attribute): Likewise.
1584 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1586 (encode_char_1): Likewise.
1588 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1590 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1593 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1594 instead of `XCHAR_ID_TABLE'.
1595 (remove_char_ccs): Likewise.
1597 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1599 (Fget_composite_char): Likewise.
1600 (Fchar_variants): Likewise.
1601 (put_char_table): Likewise.
1602 (add_char_attribute_alist_mapper): Likewise.
1603 (Fchar_attribute_alist): Likewise.
1604 (Fget_char_attribute): Likewise.
1605 (Fput_char_attribute): Likewise.
1606 (Fmap_char_attribute): Likewise.
1607 (Fmap_char_attribute): Likewise.
1609 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1611 (encode_char_1): Likewise.
1613 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1615 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1616 `Lisp_Char_ID_Table'.
1617 (mark_char_id_table): Deleted.
1618 (print_char_id_table): Likewise.
1619 (char_id_table_equal): Likewise.
1620 (char_id_table_hash): Likewise.
1621 (char_id_table_description): Likewise.
1622 (char_id_table): Likewise.
1623 (make_char_id_table): Use `Fmake_char_table' and
1625 (get_char_id_table): Use `Lisp_Char_Table' instead of
1626 `Lisp_Char_ID_Table'.
1627 (put_char_id_table): Likewise.
1628 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1630 (Fremove_char_attribute): Likewise.
1631 (syms_of_chartab): Don't define type `char-id-table'.
1633 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1634 (char_id_table): Likewise.
1635 (GC_CHAR_ID_TABLE_P): Likewise.
1636 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1637 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1638 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1639 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1640 (get_char_id_table): Use `Lisp_Char_Table' instead of
1641 `Lisp_Char_ID_Table'.
1642 (put_char_id_table_0): Likewise.
1643 (put_char_id_table): Likewise.
1645 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1647 * chartab.h: Lisp_Byte_Table related codes are moved from
1650 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1652 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1654 * chartab.h: Don't include "chartab.h".
1655 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1656 (Lisp_Char_ID_Table): Likewise.
1657 (char_id_table): Likewise.
1658 (XCHAR_ID_TABLE): Likewise.
1659 (XSETCHAR_ID_TABLE): Likewise.
1660 (CHAR_ID_TABLE_P): Likewise.
1661 (GC_CHAR_ID_TABLE_P): Likewise.
1662 (get_char_id_table): Likewise.
1664 * char-ucs.h: Include "chartab.h".
1665 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1666 (Lisp_Char_ID_Table): Likewise.
1667 (char_id_table): Likewise.
1668 (XCHAR_ID_TABLE): Likewise.
1669 (XSETCHAR_ID_TABLE): Likewise.
1670 (CHAR_ID_TABLE_P): Likewise.
1671 (GC_CHAR_ID_TABLE_P): Likewise.
1672 (get_char_id_table): Likewise.
1674 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1676 * chartab.c (copy_uint8_byte_table): New function.
1677 (copy_uint16_byte_table): New function.
1678 (copy_byte_table): New function.
1679 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1681 (map_over_uint16_byte_table): Likewise.
1682 (map_over_byte_table): Likewise.
1683 (get_byte_table): Move prototype to chartab.h.
1684 (put_byte_table): Likewise.
1685 (put_char_id_table_0): Moved to chartab.h.
1686 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1687 (char_table_entry_equal): Likewise.
1688 (char_table_entry_hash): Likewise.
1689 (char_table_entry_description): Likewise.
1690 (char_table_entry): Likewise.
1691 (make_char_table_entry): Likewise.
1692 (copy_char_table_entry): Likewise.
1693 (get_non_ascii_char_table_value): Likewise.
1694 (map_over_charset_ascii): Likewise.
1695 (map_over_charset_control_1): Likewise.
1696 (map_over_charset_row): Likewise.
1697 (map_over_other_charset): Likewise.
1698 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1699 (print_char_table): Likewise.
1700 (char_table_equal): Likewise.
1701 (char_table_hash): Likewise.
1702 (char_table_description): Likewise.
1703 (fill_char_table): Likewise.
1704 (Fcopy_char_table): Likewise.
1705 (get_char_table): Likewise.
1706 (Fget_range_char_table): Likewise.
1707 (put_char_table): Likewise.
1708 (map_char_table): Likewise.
1709 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1712 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1714 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1715 `Vauto_fill_chars' in XEmacs UTF-2000.
1717 * chartab.h (get_byte_table): New prototype [moved from
1719 (put_byte_table): Likewise [moved from chartab.c].
1720 (put_char_id_table_0): New inline function [moved from chartab.c].
1721 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1722 (Lisp_Char_Table_Entry): Likewise.
1723 (char_table_entry): Likewise.
1724 (XCHAR_TABLE_ENTRY): Likewise.
1725 (XSETCHAR_TABLE_ENTRY): Likewise.
1726 (CHAR_TABLE_ENTRYP): Likewise.
1727 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1728 (NUM_ASCII_CHARS): Likewise.
1729 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1730 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1732 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1734 * chartab.c (get_char_id_table): Change interface.
1735 (put_char_id_table_0): New function.
1736 (put_char_id_table): Change interface; new implementation.
1737 (Fget_composite_char): Modify for interface change of
1738 `get_char_id_table'.
1739 (Fchar_variants): Likewise.
1740 (add_char_attribute_alist_mapper): Likewise.
1741 (Fchar_attribute_alist): Likewise.
1742 (Fget_char_attribute): Likewise.
1743 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1744 as same as character as the first argument like `put-char-table';
1745 modify for interface change of `put_char_id_table'.
1746 (Fremove_char_attribute): Modify for interface change of
1747 `put_char_id_table'.
1749 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1751 * text-coding.c: Sync up with XEmacs 21.2.41.
1752 (COMPOSE_ADD_CHAR): Modify for interface change of
1753 `get_char_id_table'.
1755 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1756 change of `put_char_id_table'.
1757 (remove_char_ccs): Likewise.
1759 * chartab.h (put_char_id_table): Change interface.
1761 * char-ucs.h (get_char_id_table): Change interface.
1762 (charset_code_point): Modify for interface change of
1763 `get_char_id_table'.
1764 (encode_char_1): Likewise.
1766 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1768 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1770 (map_over_uint16_byte_table): Likewise.
1771 (map_over_byte_table): Likewise.
1772 (map_char_id_table): Add new argument `range' like
1774 (Fmap_char_attribute): Add new argument `range' like
1777 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1779 * chartab.c (map_over_uint8_byte_table): Change interface of
1780 mapping function to use struct chartab_range instead of Emchar.
1781 (map_over_uint16_byte_table): Likewise.
1782 (map_over_byte_table): Likewise.
1783 (map_char_id_table): Likewise.
1784 (struct slow_map_char_id_table_arg): Deleted.
1785 (slow_map_char_id_table_fun): Deleted.
1786 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1787 function `slow_map_char_table_fun' instead of struct
1788 `slow_map_char_id_table_arg' and function
1789 `slow_map_char_id_table_fun'.
1791 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1793 * mule-charset.c: Move char-it-table related codes to chartab.c.
1794 (Vutf_2000_version): Moved to chartab.c.
1795 (Fdefine_char): Likewise.
1796 (Ffind_char): Likewise.
1797 (syms_of_mule_charset): Move types `uint8-byte-table',
1798 `uint16-byte-table', `byte-table' and `char-id-table' to
1799 chartab.c; move functions `char_attribute_list,
1800 `find_char_attribute_table, `char_attribute_alist,
1801 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1802 `map_char_attribute, `define_char, `find_char, `char_variants and
1803 `get_composite_char to chartab.c; move symbols `=>ucs',
1804 `->decomposition', `compat', `isolated', `initial', `medial',
1805 `final', `vertical', `noBreak', `fraction', `super', `sub',
1806 `circle', `square', `wide', `narrow', `small' and `font' to
1808 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1809 setting codes for `Vcharacter_composition_table' and
1810 `Vcharacter_variant_table' to chartab.c.
1811 (complex_vars_of_mule_charset): Move setting code for
1812 `Vchar_attribute_hash_table' to chartab.c.
1814 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1815 (make_char_id_table): New prototype.
1816 (put_char_id_table): Likewise.
1817 (Fget_char_attribute): Likewise.
1819 * chartab.c: Move char-id-table related code from mule-charset.c.
1820 (Vutf_2000_version): Moved from mule-charset.c.
1822 * char-ucs.h (Qucs): New external variable.
1823 (put_char_ccs_code_point): New prototype.
1824 (remove_char_ccs): Likewise.
1826 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1828 * mule-charset.c (Vcharset_ucs_jis): New variable.
1829 (Qucs_jis): Likewise.
1830 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1831 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1833 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1835 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1837 * mule-charset.c (map_over_uint8_byte_table): New function.
1838 (map_over_uint16_byte_table): Likewise.
1839 (map_over_byte_table): Likewise.
1840 (map_char_id_table): Likewise.
1841 (slow_map_char_id_table_fun): Likewise.
1842 (Fmap_char_attribute): Likewise.
1843 (syms_of_mule_charset): Add new function `map-char-attribute'.
1845 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1847 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1848 (syms_of_mule_charset): Add new function `find-char'.
1850 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1852 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1854 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1855 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1857 (complex_vars_of_mule_charset): Add new coded-charset
1858 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1859 `ideograph-gt-pj-*'.
1861 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1863 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1865 * mule-charset.c (encode_builtin_char_1): Purge codes about
1866 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1867 {MIN|MAX}_CHAR_HEBREW.
1868 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1869 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1871 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1872 (MAX_CHAR_GREEK): Purged.
1873 (MIN_CHAR_CYRILLIC): Purged.
1874 (MAX_CHAR_CYRILLIC): Purged.
1875 (MIN_CHAR_HEBREW): Commented out.
1876 (MAX_CHAR_HEBREW): Likewise.
1878 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1880 * mule-charset.c (Qto_ucs): New variable.
1881 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1882 (Fdefine_char): Likewise.
1883 (syms_of_mule_charset): Add new symbol `=>ucs'.
1885 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1887 * mule-charset.c (Fdecode_char): Fixed.
1889 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1891 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1892 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1895 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1897 * mule-charset.c (Vcharset_ucs_big5): New variable.
1898 (Qucs_big5): Likewise.
1899 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1900 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1902 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1904 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1906 * mule-charset.c (decode_builtin_char): Check Big5 code range
1907 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1909 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1911 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1912 (Qchinese_gb12345): Likewise.
1913 (Fdecode_builtin_char): Fixed.
1914 (syms_of_mule_charset): Add `chinese-gb12345'.
1915 (complex_vars_of_mule_charset): Add coded-charset
1918 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1919 (LEADING_BYTE_CHINESE_GB12345): New macro.
1921 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1923 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1924 and `latin-viscii-upper' for `latin-viscii'.
1926 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1928 * mule-charset.c (Fdecode_builtin_char): Comment out
1929 regularization code for ISO-IR GR representation.
1931 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1933 * mule-charset.c (decode_builtin_char): New function; renamed from
1934 `make_builtin_char'; return -1 instead of signal.
1935 (Fdecode_builtin_char): Use `decode_builtin_char'.
1937 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1938 `make_builtin_char'.
1939 (DECODE_CHAR): Use `decode_builtin_char' instead of
1940 `make_builtin_char'; use mapping table of `chinese-big5' for
1941 `chinese-big5-{1,2}'.
1943 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1945 * text-coding.c (char_encode_big5): New function.
1946 (char_finish_big5): Likewise.
1947 (reset_encoding_stream): Use `char_encode_big5' and
1948 `char_finish_big5' for CODESYS_BIG5.
1949 (mule_encode): Don't use `encode_coding_big5'.
1950 (encode_coding_big5): Deleted.
1952 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1954 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1955 0x81- in XEmacs UTF-2000.
1956 (detect_coding_big5): Likewise.
1958 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1960 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1961 generate character-id if the CCS property does not have
1962 corresponding predefined character.
1963 (make_builtin_char): Return -1 if corresponding predefined
1964 character is not found.
1965 (Fdecode_char): Return nil if corresponding character is not
1967 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1968 don't map to builtin ucs space.
1970 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1972 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1973 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1975 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1977 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1978 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1979 (Qideograph_gt): Likewise.
1980 (Qideograph_gt_pj_{1..11}): Likewise.
1981 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1982 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1983 `ideograph-gt-pj-11'.
1984 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1985 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1986 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1988 * char-ucs.h (LEADING_BYTE_GT): New macro.
1989 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1990 (MIN_CHAR_GT): Likewise.
1991 (MAX_CHAR_GT): Likewise.
1993 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1995 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1996 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1998 * doprnt.c (unsigned_int_converters): Add `c'.
1999 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2001 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2002 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2004 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2005 (MAX_CHAR_MOJIKYO_0): New macro.
2006 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2008 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2010 * mule-charset.c (Fdefine_char): Delete cemented out code.
2011 (encode_builtin_char_1): Modify for new allocation of builtin
2014 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2016 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2018 * mule-charset.c (Vcharset_ucs_cns): New variable.
2019 (Qucs_cns): New variable.
2020 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2021 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2023 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2025 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2027 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2029 * search.c (search_buffer): Make `charset_base_code' as
2030 character-id >> 6 to eliminate the corresponding last byte in
2031 UTF-8 representation [I'm not sure it is right thing].
2032 (boyer_moore): Likewise.
2034 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2036 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2037 representation in MULE.
2039 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2041 * text-coding.c (Fmake_coding_system): Use
2042 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2043 `EXTERNAL_PROPERTY_LIST_LOOP'.
2045 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2047 * text-coding.c (decode_output_utf8_partial_char): New function.
2048 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2050 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2052 * text-coding.c (decode_coding_utf8): Output original byte
2053 sequence if it is broken; change order of conditions.
2055 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2058 * mb-multibyte.h (BYTE_ASCII_P):
2059 Use bit ops for char-signedness safety.
2060 (BYTE_C0_P): Use bit ops for char-signedness safety.
2061 (BYTE_C1_P): Use bit ops for char-signedness safety.
2063 * character.h: (XCHAR_OR_CHAR_INT):
2064 Always use inline function.
2065 Remove redundant type checking assert() - XINT will abort quite
2068 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2070 * text-coding.c: (Fencode_shift_jis_char):
2071 (Fencode_big5_char):
2072 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2073 Replace 0 with '\0' when working with bytes.
2074 Replace initial "(" with "\(" in docstrings.
2076 (Fmake_coding_system):
2077 When type is ccl and value is vector, register it with a proper
2078 symbol. And checks whether the given ccl program is valid.
2079 (mule_decode): When calling ccl_driver, if src indicates
2080 NULL pointer, set an empty string instead.
2081 (mule_encode): Likewise.
2084 (detect_coding_sjis):
2085 (decode_coding_sjis):
2086 (detect_coding_big5):
2087 (decode_coding_big5):
2088 (detect_coding_ucs4):
2089 (decode_coding_ucs4):
2090 (detect_coding_utf8):
2091 (decode_coding_utf8):
2092 (detect_coding_iso2022):
2093 (decode_coding_iso2022):
2094 (decode_coding_no_conversion):
2096 Make all detecting and decoding functions take an Extbyte * arg.
2097 (text_encode_generic):
2098 (encode_coding_big5):
2099 (encode_coding_no_conversion):
2101 Make all encoding functions take a Bufbyte * arg.
2102 Use size_t instead of unsigned int for memory sizes.
2103 Only cast to unsigned char whenever dereferencing Extbyte *.
2105 (struct lrecord_description fcd_description_1): Use countof.
2106 (complex_vars_of_file_coding):
2107 Use countof instead of sizeof.
2108 Use CHECK_NATNUM instead of CHECK_INT.
2110 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2112 * mule-charset.c (Fget_char_attribute): Add new optional argument
2114 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2115 (remove_char_ccs): Likewise.
2117 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2119 * text-coding.c (char_encode_shift_jis): New implementation in
2121 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2124 * mule-charset.c (Vcharset_chinese_big5): New variable in
2126 (Qchinese_big5): New variable in UTF-2000.
2127 (BIG5_SAME_ROW): New macro in UTF-2000.
2128 (make_builtin_char): Use builtin characters of
2129 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2130 characters of `Vcharset_chinese_big5'.
2131 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2132 (complex_vars_of_mule_charset): Add new coded-charset
2133 `chinese-big5' in UTF-2000.
2135 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2136 (Vcharset_chinese_big5): New external variable declaration.
2137 (Vcharset_japanese_jisx0208_1990): Likewise.
2139 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2141 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2143 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2145 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2147 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2148 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2149 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2152 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2154 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2156 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2158 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2161 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2163 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2164 for `CHARSET_BY_ATTRIBUTES'.
2165 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2166 `CHARSET_BY_ATTRIBUTES'.
2168 * text-coding.c (struct decoding_stream): Rename member `CH' to
2170 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2171 (decode_coding_sjis): Likewise.
2172 (decode_coding_big5): Likewise.
2173 (decode_coding_ucs4): Likewise.
2174 (decode_coding_utf8): Likewise.
2175 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2176 `CHARSET_BY_ATTRIBUTES'.
2177 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2178 `str->counter'; decode 3, 4 bytes sets.
2179 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2181 (decode_coding_no_conversion): Use `str->cpos' instead of
2184 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2185 (Qmojikyo_2022_1): New variable.
2186 (make_charset): Don't use `CHARSET_TYPE_*'.
2187 (range_charset_code_point): Support coded-charset
2189 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2190 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2191 `CHARSET_BY_ATTRIBUTES'.
2192 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2193 `CHARSET_BY_ATTRIBUTES'.
2194 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2195 (complex_vars_of_mule_charset): Add new coded-charset
2198 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2199 interface; changed to inline function.
2201 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2202 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2203 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2204 (CHARSET_TYPE_94): Deleted.
2205 (CHARSET_TYPE_94X94): Deleted.
2206 (CHARSET_TYPE_96): Deleted.
2207 (CHARSET_TYPE_96X96): Deleted.
2208 (CHARSET_TYPE_128): Deleted.
2209 (CHARSET_TYPE_128X128): Deleted.
2210 (CHARSET_TYPE_256): Deleted.
2211 (CHARSET_TYPE_256X256): Deleted.
2212 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2214 (DECODE_MOJIKYO_2022): New inline function.
2215 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2216 `Vcharset_mojikyo_2022_1'.
2218 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2220 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2222 (put_byte_table): Likewise.
2223 (char_id_table_equal): Use `get_byte_table' [new implementation].
2225 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2227 * mule-charset.c: Include <limits.h> in UTF-2000.
2228 (BT_UINT8_MIN): New macro in UTF-2000.
2229 (BT_UINT8_MAX): New macro in UTF-2000.
2230 (BT_UINT8_t): New macro in UTF-2000.
2231 (BT_UINT8_nil): New macro in UTF-2000.
2232 (BT_UINT8_unbound): New macro in UTF-2000.
2233 (INT_UINT8_P): New inline function in UTF-2000.
2234 (UINT8_VALUE_P): New inline function in UTF-2000.
2235 (UINT8_ENCODE): New inline function in UTF-2000.
2236 (UINT8_DECODE): New inline function in UTF-2000.
2237 (mark_uint8_byte_table): New function in UTF-2000.
2238 (print_uint8_byte_table): New function in UTF-2000.
2239 (uint8_byte_table_equal): New function in UTF-2000.
2240 (uint8_byte_table_hash): New function in UTF-2000.
2241 (make_uint8_byte_table): New function in UTF-2000.
2242 (uint8_byte_table_same_value_p): New function in UTF-2000.
2243 (BT_UINT16_MIN): New macro in UTF-2000.
2244 (BT_UINT16_MAX): New macro in UTF-2000.
2245 (BT_UINT16_t): New macro in UTF-2000.
2246 (BT_UINT16_nil): New macro in UTF-2000.
2247 (BT_UINT16_unbound): New macro in UTF-2000.
2248 (INT_UINT16_P): New inline function in UTF-2000.
2249 (UINT16_VALUE_P): New inline function in UTF-2000.
2250 (UINT16_ENCODE): New inline function in UTF-2000.
2251 (UINT16_DECODE): New inline function in UTF-2000.
2252 (UINT8_TO_UINT16): New inline function in UTF-2000.
2253 (mark_uint16_byte_table): New function in UTF-2000.
2254 (print_uint16_byte_table): New function in UTF-2000.
2255 (uint16_byte_table_equal): New function in UTF-2000.
2256 (uint16_byte_table_hash): New function in UTF-2000.
2257 (make_uint16_byte_table): New function in UTF-2000.
2258 (uint16_byte_table_same_value_p): New function in UTF-2000.
2259 (print_byte_table): New function in UTF-2000.
2260 (byte-table): Use `print_byte_table' as printer.
2261 (make_byte_table): Delete second argument `older'.
2262 (byte_table_same_value_p): New function in UTF-2000.
2263 (copy_byte_table): Deleted.
2264 (get_byte_table): New function in UTF-2000.
2265 (put_byte_table): New function in UTF-2000.
2266 (print_char_id_table): New function in UTF-2000.
2267 (char-id-table): Use `print_char_id_table' as printer.
2268 (make_char_id_table): Delete second argument `older'.
2269 (get_char_id_table): Use `get_byte_table [new implementation].
2270 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2272 (Ffind_char_attribute_table): New function in UTF-2000.
2273 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2274 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2275 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2276 (syms_of_mule_charset): Add new function
2277 `find-char-attribute-table' in UTF-2000.
2279 * lrecord.h (enum lrecord_type): Add
2280 `lrecord_type_uint16_byte_table' and
2281 `lrecord_type_uint8_byte_table'.
2283 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2284 (Lisp_Uint8_Byte_Table): New type.
2285 (XUINT8_BYTE_TABLE): New macro.
2286 (XSETUINT8_BYTE_TABLE): New macro.
2287 (UINT8_BYTE_TABLE_P): New macro.
2288 (GC_UINT8_BYTE_TABLE_P): New macro.
2289 (struct Lisp_Uint16_Byte_Table): New structure.
2290 (Lisp_Uint16_Byte_Table): New type.
2291 (XUINT16_BYTE_TABLE): New macro.
2292 (XSETUINT16_BYTE_TABLE): New macro.
2293 (UINT16_BYTE_TABLE_P): New macro.
2294 (GC_UINT16_BYTE_TABLE_P): New macro.
2296 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2298 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2299 (Vcharacter_ideographic_strokes_table): Deleted.
2300 (Vcharacter_total_strokes_table): Deleted.
2301 (Vcharacter_morohashi_daikanwa_table): Deleted.
2302 (Vcharacter_decomposition_table): Deleted.
2303 (Qname): Deleted because it is duplicated.
2304 (Qideographic_radical): Deleted.
2305 (Qideographic_strokes): Deleted.
2306 (Qtotal_strokes): Deleted.
2307 (Qmorohashi_daikanwa): Deleted.
2308 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2309 `ideographic-radical', `ideographic-strokes', `total-strokes',
2310 `morohashi-daikanwa' and `->decomposition'.
2311 (Fget_char_attribute): Likewise.
2312 (Fput_char_attribute): Likewise; use `make-vector' instead of
2313 `make_older_vector' for `->decomposition' value.
2314 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
2315 `ideograph-daikanwa'.
2316 (syms_of_mule_charset): Delete builtin symbols `name',
2317 `ideographic-radical', `ideographic-strokes', `total-strokes' and
2318 `morohashi-daikanwa'.
2319 (vars_of_mule_charset): Don't setup
2320 `Vcharacter_ideographic_radical_table',
2321 `Vcharacter_ideographic_strokes_table',
2322 `Vcharacter_total_strokes_table',
2323 `Vcharacter_morohashi_daikanwa_table' and
2324 `Vcharacter_decomposition_table'.
2326 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2328 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
2329 `make_older_vector', `make_vector_newer_1' and
2330 `make_vector_newer'.
2332 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
2333 `make_older_vector' and `make_vector_newer'.
2335 * config.h.in (HAVE_GGC): New macro.
2337 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2339 * mule-charset.c (struct char_attribute_list_closure): New
2340 structure in UTF-2000.
2341 (add_char_attribute_to_list_mapper): New function in UTF-2000.
2342 (Fchar_attribute_list): Likewise.
2343 (Fset_charset_mapping_table): Use `make_vector_newer'.
2344 (Fdecode_builtin_char): New function in UTF-2000.
2345 (syms_of_mule_charset): Add new function `char-attribute-list' and
2346 `decode-builtin-char' in UTF-2000.
2348 * lisp.h (make_vector_newer): New prototype.
2350 * alloc.c (make_vector_newer_1): New function.
2351 (make_vector_newer): New function.
2353 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2355 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2358 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2360 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2361 (Vcharacter_attribute_table): Deleted.
2362 (Vcharacter_name_table): Deleted.
2363 (put_char_attribute): Deleted.
2364 (remove_char_attribute): Deleted.
2365 (struct char_attribute_alist_closure): New structure.
2366 (add_char_attribute_alist_mapper): New function.
2367 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2368 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2369 (Fget_char_attribute): Likewise.
2370 (Fput_char_attribute): Likewise.
2371 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2372 of `remove_char_attribute'.
2373 (Fdefine_char): Return character.
2374 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2375 and `Vcharacter_name_table'.
2376 (complex_vars_of_mule_charset): Likewise
2377 `Vchar_attribute_hash_table'.
2379 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2381 * character.h (CHARC_CHARSET): New macro.
2382 (CHARC_CHARSET_ID): New macro.
2383 (CHARC_CODE_POINT): New macro.
2384 (CHARC_COLUMNS): New macro.
2385 (CHARC_TO_CHAR): New inline function.
2386 (CHARC_EQ): New inline function.
2387 (CHARC_ASCII_EQ): New inline function.
2388 (CHARC_IS_SPACE): New inline function.
2389 (ASCII_TO_CHARC): New inline function.
2391 * char-ucs.h (encode_char_2): Deleted.
2392 (ENCODE_CHAR): Use `encode_char_1' again.
2393 (breakup_char_1): Likewise.
2394 (CHAR_TO_CHARC): New inline function.
2396 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2398 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2400 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2401 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2402 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2403 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2404 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2406 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2408 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2410 (x_output_display_block): Use `CHARC_CHARSET' and
2413 * redisplay-tty.c (tty_output_display_block): Use
2415 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2417 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2419 * insdel.c (find_charsets_in_charc_string): Use
2421 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2422 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2423 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2424 (convert_charc_string_into_malloced_string): Likewise.
2426 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2428 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2429 instead of <Emchar_dynarr *> for buf; use
2430 `convert_bufbyte_string_into_charc_dynarr' instead of
2431 `convert_bufbyte_string_into_emchar_dynarr'; use
2432 `find_charsets_in_charc_string' instead of
2433 `find_charsets_in_emchar_string'.
2436 - Include "character.h".
2437 (struct rune): New member `cglyph'; delete member `chr'.
2439 * redisplay.c (redisplay_text_width_charc_string): New function;
2440 delete `redisplay_text_width_emchar_string'.
2441 (rtw_charc_dynarr): New variable; renamed from
2442 `rtw_emchar_dynarr'.
2443 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2444 `rtw_emchar_dynarr'; use
2445 `convert_bufbyte_string_into_charc_dynarr' instead of
2446 `convert_bufbyte_string_into_emchar_dynarr'; use
2447 `redisplay_text_width_charc_string' instead of
2448 `redisplay_text_width_emchar_string'.
2449 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2450 instead of `rtw_emchar_dynarr'; use
2451 `convert_bufbyte_string_into_charc_dynarr' instead of
2452 `convert_bufbyte_string_into_emchar_dynarr'.
2453 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2454 `redisplay_text_width_charc_string' instead of
2455 `redisplay_text_width_emchar_string'.
2456 (create_text_block): Modify for <struct rune> change.
2457 (generate_formatted_string_db): Likewise.
2458 (create_string_text_block): Likewise.
2459 (pixel_to_glyph_translation): Likewise.
2461 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2462 instead of <const Emchar *>.
2463 (x_text_width): Likewise.
2464 (x_output_display_block): Use <Charc_dynarr *> instead
2465 <Emchar_dynarr *>; modify for <structure rune> change.
2466 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2469 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2470 <const Emchar *>; use `charc_string_displayed_columns' instead of
2471 `emchar_string_displayed_columns'.
2472 (tty_output_display_block): Use <Charc_dynarr *> instead of
2473 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2474 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2475 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2476 `tty_output_emchar_dynarr_dynarr'.
2477 (tty_output_charc_dynarr): New function; delete
2478 `tty_output_charc_dynarr'.
2480 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2481 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2482 <Emchar_dynarr *> for buf; use
2483 `convert_bufbyte_string_into_charc_dynarr' instead of
2484 `convert_bufbyte_string_into_emchar_dynarr'.
2486 * frame.c (title_string_charc_dynarr): New variable; renamed from
2487 `title_string_emchar_dynarr'.
2488 (generate_title_string): Use `title_string_charc_dynarr' instead
2489 of `title_string_emchar_dynarr'; use
2490 `convert_charc_string_into_malloced_string' instead of
2491 `convert_emchar_string_into_malloced_string'.
2492 (init_frame): Use `title_string_charc_dynarr' instead of
2493 `title_string_emchar_dynarr'.
2496 - Include "character.h".
2497 (struct console_methods): Use <const Charc *> instead of <const
2498 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2499 <Emchar_dynarr *> in output_string_method.
2501 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2504 * console-stream.c (stream_text_width): Use <const Charc *>
2505 instead of <const Emchar *>.
2507 * character.h (Charc_dynarr): New type.
2509 * char-ucs.h (structure Charc): New structure; define new type
2512 * char-lb.h (DECODE_CHAR): New inline function.
2513 (encode_char_1): New inline function.
2514 (ENCODE_CHAR): New macro.
2515 (structure Charc): New structure; define new type `Charc'.
2517 * char-1byte.h (Vcharset_control_1): New macro.
2518 (Vcharset_latin_iso8859_1): New macro.
2519 (DECODE_CHAR): New inline function.
2520 (encode_char_1): New inline function.
2521 (ENCODE_CHAR): New macro.
2522 (structure Charc): New structure; define new type `Charc'.
2524 * insdel.c (find_charsets_in_charc_string): New function; delete
2525 `find_charsets_in_emchar_string'.
2526 (charc_string_displayed_columns): New function; delete
2527 `emchar_string_displayed_columns'.
2528 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2529 `convert_bufbyte_string_into_emchar_dynarr'.
2530 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2531 `convert_charc_string_into_bufbyte_dynarr'.
2532 (convert_charc_string_into_malloced_string): New function; delete
2533 `convert_charc_string_into_malloced_string'.
2535 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2536 `find_charsets_in_emchar_string'.
2537 (charc_string_displayed_columns): New prototype; delete
2538 `emchar_string_displayed_columns'.
2539 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2540 `convert_charc_string_into_bufbyte_dynarr'.
2541 (convert_charc_string_into_malloced_string): New prototype; delete
2542 `convert_charc_string_into_malloced_string'.
2544 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2546 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2548 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2550 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2552 * char-ucs.h: Use <short> for <Charset_ID>.
2554 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2557 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2559 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2562 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2564 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2566 (Qmorohashi_daikanwa): New variable.
2567 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2568 for `morohashi-daikanwa' attribute.
2569 (Fget_char_attribute): Likewise.
2570 (Fput_char_attribute): Likewise.
2571 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2572 has the same value of `ideograph-daikanwa'.
2573 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2574 (vars_of_mule_charset): Setup
2575 `Vcharacter_morohashi_daikanwa_table'.
2577 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2579 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2581 (add_charset_to_list_mapper): Add `key' instead of
2582 `XCHARSET_NAME (value)' to return aliases.
2584 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2586 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2588 (Vcharacter_ideographic_strokes_table): New variable.
2589 (Qideographic_radical): New variable.
2590 (Qideographic_strokes): New variable.
2591 (Fchar_attribute_alist): Use
2592 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2593 attribute; use `Vcharacter_ideographic_strokes_table' for
2594 `ideographic-strokes' attribute.
2595 (Fget_char_attribute): Likewise.
2596 (Fput_char_attribute): Likewise.
2597 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2598 `ideographic-strokes'.
2599 (vars_of_mule_charset): Setup
2600 `Vcharacter_ideographic_radical_table' and
2601 `Vcharacter_ideographic_strokes_table'.
2603 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2605 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2606 (Qtotal_strokes): New variable.
2607 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2608 `total-strokes' attribute.
2609 (Fget_char_attribute): Likewise.
2610 (Fput_char_attribute): Likewise.
2611 (syms_of_mule_charset): Add new symbol `total-strokes'.
2612 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2614 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2616 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2617 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2619 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2620 `->decomposition' attribute.
2621 (Fput_char_attribute): Likewise.
2622 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2624 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2626 * mule-charset.c (decoding_table_check_elements): New function.
2627 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2629 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2631 * mule-charset.c (Fset_charset_mapping_table): Use
2632 `put_char_ccs_code_point'.
2634 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2636 * mule-charset.c (decoding_table_put_char): New inline function.
2637 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2639 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2641 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2642 (XCHARSET_BYTE_SIZE): New macro.
2643 (decoding_table_remove_char): New inline function.
2644 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2645 `decoding_table_remove_char'.
2646 (remove_char_ccs): Use `decoding_table_remove_char'.
2647 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2649 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2651 * mule-charset.c (Vcharacter_name_table): New variable.
2652 (Qname): New variable.
2653 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2655 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2656 `Vcharacter_name_table' for `name' attribute.
2657 (Fremove_char_attribute): Use function `remove_char_ccs'.
2658 (put_char_ccs_code_point): New function.
2659 (remove_char_ccs): New function.
2660 (syms_of_mule_charset): Add new symbol `name'.
2661 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2663 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2665 * mule-charset.c (make_byte_table): Add new argument `older'.
2666 (make_char_id_table): Likewise.
2667 (copy_char_id_table): Comment out because it is not used.
2668 (put_char_id_table): Modify for `make_byte_table'.
2669 (Fput_char_attribute): Make encoding_table as older object;
2670 inherit older bit of `Vcharacter_composition_table'.
2671 (mark_charset): Don't mark `cs->encoding_table'.
2672 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2673 normal object; make `Vcharacter_composition_table' as an older
2674 object; delete staticpro for `Vcharacter_composition_table'; make
2675 `Vcharacter_variant_table' as a normal object.
2677 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2678 (mark_object): Don't check older object in UTF-2000.
2680 * lrecord.h (struct lrecord_header): Add new member `older' in
2682 (set_lheader_implementation): Setup `SLI_header->older' in
2684 (set_lheader_older_implementation): New macro in UTF-2000.
2685 (OLDER_RECORD_P): New macro in UTF-2000.
2686 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2687 (alloc_older_lcrecord): New prototype in UTF-2000.
2688 (alloc_older_lcrecord_type): New macro in UTF-2000.
2690 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2692 * mule-charset.c (byte_table_description): Use
2693 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2694 (char_id_table_description): Delete bogus `, 1'.
2695 (Fget_char_attribute): Refer encoding_table of each coded-charset
2696 to get value of coded-charset attribute of a character.
2697 (Fput_char_attribute): Use `make_older_vector' instead of
2698 `make_vector'; use encoding_table of each coded-charset to store
2699 value of coded-charset attribute of a character.
2700 (Fremove_char_attribute): Use encoding_table of each coded-charset
2701 to store value of coded-charset attribute of a character.
2702 (mark_charset): Mark `cs->encoding_table'; don't mark
2703 `cs->decoding_table'.
2704 (charset_description): Add description of new member
2706 (make_charset): Initialize `encoding_table'.
2708 * char-ucs.h (struct Lisp_Charset): Add new member
2710 (CHARSET_ENCODING_TABLE): New macro.
2711 (XCHARSET_ENCODING_TABLE): New macro.
2712 (charset_code_point): New implementation.
2713 (encode_char_1): Likewise.
2715 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2716 (disksave_object_finalization_1): Call finalizers of
2717 `all_older_lcrecords' in UTF-2000.
2718 (make_older_vector): New function in UTF-2000.
2719 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2722 * lisp.h (make_older_vector): New prototype in UTF-2000.
2724 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2726 * lrecord.h (enum lrecord_type): Rename
2727 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2729 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2730 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2731 `get_char_code_table'.
2733 * mule-charset.c (mark_char_id_table): Renamed from
2734 `mark_char_code_table'.
2735 (char_id_table_equal): Renamed from `char_code_table_equal'.
2736 (char_id_table_hash): Renamed from `char_code_table_hash'.
2737 (make_char_id_table): Renamed from `make_char_code_table'.
2738 (copy_char_id_table): Renamed from `copy_char_code_table'.
2739 (get_char_id_table): Renamed from `get_char_code_table'.
2740 (put_char_id_table): Renamed from `put_char_code_table'.
2741 (to_char_id): Renamed from `to_char_code'.
2743 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2744 `Lisp_Char_Code_Table'.
2745 (char_id_table): Renamed from `char_code_table'.
2746 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2747 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2748 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2749 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2750 (get_char_id_table): Renamed from `get_char_code_table'.
2752 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2754 * lrecord.h (enum lrecord_type): Rename
2755 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2757 * mule-charset.c (mark_byte_table): Renamed from
2758 `mark_char_byte_table'.
2759 (byte_table_equal): Renamed from `char_byte_table_equal'.
2760 (byte_table_hash): Renamed from `byte_table_hash'.
2761 (make_byte_table): Renamed from `make_byte_table'.
2762 (copy_byte_table): Renamed from `copy_char_byte_table'.
2764 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2765 `Lisp_Char_Byte_Table'.
2766 (byte_table): Renamed from `char_byte_table'.
2767 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2768 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2769 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2770 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2772 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2774 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2775 (dfc_convert_to_internal_format): Likewise.
2777 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2778 * text-coding.c (Fcoding_system_alias_p): New function.
2779 * text-coding.c (Fcoding_system_aliasee): New function.
2780 * text-coding.c (append_suffix_to_symbol): New function.
2781 * text-coding.c (dangling_coding_system_alias_p): New function.
2782 * text-coding.c (Ffind_coding_system):
2783 * text-coding.c (Fcopy_coding_system):
2784 * text-coding.c (encode_coding_no_conversion):
2785 * text-coding.c (syms_of_file_coding):
2786 * text-coding.c (vars_of_file_coding):
2787 Rewrite coding system alias code.
2788 Allow nested aliases, like symbolic links.
2789 Allow redefinition of coding system aliases.
2790 Prevent existence of dangling coding system aliases.
2791 Eliminate convert_to_external_format.
2792 Eliminate convert_to_internal_format.
2794 * text-coding.c: Change enum eol_type to eol_type_t.
2796 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2798 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2799 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2801 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2802 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2804 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2806 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2807 `ideograph-daikanwa'.
2809 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2810 (Vcharset_ucs_bmp): Likewise.
2811 (Vcharset_mojikyo): Add new extern variable definition.
2812 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2813 (Vcharset_latin_iso8859_3): Likewise.
2814 (Vcharset_latin_iso8859_4): Likewise.
2815 (Vcharset_latin_iso8859_9): Likewise.
2816 (Vcharset_latin_viscii_lower): Likewise.
2817 (Vcharset_latin_viscii_upper): Likewise.
2818 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2819 `mojikyo' code-point is used to decode.
2820 (encode_char_2): New function [to convert `mojikyo' code-point to
2821 Mojikyo font encoding].
2822 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2823 (breakup_char_1): Likewise.
2824 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2826 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2828 * text-coding.c (Fmake_coding_system): Add document about
2829 `disable-composition' property.
2831 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2833 * text-coding.c (Qdisable_composition): New variable; delete
2835 (Fmake_coding_system): Add new property `disable-composite';
2836 delete property `composite'.
2837 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2838 instead of `!CODING_SYSTEM_COMPOSITE'.
2839 (syms_of_file_coding): Add new symbol `disable-composition';
2840 delete symbol `composite'.
2842 * file-coding.h (struct Lisp_Coding_System): Add
2843 `disable_composition'; delete `enable_composition'.
2844 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2845 `CODING_SYSTEM_COMPOSITE'.
2846 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2847 `XCODING_SYSTEM_COMPOSITE'.
2849 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2851 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2854 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2856 * text-coding.c (Qcomposite): New variable.
2857 (Fmake_coding_system): Add new property `composite'.
2858 (struct decoding_stream): Add `combined_char_count',
2859 `combined_chars' and `combining_table' in UTF-2000.
2860 (COMPOSE_FLUSH_CHARS): New macro.
2861 (COMPOSE_ADD_CHAR): New macro.
2862 (reset_decoding_stream): Reset `str->combined_char_count' and
2863 `str->combining_table' in UTF-2000.
2864 (decode_coding_iso2022): Modify for character-decomposition.
2865 (syms_of_file_coding): Add new symbol `composite'.
2867 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2869 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2870 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2871 of `Vcharacter_composition_table' if `->decomposition' property
2873 (Qlatin_tcvn5712): New variable.
2874 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2875 (complex_vars_of_mule_charset): Add new coded-charset
2878 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2880 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2882 * file-coding.h (struct Lisp_Coding_System): Add
2883 `enable_composition'.
2884 (CODING_SYSTEM_COMPOSITE): New macro.
2885 (XCODING_SYSTEM_COMPOSITE): New macro.
2887 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2889 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2891 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2893 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2894 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2896 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2898 * mule-charset.c (Vcharset_mojikyo): New variable.
2899 (Fdefine_char): Don't use coded-charset which does not have
2900 non-builtin character range to allocate character-id.
2901 (Qmojikyo): New variable.
2902 (syms_of_mule_charset): Add new symbol `mojikyo'.
2903 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2905 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2906 (LEADING_BYTE_MOJIKYO): New macro.
2907 (MIN_CHAR_MOJIKYO): New macro.
2908 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2909 (MAX_CHAR_MOJIKYO): New macro.
2911 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2913 * mule-charset.c (remove_char_attribute): Fixed.
2915 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2917 * mule-charset.c (remove_char_attribute): New function.
2918 (Fremove_char_attribute): New function.
2919 (encode_builtin_char_1): Comment out builtin-support for
2920 greek-iso8859-7 and cyrillic-iso8859-5.
2921 (Fdecode_char): Check `code' is an integer.
2922 (syms_of_mule_charset): Add `remove-char-attribute'.
2923 (MIN_CHAR_GREEK): Deleted.
2924 (MAX_CHAR_GREEK): Likewise.
2925 (MIN_CHAR_CYRILLIC): Likewise.
2926 (MAX_CHAR_CYRILLIC): Likewise.
2927 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2928 MAX_CHAR_GREEK for `greek-iso8859-7'.
2930 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2931 (MAX_CHAR_GREEK): Likewise.
2932 (MIN_CHAR_CYRILLIC): Likewise.
2933 (MAX_CHAR_CYRILLIC): Likewise.
2935 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2937 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2938 format is used without `ucs' property.
2939 (Fdecode_char): Fix problem with GR representation.
2940 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2941 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2943 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2945 * mule-charset.c (make_builtin_char): New function.
2946 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2947 (Fset_charset_mapping_table): Modify for new representation of
2949 (Fdecode_char): New function.
2950 (syms_of_mule_charset): Add new builtin function `decode-char' in
2953 * char-ucs.h (make_builtin_char): New prototype.
2954 (DECODE_CHAR): New inline function.
2955 (MAKE_CHAR): Use `DECODE_CHAR'.
2957 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2959 * text-coding.c (parse_charset_conversion_specs): Use
2960 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2962 (iso2022_designate): Likewise.
2964 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2965 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2967 * mule-charset.c (Vcharset_ucs): New variable.
2968 (print_charset): Change design; use `CHARSET_CHARS' and
2969 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2970 (make_charset): Change signature to specify `chars' and
2971 `dimension' instead of `type'.
2972 (range_charset_code_point): Modify for 256^n-set.
2973 (encode_builtin_char_1): Encode as `ucs' in default.
2974 (Fmake_charset): Modify for `make_charset'.
2975 (Fmake_reverse_direction_charset): Likewise.
2976 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2978 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2981 * char-ucs.h (Vcharset_ucs): New variable.
2982 (LEADING_BYTE_UCS): New macro.
2983 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2984 and `chars' to `unsigned short' from `unsigned int'.
2985 (CHARSET_TYPE): Deleted.
2986 (XCHARSET_TYPE): Deleted.
2988 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2990 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2992 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2993 (ENCODE_CHAR): New macro.
2995 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2997 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2998 to 0.14 (Kawachi-Katakami).
3000 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3002 * text-coding.c (char_encode_shift_jis): Modify for
3003 `charset_code_point'.
3004 (char_encode_iso2022): Likewise.
3006 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3007 (integer) instead of list of <Lisp_Object>s (integers) as the
3008 format of code-point of a coded-charset.
3009 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3010 (encode_builtin_char_1): New function; delete
3011 `split_builtin_char'.
3012 (charset_code_point): Return <int> instead of <Lisp_Object>.
3013 (Fsplit_char): Don't use `SPLIT_CHAR'.
3015 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3016 prototype for `split_builtin_char'.
3017 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3018 (charset_code_point): Likewise.
3019 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3020 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3022 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3024 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3025 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3027 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3029 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3031 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3032 (MAX_CHAR_OBS_94x94): Deleted.
3034 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3036 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3038 * char-ucs.h (MAX_CHAR_BMP): New macro.
3040 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3042 * text-coding.c: Sync with r21-2-24.
3044 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3046 * file-coding.c: Modify for UTF-2000.
3048 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3050 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3053 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3055 * mule-charset.c (split_builtin_char): Delete builtin support for
3056 `katakana-jisx0201'.
3057 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3058 BMP area in builtin representation.
3060 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3061 `Vcharset_katakana_jisx0201'.
3063 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3065 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3066 (Qisolated): New variable.
3067 (Qinitial): New variable.
3068 (Qmedial): New variable.
3069 (Qfinal): New variable.
3070 (Qvertical): New variable.
3071 (Qsmall): New variable.
3072 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3073 `Qvertical' and `Qsmall'.
3074 (Qmojikyo_pj_[1 .. 21]): New variable.
3075 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3076 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3077 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3080 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3082 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3083 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3084 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3086 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3088 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3089 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3091 (Qjapanese_jisx0208_1990): New variable.
3092 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3093 (complex_vars_of_mule_charset): Add new coded-charset
3094 `japanese-jisx0208-1990'.
3096 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3097 (MIN_CHAR_JIS_X0208_1990): New macro.
3098 (MAX_CHAR_JIS_X0208_1990): New macro.
3100 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3102 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3103 coded-charset is not found.
3105 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3107 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3108 (Fdefine_char): Use `Fmake_char'.
3110 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3112 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3113 (Vcharset_hiragana_jisx0208): Deleted.
3114 (Vcharset_katakana_jisx0208): Deleted.
3115 (Qideograph_daikanwa): New variable.
3116 (Qhiragana_jisx0208): Deleted.
3117 (Qkatakana_jisx0208): Deleted.
3118 (split_builtin_char): Split `ideograph-daikanwa'.
3119 (Fsplit_char): New implementation for UTF-2000.
3120 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3121 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3122 (complex_vars_of_mule_charset): Add new coded-charset
3123 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3124 `katakana-jisx0208'.
3126 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3127 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3128 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3129 (MIN_CHAR_DAIKANWA): New macro.
3130 (MAX_CHAR_DAIKANWA): New macro.
3132 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3134 * data.c (Fstring_to_number): Don't recognize floating point if
3137 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3139 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3141 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3143 * mule-charset.c (Qsquare): New variable.
3144 (to_char_code): Add `Qsquare'.
3145 (syms_of_mule_charset): Add new symbol `square'.
3147 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3149 * mule-charset.c (Qcircle): New variable.
3150 (to_char_code): Add `Qcircle'.
3151 (syms_of_mule_charset): Add new symbol `circle'.
3153 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3155 * mule-charset.c (Qfont): New variable.
3156 (to_char_code): Add `Qfont'.
3157 (syms_of_mule_charset): Add new symbol `font'.
3159 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3161 * mule-charset.c (Qsub): New variable.
3162 (to_char_code): Add `Qsub'.
3163 (syms_of_mule_charset): Add new symbol `sub'.
3165 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3167 * mule-charset.c (Fput_char_attribute): Convert each element of
3168 VALUE to GL position if ATTRIBUTE is a GR-set,
3170 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3172 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3173 coded-charset is a GR-set.
3175 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3177 * mule-charset.c (Fput_char_attribute): Check each element of
3178 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3180 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3182 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3184 (Qethiopic_ucs): New variable in UTF-2000.
3185 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3186 (complex_vars_of_mule_charset): Add new coded-charset
3187 `ethiopic-ucs' in UTF-2000.
3189 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3190 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3192 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3194 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3196 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3198 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3201 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3203 * mule-charset.c (Vcharacter_variant_table): New variable.
3204 (Q_ucs): New variable.
3205 (Fchar_variants): New function.
3206 (Fput_char_attribute): Register `->ucs' value to
3207 `Vcharacter_variant_table'.
3208 (syms_of_mule_charset): Add new function `char-variants' and new
3210 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3212 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3214 * mule-charset.c (get_char_code_table): Allow negative character
3216 (put_char_code_table): Likewise.
3217 (Vcharacter_composition_table): New variable.
3218 (Q_decomposition): New variable.
3219 (Qwide): New variable.
3220 (Qnarrow): New variable.
3221 (Qcompat): New variable.
3222 (QnoBreak): New variable.
3223 (Qsuper): New variable.
3224 (Qfraction): New variable.
3225 (to_char_code): New function.
3226 (Fget_composite_char): New function.
3227 (Fput_char_attribute): Register `->decomposition' value to
3228 `Vcharacter_composition_table'.
3229 (syms_of_mule_charset): Add new function `get-composite-char', new
3230 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3231 `super' and `fraction'.
3232 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3234 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3236 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3237 character; copy the return value.
3239 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3241 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3243 * mule-charset.c (range_charset_code_point): Must use make_int.
3244 (split_builtin_char): New function.
3246 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3248 * mule-charset.c (char_byte_table): Change name from
3249 "char-code-table" to "char-byte-table".
3250 (mark_char_code_table): New function.
3251 (char_code_table_equal): New function.
3252 (char_code_table_hash): New function.
3253 (char_code_table_description): New constant.
3254 (char_code_table): New type.
3255 (make_char_code_table): New function.
3256 (copy_char_code_table): New function.
3257 (get_char_code_table): Modify for `char_code_table' type.
3258 (put_char_code_table): Likewise.
3259 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3262 * char-ucs.h (char_code_table): New type.
3263 (XCHAR_CODE_TABLE): New macro.
3264 (XSETCHAR_CODE_TABLE): New macro.
3265 (CHAR_CODE_TABLE_P): New macro.
3266 (GC_CHAR_CODE_TABLE_P): New macro.
3267 (struct Lisp_Char_Code_Table): New structure.
3269 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3271 * mule-charset.c (Fmake_charset): Setup byte_offset for
3274 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3276 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3279 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3281 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3284 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3286 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3287 charset, it is regarded as a charset.
3288 (put_char_attribute): New function in UTF-2000.
3289 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3290 charset, mapping-table of the charset is modified.
3291 (Fdefine_char): New function in UTF-2000.
3292 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3293 `Fput_char_attribute'.
3294 (syms_of_mule_charset): Add new function `define-char' and new
3295 symbol `ucs' in UTF-2000.
3296 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3298 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3300 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3301 non-UTF-2000 configuration.
3303 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3305 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3306 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3308 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3310 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3311 (Fset_charset_mapping_table): Likewise.
3313 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3314 (CHARSET_ENCODING_TABLE): Delete.
3315 (XCHARSET_ENCODING_TABLE): Delete.
3316 (charset_code_point): New interface.
3318 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3320 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
3321 instead of `charset_get_byte1' and `charset_get_byte2'.
3323 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
3324 (charset_get_byte2): Deleted.
3326 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3328 * char-ucs.h (SPLIT_CHAR): New inline function.
3329 (breakup_char_1): Use `SPLIT_CHAR'.
3331 * mule-charset.c (range_charset_code_point): New function.
3332 (charset_code_point): New function.
3334 * char-ucs.h (range_charset_code_point): New interface.
3335 (breakup_char_1): Use `range_charset_code_point'.
3337 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3339 * mule-charset.c (Fmake_charset): Delete unused local variable
3342 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
3343 (breakup_char_1): Find a charset and code-point in
3344 `Vcharacter_attribute_table'.
3346 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3348 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3351 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3353 * mule-charset.c (Vcharacter_attribute_table): New variable.
3354 (Fchar_attribute_alist): New function.
3355 (Fget_char_attribute): New function.
3356 (Fput_char_attribute): New function.
3357 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3359 (syms_of_mule_charset): Add new function `char-attribute-alist',
3360 `get-char-attribute' and `put-char-attribute'.
3361 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3363 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3365 * mule-charset.c (Fmake_charset): Just use
3366 `get_unallocated_leading_byte'.
3368 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3369 sets; don't use final-byte based number for private sets.
3371 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3373 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3376 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3378 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3381 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3383 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3384 of `CHAR_LEADING_BYTE' in UTF-2000.
3386 * insdel.c (find_charsets_in_bufbyte_string): Use
3387 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3388 (find_charsets_in_emchar_string): Likewise.
3390 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3391 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3393 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3394 (CHAR_CHARSET_ID): New macro.
3396 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3398 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3399 charset-id - MIN_LEADING_BYTE.
3400 (put_char_table): Likewise.
3402 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3404 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3405 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3406 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3407 (CHARSET_ID_OFFSET): New macro.
3408 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3409 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3410 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3411 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3413 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3415 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3416 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3417 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3418 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3419 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3421 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3423 * mule-charset.c (next_allocated_leading_byte): New variable in
3425 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3426 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3427 (get_unallocated_leading_byte): Simply use
3428 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3429 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3432 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3433 (MAX_LEADING_BYTE_PRIVATE): New macro.
3434 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3435 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3437 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3439 * mule-charset.c (Fmake_charset): Allocate final-byte based
3440 charset-id for 94-set, 96-set and 94x94-set.
3442 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3444 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3446 (Fmake_charset): Likewise.
3447 (complex_vars_of_mule_charset): Modify the font registry of
3448 `ucs-bmp' not to match `Ethiopic-Unicode'.
3450 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3452 * mule-charset.c (complex_vars_of_mule_charset): Add font
3453 registory of `ucs-bmp'.
3455 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3457 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3458 coded-charsets in `default-coded-charset-priority-list' when
3459 breaking up a character.
3461 * mule-charset.c (Vcharset_latin_viscii): New variable.
3462 (Qlatin_viscii): New variable.
3463 (make_charset): Don't use `decoding_table'.
3464 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3466 (Fset_charset_mapping_table): New implementation.
3467 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3468 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3469 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3470 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3471 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3472 charset `latin_viscii'.
3474 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3475 (CHARSET_TYPE_94X94): Change to 1 from 2.
3476 (CHARSET_TYPE_96): Change to 2 from 1.
3477 (CHARSET_TYPE_128): New macro.
3478 (CHARSET_TYPE_128X128): Change to 5 from 4.
3479 (CHARSET_TYPE_256): New macro.
3480 (CHARSET_TYPE_256X256): Change to 7 from 5.
3481 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3483 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3485 * text-coding.c (char_encode_shift_jis): Refer
3486 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3487 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3489 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3490 (char_byte_table_equal): New function in UTF-2000.
3491 (char_byte_table_hash): New function in UTF-2000.
3492 (char_byte_table_description): New constant in UTF-2000.
3493 (char_byte_table): New type in UTF-2000.
3494 (make_char_byte_table): New function in UTF-2000.
3495 (copy_char_byte_table): New function in UTF-2000.
3496 (make_char_code_table): New macro in UTF-2000.
3497 (get_char_code_table): New function in UTF-2000.
3498 (put_char_code_table): New function in UTF-2000.
3499 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3500 (charset_description): Add setting in UTF-2000.
3501 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3502 `CHARSET_TO_BYTE1_TABLE(cs)'.
3503 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3504 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3505 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3506 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3507 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3508 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3509 `CHARSET_TO_BYTE2_TABLE(cs)'.
3511 * char-ucs.h (char_byte_table): New type.
3512 (XCHAR_BYTE_TABLE): New macro.
3513 (XSETCHAR_BYTE_TABLE): New macro.
3514 (CHAR_BYTE_TABLE_P): New macro.
3515 (GC_CHAR_BYTE_TABLE_P): New macro.
3516 (struct Lisp_Char_Byte_Table): New structure.
3517 (get_char_code_table): New interface.
3518 (Emchar_to_byte_table): Deleted.
3519 (get_byte_from_character_table): Deleted.
3520 (struct Lisp_Charset): Add `encoding_table'; delete
3521 `to_byte1_table' and `to_byte2_table'.
3522 (CHARSET_ENCODING_TABLE): New macro.
3523 (CHARSET_TO_BYTE1_TABLE): Deleted.
3524 (CHARSET_TO_BYTE2_TABLE): Deleted.
3525 (XCHARSET_ENCODING_TABLE): New macro.
3526 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3527 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3529 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3531 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3532 `vietnamese-viscii-*'.
3534 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3536 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3537 (Qvietnamese_viscii_upper): New variable.
3538 (Fdefine_charset_alias): New function.
3539 (syms_of_mule_charset): Add new function `define-charset-alias'.
3540 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3541 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3544 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3546 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3547 (MAX_CHAR_OBS_94x94): New macro.
3548 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3551 * mule-charset.c (put_byte_from_character_table): Change unit size
3553 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3555 (Fmake_reverse_direction_charset): Modify dummy argument of
3556 `make_charset' for non-UTF-2000 environment.
3558 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3560 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3562 * mule-charset.c (destroy_byte_from_character_table): New macro.
3563 (latin_jisx0201_to_ucs): Deleted.
3564 (latin_iso8859_2_to_ucs): Deleted.
3565 (latin_iso8859_3_to_ucs): Deleted.
3566 (latin_iso8859_4_to_ucs): Deleted.
3567 (latin_iso8859_9_to_ucs): Deleted.
3568 (latin_viscii_lower_to_ucs): Deleted.
3569 (latin_viscii_upper_to_ucs): Deleted.
3570 (mark_charset): Mark `cs->decoding_table'.
3571 (Fcharset_mapping_table): Fix DOC-string.
3572 (Fset_charset_mapping_table): New function.
3573 (syms_of_mule_charset): Add nwe function
3574 `set-charset-mapping-table'.
3575 (complex_vars_of_mule_charset): Don't setup and use
3578 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3580 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3583 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3585 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3586 (Vcharset_katakana_jisx0208): New variable.
3587 (Qhiragana_jisx0208): New variable.
3588 (Qkatakana_jisx0208): New variable.
3589 (make_charset): Add new argument `byte_offset'.
3590 (charset_get_byte1): Modify for new coded-charset definition; use
3591 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3592 `XCHARSET_BYTE_OFFSET'.
3593 (Fmake_charset): Modify for `make_charset'.
3594 (Fmake_reverse_direction_charset): Likewise.
3595 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3596 `katakana-jisx0208'.
3597 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3598 `.' in font registry of charset `katakana-jisx0201',
3599 `latin-jisx0201', `vietnamese-viscii-lower' and
3600 `vietnamese-viscii-upper'; modify DOC-string of charset
3601 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3602 registry of charset `japanese-jisx0208' not to use font for JIS
3603 X0208:1990; add new charset `hiragana-jisx0208' and
3604 `katakana-jisx0208'.
3606 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3607 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3608 (struct Lisp_Charset): Add `byte_offset'.
3609 (CHARSET_BYTE_OFFSET): New macro.
3610 (XCHARSET_UCS_MIN): New macro.
3611 (XCHARSET_UCS_MAX): New macro.
3612 (XCHARSET_CODE_OFFSET): New macro.
3613 (XCHARSET_BYTE_OFFSET): New macro.
3614 (MIN_CHAR_HIRAGANA): New macro.
3615 (MAX_CHAR_HIRAGANA): New macro.
3616 (MIN_CHAR_KATAKANA): New macro.
3617 (MAX_CHAR_KATAKANA): New macro.
3618 (MAKE_CHAR): Modify for new coded-charset definition; use
3619 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3620 `XCHARSET_BYTE_OFFSET'.
3622 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3624 * mule-charset.c (CHAR96): Deleted.
3625 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3627 (latin_iso8859_2_to_ucs): Likewise.
3628 (latin_iso8859_3_to_ucs): Likewise.
3629 (latin_iso8859_4_to_ucs): Likewise.
3630 (latin_iso8859_9_to_ucs): Likewise.
3631 (latin_viscii_lower_to_ucs): Likewise.
3632 (latin_viscii_upper_to_ucs): Likewise.
3633 (latin_tcvn5712_to_ucs): Commented out.
3634 (make_charset): Change type of argument `decoding_table' from
3635 <Emchar*> to <Lisp_Object> [vector of characters].
3636 (Fmake_charset): Modify for `make_charset'.
3637 (Fmake_reverse_direction_charset): Likewise.
3638 (Fcharset_mapping_table): New function in UTF-2000.
3639 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3641 (complex_vars_of_mule_charset): Modify for type change of
3642 `*_to_ucs'; modify for `make_charset'.
3644 * char-ucs.h (struct Lisp_Charset): Change type of
3645 `decoding_table' from <Emchar*> to <Lisp_Object>.
3646 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3648 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3650 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3651 error with non-UTF-2000-Mule.
3653 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3655 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3657 (Vcharset_chinese_cns11643_4): Likewise.
3658 (Vcharset_chinese_cns11643_5): Likewise.
3659 (Vcharset_chinese_cns11643_6): Likewise.
3660 (Vcharset_chinese_cns11643_7): Likewise.
3661 (Qchinese_cns11643_3): Likewise.
3662 (Qchinese_cns11643_4): Likewise.
3663 (Qchinese_cns11643_5): Likewise.
3664 (Qchinese_cns11643_6): Likewise.
3665 (Qchinese_cns11643_7): Likewise.
3666 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3667 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3668 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3669 (complex_vars_of_mule_charset): Likewise.
3671 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3673 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3675 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3676 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3678 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3680 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3682 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3683 (breakup_char_1): Likewise.
3685 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3686 one of them includes the specified character.
3688 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3690 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3692 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3694 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3696 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3698 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3699 definition for non-UTF-2000 Mule.
3700 (latin_iso8859_3_to_ucs): Likewise.
3701 (latin_iso8859_4_to_ucs): Likewise.
3702 (latin_iso8859_9_to_ucs): Likewise.
3703 (latin_jisx0201_to_ucs): Likewise.
3704 (MIN_CHAR_THAI): Likewise.
3705 (MAX_CHAR_THAI): Likewise.
3706 (MIN_CHAR_GREEK): Likewise.
3707 (MAX_CHAR_GREEK): Likewise.
3708 (MIN_CHAR_HEBREW): Likewise.
3709 (MAX_CHAR_HEBREW): Likewise.
3710 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3711 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3712 (MIN_CHAR_CYRILLIC): Likewise.
3713 (MAX_CHAR_CYRILLIC): Likewise.
3715 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3717 * char-ucs.h (breakup_char_1): Use
3718 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3719 thai-tis620 and katakana-jisx0201 area.
3721 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3723 * char-ucs.h (breakup_char_1): Use
3724 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3727 * text-coding.c (reset_encoding_stream): Fixed.
3728 (char_encode_ucs4): Delete `& 255'.
3730 * char-ucs.h (breakup_char_1): Use
3731 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3733 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3735 * file-coding.c (Fmake_coding_system): Don't set up
3736 `codesys->fixed.size'.
3737 (encode_coding_no_conversion): Don't refer
3738 `str->codesys->fixed.size'.
3740 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3742 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3743 (latin_a_char_to_byte1): Deleted.
3744 (latin_a_char_to_byte2): Deleted.
3746 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3748 * mule-charset.c (make_charset): Add new argument `ucs_min',
3749 `ucs_max' and `code_offset'.
3750 (charset_get_byte1): New implementation [delete specific charset
3751 depended implementations].
3752 (Fmake_charset): Modify for `make_charset'.
3753 (Fmake_reverse_direction_charset): Likewise.
3754 (complex_vars_of_mule_charset): Likewise.
3756 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3758 (CHARSET_UCS_MIN): New macro.
3759 (CHARSET_UCS_MAX): New macro.
3760 (CHARSET_CODE_OFFSET): New macro.
3761 (MAKE_CHAR): Delete charset depended definitions [except
3764 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3766 * char-ucs.h (breakup_char_1): Use
3767 `Vdefault_coded_charset_priority_list' for C0-Controls,
3768 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3770 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3772 * char-ucs.h (charset_get_byte1): New function.
3773 (XCHARSET_GET_BYTE1): Deleted.
3774 (charset_get_byte2): New function.
3775 (XCHARSET_GET_BYTE2): Deleted.
3776 (Vdefault_coded_charset_priority_list): New external variable.
3777 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3778 `Vdefault_preferred_coded_charset_list'.
3780 * mule-charset.c (charset_get_byte1): New function.
3781 (charset_get_byte2): New function.
3782 (Vdefault_coded_charset_priority_list): New variable.
3783 (vars_of_mule_charset): Add new variable
3784 `default-coded-charset-priority-list'.
3786 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3788 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3789 (XCHARSET_GET_BYTE2): New inline function.
3790 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3791 `XCHARSET_GET_BYTE2'.
3793 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3795 * mule-charset.c (make_charset): Initialize
3796 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3797 NULL if table is not defined.
3799 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3801 * text-coding.c (char_encode_shift_jis): Use
3802 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3803 `ucs_to_latin_jisx0201'.
3805 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3806 (ucs_to_latin_iso8859_2): Deleted.
3807 (ucs_to_latin_iso8859_3): Deleted.
3808 (ucs_to_latin_iso8859_4): Deleted.
3809 (ucs_to_latin_iso8859_9): Deleted.
3810 (ucs_to_latin_viscii_lower): Deleted.
3811 (ucs_to_latin_viscii_upper): Deleted.
3812 (ucs_to_latin_tcvn5712): Deleted.
3813 (make_charset): Add new argument `decoding_table'; set up
3814 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3815 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3816 `decoding_table' is defined in UTF-2000.
3817 (Fmake_charset): Modify for `make_charset'.
3818 (Fmake_reverse_direction_charset): Likewise.
3819 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3820 and `GENERATE_96_SET'.
3822 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3823 (ucs_to_latin_jisx0201): Deleted.
3824 (latin_iso8859_2_to_ucs): Deleted.
3825 (ucs_to_latin_iso8859_2): Deleted.
3826 (latin_iso8859_3_to_ucs): Deleted.
3827 (ucs_to_latin_iso8859_3): Deleted.
3828 (latin_iso8859_4_to_ucs): Deleted.
3829 (ucs_to_latin_iso8859_4): Deleted.
3830 (latin_iso8859_9_to_ucs): Deleted.
3831 (ucs_to_latin_iso8859_9): Deleted.
3832 (latin_viscii_lower_to_ucs): Deleted.
3833 (ucs_to_latin_viscii_lower): Deleted.
3834 (latin_viscii_upper_to_ucs): Deleted.
3835 (ucs_to_latin_viscii_upper): Deleted.
3836 (struct Lisp_Charset): Renamed `encoding_table' to
3837 `to_byte1_table'; add `to_byte2_table'.
3838 (CHARSET_DECODING_TABLE): New macro.
3839 (CHARSET_TO_BYTE1_TABLE): New macro.
3840 (CHARSET_TO_BYTE2_TABLE): New macro.
3841 (XCHARSET_DECODING_TABLE): New macro.
3842 (XCHARSET_TO_BYTE1_TABLE): New macro.
3843 (XCHARSET_TO_BYTE2_TABLE): New macro.
3844 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3846 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3847 don't use `ucs_to_*' tables.
3849 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3851 * text-coding.c (Fmake_coding_system): Don't set up
3852 `codesys->fixed.size'.
3853 (encode_coding_no_conversion): Use `if' instead of `switch'.
3855 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3857 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3859 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3860 (Fmake_charset): Modify for `make_charset'.
3861 (Fmake_reverse_direction_charset): Likewise.
3862 (complex_vars_of_mule_charset): Likewise.
3864 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3866 * text-coding.c (char_encode_shift_jis): Use table
3867 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3869 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3871 * text-coding.c (text_encode_generic): Use `if' instead of
3873 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3876 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3878 * text-coding.c (encode_coding_sjis): Deleted.
3879 (char_encode_shift_jis): New function.
3880 (char_finish_shift_jis): New function.
3881 (reset_encoding_stream): Set up `encode_char' and `finish' for
3882 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3883 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3884 (char_encode_utf8): Treat `eol_type'.
3886 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3888 * file-coding.c (decode_coding_iso2022): Use
3889 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3891 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3893 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3896 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3898 * char-lb.h (CHAR_COLUMNS): New macro.
3900 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3902 * text-coding.c (char_encode_ucs4): New function.
3903 (char_finish_ucs4): New function.
3904 (encode_coding_ucs4): Deleted.
3905 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3906 (text_encode_generic): Delete local variable `charset' and `half'.
3907 (ucs_to_mule_table): Deleted.
3908 (mule_to_ucs_table): Deleted.
3909 (Fset_ucs_char): Deleted.
3910 (ucs_to_char): Deleted.
3911 (Fucs_char): Deleted.
3912 (Fset_char_ucs): Deleted.
3913 (Fchar_ucs): Deleted.
3914 (decode_ucs4): Deleted.
3915 (mule_char_to_ucs4): Deleted.
3916 (encode_ucs4): Deleted.
3917 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3918 (decode_coding_utf8): Likewise.
3919 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3920 (char_encode_iso2022): Fixed.
3921 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3922 `Fset_char_ucs' and `Fchar_ucs'.
3923 (complex_vars_of_file_coding): Don't initialize
3924 `ucs_to_mule_table'.
3926 * objects-tty.c (tty_initialize_font_instance): Don't use
3929 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3932 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3933 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3935 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3936 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3937 (emchar_string_displayed_columns): Likewise.
3939 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3940 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3941 (string_column_at_point): Likewise.
3942 (Fmove_to_column): Likewise.
3944 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3945 `encoding_table' and `decoding_table'.
3946 (CHARSET_REP_BYTES): Deleted.
3947 (XCHARSET_REP_BYTES): Deleted.
3948 (XCHARSET_COLUMNS): Deleted.
3949 (CHAR_COLUMNS): New macro.
3950 (lookup_composite_char): Deleted unconditionally.
3951 (composite_char_string): Likewise.
3953 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3955 * char-ucs.h (Emchar_to_byte_table): New type.
3956 (get_byte_from_character_table): New function interface.
3957 (Vcharset_latin_jisx0201): New variable.
3958 (latin_jisx0201_to_ucs): New variable.
3959 (ucs_to_latin_jisx0201): New variable.
3960 (Vcharset_latin_iso8859_2): New variable.
3961 (latin_iso8859_2_to_ucs): New variable.
3962 (ucs_to_latin_iso8859_2): New variable.
3963 (Vcharset_latin_iso8859_3): New variable.
3964 (latin_iso8859_3_to_ucs): New variable.
3965 (ucs_to_latin_iso8859_3): New variable.
3966 (Vcharset_latin_iso8859_4): New variable.
3967 (latin_iso8859_4_to_ucs): New variable.
3968 (ucs_to_latin_iso8859_4): New variable.
3969 (Vcharset_latin_iso8859_9): New variable.
3970 (latin_iso8859_9_to_ucs): New variable.
3971 (ucs_to_latin_iso8859_9): New variable.
3972 (Vcharset_latin_viscii_lower): New variable.
3973 (latin_viscii_lower_to_ucs): New variable.
3974 (ucs_to_latin_viscii_lower): New variable.
3975 (Vcharset_latin_viscii_upper): New variable.
3976 (latin_viscii_upper_to_ucs): New variable.
3977 (ucs_to_latin_viscii_upper): New variable.
3978 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3979 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3980 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3981 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3982 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3983 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3984 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3985 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3986 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3987 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3989 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3990 (Vcharset_latin_viscii_upper): New variable.
3991 (make_byte_from_character_table): New function.
3992 (put_byte_from_character_table): New function.
3993 (get_byte_from_character_table): New function.
3994 (CHAR96): New macro.
3995 (ucs_to_latin_jisx0201): New variable.
3996 (latin_jisx0201_to_ucs): New variable.
3997 (ucs_to_latin_iso8859_2): New variable.
3998 (latin_iso8859_2_to_ucs): New variable.
3999 (ucs_to_latin_iso8859_3): New variable.
4000 (latin_iso8859_3_to_ucs): New variable.
4001 (ucs_to_latin_iso8859_4): New variable.
4002 (latin_iso8859_4_to_ucs): New variable.
4003 (ucs_to_latin_iso8859_9): New variable.
4004 (latin_iso8859_9_to_ucs): New variable.
4005 (ucs_to_latin_viscii_lower): New variable.
4006 (latin_viscii_lower_to_ucs): New variable.
4007 (ucs_to_latin_viscii_upper): New variable.
4008 (latin_viscii_upper_to_ucs): New variable.
4009 (ucs_to_latin_tcvn5712): New variable.
4010 (latin_tcvn5712_to_ucs): New variable.
4011 (Qlatin_viscii_lower): New variable.
4012 (Qlatin_viscii_upper): New variable.
4013 (syms_of_mule_charset): Set up new symbol
4014 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4015 (complex_vars_of_mule_charset): Set up new charset
4016 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4017 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4018 `ucs_to_<CHARSET>' tables.
4020 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4022 * text-coding.c: New file.
4024 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4026 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4028 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4029 (MAKE_CHAR): Modify for `ucs-bmp'.
4030 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4031 non-MULE characters of BMP.
4033 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4035 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4038 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4041 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4042 - Include character.h for `CHAR_ASCII_P'.
4044 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4046 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4047 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4049 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4050 (BYTE_C0_P): Likewise.
4051 (BYTE_C1_P): Likewise.
4052 (Lstream_get_emchar_1): Likewise.
4053 (Lstream_fput_emchar): Likewise.
4054 (Lstream_funget_emchar): Likewise.
4055 (copy_internal_to_external): Likewise.
4056 (copy_external_to_internal): Likewise.
4058 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4059 (BYTE_C0_P): Likewise.
4060 (BYTE_C1_P): Likewise.
4061 (Lstream_get_emchar_1): Likewise.
4062 (Lstream_fput_emchar): Likewise.
4063 (Lstream_funget_emchar): Likewise.
4064 (copy_internal_to_external): Likewise.
4065 (copy_external_to_internal): Likewise.
4067 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4068 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4070 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4071 (BYTE_ASCII_P): Moved to mb-1byte.h.
4073 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4075 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4077 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4078 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4079 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4080 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4081 (VALIDATE_CHARPTR_FORWARD): Likewise.
4082 (simple_charptr_emchar): Moved to mb-multibyte.h.
4083 (simple_set_charptr_emchar): Likewise.
4084 (simple_charptr_copy_char): Likewise.
4085 (non_ascii_charptr_emchar): Likewise.
4086 (non_ascii_set_charptr_emchar): Likewise.
4087 (non_ascii_charptr_copy_char): Likewise.
4088 (charptr_emchar): Moved to mb-*byte.h.
4089 (set_charptr_emchar): Likewise.
4090 (charptr_copy_char): Likewise.
4092 * mb-1byte.h, mb-multibyte.h: New files.
4094 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4096 * mb-utf-8.h (MULTIBYTE): New macro.
4097 (MAX_EMCHAR_LEN): Moved from buffer.h.
4098 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4100 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4102 * mb-lb.h, multibyte.h: New files.
4104 * char-1byte.h (Charset_ID): Moved from buffer.h.
4105 (MIN_LEADING_BYTE): Likewise.
4106 (LEADING_BYTE_ASCII): Likewise.
4107 (NUM_LEADING_BYTES): Likewise.
4108 (CHARSETP): Likewise.
4109 (CHARSET_BY_LEADING_BYTE): Likewise.
4110 (XCHARSET_LEADING_BYTE): Likewise.
4111 (XCHARSET_GRAPHIC): Likewise.
4112 (XCHARSET_COLUMNS): Likewise.
4113 (XCHARSET_DIMENSION): Likewise.
4114 (CHAR_CHARSET): Likewise.
4115 (CHAR_LEADING_BYTE): Likewise.
4116 (BREAKUP_CHAR): Likewise.
4117 (Vcharset_ascii): Likewise.
4119 * buffer.h: Include multibyte.h unconditionally.
4120 (VALID_CHARPTR_P): Moved to multibyte.h.
4121 (ASSERT_VALID_CHARPTR): Likewise.
4122 (REAL_INC_CHARPTR): Likewise.
4123 (REAL_INC_CHARBYTIND): Likewise.
4124 (REAL_DEC_CHARPTR): Likewise.
4125 (INC_CHARPTR): Likewise.
4126 (INC_CHARBYTIND): Likewise.
4127 (DEC_CHARPTR): Likewise.
4128 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4129 (VALIDATE_CHARPTR_FORWARD): Likewise.
4130 (charptr_n_addr): Likewise.
4131 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4132 (simple_charptr_emchar): Moved to multibyte.h.
4133 (simple_set_charptr_emchar): Likewise.
4134 (simple_charptr_copy_char): Likewise.
4135 (non_ascii_charptr_emchar): Likewise.
4136 (non_ascii_set_charptr_emchar): Likewise.
4137 (non_ascii_charptr_copy_char): Likewise.
4138 (charptr_emchar): Likewise.
4139 (set_charptr_emchar): Likewise.
4140 (charptr_copy_char): Likewise.
4141 (charptr_emchar_n): Likewise.
4142 (Charset_ID): Moved to char-1byte.h.
4143 (Vcharset_ascii): Likewise.
4144 (CHAR_CHARSET): Likewise.
4145 (CHAR_LEADING_BYTE): Likewise.
4146 (LEADING_BYTE_ASCII): Likewise.
4147 (NUM_LEADING_BYTES): Likewise.
4148 (MIN_LEADING_BYTE): Likewise.
4149 (CHARSETP): Likewise.
4150 (CHARSET_BY_LEADING_BYTE): Likewise.
4151 (XCHARSET_LEADING_BYTE): Likewise.
4152 (XCHARSET_GRAPHIC): Likewise.
4153 (XCHARSET_COLUMNS): Likewise.
4154 (XCHARSET_DIMENSION): Likewise.
4155 (BREAKUP_CHAR): Likewise.
4157 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4159 * character.h: Add document about interface for characters.
4161 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4162 (MAKE_CHAR): Delete comment about
4163 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4164 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4165 (BREAKUP_CHAR): Modify name of arguments.
4166 (CHAR_CHARSET): Modify name of argument.
4168 * buffer.h: Delete document about Emchar accessors.
4170 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4172 * character.h (CHAR_INTP): Moved from buffer.h
4173 (CHAR_OR_CHAR_INTP): Likewise.
4174 (XCHAR_OR_CHAR_INT): Likewise.
4175 (CHECK_CHAR_COERCE_INT): Likewise.
4177 * buffer.h (CHAR_INTP): Moved to character.h
4178 (CHAR_OR_CHAR_INTP): Likewise.
4179 (XCHAR_OR_CHAR_INT): Likewise.
4180 (CHECK_CHAR_COERCE_INT): Likewise.
4182 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4185 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4186 - Include char-1byte.h, char-lb.h or char-ucs.h.
4188 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4190 * buffer.h: Include character unconditionally.
4191 (valid_char_p): Moved to char-*.h.
4192 (non_ascii_valid_char_p): Moved to char-lb.h.
4194 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4196 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4198 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4199 in UTF-2000 because it is not ported yet and not to use
4200 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4201 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4202 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4204 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4205 (CHAR_ASCII_P): Moved from character.h.
4207 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4208 (CHAR_ASCII_P): Likewise.
4209 (CHAR_FIELD1_MASK): Deleted.
4210 (CHAR_FIELD2_MASK): Deleted.
4211 (CHAR_FIELD3_MASK): Deleted.
4212 (MAX_CHAR_BASIC_LATIN): New macro.
4213 (CHAR_FIELD1): Deleted.
4214 (CHAR_FIELD2_INTERNAL): Deleted.
4215 (CHAR_FIELD3_INTERNAL): Deleted.
4216 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4217 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4218 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4219 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4220 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4221 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4222 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4223 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4224 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4225 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4226 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4227 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4228 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4229 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4230 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4231 (MIN_CHAR_COMPOSITION): Deleted.
4232 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4233 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4235 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4237 * buffer.h: Include mb-utf-8.h in UTF-2000.
4239 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4241 * mb-utf-8.h: New file.
4243 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4245 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4248 * mule-charset.h, buffer.h (Charset_ID): New type.
4250 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4252 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4253 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4254 instead of `MULE_CHAR_PRIVATE_OFFSET',
4255 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4256 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4257 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4259 * character.h (Vcharset_japanese_jisx0212): New variable
4262 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4264 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4265 (charset_by_attributes): Delete array about direction.
4266 (latin_a_char_to_charset): New variable in UTF-2000.
4267 (latin_a_char_to_byte1): New variable in UTF-2000.
4268 (latin_a_char_to_byte2): New variable in UTF-2000.
4269 (Qucs_bmp): New variable.
4270 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4272 (next_allocated_2_byte_leading_byte): Likewise.
4273 (non_ascii_set_charptr_emchar): Likewise.
4274 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4275 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4276 `charset_by_attributes'.
4277 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4278 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4279 and `CHARSET_BY_LEADING_BYTE'.
4280 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4281 `utf-2000-version' to `vars_of_mule_charset'.
4282 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4283 define `leading-code-private-11' in UTF-2000; move setting of
4284 `utf-2000-version' from `syms_of_mule_charset'.
4285 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4288 * character.h (Charset_ID): New type.
4289 (LEADING_BYTE_UCS_BMP): New macro.
4290 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4291 (CHARSET_ID_OFFSET_94): New macro.
4292 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4293 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4294 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4296 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4297 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4298 (CHARSET_ID_OFFSET_96): New macro.
4299 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4300 CHARSET_ID_OFFSET_96 and final-byte.
4301 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4302 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4303 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4304 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4305 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4306 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4307 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4308 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4309 (LEADING_BYTE_THAI_TIS620): Likewise.
4310 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4311 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4312 (CHARSET_ID_OFFSET_94x94): New macro.
4313 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4314 CHARSET_ID_OFFSET_94x94 and final-byte.
4315 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
4316 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
4317 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
4318 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
4319 (LEADING_BYTE_CHINESE_GB2312): Likewise.
4320 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
4321 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
4322 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
4323 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
4324 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
4325 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
4326 (CHARSET_TYPE_128X128): New macro.
4327 (CHARSET_TYPE_256X256): New macro.
4328 (XCHARSET_PRIVATE_P): Delete unconditionally.
4329 (charset_by_attributes): Delete array about direction.
4330 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
4331 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
4332 (MIN_CHAR_94): New macro.
4333 (MAX_CHAR_94): New macro.
4334 (MIN_CHAR_96): New macro.
4335 (MAX_CHAR_96): New macro.
4336 (MIN_CHAR_94x94): New macro.
4337 (MAX_CHAR_94x94): New macro.
4338 (MIN_CHAR_96x96): New macro.
4339 (MAX_CHAR_96x96): New macro.
4340 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
4341 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4342 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
4344 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
4345 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
4346 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
4347 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
4348 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
4349 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
4350 `XCHARSET_LEADING_BYTE' to make code-point.
4351 (latin_a_char_to_charset): New variable.
4352 (latin_a_char_to_byte1): New variable.
4353 (latin_a_char_to_byte2): New variable.
4354 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4355 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4356 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4358 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4359 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4360 (find_charsets_in_emchar_string): Likewise.
4361 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4363 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4365 (decode_coding_iso2022): Likewise.
4367 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4370 * redisplay.c (redisplay_text_width_emchar_string): Use
4371 `Charset_ID' instead of `unsigned char'.
4372 (redisplay_frame_text_width_string): Likewise.
4374 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4377 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4378 instead of `unsigned char'.
4379 (face_cachel_charset_font_metric_info): Likewise.
4381 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4382 (get_non_ascii_char_table_value): Likewise.
4383 (get_char_table): Likewise.
4384 (put_char_table): Likewise.
4385 (map_over_other_charset): Likewise.
4386 (map_char_table): Likewise.
4388 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4389 instead of `unsigned char'.
4391 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4393 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4394 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4396 * mule-charset.c (leading_code_private_11): Don't define in
4399 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4400 in UTF-2000 because it is not ported yet and not to use
4401 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4403 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4405 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4407 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4409 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4412 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4413 of unsigned char to store leading-byte.
4415 * chartab.c (get_non_ascii_char_table_value): Don't use
4416 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4418 * file-coding.c (encode_coding_big5): Delete bogus implementation
4421 * character.h (LEADING_BYTE_*): Delete definition for
4423 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4424 (LEADING_BYTE_PREFIX_P): Deleted.
4425 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4426 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4427 (BUFBYTE_LEADING_BYTE_P): Deleted.
4428 (CHARSET_PRIVATE_P): Deleted unconditionally.
4429 (rep_bytes_by_first_byte): Deleted unconditionally.
4430 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4431 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4432 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4433 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4434 (CHAR_FIELD2): Deleted.
4435 (CHAR_FIELD3): Deleted.
4436 (MAKE_CHAR): Delete definition for non-UTF-2000.
4437 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4438 (breakup_char_1): New implementation.
4439 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4440 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4442 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4444 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4447 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4449 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4450 (CHARSET_PRIVATE_P): Likewise.
4451 (XCHARSET_PRIVATE_P): Likewise.
4452 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4454 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4456 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4458 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4460 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4461 (NUM_LEADING_BYTES): Changed from 128 to 256.
4462 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4463 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4465 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4467 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4469 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4470 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4471 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4472 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4473 (Qchinese_cns11643_3): New variable in UTF2000.
4474 (Qchinese_cns11643_4): New variable in UTF2000.
4475 (Qchinese_cns11643_5): New variable in UTF2000.
4476 (Qchinese_cns11643_6): New variable in UTF2000.
4477 (Qchinese_cns11643_7): New variable in UTF2000.
4478 (syms_of_mule_charset): Define `chinese-cns11643-3',
4479 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4480 and `chinese-cns11643-7' in UTF2000.
4481 (vars_of_mule_charset): Initialize
4482 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4484 (complex_vars_of_mule_charset): Setup charset
4485 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4486 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4488 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4490 * mule-charset.c: Move setting for `leading-code-private-11' from
4491 `syms_of_mule_charset' to `vars_of_mule_charset'.
4493 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4495 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4496 and `NUM_LEADING_BYTES' in assert.
4498 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4500 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4502 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4503 `NUM_LEADING_BYTES' instead of 128.
4505 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4507 * mule-charset.h (charset_by_leading_byte): Use
4508 `NUM_LEADING_BYTES' instead of 128.
4509 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4511 * mule-charset.c (charset_by_leading_byte): Use
4512 `NUM_LEADING_BYTES' instead of 128.
4513 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4515 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4518 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4520 * mule-charset.c (syms_of_mule_charset): Update to
4523 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4525 * file-coding.c (encode_coding_sjis): New implementation for
4526 UTF2000. (decode_coding_sjis): Ditto.
4528 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4530 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4531 Don't define in UTF2000.
4533 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4536 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4537 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4540 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4542 * config.h.in (CHAR_IS_UCS4): New macro.
4544 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4545 conventional MULE representation.
4546 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4548 * mule-charset.h: Reverted to original.
4550 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4551 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4552 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4554 * character.h: New file.
4556 * file-coding.c (Fmake_coding_system): Set 1 to
4557 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4559 (encode_coding_no_conversion): New implementation for UTF2000.
4561 * file-coding.h (struct Lisp_Coding_System): Add new member
4564 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4566 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4567 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4568 (encode_coding_iso2022): New implementation for UTF2000.
4570 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4572 * mule-canna.c (c2mu): New implementation for UTF2000.
4575 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4577 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4579 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4581 * file-coding.c (reset_encoding_stream): Set 0 to
4582 `str->iso2022.current_char_boundary' in UTF2000.
4583 (encode_utf8): Don't define in UTF2000.
4584 (encode_coding_utf8): New implementation for UTF-8 representation
4586 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4588 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4590 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4592 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4594 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4596 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4598 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4599 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4600 as UTF-8 in UTF2000.
4601 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4602 (non_ascii_valid_char_p): Don't define in UTF2000.
4603 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4604 (Lstream_get_emchar_1): Likewise.
4605 (utf-2000-version): New variable in UTF2000.
4607 * lread.c (read_escape): Add new reader `u'.
4609 * insdel.c (three_to_one_table): Don't define in UTF2000.
4610 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4611 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4613 (bytind_to_bufpos_func): Likewise.
4614 (buffer_mule_signal_inserted_region): Likewise.
4615 (vars_of_insdel): Don't initialize `three_to_one_table'.
4616 (init_buffer_text): Use `buf->text->mule_size' instead of
4617 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4620 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4621 UTF-8 representation in UTF2000.
4622 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4623 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4624 (decode_coding_iso2022): Don't define local variable `lb' in
4625 UTF2000; don't use LEADING_BYTE in UTF2000; use
4626 `DECODE_ADD_UCS_CHAR' in UTF2000.
4627 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4629 * config.h.in (UTF2000): New macro.
4631 * buffer.h (struct buffer_text): Add new member `mule_size' and
4632 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4633 (valid_char_p): Return always 1 in UTF2000.
4634 (MAX_EMCHAR_LEN): 6 in UTF2000.
4635 (three_to_one_table): Don't define in UTF2000.
4636 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4638 (real_bytind_to_bufpos): Likewise.
4640 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4642 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4644 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4645 representation change.
4646 (Vutf_2000_version): New variable.
4647 (leading_code_private_11): New variable.
4648 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4649 `leading-code-private-11'.
4651 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4652 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4653 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4654 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4655 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4656 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4657 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4658 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4659 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4660 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4661 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4662 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4663 (MIN_CHAR_GREEK): New macro.
4664 (MAX_CHAR_GREEK): New macro.
4665 (MIN_CHAR_CYRILLIC): New macro.
4666 (MAX_CHAR_CYRILLIC): New macro.
4667 (MIN_CHAR_HEBREW): New macro.
4668 (MAX_CHAR_HEBREW): New macro.
4669 (MIN_CHAR_THAI): New macro.
4670 (MAX_CHAR_THAI): New macro.
4671 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4672 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4673 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4674 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4675 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4676 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4677 (CHAR_FIELD2): New inline function.
4678 (CHAR_FIELD3): New inline function.
4679 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4680 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4681 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4682 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4683 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4684 (MIN_CHAR_COMPOSITION): Likewise.
4685 (CHAR_LEADING_BYTE): Modified for character representation change.
4686 (MAKE_CHAR): Likewise.
4688 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4689 (Vcharset_greek_iso8859_7): Likewise.
4690 (Vcharset_cyrillic_iso8859_5): Likewise.
4691 (Vcharset_hebrew_iso8859_8): Likewise.
4692 (Vcharset_thai_tis620): Likewise.
4693 (Vcharset_katakana_jisx0201): Likewise.
4695 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
4697 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
4699 2002-12-14 Ben Wing <ben@xemacs.org>
4701 * callint.c: Declaration error.
4703 * dumper.c (pdump_load): Warning fix.
4704 * process.c: GCPRO error.
4705 * glyphs.c (unmap_subwindow):
4706 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
4707 * event-stream.c (maybe_kbd_translate): Wrong argument to
4708 character_to_event().
4710 * alloc.c (garbage_collect_1):
4712 * emacs.c (debug_can_access_memory):
4713 * emacs.c (fatal_error_signal):
4714 * emacs.c (mswindows_handle_hardware_exceptions):
4717 * emacs.c (assert_failed):
4718 * emacs.c (syms_of_emacs):
4721 * print.c (std_handle_out_va):
4722 * print.c (write_string_to_stdio_stream):
4723 * print.c (write_fmt_string):
4724 * print.c (printing_badness):
4725 * print.c (printing_major_badness):
4726 * print.c (print_internal):
4727 * print.c (debug_print_no_newline):
4728 * print.c (debug_backtrace):
4729 Be more defensive in handling bad values when printing. Add code
4730 from trunk involving inhibit_non_essential_printing_operations.
4731 When going down or in debug_print(), don't do external conversion
4732 and such and try really, really hard when printing to avoid core
4733 dumping. Add force-debugging-signal, debug_break().
4735 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
4737 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
4738 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
4740 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
4742 * database.c: Fix open_database. Berkeley DB API has changed in
4743 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
4745 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
4747 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
4749 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
4751 * event-Xt.c (Xt_timeout):
4752 (Xt_timeout_callback):
4753 (emacs_Xt_add_timeout):
4754 (emacs_Xt_remove_timeout):
4755 (Xt_timeout_to_emacs_event):
4756 Turn completed_timeouts from a stack into a queue. Fixes
4757 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
4759 2002-11-07 Wolfram Gloger <wg@malloc.de>
4761 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
4762 * emacs.c (main): Assert that mmap'd allocation is disabled.
4764 2002-10-14 Andy Piper <andy@xemacs.org>
4766 * glyphs-widget.c (layout_query_geometry): add in fiddle
4767 factor. Include border text in width layout calculation.
4768 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
4770 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
4772 * XEmacs 21.4.10 "Military Intelligence" is released.
4774 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
4776 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
4777 using the NAS private array SoundFileInfo that no longer exists in
4778 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
4779 and earlier. This is broken for some versions between 1.5a and
4782 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
4784 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
4786 * emacs.c (shut_down_emacs): Improve crash message.
4788 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
4790 * file-coding.c (determine_real_coding_system): Check for coding
4791 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
4792 shebangs and Python PEP 263.
4794 2002-10-08 Andy Piper <andy@xemacs.org>
4796 * glyphs-widget.c (layout_query_geometry): only resize dynamically
4797 if static sizes haven't been set.
4799 2002-08-30 Mike Alexander <mta@arbortext.com>
4801 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
4804 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
4806 * callproc.c (child_setup): 21.4 doesn't have retry_close.
4808 2002-09-20 Mike Sperber <mike@xemacs.org>
4810 (This partially gets back my patch from 2002-07-20 without the
4812 * callproc.c (child_setup): Remove Ben's comment noting confusion
4813 over the file descriptors >= 3: close_process_descs() doesn't
4814 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
4815 * process-unix.c (unix_create_process): Call
4816 begin_dont_check_for_quit to inhibit unwanted interaction (and
4817 thus breaking of X event synchronicity) in the child.
4819 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
4821 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
4824 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
4826 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
4827 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
4828 the xemacs process did not exit, but looped infinitely here. This
4831 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
4833 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
4834 (find_context): Improve comments.
4836 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
4837 (re_match_2): An XCHAR_TABLE operation was missing.
4839 Many of the following changes were inspired by Andy Piper's (now
4840 obsolete) patch to make syntax-table text property lookup optional.
4844 * syntax.h (top level): Document semantics of syntax flags.
4845 * syntax.c (comstr_start, Fforward_comment): Improve comments.
4846 * syntax.c, syntax.h (top level): Document syntax cache better in
4849 [Instrument syntax caching (temporary change)]
4851 * syntax.h (enum syntax_cache_statistics_functions, struct
4852 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
4853 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
4854 * syntax.c (scan_words, Fforward_comment, scan_lists,
4855 Fbackward_prefix_characters):
4856 * font-lock.c (find_context):
4857 Use them to instrument syntax caching.
4858 * syntax.c (struct syntax_cache_statistics, scs_statistics,
4859 syntax_cache_statistics_function_names): New type and variables.
4860 * syntax.c (update_syntax_cache): Update and report statistics.
4862 [Major syntax cache optimizations]
4864 syntax.c (lookup_syntax_properties): Default off.
4866 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
4867 * syntax.c (update_syntax_cache):
4868 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
4870 [Minor syntax cache optimizations and code clarifications]
4872 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
4873 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
4874 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
4875 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
4876 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
4877 (Code clarification.)
4879 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
4880 scan_lists): Compute code from syncode, use Boolean macros instead
4881 of redundant masking operations. (Code clarification; any decent
4882 compiler can do this optimization.)
4884 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
4887 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
4888 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
4889 use F*_single_property_change instead of F*_extent_change.
4890 Currently F*_single_property_change is _much_ less efficient.
4892 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
4893 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
4894 syntax_cache.object properly, don't leave Qt or Qnil.
4895 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
4896 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
4897 tests for Qt or Qnil.
4899 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
4901 * redisplay.c (point_in_line_start_cache):
4902 * extents.c (print_extent_1):
4905 * extents.c (Fset_extent_property): Document `syntax-table' property.
4907 * extents.h (Fnext_single_property_change): EXFUN it.
4909 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
4911 * search.c (clear_unused_search_regs): New static function.
4915 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
4916 Minor clarifications in comments.
4918 * regex.c (re_match_2_internal): Ensure no stale submatches.
4920 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
4922 * event-Xt.c (enqueue_focus_event): Add missing prototype.
4924 2002-08-29 Jerry James <james@xemacs.org>
4926 * lisp.h: structrures -> structures.
4928 2002-06-03 Andy Piper <andy@xemacs.org>
4930 * frame.c (frame_conversion_internal): add conversion appropriate
4931 for setting frame dimensions in pixels.
4933 * console.h (struct console_methods): add device-specific widget
4936 * emacs.c (main_1): initialize glyph vars.
4938 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
4939 (handle_focus_event_2): new function. Allow focus to
4940 be set to a particular window and widget.
4941 (enqueue_focus_event): new function. Create a
4942 synthetic focus event.
4943 (emacs_Xt_handle_magic_event): call
4944 handle_focus_event_2.
4946 * frame.c (Fset_frame_pixel_height): new function. Allow
4947 pixel-based sizing. Does the right thing on character-oriented
4949 (Fset_frame_pixel_width): ditto.
4950 (Fset_frame_pixel_size): ditto.
4951 (syms_of_frame): declare.
4953 * general-slots.h: add :vertically-justify and
4954 :horizontally-justify.
4956 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
4957 (mswindows_widget_border_width): new function.
4958 (mswindows_combo_box_instantiate): set border widths.
4959 (console_type_create_glyphs_mswindows): declare.
4962 (check_valid_justification): allow vertical and horizontal
4964 (widget_border_width): new function. Call device methods.
4965 (widget_instance_border_width): ditto.
4966 (logical_unit_height): new function. Determine the height of a
4967 logical-unit. Logical units are intended to provide grid-like
4968 layout for subcontrols in a layout. If the layout is
4969 :vertically-justify top then subcontrols will be positioned on
4970 logical-unit boundaries, thus allowing adjacent subcontrols to
4972 (widget_logical_unit_height): ditto for widgets.
4973 (redisplay_widget): misc cleanup.
4974 (widget_spacing): new function. Call device specific
4975 methods. Intended to be the default gap between adjacent widgets.
4976 (widget_query_geometry): use new spacing functions to determine
4977 appropriate geometry.
4978 (initialize_widget_image_instance): initialize horizontal and
4979 vertical justification.
4980 (widget_instantiate): use logica-units where appropriate for
4981 sizing large widgets.
4982 (button_query_geometry): use widget_instance_border_width.
4983 (tree_view_query_geometry): ditto.
4984 (tab_control_query_geometry): ditto.
4985 (edit_field_query_geometry): new function.
4986 (layout_update): pick up :justify, :horizontally-justify and
4987 :vertically-justify none of which worked previously. :justify is
4988 used as a fallback for both horizontal and vertical justification.
4989 (layout_query_geometry): use logical units to size appropriately.
4990 (layout_layout): ditto.
4991 (Fwidget_logical_to_character_width): new function. Allow users to
4992 convert from logical units to characters so that frame sizes can
4993 be set appropriately.
4994 (Fwidget_logical_to_character_height): ditto.
4995 (syms_of_glyphs_widget): declare.
4996 (image_instantiator_edit_fields): add edit_field_query_geometry.
4997 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
4998 :horizontally-justify.
4999 (specifier_vars_of_glyphs_widget): new function. Declare
5000 Vwidget_border_width which is not yet used.
5002 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5003 (x_widget_border_width): new function.
5004 (x_widget_instantiate): create a sensible name for widgets.
5005 (console_type_create_glyphs_x): declare x_widget_border_width.
5007 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5008 (struct Lisp_Image_Instance): add :vertically-justify and
5009 :horizontally-justify.
5010 (LAYOUT_JUSTIFY_TOP): new.
5011 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5012 (ROUND_UP): new macro. Round argument up to next integral
5015 * redisplay-output.c (redisplay_output_layout): misc formatting.
5017 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5019 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5021 * XEmacs 21.4.9 "Informed Management" is released.
5023 2002-08-19 Andy Piper <andy@xemacs.org>
5025 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
5028 * realpath.c (xrealpath): normalize drive spec also so that dir
5029 sep chars are not mixed on cygwin.
5031 2002-08-06 Jerry James <james@xemacs.org>
5033 * window.c (Fsplit_window): Count only half of the divider width
5034 against the left window when splitting horizontally.
5036 2002-06-24 Andy Piper <andy@xemacs.org>
5038 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
5039 toolbar was cleared.
5041 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
5042 function. Split out from mswindows_output_frame_toolbars.
5043 (mswindows_output_frame_toolbars): move clear pieces to
5044 mswindows_output_frame_toolbars.
5046 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
5047 out from gtk_output_frame_toolbars.
5048 (gtk_output_frame_toolbars): move clear pieces to
5049 gtk_clear_frame_toolbars.
5051 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
5052 the frame is cleared. How this ever worked before is a mystery.
5053 (x_output_frame_toolbars): Only output toolbars.
5054 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
5056 * gutter.c (update_gutter_geometry):
5057 Mark frame layout changed.
5058 (update_frame_gutter_geometry, update_frame_gutters):
5059 Respect frame_layout_changed.
5061 * console.h (struct console_methods): add
5062 clear_frame_toolbars_method.
5064 * redisplay.c (redisplay_frame): call
5065 update_frame_toolbars_geometry and re-order update_frame_toolbars.
5067 * toolbar.h: declare update_frame_toolbars_geometry.
5069 * toolbar.c (update_frame_toolbars_geometry): new function. Split
5070 out from update_frame_toolbars. Call clear_frame_toolbars.
5071 (update_frame_toolbars): only output, do not change geometry.
5073 * redisplay.c: add frame_layout_changed.
5075 * redisplay.h: add frame_layout_changed.
5076 (CLASS_RESET_CHANGED_FLAGS): set it.
5077 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
5078 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
5079 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
5081 * device.h (struct device): add frame_layout_changed.
5082 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
5084 * frame.h (struct frame): add frame_layout_changed.
5085 (MARK_FRAME_LAYOUT_CHANGED): new.
5087 2002-06-30 Mike Alexander <mta@arbortext.com>
5089 * event-msw.c (mswindows_need_event): Don't wait for a new message
5090 if the queue is not empty. Suggested by Paul Moore.
5092 2002-06-12 Andy Piper <andy@xemacs.org>
5094 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
5095 for printing on accurately.
5097 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
5099 * event-msw.c (mswindows_wnd_proc): Add a handler for the
5100 WM_ACTIVATE message. Make sure that the frame is visible if the
5101 window is visible. This seemss to fix the problem where XEmacs
5102 appears to freeze after switching desktops with certain virtual
5104 (debug_output_mswin_message): Added code to output message
5105 parameters for WM_WINDOWPOSCHANGED,
5106 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
5108 2002-05-25 Andy Piper <andy@xemacs.org>
5110 * select-x.c (vars_of_select_x): Fix docstring of
5111 x-selection-strict-motif-ownership
5113 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5115 * keymap.c (get_keymap):
5116 Add comment about do_autoload GCPROs own args.
5118 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5120 * bytecode.c (execute_optimized_program): check_opcode ifdef
5121 ERROR_CHECK_BYTE_CODE.
5123 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5125 Thanks to Ben Wing and Michael Sperber.
5127 * eval.c (Fcommand_execute):
5130 (Fmacroexpand_internal):
5131 (function_argcount):
5132 callint.c (Fcall_interactively):
5133 Add comment about do_autoload GCPROs own args.
5135 * (do_autoload): GCPRO both args as well as local Lisp_Object.
5137 * eval.c (Ffuncall): Extra braces to placate GCC.
5139 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
5141 * backtrace.h (grow_specpdl):
5143 * EmacsFrame.c (EmacsFrameSetValues):
5144 * eval.c (grow_specpdl):
5145 * ExternalShell.c (hack_event_masks_1):
5146 * glyphs-x.c (convert_EImage_to_XImage):
5147 (x_finalize_image_instance):
5148 * ralloc.c (page_size):
5150 * xgccache.c (gc_cache_hash):
5151 Fix unsigned comparison warnings.
5153 2002-07-29 Jerry James <james@xemacs.org>
5155 * lread.c (locate_file): Any nonnegative return value indicates
5156 success if MODE is nonnegative.
5158 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
5160 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
5163 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
5165 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
5167 * dumper.c (pdump_get_indirect_count):
5168 (pdump_scan_by_alignment):
5169 (pdump_dump_root_struct_ptrs):
5170 (pdump_dump_rtables):
5171 (pdump_dump_root_objects):
5173 * nas.c (WaveOpenDataForReading):
5174 * fns.c (print_bit_vector):
5175 * font-lock.c (SINGLE_SYNTAX_STYLE):
5176 * glyphs.c (check_for_ignored_expose):
5177 (find_matching_subwindow):
5179 * imgproc.c (get_histogram):
5180 * redisplay.c (point_in_line_start_cache):
5181 * redisplay-output.c (redisplay_unmap_subwindows):
5182 * symbols.c (defsymbol_massage_name_1):
5183 (defkeyword_massage_name):
5184 (deferror_massage_name_and_message):
5185 * redisplay-x.c (x_output_string):
5186 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
5187 * frame.h (struct frame):
5188 * filelock.c (current_lock_owner):
5189 * doprnt.c (emacs_doprnt_1):
5190 * lisp.h (struct Lisp_Bit_Vector):
5194 2002-02-13 Ben Wing <ben@xemacs.org>
5196 * event-stream.c (reset_key_echo):
5197 * event-stream.c (reset_this_command_keys):
5198 * event-stream.c (execute_command_event):
5199 If console is dead as a result of C-x 5 0, then post-command stuff
5200 needs to be careful and do only non-console-specific stuff.
5202 2002-07-01 Mike Sperber <mike@xemacs.org>
5204 * process-unix.c (unix_send_process): Mark coding_outstream as
5205 non-open upon SIGPIPE.
5207 * event-stream.c (Fnext_event): Reorder switch cases to something
5210 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
5212 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
5213 Don't bogusly reinitialize ascii_character property.
5215 2002-07-08 Mike Sperber <mike@xemacs.org>
5217 * process.c (Fstart_process_internal): Do error checking before we
5218 fork off the child, so the child can't muck with the state of the
5221 2002-07-08 Mike Sperber <mike@xemacs.org>
5223 * ralloc.c (init_ralloc): Allocate properly for pdump.
5225 2002-06-12 Andy Piper <andy@xemacs.org>
5227 * glyphs.c (query_string_geometry): check the string.
5229 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5232 2002-06-17 Jerry James <james@xemacs.org>
5234 * sysdll.c: Remove RTLD_GLOBAL initialization.
5235 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5237 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5239 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5241 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5243 * sysdep.c (sys_rename): Make sys_rename work for the case where
5244 Windows rename sets errno to EACCES if target file exists.
5246 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
5248 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5249 Fix detection of metric units to work on Win95
5251 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
5253 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
5255 2002-04-25 Andy Piper <andy@xemacs.org>
5257 * redisplay.c (create_text_block): Remove extra comment trailer.
5259 2002-04-24 Andy Piper <andy@xemacs.org>
5261 * redisplay.c (create_text_block): Don't actually add propagation
5262 data if the line ends after we have added a glyph.
5264 2002-04-22 Andy Piper <andy@xemacs.org>
5266 * extents.c (extent_fragment_update): check for glyphs we have
5267 previously displayed.
5268 * extents.c (print_extent_1): warning removal.
5269 * extents.h: change prototype.
5270 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
5271 widths correctly for wide glyphs.
5272 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
5273 * redisplay.c (prop_type): add PROP_GLYPH.
5274 * redisplay.c (struct prop_block): add glyph type
5275 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
5276 to the propagation data.
5277 * redisplay.c (create_text_block): if there is a glyph in the
5278 propagation data use it to salt extent_fragment_update.
5279 * redisplay.c (create_string_text_block): ditto.
5281 2002-04-13 Nix <nix@esperi.demon.co.uk>
5283 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
5284 * redisplay-output.c (compare_runes): Compare them.
5285 * redisplay.c: Update copyright date.
5286 * redisplay.c (pos_data): Add need_baseline_computation field.
5287 * redisplay.c (add_glyph_rune): Update ascent, descent, and
5288 need_baseline_computation; zero yoffset. Set max_pixmap_height
5289 for all pixmaps, not just automatically positioned ones.
5290 * redisplay.c (calculate_yoffset): New, compute yoffset values.
5291 * redisplay.c (calculate_baseline): New, compute textual baseline.
5292 * redisplay.c (add_glyph_rune): Call them.
5293 * redisplay.c (create_text_block): Likewise.
5294 * redisplay.c (create_overlay_glyph_block): Likewise.
5295 * redisplay.c (add_margin_runes): Likewise.
5296 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
5298 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
5299 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
5300 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
5301 * redisplay-msw.c (mswindows_output_string): Likewise.
5302 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
5303 * redisplay-gtk.c (gtk_output_display_block): Likewise.
5304 * redisplay-x.c (x_output_display_block): Likewise.
5306 2002-03-28 Ben Wing <ben@xemacs.org>
5308 * redisplay.c: Fixed bug in redisplay
5309 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
5310 and down of the lines, since they're bigger than the line
5311 size. (It was seen most obviously when there's a horizontal scroll
5312 bar, e.g. do C-h a glyph or something like that.) The problem was
5313 that the glyph-contrib-p setting on glyphs was ignored even if it
5314 was set properly, which it wasn't until now.
5316 2002-04-24 Andy Piper <andy@xemacs.org>
5318 * lisp.h (Dynarr_end): Fix definition.
5320 2002-02-06 Adrian Aichner <adrian@xemacs.org>
5322 * redisplay.c (mark_redisplay): Remove call to
5323 update_frame_window_mirror.
5325 2001-11-15 Andy Piper <andy@xemacs.org>
5327 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
5330 2002-02-13 Andy Piper <andy@xemacs.org>
5332 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
5333 we did in fact enqueue the XM_MAPFRAME event.
5335 2002-01-15 Adrian Aichner <adrian@xemacs.org>
5337 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
5338 to fix problem switching between virtual desktops under virtuawin
5339 virtual window manager.
5341 2001-07-30 Adrian Aichner <adrian@xemacs.org>
5343 * event-msw.c: Typo fix.
5344 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
5345 magic XM_MAPFRAME event has been sent.
5347 2001-11-23 Andy Piper <andy@xemacs.org>
5349 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
5351 2001-11-21 Andy Piper <andy@xemacs.org>
5353 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
5354 mouse events outside the frame.
5356 2002-03-20 Andy Piper <andy@xemacs.org>
5358 * menubar-msw.c (mswindows_popup_menu): warning removal.
5359 * dialog-msw.c (dialog_popped_down): ditto.
5361 2001-12-11 Andy Piper <andy@xemacs.org>
5363 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
5364 * dialog-msw.c (mswindows_make_dialog_box_internal): set
5366 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
5367 * menubar-msw.c (mswindows_handle_wm_command): ditto.
5368 * menubar-msw.c (mswindows_popup_menu): ditto.
5370 2001-10-29 Andy Piper <andy@xemacs.org>
5372 * dialog-msw.c (handle_directory_dialog_box): quit if the user
5375 2002-01-03 Andy Piper <andy@xemacs.org>
5377 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
5381 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
5383 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
5384 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
5385 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5386 Detect and handle case where machine is set up for metric units
5388 2002-04-02 Andy Piper <andy@xemacs.org>
5390 * dired-msw.c (mswindows_get_files):
5391 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
5392 completely handled by XEmacs. Suggested by Thomas Vogler
5393 <mail@thomas-vogler.de>.
5395 2001-11-14 Andy Piper <andy@xemacs.org>
5397 * nt.c (REG_ROOT): change registry key to XEmacs.
5399 2002-04-27 Andy Piper <andy@xemacs.org>
5401 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
5403 2002-04-26 Andy Piper <andy@xemacs.org>
5405 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
5408 2002-03-14 Mike Alexander <mta@arbortext.com>
5410 * event-msw.c (mswindows_unwait_process): New, remove process from
5412 * process-nt.c (nt_finalize_process_data): Call
5413 mswindows_unwait_process
5414 * console-msw.h: Declare mswindows_unwait_process
5416 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
5418 * editfns.c (Fdecode_time):
5419 (Fformat_time_string):
5420 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
5421 (make_time): Warning elimination (change arg name).
5423 2001-11-24 Andy Piper <andy@xemacs.org>
5425 * window.c (Fsplit_window): Doc return type.
5427 2002-04-01 Andy Piper <andy@xemacs.org>
5429 * emacs.c (Fkill_emacs): Only output message box in interactive
5432 2002-04-26 Andy Piper <andy@xemacs.org>
5434 * config.h.in: pull in 21.5.x change to stop alloca warnings under
5437 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
5439 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
5442 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
5444 * XEmacs 21.4.8 "Honest Recruiter" is released.
5446 2002-05-07 Nix <nix@esperi.demon.co.uk>
5448 Supersedes 2002-04-17 patch.
5450 * process.h (PROCESS_LIVE_P): Use the process status as
5451 evidence of health, not the state of the input stream.
5452 (PROCESS_READABLE_P): Say if the process is readable
5453 from. (It may be dead nonetheless.)
5454 (CHECK_READABLE_PROCESS): Test for that condition.
5456 * process.c (create_process): Use PROCESS_READABLE_P.
5457 (read_process_output, set_process_filter): Likewise.
5459 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
5460 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
5462 This code is #if 0'd, this is not the time to add new functions:
5464 * process.c (Fprocess_readable_p): Report readability status.
5465 * process.c (Qprocess_readable_p): New, associated symbol...
5466 * process.c (syms_of_process): ... initialize it.
5468 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
5470 * XEmacs 21.4.7 "Economic Science" is released.
5472 2002-04-17 Nix <nix@esperi.demon.co.uk>
5474 * process.h (PROCESS_LIVE_P): Use the process status as
5475 evidence of health, not the state of the input stream.
5477 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
5479 * sysdep.c (sys_siglist): change "signum" to "signal"
5481 2001-04-21 Martin Buchholz <martin@xemacs.org>
5483 * s/darwin.h: New file.
5484 Thanks to Greg Parker <gparker@cs.stanford.edu>.
5486 2002-04-23 Andreas Jaeger <aj@suse.de>
5488 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
5489 which use lib64 for 64-bit libs.
5490 (START_FILES): Likewise.
5492 2002-02-11 Mike Sperber <mike@xemacs.org>
5495 (x_IO_error_handler):
5496 (x_init_device): Temporarily keep device in static variable
5497 `device_being_initialized' so we can recover gracefully from
5498 internal XOpenDevice failure. (XOpenDevice is documented to
5499 return NULL on failure, but sometimes calls the IO error handler
5502 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
5504 * dired.c (Ffile_name_all_completions): Change documentation --
5505 remove reference to completion-ignored-extensions.
5506 * dired.c (vars_of_dired): Change documentation for
5507 completion-ignored-extensions -- remove reference to
5508 file-name-all-completions.
5510 2002-03-06 Jerry James <james@xemacs.org>
5512 * emodules.c (emodules_load): Fix multiple loading of same module.
5514 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
5515 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
5516 RTLD_LAZY to avoid incorrect symbol binding when using nested
5517 shared libraries on Solaris.
5519 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
5521 * fileio.c (Ffind_file_name_handler): Improve docstring.
5523 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
5525 * fns.c (Fmapconcat): Improve docstring.
5527 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
5529 * device-gtk.c: Add prototype for
5530 emacs_gtk_selection_clear_event_handle.
5531 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
5532 selection. Setup signal handler for "selection_clear_event"
5533 (emacs_gtk_selection_clear_event_handle).
5535 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
5536 other applications owning the clipboard (based on
5537 x_handle_selection_clear).
5539 2001-12-23 William M. Perry <wmperry@gnu.org>
5541 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
5543 2002-01-04 Martin Buchholz <martin@xemacs.org>
5545 * keymap.c (define_key_alternate_name): Parenthesize EQ.
5547 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
5549 * XEmacs 21.4.6 "Common Lisp" is released.
5551 2001-12-16 Torsten Duwe <duwe@caldera.de>
5553 * search.c (Freplace_match): Add missing sub-expression functionality.
5555 * buffer.c (decode_buffer): Add a check for pointer type to
5556 decode_buffer, before gcc's CSE optimization reorders a
5557 dereference in front of the allow_string test.
5559 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
5561 * window.c (window_loop): Fix bug that sometimes prevented
5562 window_loop() from iterating across multiple devices. Also, at
5563 Ben's request, changed infloop-detecting code to abort() instead
5564 of silently terminating window_loop().
5566 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
5568 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
5569 * editfns.c (make_time): New function.
5570 (Fencode_time): Use it instead of wasteful_word_to_lisp.
5571 * lisp.h (make_time): Prototype and comment it.
5572 * dired.c (wasteful_word_to_lisp): Deprecate.
5573 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
5575 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
5577 * fileio.c (auto_save_1): Use current coding system, not
5580 2001-11-13 Ben Wing <ben@xemacs.org>
5583 * window.c (window_truncation_on):
5584 * window.c (syms_of_window):
5585 truncate-partial-width-windows should respect the buffer being
5586 displayed, like other redisplay vars.
5588 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
5590 * event-stream.c (Fread_key_sequence): save current buffer.
5592 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5594 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
5596 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5598 * alloc.c (lcrecord_stats): Add space for types defined in modules.
5600 2001-10-26 Mike Alexander <mta@arbortext.com>
5602 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
5604 2001-10-25 Andy Piper <andy@xemacs.org>
5607 * dialog-msw.c (handle_directory_proc): new function.
5608 (handle_directory_dialog_box): new fucntion.
5609 (handle_file_dialog_box): use new directory dialog support.
5610 (mswindows_make_dialog_box_internal): ditto.
5611 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
5613 (mswindows_find_frame): make global.
5614 * fileio.c (Fexpand_file_name): build fix.
5615 * general-slots.h: add Qdirectory.
5616 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
5618 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
5619 cygwin not leaving win32 paths unchanged.
5620 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
5621 cygwin runtime to do path conversion.
5622 (Fmswindows_shell_execute): fix cygwin handling of URLs.
5623 (syms_of_win32): add new function.
5624 * window.c (window_loop): build fix.
5626 2001-10-15 Andy Piper <andy@xemacs.org>
5628 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
5630 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
5632 * XEmacs 21.4.5 "Civil Service" is released.
5634 2001-04-08 Danny Colascione <qtmstr@optonline.net>
5636 * glyphs-x.c: Force buffer-tab highlight update when moving the
5637 buffer, avoiding an ugly black border, used for keyboard focus
5638 indication, on a widget that can never have keyboard focus, the
5641 2001-08-30 Daiki Ueno <ueno@unixuser.org>
5643 * process-unix.c (unix_open_multicast_group): Remove too much
5644 conversion between host and network byte order.
5646 2001-09-10 Nix <nix@esperi.demon.co.uk>
5648 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
5649 before replacing them.
5651 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
5654 * src/window.c (undedicate_windows): Use it.
5655 * src/window.h: Add prototype.
5657 2001-09-17 Ben Wing <ben@xemacs.org>
5659 * fileio.c (normalize_filename):
5660 * fileio.c (Fexpand_file_name):
5661 Fix various C++ compile errors in Andy's recent code.
5663 * callint.c (Fcall_interactively):
5664 * editfns.c (Ftemp_directory):
5665 * editfns.c (Fuser_full_name):
5666 * emacs.c (argmatch):
5667 * lread.c (locate_file_map_suffixes):
5668 * redisplay-x.c (x_ring_bell):
5669 Fix sign-compare warnings.
5671 2001-09-08 Andy Piper <andy@xemacs.org>
5673 * fileio.c (normalize_filename): copied from nt.c
5674 * (Ffile_name_directory): enable win32 paths under cygwin.
5675 * (Ffile_name_nondirectory): ditto.
5676 * (directory_file_name): ditto.
5677 * (Fexpand_file_name): ditto.
5678 * (Ffile_truename): ditto.
5679 * (Fsubstitute_in_file_name): ditto.
5680 * (Ffile_name_absolute_p): ditto.
5681 * (Ffile_readable_p): ditto.
5683 2001-09-08 Andy Piper <andy@xemacs.org>
5685 * device-msw.c (mswindows_finish_init_device): remove dde
5687 * device-msw.c (mswindows_init_dde): factor out from
5688 mswindows_finish_init_device()
5689 * device-msw.c (init_mswindows_very_early): new function
5690 initialize but don't enable dde.
5691 * emacs.c (main_1): call init_mswindows_very_early.
5693 * event-msw.c (mswindows_dde_callback): only execute when we are
5695 * symsinit.h: declare init_mswindows_very_early.
5697 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5699 [sjt: This has been in 21.5 for months with no complaints.]
5701 * console.h (struct console_methods): Added flags member.
5702 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
5703 (CONMETH_IMPL_FLAG):
5704 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
5705 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5707 * device.c (window_system_pixelated_geometry): Use the above macros.
5709 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
5710 implememntation flag.
5711 * device.h (DEVICE_DISPLAY_P): Use it.
5713 * frame.c (delete_frame_internal): Use the above macro.
5715 * redisplay.c (redisplay_device): Use it.
5716 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5717 (redisplay_frame): Ditto.
5719 * device-msw.c (mswindows_device_implementation_flags): Removed.
5720 (msprinter_device_implementation_flags): Removed.
5721 (console_type_create_device_mswindows): Removed references to
5722 implementation_flags methods, set implementation flags here.
5723 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
5725 * device-gtk.c (gtk_device_implementation_flags): Removed method.
5726 (console_type_create_device_gtk): Removed method declaration.
5727 Added commented out statement which semantically matches the
5728 commented out statement in the above removed method.
5730 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
5732 The attached patch fixes a few warnings.
5734 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
5735 * src/frame-gtk.c: guard against GNOME calls in GTK only
5736 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
5737 * src/select-gtk.c: prototype lisp_to_time
5739 2001-06-08 Ben Wing <ben@xemacs.org>
5741 ------ gc-in-window-procedure fixes ------
5744 * alloc.c (struct post_gc_action):
5745 * alloc.c (register_post_gc_action):
5746 * alloc.c (run_post_gc_actions):
5747 * alloc.c (garbage_collect_1):
5748 Create "post-gc actions", to avoid those dreaded "GC during window
5749 procedure" problems.
5752 Abort, clean and simple, when GC in window procedure. We want
5753 to flush these puppies out.
5756 * glyphs-msw.c (finalize_destroy_window):
5757 * glyphs-msw.c (mswindows_finalize_image_instance):
5758 Use a post-gc action when destroying subwindows.
5761 Declare register_post_gc_action().
5764 * scrollbar-msw.c (unshow_that_mofo):
5765 Use a post-gc action when unshowing scrollbar windows, if in gc.
5767 * redisplay.c (mark_redisplay):
5768 Add comment about the utter evilness of what's going down here.
5770 ------ cygwin setitimer fixes ------
5772 * Makefile.in.in (sheap_objs):
5773 * Makefile.in.in (profile_objs):
5774 * Makefile.in.in (objs):
5775 Compile profile.c only when HAVE_SETITIMER.
5777 * nt.c (mswindows_sigset):
5778 * nt.c (mswindows_sighold):
5779 * nt.c (mswindows_sigrelse):
5780 * nt.c (mswindows_sigpause):
5781 * nt.c (mswindows_raise):
5782 * nt.c (close_file_data):
5786 Move setitimer() emulation to win32.c, because Cygwin needs it too.
5789 * profile.c (Fstart_profiling):
5790 * profile.c (Fstop_profiling):
5791 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
5792 instead of just plain setitimer().
5795 * signal.c (set_one_shot_timer):
5797 Define qxe_setitimer() as an encapsulation around setitimer() --
5798 call setitimer() directly unless Cygwin or MS Win, in which case
5799 we use our simulated version in win32.c.
5802 * systime.h (struct itimerval):
5803 * systime.h (ITIMER_REAL):
5804 Prototype mswindows_setitimer() and qxe_setitimer(). Long
5805 comment about "qxe" and the policy regarding encapsulation.
5808 * win32.c (setitimer_helper_proc):
5809 * win32.c (setitimer_helper_period):
5810 * win32.c (setitimer_helper):
5811 * win32.c (mswindows_setitimer):
5812 Move setitimer() emulation here, so Cygwin can use it.
5813 Rename a couple of functions and variables to be longer and more
5814 descriptive. In setitimer_helper_proc(), send the signal
5815 using either mswindows_raise() or (on Cygwin) kill(). If for
5816 some reason we are still getting lockups, we'll change the kill()
5817 to directly invoke the signal handlers.
5819 ------ windows shell fixes ------
5823 Comments about how these two files must die.
5825 * callproc.c (init_callproc):
5826 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
5827 not just COMSPEC. (more correct and closer to FSF.) Don't
5828 force a value for SHELL into the environment. (Comments added
5829 to explain why not.)
5831 * nt.c (init_user_info):
5832 Don't shove a fabricated SHELL into the environment. See above.
5834 2001-06-01 Ben Wing <ben@xemacs.org>
5836 * Makefile.in.in (ldflags):
5837 eliminate that pesky "defaulting to 00401000" warning.
5841 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
5843 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
5844 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
5846 2001-04-24 Jerry James <james@xemacs.org>
5848 * faces.h: pass parameters to Fadd_spec_to_specifier in the
5851 2001-06-01 Ben Wing <ben@xemacs.org>
5853 * event-msw.c (debug_mswin_messages):
5854 conditionalize the messages that were causing compile errors.
5855 (if only macros could generate #ifdef statements ...)
5857 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
5859 * XEmacs 21.4.4 "Artificial Intelligence" is released.
5861 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
5863 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
5865 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
5867 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
5868 * process-unix.c (unix_canonicalize_host_name):
5869 sysdep.c (init_system_name):
5870 Use it to conditionally support IPv6 canonicalization.
5872 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
5875 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
5877 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
5879 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
5880 attempt is made to scroll when no scroll bar is available.
5882 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
5884 * input-method-motif.c (XIM_delete_frame): New callback.
5885 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
5886 got deleted from 21.4.3.)
5888 2001-06-01 Ben Wing <ben@xemacs.org>
5890 * nt.c (mswindows_utime):
5891 * nt.c (close_file_data):
5892 fix off-by-one-indirection error.
5894 2001-05-29 Adrian Aichner <adrian@xemacs.org>
5896 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
5897 because set_file_times() now takes Lisp_Object path, instead of
5899 * nt.c: Include buffer.h.
5900 * nt.c (convert_from_time_t): New.
5901 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
5902 not set mtime correctly.
5903 * nt.h: Declare mswindows_utime().
5904 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
5905 path, instead of char*.
5906 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
5908 2001-05-30 Ben Wing <ben@xemacs.org>
5912 (Stephen, just take all event-msw.c patches. This includes
5913 the "iconify" fix below.)
5916 * event-msw.c (mswindows_dequeue_dispatch_event):
5917 * event-msw.c (assert):
5918 * event-msw.c (emacs_mswindows_quit_p):
5919 * event-msw.c (debug_mswin_messages):
5920 * event-msw.c (debug_output_mswin_message):
5921 * event-msw.c (vars_of_event_mswindows):
5922 Fix yet more problems with C-g handling.
5923 Implement debug-mswindows-events.
5925 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5927 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
5929 2001-05-23 Ben Wing <ben@xemacs.org>
5931 * event-msw.c (winsock_writer):
5932 * event-msw.c (winsock_closer):
5933 prior kludgy code was clobbering the buffer, thinking it was
5934 "unused" space to store an unneeded return value; instead, use
5935 the variable we've already got staring us in the face.
5937 2001-05-17 Andy Piper <andy@xemacs.org>
5939 * sysfile.h: don't assume that file attributes are boolean
5941 2001-05-23 Ben Wing <ben@xemacs.org>
5943 * device-msw.c (msprinter_init_device):
5944 signal an error rather than crash with an unavailable network
5945 printer (from Mike Alexander).
5948 * event-msw.c (struct winsock_stream):
5949 * event-msw.c (winsock_writer):
5950 * event-msw.c (winsock_closer):
5951 * event-msw.c (make_winsock_stream_1):
5952 cleanup headers. fix (hopefully) an error with data corruption
5953 when sending to a network connection.
5955 * fileio.c (Fexpand_file_name): Fix evil code that attempts
5956 to handle the ~user prefix by (a) always assuming we're referencing
5957 ourselves and not even verifying the user -- hence any file with
5958 a tilde as its first char is invalid! (b) if there wasn't a slash
5959 following the filename, the pointer was set *past* the end of
5960 file and we started reading from uninitialized memory. Now we
5961 simply treat these as files, always.
5963 * buffer.c (common_init_complex_vars_of_buffer): comment change.
5965 2001-05-19 Ben Wing <ben@xemacs.org>
5967 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
5970 * process-nt.c (vars_of_process_nt):
5971 remove unused mswindows-quote-process-args. rec for 21.4.
5973 2001-05-12 Ben Wing <ben@xemacs.org>
5975 * event-msw.c (mswindows_dde_callback):
5976 * event-msw.c (mswindows_wnd_proc):
5977 eliminate cygwin warnings.
5979 2001-05-06 Ben Wing <ben@xemacs.org>
5983 * device-msw.c (print_dialog_worker):
5984 * device-msw.c (mswindows_handle_print_dialog_box):
5985 * device-msw.c (syms_of_device_mswindows):
5986 * dialog-msw.c (mswindows_make_dialog_box_internal):
5988 implement printing the selection when it's selected.
5990 2001-05-20 Drazen Kacar <dave@arsdigita.com>
5992 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
5994 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
5996 * lisp.h (EMACS_INT_MAX): This should be one bit less since
5997 EMACS_INT is signed.
5999 2001-04-15 Michael Lausch <mla@1012surf.net>
6001 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6002 gtk_widget_request_size() to give scrollbar >0 width for
6005 2001-05-30 William M. Perry <wmperry@gnu.org>
6007 * event-gtk.c: Check for buttons as modifier keys.
6009 2001-05-25 Craig Lanning <CraigL@Knology.net>
6012 Properly find MinGW's <process.h> inside Cygwin's restructured
6013 include directories. Don't try to include <cygwin/version.h>
6014 since we are dropping support for MinGW in versions of Cygwin
6017 Drop support for MinGW in versions of Cygwin before b21.
6019 Properly find MinGW's <process.h> inside Cygwin's restructured
6020 include directories.
6022 Drop support for MinGW in versions of Cygwin before b21.
6024 Even though a.out.h is no longer detected by configure, allow
6025 MinGW to use it until we figure out how to do the job with Win32.
6027 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
6029 * syntax.c (find_start_of_comment):
6030 Fix `unbalanced parentheses' bug when dealing with mixed comment
6031 styles in c++/java/etc. mode
6033 2001-05-29 Mike Alexander <mta@arbortext.com>
6035 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
6036 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
6038 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
6040 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
6042 2001-03-31 Mike Sperber <mike@xemacs.org>
6044 * search.c (Freplace_match): Support FSF-style specification of
6045 match subexpression when applied to a buffer.
6047 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6049 * event-stream.c (is_scrollbar_event): add missing semicolon
6051 2001-05-22 Isaac Hollander <ysh@mindspring.com>
6053 * Makefile.in.in: Use TAR macro instead of hardcoding
6054 tar. Allows use of GNU tar instead of system tar
6056 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6058 * event-stream.c (is_scrollbar_event): add missing semicolon
6060 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6062 * XEmacs 21.4.3 "Academic Rigor" is released.
6064 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6066 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
6068 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6070 * buffer.c (Vcase_fold_search): Remove obsolete
6071 comment about non ASCII case-fold-search. This
6072 bug has been fixed by case-table changes.
6074 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
6076 * event-msw.c: Restore include of events-mod.h.
6078 2001-04-22 zhaoway <zw@debian.org>
6080 * event-stream.c (is_scrollbar_event): Noop returning 0 if
6083 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
6085 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
6087 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
6089 * mule-charset.c (Fmake_charset): Add missing else.
6091 2001-04-23 Ben Wing <ben@xemacs.org>
6093 * event-msw.c (FAKE_MOD_QUIT):
6094 * event-msw.c (mswindows_dequeue_dispatch_event):
6095 * event-msw.c (mswindows_wnd_proc):
6096 * event-msw.c (emacs_mswindows_quit_p):
6097 Get critical quit working.
6099 2001-05-05 Ben Wing <ben@xemacs.org>
6103 * device-msw.c (mswindows_get_default_margin):
6104 * frame-msw.c (mswindows_size_frame_internal):
6105 * frame-msw.c (msprinter_init_frame_1):
6106 * frame-msw.c (vars_of_frame_mswindows):
6107 Change top/bottom margin defaults to 0.5 inches.
6109 2001-05-01 Martin Buchholz <martin@xemacs.org>
6111 Fix link error with gcc 3.0 on Linux.
6112 * terminfo.c (UP): Remove.
6113 * terminfo.c (BC): Remove.
6114 * terminfo.c (PC): Remove.
6115 They weren't used, and in any case, these symbols should be
6116 defined in the *library*.
6118 2001-05-03 Martin Buchholz <martin@xemacs.org>
6120 * s/aix4.h: Fix crash with xlc -O3.
6121 Improve comment explaining how -O3 works.
6123 2001-04-15 Ben Wing <ben@xemacs.org>
6126 * event-stream.c (Fnext_event):
6127 * event-stream.c (is_scrollbar_event):
6128 * event-stream.c (execute_command_event):
6129 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
6130 crash' problem. His fix introduces other problems. We filter
6131 out scrollbar events specifically, making them somewhat invisible
6132 to command-building, and not appearing in `this-command-keys'.
6133 More work is still needed (see comments in event-stream.c), but
6134 this fixes all the major problems.
6136 2001-04-20 Ben Wing <ben@xemacs.org>
6138 * .cvsignore: Added stuff for Windows.
6140 2001-04-28 Ben Wing <ben@xemacs.org>
6142 * buffer.c (Ferase_buffer):
6143 * editfns.c (buffer_insert1):
6144 * editfns.c (Finsert_before_markers):
6145 * editfns.c (Finsert_string):
6146 * editfns.c (Finsert_char):
6147 * editfns.c (Fdelete_region):
6148 * editfns.c (Fwiden):
6149 * editfns.c (Fnarrow_to_region):
6150 remove bogus lines setting zmacs_region_stays to 0.
6152 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
6154 * process-unix.c (unix_open_network_stream): If connect() fails
6155 invalidate file descriptor after closing it.
6157 2001-03-08 Mike Alexander <mta@arbortext.com>
6159 * event-msw.c (mswindows_need_event_in_modal_loop):
6160 Don't dispatch a message if we didn't get one.
6161 (mswindows_need_event):
6162 Terminate the correct process when one exits instead of the first
6163 one on Vprocess_list and look for process termination when in
6164 mswindows_protect_modal_loop.
6166 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
6168 * XEmacs 21.4.1 "Copyleft" is released.
6170 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6172 * input-method-motif.c (XIM_delete_frame): New callback.
6173 (XIM_init_frame): Register it.
6175 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6177 * XEmacs 21.4.0 "Solid Vapor" is released.
6179 2001-04-15 Ben Wing <ben@xemacs.org>
6181 * cmdloop.c (call_command_loop):
6182 Fix braino in bit-rotting code.
6184 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
6186 * extents.c (Fset_extent_endpoints): Force creation of extent info
6187 in buffer_or_string.
6189 * extents.c (process_extents_for_insertion_mapper): Correctly
6190 check for open-open zero-length extents.
6192 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6194 * lisp.h: New typedefs Memory_count, Element_count.
6197 Sign-compare warning elimination: several unsigned -> signed.
6198 Based on work by Ben Wing <ben@xemacs.org>.
6200 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
6202 * XEmacs 21.2.47 "Zephir" is released.
6204 2001-04-02 Jan Vroonhof <jan@xemacs.org>
6206 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
6208 2001-04-03 Mike Sperber <mike@xemacs.org>
6210 * search.c: Revert previous patch due because of release.
6212 2001-03-30 Ben Wing <ben@xemacs.org>
6215 Add missing killpg prototype.
6218 Add a comment about fixing problems when a new entry is added
6221 * frame-msw.c (mswindows_init_frame_1):
6222 Fix compile warnings.
6224 * menubar.c (vars_of_menubar):
6225 Provide `menu-accelerator-support' to indicate that we properly
6226 support %_ in menu specifications, so that package code can
6227 conditionalize on this (and remove %_ from menu specifications
6232 * scrollbar-msw.c (can_scroll):
6234 Fix handling of mouse wheel under Windows to follow standards --
6235 now scrolls window under pointer, not selected window.
6237 2001-03-31 Mike Sperber <mike@xemacs.org>
6239 * search.c (Freplace_match): Support FSF-style specification of
6240 match subexpression when applied to a buffer.
6242 2001-03-15 Martin Buchholz <martin@xemacs.org>
6244 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6245 function to modify KEYMAP, so map over a copy of the hash table.
6247 2001-03-21 Martin Buchholz <martin@xemacs.org>
6249 * XEmacs 21.2.46 "Urania" is released.
6251 2001-03-20 Dan Holmsand <dan@eyebee.com>
6253 * realpath.c (xrealpath): Make file-truename work with symlinks to
6254 /cygdrive paths on cygwin. Always lowercase drive-letters on
6256 (cygwin_readlink): Don't try to find canonical filename unless
6259 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
6261 * ChangeLog: Log GTK merge.
6267 Revert gratuitous whitespace changes from GTK merge.
6269 * emacs.c: Document end of complex #ifdef @ l. 1495.
6272 2001-03-12 Andy Piper <andy@xemacs.org>
6274 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
6275 have to do likewise.
6277 2001-03-12 Andy Piper <andy@xemacs.org>
6279 * sysdep.c: we only support mingw now.
6281 2001-03-09 Andy Piper <andy@xemacs.org>
6283 * unexcw.c (copy_executable_and_dump_data_section): making approx
6284 overrun a warning only.
6286 2001-03-10 William M. Perry <wmperry@aventail.com>
6288 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
6289 satisfy Stephen's identical-after-cpp plea.
6291 2001-03-02 Ben Wing <ben@xemacs.org>
6294 * cmds.c (Fforward_char):
6298 Augment documentation of the most common motion commands to make
6299 note of the shifted-motion support.
6301 2001-03-02 Ben Wing <ben@xemacs.org>
6303 * nt.c (mswindows_fstat):
6304 * nt.c (mswindows_stat):
6305 * search.c (boyer_moore):
6306 Fix compile warnings under Windows.
6308 * sysdep.c (sys_readdir):
6309 Fix buggy filename-conversion code under Mule.
6311 2001-03-09 William M. Perry <wmperry@aventail.com>
6333 * redisplay-output.c:
6339 The Great GTK Merge.
6346 * emacs-widget-accessors.c:
6360 * native-gtk-toolbar.c:
6371 The Great GTK Merge: new files.
6373 2001-02-26 Ben Wing <ben@xemacs.org>
6375 Reapplied Lstream change.
6377 2001-02-26 Ben Wing <ben@xemacs.org>
6379 Undid the last change, since it is more controversial than I
6380 thought. It should be back in at some point soon.
6382 2001-02-25 Ben Wing <ben@xemacs.org>
6385 * callproc.c (Fold_call_process_internal):
6386 * event-msw.c (ntpipe_slurp_reader):
6387 * event-msw.c (ntpipe_shove_writer):
6388 * event-msw.c (winsock_reader):
6389 * event-msw.c (winsock_writer):
6391 * file-coding.c (detect_eol_type):
6392 * file-coding.c (detect_coding_type):
6393 * file-coding.c (determine_real_coding_system):
6394 * file-coding.c (Fdetect_coding_region):
6395 * file-coding.c (decoding_reader):
6396 * file-coding.c (decoding_writer):
6397 * file-coding.c (mule_decode):
6398 * file-coding.c (Fdecode_coding_region):
6399 * file-coding.c (encoding_reader):
6400 * file-coding.c (encoding_writer):
6401 * file-coding.c (mule_encode):
6402 * file-coding.c (Fencode_coding_region):
6403 * file-coding.c (detect_coding_sjis):
6404 * file-coding.c (decode_coding_sjis):
6405 * file-coding.c (encode_coding_sjis):
6406 * file-coding.c (detect_coding_big5):
6407 * file-coding.c (decode_coding_big5):
6408 * file-coding.c (encode_coding_big5):
6409 * file-coding.c (detect_coding_ucs4):
6410 * file-coding.c (decode_coding_ucs4):
6411 * file-coding.c (encode_coding_ucs4):
6412 * file-coding.c (detect_coding_utf8):
6413 * file-coding.c (decode_coding_utf8):
6414 * file-coding.c (encode_coding_utf8):
6415 * file-coding.c (detect_coding_iso2022):
6416 * file-coding.c (decode_coding_iso2022):
6417 * file-coding.c (encode_coding_iso2022):
6418 * file-coding.c (decode_coding_no_conversion):
6419 * file-coding.c (encode_coding_no_conversion):
6420 * glyphs-x.c (write_lisp_string_to_temp_file):
6421 * gpmevent.c (tty_get_foreign_selection):
6424 * lstream.c (Lstream_flush_out):
6425 * lstream.c (Lstream_adding):
6426 * lstream.c (Lstream_write_1):
6427 * lstream.c (Lstream_write):
6428 * lstream.c (Lstream_raw_read):
6429 * lstream.c (Lstream_read_more):
6430 * lstream.c (Lstream_read):
6431 * lstream.c (Lstream_unread):
6432 * lstream.c (Lstream_fputc):
6433 * lstream.c (stdio_reader):
6434 * lstream.c (stdio_writer):
6435 * lstream.c (filedesc_reader):
6436 * lstream.c (filedesc_writer):
6437 * lstream.c (lisp_string_reader):
6438 * lstream.c (struct fixed_buffer_stream):
6439 * lstream.c (make_fixed_buffer_input_stream):
6440 * lstream.c (make_fixed_buffer_output_stream):
6441 * lstream.c (fixed_buffer_reader):
6442 * lstream.c (fixed_buffer_writer):
6443 * lstream.c (struct resizing_buffer_stream):
6444 * lstream.c (resizing_buffer_writer):
6445 * lstream.c (dynarr_writer):
6446 * lstream.c (lisp_buffer_reader):
6447 * lstream.c (lisp_buffer_writer):
6449 * lstream.h (lstream_implementation):
6450 * lstream.h (struct lstream):
6452 * process-nt.c (nt_send_process):
6453 * process-unix.c (unix_send_process):
6455 Correct Lstream lossage due to mixing of signed and unsigned
6456 quantities. All Lstream uses of size_t and ssize_t are now a
6457 single signed data type Lstream_data_count. This fixes problems
6458 under Windows with sending large quantities of data to a process,
6459 and may well fix other subtle bugs.
6461 2001-02-23 Martin Buchholz <martin@xemacs.org>
6463 * XEmacs 21.2.45 "Thelxepeia" is released.
6465 2001-02-21 Martin Buchholz <martin@xemacs.org>
6467 * lisp-union.h (XSETINT):
6470 Reverse previous change of 2001-02-06.
6472 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
6474 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
6476 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6477 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
6478 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
6479 * regex.c (POS_AS_IN_BUFFER): removed
6480 * regex.c (re_search_2):
6481 * regex.c (re_match_2):
6482 Don't use an offset of 1 when calculating buffer positions, since
6483 `BI_BUF_BEGV' does it already.
6485 2001-02-18 Wim Dumon <wim@easics.be>
6487 * insdel.c (prepare_to_modify_buffer): Also check for
6488 supersession when clash-detection is enabled.
6490 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
6492 * regex.c (re_match_2_internal):
6493 Convert temp characters from 'const unsigned char' to 're_char'.
6494 Fix crashing bug with extended characters under mule.
6495 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
6496 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
6497 font-lock, pdump, and new syntax-table code.
6498 * syntax.c (find_start_of_comment):
6499 (find_end_of_comment):
6501 Fix crashing bugs involving moving beyond end of buffer.
6502 * syntax.c (find_start_of_comment):
6503 Fixed logic to allow proper detection of cases where the same
6504 character is used to end both a two-char comment start and a
6505 two-char comment end sequence. Fixes `(forward-comment -1)'.
6506 * syntax.c (find_start_of_comment):
6507 Return position just past last comment-end character for all cases
6508 (previously was only done for two-char comment-end sequences).
6509 * syntax.c (forward-comment):
6510 Take value returned from `find_end_of_comment', rather than
6512 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6513 Properly deal with BUFFERP (syntax_cache.object)
6515 2001-02-17 Martin Buchholz <martin@xemacs.org>
6517 * alloc.c (Fgarbage_collect):
6518 * alloc.c (make_bit_vector_from_byte_vector):
6519 -Wsign-compare-correctness.
6521 2001-02-16 Martin Buchholz <martin@xemacs.org>
6523 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
6524 (XSETCHAR): Likewise.
6525 (XSETOBJ): Likewise.
6527 2001-02-15 Martin Buchholz <martin@xemacs.org>
6529 * mule-canna.c (canna-func-delete_previous):
6530 Rename to canna-func-delete-previous.
6532 2001-02-14 Martin Buchholz <martin@xemacs.org>
6534 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
6536 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
6538 * font-lock.c (find_context): Fix C++ compile errors introduced by
6541 2001-02-13 Martin Buchholz <martin@xemacs.org>
6543 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
6544 pragma, but earlier ones barf on the same pragma.
6546 2001-02-06 Mike Sperber <mike@xemacs.org>
6548 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
6549 `configure-mule-lisp-directory'.
6551 2001-02-12 Martin Buchholz <martin@xemacs.org>
6553 Make sure dump-id.c is compiled in the same way as other .c's.
6554 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
6555 * dump-id.h: Remove.
6556 * emacs.c: Move dump-id.h into dumper.h.
6557 * dumper.h: Move dump-id.h into dumper.h.
6559 Use standard .c.o rule for building dump-id.o.
6560 Remove preprocessor flags from link command.
6561 Add dump-id.o to ${otherobjs} if PDUMP.
6563 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
6565 Port FSF 20.7 syntax table improvements.
6569 Fixups for new syntax table stuff.
6570 * dired.c: Include syntax.c.
6571 (Fdirectory_files): Initialize regex_match_object and
6573 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
6574 and Fget_char_property.
6576 Use ported FSF 20.7 syntax table improvements.
6581 2001-02-09 Martin Buchholz <martin@xemacs.org>
6583 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
6584 Unixware's enum boolean from sys/types.h.
6586 2001-02-10 Martin Buchholz <martin@xemacs.org>
6588 Fix support for building with latest Purify.
6589 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
6590 (PURIFY_FLAGS): Likewise.
6592 2001-02-09 Martin Buchholz <martin@xemacs.org>
6594 * fileio.c (lisp_string_set_file_times): New.
6595 * fileio.c (Fcopy_file): Use it.
6597 (copy-file filename non-ascii-filename t t)
6598 ==> No such file or directory, non-ascii-filename
6600 2001-02-10 Martin Buchholz <martin@xemacs.org>
6602 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
6603 USHRT_MAX seems clearer than ~0 anyways.
6605 2001-02-09 Martin Buchholz <martin@xemacs.org>
6607 dumper improvements. Inspired by Olivier.
6608 * dumper.c (pdump_max_align): New.
6609 * dumper.c (pdump_add_entry): Use pdump_max_align.
6610 * dumper.c (pdump_get_entry_list): Likewise.
6611 * dumper.c (pdump_scan_by_alignment): Likewise.
6612 Don't iterate through unnecessary alignments.
6613 * dumper.c (pdump_file_get): No need to align result of malloc().
6614 * dumper.c (pdump_mallocadr): Remove.
6615 The result of malloc() is guaranteed to be maximally aligned.
6616 * dumper.c: s/elmt/elt/g;
6617 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
6618 * dumper.c (pdump_alert_undump_object): Likewise.
6619 * dumper.c (pdump_align_table):
6620 Don't support alignments > 64.
6621 Store ALIGNOF's, not shift counts, in table.
6623 2001-02-09 Martin Buchholz <martin@xemacs.org>
6625 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
6626 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
6627 * systime.h: Use HAVE_UTIME.
6628 * sysdep.c (struct utimbuf): Remove.
6629 * sysdep.c (set_file_times): Prefer utime() to utimes().
6630 * config.h.in (HAVE_UTIME): New.
6631 * config.h.in (HAVE_UTIME_H): Remove.
6632 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
6634 2001-02-09 Martin Buchholz <martin@xemacs.org>
6636 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
6638 2001-02-08 Martin Buchholz <martin@xemacs.org>
6640 * s/irix6-0.h: Use the standard system memmove, not bcopy.
6642 2001-02-08 Martin Buchholz <martin@xemacs.org>
6644 * XEmacs 21.2.44 "Thalia" is released.
6646 2001-02-06 Martin Buchholz <martin@xemacs.org>
6648 Fixes crashes in kill-emacs on some systems.
6649 * process-unix.c (unix_kill_child_process):
6650 It's OK for kill() to fail with ESRCH.
6652 2001-02-07 Martin Buchholz <martin@xemacs.org>
6654 Contortions to make .gdbinit tricks work on most systems.
6655 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
6656 * alloc.c (dbg_valmask): Make non-const.
6657 * alloc.c (dbg_typemask): Make non-const.
6658 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
6659 * alloc.c (dbg_valbits): Make non-const.
6660 * alloc.c (dbg_gctypebits): Make non-const.
6661 * .gdbinit (decode_object): Make it work with AIX cc.
6663 2001-02-06 Martin Buchholz <martin@xemacs.org>
6665 * elhash.c (make_general_lisp_hash_table):
6666 Use simpler and more efficient calloc to clear entries.
6668 2001-02-07 Martin Buchholz <martin@xemacs.org>
6670 * window.c (window_scroll): Work around an AIX C compiler bug.
6671 Fixes 'scroll-up' does nothing problem with xlC.
6673 2001-02-05 Martin Buchholz <martin@xemacs.org>
6675 * .gdbinit: Remove obsolete comment.
6677 2001-01-31 Mike Alexander <mta@arbortext.com>
6679 * select.c (Fown_selection_internal): Set owned_p for device
6682 2001-02-01 Martin Buchholz <martin@xemacs.org>
6685 "not" cannot be used as a macro name as it is an operator in C++
6686 * config.h.in: Stop #defining `not'.
6687 * chartab.c (check_category_char): not ==> not_p
6688 * chartab.h: Likewise.
6689 * regex.c (re_match_2_internal): Likewise.
6691 2001-02-02 Martin Buchholz <martin@xemacs.org>
6693 * lisp-disunion.h: Fix up comments.
6695 2001-01-31 Martin Buchholz <martin@xemacs.org>
6697 * keymap.c (define_key_check_and_coerce_keysym):
6699 Support mouse-6 and mouse-7 bindings in the obvious way.
6701 2001-02-01 Martin Buchholz <martin@xemacs.org>
6703 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
6705 2001-01-30 Martin Buchholz <martin@xemacs.org>
6707 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
6708 Previous patch missed DEFVAR_INT_MAGIC.
6709 Make sure future DEFVAR_foo use correct types.
6710 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
6711 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
6712 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
6713 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
6714 * (DEFVAR_INT): Likewise.
6715 * redisplay.c (vertical_clip): Should be of type Fixnum.
6716 * redisplay.c (horizontal_clip): Likewise.
6717 * lisp.h (dump_add_opaque_int): New.
6718 (dump_add_opaque_fixnum): New.
6720 2001-01-29 Andy Piper <andy@xemacs.org>
6722 * glyphs-widget.c (check_valid_int_or_function): allow symbols
6723 since they can be eval'ed
6725 2001-01-29 Martin Buchholz <martin@xemacs.org>
6727 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
6728 Oops, XEmacs redefines `class'. Use `typename' instead.
6730 2001-01-28 Martin Buchholz <martin@xemacs.org>
6732 * dumper.c: Fix C++ compile errors.
6734 2001-01-29 Martin Buchholz <martin@xemacs.org>
6736 * tparam.c: Use correct prototypes.
6738 2001-01-28 Martin Buchholz <martin@xemacs.org>
6740 * sysproc.h: #include util.h for NetBSD's openpty.
6742 2001-01-27 Martin Buchholz <martin@xemacs.org>
6744 More 64-bit correctness.
6745 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
6746 Use a typedef `fixnum' for the type used for DEFVAR_INT.
6748 This finally finishes the 64-bit SGI port.
6749 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
6750 * symbols.c: Fix up comments and type casts.
6751 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
6752 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
6753 * symeval.h (Fixnum): New type.
6754 * symeval.h (symbol_value_type): Fix up comment.
6770 * mule-canna.c: A million DEFVAR_INTs here...
6771 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
6784 s/int/Fixnum/g in DEFVAR_INT declarations.
6786 2001-01-26 Martin Buchholz <martin@xemacs.org>
6788 Port pdump to SGI alignment-sensitive environment.
6789 Lisp Object sizeof methods now return aligned sizes. Rely on that.
6790 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
6792 Define and use aligned reading and writing macros.
6793 Use buffered stdio instead of posix i/o for faster dumping.
6794 Eliminate kludgy 256 byte space for header.
6795 Read and write from dump file using structs for alignment safety.
6796 * dumper.c (pdump_align_stream): New.
6797 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
6798 * dumper.c (PDUMP_READ_ALIGNED): New.
6799 * dumper.c (PDUMP_WRITE_ALIGNED): New.
6800 * dumper.c (pdump_static_Lisp_Object): New struct.
6801 * dumper.c (pdump_static_pointer): New struct.
6802 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
6803 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
6804 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
6805 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
6807 * dumper.c (pdump_backtrace):
6808 * dumper.c (pdump_get_indirect_count):
6809 * dumper.c (pdump_register_object):
6810 * dumper.c (pdump_register_struct):
6811 * dumper.c (pdump_reloc_one):
6812 * dumper.c (pdump_scan_by_alignment):
6813 * dumper.c (pdump_dump_from_root_struct_ptrs):
6814 * dumper.c (pdump_dump_opaques):
6815 * dumper.c (pdump_dump_rtables):
6816 * dumper.c (pdump_dump_from_root_objects):
6818 * dumper.c (pdump_load_finish):
6819 Use aligned reading and writing.
6821 * dumper.c (pdump_free): Make static.
6822 * dumper.c (pdump_hFile): Likewise.
6823 * dumper.c (pdump_hMap): Likewise.
6825 2001-01-26 Martin Buchholz <martin@xemacs.org>
6827 * XEmacs 21.2.43 "Terspichore" is released.
6829 2001-01-25 Martin Buchholz <martin@xemacs.org>
6831 Type fiddling for window_config.saved_windows_count
6832 * window.c (struct window_config):
6833 Make saved_windows_count member unsigned.
6834 * window.c (sizeof_window_config_for_n_windows):
6835 Make parameter unsigned.
6836 * window.c (mark_window_config):
6837 * window.c (window_config_equal):
6838 * window.c (free_window_configuration):
6839 * window.c (Fset_window_configuration):
6840 * window.c (count_windows):
6841 * window.c (Fcurrent_window_configuration):
6842 * window.c (reinit_vars_of_window):
6843 Update all callers and users.
6845 2001-01-25 Martin Buchholz <martin@xemacs.org>
6847 Alignment correctness for flexible arrays.
6848 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
6849 Make alignment-correct. Add interesting comments.
6850 * alloc.c (size_vector):
6851 * alloc.c (make_vector_internal):
6852 * alloc.c (make_bit_vector_internal):
6853 * alloc.c (sweep_bit_vectors_1):
6854 * fns.c (size_bit_vector):
6855 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
6856 * window.c (sizeof_window_config_for_n_windows):
6857 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
6859 2001-01-24 Martin Buchholz <martin@xemacs.org>
6861 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
6863 2001-01-23 Andy Piper <andy@xemacs.org>
6865 * select.c (Fown_selection_internal): pass owned_p
6867 * select-msw.c (mswindows_own_selection): New Signature.
6869 * console.h (struct console_methods): add owned_p to
6872 * select-x.c (x_own_selection): pass owned_p
6873 (hack_motif_clipboard_selection): use owned_p
6874 (vars_of_select_x): new variable -
6875 x_selection_strict_motif_ownership.
6877 2001-01-23 Martin Buchholz <martin@xemacs.org>
6879 * specifier.h (specifier_data_offset): Remove pointless parens.
6880 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
6882 2001-01-24 Martin Buchholz <martin@xemacs.org>
6884 Make Lisp_Object sizeof methods be alignment-correct.
6885 pdump must restore objects to the same alignment as the C compiler
6886 assumes. It really matters on SGIs.
6887 * lstream.c (aligned_sizeof_lstream): New.
6888 (sizeof_lstream): Use aligned_sizeof_lstream.
6889 (Lstream_new): Likewise.
6890 * opaque.c (aligned_sizeof_opaque): New.
6891 (sizeof_opaque): Use aligned_sizeof_opaque.
6892 (make_opaque): Likewise.
6893 * specifier.c (aligned_sizeof_specifier): New.
6894 (sizeof_specifier): Use aligned_sizeof_specifier.
6895 (make_specifier_internal): Likewise.
6897 2001-01-23 Martin Buchholz <martin@xemacs.org>
6899 * lstream.h (struct lstream): Use max_align_t for trailing data.
6900 * specifier.h (struct Lisp_Specifier): Likewise.
6902 2001-01-22 Martin Buchholz <martin@xemacs.org>
6904 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
6905 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
6906 (CCL_SUSPEND): Likewise.
6907 (CCL_INVALID_CMD): Likewise.
6908 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
6909 (ccl_driver): Likewise.
6910 (CCL_WRITE_CHAR): Macro hygiene.
6911 (CCL_WRITE_STRING): Macro hygiene.
6913 2001-01-22 Martin Buchholz <martin@xemacs.org>
6915 Port "portable" dumper to SunOS 4 and HP-UX.
6916 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
6917 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
6918 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
6920 2001-01-22 Martin Buchholz <martin@xemacs.org>
6922 * lisp.h (ALIGNOF): A better definition for C++.
6924 2001-01-20 Martin Buchholz <martin@xemacs.org>
6927 Fix printf warnings: int format, long int arg.
6928 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
6929 (PUSH_FAILURE_POINT): Use correct printf formats.
6930 (POP_FAILURE_POINT): Use correct printf formats.
6931 Use do {...} while (0)
6933 2001-01-20 Martin Buchholz <martin@xemacs.org>
6935 * XEmacs 21.2.42 "Poseidon" is released.
6937 2001-01-20 Martin Buchholz <martin@xemacs.org>
6939 * console-x.h: typo fix du jour. Remove #if 0'ed code.
6941 2001-01-19 Martin Buchholz <martin@xemacs.org>
6943 De-kludgify FIXED_TYPE free list frobbing.
6944 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
6945 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
6946 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
6947 * alloc.c (Lisp_Free): New pseudo lisp object definition.
6948 * alloc.c (LRECORD_FREE_P): New.
6949 * alloc.c (MARK_LRECORD_AS_FREE): New.
6950 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
6951 * alloc.c (STRUCT_FREE_P): Deleted.
6952 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
6953 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
6954 * alloc.c (STRING_CHARS_FREE_P): New.
6955 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
6956 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
6957 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
6958 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
6959 * alloc.c (resize_string): Use new definitions.
6960 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
6961 * alloc.c (verify_string_chars_integrity): Use new definitions.
6962 * alloc.c (compact_string_chars): Use new definitions.
6963 * alloc.c: Update monster comments.
6964 * lrecord.h (lrecord_type): Add some new lrecord types for
6967 2001-01-18 Martin Buchholz <martin@xemacs.org>
6969 Improve alignment hackery.
6970 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
6971 (max_align_t): Moved from opaque.h - general purpose.
6972 (ALIGN_PTR): Use size_t, not long.
6973 * opaque.h (max_align_t): Move to lisp.h.
6975 2001-01-18 Norbert Koch <nk@LF.net>
6977 * gui.h: Fix and add prototypes to fix build problems.
6979 2001-01-18 Martin Buchholz <martin@xemacs.org>
6981 temacs is going away, so `dump-temacs' is now a bad name.
6982 * .dbxrc (dump-temacs): Rename to `dmp'.
6983 * .gdbinit (dump-temacs): Rename to `dmp'.
6985 2001-01-17 Andy Piper <andy@xemacs.org>
6987 * glyphs.c (print_image_instance): comment to make martin happy.
6989 * glyphs-x.c (x_redisplay_widget): update faces after a frame
6992 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
6994 (mswindows_tab_control_redisplay): warning suppression.
6996 * glyphs-widget.c (widget_update): re-write to cope with updated
6998 (widget_instantiate): use new gui_item functions.
6999 (tab_control_update): deleted.
7000 (progress_gauge_update): deleted.
7001 (image_instantiator_progress_guage): take out update reference.
7002 (image_instantiator_tree_view): ditto.
7003 (image_instantiator_tab_control): ditto.
7005 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7007 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7008 return whether anything was changed.
7009 (update_gui_item_keywords): as it sounds.
7011 * gui.h: declare widget_gui_parse_item_keywords.
7013 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7014 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7016 2001-01-17 Martin Buchholz <martin@xemacs.org>
7018 * XEmacs 21.2.41 "Polyhymnia" is released.
7020 2001-01-16 Didier Verna <didier@xemacs.org>
7022 * glyphs.c (image_instantiate): don't use fallbacks when
7023 instantiating a face's background pixmap by inheritance.
7025 2001-01-14 Mike Sperber <mike@xemacs.org>
7027 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
7028 Conditionalize accordingly.
7030 2001-01-16 Martin Buchholz <martin@xemacs.org>
7032 * dumper.c (pdump_file_get): Fix a compiler warning.
7034 2001-01-15 Martin Buchholz <martin@xemacs.org>
7036 Make Purify happy when pdumping.
7037 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
7038 iniitalizing all bits of new lisp object memory.
7039 * symbols.c (Fmake_local_variable): Likewise.
7040 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
7041 * symbols.c (Fdefvaralias): Likewise.
7042 * mule-charset.c (vars_of_mule_charset): Likewise.
7044 2001-01-15 Martin Buchholz <martin@xemacs.org>
7045 Add the `-nd' flag when running pre-dump operations under the debugger.
7046 * .dbxrc (run-temacs): Add `-nd'.
7047 * .dbxrc (update-elc): Likewise.
7048 * .dbxrc (dump-temacs): Likewise.
7049 * .gdbinit (run-temacs): Likewise.
7050 * .gdbinit (check-temacs): Likewise.
7051 * .gdbinit (update-elc): Likewise.
7052 * .gdbinit (dump-temacs): Likewise.
7054 2001-01-14 Martin Buchholz <martin@xemacs.org>
7056 Allow building 64-bit executables on AIX with GNU malloc, e.g.
7057 export OBJECT_MODE=64
7058 configure --pdump --use-union-type=no
7059 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
7060 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
7062 * miscplay.c (sndcnv8U_2mono):
7063 Avoid two uses of `++' in the same expression.
7064 Suppresses a GCC warning.
7066 2001-01-13 Martin Buchholz <martin@xemacs.org>
7068 Make sure future compilers don't miscompile alloc.c.
7070 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
7071 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
7073 2001-01-12 Martin Buchholz <martin@xemacs.org>
7075 * dumper.c: A little post-pdump-rename comment fixup.
7077 2001-01-09 Jerry James <james@eecs.ku.edu>
7079 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
7081 2001-01-13 Martin Buchholz <martin@xemacs.org>
7083 * *.[ch]: Globally rename symbols using the following `pdump-rename'
7087 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
7090 replace_symbol pdump_wire_lists pdump_weak_object_chains
7091 replace_symbol pdump_wire_list dump_add_weak_object_chain
7093 replace_symbol pdump_wires pdump_root_objects
7094 replace_symbol pdump_wire dump_add_root_object
7096 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
7097 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
7099 replace_symbol dumpstructinfos pdump_root_struct_ptrs
7100 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
7101 replace_symbol dumpstructinfo pdump_root_struct_ptr
7102 replace_symbol dumpstruct dump_add_root_struct_ptr
7104 replace_symbol dumpopaque dump_add_opaque
7105 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
7106 replace_symbol dumpopaqueinfos pdump_opaques
7107 replace_symbol dumpopaqueinfo pdump_opaque
7109 replace_symbol nb_structdump nb_root_struct_ptrs
7110 replace_symbol nb_opaquedump nb_opaques
7112 replace_symbol align_table pdump_align_table
7113 replace_symbol dump_header pdump_header
7115 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
7116 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
7119 2001-01-12 Martin Buchholz <martin@xemacs.org>
7121 * s/aix4.h: Keep the C for AIX compiler from overaggressively
7122 optimizing bytecount_to_charcount().
7124 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7127 (HAVE_DLFCN_H): Removed.
7128 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
7130 2001-01-06 Martin Buchholz <martin@xemacs.org>
7132 Portable dumper maintainability improvements.
7133 * alloc.c (staticpro):
7134 * alloc.c (staticpro_nodump):
7135 * alloc.c (garbage_collect_1):
7136 * alloc.c (reinit_alloc_once_early):
7137 * alloc.c (init_alloc_once_early):
7138 * alloc.c: Move dumper functions to alloc.c.
7139 * dumper.c (pdump_backtrace):
7140 * dumper.c (pdump_dump_structs):
7141 * dumper.c (pdump_dump_opaques):
7142 * dumper.c (pdump_dump_rtables):
7143 * dumper.c (pdump_dump_wired):
7145 * dumper.c (pdump_load_check):
7146 * dumper.c (pdump_load_finish):
7147 * dumper.c (pdump_file_unmap):
7148 * dumper.c (pdump_file_get):
7149 * dumper.c (pdump_resource_free):
7150 * dumper.c (pdump_resource_get):
7151 * dumper.c (pdump_file_free):
7152 * dumper.c (pdump_file_try):
7153 * dumper.c (pdump_load):
7154 Remove fixed size limits on staticpro(), staticpro_nodump(),
7155 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
7156 Remove custom code for dumping lrecord_implementations_table - use
7158 Remove (most of the) custom code for dumping staticpros - dump it
7159 like any other dynarr.
7161 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
7162 * dumper.c: Moved functions from alloc.c.
7163 * alloc.c (dumpstruct): Moved to dumper.c.
7164 * alloc.c (dumpopaque): Likewise.
7165 * alloc.c (pdump_wire): Likewise.
7166 * alloc.c (pdump_wire_list): Likewise.
7168 * lisp.h (Dynarr_sizeof): New.
7169 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
7170 * lisp.h (Dynarr_end): New. Very slightly C++oid.
7171 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
7173 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
7174 * lisp.h (dumpopaque): ditto.
7175 * lisp.h (pdump_wire): ditto.
7176 * lisp.h (pdump_wire_list): ditto.
7178 2001-01-09 Martin Buchholz <martin@xemacs.org>
7180 * make-src-depend (PrintPatternDeps):
7181 Use `sort' to make output independent of perl version.
7183 2001-01-08 Martin Buchholz <martin@xemacs.org>
7186 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
7187 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
7189 2001-01-03 Didier Verna <didier@xemacs.org>
7191 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
7192 that `focus_frame' is alive before thinking of calling
7193 `redisplay_redraw_cursor' on it.
7195 2001-01-08 Martin Buchholz <martin@xemacs.org>
7197 * XEmacs 21.2.40 is released.
7199 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7201 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
7203 2001-01-06 Martin Buchholz <martin@xemacs.org>
7205 * alloc.c (dbg_valmask): Make const.
7206 * alloc.c (dbg_typemask): Make const.
7207 * alloc.c (dbg_USE_UNION_TYPE): Make const.
7208 * alloc.c (dbg_valbits): Make const.
7209 * alloc.c (dbg_gctypebits): Make const.
7211 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
7213 * redisplay-x.c (x_bevel_area):
7214 redisplay.h (struct rune):
7215 Typo fixes in comments.
7217 2001-01-05 Andy Piper <andy@xemacs.org>
7219 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7222 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7224 2001-01-05 Martin Buchholz <martin@xemacs.org>
7226 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7228 * mule-ccl.c (stack_idx_of_map_multiple):
7229 Non const global data must not be initialized!
7230 Found by MIYASHITA Hisashi.
7232 2001-01-02 Andy Piper <andy@xemacs.org>
7234 * frame.c (change_frame_size): make sure frame size is always
7237 * glyphs.c (image_instance_layout): minor code reuse.
7239 * window.c (Fcurrent_window_configuration): revert previous
7242 2001-01-02 Martin Buchholz <martin@xemacs.org>
7245 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
7247 2000-12-31 Andy Piper <andy@xemacs.org>
7249 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
7250 when widget gets unmapped.
7252 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
7253 function. Make sure widgets losing focus don't just drop it.
7254 (handle_focus_event_1): record the widget with focus.
7256 2000-12-31 Andy Piper <andy@xemacs.org>
7258 * window.c (allocate_window): use
7259 make_image_instance_cache_hash_table.
7260 (make_dummy_parent): ditto.
7261 (Fset_window_configuration): ditto.
7263 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
7265 * glyphs.c (process_image_string_instantiator): use
7267 (get_image_instantiator_governing_domain): ditto.
7268 (normalize_image_instantiator): ditto.
7269 (instantiate_image_instantiator): ditto.
7270 (make_image_instance_1): ditto.
7271 (image_instantiate): ditto. Key on glyph *and* instantiator type.
7272 (instantiator_eq_equal): new function for use with instance hash
7274 (instantiator_eq_hash): ditto.
7275 (make_image_instance_cache_hash_table): create a suitable hash
7276 table for storing image instances.
7278 * elhash.h (hash_table_weakness): new internal weakness type
7279 HASH_TABLE_KEY_CAR_VALUE_WEAK.
7280 declare new functions.
7282 * elhash.c (finish_marking_weak_hash_tables): introduce yet
7283 another weakness type for glyphs.
7284 (make_standard_lisp_hash_table): new function split out from
7285 make_general_lisp_hash_table.
7286 (make_lisp_hash_table): call make_standard_lisp_hash_table.
7287 (hash_table_instantiate): ditto.
7288 (Fmake_hash_table): ditto.
7290 2000-12-31 Martin Buchholz <martin@xemacs.org>
7292 * XEmacs 21.2.39 is released.
7294 2000-12-29 Andy Piper <andy@xemacs.org>
7296 * menubar.c (menubar_visible_p_changed): signal the frame changed.
7298 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
7299 the frame has changed so that we pick up geometry changes such as
7302 2000-12-28 Andy Piper <andy@xemacs.org>
7304 * lastfile.c (my_ebss): make a char array so we can pad the
7305 bss. Fixes cygwin unexec.
7307 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
7309 2000-12-26 Andy Piper <andy@xemacs.org>
7311 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
7312 comments and try and be more precise about a non-/SIGIO world.
7313 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
7316 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
7317 we don't normalize to zero width or height.
7319 2000-12-24 Andy Piper <andy@xemacs.org>
7321 * Makefile.in.in (ldflags): add -mwindows when appropriate.
7323 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
7325 * s/sco5.h: SCO 5 has pty support.
7327 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
7329 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
7330 input-method-xlib.c contains whole contents of input-method-xfs.c,
7331 so we can use input-method-xlib.c's code for USE_XFONTSET
7333 * input-method-xfs.c: removed.
7335 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
7337 * file-coding.h (enum coding_category_type): reorder enumerators to
7338 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
7339 (now one greater than largest real coding_category_type enumerator).
7340 * file-coding.c (coding_category_symbol, coding_category_by_priority,
7341 coding_category_system, fcd_descriptihon_1, decode_coding_category,
7342 Fcoding_category_list, Fset_coding_priority_list,
7343 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
7344 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
7346 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7348 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
7349 * redisplay-output.c (redisplay_output_window): Clear top of window
7350 when face is changed.
7351 * redisplay-x.c (x_redraw_exposed_window): Call
7352 redisplay_clear_top_of_window.
7353 * redisplay.h: Publish redisplay_clear_top_of_window.
7355 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7357 * buffer.c (Fkill_buffer): Map over all devices.
7358 * window.c (window_loop): Remove UNSHOW_BUFFER code.
7359 (list_windows): New function.
7360 (list_all_windows): Ditto.
7361 (Freplace_buffer_in_windows): Use them.
7363 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
7365 * database.c (berkdb_subtype): Recognize new subtype `queue'.
7366 (Fopen_database): Use `db_create' instead of `db_open'.
7367 (syms_of_database): Initialize Qqueue.
7369 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7371 * buffer.c (common_init_complex_vars_of_buffer): Initialize
7372 buffer_local_face_property.
7373 * buffer.h (struct buffer): New member buffer_local_face_property.
7374 * window.c (Fset_window_buffer): Mark window's face as changed
7375 when buffer has buffer local face.
7376 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
7377 * objects.c (color_after_change): Set buffer_local_face_property
7378 when locale of face specifier is buffer.
7379 * objects.c (font_after_change): Ditto.
7380 * objects.c (face_boolean_after_change): Ditto.
7381 * glyphs.c (image_after_change): Ditto.
7383 2000-12-09 Dan Holmsand <dan@eyebee.com>
7385 * nt.c (mswindows_fstat): Report file permissions, volume serial
7386 number, etc. Code adapted from FSF Emacs 20.7.
7388 2000-12-09 Dan Holmsand <dan@eyebee.com>
7390 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
7391 of stat when we don't have symbolic links, to make sure
7392 mswindows_stat is called on mswindows.
7394 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7396 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
7398 2000-12-12 Martin Buchholz <martin@xemacs.org>
7400 * doprnt.c (emacs_doprnt_1): More printing fixes.
7401 Make printing of numbers compatible with libc and FSF Emacs.
7402 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
7403 Use the system printf to do most of the hard work of formatting,
7404 instead of doprnt_1().
7405 Calculate memory to allocate for format string.
7406 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
7407 (doprnt_1): Cleaner code and documentation.
7409 2000-12-01 Jerry James <james@eecs.ukans.edu>
7411 * Makefile.in.in: Use the loop variable to install headers.
7413 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7415 * window.c (Fsplit_window): Don't invalidate face cache.
7417 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7419 * minibuf.c (Fall_completions): Undo the previous change
7420 which removed checking elements start with space.
7422 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7424 * mule-canna.c: Didier suppression.
7426 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7428 * mule-canna.c: rename static unsigned char buf[] to key_buffer
7429 (warning suppression). Add English comment translations.
7431 2000-12-05 Martin Buchholz <martin@xemacs.org>
7433 * unexelfsgi.c (unexec): Better test for mmap failure.
7435 2000-12-05 Martin Buchholz <martin@xemacs.org>
7437 * XEmacs 21.2.38 is released.
7439 2000-12-05 Martin Buchholz <martin@xemacs.org>
7441 * redisplay.c (bar-cursor): Make a user variable.
7443 * symsinit.h: Add init_postgresql_from_environment.
7445 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7447 * regex.c: Convert to clean C.
7449 2000-12-05 Dan Holmsand <dan@eyebee.com>
7452 Don't #include sysfile.h. Revert to duplicating PATH_MAX
7454 (sys_readlink): renamed to system_readlink to avoid conflict with
7455 the other sys_readlink.
7457 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
7459 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
7461 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
7463 * postgresql.c (init_postgresql_from_environment): new function.
7464 (vars_of_postgresql): Move code initializing Lisp variables out and
7465 into init_postgresql_from_environment.
7466 emacs.c (main_1): Call init_postgresql_from_environment if and only
7467 if running a dumped XEmacs.
7469 2000-08-31 Dan Holmsand <dan@eyebee.com>
7471 * buffer.c: Make find-file-compare-truenames default to true on
7474 * realpath.c (win32_abs_start):
7476 (win32_readlink): New functions.
7477 (xrealpath): Return really real filenames on windows.
7479 * fileio.c (Ffile_truename): Make file-truename work on windows.
7481 2000-11-29 Didier Verna <didier@xemacs.org>
7483 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
7484 * faces.c (update_face_cachel_data): use it.
7485 * faces.c (add_face_cachel): use it. Complete background pixmap
7486 frobbing in face cache if `update_face_cachel_data' has not done so.
7488 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
7490 * search.c (string_match_1): Don't set last_thing_searched
7493 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
7495 * buffer.c: Include casetab.h
7496 (common_init_complex_vars_of_buffer): Use new case-table object.
7497 * buffer.h: Include casetab.h
7498 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
7499 (DOWNCASE_TABLE_OF): Ditto.
7500 * bufslots.h: Remove char-tables and add case-table.
7501 * casetab.c: Include casetab.h
7502 (CASE_TABLE_P): Removed.
7503 (mark_case_table): New function.
7504 (allocate_case_table): New function.
7505 (Fcase_table_p): Use new case-table.
7506 (case_table_char): New function.
7507 (Fget_case_table): Ditto.
7508 (Fput_case_table): Ditto.
7509 (Fput_case_table_pair): Ditto.
7510 (Fcopy_case_table): Ditto.
7511 (Fcurrent_case_table): Return case-table.
7512 (Fstandard_case_table): Return case-table.
7513 (Fset_case_table): Fix doc-string.
7514 (set_case_table): Use case-table
7515 (syms_of_casetab): DEFSUBR new functions.
7516 (complex_vars_of_casetab): Set up standard case-table.
7517 * casetab.h: New file.
7518 * editfns.c: Include casetab.h
7519 (Fcompare_buffer_substrings): Use case-table.
7520 * inline.c: Include casetab.h
7521 * lisp.h: Remove bogus extern.
7522 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
7523 * search.c: Include casetab.h
7524 (TRANSLATE_ASCII): Removed.
7525 (TRANSLATE): Unconditionally translate character.
7526 (looking_at_1): Use case-table.
7527 (string_match_1): Ditto.
7528 (fast_string_match): Ditto.
7529 (search_command): Ditto.
7530 (search_buffer): Separate boyer_moore. Check whether
7531 boyer_moore is possible.
7532 (simple_search): New function.
7533 (boyer_moore): Separated from search_buffer. Translate char.
7535 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
7537 * regex.c (RE_TR_ASCII): Removed.
7538 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
7539 (PATFETCH): Call PATFETCH_RAW.
7540 (PATFETCH_RAW): Fetch Emchar.
7541 (PATUNFETCH): Decrement charptr.
7542 (GET_BUFFER_SPACE): Rename b to buf_end.
7544 (BUF_PUSH_2): Ditto.
7545 (BUF_PUSH_3): Ditto.
7546 (EXTEND_BUFFER): Ditto.
7547 (SET_LIST_BIT): Ditto.
7548 (regex_compile): Ditto. Translate non ASCII char.
7549 (compile_range): Ditto.
7550 (re_search_2): Ditto.
7551 (re_match_2_internal): Compare Emchar.
7552 (bcmp_translate): Ditto.
7554 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
7556 * lisp.h (basic char/int typedefs): comment improvement.
7558 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
7560 * emacs.c (main_1): unconditional pdump unstomping; don't save and
7561 unstomp inhibit_site_lisp. Improve comments.
7563 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
7565 * mule-charset.c (Fcharset_property): improve type checking, comments.
7567 2000-11-28 Andy Piper <andy@xemacs.org>
7569 * redisplay-output.c (redisplay_output_subwindow): make sure we do
7570 clipped display for windows in the gutter also.
7571 (redisplay_display_boxes_in_window_p): change semantics of return
7572 codes to be more intuitive.
7574 * gutter.h: declare display_boxes_in_gutter_p.
7576 * gutter.c (display_boxes_in_gutter_p): new function for
7579 2000-11-22 Andy Piper <andy@xemacs.org>
7581 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
7584 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
7586 * callproc.c (Fold_call_process_internal):
7587 * gpm.c (Freceive_gpm_event):
7588 (tty_get_foreign_selection): Might be just warning supression.
7589 * fileio.c (Fwrite_region_internal):
7590 (Fset_visited_file_modtime):
7591 * keymap.c (event_matches_key_specifier_p):
7592 Initialize GCPROed variable.
7594 * menubar-x.c (command_builder_find_menu_accelerator):
7595 Initialize before use.
7597 2000-11-23 Andy Piper <andy@xemacs.org>
7599 * unexcw.c (unexec): make the resulting executable executable.
7601 2000-11-21 Martin Buchholz <martin@xemacs.org>
7603 * doc.c (get_doc_string):
7604 Use size_t, not int, for result of XSTRING_LENGTH.
7606 * cmds.c (Fdelete_char):
7607 * cmds.c (Fpoint_at_eol):
7608 * cmds.c (Fself_insert_command):
7609 Use EMACS_INT, not int, for result of XINT.
7610 Someday, someone will want to insert more than 2**31 identical characters.
7612 * cmds.c (Fdelete_char):
7613 * cmds.c (Fdelete_backward_char):
7614 * syntax.c (Fforward_word):
7615 * syntax.c (Fforward_comment):
7616 Make COUNT argument optional, for consistency with forward-char et al.
7618 2000-11-22 Martin Buchholz <martin@xemacs.org>
7621 * print.c (long_to_string):
7622 Return a useful value: the pointer at end of data written.
7625 Use `static const char * const' for constant strings.
7626 (union printf_arg): Delete `i', `ui' members.
7629 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
7630 Do all printf-ing via the `l' specifier.
7631 Use EMACS_INT instead of int.
7634 2000-11-20 Didier Verna <didier@xemacs.org>
7636 * faces.c (update_face_cachel_data): don't frob the background
7637 pixmap when the window is being created. The face is needed but
7640 2000-11-20 Andy Piper <andy@xemacs.org>
7642 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
7643 messing with a debug environment.
7645 2000-11-20 Martin Buchholz <martin@xemacs.org>
7647 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
7649 2000-11-20 Martin Buchholz <martin@xemacs.org>
7651 * casetab.c (Fcase_table_p): Fix compile error and crash.
7653 2000-11-18 Philip Aston <philipa@mail.com>
7655 * s/cygwin32.h: Cygwin has SVR4-like pty support.
7657 2000-11-18 Martin Buchholz <martin@xemacs.org>
7659 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
7660 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
7662 2000-11-17 Martin Buchholz <martin@xemacs.org>
7664 * config.h.in: Define HAVE_ELF_H if elf.h exists.
7665 * unexelf.c: Use HAVE_ELF_H.
7666 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
7667 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
7668 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
7669 Greg Harrington <greg_harrington@hotmail.com> provided a machine
7671 So this is an unexelfsgi.c from a different line of development.
7673 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7675 * regex.c (RE_TR_ASCII): New function.
7676 (RE_TRANSLATE): Call it.
7678 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7680 * buffer.h (TRT_TABLE_OF): Remove assert.
7681 (IN_TRT_TABLE_DOMAIN): Removed.
7683 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
7685 * free-hook.c (log_gcpro):
7686 (show_gcprohist): Add support for GCPRO5.
7688 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
7690 * emacs.c (main_1): Improve -sd error message when --pdump=no.
7692 2000-11-16 Olivier Galibert <galibert@xemacs.org>
7694 * symeval.h: Declare flush_all_buffer_local_cache.
7696 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
7697 (flush_buffer_local_cache): Added.
7698 (flush_all_buffer_local_cache): Added.
7700 * lrecord.h: Remove unused XD_LO_RESET_NIL.
7702 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
7703 (pdump_dump_data): Ditto.
7704 (pdump_reloc_one): Ditto.
7705 (pdump): Remove unused pdump_qnil. Flush buffer local caches
7709 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
7711 * buffer.c: Remove if 0'ed entry.
7712 * buffer.h: Rewrite TRT to use char-table.
7713 * bufslots.h: Remove mirror tables.
7714 * casetab.c: Remove mirror tables.
7715 (CASE_TABLE_P): New macro.
7716 (Fcase_table_p): Element of a case table is string or char-table.
7717 (make_mirror_trt_table): Removed.
7718 (set_case_table): Setup char-table from strings for backward
7720 * dired.c (Fdirectory_files):
7721 * dired-msw.c: (mswindows_get_files):
7722 * lisp.h: Change prototype of re_pattern_buffer.
7723 * regex.c: (RE_TRANSLATE): New macro.
7724 (TRANSLATE_P): Ditto.
7725 Change translate to type RE_TRANSLATE_TYPE.
7726 * regex.h: Define RE_TRANSLATE_TYPE
7727 * search.c (TRANSLATE): New macro.
7728 (TRANSLATE_ASCII): New macro.
7729 Translate table is changed to Lisp_Object.
7730 (signal_failure): Inhibit return.
7732 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
7739 Do UNGCPRO before return.
7741 2000-11-14 Martin Buchholz <martin@xemacs.org>
7743 * XEmacs 21.2.37 is released.
7745 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7747 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
7748 Add comments about discarded return value.
7750 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
7753 * event-stream.c: Fix comments. Remove some #if 0'ed part.
7755 2000-10-27 Andy Piper <andy@xemacs.org>
7757 * gutter.c (Fset_default_gutter_position): default left and right
7759 (calculate_gutter_size): calculate resonable heuristic for left
7760 and right gutter sizes.
7761 (specifier_vars_of_gutter): change left and right gutter sizes to
7763 (calculate_gutter_size_from_display_lines): new function.
7764 (output_gutter): check for resizing on left and right gutters.
7765 (clear_gutter): don't special case top and left gutters.
7766 (specifier_vars_of_gutter): use new signature for
7767 set_specifier_caching.
7769 * glyphs-x.c (x_redisplay_widget): spelling fix.
7770 * glyphs.c (specifier_vars_of_glyphs):
7771 * menubar.c (specifier_vars_of_menubar):
7772 * redisplay.c (specifier_vars_of_redisplay):
7773 * toolbar.c (specifier_vars_of_toolbar):
7774 * window.c (specifier_vars_of_window):
7775 * scrollbar.c (specifier_vars_of_scrollbar):
7776 (complex_vars_of_scrollbar): use new signature for
7777 set_specifier_caching.
7779 * specifier.c (set_specifier_caching): include recompute flag.
7780 (recompute_one_cached_specifier_in_window): always recompute if
7782 (recompute_one_cached_specifier_in_frame): ditto.
7784 * specifier.h (struct specifier_caching): add recompute flag.
7786 2000-10-24 Andy Piper <andy@xemacs.org>
7788 * unexcw.c (copy_executable_and_dump_data_section): add new
7789 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
7792 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7794 * console-x.h (x_device): New member modifier_release_time.
7795 * event-Xt.c (x_handle_sticky_modifiers):
7796 Bound interval modifier keys are sticky.
7797 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
7798 * events.h: extern it.
7800 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7802 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
7804 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7806 * event-stream.c (execute_command_event): Preserve current_events
7807 and the like when event is misc-user-event.
7808 Inhibit quit during the call to maybe_echo_keys.
7810 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
7812 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
7813 symlink when buffer is killed.
7814 (inhibit_clash_detection): New variable.
7816 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
7818 * console.c (Fset_input_method): Trigger redisplay on tty.
7820 2000-11-07 Martin Buchholz <martin@xemacs.org>
7822 * process.c (Fprocess_status): Revert to previous behavior:
7823 (process-status "nosuchprocess") ==> nil
7825 2000-11-06 Martin Buchholz <martin@xemacs.org>
7827 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
7828 Work around another GCC 2.95.2 optimizer bug.
7830 2000-11-02 Martin Buchholz <martin@xemacs.org>
7832 * process.c (Fget_process): Use LIST_LOOP_2.
7833 (kill_buffer_processes): Use LIST_LOOP_2.
7835 * minibuf.c (Fall_completions):
7836 Delete old non-functional code for FSF fourth argument.
7838 * frame.c (frame_matches_frame_spec):
7839 Renamed from `frame_matches_frametype'. Update all callers.
7840 (device_matches_device_spec):
7841 Renamed from 'device_matches_console_spec'. Update all callers.
7843 * doc.c (Fsubstitute_command_keys):
7844 Remove buffer overflow crash. Small code cleanups.
7846 * casetab.c (check_case_table): Simpler code.
7848 * window.c (Freplace_buffer_in_windows):
7849 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
7850 (and similar implementation) as Fdelete_windows_on.
7853 * alloc.c (Fmake_list):
7854 * alloc.c (make_vector):
7855 * alloc.c (Fmake_vector):
7856 * alloc.c (make_bit_vector):
7857 * alloc.c (Fmake_bit_vector):
7858 * alloc.c (Fbit_vector):
7859 * alloc.c (Fmake_string):
7860 * alloc.c (Fpurecopy):
7861 * alloc.c (Fmemory_limit):
7863 * buffer.c (Fget_buffer):
7864 * buffer.c (Fkill_buffer):
7865 * buffer.c (complex_vars_of_buffer):
7866 * bytecode.c (Fcompiled_function_stack_depth):
7867 * callint.c (Fprefix_numeric_value):
7869 * event-stream.c (Fread_key_sequence):
7871 * casetab.c (Fcase_table_p):
7872 * casetab.c (check_case_table):
7873 * casetab.c (Fset_case_table):
7874 * casetab.c (Fset_standard_case_table):
7876 * chartab.c (Fchar_table_type):
7877 * chartab.c (Freset_char_table):
7878 * chartab.c (Fget_char_table):
7879 * chartab.c (Fget_range_char_table):
7880 * chartab.c (Fput_char_table):
7881 * chartab.c (Fmap_char_table):
7882 * chartab.c (Fcategory_table_p):
7883 * chartab.c (Fcheck_category_at):
7884 * chartab.c (Fchar_in_category_p):
7885 * chartab.c (Fcategory_table):
7886 * chartab.c (Fcopy_category_table):
7887 * chartab.c (Fset_category_table):
7888 * chartab.c (Fcategory_designator_p):
7889 * chartab.c (Fcategory_table_value_p):
7890 * cmds.c (Fdelete_char):
7891 * cmds.c (Fdelete_backward_char):
7892 * cmds.c (Fself_insert_command):
7893 * cmds.c (Fself_insert_internal):
7894 * console.c (Fvalid_console_type_p):
7895 * console.c (Fcdfw_console):
7896 * console.c (Fconsole_type):
7897 * console.c (Fconsole_name):
7898 * console.c (Fconsole_device_list):
7899 * console.c (Fconsole_on_window_system_p):
7903 * data.c (Fsubr_interactive):
7904 * data.c (Fchar_to_int):
7905 * data.c (Fint_to_char):
7908 * data.c (Fnumber_to_string):
7909 * data.c (Fstring_to_number):
7911 * database.c (mark_database):
7912 * database.c (finalize_database):
7913 * database.c (Fdatabase_live_p):
7914 * database.c (Fdatabasep):
7915 * device-x.c (Fx_get_resource):
7916 * device.c (Fdfw_device):
7918 * dired.c (Ffile_name_completion):
7919 * dired.c (Ffile_name_all_completions):
7920 * dired.c (Fuser_name_completion):
7921 * dired.c (Fuser_name_completion_1):
7922 * dired.c (Fuser_name_all_completions):
7923 * doc.c (Fdocumentation):
7924 * doc.c (Fdocumentation_property):
7925 * doc.c (Fsubstitute_command_keys):
7927 * editfns.c (Fchar_to_string):
7928 * editfns.c (Fstring_to_char):
7929 * editfns.c (Ftemp_directory):
7930 * editfns.c (Finsert_char):
7931 * editfns.c (Fbuffer_substring_no_properties):
7932 * editfns.c (Fnarrow_to_region):
7933 * editfns.c (Fchar_equal):
7934 * editfns.c (Fchar_Equal):
7935 * editfns.c (Ftranspose_regions):
7936 * emacs.c (Fdump_emacs):
7938 * eval.c (Fcommand_execute):
7939 * eval.c (Fautoload):
7940 * eval.c (Fbacktrace):
7941 * eval.c (Fbacktrace_frame):
7943 * events.c (Fcopy_event):
7944 * events.c (Fcharacter_to_event):
7945 * events.c (Fevent_button):
7946 * events.c (Fevent_process):
7948 * extents.c (Fnext_extent_change):
7949 * extents.c (Fextent_property):
7951 * faces.c (Fmake_face):
7953 * file-coding.c (Fencode_shift_jis_char):
7954 * file-coding.c (Fencode_big5_char):
7955 * fileio.c (Ffile_name_directory):
7956 * fileio.c (Ffile_name_nondirectory):
7957 * fileio.c (Ffile_name_as_directory):
7958 * fileio.c (Fdirectory_file_name):
7959 * fileio.c (Ffile_truename):
7960 * fileio.c (Fsubstitute_in_file_name):
7961 * fileio.c (Ffile_modes):
7962 * fileio.c (Fset_file_modes):
7963 * fileio.c (Fset_default_file_modes):
7964 * fileio.c (Fverify_visited_file_modtime):
7965 * floatfns.c (Facos):
7966 * floatfns.c (Fasin):
7967 * floatfns.c (Fatan):
7968 * floatfns.c (Fcos):
7969 * floatfns.c (Fsin):
7970 * floatfns.c (Ftan):
7971 * floatfns.c (Fbessel_j0):
7972 * floatfns.c (Fbessel_j1):
7973 * floatfns.c (Fbessel_jn):
7974 * floatfns.c (Fbessel_y0):
7975 * floatfns.c (Fbessel_y1):
7976 * floatfns.c (Fbessel_yn):
7977 * floatfns.c (Ferf):
7978 * floatfns.c (Ferfc):
7979 * floatfns.c (Flog_gamma):
7980 * floatfns.c (Fexp):
7981 * floatfns.c (Fexpt):
7982 * floatfns.c (Flog):
7983 * floatfns.c (Flog10):
7984 * floatfns.c (Fsqrt):
7985 * floatfns.c (Fcube_root):
7986 * floatfns.c (Facosh):
7987 * floatfns.c (Fasinh):
7988 * floatfns.c (Fatanh):
7989 * floatfns.c (Fcosh):
7990 * floatfns.c (Fsinh):
7991 * floatfns.c (Ftanh):
7992 * floatfns.c (Fabs):
7993 * floatfns.c (Ffloat):
7994 * floatfns.c (Flogb):
7995 * floatfns.c (Fceiling):
7996 * floatfns.c (Ffloor):
7997 * floatfns.c (Fround):
7998 * floatfns.c (Ftruncate):
7999 * floatfns.c (Ffceiling):
8000 * floatfns.c (Fffloor):
8001 * floatfns.c (Ffround):
8002 * floatfns.c (Fftruncate):
8003 * fns.c (Fstring_equal):
8004 * fns.c (Fstring_lessp):
8009 * fns.c (Fsubstring):
8011 * fns.c (Fold_assoc):
8012 * fns.c (assoc_no_quit):
8014 * fns.c (Fold_assq):
8015 * fns.c (assq_no_quit):
8017 * fns.c (Fold_rassoc):
8019 * fns.c (Fold_rassq):
8020 * fns.c (rassq_no_quit):
8021 * fns.c (Fremassoc):
8022 * fns.c (remassoc_no_quit):
8024 * fns.c (remassq_no_quit):
8025 * fns.c (Fremrassoc):
8026 * fns.c (Fremrassq):
8027 * fns.c (remrassq_no_quit):
8029 * fns.c (Fplist_get):
8030 * fns.c (Fplist_put):
8031 * fns.c (Fplist_remprop):
8032 * fns.c (Fplist_member):
8033 * fns.c (Flax_plist_get):
8034 * fns.c (Flax_plist_put):
8035 * fns.c (Flax_plist_remprop):
8036 * fns.c (Flax_plist_member):
8038 * fns.c (Fold_equal):
8040 * fns.c (Fbase64_encode_region):
8041 * fns.c (Fbase64_encode_string):
8042 * fns.c (Fbase64_decode_region):
8044 * frame.c (frame_matches_frame_spec):
8045 * frame.c (device_matches_device_spec):
8046 * frame.c (next_frame):
8047 * frame.c (previous_frame):
8048 * frame.c (Fnext_frame):
8049 * frame.c (Fprevious_frame):
8050 * frame.c (Fframe_property):
8051 * frame.c (Fset_frame_height):
8052 * frame.c (Fset_frame_size):
8056 * glyphs.c (decode_error_behavior_flag):
8057 * glyphs.c (Fmake_image_instance):
8058 * indent.c (Findent_to):
8059 * intl.c (Fignore_defer_gettext):
8060 * keymap.c (Fkeymapp):
8061 * keymap.c (Flookup_key):
8063 * lread.c (Fload_internal):
8064 * lread.c (Feval_buffer):
8065 * lread.c (Feval_region):
8066 * macros.c (Fexecute_kbd_macro):
8067 * marker.c (set_marker_internal):
8068 * marker.c (Fset_marker):
8069 * marker.c (set_marker_restricted):
8070 * marker.c (Fcopy_marker):
8071 * marker.c (noseeum_copy_marker):
8073 * menubar.c (Fpopup_menu):
8075 * mule-charset.c (Fcharset_name):
8076 * mule-charset.c (Fchar_charset):
8077 * mule-charset.c (Fchar_octet):
8078 * mule-charset.c (Fsplit_char):
8079 * mule-wnnfns.c (Fwnn_open):
8080 * mule-wnnfns.c (Fwnn_dict_comment):
8081 * mule-wnnfns.c (Fwnn_quit_henkan):
8082 * mule-wnnfns.c (Fwnn_word_toroku):
8083 * mule-wnnfns.c (Fwnn_word_sakujo):
8084 * mule-wnnfns.c (Fwnn_word_use):
8085 * mule-wnnfns.c (Fwnn_hindo_set):
8087 * objects.c (Fmake_color_instance):
8088 * objects.c (Fmake_font_instance):
8089 * print.c (Fwrite_char):
8091 * process.c (mark_process):
8092 * process.c (print_process):
8093 * process.c (get_process_from_usid):
8094 * process.c (Fprocessp):
8095 * process.c (Fprocess_live_p):
8096 * process.c (Fget_process):
8097 * process.c (Fget_buffer_process):
8098 * process.c (get_process):
8099 * process.c (Fprocess_id):
8100 * process.c (Fprocess_name):
8101 * process.c (Fprocess_command):
8102 * process.c (init_process_io_handles):
8103 * process.c (start_process_unwind):
8104 * process.c (Fstart_process_internal):
8105 * process.c (Fopen_multicast_group_internal):
8106 * process.c (Fset_process_window_size):
8107 * process.c (read_process_output):
8108 * process.c (send_process):
8109 * process.c (Fprocess_tty_name):
8110 * process.c (Fset_process_buffer):
8111 * process.c (Fprocess_buffer):
8112 * process.c (Fprocess_mark):
8113 * process.c (set_process_filter):
8114 * process.c (Fset_process_filter):
8115 * process.c (Fprocess_filter):
8116 * process.c (Fprocess_send_region):
8117 * process.c (Fprocess_send_string):
8118 * process.c (exec_sentinel):
8119 * process.c (Fset_process_sentinel):
8120 * process.c (Fprocess_sentinel):
8121 * process.c (status_notify):
8122 * process.c (Fprocess_status):
8123 * process.c (Fprocess_exit_status):
8124 * process.c (process_send_signal):
8125 * process.c (Fprocess_send_eof):
8126 * process.c (deactivate_process):
8127 * process.c (remove_process):
8128 * process.c (Fdelete_process):
8129 * process.c (kill_buffer_processes):
8130 * process.c (Fprocess_kill_without_query):
8131 * process.c (Fprocess_kill_without_query_p):
8133 * rangetab.c (Fget_range_table):
8134 * rangetab.c (Fput_range_table):
8135 * rangetab.c (Fremove_range_table):
8136 * rangetab.c (Fclear_range_table):
8138 * search.c (Fskip_chars_forward):
8139 * search.c (Fskip_chars_backward):
8140 * search.c (Fskip_syntax_forward):
8141 * search.c (Fskip_syntax_backward):
8142 * search.c (search_command):
8143 * search.c (Freplace_match):
8144 * search.c (Fregexp_quote):
8145 * select.c (Fown_selection_internal):
8146 * select.c (Fselection_owner_p):
8147 * select.c (Fselection_exists_p):
8148 * select.c (Fget_selection_internal):
8151 * symbols.c (Fintern):
8152 * symbols.c (Fintern_soft):
8153 * symbols.c (Funintern):
8154 * symbols.c (Fapropos_internal):
8155 * symbols.c (Fset_default):
8157 * syntax.c (Fsyntax_table_p):
8158 * syntax.c (Fcopy_syntax_table):
8159 * syntax.c (Fset_syntax_table):
8160 * syntax.c (Fchar_syntax):
8161 * syntax.c (syntax_match):
8162 * syntax.c (Fmatching_paren):
8163 * syntax.c (Fforward_word):
8164 * syntax.c (scan_lists):
8165 * syntax.c (Fscan_lists):
8166 * syntax.c (Fscan_sexps):
8167 * syntax.c (Fparse_partial_sexp):
8168 * toolbar.c (Fcheck_toolbar_button_syntax):
8171 * window.c (Fwindowp):
8172 * window.c (Fwindow_live_p):
8173 * window.c (Fwindow_point):
8174 * window.c (Fdelete_window):
8175 * window.c (Fnext_window):
8176 * window.c (Fprevious_window):
8177 * window.c (Fother_window):
8178 * window.c (window_loop):
8179 * window.c (Fget_lru_window):
8180 * window.c (Fsplit_window):
8181 * window.c (Fenlarge_window):
8182 * window.c (Fenlarge_window_pixels):
8183 * window.c (Fshrink_window):
8184 * window.c (Fshrink_window_pixels):
8185 * window.c (change_window_height):
8186 * window.c (Fwindow_configuration_p):
8187 * window.c (Fcurrent_window_configuration):
8189 * casefiddle.c (casify_object):
8190 * casefiddle.c (Fupcase):
8191 * casefiddle.c (Fdowncase):
8192 * casefiddle.c (Fcapitalize):
8193 * casefiddle.c (Fupcase_initials):
8194 * casefiddle.c (casify_region_internal):
8195 * casefiddle.c (casify_region):
8196 * casefiddle.c (Fupcase_region):
8197 * casefiddle.c (Fdowncase_region):
8198 * casefiddle.c (Fcapitalize_region):
8199 * casefiddle.c (Fupcase_initials_region):
8200 * casefiddle.c (Fupcase_word):
8201 * casefiddle.c (Fdowncase_word):
8202 * casefiddle.c (Fcapitalize_word):
8203 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
8204 Replace 0 with '\0' when working with bytes.
8205 Replace initial "(" with "\(" in docstrings.
8207 2000-11-01 Martin Buchholz <martin@xemacs.org>
8209 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
8211 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
8213 2000-10-31 Martin Buchholz <martin@xemacs.org>
8215 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
8217 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8219 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8222 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8224 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8225 (inhibit_auto_save_session): New variable.
8226 (vars_of_fileio): Declare and initialize them.
8227 * fileio.c (Fdo_auto_save): Don't create session file if
8228 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8230 2000-10-31 Martin Buchholz <martin@xemacs.org>
8232 * sgiplay.c (play_internal): C++ compilability.
8233 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8234 * callproc.c (Fold_call_process_internal):
8235 Remove unused vars `env', `first'.
8236 * scrollbar.c (update_scrollbar_instance):
8237 #### unused var `current_window'.
8238 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8239 etc. within #ifdef NOT_YET.
8240 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8241 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8242 * specifier.c (specifier_instance):
8243 #### unused var `tag'.
8244 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8246 2000-10-27 Martin Buchholz <martin@xemacs.org>
8249 * fns.c (list_sort):
8250 * fns.c (Ffillarray):
8251 * fns.c (bytecode_nconc2):
8254 * fns.c (Fmapconcat):
8255 Be pedantically 64-bit correct. For the time when someone will
8256 want to have a list with length > 2**32.
8258 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8259 Work around MIPSpro compiler bug.
8261 * process-unix.c (unix_kill_child_process): Add snarky comment.
8262 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
8264 * config.h.in: Oops, _getpt ==> _getpty
8266 2000-10-26 Martin Buchholz <martin@xemacs.org>
8270 Use void*, not char*, as return type of alloca().
8272 * alloc.c (free_marker): Side effect inside assert expression!
8274 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
8276 * mule-charset.c (Fset_charset_ccl_program): To check
8277 if the given ccl program is valid, use setup_ccl_program()
8278 instead of CHECK_VECTOR().
8279 (Fmake_charset): Likewise.
8281 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
8283 * faces.c (get_extent_fragment_face_cache_index):
8284 Fix cachel.merged_faces memory leak.
8286 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
8288 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
8289 Reset MSB of octets obtained by DECODE_SJIS
8290 because of the incompatibility with Emacs.
8291 (ccl_driver)<CCL_ENCODE_SJIS>:
8292 Set MSB of octets before passing them to
8293 ENCODE_SJIS because of the incompatibility
8296 2000-10-18 Daiki Ueno <ueno@unixuser.org>
8298 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
8299 (DECLARE_LRECORD): Undo the last change.
8300 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
8302 2000-10-17 Daiki Ueno <ueno@unixuser.org>
8304 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
8305 the implementation to lrecord_implementations_table.
8307 2000-10-14 Daiki Ueno <ueno@unixuser.org>
8309 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
8310 initial value of `lrecord_type_##c_name' and
8311 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
8312 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
8313 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
8314 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
8315 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
8317 2000-10-17 Martin Buchholz <martin@xemacs.org>
8319 * miscplay.c (sndcnv8S_2mono):
8320 (sndcnv2monounsigned):
8321 (sndcnvULaw_2linear):
8323 Remove implementation-defined behavior.
8325 2000-10-12 Martin Buchholz <martin@xemacs.org>
8327 * input-method-xlib.c: Warning suppression.
8329 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
8331 * mule-ccl.c: Sync up with Emacs 21.0.90.
8332 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
8334 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
8336 (ccl_driver[WriteMultibyteChar2]): Bug fix.
8337 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
8338 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
8339 leading char belongs to official 2-dimensional charset.
8340 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
8341 write the given character as is. Otherwise,
8342 if it is a multibyte char, convert it by
8343 non_ascii_set_charptr_emchar, then write it.
8344 (CCL_WRITE_STRING): Likewise.
8345 (ccl_get_compiled_code): New function.
8346 (setup_ccl_program): When ccl_prog is invalid,
8348 (Fregister_code_conversion_map): New function.
8349 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
8351 * mule-ccl.h: Sync up with Emacs 21.0.90.
8352 (Fregister_ccl_program): export it.
8354 * redisplay-msw.c (separate_textual_runs):
8355 If ccl program is not valid, don't do ccl conversion.
8357 * redisplay-x.c (separate_textual_runs): Ditto.
8359 * file-coding.c (Fmake_coding_system):
8360 When type is ccl and value is vector, register it
8361 with a proper symbol. And checks whether the
8362 given ccl program is valid.
8363 (mule_decode): When calling ccl_driver, if src indicates
8364 NULL pointer, set an empty string instead.
8365 (mule_encode): Likewise.
8367 2000-10-11 Martin Buchholz <martin@xemacs.org>
8369 The following large batch of changes gets us back to a state of
8370 C++ compilability. Extbyte is now a char, which means that
8371 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
8373 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
8375 * sound.c (Fplay_sound): Type correctness.
8377 * select-x.c (hack_motif_clipboard_selection): Type correctness.
8378 (x_get_window_property): Type correctness.
8379 (receive_incremental_selection): unsigned char ==> Extbyte
8380 (selection_data_to_lisp_data): unsigned char ==> Extbyte
8381 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
8382 (Fx_store_cutbuffer_internal): Type correctness.
8384 * process-unix.c (try_to_initialize_subtty): Type correctness.
8386 * objects-x.c (x_print_color_instance): Type correctness.
8387 (x_print_font_instance): Type correctness.
8388 (x_list_fonts): SExtbyte ==> Extbyte.
8389 (valid_x_font_name_p): SExtbyte ==> Extbyte.
8390 (x_find_charset_font): SExtbyte ==> Extbyte.
8391 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
8392 (truename_via_XListFonts): SExtbyte ==> Extbyte.
8393 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
8396 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
8397 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
8398 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
8399 (BYTE_C0_P): Use bit ops for char-signedness safety.
8400 (BYTE_C1_P): Use bit ops for char-signedness safety.
8401 (CHARSET_BY_LEADING_BYTE):
8402 (CHARSET_BY_ATTRIBUTES):
8403 Always use inline function.
8404 Use type_checking_assert.
8407 * mule-charset.c (non_ascii_charptr_copy_char):
8408 Modify to work with both ASCII and non-ASCII characters.
8409 Improve docs and variable names.
8410 Replace over-clever fall-through switch with a simple loop.
8411 (Lstream_get_emchar_1):
8412 Replace over-clever fall-through switch with a simple loop.
8414 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8415 Warning suppression.
8417 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
8418 the return value of Lstream_getc, which could be EOF as well.
8420 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
8422 * lisp.h: Make Extbyte a char, not unsigned char, so that external
8423 APIs can be used on Extbytes without casts. Risky!
8427 * input-method-xlib.c (XIM_init_device):
8428 Use Xlib.h instead of IntrinsicP.h.
8429 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
8430 which will break in X11R7.
8431 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
8432 to call XRegisterIMInstantiateCallback with correct types.
8434 * gui-x.c (button_item_to_widget_value): Type correctness.
8436 * glyphs.c (bitmap_to_lisp_data): Type correctness.
8438 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
8439 (xbm_instantiate_1): Type correctness.
8440 (BUILD_GLYPH_INST): Type correctness.
8442 * fileio.c (Fsubstitute_in_file_name): Type correctness.
8445 (decode_coding_sjis):
8446 (decode_coding_big5):
8447 (decode_coding_ucs4):
8448 (decode_coding_utf8):
8449 (decode_coding_iso2022):
8450 (decode_coding_no_conversion):
8451 Make all decoding functions take an Extbyte * arg.
8452 (encode_coding_sjis):
8453 (encode_coding_big5):
8454 (encode_coding_ucs4):
8455 (encode_coding_utf8):
8456 (encode_coding_iso2022):
8457 (encode_coding_no_conversion):
8458 Make all encoding functions take a Bufbyte * arg.
8459 Use size_t instead of unsigned int for memory sizes.
8460 Only cast to unsigned char whenever dereferencing Extbyte *.
8462 * doc.c (unparesseuxify_doc_string): Type correctness.
8464 * console-x.c (split_up_display_spec):
8465 Rewrite without using details of internal string representation.
8466 (x_semi_canonicalize_device_connection): Type correctness.
8469 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
8470 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
8471 (HAVE_XFREE386): Removed.
8473 * buffer.h (DEC_CHARPTR): `const' correctness.
8474 (bufbyte_strcmp): New.
8475 (bufbyte_memcmp): New.
8477 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
8479 * buffer.h (XCHAR_OR_CHAR_INT):
8480 Always use inline function.
8481 Remove redundant type checking assert() - XINT will abort quite nicely.
8483 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
8485 * search.c (Freplace_match): Set newtext to an empty string.
8487 2000-10-10 Martin Buchholz <martin@xemacs.org>
8489 * s/decosf1-3.h: Remove #include of stropts.h
8490 * s/ptx.h: Remove #include of stropts.h
8491 * s/usg5-4.h: Remove #include of stropts.h
8494 Use stropts.h, not sys/stropts.h.
8495 Use strtio.h, not sys/strtio.h.
8497 2000-10-04 Martin Buchholz <martin@xemacs.org>
8499 * XEmacs 21.2.36 is released.
8501 2000-09-21 Andy Piper <andy@xemacs.org>
8503 * glyphs-x.c (x_redisplay_widget): make sure non-structural
8504 changes still involve copying the widget tree.
8505 (update_widget_face): make sure a change is register in the widget
8506 tree. Call update_tab_widget_face appropriately.
8507 (update_tab_widget_face): ditto.
8508 (x_tab_control_redisplay): make sure non-structural changes still
8509 involve copying the widget tree.
8511 2000-08-31 Daiki Ueno <ueno@unixuser.org>
8513 * lread.c (locate_file): Check the path element is non-nil.
8515 2000-10-02 Martin Buchholz <martin@xemacs.org>
8517 * lisp.h: Warning suppression for SCO compilers.
8519 * redisplay-tty.c (reset_tty_modes): Fix crash.
8520 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
8522 2000-09-27 Martin Buchholz <martin@xemacs.org>
8524 Big signal/process handling overhaul. Bugs fixed:
8525 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
8526 M-x comint-kill-subjob should work for both values nil and t of
8527 process-connection-type. It was broken on most platforms.
8528 Testing on Irix and Cygwin still needed. Other plaforms tested.
8529 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
8530 * process-unix.c: Signal/Process handling overhaul.
8531 (pty_name): make 64 bytes, as `expect' does, for paranoia.
8532 (allocate_pty): Use all available modern methods of allocating
8533 ptys, falling back to old style BSD allocation as a last resort.
8534 Use allegedly more secure Unix98 pty allocation by default.
8535 (allocate_pty_the_old_fashioned_way): New. the last resort.
8536 (unix_create_process): Push ptem, ldterm, ttcompat where
8537 available. Autoconfiscate.
8538 (try_to_initialize_subtty): New.
8539 (unix_kill_child_process): Proper signal handling for ptys on most
8540 platforms, using special knowledge of AIX, BSD, etc...
8541 (unix_create_process): Always disconnect_controlling_terminal() for
8542 subprocesses, whether using ptys or not.
8543 * process.h: Remove old getpt-dependent PTY code.
8544 * process.c (Fprocess_send_signal): New, obvious generic function.
8545 (decode_signal): New.
8546 (Finterrupt_process):
8550 (Fcontinue_process):
8551 (Fsignal_process): Use decode_signal.
8552 (process_send_signal):
8553 Many docstring corrections.
8554 Allow any signal to be sent to a process object.
8555 * config.h.in: Add symbols for big signal/process overhaul.
8556 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
8557 * sysproc.h: Include process-related headers, where available:
8558 sys/stropts.h sys/strtio.h pty.h libutil.h
8566 Remove old S&M pty stuff.
8567 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
8568 * systty.h: Simplify cpp hackery, improve comments.
8569 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
8571 * editfns.c (Fformat_time_string):
8572 Be a little more paranoid with the return value of ctime.
8574 * fileio.c (check_executable):
8576 Use symbolic constants X_OK, W_OK.
8578 * console-x.c (split_up_display_spec): Fix a warning.
8580 2000-10-02 Martin Buchholz <martin@xemacs.org>
8582 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
8583 * ntproc.c (sys_spawnve): make_string ==> build_string
8584 Small clarity improvements.
8586 2000-09-30 Martin Buchholz <martin@xemacs.org>
8588 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
8590 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
8592 * config.h.in (HAVE_STRCASECMP): Remove.
8594 2000-09-29 Martin Buchholz <martin@xemacs.org>
8596 * redisplay-output.c (redisplay_output_pixmap):
8597 Cleaner and possibly more 64-bit correct code.
8599 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
8601 * dumper.c (pdump_load_finish): move restoration of
8602 `noninteractive1' to emacs.c (main_1).
8603 * emacs.c (main_1): protect LISP-visible command-line flags
8606 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
8608 * Makefile.in.in (versionclean): Use EXE_TARGET and
8609 DUMP_TARGET instead of literal program names.
8611 2000-09-20 Martin Buchholz <martin@xemacs.org>
8613 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
8615 2000-09-19 Martin Buchholz <martin@xemacs.org>
8617 * *: Spelling mega-patch
8619 2000-09-19 Martin Buchholz <martin@xemacs.org>
8621 * fns.c (bad_bad_turtle):
8622 Delete "Eek!" comment, since we fixed the bug to which it refers.
8624 2000-09-16 Martin Buchholz <martin@xemacs.org>
8626 * alloca.c: Replace REGISTER with register.
8628 2000-09-16 Daiki Ueno <ueno@unixuser.org>
8630 * file-coding.c (ucs_to_char): Use countof.
8632 2000-09-16 Martin Buchholz <martin@xemacs.org>
8634 * file-coding.c: (ucs_to_char):
8635 (complex_vars_of_file_coding):
8636 Use countof instead of sizeof.
8637 Use CHECK_NATNUM instead of CHECK_INT.
8639 * sysdep.c (strcasecmp): Remove.
8640 * device-x.c (ascii_strcasecmp): New.
8641 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
8642 Avoid using non-standard non-portable strcasecmp.
8644 2000-09-16 Martin Buchholz <martin@xemacs.org>
8646 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
8647 * font-lock.c: remove reference to emacsfns.h.
8648 * search.c: small doc improvement.
8649 * event-Xt.c: correct file names in comments.
8650 * console-x.h Correct file names in comments.
8651 * frame.c: Correct file names in comments.
8652 * event-stream.c: remove Energize from comments.
8654 2000-09-15 Martin Buchholz <martin@xemacs.org>
8656 * symeval.h (DEFERROR_STANDARD):
8659 (DEFSYMBOL_NO_DUMP):
8660 (DEFSYMBOL_MULTIWORD_PREDICATE):
8661 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
8663 The construct &##name is not sensible C.
8664 Fixes compilation errors with Unixware native compiler.
8666 2000-09-14 Martin Buchholz <martin@xemacs.org>
8668 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
8669 (next_frame_internal): Removed. We now just have next_frame.
8671 Write a simpler and cleaner one-pass algorithm.
8672 Remove called_from_delete_device arg and #ifdefed-out code.
8674 Renamed from prev_frame. Update callers.
8675 Cleaned up to have an analogous implementation to next_frame.
8676 (other_visible_frames_internal): Remove the
8677 called_from_delete_device bogus arg, and hence, remove this
8678 function. Just use other_visible_frames().
8680 * window.c (Fnext_window):
8682 Since next_frame() is guaranteed to return a frame, remove check
8683 for nil inserted in previous patch.
8686 Make code look more like Fnext_window.
8688 Respect the `console' arg when iterating through windows.
8689 Fixes bug: (get-buffer-window buffer t device) not respecting
8691 This function needs more work, as others have pointed out.
8693 * frame.h: Rename prev_frame to previous_frame.
8694 device_matches_console_spec no longer takes a `frame' arg.
8699 Use EMACS_BLOCK_SIGNAL instead of sigblock.
8700 From "Golubev I. N." <gin@mo.msk.ru>.
8702 * make-src-depend: Fix typo.
8704 2000-09-13 Martin Buchholz <martin@xemacs.org>
8706 * window.c (Fnext_window):
8707 next_frame() might return nil, not a frame.
8709 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8711 * frame.c (next_frame_internal):
8712 We've passed a frame if we've passed its device.
8714 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8715 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
8717 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
8719 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8720 Allow option to suppress accelerators in menu/dialog items.
8721 (populate_or_checksum_helper): Pass dialog title through above.
8723 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
8725 * event-msw.c (mswindows_key_to_emacs_keysym):
8726 Add "pause" key, fix "menu" key.
8728 2000-09-09 Martin Buchholz <martin@xemacs.org>
8730 * eval.c (reinit_vars_of_eval):
8731 Increase max_lisp_eval_depth to 1000,
8732 required for thai-xtis.el to byte-compile under some circumstances.
8734 2000-09-04 Martin Buchholz <martin@xemacs.org>
8736 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
8739 2000-09-01 Martin Buchholz <martin@xemacs.org>
8741 * make-src-depend: Make the generated Makefiles smaller.
8743 * s/hpux.h (SETUP_SLAVE_PTY):
8744 Provide a %d in the format string for the errno argument.
8746 * editfns.c (Ftemp_directory):
8748 Avoid buffer overrun on very long file name.
8750 * input-method-xlib.c (XIM_init_device):
8751 6th parameter of XRegisterIMInstantiateCallback has different
8752 pointer types on different OSes, so simply cast to (void *).
8754 * unexhp9k800.c: Warning fixes. Fiddly changes.
8756 * sysdll.c (dll_open):
8757 shl_load will hang hard if passed a NULL filename.
8758 Simply return NULL for compatibility with dlopen.
8759 * sysdll.c: Conform to XEmacs coding standards.
8761 * sysdep.c (get_pty_max_bytes):
8762 Support pty input lines longer than 512 bytes on HP-UX 10.20.
8764 2000-08-31 Martin Buchholz <martin@xemacs.org>
8766 * tooltalk.c: Add #include <syssignal.h>
8768 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
8770 * s/hpux.h: Don't use undefined function sigunblock().
8772 2000-08-31 Martin Buchholz <martin@xemacs.org>
8774 * config.h.in: Add HAVE_BALLOON_HELP.
8775 * emacs.c: Use HAVE_BALLOON_HELP.
8776 * Makefile.in.in (x_objs):
8777 Make Balloon Help conditional on finding shape.h.
8779 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
8781 * syntax.c (regex_emacs_buffer_p): New variable.
8782 * syntax.h (regex_emacs_buffer_p): extern.
8783 * search.c (looking_at_1):
8785 (fast_string_match):
8786 (search_buffer): Set regex_emacs_buffer_p.
8787 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
8788 when before_dot, at_dot, after_dot.
8790 2000-08-23 Andy Piper <andy@xemacs.org>
8792 * gui-x.c (popup_selection_callback): Only set action_occurred
8793 when we really have an image instance.
8794 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
8796 2000-08-23 Andy Piper <andy@xemacs.org>
8798 * gui-msw.c (mswindows_handle_gui_wm_command): set
8800 * gui-x.c (popup_selection_callback): ditto.
8802 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
8803 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
8804 (struct Lisp_Image_Instance): add action_occurred flag.
8806 * glyphs.c (redisplay_subwindow): use action_occurred flag.
8807 (image_instance_changed): ditto.
8808 (reset_frame_subwindow_instance_cache): only unmap windows - do
8809 not remove them from the cache also.
8811 * glyphs-widget.c (tab_control_update): better debug.
8812 (progress_gauge_update): ditto.
8813 (layout_update): ditto.
8814 (layout_instantiate): ditto.
8815 (tab_control_order_only_changed): cope with null pending items.
8817 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
8818 debug. Force selection of an item when an action occurred. Cope
8819 with null pending_items.
8820 (mswindows_progress_gauge_redisplay): better debug.
8821 * glyphs-x.c (x_tab_control_redisplay): ditto.
8823 * redisplay.c (redisplay_frame): reset the frame cache if the
8826 * window.c (Fset_window_configuration): potentially re-enable
8828 (window_unmap_subwindows): need to finalize instances here since
8829 it is only used in mark_window_as_deleted.
8831 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
8833 * nas.c (SndOpenDataForReading):
8834 nas.c (WaveOpenDataForReading):
8835 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
8836 Somehow escaped from the 2000-08-14 patch.
8838 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
8840 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
8841 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
8843 2000-08-21 Andy Piper <andy@xemacs.org>
8845 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
8846 window if it is not already displayed.
8848 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
8849 it is not already displayed.
8851 * window.c (Fset_window_configuration): don't reset the frame
8854 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
8855 instances from the frame cache if we are actually finalizing them.
8856 (reset_frame_subwindow_instance_cache): reset frame cache only
8857 after unmapping everything.
8858 (map_subwindow): set displayed flag after mapping.
8860 2000-08-21 Martin Buchholz <martin@xemacs.org>
8862 * data.c (indirect_function):
8863 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
8865 * eval.c (function_argcount):
8866 Use original function when signaling errors.
8868 2000-08-18 Andy Piper <andy@xemacs.org>
8870 * frame.c (delete_frame_internal): use new
8871 free_frame_subwindow_instances name.
8873 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
8874 (add_tab_item): make return type correct.
8875 (mswindows_tab_control_instantiate): assert index of tab.
8876 (mswindows_tab_control_redisplay): Re-code to use
8877 gui_item_equal_sans_selected and gui_item_list_find_selected.
8879 * glyphs-widget.c (tab_control_update): Correct comment.
8881 * window.c (window_unmap_subwindows): use new
8882 unmap_subwindow_instance_cache_mapper.
8883 (window_unmap_subwindows_cache_mapper): deleted.
8884 (Fset_window_configuration): comparisons should now be with
8885 EQ. Preserve the subwindow instance cache across configuration
8887 (allocate_window): ditto.
8888 (make_dummy_parent): ditto.
8890 * glyphs.c (free_frame_subwindow_instances): rename from
8891 free_frame_subwindow_instance_cache. finalize all instances rather
8892 than just those in the display cache.
8893 (finalize_all_subwindow_instances): walk windows unmapping and
8894 finalizing subwindows.
8895 (unmap_subwindow_instance_cache_mapper): moved from
8896 window.c. Allow finalization as well as unmapping.
8898 * gui.c (gui_item_list_find_selected): new function.
8900 * gui.h (gui_item_list_find_selected): declare.
8902 * glyphs-x.c (x_tab_control_redisplay): pick tab
8903 explicitly. Re-code to use gui_item_equal_sans_selected and
8904 gui_item_list_find_selected.
8906 * glyphs-x.h: add lwlib-utils.h
8908 * buffer.c (Frecord_buffer): undo previous change.
8910 2000-08-09 Vin Shelton <acs@xemacs.org>
8912 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
8913 possible. Create temporary files more securely. The patch was
8914 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
8915 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
8916 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
8919 2000-08-07 Ben Wing <ben@xemacs.org>
8921 * getloadavg.c: remove duplicate (and windows-breaking)
8922 includes of fcntl.h and sys/file.h.
8924 * nt.c: remove duplicate getloadavg() definition.
8926 * sysdll.h (Qdll_filename_encoding): add missing stand-in
8929 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
8931 * eval.c (function_argcount): If function needs to be autoloaded
8932 actually use the loaded definition.
8935 2000-08-05 Ben Wing <ben@xemacs.org>
8937 * getloadavg.c: add prototype for getloadavg(). remove
8938 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
8939 of the code). remove duplicate header includes.
8941 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
8943 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
8944 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
8945 useful load average.
8947 * alloc.c (reinit_alloc_once_early): removed references to
8948 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
8949 the lisp vars are the only things referencing the malloc_sbrk_*
8950 vars, and they were already if 0'd out. these vars only exist
8951 in the older malloc.c, which is basically unused, and they're
8952 only for informational purposes.
8954 * m\*.h: removed useless VIRT_ADDR_VARIES.
8956 * m\powerpc.h: removed stray NO_ARG_ARRAY.
8958 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
8960 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
8961 color if the image is a mono pixmap.
8963 2000-07-30 Ben Wing <ben@xemacs.org>
8965 * Makefile.in.in (release):
8968 * buffer.c (directory_is_current_directory):
8969 * dired-msw.c (mswindows_get_files):
8971 * dired.c (Fdirectory_files):
8972 * dired.c (file_name_completion_stat):
8973 * dired.c (Ffile_attributes):
8974 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
8975 preprocessor tricks, to avoid problems on some machines
8978 * callproc.c (egetenv): GC docs.
8981 * console-msw.h (struct mswindows_dialog_id):
8982 * lrecord.h (lrecord_type):
8983 New object for use with MSW dialogs.
8985 * console.h (struct console_methods):
8986 New enable/disable frame methods, for proper modal dialogs.
8988 * device-msw.c (msprinter_default_printer): Fix to follow
8989 proper Mule conventions.
8992 * device-msw.c (signal_open_printer_error):
8993 * device-msw.c (msprinter_init_device):
8994 * device-msw.c (ensure_not_printing):
8995 * device-msw.c (plist_get_margin):
8996 * device-msw.c (Fmsprinter_select_settings):
8997 * device-msw.c (finalize_devmode):
8998 * device-msw.c (Fmsprinter_settings_despecialize):
8999 * device-msw.c (signal_enum_priner_error):
9000 * extents.c (decode_extent):
9001 * extents.c (decode_map_extents_flags):
9002 * extents.c (decode_extent_at_flag):
9003 * extents.c (Fextent_at):
9004 * extents.c (Fextents_at):
9005 * extents.c (symbol_to_glyph_layout):
9006 [[[[2]]]] Use structured errors.
9009 * dialog-msw.c (mswindows_is_dialog_msg):
9010 * dialog-msw.c (mark_mswindows_dialog_id):
9011 * dialog-msw.c (dialog_proc):
9012 * dialog-msw.c (handle_question_dialog_box):
9013 * dialog-msw.c (syms_of_dialog_mswindows):
9014 Define new object to clean up marking; use it as a dialog identifier.
9015 Call new delete-dialog-box-hook.
9017 * dialog-x.c (dbox_selection_callback):
9018 * dialog-x.c (dbox_descriptor_to_widget_value):
9019 * dialog-x.c (x_make_dialog_box_internal):
9020 Call new delete-dialog-box-hook.
9024 * dialog.c (syms_of_dialog):
9025 * dialog.c (vars_of_dialog):
9026 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
9029 * eval.c (signal_call_debugger):
9030 when noninteractive, output stack traces on the console instead
9031 of in a (never-seen) buffer.
9033 * eval.c (signal_type_error):
9034 * eval.c (invalid_argument_2):
9036 new funs for use w/structured errors.
9039 * event-Xt.c (x_to_emacs_keysym):
9040 * event-Xt.c (describe_event):
9041 * event-Xt.c (emacs_Xt_event_handler):
9042 * event-Xt.c (vars_of_event_Xt):
9044 * event-msw.c (mswindows_wnd_proc):
9045 * event-msw.c (vars_of_event_mswindows):
9046 rename {x,mswindows}-debug-events to debug-{}-events for
9047 consistency with other debug-foo variables.
9050 document next-event more clearly.
9052 * fileio.c (Ffile_name_directory):
9053 * fileio.c (Ffile_name_nondirectory):
9054 * fileio.c (Funhandled_file_name_directory):
9055 * fileio.c (file_name_as_directory):
9056 * fileio.c (Ffile_name_as_directory):
9057 * fileio.c (directory_file_name):
9058 * fileio.c (Fdirectory_file_name):
9059 * fileio.c (Fmake_temp_name):
9060 * fileio.c (Ffile_truename):
9061 * fileio.c (Fsubstitute_in_file_name):
9062 * fileio.c (expand_and_dir_to_file):
9063 * fileio.c (barf_or_query_if_file_exists):
9064 * fileio.c (check_executable):
9065 * fileio.c (Ffile_exists_p):
9066 * fileio.c (Ffile_writable_p):
9067 * fileio.c (Ffile_directory_p):
9068 * fileio.c (Ffile_regular_p):
9069 * fileio.c (Ffile_modes):
9070 * fileio.c (Ffile_newer_than_file_p):
9071 * fileio.c (Fverify_visited_file_modtime):
9072 * fileio.c (Fset_visited_file_modtime):
9073 * fileio.c (auto_save_1):
9078 * frame-msw.c (mswindows_init_frame_1):
9079 * frame-msw.c (mswindows_enable_frame):
9080 * frame-msw.c (error_frame_unsizable):
9081 * frame-msw.c (msprinter_init_frame_1):
9082 * frame-msw.c (msprinter_init_frame_3):
9083 * frame-msw.c (console_type_create_frame_mswindows):
9085 implement new enable/disable frame methods.
9088 * frame-x.c (x_enable_frame):
9089 * frame-x.c (console_type_create_frame_x):
9090 implement new enable/disable frame methods.
9093 * frame.c (Fdisable_frame):
9094 * frame.c (syms_of_frame):
9095 * frame.h (struct frame):
9096 implement new enable/disable frame methods/functions.
9101 * glyphs-msw.c (mswindows_widget_instantiate):
9102 comment that initial-focus should be implemented.
9105 * glyphs-widget.c (check_valid_instantiator):
9106 * glyphs-widget.c (check_valid_orientation):
9107 * glyphs-widget.c (check_valid_tab_orientation):
9108 * glyphs-widget.c (check_valid_justification):
9109 * glyphs-widget.c (check_valid_border):
9110 * glyphs-widget.c (check_valid_callback):
9111 * glyphs-widget.c (check_valid_int_or_function):
9112 * glyphs-widget.c (check_valid_string_or_vector):
9113 * glyphs-widget.c (check_valid_item_list_1):
9114 * glyphs-widget.c (widget_validate):
9115 * glyphs-widget.c (combo_box_validate):
9116 * glyphs-widget.c (widget_instantiate):
9117 * glyphs-widget.c (syms_of_glyphs_widget):
9118 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
9119 * glyphs-widget.c (image_instantiator_combo_box):
9120 * glyphs-widget.c (image_instantiator_scrollbar):
9121 * glyphs-widget.c (image_instantiator_tab_control):
9122 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
9124 support (unimplemented) keyword initial-focus.
9125 reindent long macros.
9127 * glyphs-x.c (x_redisplay_widget):
9128 * glyphs-x.c (x_button_instantiate):
9129 * glyphs-x.c (x_button_redisplay):
9130 * glyphs-x.c (x_progress_gauge_instantiate):
9131 * glyphs-x.c (x_edit_field_instantiate):
9132 * glyphs-x.c (x_combo_box_instantiate):
9133 * glyphs-x.c (x_tab_control_instantiate):
9134 * glyphs-x.c (x_label_instantiate):
9136 * gui-x.c (button_item_to_widget_value):
9137 * gui-x.c (gui_items_to_widget_values_1):
9138 * gui-x.c (gui_item_children_to_widget_values):
9139 * gui-x.c (gui_items_to_widget_values):
9141 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9142 add new flag to gui-parsing routines to indicate whether
9143 accelerator specs should be supported.
9145 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
9147 * glyphs.h (struct Lisp_Image_Instance):
9148 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
9149 add initial-focus flag.
9152 * gui.c (syms_of_gui):
9153 * gui.c (vars_of_gui):
9154 clean up menu-no-selection-hook.
9157 support delete-dialog-box-hook.
9159 * lread.c (Fload_internal):
9160 * lread.c (locate_file_in_directory_mapper):
9164 * lrecord.h (struct toolbar_button):
9165 * lrecord.h (syms_of_toolbar):
9166 document how to create a new object.
9168 * menubar-msw.c (mswindows_char_is_accelerator):
9169 may be called on frames w/o menus.
9171 * menubar.c (vars_of_menubar):
9172 clean up :filter docs.
9179 * process-nt.c (validate_signal_number):
9180 * process-nt.c (signal_cannot_launch):
9181 * process-nt.c (nt_create_process):
9182 * process-nt.c (nt_send_process):
9183 * process-nt.c (nt_kill_child_process):
9184 * process-nt.c (nt_open_network_stream):
9185 * process-nt.c (syms_of_process_nt):
9187 delete quote-handling. call new lisp code that does it better.
9189 * process-unix.c (connect_to_file_descriptor):
9190 * process-unix.c (allocate_pty):
9191 * process-unix.c (unix_send_process):
9192 * process-unix.c (unix_kill_child_process):
9193 * process-unix.c (unix_open_network_stream):
9194 * process-unix.c (unix_open_multicast_group):
9198 * process.c (Fstart_process_internal):
9199 (2). need to canonicalize process path even if absolute.
9201 * select-msw.c (symbol_to_ms_cf):
9202 * select-msw.c (ms_cf_to_symbol):
9203 * select-msw.c (cf_is_autofreed):
9204 * select-msw.c (mswindows_destroy_selection):
9206 * select.c (syms_of_select):
9208 support dibv5, fix bugs. (from Mike Alexander)
9210 * select.c (Fget_selection_internal):
9211 * select.c (select_convert_out):
9214 * sysdep.c (xemacs_stat):
9219 but keep original stat() here because we provide encapsulation
9223 * sysfile.h (fstat):
9224 remove stat garbage.
9228 don't include tchar.h. it's inappropriate because it makes
9229 compile-time distinctions when we want runtime distinctions.
9230 (we provide our own tchar replacements)
9233 use default object printer for toolbar-button.
9236 make sure we don't encapsulate.
9238 * window.c (vars_of_window):
9239 emphasize that temp-buffer-show-hook is obsolete.
9241 2000-08-05 Martin Buchholz <martin@xemacs.org>
9243 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9244 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9246 * events.c (Fevent_timestamp_lessp):
9247 Not 64-bit clean. Use EMACS_INT, not int.
9249 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
9251 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
9252 unsigned int and changed the last enum to
9253 lrecord_type_last_built_in_type.
9254 (lrecord_implementations_table): changed prototype to know how
9255 long the array is supposed to be.
9256 (lrecord_type_count): new unsigned int to keep track of the
9257 current number of lisp lrecord types.
9258 (DEFINE_EXTERNAL_LRECORD):
9259 (DECLARE_EXTERNAL_LRECORD): Added these two for external
9260 dynamic-modules to declare new lisp types. They are the same
9261 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
9262 int for each new type, and increment lrecord_type_count by 1.
9264 * alloc.c (lrecord_implementations_table): Changed to reference
9265 lrecord_type_last_built_in_type for the size of the array.
9266 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
9268 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9270 * glyphs.h (check_valid_item_list): Renamed from
9271 check_valid_item_list_1.
9273 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
9275 * select.c (Qselect_coerce): New.
9276 * select.c (Vselection_coercion_alist): New.
9277 * select.c (syms_of_select): Declare.
9278 * select.c (get-selection-internal): Use it.
9279 Use the new select-coerce functionality.
9281 * select.c (select_coerce): New.
9282 * select.h (select_coerce): Declare.
9283 New function to coerce one type of data into another.
9285 2000-08-03 Martin Buchholz <martin@xemacs.org>
9287 * callproc.c (Fcall_process_internal):
9288 (Fcall_process_internal):
9289 * process-unix.c (unix_create_process):
9290 Save and restore the value of errno, so that error messages are accurate.
9292 2000-08-01 Martin Buchholz <martin@xemacs.org>
9294 * elhash.c (print_hash_table):
9295 Fix printing of hash tables to also use `key-and-value' instead of `t'.
9296 Prettify docstrings and indentation.
9298 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9300 * window.c (Fwindow_pixel_edges): Subtract frame border and
9303 2000-07-31 Andy Piper <andy@xemacs.org>
9305 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
9306 will acknowledge the change.
9308 * glyphs.h: declare tab_control_order_only_changed.
9310 * glyphs-x.c (x_tab_control_redisplay): use
9311 tab_control_order_only_changed.
9313 * glyphs-widget.c (tab_control_order_only_changed): new function.
9315 * glyphs-msw.c (mswindows_tab_control_redisplay): use
9316 tab_control_order_only_changed.
9318 * gui.c (gui_item_equal_sans_selected): new function.
9319 (gui_item_equal): use it.
9321 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
9322 :properties in favor of :items..
9324 * glyphs-widget.c (check_valid_item_list): rename from
9325 check_valid_item_list_1.
9326 (check_valid_item_list_1): renamed.
9327 (combo_box_validate): deprecate :properties in favor of :items.
9328 (widget_instantiate): ditto.
9329 (tab_control_update): ditto.
9330 (image_instantiator_combo_box): ditto.
9331 (image_instantiator_tree_view): ditto.
9332 (image_instantiator_tab_control): ditto.
9333 (layout_post_instantiate): remove dead code.
9335 * print.c (debug_print_no_newline): only write to debugger if in
9338 * elhash.c (Fmake_hash_table): update doc string.
9340 * event-msw.c (mswindows_wnd_proc): don't allow processing of
9341 messages whilst in GC. This at least stops XEmacs crashing but has
9342 the potential for wierd behaviour.
9344 2000-07-31 Martin Buchholz <martin@xemacs.org>
9347 Make existence of s&m files optional.
9349 * s/bsd386.h: Remove HAVE_GETLOADAVG.
9350 * s/freebsd.h: Remove HAVE_GETLOADAVG.
9351 * s/gnu.h: Remove HAVE_GETLOADAVG.
9352 * s/netbsd.h: Remove HAVE_GETLOADAVG.
9353 * s/sol2.h: Remove HAVE_GETLOADAVG.
9354 * lisp.h: Remove getloadavg() declaration.
9356 Include <sys/loadavg.h> if available.
9357 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
9358 * config.h.in: Group together getloadavg()-related macros.
9359 Use only configure-time tests to detect getloadavg().
9361 2000-07-30 Martin Buchholz <martin@xemacs.org>
9363 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
9365 2000-07-25 Andy Piper <andy@xemacs.org>
9367 * syswindows.h: add tchar.h for native builds.
9369 * frame.c (syms_of_frame): remove set-glyph-image.
9371 * general-slots.h: add Qset_glyph_image.
9373 * glyphs-widget.c (layout_update): add domain arg to
9375 (syms_of_glyphs_widget): remove set-glyph-image.
9377 2000-07-23 Ben Wing <ben@xemacs.org>
9379 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
9382 2000-07-22 Andy Piper <andy@xemacs.org>
9384 * symsinit.h: add syms_of_win32().
9386 * gui-msw.c (syms_of_gui_mswindows): remove
9387 Fmswindows_shell_execute.
9388 (Fmswindows_shell_execute): moved to win32.c.
9390 * emacs.c (main_1): add syms_of_win32 ().
9392 * win32.c (init_potentially_nonexistent_functions): rewrite in
9393 compiler-friendly terms.
9394 (Fmswindows_shell_execute): move here from gui-msw.c.
9395 (syms_of_win32): new.
9397 * device-msw.c (Fmswindows_printer_list): clean up args to
9399 Don't include tchar under cygwin or mingw.
9400 (msprinter_default_printer): make cygwin-friendly.
9402 2000-07-21 Andy Piper <andy@xemacs.org>
9404 * glyphs-widget.c (image_instantiator_tree_view): use tab
9405 control's update function.
9406 (layout_property): new function. Retrieve items.
9408 * glyphs-msw.c (mswindows_tree_view_redisplay): new
9409 function. Re-populate the tree view from the pending items.
9411 * glyphs.c (instantiate_image_instantiator): Make sure the domain
9412 is designated the parent if the domain is an image instance. This
9413 is needed so that dirtiness can be cascade up the hierarchy and
9414 thus for layout children to be redisplayed correctly.
9415 (allocate_image_instance): rename glyph -> parent.
9417 * redisplay.h: change redisplay_output_layout signature.
9419 * redisplay-msw.c (mswindows_output_display_block): use domain
9422 * redisplay-x.c (x_output_display_block): use domain arg.
9424 2000-07-10 Andy Piper <andy@xemacs.org>
9426 * window.c (Fset_window_configuration): add comment.
9428 * redisplay-output.c (compare_runes):
9429 (redisplay_output_subwindow): redisplay rather than update subwindow.
9430 (redisplay_output_layout): ditto.
9432 * redisplay-msw.c (mswindows_frame_output_end):
9433 (mswindows_frame_output_end): make defer window pos optional.
9435 * lisp.h: add Flast.
9437 * glyphs.h (struct image_instantiator_methods): add dest_mask top
9438 normalize method. Change update method to be for changed
9439 instantiators. Add redisplay method. Change signature of layout
9441 (struct Lisp_Image_Instance): add instantiator.
9442 (IMAGE_INSTANCE_INSTANTIATOR): new.
9443 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
9444 (XIMAGE_INSTANCE_INSTANTIATOR): new.
9445 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
9448 (find_instantiator_differences): new function.
9449 (Fset_instantiator_property): new convenience function.
9450 (check_image_instance_structure): strictly check for vector
9452 (normalize_image_instantiator): make non-static.
9453 (instantiate_image_instantiator): pass on dest_mask and use new
9454 signatures for image_instance_layout and friends.
9455 (mark_image_instance): mark the instantiator. Mark the subwindow
9456 face not the widget face.
9457 (image_instance_equal): add instantiator.
9458 (image_instance_hash): ditto.
9459 (allocate_image_instance): ditto.
9460 (Fset_image_instance_property): removed.
9461 (Fimage_instance_file_name): ditto.
9462 (Fcolorize_image_instance): ditto.
9463 (image_instance_layout): add offsets to be set.
9464 (update_image_instance): new function. update an image instance
9465 from its changed instantiator.
9466 (inherit_normalize): add dest_mask.
9467 (xbm_normalize): ditto.
9468 (xface_normalize): ditto.
9469 (xpm_normalize): ditto.
9470 (text_update): set_property -> update.
9471 (image_instantiate): use the glyph identity as a hash key, not the
9473 (glyph_width): use new image_instance_layout signature.
9474 (glyph_ascent): ditto.
9475 (glyph_descent): ditto.
9476 (glyph_height): ditto.
9477 (glyph_query_geometry): ressurrect.
9478 (glyph_layout): ditto.
9479 (redisplay_subwindow): update -> redisplay.
9480 (syms_of_glyphs): add Fset_instantiator_property.
9481 (image_instantiator_format_create): set_property -> update.
9484 (autodetect_normalize): add dest_maks to signature.
9485 (x_redisplay_subwindow): update -> redisplay.
9486 (x_redisplay_widget): ditto.
9487 (x_button_redisplay): ditto.
9488 (x_progress_gauge_redisplay): ditto.
9489 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
9491 (console_type_create_glyphs_x): update -> redisplay.
9492 (image_instantiator_format_create_glyphs_x): ditto.
9495 (check_valid_instantiator): disallow glyphs in the instantiator,
9496 they must now be vectors.
9497 (check_valid_instantiator_list): ditto.
9498 (glyph_instantiator_to_glyph): use internal symbol rather than
9500 (widget_update): renamed from widget_set_property. Call cascaded
9502 (redisplay_widget): renamed from update_widget.
9503 (widget_layout): image_instance_layout now takes position as well
9505 (widget_normalize): ditto.
9506 (widget_instantiate): ditto.
9507 (tab_control_query_geometry) ditto.:
9508 (tab_control_update): renamed from tab_control_set_property.
9509 (progress_gauge_update): set_property -> update.
9510 (layout_normalize): rewrite so that child instantiators are
9512 (layout_update): new function. Create glyphs from the normalized
9513 children and cope with any other layout keywords. We do not
9514 instantiate children here that will be take care of by
9515 redisplay_output_layout.
9516 (layout_instantiate): call layout_update and not much else.
9517 (layout_post_instantiate): not sure whether this is needed
9519 (layout_query_geometry): query glyph geometry rather than
9520 image_instance geometry.
9521 (layout_layout): set offsets from pass in parameters. Use glyph
9522 geometry and layout functions rather than image instance ones.
9523 (native_layout_layout): ditto.
9524 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
9525 (image_instantiator_widget): set_property -> update.
9526 (image_instantiator_buttons): ditto.
9527 (image_instantiator_progress_guage): ditto.
9528 (image_instantiator_tab_control): ditto.
9529 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
9530 (image_instantiator_layout): add update method.
9532 * glyphs-msw.c (bmp_normalize):
9533 (mswindows_resource_normalize): add dest_mask so that it can be
9534 proprogated by layout_normalize.
9535 (begin_defer_window_pos): make optional because it may not be the
9536 right thing to do and it introduces differences with X.
9537 (mswindows_unmap_subwindow): ditto.
9538 (mswindows_map_subwindow): ditto.
9539 (mswindows_redisplay_subwindow): renamed from
9540 mswindows_update_subwindow.
9541 (mswindows_redisplay_widget): ditto.
9542 (mswindows_button_redisplay): renamed from
9543 mswindows_button_update. Update is now what the instantiation
9544 function does for a changed instantiator.
9545 (mswindows_progress_gauge_instantiate): set the progress value
9546 here if appropriate.
9547 (mswindows_tab_control_redisplay): cope with re-ordering of the
9548 members of the tab widget by simply selecting the new top
9549 widget. This makes things appear ok if you click on a tab.
9550 (mswindows_combo_box_instantiate): image_instance_layout now takes
9551 position as well as size.
9552 (mswindows_progress_gauge_redisplay): renamed from
9553 mswindows_progress_gauge_update.
9554 (console_type_create_glyphs_mswindows): fix update -> redisplay.
9555 (image_instantiator_format_create_glyphs_mswindows): ditto.
9557 * glyphs-eimage.c (jpeg_normalize):
9560 (tiff_normalize): add dest_mask so that it can be proprogated by
9565 (hash_table_weakness_validate):
9566 (decode_hash_table_weakness):
9567 (Fhash_table_weakness):
9569 (syms_of_elhash): use Ben's naming scheme for hashtable types..
9571 * console.h (struct console_methods): move update_* to
9574 2000-07-20 Ben Wing <ben@xemacs.org>
9576 * *.[ch] (XSETOBJ): remove unused middle argument.
9577 lisp-disunion.h: correct wrap_object() to one argument.
9579 2000-07-15 Ben Wing <ben@xemacs.org>
9582 * s/cygwin32.h (CYGWIN_CONV_PATH):
9583 Add missing logb prototype for v1.1.
9584 Use post-b20 names and alias to pre-b20 names when pre-b20.
9586 * s/windowsnt.h: [5].
9588 2000-07-15 Ben Wing <ben@xemacs.org>
9590 * Makefile.in.in (x_objs):
9591 * Makefile.in.in (sheap_objs):
9592 * Makefile.in.in (objs):
9593 added win32.o, cosmetic cleanups.
9595 * alloc.c (Fmake_byte_code):
9596 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
9597 etc. macros which declare their own args now.
9599 * alloc.c (syms_of_alloc):
9600 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
9603 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
9605 * buffer.c (Fget_file_buffer):
9606 Fixed GCPRO problem.
9608 * buffer.c (get_truename_buffer):
9609 Fixed comment about GC checking.
9611 * buffer.c (syms_of_buffer):
9612 Undeclared those dedicated frame funs.
9616 Define convenience macros for internal/external conversions.
9617 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
9618 and Qenvironment_variable_encoding for cleaner code.
9621 Remove dedicated-frame; in lisp.
9623 * bytecode.c (funcall_compiled_function):
9626 * bytecode.c (syms_of_bytecode):
9630 * console-msw.c (mswindows_show_console): Rewrote.
9632 * console-msw.c (Fmswindows_debugging_output): New.
9633 Sends to OutputDebugString (special MSWin debugger interface).
9635 * console-msw.c (Fmswindows_message_box):
9636 Fixed stupid bugs so it works when called from kill-emacs.
9638 * console-msw.c (syms_of_console_mswindows):
9639 Declare Fmswindows_debugging_output.
9642 New MSWin prototypes.
9644 * console-msw.h (struct mswindows_frame):
9645 New entry last-click-mods for improved button-modifier support.
9647 * console-msw.h (FRAME_MSWINDOWS_POPUP):
9648 New struct entry `popup' with corresponding accessor.
9651 * console-x.c (split_up_display_spec):
9652 * console-x.c (get_display_arg_connection):
9653 * console-x.c (x_semi_canonicalize_console_connection):
9654 * console-x.c (x_canonicalize_device_connection):
9655 [[[6]]]: Change char to more specific type.
9656 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
9658 * console-x.c (x_semi_canonicalize_console_connection):
9659 * console-x.c (x_canonicalize_device_connection):
9660 [[[9]]]: Fix up error signalling to use new structured error system.
9663 [[[4]]]: Define codesys aliases:
9664 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
9665 Qx_color_name_encoding, Qx_display_name_encoding.
9667 * console.h (struct console_methods):
9668 New method make_dialog_box_internal supersedes older
9669 popup_dialog_box method.
9672 Define many new errors, part of new structured errors.
9674 * data.c (init_errors_once_early):
9675 * data.c (syms_of_data):
9678 * device-msw.c (mswindows_init_device):
9679 [[[5]]]: Cleanup to support NT 3.51.
9681 * device-msw.c (decode_devmode): Cleanup.
9683 * device-msw.c (mswindows_handle_print_setup_dialog_box):
9684 * device-msw.c (mswindows_handle_print_dialog_box):
9685 * device-msw.c (mswindows_handle_page_setup_dialog_box):
9686 * device-msw.c (syms_of_device_mswindows):
9687 Delete the dialog box primitives recently introduced by Kirill and
9688 instead interface to general dialog box interface.
9691 * device-x.c (compute_x_app_name):
9692 * device-x.c (x_init_device):
9693 * device-x.c (Fx_valid_keysym_name_p):
9694 * device-x.c (Fx_set_font_path):
9698 * device.h (wrap_device): New.
9699 First of its kind; meant to replace XSETDEVICE.
9701 * dialog-msw.c: Many file-dialog symbols.
9703 * dialog-msw.c (mswindows_register_popup_frame): New.
9704 * dialog-msw.c (mswindows_is_dialog_msg): New.
9705 For supporting kbd traversal in dialog boxes.
9707 * dialog-msw.c (dialog_proc):
9708 Support hitting ESC in dialogs.
9710 * dialog-msw.c (struct):
9711 Common dialog box errors.
9713 * dialog-msw.c (handle_file_dialog_box): New.
9714 Add file dialog code.
9716 * dialog-msw.c (handle_question_dialog_box):
9717 Redo existing code to support new question dialog syntax.
9719 * dialog-msw.c (console_type_create_dialog_mswindows):
9720 We support new dialog console method.
9722 * dialog-msw.c (syms_of_dialog_mswindows):
9723 * dialog-msw.c (vars_of_dialog_mswindows):
9724 New file dialog symbols, vars.
9727 * dialog-x.c (maybe_run_dbox_text_callback):
9728 * dialog-x.c (dbox_descriptor_to_widget_value):
9729 * dialog-x.c (x_make_dialog_box_internal):
9730 * dialog-x.c (console_type_create_dialog_x):
9731 Mule-ize entire file.
9732 Redo to support question dialog syntax.
9736 * dialog.c (Fmake_dialog_box_internal):
9737 * dialog.c (syms_of_dialog):
9738 Kill old popup-dialog-box, replace with new primitive.
9739 Just call device method or signal error.
9741 * eldap.c (Fldap_open):
9742 * eldap.c (Fldap_search_basic):
9743 * eldap.c (Fldap_add):
9744 * eldap.c (Fldap_modify):
9749 * emacs.c (make_arg_list_1):
9750 * emacs.c (make_arg_list):
9751 Mule-ize call to dll_init().
9755 * emacs.c (make_argc_argv):
9756 * emacs.c (free_argc_argv):
9757 * emacs.c (init_cmdargs):
9759 * emacs.c (Fkill_emacs):
9760 * emacs.c (Fdump_emacs):
9761 Update comments about what can be used in syms_* etc.
9762 Call init_win32() when necessary.
9763 Fix up MS Win dialog box in kill-buffer to actually work right.
9774 * eval.c (condition_case_3):
9776 * eval.c (function_argcount):
9777 * eval.c (funcall_lambda):
9780 * eval.c (type_error): New.
9781 * eval.c (maybe_type_error): New.
9782 * eval.c (continuable_type_error): New.
9783 * eval.c (maybe_continuable_type_error): New.
9784 * eval.c (type_error_with_frob): New.
9785 * eval.c (maybe_type_error_with_frob): New.
9786 * eval.c (continuable_type_error_with_frob): New.
9787 * eval.c (maybe_continuable_type_error_with_frob): New.
9788 New functions for use with structured errors.
9791 * event-Xt.c (x_event_to_emacs_event):
9792 Buttons are now modifiers too.
9794 * event-Xt.c (emacs_Xt_current_event_timestamp):
9795 Implement new event method.
9796 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
9799 * event-msw.c (ntpipe_shove_writer): [5].
9800 * event-msw.c (mswindows_enqueue_mouse_button_event):
9801 * event-msw.c (mswindows_drain_windows_queue):
9802 * event-msw.c (mswindows_wnd_proc): [7].
9803 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
9804 * event-msw.c (mswindows_modifier_state):
9805 Throughout: support new button modifiers.
9807 * event-msw.c (emacs_mswindows_current_event_timestamp):
9808 Implement new event method.
9809 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
9812 * event-stream.c (event_stream_current_event_timestamp): New.
9813 * event-stream.c (maybe_kbd_translate): New functionality.
9814 * event-stream.c (vars_of_event_stream):
9815 Document new kbd-translate-table functionality.
9817 * event-stream.c (Fcurrent_event_timestamp): New.
9818 New primitive for use in fabricated events.
9819 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
9821 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
9824 * events.c (Fmake_event):
9825 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
9829 * events.c (format_event_object): fix gcc warnings.
9831 * events.c (Fevent_timestamp): Document new primitives.
9833 * events.c (TIMESTAMP_HALFSPACE): New.
9835 * events.c (Fevent_timestamp_lessp): New. New primitive for
9836 comparing timestamps correctly (half-space algorithm).
9838 * events.c (Fevent_modifier_bits): Doc fix.
9840 * events.c (Fevent_modifiers): Major doc addition.
9841 * events.c (event_x_y_pixel_internal): Typo fix.
9842 * events.c (syms_of_events): Declare new primitives.
9845 Update long comment for button modifiers, timestamps.
9847 * events.h (struct event_stream):
9848 New current_event_timestamp method.
9851 * extents.c (extent_in_region_p):
9852 * extents.c (decode_extent):
9853 * extents.c (Fset_extent_parent):
9854 * extents.c (decode_map_extents_flags):
9858 * extents.c (struct extent_at_arg):
9859 * extents.c (decode_extent_at_flag):
9860 * extents.c (extent_at_mapper):
9861 * extents.c (extent_at_bytind):
9862 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
9863 * extents.c (Fextents_at): New primitive. [9].
9864 * extents.c (symbol_to_glyph_layout): [9].
9865 Support new primitive `extents-at'.
9868 * extents.c (get_text_property_bytind):
9869 extent_at_bytind has another arg.
9872 * extents.c (syms_of_extents): New primitive.
9874 * file-coding.c (Fmake_coding_system): [1].
9875 * file-coding.c (subsidiary_coding_system): fix gcc warning
9876 * file-coding.c (syms_of_file_coding): [2].
9878 * fileio.c (Fexpand_file_name):
9879 * fileio.c (Fsysnetunam):
9880 * fileio.c (Ffile_exists_p):
9881 * fileio.c (Ffile_executable_p):
9882 * fileio.c (Fverify_visited_file_modtime):
9885 * fileio.c (syms_of_fileio): [2].
9887 * filelock.c (lock_file_1):
9888 * filelock.c (current_lock_owner):
9889 * filelock.c (lock_if_free):
9890 * filelock.c (lock_file):
9891 * filelock.c (unlock_file):
9894 * fns.c (concat): Fix gcc warning.
9897 * fns.c (Fold_member):
9899 * fns.c (Fold_memq):
9900 * fns.c (memq_no_quit):
9902 * fns.c (Fold_assoc):
9904 * fns.c (Fold_assq):
9905 * fns.c (assq_no_quit):
9907 * fns.c (Fold_rassoc):
9909 * fns.c (Fold_rassq):
9910 * fns.c (rassq_no_quit):
9912 * fns.c (Fold_delete):
9914 * fns.c (Fold_delq):
9915 * fns.c (delq_no_quit):
9916 * fns.c (Fremassoc):
9918 * fns.c (remassq_no_quit):
9919 * fns.c (Fremrassoc):
9920 * fns.c (Fremrassq):
9921 * fns.c (remrassq_no_quit):
9926 * frame-msw.c (mswindows_init_frame_1):
9927 * frame-msw.c (mswindows_delete_frame):
9928 Register popups with dialog code so keyboard traversing works.
9930 * frame-tty.c (tty_raise_frame_no_select): [1].
9933 * frame-x.c (x_set_frame_text_value):
9934 * frame-x.c (x_set_frame_properties):
9935 * frame-x.c (x_create_widgets):
9939 * frame.c (Fmouse_pixel_position): Minor doc fixes.
9941 * frame.h (wrap_frame): New.
9942 Macro like wrap_device.
9945 * general.c (SYMBOL):
9946 * general.c (syms_of_general):
9947 Major reorg. This is now just a wrapper and symbols themselves
9948 are listed in general-slots.h.
9950 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
9951 * glyphs-msw.c (mswindows_resource_instantiate): [5].
9953 * glyphs-msw.c (mswindows_native_layout_instantiate):
9954 Add DS_CONTROL so keyboard traversal will work.
9957 * glyphs-widget.c (syms_of_glyphs_widget):
9958 Move some symbols to general-slots.h.
9961 * glyphs-x.c (xbm_instantiate_1):
9962 * glyphs-x.c (x_xbm_instantiate):
9963 * glyphs-x.c (x_xface_instantiate):
9964 * glyphs-x.c (autodetect_instantiate):
9965 * glyphs-x.c (cursor_font_instantiate):
9966 * glyphs-x.c (x_update_widget):
9967 * glyphs-x.c (x_widget_instantiate):
9968 * glyphs.c (bitmap_to_lisp_data):
9969 * glyphs.c (pixmap_to_lisp_data):
9972 * glyphs.c (syms_of_glyphs):
9976 * gui-x.c (print_widget_value):
9977 * gui-x.c (menu_separator_style_and_to_external):
9978 * gui-x.c (add_accel_and_to_external):
9979 * gui-x.c (button_item_to_widget_value):
9980 * gui-x.c (gui_items_to_widget_values_1):
9981 * gui-x.c (gui_items_to_widget_values):
9982 * gui-x.c (syms_of_gui_x):
9983 * gui-x.c (vars_of_gui_x):
9984 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
9988 Muleize, prototype changes matching gui-x.c.
9991 * gui.c (separator_string_p):
9992 * gui.c (gui_item_add_keyval_pair):
9993 * gui.c (make_gui_item_from_keywords_internal):
9994 * gui.c (signal_too_long_error):
9995 * gui.c (parse_gui_item_tree_item):
9996 * gui.c (syms_of_gui):
9997 * gui.c (vars_of_gui):
9999 menu-no-selection-hook moved here (used by MSWin).
10000 Move some symbols to general-slots.h.
10004 * insdel.c (get_buffer_pos_char):
10005 * insdel.c (get_buffer_range_char):
10008 * keymap.c (keymap_lookup_directly):
10009 * keymap.c (keymap_store):
10010 * keymap.c (ensure_meta_prefix_char_keymapp):
10011 * keymap.c (describe_map):
10013 Support new button modifiers.
10015 * lisp-disunion.h (wrap_object):
10016 * lisp-disunion.h (XSETOBJ):
10017 Rename make_obj to wrap_object.
10020 * lisp-union.h (make_int):
10021 * lisp-union.h (make_char):
10022 Support wrap_object.
10025 * lisp.h (LIST_LOOP):
10026 * lisp.h (EXTERNAL_LIST_LOOP):
10027 * lisp.h (LIST_LOOP_2):
10028 * lisp.h (EXTERNAL_LIST_LOOP_1):
10029 * lisp.h (EXTERNAL_LIST_LOOP_2):
10030 * lisp.h (EXTERNAL_LIST_LOOP_3):
10031 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
10032 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10033 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
10034 * lisp.h (EXTERNAL_ALIST_LOOP_5):
10035 * lisp.h (EXTERNAL_ALIST_LOOP_6):
10036 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
10037 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
10038 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
10039 * lisp.h (struct Lisp_Symbol):
10040 * lisp.h (maybe_continuable_error_with_frob):
10041 Fix up section comments.
10042 Add new types for char to indicate usage.
10043 Delete symbols auto-generated from general-slots.h.
10044 Add prototypes for structured error functions.
10045 Add long comments describing looping macros and change interface
10046 so that lvalues are automatically declared.
10047 Add NO_DECLARE macro in case callers want to declare lvalues
10050 * lread.c (read_syntax_error):
10051 * lread.c (continuable_read_syntax_error):
10052 * lread.c (read_structure):
10053 * lread.c (sequence_reader):
10054 * lread.c (read_list_conser):
10055 * lread.c (read_compiled_function):
10056 Rename syntax_error and continuable_syntax_error to avoid clash
10057 with same-named structured error functions.
10059 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10060 * menubar-msw.c (populate_menu_add_item):
10061 * menubar-msw.c (populate_or_checksum_helper):
10066 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10067 Mule-ize whole file.
10069 * menubar.c (Fnormalize_menu_item_name): Add optimization.
10071 * mule-charset.c (Fmake_charset):
10072 * mule-wnnfns.c (Fwnn_set_param):
10075 * ntproc.c (create_child):
10076 * ntproc.c (Fwin32_set_current_locale):
10077 Add comments portending doom.
10080 * objects-msw.c (old_font_enum_callback_2):
10081 * objects-msw.c (font_enum_callback_1):
10082 * objects-msw.c (mswindows_enumerate_fonts):
10086 * objects-x.c (allocate_nearest_color):
10087 * objects-x.c (x_parse_nearest_color):
10088 * objects-x.c (x_initialize_color_instance):
10089 * objects-x.c (x_print_color_instance):
10090 * objects-x.c (x_finalize_color_instance):
10091 * objects-x.c (x_valid_color_name_p):
10092 * objects-x.c (x_initialize_font_instance):
10093 * objects-x.c (x_print_font_instance):
10094 * objects-x.c (valid_x_font_name_p):
10095 * objects-x.c (truename_via_FONT_prop):
10096 * objects-x.c (truename_via_random_props):
10097 * objects-x.c (truename_via_XListFonts):
10098 * objects-x.c (x_font_truename):
10099 * objects-x.c (x_font_instance_truename):
10100 * objects-x.c (x_font_instance_properties):
10101 * objects-x.c (x_list_fonts):
10102 * objects-x.c (x_find_charset_font):
10103 Mule-ize entire file.
10110 * print.c (std_handle_out_external):
10111 * print.c (debug_print_no_newline):
10112 * print.c (syms_of_print):
10113 Output to all debugger kinds in debug-print.
10114 Fix console-output code under MSWin to actually work.
10116 * process-nt.c (send_signal):
10117 * process-nt.c (nt_create_process):
10118 Use newer Unicode macros.
10120 * process-unix.c (unix_create_process):
10121 * process-unix.c (unix_canonicalize_host_name):
10122 * process-unix.c (unix_open_network_stream):
10128 * search.c (syms_of_search):
10131 * select-msw.c (mswindows_destroy_selection):
10134 * select-x.c (symbol_to_x_atom):
10137 * select.c (syms_of_select):
10140 * sound.c (Fplay_sound_file):
10144 * specifier.c (decode_specifier_type):
10145 * specifier.c (Fvalid_specifier_locale_type_p):
10146 * specifier.c (check_valid_locale_or_locale_type):
10147 * specifier.c (decode_locale):
10148 * specifier.c (decode_locale_type):
10149 * specifier.c (decode_locale_list):
10150 * specifier.c (check_valid_domain):
10151 * specifier.c (decode_specifier_tag_set):
10152 * specifier.c (Fcanonicalize_tag_set):
10153 * specifier.c (Fdefine_specifier_tag):
10154 * specifier.c (Fspecifier_tag_predicate):
10155 * specifier.c (check_valid_inst_list):
10156 * specifier.c (check_valid_spec_list):
10157 * specifier.c (decode_how_to_add_specification):
10158 * specifier.c (check_modifiable_specifier):
10159 * specifier.c (specifier_add_spec):
10160 * specifier.c (boolean_validate):
10161 * specifier.c (display_table_validate):
10164 * specifier.c (syms_of_specifier):
10165 Move some symbols to general-slots.h.
10169 * symbols.c (Fmapatoms):
10170 * symbols.c (Fapropos_internal):
10173 * symbols.c (set_default_buffer_slot_variable):
10174 * symbols.c (set_default_console_slot_variable):
10177 * symbols.c (defsymbol_massage_name_1):
10178 * symbols.c (defkeyword_massage_name):
10179 * symbols.c (deferror_1):
10180 * symbols.c (deferror):
10181 * symbols.c (deferror_massage_name_and_message):
10183 * symeval.h (DEFSYMBOL):
10184 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
10186 * symbols.c (syms_of_symbols):
10190 * symsinit.h (init_win32): New.
10191 Also new is syms_of_dialog_mswindows.
10194 Add new Unicode macros, missing Cygwin wide-char functions,
10195 convenience conversion macros for Qmswindows_tstr, macros for
10196 encapsulating required MSWin <-> Cygwin filename conversions,
10197 prototype for dynamically-extracted (not in NT 3.51) functions.
10202 * tooltalk.c (Fadd_tooltalk_message_arg):
10203 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10204 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10207 * tooltalk.c (syms_of_tooltalk):
10211 * unexnt.c (unexec):
10212 Fix up headers, declaration of unexec() to be more standard.
10214 2000-07-20 Martin Buchholz <martin@xemacs.org>
10216 * offix.h: Revert change to guard macros - they're used in offix.c!
10218 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10220 * lisp.h: Defsubred Fdelete.
10222 * console-msw.h: (msprinter_default_printer): Added.
10224 * console-msw.c (msprinter_canonicalize_console_connection):
10225 (msprinter_canonicalize_device_connection): Added.
10227 * device-msw.c (msprinter_default_printer):
10228 (Fmswingows_get_default_printer):
10229 (signal_enum_priner_error):
10230 (Fmswingows_printer_list): Added.
10232 2000-07-19 Martin Buchholz <martin@xemacs.org>
10234 * XEmacs 21.2.35 is released.
10236 2000-07-19 Martin Buchholz <martin@xemacs.org>
10238 * select-x.c (x_handle_selection_request):
10239 Text selected in xemacs and pasted into xterm failed to appear.
10240 Spelling fixes and cosmetic changes.
10242 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10244 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10245 XEmacs frame (fix for doubling chars in dialog boxes).
10247 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10249 * select.c (select_convert_in, select_convert_out):
10250 Don't call intern() every time.
10252 * select.c (Qselect_convert_in, Qselect_convert_out): New.
10253 * select.c (vars_of_select): Initialise them.
10255 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10257 * select.c (selection-coercible-types): New.
10259 * select.c (own-selection-internal):
10260 * select.c (get-selection-internal):
10261 MULE bug fix - these should default to COMPOUND_TEXT and not
10262 STRING for MULE. I think.
10264 * select.c (select_convert_out): Use selection-coercible-types
10265 to find types that we can attempt to perform coercions on.
10267 2000-07-18 Martin Buchholz <martin@xemacs.org>
10271 Add coding: cookie to identify encoding.
10273 * mule-canna.c (CANNA_mode_keys): make static.
10274 Use proper prototypes, even for functions of no arguments.
10275 Remove external prototype for Fding().
10277 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
10279 * select.c (syms_of_select): Add missing DEFSUBR.
10281 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10283 * select.c (get_selection_internal, own_selection_internal):
10284 Make the type default to STRING, rather than placing a nil type
10285 into Vselection_alist.
10287 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10289 * gpmevent.c (tty_selection_exists_p):
10290 * gpmevent.c (tty_own_selection):
10291 Updated parameter lists.
10293 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
10295 * select.h (selection-alist): Removed declaration.
10297 * select.h (get_local_selection):
10298 * select.c (get_local_selection):
10301 * select.h (convert_selection): Removed declaration.
10302 * select.c (convert_selection): Removed.
10303 This function belongs in Lisp.
10305 * select.h (select_convert_in): Declare.
10306 * select.h (select_convert_out): Declare.
10307 * select.c (select_convert_in): New.
10308 * select.c (select_convert_out): New.
10309 New conversion functions for other files to call.
10311 * select.h (select_notify_buffer_kill): Declare.
10312 * select.c (select_notify_buffer_kill): New.
10313 New functions that get called from kill-buffer.
10315 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
10316 X-specific lisp code.
10318 * select.h: Declare some of the lisp-visible functions for
10321 * select.c (clean_local_selection_data): Removed. This was
10322 a disgusting function, and previously should have been in
10323 select-x.c in any case. The functionality is now provided
10324 in select-convert-from-integer (select.el).
10326 * select.c (available-selection-types): Fixed stupidity where
10327 INTEGER and ATOM got added twice. Also add STRING when we see an
10330 * select.c (get-selection-internal): Removed symbol stripping. No
10331 longer causes conversion when data comes from the internal cache.
10333 * select.c (syms_of_select): Added new functions.
10335 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
10336 error checking - previously this called abort!
10338 * select-x.c (x_own_selection): Changed comment.
10340 * select-x.c (x_handle_selection_request): Use select_convert_out.
10341 Don't mess with selection-alist; it's an internal variable of select.c.
10343 * select-x.c (x_get_foreign_selection): Use select_convert_in.
10345 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
10346 rather than messing with selection-alist.
10348 * select-msw.c (mswindows_get_foreign_selection):
10349 Use TO_INTERNAL_FORMAT rather than hacking.
10351 2000-07-14 Martin Buchholz <martin@xemacs.org>
10353 * process-unix.c (unix_open_multicast_group):
10354 (unix_open_multicast_group): Remove useless casts.
10356 2000-07-13 Martin Buchholz <martin@xemacs.org>
10358 * sound.c (Fplay_sound): Fix `unused variable' warning.
10360 * emacs.c (main): Use correct type for _environ on SCO5.
10362 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
10364 * console.h (own_selection_method):
10365 * console.h (selection_exists_p_method):
10366 * console.h (available_selection_types_method): New.
10367 * console.h (register_selection_data_type_method): New.
10368 * console.h (selection_data_type_name): New.
10370 * console-msw.h (mswindows_destroy_selection): Declare it. New
10371 function & alist to track GlobalAlloc()'d handles that need
10372 releasing when the clipboard data gets replaced or emptied.
10374 * event-msw.c (mswindows_wnd_proc): Call it.
10376 * lisp.h, general.c (Qappend): New symbol representing a
10379 * select.c (own-selection-internal):
10380 * select.c (selection-exists-p):
10381 * select.c (available-selection-types): New.
10382 * select.c (register-selection-data-type): New.
10383 * select.c (selection-data-type-name): New. New functions to deal
10384 with device-specific selection data formats.
10385 * select.c (selection-converter-out-alist): Renamed.
10386 * select.c (selection-converter-in-alist): New.
10387 * select.c (selection-appender-alist): New. Added new alists.
10388 * select.c (syms_of_select, vars_of_select): Added new symbols &
10390 * select.c (get_local_selection): Split.
10391 * select.c: Removed spurious type checking - selections may now be
10392 of any type, not just strings.
10393 * select.c (own-selection-internal):
10395 * select.h, select.c (convert_selection): New. Created
10396 convert_selection() function based on get_local_selection().
10397 * select.h, select.c (QCF_*): New symbols representing mswindows
10399 * select.h, select.c (Qreplace_all, Qreplace_existing): New
10400 symbols representing `how-to-add' modes.
10402 * select-msw.c (x_sym_p): New.
10403 * select-msw.c (symbol_to_ms_cf): New.
10404 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
10405 symbols & clipboard formats. Can also handle string names.
10406 * select-msw.c (mswindows_own_selection):
10407 * select-msw.c (mswindows_selection_exists_p):
10408 Added `data-type' parameter. Use it.
10409 * select-msw.c (mswindows_available_selection_types): New.
10410 * select-msw.c (mswindows_register_selection_data_type): New.
10411 * select-msw.c (mswindows_selection_data_type_name): New.
10412 * select-msw.c (mswindows_own_selection):
10413 * select-msw.c (mswindows_get_foreign_selection):
10414 * select-msw.c (mswindows_selection_exists_p): Rewrote.
10415 * select-msw.c (console_create_select_mswindows): Added new methods.
10416 * select-msw.c (mswindows_destroy_selection): New.
10417 * select-msw.c (Vhandle_alist): New list.
10418 * select-msw.c (mswindows_own_selection):
10420 * select-x.c (x_own_selection):
10421 * select-x.c (x_selection_exists_p):
10422 * select-x.c: Added some comments about maybe using new
10424 * select-x.c (x_own_selection):
10426 * specifier.c: Remove definition of Qappend (now in general.c)
10427 * specifier.c (syms_of_specifier): Remove Qappend.
10429 2000-07-12 Martin Buchholz <martin@xemacs.org>
10431 * config.h.in: Add socklen_t.
10433 * s/decosf4-0.h: No special compiler flags needed or desired.
10434 In particular, undefine _BSD for DEC OSF 4.0.
10436 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10438 * redisplay-msw.c (msprinter_frame_output_end): Added.
10439 (console_type_create_redisplay_mswindows): Referred the above.
10441 * frame.c (setup_frame_without_minibuffer): Do not create a
10442 default minibuffer frame on a printer device.
10444 * frame-msw.c (apply_dc_geometry): Added.
10445 (msprinter_start_page):
10446 (msprinter_init_frame_3):
10447 (msprinter_eject_page): Use it.
10449 * console-msw.h (struct msprinter_frame): Added pix_left and top,
10450 and removed residual duplex and orientation properties.
10452 2000-07-11 Martin Buchholz <martin@xemacs.org>
10454 * eval.c (function_argcount): Work around a DEC CC compiler bug.
10456 * unexalpha.c: Remove system prototypes from C sources!
10458 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
10460 * eval.c: Remove references to M-x edit-options in DEFUNs for
10461 `defvar' and `defconst'.
10463 2000-07-09 Martin Buchholz <martin@xemacs.org>
10465 * config.h.in: Remove SMART_INCLUDE hackery.
10467 PostgreSQL hacking:
10468 * config.h.in: Don't use SMART_INCLUDE.
10470 * postgresql.h: Include libpq-fe.h here. Fix typo.
10471 * inline.c: Simply #include "postgresql.h"
10473 - Don't use SMART_INCLUDE
10474 - Use simply "const".
10475 - Use standard doc string conventions.
10476 - Use correct type for result of PQstatus.
10478 2000-07-09 Martin Buchholz <martin@xemacs.org>
10480 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
10482 C++ compilation changes.
10483 * config.h.in (EXTERN_C): Define.
10484 * config.h.in (not): This is also a C++ keyword.
10485 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
10486 * cm.c: Use EXTERN_C.
10487 * redisplay-tty.c: Use EXTERN_C.
10488 * sysdep.c: Use EXTERN_C. Remove Gould support.
10490 2000-07-09 Martin Buchholz <martin@xemacs.org>
10492 * general.c: Remove duplicate definition for Qfunction.
10494 2000-07-08 Ben Wing <ben@xemacs.org>
10496 * device-msw.c (msprinter_init_device):
10497 * device-msw.c (sync_printer_with_devmode):
10498 * device-msw.c (handle_devmode_changes):
10499 * device-msw.c (print_dialog_worker):
10500 * device-msw.c (Fmsprinter_apply_settings):
10501 * device-msw.c (hash_devmode):
10502 * device-msw.c (Fmsprinter_settings_despecialize):
10503 use Qmswindows_tstr, not Qctext.
10505 * vm-limit.c (check_memory_limits):
10506 avoid infinite loop printing warning messages.
10508 2000-07-05 Craig Lanning <lanning@scra.org>
10510 * Makefile.in.in: Add support for including the Windows resources
10511 when building with the cygwin and mingw targets.
10513 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
10514 not set or not correct.
10515 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
10516 (init_initial_directory): Don't try to use $PWD on the
10517 WIN32_NATIVE target.
10520 [[Add -mwindows to eliminate console window.]] not required --ben
10521 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10522 (MAIL_USE_POP): removed; now handled by configure.
10524 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
10525 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
10526 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10527 (MAIL_USE_POP): removed; now handled by configure.
10528 (ENCAPSULATE_STAT): from Dan Holmsand, added.
10529 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
10530 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
10532 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
10533 up from <winsock.h> via systime.h.
10534 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
10535 (getpagesize): from Dan Holmsand, added.
10536 Added #endif which was left dangling by Ben's mega patch; added
10537 comment to help prevent this in the future.
10539 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
10541 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10543 * console-msw.h (struct mswindows_device): Removed unnecessary
10544 cached device geometry values.
10545 Added update_tick and an accessor macro.
10546 (Lisp_Devmode): Added lrecord declaration.
10547 (struct msprinter_device): Contain devmode as a Lisp object.
10548 Added mswindows_get_selected_frame_hwnd();
10550 * console.h (struct console_methods): Indentation nitpicking.
10552 * device-msw.c (mswindows_init_device): Do not initialize geometry
10553 cache. Initialize update tick.
10554 (mswindows_device_system_metrics): Ask the device for its geometry.
10555 (global_free_2_maybe):
10556 (devmode_to_hglobal):
10557 (handle_printer_changes):
10558 (ensure_not_printing):
10559 (print_dialog_worker):
10560 (Fmsprinter_print_setup_dialog):
10561 (Fmsprinter_print_dialog):
10562 (plist_get_margin):
10563 (plist_set_margin):
10564 (Fmsprinter_page_setup_dialog): Added functions.
10565 (sync_printer_with_devmode):
10566 (handle_devmode_changes):
10567 (Fmsprinter_get_settings):
10568 (Fmsprinter_select_settings):
10569 (Fmsprinter_apply_settings):
10570 (allocate_devmode):
10571 (Fmsprinter_settings_copy):
10572 (Fmsprinter_settings_despecialize):
10574 (finalize_devmode):
10576 (hash_devmode): Added functions
10577 (syms_of_device_mswindows): Init devmode lrecord class.
10579 * device.h: Added an exfun for find-device.
10581 * event-msw.c (mswindows_wnd_proc): Do not update the cached
10582 geometry; although, recreate the device compatible DC.
10584 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
10585 (msprinter_init_frame_3):
10586 (msprinter_frame_property):
10587 (msprinter_internal_frame_property_p):
10588 (msprinter_frame_properties):
10589 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
10590 print job properties (will move to device settings).
10592 * lisp.h: Added symbols.
10594 * general.c (syms_of_general): Declared them.
10596 * hash.c (string_hash): Added.
10598 * lrecord.h (lrecord_type): Added devmode lrecord type.
10600 2000-07-02 Mike Sperber <mike@xemacs.org>
10602 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
10605 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
10607 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
10610 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
10612 * data.c (Fstring_to_number): Don't recognize floating point if
10615 2000-06-22 Martin Buchholz <martin@xemacs.org>
10617 * glyphs-widget.c (tab_control_query_geometry):
10618 (widget_query_geometry):
10619 (button_query_geometry):
10620 * glyphs.c (text_query_geometry):
10621 Enforce type correctness.
10623 2000-06-18 Martin Buchholz <martin@xemacs.org>
10625 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
10626 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
10628 2000-06-17 Martin Buchholz <martin@xemacs.org>
10630 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
10631 conflicts with gcc's fixincluded version of FOO.h.
10633 * glyphs.h (image_instance_geometry): Remove trailing `,'
10635 2000-06-08 Mike Alexander <mta@arbortext.com>
10637 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
10638 (shove_thread): Don't write the same output twice
10639 (make_ntpipe_output_stream): Increase priority of shove thread
10640 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
10642 (ntpipe_shove_closer): Don't delete the pipe until we're done with
10645 2000-06-12 Ben Wing <ben@xemacs.org>
10647 * s\mingw32.h (sigset):
10648 * s\windowsnt.h (sigset):
10649 rename msw_ to mswindows_ for consistency with general convention.
10651 2000-06-12 Ben Wing <ben@xemacs.org>
10654 * console-msw.c (mswindows_get_console_hwnd):
10655 * console-msw.c (mswindows_ensure_console_allocated):
10656 * console-msw.c (mswindows_hide_console):
10657 * console-msw.c (mswindows_show_console):
10658 * console-msw.c (mswindows_ensure_console_buffered):
10659 * console-msw.c (mswindows_output_console_string):
10660 * console-msw.c (mswindows_windows9x_p):
10662 * device-msw.c (mswindows_get_workspace_coords):
10663 * device-msw.c (mswindows_device_system_metrics):
10664 * dialog-msw.c (mswindows_popup_dialog_box):
10665 * event-msw.c (mswindows_wnd_proc):
10666 * frame-msw.c (mswindows_size_frame_internal):
10667 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10668 * menubar-msw.c (displayable_menu_item):
10669 * menubar-msw.c (mswindows_char_is_accelerator):
10671 * nt.c (mswindows_sigset):
10672 * nt.c (mswindows_sigrelse):
10673 * nt.c (mswindows_sigpause):
10674 * nt.c (mswindows_raise):
10675 * nt.c (timer_proc):
10677 * ntproc.c (find_child_console):
10678 * ntproc.c (sys_kill):
10680 * print.c (std_handle_out_external):
10681 * process-nt.c (find_child_console):
10682 * process-nt.c (send_signal_the_95_way):
10683 * process-nt.c (ensure_console_window_exists):
10684 * process-nt.c (nt_create_process):
10686 rename msw_ to mswindows_ for consistency with general convention.
10690 include nt.h, not syswindows.h.
10692 * nt.c (mswindows_fstat):
10693 * nt.c (mswindows_stat):
10694 prefix mswindows_ instead of attempting to directly override the
10695 library functions. fix declarations.
10698 include syswindows.h. move some sysdep.h stuff here.
10701 include syswindows.h, not <windows.h>.
10709 * sysdep.c (sys_fstat):
10710 * sysdep.c (sys_stat):
10711 call mswindows versions when appropriate.
10714 move mswin decls to nt.h.
10717 add long comment describing appropriate use of the various windows
10720 2000-06-11 Ben Wing <ben@xemacs.org>
10722 * device-x.c: Correct doc string for sixth arg of x-get-resource.
10724 2000-06-10 Ben Wing <ben@xemacs.org>
10726 * Makefile.in.in (release):
10727 Correction to make sure xemacs.exe always dumped when correct.
10731 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
10733 * buffer.c (set_buffer_internal):
10734 [[[[2]]]]: Remove HAVE_FEP code.
10736 * buffer.c (init_initial_directory):
10740 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
10744 * callproc.c (call_process_cleanup):
10745 * callproc.c (Fold_call_process_internal):
10746 * callproc.c (child_setup):
10747 * callproc.c (getenv_internal):
10748 * callproc.c (init_callproc):
10749 * callproc.c (vars_of_callproc):
10750 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
10751 __CYGWIN32__ -> CYGWIN.
10752 DOS_NT -> WIN32_NATIVE.
10753 Remove MSDOS support/references, converting to WIN32_NATIVE
10755 __MINGW32__ -> MINGW.
10756 Fix windows.h includes.
10757 Remove bogus HAVE_NTGUI.
10763 mswindows_message_outputted added for use in allowing startup
10764 errors on the console to be seen.
10766 * console-msw.c (msw_ensure_console_allocated):
10767 * console-msw.c (msw_output_console_string):
10768 * console-msw.c (DHEADER):
10769 * console-msw.c (DOPAQUE_DATA):
10770 * console-msw.c (DEVENT):
10771 * console-msw.c (DCONS):
10772 * console-msw.c (DCONSCDR):
10773 * console-msw.c (DSTRING):
10774 * console-msw.c (DVECTOR):
10775 * console-msw.c (DSYMBOL):
10776 * console-msw.c (DSYMNAME):
10779 * console-stream.c (stream_init_console):
10780 Fix text/binary problems.
10783 * device-msw.c (mswindows_finish_init_device):
10784 * device-msw.c (mswindows_delete_device):
10787 * device.c (handle_asynch_device_change):
10791 * dgif_lib.c (DGifOpenFileName):
10792 * dgif_lib.c (DGifOpenFileHandle):
10793 * dgif_lib.c (DGifGetLine):
10794 * dgif_lib.c (DGifGetPixel):
10795 Added config.h/lisp.h, fix up includes.
10802 * dired.c (file_name_completion):
10803 * dired.c (Ffile_attributes):
10804 * dired.c (syms_of_dired):
10808 * dumper.c (pdump_file_unmap):
10809 * dumper.c (pdump_load):
10813 * editfns.c (Ftemp_directory):
10814 * editfns.c (user_login_name):
10815 * editfns.c (Fuser_real_login_name):
10816 * editfns.c (get_home_directory):
10819 * elhash.c (finish_marking_weak_hash_tables):
10820 [[[[5]]]]: Fix GCC warnings.
10823 * emacs.c (mswindows_handle_hardware_exceptions):
10824 * emacs.c (make_arg_list_1):
10825 * emacs.c (main_1):
10826 * emacs.c (Fkill_emacs):
10827 * emacs.c (Fdump_emacs):
10829 Fix problems with nested crashes, add long comment.
10831 * event-Xt.c (init_event_Xt_late):
10835 * event-msw.c (mswindows_dde_callback):
10836 * event-msw.c (mswindows_handle_sticky_modifiers):
10837 * event-msw.c (mswindows_wnd_proc):
10841 * events.c (character_to_event):
10845 * fileio.c (Ffile_name_directory):
10846 * fileio.c (Ffile_name_nondirectory):
10847 * fileio.c (directory_file_name):
10848 * fileio.c (Fexpand_file_name):
10849 * fileio.c (Fsubstitute_in_file_name):
10850 * fileio.c (Ffile_name_absolute_p):
10851 * fileio.c (check_executable):
10852 * fileio.c (Ffile_readable_p):
10853 * fileio.c (Ffile_accessible_directory_p):
10854 * fileio.c (Ffile_modes):
10855 * fileio.c (Funix_sync):
10856 * fileio.c (vars_of_fileio):
10859 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
10861 Expand getdefdir defn.
10862 Fix bogus rename() comment.
10864 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
10865 to use standard XEmacs include files, e.g. sysfile.h, rather
10866 than system-specific includes.
10872 * frame.c (vars_of_frame):
10876 * getloadavg.c (getloadavg):
10878 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
10879 (We don't use it elsewhere in the code; just add a comment.)
10886 * glyphs-msw.c (mswindows_resource_instantiate):
10889 * glyphs-x.c (x_native_layout_instantiate):
10892 * gui-msw.c (Fmswindows_shell_execute):
10901 * lread.c (locate_file_in_directory_mapper):
10908 * mem-limits.h (get_lim_data):
10920 * nt.c (rva_to_section):
10921 * nt.c (mswindows_executable_type):
10923 Fix closedir() defn.
10926 [[[[8]]]]: *_OK defs moved to sysfile.h.
10935 * print.c (std_handle_out_external):
10939 * process-nt.c (nt_create_process):
10941 try to fix process quoting somewhat.
10943 * process-unix.c (unix_create_process):
10947 * process.c (vars_of_process):
10954 * realpath.c (xrealpath):
10957 * redisplay-tty.c (init_tty_for_redisplay):
10967 * sheap.c (more_static_core):
10968 * sheap.c (report_sheap_usage):
10972 * signal.c (alarm_signal):
10979 * strftime.c (zone_name):
10982 * symsinit.h (init_sunpro):
10986 commctrl.h not in Cygwin b20.1.
10989 * sysdep.c (endif):
10990 * sysdep.c (sys_subshell):
10991 * sysdep.c (init_baud_rate):
10992 * sysdep.c (emacs_get_tty):
10993 * sysdep.c (emacs_set_tty):
10994 * sysdep.c (tty_init_sys_modes_on_device):
10995 * sysdep.c (init_system_name):
10996 * sysdep.c (sys_open):
10997 * sysdep.c (interruptible_open):
10998 * sysdep.c (sys_fopen):
10999 * sysdep.c (sys_mkdir):
11000 * sysdep.c (sys_rename):
11001 * sysdep.c (get_process_times_1):
11008 * sysdir.h (DIRENTRY_NONEMPTY):
11011 * sysdll.c (dll_init):
11017 added text/binary defs.
11023 * sysproc.h (EDESTADDRREQ):
11024 * sysproc.h (poll_fds_for_input):
11041 Always define WIN32_LEAN_AND_MEAN.
11043 * unexcw.c (unexec):
11047 * unexec.c (copy_text_and_data):
11048 * unexec.c (adjust_lnnoptrs):
11052 * unexnt.c (_start):
11055 2000-06-07 Ben Wing <ben@xemacs.org>
11057 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
11058 was used only as a model. We've long since extracted any useful
11059 logic or code out of this. (I just did an exhaustive search.)
11061 * s\msdos.h: Removed.
11063 * s\windows95.h: Removed.
11065 2000-06-10 Ben Wing <ben@xemacs.org>
11069 Don't use extern with fun defs.
11073 Remove nt\inc include.
11074 Remove getdisk, getdefdir. (The former is unused, the latter
11075 expanded in fileio.h.)
11078 * s\windowsnt.h (WIN32_NATIVE):
11079 * s\windowsnt.h (HAVE_STRCASECMP):
11081 Add long comment about preprocessor changes.
11082 Remove getdisk, getdefdir. (The former is unused, the latter
11083 expanded in fileio.h.)
11085 2000-06-10 Ben Wing <ben@xemacs.org>
11094 Remove bogus/unused NO_SOCK_SIGIO.
11096 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
11098 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
11101 2000-06-04 Mike Sperber <mike@xemacs.org>
11103 * casetab.c (set_case_table): For `set-standard-case-table',
11104 actually deposit the new case tables where the rest of XEmacs can
11107 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
11109 * data.c (Faset): Don't cast XCHAR() to unsigned char.
11111 2000-06-05 Ben Wing <ben@xemacs.org>
11113 * callproc.c (child_setup): Don't do close_load_descs() under
11114 MS Windows. Put in a comment explaining why.
11116 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
11118 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
11119 Toolkit shell" which breaks `kill-compilation' on Windows NT
11120 native, retaining STDERR handling improvements.
11122 2000-06-01 Andreas Jaeger <aj@suse.de>
11124 * s/s390.h: Support for S390, based on a patch by Martin
11125 Schwidefsky <schwidefsky@de.ibm.com>.
11127 2000-05-30 Andy Piper <andy@xemacs.org>
11129 * window.c (allocate_window):
11130 (make_dummy_parent):
11131 (Fset_window_configuration): use new hashtable type.
11133 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
11134 (struct image_instantiator_methods):
11135 (struct Lisp_Image_Instance): make instance geometry signed.
11137 * glyphs.c (instantiate_image_instantiator):
11138 (image_instance_query_geometry):
11139 (image_instance_layout):
11140 (image_instance_layout):
11141 (query_string_geometry):
11142 (text_query_geometry):
11143 (image_instantiate):
11144 (image_instantiate):
11145 (cache_subwindow_instance_in_frame_maybe):
11146 (subwindow_query_geometry): make instance geometry signed.
11148 * glyphs-widget.c (widget_query_geometry):
11150 (button_query_geometry):
11151 (tree_view_query_geometry):
11152 (tab_control_query_geometry):
11153 (layout_query_geometry):
11155 (native_layout_layout): make instance geometry signed.
11157 2000-05-29 Olivier Galibert <galibert@pobox.com>
11159 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
11162 * general.c (syms_of_general): Add Qfull_assoc symbol.
11164 * data.c (finish_marking_weak_lists): Mark full-assoc lists
11166 (decode_weak_list_type): Decode full-assoc type.
11167 (encode_weak_list_type): Encode full-assoc type.
11168 (Fmake_weak_list): Update doc string.
11170 2000-05-30 Andy Piper <andy@xemacs.org>
11172 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
11174 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
11175 (decode_hash_table_weakness): ditto.
11176 (Fhash_table_weakness): ditto.
11177 (Fhash_table_type): ditto.
11178 (finish_marking_weak_hash_tables): ditto.
11179 (hash_table_weakness_validate): ditto.
11180 (syms_of_elhash): ditto.
11182 2000-05-28 Martin Buchholz <martin@xemacs.org>
11184 * XEmacs 21.2.34 is released.
11186 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11188 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
11190 (updating_line_start_cache): Gone.
11191 (regenerate_window): Replace resetting of VERTICAL_CLIP by
11192 generic code to force a minimum of 1 line laid out in the
11195 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11197 * glyphs.c (instantiate_image_instantiator): Check for initialized
11198 height & width no longer special cases IMAGE_NOTHING.
11199 (nothing_instantiate): Set height and width of instance.
11201 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11203 * unexelf.c (unexec): Search for ".data" section.
11204 Initialize new_data2_offset from old_data_index.
11205 Remove redundant check for ElfW.
11207 2000-05-23 Andy Piper <andy@xemacs.org>
11209 * glyphs.c (get_image_instantiator_governing_domain): allow more
11210 specific domains as the governing domain rather than expecting an
11211 exact match. This fixes problems with layouts.
11213 2000-05-22 Andy Piper <andy@xemacs.org>
11215 * redisplay-output.c (compare_runes): check for non-images
11217 * glyphs.c (set_glyph_dirty_p): ditto.
11218 (update_glyph_cachel_data): ditto.
11220 * glyphs-widget.c (layout_post_instantiate): ditto.
11221 (layout_post_instantiate): ditto.
11223 * event-msw.c (mswindows_wnd_proc): warning removal.
11225 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11227 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11229 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11231 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11233 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11234 (mswindows_executable_type): mingw32 now has enough headers for
11237 2000-05-20 Andy Piper <andy@xemacs.org>
11239 * console-msw.c (mswindows_output_last_error): ; -> ,
11241 2000-05-12 Andy Piper <andy@xemacs.org>
11243 * console-msw.c (FROB): compare ints with ints.
11245 2000-05-11 Andy Piper <andy@xemacs.org>
11247 * glyphs-x.c (x_finalize_image_instance): make minimal build
11250 2000-05-20 Ben Wing <ben@xemacs.org>
11253 * event-Xt.c (vars_of_event_Xt):
11254 move modifier-keys-are-sticky to event-stream.c.
11257 * event-msw.c (mswindows_enqueue_mouse_button_event):
11258 * event-msw.c (key_needs_default_processing_p):
11259 * event-msw.c (XEMSW_LCONTROL):
11260 * event-msw.c (mswindows_handle_sticky_modifiers):
11261 * event-msw.c (FROB):
11262 * event-msw.c (clear_sticky_modifiers):
11263 * event-msw.c (output_modifier_keyboard_state):
11264 * event-msw.c (output_alt_keyboard_state):
11265 * event-msw.c (mswindows_wnd_proc):
11266 * event-msw.c (mswindows_modifier_state):
11267 * event-msw.c (emacs_mswindows_handle_magic_event):
11268 implement sticky modifiers.
11271 * event-stream.c (vars_of_event_stream):
11272 move modifier-keys-are-sticky here.
11275 add CHECK_FUNCTION.
11278 implement map-range-table.
11281 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
11283 * redisplay-tty.c (reset_tty_modes):
11284 (tty_redisplay_shutdown): Adjust argument type to
11285 tty_frame_output_end.
11287 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11289 * eval.c (Fbacktrace): Don't output a line with only right
11292 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
11294 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
11295 (Fpq_reset_poll): Ditto.
11297 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
11299 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
11301 2000-05-16 Ben Wing <ben@xemacs.org>
11304 * buffer.c (dfc_convert_to/from_internal_format):
11305 * buffer.c (reinit_vars_of_buffer):
11306 Fix conversion functions to allow reentrancy.
11309 * console-msw.c (mswindows_output_last_error):
11310 New fun, generally useful -- output a human-readable
11311 version of GetLastError() on the console.
11314 * console-msw.h (struct mswindows_frame):
11315 Changes for DeferWindowPos. Declare mswindows_output_last_error().
11317 * console-stream.c (stream_output_begin):
11318 * console-stream.c (stream_output_end):
11319 * console-stream.c (stream_output_vertical_divider):
11320 * console-stream.c (stream_clear_region):
11321 * console-stream.c (stream_flash):
11322 * console-stream.c (console_type_create_stream):
11323 Delete blank stream methods, not needed.
11325 * console.h (struct console_methods):
11326 Split begin/end methods into window and frame.
11329 * event-msw.c (mswindows_handle_paint):
11330 * event-msw.c (output_alt_keyboard_state):
11331 * event-msw.c (mswindows_wnd_proc):
11332 * event-msw.c (vars_of_event_mswindows):
11333 Comment about problems with ignored-expose.
11334 Define mswindows-debug-events; not really implemented.
11336 * frame-msw.c (mswindows_init_frame_1):
11340 * glyphs-msw.c (begin_defer_window_pos):
11341 * glyphs-msw.c (mswindows_unmap_subwindow):
11342 * glyphs-msw.c (mswindows_map_subwindow):
11343 * glyphs-msw.c (mswindows_resize_subwindow):
11344 Use DeferWindowPos to reduce flashing when mapping/unmapping.
11346 * glyphs.c (make_image_instance_1):
11349 * gutter.c (Fredisplay_gutter_area):
11350 Use new begin/end methods.
11352 * lisp.h (Dynarr_new2):
11356 * redisplay-msw.c (mswindows_frame_output_begin):
11357 * redisplay-msw.c (mswindows_frame_output_end):
11358 * redisplay-msw.c (console_type_create_redisplay_mswindows):
11359 New begin/end methods -- handle DeferWindowPos.
11361 * redisplay-output.c (redisplay_move_cursor):
11362 * redisplay-output.c (redraw_cursor_in_window):
11363 * redisplay-output.c (redisplay_update_line):
11364 * redisplay-output.c (redisplay_output_window):
11365 New begin/end methods.
11368 * redisplay-tty.c (tty_frame_output_begin):
11369 * redisplay-tty.c (tty_frame_output_end):
11370 * redisplay-tty.c (console_type_create_redisplay_tty):
11371 New begin/end methods.
11374 * redisplay-x.c (x_window_output_begin):
11375 * redisplay-x.c (x_window_output_end):
11376 * redisplay-x.c (console_type_create_redisplay_x):
11377 New begin/end methods.
11379 * redisplay.c (redisplay_frame):
11380 * redisplay.c (Fredisplay_echo_area):
11381 New begin/end methods.
11382 use MAYBE_DEVMETH for clear_frame; it may not exist.
11384 * window.h (WINDOW_XFRAME):
11385 WINDOW_XFOO macros -- get locale and decode struct pointer.
11388 2000-05-12 Ben Wing <ben@xemacs.org>
11391 * emacs.c (ensure_no_quitting_from_now_on):
11392 * emacs.c (fatal_error_signal):
11393 * emacs.c (mswindows_handle_hardware_exceptions):
11395 * emacs.c (Fkill_emacs):
11396 * emacs.c (shut_down_emacs):
11397 * emacs.c (assert_failed):
11398 various improvements in fatal error handling.
11401 move preparing_for_armageddon to emacs.c.
11404 declare fatal_error_in_progress.
11407 * print.c (std_handle_out_external):
11408 * print.c (std_handle_out_va):
11409 * print.c (stderr_out):
11410 * print.c (stdout_out):
11411 use console under mswin when no standard output.
11412 don't do code conversion during fatal error.
11414 * scrollbar.c (Fscrollbar_page_up):
11415 * scrollbar.c (Fscrollbar_page_down):
11416 fix missing else. reindent.
11418 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
11422 * glyphs.h (GLYPH_CACHEL_DESCENT):
11423 (GLYPH_CACHEL_DESCENT):
11424 (GLYPH_CACHEL_DESCENT):
11425 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
11426 used in case these are inline functions.
11427 Use more absurd values to error check.
11429 include window.h for error check functions.
11431 2000-05-11 Ben Wing <ben@xemacs.org>
11433 * cmdloop.c (Freally_early_error_handler):
11434 Display message box under windows; otherwise, message will disappear
11435 before it can be viewed.
11438 * console-msw.c (Fmswindows_message_box):
11439 * console-msw.c (FROB):
11440 * console-msw.c (syms_of_console_mswindows):
11441 Define new fun `mswindows-message-box'.
11442 #### I will merge this into `popup-dialog-box'; just give me
11446 * general.c (syms_of_general):
11447 Some new symbols used in `mswindows-message-box'.
11450 * glyphs.c (Fset_image_instance_property):
11451 put warning in this fun.
11454 * glyphs.h (GLYPH_CACHEL_WIDTH):
11455 * glyphs.h (GLYPH_CACHEL_ASCENT):
11456 * glyphs.h (GLYPH_CACHEL):
11457 * glyphs.h (GLYPH_CACHEL_GLYPH):
11458 define error-checking versions to try to catch a bug i've seen --
11459 redisplay gets in an infinite loop because the glyph width of the
11460 continuation glyph is 65535.
11463 Extern message-box stuff.
11465 * window.c (allocate_window):
11466 * window.c (make_dummy_parent):
11467 * window.c (Fset_window_configuration):
11468 Use EQUAL not EQ for subwindow caches to make them work a bit
11469 better. (Something is still very broken.)
11472 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11474 * glyphs.c (image_instantiate): Suppress gcc warnings.
11475 (Fmake_image_instance): Fix doc string.
11476 * specifier.c (Fmake_specifier): Ditto.
11478 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
11480 * paths.h.in (PATH_LOCK): Removed.
11481 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
11482 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
11484 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11486 * fns.c (Ffeaturep): Update e-mail address in doc-string.
11487 Document (featurep '(and xemacs 21.02)).
11489 2000-05-09 Ben Wing <ben@xemacs.org>
11491 * buffer.c (complex_vars_of_buffer):
11492 update modeline-format doc.
11495 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
11498 timeline of all released versions of Emacs, for use in creating
11499 authorship comments and in synching up.
11501 * glyphs-widget.c (image_instantiator_buttons):
11502 * glyphs-widget.c (image_instantiator_edit_fields):
11503 * glyphs-widget.c (image_instantiator_combo_box):
11504 * glyphs-widget.c (image_instantiator_scrollbar):
11505 * glyphs-widget.c (image_instantiator_progress_guage):
11506 * glyphs-widget.c (image_instantiator_tree_view):
11507 * glyphs-widget.c (image_instantiator_tab_control):
11508 * glyphs-widget.c (image_instantiator_labels):
11509 * glyphs-widget.c (image_instantiator_layout):
11510 * glyphs-widget.c (image_instantiator_native_layout):
11511 rename decode_domain method to governing_domain.
11514 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
11515 * glyphs.c (add_entry_to_device_ii_format_list):
11516 make sure we don't put an entry more than once into the list.
11517 * glyphs.c (check_instance_cache_mapper):
11518 *************************************************************
11519 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11521 *************************************************************
11522 * glyphs.c (get_image_instantiator_governing_domain):
11523 clean up, expand on new concept of governing domain.
11524 * glyphs.c (instantiate_image_instantiator):
11525 * glyphs.c (allocate_image_instance):
11526 use governing_domain instead of cache_domain in naming.
11527 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
11528 * glyphs.c (make_image_instance_1):
11529 * glyphs.c (Fmake_image_instance):
11530 allow for any domain (not just device), and process the
11531 governing domain correctly. very big doc fix.
11532 * glyphs.c (Fimage_instance_domain):
11533 new primitive, to retrieve the governing domain of an image instance.
11534 * glyphs.c (image_instantiate):
11535 use new governing_domain stuff. this fixes a crash you could get
11536 by instantiating certain widget glyphs in frame locales. (should
11537 signal an error instead of crashing.)
11538 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
11539 * glyphs.c (Fglyphp): clean up doc.
11540 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
11541 * glyphs.c (syms_of_glyphs):
11542 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
11543 * glyphs.c (image_instantiator_format_create): add some comments about
11545 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
11546 for current-display-table. (Apparently Hrjove implemented in 1998 a
11547 design I wrote up in 1996, but didn't update the doc string.)
11549 * glyphs.h: clean up a doc string.
11550 * glyphs.h (governing_domain):
11551 * glyphs.h (struct image_instantiator_methods):
11552 changes for governing_domain stuff.
11555 * gutter.c (Fgutter_specifier_p):
11556 * gutter.c (Fgutter_size_specifier_p):
11557 * gutter.c (Fgutter_visible_specifier_p):
11559 * objects.c (Fcolor_specifier_p):
11560 * objects.c (Ffont_specifier_p):
11561 * objects.c (Fface_boolean_specifier_p):
11562 doc strings moved to make-*-specifier.
11564 * redisplay.c (add_disp_table_entry_runes_1):
11565 * redisplay.c (generate_fstring_runes):
11566 * redisplay.c (screen):
11567 add random comments and doc strings.
11570 * specifier.c (Fmake_specifier):
11571 major overhaul of this doc string.
11573 * specifier.c (Fvalid_specifier_domain_p):
11574 comment about the bogosity of image instances being domains.
11575 * specifier.c (decode_domain):
11576 now non-static, used in glyphs.c.
11577 * specifier.c (specifier_instance):
11578 comment about the bogosity of image instances being domains.
11579 * specifier.c (Fgeneric_specifier_p):
11580 move doc string to make-generic-specifier.
11581 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
11585 * specifier.h (DOMAIN_FRAME):
11586 * specifier.h (DOMAIN_LIVE_P):
11587 * specifier.h (DOMAIN_XDEVICE):
11589 add comments about problems with these macros.
11590 prototype for decode_domain.
11593 * toolbar.c (Ftoolbar_specifier_p):
11594 move doc string to `make-toolbar-specifier'.
11596 * window.c (window_unmap_subwindows_cache_mapper):
11597 *************************************************************
11598 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11600 *************************************************************
11602 2000-05-09 Andy Piper <andy@xemacs.org>
11604 * glyphs.h: declare reset_frame_subwindow_instance_cache.
11606 * window.c (Fset_window_configuration): reset the frame subwindow
11607 cache and re-initialize the window subwindow caches.
11609 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
11611 2000-05-09 Ben Wing <ben@xemacs.org>
11613 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
11616 2000-04-26 Mike Woolley <mike@bulsara.com>
11618 * ntheap.c: Changed recreate_heap to limit the amount reserved
11619 for the heap to that which is actually available. Also now
11620 displays a message box (with some dignostics) in the event that
11621 it still can't start.
11623 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11625 * callproc.c (Fold_call_process_internal): GCPRO path
11627 2000-05-08 Jan Vroonhof <jan@xemacs.org>
11629 Patch by Bill Perry.
11631 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
11632 back data instead of #ifdef.
11633 (Fscrollbar_page_down): ditto.
11635 2000-05-07 Ben Wing <ben@xemacs.org>
11638 Kludge for defining Qmswindows_tstr.
11641 * nt.c (open_input_file):
11642 * nt.c (open_output_file):
11643 * nt.c (rva_to_section):
11644 * nt.c (mswindows_executable_type):
11645 Move all memory-mapped-file routines here (some were in unexnt.c,
11646 which is bad because they are used by process-nt.c, and unexnt
11647 won't be around when portable dumping). Synched the above routines
11651 Removed ifdef'd out bogus code.
11652 Fixed some prototypes.
11654 * nt.h (file_data):
11655 * nt.h (OFFSET_TO_RVA):
11656 * nt.h (RVA_TO_OFFSET):
11657 * nt.h (RVA_TO_PTR):
11658 Moved the memory-mapped-file structures, macros and prototypes
11659 here, to parallel nt.c. ntheap.h should really be removed
11660 entirely, and it's a non-portable-dumper specific file.
11662 * ntheap.h (round_to_next):
11663 Moved the memory-mapped-file structures, macros and prototypes
11666 * ntproc.c (compare_env):
11667 Moved rva_to_section and mswindows_executable_type to nt.c.
11668 Moved compare_env to process-nt.c.
11669 ntproc.c will die, one day.
11671 * ntproc.c (sys_spawnve):
11672 Account for win32_ -> mswindows_.
11675 * process-nt.c (struct nt_process_data):
11676 * process-nt.c (ensure_console_window_exists):
11677 * process-nt.c (compare_env):
11678 * process-nt.c (nt_create_process):
11679 * process-nt.c (nt_kill_process_by_pid):
11680 * process-nt.c (syms_of_process_nt):
11681 * process-nt.c (vars_of_process_nt):
11682 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
11683 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
11684 changes). Eliminate our old `nt-quote-process-args' mechanism.
11685 Synch up nt_create_process with FSF 20.6 sys_spawnve.
11686 Move compare_env here from ntproc.c.
11688 * process.c (Fprocess_send_region):
11689 Takes an optional fourth argument, BUFFER, which should fix some
11690 problems with call-process.
11693 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
11696 Move ICC_BAR_CLASSES to syscommctrl.h.
11697 Add preliminary macros for MSWindows/Mule. More to come.
11700 * unexnt.c (unexec):
11701 open_output_file moved to nt.c.
11704 2000-05-05 Andy Piper <andy@xemacs.org>
11706 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
11707 instance from the frame cache also since GC may catch up too late
11708 to make frame deletion sane.
11710 2000-05-04 Andy Piper <andy@xemacs.org>
11712 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
11713 (x_finalize_image_instance): ungcpro on deletion.
11715 * glyphs.c (image_instantiator_format_create): give pointers a
11716 query geometry method so that the geometry is at least set.
11718 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
11719 initialize layouts if using widgets.
11721 2000-05-03 Andy Piper <andy@xemacs.org>
11723 * nt.c: remove bogus reference to sysmmsystem.h
11725 * gui-x.c (popup_selection_callback): fix no selection abort.
11727 2000-05-02 Andy Piper <andy@xemacs.org>
11729 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
11730 (mswindows_widget_instantiate): ditto.
11732 * glyphs-widget.c (initialize_widget_image_instance): initialize
11733 children correctly.
11734 (widget_instantiate): cope with children and items in the same
11737 * glyphs.c (mark_image_instance): cope with children as a first
11739 (image_instance_equal): ditto.
11740 (image_instance_hash): ditto.
11741 (image_instance_changed): ditto.
11743 2000-04-30 Andy Piper <andy@xemacs.org>
11745 * glyphs.c (subwindow_query_geometry): new function. Return some
11747 (subwindow_instantiate): don't assign dimensions if none have been
11749 (image_instantiator_format_create): add subwindow_query_geometry.
11750 (print_image_instance): cope with layouts as widgets.
11752 2000-04-29 Andy Piper <andy@xemacs.org>
11754 * frame.c (delete_frame_internal): call
11755 free_frame_subwindow_instance_cache so that all subwindows are
11756 finalized before their parent.
11757 (mark_frame): remove subwindow_cachels.
11758 (Fmake_frame): remove subwindow_cachel manipulation.
11759 (allocate_frame_core): subwindow_instance_cache is a weak list.
11760 (delete_frame_internal): set subwindow_instance_cache to nil.
11762 * glyphs-msw.c (mswindows_finalize_image_instance): make double
11764 (mswindows_finalize_image_instance): use the device
11765 not the domain as the domain may have died already.
11767 * glyphs-x.c (x_finalize_image_instance): ditto.
11768 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
11771 * redisplay-output.c (redisplay_unmap_subwindows): update for
11772 subwindow instance cache as a weak list.
11773 (redisplay_unmap_subwindows_maybe): ditto.
11774 (redisplay_unmap_subwindows_except_us): ditto.
11776 * glyphs.c (unmap_subwindow): error checking will check the domain
11777 so don't deal with it here. Don't use cachels anymore.
11778 (map_subwindow): ditto.
11779 (update_subwindow_cachel_data): remove old accessor names.
11780 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
11781 (Fresize_subwindow): don't update cachel.
11782 (mark_subwindow_cachels):
11783 (update_subwindow_cachel_data):
11784 (add_subwindow_cachel):
11785 (get_subwindow_cachel_index):
11786 (update_subwindow_cachel):
11787 (reset_subwindow_cachels):
11788 (mark_subwindow_cachels_as_not_updated): deleted.
11789 (cache_subwindow_instance_in_frame_maybe): new function. Add a
11790 subwindow instance to the frame cache.
11791 (find_matching_subwindow): update for subwindow instance cache as
11793 (update_widget_instances): ditto.
11794 (image_instance_type_to_mask):inlined.
11795 (free_frame_subwindow_instance_cache): new function. finalize all
11796 subwindows that are instantiated.
11798 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
11799 of cachel information.
11800 (IMAGE_INSTANCE_DISPLAY_X):
11801 (IMAGE_INSTANCE_DISPLAY_Y):
11802 (IMAGE_INSTANCE_DISPLAY_WIDTH):
11803 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
11804 (XIMAGE_INSTANCE_DISPLAY_X):
11805 (XIMAGE_INSTANCE_DISPLAY_Y):
11806 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
11807 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
11808 remove subwindow_cachel structure and function references.
11809 (image_instance_type_to_mask): inline from glyphs.c
11811 * redisplay.c (redisplay_frame): remove subwindow_cachel
11814 * frame.h (struct frame): remove subwindow_cachels.
11815 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
11817 * frameslots.h: add subwindow_instance_cache.
11819 * window.c (replace_window): check subwindow cache of replacement.
11820 (window_unmap_subwindows_cache_mapper):
11821 (window_unmap_subwindows): new functions. Unmap all subwindows
11822 cached on this window.
11823 (mark_window_as_deleted): unmap all subwindows.
11825 2000-04-27 Andy Piper <andy@xemacs.org>
11827 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
11829 * glyphs-widget.c (widget_layout): return something.
11830 (layout_layout): return something. Fail if not initialized.
11831 (layout_query_geometry): ditto.
11832 (image_instantiator_native_layout): new function. Initialized the
11833 native layout type.
11834 (widget_instantiate): don't do layout stuff here.
11836 * glyphs.c (instantiate_image_instantiator): reorded calling or
11837 instantiate and post_instantiate with layout in between.
11838 (image_instance_layout): be more selective about deciding whether
11839 the layout has been done or not.
11841 * glyphs.h (struct image_instantiator_methods): return a value
11842 from layout_method.
11844 2000-04-26 Andy Piper <andy@xemacs.org>
11846 * glyphs.c (allocate_image_instance): make initial width and
11847 height unspecified. Set initialized to 0.
11849 * syscommctrl.h new file. Encapsulates commctrl.h.
11851 * syswindows.h new file. Encapsulates windows.h.
11853 * ntplay.c: use new syswindows.h and syscommctrl.h header.
11855 * console-msw.h: ditto.
11857 * redisplay-tty.c (tty_output_display_block): remove layout references.
11859 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
11860 window handle rather than just the frame.
11862 * glyphs.c (mark_image_instance): remove layout references.
11863 (print_image_instance): ditto.
11864 (image_instance_equal): ditto.
11865 (image_instance_hash): ditto.
11866 (decode_image_instance_type): ditto.
11867 (encode_image_instance_type): ditto.
11868 (image_instantiate): ditto.
11869 (allocate_glyph): ditto.
11870 (Fimage_instance_height): ditto.
11871 (Fimage_instance_width): ditto.
11872 (update_subwindow): ditto.
11874 * redisplay-x.c (x_output_display_block): recode for layouts as
11877 * redisplay-output.c (redisplay_output_layout): recode for layouts
11879 (compare_runes): remove layout references.
11881 * redisplay-msw.c (mswindows_output_display_block): recode for
11882 layouts as widgets.
11884 * glyphs-widget.c (image_instantiator_layout): remove
11885 layout_possible_dest_types.
11886 (layout_possible_dest_types): deleted.
11888 * glyphs.h (image_instance_type): remove layout references.
11889 (struct Lisp_Image_Instance): ditto. Add initialized flag.
11890 (IMAGE_INSTANCE_INITIALIZED): new accessor.
11891 (XIMAGE_INSTANCE_INITIALIZED): ditto.
11893 2000-04-25 Andy Piper <andy@xemacs.org>
11895 * glyphs-widget.c (image_instantiator_buttons):
11896 (image_instantiator_edit_fields):
11897 (image_instantiator_combo_box):
11898 (image_instantiator_scrollbar):
11899 (image_instantiator_progress_guage):
11900 (image_instantiator_tree_view):
11901 (image_instantiator_tab_control):
11902 (image_instantiator_labels):
11903 (image_instantiator_layout): call default post_instantiate method.
11904 (widget_post_instantiate): new function. Simply lays out the
11907 * glyphs.h (struct image_instantiator_methods): add
11908 post_instantiate method.
11910 * glyphs.c (instantiate_image_instantiator): add post_instantiate
11913 2000-04-23 Andy Piper <andy@xemacs.org>
11915 * glyphs.h (struct image_instantiator_methods): add
11916 decode_domain_method.
11917 (struct Lisp_Image_Instance): remove subwindow frame - it can be
11918 derived from the domain.
11919 (IMAGE_INSTANCE_FRAME): new accessor.
11920 (XIMAGE_INSTANCE_FRAME): ditto.
11922 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
11923 instead of _SUBWINDOW_FRAME.
11924 (finalize_image_instance): ditto.
11925 (Fimage_instance_foreground): ditto.
11926 (Fimage_instance_background): ditto.
11927 (image_instantiate): ditto.
11928 (update_subwindow_cachel): ditto.
11929 (update_subwindow): ditto.
11930 (unmap_subwindow): ditto.
11931 (map_subwindow): ditto
11932 (subwindow_instantiate): ditto.
11933 * glyphs-msw.c (mswindows_update_widget): ditto.
11934 (mswindows_progress_gauge_instantiate): ditto.
11935 (mswindows_tab_control_update): ditto.
11936 * glyphs-x.c (x_update_widget): ditto.
11937 (x_widget_instantiate): ditto.
11938 (x_tab_control_instantiate): ditto.
11939 (x_tab_control_update): ditto.
11940 * event-msw.c (mswindows_wnd_proc): ditto
11942 * glyphs-widget.c (image_instantiator_layout): use
11943 subwindow_decode_domain.
11944 (image_instantiator_buttons): ditto.
11945 (image_instantiator_edit_fields): ditto.
11946 (image_instantiator_combo_box): ditto.
11947 (image_instantiator_scrollbar): ditto.
11948 (image_instantiator_progress_guage): ditto.
11949 (image_instantiator_tree_view): ditto.
11950 (image_instantiator_tab_control): ditto.
11951 (image_instantiator_labels): ditto.
11952 (image_instantiator_layout): ditto.
11954 * glyphs.c: add instance error checking to many functions.
11955 (instantiate_image_instantiator): decode device from cache_domain.
11956 (image_instantiate): partially rewrite by using
11957 decode_image_instantiator_domain to determine what domain the
11958 instance needs to be cached in.
11959 (decode_image_instantiator_domain): new function. Determine what
11960 domain the image needs to be cached in.
11961 (check_window_subwindow_cache): new error checking function.
11962 (check_instance_cache_mapper): ditto.
11963 (check_image_instance_structure): ditto.
11964 (subwindow_decode_domain): new function. Encodes a window as a
11965 subwindow's cache domain.
11966 (image_instantiator_format_create): use it for text and
11969 2000-04-21 Andy Piper <andy@xemacs.org>
11971 * glyphs.c (image_instance_device): new function.
11972 (image_instance_frame): new function.
11973 (image_instance_window): new function.
11974 (image_instance_live_p): new function.
11976 * window.c (mark_window_as_deleted): reset the subwindow_instance_
11979 * glyphs.h (struct Lisp_Image_Instance): device->domain.
11980 (IMAGE_INSTANCE_DOMAIN): new accessor.
11981 (XIMAGE_INSTANCE_DOMAIN): ditto.
11983 * glyphs-x.c (x_finalize_image_instance): device->domain.
11985 * glyphs-msw.c (init_image_instance_geometry): device->domain.
11986 (mswindows_finalize_image_instance): ditto.
11988 * glyphs-eimage.c (jpeg_instantiate): device->domain.
11989 (gif_instantiate): ditto.
11990 (png_instantiate): ditto.
11991 (tiff_instantiate): ditto.
11993 * glyphs.c (instantiate_image_instantiator): use domain rather
11995 (mark_image_instance): device -> domain.
11996 (print_image_instance): ditto.
11997 (finalize_image_instance): ditto.
11998 (image_instance_equal): ditto.
11999 (allocate_image_instance): ditto.
12000 (Fcolorize_image_instance): ditto.
12001 (query_string_geometry): ditto.
12002 (image_instantiate): ditto
12003 (query_string_font): ditto.
12004 (image_instantiate): ditto.
12005 (update_subwindow): ditto.
12006 (unmap_subwindow): ditto.
12007 (map_subwindow): ditto.
12008 (subwindow_instantiate): ditto.
12010 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12011 (DOMAIN_FRAME): ditto.
12012 (DOMAIN_WINDOW): ditto.
12013 (DOMAIN_LIVE_P): ditto.
12014 (XDOMAIN_DEVICE): ditto.
12015 (XDOMAIN_FRAME): ditto.
12016 (XDOMAIN_WINDOW): ditto.
12018 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12019 a valid specifier domain.
12021 2000-04-19 Andy Piper <andy@xemacs.org>
12023 * glyphs-widget.c (syms_of_glyphs_widget): remove
12024 widget-callback-current-channel.
12025 (vars_of_glyphs_widget): ditto.
12028 * gui.c (get_gui_callback): revert to previous behaviour.
12030 2000-04-18 Andy Piper <andy@xemacs.org>
12032 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
12033 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
12034 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
12036 * glyphs.c (image_instance_equal): add margin_width.
12037 (image_instance_hash): ditto.
12039 * glyphs-widget.c (widget_instantiate): deal with margin-width.
12040 (layout_query_geometry): ditto.
12041 (layout_layout): ditto.
12042 (syms_of_glyphs_widget): add margin-width.
12043 (image_instantiator_layout): allow margin-width.
12045 * glyphs.c (update_widget_instances): make a normal function.
12046 (syms_of_glyphs): remove Qupdate_widget_instances.
12049 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
12050 so that we don't corrupt ideas about the last event or
12051 command. Remove widget-callback-current-channel fiddling.
12052 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
12054 2000-05-01 Martin Buchholz <martin@xemacs.org>
12056 * XEmacs 21.2.33 is released.
12058 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
12060 * make-src-depend: Allow dots in header file name.
12062 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
12064 * mule-charset.h (struct charset_lookup): Add
12065 next_allocated_1_byte_leading_byte and
12066 next_allocated_2_byte_leading_byte.
12067 * mule-charset.c: Move above two variables so that those values
12070 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
12072 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
12073 when string length is zero.
12074 (find_charsets_in_emchar_string): Ditto.
12076 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
12078 * lisp.h: extern Qdialog and Qmenubar.
12080 * gui-x.c: added events.h.
12081 also fixed typo which made the file uncompilable.
12083 * general.c: Added Qmenubar and Qdialog
12085 2000-04-28 Ben Wing <ben@xemacs.org>
12087 * frame-msw.c (mswindows_init_frame_1):
12088 * frame-msw.c (mswindows_mark_frame):
12089 * event-msw.c (mswindows_enqueue_dispatch_event):
12091 * console-msw.h (struct mswindows_frame):
12092 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
12093 there are now three hash tables for callbacks.
12094 mswindows_enqueue_dispatch_event is no longer static.
12096 * dialog-x.c (maybe_run_dbox_text_callback):
12097 * dialog-x.c (dbox_descriptor_to_widget_value):
12098 switch to new cons3 form for callbacks.
12100 * glyphs-msw.c (mswindows_register_gui_item):
12101 * glyphs-msw.c (mswindows_widget_instantiate):
12102 * glyphs-msw.c (add_tree_item):
12103 * glyphs-msw.c (add_tab_item):
12104 new image instance parameter, so it can be passed to callback-ex.
12105 respect :callback-ex as well as :callback.
12107 * glyphs-widget.c (VALID_GUI_KEYWORDS):
12110 * glyphs.c (print_image_instance):
12111 prettify, e.g. now prints widget type.
12114 certain funs have new image instance parameter.
12117 * gui.c (get_gui_callback):
12118 * gui.c (gui_item_add_keyval_pair):
12119 * gui.c (gui_item_init):
12120 * gui.c (gui_add_item_keywords_to_plist):
12121 * gui.c (mark_gui_item):
12122 * gui.c (gui_item_hash):
12123 * gui.c (gui_item_equal):
12124 * gui.c (copy_gui_item):
12125 * gui.c (syms_of_gui):
12126 recognize callback-ex in a number of places.
12127 also, fix the annoying "can't get out of yes-no dialog" bug.
12130 * gui.h (struct Lisp_Gui_Item):
12131 recognize callback-ex in a number of places.
12133 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12134 new parameter in button_item_to_widget_value.
12136 * glyphs-x.c (x_update_widget):
12137 * glyphs-x.c (x_button_instantiate):
12138 * glyphs-x.c (x_button_update):
12139 * glyphs-x.c (x_progress_gauge_instantiate):
12140 * glyphs-x.c (x_edit_field_instantiate):
12141 * glyphs-x.c (x_combo_box_instantiate):
12142 * glyphs-x.c (x_tab_control_instantiate):
12143 * glyphs-x.c (x_label_instantiate):
12144 new image instance parameter in various places.
12147 * event-Xt.c (enqueue_Xt_dispatch_event):
12148 this fun gets exported.
12151 * gui-msw.c (mswindows_handle_gui_wm_command):
12152 handle both :callback and :callback-ex, and generate our own
12153 event because it's one of the callback-ex arguments.
12156 * gui-x.c (popup_selection_callback):
12157 handle both :callback and :callback-ex, and generate our own
12158 event because it's one of the callback-ex arguments.
12159 * gui-x.c (button_item_to_widget_value):
12160 * gui-x.c (gui_items_to_widget_values_1):
12161 * gui-x.c (gui_item_children_to_widget_values):
12162 * gui-x.c (gui_items_to_widget_values):
12163 new image instance parameter in various places.
12165 * fns.c (Freplace_list):
12166 fix small typo in doc string.
12169 declare enqueue_Xt_dispatch_event.
12171 2000-04-28 Ben Wing <ben@xemacs.org>
12174 * buffer.c (Frecord_buffer):
12175 * buffer.c (syms_of_buffer):
12176 delete record-buffer-hook.
12179 * fns.c (Freplace_list):
12180 * fns.c (syms_of_fns):
12181 new primitive replace-list.
12184 slot for old buffer-alist.
12187 exfun replace-list.
12190 * redisplay.c (redisplay_frame):
12191 * redisplay.c (syms_of_redisplay):
12192 * redisplay.c (vars_of_redisplay):
12193 new hook buffer-list-changed-hook.
12196 2000-04-27 Ben Wing <ben@xemacs.org>
12198 * extents.h: extern in_modeline_generation.
12200 * redisplay.c (generate_formatted_string_db): set
12201 in_modeline_generation.
12203 * extents.c (extent_changed_for_redisplay): don't mark redisplay
12204 flags if in modeline generation. otherwise frame-modified-tick
12205 is ticked far too often.
12206 Declare in_modeline_generation.
12208 2000-04-26 Ben Wing <ben@xemacs.org>
12210 * emacs.c (vars_of_emacs): document quick-build "error-checking"
12212 (vars_of_emacs): add quick-build as an error-checking option.
12213 A bit kludgy, but there doesn't seem much point in creating
12214 a real var for this.
12216 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
12218 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
12220 * redisplay.h (struct display_line): Add a new variable,
12223 * redisplay.c (create_text_block): Set dl->line_continuation if
12224 the line continues.
12225 (create_string_text_block): Ditto.
12226 (regenerate_window_incrementally): Use line_continuation instead
12227 of searching continuation glyph.
12228 (add_margin_runes): Call add_glyph_rune.
12229 (add_glyph_rune): Handle margin glyph.
12231 2000-04-20 Martin Buchholz <martin@xemacs.org>
12233 * filelock.c (fill_in_lock_file_name):
12235 Check for IS_ANY_SEP instead of '/'.
12237 Avoid generating gratuitous garbage. Call user_login_name() directly.
12238 Never check errno without first seeing that system call failed.
12239 (unlock_file): Add GCPRO.
12240 (Flock_buffer): Fix docstring.
12241 (Ffile_locked_p): Fix docstring. Add GCPRO.
12243 2000-04-19 Martin Buchholz <martin@xemacs.org>
12245 * sysdep.c (get_pty_max_bytes):
12246 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
12247 strings longer than 252 bytes.
12249 * md5.c: Unconditionally include ANSI header <limits.h>
12251 * glyphs-x.c (convert_EImage_to_XImage):
12252 * lisp-union.h (union Lisp_Object):
12253 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
12255 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
12257 * filelock.c (current_lock_owner): Remove unused variable o, p.
12259 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
12261 * callint.c: Remove multiply defined symbol Qlet
12262 (syms_of_callint): ditto.
12264 2000-04-14 Andy Piper <andy@xemacs.org>
12266 * general.c (syms_of_general): add last-command, this-command, let
12269 * lisp.h: declare various symbols.
12271 * glyphs.h: declare Qwidget_callback_current_channel;
12273 * glyphs-widget.c (syms_of_glyphs_widget): add
12274 Qgui_callback_current_channel.
12275 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
12277 * gui-msw.c (mswindows_handle_gui_wm_command): bind
12278 widget-callback-current-channel when invoking the interactive
12279 arg. Also bind last-command and next-command when invoking the
12281 * gui-x.c (popup_selection_callback): ditto.
12283 * gui.c (get_gui_callback): massage args so that we are always
12284 calling eval. This allows us to add our own variable bindings
12287 * glyphs-x.c (x_button_instantiate): use
12288 gui_items_to_widget_values since this is GC safe.
12289 (x_progress_gauge_instantiate): ditto.
12290 (x_edit_field_instantiate): ditto.
12291 (x_label_instantiate): ditto.
12293 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
12294 (emacs_Xt_event_widget_focus_out): new function
12295 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
12297 (emacs_Xt_event_add_widget_actions): new function. add focus
12298 functions as actions.
12299 (init_event_Xt_late): use it.
12301 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
12303 * event-stream.c (Fdispatch_event): Doc fix.
12305 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
12307 * postgresql.c: Remove all references to PQsetenv*.
12309 * postgresql.h: Remove references to PGsetenvHandler object.
12310 * lrecord.h (lrecord_type): Ditto.
12312 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12314 * glyphs-msw.h (struct mswindows_image_instance_data): Added
12315 real_heigh and real_width members, and accessor macros for these.
12317 * glyphs-msw.c (init_image_instance_geometry): New function.
12318 (init_image_instance_from_dibitmap): Use it.
12319 (mswindows_resource_instantiate): Use it.
12320 (init_image_instance_from_xbm_inline): Use it.
12321 (mswindows_initialize_image_instance_mask): Use real bitmap
12323 (mswindows_create_resized_bitmap): Ditto.
12324 (mswindows_create_resized_mask): Ditto.
12326 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
12327 and bitmap to their surface size.
12329 2000-04-11 Jan Vroonhof <jan@xemacs.org>
12331 * process-unix.c (unix_send_process): Guard against process MIA
12332 after Faccept_process_output.
12334 2000-04-11 Ben Wing <ben@xemacs.org>
12336 * eval.c (unbind_to_hairy): fix brokenness introduced by
12337 nanosecond speed improvements.
12339 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
12341 * sunplay.c (init_device): To play sounds correctly, the device
12342 apparently needs to be initialized at least once by XEmacs. Make
12345 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
12347 * redisplay.c (add_margin_runes): Add text image glyph
12350 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
12352 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
12353 gcc is newer than 2.5.
12355 2000-04-06 Colin Rafferty <colin@xemacs.org>
12357 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
12359 * fns.c (size_bit_vector):
12360 * alloc.c (size_vector):
12361 (make_vector_internal):
12362 (make_bit_vector_internal):
12363 (sweep_bit_vectors_1):
12364 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
12366 2000-04-06 Andy Piper <andy@xemacs.org>
12368 * gmalloc.c (malloc): undo previous change.
12373 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
12375 * line-number.c (buffer_line_number): Revert to former version.
12377 2000-04-06 Andy Piper <andy@xemacs.org>
12379 * gmalloc.c (malloc): add error checking.
12384 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
12385 button_item_to_widget_value arg.
12387 * glyphs-x.c (x_button_instantiate): add extra
12388 button_item_to_widget_value arg.
12389 (x_progress_gauge_instantiate): ditto.
12390 (x_edit_field_instantiate): ditto.
12391 (x_label_instantiate): ditto.
12393 * gui-x.c (gui_items_to_widget_values_1): add extra
12394 button_item_to_widget_value arg.
12395 (button_item_to_widget_value): add extra menu_item_p arg.
12397 * gui-x.h: change signature of button_item_to_widget_value.
12399 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
12400 button_item_to_widget_value arg.
12402 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
12404 * buffer.h (struct buffer): auto_save_modified should be long.
12406 2000-04-05 Andy Piper <andy@xemacs.org>
12408 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
12410 (button_query_geometry): give a little more room so that athena
12413 2000-04-05 Andy Piper <andy@xemacs.org>
12415 * faces.c (complex_vars_of_faces): The widget face should inherit
12416 the font of the gui-element face.
12418 2000-04-04 Andy Piper <andy@xemacs.org>
12420 * glyphs-x.c (x_button_update): new function. unconditionally
12421 update a button's state when the instance is dirty.
12422 (image_instantiator_format_create_glyphs_x): add x_button_update.
12423 (x_widget_instantiate): remove old resize cruft.
12425 2000-04-02 Andy Piper <andy@xemacs.org>
12427 * frame.c (change_frame_size_1): The introduction of gutters means
12428 that we need to allow 0 as a potential frame dimension.
12430 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
12432 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
12433 image glyph if allow_cursor.
12434 (add_hscroll_rune): Don't allow cursor to border glyph.
12435 (create_text_block): Ditto.
12437 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
12438 text not in buffer.
12439 (redisplay_output_layout): Call ensure_face_cachel_complete for
12443 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
12445 * redisplay.c (add_glyph_rune): Adding text image as text runes.
12447 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
12450 * redisplay-tty.c (tty_output_display_block): Delete the routine
12451 for text image glyph
12452 * redisplay-x.c (x_output_display_block): ditto
12453 * redisplay-msw.c (mswindows_output_display_block): ditto
12455 2000-02-02 Mike Alexander <mta@arbortext.com>
12457 Note: Some of these were committed by accident as part of other
12460 * regex.c (regex_compile): Avoid compiler warnings.
12462 * ntproc.c (sys_spawnve): Avoid compiler warnings.
12464 * nt.h: Declare term_ntproc correctly.
12466 * nt.c: Remove incorrect declaration of get_home_directory which
12467 is declared correctly in lisp.h.
12469 * keymap.c (get_keyelt): Avoid compiler warnings.
12470 (raw_lookup_key_mapper): Avoid compiler warnings.
12472 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
12474 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
12476 * filemode.c (mode_string): Avoid compiler warnings.
12478 * file-coding.c (Fcoding_system_aliasee): Add return statement to
12481 * events-mod.h: Undef some things that winuser.h defines differently.
12483 * data.c (Faset): Avoid compiler warnings.
12485 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
12487 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12489 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
12490 Fall through to simple beep on error.
12491 Replace "extern" by real header file.
12493 * linuxplay.c: Use nativesound.h
12494 (play_sound_data): Return error code. Be less verbose on error.
12496 * sunplay.c: Use nativesound.h
12497 (play_sound_data): Return error code. Be less verbose on error.
12499 * ntplay.c: Use nativesound.h
12500 (play_sound_data): Return fake error code
12502 * sgiplay.c: Use nativesound.h
12503 (play_sound_data): Return error code
12505 * hpplay.c: Use nativesound.h, partially implement
12506 new error code. Break compilation until finished.
12507 (play_sound_data): error code.
12509 * nativesound.h (play_sound_file):
12510 (play_sound_data): Prototype in new header.
12512 2000-03-31 Andy Piper <andy@xemacs.org>
12514 * glyphs-widget.c: (button_query_geometry): new function. Adjust
12515 for toggle and radio buttons.
12516 (image_instantiator_buttons): use it.
12518 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12520 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
12521 (x_update_horizontal_scrollbar_callback): Return if no mirror was
12522 found. Scrollbar event probably belonged to some old config.
12524 2000-03-31 Andy Piper <andy@xemacs.org>
12526 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
12528 (initialize_widget_image_instance): default layout to
12529 LAYOUT_HORIZONTAL rather than 0.
12530 (widget_instantiate): reverse the item list at the end rather than
12532 (layout_layout): re-code for the border text at the front of the
12533 item list rather than at the end.
12534 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
12535 provided by the user.
12536 (widget_query_geometry): comment.
12538 2000-03-30 Andy Piper <andy@xemacs.org>
12540 * glyphs-widget.c (image_instantiator_layout): allow standard
12541 widget keywords in layouts.
12543 * gutter.c (output_gutter): cope with nil gutter contents.
12545 * frame.c (Fset_frame_properties): add gutter docs.
12547 2000-03-29 Andy Piper <andy@xemacs.org>
12549 * toolbar-msw.c (TBSTYLE_FLAT): add.
12550 (mswindows_output_toolbar): minor fiddling.
12552 2000-03-29 Andy Piper <andy@xemacs.org>
12554 * gutter.c (output_gutter): force gutter size recalculation if
12555 what we are trying to display won't fit.
12556 (update_gutter_geometry): new function. A per-gutter version of
12557 update_frame_gutter_geometry.
12558 (update_frame_gutter_geometry): use it.
12559 (redraw_exposed_gutter): add extra debugging output.
12561 2000-03-28 Mike Alexander <mta@arbortext.com>
12563 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
12564 (pdump_file_unmap): Implement it on Windows
12565 (pdump_file_get): Save alocated handles for pdump_file_unmap
12567 2000-03-28 Andy Piper <andy@xemacs.org>
12569 * gui.c (get_gui_callback): treat Quit specially.
12571 2000-03-27 Andy Piper <andy@xemacs.org>
12573 * glyphs.c (image_instantiate): be careful to check in the same
12576 2000-03-27 Didier Verna <didier@xemacs.org>
12578 * config.h.in: define the proper SMART_INCLUDE macro.
12579 handle renaming of `foo_h_path' to `foo_h_file'.
12581 * database.c: ditto.
12585 * linuxplay.c: ditto.
12587 * terminfo.c: ditto.
12589 * tooltalk.h: ditto.
12591 2000-03-27 Andy Piper <andy@xemacs.org>
12593 * glyphs-msw.c (mswindows_update_widget): make sure the widget
12594 gets updated whenever the face might have changed.
12596 2000-03-26 Mike Alexander <mta@arbortext.com>
12598 * dumper.c (pdump_resource_free): Fix the comment.
12600 2000-03-21 Olivier Galibert <galibert@pobox.com>
12602 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
12604 2000-03-22 Mike Alexander <mta@arbortext.com>
12606 * dumper.c: Include Windows headers on Windows
12607 (pdump_resource_free): Add a body to the function
12608 (pdump_load): exe_name -> exe_path and add some comments.
12610 2000-03-25 Mike Alexander <mta@arbortext.com>
12612 * gui.c (copy_gui_item_tree): Return a value in all cases
12614 2000-03-21 Didier Verna <didier@xemacs.org>
12616 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
12618 (SMART_INCLUDE): new macro.
12619 (POSTGRES_INCLUDE): new macro to include postgresql headers from
12620 the proper location.
12622 * postgresql.c: use it.
12626 2000-03-24 Andy Piper <andy@xemacs.org>
12628 * gutter.c (redraw_exposed_gutters): must be "in display" when we
12631 2000-03-24 Andy Piper <andy@xemacs.org>
12633 * redisplay-output.c (compare_runes): use image_instance_changed
12634 to detect changes. Do not depend on glyphs_changed, only depend on
12636 (redisplay_output_layout): add debug messages.
12637 (compare_runes): ditto.
12639 * glyphs.h: declare new functions.
12640 (struct Lisp_Image_Instance): remove percent and associated
12643 * gui.h: declare new copying functions.
12645 * gui.c (copy_gui_item_tree): new function.
12646 (copy_gui_item): new function.
12647 (gui_item_id_hash): revert to standard hash.
12648 (gui_item_hash): ditto.
12649 (gui_item_hash_internal): deleted.
12650 (mark_gui_item): mark value.
12651 (gui_item_add_keyval_pair): add value.
12652 (gui_item_init): ditto.
12653 (gui_add_item_keywords_to_plist): ditto.
12654 (gui_item_equal): ditto.
12655 (syms_of_gui): add Q_value.
12657 * glyphs-x.c (x_progress_gauge_update): use pending items and
12658 value for setting the state.
12659 (x_update_widget): don't set items from pending here.
12661 * glyphs-widget.c (update_widget): update items here.
12662 (progress_gauge_set_property): use items for storing value. Put
12663 new value in pending items.
12665 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
12666 items for new value. Convert percent -> value.
12667 (mswindows_tab_control_update): don't update items here.
12669 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
12670 (update_subwindow): ditto.
12671 (image_instance_changed): new function. Compare hash values and
12672 past and present widget items.
12673 (image_instantiate): We more careful about where we instantiate
12675 (image_instantiate): add error checking.
12677 * gutter.c (syms_of_gutter): use -hook.
12679 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
12681 * console-tty.c (Fset_console_tty_input_coding_system): Use
12683 (Fset_console_tty_output_coding_system): Use Qterminal.
12684 (tty_init_console): Use Qkeyboard and Qterminal.
12686 2000-03-21 Ben Wing <ben@xemacs.org>
12688 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
12689 From Mike Alexander <mta@arbortext.com>.
12691 2000-03-21 Ben Wing <ben@xemacs.org>
12693 * event-msw.c (mswindows_need_event): Horrible kludge to fix
12694 process brokenness. Proper implementation to come.
12696 Rename call-process-internal to old-call-process-internal.
12697 New impl. in process.el.
12699 2000-03-21 Martin Buchholz <martin@xemacs.org>
12701 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
12703 2000-03-20 Andy Piper <andy@xemacs.org>
12705 * glyphs.c (full_list_hash): make hashes of the same elements in
12706 different orders return different values.
12708 2000-03-20 Martin Buchholz <martin@xemacs.org>
12710 * XEmacs 21.2.32 is released.
12712 2000-03-20 Martin Buchholz <martin@xemacs.org>
12714 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
12715 (DFC_MALLOC_USE_CONVERTED_DATA):
12716 Add aliasing-safe casts to allow use with char* or unsigned char*
12719 * eldap.c (Fldap_open):
12720 (Fldap_search_basic):
12723 Make C++-compilable.
12724 Make sure GCPRO'ed variables are initialized.
12725 Use temp variables to avoid repeated calls to Flength.
12727 2000-03-16 Martin Buchholz <martin@xemacs.org>
12730 Make sure PATH_MAX is always defined.
12731 Include limits.h for PATH_MAX.
12732 Deprecate use of MAXPATHLEN.
12734 2000-03-10 Martin Buchholz <martin@xemacs.org>
12736 * emacs.c: Add reinit_vars_of_fileio.
12737 * symsinit.h: Add reinit_vars_of_fileio.
12738 * fileio.c (reinit_vars_of_fileio): New.
12739 * fileio.c (Fmake_temp_name):
12740 Initialize temp_name random number from microseconds to make
12741 collisions even less likely. Initialize always at process startup
12742 time. (make-temp-name) used to return the same file name twice in
12744 Random stylistic fiddling.
12747 2000-03-20 Andy Piper <andy@xemacs.org>
12749 * glyphs.c (image_instantiate): allow text glyphs to be
12750 instantiated in the minibuffer window.
12752 2000-03-19 Andy Piper <andy@xemacs.org>
12754 * glyphs.c (image_instance_hash): be careful about which items we
12757 * glyphs-widget.c (tab_control_set_property): record into pending
12758 items rather than the actual items.
12760 * glyphs-x.c (x_update_widget): use pending items to update with.
12762 * glyphs-msw.c (mswindows_tab_control_update): use pending items
12765 * glyphs.c (mark_image_instance): mark pending items.
12767 * window.c (Fset_window_configuration): record the buffer.
12768 (Fselect_window): totally revert previous change which breaks many
12771 2000-03-18 Andy Piper <andy@xemacs.org>
12773 * glyphs-msw.c (mswindows_tab_control_update): force selected
12776 * glyphs.c (image_instantiate): don't allow the minibuffer as a
12777 window domain cache, otherwise we get inconsistencies at
12778 startup. There is something fishy at startup which can lead to the
12779 minibuffer being the selected window when the gutter content is
12782 * gui.c (parse_gui_item_tree_list): add probably unnecessary
12784 (parse_gui_item_tree_children): ditto.
12785 (parse_gui_item_tree_item): ditto.
12787 * glyphs.c (Fupdate_widget_instances): return something.
12789 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
12791 * window.c (Fselect_window): Undo 2000-03-17 change.
12793 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
12795 * postgresql.c (Fpq_setenv): Remove this turkey when linking
12796 against v7.0 libraries. Insta-coredump city until the postgres
12799 2000-03-17 Andy Piper <andy@xemacs.org>
12801 * faces.c (complex_vars_of_faces): don't give the widget face an
12802 inherited background pixmap.
12804 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
12807 * event-stream.c (Fdispatch_non_command_events): return something.
12809 * gutter.c (output_gutter): use widget face.
12810 (clear_gutter): ditto.
12812 * NEWS: adjust again.
12814 * window.c (Fselect_window): make sure this runs to completion to
12815 avoid oddities with Fset_window_configuration.
12816 (Fcurrent_window_configuration): in general do not save the
12817 minibuffer as the selected window.
12819 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
12821 2000-03-16 Olivier Galibert <galibert@pobox.com>
12823 * emacs.c (Frunning_temacs_p): Revert previous patch.
12824 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
12826 2000-03-16 Andy Piper <andy@xemacs.org>
12828 * glyphs-x.c (x_tab_control_update): if no widget values then
12831 * NEWS: update for new features.
12833 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
12834 synthetic event to the native system.
12835 (reinit_vars_of_event_Xt): set force_event_pending to
12836 emacs_Xt_force_event_pending.
12838 * events.h (struct event_stream): add force_event_pending.
12840 * specifier.c (recompute_one_cached_specifier_in_window): add
12843 * redisplay.c (redisplay_frame): don't call
12844 update_frame_subwindows. Reset subwindow cachels when
12845 subwindows_changed, removing this was an optimization too far.
12847 * redisplay-output.c (compare_runes): reorganize so that we catch
12848 glyph changes when we want them. Set optimize_output when this
12849 would help layouts.
12850 (redisplay_output_layout): remove frame_really_changed, use
12851 optimize_output instead.
12853 * redisplay-msw.c (mswindows_output_display_block): reset
12854 optimize_output after outputting a glyph.
12855 * redisplay-x.c (x_output_display_block): ditto.
12856 * redisplay-tty.c (tty_output_display_block): ditto.
12858 * gutter.c: (specifier_vars_of_gutter): use new spec changed
12860 (gutter_specs_changed): do specific gutter positions.
12861 (top_gutter_specs_changed): new function. Only update the
12862 specified gutter specs.
12863 (bottom_gutter_specs_changed): ditto.
12864 (left_gutter_specs_changed): ditto.
12865 (right_gutter_specs_changed): ditto.
12867 * gui.c (gui_item_hash_internal): new function, does a real hash.
12868 (gui_item_id_hash): use it.
12869 (gui_item_hash): hash the eval'ed gui_item.
12871 * gui-x.c (popup_selection_callback): send an eval event to call
12872 Fupdate_widget_instances.
12874 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
12875 to call Fupdate_widget_instances.
12877 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
12878 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
12880 * glyphs.c: (update_frame_subwindows): deleted.
12881 (Fupdate_widget_instances): new function for updating the dirty
12882 state of widgets that might have changed.
12883 (syms_of_glyphs): add Qupdate_widget_instances.
12884 (full_list_hash): hash a list completely.
12885 (image_instance_hash): use it for items and properties.
12887 * frame-msw.c (mswindows_size_frame_internal): remove unused
12890 * faces.h (struct face_cachel): fix comment.
12892 * event-stream.c (Fdispatch_non_command_events): new
12893 function. Process non-command events, forcing an event cycle
12895 (syms_of_event_stream): declare.
12896 (event_stream_force_event_pending): new function. Force an event
12897 on the native event queue so that an event cycle will occur next
12901 (struct ntpipe_shove_stream):
12902 (mswindows_enqueue_dispatch_event):
12903 (mswindows_dequeue_dispatch_event):
12904 (mswindows_cancel_dispatch_event):
12905 (mswindows_pump_outstanding_events):
12906 (mswindows_drain_windows_queue):
12907 (mswindows_handle_paint):
12908 (mswindows_wnd_proc):
12909 (mswindows_key_to_emacs_keysym):
12910 (get_process_input_waitable):
12911 (emacs_mswindows_delete_stream_pair): re-indent file.
12912 (mswindows_need_event): do not process further fds if the windows
12913 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
12914 fixes the 100% cpu problem.
12915 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
12917 2000-03-15 Olivier Galibert <galibert@pobox.com>
12923 * emacs.c: Moved dump file searching to dumper.c.
12924 (Frunning_temacs_p): Fixed.
12926 * alloc.c: Moved everything pdump-related to dumper.c. Removed
12927 last_lrecord_type_index_assigned.
12929 2000-02-20 Olivier Galibert <galibert@pobox.com>
12931 * symsinit.h: Added reinit parameter to init_console_stream
12934 * lisp.h: Added file parameter to pdump_load declaration.
12936 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
12937 support. Added dump file searching.
12939 * config.h.in: Added EMACS_PROGNAME.
12941 * console-stream.c (init_console_stream): Fix reinitialisation
12942 when running from temacs.
12944 * alloc.c (pdump): Add id support.
12945 (pdump_load): Add file parameter and signature/id support.
12947 * Makefile.in.in: Add full pdump support.
12949 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
12951 * postgresql.c: Update documentation to reflect latest code
12953 (print_result): Show tuple counts in printed representation when
12955 (Fpq_put_nbytes): MULE-ize.
12956 (Fpq_get_line_async): Ditto.
12958 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
12960 * postgresql.c (Fpq_lo_import): Fix return value.
12961 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
12963 2000-03-13 Ben Wing <ben@xemacs.org>
12965 * alloc.c (pdump_load):
12966 Fix compile warning under mswin.
12968 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
12970 * postgresql.c: Mule-ization, bug fixes.
12971 Use PG_CODING to encapsulate coding system name changes.
12972 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
12973 (pg-coding-system): Create.
12975 (Fpq_conn_defaults): Mule-ize.
12976 (Fpq_connectdb): Mule-ize & bug fix.
12977 (Fpq_connect_start): Mule-ize.
12978 (Fpq_set_client_encoding): Mule-ize.
12979 (Fpq_finish): Document `DEAD' connection status.
12980 (Fpq_clear): Ditto.
12981 (Fpq_pgconn): Mule-ize.
12982 (Fpq_exec): Mule-ize & bug fix.
12983 (Fpq_send_query): Ditto.
12984 (Fpq_get_result): Ditto.
12985 (Fpq_res_status): Mule-ize.
12986 (Fpq_result_error_message): Mule-ize.
12987 (Fpq_ntuples): fix comments.
12988 (Fpq_fname): Mule-ize.
12989 (Fpq_fnumber): Mule-ize.
12990 (Fpq_ftype): fix comments.
12991 (Fpq_get_value): Mule-ize.
12992 (Fpq_cmd_status): Ditto.
12993 (Fpq_cmd_tuples): Ditto.
12994 (Fpq_oid_value): Ditto.
12995 (Fpq_notifies): Ditto.
12996 (Fpq_lo_import): Ditto.
12997 (Fpq_lo_export): Ditto.
12998 (Fpq_get_line): Ditto.
12999 (Fpq_put_line): Mule-ize and bug fix.
13000 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13002 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13004 * postgresql.c (vars_of_postgresql): Mule-ize.
13005 (Fpq_conn_defaults): Ditto.
13007 2000-03-12 Ben Wing <ben@xemacs.org>
13009 * alloc.c (Fmake_byte_code):
13010 * alloc.c (debug_string_purity_print):
13011 * alloc.c (pdump_backtrace):
13012 * alloc.c (pdump_get_indirect_count):
13013 * alloc.c (pdump_register_sub):
13014 * alloc.c (pdump_register_object):
13015 * alloc.c (pdump_register_struct):
13016 * alloc.c (pdump_dump_data):
13017 * alloc.c (pdump_reloc_one):
13021 * console-msw.c (GetConsoleHwnd):
13022 * console-msw.c (msw_hide_console):
13023 * console-msw.c (msw_show_console):
13024 * console-msw.c (msw_ensure_console_buffered):
13025 * console-msw.c (msw_output_console_string):
13026 * console-msw.c (console_type_create_mswindows):
13028 a) Added functions to manipulate the console window for use with
13031 b) Added support for writing text to the console, which is now
13032 used under Windows when xemacs is not being run non-interactively,
13033 to write text that would otherwise be destined for stdout because
13034 under these circumstances, text written to stdout tends to
13035 disappear and not be seen.
13039 * event-Xt.c (x_event_to_emacs_event):
13040 * event-Xt.c (describe_event_window):
13041 * events-mod.h (XEMACS_MOD_CONTROL):
13043 * events.c (Fmake_event):
13044 * events.c (character_to_event):
13045 * events.c (event_to_character):
13046 * events.c (format_event_object):
13047 * events.c (Fevent_modifiers):
13049 * events.h (struct key_data):
13050 * events.h (struct button_data):
13051 * events.h (struct misc_user_data):
13052 * frame-x.c (Fcde_start_drag_internal):
13053 * frame-x.c (Foffix_start_drag_internal):
13054 * gpmevent.c (Freceive_gpm_event):
13056 * keymap.c (bucky_sym_to_bucky_bit):
13057 * keymap.c (control_meta_superify):
13058 * keymap.c (make_key_description):
13059 * keymap.c (keymap_lookup_directly):
13060 * keymap.c (create_bucky_submap):
13061 * keymap.c (keymap_store):
13062 * keymap.c (define_key_check_and_coerce_keysym):
13063 * keymap.c (define_key_parser):
13064 * keymap.c (define_key_alternate_name):
13065 * keymap.c (Fdefine_key):
13066 * keymap.c (raw_lookup_key_mapper):
13067 * keymap.c (struct map_keymap_unsorted_closure):
13068 * keymap.c (map_keymap_unsorted_mapper):
13069 * keymap.c (map_keymap_sort_predicate):
13070 * keymap.c (map_keymap_sorted):
13071 * keymap.c (accessible_keymaps_mapper_1):
13072 * keymap.c (where_is_recursive_mapper):
13073 * keymap.c (describe_map_mapper):
13074 * keymap.c (describe_map_sort_predicate):
13075 * keymap.c (describe_map):
13076 * keymap.c (complex_vars_of_keymap):
13077 And a number of other files, the key modifier preprocessor
13078 constants that xemacs uses have names that conflict with constants
13079 defined under MS Windows for other purposes, so they were renamed
13080 to begin with the prefix XEMACS_. The variables that hold such
13081 modifiers were changed to consistently be of type int to fix
13082 various compile warnings.
13084 * console.c (complex_vars_of_console):
13087 * device-msw.c (mswindows_finish_init_device):
13088 * device-msw.c (msw_get_workspace_coords):
13089 * device-msw.c (mswindows_device_system_metrics):
13090 and various other files, added support for a new
13091 device property called offset-workspace which returns the position
13092 of the upper left corner of the workspace area and goes along with
13093 the existing size-workspace property.
13096 * dialog-msw.c (push_bufbyte_string_as_unicode):
13097 * dialog-msw.c (mswindows_popup_dialog_box):
13098 Added support for XEmacs-style accelerator specifications in
13099 button text. Note: I didn't add support for this under X Windows,
13100 and somebody needs to do this.
13103 * dialog.c (Fpopup_dialog_box):
13104 Documented the support for accelerators that was just mentioned.
13106 editfns.c (get_home_directory): Changed behavior under Windows
13107 when HOME not defined; former behavior was irretrievably broken.
13110 * emacs.c (main_1):
13112 * minibuf.c (clear_echo_area_internal):
13113 * minibuf.c (echo_area_append):
13115 * print.c (std_handle_out_external):
13116 * print.c (std_handle_out_va):
13118 * print.c (write_string_to_stdio_stream):
13119 * print.c (output_string):
13120 * print.c (debug_print):
13121 * print.c (debug_backtrace):
13122 * print.c (debug_short_backtrace):
13123 Cleaned up the code that prints text to stdout so that this can be
13124 changed to output into a console window instead under MS Windows,
13125 as described above.
13128 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
13129 * eval.c (internal_catch):
13130 * eval.c (unwind_to_catch):
13131 * eval.c (throw_or_bomb_out):
13132 * eval.c (condition_case_1):
13133 * eval.c (signal_1):
13134 * eval.c (check_error_state_sanity):
13135 * eval.c (call_with_suspended_errors_1):
13136 * eval.c (call_with_suspended_errors):
13137 * eval.c (reinit_vars_of_eval):
13138 Added code to catch throw loops and check for a pesky bug that may
13142 * event-msw.c (key_needs_default_processing_p):
13143 * event-msw.c (mswindows_wnd_proc):
13144 * event-msw.c (mswindows_modifier_state):
13145 * event-msw.c (emacs_mswindows_quit_p):
13146 * event-msw.c (vars_of_event_mswindows):
13147 a) Added support for using the alt key to select menu items as is
13148 standard under MS Windows. This is controlled using the variable
13149 menu-accelerator-enabled, just like under X Windows. There is an
13150 option on the options menu to turn this support on. I really
13151 think that it should be on by default under Windows, but I'm not
13152 going to make this change yet.
13154 b) Added support for dynamic display size changes under Windows.
13157 * event-stream.c (maybe_echo_keys):
13158 * event-stream.c (Fnext_event):
13159 * event-stream.c (command_builder_find_leaf):
13160 * event-stream.c (lookup_command_event):
13161 * event-stream.c (execute_command_event):
13162 * event-stream.c (pre_command_hook):
13163 * event-stream.c (post_command_hook):
13164 * event-stream.c (syms_of_event_stream):
13165 * event-stream.c (vars_of_event_stream):
13166 * event-stream.c (complex_vars_of_event_stream):
13167 * events.h (struct command_builder):
13169 a) Tried to clean up a little bit the horribly written x-specific
13170 accelerator code that crept into this file. I moved this code
13171 into menubar-x.c where it belongs. I also needed to move the
13172 command builder structure into the file events.h because it is
13173 accessed directly by this accelerator code. What I didn't do, but
13174 which should be done at some point, is to properly abstract this
13175 code using device methods instead of the kludgy way that it
13176 currently hooks into the event code.
13178 b) Added the lisp variables this-command-properties and
13179 last-command- properties, which should be used to synchronize two
13180 adjacent commands in preference to playing games with the variable
13181 this-command, which is typically what happens.
13183 c) Added some slightly nasty code to hook into the lisp support
13184 for shifted- motion-key selection. This is actually necessary for
13185 somewhat complicated reasons, which are described in
13186 simple.el. (NB: I think the proper thing would be to have the code
13187 that calls the pre and post command hooks also call out to generic
13188 lisp functions in simple.el, where all built-in stuff could be
13189 added. I will think about this more.)
13191 * event-unixoid.c (poll_fds_for_input):
13192 * lread.c (readchar):
13193 * redisplay-tty.c (tty_clear_frame):
13194 * redisplay-x.c (x_get_gc):
13195 * signal.c (interrupt_signal):
13196 And a whole bunch of other files: fixed up places that printed
13197 directly to stderr to instead call the function stderr_out so that
13198 the changes I made under Windows work correctly.
13200 * filemode.c (mode_string):
13204 * frame-msw.c (mswindows_size_frame_internal):
13205 Fixed the computation of frame size and position to keep the frame
13206 within the workspace area, rather than within the physical
13207 dimensions of the screen, so that the frame doesn't overlap window
13208 manager decorations, such as the start menu and toolbar, typically
13209 at the bottom of the screen.
13211 * frame.c (vars_of_frame):
13212 Changed the default frame title format under MS Windows to consist
13213 of buffername-XEmacs, which is standard under MS Windows. I think
13214 it might be a good idea to change this everywhere because I think
13215 it is superior to the current frame title format, but this is the
13216 kind of change that is likely to cause some people to get annoyed,
13217 so I'm not making it.
13219 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13221 * gui-msw.c (mswindows_handle_gui_wm_command):
13222 Fixed compile warnings.
13225 * gui-x.c (strdup_and_add_accel):
13226 * gui-x.c (button_item_to_widget_value):
13228 Added code to automatically put an accelerator onto the beginning
13229 of menu items that don't have one as is now the standard, and is
13230 described more later. Also fixed things so that the menu item
13231 name can be an evaluated expression, again a new standard.
13234 * gui.c (gui_item_add_keyval_pair):
13235 * gui.c (make_gui_item_from_keywords_internal):
13236 * gui.c (gui_add_item_keywords_to_plist):
13237 * gui.c (gui_item_accelerator):
13238 * gui.c (gui_name_accelerator):
13239 * gui.c (gui_item_included_p):
13240 * gui.c (gui_item_display_flush_left):
13241 * gui.c (gui_item_display_flush_right):
13242 * gui.c (parse_gui_item_tree_item):
13243 * gui.c (parse_gui_item_tree_children):
13244 * gui.c (parse_gui_item_tree_list):
13245 Mule-ized. Cleanup. GCPRO addition.
13247 * line-number.c (buffer_line_number):
13249 * lisp.h (EMACS_INT_MAX):
13250 Added the manifest constant EMACS_INT_MIN corresponding to the
13251 existing constant EMACS_INT_MAX. This is partially to fix compile
13252 warnings under Windows, and partly for cleanliness.
13255 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
13256 * menubar-msw.c (msw_translate_menu_or_dialog_item):
13257 * menubar-msw.c (displayable_menu_item):
13258 * menubar-msw.c (populate_menu_add_item):
13259 * menubar-msw.c (populate_or_checksum_helper):
13260 * menubar-msw.c (populate_menu):
13261 * menubar-msw.c (update_frame_menubar_maybe):
13262 * menubar-msw.c (prune_menubar):
13263 * menubar-msw.c (msw_char_is_accelerator):
13264 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
13265 * menubar-msw.c (mswindows_handle_wm_command):
13266 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
13267 * menubar-msw.c (mswindows_handle_wm_initmenu):
13268 * menubar-msw.c (mswindows_update_frame_menubars):
13269 * menubar-msw.c (mswindows_free_frame_menubars):
13270 * menubar-msw.c (mswindows_popup_menu):
13271 Fixed a bug in handling accelerators where an extra character
13272 would be displayed in the menu item. Also generalized the
13273 function displayable_menu_item because it is now used by the
13274 dialog box code as well. And finally, added code in the functions
13275 that create the menubar to extract a list of accelerators for the
13276 top level menubar, which is used in the event code to determine
13277 whether a particular alt-key combination should be used to invoke
13278 a menu item, or should be passed through to access the standard
13279 XEmacs keymap binding for this key combination.
13281 Much needed GCPROing.
13284 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13285 * menubar-x.c (menu_item_descriptor_to_widget_value):
13286 * menubar-x.c (restore_in_menu_callback):
13287 * menubar-x.c (x_popup_menu):
13288 * menubar-x.c (menu_move_up):
13289 * menubar-x.c (menu_move_down):
13290 * menubar-x.c (menu_move_left):
13291 * menubar-x.c (menu_move_right):
13292 * menubar-x.c (menu_select_item):
13293 * menubar-x.c (command_builder_operate_menu_accelerator):
13294 * menubar-x.c (menu_accelerator_junk_on_error):
13295 * menubar-x.c (command_builder_find_menu_accelerator):
13296 * menubar-x.c (Faccelerate_menu):
13298 Moved a whole bunch of code here that was previously in
13299 event-stream.c as described above. There is also code connected
13300 to the new standard of adding an accelerator to the beginning of
13301 menu items that don't have one as described above and below.
13304 * menubar.c (menu_parse_submenu_keywords):
13305 * menubar.c (Fmenu_find_real_submenu):
13306 * menubar.c (Fnormalize_menu_item_name):
13307 * menubar.c (syms_of_menubar):
13308 * menubar.c (vars_of_menubar):
13309 * menubar.c (complex_vars_of_menubar):
13311 a) Cleaned up a bunch of documentation and improved it.
13313 b) XEmacs now automatically adds an accelerator onto the beginning
13314 of any menu items that don't have one. I did this because there
13315 will inevitably be some menu items on the main menubar that don't
13316 have accelerators on them because the package that adds that
13317 particular menu item hasn't yet been fixed up to have accelerators
13318 in them and it looked rather strange to have some items with and
13319 some items without accelerators, especially since even in items
13320 without accelerators, you can, at least under windows, still
13321 access the item through an accelerator corresponding to the first
13322 character in the item's name. If people don't like this behavior,
13323 I can add a variable to turn it off optionally, but I'm not sure
13324 this is a good idea because we really do need to have accelerators
13325 on all of the menu items, and if a package doesn't like the
13326 accelerators being put on the first character, then it should put
13327 the accelerators where they belong.
13329 c) I made a behavior change, which is that the descriptor that
13330 specifies the text of the menu item, which formerly was just a
13331 string, can now also be an evaluated expression. This makes this
13332 descriptor parallel with all of the others, which could also be
13333 evaluated expressions. This also obviates the need for the
13334 keyword :label, which was previously listed in the documentation
13335 as unimplemented, and which was for the same purpose.
13340 * ntproc.c (new_child):
13341 * ntproc.c (sys_spawnve):
13342 * ntproc.c (find_child_console):
13343 * ntproc.c (sys_kill):
13344 Fixed compile warnings. By the way, this file should really go
13345 away entirely, and this will happen as soon as Kirill makes his
13346 final round of process cleanups, which affect the function
13350 * process-nt.c (struct nt_process_data):
13351 * process-nt.c (find_process_from_pid):
13352 * process-nt.c (send_signal_the_nt_way):
13353 * process-nt.c (enable_child_signals):
13354 * process-nt.c (find_child_console):
13355 * process-nt.c (send_signal_the_95_way):
13356 * process-nt.c (nt_finalize_process_data):
13357 * process-nt.c (ensure_console_window_exists):
13358 * process-nt.c (nt_create_process):
13359 * process-nt.c (nt_kill_child_process):
13360 * process-nt.c (nt_kill_process_by_pid):
13361 * process-nt.c (nt_open_network_stream):
13362 * process-nt.c (vars_of_process_nt):
13363 Copied over code from Emacs 20.5 to correctly send signals to sub-
13364 processes under Windows 95. Also added code to automatically
13365 create and hide console window when a sub-process is created under
13366 Windows 95, which obviates the need for the separate runemacs.exe
13367 executable, and finally implemented some variables that were
13368 implemented in Emacs 20.5, but previously not in XEmacs. These
13369 include mswindows- start-process-share-console and
13370 mswindows-start-process-inherit-error-mode. (Both of these only
13371 apply to Windows 95.)
13373 * regex.c (regex_compile): Fixed a compile warning.
13376 * select-msw.c (mswindows_own_selection):
13377 * select-msw.c (mswindows_get_foreign_selection):
13378 * select-msw.c (mswindows_disown_selection):
13379 * select-msw.c (console_type_create_select_mswindows):
13380 * select-msw.c (syms_of_select_mswindows):
13381 Cleaned up the file and implemented the device method
13382 selection_exists_p, which had accidentally been left out. Also
13383 removed four lisp functions that were remnants from before the
13384 time when the selection code was properly device abstracted.
13385 These functions are no longer needed because there are generic
13386 equivalents, and because they were added recently and don't exist
13387 in FSF Emacs, I don't think there's any problem with just deleting
13391 * sysdep.c (sys_subshell):
13392 Fixed a compile warning, although in this case there's probably
13393 something wrong with this code, and it ought to be looked into
13394 more thoroughly by somebody who understands it.
13397 * window.c (Fwindow_text_area_height):
13398 * window.c (Fwindow_width):
13399 * window.c (Fwindow_full_width):
13400 * window.c (Fwindow_pixel_width):
13401 * window.c (debug_print_window):
13402 * window.c (syms_of_window):
13403 Added functions window-text-area-height and window-full-width,
13404 which are functions for returning various width and height
13405 characteristics of a window. (One of these functions is necessary
13406 for making the file dialog box work correctly, and the other one
13407 was added for completeness.) Also added a table to the
13408 documentation for window-height which describes the entire scheme
13409 for accessing width and height characteristics of a window.
13411 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13413 * nt.c (fstat): Added a comment for another problem with
13414 non-encapsulated [f]stat(), reported by Adrian Aichner
13415 <aichner@ecf.teradyne.com>.
13417 2000-03-11 Andy Piper <andy@xemacs.org>
13419 * window.c (make_dummy_parent): initialize subwindow instance
13421 (Fset_window_configuration): zero extent_modiff.
13423 2000-03-10 Andy Piper <andy@xemacs.org>
13425 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
13426 more changes can be triggered.
13427 (Fredisplay_frame): ditto.
13428 (Fredraw_device): ditto.
13429 (Fredisplay_device): ditto.
13430 (redisplay_frame): make non-static.
13431 (redisplay_frame): call update_frame_gutter_geometry outside of
13434 * gutter.h: declare update_frame_gutter_geometry.
13436 * redisplay.h: declare redisplay_frame.
13438 * gutter.c (update_frame_gutter_geometry): move geometry changes
13439 in update_frame_gutters here. Geometry changes can only occur
13440 outside of redisplay.
13441 (update_frame_gutters): remove geometry change code.
13442 (Fredisplay_gutter_area): make sure that we are in display when we
13443 update and that we have flushed any size changes.
13445 2000-03-11 Andy Piper <andy@xemacs.org>
13447 * alloc.c (pdump_dump_data): remove i & count shadows.
13449 2000-02-27 Mike Alexander <mta@arbortext.com>
13451 * sysdep.h: Declare pdump_read_file
13453 * sysdep.c (pdump_read_file): New function
13455 * alloc.c (pdump_load): Call pdump_read_file to get the portable
13458 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13460 * lrecord.h: add `lrecord_type_pgsetenv'.
13462 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
13464 * symsinit.h: declare (vars|syms)_of* functions.
13465 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
13467 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
13469 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
13471 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
13474 * emacs.c (main_1): Call postgres initialization code.
13476 * postgresql.h: New file. PostgreSQL RDBMS support.
13477 * postgresql.c: New file.
13479 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13481 * redisplay-output.c (redisplay_output_display_block): Disable
13484 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13486 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
13487 (Fcanna_henkan_next): Ditto.
13488 (Fcanna_bunsetu_henkou): Ditto.
13489 (Fcanna_henkan_kakutei): Ditto.
13490 (Fcanna_henkan_end): Ditto.
13491 (Fcanna_henkan_quit): Ditto.
13492 (Fcanna_henkan_next): Set retun value correctly.
13493 (c2mu): Use unsigned char instead of signed char.
13495 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13497 * emacs.c (main_1): Always call syms_of_gui.
13498 * inline.c: include gui.h
13500 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13502 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
13503 converted to Lisp_Object.
13504 (Qtop_bottom): New variable.
13505 (syms_of_redisplay): Initialize it.
13506 * redisplay.h (Vvisible_bell): Ditto.
13507 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
13508 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
13509 only flash top and bottom.
13511 2000-03-08 Andy Piper <andy@xemacs.org>
13513 * buffer.c (Frename_buffer): record new buffer name the right way.
13515 2000-03-08 Andy Piper <andy@xemacs.org>
13517 * glyphs.c (update_subwindow): increase hash depth so that widget
13518 items get picked up properly.
13520 * redisplay-output.c (compare_runes): increase hash depth so that
13521 widget items get picked up properly.
13523 2000-03-08 Andy Piper <andy@xemacs.org>
13525 * gutter.c (output_gutter): add some debug.
13527 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
13528 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
13529 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
13531 * redisplay-output.c (compare_runes): use display_hash to
13532 determine if glyphs really are not the same.
13534 * glyphs.c (update_subwindow): check display_hash to see if
13535 anything really needs to be updated. If not then do
13536 nothing. Record the display_hash after updating.
13537 (image_instance_equal): compare the image_instance face also.
13539 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
13541 * redisplay.h: Fix comment style.
13543 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
13545 * consle-msw.h (struct mswindows_frame):
13546 Added new member paint_pending to indicate whether a WM_PAINT
13547 magic event has been queued for this frame.
13549 * event-msw.c (mswindows_drain_windows_queue):
13550 Don't queue a WM_PAINT magic event if one is already queued.
13551 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
13553 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
13555 2000-03-07 Didier Verna <didier@xemacs.org>
13557 * dired.c: #include `regex.h' after `sysfile.h'.
13559 2000-03-06 Martin Buchholz <martin@xemacs.org>
13561 * sound.c (init_nas_sound): Fix compiler warning.
13563 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
13565 (MARK_STRUCT_AS_FREE):
13566 (MARK_STRUCT_AS_NOT_FREE):
13567 Make `gcc -fstrict-aliasing' work properly.
13569 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
13571 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
13572 (mswindows_delete_device): Call CoUnnitialize().
13574 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
13576 2000-02-25 <CraigL@DyCon.com>
13578 * process-nt.c: MinGW now has <shellapi.h>, but still needs
13581 * sysdep.c: This extern declaration for environ prevents MinGW
13582 from finding the variable in CRTDLL.DLL.
13584 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
13586 (SHGFI_EXETYPE): ..
13587 (WM_MOUSEWHEEL): ..
13588 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
13590 (MMRESULT): Removed, now defined in cygwin's windows headers.
13592 (uid_t,gid_t,pid_t,ssize_t): ..
13593 (_timeb): Removed, MinGW defines both _timeb and timeb.
13594 (HAVE_H_ERRNO): Added.
13595 (HAVE_TZNAME): Added, configure is not detecting this.
13597 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
13599 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
13600 * syntax.c (syntax_match): Use it.
13602 * cmds.c: Import auto-fill-chars from FSF Emacs.
13603 (Vauto_fill_chars): New variables.
13604 (internal_self_insert): Check Vauto_fill_chars.
13606 Declare auto-fill-chars as a Lisp variable and initialize it.
13608 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13610 * fileio.c (Fmake_symbolic_link):
13612 Run handlers even if local machine doesn't have symlinks.
13614 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13616 * event-msw.c (mswindows_drain_windows_queue):
13617 Don't generate paint magic events for non-XEmacs frames.
13619 2000-03-05 Andy Piper <andy@xemacs.org>
13621 * redisplay.c (redisplay_frame): generate_displayable_area and
13622 friends assumes that we are not in GC, we therefore have to make
13623 sure that this doesn't happen.
13625 * gutter.c (calculate_gutter_size): generate_displayable_area
13626 assumes that we are not in GC, we therefore have to make sure that
13627 this doesn't happen.
13629 2000-03-05 Martin Buchholz <martin@xemacs.org>
13631 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
13633 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13635 * redisplay.c (regenerate_window): Make sure we set a sane value
13636 for end_pos even if we jump out of the loop.
13637 (regenerate_window): Answer Ben's question :-).
13638 (start_end_of_last_line): Add may_error argument.
13639 (start_of_last_line):
13640 (end_of_last_line): Pass may_error = 0.
13641 (end_of_last_line_may_error): New function.
13642 (pixel_to_glyph_translation): Use it, so we don't crash in
13645 2000-03-04 Andy Piper <andy@xemacs.org>
13647 * window.h (struct window): add gutter_extent_modiff.
13649 * window.c (allocate_window): zero out gutter_extent_modiff.
13651 * redisplay.h: declare sync_display_line_structs.
13653 * redisplay.c (add_glyph_rune): add a better comment.
13655 * redisplay-output.c (sync_display_line_structs): made non-static.
13656 (compare_runes): remove unneccesary glyph cachel access.
13658 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
13660 * gutter.c (output_gutter): don't output the gutter if extent
13661 changes only involve extents in buffers. use 4 sets of display
13663 (gutter_extent_signal_changed_region_maybe): new function. Mark
13664 extents in gutters as changed.
13665 (update_frame_gutters): use 4 sets of display lines.
13666 (reset_gutter_display_lines): ditto.
13667 (free_frame_gutters): ditto.
13668 (redraw_exposed_gutter): force output of gutters.
13670 * frame.h (struct frame): add 4 sets of gutter display lines.
13672 * extents.c: (extent_changed_for_redisplay): signal changes to
13673 extents in strings in the gutter as well as extents in buffers.
13675 2000-03-02 Andy Piper <andy@xemacs.org>
13677 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
13679 * frame.c (Fmake_frame): make sure the gutters get initialized
13680 after the frame is visible.
13681 (set_frame_selected_window): re-arrange compilation macros a
13683 (change_frame_size_1): mark gutters changed.
13685 * device.c (Fset_device_class): mark gutters changed.
13687 2000-03-01 Andy Piper <andy@xemacs.org>
13689 * window.c (window_top_frame_gutter_height): deleted.
13690 (window_bottom_frame_gutter_height): ditto.
13691 (window_left_frame_gutter_height): ditto.
13692 (window_right_frame_gutter_height): ditto.
13693 (window_top_gutter_height): don't use them.
13694 (window_bottom_gutter_height): ditto.
13695 (window_left_gutter_width): ditto.
13696 (window_right_gutter_width): ditto.
13697 (Fsplit_window): ditto.
13698 (Fwindow_pixel_edges): don't use border dimensions here.
13700 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
13701 (update_scrollbar_instance): ditto.
13703 * redisplay.c (generate_modeline): don't take gutters into account.
13704 (generate_modeline): ditto.
13705 (redisplay_frame): small gutter display optimization.
13707 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
13709 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
13710 gutters into account.
13712 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
13713 for window position and type.
13715 * gutter.c (get_gutter_coords): fix for frame gutters.
13716 (update_frame_gutters): update frame geometry if the gutters have
13718 (init_frame_gutters): record current gutter geometries.
13720 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
13722 (mswindows_widget_instantiate): ditto.
13724 * frame.h (struct frame): add current_gutter_bounds.
13726 * frame.c (change_frame_size_1): position window and minibuffer
13727 appropriately taking into account the frame gutters.
13729 * frame-x.c: (x_initialize_frame_size): take into account the
13732 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
13734 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
13736 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
13738 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
13740 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13742 * file-coding.c (reset_decoding_stream): Clear previous
13743 detection state when autodetect.
13745 2000-02-29 Didier Verna <didier@xemacs.org>
13747 * extents.c (set_extent_glyph_1): don't require extents to be
13750 2000-02-27 Andy Piper <andy@xemacs.org>
13752 * gutter.c (Fset_default_gutter_position): don't default left and
13753 right gutter visibility to t.
13754 (Fset_default_gutter_position): run
13755 default-gutter-position-changed-hook.
13756 (syms_of_gutter): add default-gutter-position-changed-hook.
13758 2000-02-26 Andy Piper <andy@xemacs.org>
13760 * specifier.c (Fmake_specifier): add gutter references.
13762 * gutter.h (RAW_WINDOW_GUTTER): new macro.
13764 * lisp.h: declare Fvalid_plist_p.
13766 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
13768 (default_gutter_visible_p_changed_in_window): invalidate gutter as
13769 well as its visibility so that it gets reconstructed.
13770 (construct_window_gutter_spec): new function. Construct a string
13771 to be displayed in the gutter from a plist of strings. Take care
13772 to only use elements that are declared as visible.
13773 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
13775 (gutter_validate): allow plists of strings in the specifier.
13776 (gutter_specs_changed): construct the real_gutter from the gutter
13777 specs using construct_window_gutter_spec.
13778 (gutter_visible_validate): gutter-visible is a new specifier type.
13779 (Fgutter_visible_specifier_p): new function for the new specifier.
13780 (syms_of_gutter): declare gutter-visible and
13781 Fgutter_visible_specifier_p.
13782 (specifier_type_create_gutter): intitalize new gutter-visible
13784 (reinit_specifier_type_create_gutter): ditto.
13785 (specifier_vars_of_gutter): use new specifier type for gutter
13787 (init_frame_gutters): construct real_gutter correctly.
13788 (Fgutter_specifier_p): beef up documentation.
13789 (Fgutter_size_specifier_p): ditto.
13791 * winslots.h: add real_gutter slots.
13793 2000-02-25 Andy Piper <andy@xemacs.org>
13795 * device-msw.c: Be kind to older cygwin versions. From Raymond
13796 Toy <toy@rtp.ericsson.se>.
13798 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
13799 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
13801 2000-02-25 Martin Buchholz <martin@xemacs.org>
13803 * elhash.c (MARK_OBJ): Practice macro hygiene.
13805 2000-02-24 Martin Buchholz <martin@xemacs.org>
13807 * miscplay.c: s/__inline__/inline/g;
13808 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
13809 (get_device_compdc): INLINE ==> static inline
13810 * *.[ch]: Change INLINE to INLINE_HEADER globally.
13811 find -name '*.h' | \
13812 xargs global-replace \
13813 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
13815 2000-02-25 Andy Piper <andy@xemacs.org>
13817 * window.c (window_top_frame_gutter_height): new function.
13818 (window_top_window_gutter_height): ditto.
13819 (window_top_gutter_height): use them.
13820 (window_bottom_frame_gutter_height): new function.
13821 (window_bottom_window_gutter_height): ditto.
13822 (window_bottom_gutter_height): use them.
13823 (window_left_window_gutter_width): new function.
13824 (window_left_frame_gutter_width): ditto.
13825 (window_left_gutter_width): use them.
13826 (window_right_window_gutter_width): new function.
13827 (window_right_frame_gutter_width): ditto.
13828 (window_right_gutter_width): use them.
13829 (window_pixel_height): new function. calulate window pixel height
13830 with frame gutter involvement.
13831 (Fsplit_window): calculate new sizes taking frame gutters into
13833 (window_char_height_to_pixel_height): don't include frame gutters.
13834 (window_char_height): use window_pixel_height.
13835 (window_pixheight): rename from window_pixel_height.
13836 (change_window_height): use it.
13837 (window_pixel_height_to_char_height): don't include frame gutters.
13838 (window_char_width_to_pixel_width): ditto.
13840 2000-02-25 Andy Piper <andy@xemacs.org>
13842 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
13845 2000-02-24 Martin Buchholz <martin@xemacs.org>
13847 * alloc.c (staticpro):
13848 (staticpro_nodump):
13853 (compact_string_chars):
13854 (pdump_dump_wired):
13855 Convert: if (foo) abort(); ==> assert (! foo);
13857 * eldap.c (Fldap_search_basic):
13861 Fix compiler warnings, and possible crashes if (random) return
13862 value were to be used.
13864 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13866 * device-msw.c: Workaround ResetDC failure.
13868 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
13869 applying a devmode.
13871 * redisplay-msw.c (get_frame_dc): Added start_page_p.
13872 (mswindows_text_width): Do not start printer page.
13874 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
13876 * glyphs-msw.c: Added image methods to msprinter console and
13877 msprinter-specific image instantiation.
13879 2000-02-20 Mike Alexander <mta@arbortext.com>
13881 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
13882 to avoid crashes when selection-sets-clipboard is on
13883 (mswindows_own_selection): ditto
13885 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13888 * redisplay-msw.c (get_frame_dc):
13889 (get_frame_compdc):
13891 * device-msw.c (mswindows_init_device):
13892 (mswindows_delete_device):
13893 (msprinter_init_device):
13894 (msprinter_delete_device):
13895 * frame-msw.c (mswindows_init_frame_1):
13896 (mswindows_delete_frame):
13897 (msprinter_init_frame_3):
13898 (msprinter_delete_frame): Move compatible DC to device object from
13899 frame object, for both mswindows and msprinter. Only one at a time
13900 is needed, it is a real waste to have one per frame!
13902 2000-02-23 Andy Piper <andy@xemacs.org>
13904 * glyphs.c: add dynamic width and height elements.
13905 (image_instance_equal): ditto.
13907 * glyphs-widget.c (widget_query_geometry): calculate width and
13908 height dynamically if required.
13909 (initialize_widget_image_instance): initialize dynamic dimensions.
13910 (widget_instantiate): pick-up dynamic dimensions.
13912 * glyphs.h (struct Lisp_Image_Instance): add width and height for
13913 dynamic determination. Add appropriate macros.
13915 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
13917 (WINDOW_GUTTER_SIZE): ditto.
13918 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
13920 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
13922 (get_frame_dc): ditto.
13924 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
13927 2000-02-23 Martin Buchholz <martin@xemacs.org>
13929 * XEmacs 21.2.31 is released.
13931 2000-02-22 Ben Wing <ben@xemacs.org>
13933 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
13935 2000-02-22 Andy Piper <andy@xemacs.org>
13937 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
13939 2000-02-21 Mike Sperber <mike@xemacs.org>
13943 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
13946 2000-02-21 Mike Sperber <mike@xemacs.org>
13948 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
13950 2000-02-21 Martin Buchholz <martin@xemacs.org>
13952 * XEmacs 21.2.30 is released.
13954 2000-02-20 Martin Buchholz <martin@xemacs.org>
13956 Performance hacking.
13958 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
13959 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
13960 * emacs.c (main_1):
13962 * console.c (DEFVAR_CONSOLE_LOCAL_1):
13963 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
13964 * symeval.h (DEFVAR_SYMVAL_FWD):
13965 * symbols.c (guts_of_unbound_marker):
13966 Make all c_readonly objects also lisp_readonly and marked for life.
13967 * lrecord.h (struct lrecord_implementation):
13968 Document flags better.
13969 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
13970 * lrecord.h (DECLARE_LRECORD):
13971 * lrecord.h (XSETRECORD):
13972 * lrecord.h (RECORDP):
13973 * lrecord.h (RECORD_TYPEP):
13974 * lrecord.h (RECORD_MARKER): New.
13975 * lrecord.h (error_check_*):
13976 * lrecord.h (CONCHECK_NONRECORD):
13977 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
13978 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
13979 * lrecord.h (set_lheader_implementation):
13980 * lrecord.h (enum lrecord_type): New.
13981 * symeval.h (SYMBOL_VALUE_MAGIC_P):
13982 * alloc.c (disksave_object_finalization_1):
13983 * alloc.c (mark_object):
13984 * alloc.c (lrecord_type_index):
13985 * alloc.c (tick_lcrecord_stats):
13986 * alloc.c (Fgarbage_collect):
13987 * alloc.c (init_alloc_once_early):
13988 * alloc.c (pdump_load):
13989 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
13990 * alloc.c (lrecord_type_index): Delete.
13991 Make lisp object type indexes be constant.
13992 Makes (byte-compile) 5% faster.
13993 Put all marker functions into their own array.
13994 Makes (garbage-collect) 5% faster.
13995 Optimize SYMBOL_VALUE_MAGIC_P.
13996 Makes (byte-compile) 2-3% faster.
13997 * config.h.in (gc_checking_assert): New.
13998 * alloc.c: Use gc_checking_assert().
13999 * .dbxrc: Make compatible with new object type implementation.
14000 * .gdbinit: Make compatible with new object type implementation.
14001 * alloc.c: Delete all symbols defined only for debugging, such as
14002 Lisp_Type_Vector and lrecord_charset.
14004 2000-02-21 Andy Piper <andy@xemacs.org>
14006 * gui-msw.c (Fmswindows_shell_execute): fix file location
14009 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14010 unshowing so that set_window_buffer doesn't undo
14011 kill_buffer_hook's hard work.
14013 * glyphs-widget.c (tab_control_query_geometry): don't count the
14014 first item when calculating geometry.
14016 * glyphs.c (map_subwindow): remove redundant code.
14017 (update_frame_subwindows): be more circumspect about when to
14020 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14021 when items haven't changed. Update faces if faces have changed as
14022 well as just the widget face.
14023 (x_tab_control_update): Update faces if faces have changed as well
14024 as just the widget face.
14026 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14028 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
14030 (build_syscolor_string): Use mswindows_color_to_string to try to
14032 (mswindows_device_system_metrics): Reverse the foreground and
14033 background colors so that they match the documentation.
14035 * objects-msw.c: (mswindows_X_color_map): tweak some values so
14036 they match the default Windows palette.
14037 (mswindows_color_to_string): New function.
14039 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14041 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
14043 2000-02-18 Olivier Galibert <galibert@pobox.com>
14045 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
14046 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
14048 * symbols.c (init_symbols_once_early): Removed obsolete
14049 DATA_SEG_BITS related kludge.
14050 (defvar_magic): Ditto.
14052 * malloc.c: Removed obsolete DATA_SEG_BITS
14054 * mem-limits.h: Ditto.
14056 * Makefile.in.in: Removed obsolete HAVE_SHM
14059 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14061 * device-msw.c (mswindows_delete_device): Free DDE string
14064 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14066 * keymap.c (get_keyelt):
14067 * unexnt.c (unexec):
14068 * vm-limit.c (memory_warnings):
14069 * ntheap.c (recreate_heap):
14070 * ntheap.h (UNINIT_PTR):
14071 * select-msw.c (Fmswindows_get_clipboard):
14072 (Fmswindows_set_clipboard):
14073 * objects-msw.h (MSWINDOWS_BAD_HFONT):
14075 * menubar-msw.c (displayable_menu_item):
14077 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
14078 * sysdep.c (sys_subshell):
14079 * process-nt.c (nt_create_process):
14080 * nt.c (normalize_filename):
14081 (dostounix_filename):
14082 (unixtodos_filename):
14083 * ntproc.c (win32_executable_type):
14084 * ntplay.c (play_sound_data_1):
14086 * editfns.c (get_home_directory):
14087 * event-msw.c (struct winsock_stream):
14088 (mswindows_dde_callback):
14089 * device-msw.c (msprinter_init_device):
14090 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
14092 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
14093 mswindows_clear_toolbar were swapped!
14095 * objects-msw.c:(colormap_t):
14097 * emacs.c (struct standard_args): Fixed const jumble.
14099 * glyphs-widget.c (update_widget): Fixed comparison notation.
14101 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
14103 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
14104 __declspec(noreturn) syntax.
14106 2000-02-19 Martin Buchholz <martin@xemacs.org>
14108 * eldap.c (Fldap_open):
14109 (Fldap_search_basic):
14112 Use new coding system conversion macros.
14114 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14116 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
14118 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
14120 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
14121 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14123 * eldap.c (Qadd, Qreplace): New constant symbols
14124 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
14125 interruptions by XEmacs signals
14126 Remove unnecessary calls to slow_down_interrupts and
14127 speed_up_interrupts
14128 (Fldap_search_basic): Renamed from Fldap_search_internal
14129 Added new optional parameter VERBOSE that triggers the
14130 display of progress messages
14131 Remove unnecessary calls to slow_down_interrupts and
14132 speed_up_interrupts
14133 LDAP result code analysis rewritten
14134 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14135 (syms_of_eldap): Define the new symbols and functions
14138 2000-02-17 Martin Buchholz <martin@xemacs.org>
14140 * realpath.c: Determine PATH_MAX maximally portably.
14142 * insdel.c (bytecount_to_charcount): Optimize.
14143 The function used to be optimized for entirely ASCII sequences.
14144 Now it is optimized for successive characters from the same
14145 charset. This also wins big for _mostly_ ASCII sequences.
14147 * fileio.c (Ffile_truename): convert return from realpath() using
14148 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
14149 - Rewrite GCPROing slightly.
14151 * sysdep.c (sys_open): Do filename conversion, like all other
14152 sys_* functions. Fixes bug:
14153 (let ((file-name-coding-system 'iso-8859-2))
14154 (write-region x y latin2-name))
14155 ==> writes filename using internal encoding.
14157 2000-02-18 Martin Buchholz <martin@xemacs.org>
14159 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
14160 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
14161 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
14162 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
14163 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
14164 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
14165 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
14166 (CONST_IF_NOT_DEBUG): Delete.
14167 * alloc.c (this_one_is_unmarkable): Delete.
14168 (mark_object): Don't check for this_one_is_unmarkable. Use the
14169 c_readonly flag instead.
14170 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
14172 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
14174 * event-msw.c (mswindows_drain_windows_queue):
14175 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
14176 away redundant repaint events.
14178 2000-02-17 Andy Piper <andy@xemacs.org>
14180 * redisplay.h: declare mark_redisplay_structs.
14182 * redisplay.c (redisplay_window):
14183 (redisplay_frame): don't check subwindows_state_changed.
14184 (mark_redisplay): mark gutters here.
14186 * glyphs.c: (instantiate_image_instantiator): always layout if we
14187 haven't done so already.
14188 (allocate_image_instance): don't mark as dirty.
14189 (update_subwindow): bind inhibit_quit.
14191 * gutter.c (mark_gutters): new function.
14193 * glyphs-x.c (x_update_widget): Always resize to get round a
14196 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
14197 breaking absolutely everything.
14199 * gutter.h: declare mark_gutters.
14201 2000-02-16 Martin Buchholz <martin@xemacs.org>
14203 * XEmacs 21.2.29 is released.
14205 2000-02-15 Olivier Galibert <galibert@pobox.com>
14207 * fns.c (size_bit_vector): Fix computation of the size.
14209 2000-02-15 Martin Buchholz <martin@xemacs.org>
14211 * *.[ch]: Change CONST to const globally.
14212 find -name '*.[ch]' | \
14213 xargs global-replace \
14214 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
14215 - Remove vestigial references to CONST_IS_LOSING
14217 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14219 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
14220 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14221 events instead of dispatching them directly.
14222 (mswindows_handle_paint): New function to do repainting.
14223 (mswindows_wnd_proc):
14224 (emacs_mswindows_handle_magic_event): Call above function.
14226 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14228 * objects-msw.c (mswindows_create_font_variant): Return the new
14230 (initialize_font_instance): Get font metrics from the underlined
14231 variant of the font to cope with the case where the underlined
14232 font has a bigger descent.
14234 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14236 * gui.c (gui_item_accelerator): Return the first underlined
14237 character in item name.
14239 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14241 * lisp.h: Added Qprinter.
14243 * general.c (syms_of_general): Initialized it.
14245 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
14247 (get_frame_compdc): Made inline.
14249 * console.h (struct console_methods): Added eject_page method.
14251 * frame.h: Added FRAME_DISPLAY_P and friends.
14252 Aligned backslahes in many macros in more readable fashion.
14253 Added page_number to struct frame, and an accessor macro
14256 * defice.h: Added DEVICE_DISPLAY_P and friends.
14258 * device.c (Fdevice_printer_p): Used these.
14260 * frame.c (allocate_frame_core): Initialize page number.
14261 (Fprint_job_page_number):
14262 (Fprint_job_eject_page): Implemented.
14264 * frame-msw.c (msprinter_eject_page): Added method.
14265 (msprinter_start_page): Added.
14267 * window.c (Fwindow_truncated_p): Fixed docstring.
14268 (Fwindow_last_line_visible_height): Implemented.
14270 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14272 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
14274 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14276 * syntax.c (scan_words): Always advance at least one character.
14278 2000-02-13 Andy Piper <andy@xemacs.org>
14280 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
14281 to make sure the glyph is in the cachels.
14283 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
14284 global image instance flag.
14285 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
14286 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
14288 * glyphs.c (allocate_image_instance): set dirty bits correctly.
14289 (Fset_image_instance_property): mark layout as changed.
14290 (invalidate_glyph_geometry_maybe): mark layout as changed.
14291 (glyph_width): use new NEEDS_LAYOUT macro.
14292 (glyph_ascent): ditto.
14293 (glyph_descent): ditto.
14294 (glyph_height): ditto.
14295 (image_instance_layout): mark layout as clean after laying out.
14296 (update_subwindow): don't mark layout as clean here.
14298 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
14299 should no longer be needed.
14301 * glyphs-x.c (x_update_widget): sanitize asserts.
14302 (x_finalize_image_instance): sanitize assignment to widgets.
14304 * glyphs-widget.c (widget_instantiate): don't need to clear the
14307 2000-02-13 Martin Buchholz <martin@xemacs.org>
14309 * sysdep.c (getcwd): Use standard prototype.
14310 * sysdep.h (getcwd): Use standard prototype.
14312 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
14313 (sequence, start, end).
14314 Remove redundant type checking.
14315 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
14316 view of `caller-protects') to avoid a crash where the real fix was
14319 2000-02-12 Martin Buchholz <martin@xemacs.org>
14321 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
14323 * s/sol2.h: Remove feature macro initialization.
14325 * alloc.c (alloc_lcrecord): Add more type checking assertions.
14326 (vector_hash): New. Code from internal_hash.
14328 Fix up allocation subsystem comments.
14330 * config.h.in: Add __EXTENSIONS__ for Solaris.
14332 * systime.h (EMACS_GETTIMEOFDAY): New.
14333 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
14334 Remove Solaris-specific code.
14335 Use void* for the (ignored) second arg for gettimeofday().
14337 * elhash.c (hash_table_hash): Implement it, finally.
14338 * elhash.c: Use hashcode_t.
14340 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
14341 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
14343 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
14344 * fns.c (size_bit_vector):
14345 * alloc.c (size_vector):
14346 (make_vector_internal):
14347 (make_bit_vector_internal):
14348 (sweep_bit_vectors_1):
14349 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
14351 2000-02-10 Martin Buchholz <martin@xemacs.org>
14353 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
14354 Include strings.h to avoid warnings for bzero and strcasecmp.
14356 2000-02-10 Olivier Galibert <galibert@pobox.com>
14358 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
14359 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
14361 * fns.c (size_bit_vector): New. Declare bit vectors as a
14364 2000-02-10 Olivier Galibert <galibert@pobox.com>
14366 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
14367 use a value field instead.
14368 (symbol_value_forward_forward): Use value field.
14369 (DEFVAR_SYMVAL_FWD): Use value field.
14370 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
14371 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
14372 (DEFVAR_CONST_INT): Ditto.
14373 (DEFVAR_BOOL): Ditto.
14374 (DEFVAR_CONST_BOOL): Ditto.
14375 (DEFVAR_INT_MAGIC): Ditto.
14376 (DEFVAR_BOOL_MAGIC): Ditto.
14378 * symbols.c (guts_of_unbound_marker): Use value field.
14379 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
14380 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
14382 * lisp.h: Declare dumpopaque and noninteractive1.
14384 * alloc.c (dumpopaque): Added.
14385 (pdump_dump_opaquevec): Added.
14386 (pdump): Call pdump_dump_opaquevec to dump opaque data.
14387 (pdump_load): Reload opaque data. Sync noninteractive1 with
14390 2000-02-10 Andy Piper <andy@xemacs.org>
14392 * glyphs.c (image_instance_layout): if the size changes, mark it
14395 * redisplay-output.c (redisplay_output_layout): Update the
14397 (redisplay_output_subwindow): ditto.
14399 * glyphs.c (update_subwindow): make sure we reset flags for
14400 layouts as well as everything else.
14402 * glyphs-widget.c (layout_layout): don't need to set the instances
14405 2000-02-09 Martin Buchholz <martin@xemacs.org>
14407 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
14408 not HAVE_DLOPEN, which is a lower-level thing.
14410 * .cvsignore: Ignore gmon.out
14412 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
14414 * .cvsignore: Ignore portable dumper xemacs.dmp file
14416 2000-02-09 Andy Piper <andy@xemacs.org>
14418 * redisplay-output.c (redisplay_output_layout): be more clever
14419 about when we output based on the changed flags.
14421 * glyphs.h (struct image_instantiator_methods): add update_method.
14422 (struct Lisp_Image_Instance): add changed flags. Declare new
14423 macros for manipulating them.
14425 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
14426 (image_instance_parent_glyph): find an image_instance's parent
14427 glyph or image_instance.
14428 (image_instance_layout): mark the size as changed.
14429 (set_image_instance_dirty_p): new function. mark an image
14430 instance, plus all of its parents, as dirty.
14431 (Fset_image_instance_property): use it.
14432 (Fglyph_animated_timeout_handler): use it.
14433 (update_subwindow): call update_widget and device methods for
14434 update_subwindow. Mark all changed flags as clean.
14435 (Fresize_subwindow): mark size as changed.
14437 * glyphs-x.c (x_finalize_image_instance): try and detect gc
14439 (x_update_subwindow): only resize subwindows here.
14440 (x_update_widget): new function. Update all changed properties of
14442 (x_resize_subwindow): deleted.
14443 (x_widget_set_property): deleted.
14444 (x_progress_gauge_set_property): deleted.
14445 (x_progress_gauge_update): new function. Implement recorded
14447 (x_tab_control_update): ditto.
14448 (x_tab_control_set_property): deleted.
14449 (console_type_create_glyphs_x): declare new functions.
14450 (image_instantiator_format_create_glyphs_x): ditto.
14452 * glyphs-widget.c (widget_set_property): mark text changed.
14453 (update_widget): new function. Update properties of a widget.
14454 (widget_instantiate): for layouts make sure we set their
14455 children's parent correctly.
14456 (tab_control_set_property): new function. Record changes that will
14457 take place under redisplay's control.
14458 (progress_gauge_set_property): ditto.
14459 (image_instantiator_progress_guage): declare new functions.
14460 (image_instantiator_tab_control): ditto.
14462 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
14464 (mswindows_update_widget): new function. Update all properties on
14465 a widget that have changed.
14466 (mswindows_button_update): new function. Update a button's set
14468 (mswindows_tab_control_update): new function. Update the items in
14470 (mswindows_tab_control_set_property): deleted.
14471 (mswindows_progress_gauge_update): new function. Update the
14472 progress gauge's progress.
14473 (mswindows_widget_set_property): deleted. This is all done
14474 asynchronously now.
14475 (mswindows_progress_gauge_set_property): ditto.
14476 (console_type_create_glyphs_mswindows): declare new methods.
14477 (image_instantiator_format_create_glyphs_mswindows): ditto.
14479 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
14480 (msprinter_set_frame_properties): ditto.
14482 * console.h (struct console_methods): Add update_widget_method.
14484 2000-02-09 Andy Piper <andy@xemacs.org>
14486 * gui-msw.c (Fmswindows_shell_execute): Make
14487 mswindows-shell-execute industrial strength.
14489 2000-02-08 Martin Buchholz <martin@xemacs.org>
14491 * lrecord.h: Make macro argument `props' match member function `plist'.
14494 * fns.c (Fremprop):
14495 * fns.c (Fobject_plist):
14498 Object property list frobbing cleanup.
14499 - Allow any lisp object (compared with `eq'), not just symbols, as
14500 keys in object plists.
14501 - Move symbol plist frobbing into symbols.c, where it belongs.
14502 - Move string plist frobbing into alloc.c, where it belongs.
14503 - Everything's an lrecord now, so no need to test for symbolp, etc.
14504 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
14506 * extents.c: Reorder code to remove declarations.
14508 * frame.h (store_in_alist): Remove useless declaration.
14510 2000-02-07 Martin Buchholz <martin@xemacs.org>
14512 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
14513 * config.h.in: Add HAVE_XCONVERTCASE.
14515 2000-02-07 Andy Piper <andy@xemacs.org>
14517 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
14518 it breaks many things.
14520 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14522 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
14523 actually can start a common comment type.
14524 * src/syntax.h (SYNTAX_END_P): ditto for end.
14526 2000-02-07 Martin Buchholz <martin@xemacs.org>
14528 * XEmacs 21.2.28 is released.
14530 2000-02-06 Martin Buchholz <martin@xemacs.org>
14532 * event-Xt.c (x_keysym_to_character): New.
14533 (maybe_define_x_key_as_self_inserting_character): New.
14534 (x_has_keysym): New.
14535 Auto-define all keys on the keyboard as self-insert-key.
14537 2000-02-02 Martin Buchholz <martin@xemacs.org>
14539 * menubar.c (vars_of_menubar): A small code simplification.
14541 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
14544 * ExternalClient.c:
14545 * EmacsShell-sub.c:
14548 Use consistent style for specifying X resources.
14550 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
14551 This makes (dontusethis-set-symbol-value-handler) actually usable.
14553 * lrecord.h (lrecord_decription_type):
14554 * alloc.c (pdump_register_sub):
14557 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
14558 Comply with XEmacs coding style.
14559 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
14560 args, and XD_LISP_OBJECT_ARRAY with 3 args.
14562 * keymap.c (Faccessible_keymaps):
14563 Make (accessible-keymaps map "\C-h") do the Right Thing.
14564 Make (accessible-keymaps map []) do the Right Thing.
14565 Make (accessible-keymaps map "") do the Right Thing.
14566 (check_keymap_definition_loop): New function.
14567 (keymap_store_internal): Keep luser from shooting self in foot,
14568 via (define-key ctl-x-4-map "p" global-map).
14569 Remove fullness slot from struct Lisp_Keymap, since hash tables
14571 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
14573 2000-01-30 Martin Buchholz <martin@xemacs.org>
14575 * redisplay.c (init_redisplay): Fix small memory leak.
14577 * elhash.c (pdump_reorganize_hash_table):
14578 Rename from reorganize_hash_table. Change prototype.
14579 Reuse the original memory for hentries. Save 100k.
14580 * alloc.c (PDUMP_READ): new macro.
14581 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
14582 * alloc.c: No need to #ifndef before #undef.
14584 * print.c: Allow debug_print() to print readably by modifying
14585 debug_print_readably. Use consistent variable names.
14587 * .dbxrc: Try to get things to work even if stopped in a function
14588 without source available by explicitly specifying source files.
14589 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14591 * unexnt.c (_start): Removed bogus code which caused loading heap
14592 from differrent executable file.
14593 Removed bogus assignment to _fmode, which caused inconsistencies.
14595 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14597 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
14598 Have spawnve encapsulation regard DONT_ENCAPSULATE.
14599 Do not preliminary `#define signal sigset'.
14601 * systime.h: Do not prototype environ on windows nt and cygwin,
14602 this conflicts with system header.
14604 * syssignal.h: Use correct define for WINDOWSNT
14606 * sysdep.h: Do not prototype environ on windows nt, this conflicts
14607 with system header.
14609 * sysdep.c (near start of file): Fixed commentary and rearranged
14610 ifdefs in readable order.
14611 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
14614 (end_of_data): Do not compile in if using PDUMP.
14616 * symsinit.h: Prototyped vars_of_nt().
14618 * ntproc.c (windows9x_p): Added, instead of os_subtype.
14619 (find_child_console): Use it.
14620 (sys_kill): Use it.
14622 * ntheap.h: Do not extern os_subtype.
14624 * ntheap.c (cache_system_info): Do not cache unneeded:
14625 nt_major_version, nt_minor_version and os_subtype.
14626 (recreate_heap): Do not compile in when PDUMPing.
14628 * nt.c (geteuid and friends): Use the new varibale
14629 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
14630 (init_user_info): Removed the above mentioned hackery.
14631 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
14632 stat has been fixed in the C runtime.
14633 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
14635 * file-coding.c (struct file_coding_dump): Do not define
14636 ucs_to_mule_table in the struct if not MULE.
14637 (struct struct lrecord_description fcd_description_1): Do not dump
14640 * emacs.c (main_1): Call vars_of_nt().
14641 (right before Fdump_emacs_data): Don't need lastfile if using both
14642 portabe dumper and system malloc.
14644 * alloc.c (Fmemory_limit): Conditionalized out.
14645 (pdump): Use OPEN_BINARY for the portable dump file.
14646 (pdump_load): Ditto.
14648 2000-02-02 Mike Alexander <mta@arbortext.com>
14650 * nt.c (convert_time): Set tm_isdst before calling mktime and
14651 avoid calling it at all if the compiler supports 64 bit integers.
14652 Also initialize utc_base_ft before using it.
14654 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14656 * frame.c (change_frame_size_1): Take f->internal_border_width
14657 into consideration when calculating the width of the frame.
14659 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14661 * window.c (frame_min_height):
14662 (frame_size_valid_p):
14663 (frame_pixsize_valid_p): Added.
14664 (check_frame_size): Generalized.
14666 * window.h: Prototyped the above.
14669 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
14670 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
14671 Deleted Vwin32_* and Vbinary_process_* unused variables.
14673 * device-msw.c (msprinter_init_device): Do not get printer font
14674 list; Added DEVMODE functions.
14676 * frame-msw.c: Added lots of printer code.
14678 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
14681 * console-msw.h: Added more msprinter device private slots.
14683 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14685 * event-msw.c (key_needs_default_processing_p): Added.
14686 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
14688 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14690 * glyphs.c (image_instance_layout): Mark image instance as clean
14692 (glyph_dirty_p): Removed redundant function.
14693 (invalidate_glyph_geometry_maybe): Added.
14694 (update_glyph_cachel_data): Call it.
14696 * glyphs.h: Prototyped it.
14698 * redisplay.c (add_glyph_rune): Call it.
14699 (redisplay_window): Reset glyphs cachels when frame faces have
14700 changed, thus forcing recomputation of built-in border glyphs.
14702 2000-01-30 Martin Buchholz <martin@xemacs.org>
14704 * Makefile.in.in: Make portable dumper and purify play well together.
14705 Add imperfect, but better than nothing, support for pdump.
14706 Remove xemacs.dmp when temacs is re-generated.
14707 Don't ignore errors when dumping xemacs.
14709 * symbols.c (maybe_call_magic_handler): Remove one magic number.
14711 2000-01-28 Andy Piper <andy@xemacs.org>
14713 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
14714 (setup_normal_frame): ditto.
14715 (setup_frame_without_minibuffer): ditto.
14716 (setup_minibuffer_frame): ditto.
14717 (delete_frame_internal): ditto.
14718 (Fmake_frame_invisible): ditto.
14719 (Ficonify_frame): ditto.
14721 * window.h: change Fset_window_buffer signature.
14723 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
14724 (Fset_window_buffer): allow recording of buffer if the window is
14725 the selected window.
14726 (window_loop): Use new Fset_window signature.
14728 2000-01-23 Daniel Pittman <daniel@danann.net>
14730 * config.h.in: Added template for `HAVE_ATHENA_3D'
14732 2000-01-29 Andy Piper <andy@xemacs.org>
14734 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
14736 * gutter.c (output_gutter): Don't output if the window isn't live.
14738 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14740 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
14741 of 01/12/00: Moved SetFocus back here where it belongs.
14743 2000-01-23 Andy Piper <andy@xemacs.org>
14745 * s/cygwin32.h: declare printer things.
14747 2000-01-26 Andy Piper <andy@xemacs.org>
14749 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
14752 2000-01-24 Andy Piper <andy@xemacs.org>
14754 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
14755 (mswindows_button_instantiate): Make sure glyph is a pixmap.
14757 * glyphs-widget.c (widget_instantiate): Avoid shadows.
14759 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
14761 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
14763 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
14764 (mswindows_output_display_block): Avoid local shadows.
14766 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
14767 (mswindows_enqueue_mouse_button_event): ditto.
14768 (mswindows_handle_gui_wm_command): remove declaration.
14770 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
14773 * console-msw.h: Avoid shadows.
14774 (mswindows_get_toolbar_button_text):
14775 (emacs_mswindows_create_stream_pair):
14776 (emacs_mswindows_delete_stream_pair):
14777 (mswindows_handle_toolbar_wm_command): declare.
14779 * device-msw.c (build_syscolor_string): Avoid shadows.
14781 2000-01-23 Andy Piper <andy@xemacs.org>
14783 * glyphs-widget.c (widget_instantiate): reverse the items for
14784 layouts so that children are in the expected order.
14786 2000-01-28 Martin Buchholz <martin@xemacs.org>
14788 * ralloc.c: safe_bcopy ==> memmove
14789 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
14790 * s/msdos.h: Remove BCOPY macros.
14791 * insdel.c (gap_right): Remove BCOPY conditional code.
14792 * insdel.c (gap_left): Remove BCOPY conditional code.
14793 XEmacs demands a working ANSI C compiler - hence memmove.
14795 * regex.c (regex_compile): Remove accidental use of trigraphs.
14797 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14799 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
14802 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14804 * event-msw.c (mswindows_drain_windows_queue): Added the
14806 (mswindows_need_event): Commented the call to
14807 mswindows_drain_windows_queue().
14808 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
14811 * console-msw.h: Moved a few function prototypes here from
14814 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
14815 parameter from unsigned short to unsigned long.
14816 (Fmswindows_shell_execute): Added return value.
14818 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
14820 * sysdep.c (init_system_name):
14821 process-unix.c (unix_canonicalized_host_name):
14822 Don't call freeaddrinfo() if getaddrinfo() fails.
14824 * process-unix.c (unix_open_unix_network_stream):
14825 Moved the code to get a port # into address loop.
14827 2000-01-27 Martin Buchholz <martin@xemacs.org>
14829 * buffer.c (reinit_vars_of_buffer):
14830 The right place to initialize conversion_in_dynarr and
14831 conversion_out_dynarr.
14833 * alloc.c (pdump): Use the real open() till sys_open() is functional.
14835 * process-unix.c (unix_canonicalize_host_name): Muleize.
14836 (unix_open_network_stream): Muleize.
14838 * buffer.h: Fix up prototypes for ralloc.c functions.
14840 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
14841 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
14842 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
14843 instead of gethostbyname()
14844 * process-unix.c: In unix_canonicalize_host_name() and
14845 unix_open_network_stream(), add code to use getaddrinfo()
14846 instead of gethostbyname().
14848 2000-01-27 Daniel Pittman <daniel@danann.net>
14850 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
14851 libs when built with flat Athena.
14853 2000-01-27 Martin Buchholz <martin@xemacs.org>
14855 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
14856 Use coding standards for function prototypes.
14858 2000-01-25 Martin Buchholz <martin@xemacs.org>
14860 * dialog-msw.c (push_lisp_string_as_unicode):
14861 * doc.c (unparesseuxify_doc_string):
14862 * dired.c (Fuser_name_completion_1):
14863 * dired.c (Fuser_name_all_completions):
14864 * dired.c (free_user_cache):
14865 * dired.c (user_name_completion):
14866 * console-x.c (get_display_arg_connection):
14867 * minibuf.c (clear_echo_area_internal):
14868 * minibuf.c (echo_area_append):
14869 * eldap.c (Fldap_open):
14870 * eldap.c (Fldap_search_internal):
14871 * frame-x.c (x_set_frame_text_value):
14872 * frame-x.c (x_set_frame_properties):
14873 * frame-x.c (x_create_widgets):
14874 * redisplay-tty.c (term_get_fkeys_1):
14875 * objects-x.c (x_parse_nearest_color):
14876 * objects-x.c (x_valid_color_name_p):
14877 * objects-x.c (x_initialize_font_instance):
14878 * objects-x.c (x_list_fonts):
14879 * objects-x.c (x_find_charset_font):
14880 * tooltalk.c (Fadd_tooltalk_message_arg):
14881 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
14882 * tooltalk.c (Fadd_tooltalk_pattern_arg):
14883 * process-unix.c (unix_create_process):
14884 * ntproc.c (sys_spawnve):
14885 * sound.c (Fplay_sound_file):
14886 * sound.c (Fplay_sound):
14887 * buffer.c (init_initial_directory):
14888 * buffer.c (init_buffer):
14889 * editfns.c (init_editfns):
14890 * editfns.c (Ftemp_directory):
14891 * editfns.c (Fuser_full_name):
14892 * editfns.c (uncache_home_directory):
14893 * editfns.c (get_home_directory):
14894 * editfns.c (Fuser_home_directory):
14895 * editfns.c (Fformat_time_string):
14896 * editfns.c (Fcurrent_time_string):
14897 * gui-x.c (button_item_to_widget_value):
14898 * database.c (Fopen_database):
14899 * event-Xt.c (x_to_emacs_keysym):
14900 * event-Xt.c (x_event_to_emacs_event):
14901 * event-Xt.c (describe_event_window):
14902 * event-msw.c (mswindows_wnd_proc):
14903 * glyphs-eimage.c (jpeg_instantiate):
14904 * glyphs-eimage.c (gif_instantiate):
14905 * glyphs-eimage.c (png_instantiate):
14906 * glyphs-eimage.c (tiff_instantiate):
14907 * glyphs-x.c (xbm_instantiate_1):
14908 * glyphs-x.c (x_xbm_instantiate):
14909 * glyphs-x.c (x_xface_instantiate):
14910 * glyphs-x.c (autodetect_instantiate):
14911 * glyphs-x.c (cursor_font_instantiate):
14912 * glyphs-x.c (x_widget_instantiate):
14913 * glyphs-x.c (x_widget_set_property):
14914 * glyphs-x.c (x_widget_property):
14915 * glyphs-x.c (BUILD_GLYPH_INST):
14916 * print.c (write_string_to_stdio_stream):
14917 * print.c (output_string):
14918 * print.c (Falternate_debugging_output):
14919 * print.c (Fexternal_debugging_output):
14920 * glyphs-msw.c (extract_xpm_color_names):
14921 * glyphs-msw.c (mswindows_xpm_instantiate):
14922 * glyphs-msw.c (bmp_instantiate):
14923 * glyphs-msw.c (resource_name_to_resource):
14924 * glyphs-msw.c (mswindows_resource_instantiate):
14925 * glyphs-msw.c (xbm_instantiate_1):
14926 * glyphs-msw.c (mswindows_xbm_instantiate):
14927 * glyphs-msw.c (mswindows_xface_instantiate):
14928 * glyphs-msw.c (mswindows_widget_instantiate):
14929 * glyphs-msw.c (add_tree_item):
14930 * glyphs-msw.c (add_tab_item):
14931 * glyphs-msw.c (mswindows_combo_box_instantiate):
14932 * glyphs-msw.c (mswindows_widget_property):
14933 * glyphs-msw.c (mswindows_combo_box_property):
14934 * glyphs-msw.c (mswindows_widget_set_property):
14935 * console.c (stuff_buffered_input):
14936 * objects-msw.c (mswindows_initialize_color_instance):
14937 * objects-msw.c (mswindows_valid_color_name_p):
14938 * objects-msw.c (mswindows_list_fonts):
14939 * objects-msw.c (mswindows_font_instance_truename):
14940 * bytecode.c (optimize_compiled_function):
14941 * select-x.c (symbol_to_x_atom):
14942 * select-x.c (x_atom_to_symbol):
14943 * select-x.c (hack_motif_clipboard_selection):
14944 * select-x.c (selection_data_to_lisp_data):
14945 * select-x.c (lisp_data_to_selection_data):
14946 * select-x.c (Fx_get_cutbuffer_internal):
14947 * select-x.c (Fx_store_cutbuffer_internal):
14948 * buffer.h (TO_EXTERNAL_FORMAT): New function.
14949 * buffer.h (TO_INTERNAL_FORMAT): New function.
14950 * emacs.c (make_arg_list_1):
14951 * emacs.c (make_argc_argv):
14952 * emacs.c (main_1):
14953 * emacs.c (Fdump_emacs):
14954 * emacs.c (split_string_by_emchar_1):
14959 * device-x.c (x_init_device):
14960 * device-x.c (Fx_valid_keysym_name_p):
14961 * device-x.c (Fx_get_font_path):
14962 * device-x.c (Fx_set_font_path):
14963 * glyphs.c (bitmap_to_lisp_data):
14964 * glyphs.c (pixmap_to_lisp_data):
14965 * alloc.c (make_ext_string): Use coding system arguments. Update
14967 * alloc.c (build_string):
14968 * callproc.c (child_setup):
14969 * callproc.c (init_callproc):
14970 * fileio.c (lisp_strerror):
14971 * fileio.c (directory_file_name):
14972 * fileio.c (Fexpand_file_name):
14973 * fileio.c (Ffile_truename):
14974 * fileio.c (Fsysnetunam):
14975 * fileio.c (Fdo_auto_save):
14976 * sysdep.c (sys_readdir):
14977 * tests.c: New file. Allow adding C tests.
14978 Replace GET_* macros with a more comprehensible and flexible
14979 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
14981 Any coding system can be used to do format conversion.
14982 Eliminate enum external_data_format.
14983 Eliminate convert_to_external_format.
14984 Eliminate convert_to_internal_format.
14985 Make sure file-name, keyboard, terminal, and ctext are always
14986 defined as coding systems or aliases. Make
14987 file-name-coding-system, terminal-coding-system, and
14988 keyboard-coding-system magical variables that are equivalent to
14989 defining the corresponding coding system aliases.
14991 * file-coding.c (Fcoding_system_canonical_name_p): New function.
14992 * file-coding.c (Fcoding_system_alias_p): New function.
14993 * file-coding.c (Fcoding_system_aliasee): New function.
14994 * file-coding.c (append_suffix_to_symbol): New function.
14995 * file-coding.c (dangling_coding_system_alias_p): New function.
14996 * file-coding.c (Ffind_coding_system):
14997 * file-coding.c (Fcopy_coding_system):
14998 * file-coding.c (encode_coding_no_conversion):
14999 * file-coding.c (syms_of_file_coding):
15000 * file-coding.c (vars_of_file_coding):
15001 Rewrite coding system alias code.
15002 Allow nested aliases, like symbolic links.
15003 Allow redefinition of coding system aliases.
15004 Prevent existence of dangling coding system aliases.
15006 * dired.c (Fuser_name_completion_1):
15007 * dired.c (Fuser_name_all_completions):
15008 A crash would happen if user did QUIT in the middle of building
15009 user_name_cache. Remove redundant code in mainline and unwind_protect.
15012 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15014 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15015 an unsigned char *. Update all callers.
15017 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15019 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15021 2000-01-25 Martin Buchholz <martin@xemacs.org>
15023 * elhash.c (hentry_description): Use more portable definition.
15024 (resize_hash_table): Initialize new hentries using
15025 xnew_array_and_zero, thereby simplifying the code.
15027 * mule-charset.c (make_charset): Make sure entire object is
15028 initialized, to avoid Purify warnings.
15030 * alloc.c (resize_string): Fix unlikely crash with big strings.
15032 2000-01-24 Martin Buchholz <martin@xemacs.org>
15034 * realpath.c (xrealpath):
15035 Don't call getwd().
15037 2000-01-25 Martin Buchholz <martin@xemacs.org>
15039 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
15041 1999-12-28 Max Matveev <max@melbourne.sgi.com>
15043 * unexelfsgi.c (unexec): Change the way we decide which segment
15044 should be extended.
15046 Assumption that .bss section should be outside the PT_LOADable
15047 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
15048 it's present) is inside the 'data' segment. This would fail the
15049 test which was used to find a segment to grow and cover new
15050 heap. Instead of this assumption, I created another one - on IRIX
15051 the segment to grow should start below .bss and it's address
15052 should extent above the end of .bss. Once this segment is
15053 identified, it's grown to accommodate the new heap and new
15054 zero-length .bss section is added at the end of .data2.
15056 2000-01-25 Martin Buchholz <martin@xemacs.org>
15058 * eval.c (Feval): Wrong number of arguments should use original
15059 function, not the indirect_function version of it.
15061 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
15063 * glyphs-x.c (x_button_instantiate): Don't add image if
15064 it is not a pixmap.
15065 (x_locate_pixmap_file): Call Fexpand_file_name when file name
15068 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
15070 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
15072 (DEFVAR_INT_MAGIC): Ditto.
15073 (DEFVAR_BOOL_MAGIC): Ditto.
15074 * glyphs.h: Reindent backslash.
15076 2000-01-24 Martin Buchholz <martin@xemacs.org>
15078 * glyphs-widget.c (layout_query_geometry):
15079 (layout_layout): Use correct types for gheight, gwidth.
15081 2000-01-24 Martin Buchholz <martin@xemacs.org>
15083 * EmacsManager.c (QueryGeometry): Purified.
15085 2000-01-23 Martin Buchholz <martin@xemacs.org>
15087 * alloc.c (make_float): Make sure entire object is initialized, to
15088 avoid Purify warnings.
15089 (pdump_register_sub): Remove useless assignment.
15090 (pdump): Use xmalloc, not malloc.
15091 (pdump_load): Use xmalloc, not malloc.
15093 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15100 * sysdep.c: Removed redundant #include <windows.h>
15102 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15104 * frame.c (delete_frame_internal): Do not delete device when its
15105 implementation so declares.
15106 (delete_frame_internal): Set device selected frame to nil when
15107 last frame goes away.
15109 * device-msw.c (msprinter_device_system_metrics): Implemented.
15110 (mswindows_device_system_metrics): Added 'device-dpi property.
15112 * device.c: (Fdevice_printer_p): Added.
15113 Added 'offset-workspace device metric.
15115 * console.h (device_metrics): Declared DM_offset_workspace.
15117 2000-01-23 Martin Buchholz <martin@xemacs.org>
15119 * fileio.c (Ffile_truename): Remove pointless and confusing
15120 initialization of elen.
15122 * glyphs-widget.c: Compiler warning fixes.
15124 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
15126 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
15127 instead of a Lisp_Object as argument to make it consistent with
15128 the other LIVE_P macros.
15129 (CHECK_LIVE_PROCESS): New macro.
15131 * process.c: Declare Qprocess_live_p.
15132 (Fprocess_live_p): New function.
15133 (create_process): Use PROCESS_LIVE_P.
15134 (read_process_output): Ditto.
15135 (set_process_filter): Ditto.
15136 (Fdelete_process): Ditto.
15137 (kill_buffer_processes): Ditto
15138 (process_send_signal): Use CHECK_LIVE_PROCESS.
15139 (Fprocess_input_coding_system): Check whether process is still
15140 alive (fix PR#1061).
15141 (Fprocess_output_coding_system): Ditto.
15142 (Fprocess_coding_system): Ditto.
15143 (Fset_process_input_coding_system): Ditto.
15144 (Fset_process_output_coding_system): Ditto.
15146 2000-01-23 Andy Piper <andy@xemacs.org>
15148 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
15151 * glyphs.c (mark_image_instance): take into account changed
15152 image_instance format.
15153 (image_instance_equal): ditto.
15154 (image_instance_hash): ditto.
15156 * glyphs-widget.c (widget_instantiate): Incorporate layout
15157 instantiation here. Delay layout of the layout until later.
15158 (layout_instantiate): deleted.
15159 (layout_query_geometry): new function. get the geometry of a
15161 (layout_layout): layout a layout dynamically.
15162 (image_instantiator_widget): New function - splitting up
15163 image_instantiator_format_create_glyphs_widget for netwinder
15165 (image_instantiator_buttons):
15166 (image_instantiator_edit_fields):
15167 (image_instantiator_combo_box):
15168 (image_instantiator_scrollbar):
15169 (image_instantiator_progress_guage):
15170 (image_instantiator_tree_view):
15171 (image_instantiator_tab_control):
15172 (image_instantiator_labels):
15173 (image_instantiator_layout): ditto.
15174 (image_instantiator_format_create_glyphs_widget): Call preceding
15177 2000-01-22 Martin Buchholz <martin@xemacs.org>
15179 * process.c (Fset_process_coding_system):
15180 * device-x.c (Fx_keysym_hash_table):
15183 * lstream.c (Lstream_write): Return documented value, not 0.
15185 * fileio.c (directory_file_name):
15186 (Fsubstitute_in_file_name):
15187 (Fsubstitute_insert_file_contents_internal):
15188 (Fwrite_region_internal):
15193 Remove vestigial APOLLO-conditional code.
15195 2000-01-21 Martin Buchholz <martin@xemacs.org>
15197 * getpagesize.h: Add guard macros.
15198 * libsst.h: Add guard macros.
15199 * libst.h: Add guard macros.
15200 * line-number.h: Add guard macros.
15201 * ndir.h: Add guard macros.
15202 * sysfloat.h: Add guard macros.
15203 * sysfile.h: Add guard macros.
15204 * sysproc.h: Add guard macros.
15205 * syswait.h: Add guard macros.
15206 * xintrinsic.h: Add guard macros.
15207 * xintrinsicp.h: Add guard macros.
15208 * xmmanager.h: Add guard macros.
15209 * xmmanagerp.h: Add guard macros.
15210 * xmprimitive.h: Add guard macros.
15211 * xmu.h: Add guard macros.
15212 * gpmevent.h: Add copyright statement. Add guard macros.
15213 * miscplay.h: Add guard macros.
15214 * *.h: Use consistent C-standards-approved guard macro names.
15216 * opaque.c (make_opaque): Switch parameter order.
15217 * opaque.h (make_opaque): Switch parameter order.
15218 Update all callers.
15219 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15221 * config.h.in (type_checking_assert): Added.
15222 (bufpos_checking_assert): Added.
15224 2000-01-21 Martin Buchholz <martin@xemacs.org>
15226 * alloc.c: Harmless pdump changes.
15228 - spell alignment correctly.
15229 * sysdep.c: Use countof()
15231 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15233 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15234 initially_selected_for_input() console method, default to 0.
15235 (semi_canonicalize_console_connection): Try to delegate to
15236 canonicalize_console_connection if no such console method.
15237 (canonicalize_console_connection): Vice versa.
15238 (print_console): Do not print nil connection.
15240 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15241 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15242 (XDEVIMPF_FRAMELESS_OK): Added.
15243 (CONSOLE_INHERITS_METHOD): Added.
15245 * console-msw.c (mswindows_canonicalize_console_connection):
15247 (mswindows_canonicalize_device_connection): Added.
15249 * console-msw.h (struct msprinter_device): Added this struct and
15251 (mswindows_device): Made fontlist a lisp object.
15253 * device.c (semi_canonicalize_device_connection): Try to delegate
15254 to canonicalize_device_connection if no such console method.
15255 (canonicalize_device_connection): Vice versa.
15256 (print_device): Do not print nil connection.
15258 * device-msw.c (mswindows_init_device): Call InitCommonControls
15260 (mswindows_delete_device): Removed fontlist deallocation.
15261 (mswindows_mark_device): Added.
15263 * events.c (event_equal): Added abort() at unreached code.
15264 (event_hash): Ditto.
15266 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
15267 fallback tags of Windows devices.
15269 * general.c (syms_of_general): Initialized Qmsprinter.
15271 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
15272 of fallback tags of Windows devices.
15274 * lisp.h: Declared Qmsprinter.
15276 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
15278 (mswindows_list_fonts): Ditto.
15279 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
15280 that it can be used by both mswindows and msprinter devices.
15281 (initialize_font_instance): Added.
15282 (mswindows_initialize_font_instance): Use it.
15283 (msprinter_initialize_font_instance): Added.
15285 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
15286 and implementation flags check.
15287 (redisplay_without_hooks): Changed the call to the above.
15288 (Fredraw_device): Ditto.
15289 (Fredisplay_device): Ditto.
15291 * redisplay-msw.c (get_frame_dc): Implemented.
15292 (get_frame_compdc): Implemented.
15293 (many functions): Use the two functions above to get device
15294 contexts, ether for a window or a printer.
15296 2000-01-21 Olivier Galibert <galibert@pobox.com>
15298 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
15299 initialization here.
15300 (init_symbols_once_early): Call it.
15301 * emacs.c (main_1): Call it.
15302 * symsinit.h: Declare it.
15304 2000-01-19 Olivier Galibert <galibert@pobox.com>
15306 * alloc.c: Use a lrecord_header * in the backtrace instead of a
15308 (pdump_backtrace): Ditto.
15309 (pdump_register_object): Ditto. Cleanup use of the pointers.
15310 (pdump_get_entry): Abort if trying to register a null pointer.
15311 (pdump_dump_data): Cleanup types when relocating.
15312 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
15313 (pdump_dump_rtables): Remove bad casts.
15314 (pdump_load): Cleanup relocation w.r.t union type. Use a
15315 Lisp_Object instead of a EMACS_INT for the hashtable
15318 2000-01-20 Martin Buchholz <martin@xemacs.org>
15320 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
15322 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
15324 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
15326 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
15328 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15330 * faces.h (FACE_STRIKETHRU_P): Added.
15332 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
15335 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
15336 (mswindows_set_dc_font): New function, aware of font variants,
15337 separated from mswindows_update_dc.
15339 * objects-msw.h (struct mswindows_font_instance_data): Added
15342 * objects-msw.c (mswindows_finalize_font_instance): Delete all
15343 cached fonts and the data structure.
15344 (mswindows_initialize_font_instance): Added creation of font data
15346 (mswindows_print_font_instance): Print at least something.
15347 (mswindows_create_font_variant): Implemented.
15348 (mswindows_get_hfont): Implemented.
15350 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
15352 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
15353 prototyping problem with msvc.
15355 * emacs.c (main_1): added syms_of_gui_mswindows() call
15357 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
15358 syms_of_gui_mswindows() function
15360 * symsinit.h: added the prototype for syms_of_gui_mswindows()
15362 2000-01-18 Martin Buchholz <martin@xemacs.org>
15364 * XEmacs 21.2.27 is released.
15366 2000-01-18 Martin Buchholz <martin@xemacs.org>
15368 * glyphs-eimage.c (struct tiff_error_struct):
15370 (tiff_warning_func):
15371 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
15376 * unexec.c: Remove vestigial Lucid C code.
15380 * libsst.c: Ansify.
15381 Remove declarations of errno and strerror().
15383 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
15385 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
15387 2000-01-16 Martin Buchholz <martin@xemacs.org>
15389 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
15392 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15397 Change enum eol_type to eol_type_t.
15399 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15401 * gui.c (get_gui_callback): Check cons before accessing car.
15403 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15405 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
15406 (XSETSPECIFIER_TYPE): Ditto.
15408 2000-01-17 Didier Verna <didier@xemacs.org>
15410 * redisplay.c (generate_fstring_runes): compute string size in
15411 characters, not bytes.
15413 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15415 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
15417 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
15419 * print.c (print_error_message): Call print_prepare().
15421 2000-01-14 Martin Buchholz <martin@xemacs.org>
15423 * .dbxrc: Renamed from dbxrc.
15425 * events.c (event_to_character):
15426 Use `assert (foo)' instead of `if (!foo) abort()'
15428 * .gdbinit (xtype): Add documentation.
15429 * .gdbinit (check-temacs): New function.
15430 * .gdbinit (check-xemacs): New function.
15431 * dbxrc (check-xemacs): New function.
15432 * dbxrc (check-xemacs): New function.
15434 2000-01-14 Andy Piper <andy@xemacs.org>
15436 * glyphs-widget.c (widget_query_geometry): Make sure that we
15437 calculate default dimensions correctly.
15439 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15441 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
15443 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
15444 pdump_wire'd variable.
15446 * emacs.c: (main_1): Conditionalized calls to
15447 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
15449 2000-01-13 Martin Buchholz <martin@xemacs.org>
15451 * window.c (Fset_window_configuration):
15452 * sysdep.c (_start):
15453 * input-method-motif.c (res):
15454 * event-Xt.c (Xt_process_to_emacs_event):
15455 Simple compiler warning fixes.
15457 * bytecode.c (funcall_compiled_function): Use the original
15458 function symbol on the backtrace list in preference to the
15459 compiled_function object in error messages.
15461 2000-01-13 Andy Piper <andy@xemacs.org>
15463 * glyphs-x.c (update_widget_face): Make sure we update the widget
15464 background as well as foreground.
15466 2000-01-13 Andy Piper <andy@xemacs.org>
15468 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
15469 fields to subwindow.
15470 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
15471 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
15472 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15473 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15475 * glyphs-widget.c (check_valid_tab_orientation): new function.
15476 (initialize_widget_image_instance): zero orientation and
15478 (widget_instantiate): pick up orientation.
15479 (tab_control_query_geometry): return appropriate values for
15482 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
15483 appropriate creation flags for left, right and bottom tabs.
15485 * s/cygwin32.h: add tab definitions.
15487 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15489 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
15490 frame upon hiding a subwindow.
15491 (mswindows_button_instantiate): Changed the push button style to
15493 (mswindows_button_instantiate): Removed button BS_NOTIFY
15495 (mswindows_button_instantiate): Removed redundant check for
15496 a disabled gui item.
15497 (mswindows_button_instantiate): Made use of WS_TABSTOP
15498 consistent: "operable" controls (edit, button, tree, scroll) have
15499 this style, "display-only" ones (static, progress gauge) do
15500 not. This style is currently ignored by XEmacs though. Also,
15501 removed the WS_EX_CONTROLPARENT style - it is not for children,
15502 it is for their parents!
15503 (mswindows_edit_field_instantiate): Ditto.
15504 (mswindows_progress_gauge_instantiate): Ditto.
15505 (mswindows_tree_view_instantiate): Ditto.
15506 (mswindows_tab_control_instantiate): Ditto.
15507 (mswindows_scrollbar_instantiate): Ditto.
15508 (mswindows_combo_box_instantiate): Ditto.
15509 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
15510 style to the "clip" window.
15511 (mswindows_button_instantiate): Removed compilation warning by
15512 equally typing terms of the ?: operator.
15514 2000-01-12 Didier Verna <didier@xemacs.org>
15516 * redisplay.c (generate_fstring_runes): new parameter holding the
15517 last modeline-format extent.
15518 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
15519 extent, fill the glyph block with it.
15520 (generate_fstring_runes): handle these parameters.
15521 (generate_formatted_string_db): ditto.
15523 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
15524 glyphs'extents in the modeline.
15526 1999-01-11 Mike Woolley <mike@bulsara.com>
15528 * ntheap.c: Reduced the reserved heap space from 1Gb down to
15529 256Mb, as a workaround for the non-starting problem many people
15532 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15534 * console-tty.c (Fset_console_tty_output_coding_system):
15535 Force redrawing tty frame.
15537 2000-01-10 Didier Verna <didier@xemacs.org>
15539 * redisplay.c (generate_fstring_runes): fix size computation bug.
15541 2000-01-09 William M. Perry <wmperry@aventail.com>
15543 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
15545 2000-01-09 Andy Piper <andy@xemacs.org>
15547 * glyphs-msw.c: index -> i to avoid shadows.
15548 (xbm_create_bitmap_from_data): make static.
15549 (check_valid_string_or_int): deleted.
15550 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
15552 * glyphs-x.c (x_update_subwindow): remove unused args.
15554 * glyphs.c (glyph_image_instance): return the thing. Don't set the
15555 back pointer - this is done in allocate_image_instance.
15556 (query_string_font): return Qnil to make the compiler happy.
15557 (unmap_subwindow): set to ~0 to make the compiler happy.
15558 (glyph_query_geometry): comment out until used.
15559 (glyph_layout): ditto.
15561 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15563 * insdel.c (signal_after_change): Remove extraneous unbind_to().