1 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
5 * mule-charset.c (Vcharset_ucs_jis): Deleted.
7 (syms_of_mule_charset): Delete `ucs-jis'.
8 (complex_vars_of_mule_charset): Likewise.
10 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
12 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
14 * mule-charset.c (Vcharset_ucs_ks): Deleted.
16 (syms_of_mule_charset): Delete `ucs-ks'.
17 (complex_vars_of_mule_charset): Likewise.
19 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
21 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
22 (Qideograph_daikanwa_2): Deleted.
23 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
24 (complex_vars_of_mule_charset): Likewise.
26 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
27 (LEADING_BYTE_DAIKANWA_1): Deleted.
28 (LEADING_BYTE_DAIKANWA_2): Deleted.
29 (MIN_CHAR_DAIKANWA): Deleted.
30 (MAX_CHAR_DAIKANWA): Deleted.
32 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
34 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
35 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
36 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
38 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
39 (Vcharset_ideograph_daikanwa): Deleted.
40 (Qideograph_hanziku_{1..12}): Deleted.
41 (Qideograph_daikanwa): Deleted.
42 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
43 Vcharset_ideograph_daikanwa.
44 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
45 `ideograph-hanziku-{1..12}'.
46 (complex_vars_of_mule_charset): Likewise.
48 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
50 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
52 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
53 (Qideograph_gt_pj_{1..11}): Deleted.
54 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
55 (complex_vars_of_mule_charset): Likewise.
57 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
59 * mule-charset.c (Vcharset_ucs_big5): Deleted.
60 (Vcharset_ideograph_gt): Deleted.
62 (Qideograph_gt): Deleted.
63 (syms_of_mule_charset): Delete symbol `ucs-big5' and
65 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
68 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
69 (LEADING_BYTE_GT): Deleted.
70 (MIN_CHAR_GT): Deleted.
71 (MAX_CHAR_GT): Deleted.
73 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
75 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
77 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
79 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
80 (save_uint16_byte_table): Likewise.
81 (save_byte_table): Likewise; convert values by it.
82 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
83 for `ideographic-structure'.
84 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
85 as the filter for `ideographic-structure'.
87 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
89 * chartab.c (put_char_composition): New function.
90 (Fput_char_attribute): Use `put_char_composition'; use
91 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
93 * fns.c (simplify_char_spec): New function.
94 (char_ref_simplify_spec): New function.
95 (Fchar_refs_simplify_char_specs): New function.
96 (syms_of_fns): Add new builtin function
97 `char-refs-simplify-char-specs'.
99 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
101 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
102 (Qideograph_cbeta): Deleted.
103 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
104 (complex_vars_of_mule_charset): Likewise.
106 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
107 (MIN_CHAR_CBETA): Comment out.
108 (MAX_CHAR_CBETA): Likewise.
110 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
112 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
113 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
114 CHISE client feature.
116 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
118 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
120 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
122 * mule-charset.c (charset_lookup_description_1): Use
123 `NUM_LEADING_BYTES' in UTF-2000.
125 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
127 * char-ucs.h (GC_CHARSETP): Deleted.
129 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
131 * char-ucs.h (MAX_CHAR_GT): Updated.
133 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
135 * text-coding.c: Sync with XEmacs 21.4.10.
137 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
139 * mule-charset.c (Vcharset_china3_jef): Deleted.
140 (Qchina3_jef): Deleted.
141 (syms_of_mule_charset): Don't define `china3-jef'.
142 (complex_vars_of_mule_charset): Likewise.
144 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
145 (MIN_CHAR_CHINA3_JEF): Comment out.
146 (MAX_CHAR_CHINA3_JEF): Comment out.
148 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
150 * mule-charset.c (Vcharset_ucs_gb): New variable.
151 (Qucs_gb): New variable.
152 (syms_of_mule_charset): Add new symbol `ucs-gb'.
153 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
155 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
157 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
159 * mule-charset.c (charset_code_point): if a coded-charset has a
160 final-byte, don't inherit the builtin range of the mother CCS.
162 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
164 * mule-charset.c (charset_code_point): Fix problem about
167 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
169 * mule-charset.c (decode_builtin_char): Reorganized.
171 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
173 * text-coding.c (char_encode_as_entity_reference): Modify for
174 `charset_code_point'.
175 (char_encode_shift_jis): Likewise.
176 (char_encode_big5): Likewise.
177 (char_encode_utf8): Likewise.
178 (char_encode_iso2022): Likewise.
180 * mule-charset.c (charset_code_point): Add new argument
182 (Fencode_char): Add new optional argument `defined_only'.
184 * chartab.c (put_char_table): Modify for `charset_code_point'.
186 * char-ucs.h (charset_code_point): Add new argument
188 (encode_char_1): Modify for `charset_code_point'.
190 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
192 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
193 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
195 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
197 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
198 (Qjis_x0208): Likewise.
199 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
200 XCHARSET_FINAL(charset).
201 (charset_code_point): Modify condition for final-byte based
203 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
204 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
205 in UTF-2000; specify `=jis-x0208' as the mother of
206 `japanese-jisx0208-1978', `japanese-jisx0208' and
207 `japanese-jisx0208-1990' in UTF-2000.
209 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
211 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
213 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
215 * text-coding.c (decode_coding_utf16): Support UTF-16.
216 (char_encode_utf16): Fixed.
218 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
220 * text-coding.c (Qutf16): New variable in MULE.
221 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
222 (Fcoding_system_type): Add `utf-16' in MULE.
223 (struct detection_state): Add a structure for utf16 in MULE.
224 (detect_coding_type): Setup st->utf16.mask in MULE.
225 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
227 (reset_encoding_stream): Use `char_encode_utf16' and
228 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
229 (detect_coding_utf16): New function [incomplete].
230 (decode_coding_utf16): New function [support only UCS-2].
231 (char_encode_utf16): New function.
232 (char_finish_utf16): New function.
233 (syms_of_file_coding): Add new symbol `utf-16'; setup
234 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
236 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
238 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
239 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
241 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
243 * chartab.c (put_char_table): When a charset is specified as a
244 range in UTF-2000, don't support builtin characters.
246 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
248 * mule-charset.c (decode_defined_char): Don't refer external
249 database if Qunbound or Qnil are found.
250 (Fsave_charset_mapping_table): Don't define it if
251 HAVE_CHISE_CLIENT is not defined.
252 (Freset_charset_mapping_table): New function.
253 (load_char_decoding_entry_maybe): Store Qnil if a character is not
254 found in external database.
255 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
256 if HAVE_CHISE_CLIENT is not defined; add new builtin function
257 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
259 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
261 * text-coding.c (decode_coding_utf8): Check CCS is specified or
264 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
266 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
267 Q_lowercase, Q_uppercase in UTF-2000.
269 * chartab.c (get_char_table): Add special code for the standard
270 case table to use character attribute `->downcase' and
271 `->uppercase' for case operations in UTF-2000.
273 * casetab.c (Qflippedcase): New variable in UTF-2000.
274 (Q_lowercase): Likewise.
275 (Q_uppercase): Likewise.
276 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
277 and `->uppercase' in UTF-2000.
278 (complex_vars_of_casetab): Assign attribute name `downcase' to
279 downcase and CANON table of Vstandard_case_table in UTF-2000;
280 assign attribute name `flippedcase' to upcase and EQV table of
281 Vstandard_case_table in UTF-2000.
283 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
285 * text-coding.c (decode_add_er_char): Support isolated-chars.
286 (char_encode_as_entity_reference): Likewise.
288 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
290 * emacs.c (Vutf_2000_lisp_directory): New variable.
291 (Vconfigure_utf_2000_lisp_directory): Likewise.
292 (complex_vars_of_emacs): Add new variable
293 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
295 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
297 * char-ucs.h (DECODE_CHAR): Delete special code for
298 `chinese-big5-1' and `chinese-big5-2'.
300 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
302 (decode_defined_char): Support CONVERSION_BIG5_1 and
304 (decode_builtin_char): Likewise.
305 (charset_code_point): Likewise.
306 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
307 'conversion in UTF-2000.
308 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
309 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
310 `chinese-big5-2' as children of `chinese-big5'.
312 * char-ucs.h (CONVERSION_BIG5_1): New macro.
313 (CONVERSION_BIG5_2): New macro.
315 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
317 * text-coding.c (char_encode_big5): Support entity-reference.
319 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
321 * text-coding.c (char_encode_as_entity_reference): New function.
322 (char_encode_utf8): Use `char_encode_as_entity_reference'.
324 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
326 * text-coding.c (decode_coding_big5): Support entity-reference
329 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
331 * text-coding.c (allocate_coding_system): Initialize initial
332 charsets for CODESYS_UTF8.
333 (Fmake_coding_system): Accept charset-g0, charset-g1 and
334 charset-g2 for CODESYS_UTF8.
335 (decode_coding_utf8): Use charset-g0.
336 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
337 to force variants to map to UCS.
339 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
341 * text-coding.c (Qutf_8_mcs): New variable.
342 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
343 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
344 instead of `utf-8' in UTF-2000.
346 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
348 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
349 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
350 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
351 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
352 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
353 CONVERSION_96x96x96x96 are introduced.
354 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
355 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
356 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
358 * char-ucs.h (CONVERSION_94): New macro.
359 (CONVERSION_96): New macro.
360 (CONVERSION_94x94): New macro.
361 (CONVERSION_96x96): New macro.
362 (CONVERSION_94x94x94): New macro.
363 (CONVERSION_96x96x96): New macro.
364 (CONVERSION_94x94x94x60): New macro.
365 (CONVERSION_94x94x94x94): New macro.
366 (CONVERSION_96x96x96x96): New macro.
368 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
370 * chartab.c (Vcharacter_variant_table): Deleted.
371 (Fchar_variants): Use character-attribute `->ucs-variants' instead
372 of `Vcharacter_variant_table'.
373 (Fput_char_attribute): Likewise.
374 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
375 (complex_vars_of_chartab): Likewise.
377 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
379 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
381 * fns.c (Qideographic_structure): New variable.
382 (Qkeyword_char): New variable.
383 (ids_format_unit): New function.
384 (Fideographic_structure_to_ids): New function.
385 (syms_of_fns): Add new symbols `ideographic-structure' and
386 `:char'; add new builtin function `ideographic-structure-to-ids'.
388 * data.c (Fchar_ref_p): New function.
389 (syms_of_data): Add new builtin function `char-ref-p'.
391 * chartab.h: Add an EXFUN for `Ffind_char'.
393 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
395 * text-coding.c (Vcharacter_composition_table): Deleted.
396 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
399 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
401 (Vcharacter_composition_table): Deleted.
402 (Fget_composite_char): Use the implementation for external-DB
403 support in every UTF-2000.
404 (Fput_char_attribute): Likewise.
405 (char_attribute_system_db_file): Don't define if external-DB
406 feature is not available.
407 (Fsave_char_attribute_table): Likewise.
408 (Fmount_char_attribute_table): Likewise.
409 (Fclose_char_attribute_table): Likewise.
410 (Freset_char_attribute_table): Likewise.
411 (Fload_char_attribute_table): Likewise.
412 (syms_of_chartab): Don't define `save-char-attribute-table',
413 `mount-char-attribute-table', `reset-char-attribute-table',
414 `close-char-attribute-table' and `load-char-attribute-table' if
415 external-DB feature is not available.
416 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
418 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
420 * text-coding.c (Qcomposition): Add extern if external-DB feature
422 (Vcharacter_composition_table): Don't add extern if external-DB
423 feature is supported.
424 (COMPOSE_ADD_CHAR): Modify for new data-representation of
425 character composition rule if external-DB feature is supported.
427 * chartab.c (Vcharacter_composition_table): Don't define if
428 external-DB feature is supported.
429 (Qcomposition): New variable.
430 (Fget_composite_char): New implementation for external-DB support.
431 (Fput_char_attribute): Use `composition' property of each
432 character instead of `Vcharacter_composition_table' to store
433 character-composition rules if external-DB feature is supported.
434 (syms_of_chartab): Add new symbol `composition'.
435 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
436 external-DB feature is supported.
438 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
440 * chartab.c (Vchar_db_stingy_mode): New variable.
441 (load_char_attribute_maybe): Close database if
442 Vchar_db_stingy_mode is not NIL.
443 (Fload_char_attribute_table_map_function): Use
444 `get_char_id_table_0' instead of `get_char_id_table'.
445 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
447 * chartab.h (get_char_id_table_0): New inline function.
448 (get_char_id_table): Use `get_char_id_table_0'.
450 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
452 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
453 and `COMPOSE_ADD_CHAR'.
454 (decode_coding_iso2022): Use `decode_flush_er_chars'.
456 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
458 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
459 instead of `DECODE_ADD_UCS_CHAR'.
460 (COMPOSE_ADD_CHAR): Likewise.
462 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
464 * text-coding.c (decode_flush_er_chars): New inline function.
465 (decode_add_er_char): New function.
466 (decode_coding_utf8): Use `decode_flush_er_chars' and
467 `decode_add_er_char'.
469 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
471 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
472 done before `decode_output_utf8_partial_char'.
474 * mule-charset.c (complex_vars_of_mule_charset): Specify
475 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
476 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
478 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
480 * mule-charset.c (decode_defined_char): New function; search
482 (decode_builtin_char): Don't search mother if
483 XCHARSET_MAX_CODE(charset) == 0.
484 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
485 == 0 even if code >= XCHARSET_MAX_CODE(charset).
486 (Fdecode_char): Use `decode_defined_char' instead of
487 `DECODE_DEFINED_CHAR'.
488 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
489 mother of `Vcharset_ucs_jis'.
491 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
492 instead of `DECODE_DEFINED_CHAR'.
494 * char-ucs.h (decode_defined_char): Renamed from
495 `DECODE_DEFINED_CHAR'; changed to normal function.
496 (DECODE_CHAR): Use `decode_defined_char' instead of
497 `DECODE_DEFINED_CHAR'.
499 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
501 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
503 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
505 * text-coding.c (Vcoded_charset_entity_reference_alist): New
507 (Quse_entity_reference): New variable.
511 (coding_system_description): Add description for
513 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
514 (allocate_coding_system): Initialize `ccs_priority_list' in
516 (Fmake_coding_system): Add description about
517 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
519 (Fcoding_system_property): Accept `disable-composition' and
520 `use-entity-reference' in UTF-2000.
521 (struct decoding_stream): Add new member `er_counter' and `er_buf'
523 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
524 (decode_coding_utf8): Decode entity-reference if
525 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
526 (char_encode_utf8): Encode non-Unicode characters as
527 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
529 (syms_of_file_coding): Add new symbols `use-entity-reference',
531 (vars_of_file_coding): Add new variable
532 `coded-charset-entity-reference-alist'.
533 (complex_vars_of_file_coding): Declare `disable-composition' and
534 `use-entity-reference' to be coding-system-properties in UTF-2000.
536 * file-coding.h (struct Lisp_Coding_System): Add new member
537 `use_entity_reference' and `ccs_priority_list'.
538 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
539 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
540 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
542 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
544 * chartab.c (save_uint8_byte_table): Don't clear the table.
545 (save_uint16_byte_table): Likewise.
546 (save_byte_table): Likewise.
547 (Fmount_char_attribute_table): New function.
548 (syms_of_chartab): Add new builtin function
549 `mount-char-attribute-table'.
551 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
553 * mule-charset.c (Fsave_charset_mapping_table): Open database as
555 (load_char_decoding_entry_maybe): Open database as read-only mode.
557 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
558 open database as "w+" mode.
559 (load_char_attribute_maybe): Open database as read-only mode.
560 (Fload_char_attribute_table): Likewise.
562 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
564 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
565 (char_table_description): Delete member `db_file'.
566 (Fmake_char_table): Don't refer `ct->db_file'.
567 (Fcopy_char_table): Likewise.
568 (Fsave_char_attribute_table): Likewise.
569 (Fclose_char_attribute_table): Likewise.
570 (Freset_char_attribute_table): Likewise.
571 (load_char_attribute_maybe): Likewise.
572 (Fload_char_attribute_table): Likewise.
574 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
576 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
578 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
579 (Fsave_char_attribute_table): Don't check `ct->db_file' if
581 (load_char_attribute_maybe): Likewise.
582 (Fload_char_attribute_table): Likewise.
584 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
586 * chartab.c (Fclose_char_attribute_table): Set Qnil on
587 `ct->db_file' unconditionally.
589 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
591 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
593 (char_table_description): Add description for `db_file' and `db'
595 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
597 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
598 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
599 (Fclose_char_attribute_table): New function.
600 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
601 (load_char_attribute_maybe): Change interface; use `cit->db_file'
603 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
604 (syms_of_chartab): Add new builtin function
605 `Fclose_char_attribute_table'.
607 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
609 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
611 (load_char_attribute_maybe): Change interface.
612 (get_char_id_table): Modify for `load_char_attribute_maybe'.
614 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
616 * database.h: Add an EXFUN for `Fdatabase_live_p'.
618 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
620 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
621 instead of `DECODE_CHAR' for mother; don't use special code for
622 chinese-big5 to use code space of chinese-big5-1 and
624 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
625 `MAX_CHAR_BIG5_CDP' for chinese-big5.
627 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
628 (MAX_CHAR_BIG5_CDP): Revival.
630 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
632 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
633 the XLFD registry-encoding name of `chinese-big5'.
635 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
637 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
638 (Qchinese_big5_cdp): Deleted.
639 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
640 (complex_vars_of_mule_charset): Delete coded-charset
643 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
644 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
645 `CHARSET_ID_OFFSET - n' for private CCS.
646 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
647 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
648 of `MIN_LEADING_BYTE'.
649 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
650 `(CHARSET_ID_OFFSET - 97)'.
651 (MIN_CHAR_BIG5_CDP): Deleted.
652 (MAX_CHAR_BIG5_CDP): Deleted.
654 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
656 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
658 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
660 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
661 (vars_of_mule): Add new variable `utf-2000-version' [moved from
664 * chartab.c (Vutf_2000_version): Moved to mule.c.
665 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
667 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
669 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
670 when HAVE_CHISE_CLIENT is not defined.
672 * mule.c (vars_of_mule): Provide feature `chise' when
673 HAVE_CHISE_CLIENT is defined.
675 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
677 * config.h.in (UTF2000): Add comment.
678 (HAVE_CHISE_CLIENT): New macro.
680 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
682 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
684 (Fput_char_attribute): Likewise.
685 (char_attribute_system_db_file): Encode file-name of attribute.
686 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
689 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
691 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
692 (Fsave_charset_mapping_table): Use
693 `char_attribute_system_db_file'.
694 (load_char_decoding_entry_maybe): Likewise.
696 * chartab.h (Qsystem_char_id): New external variable.
697 (char_attribute_system_db_file): New prototype.
699 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
700 (char_attribute_system_db_file): New function.
701 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
702 (Freset_char_attribute_table): Likewise.
703 (load_char_attribute_maybe): Likewise.
704 (Fload_char_attribute_table): Likewise.
705 (syms_of_chartab): Add new symbol `system-char-id'.
707 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
709 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
710 `XCHARSET_GRAPHIC(ccs)'.
712 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
714 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
716 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
718 * chartab.c (Q_ucs_variants): New variable.
719 (syms_of_chartab): Add new symbol `->ucs-variants'.
720 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
721 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
722 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
724 * mule-charset.c (load_char_decoding_entry_maybe): New function.
726 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
727 `HAVE_DATABASE' is defined.
728 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
729 `HAVE_DATABASE' is defined.
731 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
733 * chartab.c (Fsave_char_attribute_table): Don't clear internal
735 (Freset_char_attribute_table): New function.
736 (syms_of_chartab): Add new builtin function
737 `reset-char-attribute-table'.
739 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
741 * chartab.c (load_char_attribute_maybe): Don't make directories.
743 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
745 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
747 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
750 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
752 * mule-charset.c (Fsave_charset_mapping_table): Use
753 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
755 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
756 instead of `XCHARSET_CHARS'.
758 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
760 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
761 (XCHARSET_BYTE_SIZE): Likewise.
763 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
765 (XCHARSET_BYTE_SIZE): Likewise.
767 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
769 * chartab.c (Fput_char_attribute): Use exec-directory instead of
770 data-directory to store database.
771 (Fsave_char_attribute_table): Likewise.
772 (load_char_attribute_maybe): Likewise.
773 (Fload_char_attribute_table): Likewise.
775 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
777 * mule-charset.c (Fsave_charset_mapping_table): New function.
778 (syms_of_mule_charset): Add new builtin function
779 `save-charset-mapping-table'.
781 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
783 * char-ucs.h (decoding_table_check_elements): Delete prototype.
784 (get_ccs_octet_table): New inline function.
785 (put_ccs_octet_table): Likewise.
786 (decoding_table_put_char): Use `get_ccs_octet_table' and
787 `put_ccs_octet_table'.
788 (decoding_table_remove_char): Use `decoding_table_put_char'.
789 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
791 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
793 (make_charset): Use Qunbound instead Qnil as initial value of
796 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
798 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
799 element is Qunloaded.
800 (map_over_uint16_byte_table): Likewise.
801 (map_over_byte_table): Likewise.
802 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
803 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
804 database support, load encoding-table of the specified
805 coded-charset if it is not loaded yet.
806 (save_uint8_byte_table): New function of UTF-2000 with external
808 (save_uint16_byte_table): Likewise.
809 (save_byte_table): Likewise.
810 (Fput_char_attribute): Don't store value into external database
811 even if the external database feature is supported in UTF-2000;
812 set `attribute' as name of char-table if the external database
813 feature is supported.
814 (Fsave_char_attribute_table): New function in UTF-2000.
815 (syms_of_chartab): Add new builtin function
816 `save-char-attribute-table' in UTF-2000.
818 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
820 * chartab.c (char_attribute_table_to_put): New variable in
822 (Qput_char_table_map_function): Likewise.
823 (value_to_put): Likewise.
824 (Fput_char_table_map_function): New function in UTF-2000.
825 (put_char_table): Use `Fmap_char_attribute' for
826 CHARTAB_RANGE_CHARSET in UTF-2000.
827 (Fput_char_attribute): Store symbol instead of string in
828 `XCHAR_TABLE_NAME (table)'.
829 (load_char_attribute_maybe): Likewise.
830 (syms_of_chartab): Add new symbol/function
831 `put-char-table-map-function'.
833 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
835 * database.h: Add new EXFUN for `Fmap_database'.
837 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
838 (syms_of_database): Likewise.
840 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
842 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
843 (XCHAR_TABLE_UNLOADED): Likewise.
845 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
846 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
847 HAVE_DATABASE is defined.
848 (char_attribute_table_to_load): New variable of UTF-2000 with
849 external database support.
850 (Qload_char_attribute_table_map_function): Likewise.
851 (Fload_char_attribute_table_map_function): New function of
852 UTF-2000 with external database support.
853 (Fload_char_attribute_table): New function of UTF-2000.
854 (Fmap_char_attribute): Call Fload_char_attribute_table if
855 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
856 (syms_of_chartab): Add new symbol and function
857 `load-char-attribute-table-map-function' in UTF-2000 with external
858 database support; add new function `load-char-attribute-table' in
861 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
863 * chartab.h (load_char_attribute_maybe): New prototype for
864 UTF-2000 with DATABASE support.
865 (get_char_id_table): Use `load_char_attribute_maybe' if
866 HAVE_DATABASE is defined.
868 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
869 with DATABASE support.
871 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
873 * chartab.c (Fput_char_attribute): Use S-expression as key of
876 * chartab.h (get_char_id_table): Use S-expression as key of
879 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
881 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
882 if an element is not loaded, load the corresponding attributes
883 from an external database.
884 (map_over_uint16_byte_table): Likewise.
885 (map_over_byte_table): Likewise.
886 (map_char_table): Modify for `map_over_uint8_byte_table',
887 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
888 element is not loaded, load the corresponding attributes from an
890 (Fput_char_attribute): Change initial values to Qunloaded.
892 * chartab.h (get_char_id_table): If a character attribute is not
893 loaded and the attribute value is not found in an external
894 database, store Qunbound as the attribute value.
896 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
898 * chartab.c (BT_UINT8_unloaded): New macro.
899 (UINT8_VALUE_P): Accept Qunloaded.
900 (UINT8_ENCODE): Likewise.
901 (UINT8_DECODE): Likewise.
902 (BT_UINT16_unloaded): New macro.
903 (UINT16_VALUE_P): Accept Qunloaded.
904 (UINT16_ENCODE): Likewise.
905 (UINT16_DECODE): Likewise.
906 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
908 (mark_char_table): Mark `ct->name' in UTF-2000.
909 (char_table_description): Add `name' in UTF-2000.
910 (Fmake_char_table): Initialize `ct->name'.
911 (Fcopy_char_table): Copy `ct->name'.
912 (Fput_char_attribute): Store value into an external database if
913 HAVE_DATABASE is defined.
915 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
917 (CHAR_TABLE_NAME): New macro in UTF-2000.
918 (XCHAR_TABLE_NAME): New macro in UTF-2000.
919 (get_char_id_table): Try to read an external database if Qunloaded
920 is stored in a table.
922 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
925 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
927 * database.h: Add EXFUN definitions for Fopen_database,
928 Fput_database, Fget_database and Fclose_database.
930 * data.c (Qunloaded): New variable in UTF-2000.
932 * lisp.h (Qunloaded): New variable in UTF-2000.
934 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
936 * mule-charset.c (put_char_ccs_code_point): Modify for
937 `decoding_table_remove_char' and `decoding_table_put_char'.
938 (remove_char_ccs): Modify for `decoding_table_remove_char'.
940 * char-ucs.h (decoding_table_remove_char): Change arguments to
941 hide decoding_table vector.
942 (decoding_table_put_char): Likewise.
944 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
946 * mule-charset.c (decoding_table_remove_char): Moved to
948 (decoding_table_put_char): Likewise.
950 * char-ucs.h (decoding_table_check_elements): New prototype [moved
951 from mule-charset.c].
952 (decoding_table_remove_char): New inline function [moved from
954 (decoding_table_put_char): Likewise.
956 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
958 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
961 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
963 * mule-charset.c (decode_builtin_char): Support mother charsets.
965 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
967 * mule-charset.c (Q94x94x60): New variable.
968 (charset_code_point): Support conversion `94x94x60'.
969 (Fmake_charset): Likewise.
970 (syms_of_mule_charset): Add new symbol `94x94x60'.
972 * char-ucs.h (CONVERSION_94x94x60): New macro.
974 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
976 * mule-charset.c (charset_code_point): Unify code about
979 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
981 * mule-charset.c (charset_code_point): Merge code about builtin
982 characters into code about mother charsets; don't use
983 `range_charset_code_point'.
984 (range_charset_code_point): Deleted.
986 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
988 * mule-charset.c (Qcode_offset): New variable.
989 (Fmake_charset): Use `XUINT' to get value of `min-code' and
990 `max-code'; accept new property `code-offset'.
991 (syms_of_mule_charset): Add new symbol `code-offset'.
993 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
995 * mule-charset.c (range_charset_code_point): Fixed.
997 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
999 * mule-charset.c (decode_builtin_char): Change semantics of
1000 code-offset of coded-charset.
1001 (charset_code_point): Likewise.
1002 (range_charset_code_point): Likewise.
1003 (complex_vars_of_mule_charset): Modify for the change.
1005 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1007 * mule-charset.c (Fencode_char): Reverse arguments.
1009 * mule-charset.c (charset_code_point): Fixed.
1011 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1013 * mule-charset.c (Vcharset_mojikyo): Deleted.
1014 (Vcharset_mojikyo_2022_1): Deleted.
1015 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1016 (Qmin_code): New variable in UTF-2000.
1017 (Qmax_code): Likewise.
1018 (Qmother): Likewise.
1019 (Qconversion): Likewise.
1021 (Qmojikyo): Deleted.
1022 (Qmojikyo_2022_1): Deleted.
1023 (Qmojikyo_pj_{1..22}): Deleted.
1024 (mark_charset): Mark `cs->mother'.
1025 (charset_description): Add description for `mother'.
1026 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1027 new arguments `mother' and `conversion'; use
1028 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1029 (charset_code_point): Moved from char-ucs.h; support `mother'
1031 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1032 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1033 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1034 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1035 allow 2 as the value of `graphic' in UTF-2000; add new properties
1036 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1037 require `final' in UTF-2000; modify for `make_charset'.
1038 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1039 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1040 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1041 (Fencode_char): New function.
1042 (syms_of_mule_charset): Add new builtin function `encode-char' in
1043 UTF-2000; add new symbols `min-code', `max-code', `mother',
1044 `conversion' and `94x60'; delete symbols `mojikyo',
1045 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1046 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1047 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1048 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1050 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1051 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1053 * char-ucs.h (Vcharset_mojikyo): Deleted.
1054 (Vcharset_mojikyo_2022_1): Deleted.
1055 (LEADING_BYTE_MOJIKYO): Deleted.
1056 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1057 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1058 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1059 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1060 add new member `mother'; add new member `conversion'.
1061 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1062 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1063 (CHARSET_MOTHER): New macro.
1064 (CHARSET_CONVERSION): New macro.
1065 (CONVERSION_IDENTICAL): New macro.
1066 (CONVERSION_94x60): New macro.
1067 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1068 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1069 (XCHARSET_MOTHER): New macro.
1070 (XCHARSET_CONVERSION): New macro.
1071 (MIN_CHAR_MOJIKYO): Deleted.
1072 (MAX_CHAR_MOJIKYO): Deleted.
1073 (DECODE_MOJIKYO_2022): Deleted.
1074 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1075 (charset_code_point): Changed to non-inline function.
1076 (encode_char_1): Use `charset_code_point'.
1077 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1079 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1081 * lread.c (read_compiled_function): Fix prototype.
1082 (read_vector): Likewise.
1084 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1086 * lrecord.h (struct lrecord_header): Delete `older'.
1087 (set_lheader_implementation): Delete code for `older'.
1088 (set_lheader_older_implementation): Deleted.
1089 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1090 (OLDER_RECORD_P): Deleted.
1091 (OLDER_RECORD_HEADER_P): Deleted.
1092 (alloc_older_lcrecord): Deleted.
1093 (alloc_older_lcrecord_type): Deleted.
1095 * alloc.c (all_older_lcrecords): Deleted.
1096 (alloc_older_lcrecord): Deleted.
1097 (disksave_object_finalization_1): Delete code for older objects.
1098 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1099 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1101 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1103 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1104 instead of `make_older_vector'.
1105 (put_char_ccs_code_point): Likewise.
1106 (mark_charset): Mark `cs->decoding_table'.
1107 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1109 * lisp.h (make_older_vector): Deleted.
1110 (make_vector_newer): Deleted.
1112 * config.h.in (HAVE_GGC): Deleted.
1114 * alloc.c (make_older_vector): Deleted.
1115 (make_vector_newer_1): Deleted.
1116 (make_vector_newer): Deleted.
1118 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1120 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1121 (Qideograph_daikanwa_2): New variable.
1122 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1123 (complex_vars_of_mule_charset): Add new coded-charset
1124 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1125 `LEADING_BYTE_DAIKANWA'.
1127 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1128 (LEADING_BYTE_DAIKANWA_1): New macro.
1129 (LEADING_BYTE_DAIKANWA_2): New macro.
1130 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1132 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1134 * mule-charset.c (complex_vars_of_mule_charset): Change
1135 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1136 the second revised version.
1138 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1140 * mule-charset.c (Vcharset_ucs_smp): New variable.
1141 (Vcharset_ucs_sip): New variable.
1142 (Qucs_smp): New variable.
1143 (Qucs_sip): New variable.
1144 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1145 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1146 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1147 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1148 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1149 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1151 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1152 (LEADING_BYTE_UCS_SIP): New macro.
1153 (MIN_CHAR_SMP): New macro.
1154 (MAX_CHAR_SMP): New macro.
1155 (MIN_CHAR_SIP): New macro.
1156 (MAX_CHAR_SIP): New macro.
1158 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1160 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1163 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1165 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1166 value; don't store value into `encoding_table' of `Lisp_Charset'.
1167 (mark_charset): `encoding_table' was deleted.
1168 (charset_description): Likewise.
1169 (make_charset): Likewise.
1170 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1171 `put_char_ccs_code_point'.
1173 * chartab.h (Fput_char_attribute): New EXFUN.
1175 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1176 is unified with normal symbol space.
1177 (Fget_char_attribute): Likewise.
1178 (Fput_char_attribute): Likewise; behavior of
1179 `put_char_ccs_code_point' is changed.
1181 * char-ucs.h: Include "elhash.h".
1182 (Vchar_attribute_hash_table): New external variable.
1183 (struct Lisp_Charset): Delete `encoding_table'.
1184 (CHARSET_ENCODING_TABLE): New implementation; refer
1185 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1188 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1190 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1193 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1195 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1198 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1200 * chartab.c (uint8_byte_table_description): New constant.
1201 (uint8-byte-table): Use `uint8_byte_table_description'.
1202 (uint16_byte_table_description): New constant.
1203 (uint16-byte-table): Use `uint16_byte_table_description'.
1205 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1207 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1208 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1210 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1212 * mule-charset.c (Vcharset_ucs_ks): New variable.
1213 (Qucs_ks): New variable.
1214 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1215 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1217 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1219 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1221 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1222 (Fdecode_char): Likewise.
1224 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1226 (Fdefine_char): Modify for Fdecode_char.
1227 (Ffind_char): Likewise.
1229 * mule-charset.c (Fdecode_char): Add new optional argument
1231 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1233 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1235 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1236 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1237 (allocate_coding_system): Initialize initial-charsets of
1238 CODESYS_BIG5 in XEmacs UTF-2000.
1239 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1240 CODESYS_BIG5 in XEmacs UTF-2000.
1241 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1242 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1244 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
1246 (Qideograph_hanziku_{1 .. 12}): Likewise.
1247 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
1249 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
1250 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
1251 `ideograph-hanziku-{1 .. 12}'.
1253 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
1254 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
1255 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
1256 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
1257 (DECODE_DEFINED_CHAR): New inline function.
1258 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
1260 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1262 * mule-charset.c (Vcharset_china3_jef): Renamed from
1263 `Vcharset_japanese_jef_china3'.
1264 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
1265 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
1266 `{MIN|MAX}_CHAR_JEF_CHINA3'..
1267 (syms_of_mule_charset): Rename `china3-jef' from
1268 `japanese-jef-china3'.
1269 (complex_vars_of_mule_charset): Likewise; rename
1270 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
1272 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
1273 `LEADING_BYTE_JEF_CHINA3'.
1274 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
1275 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
1277 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1279 * mule-charset.c (encode_builtin_char_1): Comment out special code
1280 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1282 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1283 (MAX_CHAR_MOJIKYO_0): Comment out.
1284 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1285 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1286 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1287 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1289 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1291 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1292 (Qideograph_cbeta): New variable.
1293 (encode_builtin_char_1): Comment out special code for
1294 coded-charset `mojikyo' and `japanese-jef-china3'.
1295 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1296 (complex_vars_of_mule_charset): Add new coded-charset
1299 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1300 (MIN_CHAR_CBETA): New macro.
1301 (MAX_CHAR_CBETA): New macro.
1303 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1305 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1306 (LEADING_BYTE_JEF_CHINA3): New macro.
1307 (MIN_CHAR_JEF_CHINA3): New macro.
1308 (MAX_CHAR_JEF_CHINA3): Likewise.
1309 (DECODE_CHAR): Fixed.
1311 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1313 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1314 (Qjapanese_jef_china3): New variable.
1315 (encode_builtin_char_1): Support `japanese-jef-china3'.
1316 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1317 (complex_vars_of_mule_charset): Add new coded-charset
1318 `japanese-jef-china3'.
1320 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1322 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1323 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1324 94^4, 96^3, 96^4, 128^n and 256^n set.
1325 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1326 (map_char_table): Likewise.
1328 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1330 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1333 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1335 * chartab.h (get_char_id_table): New inline function.
1337 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1340 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1342 * chartab.h (decode_char_table_range): New prototype in XEmacs
1344 (put_char_id_table): New inline function in XEmacs UTF-2000.
1346 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1348 (decode_char_table_range): Delete static declaration in XEmacs
1351 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1353 * chartab.c (put_char_id_table): Use `put_char_table'.
1355 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1357 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1358 (map_over_uint16_byte_table): Likewise.
1359 (map_over_byte_table): Likewise.
1360 (map_char_table): Modify for `map_over_uint8_byte_table',
1361 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1364 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1366 * chartab.c (struct map_char_table_for_charset_arg): New
1368 (map_char_table_for_charset_fun): New function.
1369 (map_char_table): Use `map_char_table' for encoding_table of
1372 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1374 * chartab.c (map_char_table): Check a character is found in
1375 range->charset instead of non default value is defined in
1376 char-table when range is CHARTAB_RANGE_ROW.
1378 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1380 * chartab.c (map_char_id_table): Deleted.
1381 (Fmap_char_attribute): Use `map_char_table' instead of
1382 `map_char_id_table'.
1384 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1386 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1388 (update_syntax_table): Deleted in XEmacs UTF-2000.
1390 * syntax.c (find_defun_start): Use `syntax_table' instead of
1391 `mirror_syntax_table' in XEmacs UTF-2000.
1392 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1394 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1396 (Fmatching_paren): Likewise.
1397 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1399 (find_start_of_comment): Likewise.
1400 (find_end_of_comment): Likewise.
1401 (Fforward_comment): Likewise.
1402 (scan_lists): Likewise.
1403 (char_quoted): Likewise.
1404 (Fbackward_prefix_chars): Likewise.
1405 (scan_sexps_forward): Likewise.
1406 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1407 (update_syntax_table): Likewise.
1409 * search.c (skip_chars): Use `syntax_table' instead of
1410 `mirror_syntax_table' in XEmacs UTF-2000.
1411 (wordify): Likewise.
1412 (Freplace_match): Likewise.
1414 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1415 `mirror_syntax_table' in XEmacs UTF-2000.
1416 (WORDCHAR_P_UNSAFE): Likewise.
1417 (re_match_2_internal): Likewise.
1419 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1420 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1422 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1423 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1425 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1428 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1430 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1431 (char_table_description): Delete `mirror_table' in XEmacs
1433 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1435 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1436 (Fcopy_char_table): Likewise.
1437 (put_char_table): Don't call `update_syntax_table' in XEmacs
1440 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1441 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1442 (casify_region_internal): Likewise.
1444 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1446 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1447 `mirror_syntax_table' in XEmacs UTF-2000.
1449 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1450 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1451 (Fexpand_abbrev): Likewise.
1453 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1455 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1457 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1459 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1460 (map_over_uint16_byte_table): Likewise.
1461 (map_over_byte_table): Likewise.
1462 (get_char_id_table): Refer `cit->default_value'.
1463 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1464 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1465 of character-id ranges.
1466 (mark_char_table): Mark `ct->default_value'.
1467 (char_table_description): Add `default_value'.
1468 (fill_char_table): Use `default_value'.
1469 (decode_char_table_range): Decode `nil' as
1470 `CHARTAB_RANGE_DEFAULT'.
1471 (get_char_id_table): Refer `cit->default_value'.
1472 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1473 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1474 temporary hack; check value of char-table is bound or not.
1475 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1477 * chartab.h (struct Lisp_Char_Table): Add new member
1478 `default_value' in XEmacs UTF-2000.
1479 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1480 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1483 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1485 * chartab.h (Lisp_Char_ID_Table): Deleted.
1487 * chartab.c (char_table_description): Fix typo.
1488 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1489 `Lisp_Char_ID_Table'.
1491 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1493 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1496 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1499 * chartab.h (XCHAR_ID_TABLE): Deleted.
1500 (XSETCHAR_ID_TABLE): Deleted.
1501 (CHAR_ID_TABLE_P): Deleted.
1503 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1505 (Fget_composite_char): Likewise.
1506 (put_char_table): Likewise.
1507 (add_char_attribute_alist_mapper): Fixed.
1508 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1510 (Fget_char_attribute): Likewise.
1511 (Fget_char_attribute): Likewise.
1512 (Fmap_char_attribute): Likewise.
1514 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1516 (encode_char_1): Likewise.
1518 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1520 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1523 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1524 instead of `XCHAR_ID_TABLE'.
1525 (remove_char_ccs): Likewise.
1527 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1529 (Fget_composite_char): Likewise.
1530 (Fchar_variants): Likewise.
1531 (put_char_table): Likewise.
1532 (add_char_attribute_alist_mapper): Likewise.
1533 (Fchar_attribute_alist): Likewise.
1534 (Fget_char_attribute): Likewise.
1535 (Fput_char_attribute): Likewise.
1536 (Fmap_char_attribute): Likewise.
1537 (Fmap_char_attribute): Likewise.
1539 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1541 (encode_char_1): Likewise.
1543 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1545 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1546 `Lisp_Char_ID_Table'.
1547 (mark_char_id_table): Deleted.
1548 (print_char_id_table): Likewise.
1549 (char_id_table_equal): Likewise.
1550 (char_id_table_hash): Likewise.
1551 (char_id_table_description): Likewise.
1552 (char_id_table): Likewise.
1553 (make_char_id_table): Use `Fmake_char_table' and
1555 (get_char_id_table): Use `Lisp_Char_Table' instead of
1556 `Lisp_Char_ID_Table'.
1557 (put_char_id_table): Likewise.
1558 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1560 (Fremove_char_attribute): Likewise.
1561 (syms_of_chartab): Don't define type `char-id-table'.
1563 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1564 (char_id_table): Likewise.
1565 (GC_CHAR_ID_TABLE_P): Likewise.
1566 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1567 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1568 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1569 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1570 (get_char_id_table): Use `Lisp_Char_Table' instead of
1571 `Lisp_Char_ID_Table'.
1572 (put_char_id_table_0): Likewise.
1573 (put_char_id_table): Likewise.
1575 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1577 * chartab.h: Lisp_Byte_Table related codes are moved from
1580 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1582 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1584 * chartab.h: Don't include "chartab.h".
1585 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1586 (Lisp_Char_ID_Table): Likewise.
1587 (char_id_table): Likewise.
1588 (XCHAR_ID_TABLE): Likewise.
1589 (XSETCHAR_ID_TABLE): Likewise.
1590 (CHAR_ID_TABLE_P): Likewise.
1591 (GC_CHAR_ID_TABLE_P): Likewise.
1592 (get_char_id_table): Likewise.
1594 * char-ucs.h: Include "chartab.h".
1595 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1596 (Lisp_Char_ID_Table): Likewise.
1597 (char_id_table): Likewise.
1598 (XCHAR_ID_TABLE): Likewise.
1599 (XSETCHAR_ID_TABLE): Likewise.
1600 (CHAR_ID_TABLE_P): Likewise.
1601 (GC_CHAR_ID_TABLE_P): Likewise.
1602 (get_char_id_table): Likewise.
1604 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1606 * chartab.c (copy_uint8_byte_table): New function.
1607 (copy_uint16_byte_table): New function.
1608 (copy_byte_table): New function.
1609 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1611 (map_over_uint16_byte_table): Likewise.
1612 (map_over_byte_table): Likewise.
1613 (get_byte_table): Move prototype to chartab.h.
1614 (put_byte_table): Likewise.
1615 (put_char_id_table_0): Moved to chartab.h.
1616 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1617 (char_table_entry_equal): Likewise.
1618 (char_table_entry_hash): Likewise.
1619 (char_table_entry_description): Likewise.
1620 (char_table_entry): Likewise.
1621 (make_char_table_entry): Likewise.
1622 (copy_char_table_entry): Likewise.
1623 (get_non_ascii_char_table_value): Likewise.
1624 (map_over_charset_ascii): Likewise.
1625 (map_over_charset_control_1): Likewise.
1626 (map_over_charset_row): Likewise.
1627 (map_over_other_charset): Likewise.
1628 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1629 (print_char_table): Likewise.
1630 (char_table_equal): Likewise.
1631 (char_table_hash): Likewise.
1632 (char_table_description): Likewise.
1633 (fill_char_table): Likewise.
1634 (Fcopy_char_table): Likewise.
1635 (get_char_table): Likewise.
1636 (Fget_range_char_table): Likewise.
1637 (put_char_table): Likewise.
1638 (map_char_table): Likewise.
1639 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1642 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1644 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1645 `Vauto_fill_chars' in XEmacs UTF-2000.
1647 * chartab.h (get_byte_table): New prototype [moved from
1649 (put_byte_table): Likewise [moved from chartab.c].
1650 (put_char_id_table_0): New inline function [moved from chartab.c].
1651 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1652 (Lisp_Char_Table_Entry): Likewise.
1653 (char_table_entry): Likewise.
1654 (XCHAR_TABLE_ENTRY): Likewise.
1655 (XSETCHAR_TABLE_ENTRY): Likewise.
1656 (CHAR_TABLE_ENTRYP): Likewise.
1657 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1658 (NUM_ASCII_CHARS): Likewise.
1659 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1660 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1662 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1664 * chartab.c (get_char_id_table): Change interface.
1665 (put_char_id_table_0): New function.
1666 (put_char_id_table): Change interface; new implementation.
1667 (Fget_composite_char): Modify for interface change of
1668 `get_char_id_table'.
1669 (Fchar_variants): Likewise.
1670 (add_char_attribute_alist_mapper): Likewise.
1671 (Fchar_attribute_alist): Likewise.
1672 (Fget_char_attribute): Likewise.
1673 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1674 as same as character as the first argument like `put-char-table';
1675 modify for interface change of `put_char_id_table'.
1676 (Fremove_char_attribute): Modify for interface change of
1677 `put_char_id_table'.
1679 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1681 * text-coding.c: Sync up with XEmacs 21.2.41.
1682 (COMPOSE_ADD_CHAR): Modify for interface change of
1683 `get_char_id_table'.
1685 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1686 change of `put_char_id_table'.
1687 (remove_char_ccs): Likewise.
1689 * chartab.h (put_char_id_table): Change interface.
1691 * char-ucs.h (get_char_id_table): Change interface.
1692 (charset_code_point): Modify for interface change of
1693 `get_char_id_table'.
1694 (encode_char_1): Likewise.
1696 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1698 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1700 (map_over_uint16_byte_table): Likewise.
1701 (map_over_byte_table): Likewise.
1702 (map_char_id_table): Add new argument `range' like
1704 (Fmap_char_attribute): Add new argument `range' like
1707 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1709 * chartab.c (map_over_uint8_byte_table): Change interface of
1710 mapping function to use struct chartab_range instead of Emchar.
1711 (map_over_uint16_byte_table): Likewise.
1712 (map_over_byte_table): Likewise.
1713 (map_char_id_table): Likewise.
1714 (struct slow_map_char_id_table_arg): Deleted.
1715 (slow_map_char_id_table_fun): Deleted.
1716 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1717 function `slow_map_char_table_fun' instead of struct
1718 `slow_map_char_id_table_arg' and function
1719 `slow_map_char_id_table_fun'.
1721 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1723 * mule-charset.c: Move char-it-table related codes to chartab.c.
1724 (Vutf_2000_version): Moved to chartab.c.
1725 (Fdefine_char): Likewise.
1726 (Ffind_char): Likewise.
1727 (syms_of_mule_charset): Move types `uint8-byte-table',
1728 `uint16-byte-table', `byte-table' and `char-id-table' to
1729 chartab.c; move functions `char_attribute_list,
1730 `find_char_attribute_table, `char_attribute_alist,
1731 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1732 `map_char_attribute, `define_char, `find_char, `char_variants and
1733 `get_composite_char to chartab.c; move symbols `=>ucs',
1734 `->decomposition', `compat', `isolated', `initial', `medial',
1735 `final', `vertical', `noBreak', `fraction', `super', `sub',
1736 `circle', `square', `wide', `narrow', `small' and `font' to
1738 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1739 setting codes for `Vcharacter_composition_table' and
1740 `Vcharacter_variant_table' to chartab.c.
1741 (complex_vars_of_mule_charset): Move setting code for
1742 `Vchar_attribute_hash_table' to chartab.c.
1744 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1745 (make_char_id_table): New prototype.
1746 (put_char_id_table): Likewise.
1747 (Fget_char_attribute): Likewise.
1749 * chartab.c: Move char-id-table related code from mule-charset.c.
1750 (Vutf_2000_version): Moved from mule-charset.c.
1752 * char-ucs.h (Qucs): New external variable.
1753 (put_char_ccs_code_point): New prototype.
1754 (remove_char_ccs): Likewise.
1756 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1758 * mule-charset.c (Vcharset_ucs_jis): New variable.
1759 (Qucs_jis): Likewise.
1760 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1761 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1763 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1765 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1767 * mule-charset.c (map_over_uint8_byte_table): New function.
1768 (map_over_uint16_byte_table): Likewise.
1769 (map_over_byte_table): Likewise.
1770 (map_char_id_table): Likewise.
1771 (slow_map_char_id_table_fun): Likewise.
1772 (Fmap_char_attribute): Likewise.
1773 (syms_of_mule_charset): Add new function `map-char-attribute'.
1775 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1777 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1778 (syms_of_mule_charset): Add new function `find-char'.
1780 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1782 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1784 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1785 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1787 (complex_vars_of_mule_charset): Add new coded-charset
1788 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1789 `ideograph-gt-pj-*'.
1791 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1793 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1795 * mule-charset.c (encode_builtin_char_1): Purge codes about
1796 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1797 {MIN|MAX}_CHAR_HEBREW.
1798 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1799 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1801 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1802 (MAX_CHAR_GREEK): Purged.
1803 (MIN_CHAR_CYRILLIC): Purged.
1804 (MAX_CHAR_CYRILLIC): Purged.
1805 (MIN_CHAR_HEBREW): Commented out.
1806 (MAX_CHAR_HEBREW): Likewise.
1808 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1810 * mule-charset.c (Qto_ucs): New variable.
1811 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1812 (Fdefine_char): Likewise.
1813 (syms_of_mule_charset): Add new symbol `=>ucs'.
1815 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1817 * mule-charset.c (Fdecode_char): Fixed.
1819 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1821 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1822 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1825 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1827 * mule-charset.c (Vcharset_ucs_big5): New variable.
1828 (Qucs_big5): Likewise.
1829 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1830 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1832 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1834 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1836 * mule-charset.c (decode_builtin_char): Check Big5 code range
1837 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1839 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1841 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1842 (Qchinese_gb12345): Likewise.
1843 (Fdecode_builtin_char): Fixed.
1844 (syms_of_mule_charset): Add `chinese-gb12345'.
1845 (complex_vars_of_mule_charset): Add coded-charset
1848 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1849 (LEADING_BYTE_CHINESE_GB12345): New macro.
1851 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1853 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1854 and `latin-viscii-upper' for `latin-viscii'.
1856 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1858 * mule-charset.c (Fdecode_builtin_char): Comment out
1859 regularization code for ISO-IR GR representation.
1861 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1863 * mule-charset.c (decode_builtin_char): New function; renamed from
1864 `make_builtin_char'; return -1 instead of signal.
1865 (Fdecode_builtin_char): Use `decode_builtin_char'.
1867 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1868 `make_builtin_char'.
1869 (DECODE_CHAR): Use `decode_builtin_char' instead of
1870 `make_builtin_char'; use mapping table of `chinese-big5' for
1871 `chinese-big5-{1,2}'.
1873 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1875 * text-coding.c (char_encode_big5): New function.
1876 (char_finish_big5): Likewise.
1877 (reset_encoding_stream): Use `char_encode_big5' and
1878 `char_finish_big5' for CODESYS_BIG5.
1879 (mule_encode): Don't use `encode_coding_big5'.
1880 (encode_coding_big5): Deleted.
1882 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1884 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1885 0x81- in XEmacs UTF-2000.
1886 (detect_coding_big5): Likewise.
1888 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1890 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1891 generate character-id if the CCS property does not have
1892 corresponding predefined character.
1893 (make_builtin_char): Return -1 if corresponding predefined
1894 character is not found.
1895 (Fdecode_char): Return nil if corresponding character is not
1897 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1898 don't map to builtin ucs space.
1900 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1902 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1903 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1905 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1907 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1908 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1909 (Qideograph_gt): Likewise.
1910 (Qideograph_gt_pj_{1..11}): Likewise.
1911 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1912 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1913 `ideograph-gt-pj-11'.
1914 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1915 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1916 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1918 * char-ucs.h (LEADING_BYTE_GT): New macro.
1919 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1920 (MIN_CHAR_GT): Likewise.
1921 (MAX_CHAR_GT): Likewise.
1923 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1925 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1926 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1928 * doprnt.c (unsigned_int_converters): Add `c'.
1929 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1931 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1932 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1934 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1935 (MAX_CHAR_MOJIKYO_0): New macro.
1936 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1938 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1940 * mule-charset.c (Fdefine_char): Delete cemented out code.
1941 (encode_builtin_char_1): Modify for new allocation of builtin
1944 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1946 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1948 * mule-charset.c (Vcharset_ucs_cns): New variable.
1949 (Qucs_cns): New variable.
1950 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1951 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1953 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1955 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1957 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1959 * search.c (search_buffer): Make `charset_base_code' as
1960 character-id >> 6 to eliminate the corresponding last byte in
1961 UTF-8 representation [I'm not sure it is right thing].
1962 (boyer_moore): Likewise.
1964 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1966 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1967 representation in MULE.
1969 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1971 * text-coding.c (Fmake_coding_system): Use
1972 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1973 `EXTERNAL_PROPERTY_LIST_LOOP'.
1975 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1977 * text-coding.c (decode_output_utf8_partial_char): New function.
1978 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1980 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1982 * text-coding.c (decode_coding_utf8): Output original byte
1983 sequence if it is broken; change order of conditions.
1985 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1988 * mb-multibyte.h (BYTE_ASCII_P):
1989 Use bit ops for char-signedness safety.
1990 (BYTE_C0_P): Use bit ops for char-signedness safety.
1991 (BYTE_C1_P): Use bit ops for char-signedness safety.
1993 * character.h: (XCHAR_OR_CHAR_INT):
1994 Always use inline function.
1995 Remove redundant type checking assert() - XINT will abort quite
1998 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2000 * text-coding.c: (Fencode_shift_jis_char):
2001 (Fencode_big5_char):
2002 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2003 Replace 0 with '\0' when working with bytes.
2004 Replace initial "(" with "\(" in docstrings.
2006 (Fmake_coding_system):
2007 When type is ccl and value is vector, register it with a proper
2008 symbol. And checks whether the given ccl program is valid.
2009 (mule_decode): When calling ccl_driver, if src indicates
2010 NULL pointer, set an empty string instead.
2011 (mule_encode): Likewise.
2014 (detect_coding_sjis):
2015 (decode_coding_sjis):
2016 (detect_coding_big5):
2017 (decode_coding_big5):
2018 (detect_coding_ucs4):
2019 (decode_coding_ucs4):
2020 (detect_coding_utf8):
2021 (decode_coding_utf8):
2022 (detect_coding_iso2022):
2023 (decode_coding_iso2022):
2024 (decode_coding_no_conversion):
2026 Make all detecting and decoding functions take an Extbyte * arg.
2027 (text_encode_generic):
2028 (encode_coding_big5):
2029 (encode_coding_no_conversion):
2031 Make all encoding functions take a Bufbyte * arg.
2032 Use size_t instead of unsigned int for memory sizes.
2033 Only cast to unsigned char whenever dereferencing Extbyte *.
2035 (struct lrecord_description fcd_description_1): Use countof.
2036 (complex_vars_of_file_coding):
2037 Use countof instead of sizeof.
2038 Use CHECK_NATNUM instead of CHECK_INT.
2040 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2042 * mule-charset.c (Fget_char_attribute): Add new optional argument
2044 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2045 (remove_char_ccs): Likewise.
2047 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2049 * text-coding.c (char_encode_shift_jis): New implementation in
2051 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2054 * mule-charset.c (Vcharset_chinese_big5): New variable in
2056 (Qchinese_big5): New variable in UTF-2000.
2057 (BIG5_SAME_ROW): New macro in UTF-2000.
2058 (make_builtin_char): Use builtin characters of
2059 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2060 characters of `Vcharset_chinese_big5'.
2061 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2062 (complex_vars_of_mule_charset): Add new coded-charset
2063 `chinese-big5' in UTF-2000.
2065 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2066 (Vcharset_chinese_big5): New external variable declaration.
2067 (Vcharset_japanese_jisx0208_1990): Likewise.
2069 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2071 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2073 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2075 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2077 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2078 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2079 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2082 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2084 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2086 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2088 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2091 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2093 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2094 for `CHARSET_BY_ATTRIBUTES'.
2095 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2096 `CHARSET_BY_ATTRIBUTES'.
2098 * text-coding.c (struct decoding_stream): Rename member `CH' to
2100 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2101 (decode_coding_sjis): Likewise.
2102 (decode_coding_big5): Likewise.
2103 (decode_coding_ucs4): Likewise.
2104 (decode_coding_utf8): Likewise.
2105 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2106 `CHARSET_BY_ATTRIBUTES'.
2107 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2108 `str->counter'; decode 3, 4 bytes sets.
2109 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2111 (decode_coding_no_conversion): Use `str->cpos' instead of
2114 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2115 (Qmojikyo_2022_1): New variable.
2116 (make_charset): Don't use `CHARSET_TYPE_*'.
2117 (range_charset_code_point): Support coded-charset
2119 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2120 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2121 `CHARSET_BY_ATTRIBUTES'.
2122 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2123 `CHARSET_BY_ATTRIBUTES'.
2124 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2125 (complex_vars_of_mule_charset): Add new coded-charset
2128 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2129 interface; changed to inline function.
2131 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2132 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2133 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2134 (CHARSET_TYPE_94): Deleted.
2135 (CHARSET_TYPE_94X94): Deleted.
2136 (CHARSET_TYPE_96): Deleted.
2137 (CHARSET_TYPE_96X96): Deleted.
2138 (CHARSET_TYPE_128): Deleted.
2139 (CHARSET_TYPE_128X128): Deleted.
2140 (CHARSET_TYPE_256): Deleted.
2141 (CHARSET_TYPE_256X256): Deleted.
2142 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2144 (DECODE_MOJIKYO_2022): New inline function.
2145 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2146 `Vcharset_mojikyo_2022_1'.
2148 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2150 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2152 (put_byte_table): Likewise.
2153 (char_id_table_equal): Use `get_byte_table' [new implementation].
2155 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2157 * mule-charset.c: Include <limits.h> in UTF-2000.
2158 (BT_UINT8_MIN): New macro in UTF-2000.
2159 (BT_UINT8_MAX): New macro in UTF-2000.
2160 (BT_UINT8_t): New macro in UTF-2000.
2161 (BT_UINT8_nil): New macro in UTF-2000.
2162 (BT_UINT8_unbound): New macro in UTF-2000.
2163 (INT_UINT8_P): New inline function in UTF-2000.
2164 (UINT8_VALUE_P): New inline function in UTF-2000.
2165 (UINT8_ENCODE): New inline function in UTF-2000.
2166 (UINT8_DECODE): New inline function in UTF-2000.
2167 (mark_uint8_byte_table): New function in UTF-2000.
2168 (print_uint8_byte_table): New function in UTF-2000.
2169 (uint8_byte_table_equal): New function in UTF-2000.
2170 (uint8_byte_table_hash): New function in UTF-2000.
2171 (make_uint8_byte_table): New function in UTF-2000.
2172 (uint8_byte_table_same_value_p): New function in UTF-2000.
2173 (BT_UINT16_MIN): New macro in UTF-2000.
2174 (BT_UINT16_MAX): New macro in UTF-2000.
2175 (BT_UINT16_t): New macro in UTF-2000.
2176 (BT_UINT16_nil): New macro in UTF-2000.
2177 (BT_UINT16_unbound): New macro in UTF-2000.
2178 (INT_UINT16_P): New inline function in UTF-2000.
2179 (UINT16_VALUE_P): New inline function in UTF-2000.
2180 (UINT16_ENCODE): New inline function in UTF-2000.
2181 (UINT16_DECODE): New inline function in UTF-2000.
2182 (UINT8_TO_UINT16): New inline function in UTF-2000.
2183 (mark_uint16_byte_table): New function in UTF-2000.
2184 (print_uint16_byte_table): New function in UTF-2000.
2185 (uint16_byte_table_equal): New function in UTF-2000.
2186 (uint16_byte_table_hash): New function in UTF-2000.
2187 (make_uint16_byte_table): New function in UTF-2000.
2188 (uint16_byte_table_same_value_p): New function in UTF-2000.
2189 (print_byte_table): New function in UTF-2000.
2190 (byte-table): Use `print_byte_table' as printer.
2191 (make_byte_table): Delete second argument `older'.
2192 (byte_table_same_value_p): New function in UTF-2000.
2193 (copy_byte_table): Deleted.
2194 (get_byte_table): New function in UTF-2000.
2195 (put_byte_table): New function in UTF-2000.
2196 (print_char_id_table): New function in UTF-2000.
2197 (char-id-table): Use `print_char_id_table' as printer.
2198 (make_char_id_table): Delete second argument `older'.
2199 (get_char_id_table): Use `get_byte_table [new implementation].
2200 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2202 (Ffind_char_attribute_table): New function in UTF-2000.
2203 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2204 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2205 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2206 (syms_of_mule_charset): Add new function
2207 `find-char-attribute-table' in UTF-2000.
2209 * lrecord.h (enum lrecord_type): Add
2210 `lrecord_type_uint16_byte_table' and
2211 `lrecord_type_uint8_byte_table'.
2213 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2214 (Lisp_Uint8_Byte_Table): New type.
2215 (XUINT8_BYTE_TABLE): New macro.
2216 (XSETUINT8_BYTE_TABLE): New macro.
2217 (UINT8_BYTE_TABLE_P): New macro.
2218 (GC_UINT8_BYTE_TABLE_P): New macro.
2219 (struct Lisp_Uint16_Byte_Table): New structure.
2220 (Lisp_Uint16_Byte_Table): New type.
2221 (XUINT16_BYTE_TABLE): New macro.
2222 (XSETUINT16_BYTE_TABLE): New macro.
2223 (UINT16_BYTE_TABLE_P): New macro.
2224 (GC_UINT16_BYTE_TABLE_P): New macro.
2226 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2228 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2229 (Vcharacter_ideographic_strokes_table): Deleted.
2230 (Vcharacter_total_strokes_table): Deleted.
2231 (Vcharacter_morohashi_daikanwa_table): Deleted.
2232 (Vcharacter_decomposition_table): Deleted.
2233 (Qname): Deleted because it is duplicated.
2234 (Qideographic_radical): Deleted.
2235 (Qideographic_strokes): Deleted.
2236 (Qtotal_strokes): Deleted.
2237 (Qmorohashi_daikanwa): Deleted.
2238 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2239 `ideographic-radical', `ideographic-strokes', `total-strokes',
2240 `morohashi-daikanwa' and `->decomposition'.
2241 (Fget_char_attribute): Likewise.
2242 (Fput_char_attribute): Likewise; use `make-vector' instead of
2243 `make_older_vector' for `->decomposition' value.
2244 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
2245 `ideograph-daikanwa'.
2246 (syms_of_mule_charset): Delete builtin symbols `name',
2247 `ideographic-radical', `ideographic-strokes', `total-strokes' and
2248 `morohashi-daikanwa'.
2249 (vars_of_mule_charset): Don't setup
2250 `Vcharacter_ideographic_radical_table',
2251 `Vcharacter_ideographic_strokes_table',
2252 `Vcharacter_total_strokes_table',
2253 `Vcharacter_morohashi_daikanwa_table' and
2254 `Vcharacter_decomposition_table'.
2256 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2258 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
2259 `make_older_vector', `make_vector_newer_1' and
2260 `make_vector_newer'.
2262 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
2263 `make_older_vector' and `make_vector_newer'.
2265 * config.h.in (HAVE_GGC): New macro.
2267 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2269 * mule-charset.c (struct char_attribute_list_closure): New
2270 structure in UTF-2000.
2271 (add_char_attribute_to_list_mapper): New function in UTF-2000.
2272 (Fchar_attribute_list): Likewise.
2273 (Fset_charset_mapping_table): Use `make_vector_newer'.
2274 (Fdecode_builtin_char): New function in UTF-2000.
2275 (syms_of_mule_charset): Add new function `char-attribute-list' and
2276 `decode-builtin-char' in UTF-2000.
2278 * lisp.h (make_vector_newer): New prototype.
2280 * alloc.c (make_vector_newer_1): New function.
2281 (make_vector_newer): New function.
2283 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2285 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2288 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2290 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2291 (Vcharacter_attribute_table): Deleted.
2292 (Vcharacter_name_table): Deleted.
2293 (put_char_attribute): Deleted.
2294 (remove_char_attribute): Deleted.
2295 (struct char_attribute_alist_closure): New structure.
2296 (add_char_attribute_alist_mapper): New function.
2297 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2298 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2299 (Fget_char_attribute): Likewise.
2300 (Fput_char_attribute): Likewise.
2301 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2302 of `remove_char_attribute'.
2303 (Fdefine_char): Return character.
2304 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2305 and `Vcharacter_name_table'.
2306 (complex_vars_of_mule_charset): Likewise
2307 `Vchar_attribute_hash_table'.
2309 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2311 * character.h (CHARC_CHARSET): New macro.
2312 (CHARC_CHARSET_ID): New macro.
2313 (CHARC_CODE_POINT): New macro.
2314 (CHARC_COLUMNS): New macro.
2315 (CHARC_TO_CHAR): New inline function.
2316 (CHARC_EQ): New inline function.
2317 (CHARC_ASCII_EQ): New inline function.
2318 (CHARC_IS_SPACE): New inline function.
2319 (ASCII_TO_CHARC): New inline function.
2321 * char-ucs.h (encode_char_2): Deleted.
2322 (ENCODE_CHAR): Use `encode_char_1' again.
2323 (breakup_char_1): Likewise.
2324 (CHAR_TO_CHARC): New inline function.
2326 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2328 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2330 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2331 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2332 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2333 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2334 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2336 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2338 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2340 (x_output_display_block): Use `CHARC_CHARSET' and
2343 * redisplay-tty.c (tty_output_display_block): Use
2345 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2347 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2349 * insdel.c (find_charsets_in_charc_string): Use
2351 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2352 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2353 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2354 (convert_charc_string_into_malloced_string): Likewise.
2356 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2358 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2359 instead of <Emchar_dynarr *> for buf; use
2360 `convert_bufbyte_string_into_charc_dynarr' instead of
2361 `convert_bufbyte_string_into_emchar_dynarr'; use
2362 `find_charsets_in_charc_string' instead of
2363 `find_charsets_in_emchar_string'.
2366 - Include "character.h".
2367 (struct rune): New member `cglyph'; delete member `chr'.
2369 * redisplay.c (redisplay_text_width_charc_string): New function;
2370 delete `redisplay_text_width_emchar_string'.
2371 (rtw_charc_dynarr): New variable; renamed from
2372 `rtw_emchar_dynarr'.
2373 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2374 `rtw_emchar_dynarr'; use
2375 `convert_bufbyte_string_into_charc_dynarr' instead of
2376 `convert_bufbyte_string_into_emchar_dynarr'; use
2377 `redisplay_text_width_charc_string' instead of
2378 `redisplay_text_width_emchar_string'.
2379 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2380 instead of `rtw_emchar_dynarr'; use
2381 `convert_bufbyte_string_into_charc_dynarr' instead of
2382 `convert_bufbyte_string_into_emchar_dynarr'.
2383 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2384 `redisplay_text_width_charc_string' instead of
2385 `redisplay_text_width_emchar_string'.
2386 (create_text_block): Modify for <struct rune> change.
2387 (generate_formatted_string_db): Likewise.
2388 (create_string_text_block): Likewise.
2389 (pixel_to_glyph_translation): Likewise.
2391 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2392 instead of <const Emchar *>.
2393 (x_text_width): Likewise.
2394 (x_output_display_block): Use <Charc_dynarr *> instead
2395 <Emchar_dynarr *>; modify for <structure rune> change.
2396 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2399 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2400 <const Emchar *>; use `charc_string_displayed_columns' instead of
2401 `emchar_string_displayed_columns'.
2402 (tty_output_display_block): Use <Charc_dynarr *> instead of
2403 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2404 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2405 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2406 `tty_output_emchar_dynarr_dynarr'.
2407 (tty_output_charc_dynarr): New function; delete
2408 `tty_output_charc_dynarr'.
2410 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2411 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2412 <Emchar_dynarr *> for buf; use
2413 `convert_bufbyte_string_into_charc_dynarr' instead of
2414 `convert_bufbyte_string_into_emchar_dynarr'.
2416 * frame.c (title_string_charc_dynarr): New variable; renamed from
2417 `title_string_emchar_dynarr'.
2418 (generate_title_string): Use `title_string_charc_dynarr' instead
2419 of `title_string_emchar_dynarr'; use
2420 `convert_charc_string_into_malloced_string' instead of
2421 `convert_emchar_string_into_malloced_string'.
2422 (init_frame): Use `title_string_charc_dynarr' instead of
2423 `title_string_emchar_dynarr'.
2426 - Include "character.h".
2427 (struct console_methods): Use <const Charc *> instead of <const
2428 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2429 <Emchar_dynarr *> in output_string_method.
2431 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2434 * console-stream.c (stream_text_width): Use <const Charc *>
2435 instead of <const Emchar *>.
2437 * character.h (Charc_dynarr): New type.
2439 * char-ucs.h (structure Charc): New structure; define new type
2442 * char-lb.h (DECODE_CHAR): New inline function.
2443 (encode_char_1): New inline function.
2444 (ENCODE_CHAR): New macro.
2445 (structure Charc): New structure; define new type `Charc'.
2447 * char-1byte.h (Vcharset_control_1): New macro.
2448 (Vcharset_latin_iso8859_1): New macro.
2449 (DECODE_CHAR): New inline function.
2450 (encode_char_1): New inline function.
2451 (ENCODE_CHAR): New macro.
2452 (structure Charc): New structure; define new type `Charc'.
2454 * insdel.c (find_charsets_in_charc_string): New function; delete
2455 `find_charsets_in_emchar_string'.
2456 (charc_string_displayed_columns): New function; delete
2457 `emchar_string_displayed_columns'.
2458 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2459 `convert_bufbyte_string_into_emchar_dynarr'.
2460 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2461 `convert_charc_string_into_bufbyte_dynarr'.
2462 (convert_charc_string_into_malloced_string): New function; delete
2463 `convert_charc_string_into_malloced_string'.
2465 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2466 `find_charsets_in_emchar_string'.
2467 (charc_string_displayed_columns): New prototype; delete
2468 `emchar_string_displayed_columns'.
2469 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2470 `convert_charc_string_into_bufbyte_dynarr'.
2471 (convert_charc_string_into_malloced_string): New prototype; delete
2472 `convert_charc_string_into_malloced_string'.
2474 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2476 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2478 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2480 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2482 * char-ucs.h: Use <short> for <Charset_ID>.
2484 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2487 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2489 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2492 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2494 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2496 (Qmorohashi_daikanwa): New variable.
2497 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2498 for `morohashi-daikanwa' attribute.
2499 (Fget_char_attribute): Likewise.
2500 (Fput_char_attribute): Likewise.
2501 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2502 has the same value of `ideograph-daikanwa'.
2503 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2504 (vars_of_mule_charset): Setup
2505 `Vcharacter_morohashi_daikanwa_table'.
2507 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2509 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2511 (add_charset_to_list_mapper): Add `key' instead of
2512 `XCHARSET_NAME (value)' to return aliases.
2514 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2516 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2518 (Vcharacter_ideographic_strokes_table): New variable.
2519 (Qideographic_radical): New variable.
2520 (Qideographic_strokes): New variable.
2521 (Fchar_attribute_alist): Use
2522 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2523 attribute; use `Vcharacter_ideographic_strokes_table' for
2524 `ideographic-strokes' attribute.
2525 (Fget_char_attribute): Likewise.
2526 (Fput_char_attribute): Likewise.
2527 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2528 `ideographic-strokes'.
2529 (vars_of_mule_charset): Setup
2530 `Vcharacter_ideographic_radical_table' and
2531 `Vcharacter_ideographic_strokes_table'.
2533 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2535 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2536 (Qtotal_strokes): New variable.
2537 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2538 `total-strokes' attribute.
2539 (Fget_char_attribute): Likewise.
2540 (Fput_char_attribute): Likewise.
2541 (syms_of_mule_charset): Add new symbol `total-strokes'.
2542 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2544 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2546 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2547 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2549 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2550 `->decomposition' attribute.
2551 (Fput_char_attribute): Likewise.
2552 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2554 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2556 * mule-charset.c (decoding_table_check_elements): New function.
2557 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2559 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2561 * mule-charset.c (Fset_charset_mapping_table): Use
2562 `put_char_ccs_code_point'.
2564 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2566 * mule-charset.c (decoding_table_put_char): New inline function.
2567 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2569 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2571 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2572 (XCHARSET_BYTE_SIZE): New macro.
2573 (decoding_table_remove_char): New inline function.
2574 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2575 `decoding_table_remove_char'.
2576 (remove_char_ccs): Use `decoding_table_remove_char'.
2577 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2579 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2581 * mule-charset.c (Vcharacter_name_table): New variable.
2582 (Qname): New variable.
2583 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2585 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2586 `Vcharacter_name_table' for `name' attribute.
2587 (Fremove_char_attribute): Use function `remove_char_ccs'.
2588 (put_char_ccs_code_point): New function.
2589 (remove_char_ccs): New function.
2590 (syms_of_mule_charset): Add new symbol `name'.
2591 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2593 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2595 * mule-charset.c (make_byte_table): Add new argument `older'.
2596 (make_char_id_table): Likewise.
2597 (copy_char_id_table): Comment out because it is not used.
2598 (put_char_id_table): Modify for `make_byte_table'.
2599 (Fput_char_attribute): Make encoding_table as older object;
2600 inherit older bit of `Vcharacter_composition_table'.
2601 (mark_charset): Don't mark `cs->encoding_table'.
2602 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2603 normal object; make `Vcharacter_composition_table' as an older
2604 object; delete staticpro for `Vcharacter_composition_table'; make
2605 `Vcharacter_variant_table' as a normal object.
2607 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2608 (mark_object): Don't check older object in UTF-2000.
2610 * lrecord.h (struct lrecord_header): Add new member `older' in
2612 (set_lheader_implementation): Setup `SLI_header->older' in
2614 (set_lheader_older_implementation): New macro in UTF-2000.
2615 (OLDER_RECORD_P): New macro in UTF-2000.
2616 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2617 (alloc_older_lcrecord): New prototype in UTF-2000.
2618 (alloc_older_lcrecord_type): New macro in UTF-2000.
2620 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2622 * mule-charset.c (byte_table_description): Use
2623 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2624 (char_id_table_description): Delete bogus `, 1'.
2625 (Fget_char_attribute): Refer encoding_table of each coded-charset
2626 to get value of coded-charset attribute of a character.
2627 (Fput_char_attribute): Use `make_older_vector' instead of
2628 `make_vector'; use encoding_table of each coded-charset to store
2629 value of coded-charset attribute of a character.
2630 (Fremove_char_attribute): Use encoding_table of each coded-charset
2631 to store value of coded-charset attribute of a character.
2632 (mark_charset): Mark `cs->encoding_table'; don't mark
2633 `cs->decoding_table'.
2634 (charset_description): Add description of new member
2636 (make_charset): Initialize `encoding_table'.
2638 * char-ucs.h (struct Lisp_Charset): Add new member
2640 (CHARSET_ENCODING_TABLE): New macro.
2641 (XCHARSET_ENCODING_TABLE): New macro.
2642 (charset_code_point): New implementation.
2643 (encode_char_1): Likewise.
2645 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2646 (disksave_object_finalization_1): Call finalizers of
2647 `all_older_lcrecords' in UTF-2000.
2648 (make_older_vector): New function in UTF-2000.
2649 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2652 * lisp.h (make_older_vector): New prototype in UTF-2000.
2654 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2656 * lrecord.h (enum lrecord_type): Rename
2657 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2659 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2660 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2661 `get_char_code_table'.
2663 * mule-charset.c (mark_char_id_table): Renamed from
2664 `mark_char_code_table'.
2665 (char_id_table_equal): Renamed from `char_code_table_equal'.
2666 (char_id_table_hash): Renamed from `char_code_table_hash'.
2667 (make_char_id_table): Renamed from `make_char_code_table'.
2668 (copy_char_id_table): Renamed from `copy_char_code_table'.
2669 (get_char_id_table): Renamed from `get_char_code_table'.
2670 (put_char_id_table): Renamed from `put_char_code_table'.
2671 (to_char_id): Renamed from `to_char_code'.
2673 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2674 `Lisp_Char_Code_Table'.
2675 (char_id_table): Renamed from `char_code_table'.
2676 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2677 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2678 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2679 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2680 (get_char_id_table): Renamed from `get_char_code_table'.
2682 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2684 * lrecord.h (enum lrecord_type): Rename
2685 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2687 * mule-charset.c (mark_byte_table): Renamed from
2688 `mark_char_byte_table'.
2689 (byte_table_equal): Renamed from `char_byte_table_equal'.
2690 (byte_table_hash): Renamed from `byte_table_hash'.
2691 (make_byte_table): Renamed from `make_byte_table'.
2692 (copy_byte_table): Renamed from `copy_char_byte_table'.
2694 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2695 `Lisp_Char_Byte_Table'.
2696 (byte_table): Renamed from `char_byte_table'.
2697 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2698 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2699 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2700 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2702 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2704 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2705 (dfc_convert_to_internal_format): Likewise.
2707 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2708 * text-coding.c (Fcoding_system_alias_p): New function.
2709 * text-coding.c (Fcoding_system_aliasee): New function.
2710 * text-coding.c (append_suffix_to_symbol): New function.
2711 * text-coding.c (dangling_coding_system_alias_p): New function.
2712 * text-coding.c (Ffind_coding_system):
2713 * text-coding.c (Fcopy_coding_system):
2714 * text-coding.c (encode_coding_no_conversion):
2715 * text-coding.c (syms_of_file_coding):
2716 * text-coding.c (vars_of_file_coding):
2717 Rewrite coding system alias code.
2718 Allow nested aliases, like symbolic links.
2719 Allow redefinition of coding system aliases.
2720 Prevent existence of dangling coding system aliases.
2721 Eliminate convert_to_external_format.
2722 Eliminate convert_to_internal_format.
2724 * text-coding.c: Change enum eol_type to eol_type_t.
2726 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2728 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2729 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2731 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2732 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2734 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2736 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2737 `ideograph-daikanwa'.
2739 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2740 (Vcharset_ucs_bmp): Likewise.
2741 (Vcharset_mojikyo): Add new extern variable definition.
2742 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2743 (Vcharset_latin_iso8859_3): Likewise.
2744 (Vcharset_latin_iso8859_4): Likewise.
2745 (Vcharset_latin_iso8859_9): Likewise.
2746 (Vcharset_latin_viscii_lower): Likewise.
2747 (Vcharset_latin_viscii_upper): Likewise.
2748 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2749 `mojikyo' code-point is used to decode.
2750 (encode_char_2): New function [to convert `mojikyo' code-point to
2751 Mojikyo font encoding].
2752 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2753 (breakup_char_1): Likewise.
2754 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2756 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2758 * text-coding.c (Fmake_coding_system): Add document about
2759 `disable-composition' property.
2761 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2763 * text-coding.c (Qdisable_composition): New variable; delete
2765 (Fmake_coding_system): Add new property `disable-composite';
2766 delete property `composite'.
2767 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2768 instead of `!CODING_SYSTEM_COMPOSITE'.
2769 (syms_of_file_coding): Add new symbol `disable-composition';
2770 delete symbol `composite'.
2772 * file-coding.h (struct Lisp_Coding_System): Add
2773 `disable_composition'; delete `enable_composition'.
2774 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2775 `CODING_SYSTEM_COMPOSITE'.
2776 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2777 `XCODING_SYSTEM_COMPOSITE'.
2779 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2781 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2784 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2786 * text-coding.c (Qcomposite): New variable.
2787 (Fmake_coding_system): Add new property `composite'.
2788 (struct decoding_stream): Add `combined_char_count',
2789 `combined_chars' and `combining_table' in UTF-2000.
2790 (COMPOSE_FLUSH_CHARS): New macro.
2791 (COMPOSE_ADD_CHAR): New macro.
2792 (reset_decoding_stream): Reset `str->combined_char_count' and
2793 `str->combining_table' in UTF-2000.
2794 (decode_coding_iso2022): Modify for character-decomposition.
2795 (syms_of_file_coding): Add new symbol `composite'.
2797 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2799 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2800 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2801 of `Vcharacter_composition_table' if `->decomposition' property
2803 (Qlatin_tcvn5712): New variable.
2804 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2805 (complex_vars_of_mule_charset): Add new coded-charset
2808 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2810 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2812 * file-coding.h (struct Lisp_Coding_System): Add
2813 `enable_composition'.
2814 (CODING_SYSTEM_COMPOSITE): New macro.
2815 (XCODING_SYSTEM_COMPOSITE): New macro.
2817 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2819 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2821 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2823 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2824 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2826 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2828 * mule-charset.c (Vcharset_mojikyo): New variable.
2829 (Fdefine_char): Don't use coded-charset which does not have
2830 non-builtin character range to allocate character-id.
2831 (Qmojikyo): New variable.
2832 (syms_of_mule_charset): Add new symbol `mojikyo'.
2833 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2835 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2836 (LEADING_BYTE_MOJIKYO): New macro.
2837 (MIN_CHAR_MOJIKYO): New macro.
2838 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2839 (MAX_CHAR_MOJIKYO): New macro.
2841 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2843 * mule-charset.c (remove_char_attribute): Fixed.
2845 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2847 * mule-charset.c (remove_char_attribute): New function.
2848 (Fremove_char_attribute): New function.
2849 (encode_builtin_char_1): Comment out builtin-support for
2850 greek-iso8859-7 and cyrillic-iso8859-5.
2851 (Fdecode_char): Check `code' is an integer.
2852 (syms_of_mule_charset): Add `remove-char-attribute'.
2853 (MIN_CHAR_GREEK): Deleted.
2854 (MAX_CHAR_GREEK): Likewise.
2855 (MIN_CHAR_CYRILLIC): Likewise.
2856 (MAX_CHAR_CYRILLIC): Likewise.
2857 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2858 MAX_CHAR_GREEK for `greek-iso8859-7'.
2860 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2861 (MAX_CHAR_GREEK): Likewise.
2862 (MIN_CHAR_CYRILLIC): Likewise.
2863 (MAX_CHAR_CYRILLIC): Likewise.
2865 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2867 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2868 format is used without `ucs' property.
2869 (Fdecode_char): Fix problem with GR representation.
2870 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2871 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2873 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2875 * mule-charset.c (make_builtin_char): New function.
2876 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2877 (Fset_charset_mapping_table): Modify for new representation of
2879 (Fdecode_char): New function.
2880 (syms_of_mule_charset): Add new builtin function `decode-char' in
2883 * char-ucs.h (make_builtin_char): New prototype.
2884 (DECODE_CHAR): New inline function.
2885 (MAKE_CHAR): Use `DECODE_CHAR'.
2887 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2889 * text-coding.c (parse_charset_conversion_specs): Use
2890 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2892 (iso2022_designate): Likewise.
2894 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2895 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2897 * mule-charset.c (Vcharset_ucs): New variable.
2898 (print_charset): Change design; use `CHARSET_CHARS' and
2899 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2900 (make_charset): Change signature to specify `chars' and
2901 `dimension' instead of `type'.
2902 (range_charset_code_point): Modify for 256^n-set.
2903 (encode_builtin_char_1): Encode as `ucs' in default.
2904 (Fmake_charset): Modify for `make_charset'.
2905 (Fmake_reverse_direction_charset): Likewise.
2906 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2908 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2911 * char-ucs.h (Vcharset_ucs): New variable.
2912 (LEADING_BYTE_UCS): New macro.
2913 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2914 and `chars' to `unsigned short' from `unsigned int'.
2915 (CHARSET_TYPE): Deleted.
2916 (XCHARSET_TYPE): Deleted.
2918 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2920 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2922 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2923 (ENCODE_CHAR): New macro.
2925 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2927 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2928 to 0.14 (Kawachi-Katakami).
2930 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2932 * text-coding.c (char_encode_shift_jis): Modify for
2933 `charset_code_point'.
2934 (char_encode_iso2022): Likewise.
2936 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2937 (integer) instead of list of <Lisp_Object>s (integers) as the
2938 format of code-point of a coded-charset.
2939 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2940 (encode_builtin_char_1): New function; delete
2941 `split_builtin_char'.
2942 (charset_code_point): Return <int> instead of <Lisp_Object>.
2943 (Fsplit_char): Don't use `SPLIT_CHAR'.
2945 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2946 prototype for `split_builtin_char'.
2947 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2948 (charset_code_point): Likewise.
2949 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2950 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2952 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2954 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2955 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2957 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2959 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2961 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2962 (MAX_CHAR_OBS_94x94): Deleted.
2964 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2966 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2968 * char-ucs.h (MAX_CHAR_BMP): New macro.
2970 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2972 * text-coding.c: Sync with r21-2-24.
2974 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2976 * file-coding.c: Modify for UTF-2000.
2978 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2980 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2983 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2985 * mule-charset.c (split_builtin_char): Delete builtin support for
2986 `katakana-jisx0201'.
2987 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2988 BMP area in builtin representation.
2990 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2991 `Vcharset_katakana_jisx0201'.
2993 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2995 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2996 (Qisolated): New variable.
2997 (Qinitial): New variable.
2998 (Qmedial): New variable.
2999 (Qfinal): New variable.
3000 (Qvertical): New variable.
3001 (Qsmall): New variable.
3002 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3003 `Qvertical' and `Qsmall'.
3004 (Qmojikyo_pj_[1 .. 21]): New variable.
3005 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3006 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3007 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3010 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3012 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3013 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3014 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3016 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3018 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3019 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3021 (Qjapanese_jisx0208_1990): New variable.
3022 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3023 (complex_vars_of_mule_charset): Add new coded-charset
3024 `japanese-jisx0208-1990'.
3026 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3027 (MIN_CHAR_JIS_X0208_1990): New macro.
3028 (MAX_CHAR_JIS_X0208_1990): New macro.
3030 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3032 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3033 coded-charset is not found.
3035 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3037 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3038 (Fdefine_char): Use `Fmake_char'.
3040 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3042 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3043 (Vcharset_hiragana_jisx0208): Deleted.
3044 (Vcharset_katakana_jisx0208): Deleted.
3045 (Qideograph_daikanwa): New variable.
3046 (Qhiragana_jisx0208): Deleted.
3047 (Qkatakana_jisx0208): Deleted.
3048 (split_builtin_char): Split `ideograph-daikanwa'.
3049 (Fsplit_char): New implementation for UTF-2000.
3050 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3051 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3052 (complex_vars_of_mule_charset): Add new coded-charset
3053 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3054 `katakana-jisx0208'.
3056 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3057 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3058 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3059 (MIN_CHAR_DAIKANWA): New macro.
3060 (MAX_CHAR_DAIKANWA): New macro.
3062 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3064 * data.c (Fstring_to_number): Don't recognize floating point if
3067 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3069 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3071 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3073 * mule-charset.c (Qsquare): New variable.
3074 (to_char_code): Add `Qsquare'.
3075 (syms_of_mule_charset): Add new symbol `square'.
3077 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3079 * mule-charset.c (Qcircle): New variable.
3080 (to_char_code): Add `Qcircle'.
3081 (syms_of_mule_charset): Add new symbol `circle'.
3083 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3085 * mule-charset.c (Qfont): New variable.
3086 (to_char_code): Add `Qfont'.
3087 (syms_of_mule_charset): Add new symbol `font'.
3089 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3091 * mule-charset.c (Qsub): New variable.
3092 (to_char_code): Add `Qsub'.
3093 (syms_of_mule_charset): Add new symbol `sub'.
3095 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3097 * mule-charset.c (Fput_char_attribute): Convert each element of
3098 VALUE to GL position if ATTRIBUTE is a GR-set,
3100 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3102 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3103 coded-charset is a GR-set.
3105 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3107 * mule-charset.c (Fput_char_attribute): Check each element of
3108 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3110 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3112 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3114 (Qethiopic_ucs): New variable in UTF-2000.
3115 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3116 (complex_vars_of_mule_charset): Add new coded-charset
3117 `ethiopic-ucs' in UTF-2000.
3119 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3120 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3122 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3124 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3126 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3128 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3131 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3133 * mule-charset.c (Vcharacter_variant_table): New variable.
3134 (Q_ucs): New variable.
3135 (Fchar_variants): New function.
3136 (Fput_char_attribute): Register `->ucs' value to
3137 `Vcharacter_variant_table'.
3138 (syms_of_mule_charset): Add new function `char-variants' and new
3140 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3142 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3144 * mule-charset.c (get_char_code_table): Allow negative character
3146 (put_char_code_table): Likewise.
3147 (Vcharacter_composition_table): New variable.
3148 (Q_decomposition): New variable.
3149 (Qwide): New variable.
3150 (Qnarrow): New variable.
3151 (Qcompat): New variable.
3152 (QnoBreak): New variable.
3153 (Qsuper): New variable.
3154 (Qfraction): New variable.
3155 (to_char_code): New function.
3156 (Fget_composite_char): New function.
3157 (Fput_char_attribute): Register `->decomposition' value to
3158 `Vcharacter_composition_table'.
3159 (syms_of_mule_charset): Add new function `get-composite-char', new
3160 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3161 `super' and `fraction'.
3162 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3164 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3166 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3167 character; copy the return value.
3169 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3171 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3173 * mule-charset.c (range_charset_code_point): Must use make_int.
3174 (split_builtin_char): New function.
3176 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3178 * mule-charset.c (char_byte_table): Change name from
3179 "char-code-table" to "char-byte-table".
3180 (mark_char_code_table): New function.
3181 (char_code_table_equal): New function.
3182 (char_code_table_hash): New function.
3183 (char_code_table_description): New constant.
3184 (char_code_table): New type.
3185 (make_char_code_table): New function.
3186 (copy_char_code_table): New function.
3187 (get_char_code_table): Modify for `char_code_table' type.
3188 (put_char_code_table): Likewise.
3189 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3192 * char-ucs.h (char_code_table): New type.
3193 (XCHAR_CODE_TABLE): New macro.
3194 (XSETCHAR_CODE_TABLE): New macro.
3195 (CHAR_CODE_TABLE_P): New macro.
3196 (GC_CHAR_CODE_TABLE_P): New macro.
3197 (struct Lisp_Char_Code_Table): New structure.
3199 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3201 * mule-charset.c (Fmake_charset): Setup byte_offset for
3204 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3206 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3209 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3211 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3214 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3216 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3217 charset, it is regarded as a charset.
3218 (put_char_attribute): New function in UTF-2000.
3219 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3220 charset, mapping-table of the charset is modified.
3221 (Fdefine_char): New function in UTF-2000.
3222 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3223 `Fput_char_attribute'.
3224 (syms_of_mule_charset): Add new function `define-char' and new
3225 symbol `ucs' in UTF-2000.
3226 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3228 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3230 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3231 non-UTF-2000 configuration.
3233 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3235 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3236 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3238 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3240 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3241 (Fset_charset_mapping_table): Likewise.
3243 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3244 (CHARSET_ENCODING_TABLE): Delete.
3245 (XCHARSET_ENCODING_TABLE): Delete.
3246 (charset_code_point): New interface.
3248 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3250 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
3251 instead of `charset_get_byte1' and `charset_get_byte2'.
3253 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
3254 (charset_get_byte2): Deleted.
3256 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3258 * char-ucs.h (SPLIT_CHAR): New inline function.
3259 (breakup_char_1): Use `SPLIT_CHAR'.
3261 * mule-charset.c (range_charset_code_point): New function.
3262 (charset_code_point): New function.
3264 * char-ucs.h (range_charset_code_point): New interface.
3265 (breakup_char_1): Use `range_charset_code_point'.
3267 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3269 * mule-charset.c (Fmake_charset): Delete unused local variable
3272 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
3273 (breakup_char_1): Find a charset and code-point in
3274 `Vcharacter_attribute_table'.
3276 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3278 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3281 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3283 * mule-charset.c (Vcharacter_attribute_table): New variable.
3284 (Fchar_attribute_alist): New function.
3285 (Fget_char_attribute): New function.
3286 (Fput_char_attribute): New function.
3287 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3289 (syms_of_mule_charset): Add new function `char-attribute-alist',
3290 `get-char-attribute' and `put-char-attribute'.
3291 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3293 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3295 * mule-charset.c (Fmake_charset): Just use
3296 `get_unallocated_leading_byte'.
3298 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3299 sets; don't use final-byte based number for private sets.
3301 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3303 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3306 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3308 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3311 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3313 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3314 of `CHAR_LEADING_BYTE' in UTF-2000.
3316 * insdel.c (find_charsets_in_bufbyte_string): Use
3317 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3318 (find_charsets_in_emchar_string): Likewise.
3320 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3321 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3323 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3324 (CHAR_CHARSET_ID): New macro.
3326 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3328 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3329 charset-id - MIN_LEADING_BYTE.
3330 (put_char_table): Likewise.
3332 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3334 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3335 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3336 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3337 (CHARSET_ID_OFFSET): New macro.
3338 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3339 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3340 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3341 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3343 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3345 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3346 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3347 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3348 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3349 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3351 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3353 * mule-charset.c (next_allocated_leading_byte): New variable in
3355 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3356 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3357 (get_unallocated_leading_byte): Simply use
3358 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3359 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3362 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3363 (MAX_LEADING_BYTE_PRIVATE): New macro.
3364 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3365 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3367 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3369 * mule-charset.c (Fmake_charset): Allocate final-byte based
3370 charset-id for 94-set, 96-set and 94x94-set.
3372 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3374 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3376 (Fmake_charset): Likewise.
3377 (complex_vars_of_mule_charset): Modify the font registry of
3378 `ucs-bmp' not to match `Ethiopic-Unicode'.
3380 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3382 * mule-charset.c (complex_vars_of_mule_charset): Add font
3383 registory of `ucs-bmp'.
3385 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3387 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3388 coded-charsets in `default-coded-charset-priority-list' when
3389 breaking up a character.
3391 * mule-charset.c (Vcharset_latin_viscii): New variable.
3392 (Qlatin_viscii): New variable.
3393 (make_charset): Don't use `decoding_table'.
3394 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3396 (Fset_charset_mapping_table): New implementation.
3397 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3398 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3399 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3400 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3401 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3402 charset `latin_viscii'.
3404 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3405 (CHARSET_TYPE_94X94): Change to 1 from 2.
3406 (CHARSET_TYPE_96): Change to 2 from 1.
3407 (CHARSET_TYPE_128): New macro.
3408 (CHARSET_TYPE_128X128): Change to 5 from 4.
3409 (CHARSET_TYPE_256): New macro.
3410 (CHARSET_TYPE_256X256): Change to 7 from 5.
3411 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3413 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3415 * text-coding.c (char_encode_shift_jis): Refer
3416 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3417 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3419 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3420 (char_byte_table_equal): New function in UTF-2000.
3421 (char_byte_table_hash): New function in UTF-2000.
3422 (char_byte_table_description): New constant in UTF-2000.
3423 (char_byte_table): New type in UTF-2000.
3424 (make_char_byte_table): New function in UTF-2000.
3425 (copy_char_byte_table): New function in UTF-2000.
3426 (make_char_code_table): New macro in UTF-2000.
3427 (get_char_code_table): New function in UTF-2000.
3428 (put_char_code_table): New function in UTF-2000.
3429 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3430 (charset_description): Add setting in UTF-2000.
3431 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3432 `CHARSET_TO_BYTE1_TABLE(cs)'.
3433 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3434 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3435 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3436 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3437 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3438 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3439 `CHARSET_TO_BYTE2_TABLE(cs)'.
3441 * char-ucs.h (char_byte_table): New type.
3442 (XCHAR_BYTE_TABLE): New macro.
3443 (XSETCHAR_BYTE_TABLE): New macro.
3444 (CHAR_BYTE_TABLE_P): New macro.
3445 (GC_CHAR_BYTE_TABLE_P): New macro.
3446 (struct Lisp_Char_Byte_Table): New structure.
3447 (get_char_code_table): New interface.
3448 (Emchar_to_byte_table): Deleted.
3449 (get_byte_from_character_table): Deleted.
3450 (struct Lisp_Charset): Add `encoding_table'; delete
3451 `to_byte1_table' and `to_byte2_table'.
3452 (CHARSET_ENCODING_TABLE): New macro.
3453 (CHARSET_TO_BYTE1_TABLE): Deleted.
3454 (CHARSET_TO_BYTE2_TABLE): Deleted.
3455 (XCHARSET_ENCODING_TABLE): New macro.
3456 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3457 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3459 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3461 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3462 `vietnamese-viscii-*'.
3464 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3466 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3467 (Qvietnamese_viscii_upper): New variable.
3468 (Fdefine_charset_alias): New function.
3469 (syms_of_mule_charset): Add new function `define-charset-alias'.
3470 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3471 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3474 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3476 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3477 (MAX_CHAR_OBS_94x94): New macro.
3478 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3481 * mule-charset.c (put_byte_from_character_table): Change unit size
3483 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3485 (Fmake_reverse_direction_charset): Modify dummy argument of
3486 `make_charset' for non-UTF-2000 environment.
3488 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3490 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3492 * mule-charset.c (destroy_byte_from_character_table): New macro.
3493 (latin_jisx0201_to_ucs): Deleted.
3494 (latin_iso8859_2_to_ucs): Deleted.
3495 (latin_iso8859_3_to_ucs): Deleted.
3496 (latin_iso8859_4_to_ucs): Deleted.
3497 (latin_iso8859_9_to_ucs): Deleted.
3498 (latin_viscii_lower_to_ucs): Deleted.
3499 (latin_viscii_upper_to_ucs): Deleted.
3500 (mark_charset): Mark `cs->decoding_table'.
3501 (Fcharset_mapping_table): Fix DOC-string.
3502 (Fset_charset_mapping_table): New function.
3503 (syms_of_mule_charset): Add nwe function
3504 `set-charset-mapping-table'.
3505 (complex_vars_of_mule_charset): Don't setup and use
3508 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3510 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3513 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3515 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3516 (Vcharset_katakana_jisx0208): New variable.
3517 (Qhiragana_jisx0208): New variable.
3518 (Qkatakana_jisx0208): New variable.
3519 (make_charset): Add new argument `byte_offset'.
3520 (charset_get_byte1): Modify for new coded-charset definition; use
3521 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3522 `XCHARSET_BYTE_OFFSET'.
3523 (Fmake_charset): Modify for `make_charset'.
3524 (Fmake_reverse_direction_charset): Likewise.
3525 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3526 `katakana-jisx0208'.
3527 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3528 `.' in font registry of charset `katakana-jisx0201',
3529 `latin-jisx0201', `vietnamese-viscii-lower' and
3530 `vietnamese-viscii-upper'; modify DOC-string of charset
3531 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3532 registry of charset `japanese-jisx0208' not to use font for JIS
3533 X0208:1990; add new charset `hiragana-jisx0208' and
3534 `katakana-jisx0208'.
3536 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3537 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3538 (struct Lisp_Charset): Add `byte_offset'.
3539 (CHARSET_BYTE_OFFSET): New macro.
3540 (XCHARSET_UCS_MIN): New macro.
3541 (XCHARSET_UCS_MAX): New macro.
3542 (XCHARSET_CODE_OFFSET): New macro.
3543 (XCHARSET_BYTE_OFFSET): New macro.
3544 (MIN_CHAR_HIRAGANA): New macro.
3545 (MAX_CHAR_HIRAGANA): New macro.
3546 (MIN_CHAR_KATAKANA): New macro.
3547 (MAX_CHAR_KATAKANA): New macro.
3548 (MAKE_CHAR): Modify for new coded-charset definition; use
3549 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3550 `XCHARSET_BYTE_OFFSET'.
3552 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3554 * mule-charset.c (CHAR96): Deleted.
3555 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3557 (latin_iso8859_2_to_ucs): Likewise.
3558 (latin_iso8859_3_to_ucs): Likewise.
3559 (latin_iso8859_4_to_ucs): Likewise.
3560 (latin_iso8859_9_to_ucs): Likewise.
3561 (latin_viscii_lower_to_ucs): Likewise.
3562 (latin_viscii_upper_to_ucs): Likewise.
3563 (latin_tcvn5712_to_ucs): Commented out.
3564 (make_charset): Change type of argument `decoding_table' from
3565 <Emchar*> to <Lisp_Object> [vector of characters].
3566 (Fmake_charset): Modify for `make_charset'.
3567 (Fmake_reverse_direction_charset): Likewise.
3568 (Fcharset_mapping_table): New function in UTF-2000.
3569 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3571 (complex_vars_of_mule_charset): Modify for type change of
3572 `*_to_ucs'; modify for `make_charset'.
3574 * char-ucs.h (struct Lisp_Charset): Change type of
3575 `decoding_table' from <Emchar*> to <Lisp_Object>.
3576 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3578 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3580 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3581 error with non-UTF-2000-Mule.
3583 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3585 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3587 (Vcharset_chinese_cns11643_4): Likewise.
3588 (Vcharset_chinese_cns11643_5): Likewise.
3589 (Vcharset_chinese_cns11643_6): Likewise.
3590 (Vcharset_chinese_cns11643_7): Likewise.
3591 (Qchinese_cns11643_3): Likewise.
3592 (Qchinese_cns11643_4): Likewise.
3593 (Qchinese_cns11643_5): Likewise.
3594 (Qchinese_cns11643_6): Likewise.
3595 (Qchinese_cns11643_7): Likewise.
3596 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3597 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3598 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3599 (complex_vars_of_mule_charset): Likewise.
3601 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3603 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3605 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3606 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3608 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3610 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3612 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3613 (breakup_char_1): Likewise.
3615 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3616 one of them includes the specified character.
3618 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3620 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3622 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3624 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3626 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3628 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3629 definition for non-UTF-2000 Mule.
3630 (latin_iso8859_3_to_ucs): Likewise.
3631 (latin_iso8859_4_to_ucs): Likewise.
3632 (latin_iso8859_9_to_ucs): Likewise.
3633 (latin_jisx0201_to_ucs): Likewise.
3634 (MIN_CHAR_THAI): Likewise.
3635 (MAX_CHAR_THAI): Likewise.
3636 (MIN_CHAR_GREEK): Likewise.
3637 (MAX_CHAR_GREEK): Likewise.
3638 (MIN_CHAR_HEBREW): Likewise.
3639 (MAX_CHAR_HEBREW): Likewise.
3640 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3641 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3642 (MIN_CHAR_CYRILLIC): Likewise.
3643 (MAX_CHAR_CYRILLIC): Likewise.
3645 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3647 * char-ucs.h (breakup_char_1): Use
3648 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3649 thai-tis620 and katakana-jisx0201 area.
3651 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3653 * char-ucs.h (breakup_char_1): Use
3654 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3657 * text-coding.c (reset_encoding_stream): Fixed.
3658 (char_encode_ucs4): Delete `& 255'.
3660 * char-ucs.h (breakup_char_1): Use
3661 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3663 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3665 * file-coding.c (Fmake_coding_system): Don't set up
3666 `codesys->fixed.size'.
3667 (encode_coding_no_conversion): Don't refer
3668 `str->codesys->fixed.size'.
3670 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3672 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3673 (latin_a_char_to_byte1): Deleted.
3674 (latin_a_char_to_byte2): Deleted.
3676 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3678 * mule-charset.c (make_charset): Add new argument `ucs_min',
3679 `ucs_max' and `code_offset'.
3680 (charset_get_byte1): New implementation [delete specific charset
3681 depended implementations].
3682 (Fmake_charset): Modify for `make_charset'.
3683 (Fmake_reverse_direction_charset): Likewise.
3684 (complex_vars_of_mule_charset): Likewise.
3686 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3688 (CHARSET_UCS_MIN): New macro.
3689 (CHARSET_UCS_MAX): New macro.
3690 (CHARSET_CODE_OFFSET): New macro.
3691 (MAKE_CHAR): Delete charset depended definitions [except
3694 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3696 * char-ucs.h (breakup_char_1): Use
3697 `Vdefault_coded_charset_priority_list' for C0-Controls,
3698 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3700 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3702 * char-ucs.h (charset_get_byte1): New function.
3703 (XCHARSET_GET_BYTE1): Deleted.
3704 (charset_get_byte2): New function.
3705 (XCHARSET_GET_BYTE2): Deleted.
3706 (Vdefault_coded_charset_priority_list): New external variable.
3707 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3708 `Vdefault_preferred_coded_charset_list'.
3710 * mule-charset.c (charset_get_byte1): New function.
3711 (charset_get_byte2): New function.
3712 (Vdefault_coded_charset_priority_list): New variable.
3713 (vars_of_mule_charset): Add new variable
3714 `default-coded-charset-priority-list'.
3716 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3718 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3719 (XCHARSET_GET_BYTE2): New inline function.
3720 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3721 `XCHARSET_GET_BYTE2'.
3723 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3725 * mule-charset.c (make_charset): Initialize
3726 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3727 NULL if table is not defined.
3729 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3731 * text-coding.c (char_encode_shift_jis): Use
3732 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3733 `ucs_to_latin_jisx0201'.
3735 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3736 (ucs_to_latin_iso8859_2): Deleted.
3737 (ucs_to_latin_iso8859_3): Deleted.
3738 (ucs_to_latin_iso8859_4): Deleted.
3739 (ucs_to_latin_iso8859_9): Deleted.
3740 (ucs_to_latin_viscii_lower): Deleted.
3741 (ucs_to_latin_viscii_upper): Deleted.
3742 (ucs_to_latin_tcvn5712): Deleted.
3743 (make_charset): Add new argument `decoding_table'; set up
3744 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3745 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3746 `decoding_table' is defined in UTF-2000.
3747 (Fmake_charset): Modify for `make_charset'.
3748 (Fmake_reverse_direction_charset): Likewise.
3749 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3750 and `GENERATE_96_SET'.
3752 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3753 (ucs_to_latin_jisx0201): Deleted.
3754 (latin_iso8859_2_to_ucs): Deleted.
3755 (ucs_to_latin_iso8859_2): Deleted.
3756 (latin_iso8859_3_to_ucs): Deleted.
3757 (ucs_to_latin_iso8859_3): Deleted.
3758 (latin_iso8859_4_to_ucs): Deleted.
3759 (ucs_to_latin_iso8859_4): Deleted.
3760 (latin_iso8859_9_to_ucs): Deleted.
3761 (ucs_to_latin_iso8859_9): Deleted.
3762 (latin_viscii_lower_to_ucs): Deleted.
3763 (ucs_to_latin_viscii_lower): Deleted.
3764 (latin_viscii_upper_to_ucs): Deleted.
3765 (ucs_to_latin_viscii_upper): Deleted.
3766 (struct Lisp_Charset): Renamed `encoding_table' to
3767 `to_byte1_table'; add `to_byte2_table'.
3768 (CHARSET_DECODING_TABLE): New macro.
3769 (CHARSET_TO_BYTE1_TABLE): New macro.
3770 (CHARSET_TO_BYTE2_TABLE): New macro.
3771 (XCHARSET_DECODING_TABLE): New macro.
3772 (XCHARSET_TO_BYTE1_TABLE): New macro.
3773 (XCHARSET_TO_BYTE2_TABLE): New macro.
3774 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3776 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3777 don't use `ucs_to_*' tables.
3779 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3781 * text-coding.c (Fmake_coding_system): Don't set up
3782 `codesys->fixed.size'.
3783 (encode_coding_no_conversion): Use `if' instead of `switch'.
3785 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3787 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3789 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3790 (Fmake_charset): Modify for `make_charset'.
3791 (Fmake_reverse_direction_charset): Likewise.
3792 (complex_vars_of_mule_charset): Likewise.
3794 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3796 * text-coding.c (char_encode_shift_jis): Use table
3797 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3799 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3801 * text-coding.c (text_encode_generic): Use `if' instead of
3803 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3806 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3808 * text-coding.c (encode_coding_sjis): Deleted.
3809 (char_encode_shift_jis): New function.
3810 (char_finish_shift_jis): New function.
3811 (reset_encoding_stream): Set up `encode_char' and `finish' for
3812 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3813 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3814 (char_encode_utf8): Treat `eol_type'.
3816 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3818 * file-coding.c (decode_coding_iso2022): Use
3819 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3821 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3823 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3826 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3828 * char-lb.h (CHAR_COLUMNS): New macro.
3830 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3832 * text-coding.c (char_encode_ucs4): New function.
3833 (char_finish_ucs4): New function.
3834 (encode_coding_ucs4): Deleted.
3835 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3836 (text_encode_generic): Delete local variable `charset' and `half'.
3837 (ucs_to_mule_table): Deleted.
3838 (mule_to_ucs_table): Deleted.
3839 (Fset_ucs_char): Deleted.
3840 (ucs_to_char): Deleted.
3841 (Fucs_char): Deleted.
3842 (Fset_char_ucs): Deleted.
3843 (Fchar_ucs): Deleted.
3844 (decode_ucs4): Deleted.
3845 (mule_char_to_ucs4): Deleted.
3846 (encode_ucs4): Deleted.
3847 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3848 (decode_coding_utf8): Likewise.
3849 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3850 (char_encode_iso2022): Fixed.
3851 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3852 `Fset_char_ucs' and `Fchar_ucs'.
3853 (complex_vars_of_file_coding): Don't initialize
3854 `ucs_to_mule_table'.
3856 * objects-tty.c (tty_initialize_font_instance): Don't use
3859 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3862 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3863 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3865 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3866 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3867 (emchar_string_displayed_columns): Likewise.
3869 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3870 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3871 (string_column_at_point): Likewise.
3872 (Fmove_to_column): Likewise.
3874 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3875 `encoding_table' and `decoding_table'.
3876 (CHARSET_REP_BYTES): Deleted.
3877 (XCHARSET_REP_BYTES): Deleted.
3878 (XCHARSET_COLUMNS): Deleted.
3879 (CHAR_COLUMNS): New macro.
3880 (lookup_composite_char): Deleted unconditionally.
3881 (composite_char_string): Likewise.
3883 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3885 * char-ucs.h (Emchar_to_byte_table): New type.
3886 (get_byte_from_character_table): New function interface.
3887 (Vcharset_latin_jisx0201): New variable.
3888 (latin_jisx0201_to_ucs): New variable.
3889 (ucs_to_latin_jisx0201): New variable.
3890 (Vcharset_latin_iso8859_2): New variable.
3891 (latin_iso8859_2_to_ucs): New variable.
3892 (ucs_to_latin_iso8859_2): New variable.
3893 (Vcharset_latin_iso8859_3): New variable.
3894 (latin_iso8859_3_to_ucs): New variable.
3895 (ucs_to_latin_iso8859_3): New variable.
3896 (Vcharset_latin_iso8859_4): New variable.
3897 (latin_iso8859_4_to_ucs): New variable.
3898 (ucs_to_latin_iso8859_4): New variable.
3899 (Vcharset_latin_iso8859_9): New variable.
3900 (latin_iso8859_9_to_ucs): New variable.
3901 (ucs_to_latin_iso8859_9): New variable.
3902 (Vcharset_latin_viscii_lower): New variable.
3903 (latin_viscii_lower_to_ucs): New variable.
3904 (ucs_to_latin_viscii_lower): New variable.
3905 (Vcharset_latin_viscii_upper): New variable.
3906 (latin_viscii_upper_to_ucs): New variable.
3907 (ucs_to_latin_viscii_upper): New variable.
3908 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3909 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3910 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3911 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3912 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3913 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3914 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3915 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3916 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3917 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3919 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3920 (Vcharset_latin_viscii_upper): New variable.
3921 (make_byte_from_character_table): New function.
3922 (put_byte_from_character_table): New function.
3923 (get_byte_from_character_table): New function.
3924 (CHAR96): New macro.
3925 (ucs_to_latin_jisx0201): New variable.
3926 (latin_jisx0201_to_ucs): New variable.
3927 (ucs_to_latin_iso8859_2): New variable.
3928 (latin_iso8859_2_to_ucs): New variable.
3929 (ucs_to_latin_iso8859_3): New variable.
3930 (latin_iso8859_3_to_ucs): New variable.
3931 (ucs_to_latin_iso8859_4): New variable.
3932 (latin_iso8859_4_to_ucs): New variable.
3933 (ucs_to_latin_iso8859_9): New variable.
3934 (latin_iso8859_9_to_ucs): New variable.
3935 (ucs_to_latin_viscii_lower): New variable.
3936 (latin_viscii_lower_to_ucs): New variable.
3937 (ucs_to_latin_viscii_upper): New variable.
3938 (latin_viscii_upper_to_ucs): New variable.
3939 (ucs_to_latin_tcvn5712): New variable.
3940 (latin_tcvn5712_to_ucs): New variable.
3941 (Qlatin_viscii_lower): New variable.
3942 (Qlatin_viscii_upper): New variable.
3943 (syms_of_mule_charset): Set up new symbol
3944 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3945 (complex_vars_of_mule_charset): Set up new charset
3946 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3947 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3948 `ucs_to_<CHARSET>' tables.
3950 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3952 * text-coding.c: New file.
3954 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3956 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3958 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3959 (MAKE_CHAR): Modify for `ucs-bmp'.
3960 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3961 non-MULE characters of BMP.
3963 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3965 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3968 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3971 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3972 - Include character.h for `CHAR_ASCII_P'.
3974 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3976 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3977 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3979 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3980 (BYTE_C0_P): Likewise.
3981 (BYTE_C1_P): Likewise.
3982 (Lstream_get_emchar_1): Likewise.
3983 (Lstream_fput_emchar): Likewise.
3984 (Lstream_funget_emchar): Likewise.
3985 (copy_internal_to_external): Likewise.
3986 (copy_external_to_internal): Likewise.
3988 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3989 (BYTE_C0_P): Likewise.
3990 (BYTE_C1_P): Likewise.
3991 (Lstream_get_emchar_1): Likewise.
3992 (Lstream_fput_emchar): Likewise.
3993 (Lstream_funget_emchar): Likewise.
3994 (copy_internal_to_external): Likewise.
3995 (copy_external_to_internal): Likewise.
3997 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3998 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4000 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4001 (BYTE_ASCII_P): Moved to mb-1byte.h.
4003 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4005 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4007 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4008 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4009 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4010 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4011 (VALIDATE_CHARPTR_FORWARD): Likewise.
4012 (simple_charptr_emchar): Moved to mb-multibyte.h.
4013 (simple_set_charptr_emchar): Likewise.
4014 (simple_charptr_copy_char): Likewise.
4015 (non_ascii_charptr_emchar): Likewise.
4016 (non_ascii_set_charptr_emchar): Likewise.
4017 (non_ascii_charptr_copy_char): Likewise.
4018 (charptr_emchar): Moved to mb-*byte.h.
4019 (set_charptr_emchar): Likewise.
4020 (charptr_copy_char): Likewise.
4022 * mb-1byte.h, mb-multibyte.h: New files.
4024 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4026 * mb-utf-8.h (MULTIBYTE): New macro.
4027 (MAX_EMCHAR_LEN): Moved from buffer.h.
4028 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4030 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4032 * mb-lb.h, multibyte.h: New files.
4034 * char-1byte.h (Charset_ID): Moved from buffer.h.
4035 (MIN_LEADING_BYTE): Likewise.
4036 (LEADING_BYTE_ASCII): Likewise.
4037 (NUM_LEADING_BYTES): Likewise.
4038 (CHARSETP): Likewise.
4039 (CHARSET_BY_LEADING_BYTE): Likewise.
4040 (XCHARSET_LEADING_BYTE): Likewise.
4041 (XCHARSET_GRAPHIC): Likewise.
4042 (XCHARSET_COLUMNS): Likewise.
4043 (XCHARSET_DIMENSION): Likewise.
4044 (CHAR_CHARSET): Likewise.
4045 (CHAR_LEADING_BYTE): Likewise.
4046 (BREAKUP_CHAR): Likewise.
4047 (Vcharset_ascii): Likewise.
4049 * buffer.h: Include multibyte.h unconditionally.
4050 (VALID_CHARPTR_P): Moved to multibyte.h.
4051 (ASSERT_VALID_CHARPTR): Likewise.
4052 (REAL_INC_CHARPTR): Likewise.
4053 (REAL_INC_CHARBYTIND): Likewise.
4054 (REAL_DEC_CHARPTR): Likewise.
4055 (INC_CHARPTR): Likewise.
4056 (INC_CHARBYTIND): Likewise.
4057 (DEC_CHARPTR): Likewise.
4058 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4059 (VALIDATE_CHARPTR_FORWARD): Likewise.
4060 (charptr_n_addr): Likewise.
4061 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4062 (simple_charptr_emchar): Moved to multibyte.h.
4063 (simple_set_charptr_emchar): Likewise.
4064 (simple_charptr_copy_char): Likewise.
4065 (non_ascii_charptr_emchar): Likewise.
4066 (non_ascii_set_charptr_emchar): Likewise.
4067 (non_ascii_charptr_copy_char): Likewise.
4068 (charptr_emchar): Likewise.
4069 (set_charptr_emchar): Likewise.
4070 (charptr_copy_char): Likewise.
4071 (charptr_emchar_n): Likewise.
4072 (Charset_ID): Moved to char-1byte.h.
4073 (Vcharset_ascii): Likewise.
4074 (CHAR_CHARSET): Likewise.
4075 (CHAR_LEADING_BYTE): Likewise.
4076 (LEADING_BYTE_ASCII): Likewise.
4077 (NUM_LEADING_BYTES): Likewise.
4078 (MIN_LEADING_BYTE): Likewise.
4079 (CHARSETP): Likewise.
4080 (CHARSET_BY_LEADING_BYTE): Likewise.
4081 (XCHARSET_LEADING_BYTE): Likewise.
4082 (XCHARSET_GRAPHIC): Likewise.
4083 (XCHARSET_COLUMNS): Likewise.
4084 (XCHARSET_DIMENSION): Likewise.
4085 (BREAKUP_CHAR): Likewise.
4087 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4089 * character.h: Add document about interface for characters.
4091 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4092 (MAKE_CHAR): Delete comment about
4093 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4094 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4095 (BREAKUP_CHAR): Modify name of arguments.
4096 (CHAR_CHARSET): Modify name of argument.
4098 * buffer.h: Delete document about Emchar accessors.
4100 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4102 * character.h (CHAR_INTP): Moved from buffer.h
4103 (CHAR_OR_CHAR_INTP): Likewise.
4104 (XCHAR_OR_CHAR_INT): Likewise.
4105 (CHECK_CHAR_COERCE_INT): Likewise.
4107 * buffer.h (CHAR_INTP): Moved to character.h
4108 (CHAR_OR_CHAR_INTP): Likewise.
4109 (XCHAR_OR_CHAR_INT): Likewise.
4110 (CHECK_CHAR_COERCE_INT): Likewise.
4112 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4115 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4116 - Include char-1byte.h, char-lb.h or char-ucs.h.
4118 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4120 * buffer.h: Include character unconditionally.
4121 (valid_char_p): Moved to char-*.h.
4122 (non_ascii_valid_char_p): Moved to char-lb.h.
4124 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4126 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4128 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4129 in UTF-2000 because it is not ported yet and not to use
4130 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4131 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4132 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4134 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4135 (CHAR_ASCII_P): Moved from character.h.
4137 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4138 (CHAR_ASCII_P): Likewise.
4139 (CHAR_FIELD1_MASK): Deleted.
4140 (CHAR_FIELD2_MASK): Deleted.
4141 (CHAR_FIELD3_MASK): Deleted.
4142 (MAX_CHAR_BASIC_LATIN): New macro.
4143 (CHAR_FIELD1): Deleted.
4144 (CHAR_FIELD2_INTERNAL): Deleted.
4145 (CHAR_FIELD3_INTERNAL): Deleted.
4146 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4147 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4148 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4149 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4150 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4151 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4152 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4153 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4154 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4155 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4156 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4157 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4158 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4159 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4160 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4161 (MIN_CHAR_COMPOSITION): Deleted.
4162 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4163 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4165 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4167 * buffer.h: Include mb-utf-8.h in UTF-2000.
4169 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4171 * mb-utf-8.h: New file.
4173 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4175 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4178 * mule-charset.h, buffer.h (Charset_ID): New type.
4180 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4182 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4183 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4184 instead of `MULE_CHAR_PRIVATE_OFFSET',
4185 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4186 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4187 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4189 * character.h (Vcharset_japanese_jisx0212): New variable
4192 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4194 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4195 (charset_by_attributes): Delete array about direction.
4196 (latin_a_char_to_charset): New variable in UTF-2000.
4197 (latin_a_char_to_byte1): New variable in UTF-2000.
4198 (latin_a_char_to_byte2): New variable in UTF-2000.
4199 (Qucs_bmp): New variable.
4200 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4202 (next_allocated_2_byte_leading_byte): Likewise.
4203 (non_ascii_set_charptr_emchar): Likewise.
4204 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4205 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4206 `charset_by_attributes'.
4207 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4208 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4209 and `CHARSET_BY_LEADING_BYTE'.
4210 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4211 `utf-2000-version' to `vars_of_mule_charset'.
4212 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4213 define `leading-code-private-11' in UTF-2000; move setting of
4214 `utf-2000-version' from `syms_of_mule_charset'.
4215 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4218 * character.h (Charset_ID): New type.
4219 (LEADING_BYTE_UCS_BMP): New macro.
4220 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4221 (CHARSET_ID_OFFSET_94): New macro.
4222 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4223 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4224 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4226 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4227 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4228 (CHARSET_ID_OFFSET_96): New macro.
4229 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4230 CHARSET_ID_OFFSET_96 and final-byte.
4231 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4232 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4233 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4234 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4235 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4236 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4237 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4238 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4239 (LEADING_BYTE_THAI_TIS620): Likewise.
4240 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4241 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4242 (CHARSET_ID_OFFSET_94x94): New macro.
4243 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4244 CHARSET_ID_OFFSET_94x94 and final-byte.
4245 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
4246 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
4247 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
4248 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
4249 (LEADING_BYTE_CHINESE_GB2312): Likewise.
4250 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
4251 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
4252 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
4253 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
4254 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
4255 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
4256 (CHARSET_TYPE_128X128): New macro.
4257 (CHARSET_TYPE_256X256): New macro.
4258 (XCHARSET_PRIVATE_P): Delete unconditionally.
4259 (charset_by_attributes): Delete array about direction.
4260 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
4261 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
4262 (MIN_CHAR_94): New macro.
4263 (MAX_CHAR_94): New macro.
4264 (MIN_CHAR_96): New macro.
4265 (MAX_CHAR_96): New macro.
4266 (MIN_CHAR_94x94): New macro.
4267 (MAX_CHAR_94x94): New macro.
4268 (MIN_CHAR_96x96): New macro.
4269 (MAX_CHAR_96x96): New macro.
4270 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
4271 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4272 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
4274 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
4275 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
4276 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
4277 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
4278 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
4279 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
4280 `XCHARSET_LEADING_BYTE' to make code-point.
4281 (latin_a_char_to_charset): New variable.
4282 (latin_a_char_to_byte1): New variable.
4283 (latin_a_char_to_byte2): New variable.
4284 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4285 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4286 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4288 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4289 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4290 (find_charsets_in_emchar_string): Likewise.
4291 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4293 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4295 (decode_coding_iso2022): Likewise.
4297 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4300 * redisplay.c (redisplay_text_width_emchar_string): Use
4301 `Charset_ID' instead of `unsigned char'.
4302 (redisplay_frame_text_width_string): Likewise.
4304 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4307 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4308 instead of `unsigned char'.
4309 (face_cachel_charset_font_metric_info): Likewise.
4311 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4312 (get_non_ascii_char_table_value): Likewise.
4313 (get_char_table): Likewise.
4314 (put_char_table): Likewise.
4315 (map_over_other_charset): Likewise.
4316 (map_char_table): Likewise.
4318 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4319 instead of `unsigned char'.
4321 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4323 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4324 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4326 * mule-charset.c (leading_code_private_11): Don't define in
4329 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4330 in UTF-2000 because it is not ported yet and not to use
4331 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4333 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4335 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4337 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4339 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4342 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4343 of unsigned char to store leading-byte.
4345 * chartab.c (get_non_ascii_char_table_value): Don't use
4346 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4348 * file-coding.c (encode_coding_big5): Delete bogus implementation
4351 * character.h (LEADING_BYTE_*): Delete definition for
4353 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4354 (LEADING_BYTE_PREFIX_P): Deleted.
4355 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4356 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4357 (BUFBYTE_LEADING_BYTE_P): Deleted.
4358 (CHARSET_PRIVATE_P): Deleted unconditionally.
4359 (rep_bytes_by_first_byte): Deleted unconditionally.
4360 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4361 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4362 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4363 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4364 (CHAR_FIELD2): Deleted.
4365 (CHAR_FIELD3): Deleted.
4366 (MAKE_CHAR): Delete definition for non-UTF-2000.
4367 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4368 (breakup_char_1): New implementation.
4369 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4370 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4372 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4374 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4377 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4379 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4380 (CHARSET_PRIVATE_P): Likewise.
4381 (XCHARSET_PRIVATE_P): Likewise.
4382 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4384 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4386 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4388 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4390 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4391 (NUM_LEADING_BYTES): Changed from 128 to 256.
4392 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4393 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4395 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4397 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4399 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4400 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4401 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4402 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4403 (Qchinese_cns11643_3): New variable in UTF2000.
4404 (Qchinese_cns11643_4): New variable in UTF2000.
4405 (Qchinese_cns11643_5): New variable in UTF2000.
4406 (Qchinese_cns11643_6): New variable in UTF2000.
4407 (Qchinese_cns11643_7): New variable in UTF2000.
4408 (syms_of_mule_charset): Define `chinese-cns11643-3',
4409 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4410 and `chinese-cns11643-7' in UTF2000.
4411 (vars_of_mule_charset): Initialize
4412 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4414 (complex_vars_of_mule_charset): Setup charset
4415 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4416 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4418 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4420 * mule-charset.c: Move setting for `leading-code-private-11' from
4421 `syms_of_mule_charset' to `vars_of_mule_charset'.
4423 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4425 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4426 and `NUM_LEADING_BYTES' in assert.
4428 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4430 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4432 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4433 `NUM_LEADING_BYTES' instead of 128.
4435 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4437 * mule-charset.h (charset_by_leading_byte): Use
4438 `NUM_LEADING_BYTES' instead of 128.
4439 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4441 * mule-charset.c (charset_by_leading_byte): Use
4442 `NUM_LEADING_BYTES' instead of 128.
4443 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4445 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4448 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4450 * mule-charset.c (syms_of_mule_charset): Update to
4453 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4455 * file-coding.c (encode_coding_sjis): New implementation for
4456 UTF2000. (decode_coding_sjis): Ditto.
4458 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4460 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4461 Don't define in UTF2000.
4463 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4466 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4467 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4470 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4472 * config.h.in (CHAR_IS_UCS4): New macro.
4474 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4475 conventional MULE representation.
4476 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4478 * mule-charset.h: Reverted to original.
4480 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4481 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4482 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4484 * character.h: New file.
4486 * file-coding.c (Fmake_coding_system): Set 1 to
4487 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4489 (encode_coding_no_conversion): New implementation for UTF2000.
4491 * file-coding.h (struct Lisp_Coding_System): Add new member
4494 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4496 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4497 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4498 (encode_coding_iso2022): New implementation for UTF2000.
4500 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4502 * mule-canna.c (c2mu): New implementation for UTF2000.
4505 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4507 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4509 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4511 * file-coding.c (reset_encoding_stream): Set 0 to
4512 `str->iso2022.current_char_boundary' in UTF2000.
4513 (encode_utf8): Don't define in UTF2000.
4514 (encode_coding_utf8): New implementation for UTF-8 representation
4516 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4518 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4520 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4522 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4524 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4526 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4528 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4529 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4530 as UTF-8 in UTF2000.
4531 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4532 (non_ascii_valid_char_p): Don't define in UTF2000.
4533 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4534 (Lstream_get_emchar_1): Likewise.
4535 (utf-2000-version): New variable in UTF2000.
4537 * lread.c (read_escape): Add new reader `u'.
4539 * insdel.c (three_to_one_table): Don't define in UTF2000.
4540 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4541 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4543 (bytind_to_bufpos_func): Likewise.
4544 (buffer_mule_signal_inserted_region): Likewise.
4545 (vars_of_insdel): Don't initialize `three_to_one_table'.
4546 (init_buffer_text): Use `buf->text->mule_size' instead of
4547 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4550 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4551 UTF-8 representation in UTF2000.
4552 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4553 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4554 (decode_coding_iso2022): Don't define local variable `lb' in
4555 UTF2000; don't use LEADING_BYTE in UTF2000; use
4556 `DECODE_ADD_UCS_CHAR' in UTF2000.
4557 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4559 * config.h.in (UTF2000): New macro.
4561 * buffer.h (struct buffer_text): Add new member `mule_size' and
4562 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4563 (valid_char_p): Return always 1 in UTF2000.
4564 (MAX_EMCHAR_LEN): 6 in UTF2000.
4565 (three_to_one_table): Don't define in UTF2000.
4566 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4568 (real_bytind_to_bufpos): Likewise.
4570 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4572 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4574 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4575 representation change.
4576 (Vutf_2000_version): New variable.
4577 (leading_code_private_11): New variable.
4578 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4579 `leading-code-private-11'.
4581 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4582 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4583 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4584 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4585 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4586 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4587 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4588 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4589 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4590 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4591 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4592 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4593 (MIN_CHAR_GREEK): New macro.
4594 (MAX_CHAR_GREEK): New macro.
4595 (MIN_CHAR_CYRILLIC): New macro.
4596 (MAX_CHAR_CYRILLIC): New macro.
4597 (MIN_CHAR_HEBREW): New macro.
4598 (MAX_CHAR_HEBREW): New macro.
4599 (MIN_CHAR_THAI): New macro.
4600 (MAX_CHAR_THAI): New macro.
4601 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4602 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4603 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4604 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4605 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4606 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4607 (CHAR_FIELD2): New inline function.
4608 (CHAR_FIELD3): New inline function.
4609 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4610 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4611 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4612 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4613 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4614 (MIN_CHAR_COMPOSITION): Likewise.
4615 (CHAR_LEADING_BYTE): Modified for character representation change.
4616 (MAKE_CHAR): Likewise.
4618 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4619 (Vcharset_greek_iso8859_7): Likewise.
4620 (Vcharset_cyrillic_iso8859_5): Likewise.
4621 (Vcharset_hebrew_iso8859_8): Likewise.
4622 (Vcharset_thai_tis620): Likewise.
4623 (Vcharset_katakana_jisx0201): Likewise.
4625 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
4627 * XEmacs 21.4.10 "Military Intelligence" is released.
4629 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
4631 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
4632 using the NAS private array SoundFileInfo that no longer exists in
4633 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
4634 and earlier. This is broken for some versions between 1.5a and
4637 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
4639 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
4641 * emacs.c (shut_down_emacs): Improve crash message.
4643 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
4645 * file-coding.c (determine_real_coding_system): Check for coding
4646 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
4647 shebangs and Python PEP 263.
4649 2002-10-08 Andy Piper <andy@xemacs.org>
4651 * glyphs-widget.c (layout_query_geometry): only resize dynamically
4652 if static sizes haven't been set.
4654 2002-08-30 Mike Alexander <mta@arbortext.com>
4656 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
4659 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
4661 * callproc.c (child_setup): 21.4 doesn't have retry_close.
4663 2002-09-20 Mike Sperber <mike@xemacs.org>
4665 (This partially gets back my patch from 2002-07-20 without the
4667 * callproc.c (child_setup): Remove Ben's comment noting confusion
4668 over the file descriptors >= 3: close_process_descs() doesn't
4669 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
4670 * process-unix.c (unix_create_process): Call
4671 begin_dont_check_for_quit to inhibit unwanted interaction (and
4672 thus breaking of X event synchronicity) in the child.
4674 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
4676 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
4679 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
4681 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
4682 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
4683 the xemacs process did not exit, but looped infinitely here. This
4686 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
4688 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
4689 (find_context): Improve comments.
4691 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
4692 (re_match_2): An XCHAR_TABLE operation was missing.
4694 Many of the following changes were inspired by Andy Piper's (now
4695 obsolete) patch to make syntax-table text property lookup optional.
4699 * syntax.h (top level): Document semantics of syntax flags.
4700 * syntax.c (comstr_start, Fforward_comment): Improve comments.
4701 * syntax.c, syntax.h (top level): Document syntax cache better in
4704 [Instrument syntax caching (temporary change)]
4706 * syntax.h (enum syntax_cache_statistics_functions, struct
4707 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
4708 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
4709 * syntax.c (scan_words, Fforward_comment, scan_lists,
4710 Fbackward_prefix_characters):
4711 * font-lock.c (find_context):
4712 Use them to instrument syntax caching.
4713 * syntax.c (struct syntax_cache_statistics, scs_statistics,
4714 syntax_cache_statistics_function_names): New type and variables.
4715 * syntax.c (update_syntax_cache): Update and report statistics.
4717 [Major syntax cache optimizations]
4719 syntax.c (lookup_syntax_properties): Default off.
4721 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
4722 * syntax.c (update_syntax_cache):
4723 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
4725 [Minor syntax cache optimizations and code clarifications]
4727 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
4728 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
4729 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
4730 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
4731 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
4732 (Code clarification.)
4734 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
4735 scan_lists): Compute code from syncode, use Boolean macros instead
4736 of redundant masking operations. (Code clarification; any decent
4737 compiler can do this optimization.)
4739 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
4742 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
4743 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
4744 use F*_single_property_change instead of F*_extent_change.
4745 Currently F*_single_property_change is _much_ less efficient.
4747 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
4748 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
4749 syntax_cache.object properly, don't leave Qt or Qnil.
4750 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
4751 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
4752 tests for Qt or Qnil.
4754 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
4756 * redisplay.c (point_in_line_start_cache):
4757 * extents.c (print_extent_1):
4760 * extents.c (Fset_extent_property): Document `syntax-table' property.
4762 * extents.h (Fnext_single_property_change): EXFUN it.
4764 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
4766 * search.c (clear_unused_search_regs): New static function.
4770 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
4771 Minor clarifications in comments.
4773 * regex.c (re_match_2_internal): Ensure no stale submatches.
4775 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
4777 * event-Xt.c (enqueue_focus_event): Add missing prototype.
4779 2002-08-29 Jerry James <james@xemacs.org>
4781 * lisp.h: structrures -> structures.
4783 2002-06-03 Andy Piper <andy@xemacs.org>
4785 * frame.c (frame_conversion_internal): add conversion appropriate
4786 for setting frame dimensions in pixels.
4788 * console.h (struct console_methods): add device-specific widget
4791 * emacs.c (main_1): initialize glyph vars.
4793 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
4794 (handle_focus_event_2): new function. Allow focus to
4795 be set to a particular window and widget.
4796 (enqueue_focus_event): new function. Create a
4797 synthetic focus event.
4798 (emacs_Xt_handle_magic_event): call
4799 handle_focus_event_2.
4801 * frame.c (Fset_frame_pixel_height): new function. Allow
4802 pixel-based sizing. Does the right thing on character-oriented
4804 (Fset_frame_pixel_width): ditto.
4805 (Fset_frame_pixel_size): ditto.
4806 (syms_of_frame): declare.
4808 * general-slots.h: add :vertically-justify and
4809 :horizontally-justify.
4811 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
4812 (mswindows_widget_border_width): new function.
4813 (mswindows_combo_box_instantiate): set border widths.
4814 (console_type_create_glyphs_mswindows): declare.
4817 (check_valid_justification): allow vertical and horizontal
4819 (widget_border_width): new function. Call device methods.
4820 (widget_instance_border_width): ditto.
4821 (logical_unit_height): new function. Determine the height of a
4822 logical-unit. Logical units are intended to provide grid-like
4823 layout for subcontrols in a layout. If the layout is
4824 :vertically-justify top then subcontrols will be positioned on
4825 logical-unit boundaries, thus allowing adjacent subcontrols to
4827 (widget_logical_unit_height): ditto for widgets.
4828 (redisplay_widget): misc cleanup.
4829 (widget_spacing): new function. Call device specific
4830 methods. Intended to be the default gap between adjacent widgets.
4831 (widget_query_geometry): use new spacing functions to determine
4832 appropriate geometry.
4833 (initialize_widget_image_instance): initialize horizontal and
4834 vertical justification.
4835 (widget_instantiate): use logica-units where appropriate for
4836 sizing large widgets.
4837 (button_query_geometry): use widget_instance_border_width.
4838 (tree_view_query_geometry): ditto.
4839 (tab_control_query_geometry): ditto.
4840 (edit_field_query_geometry): new function.
4841 (layout_update): pick up :justify, :horizontally-justify and
4842 :vertically-justify none of which worked previously. :justify is
4843 used as a fallback for both horizontal and vertical justification.
4844 (layout_query_geometry): use logical units to size appropriately.
4845 (layout_layout): ditto.
4846 (Fwidget_logical_to_character_width): new function. Allow users to
4847 convert from logical units to characters so that frame sizes can
4848 be set appropriately.
4849 (Fwidget_logical_to_character_height): ditto.
4850 (syms_of_glyphs_widget): declare.
4851 (image_instantiator_edit_fields): add edit_field_query_geometry.
4852 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
4853 :horizontally-justify.
4854 (specifier_vars_of_glyphs_widget): new function. Declare
4855 Vwidget_border_width which is not yet used.
4857 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
4858 (x_widget_border_width): new function.
4859 (x_widget_instantiate): create a sensible name for widgets.
4860 (console_type_create_glyphs_x): declare x_widget_border_width.
4862 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
4863 (struct Lisp_Image_Instance): add :vertically-justify and
4864 :horizontally-justify.
4865 (LAYOUT_JUSTIFY_TOP): new.
4866 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
4867 (ROUND_UP): new macro. Round argument up to next integral
4870 * redisplay-output.c (redisplay_output_layout): misc formatting.
4872 * symsinit.h: declare specifier_vars_of_glyphs_widget.
4874 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
4876 * XEmacs 21.4.9 "Informed Management" is released.
4878 2002-08-19 Andy Piper <andy@xemacs.org>
4880 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
4883 * realpath.c (xrealpath): normalize drive spec also so that dir
4884 sep chars are not mixed on cygwin.
4886 2002-08-06 Jerry James <james@xemacs.org>
4888 * window.c (Fsplit_window): Count only half of the divider width
4889 against the left window when splitting horizontally.
4891 2002-06-24 Andy Piper <andy@xemacs.org>
4893 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
4894 toolbar was cleared.
4896 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
4897 function. Split out from mswindows_output_frame_toolbars.
4898 (mswindows_output_frame_toolbars): move clear pieces to
4899 mswindows_output_frame_toolbars.
4901 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
4902 out from gtk_output_frame_toolbars.
4903 (gtk_output_frame_toolbars): move clear pieces to
4904 gtk_clear_frame_toolbars.
4906 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
4907 the frame is cleared. How this ever worked before is a mystery.
4908 (x_output_frame_toolbars): Only output toolbars.
4909 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
4911 * gutter.c (update_gutter_geometry):
4912 Mark frame layout changed.
4913 (update_frame_gutter_geometry, update_frame_gutters):
4914 Respect frame_layout_changed.
4916 * console.h (struct console_methods): add
4917 clear_frame_toolbars_method.
4919 * redisplay.c (redisplay_frame): call
4920 update_frame_toolbars_geometry and re-order update_frame_toolbars.
4922 * toolbar.h: declare update_frame_toolbars_geometry.
4924 * toolbar.c (update_frame_toolbars_geometry): new function. Split
4925 out from update_frame_toolbars. Call clear_frame_toolbars.
4926 (update_frame_toolbars): only output, do not change geometry.
4928 * redisplay.c: add frame_layout_changed.
4930 * redisplay.h: add frame_layout_changed.
4931 (CLASS_RESET_CHANGED_FLAGS): set it.
4932 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
4933 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
4934 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
4936 * device.h (struct device): add frame_layout_changed.
4937 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
4939 * frame.h (struct frame): add frame_layout_changed.
4940 (MARK_FRAME_LAYOUT_CHANGED): new.
4942 2002-06-30 Mike Alexander <mta@arbortext.com>
4944 * event-msw.c (mswindows_need_event): Don't wait for a new message
4945 if the queue is not empty. Suggested by Paul Moore.
4947 2002-06-12 Andy Piper <andy@xemacs.org>
4949 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
4950 for printing on accurately.
4952 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
4954 * event-msw.c (mswindows_wnd_proc): Add a handler for the
4955 WM_ACTIVATE message. Make sure that the frame is visible if the
4956 window is visible. This seemss to fix the problem where XEmacs
4957 appears to freeze after switching desktops with certain virtual
4959 (debug_output_mswin_message): Added code to output message
4960 parameters for WM_WINDOWPOSCHANGED,
4961 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
4963 2002-05-25 Andy Piper <andy@xemacs.org>
4965 * select-x.c (vars_of_select_x): Fix docstring of
4966 x-selection-strict-motif-ownership
4968 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
4970 * keymap.c (get_keymap):
4971 Add comment about do_autoload GCPROs own args.
4973 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
4975 * bytecode.c (execute_optimized_program): check_opcode ifdef
4976 ERROR_CHECK_BYTE_CODE.
4978 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
4980 Thanks to Ben Wing and Michael Sperber.
4982 * eval.c (Fcommand_execute):
4985 (Fmacroexpand_internal):
4986 (function_argcount):
4987 callint.c (Fcall_interactively):
4988 Add comment about do_autoload GCPROs own args.
4990 * (do_autoload): GCPRO both args as well as local Lisp_Object.
4992 * eval.c (Ffuncall): Extra braces to placate GCC.
4994 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
4996 * backtrace.h (grow_specpdl):
4998 * EmacsFrame.c (EmacsFrameSetValues):
4999 * eval.c (grow_specpdl):
5000 * ExternalShell.c (hack_event_masks_1):
5001 * glyphs-x.c (convert_EImage_to_XImage):
5002 (x_finalize_image_instance):
5003 * ralloc.c (page_size):
5005 * xgccache.c (gc_cache_hash):
5006 Fix unsigned comparison warnings.
5008 2002-07-29 Jerry James <james@xemacs.org>
5010 * lread.c (locate_file): Any nonnegative return value indicates
5011 success if MODE is nonnegative.
5013 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
5015 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
5018 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
5020 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
5022 * dumper.c (pdump_get_indirect_count):
5023 (pdump_scan_by_alignment):
5024 (pdump_dump_root_struct_ptrs):
5025 (pdump_dump_rtables):
5026 (pdump_dump_root_objects):
5028 * nas.c (WaveOpenDataForReading):
5029 * fns.c (print_bit_vector):
5030 * font-lock.c (SINGLE_SYNTAX_STYLE):
5031 * glyphs.c (check_for_ignored_expose):
5032 (find_matching_subwindow):
5034 * imgproc.c (get_histogram):
5035 * redisplay.c (point_in_line_start_cache):
5036 * redisplay-output.c (redisplay_unmap_subwindows):
5037 * symbols.c (defsymbol_massage_name_1):
5038 (defkeyword_massage_name):
5039 (deferror_massage_name_and_message):
5040 * redisplay-x.c (x_output_string):
5041 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
5042 * frame.h (struct frame):
5043 * filelock.c (current_lock_owner):
5044 * doprnt.c (emacs_doprnt_1):
5045 * lisp.h (struct Lisp_Bit_Vector):
5049 2002-02-13 Ben Wing <ben@xemacs.org>
5051 * event-stream.c (reset_key_echo):
5052 * event-stream.c (reset_this_command_keys):
5053 * event-stream.c (execute_command_event):
5054 If console is dead as a result of C-x 5 0, then post-command stuff
5055 needs to be careful and do only non-console-specific stuff.
5057 2002-07-01 Mike Sperber <mike@xemacs.org>
5059 * process-unix.c (unix_send_process): Mark coding_outstream as
5060 non-open upon SIGPIPE.
5062 * event-stream.c (Fnext_event): Reorder switch cases to something
5065 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
5067 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
5068 Don't bogusly reinitialize ascii_character property.
5070 2002-07-08 Mike Sperber <mike@xemacs.org>
5072 * process.c (Fstart_process_internal): Do error checking before we
5073 fork off the child, so the child can't muck with the state of the
5076 2002-07-08 Mike Sperber <mike@xemacs.org>
5078 * ralloc.c (init_ralloc): Allocate properly for pdump.
5080 2002-06-12 Andy Piper <andy@xemacs.org>
5082 * glyphs.c (query_string_geometry): check the string.
5084 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5087 2002-06-17 Jerry James <james@xemacs.org>
5089 * sysdll.c: Remove RTLD_GLOBAL initialization.
5090 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5092 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5094 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5096 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5098 * sysdep.c (sys_rename): Make sys_rename work for the case where
5099 Windows rename sets errno to EACCES if target file exists.
5101 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
5103 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5104 Fix detection of metric units to work on Win95
5106 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
5108 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
5110 2002-04-25 Andy Piper <andy@xemacs.org>
5112 * redisplay.c (create_text_block): Remove extra comment trailer.
5114 2002-04-24 Andy Piper <andy@xemacs.org>
5116 * redisplay.c (create_text_block): Don't actually add propagation
5117 data if the line ends after we have added a glyph.
5119 2002-04-22 Andy Piper <andy@xemacs.org>
5121 * extents.c (extent_fragment_update): check for glyphs we have
5122 previously displayed.
5123 * extents.c (print_extent_1): warning removal.
5124 * extents.h: change prototype.
5125 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
5126 widths correctly for wide glyphs.
5127 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
5128 * redisplay.c (prop_type): add PROP_GLYPH.
5129 * redisplay.c (struct prop_block): add glyph type
5130 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
5131 to the propagation data.
5132 * redisplay.c (create_text_block): if there is a glyph in the
5133 propagation data use it to salt extent_fragment_update.
5134 * redisplay.c (create_string_text_block): ditto.
5136 2002-04-13 Nix <nix@esperi.demon.co.uk>
5138 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
5139 * redisplay-output.c (compare_runes): Compare them.
5140 * redisplay.c: Update copyright date.
5141 * redisplay.c (pos_data): Add need_baseline_computation field.
5142 * redisplay.c (add_glyph_rune): Update ascent, descent, and
5143 need_baseline_computation; zero yoffset. Set max_pixmap_height
5144 for all pixmaps, not just automatically positioned ones.
5145 * redisplay.c (calculate_yoffset): New, compute yoffset values.
5146 * redisplay.c (calculate_baseline): New, compute textual baseline.
5147 * redisplay.c (add_glyph_rune): Call them.
5148 * redisplay.c (create_text_block): Likewise.
5149 * redisplay.c (create_overlay_glyph_block): Likewise.
5150 * redisplay.c (add_margin_runes): Likewise.
5151 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
5153 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
5154 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
5155 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
5156 * redisplay-msw.c (mswindows_output_string): Likewise.
5157 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
5158 * redisplay-gtk.c (gtk_output_display_block): Likewise.
5159 * redisplay-x.c (x_output_display_block): Likewise.
5161 2002-03-28 Ben Wing <ben@xemacs.org>
5163 * redisplay.c: Fixed bug in redisplay
5164 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
5165 and down of the lines, since they're bigger than the line
5166 size. (It was seen most obviously when there's a horizontal scroll
5167 bar, e.g. do C-h a glyph or something like that.) The problem was
5168 that the glyph-contrib-p setting on glyphs was ignored even if it
5169 was set properly, which it wasn't until now.
5171 2002-04-24 Andy Piper <andy@xemacs.org>
5173 * lisp.h (Dynarr_end): Fix definition.
5175 2002-02-06 Adrian Aichner <adrian@xemacs.org>
5177 * redisplay.c (mark_redisplay): Remove call to
5178 update_frame_window_mirror.
5180 2001-11-15 Andy Piper <andy@xemacs.org>
5182 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
5185 2002-02-13 Andy Piper <andy@xemacs.org>
5187 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
5188 we did in fact enqueue the XM_MAPFRAME event.
5190 2002-01-15 Adrian Aichner <adrian@xemacs.org>
5192 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
5193 to fix problem switching between virtual desktops under virtuawin
5194 virtual window manager.
5196 2001-07-30 Adrian Aichner <adrian@xemacs.org>
5198 * event-msw.c: Typo fix.
5199 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
5200 magic XM_MAPFRAME event has been sent.
5202 2001-11-23 Andy Piper <andy@xemacs.org>
5204 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
5206 2001-11-21 Andy Piper <andy@xemacs.org>
5208 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
5209 mouse events outside the frame.
5211 2002-03-20 Andy Piper <andy@xemacs.org>
5213 * menubar-msw.c (mswindows_popup_menu): warning removal.
5214 * dialog-msw.c (dialog_popped_down): ditto.
5216 2001-12-11 Andy Piper <andy@xemacs.org>
5218 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
5219 * dialog-msw.c (mswindows_make_dialog_box_internal): set
5221 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
5222 * menubar-msw.c (mswindows_handle_wm_command): ditto.
5223 * menubar-msw.c (mswindows_popup_menu): ditto.
5225 2001-10-29 Andy Piper <andy@xemacs.org>
5227 * dialog-msw.c (handle_directory_dialog_box): quit if the user
5230 2002-01-03 Andy Piper <andy@xemacs.org>
5232 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
5236 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
5238 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
5239 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
5240 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5241 Detect and handle case where machine is set up for metric units
5243 2002-04-02 Andy Piper <andy@xemacs.org>
5245 * dired-msw.c (mswindows_get_files):
5246 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
5247 completely handled by XEmacs. Suggested by Thomas Vogler
5248 <mail@thomas-vogler.de>.
5250 2001-11-14 Andy Piper <andy@xemacs.org>
5252 * nt.c (REG_ROOT): change registry key to XEmacs.
5254 2002-04-27 Andy Piper <andy@xemacs.org>
5256 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
5258 2002-04-26 Andy Piper <andy@xemacs.org>
5260 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
5263 2002-03-14 Mike Alexander <mta@arbortext.com>
5265 * event-msw.c (mswindows_unwait_process): New, remove process from
5267 * process-nt.c (nt_finalize_process_data): Call
5268 mswindows_unwait_process
5269 * console-msw.h: Declare mswindows_unwait_process
5271 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
5273 * editfns.c (Fdecode_time):
5274 (Fformat_time_string):
5275 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
5276 (make_time): Warning elimination (change arg name).
5278 2001-11-24 Andy Piper <andy@xemacs.org>
5280 * window.c (Fsplit_window): Doc return type.
5282 2002-04-01 Andy Piper <andy@xemacs.org>
5284 * emacs.c (Fkill_emacs): Only output message box in interactive
5287 2002-04-26 Andy Piper <andy@xemacs.org>
5289 * config.h.in: pull in 21.5.x change to stop alloca warnings under
5292 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
5294 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
5297 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
5299 * XEmacs 21.4.8 "Honest Recruiter" is released.
5301 2002-05-07 Nix <nix@esperi.demon.co.uk>
5303 Supersedes 2002-04-17 patch.
5305 * process.h (PROCESS_LIVE_P): Use the process status as
5306 evidence of health, not the state of the input stream.
5307 (PROCESS_READABLE_P): Say if the process is readable
5308 from. (It may be dead nonetheless.)
5309 (CHECK_READABLE_PROCESS): Test for that condition.
5311 * process.c (create_process): Use PROCESS_READABLE_P.
5312 (read_process_output, set_process_filter): Likewise.
5314 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
5315 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
5317 This code is #if 0'd, this is not the time to add new functions:
5319 * process.c (Fprocess_readable_p): Report readability status.
5320 * process.c (Qprocess_readable_p): New, associated symbol...
5321 * process.c (syms_of_process): ... initialize it.
5323 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
5325 * XEmacs 21.4.7 "Economic Science" is released.
5327 2002-04-17 Nix <nix@esperi.demon.co.uk>
5329 * process.h (PROCESS_LIVE_P): Use the process status as
5330 evidence of health, not the state of the input stream.
5332 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
5334 * sysdep.c (sys_siglist): change "signum" to "signal"
5336 2001-04-21 Martin Buchholz <martin@xemacs.org>
5338 * s/darwin.h: New file.
5339 Thanks to Greg Parker <gparker@cs.stanford.edu>.
5341 2002-04-23 Andreas Jaeger <aj@suse.de>
5343 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
5344 which use lib64 for 64-bit libs.
5345 (START_FILES): Likewise.
5347 2002-02-11 Mike Sperber <mike@xemacs.org>
5350 (x_IO_error_handler):
5351 (x_init_device): Temporarily keep device in static variable
5352 `device_being_initialized' so we can recover gracefully from
5353 internal XOpenDevice failure. (XOpenDevice is documented to
5354 return NULL on failure, but sometimes calls the IO error handler
5357 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
5359 * dired.c (Ffile_name_all_completions): Change documentation --
5360 remove reference to completion-ignored-extensions.
5361 * dired.c (vars_of_dired): Change documentation for
5362 completion-ignored-extensions -- remove reference to
5363 file-name-all-completions.
5365 2002-03-06 Jerry James <james@xemacs.org>
5367 * emodules.c (emodules_load): Fix multiple loading of same module.
5369 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
5370 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
5371 RTLD_LAZY to avoid incorrect symbol binding when using nested
5372 shared libraries on Solaris.
5374 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
5376 * fileio.c (Ffind_file_name_handler): Improve docstring.
5378 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
5380 * fns.c (Fmapconcat): Improve docstring.
5382 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
5384 * device-gtk.c: Add prototype for
5385 emacs_gtk_selection_clear_event_handle.
5386 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
5387 selection. Setup signal handler for "selection_clear_event"
5388 (emacs_gtk_selection_clear_event_handle).
5390 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
5391 other applications owning the clipboard (based on
5392 x_handle_selection_clear).
5394 2001-12-23 William M. Perry <wmperry@gnu.org>
5396 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
5398 2002-01-04 Martin Buchholz <martin@xemacs.org>
5400 * keymap.c (define_key_alternate_name): Parenthesize EQ.
5402 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
5404 * XEmacs 21.4.6 "Common Lisp" is released.
5406 2001-12-16 Torsten Duwe <duwe@caldera.de>
5408 * search.c (Freplace_match): Add missing sub-expression functionality.
5410 * buffer.c (decode_buffer): Add a check for pointer type to
5411 decode_buffer, before gcc's CSE optimization reorders a
5412 dereference in front of the allow_string test.
5414 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
5416 * window.c (window_loop): Fix bug that sometimes prevented
5417 window_loop() from iterating across multiple devices. Also, at
5418 Ben's request, changed infloop-detecting code to abort() instead
5419 of silently terminating window_loop().
5421 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
5423 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
5424 * editfns.c (make_time): New function.
5425 (Fencode_time): Use it instead of wasteful_word_to_lisp.
5426 * lisp.h (make_time): Prototype and comment it.
5427 * dired.c (wasteful_word_to_lisp): Deprecate.
5428 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
5430 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
5432 * fileio.c (auto_save_1): Use current coding system, not
5435 2001-11-13 Ben Wing <ben@xemacs.org>
5438 * window.c (window_truncation_on):
5439 * window.c (syms_of_window):
5440 truncate-partial-width-windows should respect the buffer being
5441 displayed, like other redisplay vars.
5443 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
5445 * event-stream.c (Fread_key_sequence): save current buffer.
5447 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5449 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
5451 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5453 * alloc.c (lcrecord_stats): Add space for types defined in modules.
5455 2001-10-26 Mike Alexander <mta@arbortext.com>
5457 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
5459 2001-10-25 Andy Piper <andy@xemacs.org>
5462 * dialog-msw.c (handle_directory_proc): new function.
5463 (handle_directory_dialog_box): new fucntion.
5464 (handle_file_dialog_box): use new directory dialog support.
5465 (mswindows_make_dialog_box_internal): ditto.
5466 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
5468 (mswindows_find_frame): make global.
5469 * fileio.c (Fexpand_file_name): build fix.
5470 * general-slots.h: add Qdirectory.
5471 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
5473 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
5474 cygwin not leaving win32 paths unchanged.
5475 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
5476 cygwin runtime to do path conversion.
5477 (Fmswindows_shell_execute): fix cygwin handling of URLs.
5478 (syms_of_win32): add new function.
5479 * window.c (window_loop): build fix.
5481 2001-10-15 Andy Piper <andy@xemacs.org>
5483 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
5485 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
5487 * XEmacs 21.4.5 "Civil Service" is released.
5489 2001-04-08 Danny Colascione <qtmstr@optonline.net>
5491 * glyphs-x.c: Force buffer-tab highlight update when moving the
5492 buffer, avoiding an ugly black border, used for keyboard focus
5493 indication, on a widget that can never have keyboard focus, the
5496 2001-08-30 Daiki Ueno <ueno@unixuser.org>
5498 * process-unix.c (unix_open_multicast_group): Remove too much
5499 conversion between host and network byte order.
5501 2001-09-10 Nix <nix@esperi.demon.co.uk>
5503 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
5504 before replacing them.
5506 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
5509 * src/window.c (undedicate_windows): Use it.
5510 * src/window.h: Add prototype.
5512 2001-09-17 Ben Wing <ben@xemacs.org>
5514 * fileio.c (normalize_filename):
5515 * fileio.c (Fexpand_file_name):
5516 Fix various C++ compile errors in Andy's recent code.
5518 * callint.c (Fcall_interactively):
5519 * editfns.c (Ftemp_directory):
5520 * editfns.c (Fuser_full_name):
5521 * emacs.c (argmatch):
5522 * lread.c (locate_file_map_suffixes):
5523 * redisplay-x.c (x_ring_bell):
5524 Fix sign-compare warnings.
5526 2001-09-08 Andy Piper <andy@xemacs.org>
5528 * fileio.c (normalize_filename): copied from nt.c
5529 * (Ffile_name_directory): enable win32 paths under cygwin.
5530 * (Ffile_name_nondirectory): ditto.
5531 * (directory_file_name): ditto.
5532 * (Fexpand_file_name): ditto.
5533 * (Ffile_truename): ditto.
5534 * (Fsubstitute_in_file_name): ditto.
5535 * (Ffile_name_absolute_p): ditto.
5536 * (Ffile_readable_p): ditto.
5538 2001-09-08 Andy Piper <andy@xemacs.org>
5540 * device-msw.c (mswindows_finish_init_device): remove dde
5542 * device-msw.c (mswindows_init_dde): factor out from
5543 mswindows_finish_init_device()
5544 * device-msw.c (init_mswindows_very_early): new function
5545 initialize but don't enable dde.
5546 * emacs.c (main_1): call init_mswindows_very_early.
5548 * event-msw.c (mswindows_dde_callback): only execute when we are
5550 * symsinit.h: declare init_mswindows_very_early.
5552 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5554 [sjt: This has been in 21.5 for months with no complaints.]
5556 * console.h (struct console_methods): Added flags member.
5557 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
5558 (CONMETH_IMPL_FLAG):
5559 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
5560 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5562 * device.c (window_system_pixelated_geometry): Use the above macros.
5564 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
5565 implememntation flag.
5566 * device.h (DEVICE_DISPLAY_P): Use it.
5568 * frame.c (delete_frame_internal): Use the above macro.
5570 * redisplay.c (redisplay_device): Use it.
5571 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5572 (redisplay_frame): Ditto.
5574 * device-msw.c (mswindows_device_implementation_flags): Removed.
5575 (msprinter_device_implementation_flags): Removed.
5576 (console_type_create_device_mswindows): Removed references to
5577 implementation_flags methods, set implementation flags here.
5578 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
5580 * device-gtk.c (gtk_device_implementation_flags): Removed method.
5581 (console_type_create_device_gtk): Removed method declaration.
5582 Added commented out statement which semantically matches the
5583 commented out statement in the above removed method.
5585 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
5587 The attached patch fixes a few warnings.
5589 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
5590 * src/frame-gtk.c: guard against GNOME calls in GTK only
5591 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
5592 * src/select-gtk.c: prototype lisp_to_time
5594 2001-06-08 Ben Wing <ben@xemacs.org>
5596 ------ gc-in-window-procedure fixes ------
5599 * alloc.c (struct post_gc_action):
5600 * alloc.c (register_post_gc_action):
5601 * alloc.c (run_post_gc_actions):
5602 * alloc.c (garbage_collect_1):
5603 Create "post-gc actions", to avoid those dreaded "GC during window
5604 procedure" problems.
5607 Abort, clean and simple, when GC in window procedure. We want
5608 to flush these puppies out.
5611 * glyphs-msw.c (finalize_destroy_window):
5612 * glyphs-msw.c (mswindows_finalize_image_instance):
5613 Use a post-gc action when destroying subwindows.
5616 Declare register_post_gc_action().
5619 * scrollbar-msw.c (unshow_that_mofo):
5620 Use a post-gc action when unshowing scrollbar windows, if in gc.
5622 * redisplay.c (mark_redisplay):
5623 Add comment about the utter evilness of what's going down here.
5625 ------ cygwin setitimer fixes ------
5627 * Makefile.in.in (sheap_objs):
5628 * Makefile.in.in (profile_objs):
5629 * Makefile.in.in (objs):
5630 Compile profile.c only when HAVE_SETITIMER.
5632 * nt.c (mswindows_sigset):
5633 * nt.c (mswindows_sighold):
5634 * nt.c (mswindows_sigrelse):
5635 * nt.c (mswindows_sigpause):
5636 * nt.c (mswindows_raise):
5637 * nt.c (close_file_data):
5641 Move setitimer() emulation to win32.c, because Cygwin needs it too.
5644 * profile.c (Fstart_profiling):
5645 * profile.c (Fstop_profiling):
5646 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
5647 instead of just plain setitimer().
5650 * signal.c (set_one_shot_timer):
5652 Define qxe_setitimer() as an encapsulation around setitimer() --
5653 call setitimer() directly unless Cygwin or MS Win, in which case
5654 we use our simulated version in win32.c.
5657 * systime.h (struct itimerval):
5658 * systime.h (ITIMER_REAL):
5659 Prototype mswindows_setitimer() and qxe_setitimer(). Long
5660 comment about "qxe" and the policy regarding encapsulation.
5663 * win32.c (setitimer_helper_proc):
5664 * win32.c (setitimer_helper_period):
5665 * win32.c (setitimer_helper):
5666 * win32.c (mswindows_setitimer):
5667 Move setitimer() emulation here, so Cygwin can use it.
5668 Rename a couple of functions and variables to be longer and more
5669 descriptive. In setitimer_helper_proc(), send the signal
5670 using either mswindows_raise() or (on Cygwin) kill(). If for
5671 some reason we are still getting lockups, we'll change the kill()
5672 to directly invoke the signal handlers.
5674 ------ windows shell fixes ------
5678 Comments about how these two files must die.
5680 * callproc.c (init_callproc):
5681 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
5682 not just COMSPEC. (more correct and closer to FSF.) Don't
5683 force a value for SHELL into the environment. (Comments added
5684 to explain why not.)
5686 * nt.c (init_user_info):
5687 Don't shove a fabricated SHELL into the environment. See above.
5689 2001-06-01 Ben Wing <ben@xemacs.org>
5691 * Makefile.in.in (ldflags):
5692 eliminate that pesky "defaulting to 00401000" warning.
5696 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
5698 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
5699 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
5701 2001-04-24 Jerry James <james@xemacs.org>
5703 * faces.h: pass parameters to Fadd_spec_to_specifier in the
5706 2001-06-01 Ben Wing <ben@xemacs.org>
5708 * event-msw.c (debug_mswin_messages):
5709 conditionalize the messages that were causing compile errors.
5710 (if only macros could generate #ifdef statements ...)
5712 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
5714 * XEmacs 21.4.4 "Artificial Intelligence" is released.
5716 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
5718 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
5720 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
5722 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
5723 * process-unix.c (unix_canonicalize_host_name):
5724 sysdep.c (init_system_name):
5725 Use it to conditionally support IPv6 canonicalization.
5727 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
5730 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
5732 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
5734 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
5735 attempt is made to scroll when no scroll bar is available.
5737 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
5739 * input-method-motif.c (XIM_delete_frame): New callback.
5740 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
5741 got deleted from 21.4.3.)
5743 2001-06-01 Ben Wing <ben@xemacs.org>
5745 * nt.c (mswindows_utime):
5746 * nt.c (close_file_data):
5747 fix off-by-one-indirection error.
5749 2001-05-29 Adrian Aichner <adrian@xemacs.org>
5751 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
5752 because set_file_times() now takes Lisp_Object path, instead of
5754 * nt.c: Include buffer.h.
5755 * nt.c (convert_from_time_t): New.
5756 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
5757 not set mtime correctly.
5758 * nt.h: Declare mswindows_utime().
5759 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
5760 path, instead of char*.
5761 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
5763 2001-05-30 Ben Wing <ben@xemacs.org>
5767 (Stephen, just take all event-msw.c patches. This includes
5768 the "iconify" fix below.)
5771 * event-msw.c (mswindows_dequeue_dispatch_event):
5772 * event-msw.c (assert):
5773 * event-msw.c (emacs_mswindows_quit_p):
5774 * event-msw.c (debug_mswin_messages):
5775 * event-msw.c (debug_output_mswin_message):
5776 * event-msw.c (vars_of_event_mswindows):
5777 Fix yet more problems with C-g handling.
5778 Implement debug-mswindows-events.
5780 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5782 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
5784 2001-05-23 Ben Wing <ben@xemacs.org>
5786 * event-msw.c (winsock_writer):
5787 * event-msw.c (winsock_closer):
5788 prior kludgy code was clobbering the buffer, thinking it was
5789 "unused" space to store an unneeded return value; instead, use
5790 the variable we've already got staring us in the face.
5792 2001-05-17 Andy Piper <andy@xemacs.org>
5794 * sysfile.h: don't assume that file attributes are boolean
5796 2001-05-23 Ben Wing <ben@xemacs.org>
5798 * device-msw.c (msprinter_init_device):
5799 signal an error rather than crash with an unavailable network
5800 printer (from Mike Alexander).
5803 * event-msw.c (struct winsock_stream):
5804 * event-msw.c (winsock_writer):
5805 * event-msw.c (winsock_closer):
5806 * event-msw.c (make_winsock_stream_1):
5807 cleanup headers. fix (hopefully) an error with data corruption
5808 when sending to a network connection.
5810 * fileio.c (Fexpand_file_name): Fix evil code that attempts
5811 to handle the ~user prefix by (a) always assuming we're referencing
5812 ourselves and not even verifying the user -- hence any file with
5813 a tilde as its first char is invalid! (b) if there wasn't a slash
5814 following the filename, the pointer was set *past* the end of
5815 file and we started reading from uninitialized memory. Now we
5816 simply treat these as files, always.
5818 * buffer.c (common_init_complex_vars_of_buffer): comment change.
5820 2001-05-19 Ben Wing <ben@xemacs.org>
5822 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
5825 * process-nt.c (vars_of_process_nt):
5826 remove unused mswindows-quote-process-args. rec for 21.4.
5828 2001-05-12 Ben Wing <ben@xemacs.org>
5830 * event-msw.c (mswindows_dde_callback):
5831 * event-msw.c (mswindows_wnd_proc):
5832 eliminate cygwin warnings.
5834 2001-05-06 Ben Wing <ben@xemacs.org>
5838 * device-msw.c (print_dialog_worker):
5839 * device-msw.c (mswindows_handle_print_dialog_box):
5840 * device-msw.c (syms_of_device_mswindows):
5841 * dialog-msw.c (mswindows_make_dialog_box_internal):
5843 implement printing the selection when it's selected.
5845 2001-05-20 Drazen Kacar <dave@arsdigita.com>
5847 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
5849 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
5851 * lisp.h (EMACS_INT_MAX): This should be one bit less since
5852 EMACS_INT is signed.
5854 2001-04-15 Michael Lausch <mla@1012surf.net>
5856 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
5857 gtk_widget_request_size() to give scrollbar >0 width for
5860 2001-05-30 William M. Perry <wmperry@gnu.org>
5862 * event-gtk.c: Check for buttons as modifier keys.
5864 2001-05-25 Craig Lanning <CraigL@Knology.net>
5867 Properly find MinGW's <process.h> inside Cygwin's restructured
5868 include directories. Don't try to include <cygwin/version.h>
5869 since we are dropping support for MinGW in versions of Cygwin
5872 Drop support for MinGW in versions of Cygwin before b21.
5874 Properly find MinGW's <process.h> inside Cygwin's restructured
5875 include directories.
5877 Drop support for MinGW in versions of Cygwin before b21.
5879 Even though a.out.h is no longer detected by configure, allow
5880 MinGW to use it until we figure out how to do the job with Win32.
5882 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
5884 * syntax.c (find_start_of_comment):
5885 Fix `unbalanced parentheses' bug when dealing with mixed comment
5886 styles in c++/java/etc. mode
5888 2001-05-29 Mike Alexander <mta@arbortext.com>
5890 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
5891 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
5893 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
5895 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
5897 2001-03-31 Mike Sperber <mike@xemacs.org>
5899 * search.c (Freplace_match): Support FSF-style specification of
5900 match subexpression when applied to a buffer.
5902 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
5904 * event-stream.c (is_scrollbar_event): add missing semicolon
5906 2001-05-22 Isaac Hollander <ysh@mindspring.com>
5908 * Makefile.in.in: Use TAR macro instead of hardcoding
5909 tar. Allows use of GNU tar instead of system tar
5911 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
5913 * event-stream.c (is_scrollbar_event): add missing semicolon
5915 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
5917 * XEmacs 21.4.3 "Academic Rigor" is released.
5919 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
5921 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
5923 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
5925 * buffer.c (Vcase_fold_search): Remove obsolete
5926 comment about non ASCII case-fold-search. This
5927 bug has been fixed by case-table changes.
5929 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
5931 * event-msw.c: Restore include of events-mod.h.
5933 2001-04-22 zhaoway <zw@debian.org>
5935 * event-stream.c (is_scrollbar_event): Noop returning 0 if
5938 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
5940 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
5942 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
5944 * mule-charset.c (Fmake_charset): Add missing else.
5946 2001-04-23 Ben Wing <ben@xemacs.org>
5948 * event-msw.c (FAKE_MOD_QUIT):
5949 * event-msw.c (mswindows_dequeue_dispatch_event):
5950 * event-msw.c (mswindows_wnd_proc):
5951 * event-msw.c (emacs_mswindows_quit_p):
5952 Get critical quit working.
5954 2001-05-05 Ben Wing <ben@xemacs.org>
5958 * device-msw.c (mswindows_get_default_margin):
5959 * frame-msw.c (mswindows_size_frame_internal):
5960 * frame-msw.c (msprinter_init_frame_1):
5961 * frame-msw.c (vars_of_frame_mswindows):
5962 Change top/bottom margin defaults to 0.5 inches.
5964 2001-05-01 Martin Buchholz <martin@xemacs.org>
5966 Fix link error with gcc 3.0 on Linux.
5967 * terminfo.c (UP): Remove.
5968 * terminfo.c (BC): Remove.
5969 * terminfo.c (PC): Remove.
5970 They weren't used, and in any case, these symbols should be
5971 defined in the *library*.
5973 2001-05-03 Martin Buchholz <martin@xemacs.org>
5975 * s/aix4.h: Fix crash with xlc -O3.
5976 Improve comment explaining how -O3 works.
5978 2001-04-15 Ben Wing <ben@xemacs.org>
5981 * event-stream.c (Fnext_event):
5982 * event-stream.c (is_scrollbar_event):
5983 * event-stream.c (execute_command_event):
5984 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
5985 crash' problem. His fix introduces other problems. We filter
5986 out scrollbar events specifically, making them somewhat invisible
5987 to command-building, and not appearing in `this-command-keys'.
5988 More work is still needed (see comments in event-stream.c), but
5989 this fixes all the major problems.
5991 2001-04-20 Ben Wing <ben@xemacs.org>
5993 * .cvsignore: Added stuff for Windows.
5995 2001-04-28 Ben Wing <ben@xemacs.org>
5997 * buffer.c (Ferase_buffer):
5998 * editfns.c (buffer_insert1):
5999 * editfns.c (Finsert_before_markers):
6000 * editfns.c (Finsert_string):
6001 * editfns.c (Finsert_char):
6002 * editfns.c (Fdelete_region):
6003 * editfns.c (Fwiden):
6004 * editfns.c (Fnarrow_to_region):
6005 remove bogus lines setting zmacs_region_stays to 0.
6007 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
6009 * process-unix.c (unix_open_network_stream): If connect() fails
6010 invalidate file descriptor after closing it.
6012 2001-03-08 Mike Alexander <mta@arbortext.com>
6014 * event-msw.c (mswindows_need_event_in_modal_loop):
6015 Don't dispatch a message if we didn't get one.
6016 (mswindows_need_event):
6017 Terminate the correct process when one exits instead of the first
6018 one on Vprocess_list and look for process termination when in
6019 mswindows_protect_modal_loop.
6021 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
6023 * XEmacs 21.4.1 "Copyleft" is released.
6025 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6027 * input-method-motif.c (XIM_delete_frame): New callback.
6028 (XIM_init_frame): Register it.
6030 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6032 * XEmacs 21.4.0 "Solid Vapor" is released.
6034 2001-04-15 Ben Wing <ben@xemacs.org>
6036 * cmdloop.c (call_command_loop):
6037 Fix braino in bit-rotting code.
6039 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
6041 * extents.c (Fset_extent_endpoints): Force creation of extent info
6042 in buffer_or_string.
6044 * extents.c (process_extents_for_insertion_mapper): Correctly
6045 check for open-open zero-length extents.
6047 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6049 * lisp.h: New typedefs Memory_count, Element_count.
6052 Sign-compare warning elimination: several unsigned -> signed.
6053 Based on work by Ben Wing <ben@xemacs.org>.
6055 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
6057 * XEmacs 21.2.47 "Zephir" is released.
6059 2001-04-02 Jan Vroonhof <jan@xemacs.org>
6061 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
6063 2001-04-03 Mike Sperber <mike@xemacs.org>
6065 * search.c: Revert previous patch due because of release.
6067 2001-03-30 Ben Wing <ben@xemacs.org>
6070 Add missing killpg prototype.
6073 Add a comment about fixing problems when a new entry is added
6076 * frame-msw.c (mswindows_init_frame_1):
6077 Fix compile warnings.
6079 * menubar.c (vars_of_menubar):
6080 Provide `menu-accelerator-support' to indicate that we properly
6081 support %_ in menu specifications, so that package code can
6082 conditionalize on this (and remove %_ from menu specifications
6087 * scrollbar-msw.c (can_scroll):
6089 Fix handling of mouse wheel under Windows to follow standards --
6090 now scrolls window under pointer, not selected window.
6092 2001-03-31 Mike Sperber <mike@xemacs.org>
6094 * search.c (Freplace_match): Support FSF-style specification of
6095 match subexpression when applied to a buffer.
6097 2001-03-15 Martin Buchholz <martin@xemacs.org>
6099 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6100 function to modify KEYMAP, so map over a copy of the hash table.
6102 2001-03-21 Martin Buchholz <martin@xemacs.org>
6104 * XEmacs 21.2.46 "Urania" is released.
6106 2001-03-20 Dan Holmsand <dan@eyebee.com>
6108 * realpath.c (xrealpath): Make file-truename work with symlinks to
6109 /cygdrive paths on cygwin. Always lowercase drive-letters on
6111 (cygwin_readlink): Don't try to find canonical filename unless
6114 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
6116 * ChangeLog: Log GTK merge.
6122 Revert gratuitous whitespace changes from GTK merge.
6124 * emacs.c: Document end of complex #ifdef @ l. 1495.
6127 2001-03-12 Andy Piper <andy@xemacs.org>
6129 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
6130 have to do likewise.
6132 2001-03-12 Andy Piper <andy@xemacs.org>
6134 * sysdep.c: we only support mingw now.
6136 2001-03-09 Andy Piper <andy@xemacs.org>
6138 * unexcw.c (copy_executable_and_dump_data_section): making approx
6139 overrun a warning only.
6141 2001-03-10 William M. Perry <wmperry@aventail.com>
6143 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
6144 satisfy Stephen's identical-after-cpp plea.
6146 2001-03-02 Ben Wing <ben@xemacs.org>
6149 * cmds.c (Fforward_char):
6153 Augment documentation of the most common motion commands to make
6154 note of the shifted-motion support.
6156 2001-03-02 Ben Wing <ben@xemacs.org>
6158 * nt.c (mswindows_fstat):
6159 * nt.c (mswindows_stat):
6160 * search.c (boyer_moore):
6161 Fix compile warnings under Windows.
6163 * sysdep.c (sys_readdir):
6164 Fix buggy filename-conversion code under Mule.
6166 2001-03-09 William M. Perry <wmperry@aventail.com>
6188 * redisplay-output.c:
6194 The Great GTK Merge.
6201 * emacs-widget-accessors.c:
6215 * native-gtk-toolbar.c:
6226 The Great GTK Merge: new files.
6228 2001-02-26 Ben Wing <ben@xemacs.org>
6230 Reapplied Lstream change.
6232 2001-02-26 Ben Wing <ben@xemacs.org>
6234 Undid the last change, since it is more controversial than I
6235 thought. It should be back in at some point soon.
6237 2001-02-25 Ben Wing <ben@xemacs.org>
6240 * callproc.c (Fold_call_process_internal):
6241 * event-msw.c (ntpipe_slurp_reader):
6242 * event-msw.c (ntpipe_shove_writer):
6243 * event-msw.c (winsock_reader):
6244 * event-msw.c (winsock_writer):
6246 * file-coding.c (detect_eol_type):
6247 * file-coding.c (detect_coding_type):
6248 * file-coding.c (determine_real_coding_system):
6249 * file-coding.c (Fdetect_coding_region):
6250 * file-coding.c (decoding_reader):
6251 * file-coding.c (decoding_writer):
6252 * file-coding.c (mule_decode):
6253 * file-coding.c (Fdecode_coding_region):
6254 * file-coding.c (encoding_reader):
6255 * file-coding.c (encoding_writer):
6256 * file-coding.c (mule_encode):
6257 * file-coding.c (Fencode_coding_region):
6258 * file-coding.c (detect_coding_sjis):
6259 * file-coding.c (decode_coding_sjis):
6260 * file-coding.c (encode_coding_sjis):
6261 * file-coding.c (detect_coding_big5):
6262 * file-coding.c (decode_coding_big5):
6263 * file-coding.c (encode_coding_big5):
6264 * file-coding.c (detect_coding_ucs4):
6265 * file-coding.c (decode_coding_ucs4):
6266 * file-coding.c (encode_coding_ucs4):
6267 * file-coding.c (detect_coding_utf8):
6268 * file-coding.c (decode_coding_utf8):
6269 * file-coding.c (encode_coding_utf8):
6270 * file-coding.c (detect_coding_iso2022):
6271 * file-coding.c (decode_coding_iso2022):
6272 * file-coding.c (encode_coding_iso2022):
6273 * file-coding.c (decode_coding_no_conversion):
6274 * file-coding.c (encode_coding_no_conversion):
6275 * glyphs-x.c (write_lisp_string_to_temp_file):
6276 * gpmevent.c (tty_get_foreign_selection):
6279 * lstream.c (Lstream_flush_out):
6280 * lstream.c (Lstream_adding):
6281 * lstream.c (Lstream_write_1):
6282 * lstream.c (Lstream_write):
6283 * lstream.c (Lstream_raw_read):
6284 * lstream.c (Lstream_read_more):
6285 * lstream.c (Lstream_read):
6286 * lstream.c (Lstream_unread):
6287 * lstream.c (Lstream_fputc):
6288 * lstream.c (stdio_reader):
6289 * lstream.c (stdio_writer):
6290 * lstream.c (filedesc_reader):
6291 * lstream.c (filedesc_writer):
6292 * lstream.c (lisp_string_reader):
6293 * lstream.c (struct fixed_buffer_stream):
6294 * lstream.c (make_fixed_buffer_input_stream):
6295 * lstream.c (make_fixed_buffer_output_stream):
6296 * lstream.c (fixed_buffer_reader):
6297 * lstream.c (fixed_buffer_writer):
6298 * lstream.c (struct resizing_buffer_stream):
6299 * lstream.c (resizing_buffer_writer):
6300 * lstream.c (dynarr_writer):
6301 * lstream.c (lisp_buffer_reader):
6302 * lstream.c (lisp_buffer_writer):
6304 * lstream.h (lstream_implementation):
6305 * lstream.h (struct lstream):
6307 * process-nt.c (nt_send_process):
6308 * process-unix.c (unix_send_process):
6310 Correct Lstream lossage due to mixing of signed and unsigned
6311 quantities. All Lstream uses of size_t and ssize_t are now a
6312 single signed data type Lstream_data_count. This fixes problems
6313 under Windows with sending large quantities of data to a process,
6314 and may well fix other subtle bugs.
6316 2001-02-23 Martin Buchholz <martin@xemacs.org>
6318 * XEmacs 21.2.45 "Thelxepeia" is released.
6320 2001-02-21 Martin Buchholz <martin@xemacs.org>
6322 * lisp-union.h (XSETINT):
6325 Reverse previous change of 2001-02-06.
6327 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
6329 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
6331 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6332 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
6333 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
6334 * regex.c (POS_AS_IN_BUFFER): removed
6335 * regex.c (re_search_2):
6336 * regex.c (re_match_2):
6337 Don't use an offset of 1 when calculating buffer positions, since
6338 `BI_BUF_BEGV' does it already.
6340 2001-02-18 Wim Dumon <wim@easics.be>
6342 * insdel.c (prepare_to_modify_buffer): Also check for
6343 supersession when clash-detection is enabled.
6345 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
6347 * regex.c (re_match_2_internal):
6348 Convert temp characters from 'const unsigned char' to 're_char'.
6349 Fix crashing bug with extended characters under mule.
6350 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
6351 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
6352 font-lock, pdump, and new syntax-table code.
6353 * syntax.c (find_start_of_comment):
6354 (find_end_of_comment):
6356 Fix crashing bugs involving moving beyond end of buffer.
6357 * syntax.c (find_start_of_comment):
6358 Fixed logic to allow proper detection of cases where the same
6359 character is used to end both a two-char comment start and a
6360 two-char comment end sequence. Fixes `(forward-comment -1)'.
6361 * syntax.c (find_start_of_comment):
6362 Return position just past last comment-end character for all cases
6363 (previously was only done for two-char comment-end sequences).
6364 * syntax.c (forward-comment):
6365 Take value returned from `find_end_of_comment', rather than
6367 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6368 Properly deal with BUFFERP (syntax_cache.object)
6370 2001-02-17 Martin Buchholz <martin@xemacs.org>
6372 * alloc.c (Fgarbage_collect):
6373 * alloc.c (make_bit_vector_from_byte_vector):
6374 -Wsign-compare-correctness.
6376 2001-02-16 Martin Buchholz <martin@xemacs.org>
6378 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
6379 (XSETCHAR): Likewise.
6380 (XSETOBJ): Likewise.
6382 2001-02-15 Martin Buchholz <martin@xemacs.org>
6384 * mule-canna.c (canna-func-delete_previous):
6385 Rename to canna-func-delete-previous.
6387 2001-02-14 Martin Buchholz <martin@xemacs.org>
6389 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
6391 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
6393 * font-lock.c (find_context): Fix C++ compile errors introduced by
6396 2001-02-13 Martin Buchholz <martin@xemacs.org>
6398 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
6399 pragma, but earlier ones barf on the same pragma.
6401 2001-02-06 Mike Sperber <mike@xemacs.org>
6403 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
6404 `configure-mule-lisp-directory'.
6406 2001-02-12 Martin Buchholz <martin@xemacs.org>
6408 Make sure dump-id.c is compiled in the same way as other .c's.
6409 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
6410 * dump-id.h: Remove.
6411 * emacs.c: Move dump-id.h into dumper.h.
6412 * dumper.h: Move dump-id.h into dumper.h.
6414 Use standard .c.o rule for building dump-id.o.
6415 Remove preprocessor flags from link command.
6416 Add dump-id.o to ${otherobjs} if PDUMP.
6418 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
6420 Port FSF 20.7 syntax table improvements.
6424 Fixups for new syntax table stuff.
6425 * dired.c: Include syntax.c.
6426 (Fdirectory_files): Initialize regex_match_object and
6428 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
6429 and Fget_char_property.
6431 Use ported FSF 20.7 syntax table improvements.
6436 2001-02-09 Martin Buchholz <martin@xemacs.org>
6438 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
6439 Unixware's enum boolean from sys/types.h.
6441 2001-02-10 Martin Buchholz <martin@xemacs.org>
6443 Fix support for building with latest Purify.
6444 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
6445 (PURIFY_FLAGS): Likewise.
6447 2001-02-09 Martin Buchholz <martin@xemacs.org>
6449 * fileio.c (lisp_string_set_file_times): New.
6450 * fileio.c (Fcopy_file): Use it.
6452 (copy-file filename non-ascii-filename t t)
6453 ==> No such file or directory, non-ascii-filename
6455 2001-02-10 Martin Buchholz <martin@xemacs.org>
6457 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
6458 USHRT_MAX seems clearer than ~0 anyways.
6460 2001-02-09 Martin Buchholz <martin@xemacs.org>
6462 dumper improvements. Inspired by Olivier.
6463 * dumper.c (pdump_max_align): New.
6464 * dumper.c (pdump_add_entry): Use pdump_max_align.
6465 * dumper.c (pdump_get_entry_list): Likewise.
6466 * dumper.c (pdump_scan_by_alignment): Likewise.
6467 Don't iterate through unnecessary alignments.
6468 * dumper.c (pdump_file_get): No need to align result of malloc().
6469 * dumper.c (pdump_mallocadr): Remove.
6470 The result of malloc() is guaranteed to be maximally aligned.
6471 * dumper.c: s/elmt/elt/g;
6472 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
6473 * dumper.c (pdump_alert_undump_object): Likewise.
6474 * dumper.c (pdump_align_table):
6475 Don't support alignments > 64.
6476 Store ALIGNOF's, not shift counts, in table.
6478 2001-02-09 Martin Buchholz <martin@xemacs.org>
6480 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
6481 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
6482 * systime.h: Use HAVE_UTIME.
6483 * sysdep.c (struct utimbuf): Remove.
6484 * sysdep.c (set_file_times): Prefer utime() to utimes().
6485 * config.h.in (HAVE_UTIME): New.
6486 * config.h.in (HAVE_UTIME_H): Remove.
6487 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
6489 2001-02-09 Martin Buchholz <martin@xemacs.org>
6491 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
6493 2001-02-08 Martin Buchholz <martin@xemacs.org>
6495 * s/irix6-0.h: Use the standard system memmove, not bcopy.
6497 2001-02-08 Martin Buchholz <martin@xemacs.org>
6499 * XEmacs 21.2.44 "Thalia" is released.
6501 2001-02-06 Martin Buchholz <martin@xemacs.org>
6503 Fixes crashes in kill-emacs on some systems.
6504 * process-unix.c (unix_kill_child_process):
6505 It's OK for kill() to fail with ESRCH.
6507 2001-02-07 Martin Buchholz <martin@xemacs.org>
6509 Contortions to make .gdbinit tricks work on most systems.
6510 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
6511 * alloc.c (dbg_valmask): Make non-const.
6512 * alloc.c (dbg_typemask): Make non-const.
6513 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
6514 * alloc.c (dbg_valbits): Make non-const.
6515 * alloc.c (dbg_gctypebits): Make non-const.
6516 * .gdbinit (decode_object): Make it work with AIX cc.
6518 2001-02-06 Martin Buchholz <martin@xemacs.org>
6520 * elhash.c (make_general_lisp_hash_table):
6521 Use simpler and more efficient calloc to clear entries.
6523 2001-02-07 Martin Buchholz <martin@xemacs.org>
6525 * window.c (window_scroll): Work around an AIX C compiler bug.
6526 Fixes 'scroll-up' does nothing problem with xlC.
6528 2001-02-05 Martin Buchholz <martin@xemacs.org>
6530 * .gdbinit: Remove obsolete comment.
6532 2001-01-31 Mike Alexander <mta@arbortext.com>
6534 * select.c (Fown_selection_internal): Set owned_p for device
6537 2001-02-01 Martin Buchholz <martin@xemacs.org>
6540 "not" cannot be used as a macro name as it is an operator in C++
6541 * config.h.in: Stop #defining `not'.
6542 * chartab.c (check_category_char): not ==> not_p
6543 * chartab.h: Likewise.
6544 * regex.c (re_match_2_internal): Likewise.
6546 2001-02-02 Martin Buchholz <martin@xemacs.org>
6548 * lisp-disunion.h: Fix up comments.
6550 2001-01-31 Martin Buchholz <martin@xemacs.org>
6552 * keymap.c (define_key_check_and_coerce_keysym):
6554 Support mouse-6 and mouse-7 bindings in the obvious way.
6556 2001-02-01 Martin Buchholz <martin@xemacs.org>
6558 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
6560 2001-01-30 Martin Buchholz <martin@xemacs.org>
6562 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
6563 Previous patch missed DEFVAR_INT_MAGIC.
6564 Make sure future DEFVAR_foo use correct types.
6565 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
6566 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
6567 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
6568 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
6569 * (DEFVAR_INT): Likewise.
6570 * redisplay.c (vertical_clip): Should be of type Fixnum.
6571 * redisplay.c (horizontal_clip): Likewise.
6572 * lisp.h (dump_add_opaque_int): New.
6573 (dump_add_opaque_fixnum): New.
6575 2001-01-29 Andy Piper <andy@xemacs.org>
6577 * glyphs-widget.c (check_valid_int_or_function): allow symbols
6578 since they can be eval'ed
6580 2001-01-29 Martin Buchholz <martin@xemacs.org>
6582 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
6583 Oops, XEmacs redefines `class'. Use `typename' instead.
6585 2001-01-28 Martin Buchholz <martin@xemacs.org>
6587 * dumper.c: Fix C++ compile errors.
6589 2001-01-29 Martin Buchholz <martin@xemacs.org>
6591 * tparam.c: Use correct prototypes.
6593 2001-01-28 Martin Buchholz <martin@xemacs.org>
6595 * sysproc.h: #include util.h for NetBSD's openpty.
6597 2001-01-27 Martin Buchholz <martin@xemacs.org>
6599 More 64-bit correctness.
6600 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
6601 Use a typedef `fixnum' for the type used for DEFVAR_INT.
6603 This finally finishes the 64-bit SGI port.
6604 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
6605 * symbols.c: Fix up comments and type casts.
6606 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
6607 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
6608 * symeval.h (Fixnum): New type.
6609 * symeval.h (symbol_value_type): Fix up comment.
6625 * mule-canna.c: A million DEFVAR_INTs here...
6626 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
6639 s/int/Fixnum/g in DEFVAR_INT declarations.
6641 2001-01-26 Martin Buchholz <martin@xemacs.org>
6643 Port pdump to SGI alignment-sensitive environment.
6644 Lisp Object sizeof methods now return aligned sizes. Rely on that.
6645 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
6647 Define and use aligned reading and writing macros.
6648 Use buffered stdio instead of posix i/o for faster dumping.
6649 Eliminate kludgy 256 byte space for header.
6650 Read and write from dump file using structs for alignment safety.
6651 * dumper.c (pdump_align_stream): New.
6652 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
6653 * dumper.c (PDUMP_READ_ALIGNED): New.
6654 * dumper.c (PDUMP_WRITE_ALIGNED): New.
6655 * dumper.c (pdump_static_Lisp_Object): New struct.
6656 * dumper.c (pdump_static_pointer): New struct.
6657 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
6658 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
6659 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
6660 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
6662 * dumper.c (pdump_backtrace):
6663 * dumper.c (pdump_get_indirect_count):
6664 * dumper.c (pdump_register_object):
6665 * dumper.c (pdump_register_struct):
6666 * dumper.c (pdump_reloc_one):
6667 * dumper.c (pdump_scan_by_alignment):
6668 * dumper.c (pdump_dump_from_root_struct_ptrs):
6669 * dumper.c (pdump_dump_opaques):
6670 * dumper.c (pdump_dump_rtables):
6671 * dumper.c (pdump_dump_from_root_objects):
6673 * dumper.c (pdump_load_finish):
6674 Use aligned reading and writing.
6676 * dumper.c (pdump_free): Make static.
6677 * dumper.c (pdump_hFile): Likewise.
6678 * dumper.c (pdump_hMap): Likewise.
6680 2001-01-26 Martin Buchholz <martin@xemacs.org>
6682 * XEmacs 21.2.43 "Terspichore" is released.
6684 2001-01-25 Martin Buchholz <martin@xemacs.org>
6686 Type fiddling for window_config.saved_windows_count
6687 * window.c (struct window_config):
6688 Make saved_windows_count member unsigned.
6689 * window.c (sizeof_window_config_for_n_windows):
6690 Make parameter unsigned.
6691 * window.c (mark_window_config):
6692 * window.c (window_config_equal):
6693 * window.c (free_window_configuration):
6694 * window.c (Fset_window_configuration):
6695 * window.c (count_windows):
6696 * window.c (Fcurrent_window_configuration):
6697 * window.c (reinit_vars_of_window):
6698 Update all callers and users.
6700 2001-01-25 Martin Buchholz <martin@xemacs.org>
6702 Alignment correctness for flexible arrays.
6703 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
6704 Make alignment-correct. Add interesting comments.
6705 * alloc.c (size_vector):
6706 * alloc.c (make_vector_internal):
6707 * alloc.c (make_bit_vector_internal):
6708 * alloc.c (sweep_bit_vectors_1):
6709 * fns.c (size_bit_vector):
6710 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
6711 * window.c (sizeof_window_config_for_n_windows):
6712 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
6714 2001-01-24 Martin Buchholz <martin@xemacs.org>
6716 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
6718 2001-01-23 Andy Piper <andy@xemacs.org>
6720 * select.c (Fown_selection_internal): pass owned_p
6722 * select-msw.c (mswindows_own_selection): New Signature.
6724 * console.h (struct console_methods): add owned_p to
6727 * select-x.c (x_own_selection): pass owned_p
6728 (hack_motif_clipboard_selection): use owned_p
6729 (vars_of_select_x): new variable -
6730 x_selection_strict_motif_ownership.
6732 2001-01-23 Martin Buchholz <martin@xemacs.org>
6734 * specifier.h (specifier_data_offset): Remove pointless parens.
6735 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
6737 2001-01-24 Martin Buchholz <martin@xemacs.org>
6739 Make Lisp_Object sizeof methods be alignment-correct.
6740 pdump must restore objects to the same alignment as the C compiler
6741 assumes. It really matters on SGIs.
6742 * lstream.c (aligned_sizeof_lstream): New.
6743 (sizeof_lstream): Use aligned_sizeof_lstream.
6744 (Lstream_new): Likewise.
6745 * opaque.c (aligned_sizeof_opaque): New.
6746 (sizeof_opaque): Use aligned_sizeof_opaque.
6747 (make_opaque): Likewise.
6748 * specifier.c (aligned_sizeof_specifier): New.
6749 (sizeof_specifier): Use aligned_sizeof_specifier.
6750 (make_specifier_internal): Likewise.
6752 2001-01-23 Martin Buchholz <martin@xemacs.org>
6754 * lstream.h (struct lstream): Use max_align_t for trailing data.
6755 * specifier.h (struct Lisp_Specifier): Likewise.
6757 2001-01-22 Martin Buchholz <martin@xemacs.org>
6759 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
6760 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
6761 (CCL_SUSPEND): Likewise.
6762 (CCL_INVALID_CMD): Likewise.
6763 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
6764 (ccl_driver): Likewise.
6765 (CCL_WRITE_CHAR): Macro hygiene.
6766 (CCL_WRITE_STRING): Macro hygiene.
6768 2001-01-22 Martin Buchholz <martin@xemacs.org>
6770 Port "portable" dumper to SunOS 4 and HP-UX.
6771 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
6772 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
6773 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
6775 2001-01-22 Martin Buchholz <martin@xemacs.org>
6777 * lisp.h (ALIGNOF): A better definition for C++.
6779 2001-01-20 Martin Buchholz <martin@xemacs.org>
6782 Fix printf warnings: int format, long int arg.
6783 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
6784 (PUSH_FAILURE_POINT): Use correct printf formats.
6785 (POP_FAILURE_POINT): Use correct printf formats.
6786 Use do {...} while (0)
6788 2001-01-20 Martin Buchholz <martin@xemacs.org>
6790 * XEmacs 21.2.42 "Poseidon" is released.
6792 2001-01-20 Martin Buchholz <martin@xemacs.org>
6794 * console-x.h: typo fix du jour. Remove #if 0'ed code.
6796 2001-01-19 Martin Buchholz <martin@xemacs.org>
6798 De-kludgify FIXED_TYPE free list frobbing.
6799 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
6800 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
6801 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
6802 * alloc.c (Lisp_Free): New pseudo lisp object definition.
6803 * alloc.c (LRECORD_FREE_P): New.
6804 * alloc.c (MARK_LRECORD_AS_FREE): New.
6805 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
6806 * alloc.c (STRUCT_FREE_P): Deleted.
6807 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
6808 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
6809 * alloc.c (STRING_CHARS_FREE_P): New.
6810 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
6811 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
6812 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
6813 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
6814 * alloc.c (resize_string): Use new definitions.
6815 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
6816 * alloc.c (verify_string_chars_integrity): Use new definitions.
6817 * alloc.c (compact_string_chars): Use new definitions.
6818 * alloc.c: Update monster comments.
6819 * lrecord.h (lrecord_type): Add some new lrecord types for
6822 2001-01-18 Martin Buchholz <martin@xemacs.org>
6824 Improve alignment hackery.
6825 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
6826 (max_align_t): Moved from opaque.h - general purpose.
6827 (ALIGN_PTR): Use size_t, not long.
6828 * opaque.h (max_align_t): Move to lisp.h.
6830 2001-01-18 Norbert Koch <nk@LF.net>
6832 * gui.h: Fix and add prototypes to fix build problems.
6834 2001-01-18 Martin Buchholz <martin@xemacs.org>
6836 temacs is going away, so `dump-temacs' is now a bad name.
6837 * .dbxrc (dump-temacs): Rename to `dmp'.
6838 * .gdbinit (dump-temacs): Rename to `dmp'.
6840 2001-01-17 Andy Piper <andy@xemacs.org>
6842 * glyphs.c (print_image_instance): comment to make martin happy.
6844 * glyphs-x.c (x_redisplay_widget): update faces after a frame
6847 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
6849 (mswindows_tab_control_redisplay): warning suppression.
6851 * glyphs-widget.c (widget_update): re-write to cope with updated
6853 (widget_instantiate): use new gui_item functions.
6854 (tab_control_update): deleted.
6855 (progress_gauge_update): deleted.
6856 (image_instantiator_progress_guage): take out update reference.
6857 (image_instantiator_tree_view): ditto.
6858 (image_instantiator_tab_control): ditto.
6860 * gui.c (widget_gui_parse_item_keywords): new function. Do things
6862 (gui_item_add_keyval_pair): re-write to cope with descriptors and
6863 return whether anything was changed.
6864 (update_gui_item_keywords): as it sounds.
6866 * gui.h: declare widget_gui_parse_item_keywords.
6868 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
6869 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
6871 2001-01-17 Martin Buchholz <martin@xemacs.org>
6873 * XEmacs 21.2.41 "Polyhymnia" is released.
6875 2001-01-16 Didier Verna <didier@xemacs.org>
6877 * glyphs.c (image_instantiate): don't use fallbacks when
6878 instantiating a face's background pixmap by inheritance.
6880 2001-01-14 Mike Sperber <mike@xemacs.org>
6882 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
6883 Conditionalize accordingly.
6885 2001-01-16 Martin Buchholz <martin@xemacs.org>
6887 * dumper.c (pdump_file_get): Fix a compiler warning.
6889 2001-01-15 Martin Buchholz <martin@xemacs.org>
6891 Make Purify happy when pdumping.
6892 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
6893 iniitalizing all bits of new lisp object memory.
6894 * symbols.c (Fmake_local_variable): Likewise.
6895 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
6896 * symbols.c (Fdefvaralias): Likewise.
6897 * mule-charset.c (vars_of_mule_charset): Likewise.
6899 2001-01-15 Martin Buchholz <martin@xemacs.org>
6900 Add the `-nd' flag when running pre-dump operations under the debugger.
6901 * .dbxrc (run-temacs): Add `-nd'.
6902 * .dbxrc (update-elc): Likewise.
6903 * .dbxrc (dump-temacs): Likewise.
6904 * .gdbinit (run-temacs): Likewise.
6905 * .gdbinit (check-temacs): Likewise.
6906 * .gdbinit (update-elc): Likewise.
6907 * .gdbinit (dump-temacs): Likewise.
6909 2001-01-14 Martin Buchholz <martin@xemacs.org>
6911 Allow building 64-bit executables on AIX with GNU malloc, e.g.
6912 export OBJECT_MODE=64
6913 configure --pdump --use-union-type=no
6914 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
6915 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
6917 * miscplay.c (sndcnv8U_2mono):
6918 Avoid two uses of `++' in the same expression.
6919 Suppresses a GCC warning.
6921 2001-01-13 Martin Buchholz <martin@xemacs.org>
6923 Make sure future compilers don't miscompile alloc.c.
6925 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
6926 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
6928 2001-01-12 Martin Buchholz <martin@xemacs.org>
6930 * dumper.c: A little post-pdump-rename comment fixup.
6932 2001-01-09 Jerry James <james@eecs.ku.edu>
6934 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
6936 2001-01-13 Martin Buchholz <martin@xemacs.org>
6938 * *.[ch]: Globally rename symbols using the following `pdump-rename'
6942 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
6945 replace_symbol pdump_wire_lists pdump_weak_object_chains
6946 replace_symbol pdump_wire_list dump_add_weak_object_chain
6948 replace_symbol pdump_wires pdump_root_objects
6949 replace_symbol pdump_wire dump_add_root_object
6951 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
6952 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
6954 replace_symbol dumpstructinfos pdump_root_struct_ptrs
6955 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
6956 replace_symbol dumpstructinfo pdump_root_struct_ptr
6957 replace_symbol dumpstruct dump_add_root_struct_ptr
6959 replace_symbol dumpopaque dump_add_opaque
6960 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
6961 replace_symbol dumpopaqueinfos pdump_opaques
6962 replace_symbol dumpopaqueinfo pdump_opaque
6964 replace_symbol nb_structdump nb_root_struct_ptrs
6965 replace_symbol nb_opaquedump nb_opaques
6967 replace_symbol align_table pdump_align_table
6968 replace_symbol dump_header pdump_header
6970 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
6971 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
6974 2001-01-12 Martin Buchholz <martin@xemacs.org>
6976 * s/aix4.h: Keep the C for AIX compiler from overaggressively
6977 optimizing bytecount_to_charcount().
6979 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
6982 (HAVE_DLFCN_H): Removed.
6983 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
6985 2001-01-06 Martin Buchholz <martin@xemacs.org>
6987 Portable dumper maintainability improvements.
6988 * alloc.c (staticpro):
6989 * alloc.c (staticpro_nodump):
6990 * alloc.c (garbage_collect_1):
6991 * alloc.c (reinit_alloc_once_early):
6992 * alloc.c (init_alloc_once_early):
6993 * alloc.c: Move dumper functions to alloc.c.
6994 * dumper.c (pdump_backtrace):
6995 * dumper.c (pdump_dump_structs):
6996 * dumper.c (pdump_dump_opaques):
6997 * dumper.c (pdump_dump_rtables):
6998 * dumper.c (pdump_dump_wired):
7000 * dumper.c (pdump_load_check):
7001 * dumper.c (pdump_load_finish):
7002 * dumper.c (pdump_file_unmap):
7003 * dumper.c (pdump_file_get):
7004 * dumper.c (pdump_resource_free):
7005 * dumper.c (pdump_resource_get):
7006 * dumper.c (pdump_file_free):
7007 * dumper.c (pdump_file_try):
7008 * dumper.c (pdump_load):
7009 Remove fixed size limits on staticpro(), staticpro_nodump(),
7010 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
7011 Remove custom code for dumping lrecord_implementations_table - use
7013 Remove (most of the) custom code for dumping staticpros - dump it
7014 like any other dynarr.
7016 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
7017 * dumper.c: Moved functions from alloc.c.
7018 * alloc.c (dumpstruct): Moved to dumper.c.
7019 * alloc.c (dumpopaque): Likewise.
7020 * alloc.c (pdump_wire): Likewise.
7021 * alloc.c (pdump_wire_list): Likewise.
7023 * lisp.h (Dynarr_sizeof): New.
7024 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
7025 * lisp.h (Dynarr_end): New. Very slightly C++oid.
7026 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
7028 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
7029 * lisp.h (dumpopaque): ditto.
7030 * lisp.h (pdump_wire): ditto.
7031 * lisp.h (pdump_wire_list): ditto.
7033 2001-01-09 Martin Buchholz <martin@xemacs.org>
7035 * make-src-depend (PrintPatternDeps):
7036 Use `sort' to make output independent of perl version.
7038 2001-01-08 Martin Buchholz <martin@xemacs.org>
7041 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
7042 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
7044 2001-01-03 Didier Verna <didier@xemacs.org>
7046 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
7047 that `focus_frame' is alive before thinking of calling
7048 `redisplay_redraw_cursor' on it.
7050 2001-01-08 Martin Buchholz <martin@xemacs.org>
7052 * XEmacs 21.2.40 is released.
7054 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7056 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
7058 2001-01-06 Martin Buchholz <martin@xemacs.org>
7060 * alloc.c (dbg_valmask): Make const.
7061 * alloc.c (dbg_typemask): Make const.
7062 * alloc.c (dbg_USE_UNION_TYPE): Make const.
7063 * alloc.c (dbg_valbits): Make const.
7064 * alloc.c (dbg_gctypebits): Make const.
7066 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
7068 * redisplay-x.c (x_bevel_area):
7069 redisplay.h (struct rune):
7070 Typo fixes in comments.
7072 2001-01-05 Andy Piper <andy@xemacs.org>
7074 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7077 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7079 2001-01-05 Martin Buchholz <martin@xemacs.org>
7081 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7083 * mule-ccl.c (stack_idx_of_map_multiple):
7084 Non const global data must not be initialized!
7085 Found by MIYASHITA Hisashi.
7087 2001-01-02 Andy Piper <andy@xemacs.org>
7089 * frame.c (change_frame_size): make sure frame size is always
7092 * glyphs.c (image_instance_layout): minor code reuse.
7094 * window.c (Fcurrent_window_configuration): revert previous
7097 2001-01-02 Martin Buchholz <martin@xemacs.org>
7100 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
7102 2000-12-31 Andy Piper <andy@xemacs.org>
7104 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
7105 when widget gets unmapped.
7107 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
7108 function. Make sure widgets losing focus don't just drop it.
7109 (handle_focus_event_1): record the widget with focus.
7111 2000-12-31 Andy Piper <andy@xemacs.org>
7113 * window.c (allocate_window): use
7114 make_image_instance_cache_hash_table.
7115 (make_dummy_parent): ditto.
7116 (Fset_window_configuration): ditto.
7118 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
7120 * glyphs.c (process_image_string_instantiator): use
7122 (get_image_instantiator_governing_domain): ditto.
7123 (normalize_image_instantiator): ditto.
7124 (instantiate_image_instantiator): ditto.
7125 (make_image_instance_1): ditto.
7126 (image_instantiate): ditto. Key on glyph *and* instantiator type.
7127 (instantiator_eq_equal): new function for use with instance hash
7129 (instantiator_eq_hash): ditto.
7130 (make_image_instance_cache_hash_table): create a suitable hash
7131 table for storing image instances.
7133 * elhash.h (hash_table_weakness): new internal weakness type
7134 HASH_TABLE_KEY_CAR_VALUE_WEAK.
7135 declare new functions.
7137 * elhash.c (finish_marking_weak_hash_tables): introduce yet
7138 another weakness type for glyphs.
7139 (make_standard_lisp_hash_table): new function split out from
7140 make_general_lisp_hash_table.
7141 (make_lisp_hash_table): call make_standard_lisp_hash_table.
7142 (hash_table_instantiate): ditto.
7143 (Fmake_hash_table): ditto.
7145 2000-12-31 Martin Buchholz <martin@xemacs.org>
7147 * XEmacs 21.2.39 is released.
7149 2000-12-29 Andy Piper <andy@xemacs.org>
7151 * menubar.c (menubar_visible_p_changed): signal the frame changed.
7153 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
7154 the frame has changed so that we pick up geometry changes such as
7157 2000-12-28 Andy Piper <andy@xemacs.org>
7159 * lastfile.c (my_ebss): make a char array so we can pad the
7160 bss. Fixes cygwin unexec.
7162 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
7164 2000-12-26 Andy Piper <andy@xemacs.org>
7166 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
7167 comments and try and be more precise about a non-/SIGIO world.
7168 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
7171 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
7172 we don't normalize to zero width or height.
7174 2000-12-24 Andy Piper <andy@xemacs.org>
7176 * Makefile.in.in (ldflags): add -mwindows when appropriate.
7178 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
7180 * s/sco5.h: SCO 5 has pty support.
7182 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
7184 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
7185 input-method-xlib.c contains whole contents of input-method-xfs.c,
7186 so we can use input-method-xlib.c's code for USE_XFONTSET
7188 * input-method-xfs.c: removed.
7190 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
7192 * file-coding.h (enum coding_category_type): reorder enumerators to
7193 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
7194 (now one greater than largest real coding_category_type enumerator).
7195 * file-coding.c (coding_category_symbol, coding_category_by_priority,
7196 coding_category_system, fcd_descriptihon_1, decode_coding_category,
7197 Fcoding_category_list, Fset_coding_priority_list,
7198 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
7199 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
7201 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7203 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
7204 * redisplay-output.c (redisplay_output_window): Clear top of window
7205 when face is changed.
7206 * redisplay-x.c (x_redraw_exposed_window): Call
7207 redisplay_clear_top_of_window.
7208 * redisplay.h: Publish redisplay_clear_top_of_window.
7210 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7212 * buffer.c (Fkill_buffer): Map over all devices.
7213 * window.c (window_loop): Remove UNSHOW_BUFFER code.
7214 (list_windows): New function.
7215 (list_all_windows): Ditto.
7216 (Freplace_buffer_in_windows): Use them.
7218 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
7220 * database.c (berkdb_subtype): Recognize new subtype `queue'.
7221 (Fopen_database): Use `db_create' instead of `db_open'.
7222 (syms_of_database): Initialize Qqueue.
7224 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7226 * buffer.c (common_init_complex_vars_of_buffer): Initialize
7227 buffer_local_face_property.
7228 * buffer.h (struct buffer): New member buffer_local_face_property.
7229 * window.c (Fset_window_buffer): Mark window's face as changed
7230 when buffer has buffer local face.
7231 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
7232 * objects.c (color_after_change): Set buffer_local_face_property
7233 when locale of face specifier is buffer.
7234 * objects.c (font_after_change): Ditto.
7235 * objects.c (face_boolean_after_change): Ditto.
7236 * glyphs.c (image_after_change): Ditto.
7238 2000-12-09 Dan Holmsand <dan@eyebee.com>
7240 * nt.c (mswindows_fstat): Report file permissions, volume serial
7241 number, etc. Code adapted from FSF Emacs 20.7.
7243 2000-12-09 Dan Holmsand <dan@eyebee.com>
7245 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
7246 of stat when we don't have symbolic links, to make sure
7247 mswindows_stat is called on mswindows.
7249 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7251 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
7253 2000-12-12 Martin Buchholz <martin@xemacs.org>
7255 * doprnt.c (emacs_doprnt_1): More printing fixes.
7256 Make printing of numbers compatible with libc and FSF Emacs.
7257 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
7258 Use the system printf to do most of the hard work of formatting,
7259 instead of doprnt_1().
7260 Calculate memory to allocate for format string.
7261 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
7262 (doprnt_1): Cleaner code and documentation.
7264 2000-12-01 Jerry James <james@eecs.ukans.edu>
7266 * Makefile.in.in: Use the loop variable to install headers.
7268 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7270 * window.c (Fsplit_window): Don't invalidate face cache.
7272 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7274 * minibuf.c (Fall_completions): Undo the previous change
7275 which removed checking elements start with space.
7277 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7279 * mule-canna.c: Didier suppression.
7281 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7283 * mule-canna.c: rename static unsigned char buf[] to key_buffer
7284 (warning suppression). Add English comment translations.
7286 2000-12-05 Martin Buchholz <martin@xemacs.org>
7288 * unexelfsgi.c (unexec): Better test for mmap failure.
7290 2000-12-05 Martin Buchholz <martin@xemacs.org>
7292 * XEmacs 21.2.38 is released.
7294 2000-12-05 Martin Buchholz <martin@xemacs.org>
7296 * redisplay.c (bar-cursor): Make a user variable.
7298 * symsinit.h: Add init_postgresql_from_environment.
7300 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7302 * regex.c: Convert to clean C.
7304 2000-12-05 Dan Holmsand <dan@eyebee.com>
7307 Don't #include sysfile.h. Revert to duplicating PATH_MAX
7309 (sys_readlink): renamed to system_readlink to avoid conflict with
7310 the other sys_readlink.
7312 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
7314 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
7316 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
7318 * postgresql.c (init_postgresql_from_environment): new function.
7319 (vars_of_postgresql): Move code initializing Lisp variables out and
7320 into init_postgresql_from_environment.
7321 emacs.c (main_1): Call init_postgresql_from_environment if and only
7322 if running a dumped XEmacs.
7324 2000-08-31 Dan Holmsand <dan@eyebee.com>
7326 * buffer.c: Make find-file-compare-truenames default to true on
7329 * realpath.c (win32_abs_start):
7331 (win32_readlink): New functions.
7332 (xrealpath): Return really real filenames on windows.
7334 * fileio.c (Ffile_truename): Make file-truename work on windows.
7336 2000-11-29 Didier Verna <didier@xemacs.org>
7338 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
7339 * faces.c (update_face_cachel_data): use it.
7340 * faces.c (add_face_cachel): use it. Complete background pixmap
7341 frobbing in face cache if `update_face_cachel_data' has not done so.
7343 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
7345 * search.c (string_match_1): Don't set last_thing_searched
7348 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
7350 * buffer.c: Include casetab.h
7351 (common_init_complex_vars_of_buffer): Use new case-table object.
7352 * buffer.h: Include casetab.h
7353 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
7354 (DOWNCASE_TABLE_OF): Ditto.
7355 * bufslots.h: Remove char-tables and add case-table.
7356 * casetab.c: Include casetab.h
7357 (CASE_TABLE_P): Removed.
7358 (mark_case_table): New function.
7359 (allocate_case_table): New function.
7360 (Fcase_table_p): Use new case-table.
7361 (case_table_char): New function.
7362 (Fget_case_table): Ditto.
7363 (Fput_case_table): Ditto.
7364 (Fput_case_table_pair): Ditto.
7365 (Fcopy_case_table): Ditto.
7366 (Fcurrent_case_table): Return case-table.
7367 (Fstandard_case_table): Return case-table.
7368 (Fset_case_table): Fix doc-string.
7369 (set_case_table): Use case-table
7370 (syms_of_casetab): DEFSUBR new functions.
7371 (complex_vars_of_casetab): Set up standard case-table.
7372 * casetab.h: New file.
7373 * editfns.c: Include casetab.h
7374 (Fcompare_buffer_substrings): Use case-table.
7375 * inline.c: Include casetab.h
7376 * lisp.h: Remove bogus extern.
7377 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
7378 * search.c: Include casetab.h
7379 (TRANSLATE_ASCII): Removed.
7380 (TRANSLATE): Unconditionally translate character.
7381 (looking_at_1): Use case-table.
7382 (string_match_1): Ditto.
7383 (fast_string_match): Ditto.
7384 (search_command): Ditto.
7385 (search_buffer): Separate boyer_moore. Check whether
7386 boyer_moore is possible.
7387 (simple_search): New function.
7388 (boyer_moore): Separated from search_buffer. Translate char.
7390 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
7392 * regex.c (RE_TR_ASCII): Removed.
7393 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
7394 (PATFETCH): Call PATFETCH_RAW.
7395 (PATFETCH_RAW): Fetch Emchar.
7396 (PATUNFETCH): Decrement charptr.
7397 (GET_BUFFER_SPACE): Rename b to buf_end.
7399 (BUF_PUSH_2): Ditto.
7400 (BUF_PUSH_3): Ditto.
7401 (EXTEND_BUFFER): Ditto.
7402 (SET_LIST_BIT): Ditto.
7403 (regex_compile): Ditto. Translate non ASCII char.
7404 (compile_range): Ditto.
7405 (re_search_2): Ditto.
7406 (re_match_2_internal): Compare Emchar.
7407 (bcmp_translate): Ditto.
7409 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
7411 * lisp.h (basic char/int typedefs): comment improvement.
7413 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
7415 * emacs.c (main_1): unconditional pdump unstomping; don't save and
7416 unstomp inhibit_site_lisp. Improve comments.
7418 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
7420 * mule-charset.c (Fcharset_property): improve type checking, comments.
7422 2000-11-28 Andy Piper <andy@xemacs.org>
7424 * redisplay-output.c (redisplay_output_subwindow): make sure we do
7425 clipped display for windows in the gutter also.
7426 (redisplay_display_boxes_in_window_p): change semantics of return
7427 codes to be more intuitive.
7429 * gutter.h: declare display_boxes_in_gutter_p.
7431 * gutter.c (display_boxes_in_gutter_p): new function for
7434 2000-11-22 Andy Piper <andy@xemacs.org>
7436 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
7439 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
7441 * callproc.c (Fold_call_process_internal):
7442 * gpm.c (Freceive_gpm_event):
7443 (tty_get_foreign_selection): Might be just warning supression.
7444 * fileio.c (Fwrite_region_internal):
7445 (Fset_visited_file_modtime):
7446 * keymap.c (event_matches_key_specifier_p):
7447 Initialize GCPROed variable.
7449 * menubar-x.c (command_builder_find_menu_accelerator):
7450 Initialize before use.
7452 2000-11-23 Andy Piper <andy@xemacs.org>
7454 * unexcw.c (unexec): make the resulting executable executable.
7456 2000-11-21 Martin Buchholz <martin@xemacs.org>
7458 * doc.c (get_doc_string):
7459 Use size_t, not int, for result of XSTRING_LENGTH.
7461 * cmds.c (Fdelete_char):
7462 * cmds.c (Fpoint_at_eol):
7463 * cmds.c (Fself_insert_command):
7464 Use EMACS_INT, not int, for result of XINT.
7465 Someday, someone will want to insert more than 2**31 identical characters.
7467 * cmds.c (Fdelete_char):
7468 * cmds.c (Fdelete_backward_char):
7469 * syntax.c (Fforward_word):
7470 * syntax.c (Fforward_comment):
7471 Make COUNT argument optional, for consistency with forward-char et al.
7473 2000-11-22 Martin Buchholz <martin@xemacs.org>
7476 * print.c (long_to_string):
7477 Return a useful value: the pointer at end of data written.
7480 Use `static const char * const' for constant strings.
7481 (union printf_arg): Delete `i', `ui' members.
7484 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
7485 Do all printf-ing via the `l' specifier.
7486 Use EMACS_INT instead of int.
7489 2000-11-20 Didier Verna <didier@xemacs.org>
7491 * faces.c (update_face_cachel_data): don't frob the background
7492 pixmap when the window is being created. The face is needed but
7495 2000-11-20 Andy Piper <andy@xemacs.org>
7497 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
7498 messing with a debug environment.
7500 2000-11-20 Martin Buchholz <martin@xemacs.org>
7502 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
7504 2000-11-20 Martin Buchholz <martin@xemacs.org>
7506 * casetab.c (Fcase_table_p): Fix compile error and crash.
7508 2000-11-18 Philip Aston <philipa@mail.com>
7510 * s/cygwin32.h: Cygwin has SVR4-like pty support.
7512 2000-11-18 Martin Buchholz <martin@xemacs.org>
7514 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
7515 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
7517 2000-11-17 Martin Buchholz <martin@xemacs.org>
7519 * config.h.in: Define HAVE_ELF_H if elf.h exists.
7520 * unexelf.c: Use HAVE_ELF_H.
7521 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
7522 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
7523 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
7524 Greg Harrington <greg_harrington@hotmail.com> provided a machine
7526 So this is an unexelfsgi.c from a different line of development.
7528 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7530 * regex.c (RE_TR_ASCII): New function.
7531 (RE_TRANSLATE): Call it.
7533 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7535 * buffer.h (TRT_TABLE_OF): Remove assert.
7536 (IN_TRT_TABLE_DOMAIN): Removed.
7538 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
7540 * free-hook.c (log_gcpro):
7541 (show_gcprohist): Add support for GCPRO5.
7543 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
7545 * emacs.c (main_1): Improve -sd error message when --pdump=no.
7547 2000-11-16 Olivier Galibert <galibert@xemacs.org>
7549 * symeval.h: Declare flush_all_buffer_local_cache.
7551 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
7552 (flush_buffer_local_cache): Added.
7553 (flush_all_buffer_local_cache): Added.
7555 * lrecord.h: Remove unused XD_LO_RESET_NIL.
7557 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
7558 (pdump_dump_data): Ditto.
7559 (pdump_reloc_one): Ditto.
7560 (pdump): Remove unused pdump_qnil. Flush buffer local caches
7564 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
7566 * buffer.c: Remove if 0'ed entry.
7567 * buffer.h: Rewrite TRT to use char-table.
7568 * bufslots.h: Remove mirror tables.
7569 * casetab.c: Remove mirror tables.
7570 (CASE_TABLE_P): New macro.
7571 (Fcase_table_p): Element of a case table is string or char-table.
7572 (make_mirror_trt_table): Removed.
7573 (set_case_table): Setup char-table from strings for backward
7575 * dired.c (Fdirectory_files):
7576 * dired-msw.c: (mswindows_get_files):
7577 * lisp.h: Change prototype of re_pattern_buffer.
7578 * regex.c: (RE_TRANSLATE): New macro.
7579 (TRANSLATE_P): Ditto.
7580 Change translate to type RE_TRANSLATE_TYPE.
7581 * regex.h: Define RE_TRANSLATE_TYPE
7582 * search.c (TRANSLATE): New macro.
7583 (TRANSLATE_ASCII): New macro.
7584 Translate table is changed to Lisp_Object.
7585 (signal_failure): Inhibit return.
7587 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
7594 Do UNGCPRO before return.
7596 2000-11-14 Martin Buchholz <martin@xemacs.org>
7598 * XEmacs 21.2.37 is released.
7600 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7602 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
7603 Add comments about discarded return value.
7605 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
7608 * event-stream.c: Fix comments. Remove some #if 0'ed part.
7610 2000-10-27 Andy Piper <andy@xemacs.org>
7612 * gutter.c (Fset_default_gutter_position): default left and right
7614 (calculate_gutter_size): calculate resonable heuristic for left
7615 and right gutter sizes.
7616 (specifier_vars_of_gutter): change left and right gutter sizes to
7618 (calculate_gutter_size_from_display_lines): new function.
7619 (output_gutter): check for resizing on left and right gutters.
7620 (clear_gutter): don't special case top and left gutters.
7621 (specifier_vars_of_gutter): use new signature for
7622 set_specifier_caching.
7624 * glyphs-x.c (x_redisplay_widget): spelling fix.
7625 * glyphs.c (specifier_vars_of_glyphs):
7626 * menubar.c (specifier_vars_of_menubar):
7627 * redisplay.c (specifier_vars_of_redisplay):
7628 * toolbar.c (specifier_vars_of_toolbar):
7629 * window.c (specifier_vars_of_window):
7630 * scrollbar.c (specifier_vars_of_scrollbar):
7631 (complex_vars_of_scrollbar): use new signature for
7632 set_specifier_caching.
7634 * specifier.c (set_specifier_caching): include recompute flag.
7635 (recompute_one_cached_specifier_in_window): always recompute if
7637 (recompute_one_cached_specifier_in_frame): ditto.
7639 * specifier.h (struct specifier_caching): add recompute flag.
7641 2000-10-24 Andy Piper <andy@xemacs.org>
7643 * unexcw.c (copy_executable_and_dump_data_section): add new
7644 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
7647 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7649 * console-x.h (x_device): New member modifier_release_time.
7650 * event-Xt.c (x_handle_sticky_modifiers):
7651 Bound interval modifier keys are sticky.
7652 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
7653 * events.h: extern it.
7655 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7657 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
7659 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7661 * event-stream.c (execute_command_event): Preserve current_events
7662 and the like when event is misc-user-event.
7663 Inhibit quit during the call to maybe_echo_keys.
7665 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
7667 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
7668 symlink when buffer is killed.
7669 (inhibit_clash_detection): New variable.
7671 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
7673 * console.c (Fset_input_method): Trigger redisplay on tty.
7675 2000-11-07 Martin Buchholz <martin@xemacs.org>
7677 * process.c (Fprocess_status): Revert to previous behavior:
7678 (process-status "nosuchprocess") ==> nil
7680 2000-11-06 Martin Buchholz <martin@xemacs.org>
7682 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
7683 Work around another GCC 2.95.2 optimizer bug.
7685 2000-11-02 Martin Buchholz <martin@xemacs.org>
7687 * process.c (Fget_process): Use LIST_LOOP_2.
7688 (kill_buffer_processes): Use LIST_LOOP_2.
7690 * minibuf.c (Fall_completions):
7691 Delete old non-functional code for FSF fourth argument.
7693 * frame.c (frame_matches_frame_spec):
7694 Renamed from `frame_matches_frametype'. Update all callers.
7695 (device_matches_device_spec):
7696 Renamed from 'device_matches_console_spec'. Update all callers.
7698 * doc.c (Fsubstitute_command_keys):
7699 Remove buffer overflow crash. Small code cleanups.
7701 * casetab.c (check_case_table): Simpler code.
7703 * window.c (Freplace_buffer_in_windows):
7704 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
7705 (and similar implementation) as Fdelete_windows_on.
7708 * alloc.c (Fmake_list):
7709 * alloc.c (make_vector):
7710 * alloc.c (Fmake_vector):
7711 * alloc.c (make_bit_vector):
7712 * alloc.c (Fmake_bit_vector):
7713 * alloc.c (Fbit_vector):
7714 * alloc.c (Fmake_string):
7715 * alloc.c (Fpurecopy):
7716 * alloc.c (Fmemory_limit):
7718 * buffer.c (Fget_buffer):
7719 * buffer.c (Fkill_buffer):
7720 * buffer.c (complex_vars_of_buffer):
7721 * bytecode.c (Fcompiled_function_stack_depth):
7722 * callint.c (Fprefix_numeric_value):
7724 * event-stream.c (Fread_key_sequence):
7726 * casetab.c (Fcase_table_p):
7727 * casetab.c (check_case_table):
7728 * casetab.c (Fset_case_table):
7729 * casetab.c (Fset_standard_case_table):
7731 * chartab.c (Fchar_table_type):
7732 * chartab.c (Freset_char_table):
7733 * chartab.c (Fget_char_table):
7734 * chartab.c (Fget_range_char_table):
7735 * chartab.c (Fput_char_table):
7736 * chartab.c (Fmap_char_table):
7737 * chartab.c (Fcategory_table_p):
7738 * chartab.c (Fcheck_category_at):
7739 * chartab.c (Fchar_in_category_p):
7740 * chartab.c (Fcategory_table):
7741 * chartab.c (Fcopy_category_table):
7742 * chartab.c (Fset_category_table):
7743 * chartab.c (Fcategory_designator_p):
7744 * chartab.c (Fcategory_table_value_p):
7745 * cmds.c (Fdelete_char):
7746 * cmds.c (Fdelete_backward_char):
7747 * cmds.c (Fself_insert_command):
7748 * cmds.c (Fself_insert_internal):
7749 * console.c (Fvalid_console_type_p):
7750 * console.c (Fcdfw_console):
7751 * console.c (Fconsole_type):
7752 * console.c (Fconsole_name):
7753 * console.c (Fconsole_device_list):
7754 * console.c (Fconsole_on_window_system_p):
7758 * data.c (Fsubr_interactive):
7759 * data.c (Fchar_to_int):
7760 * data.c (Fint_to_char):
7763 * data.c (Fnumber_to_string):
7764 * data.c (Fstring_to_number):
7766 * database.c (mark_database):
7767 * database.c (finalize_database):
7768 * database.c (Fdatabase_live_p):
7769 * database.c (Fdatabasep):
7770 * device-x.c (Fx_get_resource):
7771 * device.c (Fdfw_device):
7773 * dired.c (Ffile_name_completion):
7774 * dired.c (Ffile_name_all_completions):
7775 * dired.c (Fuser_name_completion):
7776 * dired.c (Fuser_name_completion_1):
7777 * dired.c (Fuser_name_all_completions):
7778 * doc.c (Fdocumentation):
7779 * doc.c (Fdocumentation_property):
7780 * doc.c (Fsubstitute_command_keys):
7782 * editfns.c (Fchar_to_string):
7783 * editfns.c (Fstring_to_char):
7784 * editfns.c (Ftemp_directory):
7785 * editfns.c (Finsert_char):
7786 * editfns.c (Fbuffer_substring_no_properties):
7787 * editfns.c (Fnarrow_to_region):
7788 * editfns.c (Fchar_equal):
7789 * editfns.c (Fchar_Equal):
7790 * editfns.c (Ftranspose_regions):
7791 * emacs.c (Fdump_emacs):
7793 * eval.c (Fcommand_execute):
7794 * eval.c (Fautoload):
7795 * eval.c (Fbacktrace):
7796 * eval.c (Fbacktrace_frame):
7798 * events.c (Fcopy_event):
7799 * events.c (Fcharacter_to_event):
7800 * events.c (Fevent_button):
7801 * events.c (Fevent_process):
7803 * extents.c (Fnext_extent_change):
7804 * extents.c (Fextent_property):
7806 * faces.c (Fmake_face):
7808 * file-coding.c (Fencode_shift_jis_char):
7809 * file-coding.c (Fencode_big5_char):
7810 * fileio.c (Ffile_name_directory):
7811 * fileio.c (Ffile_name_nondirectory):
7812 * fileio.c (Ffile_name_as_directory):
7813 * fileio.c (Fdirectory_file_name):
7814 * fileio.c (Ffile_truename):
7815 * fileio.c (Fsubstitute_in_file_name):
7816 * fileio.c (Ffile_modes):
7817 * fileio.c (Fset_file_modes):
7818 * fileio.c (Fset_default_file_modes):
7819 * fileio.c (Fverify_visited_file_modtime):
7820 * floatfns.c (Facos):
7821 * floatfns.c (Fasin):
7822 * floatfns.c (Fatan):
7823 * floatfns.c (Fcos):
7824 * floatfns.c (Fsin):
7825 * floatfns.c (Ftan):
7826 * floatfns.c (Fbessel_j0):
7827 * floatfns.c (Fbessel_j1):
7828 * floatfns.c (Fbessel_jn):
7829 * floatfns.c (Fbessel_y0):
7830 * floatfns.c (Fbessel_y1):
7831 * floatfns.c (Fbessel_yn):
7832 * floatfns.c (Ferf):
7833 * floatfns.c (Ferfc):
7834 * floatfns.c (Flog_gamma):
7835 * floatfns.c (Fexp):
7836 * floatfns.c (Fexpt):
7837 * floatfns.c (Flog):
7838 * floatfns.c (Flog10):
7839 * floatfns.c (Fsqrt):
7840 * floatfns.c (Fcube_root):
7841 * floatfns.c (Facosh):
7842 * floatfns.c (Fasinh):
7843 * floatfns.c (Fatanh):
7844 * floatfns.c (Fcosh):
7845 * floatfns.c (Fsinh):
7846 * floatfns.c (Ftanh):
7847 * floatfns.c (Fabs):
7848 * floatfns.c (Ffloat):
7849 * floatfns.c (Flogb):
7850 * floatfns.c (Fceiling):
7851 * floatfns.c (Ffloor):
7852 * floatfns.c (Fround):
7853 * floatfns.c (Ftruncate):
7854 * floatfns.c (Ffceiling):
7855 * floatfns.c (Fffloor):
7856 * floatfns.c (Ffround):
7857 * floatfns.c (Fftruncate):
7858 * fns.c (Fstring_equal):
7859 * fns.c (Fstring_lessp):
7864 * fns.c (Fsubstring):
7866 * fns.c (Fold_assoc):
7867 * fns.c (assoc_no_quit):
7869 * fns.c (Fold_assq):
7870 * fns.c (assq_no_quit):
7872 * fns.c (Fold_rassoc):
7874 * fns.c (Fold_rassq):
7875 * fns.c (rassq_no_quit):
7876 * fns.c (Fremassoc):
7877 * fns.c (remassoc_no_quit):
7879 * fns.c (remassq_no_quit):
7880 * fns.c (Fremrassoc):
7881 * fns.c (Fremrassq):
7882 * fns.c (remrassq_no_quit):
7884 * fns.c (Fplist_get):
7885 * fns.c (Fplist_put):
7886 * fns.c (Fplist_remprop):
7887 * fns.c (Fplist_member):
7888 * fns.c (Flax_plist_get):
7889 * fns.c (Flax_plist_put):
7890 * fns.c (Flax_plist_remprop):
7891 * fns.c (Flax_plist_member):
7893 * fns.c (Fold_equal):
7895 * fns.c (Fbase64_encode_region):
7896 * fns.c (Fbase64_encode_string):
7897 * fns.c (Fbase64_decode_region):
7899 * frame.c (frame_matches_frame_spec):
7900 * frame.c (device_matches_device_spec):
7901 * frame.c (next_frame):
7902 * frame.c (previous_frame):
7903 * frame.c (Fnext_frame):
7904 * frame.c (Fprevious_frame):
7905 * frame.c (Fframe_property):
7906 * frame.c (Fset_frame_height):
7907 * frame.c (Fset_frame_size):
7911 * glyphs.c (decode_error_behavior_flag):
7912 * glyphs.c (Fmake_image_instance):
7913 * indent.c (Findent_to):
7914 * intl.c (Fignore_defer_gettext):
7915 * keymap.c (Fkeymapp):
7916 * keymap.c (Flookup_key):
7918 * lread.c (Fload_internal):
7919 * lread.c (Feval_buffer):
7920 * lread.c (Feval_region):
7921 * macros.c (Fexecute_kbd_macro):
7922 * marker.c (set_marker_internal):
7923 * marker.c (Fset_marker):
7924 * marker.c (set_marker_restricted):
7925 * marker.c (Fcopy_marker):
7926 * marker.c (noseeum_copy_marker):
7928 * menubar.c (Fpopup_menu):
7930 * mule-charset.c (Fcharset_name):
7931 * mule-charset.c (Fchar_charset):
7932 * mule-charset.c (Fchar_octet):
7933 * mule-charset.c (Fsplit_char):
7934 * mule-wnnfns.c (Fwnn_open):
7935 * mule-wnnfns.c (Fwnn_dict_comment):
7936 * mule-wnnfns.c (Fwnn_quit_henkan):
7937 * mule-wnnfns.c (Fwnn_word_toroku):
7938 * mule-wnnfns.c (Fwnn_word_sakujo):
7939 * mule-wnnfns.c (Fwnn_word_use):
7940 * mule-wnnfns.c (Fwnn_hindo_set):
7942 * objects.c (Fmake_color_instance):
7943 * objects.c (Fmake_font_instance):
7944 * print.c (Fwrite_char):
7946 * process.c (mark_process):
7947 * process.c (print_process):
7948 * process.c (get_process_from_usid):
7949 * process.c (Fprocessp):
7950 * process.c (Fprocess_live_p):
7951 * process.c (Fget_process):
7952 * process.c (Fget_buffer_process):
7953 * process.c (get_process):
7954 * process.c (Fprocess_id):
7955 * process.c (Fprocess_name):
7956 * process.c (Fprocess_command):
7957 * process.c (init_process_io_handles):
7958 * process.c (start_process_unwind):
7959 * process.c (Fstart_process_internal):
7960 * process.c (Fopen_multicast_group_internal):
7961 * process.c (Fset_process_window_size):
7962 * process.c (read_process_output):
7963 * process.c (send_process):
7964 * process.c (Fprocess_tty_name):
7965 * process.c (Fset_process_buffer):
7966 * process.c (Fprocess_buffer):
7967 * process.c (Fprocess_mark):
7968 * process.c (set_process_filter):
7969 * process.c (Fset_process_filter):
7970 * process.c (Fprocess_filter):
7971 * process.c (Fprocess_send_region):
7972 * process.c (Fprocess_send_string):
7973 * process.c (exec_sentinel):
7974 * process.c (Fset_process_sentinel):
7975 * process.c (Fprocess_sentinel):
7976 * process.c (status_notify):
7977 * process.c (Fprocess_status):
7978 * process.c (Fprocess_exit_status):
7979 * process.c (process_send_signal):
7980 * process.c (Fprocess_send_eof):
7981 * process.c (deactivate_process):
7982 * process.c (remove_process):
7983 * process.c (Fdelete_process):
7984 * process.c (kill_buffer_processes):
7985 * process.c (Fprocess_kill_without_query):
7986 * process.c (Fprocess_kill_without_query_p):
7988 * rangetab.c (Fget_range_table):
7989 * rangetab.c (Fput_range_table):
7990 * rangetab.c (Fremove_range_table):
7991 * rangetab.c (Fclear_range_table):
7993 * search.c (Fskip_chars_forward):
7994 * search.c (Fskip_chars_backward):
7995 * search.c (Fskip_syntax_forward):
7996 * search.c (Fskip_syntax_backward):
7997 * search.c (search_command):
7998 * search.c (Freplace_match):
7999 * search.c (Fregexp_quote):
8000 * select.c (Fown_selection_internal):
8001 * select.c (Fselection_owner_p):
8002 * select.c (Fselection_exists_p):
8003 * select.c (Fget_selection_internal):
8006 * symbols.c (Fintern):
8007 * symbols.c (Fintern_soft):
8008 * symbols.c (Funintern):
8009 * symbols.c (Fapropos_internal):
8010 * symbols.c (Fset_default):
8012 * syntax.c (Fsyntax_table_p):
8013 * syntax.c (Fcopy_syntax_table):
8014 * syntax.c (Fset_syntax_table):
8015 * syntax.c (Fchar_syntax):
8016 * syntax.c (syntax_match):
8017 * syntax.c (Fmatching_paren):
8018 * syntax.c (Fforward_word):
8019 * syntax.c (scan_lists):
8020 * syntax.c (Fscan_lists):
8021 * syntax.c (Fscan_sexps):
8022 * syntax.c (Fparse_partial_sexp):
8023 * toolbar.c (Fcheck_toolbar_button_syntax):
8026 * window.c (Fwindowp):
8027 * window.c (Fwindow_live_p):
8028 * window.c (Fwindow_point):
8029 * window.c (Fdelete_window):
8030 * window.c (Fnext_window):
8031 * window.c (Fprevious_window):
8032 * window.c (Fother_window):
8033 * window.c (window_loop):
8034 * window.c (Fget_lru_window):
8035 * window.c (Fsplit_window):
8036 * window.c (Fenlarge_window):
8037 * window.c (Fenlarge_window_pixels):
8038 * window.c (Fshrink_window):
8039 * window.c (Fshrink_window_pixels):
8040 * window.c (change_window_height):
8041 * window.c (Fwindow_configuration_p):
8042 * window.c (Fcurrent_window_configuration):
8044 * casefiddle.c (casify_object):
8045 * casefiddle.c (Fupcase):
8046 * casefiddle.c (Fdowncase):
8047 * casefiddle.c (Fcapitalize):
8048 * casefiddle.c (Fupcase_initials):
8049 * casefiddle.c (casify_region_internal):
8050 * casefiddle.c (casify_region):
8051 * casefiddle.c (Fupcase_region):
8052 * casefiddle.c (Fdowncase_region):
8053 * casefiddle.c (Fcapitalize_region):
8054 * casefiddle.c (Fupcase_initials_region):
8055 * casefiddle.c (Fupcase_word):
8056 * casefiddle.c (Fdowncase_word):
8057 * casefiddle.c (Fcapitalize_word):
8058 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
8059 Replace 0 with '\0' when working with bytes.
8060 Replace initial "(" with "\(" in docstrings.
8062 2000-11-01 Martin Buchholz <martin@xemacs.org>
8064 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
8066 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
8068 2000-10-31 Martin Buchholz <martin@xemacs.org>
8070 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
8072 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8074 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8077 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8079 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8080 (inhibit_auto_save_session): New variable.
8081 (vars_of_fileio): Declare and initialize them.
8082 * fileio.c (Fdo_auto_save): Don't create session file if
8083 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8085 2000-10-31 Martin Buchholz <martin@xemacs.org>
8087 * sgiplay.c (play_internal): C++ compilability.
8088 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8089 * callproc.c (Fold_call_process_internal):
8090 Remove unused vars `env', `first'.
8091 * scrollbar.c (update_scrollbar_instance):
8092 #### unused var `current_window'.
8093 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8094 etc. within #ifdef NOT_YET.
8095 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8096 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8097 * specifier.c (specifier_instance):
8098 #### unused var `tag'.
8099 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8101 2000-10-27 Martin Buchholz <martin@xemacs.org>
8104 * fns.c (list_sort):
8105 * fns.c (Ffillarray):
8106 * fns.c (bytecode_nconc2):
8109 * fns.c (Fmapconcat):
8110 Be pedantically 64-bit correct. For the time when someone will
8111 want to have a list with length > 2**32.
8113 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8114 Work around MIPSpro compiler bug.
8116 * process-unix.c (unix_kill_child_process): Add snarky comment.
8117 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
8119 * config.h.in: Oops, _getpt ==> _getpty
8121 2000-10-26 Martin Buchholz <martin@xemacs.org>
8125 Use void*, not char*, as return type of alloca().
8127 * alloc.c (free_marker): Side effect inside assert expression!
8129 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
8131 * mule-charset.c (Fset_charset_ccl_program): To check
8132 if the given ccl program is valid, use setup_ccl_program()
8133 instead of CHECK_VECTOR().
8134 (Fmake_charset): Likewise.
8136 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
8138 * faces.c (get_extent_fragment_face_cache_index):
8139 Fix cachel.merged_faces memory leak.
8141 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
8143 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
8144 Reset MSB of octets obtained by DECODE_SJIS
8145 because of the incompatibility with Emacs.
8146 (ccl_driver)<CCL_ENCODE_SJIS>:
8147 Set MSB of octets before passing them to
8148 ENCODE_SJIS because of the incompatibility
8151 2000-10-18 Daiki Ueno <ueno@unixuser.org>
8153 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
8154 (DECLARE_LRECORD): Undo the last change.
8155 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
8157 2000-10-17 Daiki Ueno <ueno@unixuser.org>
8159 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
8160 the implementation to lrecord_implementations_table.
8162 2000-10-14 Daiki Ueno <ueno@unixuser.org>
8164 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
8165 initial value of `lrecord_type_##c_name' and
8166 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
8167 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
8168 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
8169 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
8170 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
8172 2000-10-17 Martin Buchholz <martin@xemacs.org>
8174 * miscplay.c (sndcnv8S_2mono):
8175 (sndcnv2monounsigned):
8176 (sndcnvULaw_2linear):
8178 Remove implementation-defined behavior.
8180 2000-10-12 Martin Buchholz <martin@xemacs.org>
8182 * input-method-xlib.c: Warning suppression.
8184 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
8186 * mule-ccl.c: Sync up with Emacs 21.0.90.
8187 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
8189 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
8191 (ccl_driver[WriteMultibyteChar2]): Bug fix.
8192 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
8193 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
8194 leading char belongs to official 2-dimensional charset.
8195 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
8196 write the given character as is. Otherwise,
8197 if it is a multibyte char, convert it by
8198 non_ascii_set_charptr_emchar, then write it.
8199 (CCL_WRITE_STRING): Likewise.
8200 (ccl_get_compiled_code): New function.
8201 (setup_ccl_program): When ccl_prog is invalid,
8203 (Fregister_code_conversion_map): New function.
8204 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
8206 * mule-ccl.h: Sync up with Emacs 21.0.90.
8207 (Fregister_ccl_program): export it.
8209 * redisplay-msw.c (separate_textual_runs):
8210 If ccl program is not valid, don't do ccl conversion.
8212 * redisplay-x.c (separate_textual_runs): Ditto.
8214 * file-coding.c (Fmake_coding_system):
8215 When type is ccl and value is vector, register it
8216 with a proper symbol. And checks whether the
8217 given ccl program is valid.
8218 (mule_decode): When calling ccl_driver, if src indicates
8219 NULL pointer, set an empty string instead.
8220 (mule_encode): Likewise.
8222 2000-10-11 Martin Buchholz <martin@xemacs.org>
8224 The following large batch of changes gets us back to a state of
8225 C++ compilability. Extbyte is now a char, which means that
8226 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
8228 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
8230 * sound.c (Fplay_sound): Type correctness.
8232 * select-x.c (hack_motif_clipboard_selection): Type correctness.
8233 (x_get_window_property): Type correctness.
8234 (receive_incremental_selection): unsigned char ==> Extbyte
8235 (selection_data_to_lisp_data): unsigned char ==> Extbyte
8236 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
8237 (Fx_store_cutbuffer_internal): Type correctness.
8239 * process-unix.c (try_to_initialize_subtty): Type correctness.
8241 * objects-x.c (x_print_color_instance): Type correctness.
8242 (x_print_font_instance): Type correctness.
8243 (x_list_fonts): SExtbyte ==> Extbyte.
8244 (valid_x_font_name_p): SExtbyte ==> Extbyte.
8245 (x_find_charset_font): SExtbyte ==> Extbyte.
8246 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
8247 (truename_via_XListFonts): SExtbyte ==> Extbyte.
8248 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
8251 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
8252 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
8253 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
8254 (BYTE_C0_P): Use bit ops for char-signedness safety.
8255 (BYTE_C1_P): Use bit ops for char-signedness safety.
8256 (CHARSET_BY_LEADING_BYTE):
8257 (CHARSET_BY_ATTRIBUTES):
8258 Always use inline function.
8259 Use type_checking_assert.
8262 * mule-charset.c (non_ascii_charptr_copy_char):
8263 Modify to work with both ASCII and non-ASCII characters.
8264 Improve docs and variable names.
8265 Replace over-clever fall-through switch with a simple loop.
8266 (Lstream_get_emchar_1):
8267 Replace over-clever fall-through switch with a simple loop.
8269 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8270 Warning suppression.
8272 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
8273 the return value of Lstream_getc, which could be EOF as well.
8275 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
8277 * lisp.h: Make Extbyte a char, not unsigned char, so that external
8278 APIs can be used on Extbytes without casts. Risky!
8282 * input-method-xlib.c (XIM_init_device):
8283 Use Xlib.h instead of IntrinsicP.h.
8284 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
8285 which will break in X11R7.
8286 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
8287 to call XRegisterIMInstantiateCallback with correct types.
8289 * gui-x.c (button_item_to_widget_value): Type correctness.
8291 * glyphs.c (bitmap_to_lisp_data): Type correctness.
8293 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
8294 (xbm_instantiate_1): Type correctness.
8295 (BUILD_GLYPH_INST): Type correctness.
8297 * fileio.c (Fsubstitute_in_file_name): Type correctness.
8300 (decode_coding_sjis):
8301 (decode_coding_big5):
8302 (decode_coding_ucs4):
8303 (decode_coding_utf8):
8304 (decode_coding_iso2022):
8305 (decode_coding_no_conversion):
8306 Make all decoding functions take an Extbyte * arg.
8307 (encode_coding_sjis):
8308 (encode_coding_big5):
8309 (encode_coding_ucs4):
8310 (encode_coding_utf8):
8311 (encode_coding_iso2022):
8312 (encode_coding_no_conversion):
8313 Make all encoding functions take a Bufbyte * arg.
8314 Use size_t instead of unsigned int for memory sizes.
8315 Only cast to unsigned char whenever dereferencing Extbyte *.
8317 * doc.c (unparesseuxify_doc_string): Type correctness.
8319 * console-x.c (split_up_display_spec):
8320 Rewrite without using details of internal string representation.
8321 (x_semi_canonicalize_device_connection): Type correctness.
8324 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
8325 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
8326 (HAVE_XFREE386): Removed.
8328 * buffer.h (DEC_CHARPTR): `const' correctness.
8329 (bufbyte_strcmp): New.
8330 (bufbyte_memcmp): New.
8332 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
8334 * buffer.h (XCHAR_OR_CHAR_INT):
8335 Always use inline function.
8336 Remove redundant type checking assert() - XINT will abort quite nicely.
8338 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
8340 * search.c (Freplace_match): Set newtext to an empty string.
8342 2000-10-10 Martin Buchholz <martin@xemacs.org>
8344 * s/decosf1-3.h: Remove #include of stropts.h
8345 * s/ptx.h: Remove #include of stropts.h
8346 * s/usg5-4.h: Remove #include of stropts.h
8349 Use stropts.h, not sys/stropts.h.
8350 Use strtio.h, not sys/strtio.h.
8352 2000-10-04 Martin Buchholz <martin@xemacs.org>
8354 * XEmacs 21.2.36 is released.
8356 2000-09-21 Andy Piper <andy@xemacs.org>
8358 * glyphs-x.c (x_redisplay_widget): make sure non-structural
8359 changes still involve copying the widget tree.
8360 (update_widget_face): make sure a change is register in the widget
8361 tree. Call update_tab_widget_face appropriately.
8362 (update_tab_widget_face): ditto.
8363 (x_tab_control_redisplay): make sure non-structural changes still
8364 involve copying the widget tree.
8366 2000-08-31 Daiki Ueno <ueno@unixuser.org>
8368 * lread.c (locate_file): Check the path element is non-nil.
8370 2000-10-02 Martin Buchholz <martin@xemacs.org>
8372 * lisp.h: Warning suppression for SCO compilers.
8374 * redisplay-tty.c (reset_tty_modes): Fix crash.
8375 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
8377 2000-09-27 Martin Buchholz <martin@xemacs.org>
8379 Big signal/process handling overhaul. Bugs fixed:
8380 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
8381 M-x comint-kill-subjob should work for both values nil and t of
8382 process-connection-type. It was broken on most platforms.
8383 Testing on Irix and Cygwin still needed. Other plaforms tested.
8384 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
8385 * process-unix.c: Signal/Process handling overhaul.
8386 (pty_name): make 64 bytes, as `expect' does, for paranoia.
8387 (allocate_pty): Use all available modern methods of allocating
8388 ptys, falling back to old style BSD allocation as a last resort.
8389 Use allegedly more secure Unix98 pty allocation by default.
8390 (allocate_pty_the_old_fashioned_way): New. the last resort.
8391 (unix_create_process): Push ptem, ldterm, ttcompat where
8392 available. Autoconfiscate.
8393 (try_to_initialize_subtty): New.
8394 (unix_kill_child_process): Proper signal handling for ptys on most
8395 platforms, using special knowledge of AIX, BSD, etc...
8396 (unix_create_process): Always disconnect_controlling_terminal() for
8397 subprocesses, whether using ptys or not.
8398 * process.h: Remove old getpt-dependent PTY code.
8399 * process.c (Fprocess_send_signal): New, obvious generic function.
8400 (decode_signal): New.
8401 (Finterrupt_process):
8405 (Fcontinue_process):
8406 (Fsignal_process): Use decode_signal.
8407 (process_send_signal):
8408 Many docstring corrections.
8409 Allow any signal to be sent to a process object.
8410 * config.h.in: Add symbols for big signal/process overhaul.
8411 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
8412 * sysproc.h: Include process-related headers, where available:
8413 sys/stropts.h sys/strtio.h pty.h libutil.h
8421 Remove old S&M pty stuff.
8422 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
8423 * systty.h: Simplify cpp hackery, improve comments.
8424 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
8426 * editfns.c (Fformat_time_string):
8427 Be a little more paranoid with the return value of ctime.
8429 * fileio.c (check_executable):
8431 Use symbolic constants X_OK, W_OK.
8433 * console-x.c (split_up_display_spec): Fix a warning.
8435 2000-10-02 Martin Buchholz <martin@xemacs.org>
8437 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
8438 * ntproc.c (sys_spawnve): make_string ==> build_string
8439 Small clarity improvements.
8441 2000-09-30 Martin Buchholz <martin@xemacs.org>
8443 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
8445 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
8447 * config.h.in (HAVE_STRCASECMP): Remove.
8449 2000-09-29 Martin Buchholz <martin@xemacs.org>
8451 * redisplay-output.c (redisplay_output_pixmap):
8452 Cleaner and possibly more 64-bit correct code.
8454 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
8456 * dumper.c (pdump_load_finish): move restoration of
8457 `noninteractive1' to emacs.c (main_1).
8458 * emacs.c (main_1): protect LISP-visible command-line flags
8461 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
8463 * Makefile.in.in (versionclean): Use EXE_TARGET and
8464 DUMP_TARGET instead of literal program names.
8466 2000-09-20 Martin Buchholz <martin@xemacs.org>
8468 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
8470 2000-09-19 Martin Buchholz <martin@xemacs.org>
8472 * *: Spelling mega-patch
8474 2000-09-19 Martin Buchholz <martin@xemacs.org>
8476 * fns.c (bad_bad_turtle):
8477 Delete "Eek!" comment, since we fixed the bug to which it refers.
8479 2000-09-16 Martin Buchholz <martin@xemacs.org>
8481 * alloca.c: Replace REGISTER with register.
8483 2000-09-16 Daiki Ueno <ueno@unixuser.org>
8485 * file-coding.c (ucs_to_char): Use countof.
8487 2000-09-16 Martin Buchholz <martin@xemacs.org>
8489 * file-coding.c: (ucs_to_char):
8490 (complex_vars_of_file_coding):
8491 Use countof instead of sizeof.
8492 Use CHECK_NATNUM instead of CHECK_INT.
8494 * sysdep.c (strcasecmp): Remove.
8495 * device-x.c (ascii_strcasecmp): New.
8496 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
8497 Avoid using non-standard non-portable strcasecmp.
8499 2000-09-16 Martin Buchholz <martin@xemacs.org>
8501 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
8502 * font-lock.c: remove reference to emacsfns.h.
8503 * search.c: small doc improvement.
8504 * event-Xt.c: correct file names in comments.
8505 * console-x.h Correct file names in comments.
8506 * frame.c: Correct file names in comments.
8507 * event-stream.c: remove Energize from comments.
8509 2000-09-15 Martin Buchholz <martin@xemacs.org>
8511 * symeval.h (DEFERROR_STANDARD):
8514 (DEFSYMBOL_NO_DUMP):
8515 (DEFSYMBOL_MULTIWORD_PREDICATE):
8516 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
8518 The construct &##name is not sensible C.
8519 Fixes compilation errors with Unixware native compiler.
8521 2000-09-14 Martin Buchholz <martin@xemacs.org>
8523 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
8524 (next_frame_internal): Removed. We now just have next_frame.
8526 Write a simpler and cleaner one-pass algorithm.
8527 Remove called_from_delete_device arg and #ifdefed-out code.
8529 Renamed from prev_frame. Update callers.
8530 Cleaned up to have an analogous implementation to next_frame.
8531 (other_visible_frames_internal): Remove the
8532 called_from_delete_device bogus arg, and hence, remove this
8533 function. Just use other_visible_frames().
8535 * window.c (Fnext_window):
8537 Since next_frame() is guaranteed to return a frame, remove check
8538 for nil inserted in previous patch.
8541 Make code look more like Fnext_window.
8543 Respect the `console' arg when iterating through windows.
8544 Fixes bug: (get-buffer-window buffer t device) not respecting
8546 This function needs more work, as others have pointed out.
8548 * frame.h: Rename prev_frame to previous_frame.
8549 device_matches_console_spec no longer takes a `frame' arg.
8554 Use EMACS_BLOCK_SIGNAL instead of sigblock.
8555 From "Golubev I. N." <gin@mo.msk.ru>.
8557 * make-src-depend: Fix typo.
8559 2000-09-13 Martin Buchholz <martin@xemacs.org>
8561 * window.c (Fnext_window):
8562 next_frame() might return nil, not a frame.
8564 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8566 * frame.c (next_frame_internal):
8567 We've passed a frame if we've passed its device.
8569 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8570 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
8572 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
8574 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8575 Allow option to suppress accelerators in menu/dialog items.
8576 (populate_or_checksum_helper): Pass dialog title through above.
8578 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
8580 * event-msw.c (mswindows_key_to_emacs_keysym):
8581 Add "pause" key, fix "menu" key.
8583 2000-09-09 Martin Buchholz <martin@xemacs.org>
8585 * eval.c (reinit_vars_of_eval):
8586 Increase max_lisp_eval_depth to 1000,
8587 required for thai-xtis.el to byte-compile under some circumstances.
8589 2000-09-04 Martin Buchholz <martin@xemacs.org>
8591 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
8594 2000-09-01 Martin Buchholz <martin@xemacs.org>
8596 * make-src-depend: Make the generated Makefiles smaller.
8598 * s/hpux.h (SETUP_SLAVE_PTY):
8599 Provide a %d in the format string for the errno argument.
8601 * editfns.c (Ftemp_directory):
8603 Avoid buffer overrun on very long file name.
8605 * input-method-xlib.c (XIM_init_device):
8606 6th parameter of XRegisterIMInstantiateCallback has different
8607 pointer types on different OSes, so simply cast to (void *).
8609 * unexhp9k800.c: Warning fixes. Fiddly changes.
8611 * sysdll.c (dll_open):
8612 shl_load will hang hard if passed a NULL filename.
8613 Simply return NULL for compatibility with dlopen.
8614 * sysdll.c: Conform to XEmacs coding standards.
8616 * sysdep.c (get_pty_max_bytes):
8617 Support pty input lines longer than 512 bytes on HP-UX 10.20.
8619 2000-08-31 Martin Buchholz <martin@xemacs.org>
8621 * tooltalk.c: Add #include <syssignal.h>
8623 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
8625 * s/hpux.h: Don't use undefined function sigunblock().
8627 2000-08-31 Martin Buchholz <martin@xemacs.org>
8629 * config.h.in: Add HAVE_BALLOON_HELP.
8630 * emacs.c: Use HAVE_BALLOON_HELP.
8631 * Makefile.in.in (x_objs):
8632 Make Balloon Help conditional on finding shape.h.
8634 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
8636 * syntax.c (regex_emacs_buffer_p): New variable.
8637 * syntax.h (regex_emacs_buffer_p): extern.
8638 * search.c (looking_at_1):
8640 (fast_string_match):
8641 (search_buffer): Set regex_emacs_buffer_p.
8642 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
8643 when before_dot, at_dot, after_dot.
8645 2000-08-23 Andy Piper <andy@xemacs.org>
8647 * gui-x.c (popup_selection_callback): Only set action_occurred
8648 when we really have an image instance.
8649 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
8651 2000-08-23 Andy Piper <andy@xemacs.org>
8653 * gui-msw.c (mswindows_handle_gui_wm_command): set
8655 * gui-x.c (popup_selection_callback): ditto.
8657 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
8658 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
8659 (struct Lisp_Image_Instance): add action_occurred flag.
8661 * glyphs.c (redisplay_subwindow): use action_occurred flag.
8662 (image_instance_changed): ditto.
8663 (reset_frame_subwindow_instance_cache): only unmap windows - do
8664 not remove them from the cache also.
8666 * glyphs-widget.c (tab_control_update): better debug.
8667 (progress_gauge_update): ditto.
8668 (layout_update): ditto.
8669 (layout_instantiate): ditto.
8670 (tab_control_order_only_changed): cope with null pending items.
8672 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
8673 debug. Force selection of an item when an action occurred. Cope
8674 with null pending_items.
8675 (mswindows_progress_gauge_redisplay): better debug.
8676 * glyphs-x.c (x_tab_control_redisplay): ditto.
8678 * redisplay.c (redisplay_frame): reset the frame cache if the
8681 * window.c (Fset_window_configuration): potentially re-enable
8683 (window_unmap_subwindows): need to finalize instances here since
8684 it is only used in mark_window_as_deleted.
8686 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
8688 * nas.c (SndOpenDataForReading):
8689 nas.c (WaveOpenDataForReading):
8690 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
8691 Somehow escaped from the 2000-08-14 patch.
8693 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
8695 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
8696 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
8698 2000-08-21 Andy Piper <andy@xemacs.org>
8700 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
8701 window if it is not already displayed.
8703 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
8704 it is not already displayed.
8706 * window.c (Fset_window_configuration): don't reset the frame
8709 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
8710 instances from the frame cache if we are actually finalizing them.
8711 (reset_frame_subwindow_instance_cache): reset frame cache only
8712 after unmapping everything.
8713 (map_subwindow): set displayed flag after mapping.
8715 2000-08-21 Martin Buchholz <martin@xemacs.org>
8717 * data.c (indirect_function):
8718 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
8720 * eval.c (function_argcount):
8721 Use original function when signaling errors.
8723 2000-08-18 Andy Piper <andy@xemacs.org>
8725 * frame.c (delete_frame_internal): use new
8726 free_frame_subwindow_instances name.
8728 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
8729 (add_tab_item): make return type correct.
8730 (mswindows_tab_control_instantiate): assert index of tab.
8731 (mswindows_tab_control_redisplay): Re-code to use
8732 gui_item_equal_sans_selected and gui_item_list_find_selected.
8734 * glyphs-widget.c (tab_control_update): Correct comment.
8736 * window.c (window_unmap_subwindows): use new
8737 unmap_subwindow_instance_cache_mapper.
8738 (window_unmap_subwindows_cache_mapper): deleted.
8739 (Fset_window_configuration): comparisons should now be with
8740 EQ. Preserve the subwindow instance cache across configuration
8742 (allocate_window): ditto.
8743 (make_dummy_parent): ditto.
8745 * glyphs.c (free_frame_subwindow_instances): rename from
8746 free_frame_subwindow_instance_cache. finalize all instances rather
8747 than just those in the display cache.
8748 (finalize_all_subwindow_instances): walk windows unmapping and
8749 finalizing subwindows.
8750 (unmap_subwindow_instance_cache_mapper): moved from
8751 window.c. Allow finalization as well as unmapping.
8753 * gui.c (gui_item_list_find_selected): new function.
8755 * gui.h (gui_item_list_find_selected): declare.
8757 * glyphs-x.c (x_tab_control_redisplay): pick tab
8758 explicitly. Re-code to use gui_item_equal_sans_selected and
8759 gui_item_list_find_selected.
8761 * glyphs-x.h: add lwlib-utils.h
8763 * buffer.c (Frecord_buffer): undo previous change.
8765 2000-08-09 Vin Shelton <acs@xemacs.org>
8767 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
8768 possible. Create temporary files more securely. The patch was
8769 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
8770 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
8771 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
8774 2000-08-07 Ben Wing <ben@xemacs.org>
8776 * getloadavg.c: remove duplicate (and windows-breaking)
8777 includes of fcntl.h and sys/file.h.
8779 * nt.c: remove duplicate getloadavg() definition.
8781 * sysdll.h (Qdll_filename_encoding): add missing stand-in
8784 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
8786 * eval.c (function_argcount): If function needs to be autoloaded
8787 actually use the loaded definition.
8790 2000-08-05 Ben Wing <ben@xemacs.org>
8792 * getloadavg.c: add prototype for getloadavg(). remove
8793 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
8794 of the code). remove duplicate header includes.
8796 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
8798 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
8799 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
8800 useful load average.
8802 * alloc.c (reinit_alloc_once_early): removed references to
8803 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
8804 the lisp vars are the only things referencing the malloc_sbrk_*
8805 vars, and they were already if 0'd out. these vars only exist
8806 in the older malloc.c, which is basically unused, and they're
8807 only for informational purposes.
8809 * m\*.h: removed useless VIRT_ADDR_VARIES.
8811 * m\powerpc.h: removed stray NO_ARG_ARRAY.
8813 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
8815 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
8816 color if the image is a mono pixmap.
8818 2000-07-30 Ben Wing <ben@xemacs.org>
8820 * Makefile.in.in (release):
8823 * buffer.c (directory_is_current_directory):
8824 * dired-msw.c (mswindows_get_files):
8826 * dired.c (Fdirectory_files):
8827 * dired.c (file_name_completion_stat):
8828 * dired.c (Ffile_attributes):
8829 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
8830 preprocessor tricks, to avoid problems on some machines
8833 * callproc.c (egetenv): GC docs.
8836 * console-msw.h (struct mswindows_dialog_id):
8837 * lrecord.h (lrecord_type):
8838 New object for use with MSW dialogs.
8840 * console.h (struct console_methods):
8841 New enable/disable frame methods, for proper modal dialogs.
8843 * device-msw.c (msprinter_default_printer): Fix to follow
8844 proper Mule conventions.
8847 * device-msw.c (signal_open_printer_error):
8848 * device-msw.c (msprinter_init_device):
8849 * device-msw.c (ensure_not_printing):
8850 * device-msw.c (plist_get_margin):
8851 * device-msw.c (Fmsprinter_select_settings):
8852 * device-msw.c (finalize_devmode):
8853 * device-msw.c (Fmsprinter_settings_despecialize):
8854 * device-msw.c (signal_enum_priner_error):
8855 * extents.c (decode_extent):
8856 * extents.c (decode_map_extents_flags):
8857 * extents.c (decode_extent_at_flag):
8858 * extents.c (Fextent_at):
8859 * extents.c (Fextents_at):
8860 * extents.c (symbol_to_glyph_layout):
8861 [[[[2]]]] Use structured errors.
8864 * dialog-msw.c (mswindows_is_dialog_msg):
8865 * dialog-msw.c (mark_mswindows_dialog_id):
8866 * dialog-msw.c (dialog_proc):
8867 * dialog-msw.c (handle_question_dialog_box):
8868 * dialog-msw.c (syms_of_dialog_mswindows):
8869 Define new object to clean up marking; use it as a dialog identifier.
8870 Call new delete-dialog-box-hook.
8872 * dialog-x.c (dbox_selection_callback):
8873 * dialog-x.c (dbox_descriptor_to_widget_value):
8874 * dialog-x.c (x_make_dialog_box_internal):
8875 Call new delete-dialog-box-hook.
8879 * dialog.c (syms_of_dialog):
8880 * dialog.c (vars_of_dialog):
8881 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
8884 * eval.c (signal_call_debugger):
8885 when noninteractive, output stack traces on the console instead
8886 of in a (never-seen) buffer.
8888 * eval.c (signal_type_error):
8889 * eval.c (invalid_argument_2):
8891 new funs for use w/structured errors.
8894 * event-Xt.c (x_to_emacs_keysym):
8895 * event-Xt.c (describe_event):
8896 * event-Xt.c (emacs_Xt_event_handler):
8897 * event-Xt.c (vars_of_event_Xt):
8899 * event-msw.c (mswindows_wnd_proc):
8900 * event-msw.c (vars_of_event_mswindows):
8901 rename {x,mswindows}-debug-events to debug-{}-events for
8902 consistency with other debug-foo variables.
8905 document next-event more clearly.
8907 * fileio.c (Ffile_name_directory):
8908 * fileio.c (Ffile_name_nondirectory):
8909 * fileio.c (Funhandled_file_name_directory):
8910 * fileio.c (file_name_as_directory):
8911 * fileio.c (Ffile_name_as_directory):
8912 * fileio.c (directory_file_name):
8913 * fileio.c (Fdirectory_file_name):
8914 * fileio.c (Fmake_temp_name):
8915 * fileio.c (Ffile_truename):
8916 * fileio.c (Fsubstitute_in_file_name):
8917 * fileio.c (expand_and_dir_to_file):
8918 * fileio.c (barf_or_query_if_file_exists):
8919 * fileio.c (check_executable):
8920 * fileio.c (Ffile_exists_p):
8921 * fileio.c (Ffile_writable_p):
8922 * fileio.c (Ffile_directory_p):
8923 * fileio.c (Ffile_regular_p):
8924 * fileio.c (Ffile_modes):
8925 * fileio.c (Ffile_newer_than_file_p):
8926 * fileio.c (Fverify_visited_file_modtime):
8927 * fileio.c (Fset_visited_file_modtime):
8928 * fileio.c (auto_save_1):
8933 * frame-msw.c (mswindows_init_frame_1):
8934 * frame-msw.c (mswindows_enable_frame):
8935 * frame-msw.c (error_frame_unsizable):
8936 * frame-msw.c (msprinter_init_frame_1):
8937 * frame-msw.c (msprinter_init_frame_3):
8938 * frame-msw.c (console_type_create_frame_mswindows):
8940 implement new enable/disable frame methods.
8943 * frame-x.c (x_enable_frame):
8944 * frame-x.c (console_type_create_frame_x):
8945 implement new enable/disable frame methods.
8948 * frame.c (Fdisable_frame):
8949 * frame.c (syms_of_frame):
8950 * frame.h (struct frame):
8951 implement new enable/disable frame methods/functions.
8956 * glyphs-msw.c (mswindows_widget_instantiate):
8957 comment that initial-focus should be implemented.
8960 * glyphs-widget.c (check_valid_instantiator):
8961 * glyphs-widget.c (check_valid_orientation):
8962 * glyphs-widget.c (check_valid_tab_orientation):
8963 * glyphs-widget.c (check_valid_justification):
8964 * glyphs-widget.c (check_valid_border):
8965 * glyphs-widget.c (check_valid_callback):
8966 * glyphs-widget.c (check_valid_int_or_function):
8967 * glyphs-widget.c (check_valid_string_or_vector):
8968 * glyphs-widget.c (check_valid_item_list_1):
8969 * glyphs-widget.c (widget_validate):
8970 * glyphs-widget.c (combo_box_validate):
8971 * glyphs-widget.c (widget_instantiate):
8972 * glyphs-widget.c (syms_of_glyphs_widget):
8973 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
8974 * glyphs-widget.c (image_instantiator_combo_box):
8975 * glyphs-widget.c (image_instantiator_scrollbar):
8976 * glyphs-widget.c (image_instantiator_tab_control):
8977 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
8979 support (unimplemented) keyword initial-focus.
8980 reindent long macros.
8982 * glyphs-x.c (x_redisplay_widget):
8983 * glyphs-x.c (x_button_instantiate):
8984 * glyphs-x.c (x_button_redisplay):
8985 * glyphs-x.c (x_progress_gauge_instantiate):
8986 * glyphs-x.c (x_edit_field_instantiate):
8987 * glyphs-x.c (x_combo_box_instantiate):
8988 * glyphs-x.c (x_tab_control_instantiate):
8989 * glyphs-x.c (x_label_instantiate):
8991 * gui-x.c (button_item_to_widget_value):
8992 * gui-x.c (gui_items_to_widget_values_1):
8993 * gui-x.c (gui_item_children_to_widget_values):
8994 * gui-x.c (gui_items_to_widget_values):
8996 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8997 add new flag to gui-parsing routines to indicate whether
8998 accelerator specs should be supported.
9000 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
9002 * glyphs.h (struct Lisp_Image_Instance):
9003 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
9004 add initial-focus flag.
9007 * gui.c (syms_of_gui):
9008 * gui.c (vars_of_gui):
9009 clean up menu-no-selection-hook.
9012 support delete-dialog-box-hook.
9014 * lread.c (Fload_internal):
9015 * lread.c (locate_file_in_directory_mapper):
9019 * lrecord.h (struct toolbar_button):
9020 * lrecord.h (syms_of_toolbar):
9021 document how to create a new object.
9023 * menubar-msw.c (mswindows_char_is_accelerator):
9024 may be called on frames w/o menus.
9026 * menubar.c (vars_of_menubar):
9027 clean up :filter docs.
9034 * process-nt.c (validate_signal_number):
9035 * process-nt.c (signal_cannot_launch):
9036 * process-nt.c (nt_create_process):
9037 * process-nt.c (nt_send_process):
9038 * process-nt.c (nt_kill_child_process):
9039 * process-nt.c (nt_open_network_stream):
9040 * process-nt.c (syms_of_process_nt):
9042 delete quote-handling. call new lisp code that does it better.
9044 * process-unix.c (connect_to_file_descriptor):
9045 * process-unix.c (allocate_pty):
9046 * process-unix.c (unix_send_process):
9047 * process-unix.c (unix_kill_child_process):
9048 * process-unix.c (unix_open_network_stream):
9049 * process-unix.c (unix_open_multicast_group):
9053 * process.c (Fstart_process_internal):
9054 (2). need to canonicalize process path even if absolute.
9056 * select-msw.c (symbol_to_ms_cf):
9057 * select-msw.c (ms_cf_to_symbol):
9058 * select-msw.c (cf_is_autofreed):
9059 * select-msw.c (mswindows_destroy_selection):
9061 * select.c (syms_of_select):
9063 support dibv5, fix bugs. (from Mike Alexander)
9065 * select.c (Fget_selection_internal):
9066 * select.c (select_convert_out):
9069 * sysdep.c (xemacs_stat):
9074 but keep original stat() here because we provide encapsulation
9078 * sysfile.h (fstat):
9079 remove stat garbage.
9083 don't include tchar.h. it's inappropriate because it makes
9084 compile-time distinctions when we want runtime distinctions.
9085 (we provide our own tchar replacements)
9088 use default object printer for toolbar-button.
9091 make sure we don't encapsulate.
9093 * window.c (vars_of_window):
9094 emphasize that temp-buffer-show-hook is obsolete.
9096 2000-08-05 Martin Buchholz <martin@xemacs.org>
9098 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9099 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9101 * events.c (Fevent_timestamp_lessp):
9102 Not 64-bit clean. Use EMACS_INT, not int.
9104 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
9106 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
9107 unsigned int and changed the last enum to
9108 lrecord_type_last_built_in_type.
9109 (lrecord_implementations_table): changed prototype to know how
9110 long the array is supposed to be.
9111 (lrecord_type_count): new unsigned int to keep track of the
9112 current number of lisp lrecord types.
9113 (DEFINE_EXTERNAL_LRECORD):
9114 (DECLARE_EXTERNAL_LRECORD): Added these two for external
9115 dynamic-modules to declare new lisp types. They are the same
9116 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
9117 int for each new type, and increment lrecord_type_count by 1.
9119 * alloc.c (lrecord_implementations_table): Changed to reference
9120 lrecord_type_last_built_in_type for the size of the array.
9121 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
9123 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9125 * glyphs.h (check_valid_item_list): Renamed from
9126 check_valid_item_list_1.
9128 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
9130 * select.c (Qselect_coerce): New.
9131 * select.c (Vselection_coercion_alist): New.
9132 * select.c (syms_of_select): Declare.
9133 * select.c (get-selection-internal): Use it.
9134 Use the new select-coerce functionality.
9136 * select.c (select_coerce): New.
9137 * select.h (select_coerce): Declare.
9138 New function to coerce one type of data into another.
9140 2000-08-03 Martin Buchholz <martin@xemacs.org>
9142 * callproc.c (Fcall_process_internal):
9143 (Fcall_process_internal):
9144 * process-unix.c (unix_create_process):
9145 Save and restore the value of errno, so that error messages are accurate.
9147 2000-08-01 Martin Buchholz <martin@xemacs.org>
9149 * elhash.c (print_hash_table):
9150 Fix printing of hash tables to also use `key-and-value' instead of `t'.
9151 Prettify docstrings and indentation.
9153 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9155 * window.c (Fwindow_pixel_edges): Subtract frame border and
9158 2000-07-31 Andy Piper <andy@xemacs.org>
9160 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
9161 will acknowledge the change.
9163 * glyphs.h: declare tab_control_order_only_changed.
9165 * glyphs-x.c (x_tab_control_redisplay): use
9166 tab_control_order_only_changed.
9168 * glyphs-widget.c (tab_control_order_only_changed): new function.
9170 * glyphs-msw.c (mswindows_tab_control_redisplay): use
9171 tab_control_order_only_changed.
9173 * gui.c (gui_item_equal_sans_selected): new function.
9174 (gui_item_equal): use it.
9176 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
9177 :properties in favor of :items..
9179 * glyphs-widget.c (check_valid_item_list): rename from
9180 check_valid_item_list_1.
9181 (check_valid_item_list_1): renamed.
9182 (combo_box_validate): deprecate :properties in favor of :items.
9183 (widget_instantiate): ditto.
9184 (tab_control_update): ditto.
9185 (image_instantiator_combo_box): ditto.
9186 (image_instantiator_tree_view): ditto.
9187 (image_instantiator_tab_control): ditto.
9188 (layout_post_instantiate): remove dead code.
9190 * print.c (debug_print_no_newline): only write to debugger if in
9193 * elhash.c (Fmake_hash_table): update doc string.
9195 * event-msw.c (mswindows_wnd_proc): don't allow processing of
9196 messages whilst in GC. This at least stops XEmacs crashing but has
9197 the potential for wierd behaviour.
9199 2000-07-31 Martin Buchholz <martin@xemacs.org>
9202 Make existence of s&m files optional.
9204 * s/bsd386.h: Remove HAVE_GETLOADAVG.
9205 * s/freebsd.h: Remove HAVE_GETLOADAVG.
9206 * s/gnu.h: Remove HAVE_GETLOADAVG.
9207 * s/netbsd.h: Remove HAVE_GETLOADAVG.
9208 * s/sol2.h: Remove HAVE_GETLOADAVG.
9209 * lisp.h: Remove getloadavg() declaration.
9211 Include <sys/loadavg.h> if available.
9212 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
9213 * config.h.in: Group together getloadavg()-related macros.
9214 Use only configure-time tests to detect getloadavg().
9216 2000-07-30 Martin Buchholz <martin@xemacs.org>
9218 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
9220 2000-07-25 Andy Piper <andy@xemacs.org>
9222 * syswindows.h: add tchar.h for native builds.
9224 * frame.c (syms_of_frame): remove set-glyph-image.
9226 * general-slots.h: add Qset_glyph_image.
9228 * glyphs-widget.c (layout_update): add domain arg to
9230 (syms_of_glyphs_widget): remove set-glyph-image.
9232 2000-07-23 Ben Wing <ben@xemacs.org>
9234 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
9237 2000-07-22 Andy Piper <andy@xemacs.org>
9239 * symsinit.h: add syms_of_win32().
9241 * gui-msw.c (syms_of_gui_mswindows): remove
9242 Fmswindows_shell_execute.
9243 (Fmswindows_shell_execute): moved to win32.c.
9245 * emacs.c (main_1): add syms_of_win32 ().
9247 * win32.c (init_potentially_nonexistent_functions): rewrite in
9248 compiler-friendly terms.
9249 (Fmswindows_shell_execute): move here from gui-msw.c.
9250 (syms_of_win32): new.
9252 * device-msw.c (Fmswindows_printer_list): clean up args to
9254 Don't include tchar under cygwin or mingw.
9255 (msprinter_default_printer): make cygwin-friendly.
9257 2000-07-21 Andy Piper <andy@xemacs.org>
9259 * glyphs-widget.c (image_instantiator_tree_view): use tab
9260 control's update function.
9261 (layout_property): new function. Retrieve items.
9263 * glyphs-msw.c (mswindows_tree_view_redisplay): new
9264 function. Re-populate the tree view from the pending items.
9266 * glyphs.c (instantiate_image_instantiator): Make sure the domain
9267 is designated the parent if the domain is an image instance. This
9268 is needed so that dirtiness can be cascade up the hierarchy and
9269 thus for layout children to be redisplayed correctly.
9270 (allocate_image_instance): rename glyph -> parent.
9272 * redisplay.h: change redisplay_output_layout signature.
9274 * redisplay-msw.c (mswindows_output_display_block): use domain
9277 * redisplay-x.c (x_output_display_block): use domain arg.
9279 2000-07-10 Andy Piper <andy@xemacs.org>
9281 * window.c (Fset_window_configuration): add comment.
9283 * redisplay-output.c (compare_runes):
9284 (redisplay_output_subwindow): redisplay rather than update subwindow.
9285 (redisplay_output_layout): ditto.
9287 * redisplay-msw.c (mswindows_frame_output_end):
9288 (mswindows_frame_output_end): make defer window pos optional.
9290 * lisp.h: add Flast.
9292 * glyphs.h (struct image_instantiator_methods): add dest_mask top
9293 normalize method. Change update method to be for changed
9294 instantiators. Add redisplay method. Change signature of layout
9296 (struct Lisp_Image_Instance): add instantiator.
9297 (IMAGE_INSTANCE_INSTANTIATOR): new.
9298 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
9299 (XIMAGE_INSTANCE_INSTANTIATOR): new.
9300 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
9303 (find_instantiator_differences): new function.
9304 (Fset_instantiator_property): new convenience function.
9305 (check_image_instance_structure): strictly check for vector
9307 (normalize_image_instantiator): make non-static.
9308 (instantiate_image_instantiator): pass on dest_mask and use new
9309 signatures for image_instance_layout and friends.
9310 (mark_image_instance): mark the instantiator. Mark the subwindow
9311 face not the widget face.
9312 (image_instance_equal): add instantiator.
9313 (image_instance_hash): ditto.
9314 (allocate_image_instance): ditto.
9315 (Fset_image_instance_property): removed.
9316 (Fimage_instance_file_name): ditto.
9317 (Fcolorize_image_instance): ditto.
9318 (image_instance_layout): add offsets to be set.
9319 (update_image_instance): new function. update an image instance
9320 from its changed instantiator.
9321 (inherit_normalize): add dest_mask.
9322 (xbm_normalize): ditto.
9323 (xface_normalize): ditto.
9324 (xpm_normalize): ditto.
9325 (text_update): set_property -> update.
9326 (image_instantiate): use the glyph identity as a hash key, not the
9328 (glyph_width): use new image_instance_layout signature.
9329 (glyph_ascent): ditto.
9330 (glyph_descent): ditto.
9331 (glyph_height): ditto.
9332 (glyph_query_geometry): ressurrect.
9333 (glyph_layout): ditto.
9334 (redisplay_subwindow): update -> redisplay.
9335 (syms_of_glyphs): add Fset_instantiator_property.
9336 (image_instantiator_format_create): set_property -> update.
9339 (autodetect_normalize): add dest_maks to signature.
9340 (x_redisplay_subwindow): update -> redisplay.
9341 (x_redisplay_widget): ditto.
9342 (x_button_redisplay): ditto.
9343 (x_progress_gauge_redisplay): ditto.
9344 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
9346 (console_type_create_glyphs_x): update -> redisplay.
9347 (image_instantiator_format_create_glyphs_x): ditto.
9350 (check_valid_instantiator): disallow glyphs in the instantiator,
9351 they must now be vectors.
9352 (check_valid_instantiator_list): ditto.
9353 (glyph_instantiator_to_glyph): use internal symbol rather than
9355 (widget_update): renamed from widget_set_property. Call cascaded
9357 (redisplay_widget): renamed from update_widget.
9358 (widget_layout): image_instance_layout now takes position as well
9360 (widget_normalize): ditto.
9361 (widget_instantiate): ditto.
9362 (tab_control_query_geometry) ditto.:
9363 (tab_control_update): renamed from tab_control_set_property.
9364 (progress_gauge_update): set_property -> update.
9365 (layout_normalize): rewrite so that child instantiators are
9367 (layout_update): new function. Create glyphs from the normalized
9368 children and cope with any other layout keywords. We do not
9369 instantiate children here that will be take care of by
9370 redisplay_output_layout.
9371 (layout_instantiate): call layout_update and not much else.
9372 (layout_post_instantiate): not sure whether this is needed
9374 (layout_query_geometry): query glyph geometry rather than
9375 image_instance geometry.
9376 (layout_layout): set offsets from pass in parameters. Use glyph
9377 geometry and layout functions rather than image instance ones.
9378 (native_layout_layout): ditto.
9379 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
9380 (image_instantiator_widget): set_property -> update.
9381 (image_instantiator_buttons): ditto.
9382 (image_instantiator_progress_guage): ditto.
9383 (image_instantiator_tab_control): ditto.
9384 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
9385 (image_instantiator_layout): add update method.
9387 * glyphs-msw.c (bmp_normalize):
9388 (mswindows_resource_normalize): add dest_mask so that it can be
9389 proprogated by layout_normalize.
9390 (begin_defer_window_pos): make optional because it may not be the
9391 right thing to do and it introduces differences with X.
9392 (mswindows_unmap_subwindow): ditto.
9393 (mswindows_map_subwindow): ditto.
9394 (mswindows_redisplay_subwindow): renamed from
9395 mswindows_update_subwindow.
9396 (mswindows_redisplay_widget): ditto.
9397 (mswindows_button_redisplay): renamed from
9398 mswindows_button_update. Update is now what the instantiation
9399 function does for a changed instantiator.
9400 (mswindows_progress_gauge_instantiate): set the progress value
9401 here if appropriate.
9402 (mswindows_tab_control_redisplay): cope with re-ordering of the
9403 members of the tab widget by simply selecting the new top
9404 widget. This makes things appear ok if you click on a tab.
9405 (mswindows_combo_box_instantiate): image_instance_layout now takes
9406 position as well as size.
9407 (mswindows_progress_gauge_redisplay): renamed from
9408 mswindows_progress_gauge_update.
9409 (console_type_create_glyphs_mswindows): fix update -> redisplay.
9410 (image_instantiator_format_create_glyphs_mswindows): ditto.
9412 * glyphs-eimage.c (jpeg_normalize):
9415 (tiff_normalize): add dest_mask so that it can be proprogated by
9420 (hash_table_weakness_validate):
9421 (decode_hash_table_weakness):
9422 (Fhash_table_weakness):
9424 (syms_of_elhash): use Ben's naming scheme for hashtable types..
9426 * console.h (struct console_methods): move update_* to
9429 2000-07-20 Ben Wing <ben@xemacs.org>
9431 * *.[ch] (XSETOBJ): remove unused middle argument.
9432 lisp-disunion.h: correct wrap_object() to one argument.
9434 2000-07-15 Ben Wing <ben@xemacs.org>
9437 * s/cygwin32.h (CYGWIN_CONV_PATH):
9438 Add missing logb prototype for v1.1.
9439 Use post-b20 names and alias to pre-b20 names when pre-b20.
9441 * s/windowsnt.h: [5].
9443 2000-07-15 Ben Wing <ben@xemacs.org>
9445 * Makefile.in.in (x_objs):
9446 * Makefile.in.in (sheap_objs):
9447 * Makefile.in.in (objs):
9448 added win32.o, cosmetic cleanups.
9450 * alloc.c (Fmake_byte_code):
9451 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
9452 etc. macros which declare their own args now.
9454 * alloc.c (syms_of_alloc):
9455 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
9458 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
9460 * buffer.c (Fget_file_buffer):
9461 Fixed GCPRO problem.
9463 * buffer.c (get_truename_buffer):
9464 Fixed comment about GC checking.
9466 * buffer.c (syms_of_buffer):
9467 Undeclared those dedicated frame funs.
9471 Define convenience macros for internal/external conversions.
9472 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
9473 and Qenvironment_variable_encoding for cleaner code.
9476 Remove dedicated-frame; in lisp.
9478 * bytecode.c (funcall_compiled_function):
9481 * bytecode.c (syms_of_bytecode):
9485 * console-msw.c (mswindows_show_console): Rewrote.
9487 * console-msw.c (Fmswindows_debugging_output): New.
9488 Sends to OutputDebugString (special MSWin debugger interface).
9490 * console-msw.c (Fmswindows_message_box):
9491 Fixed stupid bugs so it works when called from kill-emacs.
9493 * console-msw.c (syms_of_console_mswindows):
9494 Declare Fmswindows_debugging_output.
9497 New MSWin prototypes.
9499 * console-msw.h (struct mswindows_frame):
9500 New entry last-click-mods for improved button-modifier support.
9502 * console-msw.h (FRAME_MSWINDOWS_POPUP):
9503 New struct entry `popup' with corresponding accessor.
9506 * console-x.c (split_up_display_spec):
9507 * console-x.c (get_display_arg_connection):
9508 * console-x.c (x_semi_canonicalize_console_connection):
9509 * console-x.c (x_canonicalize_device_connection):
9510 [[[6]]]: Change char to more specific type.
9511 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
9513 * console-x.c (x_semi_canonicalize_console_connection):
9514 * console-x.c (x_canonicalize_device_connection):
9515 [[[9]]]: Fix up error signalling to use new structured error system.
9518 [[[4]]]: Define codesys aliases:
9519 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
9520 Qx_color_name_encoding, Qx_display_name_encoding.
9522 * console.h (struct console_methods):
9523 New method make_dialog_box_internal supersedes older
9524 popup_dialog_box method.
9527 Define many new errors, part of new structured errors.
9529 * data.c (init_errors_once_early):
9530 * data.c (syms_of_data):
9533 * device-msw.c (mswindows_init_device):
9534 [[[5]]]: Cleanup to support NT 3.51.
9536 * device-msw.c (decode_devmode): Cleanup.
9538 * device-msw.c (mswindows_handle_print_setup_dialog_box):
9539 * device-msw.c (mswindows_handle_print_dialog_box):
9540 * device-msw.c (mswindows_handle_page_setup_dialog_box):
9541 * device-msw.c (syms_of_device_mswindows):
9542 Delete the dialog box primitives recently introduced by Kirill and
9543 instead interface to general dialog box interface.
9546 * device-x.c (compute_x_app_name):
9547 * device-x.c (x_init_device):
9548 * device-x.c (Fx_valid_keysym_name_p):
9549 * device-x.c (Fx_set_font_path):
9553 * device.h (wrap_device): New.
9554 First of its kind; meant to replace XSETDEVICE.
9556 * dialog-msw.c: Many file-dialog symbols.
9558 * dialog-msw.c (mswindows_register_popup_frame): New.
9559 * dialog-msw.c (mswindows_is_dialog_msg): New.
9560 For supporting kbd traversal in dialog boxes.
9562 * dialog-msw.c (dialog_proc):
9563 Support hitting ESC in dialogs.
9565 * dialog-msw.c (struct):
9566 Common dialog box errors.
9568 * dialog-msw.c (handle_file_dialog_box): New.
9569 Add file dialog code.
9571 * dialog-msw.c (handle_question_dialog_box):
9572 Redo existing code to support new question dialog syntax.
9574 * dialog-msw.c (console_type_create_dialog_mswindows):
9575 We support new dialog console method.
9577 * dialog-msw.c (syms_of_dialog_mswindows):
9578 * dialog-msw.c (vars_of_dialog_mswindows):
9579 New file dialog symbols, vars.
9582 * dialog-x.c (maybe_run_dbox_text_callback):
9583 * dialog-x.c (dbox_descriptor_to_widget_value):
9584 * dialog-x.c (x_make_dialog_box_internal):
9585 * dialog-x.c (console_type_create_dialog_x):
9586 Mule-ize entire file.
9587 Redo to support question dialog syntax.
9591 * dialog.c (Fmake_dialog_box_internal):
9592 * dialog.c (syms_of_dialog):
9593 Kill old popup-dialog-box, replace with new primitive.
9594 Just call device method or signal error.
9596 * eldap.c (Fldap_open):
9597 * eldap.c (Fldap_search_basic):
9598 * eldap.c (Fldap_add):
9599 * eldap.c (Fldap_modify):
9604 * emacs.c (make_arg_list_1):
9605 * emacs.c (make_arg_list):
9606 Mule-ize call to dll_init().
9610 * emacs.c (make_argc_argv):
9611 * emacs.c (free_argc_argv):
9612 * emacs.c (init_cmdargs):
9614 * emacs.c (Fkill_emacs):
9615 * emacs.c (Fdump_emacs):
9616 Update comments about what can be used in syms_* etc.
9617 Call init_win32() when necessary.
9618 Fix up MS Win dialog box in kill-buffer to actually work right.
9629 * eval.c (condition_case_3):
9631 * eval.c (function_argcount):
9632 * eval.c (funcall_lambda):
9635 * eval.c (type_error): New.
9636 * eval.c (maybe_type_error): New.
9637 * eval.c (continuable_type_error): New.
9638 * eval.c (maybe_continuable_type_error): New.
9639 * eval.c (type_error_with_frob): New.
9640 * eval.c (maybe_type_error_with_frob): New.
9641 * eval.c (continuable_type_error_with_frob): New.
9642 * eval.c (maybe_continuable_type_error_with_frob): New.
9643 New functions for use with structured errors.
9646 * event-Xt.c (x_event_to_emacs_event):
9647 Buttons are now modifiers too.
9649 * event-Xt.c (emacs_Xt_current_event_timestamp):
9650 Implement new event method.
9651 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
9654 * event-msw.c (ntpipe_shove_writer): [5].
9655 * event-msw.c (mswindows_enqueue_mouse_button_event):
9656 * event-msw.c (mswindows_drain_windows_queue):
9657 * event-msw.c (mswindows_wnd_proc): [7].
9658 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
9659 * event-msw.c (mswindows_modifier_state):
9660 Throughout: support new button modifiers.
9662 * event-msw.c (emacs_mswindows_current_event_timestamp):
9663 Implement new event method.
9664 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
9667 * event-stream.c (event_stream_current_event_timestamp): New.
9668 * event-stream.c (maybe_kbd_translate): New functionality.
9669 * event-stream.c (vars_of_event_stream):
9670 Document new kbd-translate-table functionality.
9672 * event-stream.c (Fcurrent_event_timestamp): New.
9673 New primitive for use in fabricated events.
9674 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
9676 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
9679 * events.c (Fmake_event):
9680 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
9684 * events.c (format_event_object): fix gcc warnings.
9686 * events.c (Fevent_timestamp): Document new primitives.
9688 * events.c (TIMESTAMP_HALFSPACE): New.
9690 * events.c (Fevent_timestamp_lessp): New. New primitive for
9691 comparing timestamps correctly (half-space algorithm).
9693 * events.c (Fevent_modifier_bits): Doc fix.
9695 * events.c (Fevent_modifiers): Major doc addition.
9696 * events.c (event_x_y_pixel_internal): Typo fix.
9697 * events.c (syms_of_events): Declare new primitives.
9700 Update long comment for button modifiers, timestamps.
9702 * events.h (struct event_stream):
9703 New current_event_timestamp method.
9706 * extents.c (extent_in_region_p):
9707 * extents.c (decode_extent):
9708 * extents.c (Fset_extent_parent):
9709 * extents.c (decode_map_extents_flags):
9713 * extents.c (struct extent_at_arg):
9714 * extents.c (decode_extent_at_flag):
9715 * extents.c (extent_at_mapper):
9716 * extents.c (extent_at_bytind):
9717 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
9718 * extents.c (Fextents_at): New primitive. [9].
9719 * extents.c (symbol_to_glyph_layout): [9].
9720 Support new primitive `extents-at'.
9723 * extents.c (get_text_property_bytind):
9724 extent_at_bytind has another arg.
9727 * extents.c (syms_of_extents): New primitive.
9729 * file-coding.c (Fmake_coding_system): [1].
9730 * file-coding.c (subsidiary_coding_system): fix gcc warning
9731 * file-coding.c (syms_of_file_coding): [2].
9733 * fileio.c (Fexpand_file_name):
9734 * fileio.c (Fsysnetunam):
9735 * fileio.c (Ffile_exists_p):
9736 * fileio.c (Ffile_executable_p):
9737 * fileio.c (Fverify_visited_file_modtime):
9740 * fileio.c (syms_of_fileio): [2].
9742 * filelock.c (lock_file_1):
9743 * filelock.c (current_lock_owner):
9744 * filelock.c (lock_if_free):
9745 * filelock.c (lock_file):
9746 * filelock.c (unlock_file):
9749 * fns.c (concat): Fix gcc warning.
9752 * fns.c (Fold_member):
9754 * fns.c (Fold_memq):
9755 * fns.c (memq_no_quit):
9757 * fns.c (Fold_assoc):
9759 * fns.c (Fold_assq):
9760 * fns.c (assq_no_quit):
9762 * fns.c (Fold_rassoc):
9764 * fns.c (Fold_rassq):
9765 * fns.c (rassq_no_quit):
9767 * fns.c (Fold_delete):
9769 * fns.c (Fold_delq):
9770 * fns.c (delq_no_quit):
9771 * fns.c (Fremassoc):
9773 * fns.c (remassq_no_quit):
9774 * fns.c (Fremrassoc):
9775 * fns.c (Fremrassq):
9776 * fns.c (remrassq_no_quit):
9781 * frame-msw.c (mswindows_init_frame_1):
9782 * frame-msw.c (mswindows_delete_frame):
9783 Register popups with dialog code so keyboard traversing works.
9785 * frame-tty.c (tty_raise_frame_no_select): [1].
9788 * frame-x.c (x_set_frame_text_value):
9789 * frame-x.c (x_set_frame_properties):
9790 * frame-x.c (x_create_widgets):
9794 * frame.c (Fmouse_pixel_position): Minor doc fixes.
9796 * frame.h (wrap_frame): New.
9797 Macro like wrap_device.
9800 * general.c (SYMBOL):
9801 * general.c (syms_of_general):
9802 Major reorg. This is now just a wrapper and symbols themselves
9803 are listed in general-slots.h.
9805 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
9806 * glyphs-msw.c (mswindows_resource_instantiate): [5].
9808 * glyphs-msw.c (mswindows_native_layout_instantiate):
9809 Add DS_CONTROL so keyboard traversal will work.
9812 * glyphs-widget.c (syms_of_glyphs_widget):
9813 Move some symbols to general-slots.h.
9816 * glyphs-x.c (xbm_instantiate_1):
9817 * glyphs-x.c (x_xbm_instantiate):
9818 * glyphs-x.c (x_xface_instantiate):
9819 * glyphs-x.c (autodetect_instantiate):
9820 * glyphs-x.c (cursor_font_instantiate):
9821 * glyphs-x.c (x_update_widget):
9822 * glyphs-x.c (x_widget_instantiate):
9823 * glyphs.c (bitmap_to_lisp_data):
9824 * glyphs.c (pixmap_to_lisp_data):
9827 * glyphs.c (syms_of_glyphs):
9831 * gui-x.c (print_widget_value):
9832 * gui-x.c (menu_separator_style_and_to_external):
9833 * gui-x.c (add_accel_and_to_external):
9834 * gui-x.c (button_item_to_widget_value):
9835 * gui-x.c (gui_items_to_widget_values_1):
9836 * gui-x.c (gui_items_to_widget_values):
9837 * gui-x.c (syms_of_gui_x):
9838 * gui-x.c (vars_of_gui_x):
9839 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
9843 Muleize, prototype changes matching gui-x.c.
9846 * gui.c (separator_string_p):
9847 * gui.c (gui_item_add_keyval_pair):
9848 * gui.c (make_gui_item_from_keywords_internal):
9849 * gui.c (signal_too_long_error):
9850 * gui.c (parse_gui_item_tree_item):
9851 * gui.c (syms_of_gui):
9852 * gui.c (vars_of_gui):
9854 menu-no-selection-hook moved here (used by MSWin).
9855 Move some symbols to general-slots.h.
9859 * insdel.c (get_buffer_pos_char):
9860 * insdel.c (get_buffer_range_char):
9863 * keymap.c (keymap_lookup_directly):
9864 * keymap.c (keymap_store):
9865 * keymap.c (ensure_meta_prefix_char_keymapp):
9866 * keymap.c (describe_map):
9868 Support new button modifiers.
9870 * lisp-disunion.h (wrap_object):
9871 * lisp-disunion.h (XSETOBJ):
9872 Rename make_obj to wrap_object.
9875 * lisp-union.h (make_int):
9876 * lisp-union.h (make_char):
9877 Support wrap_object.
9880 * lisp.h (LIST_LOOP):
9881 * lisp.h (EXTERNAL_LIST_LOOP):
9882 * lisp.h (LIST_LOOP_2):
9883 * lisp.h (EXTERNAL_LIST_LOOP_1):
9884 * lisp.h (EXTERNAL_LIST_LOOP_2):
9885 * lisp.h (EXTERNAL_LIST_LOOP_3):
9886 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
9887 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
9888 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
9889 * lisp.h (EXTERNAL_ALIST_LOOP_5):
9890 * lisp.h (EXTERNAL_ALIST_LOOP_6):
9891 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
9892 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
9893 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
9894 * lisp.h (struct Lisp_Symbol):
9895 * lisp.h (maybe_continuable_error_with_frob):
9896 Fix up section comments.
9897 Add new types for char to indicate usage.
9898 Delete symbols auto-generated from general-slots.h.
9899 Add prototypes for structured error functions.
9900 Add long comments describing looping macros and change interface
9901 so that lvalues are automatically declared.
9902 Add NO_DECLARE macro in case callers want to declare lvalues
9905 * lread.c (read_syntax_error):
9906 * lread.c (continuable_read_syntax_error):
9907 * lread.c (read_structure):
9908 * lread.c (sequence_reader):
9909 * lread.c (read_list_conser):
9910 * lread.c (read_compiled_function):
9911 Rename syntax_error and continuable_syntax_error to avoid clash
9912 with same-named structured error functions.
9914 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9915 * menubar-msw.c (populate_menu_add_item):
9916 * menubar-msw.c (populate_or_checksum_helper):
9921 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9922 Mule-ize whole file.
9924 * menubar.c (Fnormalize_menu_item_name): Add optimization.
9926 * mule-charset.c (Fmake_charset):
9927 * mule-wnnfns.c (Fwnn_set_param):
9930 * ntproc.c (create_child):
9931 * ntproc.c (Fwin32_set_current_locale):
9932 Add comments portending doom.
9935 * objects-msw.c (old_font_enum_callback_2):
9936 * objects-msw.c (font_enum_callback_1):
9937 * objects-msw.c (mswindows_enumerate_fonts):
9941 * objects-x.c (allocate_nearest_color):
9942 * objects-x.c (x_parse_nearest_color):
9943 * objects-x.c (x_initialize_color_instance):
9944 * objects-x.c (x_print_color_instance):
9945 * objects-x.c (x_finalize_color_instance):
9946 * objects-x.c (x_valid_color_name_p):
9947 * objects-x.c (x_initialize_font_instance):
9948 * objects-x.c (x_print_font_instance):
9949 * objects-x.c (valid_x_font_name_p):
9950 * objects-x.c (truename_via_FONT_prop):
9951 * objects-x.c (truename_via_random_props):
9952 * objects-x.c (truename_via_XListFonts):
9953 * objects-x.c (x_font_truename):
9954 * objects-x.c (x_font_instance_truename):
9955 * objects-x.c (x_font_instance_properties):
9956 * objects-x.c (x_list_fonts):
9957 * objects-x.c (x_find_charset_font):
9958 Mule-ize entire file.
9965 * print.c (std_handle_out_external):
9966 * print.c (debug_print_no_newline):
9967 * print.c (syms_of_print):
9968 Output to all debugger kinds in debug-print.
9969 Fix console-output code under MSWin to actually work.
9971 * process-nt.c (send_signal):
9972 * process-nt.c (nt_create_process):
9973 Use newer Unicode macros.
9975 * process-unix.c (unix_create_process):
9976 * process-unix.c (unix_canonicalize_host_name):
9977 * process-unix.c (unix_open_network_stream):
9983 * search.c (syms_of_search):
9986 * select-msw.c (mswindows_destroy_selection):
9989 * select-x.c (symbol_to_x_atom):
9992 * select.c (syms_of_select):
9995 * sound.c (Fplay_sound_file):
9999 * specifier.c (decode_specifier_type):
10000 * specifier.c (Fvalid_specifier_locale_type_p):
10001 * specifier.c (check_valid_locale_or_locale_type):
10002 * specifier.c (decode_locale):
10003 * specifier.c (decode_locale_type):
10004 * specifier.c (decode_locale_list):
10005 * specifier.c (check_valid_domain):
10006 * specifier.c (decode_specifier_tag_set):
10007 * specifier.c (Fcanonicalize_tag_set):
10008 * specifier.c (Fdefine_specifier_tag):
10009 * specifier.c (Fspecifier_tag_predicate):
10010 * specifier.c (check_valid_inst_list):
10011 * specifier.c (check_valid_spec_list):
10012 * specifier.c (decode_how_to_add_specification):
10013 * specifier.c (check_modifiable_specifier):
10014 * specifier.c (specifier_add_spec):
10015 * specifier.c (boolean_validate):
10016 * specifier.c (display_table_validate):
10019 * specifier.c (syms_of_specifier):
10020 Move some symbols to general-slots.h.
10024 * symbols.c (Fmapatoms):
10025 * symbols.c (Fapropos_internal):
10028 * symbols.c (set_default_buffer_slot_variable):
10029 * symbols.c (set_default_console_slot_variable):
10032 * symbols.c (defsymbol_massage_name_1):
10033 * symbols.c (defkeyword_massage_name):
10034 * symbols.c (deferror_1):
10035 * symbols.c (deferror):
10036 * symbols.c (deferror_massage_name_and_message):
10038 * symeval.h (DEFSYMBOL):
10039 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
10041 * symbols.c (syms_of_symbols):
10045 * symsinit.h (init_win32): New.
10046 Also new is syms_of_dialog_mswindows.
10049 Add new Unicode macros, missing Cygwin wide-char functions,
10050 convenience conversion macros for Qmswindows_tstr, macros for
10051 encapsulating required MSWin <-> Cygwin filename conversions,
10052 prototype for dynamically-extracted (not in NT 3.51) functions.
10057 * tooltalk.c (Fadd_tooltalk_message_arg):
10058 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10059 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10062 * tooltalk.c (syms_of_tooltalk):
10066 * unexnt.c (unexec):
10067 Fix up headers, declaration of unexec() to be more standard.
10069 2000-07-20 Martin Buchholz <martin@xemacs.org>
10071 * offix.h: Revert change to guard macros - they're used in offix.c!
10073 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10075 * lisp.h: Defsubred Fdelete.
10077 * console-msw.h: (msprinter_default_printer): Added.
10079 * console-msw.c (msprinter_canonicalize_console_connection):
10080 (msprinter_canonicalize_device_connection): Added.
10082 * device-msw.c (msprinter_default_printer):
10083 (Fmswingows_get_default_printer):
10084 (signal_enum_priner_error):
10085 (Fmswingows_printer_list): Added.
10087 2000-07-19 Martin Buchholz <martin@xemacs.org>
10089 * XEmacs 21.2.35 is released.
10091 2000-07-19 Martin Buchholz <martin@xemacs.org>
10093 * select-x.c (x_handle_selection_request):
10094 Text selected in xemacs and pasted into xterm failed to appear.
10095 Spelling fixes and cosmetic changes.
10097 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10099 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10100 XEmacs frame (fix for doubling chars in dialog boxes).
10102 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10104 * select.c (select_convert_in, select_convert_out):
10105 Don't call intern() every time.
10107 * select.c (Qselect_convert_in, Qselect_convert_out): New.
10108 * select.c (vars_of_select): Initialise them.
10110 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10112 * select.c (selection-coercible-types): New.
10114 * select.c (own-selection-internal):
10115 * select.c (get-selection-internal):
10116 MULE bug fix - these should default to COMPOUND_TEXT and not
10117 STRING for MULE. I think.
10119 * select.c (select_convert_out): Use selection-coercible-types
10120 to find types that we can attempt to perform coercions on.
10122 2000-07-18 Martin Buchholz <martin@xemacs.org>
10126 Add coding: cookie to identify encoding.
10128 * mule-canna.c (CANNA_mode_keys): make static.
10129 Use proper prototypes, even for functions of no arguments.
10130 Remove external prototype for Fding().
10132 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
10134 * select.c (syms_of_select): Add missing DEFSUBR.
10136 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10138 * select.c (get_selection_internal, own_selection_internal):
10139 Make the type default to STRING, rather than placing a nil type
10140 into Vselection_alist.
10142 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10144 * gpmevent.c (tty_selection_exists_p):
10145 * gpmevent.c (tty_own_selection):
10146 Updated parameter lists.
10148 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
10150 * select.h (selection-alist): Removed declaration.
10152 * select.h (get_local_selection):
10153 * select.c (get_local_selection):
10156 * select.h (convert_selection): Removed declaration.
10157 * select.c (convert_selection): Removed.
10158 This function belongs in Lisp.
10160 * select.h (select_convert_in): Declare.
10161 * select.h (select_convert_out): Declare.
10162 * select.c (select_convert_in): New.
10163 * select.c (select_convert_out): New.
10164 New conversion functions for other files to call.
10166 * select.h (select_notify_buffer_kill): Declare.
10167 * select.c (select_notify_buffer_kill): New.
10168 New functions that get called from kill-buffer.
10170 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
10171 X-specific lisp code.
10173 * select.h: Declare some of the lisp-visible functions for
10176 * select.c (clean_local_selection_data): Removed. This was
10177 a disgusting function, and previously should have been in
10178 select-x.c in any case. The functionality is now provided
10179 in select-convert-from-integer (select.el).
10181 * select.c (available-selection-types): Fixed stupidity where
10182 INTEGER and ATOM got added twice. Also add STRING when we see an
10185 * select.c (get-selection-internal): Removed symbol stripping. No
10186 longer causes conversion when data comes from the internal cache.
10188 * select.c (syms_of_select): Added new functions.
10190 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
10191 error checking - previously this called abort!
10193 * select-x.c (x_own_selection): Changed comment.
10195 * select-x.c (x_handle_selection_request): Use select_convert_out.
10196 Don't mess with selection-alist; it's an internal variable of select.c.
10198 * select-x.c (x_get_foreign_selection): Use select_convert_in.
10200 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
10201 rather than messing with selection-alist.
10203 * select-msw.c (mswindows_get_foreign_selection):
10204 Use TO_INTERNAL_FORMAT rather than hacking.
10206 2000-07-14 Martin Buchholz <martin@xemacs.org>
10208 * process-unix.c (unix_open_multicast_group):
10209 (unix_open_multicast_group): Remove useless casts.
10211 2000-07-13 Martin Buchholz <martin@xemacs.org>
10213 * sound.c (Fplay_sound): Fix `unused variable' warning.
10215 * emacs.c (main): Use correct type for _environ on SCO5.
10217 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
10219 * console.h (own_selection_method):
10220 * console.h (selection_exists_p_method):
10221 * console.h (available_selection_types_method): New.
10222 * console.h (register_selection_data_type_method): New.
10223 * console.h (selection_data_type_name): New.
10225 * console-msw.h (mswindows_destroy_selection): Declare it. New
10226 function & alist to track GlobalAlloc()'d handles that need
10227 releasing when the clipboard data gets replaced or emptied.
10229 * event-msw.c (mswindows_wnd_proc): Call it.
10231 * lisp.h, general.c (Qappend): New symbol representing a
10234 * select.c (own-selection-internal):
10235 * select.c (selection-exists-p):
10236 * select.c (available-selection-types): New.
10237 * select.c (register-selection-data-type): New.
10238 * select.c (selection-data-type-name): New. New functions to deal
10239 with device-specific selection data formats.
10240 * select.c (selection-converter-out-alist): Renamed.
10241 * select.c (selection-converter-in-alist): New.
10242 * select.c (selection-appender-alist): New. Added new alists.
10243 * select.c (syms_of_select, vars_of_select): Added new symbols &
10245 * select.c (get_local_selection): Split.
10246 * select.c: Removed spurious type checking - selections may now be
10247 of any type, not just strings.
10248 * select.c (own-selection-internal):
10250 * select.h, select.c (convert_selection): New. Created
10251 convert_selection() function based on get_local_selection().
10252 * select.h, select.c (QCF_*): New symbols representing mswindows
10254 * select.h, select.c (Qreplace_all, Qreplace_existing): New
10255 symbols representing `how-to-add' modes.
10257 * select-msw.c (x_sym_p): New.
10258 * select-msw.c (symbol_to_ms_cf): New.
10259 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
10260 symbols & clipboard formats. Can also handle string names.
10261 * select-msw.c (mswindows_own_selection):
10262 * select-msw.c (mswindows_selection_exists_p):
10263 Added `data-type' parameter. Use it.
10264 * select-msw.c (mswindows_available_selection_types): New.
10265 * select-msw.c (mswindows_register_selection_data_type): New.
10266 * select-msw.c (mswindows_selection_data_type_name): New.
10267 * select-msw.c (mswindows_own_selection):
10268 * select-msw.c (mswindows_get_foreign_selection):
10269 * select-msw.c (mswindows_selection_exists_p): Rewrote.
10270 * select-msw.c (console_create_select_mswindows): Added new methods.
10271 * select-msw.c (mswindows_destroy_selection): New.
10272 * select-msw.c (Vhandle_alist): New list.
10273 * select-msw.c (mswindows_own_selection):
10275 * select-x.c (x_own_selection):
10276 * select-x.c (x_selection_exists_p):
10277 * select-x.c: Added some comments about maybe using new
10279 * select-x.c (x_own_selection):
10281 * specifier.c: Remove definition of Qappend (now in general.c)
10282 * specifier.c (syms_of_specifier): Remove Qappend.
10284 2000-07-12 Martin Buchholz <martin@xemacs.org>
10286 * config.h.in: Add socklen_t.
10288 * s/decosf4-0.h: No special compiler flags needed or desired.
10289 In particular, undefine _BSD for DEC OSF 4.0.
10291 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10293 * redisplay-msw.c (msprinter_frame_output_end): Added.
10294 (console_type_create_redisplay_mswindows): Referred the above.
10296 * frame.c (setup_frame_without_minibuffer): Do not create a
10297 default minibuffer frame on a printer device.
10299 * frame-msw.c (apply_dc_geometry): Added.
10300 (msprinter_start_page):
10301 (msprinter_init_frame_3):
10302 (msprinter_eject_page): Use it.
10304 * console-msw.h (struct msprinter_frame): Added pix_left and top,
10305 and removed residual duplex and orientation properties.
10307 2000-07-11 Martin Buchholz <martin@xemacs.org>
10309 * eval.c (function_argcount): Work around a DEC CC compiler bug.
10311 * unexalpha.c: Remove system prototypes from C sources!
10313 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
10315 * eval.c: Remove references to M-x edit-options in DEFUNs for
10316 `defvar' and `defconst'.
10318 2000-07-09 Martin Buchholz <martin@xemacs.org>
10320 * config.h.in: Remove SMART_INCLUDE hackery.
10322 PostgreSQL hacking:
10323 * config.h.in: Don't use SMART_INCLUDE.
10325 * postgresql.h: Include libpq-fe.h here. Fix typo.
10326 * inline.c: Simply #include "postgresql.h"
10328 - Don't use SMART_INCLUDE
10329 - Use simply "const".
10330 - Use standard doc string conventions.
10331 - Use correct type for result of PQstatus.
10333 2000-07-09 Martin Buchholz <martin@xemacs.org>
10335 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
10337 C++ compilation changes.
10338 * config.h.in (EXTERN_C): Define.
10339 * config.h.in (not): This is also a C++ keyword.
10340 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
10341 * cm.c: Use EXTERN_C.
10342 * redisplay-tty.c: Use EXTERN_C.
10343 * sysdep.c: Use EXTERN_C. Remove Gould support.
10345 2000-07-09 Martin Buchholz <martin@xemacs.org>
10347 * general.c: Remove duplicate definition for Qfunction.
10349 2000-07-08 Ben Wing <ben@xemacs.org>
10351 * device-msw.c (msprinter_init_device):
10352 * device-msw.c (sync_printer_with_devmode):
10353 * device-msw.c (handle_devmode_changes):
10354 * device-msw.c (print_dialog_worker):
10355 * device-msw.c (Fmsprinter_apply_settings):
10356 * device-msw.c (hash_devmode):
10357 * device-msw.c (Fmsprinter_settings_despecialize):
10358 use Qmswindows_tstr, not Qctext.
10360 * vm-limit.c (check_memory_limits):
10361 avoid infinite loop printing warning messages.
10363 2000-07-05 Craig Lanning <lanning@scra.org>
10365 * Makefile.in.in: Add support for including the Windows resources
10366 when building with the cygwin and mingw targets.
10368 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
10369 not set or not correct.
10370 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
10371 (init_initial_directory): Don't try to use $PWD on the
10372 WIN32_NATIVE target.
10375 [[Add -mwindows to eliminate console window.]] not required --ben
10376 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10377 (MAIL_USE_POP): removed; now handled by configure.
10379 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
10380 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
10381 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10382 (MAIL_USE_POP): removed; now handled by configure.
10383 (ENCAPSULATE_STAT): from Dan Holmsand, added.
10384 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
10385 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
10387 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
10388 up from <winsock.h> via systime.h.
10389 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
10390 (getpagesize): from Dan Holmsand, added.
10391 Added #endif which was left dangling by Ben's mega patch; added
10392 comment to help prevent this in the future.
10394 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
10396 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10398 * console-msw.h (struct mswindows_device): Removed unnecessary
10399 cached device geometry values.
10400 Added update_tick and an accessor macro.
10401 (Lisp_Devmode): Added lrecord declaration.
10402 (struct msprinter_device): Contain devmode as a Lisp object.
10403 Added mswindows_get_selected_frame_hwnd();
10405 * console.h (struct console_methods): Indentation nitpicking.
10407 * device-msw.c (mswindows_init_device): Do not initialize geometry
10408 cache. Initialize update tick.
10409 (mswindows_device_system_metrics): Ask the device for its geometry.
10410 (global_free_2_maybe):
10411 (devmode_to_hglobal):
10412 (handle_printer_changes):
10413 (ensure_not_printing):
10414 (print_dialog_worker):
10415 (Fmsprinter_print_setup_dialog):
10416 (Fmsprinter_print_dialog):
10417 (plist_get_margin):
10418 (plist_set_margin):
10419 (Fmsprinter_page_setup_dialog): Added functions.
10420 (sync_printer_with_devmode):
10421 (handle_devmode_changes):
10422 (Fmsprinter_get_settings):
10423 (Fmsprinter_select_settings):
10424 (Fmsprinter_apply_settings):
10425 (allocate_devmode):
10426 (Fmsprinter_settings_copy):
10427 (Fmsprinter_settings_despecialize):
10429 (finalize_devmode):
10431 (hash_devmode): Added functions
10432 (syms_of_device_mswindows): Init devmode lrecord class.
10434 * device.h: Added an exfun for find-device.
10436 * event-msw.c (mswindows_wnd_proc): Do not update the cached
10437 geometry; although, recreate the device compatible DC.
10439 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
10440 (msprinter_init_frame_3):
10441 (msprinter_frame_property):
10442 (msprinter_internal_frame_property_p):
10443 (msprinter_frame_properties):
10444 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
10445 print job properties (will move to device settings).
10447 * lisp.h: Added symbols.
10449 * general.c (syms_of_general): Declared them.
10451 * hash.c (string_hash): Added.
10453 * lrecord.h (lrecord_type): Added devmode lrecord type.
10455 2000-07-02 Mike Sperber <mike@xemacs.org>
10457 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
10460 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
10462 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
10465 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
10467 * data.c (Fstring_to_number): Don't recognize floating point if
10470 2000-06-22 Martin Buchholz <martin@xemacs.org>
10472 * glyphs-widget.c (tab_control_query_geometry):
10473 (widget_query_geometry):
10474 (button_query_geometry):
10475 * glyphs.c (text_query_geometry):
10476 Enforce type correctness.
10478 2000-06-18 Martin Buchholz <martin@xemacs.org>
10480 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
10481 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
10483 2000-06-17 Martin Buchholz <martin@xemacs.org>
10485 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
10486 conflicts with gcc's fixincluded version of FOO.h.
10488 * glyphs.h (image_instance_geometry): Remove trailing `,'
10490 2000-06-08 Mike Alexander <mta@arbortext.com>
10492 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
10493 (shove_thread): Don't write the same output twice
10494 (make_ntpipe_output_stream): Increase priority of shove thread
10495 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
10497 (ntpipe_shove_closer): Don't delete the pipe until we're done with
10500 2000-06-12 Ben Wing <ben@xemacs.org>
10502 * s\mingw32.h (sigset):
10503 * s\windowsnt.h (sigset):
10504 rename msw_ to mswindows_ for consistency with general convention.
10506 2000-06-12 Ben Wing <ben@xemacs.org>
10509 * console-msw.c (mswindows_get_console_hwnd):
10510 * console-msw.c (mswindows_ensure_console_allocated):
10511 * console-msw.c (mswindows_hide_console):
10512 * console-msw.c (mswindows_show_console):
10513 * console-msw.c (mswindows_ensure_console_buffered):
10514 * console-msw.c (mswindows_output_console_string):
10515 * console-msw.c (mswindows_windows9x_p):
10517 * device-msw.c (mswindows_get_workspace_coords):
10518 * device-msw.c (mswindows_device_system_metrics):
10519 * dialog-msw.c (mswindows_popup_dialog_box):
10520 * event-msw.c (mswindows_wnd_proc):
10521 * frame-msw.c (mswindows_size_frame_internal):
10522 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10523 * menubar-msw.c (displayable_menu_item):
10524 * menubar-msw.c (mswindows_char_is_accelerator):
10526 * nt.c (mswindows_sigset):
10527 * nt.c (mswindows_sigrelse):
10528 * nt.c (mswindows_sigpause):
10529 * nt.c (mswindows_raise):
10530 * nt.c (timer_proc):
10532 * ntproc.c (find_child_console):
10533 * ntproc.c (sys_kill):
10535 * print.c (std_handle_out_external):
10536 * process-nt.c (find_child_console):
10537 * process-nt.c (send_signal_the_95_way):
10538 * process-nt.c (ensure_console_window_exists):
10539 * process-nt.c (nt_create_process):
10541 rename msw_ to mswindows_ for consistency with general convention.
10545 include nt.h, not syswindows.h.
10547 * nt.c (mswindows_fstat):
10548 * nt.c (mswindows_stat):
10549 prefix mswindows_ instead of attempting to directly override the
10550 library functions. fix declarations.
10553 include syswindows.h. move some sysdep.h stuff here.
10556 include syswindows.h, not <windows.h>.
10564 * sysdep.c (sys_fstat):
10565 * sysdep.c (sys_stat):
10566 call mswindows versions when appropriate.
10569 move mswin decls to nt.h.
10572 add long comment describing appropriate use of the various windows
10575 2000-06-11 Ben Wing <ben@xemacs.org>
10577 * device-x.c: Correct doc string for sixth arg of x-get-resource.
10579 2000-06-10 Ben Wing <ben@xemacs.org>
10581 * Makefile.in.in (release):
10582 Correction to make sure xemacs.exe always dumped when correct.
10586 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
10588 * buffer.c (set_buffer_internal):
10589 [[[[2]]]]: Remove HAVE_FEP code.
10591 * buffer.c (init_initial_directory):
10595 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
10599 * callproc.c (call_process_cleanup):
10600 * callproc.c (Fold_call_process_internal):
10601 * callproc.c (child_setup):
10602 * callproc.c (getenv_internal):
10603 * callproc.c (init_callproc):
10604 * callproc.c (vars_of_callproc):
10605 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
10606 __CYGWIN32__ -> CYGWIN.
10607 DOS_NT -> WIN32_NATIVE.
10608 Remove MSDOS support/references, converting to WIN32_NATIVE
10610 __MINGW32__ -> MINGW.
10611 Fix windows.h includes.
10612 Remove bogus HAVE_NTGUI.
10618 mswindows_message_outputted added for use in allowing startup
10619 errors on the console to be seen.
10621 * console-msw.c (msw_ensure_console_allocated):
10622 * console-msw.c (msw_output_console_string):
10623 * console-msw.c (DHEADER):
10624 * console-msw.c (DOPAQUE_DATA):
10625 * console-msw.c (DEVENT):
10626 * console-msw.c (DCONS):
10627 * console-msw.c (DCONSCDR):
10628 * console-msw.c (DSTRING):
10629 * console-msw.c (DVECTOR):
10630 * console-msw.c (DSYMBOL):
10631 * console-msw.c (DSYMNAME):
10634 * console-stream.c (stream_init_console):
10635 Fix text/binary problems.
10638 * device-msw.c (mswindows_finish_init_device):
10639 * device-msw.c (mswindows_delete_device):
10642 * device.c (handle_asynch_device_change):
10646 * dgif_lib.c (DGifOpenFileName):
10647 * dgif_lib.c (DGifOpenFileHandle):
10648 * dgif_lib.c (DGifGetLine):
10649 * dgif_lib.c (DGifGetPixel):
10650 Added config.h/lisp.h, fix up includes.
10657 * dired.c (file_name_completion):
10658 * dired.c (Ffile_attributes):
10659 * dired.c (syms_of_dired):
10663 * dumper.c (pdump_file_unmap):
10664 * dumper.c (pdump_load):
10668 * editfns.c (Ftemp_directory):
10669 * editfns.c (user_login_name):
10670 * editfns.c (Fuser_real_login_name):
10671 * editfns.c (get_home_directory):
10674 * elhash.c (finish_marking_weak_hash_tables):
10675 [[[[5]]]]: Fix GCC warnings.
10678 * emacs.c (mswindows_handle_hardware_exceptions):
10679 * emacs.c (make_arg_list_1):
10680 * emacs.c (main_1):
10681 * emacs.c (Fkill_emacs):
10682 * emacs.c (Fdump_emacs):
10684 Fix problems with nested crashes, add long comment.
10686 * event-Xt.c (init_event_Xt_late):
10690 * event-msw.c (mswindows_dde_callback):
10691 * event-msw.c (mswindows_handle_sticky_modifiers):
10692 * event-msw.c (mswindows_wnd_proc):
10696 * events.c (character_to_event):
10700 * fileio.c (Ffile_name_directory):
10701 * fileio.c (Ffile_name_nondirectory):
10702 * fileio.c (directory_file_name):
10703 * fileio.c (Fexpand_file_name):
10704 * fileio.c (Fsubstitute_in_file_name):
10705 * fileio.c (Ffile_name_absolute_p):
10706 * fileio.c (check_executable):
10707 * fileio.c (Ffile_readable_p):
10708 * fileio.c (Ffile_accessible_directory_p):
10709 * fileio.c (Ffile_modes):
10710 * fileio.c (Funix_sync):
10711 * fileio.c (vars_of_fileio):
10714 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
10716 Expand getdefdir defn.
10717 Fix bogus rename() comment.
10719 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
10720 to use standard XEmacs include files, e.g. sysfile.h, rather
10721 than system-specific includes.
10727 * frame.c (vars_of_frame):
10731 * getloadavg.c (getloadavg):
10733 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
10734 (We don't use it elsewhere in the code; just add a comment.)
10741 * glyphs-msw.c (mswindows_resource_instantiate):
10744 * glyphs-x.c (x_native_layout_instantiate):
10747 * gui-msw.c (Fmswindows_shell_execute):
10756 * lread.c (locate_file_in_directory_mapper):
10763 * mem-limits.h (get_lim_data):
10775 * nt.c (rva_to_section):
10776 * nt.c (mswindows_executable_type):
10778 Fix closedir() defn.
10781 [[[[8]]]]: *_OK defs moved to sysfile.h.
10790 * print.c (std_handle_out_external):
10794 * process-nt.c (nt_create_process):
10796 try to fix process quoting somewhat.
10798 * process-unix.c (unix_create_process):
10802 * process.c (vars_of_process):
10809 * realpath.c (xrealpath):
10812 * redisplay-tty.c (init_tty_for_redisplay):
10822 * sheap.c (more_static_core):
10823 * sheap.c (report_sheap_usage):
10827 * signal.c (alarm_signal):
10834 * strftime.c (zone_name):
10837 * symsinit.h (init_sunpro):
10841 commctrl.h not in Cygwin b20.1.
10844 * sysdep.c (endif):
10845 * sysdep.c (sys_subshell):
10846 * sysdep.c (init_baud_rate):
10847 * sysdep.c (emacs_get_tty):
10848 * sysdep.c (emacs_set_tty):
10849 * sysdep.c (tty_init_sys_modes_on_device):
10850 * sysdep.c (init_system_name):
10851 * sysdep.c (sys_open):
10852 * sysdep.c (interruptible_open):
10853 * sysdep.c (sys_fopen):
10854 * sysdep.c (sys_mkdir):
10855 * sysdep.c (sys_rename):
10856 * sysdep.c (get_process_times_1):
10863 * sysdir.h (DIRENTRY_NONEMPTY):
10866 * sysdll.c (dll_init):
10872 added text/binary defs.
10878 * sysproc.h (EDESTADDRREQ):
10879 * sysproc.h (poll_fds_for_input):
10896 Always define WIN32_LEAN_AND_MEAN.
10898 * unexcw.c (unexec):
10902 * unexec.c (copy_text_and_data):
10903 * unexec.c (adjust_lnnoptrs):
10907 * unexnt.c (_start):
10910 2000-06-07 Ben Wing <ben@xemacs.org>
10912 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
10913 was used only as a model. We've long since extracted any useful
10914 logic or code out of this. (I just did an exhaustive search.)
10916 * s\msdos.h: Removed.
10918 * s\windows95.h: Removed.
10920 2000-06-10 Ben Wing <ben@xemacs.org>
10924 Don't use extern with fun defs.
10928 Remove nt\inc include.
10929 Remove getdisk, getdefdir. (The former is unused, the latter
10930 expanded in fileio.h.)
10933 * s\windowsnt.h (WIN32_NATIVE):
10934 * s\windowsnt.h (HAVE_STRCASECMP):
10936 Add long comment about preprocessor changes.
10937 Remove getdisk, getdefdir. (The former is unused, the latter
10938 expanded in fileio.h.)
10940 2000-06-10 Ben Wing <ben@xemacs.org>
10949 Remove bogus/unused NO_SOCK_SIGIO.
10951 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
10953 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
10956 2000-06-04 Mike Sperber <mike@xemacs.org>
10958 * casetab.c (set_case_table): For `set-standard-case-table',
10959 actually deposit the new case tables where the rest of XEmacs can
10962 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
10964 * data.c (Faset): Don't cast XCHAR() to unsigned char.
10966 2000-06-05 Ben Wing <ben@xemacs.org>
10968 * callproc.c (child_setup): Don't do close_load_descs() under
10969 MS Windows. Put in a comment explaining why.
10971 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
10973 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
10974 Toolkit shell" which breaks `kill-compilation' on Windows NT
10975 native, retaining STDERR handling improvements.
10977 2000-06-01 Andreas Jaeger <aj@suse.de>
10979 * s/s390.h: Support for S390, based on a patch by Martin
10980 Schwidefsky <schwidefsky@de.ibm.com>.
10982 2000-05-30 Andy Piper <andy@xemacs.org>
10984 * window.c (allocate_window):
10985 (make_dummy_parent):
10986 (Fset_window_configuration): use new hashtable type.
10988 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
10989 (struct image_instantiator_methods):
10990 (struct Lisp_Image_Instance): make instance geometry signed.
10992 * glyphs.c (instantiate_image_instantiator):
10993 (image_instance_query_geometry):
10994 (image_instance_layout):
10995 (image_instance_layout):
10996 (query_string_geometry):
10997 (text_query_geometry):
10998 (image_instantiate):
10999 (image_instantiate):
11000 (cache_subwindow_instance_in_frame_maybe):
11001 (subwindow_query_geometry): make instance geometry signed.
11003 * glyphs-widget.c (widget_query_geometry):
11005 (button_query_geometry):
11006 (tree_view_query_geometry):
11007 (tab_control_query_geometry):
11008 (layout_query_geometry):
11010 (native_layout_layout): make instance geometry signed.
11012 2000-05-29 Olivier Galibert <galibert@pobox.com>
11014 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
11017 * general.c (syms_of_general): Add Qfull_assoc symbol.
11019 * data.c (finish_marking_weak_lists): Mark full-assoc lists
11021 (decode_weak_list_type): Decode full-assoc type.
11022 (encode_weak_list_type): Encode full-assoc type.
11023 (Fmake_weak_list): Update doc string.
11025 2000-05-30 Andy Piper <andy@xemacs.org>
11027 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
11029 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
11030 (decode_hash_table_weakness): ditto.
11031 (Fhash_table_weakness): ditto.
11032 (Fhash_table_type): ditto.
11033 (finish_marking_weak_hash_tables): ditto.
11034 (hash_table_weakness_validate): ditto.
11035 (syms_of_elhash): ditto.
11037 2000-05-28 Martin Buchholz <martin@xemacs.org>
11039 * XEmacs 21.2.34 is released.
11041 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11043 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
11045 (updating_line_start_cache): Gone.
11046 (regenerate_window): Replace resetting of VERTICAL_CLIP by
11047 generic code to force a minimum of 1 line laid out in the
11050 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11052 * glyphs.c (instantiate_image_instantiator): Check for initialized
11053 height & width no longer special cases IMAGE_NOTHING.
11054 (nothing_instantiate): Set height and width of instance.
11056 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11058 * unexelf.c (unexec): Search for ".data" section.
11059 Initialize new_data2_offset from old_data_index.
11060 Remove redundant check for ElfW.
11062 2000-05-23 Andy Piper <andy@xemacs.org>
11064 * glyphs.c (get_image_instantiator_governing_domain): allow more
11065 specific domains as the governing domain rather than expecting an
11066 exact match. This fixes problems with layouts.
11068 2000-05-22 Andy Piper <andy@xemacs.org>
11070 * redisplay-output.c (compare_runes): check for non-images
11072 * glyphs.c (set_glyph_dirty_p): ditto.
11073 (update_glyph_cachel_data): ditto.
11075 * glyphs-widget.c (layout_post_instantiate): ditto.
11076 (layout_post_instantiate): ditto.
11078 * event-msw.c (mswindows_wnd_proc): warning removal.
11080 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11082 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11084 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11086 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11088 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11089 (mswindows_executable_type): mingw32 now has enough headers for
11092 2000-05-20 Andy Piper <andy@xemacs.org>
11094 * console-msw.c (mswindows_output_last_error): ; -> ,
11096 2000-05-12 Andy Piper <andy@xemacs.org>
11098 * console-msw.c (FROB): compare ints with ints.
11100 2000-05-11 Andy Piper <andy@xemacs.org>
11102 * glyphs-x.c (x_finalize_image_instance): make minimal build
11105 2000-05-20 Ben Wing <ben@xemacs.org>
11108 * event-Xt.c (vars_of_event_Xt):
11109 move modifier-keys-are-sticky to event-stream.c.
11112 * event-msw.c (mswindows_enqueue_mouse_button_event):
11113 * event-msw.c (key_needs_default_processing_p):
11114 * event-msw.c (XEMSW_LCONTROL):
11115 * event-msw.c (mswindows_handle_sticky_modifiers):
11116 * event-msw.c (FROB):
11117 * event-msw.c (clear_sticky_modifiers):
11118 * event-msw.c (output_modifier_keyboard_state):
11119 * event-msw.c (output_alt_keyboard_state):
11120 * event-msw.c (mswindows_wnd_proc):
11121 * event-msw.c (mswindows_modifier_state):
11122 * event-msw.c (emacs_mswindows_handle_magic_event):
11123 implement sticky modifiers.
11126 * event-stream.c (vars_of_event_stream):
11127 move modifier-keys-are-sticky here.
11130 add CHECK_FUNCTION.
11133 implement map-range-table.
11136 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
11138 * redisplay-tty.c (reset_tty_modes):
11139 (tty_redisplay_shutdown): Adjust argument type to
11140 tty_frame_output_end.
11142 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11144 * eval.c (Fbacktrace): Don't output a line with only right
11147 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
11149 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
11150 (Fpq_reset_poll): Ditto.
11152 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
11154 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
11156 2000-05-16 Ben Wing <ben@xemacs.org>
11159 * buffer.c (dfc_convert_to/from_internal_format):
11160 * buffer.c (reinit_vars_of_buffer):
11161 Fix conversion functions to allow reentrancy.
11164 * console-msw.c (mswindows_output_last_error):
11165 New fun, generally useful -- output a human-readable
11166 version of GetLastError() on the console.
11169 * console-msw.h (struct mswindows_frame):
11170 Changes for DeferWindowPos. Declare mswindows_output_last_error().
11172 * console-stream.c (stream_output_begin):
11173 * console-stream.c (stream_output_end):
11174 * console-stream.c (stream_output_vertical_divider):
11175 * console-stream.c (stream_clear_region):
11176 * console-stream.c (stream_flash):
11177 * console-stream.c (console_type_create_stream):
11178 Delete blank stream methods, not needed.
11180 * console.h (struct console_methods):
11181 Split begin/end methods into window and frame.
11184 * event-msw.c (mswindows_handle_paint):
11185 * event-msw.c (output_alt_keyboard_state):
11186 * event-msw.c (mswindows_wnd_proc):
11187 * event-msw.c (vars_of_event_mswindows):
11188 Comment about problems with ignored-expose.
11189 Define mswindows-debug-events; not really implemented.
11191 * frame-msw.c (mswindows_init_frame_1):
11195 * glyphs-msw.c (begin_defer_window_pos):
11196 * glyphs-msw.c (mswindows_unmap_subwindow):
11197 * glyphs-msw.c (mswindows_map_subwindow):
11198 * glyphs-msw.c (mswindows_resize_subwindow):
11199 Use DeferWindowPos to reduce flashing when mapping/unmapping.
11201 * glyphs.c (make_image_instance_1):
11204 * gutter.c (Fredisplay_gutter_area):
11205 Use new begin/end methods.
11207 * lisp.h (Dynarr_new2):
11211 * redisplay-msw.c (mswindows_frame_output_begin):
11212 * redisplay-msw.c (mswindows_frame_output_end):
11213 * redisplay-msw.c (console_type_create_redisplay_mswindows):
11214 New begin/end methods -- handle DeferWindowPos.
11216 * redisplay-output.c (redisplay_move_cursor):
11217 * redisplay-output.c (redraw_cursor_in_window):
11218 * redisplay-output.c (redisplay_update_line):
11219 * redisplay-output.c (redisplay_output_window):
11220 New begin/end methods.
11223 * redisplay-tty.c (tty_frame_output_begin):
11224 * redisplay-tty.c (tty_frame_output_end):
11225 * redisplay-tty.c (console_type_create_redisplay_tty):
11226 New begin/end methods.
11229 * redisplay-x.c (x_window_output_begin):
11230 * redisplay-x.c (x_window_output_end):
11231 * redisplay-x.c (console_type_create_redisplay_x):
11232 New begin/end methods.
11234 * redisplay.c (redisplay_frame):
11235 * redisplay.c (Fredisplay_echo_area):
11236 New begin/end methods.
11237 use MAYBE_DEVMETH for clear_frame; it may not exist.
11239 * window.h (WINDOW_XFRAME):
11240 WINDOW_XFOO macros -- get locale and decode struct pointer.
11243 2000-05-12 Ben Wing <ben@xemacs.org>
11246 * emacs.c (ensure_no_quitting_from_now_on):
11247 * emacs.c (fatal_error_signal):
11248 * emacs.c (mswindows_handle_hardware_exceptions):
11250 * emacs.c (Fkill_emacs):
11251 * emacs.c (shut_down_emacs):
11252 * emacs.c (assert_failed):
11253 various improvements in fatal error handling.
11256 move preparing_for_armageddon to emacs.c.
11259 declare fatal_error_in_progress.
11262 * print.c (std_handle_out_external):
11263 * print.c (std_handle_out_va):
11264 * print.c (stderr_out):
11265 * print.c (stdout_out):
11266 use console under mswin when no standard output.
11267 don't do code conversion during fatal error.
11269 * scrollbar.c (Fscrollbar_page_up):
11270 * scrollbar.c (Fscrollbar_page_down):
11271 fix missing else. reindent.
11273 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
11277 * glyphs.h (GLYPH_CACHEL_DESCENT):
11278 (GLYPH_CACHEL_DESCENT):
11279 (GLYPH_CACHEL_DESCENT):
11280 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
11281 used in case these are inline functions.
11282 Use more absurd values to error check.
11284 include window.h for error check functions.
11286 2000-05-11 Ben Wing <ben@xemacs.org>
11288 * cmdloop.c (Freally_early_error_handler):
11289 Display message box under windows; otherwise, message will disappear
11290 before it can be viewed.
11293 * console-msw.c (Fmswindows_message_box):
11294 * console-msw.c (FROB):
11295 * console-msw.c (syms_of_console_mswindows):
11296 Define new fun `mswindows-message-box'.
11297 #### I will merge this into `popup-dialog-box'; just give me
11301 * general.c (syms_of_general):
11302 Some new symbols used in `mswindows-message-box'.
11305 * glyphs.c (Fset_image_instance_property):
11306 put warning in this fun.
11309 * glyphs.h (GLYPH_CACHEL_WIDTH):
11310 * glyphs.h (GLYPH_CACHEL_ASCENT):
11311 * glyphs.h (GLYPH_CACHEL):
11312 * glyphs.h (GLYPH_CACHEL_GLYPH):
11313 define error-checking versions to try to catch a bug i've seen --
11314 redisplay gets in an infinite loop because the glyph width of the
11315 continuation glyph is 65535.
11318 Extern message-box stuff.
11320 * window.c (allocate_window):
11321 * window.c (make_dummy_parent):
11322 * window.c (Fset_window_configuration):
11323 Use EQUAL not EQ for subwindow caches to make them work a bit
11324 better. (Something is still very broken.)
11327 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11329 * glyphs.c (image_instantiate): Suppress gcc warnings.
11330 (Fmake_image_instance): Fix doc string.
11331 * specifier.c (Fmake_specifier): Ditto.
11333 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
11335 * paths.h.in (PATH_LOCK): Removed.
11336 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
11337 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
11339 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11341 * fns.c (Ffeaturep): Update e-mail address in doc-string.
11342 Document (featurep '(and xemacs 21.02)).
11344 2000-05-09 Ben Wing <ben@xemacs.org>
11346 * buffer.c (complex_vars_of_buffer):
11347 update modeline-format doc.
11350 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
11353 timeline of all released versions of Emacs, for use in creating
11354 authorship comments and in synching up.
11356 * glyphs-widget.c (image_instantiator_buttons):
11357 * glyphs-widget.c (image_instantiator_edit_fields):
11358 * glyphs-widget.c (image_instantiator_combo_box):
11359 * glyphs-widget.c (image_instantiator_scrollbar):
11360 * glyphs-widget.c (image_instantiator_progress_guage):
11361 * glyphs-widget.c (image_instantiator_tree_view):
11362 * glyphs-widget.c (image_instantiator_tab_control):
11363 * glyphs-widget.c (image_instantiator_labels):
11364 * glyphs-widget.c (image_instantiator_layout):
11365 * glyphs-widget.c (image_instantiator_native_layout):
11366 rename decode_domain method to governing_domain.
11369 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
11370 * glyphs.c (add_entry_to_device_ii_format_list):
11371 make sure we don't put an entry more than once into the list.
11372 * glyphs.c (check_instance_cache_mapper):
11373 *************************************************************
11374 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11376 *************************************************************
11377 * glyphs.c (get_image_instantiator_governing_domain):
11378 clean up, expand on new concept of governing domain.
11379 * glyphs.c (instantiate_image_instantiator):
11380 * glyphs.c (allocate_image_instance):
11381 use governing_domain instead of cache_domain in naming.
11382 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
11383 * glyphs.c (make_image_instance_1):
11384 * glyphs.c (Fmake_image_instance):
11385 allow for any domain (not just device), and process the
11386 governing domain correctly. very big doc fix.
11387 * glyphs.c (Fimage_instance_domain):
11388 new primitive, to retrieve the governing domain of an image instance.
11389 * glyphs.c (image_instantiate):
11390 use new governing_domain stuff. this fixes a crash you could get
11391 by instantiating certain widget glyphs in frame locales. (should
11392 signal an error instead of crashing.)
11393 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
11394 * glyphs.c (Fglyphp): clean up doc.
11395 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
11396 * glyphs.c (syms_of_glyphs):
11397 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
11398 * glyphs.c (image_instantiator_format_create): add some comments about
11400 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
11401 for current-display-table. (Apparently Hrjove implemented in 1998 a
11402 design I wrote up in 1996, but didn't update the doc string.)
11404 * glyphs.h: clean up a doc string.
11405 * glyphs.h (governing_domain):
11406 * glyphs.h (struct image_instantiator_methods):
11407 changes for governing_domain stuff.
11410 * gutter.c (Fgutter_specifier_p):
11411 * gutter.c (Fgutter_size_specifier_p):
11412 * gutter.c (Fgutter_visible_specifier_p):
11414 * objects.c (Fcolor_specifier_p):
11415 * objects.c (Ffont_specifier_p):
11416 * objects.c (Fface_boolean_specifier_p):
11417 doc strings moved to make-*-specifier.
11419 * redisplay.c (add_disp_table_entry_runes_1):
11420 * redisplay.c (generate_fstring_runes):
11421 * redisplay.c (screen):
11422 add random comments and doc strings.
11425 * specifier.c (Fmake_specifier):
11426 major overhaul of this doc string.
11428 * specifier.c (Fvalid_specifier_domain_p):
11429 comment about the bogosity of image instances being domains.
11430 * specifier.c (decode_domain):
11431 now non-static, used in glyphs.c.
11432 * specifier.c (specifier_instance):
11433 comment about the bogosity of image instances being domains.
11434 * specifier.c (Fgeneric_specifier_p):
11435 move doc string to make-generic-specifier.
11436 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
11440 * specifier.h (DOMAIN_FRAME):
11441 * specifier.h (DOMAIN_LIVE_P):
11442 * specifier.h (DOMAIN_XDEVICE):
11444 add comments about problems with these macros.
11445 prototype for decode_domain.
11448 * toolbar.c (Ftoolbar_specifier_p):
11449 move doc string to `make-toolbar-specifier'.
11451 * window.c (window_unmap_subwindows_cache_mapper):
11452 *************************************************************
11453 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11455 *************************************************************
11457 2000-05-09 Andy Piper <andy@xemacs.org>
11459 * glyphs.h: declare reset_frame_subwindow_instance_cache.
11461 * window.c (Fset_window_configuration): reset the frame subwindow
11462 cache and re-initialize the window subwindow caches.
11464 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
11466 2000-05-09 Ben Wing <ben@xemacs.org>
11468 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
11471 2000-04-26 Mike Woolley <mike@bulsara.com>
11473 * ntheap.c: Changed recreate_heap to limit the amount reserved
11474 for the heap to that which is actually available. Also now
11475 displays a message box (with some dignostics) in the event that
11476 it still can't start.
11478 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11480 * callproc.c (Fold_call_process_internal): GCPRO path
11482 2000-05-08 Jan Vroonhof <jan@xemacs.org>
11484 Patch by Bill Perry.
11486 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
11487 back data instead of #ifdef.
11488 (Fscrollbar_page_down): ditto.
11490 2000-05-07 Ben Wing <ben@xemacs.org>
11493 Kludge for defining Qmswindows_tstr.
11496 * nt.c (open_input_file):
11497 * nt.c (open_output_file):
11498 * nt.c (rva_to_section):
11499 * nt.c (mswindows_executable_type):
11500 Move all memory-mapped-file routines here (some were in unexnt.c,
11501 which is bad because they are used by process-nt.c, and unexnt
11502 won't be around when portable dumping). Synched the above routines
11506 Removed ifdef'd out bogus code.
11507 Fixed some prototypes.
11509 * nt.h (file_data):
11510 * nt.h (OFFSET_TO_RVA):
11511 * nt.h (RVA_TO_OFFSET):
11512 * nt.h (RVA_TO_PTR):
11513 Moved the memory-mapped-file structures, macros and prototypes
11514 here, to parallel nt.c. ntheap.h should really be removed
11515 entirely, and it's a non-portable-dumper specific file.
11517 * ntheap.h (round_to_next):
11518 Moved the memory-mapped-file structures, macros and prototypes
11521 * ntproc.c (compare_env):
11522 Moved rva_to_section and mswindows_executable_type to nt.c.
11523 Moved compare_env to process-nt.c.
11524 ntproc.c will die, one day.
11526 * ntproc.c (sys_spawnve):
11527 Account for win32_ -> mswindows_.
11530 * process-nt.c (struct nt_process_data):
11531 * process-nt.c (ensure_console_window_exists):
11532 * process-nt.c (compare_env):
11533 * process-nt.c (nt_create_process):
11534 * process-nt.c (nt_kill_process_by_pid):
11535 * process-nt.c (syms_of_process_nt):
11536 * process-nt.c (vars_of_process_nt):
11537 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
11538 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
11539 changes). Eliminate our old `nt-quote-process-args' mechanism.
11540 Synch up nt_create_process with FSF 20.6 sys_spawnve.
11541 Move compare_env here from ntproc.c.
11543 * process.c (Fprocess_send_region):
11544 Takes an optional fourth argument, BUFFER, which should fix some
11545 problems with call-process.
11548 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
11551 Move ICC_BAR_CLASSES to syscommctrl.h.
11552 Add preliminary macros for MSWindows/Mule. More to come.
11555 * unexnt.c (unexec):
11556 open_output_file moved to nt.c.
11559 2000-05-05 Andy Piper <andy@xemacs.org>
11561 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
11562 instance from the frame cache also since GC may catch up too late
11563 to make frame deletion sane.
11565 2000-05-04 Andy Piper <andy@xemacs.org>
11567 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
11568 (x_finalize_image_instance): ungcpro on deletion.
11570 * glyphs.c (image_instantiator_format_create): give pointers a
11571 query geometry method so that the geometry is at least set.
11573 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
11574 initialize layouts if using widgets.
11576 2000-05-03 Andy Piper <andy@xemacs.org>
11578 * nt.c: remove bogus reference to sysmmsystem.h
11580 * gui-x.c (popup_selection_callback): fix no selection abort.
11582 2000-05-02 Andy Piper <andy@xemacs.org>
11584 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
11585 (mswindows_widget_instantiate): ditto.
11587 * glyphs-widget.c (initialize_widget_image_instance): initialize
11588 children correctly.
11589 (widget_instantiate): cope with children and items in the same
11592 * glyphs.c (mark_image_instance): cope with children as a first
11594 (image_instance_equal): ditto.
11595 (image_instance_hash): ditto.
11596 (image_instance_changed): ditto.
11598 2000-04-30 Andy Piper <andy@xemacs.org>
11600 * glyphs.c (subwindow_query_geometry): new function. Return some
11602 (subwindow_instantiate): don't assign dimensions if none have been
11604 (image_instantiator_format_create): add subwindow_query_geometry.
11605 (print_image_instance): cope with layouts as widgets.
11607 2000-04-29 Andy Piper <andy@xemacs.org>
11609 * frame.c (delete_frame_internal): call
11610 free_frame_subwindow_instance_cache so that all subwindows are
11611 finalized before their parent.
11612 (mark_frame): remove subwindow_cachels.
11613 (Fmake_frame): remove subwindow_cachel manipulation.
11614 (allocate_frame_core): subwindow_instance_cache is a weak list.
11615 (delete_frame_internal): set subwindow_instance_cache to nil.
11617 * glyphs-msw.c (mswindows_finalize_image_instance): make double
11619 (mswindows_finalize_image_instance): use the device
11620 not the domain as the domain may have died already.
11622 * glyphs-x.c (x_finalize_image_instance): ditto.
11623 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
11626 * redisplay-output.c (redisplay_unmap_subwindows): update for
11627 subwindow instance cache as a weak list.
11628 (redisplay_unmap_subwindows_maybe): ditto.
11629 (redisplay_unmap_subwindows_except_us): ditto.
11631 * glyphs.c (unmap_subwindow): error checking will check the domain
11632 so don't deal with it here. Don't use cachels anymore.
11633 (map_subwindow): ditto.
11634 (update_subwindow_cachel_data): remove old accessor names.
11635 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
11636 (Fresize_subwindow): don't update cachel.
11637 (mark_subwindow_cachels):
11638 (update_subwindow_cachel_data):
11639 (add_subwindow_cachel):
11640 (get_subwindow_cachel_index):
11641 (update_subwindow_cachel):
11642 (reset_subwindow_cachels):
11643 (mark_subwindow_cachels_as_not_updated): deleted.
11644 (cache_subwindow_instance_in_frame_maybe): new function. Add a
11645 subwindow instance to the frame cache.
11646 (find_matching_subwindow): update for subwindow instance cache as
11648 (update_widget_instances): ditto.
11649 (image_instance_type_to_mask):inlined.
11650 (free_frame_subwindow_instance_cache): new function. finalize all
11651 subwindows that are instantiated.
11653 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
11654 of cachel information.
11655 (IMAGE_INSTANCE_DISPLAY_X):
11656 (IMAGE_INSTANCE_DISPLAY_Y):
11657 (IMAGE_INSTANCE_DISPLAY_WIDTH):
11658 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
11659 (XIMAGE_INSTANCE_DISPLAY_X):
11660 (XIMAGE_INSTANCE_DISPLAY_Y):
11661 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
11662 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
11663 remove subwindow_cachel structure and function references.
11664 (image_instance_type_to_mask): inline from glyphs.c
11666 * redisplay.c (redisplay_frame): remove subwindow_cachel
11669 * frame.h (struct frame): remove subwindow_cachels.
11670 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
11672 * frameslots.h: add subwindow_instance_cache.
11674 * window.c (replace_window): check subwindow cache of replacement.
11675 (window_unmap_subwindows_cache_mapper):
11676 (window_unmap_subwindows): new functions. Unmap all subwindows
11677 cached on this window.
11678 (mark_window_as_deleted): unmap all subwindows.
11680 2000-04-27 Andy Piper <andy@xemacs.org>
11682 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
11684 * glyphs-widget.c (widget_layout): return something.
11685 (layout_layout): return something. Fail if not initialized.
11686 (layout_query_geometry): ditto.
11687 (image_instantiator_native_layout): new function. Initialized the
11688 native layout type.
11689 (widget_instantiate): don't do layout stuff here.
11691 * glyphs.c (instantiate_image_instantiator): reorded calling or
11692 instantiate and post_instantiate with layout in between.
11693 (image_instance_layout): be more selective about deciding whether
11694 the layout has been done or not.
11696 * glyphs.h (struct image_instantiator_methods): return a value
11697 from layout_method.
11699 2000-04-26 Andy Piper <andy@xemacs.org>
11701 * glyphs.c (allocate_image_instance): make initial width and
11702 height unspecified. Set initialized to 0.
11704 * syscommctrl.h new file. Encapsulates commctrl.h.
11706 * syswindows.h new file. Encapsulates windows.h.
11708 * ntplay.c: use new syswindows.h and syscommctrl.h header.
11710 * console-msw.h: ditto.
11712 * redisplay-tty.c (tty_output_display_block): remove layout references.
11714 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
11715 window handle rather than just the frame.
11717 * glyphs.c (mark_image_instance): remove layout references.
11718 (print_image_instance): ditto.
11719 (image_instance_equal): ditto.
11720 (image_instance_hash): ditto.
11721 (decode_image_instance_type): ditto.
11722 (encode_image_instance_type): ditto.
11723 (image_instantiate): ditto.
11724 (allocate_glyph): ditto.
11725 (Fimage_instance_height): ditto.
11726 (Fimage_instance_width): ditto.
11727 (update_subwindow): ditto.
11729 * redisplay-x.c (x_output_display_block): recode for layouts as
11732 * redisplay-output.c (redisplay_output_layout): recode for layouts
11734 (compare_runes): remove layout references.
11736 * redisplay-msw.c (mswindows_output_display_block): recode for
11737 layouts as widgets.
11739 * glyphs-widget.c (image_instantiator_layout): remove
11740 layout_possible_dest_types.
11741 (layout_possible_dest_types): deleted.
11743 * glyphs.h (image_instance_type): remove layout references.
11744 (struct Lisp_Image_Instance): ditto. Add initialized flag.
11745 (IMAGE_INSTANCE_INITIALIZED): new accessor.
11746 (XIMAGE_INSTANCE_INITIALIZED): ditto.
11748 2000-04-25 Andy Piper <andy@xemacs.org>
11750 * glyphs-widget.c (image_instantiator_buttons):
11751 (image_instantiator_edit_fields):
11752 (image_instantiator_combo_box):
11753 (image_instantiator_scrollbar):
11754 (image_instantiator_progress_guage):
11755 (image_instantiator_tree_view):
11756 (image_instantiator_tab_control):
11757 (image_instantiator_labels):
11758 (image_instantiator_layout): call default post_instantiate method.
11759 (widget_post_instantiate): new function. Simply lays out the
11762 * glyphs.h (struct image_instantiator_methods): add
11763 post_instantiate method.
11765 * glyphs.c (instantiate_image_instantiator): add post_instantiate
11768 2000-04-23 Andy Piper <andy@xemacs.org>
11770 * glyphs.h (struct image_instantiator_methods): add
11771 decode_domain_method.
11772 (struct Lisp_Image_Instance): remove subwindow frame - it can be
11773 derived from the domain.
11774 (IMAGE_INSTANCE_FRAME): new accessor.
11775 (XIMAGE_INSTANCE_FRAME): ditto.
11777 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
11778 instead of _SUBWINDOW_FRAME.
11779 (finalize_image_instance): ditto.
11780 (Fimage_instance_foreground): ditto.
11781 (Fimage_instance_background): ditto.
11782 (image_instantiate): ditto.
11783 (update_subwindow_cachel): ditto.
11784 (update_subwindow): ditto.
11785 (unmap_subwindow): ditto.
11786 (map_subwindow): ditto
11787 (subwindow_instantiate): ditto.
11788 * glyphs-msw.c (mswindows_update_widget): ditto.
11789 (mswindows_progress_gauge_instantiate): ditto.
11790 (mswindows_tab_control_update): ditto.
11791 * glyphs-x.c (x_update_widget): ditto.
11792 (x_widget_instantiate): ditto.
11793 (x_tab_control_instantiate): ditto.
11794 (x_tab_control_update): ditto.
11795 * event-msw.c (mswindows_wnd_proc): ditto
11797 * glyphs-widget.c (image_instantiator_layout): use
11798 subwindow_decode_domain.
11799 (image_instantiator_buttons): ditto.
11800 (image_instantiator_edit_fields): ditto.
11801 (image_instantiator_combo_box): ditto.
11802 (image_instantiator_scrollbar): ditto.
11803 (image_instantiator_progress_guage): ditto.
11804 (image_instantiator_tree_view): ditto.
11805 (image_instantiator_tab_control): ditto.
11806 (image_instantiator_labels): ditto.
11807 (image_instantiator_layout): ditto.
11809 * glyphs.c: add instance error checking to many functions.
11810 (instantiate_image_instantiator): decode device from cache_domain.
11811 (image_instantiate): partially rewrite by using
11812 decode_image_instantiator_domain to determine what domain the
11813 instance needs to be cached in.
11814 (decode_image_instantiator_domain): new function. Determine what
11815 domain the image needs to be cached in.
11816 (check_window_subwindow_cache): new error checking function.
11817 (check_instance_cache_mapper): ditto.
11818 (check_image_instance_structure): ditto.
11819 (subwindow_decode_domain): new function. Encodes a window as a
11820 subwindow's cache domain.
11821 (image_instantiator_format_create): use it for text and
11824 2000-04-21 Andy Piper <andy@xemacs.org>
11826 * glyphs.c (image_instance_device): new function.
11827 (image_instance_frame): new function.
11828 (image_instance_window): new function.
11829 (image_instance_live_p): new function.
11831 * window.c (mark_window_as_deleted): reset the subwindow_instance_
11834 * glyphs.h (struct Lisp_Image_Instance): device->domain.
11835 (IMAGE_INSTANCE_DOMAIN): new accessor.
11836 (XIMAGE_INSTANCE_DOMAIN): ditto.
11838 * glyphs-x.c (x_finalize_image_instance): device->domain.
11840 * glyphs-msw.c (init_image_instance_geometry): device->domain.
11841 (mswindows_finalize_image_instance): ditto.
11843 * glyphs-eimage.c (jpeg_instantiate): device->domain.
11844 (gif_instantiate): ditto.
11845 (png_instantiate): ditto.
11846 (tiff_instantiate): ditto.
11848 * glyphs.c (instantiate_image_instantiator): use domain rather
11850 (mark_image_instance): device -> domain.
11851 (print_image_instance): ditto.
11852 (finalize_image_instance): ditto.
11853 (image_instance_equal): ditto.
11854 (allocate_image_instance): ditto.
11855 (Fcolorize_image_instance): ditto.
11856 (query_string_geometry): ditto.
11857 (image_instantiate): ditto
11858 (query_string_font): ditto.
11859 (image_instantiate): ditto.
11860 (update_subwindow): ditto.
11861 (unmap_subwindow): ditto.
11862 (map_subwindow): ditto.
11863 (subwindow_instantiate): ditto.
11865 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
11866 (DOMAIN_FRAME): ditto.
11867 (DOMAIN_WINDOW): ditto.
11868 (DOMAIN_LIVE_P): ditto.
11869 (XDOMAIN_DEVICE): ditto.
11870 (XDOMAIN_FRAME): ditto.
11871 (XDOMAIN_WINDOW): ditto.
11873 * specifier.c (Fvalid_specifier_domain_p): add image instances as
11874 a valid specifier domain.
11876 2000-04-19 Andy Piper <andy@xemacs.org>
11878 * glyphs-widget.c (syms_of_glyphs_widget): remove
11879 widget-callback-current-channel.
11880 (vars_of_glyphs_widget): ditto.
11883 * gui.c (get_gui_callback): revert to previous behaviour.
11885 2000-04-18 Andy Piper <andy@xemacs.org>
11887 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
11888 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
11889 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
11891 * glyphs.c (image_instance_equal): add margin_width.
11892 (image_instance_hash): ditto.
11894 * glyphs-widget.c (widget_instantiate): deal with margin-width.
11895 (layout_query_geometry): ditto.
11896 (layout_layout): ditto.
11897 (syms_of_glyphs_widget): add margin-width.
11898 (image_instantiator_layout): allow margin-width.
11900 * glyphs.c (update_widget_instances): make a normal function.
11901 (syms_of_glyphs): remove Qupdate_widget_instances.
11904 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
11905 so that we don't corrupt ideas about the last event or
11906 command. Remove widget-callback-current-channel fiddling.
11907 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11909 2000-05-01 Martin Buchholz <martin@xemacs.org>
11911 * XEmacs 21.2.33 is released.
11913 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
11915 * make-src-depend: Allow dots in header file name.
11917 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
11919 * mule-charset.h (struct charset_lookup): Add
11920 next_allocated_1_byte_leading_byte and
11921 next_allocated_2_byte_leading_byte.
11922 * mule-charset.c: Move above two variables so that those values
11925 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
11927 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
11928 when string length is zero.
11929 (find_charsets_in_emchar_string): Ditto.
11931 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
11933 * lisp.h: extern Qdialog and Qmenubar.
11935 * gui-x.c: added events.h.
11936 also fixed typo which made the file uncompilable.
11938 * general.c: Added Qmenubar and Qdialog
11940 2000-04-28 Ben Wing <ben@xemacs.org>
11942 * frame-msw.c (mswindows_init_frame_1):
11943 * frame-msw.c (mswindows_mark_frame):
11944 * event-msw.c (mswindows_enqueue_dispatch_event):
11946 * console-msw.h (struct mswindows_frame):
11947 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
11948 there are now three hash tables for callbacks.
11949 mswindows_enqueue_dispatch_event is no longer static.
11951 * dialog-x.c (maybe_run_dbox_text_callback):
11952 * dialog-x.c (dbox_descriptor_to_widget_value):
11953 switch to new cons3 form for callbacks.
11955 * glyphs-msw.c (mswindows_register_gui_item):
11956 * glyphs-msw.c (mswindows_widget_instantiate):
11957 * glyphs-msw.c (add_tree_item):
11958 * glyphs-msw.c (add_tab_item):
11959 new image instance parameter, so it can be passed to callback-ex.
11960 respect :callback-ex as well as :callback.
11962 * glyphs-widget.c (VALID_GUI_KEYWORDS):
11965 * glyphs.c (print_image_instance):
11966 prettify, e.g. now prints widget type.
11969 certain funs have new image instance parameter.
11972 * gui.c (get_gui_callback):
11973 * gui.c (gui_item_add_keyval_pair):
11974 * gui.c (gui_item_init):
11975 * gui.c (gui_add_item_keywords_to_plist):
11976 * gui.c (mark_gui_item):
11977 * gui.c (gui_item_hash):
11978 * gui.c (gui_item_equal):
11979 * gui.c (copy_gui_item):
11980 * gui.c (syms_of_gui):
11981 recognize callback-ex in a number of places.
11982 also, fix the annoying "can't get out of yes-no dialog" bug.
11985 * gui.h (struct Lisp_Gui_Item):
11986 recognize callback-ex in a number of places.
11988 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11989 new parameter in button_item_to_widget_value.
11991 * glyphs-x.c (x_update_widget):
11992 * glyphs-x.c (x_button_instantiate):
11993 * glyphs-x.c (x_button_update):
11994 * glyphs-x.c (x_progress_gauge_instantiate):
11995 * glyphs-x.c (x_edit_field_instantiate):
11996 * glyphs-x.c (x_combo_box_instantiate):
11997 * glyphs-x.c (x_tab_control_instantiate):
11998 * glyphs-x.c (x_label_instantiate):
11999 new image instance parameter in various places.
12002 * event-Xt.c (enqueue_Xt_dispatch_event):
12003 this fun gets exported.
12006 * gui-msw.c (mswindows_handle_gui_wm_command):
12007 handle both :callback and :callback-ex, and generate our own
12008 event because it's one of the callback-ex arguments.
12011 * gui-x.c (popup_selection_callback):
12012 handle both :callback and :callback-ex, and generate our own
12013 event because it's one of the callback-ex arguments.
12014 * gui-x.c (button_item_to_widget_value):
12015 * gui-x.c (gui_items_to_widget_values_1):
12016 * gui-x.c (gui_item_children_to_widget_values):
12017 * gui-x.c (gui_items_to_widget_values):
12018 new image instance parameter in various places.
12020 * fns.c (Freplace_list):
12021 fix small typo in doc string.
12024 declare enqueue_Xt_dispatch_event.
12026 2000-04-28 Ben Wing <ben@xemacs.org>
12029 * buffer.c (Frecord_buffer):
12030 * buffer.c (syms_of_buffer):
12031 delete record-buffer-hook.
12034 * fns.c (Freplace_list):
12035 * fns.c (syms_of_fns):
12036 new primitive replace-list.
12039 slot for old buffer-alist.
12042 exfun replace-list.
12045 * redisplay.c (redisplay_frame):
12046 * redisplay.c (syms_of_redisplay):
12047 * redisplay.c (vars_of_redisplay):
12048 new hook buffer-list-changed-hook.
12051 2000-04-27 Ben Wing <ben@xemacs.org>
12053 * extents.h: extern in_modeline_generation.
12055 * redisplay.c (generate_formatted_string_db): set
12056 in_modeline_generation.
12058 * extents.c (extent_changed_for_redisplay): don't mark redisplay
12059 flags if in modeline generation. otherwise frame-modified-tick
12060 is ticked far too often.
12061 Declare in_modeline_generation.
12063 2000-04-26 Ben Wing <ben@xemacs.org>
12065 * emacs.c (vars_of_emacs): document quick-build "error-checking"
12067 (vars_of_emacs): add quick-build as an error-checking option.
12068 A bit kludgy, but there doesn't seem much point in creating
12069 a real var for this.
12071 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
12073 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
12075 * redisplay.h (struct display_line): Add a new variable,
12078 * redisplay.c (create_text_block): Set dl->line_continuation if
12079 the line continues.
12080 (create_string_text_block): Ditto.
12081 (regenerate_window_incrementally): Use line_continuation instead
12082 of searching continuation glyph.
12083 (add_margin_runes): Call add_glyph_rune.
12084 (add_glyph_rune): Handle margin glyph.
12086 2000-04-20 Martin Buchholz <martin@xemacs.org>
12088 * filelock.c (fill_in_lock_file_name):
12090 Check for IS_ANY_SEP instead of '/'.
12092 Avoid generating gratuitous garbage. Call user_login_name() directly.
12093 Never check errno without first seeing that system call failed.
12094 (unlock_file): Add GCPRO.
12095 (Flock_buffer): Fix docstring.
12096 (Ffile_locked_p): Fix docstring. Add GCPRO.
12098 2000-04-19 Martin Buchholz <martin@xemacs.org>
12100 * sysdep.c (get_pty_max_bytes):
12101 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
12102 strings longer than 252 bytes.
12104 * md5.c: Unconditionally include ANSI header <limits.h>
12106 * glyphs-x.c (convert_EImage_to_XImage):
12107 * lisp-union.h (union Lisp_Object):
12108 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
12110 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
12112 * filelock.c (current_lock_owner): Remove unused variable o, p.
12114 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
12116 * callint.c: Remove multiply defined symbol Qlet
12117 (syms_of_callint): ditto.
12119 2000-04-14 Andy Piper <andy@xemacs.org>
12121 * general.c (syms_of_general): add last-command, this-command, let
12124 * lisp.h: declare various symbols.
12126 * glyphs.h: declare Qwidget_callback_current_channel;
12128 * glyphs-widget.c (syms_of_glyphs_widget): add
12129 Qgui_callback_current_channel.
12130 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
12132 * gui-msw.c (mswindows_handle_gui_wm_command): bind
12133 widget-callback-current-channel when invoking the interactive
12134 arg. Also bind last-command and next-command when invoking the
12136 * gui-x.c (popup_selection_callback): ditto.
12138 * gui.c (get_gui_callback): massage args so that we are always
12139 calling eval. This allows us to add our own variable bindings
12142 * glyphs-x.c (x_button_instantiate): use
12143 gui_items_to_widget_values since this is GC safe.
12144 (x_progress_gauge_instantiate): ditto.
12145 (x_edit_field_instantiate): ditto.
12146 (x_label_instantiate): ditto.
12148 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
12149 (emacs_Xt_event_widget_focus_out): new function
12150 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
12152 (emacs_Xt_event_add_widget_actions): new function. add focus
12153 functions as actions.
12154 (init_event_Xt_late): use it.
12156 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
12158 * event-stream.c (Fdispatch_event): Doc fix.
12160 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
12162 * postgresql.c: Remove all references to PQsetenv*.
12164 * postgresql.h: Remove references to PGsetenvHandler object.
12165 * lrecord.h (lrecord_type): Ditto.
12167 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12169 * glyphs-msw.h (struct mswindows_image_instance_data): Added
12170 real_heigh and real_width members, and accessor macros for these.
12172 * glyphs-msw.c (init_image_instance_geometry): New function.
12173 (init_image_instance_from_dibitmap): Use it.
12174 (mswindows_resource_instantiate): Use it.
12175 (init_image_instance_from_xbm_inline): Use it.
12176 (mswindows_initialize_image_instance_mask): Use real bitmap
12178 (mswindows_create_resized_bitmap): Ditto.
12179 (mswindows_create_resized_mask): Ditto.
12181 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
12182 and bitmap to their surface size.
12184 2000-04-11 Jan Vroonhof <jan@xemacs.org>
12186 * process-unix.c (unix_send_process): Guard against process MIA
12187 after Faccept_process_output.
12189 2000-04-11 Ben Wing <ben@xemacs.org>
12191 * eval.c (unbind_to_hairy): fix brokenness introduced by
12192 nanosecond speed improvements.
12194 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
12196 * sunplay.c (init_device): To play sounds correctly, the device
12197 apparently needs to be initialized at least once by XEmacs. Make
12200 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
12202 * redisplay.c (add_margin_runes): Add text image glyph
12205 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
12207 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
12208 gcc is newer than 2.5.
12210 2000-04-06 Colin Rafferty <colin@xemacs.org>
12212 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
12214 * fns.c (size_bit_vector):
12215 * alloc.c (size_vector):
12216 (make_vector_internal):
12217 (make_bit_vector_internal):
12218 (sweep_bit_vectors_1):
12219 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
12221 2000-04-06 Andy Piper <andy@xemacs.org>
12223 * gmalloc.c (malloc): undo previous change.
12228 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
12230 * line-number.c (buffer_line_number): Revert to former version.
12232 2000-04-06 Andy Piper <andy@xemacs.org>
12234 * gmalloc.c (malloc): add error checking.
12239 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
12240 button_item_to_widget_value arg.
12242 * glyphs-x.c (x_button_instantiate): add extra
12243 button_item_to_widget_value arg.
12244 (x_progress_gauge_instantiate): ditto.
12245 (x_edit_field_instantiate): ditto.
12246 (x_label_instantiate): ditto.
12248 * gui-x.c (gui_items_to_widget_values_1): add extra
12249 button_item_to_widget_value arg.
12250 (button_item_to_widget_value): add extra menu_item_p arg.
12252 * gui-x.h: change signature of button_item_to_widget_value.
12254 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
12255 button_item_to_widget_value arg.
12257 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
12259 * buffer.h (struct buffer): auto_save_modified should be long.
12261 2000-04-05 Andy Piper <andy@xemacs.org>
12263 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
12265 (button_query_geometry): give a little more room so that athena
12268 2000-04-05 Andy Piper <andy@xemacs.org>
12270 * faces.c (complex_vars_of_faces): The widget face should inherit
12271 the font of the gui-element face.
12273 2000-04-04 Andy Piper <andy@xemacs.org>
12275 * glyphs-x.c (x_button_update): new function. unconditionally
12276 update a button's state when the instance is dirty.
12277 (image_instantiator_format_create_glyphs_x): add x_button_update.
12278 (x_widget_instantiate): remove old resize cruft.
12280 2000-04-02 Andy Piper <andy@xemacs.org>
12282 * frame.c (change_frame_size_1): The introduction of gutters means
12283 that we need to allow 0 as a potential frame dimension.
12285 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
12287 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
12288 image glyph if allow_cursor.
12289 (add_hscroll_rune): Don't allow cursor to border glyph.
12290 (create_text_block): Ditto.
12292 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
12293 text not in buffer.
12294 (redisplay_output_layout): Call ensure_face_cachel_complete for
12298 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
12300 * redisplay.c (add_glyph_rune): Adding text image as text runes.
12302 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
12305 * redisplay-tty.c (tty_output_display_block): Delete the routine
12306 for text image glyph
12307 * redisplay-x.c (x_output_display_block): ditto
12308 * redisplay-msw.c (mswindows_output_display_block): ditto
12310 2000-02-02 Mike Alexander <mta@arbortext.com>
12312 Note: Some of these were committed by accident as part of other
12315 * regex.c (regex_compile): Avoid compiler warnings.
12317 * ntproc.c (sys_spawnve): Avoid compiler warnings.
12319 * nt.h: Declare term_ntproc correctly.
12321 * nt.c: Remove incorrect declaration of get_home_directory which
12322 is declared correctly in lisp.h.
12324 * keymap.c (get_keyelt): Avoid compiler warnings.
12325 (raw_lookup_key_mapper): Avoid compiler warnings.
12327 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
12329 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
12331 * filemode.c (mode_string): Avoid compiler warnings.
12333 * file-coding.c (Fcoding_system_aliasee): Add return statement to
12336 * events-mod.h: Undef some things that winuser.h defines differently.
12338 * data.c (Faset): Avoid compiler warnings.
12340 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
12342 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12344 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
12345 Fall through to simple beep on error.
12346 Replace "extern" by real header file.
12348 * linuxplay.c: Use nativesound.h
12349 (play_sound_data): Return error code. Be less verbose on error.
12351 * sunplay.c: Use nativesound.h
12352 (play_sound_data): Return error code. Be less verbose on error.
12354 * ntplay.c: Use nativesound.h
12355 (play_sound_data): Return fake error code
12357 * sgiplay.c: Use nativesound.h
12358 (play_sound_data): Return error code
12360 * hpplay.c: Use nativesound.h, partially implement
12361 new error code. Break compilation until finished.
12362 (play_sound_data): error code.
12364 * nativesound.h (play_sound_file):
12365 (play_sound_data): Prototype in new header.
12367 2000-03-31 Andy Piper <andy@xemacs.org>
12369 * glyphs-widget.c: (button_query_geometry): new function. Adjust
12370 for toggle and radio buttons.
12371 (image_instantiator_buttons): use it.
12373 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12375 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
12376 (x_update_horizontal_scrollbar_callback): Return if no mirror was
12377 found. Scrollbar event probably belonged to some old config.
12379 2000-03-31 Andy Piper <andy@xemacs.org>
12381 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
12383 (initialize_widget_image_instance): default layout to
12384 LAYOUT_HORIZONTAL rather than 0.
12385 (widget_instantiate): reverse the item list at the end rather than
12387 (layout_layout): re-code for the border text at the front of the
12388 item list rather than at the end.
12389 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
12390 provided by the user.
12391 (widget_query_geometry): comment.
12393 2000-03-30 Andy Piper <andy@xemacs.org>
12395 * glyphs-widget.c (image_instantiator_layout): allow standard
12396 widget keywords in layouts.
12398 * gutter.c (output_gutter): cope with nil gutter contents.
12400 * frame.c (Fset_frame_properties): add gutter docs.
12402 2000-03-29 Andy Piper <andy@xemacs.org>
12404 * toolbar-msw.c (TBSTYLE_FLAT): add.
12405 (mswindows_output_toolbar): minor fiddling.
12407 2000-03-29 Andy Piper <andy@xemacs.org>
12409 * gutter.c (output_gutter): force gutter size recalculation if
12410 what we are trying to display won't fit.
12411 (update_gutter_geometry): new function. A per-gutter version of
12412 update_frame_gutter_geometry.
12413 (update_frame_gutter_geometry): use it.
12414 (redraw_exposed_gutter): add extra debugging output.
12416 2000-03-28 Mike Alexander <mta@arbortext.com>
12418 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
12419 (pdump_file_unmap): Implement it on Windows
12420 (pdump_file_get): Save alocated handles for pdump_file_unmap
12422 2000-03-28 Andy Piper <andy@xemacs.org>
12424 * gui.c (get_gui_callback): treat Quit specially.
12426 2000-03-27 Andy Piper <andy@xemacs.org>
12428 * glyphs.c (image_instantiate): be careful to check in the same
12431 2000-03-27 Didier Verna <didier@xemacs.org>
12433 * config.h.in: define the proper SMART_INCLUDE macro.
12434 handle renaming of `foo_h_path' to `foo_h_file'.
12436 * database.c: ditto.
12440 * linuxplay.c: ditto.
12442 * terminfo.c: ditto.
12444 * tooltalk.h: ditto.
12446 2000-03-27 Andy Piper <andy@xemacs.org>
12448 * glyphs-msw.c (mswindows_update_widget): make sure the widget
12449 gets updated whenever the face might have changed.
12451 2000-03-26 Mike Alexander <mta@arbortext.com>
12453 * dumper.c (pdump_resource_free): Fix the comment.
12455 2000-03-21 Olivier Galibert <galibert@pobox.com>
12457 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
12459 2000-03-22 Mike Alexander <mta@arbortext.com>
12461 * dumper.c: Include Windows headers on Windows
12462 (pdump_resource_free): Add a body to the function
12463 (pdump_load): exe_name -> exe_path and add some comments.
12465 2000-03-25 Mike Alexander <mta@arbortext.com>
12467 * gui.c (copy_gui_item_tree): Return a value in all cases
12469 2000-03-21 Didier Verna <didier@xemacs.org>
12471 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
12473 (SMART_INCLUDE): new macro.
12474 (POSTGRES_INCLUDE): new macro to include postgresql headers from
12475 the proper location.
12477 * postgresql.c: use it.
12481 2000-03-24 Andy Piper <andy@xemacs.org>
12483 * gutter.c (redraw_exposed_gutters): must be "in display" when we
12486 2000-03-24 Andy Piper <andy@xemacs.org>
12488 * redisplay-output.c (compare_runes): use image_instance_changed
12489 to detect changes. Do not depend on glyphs_changed, only depend on
12491 (redisplay_output_layout): add debug messages.
12492 (compare_runes): ditto.
12494 * glyphs.h: declare new functions.
12495 (struct Lisp_Image_Instance): remove percent and associated
12498 * gui.h: declare new copying functions.
12500 * gui.c (copy_gui_item_tree): new function.
12501 (copy_gui_item): new function.
12502 (gui_item_id_hash): revert to standard hash.
12503 (gui_item_hash): ditto.
12504 (gui_item_hash_internal): deleted.
12505 (mark_gui_item): mark value.
12506 (gui_item_add_keyval_pair): add value.
12507 (gui_item_init): ditto.
12508 (gui_add_item_keywords_to_plist): ditto.
12509 (gui_item_equal): ditto.
12510 (syms_of_gui): add Q_value.
12512 * glyphs-x.c (x_progress_gauge_update): use pending items and
12513 value for setting the state.
12514 (x_update_widget): don't set items from pending here.
12516 * glyphs-widget.c (update_widget): update items here.
12517 (progress_gauge_set_property): use items for storing value. Put
12518 new value in pending items.
12520 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
12521 items for new value. Convert percent -> value.
12522 (mswindows_tab_control_update): don't update items here.
12524 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
12525 (update_subwindow): ditto.
12526 (image_instance_changed): new function. Compare hash values and
12527 past and present widget items.
12528 (image_instantiate): We more careful about where we instantiate
12530 (image_instantiate): add error checking.
12532 * gutter.c (syms_of_gutter): use -hook.
12534 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
12536 * console-tty.c (Fset_console_tty_input_coding_system): Use
12538 (Fset_console_tty_output_coding_system): Use Qterminal.
12539 (tty_init_console): Use Qkeyboard and Qterminal.
12541 2000-03-21 Ben Wing <ben@xemacs.org>
12543 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
12544 From Mike Alexander <mta@arbortext.com>.
12546 2000-03-21 Ben Wing <ben@xemacs.org>
12548 * event-msw.c (mswindows_need_event): Horrible kludge to fix
12549 process brokenness. Proper implementation to come.
12551 Rename call-process-internal to old-call-process-internal.
12552 New impl. in process.el.
12554 2000-03-21 Martin Buchholz <martin@xemacs.org>
12556 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
12558 2000-03-20 Andy Piper <andy@xemacs.org>
12560 * glyphs.c (full_list_hash): make hashes of the same elements in
12561 different orders return different values.
12563 2000-03-20 Martin Buchholz <martin@xemacs.org>
12565 * XEmacs 21.2.32 is released.
12567 2000-03-20 Martin Buchholz <martin@xemacs.org>
12569 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
12570 (DFC_MALLOC_USE_CONVERTED_DATA):
12571 Add aliasing-safe casts to allow use with char* or unsigned char*
12574 * eldap.c (Fldap_open):
12575 (Fldap_search_basic):
12578 Make C++-compilable.
12579 Make sure GCPRO'ed variables are initialized.
12580 Use temp variables to avoid repeated calls to Flength.
12582 2000-03-16 Martin Buchholz <martin@xemacs.org>
12585 Make sure PATH_MAX is always defined.
12586 Include limits.h for PATH_MAX.
12587 Deprecate use of MAXPATHLEN.
12589 2000-03-10 Martin Buchholz <martin@xemacs.org>
12591 * emacs.c: Add reinit_vars_of_fileio.
12592 * symsinit.h: Add reinit_vars_of_fileio.
12593 * fileio.c (reinit_vars_of_fileio): New.
12594 * fileio.c (Fmake_temp_name):
12595 Initialize temp_name random number from microseconds to make
12596 collisions even less likely. Initialize always at process startup
12597 time. (make-temp-name) used to return the same file name twice in
12599 Random stylistic fiddling.
12602 2000-03-20 Andy Piper <andy@xemacs.org>
12604 * glyphs.c (image_instantiate): allow text glyphs to be
12605 instantiated in the minibuffer window.
12607 2000-03-19 Andy Piper <andy@xemacs.org>
12609 * glyphs.c (image_instance_hash): be careful about which items we
12612 * glyphs-widget.c (tab_control_set_property): record into pending
12613 items rather than the actual items.
12615 * glyphs-x.c (x_update_widget): use pending items to update with.
12617 * glyphs-msw.c (mswindows_tab_control_update): use pending items
12620 * glyphs.c (mark_image_instance): mark pending items.
12622 * window.c (Fset_window_configuration): record the buffer.
12623 (Fselect_window): totally revert previous change which breaks many
12626 2000-03-18 Andy Piper <andy@xemacs.org>
12628 * glyphs-msw.c (mswindows_tab_control_update): force selected
12631 * glyphs.c (image_instantiate): don't allow the minibuffer as a
12632 window domain cache, otherwise we get inconsistencies at
12633 startup. There is something fishy at startup which can lead to the
12634 minibuffer being the selected window when the gutter content is
12637 * gui.c (parse_gui_item_tree_list): add probably unnecessary
12639 (parse_gui_item_tree_children): ditto.
12640 (parse_gui_item_tree_item): ditto.
12642 * glyphs.c (Fupdate_widget_instances): return something.
12644 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
12646 * window.c (Fselect_window): Undo 2000-03-17 change.
12648 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
12650 * postgresql.c (Fpq_setenv): Remove this turkey when linking
12651 against v7.0 libraries. Insta-coredump city until the postgres
12654 2000-03-17 Andy Piper <andy@xemacs.org>
12656 * faces.c (complex_vars_of_faces): don't give the widget face an
12657 inherited background pixmap.
12659 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
12662 * event-stream.c (Fdispatch_non_command_events): return something.
12664 * gutter.c (output_gutter): use widget face.
12665 (clear_gutter): ditto.
12667 * NEWS: adjust again.
12669 * window.c (Fselect_window): make sure this runs to completion to
12670 avoid oddities with Fset_window_configuration.
12671 (Fcurrent_window_configuration): in general do not save the
12672 minibuffer as the selected window.
12674 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
12676 2000-03-16 Olivier Galibert <galibert@pobox.com>
12678 * emacs.c (Frunning_temacs_p): Revert previous patch.
12679 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
12681 2000-03-16 Andy Piper <andy@xemacs.org>
12683 * glyphs-x.c (x_tab_control_update): if no widget values then
12686 * NEWS: update for new features.
12688 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
12689 synthetic event to the native system.
12690 (reinit_vars_of_event_Xt): set force_event_pending to
12691 emacs_Xt_force_event_pending.
12693 * events.h (struct event_stream): add force_event_pending.
12695 * specifier.c (recompute_one_cached_specifier_in_window): add
12698 * redisplay.c (redisplay_frame): don't call
12699 update_frame_subwindows. Reset subwindow cachels when
12700 subwindows_changed, removing this was an optimization too far.
12702 * redisplay-output.c (compare_runes): reorganize so that we catch
12703 glyph changes when we want them. Set optimize_output when this
12704 would help layouts.
12705 (redisplay_output_layout): remove frame_really_changed, use
12706 optimize_output instead.
12708 * redisplay-msw.c (mswindows_output_display_block): reset
12709 optimize_output after outputting a glyph.
12710 * redisplay-x.c (x_output_display_block): ditto.
12711 * redisplay-tty.c (tty_output_display_block): ditto.
12713 * gutter.c: (specifier_vars_of_gutter): use new spec changed
12715 (gutter_specs_changed): do specific gutter positions.
12716 (top_gutter_specs_changed): new function. Only update the
12717 specified gutter specs.
12718 (bottom_gutter_specs_changed): ditto.
12719 (left_gutter_specs_changed): ditto.
12720 (right_gutter_specs_changed): ditto.
12722 * gui.c (gui_item_hash_internal): new function, does a real hash.
12723 (gui_item_id_hash): use it.
12724 (gui_item_hash): hash the eval'ed gui_item.
12726 * gui-x.c (popup_selection_callback): send an eval event to call
12727 Fupdate_widget_instances.
12729 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
12730 to call Fupdate_widget_instances.
12732 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
12733 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
12735 * glyphs.c: (update_frame_subwindows): deleted.
12736 (Fupdate_widget_instances): new function for updating the dirty
12737 state of widgets that might have changed.
12738 (syms_of_glyphs): add Qupdate_widget_instances.
12739 (full_list_hash): hash a list completely.
12740 (image_instance_hash): use it for items and properties.
12742 * frame-msw.c (mswindows_size_frame_internal): remove unused
12745 * faces.h (struct face_cachel): fix comment.
12747 * event-stream.c (Fdispatch_non_command_events): new
12748 function. Process non-command events, forcing an event cycle
12750 (syms_of_event_stream): declare.
12751 (event_stream_force_event_pending): new function. Force an event
12752 on the native event queue so that an event cycle will occur next
12756 (struct ntpipe_shove_stream):
12757 (mswindows_enqueue_dispatch_event):
12758 (mswindows_dequeue_dispatch_event):
12759 (mswindows_cancel_dispatch_event):
12760 (mswindows_pump_outstanding_events):
12761 (mswindows_drain_windows_queue):
12762 (mswindows_handle_paint):
12763 (mswindows_wnd_proc):
12764 (mswindows_key_to_emacs_keysym):
12765 (get_process_input_waitable):
12766 (emacs_mswindows_delete_stream_pair): re-indent file.
12767 (mswindows_need_event): do not process further fds if the windows
12768 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
12769 fixes the 100% cpu problem.
12770 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
12772 2000-03-15 Olivier Galibert <galibert@pobox.com>
12778 * emacs.c: Moved dump file searching to dumper.c.
12779 (Frunning_temacs_p): Fixed.
12781 * alloc.c: Moved everything pdump-related to dumper.c. Removed
12782 last_lrecord_type_index_assigned.
12784 2000-02-20 Olivier Galibert <galibert@pobox.com>
12786 * symsinit.h: Added reinit parameter to init_console_stream
12789 * lisp.h: Added file parameter to pdump_load declaration.
12791 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
12792 support. Added dump file searching.
12794 * config.h.in: Added EMACS_PROGNAME.
12796 * console-stream.c (init_console_stream): Fix reinitialisation
12797 when running from temacs.
12799 * alloc.c (pdump): Add id support.
12800 (pdump_load): Add file parameter and signature/id support.
12802 * Makefile.in.in: Add full pdump support.
12804 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
12806 * postgresql.c: Update documentation to reflect latest code
12808 (print_result): Show tuple counts in printed representation when
12810 (Fpq_put_nbytes): MULE-ize.
12811 (Fpq_get_line_async): Ditto.
12813 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
12815 * postgresql.c (Fpq_lo_import): Fix return value.
12816 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
12818 2000-03-13 Ben Wing <ben@xemacs.org>
12820 * alloc.c (pdump_load):
12821 Fix compile warning under mswin.
12823 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
12825 * postgresql.c: Mule-ization, bug fixes.
12826 Use PG_CODING to encapsulate coding system name changes.
12827 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
12828 (pg-coding-system): Create.
12830 (Fpq_conn_defaults): Mule-ize.
12831 (Fpq_connectdb): Mule-ize & bug fix.
12832 (Fpq_connect_start): Mule-ize.
12833 (Fpq_set_client_encoding): Mule-ize.
12834 (Fpq_finish): Document `DEAD' connection status.
12835 (Fpq_clear): Ditto.
12836 (Fpq_pgconn): Mule-ize.
12837 (Fpq_exec): Mule-ize & bug fix.
12838 (Fpq_send_query): Ditto.
12839 (Fpq_get_result): Ditto.
12840 (Fpq_res_status): Mule-ize.
12841 (Fpq_result_error_message): Mule-ize.
12842 (Fpq_ntuples): fix comments.
12843 (Fpq_fname): Mule-ize.
12844 (Fpq_fnumber): Mule-ize.
12845 (Fpq_ftype): fix comments.
12846 (Fpq_get_value): Mule-ize.
12847 (Fpq_cmd_status): Ditto.
12848 (Fpq_cmd_tuples): Ditto.
12849 (Fpq_oid_value): Ditto.
12850 (Fpq_notifies): Ditto.
12851 (Fpq_lo_import): Ditto.
12852 (Fpq_lo_export): Ditto.
12853 (Fpq_get_line): Ditto.
12854 (Fpq_put_line): Mule-ize and bug fix.
12855 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
12857 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
12859 * postgresql.c (vars_of_postgresql): Mule-ize.
12860 (Fpq_conn_defaults): Ditto.
12862 2000-03-12 Ben Wing <ben@xemacs.org>
12864 * alloc.c (Fmake_byte_code):
12865 * alloc.c (debug_string_purity_print):
12866 * alloc.c (pdump_backtrace):
12867 * alloc.c (pdump_get_indirect_count):
12868 * alloc.c (pdump_register_sub):
12869 * alloc.c (pdump_register_object):
12870 * alloc.c (pdump_register_struct):
12871 * alloc.c (pdump_dump_data):
12872 * alloc.c (pdump_reloc_one):
12876 * console-msw.c (GetConsoleHwnd):
12877 * console-msw.c (msw_hide_console):
12878 * console-msw.c (msw_show_console):
12879 * console-msw.c (msw_ensure_console_buffered):
12880 * console-msw.c (msw_output_console_string):
12881 * console-msw.c (console_type_create_mswindows):
12883 a) Added functions to manipulate the console window for use with
12886 b) Added support for writing text to the console, which is now
12887 used under Windows when xemacs is not being run non-interactively,
12888 to write text that would otherwise be destined for stdout because
12889 under these circumstances, text written to stdout tends to
12890 disappear and not be seen.
12894 * event-Xt.c (x_event_to_emacs_event):
12895 * event-Xt.c (describe_event_window):
12896 * events-mod.h (XEMACS_MOD_CONTROL):
12898 * events.c (Fmake_event):
12899 * events.c (character_to_event):
12900 * events.c (event_to_character):
12901 * events.c (format_event_object):
12902 * events.c (Fevent_modifiers):
12904 * events.h (struct key_data):
12905 * events.h (struct button_data):
12906 * events.h (struct misc_user_data):
12907 * frame-x.c (Fcde_start_drag_internal):
12908 * frame-x.c (Foffix_start_drag_internal):
12909 * gpmevent.c (Freceive_gpm_event):
12911 * keymap.c (bucky_sym_to_bucky_bit):
12912 * keymap.c (control_meta_superify):
12913 * keymap.c (make_key_description):
12914 * keymap.c (keymap_lookup_directly):
12915 * keymap.c (create_bucky_submap):
12916 * keymap.c (keymap_store):
12917 * keymap.c (define_key_check_and_coerce_keysym):
12918 * keymap.c (define_key_parser):
12919 * keymap.c (define_key_alternate_name):
12920 * keymap.c (Fdefine_key):
12921 * keymap.c (raw_lookup_key_mapper):
12922 * keymap.c (struct map_keymap_unsorted_closure):
12923 * keymap.c (map_keymap_unsorted_mapper):
12924 * keymap.c (map_keymap_sort_predicate):
12925 * keymap.c (map_keymap_sorted):
12926 * keymap.c (accessible_keymaps_mapper_1):
12927 * keymap.c (where_is_recursive_mapper):
12928 * keymap.c (describe_map_mapper):
12929 * keymap.c (describe_map_sort_predicate):
12930 * keymap.c (describe_map):
12931 * keymap.c (complex_vars_of_keymap):
12932 And a number of other files, the key modifier preprocessor
12933 constants that xemacs uses have names that conflict with constants
12934 defined under MS Windows for other purposes, so they were renamed
12935 to begin with the prefix XEMACS_. The variables that hold such
12936 modifiers were changed to consistently be of type int to fix
12937 various compile warnings.
12939 * console.c (complex_vars_of_console):
12942 * device-msw.c (mswindows_finish_init_device):
12943 * device-msw.c (msw_get_workspace_coords):
12944 * device-msw.c (mswindows_device_system_metrics):
12945 and various other files, added support for a new
12946 device property called offset-workspace which returns the position
12947 of the upper left corner of the workspace area and goes along with
12948 the existing size-workspace property.
12951 * dialog-msw.c (push_bufbyte_string_as_unicode):
12952 * dialog-msw.c (mswindows_popup_dialog_box):
12953 Added support for XEmacs-style accelerator specifications in
12954 button text. Note: I didn't add support for this under X Windows,
12955 and somebody needs to do this.
12958 * dialog.c (Fpopup_dialog_box):
12959 Documented the support for accelerators that was just mentioned.
12961 editfns.c (get_home_directory): Changed behavior under Windows
12962 when HOME not defined; former behavior was irretrievably broken.
12965 * emacs.c (main_1):
12967 * minibuf.c (clear_echo_area_internal):
12968 * minibuf.c (echo_area_append):
12970 * print.c (std_handle_out_external):
12971 * print.c (std_handle_out_va):
12973 * print.c (write_string_to_stdio_stream):
12974 * print.c (output_string):
12975 * print.c (debug_print):
12976 * print.c (debug_backtrace):
12977 * print.c (debug_short_backtrace):
12978 Cleaned up the code that prints text to stdout so that this can be
12979 changed to output into a console window instead under MS Windows,
12980 as described above.
12983 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
12984 * eval.c (internal_catch):
12985 * eval.c (unwind_to_catch):
12986 * eval.c (throw_or_bomb_out):
12987 * eval.c (condition_case_1):
12988 * eval.c (signal_1):
12989 * eval.c (check_error_state_sanity):
12990 * eval.c (call_with_suspended_errors_1):
12991 * eval.c (call_with_suspended_errors):
12992 * eval.c (reinit_vars_of_eval):
12993 Added code to catch throw loops and check for a pesky bug that may
12997 * event-msw.c (key_needs_default_processing_p):
12998 * event-msw.c (mswindows_wnd_proc):
12999 * event-msw.c (mswindows_modifier_state):
13000 * event-msw.c (emacs_mswindows_quit_p):
13001 * event-msw.c (vars_of_event_mswindows):
13002 a) Added support for using the alt key to select menu items as is
13003 standard under MS Windows. This is controlled using the variable
13004 menu-accelerator-enabled, just like under X Windows. There is an
13005 option on the options menu to turn this support on. I really
13006 think that it should be on by default under Windows, but I'm not
13007 going to make this change yet.
13009 b) Added support for dynamic display size changes under Windows.
13012 * event-stream.c (maybe_echo_keys):
13013 * event-stream.c (Fnext_event):
13014 * event-stream.c (command_builder_find_leaf):
13015 * event-stream.c (lookup_command_event):
13016 * event-stream.c (execute_command_event):
13017 * event-stream.c (pre_command_hook):
13018 * event-stream.c (post_command_hook):
13019 * event-stream.c (syms_of_event_stream):
13020 * event-stream.c (vars_of_event_stream):
13021 * event-stream.c (complex_vars_of_event_stream):
13022 * events.h (struct command_builder):
13024 a) Tried to clean up a little bit the horribly written x-specific
13025 accelerator code that crept into this file. I moved this code
13026 into menubar-x.c where it belongs. I also needed to move the
13027 command builder structure into the file events.h because it is
13028 accessed directly by this accelerator code. What I didn't do, but
13029 which should be done at some point, is to properly abstract this
13030 code using device methods instead of the kludgy way that it
13031 currently hooks into the event code.
13033 b) Added the lisp variables this-command-properties and
13034 last-command- properties, which should be used to synchronize two
13035 adjacent commands in preference to playing games with the variable
13036 this-command, which is typically what happens.
13038 c) Added some slightly nasty code to hook into the lisp support
13039 for shifted- motion-key selection. This is actually necessary for
13040 somewhat complicated reasons, which are described in
13041 simple.el. (NB: I think the proper thing would be to have the code
13042 that calls the pre and post command hooks also call out to generic
13043 lisp functions in simple.el, where all built-in stuff could be
13044 added. I will think about this more.)
13046 * event-unixoid.c (poll_fds_for_input):
13047 * lread.c (readchar):
13048 * redisplay-tty.c (tty_clear_frame):
13049 * redisplay-x.c (x_get_gc):
13050 * signal.c (interrupt_signal):
13051 And a whole bunch of other files: fixed up places that printed
13052 directly to stderr to instead call the function stderr_out so that
13053 the changes I made under Windows work correctly.
13055 * filemode.c (mode_string):
13059 * frame-msw.c (mswindows_size_frame_internal):
13060 Fixed the computation of frame size and position to keep the frame
13061 within the workspace area, rather than within the physical
13062 dimensions of the screen, so that the frame doesn't overlap window
13063 manager decorations, such as the start menu and toolbar, typically
13064 at the bottom of the screen.
13066 * frame.c (vars_of_frame):
13067 Changed the default frame title format under MS Windows to consist
13068 of buffername-XEmacs, which is standard under MS Windows. I think
13069 it might be a good idea to change this everywhere because I think
13070 it is superior to the current frame title format, but this is the
13071 kind of change that is likely to cause some people to get annoyed,
13072 so I'm not making it.
13074 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13076 * gui-msw.c (mswindows_handle_gui_wm_command):
13077 Fixed compile warnings.
13080 * gui-x.c (strdup_and_add_accel):
13081 * gui-x.c (button_item_to_widget_value):
13083 Added code to automatically put an accelerator onto the beginning
13084 of menu items that don't have one as is now the standard, and is
13085 described more later. Also fixed things so that the menu item
13086 name can be an evaluated expression, again a new standard.
13089 * gui.c (gui_item_add_keyval_pair):
13090 * gui.c (make_gui_item_from_keywords_internal):
13091 * gui.c (gui_add_item_keywords_to_plist):
13092 * gui.c (gui_item_accelerator):
13093 * gui.c (gui_name_accelerator):
13094 * gui.c (gui_item_included_p):
13095 * gui.c (gui_item_display_flush_left):
13096 * gui.c (gui_item_display_flush_right):
13097 * gui.c (parse_gui_item_tree_item):
13098 * gui.c (parse_gui_item_tree_children):
13099 * gui.c (parse_gui_item_tree_list):
13100 Mule-ized. Cleanup. GCPRO addition.
13102 * line-number.c (buffer_line_number):
13104 * lisp.h (EMACS_INT_MAX):
13105 Added the manifest constant EMACS_INT_MIN corresponding to the
13106 existing constant EMACS_INT_MAX. This is partially to fix compile
13107 warnings under Windows, and partly for cleanliness.
13110 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
13111 * menubar-msw.c (msw_translate_menu_or_dialog_item):
13112 * menubar-msw.c (displayable_menu_item):
13113 * menubar-msw.c (populate_menu_add_item):
13114 * menubar-msw.c (populate_or_checksum_helper):
13115 * menubar-msw.c (populate_menu):
13116 * menubar-msw.c (update_frame_menubar_maybe):
13117 * menubar-msw.c (prune_menubar):
13118 * menubar-msw.c (msw_char_is_accelerator):
13119 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
13120 * menubar-msw.c (mswindows_handle_wm_command):
13121 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
13122 * menubar-msw.c (mswindows_handle_wm_initmenu):
13123 * menubar-msw.c (mswindows_update_frame_menubars):
13124 * menubar-msw.c (mswindows_free_frame_menubars):
13125 * menubar-msw.c (mswindows_popup_menu):
13126 Fixed a bug in handling accelerators where an extra character
13127 would be displayed in the menu item. Also generalized the
13128 function displayable_menu_item because it is now used by the
13129 dialog box code as well. And finally, added code in the functions
13130 that create the menubar to extract a list of accelerators for the
13131 top level menubar, which is used in the event code to determine
13132 whether a particular alt-key combination should be used to invoke
13133 a menu item, or should be passed through to access the standard
13134 XEmacs keymap binding for this key combination.
13136 Much needed GCPROing.
13139 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13140 * menubar-x.c (menu_item_descriptor_to_widget_value):
13141 * menubar-x.c (restore_in_menu_callback):
13142 * menubar-x.c (x_popup_menu):
13143 * menubar-x.c (menu_move_up):
13144 * menubar-x.c (menu_move_down):
13145 * menubar-x.c (menu_move_left):
13146 * menubar-x.c (menu_move_right):
13147 * menubar-x.c (menu_select_item):
13148 * menubar-x.c (command_builder_operate_menu_accelerator):
13149 * menubar-x.c (menu_accelerator_junk_on_error):
13150 * menubar-x.c (command_builder_find_menu_accelerator):
13151 * menubar-x.c (Faccelerate_menu):
13153 Moved a whole bunch of code here that was previously in
13154 event-stream.c as described above. There is also code connected
13155 to the new standard of adding an accelerator to the beginning of
13156 menu items that don't have one as described above and below.
13159 * menubar.c (menu_parse_submenu_keywords):
13160 * menubar.c (Fmenu_find_real_submenu):
13161 * menubar.c (Fnormalize_menu_item_name):
13162 * menubar.c (syms_of_menubar):
13163 * menubar.c (vars_of_menubar):
13164 * menubar.c (complex_vars_of_menubar):
13166 a) Cleaned up a bunch of documentation and improved it.
13168 b) XEmacs now automatically adds an accelerator onto the beginning
13169 of any menu items that don't have one. I did this because there
13170 will inevitably be some menu items on the main menubar that don't
13171 have accelerators on them because the package that adds that
13172 particular menu item hasn't yet been fixed up to have accelerators
13173 in them and it looked rather strange to have some items with and
13174 some items without accelerators, especially since even in items
13175 without accelerators, you can, at least under windows, still
13176 access the item through an accelerator corresponding to the first
13177 character in the item's name. If people don't like this behavior,
13178 I can add a variable to turn it off optionally, but I'm not sure
13179 this is a good idea because we really do need to have accelerators
13180 on all of the menu items, and if a package doesn't like the
13181 accelerators being put on the first character, then it should put
13182 the accelerators where they belong.
13184 c) I made a behavior change, which is that the descriptor that
13185 specifies the text of the menu item, which formerly was just a
13186 string, can now also be an evaluated expression. This makes this
13187 descriptor parallel with all of the others, which could also be
13188 evaluated expressions. This also obviates the need for the
13189 keyword :label, which was previously listed in the documentation
13190 as unimplemented, and which was for the same purpose.
13195 * ntproc.c (new_child):
13196 * ntproc.c (sys_spawnve):
13197 * ntproc.c (find_child_console):
13198 * ntproc.c (sys_kill):
13199 Fixed compile warnings. By the way, this file should really go
13200 away entirely, and this will happen as soon as Kirill makes his
13201 final round of process cleanups, which affect the function
13205 * process-nt.c (struct nt_process_data):
13206 * process-nt.c (find_process_from_pid):
13207 * process-nt.c (send_signal_the_nt_way):
13208 * process-nt.c (enable_child_signals):
13209 * process-nt.c (find_child_console):
13210 * process-nt.c (send_signal_the_95_way):
13211 * process-nt.c (nt_finalize_process_data):
13212 * process-nt.c (ensure_console_window_exists):
13213 * process-nt.c (nt_create_process):
13214 * process-nt.c (nt_kill_child_process):
13215 * process-nt.c (nt_kill_process_by_pid):
13216 * process-nt.c (nt_open_network_stream):
13217 * process-nt.c (vars_of_process_nt):
13218 Copied over code from Emacs 20.5 to correctly send signals to sub-
13219 processes under Windows 95. Also added code to automatically
13220 create and hide console window when a sub-process is created under
13221 Windows 95, which obviates the need for the separate runemacs.exe
13222 executable, and finally implemented some variables that were
13223 implemented in Emacs 20.5, but previously not in XEmacs. These
13224 include mswindows- start-process-share-console and
13225 mswindows-start-process-inherit-error-mode. (Both of these only
13226 apply to Windows 95.)
13228 * regex.c (regex_compile): Fixed a compile warning.
13231 * select-msw.c (mswindows_own_selection):
13232 * select-msw.c (mswindows_get_foreign_selection):
13233 * select-msw.c (mswindows_disown_selection):
13234 * select-msw.c (console_type_create_select_mswindows):
13235 * select-msw.c (syms_of_select_mswindows):
13236 Cleaned up the file and implemented the device method
13237 selection_exists_p, which had accidentally been left out. Also
13238 removed four lisp functions that were remnants from before the
13239 time when the selection code was properly device abstracted.
13240 These functions are no longer needed because there are generic
13241 equivalents, and because they were added recently and don't exist
13242 in FSF Emacs, I don't think there's any problem with just deleting
13246 * sysdep.c (sys_subshell):
13247 Fixed a compile warning, although in this case there's probably
13248 something wrong with this code, and it ought to be looked into
13249 more thoroughly by somebody who understands it.
13252 * window.c (Fwindow_text_area_height):
13253 * window.c (Fwindow_width):
13254 * window.c (Fwindow_full_width):
13255 * window.c (Fwindow_pixel_width):
13256 * window.c (debug_print_window):
13257 * window.c (syms_of_window):
13258 Added functions window-text-area-height and window-full-width,
13259 which are functions for returning various width and height
13260 characteristics of a window. (One of these functions is necessary
13261 for making the file dialog box work correctly, and the other one
13262 was added for completeness.) Also added a table to the
13263 documentation for window-height which describes the entire scheme
13264 for accessing width and height characteristics of a window.
13266 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13268 * nt.c (fstat): Added a comment for another problem with
13269 non-encapsulated [f]stat(), reported by Adrian Aichner
13270 <aichner@ecf.teradyne.com>.
13272 2000-03-11 Andy Piper <andy@xemacs.org>
13274 * window.c (make_dummy_parent): initialize subwindow instance
13276 (Fset_window_configuration): zero extent_modiff.
13278 2000-03-10 Andy Piper <andy@xemacs.org>
13280 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
13281 more changes can be triggered.
13282 (Fredisplay_frame): ditto.
13283 (Fredraw_device): ditto.
13284 (Fredisplay_device): ditto.
13285 (redisplay_frame): make non-static.
13286 (redisplay_frame): call update_frame_gutter_geometry outside of
13289 * gutter.h: declare update_frame_gutter_geometry.
13291 * redisplay.h: declare redisplay_frame.
13293 * gutter.c (update_frame_gutter_geometry): move geometry changes
13294 in update_frame_gutters here. Geometry changes can only occur
13295 outside of redisplay.
13296 (update_frame_gutters): remove geometry change code.
13297 (Fredisplay_gutter_area): make sure that we are in display when we
13298 update and that we have flushed any size changes.
13300 2000-03-11 Andy Piper <andy@xemacs.org>
13302 * alloc.c (pdump_dump_data): remove i & count shadows.
13304 2000-02-27 Mike Alexander <mta@arbortext.com>
13306 * sysdep.h: Declare pdump_read_file
13308 * sysdep.c (pdump_read_file): New function
13310 * alloc.c (pdump_load): Call pdump_read_file to get the portable
13313 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13315 * lrecord.h: add `lrecord_type_pgsetenv'.
13317 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
13319 * symsinit.h: declare (vars|syms)_of* functions.
13320 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
13322 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
13324 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
13326 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
13329 * emacs.c (main_1): Call postgres initialization code.
13331 * postgresql.h: New file. PostgreSQL RDBMS support.
13332 * postgresql.c: New file.
13334 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13336 * redisplay-output.c (redisplay_output_display_block): Disable
13339 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13341 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
13342 (Fcanna_henkan_next): Ditto.
13343 (Fcanna_bunsetu_henkou): Ditto.
13344 (Fcanna_henkan_kakutei): Ditto.
13345 (Fcanna_henkan_end): Ditto.
13346 (Fcanna_henkan_quit): Ditto.
13347 (Fcanna_henkan_next): Set retun value correctly.
13348 (c2mu): Use unsigned char instead of signed char.
13350 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13352 * emacs.c (main_1): Always call syms_of_gui.
13353 * inline.c: include gui.h
13355 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13357 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
13358 converted to Lisp_Object.
13359 (Qtop_bottom): New variable.
13360 (syms_of_redisplay): Initialize it.
13361 * redisplay.h (Vvisible_bell): Ditto.
13362 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
13363 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
13364 only flash top and bottom.
13366 2000-03-08 Andy Piper <andy@xemacs.org>
13368 * buffer.c (Frename_buffer): record new buffer name the right way.
13370 2000-03-08 Andy Piper <andy@xemacs.org>
13372 * glyphs.c (update_subwindow): increase hash depth so that widget
13373 items get picked up properly.
13375 * redisplay-output.c (compare_runes): increase hash depth so that
13376 widget items get picked up properly.
13378 2000-03-08 Andy Piper <andy@xemacs.org>
13380 * gutter.c (output_gutter): add some debug.
13382 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
13383 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
13384 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
13386 * redisplay-output.c (compare_runes): use display_hash to
13387 determine if glyphs really are not the same.
13389 * glyphs.c (update_subwindow): check display_hash to see if
13390 anything really needs to be updated. If not then do
13391 nothing. Record the display_hash after updating.
13392 (image_instance_equal): compare the image_instance face also.
13394 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
13396 * redisplay.h: Fix comment style.
13398 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
13400 * consle-msw.h (struct mswindows_frame):
13401 Added new member paint_pending to indicate whether a WM_PAINT
13402 magic event has been queued for this frame.
13404 * event-msw.c (mswindows_drain_windows_queue):
13405 Don't queue a WM_PAINT magic event if one is already queued.
13406 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
13408 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
13410 2000-03-07 Didier Verna <didier@xemacs.org>
13412 * dired.c: #include `regex.h' after `sysfile.h'.
13414 2000-03-06 Martin Buchholz <martin@xemacs.org>
13416 * sound.c (init_nas_sound): Fix compiler warning.
13418 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
13420 (MARK_STRUCT_AS_FREE):
13421 (MARK_STRUCT_AS_NOT_FREE):
13422 Make `gcc -fstrict-aliasing' work properly.
13424 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
13426 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
13427 (mswindows_delete_device): Call CoUnnitialize().
13429 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
13431 2000-02-25 <CraigL@DyCon.com>
13433 * process-nt.c: MinGW now has <shellapi.h>, but still needs
13436 * sysdep.c: This extern declaration for environ prevents MinGW
13437 from finding the variable in CRTDLL.DLL.
13439 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
13441 (SHGFI_EXETYPE): ..
13442 (WM_MOUSEWHEEL): ..
13443 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
13445 (MMRESULT): Removed, now defined in cygwin's windows headers.
13447 (uid_t,gid_t,pid_t,ssize_t): ..
13448 (_timeb): Removed, MinGW defines both _timeb and timeb.
13449 (HAVE_H_ERRNO): Added.
13450 (HAVE_TZNAME): Added, configure is not detecting this.
13452 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
13454 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
13455 * syntax.c (syntax_match): Use it.
13457 * cmds.c: Import auto-fill-chars from FSF Emacs.
13458 (Vauto_fill_chars): New variables.
13459 (internal_self_insert): Check Vauto_fill_chars.
13461 Declare auto-fill-chars as a Lisp variable and initialize it.
13463 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13465 * fileio.c (Fmake_symbolic_link):
13467 Run handlers even if local machine doesn't have symlinks.
13469 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13471 * event-msw.c (mswindows_drain_windows_queue):
13472 Don't generate paint magic events for non-XEmacs frames.
13474 2000-03-05 Andy Piper <andy@xemacs.org>
13476 * redisplay.c (redisplay_frame): generate_displayable_area and
13477 friends assumes that we are not in GC, we therefore have to make
13478 sure that this doesn't happen.
13480 * gutter.c (calculate_gutter_size): generate_displayable_area
13481 assumes that we are not in GC, we therefore have to make sure that
13482 this doesn't happen.
13484 2000-03-05 Martin Buchholz <martin@xemacs.org>
13486 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
13488 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13490 * redisplay.c (regenerate_window): Make sure we set a sane value
13491 for end_pos even if we jump out of the loop.
13492 (regenerate_window): Answer Ben's question :-).
13493 (start_end_of_last_line): Add may_error argument.
13494 (start_of_last_line):
13495 (end_of_last_line): Pass may_error = 0.
13496 (end_of_last_line_may_error): New function.
13497 (pixel_to_glyph_translation): Use it, so we don't crash in
13500 2000-03-04 Andy Piper <andy@xemacs.org>
13502 * window.h (struct window): add gutter_extent_modiff.
13504 * window.c (allocate_window): zero out gutter_extent_modiff.
13506 * redisplay.h: declare sync_display_line_structs.
13508 * redisplay.c (add_glyph_rune): add a better comment.
13510 * redisplay-output.c (sync_display_line_structs): made non-static.
13511 (compare_runes): remove unneccesary glyph cachel access.
13513 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
13515 * gutter.c (output_gutter): don't output the gutter if extent
13516 changes only involve extents in buffers. use 4 sets of display
13518 (gutter_extent_signal_changed_region_maybe): new function. Mark
13519 extents in gutters as changed.
13520 (update_frame_gutters): use 4 sets of display lines.
13521 (reset_gutter_display_lines): ditto.
13522 (free_frame_gutters): ditto.
13523 (redraw_exposed_gutter): force output of gutters.
13525 * frame.h (struct frame): add 4 sets of gutter display lines.
13527 * extents.c: (extent_changed_for_redisplay): signal changes to
13528 extents in strings in the gutter as well as extents in buffers.
13530 2000-03-02 Andy Piper <andy@xemacs.org>
13532 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
13534 * frame.c (Fmake_frame): make sure the gutters get initialized
13535 after the frame is visible.
13536 (set_frame_selected_window): re-arrange compilation macros a
13538 (change_frame_size_1): mark gutters changed.
13540 * device.c (Fset_device_class): mark gutters changed.
13542 2000-03-01 Andy Piper <andy@xemacs.org>
13544 * window.c (window_top_frame_gutter_height): deleted.
13545 (window_bottom_frame_gutter_height): ditto.
13546 (window_left_frame_gutter_height): ditto.
13547 (window_right_frame_gutter_height): ditto.
13548 (window_top_gutter_height): don't use them.
13549 (window_bottom_gutter_height): ditto.
13550 (window_left_gutter_width): ditto.
13551 (window_right_gutter_width): ditto.
13552 (Fsplit_window): ditto.
13553 (Fwindow_pixel_edges): don't use border dimensions here.
13555 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
13556 (update_scrollbar_instance): ditto.
13558 * redisplay.c (generate_modeline): don't take gutters into account.
13559 (generate_modeline): ditto.
13560 (redisplay_frame): small gutter display optimization.
13562 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
13564 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
13565 gutters into account.
13567 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
13568 for window position and type.
13570 * gutter.c (get_gutter_coords): fix for frame gutters.
13571 (update_frame_gutters): update frame geometry if the gutters have
13573 (init_frame_gutters): record current gutter geometries.
13575 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
13577 (mswindows_widget_instantiate): ditto.
13579 * frame.h (struct frame): add current_gutter_bounds.
13581 * frame.c (change_frame_size_1): position window and minibuffer
13582 appropriately taking into account the frame gutters.
13584 * frame-x.c: (x_initialize_frame_size): take into account the
13587 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
13589 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
13591 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
13593 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
13595 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13597 * file-coding.c (reset_decoding_stream): Clear previous
13598 detection state when autodetect.
13600 2000-02-29 Didier Verna <didier@xemacs.org>
13602 * extents.c (set_extent_glyph_1): don't require extents to be
13605 2000-02-27 Andy Piper <andy@xemacs.org>
13607 * gutter.c (Fset_default_gutter_position): don't default left and
13608 right gutter visibility to t.
13609 (Fset_default_gutter_position): run
13610 default-gutter-position-changed-hook.
13611 (syms_of_gutter): add default-gutter-position-changed-hook.
13613 2000-02-26 Andy Piper <andy@xemacs.org>
13615 * specifier.c (Fmake_specifier): add gutter references.
13617 * gutter.h (RAW_WINDOW_GUTTER): new macro.
13619 * lisp.h: declare Fvalid_plist_p.
13621 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
13623 (default_gutter_visible_p_changed_in_window): invalidate gutter as
13624 well as its visibility so that it gets reconstructed.
13625 (construct_window_gutter_spec): new function. Construct a string
13626 to be displayed in the gutter from a plist of strings. Take care
13627 to only use elements that are declared as visible.
13628 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
13630 (gutter_validate): allow plists of strings in the specifier.
13631 (gutter_specs_changed): construct the real_gutter from the gutter
13632 specs using construct_window_gutter_spec.
13633 (gutter_visible_validate): gutter-visible is a new specifier type.
13634 (Fgutter_visible_specifier_p): new function for the new specifier.
13635 (syms_of_gutter): declare gutter-visible and
13636 Fgutter_visible_specifier_p.
13637 (specifier_type_create_gutter): intitalize new gutter-visible
13639 (reinit_specifier_type_create_gutter): ditto.
13640 (specifier_vars_of_gutter): use new specifier type for gutter
13642 (init_frame_gutters): construct real_gutter correctly.
13643 (Fgutter_specifier_p): beef up documentation.
13644 (Fgutter_size_specifier_p): ditto.
13646 * winslots.h: add real_gutter slots.
13648 2000-02-25 Andy Piper <andy@xemacs.org>
13650 * device-msw.c: Be kind to older cygwin versions. From Raymond
13651 Toy <toy@rtp.ericsson.se>.
13653 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
13654 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
13656 2000-02-25 Martin Buchholz <martin@xemacs.org>
13658 * elhash.c (MARK_OBJ): Practice macro hygiene.
13660 2000-02-24 Martin Buchholz <martin@xemacs.org>
13662 * miscplay.c: s/__inline__/inline/g;
13663 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
13664 (get_device_compdc): INLINE ==> static inline
13665 * *.[ch]: Change INLINE to INLINE_HEADER globally.
13666 find -name '*.h' | \
13667 xargs global-replace \
13668 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
13670 2000-02-25 Andy Piper <andy@xemacs.org>
13672 * window.c (window_top_frame_gutter_height): new function.
13673 (window_top_window_gutter_height): ditto.
13674 (window_top_gutter_height): use them.
13675 (window_bottom_frame_gutter_height): new function.
13676 (window_bottom_window_gutter_height): ditto.
13677 (window_bottom_gutter_height): use them.
13678 (window_left_window_gutter_width): new function.
13679 (window_left_frame_gutter_width): ditto.
13680 (window_left_gutter_width): use them.
13681 (window_right_window_gutter_width): new function.
13682 (window_right_frame_gutter_width): ditto.
13683 (window_right_gutter_width): use them.
13684 (window_pixel_height): new function. calulate window pixel height
13685 with frame gutter involvement.
13686 (Fsplit_window): calculate new sizes taking frame gutters into
13688 (window_char_height_to_pixel_height): don't include frame gutters.
13689 (window_char_height): use window_pixel_height.
13690 (window_pixheight): rename from window_pixel_height.
13691 (change_window_height): use it.
13692 (window_pixel_height_to_char_height): don't include frame gutters.
13693 (window_char_width_to_pixel_width): ditto.
13695 2000-02-25 Andy Piper <andy@xemacs.org>
13697 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
13700 2000-02-24 Martin Buchholz <martin@xemacs.org>
13702 * alloc.c (staticpro):
13703 (staticpro_nodump):
13708 (compact_string_chars):
13709 (pdump_dump_wired):
13710 Convert: if (foo) abort(); ==> assert (! foo);
13712 * eldap.c (Fldap_search_basic):
13716 Fix compiler warnings, and possible crashes if (random) return
13717 value were to be used.
13719 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13721 * device-msw.c: Workaround ResetDC failure.
13723 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
13724 applying a devmode.
13726 * redisplay-msw.c (get_frame_dc): Added start_page_p.
13727 (mswindows_text_width): Do not start printer page.
13729 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
13731 * glyphs-msw.c: Added image methods to msprinter console and
13732 msprinter-specific image instantiation.
13734 2000-02-20 Mike Alexander <mta@arbortext.com>
13736 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
13737 to avoid crashes when selection-sets-clipboard is on
13738 (mswindows_own_selection): ditto
13740 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13743 * redisplay-msw.c (get_frame_dc):
13744 (get_frame_compdc):
13746 * device-msw.c (mswindows_init_device):
13747 (mswindows_delete_device):
13748 (msprinter_init_device):
13749 (msprinter_delete_device):
13750 * frame-msw.c (mswindows_init_frame_1):
13751 (mswindows_delete_frame):
13752 (msprinter_init_frame_3):
13753 (msprinter_delete_frame): Move compatible DC to device object from
13754 frame object, for both mswindows and msprinter. Only one at a time
13755 is needed, it is a real waste to have one per frame!
13757 2000-02-23 Andy Piper <andy@xemacs.org>
13759 * glyphs.c: add dynamic width and height elements.
13760 (image_instance_equal): ditto.
13762 * glyphs-widget.c (widget_query_geometry): calculate width and
13763 height dynamically if required.
13764 (initialize_widget_image_instance): initialize dynamic dimensions.
13765 (widget_instantiate): pick-up dynamic dimensions.
13767 * glyphs.h (struct Lisp_Image_Instance): add width and height for
13768 dynamic determination. Add appropriate macros.
13770 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
13772 (WINDOW_GUTTER_SIZE): ditto.
13773 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
13775 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
13777 (get_frame_dc): ditto.
13779 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
13782 2000-02-23 Martin Buchholz <martin@xemacs.org>
13784 * XEmacs 21.2.31 is released.
13786 2000-02-22 Ben Wing <ben@xemacs.org>
13788 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
13790 2000-02-22 Andy Piper <andy@xemacs.org>
13792 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
13794 2000-02-21 Mike Sperber <mike@xemacs.org>
13798 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
13801 2000-02-21 Mike Sperber <mike@xemacs.org>
13803 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
13805 2000-02-21 Martin Buchholz <martin@xemacs.org>
13807 * XEmacs 21.2.30 is released.
13809 2000-02-20 Martin Buchholz <martin@xemacs.org>
13811 Performance hacking.
13813 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
13814 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
13815 * emacs.c (main_1):
13817 * console.c (DEFVAR_CONSOLE_LOCAL_1):
13818 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
13819 * symeval.h (DEFVAR_SYMVAL_FWD):
13820 * symbols.c (guts_of_unbound_marker):
13821 Make all c_readonly objects also lisp_readonly and marked for life.
13822 * lrecord.h (struct lrecord_implementation):
13823 Document flags better.
13824 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
13825 * lrecord.h (DECLARE_LRECORD):
13826 * lrecord.h (XSETRECORD):
13827 * lrecord.h (RECORDP):
13828 * lrecord.h (RECORD_TYPEP):
13829 * lrecord.h (RECORD_MARKER): New.
13830 * lrecord.h (error_check_*):
13831 * lrecord.h (CONCHECK_NONRECORD):
13832 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
13833 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
13834 * lrecord.h (set_lheader_implementation):
13835 * lrecord.h (enum lrecord_type): New.
13836 * symeval.h (SYMBOL_VALUE_MAGIC_P):
13837 * alloc.c (disksave_object_finalization_1):
13838 * alloc.c (mark_object):
13839 * alloc.c (lrecord_type_index):
13840 * alloc.c (tick_lcrecord_stats):
13841 * alloc.c (Fgarbage_collect):
13842 * alloc.c (init_alloc_once_early):
13843 * alloc.c (pdump_load):
13844 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
13845 * alloc.c (lrecord_type_index): Delete.
13846 Make lisp object type indexes be constant.
13847 Makes (byte-compile) 5% faster.
13848 Put all marker functions into their own array.
13849 Makes (garbage-collect) 5% faster.
13850 Optimize SYMBOL_VALUE_MAGIC_P.
13851 Makes (byte-compile) 2-3% faster.
13852 * config.h.in (gc_checking_assert): New.
13853 * alloc.c: Use gc_checking_assert().
13854 * .dbxrc: Make compatible with new object type implementation.
13855 * .gdbinit: Make compatible with new object type implementation.
13856 * alloc.c: Delete all symbols defined only for debugging, such as
13857 Lisp_Type_Vector and lrecord_charset.
13859 2000-02-21 Andy Piper <andy@xemacs.org>
13861 * gui-msw.c (Fmswindows_shell_execute): fix file location
13864 * buffer.c (Fkill_buffer): remove buffer from alist buffer
13865 unshowing so that set_window_buffer doesn't undo
13866 kill_buffer_hook's hard work.
13868 * glyphs-widget.c (tab_control_query_geometry): don't count the
13869 first item when calculating geometry.
13871 * glyphs.c (map_subwindow): remove redundant code.
13872 (update_frame_subwindows): be more circumspect about when to
13875 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
13876 when items haven't changed. Update faces if faces have changed as
13877 well as just the widget face.
13878 (x_tab_control_update): Update faces if faces have changed as well
13879 as just the widget face.
13881 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
13883 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
13885 (build_syscolor_string): Use mswindows_color_to_string to try to
13887 (mswindows_device_system_metrics): Reverse the foreground and
13888 background colors so that they match the documentation.
13890 * objects-msw.c: (mswindows_X_color_map): tweak some values so
13891 they match the default Windows palette.
13892 (mswindows_color_to_string): New function.
13894 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
13896 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
13898 2000-02-18 Olivier Galibert <galibert@pobox.com>
13900 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
13901 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
13903 * symbols.c (init_symbols_once_early): Removed obsolete
13904 DATA_SEG_BITS related kludge.
13905 (defvar_magic): Ditto.
13907 * malloc.c: Removed obsolete DATA_SEG_BITS
13909 * mem-limits.h: Ditto.
13911 * Makefile.in.in: Removed obsolete HAVE_SHM
13914 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
13916 * device-msw.c (mswindows_delete_device): Free DDE string
13919 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13921 * keymap.c (get_keyelt):
13922 * unexnt.c (unexec):
13923 * vm-limit.c (memory_warnings):
13924 * ntheap.c (recreate_heap):
13925 * ntheap.h (UNINIT_PTR):
13926 * select-msw.c (Fmswindows_get_clipboard):
13927 (Fmswindows_set_clipboard):
13928 * objects-msw.h (MSWINDOWS_BAD_HFONT):
13930 * menubar-msw.c (displayable_menu_item):
13932 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
13933 * sysdep.c (sys_subshell):
13934 * process-nt.c (nt_create_process):
13935 * nt.c (normalize_filename):
13936 (dostounix_filename):
13937 (unixtodos_filename):
13938 * ntproc.c (win32_executable_type):
13939 * ntplay.c (play_sound_data_1):
13941 * editfns.c (get_home_directory):
13942 * event-msw.c (struct winsock_stream):
13943 (mswindows_dde_callback):
13944 * device-msw.c (msprinter_init_device):
13945 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
13947 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
13948 mswindows_clear_toolbar were swapped!
13950 * objects-msw.c:(colormap_t):
13952 * emacs.c (struct standard_args): Fixed const jumble.
13954 * glyphs-widget.c (update_widget): Fixed comparison notation.
13956 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
13958 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
13959 __declspec(noreturn) syntax.
13961 2000-02-19 Martin Buchholz <martin@xemacs.org>
13963 * eldap.c (Fldap_open):
13964 (Fldap_search_basic):
13967 Use new coding system conversion macros.
13969 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13971 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
13973 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
13975 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
13976 (Fldap_add, Fldap_modify, Fldap_delete): New functions
13978 * eldap.c (Qadd, Qreplace): New constant symbols
13979 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
13980 interruptions by XEmacs signals
13981 Remove unnecessary calls to slow_down_interrupts and
13982 speed_up_interrupts
13983 (Fldap_search_basic): Renamed from Fldap_search_internal
13984 Added new optional parameter VERBOSE that triggers the
13985 display of progress messages
13986 Remove unnecessary calls to slow_down_interrupts and
13987 speed_up_interrupts
13988 LDAP result code analysis rewritten
13989 (Fldap_add, Fldap_modify, Fldap_delete): New functions
13990 (syms_of_eldap): Define the new symbols and functions
13993 2000-02-17 Martin Buchholz <martin@xemacs.org>
13995 * realpath.c: Determine PATH_MAX maximally portably.
13997 * insdel.c (bytecount_to_charcount): Optimize.
13998 The function used to be optimized for entirely ASCII sequences.
13999 Now it is optimized for successive characters from the same
14000 charset. This also wins big for _mostly_ ASCII sequences.
14002 * fileio.c (Ffile_truename): convert return from realpath() using
14003 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
14004 - Rewrite GCPROing slightly.
14006 * sysdep.c (sys_open): Do filename conversion, like all other
14007 sys_* functions. Fixes bug:
14008 (let ((file-name-coding-system 'iso-8859-2))
14009 (write-region x y latin2-name))
14010 ==> writes filename using internal encoding.
14012 2000-02-18 Martin Buchholz <martin@xemacs.org>
14014 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
14015 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
14016 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
14017 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
14018 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
14019 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
14020 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
14021 (CONST_IF_NOT_DEBUG): Delete.
14022 * alloc.c (this_one_is_unmarkable): Delete.
14023 (mark_object): Don't check for this_one_is_unmarkable. Use the
14024 c_readonly flag instead.
14025 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
14027 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
14029 * event-msw.c (mswindows_drain_windows_queue):
14030 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
14031 away redundant repaint events.
14033 2000-02-17 Andy Piper <andy@xemacs.org>
14035 * redisplay.h: declare mark_redisplay_structs.
14037 * redisplay.c (redisplay_window):
14038 (redisplay_frame): don't check subwindows_state_changed.
14039 (mark_redisplay): mark gutters here.
14041 * glyphs.c: (instantiate_image_instantiator): always layout if we
14042 haven't done so already.
14043 (allocate_image_instance): don't mark as dirty.
14044 (update_subwindow): bind inhibit_quit.
14046 * gutter.c (mark_gutters): new function.
14048 * glyphs-x.c (x_update_widget): Always resize to get round a
14051 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
14052 breaking absolutely everything.
14054 * gutter.h: declare mark_gutters.
14056 2000-02-16 Martin Buchholz <martin@xemacs.org>
14058 * XEmacs 21.2.29 is released.
14060 2000-02-15 Olivier Galibert <galibert@pobox.com>
14062 * fns.c (size_bit_vector): Fix computation of the size.
14064 2000-02-15 Martin Buchholz <martin@xemacs.org>
14066 * *.[ch]: Change CONST to const globally.
14067 find -name '*.[ch]' | \
14068 xargs global-replace \
14069 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
14070 - Remove vestigial references to CONST_IS_LOSING
14072 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14074 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
14075 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14076 events instead of dispatching them directly.
14077 (mswindows_handle_paint): New function to do repainting.
14078 (mswindows_wnd_proc):
14079 (emacs_mswindows_handle_magic_event): Call above function.
14081 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14083 * objects-msw.c (mswindows_create_font_variant): Return the new
14085 (initialize_font_instance): Get font metrics from the underlined
14086 variant of the font to cope with the case where the underlined
14087 font has a bigger descent.
14089 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14091 * gui.c (gui_item_accelerator): Return the first underlined
14092 character in item name.
14094 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14096 * lisp.h: Added Qprinter.
14098 * general.c (syms_of_general): Initialized it.
14100 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
14102 (get_frame_compdc): Made inline.
14104 * console.h (struct console_methods): Added eject_page method.
14106 * frame.h: Added FRAME_DISPLAY_P and friends.
14107 Aligned backslahes in many macros in more readable fashion.
14108 Added page_number to struct frame, and an accessor macro
14111 * defice.h: Added DEVICE_DISPLAY_P and friends.
14113 * device.c (Fdevice_printer_p): Used these.
14115 * frame.c (allocate_frame_core): Initialize page number.
14116 (Fprint_job_page_number):
14117 (Fprint_job_eject_page): Implemented.
14119 * frame-msw.c (msprinter_eject_page): Added method.
14120 (msprinter_start_page): Added.
14122 * window.c (Fwindow_truncated_p): Fixed docstring.
14123 (Fwindow_last_line_visible_height): Implemented.
14125 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14127 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
14129 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14131 * syntax.c (scan_words): Always advance at least one character.
14133 2000-02-13 Andy Piper <andy@xemacs.org>
14135 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
14136 to make sure the glyph is in the cachels.
14138 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
14139 global image instance flag.
14140 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
14141 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
14143 * glyphs.c (allocate_image_instance): set dirty bits correctly.
14144 (Fset_image_instance_property): mark layout as changed.
14145 (invalidate_glyph_geometry_maybe): mark layout as changed.
14146 (glyph_width): use new NEEDS_LAYOUT macro.
14147 (glyph_ascent): ditto.
14148 (glyph_descent): ditto.
14149 (glyph_height): ditto.
14150 (image_instance_layout): mark layout as clean after laying out.
14151 (update_subwindow): don't mark layout as clean here.
14153 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
14154 should no longer be needed.
14156 * glyphs-x.c (x_update_widget): sanitize asserts.
14157 (x_finalize_image_instance): sanitize assignment to widgets.
14159 * glyphs-widget.c (widget_instantiate): don't need to clear the
14162 2000-02-13 Martin Buchholz <martin@xemacs.org>
14164 * sysdep.c (getcwd): Use standard prototype.
14165 * sysdep.h (getcwd): Use standard prototype.
14167 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
14168 (sequence, start, end).
14169 Remove redundant type checking.
14170 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
14171 view of `caller-protects') to avoid a crash where the real fix was
14174 2000-02-12 Martin Buchholz <martin@xemacs.org>
14176 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
14178 * s/sol2.h: Remove feature macro initialization.
14180 * alloc.c (alloc_lcrecord): Add more type checking assertions.
14181 (vector_hash): New. Code from internal_hash.
14183 Fix up allocation subsystem comments.
14185 * config.h.in: Add __EXTENSIONS__ for Solaris.
14187 * systime.h (EMACS_GETTIMEOFDAY): New.
14188 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
14189 Remove Solaris-specific code.
14190 Use void* for the (ignored) second arg for gettimeofday().
14192 * elhash.c (hash_table_hash): Implement it, finally.
14193 * elhash.c: Use hashcode_t.
14195 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
14196 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
14198 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
14199 * fns.c (size_bit_vector):
14200 * alloc.c (size_vector):
14201 (make_vector_internal):
14202 (make_bit_vector_internal):
14203 (sweep_bit_vectors_1):
14204 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
14206 2000-02-10 Martin Buchholz <martin@xemacs.org>
14208 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
14209 Include strings.h to avoid warnings for bzero and strcasecmp.
14211 2000-02-10 Olivier Galibert <galibert@pobox.com>
14213 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
14214 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
14216 * fns.c (size_bit_vector): New. Declare bit vectors as a
14219 2000-02-10 Olivier Galibert <galibert@pobox.com>
14221 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
14222 use a value field instead.
14223 (symbol_value_forward_forward): Use value field.
14224 (DEFVAR_SYMVAL_FWD): Use value field.
14225 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
14226 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
14227 (DEFVAR_CONST_INT): Ditto.
14228 (DEFVAR_BOOL): Ditto.
14229 (DEFVAR_CONST_BOOL): Ditto.
14230 (DEFVAR_INT_MAGIC): Ditto.
14231 (DEFVAR_BOOL_MAGIC): Ditto.
14233 * symbols.c (guts_of_unbound_marker): Use value field.
14234 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
14235 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
14237 * lisp.h: Declare dumpopaque and noninteractive1.
14239 * alloc.c (dumpopaque): Added.
14240 (pdump_dump_opaquevec): Added.
14241 (pdump): Call pdump_dump_opaquevec to dump opaque data.
14242 (pdump_load): Reload opaque data. Sync noninteractive1 with
14245 2000-02-10 Andy Piper <andy@xemacs.org>
14247 * glyphs.c (image_instance_layout): if the size changes, mark it
14250 * redisplay-output.c (redisplay_output_layout): Update the
14252 (redisplay_output_subwindow): ditto.
14254 * glyphs.c (update_subwindow): make sure we reset flags for
14255 layouts as well as everything else.
14257 * glyphs-widget.c (layout_layout): don't need to set the instances
14260 2000-02-09 Martin Buchholz <martin@xemacs.org>
14262 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
14263 not HAVE_DLOPEN, which is a lower-level thing.
14265 * .cvsignore: Ignore gmon.out
14267 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
14269 * .cvsignore: Ignore portable dumper xemacs.dmp file
14271 2000-02-09 Andy Piper <andy@xemacs.org>
14273 * redisplay-output.c (redisplay_output_layout): be more clever
14274 about when we output based on the changed flags.
14276 * glyphs.h (struct image_instantiator_methods): add update_method.
14277 (struct Lisp_Image_Instance): add changed flags. Declare new
14278 macros for manipulating them.
14280 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
14281 (image_instance_parent_glyph): find an image_instance's parent
14282 glyph or image_instance.
14283 (image_instance_layout): mark the size as changed.
14284 (set_image_instance_dirty_p): new function. mark an image
14285 instance, plus all of its parents, as dirty.
14286 (Fset_image_instance_property): use it.
14287 (Fglyph_animated_timeout_handler): use it.
14288 (update_subwindow): call update_widget and device methods for
14289 update_subwindow. Mark all changed flags as clean.
14290 (Fresize_subwindow): mark size as changed.
14292 * glyphs-x.c (x_finalize_image_instance): try and detect gc
14294 (x_update_subwindow): only resize subwindows here.
14295 (x_update_widget): new function. Update all changed properties of
14297 (x_resize_subwindow): deleted.
14298 (x_widget_set_property): deleted.
14299 (x_progress_gauge_set_property): deleted.
14300 (x_progress_gauge_update): new function. Implement recorded
14302 (x_tab_control_update): ditto.
14303 (x_tab_control_set_property): deleted.
14304 (console_type_create_glyphs_x): declare new functions.
14305 (image_instantiator_format_create_glyphs_x): ditto.
14307 * glyphs-widget.c (widget_set_property): mark text changed.
14308 (update_widget): new function. Update properties of a widget.
14309 (widget_instantiate): for layouts make sure we set their
14310 children's parent correctly.
14311 (tab_control_set_property): new function. Record changes that will
14312 take place under redisplay's control.
14313 (progress_gauge_set_property): ditto.
14314 (image_instantiator_progress_guage): declare new functions.
14315 (image_instantiator_tab_control): ditto.
14317 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
14319 (mswindows_update_widget): new function. Update all properties on
14320 a widget that have changed.
14321 (mswindows_button_update): new function. Update a button's set
14323 (mswindows_tab_control_update): new function. Update the items in
14325 (mswindows_tab_control_set_property): deleted.
14326 (mswindows_progress_gauge_update): new function. Update the
14327 progress gauge's progress.
14328 (mswindows_widget_set_property): deleted. This is all done
14329 asynchronously now.
14330 (mswindows_progress_gauge_set_property): ditto.
14331 (console_type_create_glyphs_mswindows): declare new methods.
14332 (image_instantiator_format_create_glyphs_mswindows): ditto.
14334 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
14335 (msprinter_set_frame_properties): ditto.
14337 * console.h (struct console_methods): Add update_widget_method.
14339 2000-02-09 Andy Piper <andy@xemacs.org>
14341 * gui-msw.c (Fmswindows_shell_execute): Make
14342 mswindows-shell-execute industrial strength.
14344 2000-02-08 Martin Buchholz <martin@xemacs.org>
14346 * lrecord.h: Make macro argument `props' match member function `plist'.
14349 * fns.c (Fremprop):
14350 * fns.c (Fobject_plist):
14353 Object property list frobbing cleanup.
14354 - Allow any lisp object (compared with `eq'), not just symbols, as
14355 keys in object plists.
14356 - Move symbol plist frobbing into symbols.c, where it belongs.
14357 - Move string plist frobbing into alloc.c, where it belongs.
14358 - Everything's an lrecord now, so no need to test for symbolp, etc.
14359 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
14361 * extents.c: Reorder code to remove declarations.
14363 * frame.h (store_in_alist): Remove useless declaration.
14365 2000-02-07 Martin Buchholz <martin@xemacs.org>
14367 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
14368 * config.h.in: Add HAVE_XCONVERTCASE.
14370 2000-02-07 Andy Piper <andy@xemacs.org>
14372 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
14373 it breaks many things.
14375 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14377 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
14378 actually can start a common comment type.
14379 * src/syntax.h (SYNTAX_END_P): ditto for end.
14381 2000-02-07 Martin Buchholz <martin@xemacs.org>
14383 * XEmacs 21.2.28 is released.
14385 2000-02-06 Martin Buchholz <martin@xemacs.org>
14387 * event-Xt.c (x_keysym_to_character): New.
14388 (maybe_define_x_key_as_self_inserting_character): New.
14389 (x_has_keysym): New.
14390 Auto-define all keys on the keyboard as self-insert-key.
14392 2000-02-02 Martin Buchholz <martin@xemacs.org>
14394 * menubar.c (vars_of_menubar): A small code simplification.
14396 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
14399 * ExternalClient.c:
14400 * EmacsShell-sub.c:
14403 Use consistent style for specifying X resources.
14405 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
14406 This makes (dontusethis-set-symbol-value-handler) actually usable.
14408 * lrecord.h (lrecord_decription_type):
14409 * alloc.c (pdump_register_sub):
14412 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
14413 Comply with XEmacs coding style.
14414 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
14415 args, and XD_LISP_OBJECT_ARRAY with 3 args.
14417 * keymap.c (Faccessible_keymaps):
14418 Make (accessible-keymaps map "\C-h") do the Right Thing.
14419 Make (accessible-keymaps map []) do the Right Thing.
14420 Make (accessible-keymaps map "") do the Right Thing.
14421 (check_keymap_definition_loop): New function.
14422 (keymap_store_internal): Keep luser from shooting self in foot,
14423 via (define-key ctl-x-4-map "p" global-map).
14424 Remove fullness slot from struct Lisp_Keymap, since hash tables
14426 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
14428 2000-01-30 Martin Buchholz <martin@xemacs.org>
14430 * redisplay.c (init_redisplay): Fix small memory leak.
14432 * elhash.c (pdump_reorganize_hash_table):
14433 Rename from reorganize_hash_table. Change prototype.
14434 Reuse the original memory for hentries. Save 100k.
14435 * alloc.c (PDUMP_READ): new macro.
14436 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
14437 * alloc.c: No need to #ifndef before #undef.
14439 * print.c: Allow debug_print() to print readably by modifying
14440 debug_print_readably. Use consistent variable names.
14442 * .dbxrc: Try to get things to work even if stopped in a function
14443 without source available by explicitly specifying source files.
14444 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14446 * unexnt.c (_start): Removed bogus code which caused loading heap
14447 from differrent executable file.
14448 Removed bogus assignment to _fmode, which caused inconsistencies.
14450 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14452 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
14453 Have spawnve encapsulation regard DONT_ENCAPSULATE.
14454 Do not preliminary `#define signal sigset'.
14456 * systime.h: Do not prototype environ on windows nt and cygwin,
14457 this conflicts with system header.
14459 * syssignal.h: Use correct define for WINDOWSNT
14461 * sysdep.h: Do not prototype environ on windows nt, this conflicts
14462 with system header.
14464 * sysdep.c (near start of file): Fixed commentary and rearranged
14465 ifdefs in readable order.
14466 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
14469 (end_of_data): Do not compile in if using PDUMP.
14471 * symsinit.h: Prototyped vars_of_nt().
14473 * ntproc.c (windows9x_p): Added, instead of os_subtype.
14474 (find_child_console): Use it.
14475 (sys_kill): Use it.
14477 * ntheap.h: Do not extern os_subtype.
14479 * ntheap.c (cache_system_info): Do not cache unneeded:
14480 nt_major_version, nt_minor_version and os_subtype.
14481 (recreate_heap): Do not compile in when PDUMPing.
14483 * nt.c (geteuid and friends): Use the new varibale
14484 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
14485 (init_user_info): Removed the above mentioned hackery.
14486 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
14487 stat has been fixed in the C runtime.
14488 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
14490 * file-coding.c (struct file_coding_dump): Do not define
14491 ucs_to_mule_table in the struct if not MULE.
14492 (struct struct lrecord_description fcd_description_1): Do not dump
14495 * emacs.c (main_1): Call vars_of_nt().
14496 (right before Fdump_emacs_data): Don't need lastfile if using both
14497 portabe dumper and system malloc.
14499 * alloc.c (Fmemory_limit): Conditionalized out.
14500 (pdump): Use OPEN_BINARY for the portable dump file.
14501 (pdump_load): Ditto.
14503 2000-02-02 Mike Alexander <mta@arbortext.com>
14505 * nt.c (convert_time): Set tm_isdst before calling mktime and
14506 avoid calling it at all if the compiler supports 64 bit integers.
14507 Also initialize utc_base_ft before using it.
14509 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14511 * frame.c (change_frame_size_1): Take f->internal_border_width
14512 into consideration when calculating the width of the frame.
14514 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14516 * window.c (frame_min_height):
14517 (frame_size_valid_p):
14518 (frame_pixsize_valid_p): Added.
14519 (check_frame_size): Generalized.
14521 * window.h: Prototyped the above.
14524 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
14525 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
14526 Deleted Vwin32_* and Vbinary_process_* unused variables.
14528 * device-msw.c (msprinter_init_device): Do not get printer font
14529 list; Added DEVMODE functions.
14531 * frame-msw.c: Added lots of printer code.
14533 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
14536 * console-msw.h: Added more msprinter device private slots.
14538 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14540 * event-msw.c (key_needs_default_processing_p): Added.
14541 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
14543 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14545 * glyphs.c (image_instance_layout): Mark image instance as clean
14547 (glyph_dirty_p): Removed redundant function.
14548 (invalidate_glyph_geometry_maybe): Added.
14549 (update_glyph_cachel_data): Call it.
14551 * glyphs.h: Prototyped it.
14553 * redisplay.c (add_glyph_rune): Call it.
14554 (redisplay_window): Reset glyphs cachels when frame faces have
14555 changed, thus forcing recomputation of built-in border glyphs.
14557 2000-01-30 Martin Buchholz <martin@xemacs.org>
14559 * Makefile.in.in: Make portable dumper and purify play well together.
14560 Add imperfect, but better than nothing, support for pdump.
14561 Remove xemacs.dmp when temacs is re-generated.
14562 Don't ignore errors when dumping xemacs.
14564 * symbols.c (maybe_call_magic_handler): Remove one magic number.
14566 2000-01-28 Andy Piper <andy@xemacs.org>
14568 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
14569 (setup_normal_frame): ditto.
14570 (setup_frame_without_minibuffer): ditto.
14571 (setup_minibuffer_frame): ditto.
14572 (delete_frame_internal): ditto.
14573 (Fmake_frame_invisible): ditto.
14574 (Ficonify_frame): ditto.
14576 * window.h: change Fset_window_buffer signature.
14578 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
14579 (Fset_window_buffer): allow recording of buffer if the window is
14580 the selected window.
14581 (window_loop): Use new Fset_window signature.
14583 2000-01-23 Daniel Pittman <daniel@danann.net>
14585 * config.h.in: Added template for `HAVE_ATHENA_3D'
14587 2000-01-29 Andy Piper <andy@xemacs.org>
14589 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
14591 * gutter.c (output_gutter): Don't output if the window isn't live.
14593 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14595 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
14596 of 01/12/00: Moved SetFocus back here where it belongs.
14598 2000-01-23 Andy Piper <andy@xemacs.org>
14600 * s/cygwin32.h: declare printer things.
14602 2000-01-26 Andy Piper <andy@xemacs.org>
14604 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
14607 2000-01-24 Andy Piper <andy@xemacs.org>
14609 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
14610 (mswindows_button_instantiate): Make sure glyph is a pixmap.
14612 * glyphs-widget.c (widget_instantiate): Avoid shadows.
14614 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
14616 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
14618 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
14619 (mswindows_output_display_block): Avoid local shadows.
14621 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
14622 (mswindows_enqueue_mouse_button_event): ditto.
14623 (mswindows_handle_gui_wm_command): remove declaration.
14625 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
14628 * console-msw.h: Avoid shadows.
14629 (mswindows_get_toolbar_button_text):
14630 (emacs_mswindows_create_stream_pair):
14631 (emacs_mswindows_delete_stream_pair):
14632 (mswindows_handle_toolbar_wm_command): declare.
14634 * device-msw.c (build_syscolor_string): Avoid shadows.
14636 2000-01-23 Andy Piper <andy@xemacs.org>
14638 * glyphs-widget.c (widget_instantiate): reverse the items for
14639 layouts so that children are in the expected order.
14641 2000-01-28 Martin Buchholz <martin@xemacs.org>
14643 * ralloc.c: safe_bcopy ==> memmove
14644 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
14645 * s/msdos.h: Remove BCOPY macros.
14646 * insdel.c (gap_right): Remove BCOPY conditional code.
14647 * insdel.c (gap_left): Remove BCOPY conditional code.
14648 XEmacs demands a working ANSI C compiler - hence memmove.
14650 * regex.c (regex_compile): Remove accidental use of trigraphs.
14652 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14654 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
14657 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14659 * event-msw.c (mswindows_drain_windows_queue): Added the
14661 (mswindows_need_event): Commented the call to
14662 mswindows_drain_windows_queue().
14663 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
14666 * console-msw.h: Moved a few function prototypes here from
14669 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
14670 parameter from unsigned short to unsigned long.
14671 (Fmswindows_shell_execute): Added return value.
14673 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
14675 * sysdep.c (init_system_name):
14676 process-unix.c (unix_canonicalized_host_name):
14677 Don't call freeaddrinfo() if getaddrinfo() fails.
14679 * process-unix.c (unix_open_unix_network_stream):
14680 Moved the code to get a port # into address loop.
14682 2000-01-27 Martin Buchholz <martin@xemacs.org>
14684 * buffer.c (reinit_vars_of_buffer):
14685 The right place to initialize conversion_in_dynarr and
14686 conversion_out_dynarr.
14688 * alloc.c (pdump): Use the real open() till sys_open() is functional.
14690 * process-unix.c (unix_canonicalize_host_name): Muleize.
14691 (unix_open_network_stream): Muleize.
14693 * buffer.h: Fix up prototypes for ralloc.c functions.
14695 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
14696 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
14697 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
14698 instead of gethostbyname()
14699 * process-unix.c: In unix_canonicalize_host_name() and
14700 unix_open_network_stream(), add code to use getaddrinfo()
14701 instead of gethostbyname().
14703 2000-01-27 Daniel Pittman <daniel@danann.net>
14705 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
14706 libs when built with flat Athena.
14708 2000-01-27 Martin Buchholz <martin@xemacs.org>
14710 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
14711 Use coding standards for function prototypes.
14713 2000-01-25 Martin Buchholz <martin@xemacs.org>
14715 * dialog-msw.c (push_lisp_string_as_unicode):
14716 * doc.c (unparesseuxify_doc_string):
14717 * dired.c (Fuser_name_completion_1):
14718 * dired.c (Fuser_name_all_completions):
14719 * dired.c (free_user_cache):
14720 * dired.c (user_name_completion):
14721 * console-x.c (get_display_arg_connection):
14722 * minibuf.c (clear_echo_area_internal):
14723 * minibuf.c (echo_area_append):
14724 * eldap.c (Fldap_open):
14725 * eldap.c (Fldap_search_internal):
14726 * frame-x.c (x_set_frame_text_value):
14727 * frame-x.c (x_set_frame_properties):
14728 * frame-x.c (x_create_widgets):
14729 * redisplay-tty.c (term_get_fkeys_1):
14730 * objects-x.c (x_parse_nearest_color):
14731 * objects-x.c (x_valid_color_name_p):
14732 * objects-x.c (x_initialize_font_instance):
14733 * objects-x.c (x_list_fonts):
14734 * objects-x.c (x_find_charset_font):
14735 * tooltalk.c (Fadd_tooltalk_message_arg):
14736 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
14737 * tooltalk.c (Fadd_tooltalk_pattern_arg):
14738 * process-unix.c (unix_create_process):
14739 * ntproc.c (sys_spawnve):
14740 * sound.c (Fplay_sound_file):
14741 * sound.c (Fplay_sound):
14742 * buffer.c (init_initial_directory):
14743 * buffer.c (init_buffer):
14744 * editfns.c (init_editfns):
14745 * editfns.c (Ftemp_directory):
14746 * editfns.c (Fuser_full_name):
14747 * editfns.c (uncache_home_directory):
14748 * editfns.c (get_home_directory):
14749 * editfns.c (Fuser_home_directory):
14750 * editfns.c (Fformat_time_string):
14751 * editfns.c (Fcurrent_time_string):
14752 * gui-x.c (button_item_to_widget_value):
14753 * database.c (Fopen_database):
14754 * event-Xt.c (x_to_emacs_keysym):
14755 * event-Xt.c (x_event_to_emacs_event):
14756 * event-Xt.c (describe_event_window):
14757 * event-msw.c (mswindows_wnd_proc):
14758 * glyphs-eimage.c (jpeg_instantiate):
14759 * glyphs-eimage.c (gif_instantiate):
14760 * glyphs-eimage.c (png_instantiate):
14761 * glyphs-eimage.c (tiff_instantiate):
14762 * glyphs-x.c (xbm_instantiate_1):
14763 * glyphs-x.c (x_xbm_instantiate):
14764 * glyphs-x.c (x_xface_instantiate):
14765 * glyphs-x.c (autodetect_instantiate):
14766 * glyphs-x.c (cursor_font_instantiate):
14767 * glyphs-x.c (x_widget_instantiate):
14768 * glyphs-x.c (x_widget_set_property):
14769 * glyphs-x.c (x_widget_property):
14770 * glyphs-x.c (BUILD_GLYPH_INST):
14771 * print.c (write_string_to_stdio_stream):
14772 * print.c (output_string):
14773 * print.c (Falternate_debugging_output):
14774 * print.c (Fexternal_debugging_output):
14775 * glyphs-msw.c (extract_xpm_color_names):
14776 * glyphs-msw.c (mswindows_xpm_instantiate):
14777 * glyphs-msw.c (bmp_instantiate):
14778 * glyphs-msw.c (resource_name_to_resource):
14779 * glyphs-msw.c (mswindows_resource_instantiate):
14780 * glyphs-msw.c (xbm_instantiate_1):
14781 * glyphs-msw.c (mswindows_xbm_instantiate):
14782 * glyphs-msw.c (mswindows_xface_instantiate):
14783 * glyphs-msw.c (mswindows_widget_instantiate):
14784 * glyphs-msw.c (add_tree_item):
14785 * glyphs-msw.c (add_tab_item):
14786 * glyphs-msw.c (mswindows_combo_box_instantiate):
14787 * glyphs-msw.c (mswindows_widget_property):
14788 * glyphs-msw.c (mswindows_combo_box_property):
14789 * glyphs-msw.c (mswindows_widget_set_property):
14790 * console.c (stuff_buffered_input):
14791 * objects-msw.c (mswindows_initialize_color_instance):
14792 * objects-msw.c (mswindows_valid_color_name_p):
14793 * objects-msw.c (mswindows_list_fonts):
14794 * objects-msw.c (mswindows_font_instance_truename):
14795 * bytecode.c (optimize_compiled_function):
14796 * select-x.c (symbol_to_x_atom):
14797 * select-x.c (x_atom_to_symbol):
14798 * select-x.c (hack_motif_clipboard_selection):
14799 * select-x.c (selection_data_to_lisp_data):
14800 * select-x.c (lisp_data_to_selection_data):
14801 * select-x.c (Fx_get_cutbuffer_internal):
14802 * select-x.c (Fx_store_cutbuffer_internal):
14803 * buffer.h (TO_EXTERNAL_FORMAT): New function.
14804 * buffer.h (TO_INTERNAL_FORMAT): New function.
14805 * emacs.c (make_arg_list_1):
14806 * emacs.c (make_argc_argv):
14807 * emacs.c (main_1):
14808 * emacs.c (Fdump_emacs):
14809 * emacs.c (split_string_by_emchar_1):
14814 * device-x.c (x_init_device):
14815 * device-x.c (Fx_valid_keysym_name_p):
14816 * device-x.c (Fx_get_font_path):
14817 * device-x.c (Fx_set_font_path):
14818 * glyphs.c (bitmap_to_lisp_data):
14819 * glyphs.c (pixmap_to_lisp_data):
14820 * alloc.c (make_ext_string): Use coding system arguments. Update
14822 * alloc.c (build_string):
14823 * callproc.c (child_setup):
14824 * callproc.c (init_callproc):
14825 * fileio.c (lisp_strerror):
14826 * fileio.c (directory_file_name):
14827 * fileio.c (Fexpand_file_name):
14828 * fileio.c (Ffile_truename):
14829 * fileio.c (Fsysnetunam):
14830 * fileio.c (Fdo_auto_save):
14831 * sysdep.c (sys_readdir):
14832 * tests.c: New file. Allow adding C tests.
14833 Replace GET_* macros with a more comprehensible and flexible
14834 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
14836 Any coding system can be used to do format conversion.
14837 Eliminate enum external_data_format.
14838 Eliminate convert_to_external_format.
14839 Eliminate convert_to_internal_format.
14840 Make sure file-name, keyboard, terminal, and ctext are always
14841 defined as coding systems or aliases. Make
14842 file-name-coding-system, terminal-coding-system, and
14843 keyboard-coding-system magical variables that are equivalent to
14844 defining the corresponding coding system aliases.
14846 * file-coding.c (Fcoding_system_canonical_name_p): New function.
14847 * file-coding.c (Fcoding_system_alias_p): New function.
14848 * file-coding.c (Fcoding_system_aliasee): New function.
14849 * file-coding.c (append_suffix_to_symbol): New function.
14850 * file-coding.c (dangling_coding_system_alias_p): New function.
14851 * file-coding.c (Ffind_coding_system):
14852 * file-coding.c (Fcopy_coding_system):
14853 * file-coding.c (encode_coding_no_conversion):
14854 * file-coding.c (syms_of_file_coding):
14855 * file-coding.c (vars_of_file_coding):
14856 Rewrite coding system alias code.
14857 Allow nested aliases, like symbolic links.
14858 Allow redefinition of coding system aliases.
14859 Prevent existence of dangling coding system aliases.
14861 * dired.c (Fuser_name_completion_1):
14862 * dired.c (Fuser_name_all_completions):
14863 A crash would happen if user did QUIT in the middle of building
14864 user_name_cache. Remove redundant code in mainline and unwind_protect.
14867 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
14869 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
14870 an unsigned char *. Update all callers.
14872 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14874 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
14876 2000-01-25 Martin Buchholz <martin@xemacs.org>
14878 * elhash.c (hentry_description): Use more portable definition.
14879 (resize_hash_table): Initialize new hentries using
14880 xnew_array_and_zero, thereby simplifying the code.
14882 * mule-charset.c (make_charset): Make sure entire object is
14883 initialized, to avoid Purify warnings.
14885 * alloc.c (resize_string): Fix unlikely crash with big strings.
14887 2000-01-24 Martin Buchholz <martin@xemacs.org>
14889 * realpath.c (xrealpath):
14890 Don't call getwd().
14892 2000-01-25 Martin Buchholz <martin@xemacs.org>
14894 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
14896 1999-12-28 Max Matveev <max@melbourne.sgi.com>
14898 * unexelfsgi.c (unexec): Change the way we decide which segment
14899 should be extended.
14901 Assumption that .bss section should be outside the PT_LOADable
14902 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
14903 it's present) is inside the 'data' segment. This would fail the
14904 test which was used to find a segment to grow and cover new
14905 heap. Instead of this assumption, I created another one - on IRIX
14906 the segment to grow should start below .bss and it's address
14907 should extent above the end of .bss. Once this segment is
14908 identified, it's grown to accommodate the new heap and new
14909 zero-length .bss section is added at the end of .data2.
14911 2000-01-25 Martin Buchholz <martin@xemacs.org>
14913 * eval.c (Feval): Wrong number of arguments should use original
14914 function, not the indirect_function version of it.
14916 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
14918 * glyphs-x.c (x_button_instantiate): Don't add image if
14919 it is not a pixmap.
14920 (x_locate_pixmap_file): Call Fexpand_file_name when file name
14923 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
14925 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
14927 (DEFVAR_INT_MAGIC): Ditto.
14928 (DEFVAR_BOOL_MAGIC): Ditto.
14929 * glyphs.h: Reindent backslash.
14931 2000-01-24 Martin Buchholz <martin@xemacs.org>
14933 * glyphs-widget.c (layout_query_geometry):
14934 (layout_layout): Use correct types for gheight, gwidth.
14936 2000-01-24 Martin Buchholz <martin@xemacs.org>
14938 * EmacsManager.c (QueryGeometry): Purified.
14940 2000-01-23 Martin Buchholz <martin@xemacs.org>
14942 * alloc.c (make_float): Make sure entire object is initialized, to
14943 avoid Purify warnings.
14944 (pdump_register_sub): Remove useless assignment.
14945 (pdump): Use xmalloc, not malloc.
14946 (pdump_load): Use xmalloc, not malloc.
14948 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14955 * sysdep.c: Removed redundant #include <windows.h>
14957 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14959 * frame.c (delete_frame_internal): Do not delete device when its
14960 implementation so declares.
14961 (delete_frame_internal): Set device selected frame to nil when
14962 last frame goes away.
14964 * device-msw.c (msprinter_device_system_metrics): Implemented.
14965 (mswindows_device_system_metrics): Added 'device-dpi property.
14967 * device.c: (Fdevice_printer_p): Added.
14968 Added 'offset-workspace device metric.
14970 * console.h (device_metrics): Declared DM_offset_workspace.
14972 2000-01-23 Martin Buchholz <martin@xemacs.org>
14974 * fileio.c (Ffile_truename): Remove pointless and confusing
14975 initialization of elen.
14977 * glyphs-widget.c: Compiler warning fixes.
14979 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
14981 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
14982 instead of a Lisp_Object as argument to make it consistent with
14983 the other LIVE_P macros.
14984 (CHECK_LIVE_PROCESS): New macro.
14986 * process.c: Declare Qprocess_live_p.
14987 (Fprocess_live_p): New function.
14988 (create_process): Use PROCESS_LIVE_P.
14989 (read_process_output): Ditto.
14990 (set_process_filter): Ditto.
14991 (Fdelete_process): Ditto.
14992 (kill_buffer_processes): Ditto
14993 (process_send_signal): Use CHECK_LIVE_PROCESS.
14994 (Fprocess_input_coding_system): Check whether process is still
14995 alive (fix PR#1061).
14996 (Fprocess_output_coding_system): Ditto.
14997 (Fprocess_coding_system): Ditto.
14998 (Fset_process_input_coding_system): Ditto.
14999 (Fset_process_output_coding_system): Ditto.
15001 2000-01-23 Andy Piper <andy@xemacs.org>
15003 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
15006 * glyphs.c (mark_image_instance): take into account changed
15007 image_instance format.
15008 (image_instance_equal): ditto.
15009 (image_instance_hash): ditto.
15011 * glyphs-widget.c (widget_instantiate): Incorporate layout
15012 instantiation here. Delay layout of the layout until later.
15013 (layout_instantiate): deleted.
15014 (layout_query_geometry): new function. get the geometry of a
15016 (layout_layout): layout a layout dynamically.
15017 (image_instantiator_widget): New function - splitting up
15018 image_instantiator_format_create_glyphs_widget for netwinder
15020 (image_instantiator_buttons):
15021 (image_instantiator_edit_fields):
15022 (image_instantiator_combo_box):
15023 (image_instantiator_scrollbar):
15024 (image_instantiator_progress_guage):
15025 (image_instantiator_tree_view):
15026 (image_instantiator_tab_control):
15027 (image_instantiator_labels):
15028 (image_instantiator_layout): ditto.
15029 (image_instantiator_format_create_glyphs_widget): Call preceding
15032 2000-01-22 Martin Buchholz <martin@xemacs.org>
15034 * process.c (Fset_process_coding_system):
15035 * device-x.c (Fx_keysym_hash_table):
15038 * lstream.c (Lstream_write): Return documented value, not 0.
15040 * fileio.c (directory_file_name):
15041 (Fsubstitute_in_file_name):
15042 (Fsubstitute_insert_file_contents_internal):
15043 (Fwrite_region_internal):
15048 Remove vestigial APOLLO-conditional code.
15050 2000-01-21 Martin Buchholz <martin@xemacs.org>
15052 * getpagesize.h: Add guard macros.
15053 * libsst.h: Add guard macros.
15054 * libst.h: Add guard macros.
15055 * line-number.h: Add guard macros.
15056 * ndir.h: Add guard macros.
15057 * sysfloat.h: Add guard macros.
15058 * sysfile.h: Add guard macros.
15059 * sysproc.h: Add guard macros.
15060 * syswait.h: Add guard macros.
15061 * xintrinsic.h: Add guard macros.
15062 * xintrinsicp.h: Add guard macros.
15063 * xmmanager.h: Add guard macros.
15064 * xmmanagerp.h: Add guard macros.
15065 * xmprimitive.h: Add guard macros.
15066 * xmu.h: Add guard macros.
15067 * gpmevent.h: Add copyright statement. Add guard macros.
15068 * miscplay.h: Add guard macros.
15069 * *.h: Use consistent C-standards-approved guard macro names.
15071 * opaque.c (make_opaque): Switch parameter order.
15072 * opaque.h (make_opaque): Switch parameter order.
15073 Update all callers.
15074 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15076 * config.h.in (type_checking_assert): Added.
15077 (bufpos_checking_assert): Added.
15079 2000-01-21 Martin Buchholz <martin@xemacs.org>
15081 * alloc.c: Harmless pdump changes.
15083 - spell alignment correctly.
15084 * sysdep.c: Use countof()
15086 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15088 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15089 initially_selected_for_input() console method, default to 0.
15090 (semi_canonicalize_console_connection): Try to delegate to
15091 canonicalize_console_connection if no such console method.
15092 (canonicalize_console_connection): Vice versa.
15093 (print_console): Do not print nil connection.
15095 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15096 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15097 (XDEVIMPF_FRAMELESS_OK): Added.
15098 (CONSOLE_INHERITS_METHOD): Added.
15100 * console-msw.c (mswindows_canonicalize_console_connection):
15102 (mswindows_canonicalize_device_connection): Added.
15104 * console-msw.h (struct msprinter_device): Added this struct and
15106 (mswindows_device): Made fontlist a lisp object.
15108 * device.c (semi_canonicalize_device_connection): Try to delegate
15109 to canonicalize_device_connection if no such console method.
15110 (canonicalize_device_connection): Vice versa.
15111 (print_device): Do not print nil connection.
15113 * device-msw.c (mswindows_init_device): Call InitCommonControls
15115 (mswindows_delete_device): Removed fontlist deallocation.
15116 (mswindows_mark_device): Added.
15118 * events.c (event_equal): Added abort() at unreached code.
15119 (event_hash): Ditto.
15121 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
15122 fallback tags of Windows devices.
15124 * general.c (syms_of_general): Initialized Qmsprinter.
15126 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
15127 of fallback tags of Windows devices.
15129 * lisp.h: Declared Qmsprinter.
15131 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
15133 (mswindows_list_fonts): Ditto.
15134 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
15135 that it can be used by both mswindows and msprinter devices.
15136 (initialize_font_instance): Added.
15137 (mswindows_initialize_font_instance): Use it.
15138 (msprinter_initialize_font_instance): Added.
15140 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
15141 and implementation flags check.
15142 (redisplay_without_hooks): Changed the call to the above.
15143 (Fredraw_device): Ditto.
15144 (Fredisplay_device): Ditto.
15146 * redisplay-msw.c (get_frame_dc): Implemented.
15147 (get_frame_compdc): Implemented.
15148 (many functions): Use the two functions above to get device
15149 contexts, ether for a window or a printer.
15151 2000-01-21 Olivier Galibert <galibert@pobox.com>
15153 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
15154 initialization here.
15155 (init_symbols_once_early): Call it.
15156 * emacs.c (main_1): Call it.
15157 * symsinit.h: Declare it.
15159 2000-01-19 Olivier Galibert <galibert@pobox.com>
15161 * alloc.c: Use a lrecord_header * in the backtrace instead of a
15163 (pdump_backtrace): Ditto.
15164 (pdump_register_object): Ditto. Cleanup use of the pointers.
15165 (pdump_get_entry): Abort if trying to register a null pointer.
15166 (pdump_dump_data): Cleanup types when relocating.
15167 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
15168 (pdump_dump_rtables): Remove bad casts.
15169 (pdump_load): Cleanup relocation w.r.t union type. Use a
15170 Lisp_Object instead of a EMACS_INT for the hashtable
15173 2000-01-20 Martin Buchholz <martin@xemacs.org>
15175 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
15177 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
15179 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
15181 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
15183 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15185 * faces.h (FACE_STRIKETHRU_P): Added.
15187 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
15190 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
15191 (mswindows_set_dc_font): New function, aware of font variants,
15192 separated from mswindows_update_dc.
15194 * objects-msw.h (struct mswindows_font_instance_data): Added
15197 * objects-msw.c (mswindows_finalize_font_instance): Delete all
15198 cached fonts and the data structure.
15199 (mswindows_initialize_font_instance): Added creation of font data
15201 (mswindows_print_font_instance): Print at least something.
15202 (mswindows_create_font_variant): Implemented.
15203 (mswindows_get_hfont): Implemented.
15205 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
15207 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
15208 prototyping problem with msvc.
15210 * emacs.c (main_1): added syms_of_gui_mswindows() call
15212 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
15213 syms_of_gui_mswindows() function
15215 * symsinit.h: added the prototype for syms_of_gui_mswindows()
15217 2000-01-18 Martin Buchholz <martin@xemacs.org>
15219 * XEmacs 21.2.27 is released.
15221 2000-01-18 Martin Buchholz <martin@xemacs.org>
15223 * glyphs-eimage.c (struct tiff_error_struct):
15225 (tiff_warning_func):
15226 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
15231 * unexec.c: Remove vestigial Lucid C code.
15235 * libsst.c: Ansify.
15236 Remove declarations of errno and strerror().
15238 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
15240 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
15242 2000-01-16 Martin Buchholz <martin@xemacs.org>
15244 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
15247 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15252 Change enum eol_type to eol_type_t.
15254 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15256 * gui.c (get_gui_callback): Check cons before accessing car.
15258 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15260 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
15261 (XSETSPECIFIER_TYPE): Ditto.
15263 2000-01-17 Didier Verna <didier@xemacs.org>
15265 * redisplay.c (generate_fstring_runes): compute string size in
15266 characters, not bytes.
15268 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15270 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
15272 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
15274 * print.c (print_error_message): Call print_prepare().
15276 2000-01-14 Martin Buchholz <martin@xemacs.org>
15278 * .dbxrc: Renamed from dbxrc.
15280 * events.c (event_to_character):
15281 Use `assert (foo)' instead of `if (!foo) abort()'
15283 * .gdbinit (xtype): Add documentation.
15284 * .gdbinit (check-temacs): New function.
15285 * .gdbinit (check-xemacs): New function.
15286 * dbxrc (check-xemacs): New function.
15287 * dbxrc (check-xemacs): New function.
15289 2000-01-14 Andy Piper <andy@xemacs.org>
15291 * glyphs-widget.c (widget_query_geometry): Make sure that we
15292 calculate default dimensions correctly.
15294 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15296 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
15298 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
15299 pdump_wire'd variable.
15301 * emacs.c: (main_1): Conditionalized calls to
15302 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
15304 2000-01-13 Martin Buchholz <martin@xemacs.org>
15306 * window.c (Fset_window_configuration):
15307 * sysdep.c (_start):
15308 * input-method-motif.c (res):
15309 * event-Xt.c (Xt_process_to_emacs_event):
15310 Simple compiler warning fixes.
15312 * bytecode.c (funcall_compiled_function): Use the original
15313 function symbol on the backtrace list in preference to the
15314 compiled_function object in error messages.
15316 2000-01-13 Andy Piper <andy@xemacs.org>
15318 * glyphs-x.c (update_widget_face): Make sure we update the widget
15319 background as well as foreground.
15321 2000-01-13 Andy Piper <andy@xemacs.org>
15323 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
15324 fields to subwindow.
15325 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
15326 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
15327 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15328 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15330 * glyphs-widget.c (check_valid_tab_orientation): new function.
15331 (initialize_widget_image_instance): zero orientation and
15333 (widget_instantiate): pick up orientation.
15334 (tab_control_query_geometry): return appropriate values for
15337 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
15338 appropriate creation flags for left, right and bottom tabs.
15340 * s/cygwin32.h: add tab definitions.
15342 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15344 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
15345 frame upon hiding a subwindow.
15346 (mswindows_button_instantiate): Changed the push button style to
15348 (mswindows_button_instantiate): Removed button BS_NOTIFY
15350 (mswindows_button_instantiate): Removed redundant check for
15351 a disabled gui item.
15352 (mswindows_button_instantiate): Made use of WS_TABSTOP
15353 consistent: "operable" controls (edit, button, tree, scroll) have
15354 this style, "display-only" ones (static, progress gauge) do
15355 not. This style is currently ignored by XEmacs though. Also,
15356 removed the WS_EX_CONTROLPARENT style - it is not for children,
15357 it is for their parents!
15358 (mswindows_edit_field_instantiate): Ditto.
15359 (mswindows_progress_gauge_instantiate): Ditto.
15360 (mswindows_tree_view_instantiate): Ditto.
15361 (mswindows_tab_control_instantiate): Ditto.
15362 (mswindows_scrollbar_instantiate): Ditto.
15363 (mswindows_combo_box_instantiate): Ditto.
15364 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
15365 style to the "clip" window.
15366 (mswindows_button_instantiate): Removed compilation warning by
15367 equally typing terms of the ?: operator.
15369 2000-01-12 Didier Verna <didier@xemacs.org>
15371 * redisplay.c (generate_fstring_runes): new parameter holding the
15372 last modeline-format extent.
15373 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
15374 extent, fill the glyph block with it.
15375 (generate_fstring_runes): handle these parameters.
15376 (generate_formatted_string_db): ditto.
15378 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
15379 glyphs'extents in the modeline.
15381 1999-01-11 Mike Woolley <mike@bulsara.com>
15383 * ntheap.c: Reduced the reserved heap space from 1Gb down to
15384 256Mb, as a workaround for the non-starting problem many people
15387 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15389 * console-tty.c (Fset_console_tty_output_coding_system):
15390 Force redrawing tty frame.
15392 2000-01-10 Didier Verna <didier@xemacs.org>
15394 * redisplay.c (generate_fstring_runes): fix size computation bug.
15396 2000-01-09 William M. Perry <wmperry@aventail.com>
15398 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
15400 2000-01-09 Andy Piper <andy@xemacs.org>
15402 * glyphs-msw.c: index -> i to avoid shadows.
15403 (xbm_create_bitmap_from_data): make static.
15404 (check_valid_string_or_int): deleted.
15405 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
15407 * glyphs-x.c (x_update_subwindow): remove unused args.
15409 * glyphs.c (glyph_image_instance): return the thing. Don't set the
15410 back pointer - this is done in allocate_image_instance.
15411 (query_string_font): return Qnil to make the compiler happy.
15412 (unmap_subwindow): set to ~0 to make the compiler happy.
15413 (glyph_query_geometry): comment out until used.
15414 (glyph_layout): ditto.
15416 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15418 * insdel.c (signal_after_change): Remove extraneous unbind_to().