1 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
4 (save_uint16_byte_table): Likewise.
5 (save_byte_table): Likewise; convert values by it.
6 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
7 for `ideographic-structure'.
8 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
9 as the filter for `ideographic-structure'.
11 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
13 * chartab.c (put_char_composition): New function.
14 (Fput_char_attribute): Use `put_char_composition'; use
15 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
17 * fns.c (simplify_char_spec): New function.
18 (char_ref_simplify_spec): New function.
19 (Fchar_refs_simplify_char_specs): New function.
20 (syms_of_fns): Add new builtin function
21 `char-refs-simplify-char-specs'.
23 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
25 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
26 (Qideograph_cbeta): Deleted.
27 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
28 (complex_vars_of_mule_charset): Likewise.
30 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
31 (MIN_CHAR_CBETA): Comment out.
32 (MAX_CHAR_CBETA): Likewise.
34 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
36 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
37 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
40 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
42 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
44 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
46 * mule-charset.c (charset_lookup_description_1): Use
47 `NUM_LEADING_BYTES' in UTF-2000.
49 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
51 * char-ucs.h (GC_CHARSETP): Deleted.
53 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
55 * char-ucs.h (MAX_CHAR_GT): Updated.
57 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
59 * text-coding.c: Sync with XEmacs 21.4.10.
61 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
63 * mule-charset.c (Vcharset_china3_jef): Deleted.
64 (Qchina3_jef): Deleted.
65 (syms_of_mule_charset): Don't define `china3-jef'.
66 (complex_vars_of_mule_charset): Likewise.
68 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
69 (MIN_CHAR_CHINA3_JEF): Comment out.
70 (MAX_CHAR_CHINA3_JEF): Comment out.
72 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
74 * mule-charset.c (Vcharset_ucs_gb): New variable.
75 (Qucs_gb): New variable.
76 (syms_of_mule_charset): Add new symbol `ucs-gb'.
77 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
79 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
81 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
83 * mule-charset.c (charset_code_point): if a coded-charset has a
84 final-byte, don't inherit the builtin range of the mother CCS.
86 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
88 * mule-charset.c (charset_code_point): Fix problem about
91 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
93 * mule-charset.c (decode_builtin_char): Reorganized.
95 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
97 * text-coding.c (char_encode_as_entity_reference): Modify for
99 (char_encode_shift_jis): Likewise.
100 (char_encode_big5): Likewise.
101 (char_encode_utf8): Likewise.
102 (char_encode_iso2022): Likewise.
104 * mule-charset.c (charset_code_point): Add new argument
106 (Fencode_char): Add new optional argument `defined_only'.
108 * chartab.c (put_char_table): Modify for `charset_code_point'.
110 * char-ucs.h (charset_code_point): Add new argument
112 (encode_char_1): Modify for `charset_code_point'.
114 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
116 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
117 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
119 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
121 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
122 (Qjis_x0208): Likewise.
123 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
124 XCHARSET_FINAL(charset).
125 (charset_code_point): Modify condition for final-byte based
127 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
128 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
129 in UTF-2000; specify `=jis-x0208' as the mother of
130 `japanese-jisx0208-1978', `japanese-jisx0208' and
131 `japanese-jisx0208-1990' in UTF-2000.
133 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
135 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
137 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
139 * text-coding.c (decode_coding_utf16): Support UTF-16.
140 (char_encode_utf16): Fixed.
142 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
144 * text-coding.c (Qutf16): New variable in MULE.
145 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
146 (Fcoding_system_type): Add `utf-16' in MULE.
147 (struct detection_state): Add a structure for utf16 in MULE.
148 (detect_coding_type): Setup st->utf16.mask in MULE.
149 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
151 (reset_encoding_stream): Use `char_encode_utf16' and
152 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
153 (detect_coding_utf16): New function [incomplete].
154 (decode_coding_utf16): New function [support only UCS-2].
155 (char_encode_utf16): New function.
156 (char_finish_utf16): New function.
157 (syms_of_file_coding): Add new symbol `utf-16'; setup
158 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
160 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
162 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
163 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
165 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
167 * chartab.c (put_char_table): When a charset is specified as a
168 range in UTF-2000, don't support builtin characters.
170 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
172 * mule-charset.c (decode_defined_char): Don't refer external
173 database if Qunbound or Qnil are found.
174 (Fsave_charset_mapping_table): Don't define it if
175 HAVE_CHISE_CLIENT is not defined.
176 (Freset_charset_mapping_table): New function.
177 (load_char_decoding_entry_maybe): Store Qnil if a character is not
178 found in external database.
179 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
180 if HAVE_CHISE_CLIENT is not defined; add new builtin function
181 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
183 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
185 * text-coding.c (decode_coding_utf8): Check CCS is specified or
188 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
190 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
191 Q_lowercase, Q_uppercase in UTF-2000.
193 * chartab.c (get_char_table): Add special code for the standard
194 case table to use character attribute `->downcase' and
195 `->uppercase' for case operations in UTF-2000.
197 * casetab.c (Qflippedcase): New variable in UTF-2000.
198 (Q_lowercase): Likewise.
199 (Q_uppercase): Likewise.
200 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
201 and `->uppercase' in UTF-2000.
202 (complex_vars_of_casetab): Assign attribute name `downcase' to
203 downcase and CANON table of Vstandard_case_table in UTF-2000;
204 assign attribute name `flippedcase' to upcase and EQV table of
205 Vstandard_case_table in UTF-2000.
207 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
209 * text-coding.c (decode_add_er_char): Support isolated-chars.
210 (char_encode_as_entity_reference): Likewise.
212 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
214 * emacs.c (Vutf_2000_lisp_directory): New variable.
215 (Vconfigure_utf_2000_lisp_directory): Likewise.
216 (complex_vars_of_emacs): Add new variable
217 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
219 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
221 * char-ucs.h (DECODE_CHAR): Delete special code for
222 `chinese-big5-1' and `chinese-big5-2'.
224 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
226 (decode_defined_char): Support CONVERSION_BIG5_1 and
228 (decode_builtin_char): Likewise.
229 (charset_code_point): Likewise.
230 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
231 'conversion in UTF-2000.
232 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
233 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
234 `chinese-big5-2' as children of `chinese-big5'.
236 * char-ucs.h (CONVERSION_BIG5_1): New macro.
237 (CONVERSION_BIG5_2): New macro.
239 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
241 * text-coding.c (char_encode_big5): Support entity-reference.
243 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
245 * text-coding.c (char_encode_as_entity_reference): New function.
246 (char_encode_utf8): Use `char_encode_as_entity_reference'.
248 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
250 * text-coding.c (decode_coding_big5): Support entity-reference
253 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
255 * text-coding.c (allocate_coding_system): Initialize initial
256 charsets for CODESYS_UTF8.
257 (Fmake_coding_system): Accept charset-g0, charset-g1 and
258 charset-g2 for CODESYS_UTF8.
259 (decode_coding_utf8): Use charset-g0.
260 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
261 to force variants to map to UCS.
263 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
265 * text-coding.c (Qutf_8_mcs): New variable.
266 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
267 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
268 instead of `utf-8' in UTF-2000.
270 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
272 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
273 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
274 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
275 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
276 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
277 CONVERSION_96x96x96x96 are introduced.
278 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
279 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
280 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
282 * char-ucs.h (CONVERSION_94): New macro.
283 (CONVERSION_96): New macro.
284 (CONVERSION_94x94): New macro.
285 (CONVERSION_96x96): New macro.
286 (CONVERSION_94x94x94): New macro.
287 (CONVERSION_96x96x96): New macro.
288 (CONVERSION_94x94x94x60): New macro.
289 (CONVERSION_94x94x94x94): New macro.
290 (CONVERSION_96x96x96x96): New macro.
292 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
294 * chartab.c (Vcharacter_variant_table): Deleted.
295 (Fchar_variants): Use character-attribute `->ucs-variants' instead
296 of `Vcharacter_variant_table'.
297 (Fput_char_attribute): Likewise.
298 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
299 (complex_vars_of_chartab): Likewise.
301 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
303 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
305 * fns.c (Qideographic_structure): New variable.
306 (Qkeyword_char): New variable.
307 (ids_format_unit): New function.
308 (Fideographic_structure_to_ids): New function.
309 (syms_of_fns): Add new symbols `ideographic-structure' and
310 `:char'; add new builtin function `ideographic-structure-to-ids'.
312 * data.c (Fchar_ref_p): New function.
313 (syms_of_data): Add new builtin function `char-ref-p'.
315 * chartab.h: Add an EXFUN for `Ffind_char'.
317 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
319 * text-coding.c (Vcharacter_composition_table): Deleted.
320 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
323 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
325 (Vcharacter_composition_table): Deleted.
326 (Fget_composite_char): Use the implementation for external-DB
327 support in every UTF-2000.
328 (Fput_char_attribute): Likewise.
329 (char_attribute_system_db_file): Don't define if external-DB
330 feature is not available.
331 (Fsave_char_attribute_table): Likewise.
332 (Fmount_char_attribute_table): Likewise.
333 (Fclose_char_attribute_table): Likewise.
334 (Freset_char_attribute_table): Likewise.
335 (Fload_char_attribute_table): Likewise.
336 (syms_of_chartab): Don't define `save-char-attribute-table',
337 `mount-char-attribute-table', `reset-char-attribute-table',
338 `close-char-attribute-table' and `load-char-attribute-table' if
339 external-DB feature is not available.
340 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
342 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
344 * text-coding.c (Qcomposition): Add extern if external-DB feature
346 (Vcharacter_composition_table): Don't add extern if external-DB
347 feature is supported.
348 (COMPOSE_ADD_CHAR): Modify for new data-representation of
349 character composition rule if external-DB feature is supported.
351 * chartab.c (Vcharacter_composition_table): Don't define if
352 external-DB feature is supported.
353 (Qcomposition): New variable.
354 (Fget_composite_char): New implementation for external-DB support.
355 (Fput_char_attribute): Use `composition' property of each
356 character instead of `Vcharacter_composition_table' to store
357 character-composition rules if external-DB feature is supported.
358 (syms_of_chartab): Add new symbol `composition'.
359 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
360 external-DB feature is supported.
362 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
364 * chartab.c (Vchar_db_stingy_mode): New variable.
365 (load_char_attribute_maybe): Close database if
366 Vchar_db_stingy_mode is not NIL.
367 (Fload_char_attribute_table_map_function): Use
368 `get_char_id_table_0' instead of `get_char_id_table'.
369 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
371 * chartab.h (get_char_id_table_0): New inline function.
372 (get_char_id_table): Use `get_char_id_table_0'.
374 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
376 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
377 and `COMPOSE_ADD_CHAR'.
378 (decode_coding_iso2022): Use `decode_flush_er_chars'.
380 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
382 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
383 instead of `DECODE_ADD_UCS_CHAR'.
384 (COMPOSE_ADD_CHAR): Likewise.
386 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
388 * text-coding.c (decode_flush_er_chars): New inline function.
389 (decode_add_er_char): New function.
390 (decode_coding_utf8): Use `decode_flush_er_chars' and
391 `decode_add_er_char'.
393 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
395 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
396 done before `decode_output_utf8_partial_char'.
398 * mule-charset.c (complex_vars_of_mule_charset): Specify
399 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
400 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
402 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
404 * mule-charset.c (decode_defined_char): New function; search
406 (decode_builtin_char): Don't search mother if
407 XCHARSET_MAX_CODE(charset) == 0.
408 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
409 == 0 even if code >= XCHARSET_MAX_CODE(charset).
410 (Fdecode_char): Use `decode_defined_char' instead of
411 `DECODE_DEFINED_CHAR'.
412 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
413 mother of `Vcharset_ucs_jis'.
415 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
416 instead of `DECODE_DEFINED_CHAR'.
418 * char-ucs.h (decode_defined_char): Renamed from
419 `DECODE_DEFINED_CHAR'; changed to normal function.
420 (DECODE_CHAR): Use `decode_defined_char' instead of
421 `DECODE_DEFINED_CHAR'.
423 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
425 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
427 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
429 * text-coding.c (Vcoded_charset_entity_reference_alist): New
431 (Quse_entity_reference): New variable.
435 (coding_system_description): Add description for
437 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
438 (allocate_coding_system): Initialize `ccs_priority_list' in
440 (Fmake_coding_system): Add description about
441 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
443 (Fcoding_system_property): Accept `disable-composition' and
444 `use-entity-reference' in UTF-2000.
445 (struct decoding_stream): Add new member `er_counter' and `er_buf'
447 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
448 (decode_coding_utf8): Decode entity-reference if
449 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
450 (char_encode_utf8): Encode non-Unicode characters as
451 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
453 (syms_of_file_coding): Add new symbols `use-entity-reference',
455 (vars_of_file_coding): Add new variable
456 `coded-charset-entity-reference-alist'.
457 (complex_vars_of_file_coding): Declare `disable-composition' and
458 `use-entity-reference' to be coding-system-properties in UTF-2000.
460 * file-coding.h (struct Lisp_Coding_System): Add new member
461 `use_entity_reference' and `ccs_priority_list'.
462 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
463 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
464 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
466 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
468 * chartab.c (save_uint8_byte_table): Don't clear the table.
469 (save_uint16_byte_table): Likewise.
470 (save_byte_table): Likewise.
471 (Fmount_char_attribute_table): New function.
472 (syms_of_chartab): Add new builtin function
473 `mount-char-attribute-table'.
475 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
477 * mule-charset.c (Fsave_charset_mapping_table): Open database as
479 (load_char_decoding_entry_maybe): Open database as read-only mode.
481 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
482 open database as "w+" mode.
483 (load_char_attribute_maybe): Open database as read-only mode.
484 (Fload_char_attribute_table): Likewise.
486 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
488 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
489 (char_table_description): Delete member `db_file'.
490 (Fmake_char_table): Don't refer `ct->db_file'.
491 (Fcopy_char_table): Likewise.
492 (Fsave_char_attribute_table): Likewise.
493 (Fclose_char_attribute_table): Likewise.
494 (Freset_char_attribute_table): Likewise.
495 (load_char_attribute_maybe): Likewise.
496 (Fload_char_attribute_table): Likewise.
498 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
500 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
502 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
503 (Fsave_char_attribute_table): Don't check `ct->db_file' if
505 (load_char_attribute_maybe): Likewise.
506 (Fload_char_attribute_table): Likewise.
508 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
510 * chartab.c (Fclose_char_attribute_table): Set Qnil on
511 `ct->db_file' unconditionally.
513 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
515 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
517 (char_table_description): Add description for `db_file' and `db'
519 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
521 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
522 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
523 (Fclose_char_attribute_table): New function.
524 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
525 (load_char_attribute_maybe): Change interface; use `cit->db_file'
527 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
528 (syms_of_chartab): Add new builtin function
529 `Fclose_char_attribute_table'.
531 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
533 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
535 (load_char_attribute_maybe): Change interface.
536 (get_char_id_table): Modify for `load_char_attribute_maybe'.
538 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
540 * database.h: Add an EXFUN for `Fdatabase_live_p'.
542 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
544 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
545 instead of `DECODE_CHAR' for mother; don't use special code for
546 chinese-big5 to use code space of chinese-big5-1 and
548 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
549 `MAX_CHAR_BIG5_CDP' for chinese-big5.
551 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
552 (MAX_CHAR_BIG5_CDP): Revival.
554 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
556 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
557 the XLFD registry-encoding name of `chinese-big5'.
559 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
561 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
562 (Qchinese_big5_cdp): Deleted.
563 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
564 (complex_vars_of_mule_charset): Delete coded-charset
567 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
568 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
569 `CHARSET_ID_OFFSET - n' for private CCS.
570 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
571 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
572 of `MIN_LEADING_BYTE'.
573 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
574 `(CHARSET_ID_OFFSET - 97)'.
575 (MIN_CHAR_BIG5_CDP): Deleted.
576 (MAX_CHAR_BIG5_CDP): Deleted.
578 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
580 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
582 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
584 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
585 (vars_of_mule): Add new variable `utf-2000-version' [moved from
588 * chartab.c (Vutf_2000_version): Moved to mule.c.
589 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
591 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
593 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
594 when HAVE_CHISE_CLIENT is not defined.
596 * mule.c (vars_of_mule): Provide feature `chise' when
597 HAVE_CHISE_CLIENT is defined.
599 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
601 * config.h.in (UTF2000): Add comment.
602 (HAVE_CHISE_CLIENT): New macro.
604 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
606 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
608 (Fput_char_attribute): Likewise.
609 (char_attribute_system_db_file): Encode file-name of attribute.
610 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
613 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
615 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
616 (Fsave_charset_mapping_table): Use
617 `char_attribute_system_db_file'.
618 (load_char_decoding_entry_maybe): Likewise.
620 * chartab.h (Qsystem_char_id): New external variable.
621 (char_attribute_system_db_file): New prototype.
623 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
624 (char_attribute_system_db_file): New function.
625 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
626 (Freset_char_attribute_table): Likewise.
627 (load_char_attribute_maybe): Likewise.
628 (Fload_char_attribute_table): Likewise.
629 (syms_of_chartab): Add new symbol `system-char-id'.
631 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
633 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
634 `XCHARSET_GRAPHIC(ccs)'.
636 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
638 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
640 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
642 * chartab.c (Q_ucs_variants): New variable.
643 (syms_of_chartab): Add new symbol `->ucs-variants'.
644 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
645 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
646 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
648 * mule-charset.c (load_char_decoding_entry_maybe): New function.
650 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
651 `HAVE_DATABASE' is defined.
652 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
653 `HAVE_DATABASE' is defined.
655 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
657 * chartab.c (Fsave_char_attribute_table): Don't clear internal
659 (Freset_char_attribute_table): New function.
660 (syms_of_chartab): Add new builtin function
661 `reset-char-attribute-table'.
663 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
665 * chartab.c (load_char_attribute_maybe): Don't make directories.
667 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
669 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
671 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
674 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
676 * mule-charset.c (Fsave_charset_mapping_table): Use
677 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
679 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
680 instead of `XCHARSET_CHARS'.
682 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
684 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
685 (XCHARSET_BYTE_SIZE): Likewise.
687 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
689 (XCHARSET_BYTE_SIZE): Likewise.
691 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
693 * chartab.c (Fput_char_attribute): Use exec-directory instead of
694 data-directory to store database.
695 (Fsave_char_attribute_table): Likewise.
696 (load_char_attribute_maybe): Likewise.
697 (Fload_char_attribute_table): Likewise.
699 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
701 * mule-charset.c (Fsave_charset_mapping_table): New function.
702 (syms_of_mule_charset): Add new builtin function
703 `save-charset-mapping-table'.
705 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
707 * char-ucs.h (decoding_table_check_elements): Delete prototype.
708 (get_ccs_octet_table): New inline function.
709 (put_ccs_octet_table): Likewise.
710 (decoding_table_put_char): Use `get_ccs_octet_table' and
711 `put_ccs_octet_table'.
712 (decoding_table_remove_char): Use `decoding_table_put_char'.
713 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
715 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
717 (make_charset): Use Qunbound instead Qnil as initial value of
720 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
722 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
723 element is Qunloaded.
724 (map_over_uint16_byte_table): Likewise.
725 (map_over_byte_table): Likewise.
726 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
727 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
728 database support, load encoding-table of the specified
729 coded-charset if it is not loaded yet.
730 (save_uint8_byte_table): New function of UTF-2000 with external
732 (save_uint16_byte_table): Likewise.
733 (save_byte_table): Likewise.
734 (Fput_char_attribute): Don't store value into external database
735 even if the external database feature is supported in UTF-2000;
736 set `attribute' as name of char-table if the external database
737 feature is supported.
738 (Fsave_char_attribute_table): New function in UTF-2000.
739 (syms_of_chartab): Add new builtin function
740 `save-char-attribute-table' in UTF-2000.
742 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
744 * chartab.c (char_attribute_table_to_put): New variable in
746 (Qput_char_table_map_function): Likewise.
747 (value_to_put): Likewise.
748 (Fput_char_table_map_function): New function in UTF-2000.
749 (put_char_table): Use `Fmap_char_attribute' for
750 CHARTAB_RANGE_CHARSET in UTF-2000.
751 (Fput_char_attribute): Store symbol instead of string in
752 `XCHAR_TABLE_NAME (table)'.
753 (load_char_attribute_maybe): Likewise.
754 (syms_of_chartab): Add new symbol/function
755 `put-char-table-map-function'.
757 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
759 * database.h: Add new EXFUN for `Fmap_database'.
761 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
762 (syms_of_database): Likewise.
764 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
766 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
767 (XCHAR_TABLE_UNLOADED): Likewise.
769 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
770 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
771 HAVE_DATABASE is defined.
772 (char_attribute_table_to_load): New variable of UTF-2000 with
773 external database support.
774 (Qload_char_attribute_table_map_function): Likewise.
775 (Fload_char_attribute_table_map_function): New function of
776 UTF-2000 with external database support.
777 (Fload_char_attribute_table): New function of UTF-2000.
778 (Fmap_char_attribute): Call Fload_char_attribute_table if
779 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
780 (syms_of_chartab): Add new symbol and function
781 `load-char-attribute-table-map-function' in UTF-2000 with external
782 database support; add new function `load-char-attribute-table' in
785 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
787 * chartab.h (load_char_attribute_maybe): New prototype for
788 UTF-2000 with DATABASE support.
789 (get_char_id_table): Use `load_char_attribute_maybe' if
790 HAVE_DATABASE is defined.
792 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
793 with DATABASE support.
795 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
797 * chartab.c (Fput_char_attribute): Use S-expression as key of
800 * chartab.h (get_char_id_table): Use S-expression as key of
803 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
805 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
806 if an element is not loaded, load the corresponding attributes
807 from an external database.
808 (map_over_uint16_byte_table): Likewise.
809 (map_over_byte_table): Likewise.
810 (map_char_table): Modify for `map_over_uint8_byte_table',
811 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
812 element is not loaded, load the corresponding attributes from an
814 (Fput_char_attribute): Change initial values to Qunloaded.
816 * chartab.h (get_char_id_table): If a character attribute is not
817 loaded and the attribute value is not found in an external
818 database, store Qunbound as the attribute value.
820 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
822 * chartab.c (BT_UINT8_unloaded): New macro.
823 (UINT8_VALUE_P): Accept Qunloaded.
824 (UINT8_ENCODE): Likewise.
825 (UINT8_DECODE): Likewise.
826 (BT_UINT16_unloaded): New macro.
827 (UINT16_VALUE_P): Accept Qunloaded.
828 (UINT16_ENCODE): Likewise.
829 (UINT16_DECODE): Likewise.
830 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
832 (mark_char_table): Mark `ct->name' in UTF-2000.
833 (char_table_description): Add `name' in UTF-2000.
834 (Fmake_char_table): Initialize `ct->name'.
835 (Fcopy_char_table): Copy `ct->name'.
836 (Fput_char_attribute): Store value into an external database if
837 HAVE_DATABASE is defined.
839 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
841 (CHAR_TABLE_NAME): New macro in UTF-2000.
842 (XCHAR_TABLE_NAME): New macro in UTF-2000.
843 (get_char_id_table): Try to read an external database if Qunloaded
844 is stored in a table.
846 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
849 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
851 * database.h: Add EXFUN definitions for Fopen_database,
852 Fput_database, Fget_database and Fclose_database.
854 * data.c (Qunloaded): New variable in UTF-2000.
856 * lisp.h (Qunloaded): New variable in UTF-2000.
858 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
860 * mule-charset.c (put_char_ccs_code_point): Modify for
861 `decoding_table_remove_char' and `decoding_table_put_char'.
862 (remove_char_ccs): Modify for `decoding_table_remove_char'.
864 * char-ucs.h (decoding_table_remove_char): Change arguments to
865 hide decoding_table vector.
866 (decoding_table_put_char): Likewise.
868 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
870 * mule-charset.c (decoding_table_remove_char): Moved to
872 (decoding_table_put_char): Likewise.
874 * char-ucs.h (decoding_table_check_elements): New prototype [moved
875 from mule-charset.c].
876 (decoding_table_remove_char): New inline function [moved from
878 (decoding_table_put_char): Likewise.
880 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
882 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
885 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
887 * mule-charset.c (decode_builtin_char): Support mother charsets.
889 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
891 * mule-charset.c (Q94x94x60): New variable.
892 (charset_code_point): Support conversion `94x94x60'.
893 (Fmake_charset): Likewise.
894 (syms_of_mule_charset): Add new symbol `94x94x60'.
896 * char-ucs.h (CONVERSION_94x94x60): New macro.
898 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
900 * mule-charset.c (charset_code_point): Unify code about
903 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
905 * mule-charset.c (charset_code_point): Merge code about builtin
906 characters into code about mother charsets; don't use
907 `range_charset_code_point'.
908 (range_charset_code_point): Deleted.
910 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
912 * mule-charset.c (Qcode_offset): New variable.
913 (Fmake_charset): Use `XUINT' to get value of `min-code' and
914 `max-code'; accept new property `code-offset'.
915 (syms_of_mule_charset): Add new symbol `code-offset'.
917 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
919 * mule-charset.c (range_charset_code_point): Fixed.
921 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
923 * mule-charset.c (decode_builtin_char): Change semantics of
924 code-offset of coded-charset.
925 (charset_code_point): Likewise.
926 (range_charset_code_point): Likewise.
927 (complex_vars_of_mule_charset): Modify for the change.
929 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
931 * mule-charset.c (Fencode_char): Reverse arguments.
933 * mule-charset.c (charset_code_point): Fixed.
935 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
937 * mule-charset.c (Vcharset_mojikyo): Deleted.
938 (Vcharset_mojikyo_2022_1): Deleted.
939 (Vcharset_mojikyo_pj_{1..21}): Deleted.
940 (Qmin_code): New variable in UTF-2000.
941 (Qmax_code): Likewise.
943 (Qconversion): Likewise.
946 (Qmojikyo_2022_1): Deleted.
947 (Qmojikyo_pj_{1..22}): Deleted.
948 (mark_charset): Mark `cs->mother'.
949 (charset_description): Add description for `mother'.
950 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
951 new arguments `mother' and `conversion'; use
952 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
953 (charset_code_point): Moved from char-ucs.h; support `mother'
955 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
956 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
957 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
958 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
959 allow 2 as the value of `graphic' in UTF-2000; add new properties
960 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
961 require `final' in UTF-2000; modify for `make_charset'.
962 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
963 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
964 (Fcharset_property): Support `mother', `min-code' and `max-code'.
965 (Fencode_char): New function.
966 (syms_of_mule_charset): Add new builtin function `encode-char' in
967 UTF-2000; add new symbols `min-code', `max-code', `mother',
968 `conversion' and `94x60'; delete symbols `mojikyo',
969 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
970 (complex_vars_of_mule_charset): Modify for `make_charset' change;
971 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
972 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
974 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
975 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
977 * char-ucs.h (Vcharset_mojikyo): Deleted.
978 (Vcharset_mojikyo_2022_1): Deleted.
979 (LEADING_BYTE_MOJIKYO): Deleted.
980 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
981 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
982 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
983 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
984 add new member `mother'; add new member `conversion'.
985 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
986 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
987 (CHARSET_MOTHER): New macro.
988 (CHARSET_CONVERSION): New macro.
989 (CONVERSION_IDENTICAL): New macro.
990 (CONVERSION_94x60): New macro.
991 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
992 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
993 (XCHARSET_MOTHER): New macro.
994 (XCHARSET_CONVERSION): New macro.
995 (MIN_CHAR_MOJIKYO): Deleted.
996 (MAX_CHAR_MOJIKYO): Deleted.
997 (DECODE_MOJIKYO_2022): Deleted.
998 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
999 (charset_code_point): Changed to non-inline function.
1000 (encode_char_1): Use `charset_code_point'.
1001 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1003 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1005 * lread.c (read_compiled_function): Fix prototype.
1006 (read_vector): Likewise.
1008 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1010 * lrecord.h (struct lrecord_header): Delete `older'.
1011 (set_lheader_implementation): Delete code for `older'.
1012 (set_lheader_older_implementation): Deleted.
1013 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1014 (OLDER_RECORD_P): Deleted.
1015 (OLDER_RECORD_HEADER_P): Deleted.
1016 (alloc_older_lcrecord): Deleted.
1017 (alloc_older_lcrecord_type): Deleted.
1019 * alloc.c (all_older_lcrecords): Deleted.
1020 (alloc_older_lcrecord): Deleted.
1021 (disksave_object_finalization_1): Delete code for older objects.
1022 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1023 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1025 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1027 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1028 instead of `make_older_vector'.
1029 (put_char_ccs_code_point): Likewise.
1030 (mark_charset): Mark `cs->decoding_table'.
1031 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1033 * lisp.h (make_older_vector): Deleted.
1034 (make_vector_newer): Deleted.
1036 * config.h.in (HAVE_GGC): Deleted.
1038 * alloc.c (make_older_vector): Deleted.
1039 (make_vector_newer_1): Deleted.
1040 (make_vector_newer): Deleted.
1042 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1044 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1045 (Qideograph_daikanwa_2): New variable.
1046 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1047 (complex_vars_of_mule_charset): Add new coded-charset
1048 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1049 `LEADING_BYTE_DAIKANWA'.
1051 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1052 (LEADING_BYTE_DAIKANWA_1): New macro.
1053 (LEADING_BYTE_DAIKANWA_2): New macro.
1054 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1056 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1058 * mule-charset.c (complex_vars_of_mule_charset): Change
1059 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1060 the second revised version.
1062 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1064 * mule-charset.c (Vcharset_ucs_smp): New variable.
1065 (Vcharset_ucs_sip): New variable.
1066 (Qucs_smp): New variable.
1067 (Qucs_sip): New variable.
1068 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1069 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1070 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1071 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1072 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1073 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1075 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1076 (LEADING_BYTE_UCS_SIP): New macro.
1077 (MIN_CHAR_SMP): New macro.
1078 (MAX_CHAR_SMP): New macro.
1079 (MIN_CHAR_SIP): New macro.
1080 (MAX_CHAR_SIP): New macro.
1082 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1084 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1087 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1089 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1090 value; don't store value into `encoding_table' of `Lisp_Charset'.
1091 (mark_charset): `encoding_table' was deleted.
1092 (charset_description): Likewise.
1093 (make_charset): Likewise.
1094 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1095 `put_char_ccs_code_point'.
1097 * chartab.h (Fput_char_attribute): New EXFUN.
1099 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1100 is unified with normal symbol space.
1101 (Fget_char_attribute): Likewise.
1102 (Fput_char_attribute): Likewise; behavior of
1103 `put_char_ccs_code_point' is changed.
1105 * char-ucs.h: Include "elhash.h".
1106 (Vchar_attribute_hash_table): New external variable.
1107 (struct Lisp_Charset): Delete `encoding_table'.
1108 (CHARSET_ENCODING_TABLE): New implementation; refer
1109 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1112 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1114 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1117 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1119 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1122 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1124 * chartab.c (uint8_byte_table_description): New constant.
1125 (uint8-byte-table): Use `uint8_byte_table_description'.
1126 (uint16_byte_table_description): New constant.
1127 (uint16-byte-table): Use `uint16_byte_table_description'.
1129 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1131 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1132 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1134 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1136 * mule-charset.c (Vcharset_ucs_ks): New variable.
1137 (Qucs_ks): New variable.
1138 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1139 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1141 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1143 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1145 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1146 (Fdecode_char): Likewise.
1148 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1150 (Fdefine_char): Modify for Fdecode_char.
1151 (Ffind_char): Likewise.
1153 * mule-charset.c (Fdecode_char): Add new optional argument
1155 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1157 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1159 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1160 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1161 (allocate_coding_system): Initialize initial-charsets of
1162 CODESYS_BIG5 in XEmacs UTF-2000.
1163 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1164 CODESYS_BIG5 in XEmacs UTF-2000.
1165 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1166 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1168 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
1170 (Qideograph_hanziku_{1 .. 12}): Likewise.
1171 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
1173 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
1174 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
1175 `ideograph-hanziku-{1 .. 12}'.
1177 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
1178 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
1179 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
1180 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
1181 (DECODE_DEFINED_CHAR): New inline function.
1182 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
1184 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1186 * mule-charset.c (Vcharset_china3_jef): Renamed from
1187 `Vcharset_japanese_jef_china3'.
1188 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
1189 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
1190 `{MIN|MAX}_CHAR_JEF_CHINA3'..
1191 (syms_of_mule_charset): Rename `china3-jef' from
1192 `japanese-jef-china3'.
1193 (complex_vars_of_mule_charset): Likewise; rename
1194 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
1196 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
1197 `LEADING_BYTE_JEF_CHINA3'.
1198 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
1199 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
1201 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1203 * mule-charset.c (encode_builtin_char_1): Comment out special code
1204 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1206 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1207 (MAX_CHAR_MOJIKYO_0): Comment out.
1208 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1209 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1210 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1211 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1213 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1215 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1216 (Qideograph_cbeta): New variable.
1217 (encode_builtin_char_1): Comment out special code for
1218 coded-charset `mojikyo' and `japanese-jef-china3'.
1219 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1220 (complex_vars_of_mule_charset): Add new coded-charset
1223 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1224 (MIN_CHAR_CBETA): New macro.
1225 (MAX_CHAR_CBETA): New macro.
1227 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1229 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1230 (LEADING_BYTE_JEF_CHINA3): New macro.
1231 (MIN_CHAR_JEF_CHINA3): New macro.
1232 (MAX_CHAR_JEF_CHINA3): Likewise.
1233 (DECODE_CHAR): Fixed.
1235 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1237 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1238 (Qjapanese_jef_china3): New variable.
1239 (encode_builtin_char_1): Support `japanese-jef-china3'.
1240 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1241 (complex_vars_of_mule_charset): Add new coded-charset
1242 `japanese-jef-china3'.
1244 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1246 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1247 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1248 94^4, 96^3, 96^4, 128^n and 256^n set.
1249 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1250 (map_char_table): Likewise.
1252 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1254 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1257 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1259 * chartab.h (get_char_id_table): New inline function.
1261 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1264 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1266 * chartab.h (decode_char_table_range): New prototype in XEmacs
1268 (put_char_id_table): New inline function in XEmacs UTF-2000.
1270 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1272 (decode_char_table_range): Delete static declaration in XEmacs
1275 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1277 * chartab.c (put_char_id_table): Use `put_char_table'.
1279 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1281 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1282 (map_over_uint16_byte_table): Likewise.
1283 (map_over_byte_table): Likewise.
1284 (map_char_table): Modify for `map_over_uint8_byte_table',
1285 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1288 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1290 * chartab.c (struct map_char_table_for_charset_arg): New
1292 (map_char_table_for_charset_fun): New function.
1293 (map_char_table): Use `map_char_table' for encoding_table of
1296 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1298 * chartab.c (map_char_table): Check a character is found in
1299 range->charset instead of non default value is defined in
1300 char-table when range is CHARTAB_RANGE_ROW.
1302 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1304 * chartab.c (map_char_id_table): Deleted.
1305 (Fmap_char_attribute): Use `map_char_table' instead of
1306 `map_char_id_table'.
1308 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1310 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1312 (update_syntax_table): Deleted in XEmacs UTF-2000.
1314 * syntax.c (find_defun_start): Use `syntax_table' instead of
1315 `mirror_syntax_table' in XEmacs UTF-2000.
1316 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1318 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1320 (Fmatching_paren): Likewise.
1321 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1323 (find_start_of_comment): Likewise.
1324 (find_end_of_comment): Likewise.
1325 (Fforward_comment): Likewise.
1326 (scan_lists): Likewise.
1327 (char_quoted): Likewise.
1328 (Fbackward_prefix_chars): Likewise.
1329 (scan_sexps_forward): Likewise.
1330 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1331 (update_syntax_table): Likewise.
1333 * search.c (skip_chars): Use `syntax_table' instead of
1334 `mirror_syntax_table' in XEmacs UTF-2000.
1335 (wordify): Likewise.
1336 (Freplace_match): Likewise.
1338 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1339 `mirror_syntax_table' in XEmacs UTF-2000.
1340 (WORDCHAR_P_UNSAFE): Likewise.
1341 (re_match_2_internal): Likewise.
1343 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1344 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1346 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1347 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1349 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1352 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1354 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1355 (char_table_description): Delete `mirror_table' in XEmacs
1357 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1359 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1360 (Fcopy_char_table): Likewise.
1361 (put_char_table): Don't call `update_syntax_table' in XEmacs
1364 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1365 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1366 (casify_region_internal): Likewise.
1368 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1370 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1371 `mirror_syntax_table' in XEmacs UTF-2000.
1373 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1374 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1375 (Fexpand_abbrev): Likewise.
1377 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1379 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1381 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1383 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1384 (map_over_uint16_byte_table): Likewise.
1385 (map_over_byte_table): Likewise.
1386 (get_char_id_table): Refer `cit->default_value'.
1387 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1388 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1389 of character-id ranges.
1390 (mark_char_table): Mark `ct->default_value'.
1391 (char_table_description): Add `default_value'.
1392 (fill_char_table): Use `default_value'.
1393 (decode_char_table_range): Decode `nil' as
1394 `CHARTAB_RANGE_DEFAULT'.
1395 (get_char_id_table): Refer `cit->default_value'.
1396 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1397 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1398 temporary hack; check value of char-table is bound or not.
1399 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1401 * chartab.h (struct Lisp_Char_Table): Add new member
1402 `default_value' in XEmacs UTF-2000.
1403 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1404 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1407 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1409 * chartab.h (Lisp_Char_ID_Table): Deleted.
1411 * chartab.c (char_table_description): Fix typo.
1412 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1413 `Lisp_Char_ID_Table'.
1415 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1417 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1420 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1423 * chartab.h (XCHAR_ID_TABLE): Deleted.
1424 (XSETCHAR_ID_TABLE): Deleted.
1425 (CHAR_ID_TABLE_P): Deleted.
1427 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1429 (Fget_composite_char): Likewise.
1430 (put_char_table): Likewise.
1431 (add_char_attribute_alist_mapper): Fixed.
1432 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1434 (Fget_char_attribute): Likewise.
1435 (Fget_char_attribute): Likewise.
1436 (Fmap_char_attribute): Likewise.
1438 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1440 (encode_char_1): Likewise.
1442 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1444 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1447 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1448 instead of `XCHAR_ID_TABLE'.
1449 (remove_char_ccs): Likewise.
1451 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1453 (Fget_composite_char): Likewise.
1454 (Fchar_variants): Likewise.
1455 (put_char_table): Likewise.
1456 (add_char_attribute_alist_mapper): Likewise.
1457 (Fchar_attribute_alist): Likewise.
1458 (Fget_char_attribute): Likewise.
1459 (Fput_char_attribute): Likewise.
1460 (Fmap_char_attribute): Likewise.
1461 (Fmap_char_attribute): Likewise.
1463 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1465 (encode_char_1): Likewise.
1467 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1469 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1470 `Lisp_Char_ID_Table'.
1471 (mark_char_id_table): Deleted.
1472 (print_char_id_table): Likewise.
1473 (char_id_table_equal): Likewise.
1474 (char_id_table_hash): Likewise.
1475 (char_id_table_description): Likewise.
1476 (char_id_table): Likewise.
1477 (make_char_id_table): Use `Fmake_char_table' and
1479 (get_char_id_table): Use `Lisp_Char_Table' instead of
1480 `Lisp_Char_ID_Table'.
1481 (put_char_id_table): Likewise.
1482 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1484 (Fremove_char_attribute): Likewise.
1485 (syms_of_chartab): Don't define type `char-id-table'.
1487 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1488 (char_id_table): Likewise.
1489 (GC_CHAR_ID_TABLE_P): Likewise.
1490 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1491 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1492 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1493 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1494 (get_char_id_table): Use `Lisp_Char_Table' instead of
1495 `Lisp_Char_ID_Table'.
1496 (put_char_id_table_0): Likewise.
1497 (put_char_id_table): Likewise.
1499 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1501 * chartab.h: Lisp_Byte_Table related codes are moved from
1504 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1506 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1508 * chartab.h: Don't include "chartab.h".
1509 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1510 (Lisp_Char_ID_Table): Likewise.
1511 (char_id_table): Likewise.
1512 (XCHAR_ID_TABLE): Likewise.
1513 (XSETCHAR_ID_TABLE): Likewise.
1514 (CHAR_ID_TABLE_P): Likewise.
1515 (GC_CHAR_ID_TABLE_P): Likewise.
1516 (get_char_id_table): Likewise.
1518 * char-ucs.h: Include "chartab.h".
1519 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1520 (Lisp_Char_ID_Table): Likewise.
1521 (char_id_table): Likewise.
1522 (XCHAR_ID_TABLE): Likewise.
1523 (XSETCHAR_ID_TABLE): Likewise.
1524 (CHAR_ID_TABLE_P): Likewise.
1525 (GC_CHAR_ID_TABLE_P): Likewise.
1526 (get_char_id_table): Likewise.
1528 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1530 * chartab.c (copy_uint8_byte_table): New function.
1531 (copy_uint16_byte_table): New function.
1532 (copy_byte_table): New function.
1533 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1535 (map_over_uint16_byte_table): Likewise.
1536 (map_over_byte_table): Likewise.
1537 (get_byte_table): Move prototype to chartab.h.
1538 (put_byte_table): Likewise.
1539 (put_char_id_table_0): Moved to chartab.h.
1540 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1541 (char_table_entry_equal): Likewise.
1542 (char_table_entry_hash): Likewise.
1543 (char_table_entry_description): Likewise.
1544 (char_table_entry): Likewise.
1545 (make_char_table_entry): Likewise.
1546 (copy_char_table_entry): Likewise.
1547 (get_non_ascii_char_table_value): Likewise.
1548 (map_over_charset_ascii): Likewise.
1549 (map_over_charset_control_1): Likewise.
1550 (map_over_charset_row): Likewise.
1551 (map_over_other_charset): Likewise.
1552 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1553 (print_char_table): Likewise.
1554 (char_table_equal): Likewise.
1555 (char_table_hash): Likewise.
1556 (char_table_description): Likewise.
1557 (fill_char_table): Likewise.
1558 (Fcopy_char_table): Likewise.
1559 (get_char_table): Likewise.
1560 (Fget_range_char_table): Likewise.
1561 (put_char_table): Likewise.
1562 (map_char_table): Likewise.
1563 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1566 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1568 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1569 `Vauto_fill_chars' in XEmacs UTF-2000.
1571 * chartab.h (get_byte_table): New prototype [moved from
1573 (put_byte_table): Likewise [moved from chartab.c].
1574 (put_char_id_table_0): New inline function [moved from chartab.c].
1575 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1576 (Lisp_Char_Table_Entry): Likewise.
1577 (char_table_entry): Likewise.
1578 (XCHAR_TABLE_ENTRY): Likewise.
1579 (XSETCHAR_TABLE_ENTRY): Likewise.
1580 (CHAR_TABLE_ENTRYP): Likewise.
1581 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1582 (NUM_ASCII_CHARS): Likewise.
1583 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1584 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1586 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1588 * chartab.c (get_char_id_table): Change interface.
1589 (put_char_id_table_0): New function.
1590 (put_char_id_table): Change interface; new implementation.
1591 (Fget_composite_char): Modify for interface change of
1592 `get_char_id_table'.
1593 (Fchar_variants): Likewise.
1594 (add_char_attribute_alist_mapper): Likewise.
1595 (Fchar_attribute_alist): Likewise.
1596 (Fget_char_attribute): Likewise.
1597 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1598 as same as character as the first argument like `put-char-table';
1599 modify for interface change of `put_char_id_table'.
1600 (Fremove_char_attribute): Modify for interface change of
1601 `put_char_id_table'.
1603 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1605 * text-coding.c: Sync up with XEmacs 21.2.41.
1606 (COMPOSE_ADD_CHAR): Modify for interface change of
1607 `get_char_id_table'.
1609 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1610 change of `put_char_id_table'.
1611 (remove_char_ccs): Likewise.
1613 * chartab.h (put_char_id_table): Change interface.
1615 * char-ucs.h (get_char_id_table): Change interface.
1616 (charset_code_point): Modify for interface change of
1617 `get_char_id_table'.
1618 (encode_char_1): Likewise.
1620 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1622 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1624 (map_over_uint16_byte_table): Likewise.
1625 (map_over_byte_table): Likewise.
1626 (map_char_id_table): Add new argument `range' like
1628 (Fmap_char_attribute): Add new argument `range' like
1631 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1633 * chartab.c (map_over_uint8_byte_table): Change interface of
1634 mapping function to use struct chartab_range instead of Emchar.
1635 (map_over_uint16_byte_table): Likewise.
1636 (map_over_byte_table): Likewise.
1637 (map_char_id_table): Likewise.
1638 (struct slow_map_char_id_table_arg): Deleted.
1639 (slow_map_char_id_table_fun): Deleted.
1640 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1641 function `slow_map_char_table_fun' instead of struct
1642 `slow_map_char_id_table_arg' and function
1643 `slow_map_char_id_table_fun'.
1645 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1647 * mule-charset.c: Move char-it-table related codes to chartab.c.
1648 (Vutf_2000_version): Moved to chartab.c.
1649 (Fdefine_char): Likewise.
1650 (Ffind_char): Likewise.
1651 (syms_of_mule_charset): Move types `uint8-byte-table',
1652 `uint16-byte-table', `byte-table' and `char-id-table' to
1653 chartab.c; move functions `char_attribute_list,
1654 `find_char_attribute_table, `char_attribute_alist,
1655 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1656 `map_char_attribute, `define_char, `find_char, `char_variants and
1657 `get_composite_char to chartab.c; move symbols `=>ucs',
1658 `->decomposition', `compat', `isolated', `initial', `medial',
1659 `final', `vertical', `noBreak', `fraction', `super', `sub',
1660 `circle', `square', `wide', `narrow', `small' and `font' to
1662 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1663 setting codes for `Vcharacter_composition_table' and
1664 `Vcharacter_variant_table' to chartab.c.
1665 (complex_vars_of_mule_charset): Move setting code for
1666 `Vchar_attribute_hash_table' to chartab.c.
1668 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1669 (make_char_id_table): New prototype.
1670 (put_char_id_table): Likewise.
1671 (Fget_char_attribute): Likewise.
1673 * chartab.c: Move char-id-table related code from mule-charset.c.
1674 (Vutf_2000_version): Moved from mule-charset.c.
1676 * char-ucs.h (Qucs): New external variable.
1677 (put_char_ccs_code_point): New prototype.
1678 (remove_char_ccs): Likewise.
1680 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1682 * mule-charset.c (Vcharset_ucs_jis): New variable.
1683 (Qucs_jis): Likewise.
1684 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1685 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1687 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1689 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1691 * mule-charset.c (map_over_uint8_byte_table): New function.
1692 (map_over_uint16_byte_table): Likewise.
1693 (map_over_byte_table): Likewise.
1694 (map_char_id_table): Likewise.
1695 (slow_map_char_id_table_fun): Likewise.
1696 (Fmap_char_attribute): Likewise.
1697 (syms_of_mule_charset): Add new function `map-char-attribute'.
1699 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1701 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1702 (syms_of_mule_charset): Add new function `find-char'.
1704 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1706 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1708 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1709 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1711 (complex_vars_of_mule_charset): Add new coded-charset
1712 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1713 `ideograph-gt-pj-*'.
1715 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1717 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1719 * mule-charset.c (encode_builtin_char_1): Purge codes about
1720 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1721 {MIN|MAX}_CHAR_HEBREW.
1722 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1723 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1725 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1726 (MAX_CHAR_GREEK): Purged.
1727 (MIN_CHAR_CYRILLIC): Purged.
1728 (MAX_CHAR_CYRILLIC): Purged.
1729 (MIN_CHAR_HEBREW): Commented out.
1730 (MAX_CHAR_HEBREW): Likewise.
1732 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1734 * mule-charset.c (Qto_ucs): New variable.
1735 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1736 (Fdefine_char): Likewise.
1737 (syms_of_mule_charset): Add new symbol `=>ucs'.
1739 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1741 * mule-charset.c (Fdecode_char): Fixed.
1743 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1745 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1746 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1749 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1751 * mule-charset.c (Vcharset_ucs_big5): New variable.
1752 (Qucs_big5): Likewise.
1753 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1754 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1756 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1758 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1760 * mule-charset.c (decode_builtin_char): Check Big5 code range
1761 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1763 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1765 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1766 (Qchinese_gb12345): Likewise.
1767 (Fdecode_builtin_char): Fixed.
1768 (syms_of_mule_charset): Add `chinese-gb12345'.
1769 (complex_vars_of_mule_charset): Add coded-charset
1772 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1773 (LEADING_BYTE_CHINESE_GB12345): New macro.
1775 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1777 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1778 and `latin-viscii-upper' for `latin-viscii'.
1780 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1782 * mule-charset.c (Fdecode_builtin_char): Comment out
1783 regularization code for ISO-IR GR representation.
1785 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1787 * mule-charset.c (decode_builtin_char): New function; renamed from
1788 `make_builtin_char'; return -1 instead of signal.
1789 (Fdecode_builtin_char): Use `decode_builtin_char'.
1791 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1792 `make_builtin_char'.
1793 (DECODE_CHAR): Use `decode_builtin_char' instead of
1794 `make_builtin_char'; use mapping table of `chinese-big5' for
1795 `chinese-big5-{1,2}'.
1797 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1799 * text-coding.c (char_encode_big5): New function.
1800 (char_finish_big5): Likewise.
1801 (reset_encoding_stream): Use `char_encode_big5' and
1802 `char_finish_big5' for CODESYS_BIG5.
1803 (mule_encode): Don't use `encode_coding_big5'.
1804 (encode_coding_big5): Deleted.
1806 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1808 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1809 0x81- in XEmacs UTF-2000.
1810 (detect_coding_big5): Likewise.
1812 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1814 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1815 generate character-id if the CCS property does not have
1816 corresponding predefined character.
1817 (make_builtin_char): Return -1 if corresponding predefined
1818 character is not found.
1819 (Fdecode_char): Return nil if corresponding character is not
1821 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1822 don't map to builtin ucs space.
1824 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1826 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1827 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1829 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1831 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1832 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1833 (Qideograph_gt): Likewise.
1834 (Qideograph_gt_pj_{1..11}): Likewise.
1835 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1836 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1837 `ideograph-gt-pj-11'.
1838 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1839 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1840 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1842 * char-ucs.h (LEADING_BYTE_GT): New macro.
1843 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1844 (MIN_CHAR_GT): Likewise.
1845 (MAX_CHAR_GT): Likewise.
1847 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1849 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1850 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1852 * doprnt.c (unsigned_int_converters): Add `c'.
1853 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1855 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1856 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1858 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1859 (MAX_CHAR_MOJIKYO_0): New macro.
1860 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1862 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1864 * mule-charset.c (Fdefine_char): Delete cemented out code.
1865 (encode_builtin_char_1): Modify for new allocation of builtin
1868 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1870 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1872 * mule-charset.c (Vcharset_ucs_cns): New variable.
1873 (Qucs_cns): New variable.
1874 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1875 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1877 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1879 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1881 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1883 * search.c (search_buffer): Make `charset_base_code' as
1884 character-id >> 6 to eliminate the corresponding last byte in
1885 UTF-8 representation [I'm not sure it is right thing].
1886 (boyer_moore): Likewise.
1888 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1890 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1891 representation in MULE.
1893 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1895 * text-coding.c (Fmake_coding_system): Use
1896 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1897 `EXTERNAL_PROPERTY_LIST_LOOP'.
1899 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1901 * text-coding.c (decode_output_utf8_partial_char): New function.
1902 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1904 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1906 * text-coding.c (decode_coding_utf8): Output original byte
1907 sequence if it is broken; change order of conditions.
1909 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1912 * mb-multibyte.h (BYTE_ASCII_P):
1913 Use bit ops for char-signedness safety.
1914 (BYTE_C0_P): Use bit ops for char-signedness safety.
1915 (BYTE_C1_P): Use bit ops for char-signedness safety.
1917 * character.h: (XCHAR_OR_CHAR_INT):
1918 Always use inline function.
1919 Remove redundant type checking assert() - XINT will abort quite
1922 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1924 * text-coding.c: (Fencode_shift_jis_char):
1925 (Fencode_big5_char):
1926 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1927 Replace 0 with '\0' when working with bytes.
1928 Replace initial "(" with "\(" in docstrings.
1930 (Fmake_coding_system):
1931 When type is ccl and value is vector, register it with a proper
1932 symbol. And checks whether the given ccl program is valid.
1933 (mule_decode): When calling ccl_driver, if src indicates
1934 NULL pointer, set an empty string instead.
1935 (mule_encode): Likewise.
1938 (detect_coding_sjis):
1939 (decode_coding_sjis):
1940 (detect_coding_big5):
1941 (decode_coding_big5):
1942 (detect_coding_ucs4):
1943 (decode_coding_ucs4):
1944 (detect_coding_utf8):
1945 (decode_coding_utf8):
1946 (detect_coding_iso2022):
1947 (decode_coding_iso2022):
1948 (decode_coding_no_conversion):
1950 Make all detecting and decoding functions take an Extbyte * arg.
1951 (text_encode_generic):
1952 (encode_coding_big5):
1953 (encode_coding_no_conversion):
1955 Make all encoding functions take a Bufbyte * arg.
1956 Use size_t instead of unsigned int for memory sizes.
1957 Only cast to unsigned char whenever dereferencing Extbyte *.
1959 (struct lrecord_description fcd_description_1): Use countof.
1960 (complex_vars_of_file_coding):
1961 Use countof instead of sizeof.
1962 Use CHECK_NATNUM instead of CHECK_INT.
1964 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1966 * mule-charset.c (Fget_char_attribute): Add new optional argument
1968 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1969 (remove_char_ccs): Likewise.
1971 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1973 * text-coding.c (char_encode_shift_jis): New implementation in
1975 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1978 * mule-charset.c (Vcharset_chinese_big5): New variable in
1980 (Qchinese_big5): New variable in UTF-2000.
1981 (BIG5_SAME_ROW): New macro in UTF-2000.
1982 (make_builtin_char): Use builtin characters of
1983 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1984 characters of `Vcharset_chinese_big5'.
1985 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1986 (complex_vars_of_mule_charset): Add new coded-charset
1987 `chinese-big5' in UTF-2000.
1989 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1990 (Vcharset_chinese_big5): New external variable declaration.
1991 (Vcharset_japanese_jisx0208_1990): Likewise.
1993 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1995 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1997 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1999 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2001 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2002 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2003 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2006 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2008 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2010 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2012 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2015 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2017 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2018 for `CHARSET_BY_ATTRIBUTES'.
2019 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2020 `CHARSET_BY_ATTRIBUTES'.
2022 * text-coding.c (struct decoding_stream): Rename member `CH' to
2024 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2025 (decode_coding_sjis): Likewise.
2026 (decode_coding_big5): Likewise.
2027 (decode_coding_ucs4): Likewise.
2028 (decode_coding_utf8): Likewise.
2029 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2030 `CHARSET_BY_ATTRIBUTES'.
2031 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2032 `str->counter'; decode 3, 4 bytes sets.
2033 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2035 (decode_coding_no_conversion): Use `str->cpos' instead of
2038 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2039 (Qmojikyo_2022_1): New variable.
2040 (make_charset): Don't use `CHARSET_TYPE_*'.
2041 (range_charset_code_point): Support coded-charset
2043 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2044 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2045 `CHARSET_BY_ATTRIBUTES'.
2046 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2047 `CHARSET_BY_ATTRIBUTES'.
2048 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2049 (complex_vars_of_mule_charset): Add new coded-charset
2052 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2053 interface; changed to inline function.
2055 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2056 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2057 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2058 (CHARSET_TYPE_94): Deleted.
2059 (CHARSET_TYPE_94X94): Deleted.
2060 (CHARSET_TYPE_96): Deleted.
2061 (CHARSET_TYPE_96X96): Deleted.
2062 (CHARSET_TYPE_128): Deleted.
2063 (CHARSET_TYPE_128X128): Deleted.
2064 (CHARSET_TYPE_256): Deleted.
2065 (CHARSET_TYPE_256X256): Deleted.
2066 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2068 (DECODE_MOJIKYO_2022): New inline function.
2069 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2070 `Vcharset_mojikyo_2022_1'.
2072 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2074 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2076 (put_byte_table): Likewise.
2077 (char_id_table_equal): Use `get_byte_table' [new implementation].
2079 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2081 * mule-charset.c: Include <limits.h> in UTF-2000.
2082 (BT_UINT8_MIN): New macro in UTF-2000.
2083 (BT_UINT8_MAX): New macro in UTF-2000.
2084 (BT_UINT8_t): New macro in UTF-2000.
2085 (BT_UINT8_nil): New macro in UTF-2000.
2086 (BT_UINT8_unbound): New macro in UTF-2000.
2087 (INT_UINT8_P): New inline function in UTF-2000.
2088 (UINT8_VALUE_P): New inline function in UTF-2000.
2089 (UINT8_ENCODE): New inline function in UTF-2000.
2090 (UINT8_DECODE): New inline function in UTF-2000.
2091 (mark_uint8_byte_table): New function in UTF-2000.
2092 (print_uint8_byte_table): New function in UTF-2000.
2093 (uint8_byte_table_equal): New function in UTF-2000.
2094 (uint8_byte_table_hash): New function in UTF-2000.
2095 (make_uint8_byte_table): New function in UTF-2000.
2096 (uint8_byte_table_same_value_p): New function in UTF-2000.
2097 (BT_UINT16_MIN): New macro in UTF-2000.
2098 (BT_UINT16_MAX): New macro in UTF-2000.
2099 (BT_UINT16_t): New macro in UTF-2000.
2100 (BT_UINT16_nil): New macro in UTF-2000.
2101 (BT_UINT16_unbound): New macro in UTF-2000.
2102 (INT_UINT16_P): New inline function in UTF-2000.
2103 (UINT16_VALUE_P): New inline function in UTF-2000.
2104 (UINT16_ENCODE): New inline function in UTF-2000.
2105 (UINT16_DECODE): New inline function in UTF-2000.
2106 (UINT8_TO_UINT16): New inline function in UTF-2000.
2107 (mark_uint16_byte_table): New function in UTF-2000.
2108 (print_uint16_byte_table): New function in UTF-2000.
2109 (uint16_byte_table_equal): New function in UTF-2000.
2110 (uint16_byte_table_hash): New function in UTF-2000.
2111 (make_uint16_byte_table): New function in UTF-2000.
2112 (uint16_byte_table_same_value_p): New function in UTF-2000.
2113 (print_byte_table): New function in UTF-2000.
2114 (byte-table): Use `print_byte_table' as printer.
2115 (make_byte_table): Delete second argument `older'.
2116 (byte_table_same_value_p): New function in UTF-2000.
2117 (copy_byte_table): Deleted.
2118 (get_byte_table): New function in UTF-2000.
2119 (put_byte_table): New function in UTF-2000.
2120 (print_char_id_table): New function in UTF-2000.
2121 (char-id-table): Use `print_char_id_table' as printer.
2122 (make_char_id_table): Delete second argument `older'.
2123 (get_char_id_table): Use `get_byte_table [new implementation].
2124 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2126 (Ffind_char_attribute_table): New function in UTF-2000.
2127 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2128 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2129 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2130 (syms_of_mule_charset): Add new function
2131 `find-char-attribute-table' in UTF-2000.
2133 * lrecord.h (enum lrecord_type): Add
2134 `lrecord_type_uint16_byte_table' and
2135 `lrecord_type_uint8_byte_table'.
2137 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2138 (Lisp_Uint8_Byte_Table): New type.
2139 (XUINT8_BYTE_TABLE): New macro.
2140 (XSETUINT8_BYTE_TABLE): New macro.
2141 (UINT8_BYTE_TABLE_P): New macro.
2142 (GC_UINT8_BYTE_TABLE_P): New macro.
2143 (struct Lisp_Uint16_Byte_Table): New structure.
2144 (Lisp_Uint16_Byte_Table): New type.
2145 (XUINT16_BYTE_TABLE): New macro.
2146 (XSETUINT16_BYTE_TABLE): New macro.
2147 (UINT16_BYTE_TABLE_P): New macro.
2148 (GC_UINT16_BYTE_TABLE_P): New macro.
2150 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2152 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2153 (Vcharacter_ideographic_strokes_table): Deleted.
2154 (Vcharacter_total_strokes_table): Deleted.
2155 (Vcharacter_morohashi_daikanwa_table): Deleted.
2156 (Vcharacter_decomposition_table): Deleted.
2157 (Qname): Deleted because it is duplicated.
2158 (Qideographic_radical): Deleted.
2159 (Qideographic_strokes): Deleted.
2160 (Qtotal_strokes): Deleted.
2161 (Qmorohashi_daikanwa): Deleted.
2162 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2163 `ideographic-radical', `ideographic-strokes', `total-strokes',
2164 `morohashi-daikanwa' and `->decomposition'.
2165 (Fget_char_attribute): Likewise.
2166 (Fput_char_attribute): Likewise; use `make-vector' instead of
2167 `make_older_vector' for `->decomposition' value.
2168 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
2169 `ideograph-daikanwa'.
2170 (syms_of_mule_charset): Delete builtin symbols `name',
2171 `ideographic-radical', `ideographic-strokes', `total-strokes' and
2172 `morohashi-daikanwa'.
2173 (vars_of_mule_charset): Don't setup
2174 `Vcharacter_ideographic_radical_table',
2175 `Vcharacter_ideographic_strokes_table',
2176 `Vcharacter_total_strokes_table',
2177 `Vcharacter_morohashi_daikanwa_table' and
2178 `Vcharacter_decomposition_table'.
2180 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2182 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
2183 `make_older_vector', `make_vector_newer_1' and
2184 `make_vector_newer'.
2186 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
2187 `make_older_vector' and `make_vector_newer'.
2189 * config.h.in (HAVE_GGC): New macro.
2191 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2193 * mule-charset.c (struct char_attribute_list_closure): New
2194 structure in UTF-2000.
2195 (add_char_attribute_to_list_mapper): New function in UTF-2000.
2196 (Fchar_attribute_list): Likewise.
2197 (Fset_charset_mapping_table): Use `make_vector_newer'.
2198 (Fdecode_builtin_char): New function in UTF-2000.
2199 (syms_of_mule_charset): Add new function `char-attribute-list' and
2200 `decode-builtin-char' in UTF-2000.
2202 * lisp.h (make_vector_newer): New prototype.
2204 * alloc.c (make_vector_newer_1): New function.
2205 (make_vector_newer): New function.
2207 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2209 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2212 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2214 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2215 (Vcharacter_attribute_table): Deleted.
2216 (Vcharacter_name_table): Deleted.
2217 (put_char_attribute): Deleted.
2218 (remove_char_attribute): Deleted.
2219 (struct char_attribute_alist_closure): New structure.
2220 (add_char_attribute_alist_mapper): New function.
2221 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2222 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2223 (Fget_char_attribute): Likewise.
2224 (Fput_char_attribute): Likewise.
2225 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2226 of `remove_char_attribute'.
2227 (Fdefine_char): Return character.
2228 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2229 and `Vcharacter_name_table'.
2230 (complex_vars_of_mule_charset): Likewise
2231 `Vchar_attribute_hash_table'.
2233 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2235 * character.h (CHARC_CHARSET): New macro.
2236 (CHARC_CHARSET_ID): New macro.
2237 (CHARC_CODE_POINT): New macro.
2238 (CHARC_COLUMNS): New macro.
2239 (CHARC_TO_CHAR): New inline function.
2240 (CHARC_EQ): New inline function.
2241 (CHARC_ASCII_EQ): New inline function.
2242 (CHARC_IS_SPACE): New inline function.
2243 (ASCII_TO_CHARC): New inline function.
2245 * char-ucs.h (encode_char_2): Deleted.
2246 (ENCODE_CHAR): Use `encode_char_1' again.
2247 (breakup_char_1): Likewise.
2248 (CHAR_TO_CHARC): New inline function.
2250 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2252 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2254 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2255 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2256 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2257 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2258 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2260 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2262 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2264 (x_output_display_block): Use `CHARC_CHARSET' and
2267 * redisplay-tty.c (tty_output_display_block): Use
2269 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2271 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2273 * insdel.c (find_charsets_in_charc_string): Use
2275 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2276 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2277 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2278 (convert_charc_string_into_malloced_string): Likewise.
2280 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2282 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2283 instead of <Emchar_dynarr *> for buf; use
2284 `convert_bufbyte_string_into_charc_dynarr' instead of
2285 `convert_bufbyte_string_into_emchar_dynarr'; use
2286 `find_charsets_in_charc_string' instead of
2287 `find_charsets_in_emchar_string'.
2290 - Include "character.h".
2291 (struct rune): New member `cglyph'; delete member `chr'.
2293 * redisplay.c (redisplay_text_width_charc_string): New function;
2294 delete `redisplay_text_width_emchar_string'.
2295 (rtw_charc_dynarr): New variable; renamed from
2296 `rtw_emchar_dynarr'.
2297 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2298 `rtw_emchar_dynarr'; use
2299 `convert_bufbyte_string_into_charc_dynarr' instead of
2300 `convert_bufbyte_string_into_emchar_dynarr'; use
2301 `redisplay_text_width_charc_string' instead of
2302 `redisplay_text_width_emchar_string'.
2303 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2304 instead of `rtw_emchar_dynarr'; use
2305 `convert_bufbyte_string_into_charc_dynarr' instead of
2306 `convert_bufbyte_string_into_emchar_dynarr'.
2307 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2308 `redisplay_text_width_charc_string' instead of
2309 `redisplay_text_width_emchar_string'.
2310 (create_text_block): Modify for <struct rune> change.
2311 (generate_formatted_string_db): Likewise.
2312 (create_string_text_block): Likewise.
2313 (pixel_to_glyph_translation): Likewise.
2315 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2316 instead of <const Emchar *>.
2317 (x_text_width): Likewise.
2318 (x_output_display_block): Use <Charc_dynarr *> instead
2319 <Emchar_dynarr *>; modify for <structure rune> change.
2320 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2323 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2324 <const Emchar *>; use `charc_string_displayed_columns' instead of
2325 `emchar_string_displayed_columns'.
2326 (tty_output_display_block): Use <Charc_dynarr *> instead of
2327 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2328 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2329 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2330 `tty_output_emchar_dynarr_dynarr'.
2331 (tty_output_charc_dynarr): New function; delete
2332 `tty_output_charc_dynarr'.
2334 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2335 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2336 <Emchar_dynarr *> for buf; use
2337 `convert_bufbyte_string_into_charc_dynarr' instead of
2338 `convert_bufbyte_string_into_emchar_dynarr'.
2340 * frame.c (title_string_charc_dynarr): New variable; renamed from
2341 `title_string_emchar_dynarr'.
2342 (generate_title_string): Use `title_string_charc_dynarr' instead
2343 of `title_string_emchar_dynarr'; use
2344 `convert_charc_string_into_malloced_string' instead of
2345 `convert_emchar_string_into_malloced_string'.
2346 (init_frame): Use `title_string_charc_dynarr' instead of
2347 `title_string_emchar_dynarr'.
2350 - Include "character.h".
2351 (struct console_methods): Use <const Charc *> instead of <const
2352 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2353 <Emchar_dynarr *> in output_string_method.
2355 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2358 * console-stream.c (stream_text_width): Use <const Charc *>
2359 instead of <const Emchar *>.
2361 * character.h (Charc_dynarr): New type.
2363 * char-ucs.h (structure Charc): New structure; define new type
2366 * char-lb.h (DECODE_CHAR): New inline function.
2367 (encode_char_1): New inline function.
2368 (ENCODE_CHAR): New macro.
2369 (structure Charc): New structure; define new type `Charc'.
2371 * char-1byte.h (Vcharset_control_1): New macro.
2372 (Vcharset_latin_iso8859_1): New macro.
2373 (DECODE_CHAR): New inline function.
2374 (encode_char_1): New inline function.
2375 (ENCODE_CHAR): New macro.
2376 (structure Charc): New structure; define new type `Charc'.
2378 * insdel.c (find_charsets_in_charc_string): New function; delete
2379 `find_charsets_in_emchar_string'.
2380 (charc_string_displayed_columns): New function; delete
2381 `emchar_string_displayed_columns'.
2382 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2383 `convert_bufbyte_string_into_emchar_dynarr'.
2384 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2385 `convert_charc_string_into_bufbyte_dynarr'.
2386 (convert_charc_string_into_malloced_string): New function; delete
2387 `convert_charc_string_into_malloced_string'.
2389 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2390 `find_charsets_in_emchar_string'.
2391 (charc_string_displayed_columns): New prototype; delete
2392 `emchar_string_displayed_columns'.
2393 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2394 `convert_charc_string_into_bufbyte_dynarr'.
2395 (convert_charc_string_into_malloced_string): New prototype; delete
2396 `convert_charc_string_into_malloced_string'.
2398 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2400 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2402 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2404 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2406 * char-ucs.h: Use <short> for <Charset_ID>.
2408 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2411 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2413 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2416 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2418 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2420 (Qmorohashi_daikanwa): New variable.
2421 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2422 for `morohashi-daikanwa' attribute.
2423 (Fget_char_attribute): Likewise.
2424 (Fput_char_attribute): Likewise.
2425 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2426 has the same value of `ideograph-daikanwa'.
2427 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2428 (vars_of_mule_charset): Setup
2429 `Vcharacter_morohashi_daikanwa_table'.
2431 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2433 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2435 (add_charset_to_list_mapper): Add `key' instead of
2436 `XCHARSET_NAME (value)' to return aliases.
2438 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2440 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2442 (Vcharacter_ideographic_strokes_table): New variable.
2443 (Qideographic_radical): New variable.
2444 (Qideographic_strokes): New variable.
2445 (Fchar_attribute_alist): Use
2446 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2447 attribute; use `Vcharacter_ideographic_strokes_table' for
2448 `ideographic-strokes' attribute.
2449 (Fget_char_attribute): Likewise.
2450 (Fput_char_attribute): Likewise.
2451 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2452 `ideographic-strokes'.
2453 (vars_of_mule_charset): Setup
2454 `Vcharacter_ideographic_radical_table' and
2455 `Vcharacter_ideographic_strokes_table'.
2457 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2459 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2460 (Qtotal_strokes): New variable.
2461 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2462 `total-strokes' attribute.
2463 (Fget_char_attribute): Likewise.
2464 (Fput_char_attribute): Likewise.
2465 (syms_of_mule_charset): Add new symbol `total-strokes'.
2466 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2468 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2470 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2471 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2473 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2474 `->decomposition' attribute.
2475 (Fput_char_attribute): Likewise.
2476 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2478 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2480 * mule-charset.c (decoding_table_check_elements): New function.
2481 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2483 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2485 * mule-charset.c (Fset_charset_mapping_table): Use
2486 `put_char_ccs_code_point'.
2488 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2490 * mule-charset.c (decoding_table_put_char): New inline function.
2491 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2493 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2495 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2496 (XCHARSET_BYTE_SIZE): New macro.
2497 (decoding_table_remove_char): New inline function.
2498 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2499 `decoding_table_remove_char'.
2500 (remove_char_ccs): Use `decoding_table_remove_char'.
2501 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2503 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2505 * mule-charset.c (Vcharacter_name_table): New variable.
2506 (Qname): New variable.
2507 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2509 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2510 `Vcharacter_name_table' for `name' attribute.
2511 (Fremove_char_attribute): Use function `remove_char_ccs'.
2512 (put_char_ccs_code_point): New function.
2513 (remove_char_ccs): New function.
2514 (syms_of_mule_charset): Add new symbol `name'.
2515 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2517 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2519 * mule-charset.c (make_byte_table): Add new argument `older'.
2520 (make_char_id_table): Likewise.
2521 (copy_char_id_table): Comment out because it is not used.
2522 (put_char_id_table): Modify for `make_byte_table'.
2523 (Fput_char_attribute): Make encoding_table as older object;
2524 inherit older bit of `Vcharacter_composition_table'.
2525 (mark_charset): Don't mark `cs->encoding_table'.
2526 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2527 normal object; make `Vcharacter_composition_table' as an older
2528 object; delete staticpro for `Vcharacter_composition_table'; make
2529 `Vcharacter_variant_table' as a normal object.
2531 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2532 (mark_object): Don't check older object in UTF-2000.
2534 * lrecord.h (struct lrecord_header): Add new member `older' in
2536 (set_lheader_implementation): Setup `SLI_header->older' in
2538 (set_lheader_older_implementation): New macro in UTF-2000.
2539 (OLDER_RECORD_P): New macro in UTF-2000.
2540 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2541 (alloc_older_lcrecord): New prototype in UTF-2000.
2542 (alloc_older_lcrecord_type): New macro in UTF-2000.
2544 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2546 * mule-charset.c (byte_table_description): Use
2547 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2548 (char_id_table_description): Delete bogus `, 1'.
2549 (Fget_char_attribute): Refer encoding_table of each coded-charset
2550 to get value of coded-charset attribute of a character.
2551 (Fput_char_attribute): Use `make_older_vector' instead of
2552 `make_vector'; use encoding_table of each coded-charset to store
2553 value of coded-charset attribute of a character.
2554 (Fremove_char_attribute): Use encoding_table of each coded-charset
2555 to store value of coded-charset attribute of a character.
2556 (mark_charset): Mark `cs->encoding_table'; don't mark
2557 `cs->decoding_table'.
2558 (charset_description): Add description of new member
2560 (make_charset): Initialize `encoding_table'.
2562 * char-ucs.h (struct Lisp_Charset): Add new member
2564 (CHARSET_ENCODING_TABLE): New macro.
2565 (XCHARSET_ENCODING_TABLE): New macro.
2566 (charset_code_point): New implementation.
2567 (encode_char_1): Likewise.
2569 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2570 (disksave_object_finalization_1): Call finalizers of
2571 `all_older_lcrecords' in UTF-2000.
2572 (make_older_vector): New function in UTF-2000.
2573 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2576 * lisp.h (make_older_vector): New prototype in UTF-2000.
2578 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2580 * lrecord.h (enum lrecord_type): Rename
2581 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2583 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2584 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2585 `get_char_code_table'.
2587 * mule-charset.c (mark_char_id_table): Renamed from
2588 `mark_char_code_table'.
2589 (char_id_table_equal): Renamed from `char_code_table_equal'.
2590 (char_id_table_hash): Renamed from `char_code_table_hash'.
2591 (make_char_id_table): Renamed from `make_char_code_table'.
2592 (copy_char_id_table): Renamed from `copy_char_code_table'.
2593 (get_char_id_table): Renamed from `get_char_code_table'.
2594 (put_char_id_table): Renamed from `put_char_code_table'.
2595 (to_char_id): Renamed from `to_char_code'.
2597 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2598 `Lisp_Char_Code_Table'.
2599 (char_id_table): Renamed from `char_code_table'.
2600 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2601 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2602 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2603 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2604 (get_char_id_table): Renamed from `get_char_code_table'.
2606 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2608 * lrecord.h (enum lrecord_type): Rename
2609 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2611 * mule-charset.c (mark_byte_table): Renamed from
2612 `mark_char_byte_table'.
2613 (byte_table_equal): Renamed from `char_byte_table_equal'.
2614 (byte_table_hash): Renamed from `byte_table_hash'.
2615 (make_byte_table): Renamed from `make_byte_table'.
2616 (copy_byte_table): Renamed from `copy_char_byte_table'.
2618 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2619 `Lisp_Char_Byte_Table'.
2620 (byte_table): Renamed from `char_byte_table'.
2621 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2622 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2623 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2624 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2626 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2628 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2629 (dfc_convert_to_internal_format): Likewise.
2631 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2632 * text-coding.c (Fcoding_system_alias_p): New function.
2633 * text-coding.c (Fcoding_system_aliasee): New function.
2634 * text-coding.c (append_suffix_to_symbol): New function.
2635 * text-coding.c (dangling_coding_system_alias_p): New function.
2636 * text-coding.c (Ffind_coding_system):
2637 * text-coding.c (Fcopy_coding_system):
2638 * text-coding.c (encode_coding_no_conversion):
2639 * text-coding.c (syms_of_file_coding):
2640 * text-coding.c (vars_of_file_coding):
2641 Rewrite coding system alias code.
2642 Allow nested aliases, like symbolic links.
2643 Allow redefinition of coding system aliases.
2644 Prevent existence of dangling coding system aliases.
2645 Eliminate convert_to_external_format.
2646 Eliminate convert_to_internal_format.
2648 * text-coding.c: Change enum eol_type to eol_type_t.
2650 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2652 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2653 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2655 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2656 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2658 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2660 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2661 `ideograph-daikanwa'.
2663 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2664 (Vcharset_ucs_bmp): Likewise.
2665 (Vcharset_mojikyo): Add new extern variable definition.
2666 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2667 (Vcharset_latin_iso8859_3): Likewise.
2668 (Vcharset_latin_iso8859_4): Likewise.
2669 (Vcharset_latin_iso8859_9): Likewise.
2670 (Vcharset_latin_viscii_lower): Likewise.
2671 (Vcharset_latin_viscii_upper): Likewise.
2672 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2673 `mojikyo' code-point is used to decode.
2674 (encode_char_2): New function [to convert `mojikyo' code-point to
2675 Mojikyo font encoding].
2676 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2677 (breakup_char_1): Likewise.
2678 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2680 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2682 * text-coding.c (Fmake_coding_system): Add document about
2683 `disable-composition' property.
2685 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2687 * text-coding.c (Qdisable_composition): New variable; delete
2689 (Fmake_coding_system): Add new property `disable-composite';
2690 delete property `composite'.
2691 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2692 instead of `!CODING_SYSTEM_COMPOSITE'.
2693 (syms_of_file_coding): Add new symbol `disable-composition';
2694 delete symbol `composite'.
2696 * file-coding.h (struct Lisp_Coding_System): Add
2697 `disable_composition'; delete `enable_composition'.
2698 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2699 `CODING_SYSTEM_COMPOSITE'.
2700 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2701 `XCODING_SYSTEM_COMPOSITE'.
2703 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2705 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2708 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2710 * text-coding.c (Qcomposite): New variable.
2711 (Fmake_coding_system): Add new property `composite'.
2712 (struct decoding_stream): Add `combined_char_count',
2713 `combined_chars' and `combining_table' in UTF-2000.
2714 (COMPOSE_FLUSH_CHARS): New macro.
2715 (COMPOSE_ADD_CHAR): New macro.
2716 (reset_decoding_stream): Reset `str->combined_char_count' and
2717 `str->combining_table' in UTF-2000.
2718 (decode_coding_iso2022): Modify for character-decomposition.
2719 (syms_of_file_coding): Add new symbol `composite'.
2721 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2723 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2724 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2725 of `Vcharacter_composition_table' if `->decomposition' property
2727 (Qlatin_tcvn5712): New variable.
2728 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2729 (complex_vars_of_mule_charset): Add new coded-charset
2732 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2734 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2736 * file-coding.h (struct Lisp_Coding_System): Add
2737 `enable_composition'.
2738 (CODING_SYSTEM_COMPOSITE): New macro.
2739 (XCODING_SYSTEM_COMPOSITE): New macro.
2741 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2743 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2745 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2747 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2748 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2750 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2752 * mule-charset.c (Vcharset_mojikyo): New variable.
2753 (Fdefine_char): Don't use coded-charset which does not have
2754 non-builtin character range to allocate character-id.
2755 (Qmojikyo): New variable.
2756 (syms_of_mule_charset): Add new symbol `mojikyo'.
2757 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2759 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2760 (LEADING_BYTE_MOJIKYO): New macro.
2761 (MIN_CHAR_MOJIKYO): New macro.
2762 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2763 (MAX_CHAR_MOJIKYO): New macro.
2765 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2767 * mule-charset.c (remove_char_attribute): Fixed.
2769 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2771 * mule-charset.c (remove_char_attribute): New function.
2772 (Fremove_char_attribute): New function.
2773 (encode_builtin_char_1): Comment out builtin-support for
2774 greek-iso8859-7 and cyrillic-iso8859-5.
2775 (Fdecode_char): Check `code' is an integer.
2776 (syms_of_mule_charset): Add `remove-char-attribute'.
2777 (MIN_CHAR_GREEK): Deleted.
2778 (MAX_CHAR_GREEK): Likewise.
2779 (MIN_CHAR_CYRILLIC): Likewise.
2780 (MAX_CHAR_CYRILLIC): Likewise.
2781 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2782 MAX_CHAR_GREEK for `greek-iso8859-7'.
2784 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2785 (MAX_CHAR_GREEK): Likewise.
2786 (MIN_CHAR_CYRILLIC): Likewise.
2787 (MAX_CHAR_CYRILLIC): Likewise.
2789 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2791 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2792 format is used without `ucs' property.
2793 (Fdecode_char): Fix problem with GR representation.
2794 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2795 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2797 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2799 * mule-charset.c (make_builtin_char): New function.
2800 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2801 (Fset_charset_mapping_table): Modify for new representation of
2803 (Fdecode_char): New function.
2804 (syms_of_mule_charset): Add new builtin function `decode-char' in
2807 * char-ucs.h (make_builtin_char): New prototype.
2808 (DECODE_CHAR): New inline function.
2809 (MAKE_CHAR): Use `DECODE_CHAR'.
2811 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2813 * text-coding.c (parse_charset_conversion_specs): Use
2814 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2816 (iso2022_designate): Likewise.
2818 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2819 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2821 * mule-charset.c (Vcharset_ucs): New variable.
2822 (print_charset): Change design; use `CHARSET_CHARS' and
2823 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2824 (make_charset): Change signature to specify `chars' and
2825 `dimension' instead of `type'.
2826 (range_charset_code_point): Modify for 256^n-set.
2827 (encode_builtin_char_1): Encode as `ucs' in default.
2828 (Fmake_charset): Modify for `make_charset'.
2829 (Fmake_reverse_direction_charset): Likewise.
2830 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2832 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2835 * char-ucs.h (Vcharset_ucs): New variable.
2836 (LEADING_BYTE_UCS): New macro.
2837 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2838 and `chars' to `unsigned short' from `unsigned int'.
2839 (CHARSET_TYPE): Deleted.
2840 (XCHARSET_TYPE): Deleted.
2842 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2844 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2846 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2847 (ENCODE_CHAR): New macro.
2849 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2851 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2852 to 0.14 (Kawachi-Katakami).
2854 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2856 * text-coding.c (char_encode_shift_jis): Modify for
2857 `charset_code_point'.
2858 (char_encode_iso2022): Likewise.
2860 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2861 (integer) instead of list of <Lisp_Object>s (integers) as the
2862 format of code-point of a coded-charset.
2863 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2864 (encode_builtin_char_1): New function; delete
2865 `split_builtin_char'.
2866 (charset_code_point): Return <int> instead of <Lisp_Object>.
2867 (Fsplit_char): Don't use `SPLIT_CHAR'.
2869 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2870 prototype for `split_builtin_char'.
2871 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2872 (charset_code_point): Likewise.
2873 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2874 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2876 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2878 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2879 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2881 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2883 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2885 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2886 (MAX_CHAR_OBS_94x94): Deleted.
2888 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2890 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2892 * char-ucs.h (MAX_CHAR_BMP): New macro.
2894 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2896 * text-coding.c: Sync with r21-2-24.
2898 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2900 * file-coding.c: Modify for UTF-2000.
2902 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2904 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2907 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2909 * mule-charset.c (split_builtin_char): Delete builtin support for
2910 `katakana-jisx0201'.
2911 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2912 BMP area in builtin representation.
2914 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2915 `Vcharset_katakana_jisx0201'.
2917 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2919 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2920 (Qisolated): New variable.
2921 (Qinitial): New variable.
2922 (Qmedial): New variable.
2923 (Qfinal): New variable.
2924 (Qvertical): New variable.
2925 (Qsmall): New variable.
2926 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2927 `Qvertical' and `Qsmall'.
2928 (Qmojikyo_pj_[1 .. 21]): New variable.
2929 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2930 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2931 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2934 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2936 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2937 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2938 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2940 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2942 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2943 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2945 (Qjapanese_jisx0208_1990): New variable.
2946 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2947 (complex_vars_of_mule_charset): Add new coded-charset
2948 `japanese-jisx0208-1990'.
2950 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2951 (MIN_CHAR_JIS_X0208_1990): New macro.
2952 (MAX_CHAR_JIS_X0208_1990): New macro.
2954 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2956 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2957 coded-charset is not found.
2959 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2961 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2962 (Fdefine_char): Use `Fmake_char'.
2964 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2966 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2967 (Vcharset_hiragana_jisx0208): Deleted.
2968 (Vcharset_katakana_jisx0208): Deleted.
2969 (Qideograph_daikanwa): New variable.
2970 (Qhiragana_jisx0208): Deleted.
2971 (Qkatakana_jisx0208): Deleted.
2972 (split_builtin_char): Split `ideograph-daikanwa'.
2973 (Fsplit_char): New implementation for UTF-2000.
2974 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2975 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2976 (complex_vars_of_mule_charset): Add new coded-charset
2977 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2978 `katakana-jisx0208'.
2980 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2981 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2982 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2983 (MIN_CHAR_DAIKANWA): New macro.
2984 (MAX_CHAR_DAIKANWA): New macro.
2986 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2988 * data.c (Fstring_to_number): Don't recognize floating point if
2991 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2993 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2995 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2997 * mule-charset.c (Qsquare): New variable.
2998 (to_char_code): Add `Qsquare'.
2999 (syms_of_mule_charset): Add new symbol `square'.
3001 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3003 * mule-charset.c (Qcircle): New variable.
3004 (to_char_code): Add `Qcircle'.
3005 (syms_of_mule_charset): Add new symbol `circle'.
3007 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3009 * mule-charset.c (Qfont): New variable.
3010 (to_char_code): Add `Qfont'.
3011 (syms_of_mule_charset): Add new symbol `font'.
3013 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3015 * mule-charset.c (Qsub): New variable.
3016 (to_char_code): Add `Qsub'.
3017 (syms_of_mule_charset): Add new symbol `sub'.
3019 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3021 * mule-charset.c (Fput_char_attribute): Convert each element of
3022 VALUE to GL position if ATTRIBUTE is a GR-set,
3024 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3026 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3027 coded-charset is a GR-set.
3029 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3031 * mule-charset.c (Fput_char_attribute): Check each element of
3032 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3034 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3036 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3038 (Qethiopic_ucs): New variable in UTF-2000.
3039 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3040 (complex_vars_of_mule_charset): Add new coded-charset
3041 `ethiopic-ucs' in UTF-2000.
3043 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3044 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3046 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3048 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3050 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3052 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3055 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3057 * mule-charset.c (Vcharacter_variant_table): New variable.
3058 (Q_ucs): New variable.
3059 (Fchar_variants): New function.
3060 (Fput_char_attribute): Register `->ucs' value to
3061 `Vcharacter_variant_table'.
3062 (syms_of_mule_charset): Add new function `char-variants' and new
3064 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3066 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3068 * mule-charset.c (get_char_code_table): Allow negative character
3070 (put_char_code_table): Likewise.
3071 (Vcharacter_composition_table): New variable.
3072 (Q_decomposition): New variable.
3073 (Qwide): New variable.
3074 (Qnarrow): New variable.
3075 (Qcompat): New variable.
3076 (QnoBreak): New variable.
3077 (Qsuper): New variable.
3078 (Qfraction): New variable.
3079 (to_char_code): New function.
3080 (Fget_composite_char): New function.
3081 (Fput_char_attribute): Register `->decomposition' value to
3082 `Vcharacter_composition_table'.
3083 (syms_of_mule_charset): Add new function `get-composite-char', new
3084 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3085 `super' and `fraction'.
3086 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3088 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3090 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3091 character; copy the return value.
3093 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3095 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3097 * mule-charset.c (range_charset_code_point): Must use make_int.
3098 (split_builtin_char): New function.
3100 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3102 * mule-charset.c (char_byte_table): Change name from
3103 "char-code-table" to "char-byte-table".
3104 (mark_char_code_table): New function.
3105 (char_code_table_equal): New function.
3106 (char_code_table_hash): New function.
3107 (char_code_table_description): New constant.
3108 (char_code_table): New type.
3109 (make_char_code_table): New function.
3110 (copy_char_code_table): New function.
3111 (get_char_code_table): Modify for `char_code_table' type.
3112 (put_char_code_table): Likewise.
3113 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3116 * char-ucs.h (char_code_table): New type.
3117 (XCHAR_CODE_TABLE): New macro.
3118 (XSETCHAR_CODE_TABLE): New macro.
3119 (CHAR_CODE_TABLE_P): New macro.
3120 (GC_CHAR_CODE_TABLE_P): New macro.
3121 (struct Lisp_Char_Code_Table): New structure.
3123 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3125 * mule-charset.c (Fmake_charset): Setup byte_offset for
3128 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3130 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3133 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3135 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3138 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3140 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3141 charset, it is regarded as a charset.
3142 (put_char_attribute): New function in UTF-2000.
3143 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3144 charset, mapping-table of the charset is modified.
3145 (Fdefine_char): New function in UTF-2000.
3146 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3147 `Fput_char_attribute'.
3148 (syms_of_mule_charset): Add new function `define-char' and new
3149 symbol `ucs' in UTF-2000.
3150 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3152 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3154 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3155 non-UTF-2000 configuration.
3157 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3159 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3160 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3162 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3164 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3165 (Fset_charset_mapping_table): Likewise.
3167 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3168 (CHARSET_ENCODING_TABLE): Delete.
3169 (XCHARSET_ENCODING_TABLE): Delete.
3170 (charset_code_point): New interface.
3172 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3174 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
3175 instead of `charset_get_byte1' and `charset_get_byte2'.
3177 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
3178 (charset_get_byte2): Deleted.
3180 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3182 * char-ucs.h (SPLIT_CHAR): New inline function.
3183 (breakup_char_1): Use `SPLIT_CHAR'.
3185 * mule-charset.c (range_charset_code_point): New function.
3186 (charset_code_point): New function.
3188 * char-ucs.h (range_charset_code_point): New interface.
3189 (breakup_char_1): Use `range_charset_code_point'.
3191 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3193 * mule-charset.c (Fmake_charset): Delete unused local variable
3196 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
3197 (breakup_char_1): Find a charset and code-point in
3198 `Vcharacter_attribute_table'.
3200 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3202 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3205 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3207 * mule-charset.c (Vcharacter_attribute_table): New variable.
3208 (Fchar_attribute_alist): New function.
3209 (Fget_char_attribute): New function.
3210 (Fput_char_attribute): New function.
3211 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3213 (syms_of_mule_charset): Add new function `char-attribute-alist',
3214 `get-char-attribute' and `put-char-attribute'.
3215 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3217 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3219 * mule-charset.c (Fmake_charset): Just use
3220 `get_unallocated_leading_byte'.
3222 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3223 sets; don't use final-byte based number for private sets.
3225 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3227 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3230 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3232 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3235 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3237 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3238 of `CHAR_LEADING_BYTE' in UTF-2000.
3240 * insdel.c (find_charsets_in_bufbyte_string): Use
3241 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3242 (find_charsets_in_emchar_string): Likewise.
3244 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3245 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3247 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3248 (CHAR_CHARSET_ID): New macro.
3250 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3252 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3253 charset-id - MIN_LEADING_BYTE.
3254 (put_char_table): Likewise.
3256 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3258 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3259 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3260 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3261 (CHARSET_ID_OFFSET): New macro.
3262 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3263 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3264 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3265 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3267 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3269 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3270 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3271 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3272 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3273 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3275 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3277 * mule-charset.c (next_allocated_leading_byte): New variable in
3279 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3280 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3281 (get_unallocated_leading_byte): Simply use
3282 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3283 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3286 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3287 (MAX_LEADING_BYTE_PRIVATE): New macro.
3288 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3289 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3291 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3293 * mule-charset.c (Fmake_charset): Allocate final-byte based
3294 charset-id for 94-set, 96-set and 94x94-set.
3296 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3298 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3300 (Fmake_charset): Likewise.
3301 (complex_vars_of_mule_charset): Modify the font registry of
3302 `ucs-bmp' not to match `Ethiopic-Unicode'.
3304 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3306 * mule-charset.c (complex_vars_of_mule_charset): Add font
3307 registory of `ucs-bmp'.
3309 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3311 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3312 coded-charsets in `default-coded-charset-priority-list' when
3313 breaking up a character.
3315 * mule-charset.c (Vcharset_latin_viscii): New variable.
3316 (Qlatin_viscii): New variable.
3317 (make_charset): Don't use `decoding_table'.
3318 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3320 (Fset_charset_mapping_table): New implementation.
3321 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3322 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3323 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3324 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3325 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3326 charset `latin_viscii'.
3328 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3329 (CHARSET_TYPE_94X94): Change to 1 from 2.
3330 (CHARSET_TYPE_96): Change to 2 from 1.
3331 (CHARSET_TYPE_128): New macro.
3332 (CHARSET_TYPE_128X128): Change to 5 from 4.
3333 (CHARSET_TYPE_256): New macro.
3334 (CHARSET_TYPE_256X256): Change to 7 from 5.
3335 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3337 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3339 * text-coding.c (char_encode_shift_jis): Refer
3340 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3341 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3343 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3344 (char_byte_table_equal): New function in UTF-2000.
3345 (char_byte_table_hash): New function in UTF-2000.
3346 (char_byte_table_description): New constant in UTF-2000.
3347 (char_byte_table): New type in UTF-2000.
3348 (make_char_byte_table): New function in UTF-2000.
3349 (copy_char_byte_table): New function in UTF-2000.
3350 (make_char_code_table): New macro in UTF-2000.
3351 (get_char_code_table): New function in UTF-2000.
3352 (put_char_code_table): New function in UTF-2000.
3353 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3354 (charset_description): Add setting in UTF-2000.
3355 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3356 `CHARSET_TO_BYTE1_TABLE(cs)'.
3357 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3358 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3359 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3360 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3361 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3362 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3363 `CHARSET_TO_BYTE2_TABLE(cs)'.
3365 * char-ucs.h (char_byte_table): New type.
3366 (XCHAR_BYTE_TABLE): New macro.
3367 (XSETCHAR_BYTE_TABLE): New macro.
3368 (CHAR_BYTE_TABLE_P): New macro.
3369 (GC_CHAR_BYTE_TABLE_P): New macro.
3370 (struct Lisp_Char_Byte_Table): New structure.
3371 (get_char_code_table): New interface.
3372 (Emchar_to_byte_table): Deleted.
3373 (get_byte_from_character_table): Deleted.
3374 (struct Lisp_Charset): Add `encoding_table'; delete
3375 `to_byte1_table' and `to_byte2_table'.
3376 (CHARSET_ENCODING_TABLE): New macro.
3377 (CHARSET_TO_BYTE1_TABLE): Deleted.
3378 (CHARSET_TO_BYTE2_TABLE): Deleted.
3379 (XCHARSET_ENCODING_TABLE): New macro.
3380 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3381 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3383 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3385 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3386 `vietnamese-viscii-*'.
3388 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3390 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3391 (Qvietnamese_viscii_upper): New variable.
3392 (Fdefine_charset_alias): New function.
3393 (syms_of_mule_charset): Add new function `define-charset-alias'.
3394 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3395 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3398 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3400 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3401 (MAX_CHAR_OBS_94x94): New macro.
3402 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3405 * mule-charset.c (put_byte_from_character_table): Change unit size
3407 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3409 (Fmake_reverse_direction_charset): Modify dummy argument of
3410 `make_charset' for non-UTF-2000 environment.
3412 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3414 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3416 * mule-charset.c (destroy_byte_from_character_table): New macro.
3417 (latin_jisx0201_to_ucs): Deleted.
3418 (latin_iso8859_2_to_ucs): Deleted.
3419 (latin_iso8859_3_to_ucs): Deleted.
3420 (latin_iso8859_4_to_ucs): Deleted.
3421 (latin_iso8859_9_to_ucs): Deleted.
3422 (latin_viscii_lower_to_ucs): Deleted.
3423 (latin_viscii_upper_to_ucs): Deleted.
3424 (mark_charset): Mark `cs->decoding_table'.
3425 (Fcharset_mapping_table): Fix DOC-string.
3426 (Fset_charset_mapping_table): New function.
3427 (syms_of_mule_charset): Add nwe function
3428 `set-charset-mapping-table'.
3429 (complex_vars_of_mule_charset): Don't setup and use
3432 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3434 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3437 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3439 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3440 (Vcharset_katakana_jisx0208): New variable.
3441 (Qhiragana_jisx0208): New variable.
3442 (Qkatakana_jisx0208): New variable.
3443 (make_charset): Add new argument `byte_offset'.
3444 (charset_get_byte1): Modify for new coded-charset definition; use
3445 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3446 `XCHARSET_BYTE_OFFSET'.
3447 (Fmake_charset): Modify for `make_charset'.
3448 (Fmake_reverse_direction_charset): Likewise.
3449 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3450 `katakana-jisx0208'.
3451 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3452 `.' in font registry of charset `katakana-jisx0201',
3453 `latin-jisx0201', `vietnamese-viscii-lower' and
3454 `vietnamese-viscii-upper'; modify DOC-string of charset
3455 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3456 registry of charset `japanese-jisx0208' not to use font for JIS
3457 X0208:1990; add new charset `hiragana-jisx0208' and
3458 `katakana-jisx0208'.
3460 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3461 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3462 (struct Lisp_Charset): Add `byte_offset'.
3463 (CHARSET_BYTE_OFFSET): New macro.
3464 (XCHARSET_UCS_MIN): New macro.
3465 (XCHARSET_UCS_MAX): New macro.
3466 (XCHARSET_CODE_OFFSET): New macro.
3467 (XCHARSET_BYTE_OFFSET): New macro.
3468 (MIN_CHAR_HIRAGANA): New macro.
3469 (MAX_CHAR_HIRAGANA): New macro.
3470 (MIN_CHAR_KATAKANA): New macro.
3471 (MAX_CHAR_KATAKANA): New macro.
3472 (MAKE_CHAR): Modify for new coded-charset definition; use
3473 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3474 `XCHARSET_BYTE_OFFSET'.
3476 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3478 * mule-charset.c (CHAR96): Deleted.
3479 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3481 (latin_iso8859_2_to_ucs): Likewise.
3482 (latin_iso8859_3_to_ucs): Likewise.
3483 (latin_iso8859_4_to_ucs): Likewise.
3484 (latin_iso8859_9_to_ucs): Likewise.
3485 (latin_viscii_lower_to_ucs): Likewise.
3486 (latin_viscii_upper_to_ucs): Likewise.
3487 (latin_tcvn5712_to_ucs): Commented out.
3488 (make_charset): Change type of argument `decoding_table' from
3489 <Emchar*> to <Lisp_Object> [vector of characters].
3490 (Fmake_charset): Modify for `make_charset'.
3491 (Fmake_reverse_direction_charset): Likewise.
3492 (Fcharset_mapping_table): New function in UTF-2000.
3493 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3495 (complex_vars_of_mule_charset): Modify for type change of
3496 `*_to_ucs'; modify for `make_charset'.
3498 * char-ucs.h (struct Lisp_Charset): Change type of
3499 `decoding_table' from <Emchar*> to <Lisp_Object>.
3500 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3502 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3504 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3505 error with non-UTF-2000-Mule.
3507 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3509 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3511 (Vcharset_chinese_cns11643_4): Likewise.
3512 (Vcharset_chinese_cns11643_5): Likewise.
3513 (Vcharset_chinese_cns11643_6): Likewise.
3514 (Vcharset_chinese_cns11643_7): Likewise.
3515 (Qchinese_cns11643_3): Likewise.
3516 (Qchinese_cns11643_4): Likewise.
3517 (Qchinese_cns11643_5): Likewise.
3518 (Qchinese_cns11643_6): Likewise.
3519 (Qchinese_cns11643_7): Likewise.
3520 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3521 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3522 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3523 (complex_vars_of_mule_charset): Likewise.
3525 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3527 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3529 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3530 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3532 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3534 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3536 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3537 (breakup_char_1): Likewise.
3539 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3540 one of them includes the specified character.
3542 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3544 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3546 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3548 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3550 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3552 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3553 definition for non-UTF-2000 Mule.
3554 (latin_iso8859_3_to_ucs): Likewise.
3555 (latin_iso8859_4_to_ucs): Likewise.
3556 (latin_iso8859_9_to_ucs): Likewise.
3557 (latin_jisx0201_to_ucs): Likewise.
3558 (MIN_CHAR_THAI): Likewise.
3559 (MAX_CHAR_THAI): Likewise.
3560 (MIN_CHAR_GREEK): Likewise.
3561 (MAX_CHAR_GREEK): Likewise.
3562 (MIN_CHAR_HEBREW): Likewise.
3563 (MAX_CHAR_HEBREW): Likewise.
3564 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3565 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3566 (MIN_CHAR_CYRILLIC): Likewise.
3567 (MAX_CHAR_CYRILLIC): Likewise.
3569 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3571 * char-ucs.h (breakup_char_1): Use
3572 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3573 thai-tis620 and katakana-jisx0201 area.
3575 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3577 * char-ucs.h (breakup_char_1): Use
3578 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3581 * text-coding.c (reset_encoding_stream): Fixed.
3582 (char_encode_ucs4): Delete `& 255'.
3584 * char-ucs.h (breakup_char_1): Use
3585 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3587 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3589 * file-coding.c (Fmake_coding_system): Don't set up
3590 `codesys->fixed.size'.
3591 (encode_coding_no_conversion): Don't refer
3592 `str->codesys->fixed.size'.
3594 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3596 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3597 (latin_a_char_to_byte1): Deleted.
3598 (latin_a_char_to_byte2): Deleted.
3600 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3602 * mule-charset.c (make_charset): Add new argument `ucs_min',
3603 `ucs_max' and `code_offset'.
3604 (charset_get_byte1): New implementation [delete specific charset
3605 depended implementations].
3606 (Fmake_charset): Modify for `make_charset'.
3607 (Fmake_reverse_direction_charset): Likewise.
3608 (complex_vars_of_mule_charset): Likewise.
3610 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3612 (CHARSET_UCS_MIN): New macro.
3613 (CHARSET_UCS_MAX): New macro.
3614 (CHARSET_CODE_OFFSET): New macro.
3615 (MAKE_CHAR): Delete charset depended definitions [except
3618 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3620 * char-ucs.h (breakup_char_1): Use
3621 `Vdefault_coded_charset_priority_list' for C0-Controls,
3622 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3624 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3626 * char-ucs.h (charset_get_byte1): New function.
3627 (XCHARSET_GET_BYTE1): Deleted.
3628 (charset_get_byte2): New function.
3629 (XCHARSET_GET_BYTE2): Deleted.
3630 (Vdefault_coded_charset_priority_list): New external variable.
3631 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3632 `Vdefault_preferred_coded_charset_list'.
3634 * mule-charset.c (charset_get_byte1): New function.
3635 (charset_get_byte2): New function.
3636 (Vdefault_coded_charset_priority_list): New variable.
3637 (vars_of_mule_charset): Add new variable
3638 `default-coded-charset-priority-list'.
3640 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3642 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3643 (XCHARSET_GET_BYTE2): New inline function.
3644 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3645 `XCHARSET_GET_BYTE2'.
3647 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3649 * mule-charset.c (make_charset): Initialize
3650 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3651 NULL if table is not defined.
3653 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3655 * text-coding.c (char_encode_shift_jis): Use
3656 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3657 `ucs_to_latin_jisx0201'.
3659 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3660 (ucs_to_latin_iso8859_2): Deleted.
3661 (ucs_to_latin_iso8859_3): Deleted.
3662 (ucs_to_latin_iso8859_4): Deleted.
3663 (ucs_to_latin_iso8859_9): Deleted.
3664 (ucs_to_latin_viscii_lower): Deleted.
3665 (ucs_to_latin_viscii_upper): Deleted.
3666 (ucs_to_latin_tcvn5712): Deleted.
3667 (make_charset): Add new argument `decoding_table'; set up
3668 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3669 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3670 `decoding_table' is defined in UTF-2000.
3671 (Fmake_charset): Modify for `make_charset'.
3672 (Fmake_reverse_direction_charset): Likewise.
3673 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3674 and `GENERATE_96_SET'.
3676 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3677 (ucs_to_latin_jisx0201): Deleted.
3678 (latin_iso8859_2_to_ucs): Deleted.
3679 (ucs_to_latin_iso8859_2): Deleted.
3680 (latin_iso8859_3_to_ucs): Deleted.
3681 (ucs_to_latin_iso8859_3): Deleted.
3682 (latin_iso8859_4_to_ucs): Deleted.
3683 (ucs_to_latin_iso8859_4): Deleted.
3684 (latin_iso8859_9_to_ucs): Deleted.
3685 (ucs_to_latin_iso8859_9): Deleted.
3686 (latin_viscii_lower_to_ucs): Deleted.
3687 (ucs_to_latin_viscii_lower): Deleted.
3688 (latin_viscii_upper_to_ucs): Deleted.
3689 (ucs_to_latin_viscii_upper): Deleted.
3690 (struct Lisp_Charset): Renamed `encoding_table' to
3691 `to_byte1_table'; add `to_byte2_table'.
3692 (CHARSET_DECODING_TABLE): New macro.
3693 (CHARSET_TO_BYTE1_TABLE): New macro.
3694 (CHARSET_TO_BYTE2_TABLE): New macro.
3695 (XCHARSET_DECODING_TABLE): New macro.
3696 (XCHARSET_TO_BYTE1_TABLE): New macro.
3697 (XCHARSET_TO_BYTE2_TABLE): New macro.
3698 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3700 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3701 don't use `ucs_to_*' tables.
3703 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3705 * text-coding.c (Fmake_coding_system): Don't set up
3706 `codesys->fixed.size'.
3707 (encode_coding_no_conversion): Use `if' instead of `switch'.
3709 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3711 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3713 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3714 (Fmake_charset): Modify for `make_charset'.
3715 (Fmake_reverse_direction_charset): Likewise.
3716 (complex_vars_of_mule_charset): Likewise.
3718 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3720 * text-coding.c (char_encode_shift_jis): Use table
3721 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3723 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3725 * text-coding.c (text_encode_generic): Use `if' instead of
3727 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3730 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3732 * text-coding.c (encode_coding_sjis): Deleted.
3733 (char_encode_shift_jis): New function.
3734 (char_finish_shift_jis): New function.
3735 (reset_encoding_stream): Set up `encode_char' and `finish' for
3736 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3737 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3738 (char_encode_utf8): Treat `eol_type'.
3740 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3742 * file-coding.c (decode_coding_iso2022): Use
3743 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3745 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3747 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3750 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3752 * char-lb.h (CHAR_COLUMNS): New macro.
3754 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3756 * text-coding.c (char_encode_ucs4): New function.
3757 (char_finish_ucs4): New function.
3758 (encode_coding_ucs4): Deleted.
3759 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3760 (text_encode_generic): Delete local variable `charset' and `half'.
3761 (ucs_to_mule_table): Deleted.
3762 (mule_to_ucs_table): Deleted.
3763 (Fset_ucs_char): Deleted.
3764 (ucs_to_char): Deleted.
3765 (Fucs_char): Deleted.
3766 (Fset_char_ucs): Deleted.
3767 (Fchar_ucs): Deleted.
3768 (decode_ucs4): Deleted.
3769 (mule_char_to_ucs4): Deleted.
3770 (encode_ucs4): Deleted.
3771 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3772 (decode_coding_utf8): Likewise.
3773 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3774 (char_encode_iso2022): Fixed.
3775 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3776 `Fset_char_ucs' and `Fchar_ucs'.
3777 (complex_vars_of_file_coding): Don't initialize
3778 `ucs_to_mule_table'.
3780 * objects-tty.c (tty_initialize_font_instance): Don't use
3783 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3786 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3787 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3789 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3790 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3791 (emchar_string_displayed_columns): Likewise.
3793 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3794 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3795 (string_column_at_point): Likewise.
3796 (Fmove_to_column): Likewise.
3798 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3799 `encoding_table' and `decoding_table'.
3800 (CHARSET_REP_BYTES): Deleted.
3801 (XCHARSET_REP_BYTES): Deleted.
3802 (XCHARSET_COLUMNS): Deleted.
3803 (CHAR_COLUMNS): New macro.
3804 (lookup_composite_char): Deleted unconditionally.
3805 (composite_char_string): Likewise.
3807 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3809 * char-ucs.h (Emchar_to_byte_table): New type.
3810 (get_byte_from_character_table): New function interface.
3811 (Vcharset_latin_jisx0201): New variable.
3812 (latin_jisx0201_to_ucs): New variable.
3813 (ucs_to_latin_jisx0201): New variable.
3814 (Vcharset_latin_iso8859_2): New variable.
3815 (latin_iso8859_2_to_ucs): New variable.
3816 (ucs_to_latin_iso8859_2): New variable.
3817 (Vcharset_latin_iso8859_3): New variable.
3818 (latin_iso8859_3_to_ucs): New variable.
3819 (ucs_to_latin_iso8859_3): New variable.
3820 (Vcharset_latin_iso8859_4): New variable.
3821 (latin_iso8859_4_to_ucs): New variable.
3822 (ucs_to_latin_iso8859_4): New variable.
3823 (Vcharset_latin_iso8859_9): New variable.
3824 (latin_iso8859_9_to_ucs): New variable.
3825 (ucs_to_latin_iso8859_9): New variable.
3826 (Vcharset_latin_viscii_lower): New variable.
3827 (latin_viscii_lower_to_ucs): New variable.
3828 (ucs_to_latin_viscii_lower): New variable.
3829 (Vcharset_latin_viscii_upper): New variable.
3830 (latin_viscii_upper_to_ucs): New variable.
3831 (ucs_to_latin_viscii_upper): New variable.
3832 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3833 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3834 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3835 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3836 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3837 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3838 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3839 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3840 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3841 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3843 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3844 (Vcharset_latin_viscii_upper): New variable.
3845 (make_byte_from_character_table): New function.
3846 (put_byte_from_character_table): New function.
3847 (get_byte_from_character_table): New function.
3848 (CHAR96): New macro.
3849 (ucs_to_latin_jisx0201): New variable.
3850 (latin_jisx0201_to_ucs): New variable.
3851 (ucs_to_latin_iso8859_2): New variable.
3852 (latin_iso8859_2_to_ucs): New variable.
3853 (ucs_to_latin_iso8859_3): New variable.
3854 (latin_iso8859_3_to_ucs): New variable.
3855 (ucs_to_latin_iso8859_4): New variable.
3856 (latin_iso8859_4_to_ucs): New variable.
3857 (ucs_to_latin_iso8859_9): New variable.
3858 (latin_iso8859_9_to_ucs): New variable.
3859 (ucs_to_latin_viscii_lower): New variable.
3860 (latin_viscii_lower_to_ucs): New variable.
3861 (ucs_to_latin_viscii_upper): New variable.
3862 (latin_viscii_upper_to_ucs): New variable.
3863 (ucs_to_latin_tcvn5712): New variable.
3864 (latin_tcvn5712_to_ucs): New variable.
3865 (Qlatin_viscii_lower): New variable.
3866 (Qlatin_viscii_upper): New variable.
3867 (syms_of_mule_charset): Set up new symbol
3868 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3869 (complex_vars_of_mule_charset): Set up new charset
3870 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3871 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3872 `ucs_to_<CHARSET>' tables.
3874 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3876 * text-coding.c: New file.
3878 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3880 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3882 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3883 (MAKE_CHAR): Modify for `ucs-bmp'.
3884 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3885 non-MULE characters of BMP.
3887 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3889 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3892 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3895 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3896 - Include character.h for `CHAR_ASCII_P'.
3898 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3900 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3901 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3903 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3904 (BYTE_C0_P): Likewise.
3905 (BYTE_C1_P): Likewise.
3906 (Lstream_get_emchar_1): Likewise.
3907 (Lstream_fput_emchar): Likewise.
3908 (Lstream_funget_emchar): Likewise.
3909 (copy_internal_to_external): Likewise.
3910 (copy_external_to_internal): Likewise.
3912 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3913 (BYTE_C0_P): Likewise.
3914 (BYTE_C1_P): Likewise.
3915 (Lstream_get_emchar_1): Likewise.
3916 (Lstream_fput_emchar): Likewise.
3917 (Lstream_funget_emchar): Likewise.
3918 (copy_internal_to_external): Likewise.
3919 (copy_external_to_internal): Likewise.
3921 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3922 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3924 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3925 (BYTE_ASCII_P): Moved to mb-1byte.h.
3927 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3929 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3931 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3932 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3933 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3934 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3935 (VALIDATE_CHARPTR_FORWARD): Likewise.
3936 (simple_charptr_emchar): Moved to mb-multibyte.h.
3937 (simple_set_charptr_emchar): Likewise.
3938 (simple_charptr_copy_char): Likewise.
3939 (non_ascii_charptr_emchar): Likewise.
3940 (non_ascii_set_charptr_emchar): Likewise.
3941 (non_ascii_charptr_copy_char): Likewise.
3942 (charptr_emchar): Moved to mb-*byte.h.
3943 (set_charptr_emchar): Likewise.
3944 (charptr_copy_char): Likewise.
3946 * mb-1byte.h, mb-multibyte.h: New files.
3948 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3950 * mb-utf-8.h (MULTIBYTE): New macro.
3951 (MAX_EMCHAR_LEN): Moved from buffer.h.
3952 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3954 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3956 * mb-lb.h, multibyte.h: New files.
3958 * char-1byte.h (Charset_ID): Moved from buffer.h.
3959 (MIN_LEADING_BYTE): Likewise.
3960 (LEADING_BYTE_ASCII): Likewise.
3961 (NUM_LEADING_BYTES): Likewise.
3962 (CHARSETP): Likewise.
3963 (CHARSET_BY_LEADING_BYTE): Likewise.
3964 (XCHARSET_LEADING_BYTE): Likewise.
3965 (XCHARSET_GRAPHIC): Likewise.
3966 (XCHARSET_COLUMNS): Likewise.
3967 (XCHARSET_DIMENSION): Likewise.
3968 (CHAR_CHARSET): Likewise.
3969 (CHAR_LEADING_BYTE): Likewise.
3970 (BREAKUP_CHAR): Likewise.
3971 (Vcharset_ascii): Likewise.
3973 * buffer.h: Include multibyte.h unconditionally.
3974 (VALID_CHARPTR_P): Moved to multibyte.h.
3975 (ASSERT_VALID_CHARPTR): Likewise.
3976 (REAL_INC_CHARPTR): Likewise.
3977 (REAL_INC_CHARBYTIND): Likewise.
3978 (REAL_DEC_CHARPTR): Likewise.
3979 (INC_CHARPTR): Likewise.
3980 (INC_CHARBYTIND): Likewise.
3981 (DEC_CHARPTR): Likewise.
3982 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3983 (VALIDATE_CHARPTR_FORWARD): Likewise.
3984 (charptr_n_addr): Likewise.
3985 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3986 (simple_charptr_emchar): Moved to multibyte.h.
3987 (simple_set_charptr_emchar): Likewise.
3988 (simple_charptr_copy_char): Likewise.
3989 (non_ascii_charptr_emchar): Likewise.
3990 (non_ascii_set_charptr_emchar): Likewise.
3991 (non_ascii_charptr_copy_char): Likewise.
3992 (charptr_emchar): Likewise.
3993 (set_charptr_emchar): Likewise.
3994 (charptr_copy_char): Likewise.
3995 (charptr_emchar_n): Likewise.
3996 (Charset_ID): Moved to char-1byte.h.
3997 (Vcharset_ascii): Likewise.
3998 (CHAR_CHARSET): Likewise.
3999 (CHAR_LEADING_BYTE): Likewise.
4000 (LEADING_BYTE_ASCII): Likewise.
4001 (NUM_LEADING_BYTES): Likewise.
4002 (MIN_LEADING_BYTE): Likewise.
4003 (CHARSETP): Likewise.
4004 (CHARSET_BY_LEADING_BYTE): Likewise.
4005 (XCHARSET_LEADING_BYTE): Likewise.
4006 (XCHARSET_GRAPHIC): Likewise.
4007 (XCHARSET_COLUMNS): Likewise.
4008 (XCHARSET_DIMENSION): Likewise.
4009 (BREAKUP_CHAR): Likewise.
4011 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4013 * character.h: Add document about interface for characters.
4015 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4016 (MAKE_CHAR): Delete comment about
4017 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4018 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4019 (BREAKUP_CHAR): Modify name of arguments.
4020 (CHAR_CHARSET): Modify name of argument.
4022 * buffer.h: Delete document about Emchar accessors.
4024 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4026 * character.h (CHAR_INTP): Moved from buffer.h
4027 (CHAR_OR_CHAR_INTP): Likewise.
4028 (XCHAR_OR_CHAR_INT): Likewise.
4029 (CHECK_CHAR_COERCE_INT): Likewise.
4031 * buffer.h (CHAR_INTP): Moved to character.h
4032 (CHAR_OR_CHAR_INTP): Likewise.
4033 (XCHAR_OR_CHAR_INT): Likewise.
4034 (CHECK_CHAR_COERCE_INT): Likewise.
4036 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4039 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4040 - Include char-1byte.h, char-lb.h or char-ucs.h.
4042 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4044 * buffer.h: Include character unconditionally.
4045 (valid_char_p): Moved to char-*.h.
4046 (non_ascii_valid_char_p): Moved to char-lb.h.
4048 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4050 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4052 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4053 in UTF-2000 because it is not ported yet and not to use
4054 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4055 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4056 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4058 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4059 (CHAR_ASCII_P): Moved from character.h.
4061 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4062 (CHAR_ASCII_P): Likewise.
4063 (CHAR_FIELD1_MASK): Deleted.
4064 (CHAR_FIELD2_MASK): Deleted.
4065 (CHAR_FIELD3_MASK): Deleted.
4066 (MAX_CHAR_BASIC_LATIN): New macro.
4067 (CHAR_FIELD1): Deleted.
4068 (CHAR_FIELD2_INTERNAL): Deleted.
4069 (CHAR_FIELD3_INTERNAL): Deleted.
4070 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4071 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4072 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4073 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4074 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4075 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4076 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4077 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4078 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4079 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4080 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4081 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4082 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4083 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4084 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4085 (MIN_CHAR_COMPOSITION): Deleted.
4086 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4087 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4089 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4091 * buffer.h: Include mb-utf-8.h in UTF-2000.
4093 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4095 * mb-utf-8.h: New file.
4097 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4099 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4102 * mule-charset.h, buffer.h (Charset_ID): New type.
4104 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4106 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4107 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4108 instead of `MULE_CHAR_PRIVATE_OFFSET',
4109 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4110 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4111 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4113 * character.h (Vcharset_japanese_jisx0212): New variable
4116 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4118 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4119 (charset_by_attributes): Delete array about direction.
4120 (latin_a_char_to_charset): New variable in UTF-2000.
4121 (latin_a_char_to_byte1): New variable in UTF-2000.
4122 (latin_a_char_to_byte2): New variable in UTF-2000.
4123 (Qucs_bmp): New variable.
4124 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4126 (next_allocated_2_byte_leading_byte): Likewise.
4127 (non_ascii_set_charptr_emchar): Likewise.
4128 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4129 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4130 `charset_by_attributes'.
4131 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4132 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4133 and `CHARSET_BY_LEADING_BYTE'.
4134 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4135 `utf-2000-version' to `vars_of_mule_charset'.
4136 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4137 define `leading-code-private-11' in UTF-2000; move setting of
4138 `utf-2000-version' from `syms_of_mule_charset'.
4139 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4142 * character.h (Charset_ID): New type.
4143 (LEADING_BYTE_UCS_BMP): New macro.
4144 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4145 (CHARSET_ID_OFFSET_94): New macro.
4146 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4147 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4148 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4150 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4151 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4152 (CHARSET_ID_OFFSET_96): New macro.
4153 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4154 CHARSET_ID_OFFSET_96 and final-byte.
4155 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4156 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4157 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4158 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4159 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4160 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4161 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4162 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4163 (LEADING_BYTE_THAI_TIS620): Likewise.
4164 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4165 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4166 (CHARSET_ID_OFFSET_94x94): New macro.
4167 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4168 CHARSET_ID_OFFSET_94x94 and final-byte.
4169 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
4170 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
4171 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
4172 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
4173 (LEADING_BYTE_CHINESE_GB2312): Likewise.
4174 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
4175 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
4176 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
4177 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
4178 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
4179 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
4180 (CHARSET_TYPE_128X128): New macro.
4181 (CHARSET_TYPE_256X256): New macro.
4182 (XCHARSET_PRIVATE_P): Delete unconditionally.
4183 (charset_by_attributes): Delete array about direction.
4184 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
4185 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
4186 (MIN_CHAR_94): New macro.
4187 (MAX_CHAR_94): New macro.
4188 (MIN_CHAR_96): New macro.
4189 (MAX_CHAR_96): New macro.
4190 (MIN_CHAR_94x94): New macro.
4191 (MAX_CHAR_94x94): New macro.
4192 (MIN_CHAR_96x96): New macro.
4193 (MAX_CHAR_96x96): New macro.
4194 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
4195 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4196 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
4198 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
4199 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
4200 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
4201 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
4202 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
4203 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
4204 `XCHARSET_LEADING_BYTE' to make code-point.
4205 (latin_a_char_to_charset): New variable.
4206 (latin_a_char_to_byte1): New variable.
4207 (latin_a_char_to_byte2): New variable.
4208 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4209 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4210 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4212 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4213 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4214 (find_charsets_in_emchar_string): Likewise.
4215 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4217 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4219 (decode_coding_iso2022): Likewise.
4221 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4224 * redisplay.c (redisplay_text_width_emchar_string): Use
4225 `Charset_ID' instead of `unsigned char'.
4226 (redisplay_frame_text_width_string): Likewise.
4228 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4231 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4232 instead of `unsigned char'.
4233 (face_cachel_charset_font_metric_info): Likewise.
4235 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4236 (get_non_ascii_char_table_value): Likewise.
4237 (get_char_table): Likewise.
4238 (put_char_table): Likewise.
4239 (map_over_other_charset): Likewise.
4240 (map_char_table): Likewise.
4242 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4243 instead of `unsigned char'.
4245 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4247 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4248 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4250 * mule-charset.c (leading_code_private_11): Don't define in
4253 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4254 in UTF-2000 because it is not ported yet and not to use
4255 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4257 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4259 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4261 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4263 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4266 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4267 of unsigned char to store leading-byte.
4269 * chartab.c (get_non_ascii_char_table_value): Don't use
4270 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4272 * file-coding.c (encode_coding_big5): Delete bogus implementation
4275 * character.h (LEADING_BYTE_*): Delete definition for
4277 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4278 (LEADING_BYTE_PREFIX_P): Deleted.
4279 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4280 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4281 (BUFBYTE_LEADING_BYTE_P): Deleted.
4282 (CHARSET_PRIVATE_P): Deleted unconditionally.
4283 (rep_bytes_by_first_byte): Deleted unconditionally.
4284 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4285 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4286 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4287 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4288 (CHAR_FIELD2): Deleted.
4289 (CHAR_FIELD3): Deleted.
4290 (MAKE_CHAR): Delete definition for non-UTF-2000.
4291 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4292 (breakup_char_1): New implementation.
4293 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4294 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4296 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4298 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4301 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4303 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4304 (CHARSET_PRIVATE_P): Likewise.
4305 (XCHARSET_PRIVATE_P): Likewise.
4306 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4308 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4310 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4312 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4314 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4315 (NUM_LEADING_BYTES): Changed from 128 to 256.
4316 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4317 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4319 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4321 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4323 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4324 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4325 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4326 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4327 (Qchinese_cns11643_3): New variable in UTF2000.
4328 (Qchinese_cns11643_4): New variable in UTF2000.
4329 (Qchinese_cns11643_5): New variable in UTF2000.
4330 (Qchinese_cns11643_6): New variable in UTF2000.
4331 (Qchinese_cns11643_7): New variable in UTF2000.
4332 (syms_of_mule_charset): Define `chinese-cns11643-3',
4333 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4334 and `chinese-cns11643-7' in UTF2000.
4335 (vars_of_mule_charset): Initialize
4336 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4338 (complex_vars_of_mule_charset): Setup charset
4339 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4340 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4342 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4344 * mule-charset.c: Move setting for `leading-code-private-11' from
4345 `syms_of_mule_charset' to `vars_of_mule_charset'.
4347 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4349 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4350 and `NUM_LEADING_BYTES' in assert.
4352 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4354 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4356 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4357 `NUM_LEADING_BYTES' instead of 128.
4359 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4361 * mule-charset.h (charset_by_leading_byte): Use
4362 `NUM_LEADING_BYTES' instead of 128.
4363 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4365 * mule-charset.c (charset_by_leading_byte): Use
4366 `NUM_LEADING_BYTES' instead of 128.
4367 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4369 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4372 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4374 * mule-charset.c (syms_of_mule_charset): Update to
4377 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4379 * file-coding.c (encode_coding_sjis): New implementation for
4380 UTF2000. (decode_coding_sjis): Ditto.
4382 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4384 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4385 Don't define in UTF2000.
4387 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4390 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4391 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4394 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4396 * config.h.in (CHAR_IS_UCS4): New macro.
4398 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4399 conventional MULE representation.
4400 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4402 * mule-charset.h: Reverted to original.
4404 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4405 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4406 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4408 * character.h: New file.
4410 * file-coding.c (Fmake_coding_system): Set 1 to
4411 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4413 (encode_coding_no_conversion): New implementation for UTF2000.
4415 * file-coding.h (struct Lisp_Coding_System): Add new member
4418 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4420 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4421 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4422 (encode_coding_iso2022): New implementation for UTF2000.
4424 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4426 * mule-canna.c (c2mu): New implementation for UTF2000.
4429 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4431 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4433 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4435 * file-coding.c (reset_encoding_stream): Set 0 to
4436 `str->iso2022.current_char_boundary' in UTF2000.
4437 (encode_utf8): Don't define in UTF2000.
4438 (encode_coding_utf8): New implementation for UTF-8 representation
4440 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4442 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4444 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4446 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4448 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4450 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4452 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4453 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4454 as UTF-8 in UTF2000.
4455 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4456 (non_ascii_valid_char_p): Don't define in UTF2000.
4457 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4458 (Lstream_get_emchar_1): Likewise.
4459 (utf-2000-version): New variable in UTF2000.
4461 * lread.c (read_escape): Add new reader `u'.
4463 * insdel.c (three_to_one_table): Don't define in UTF2000.
4464 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4465 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4467 (bytind_to_bufpos_func): Likewise.
4468 (buffer_mule_signal_inserted_region): Likewise.
4469 (vars_of_insdel): Don't initialize `three_to_one_table'.
4470 (init_buffer_text): Use `buf->text->mule_size' instead of
4471 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4474 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4475 UTF-8 representation in UTF2000.
4476 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4477 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4478 (decode_coding_iso2022): Don't define local variable `lb' in
4479 UTF2000; don't use LEADING_BYTE in UTF2000; use
4480 `DECODE_ADD_UCS_CHAR' in UTF2000.
4481 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4483 * config.h.in (UTF2000): New macro.
4485 * buffer.h (struct buffer_text): Add new member `mule_size' and
4486 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4487 (valid_char_p): Return always 1 in UTF2000.
4488 (MAX_EMCHAR_LEN): 6 in UTF2000.
4489 (three_to_one_table): Don't define in UTF2000.
4490 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4492 (real_bytind_to_bufpos): Likewise.
4494 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4496 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4498 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4499 representation change.
4500 (Vutf_2000_version): New variable.
4501 (leading_code_private_11): New variable.
4502 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4503 `leading-code-private-11'.
4505 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4506 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4507 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4508 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4509 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4510 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4511 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4512 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4513 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4514 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4515 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4516 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4517 (MIN_CHAR_GREEK): New macro.
4518 (MAX_CHAR_GREEK): New macro.
4519 (MIN_CHAR_CYRILLIC): New macro.
4520 (MAX_CHAR_CYRILLIC): New macro.
4521 (MIN_CHAR_HEBREW): New macro.
4522 (MAX_CHAR_HEBREW): New macro.
4523 (MIN_CHAR_THAI): New macro.
4524 (MAX_CHAR_THAI): New macro.
4525 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4526 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4527 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4528 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4529 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4530 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4531 (CHAR_FIELD2): New inline function.
4532 (CHAR_FIELD3): New inline function.
4533 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4534 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4535 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4536 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4537 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4538 (MIN_CHAR_COMPOSITION): Likewise.
4539 (CHAR_LEADING_BYTE): Modified for character representation change.
4540 (MAKE_CHAR): Likewise.
4542 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4543 (Vcharset_greek_iso8859_7): Likewise.
4544 (Vcharset_cyrillic_iso8859_5): Likewise.
4545 (Vcharset_hebrew_iso8859_8): Likewise.
4546 (Vcharset_thai_tis620): Likewise.
4547 (Vcharset_katakana_jisx0201): Likewise.
4549 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
4551 * XEmacs 21.4.10 "Military Intelligence" is released.
4553 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
4555 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
4556 using the NAS private array SoundFileInfo that no longer exists in
4557 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
4558 and earlier. This is broken for some versions between 1.5a and
4561 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
4563 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
4565 * emacs.c (shut_down_emacs): Improve crash message.
4567 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
4569 * file-coding.c (determine_real_coding_system): Check for coding
4570 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
4571 shebangs and Python PEP 263.
4573 2002-10-08 Andy Piper <andy@xemacs.org>
4575 * glyphs-widget.c (layout_query_geometry): only resize dynamically
4576 if static sizes haven't been set.
4578 2002-08-30 Mike Alexander <mta@arbortext.com>
4580 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
4583 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
4585 * callproc.c (child_setup): 21.4 doesn't have retry_close.
4587 2002-09-20 Mike Sperber <mike@xemacs.org>
4589 (This partially gets back my patch from 2002-07-20 without the
4591 * callproc.c (child_setup): Remove Ben's comment noting confusion
4592 over the file descriptors >= 3: close_process_descs() doesn't
4593 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
4594 * process-unix.c (unix_create_process): Call
4595 begin_dont_check_for_quit to inhibit unwanted interaction (and
4596 thus breaking of X event synchronicity) in the child.
4598 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
4600 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
4603 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
4605 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
4606 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
4607 the xemacs process did not exit, but looped infinitely here. This
4610 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
4612 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
4613 (find_context): Improve comments.
4615 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
4616 (re_match_2): An XCHAR_TABLE operation was missing.
4618 Many of the following changes were inspired by Andy Piper's (now
4619 obsolete) patch to make syntax-table text property lookup optional.
4623 * syntax.h (top level): Document semantics of syntax flags.
4624 * syntax.c (comstr_start, Fforward_comment): Improve comments.
4625 * syntax.c, syntax.h (top level): Document syntax cache better in
4628 [Instrument syntax caching (temporary change)]
4630 * syntax.h (enum syntax_cache_statistics_functions, struct
4631 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
4632 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
4633 * syntax.c (scan_words, Fforward_comment, scan_lists,
4634 Fbackward_prefix_characters):
4635 * font-lock.c (find_context):
4636 Use them to instrument syntax caching.
4637 * syntax.c (struct syntax_cache_statistics, scs_statistics,
4638 syntax_cache_statistics_function_names): New type and variables.
4639 * syntax.c (update_syntax_cache): Update and report statistics.
4641 [Major syntax cache optimizations]
4643 syntax.c (lookup_syntax_properties): Default off.
4645 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
4646 * syntax.c (update_syntax_cache):
4647 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
4649 [Minor syntax cache optimizations and code clarifications]
4651 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
4652 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
4653 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
4654 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
4655 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
4656 (Code clarification.)
4658 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
4659 scan_lists): Compute code from syncode, use Boolean macros instead
4660 of redundant masking operations. (Code clarification; any decent
4661 compiler can do this optimization.)
4663 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
4666 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
4667 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
4668 use F*_single_property_change instead of F*_extent_change.
4669 Currently F*_single_property_change is _much_ less efficient.
4671 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
4672 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
4673 syntax_cache.object properly, don't leave Qt or Qnil.
4674 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
4675 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
4676 tests for Qt or Qnil.
4678 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
4680 * redisplay.c (point_in_line_start_cache):
4681 * extents.c (print_extent_1):
4684 * extents.c (Fset_extent_property): Document `syntax-table' property.
4686 * extents.h (Fnext_single_property_change): EXFUN it.
4688 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
4690 * search.c (clear_unused_search_regs): New static function.
4694 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
4695 Minor clarifications in comments.
4697 * regex.c (re_match_2_internal): Ensure no stale submatches.
4699 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
4701 * event-Xt.c (enqueue_focus_event): Add missing prototype.
4703 2002-08-29 Jerry James <james@xemacs.org>
4705 * lisp.h: structrures -> structures.
4707 2002-06-03 Andy Piper <andy@xemacs.org>
4709 * frame.c (frame_conversion_internal): add conversion appropriate
4710 for setting frame dimensions in pixels.
4712 * console.h (struct console_methods): add device-specific widget
4715 * emacs.c (main_1): initialize glyph vars.
4717 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
4718 (handle_focus_event_2): new function. Allow focus to
4719 be set to a particular window and widget.
4720 (enqueue_focus_event): new function. Create a
4721 synthetic focus event.
4722 (emacs_Xt_handle_magic_event): call
4723 handle_focus_event_2.
4725 * frame.c (Fset_frame_pixel_height): new function. Allow
4726 pixel-based sizing. Does the right thing on character-oriented
4728 (Fset_frame_pixel_width): ditto.
4729 (Fset_frame_pixel_size): ditto.
4730 (syms_of_frame): declare.
4732 * general-slots.h: add :vertically-justify and
4733 :horizontally-justify.
4735 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
4736 (mswindows_widget_border_width): new function.
4737 (mswindows_combo_box_instantiate): set border widths.
4738 (console_type_create_glyphs_mswindows): declare.
4741 (check_valid_justification): allow vertical and horizontal
4743 (widget_border_width): new function. Call device methods.
4744 (widget_instance_border_width): ditto.
4745 (logical_unit_height): new function. Determine the height of a
4746 logical-unit. Logical units are intended to provide grid-like
4747 layout for subcontrols in a layout. If the layout is
4748 :vertically-justify top then subcontrols will be positioned on
4749 logical-unit boundaries, thus allowing adjacent subcontrols to
4751 (widget_logical_unit_height): ditto for widgets.
4752 (redisplay_widget): misc cleanup.
4753 (widget_spacing): new function. Call device specific
4754 methods. Intended to be the default gap between adjacent widgets.
4755 (widget_query_geometry): use new spacing functions to determine
4756 appropriate geometry.
4757 (initialize_widget_image_instance): initialize horizontal and
4758 vertical justification.
4759 (widget_instantiate): use logica-units where appropriate for
4760 sizing large widgets.
4761 (button_query_geometry): use widget_instance_border_width.
4762 (tree_view_query_geometry): ditto.
4763 (tab_control_query_geometry): ditto.
4764 (edit_field_query_geometry): new function.
4765 (layout_update): pick up :justify, :horizontally-justify and
4766 :vertically-justify none of which worked previously. :justify is
4767 used as a fallback for both horizontal and vertical justification.
4768 (layout_query_geometry): use logical units to size appropriately.
4769 (layout_layout): ditto.
4770 (Fwidget_logical_to_character_width): new function. Allow users to
4771 convert from logical units to characters so that frame sizes can
4772 be set appropriately.
4773 (Fwidget_logical_to_character_height): ditto.
4774 (syms_of_glyphs_widget): declare.
4775 (image_instantiator_edit_fields): add edit_field_query_geometry.
4776 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
4777 :horizontally-justify.
4778 (specifier_vars_of_glyphs_widget): new function. Declare
4779 Vwidget_border_width which is not yet used.
4781 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
4782 (x_widget_border_width): new function.
4783 (x_widget_instantiate): create a sensible name for widgets.
4784 (console_type_create_glyphs_x): declare x_widget_border_width.
4786 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
4787 (struct Lisp_Image_Instance): add :vertically-justify and
4788 :horizontally-justify.
4789 (LAYOUT_JUSTIFY_TOP): new.
4790 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
4791 (ROUND_UP): new macro. Round argument up to next integral
4794 * redisplay-output.c (redisplay_output_layout): misc formatting.
4796 * symsinit.h: declare specifier_vars_of_glyphs_widget.
4798 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
4800 * XEmacs 21.4.9 "Informed Management" is released.
4802 2002-08-19 Andy Piper <andy@xemacs.org>
4804 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
4807 * realpath.c (xrealpath): normalize drive spec also so that dir
4808 sep chars are not mixed on cygwin.
4810 2002-08-06 Jerry James <james@xemacs.org>
4812 * window.c (Fsplit_window): Count only half of the divider width
4813 against the left window when splitting horizontally.
4815 2002-06-24 Andy Piper <andy@xemacs.org>
4817 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
4818 toolbar was cleared.
4820 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
4821 function. Split out from mswindows_output_frame_toolbars.
4822 (mswindows_output_frame_toolbars): move clear pieces to
4823 mswindows_output_frame_toolbars.
4825 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
4826 out from gtk_output_frame_toolbars.
4827 (gtk_output_frame_toolbars): move clear pieces to
4828 gtk_clear_frame_toolbars.
4830 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
4831 the frame is cleared. How this ever worked before is a mystery.
4832 (x_output_frame_toolbars): Only output toolbars.
4833 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
4835 * gutter.c (update_gutter_geometry):
4836 Mark frame layout changed.
4837 (update_frame_gutter_geometry, update_frame_gutters):
4838 Respect frame_layout_changed.
4840 * console.h (struct console_methods): add
4841 clear_frame_toolbars_method.
4843 * redisplay.c (redisplay_frame): call
4844 update_frame_toolbars_geometry and re-order update_frame_toolbars.
4846 * toolbar.h: declare update_frame_toolbars_geometry.
4848 * toolbar.c (update_frame_toolbars_geometry): new function. Split
4849 out from update_frame_toolbars. Call clear_frame_toolbars.
4850 (update_frame_toolbars): only output, do not change geometry.
4852 * redisplay.c: add frame_layout_changed.
4854 * redisplay.h: add frame_layout_changed.
4855 (CLASS_RESET_CHANGED_FLAGS): set it.
4856 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
4857 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
4858 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
4860 * device.h (struct device): add frame_layout_changed.
4861 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
4863 * frame.h (struct frame): add frame_layout_changed.
4864 (MARK_FRAME_LAYOUT_CHANGED): new.
4866 2002-06-30 Mike Alexander <mta@arbortext.com>
4868 * event-msw.c (mswindows_need_event): Don't wait for a new message
4869 if the queue is not empty. Suggested by Paul Moore.
4871 2002-06-12 Andy Piper <andy@xemacs.org>
4873 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
4874 for printing on accurately.
4876 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
4878 * event-msw.c (mswindows_wnd_proc): Add a handler for the
4879 WM_ACTIVATE message. Make sure that the frame is visible if the
4880 window is visible. This seemss to fix the problem where XEmacs
4881 appears to freeze after switching desktops with certain virtual
4883 (debug_output_mswin_message): Added code to output message
4884 parameters for WM_WINDOWPOSCHANGED,
4885 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
4887 2002-05-25 Andy Piper <andy@xemacs.org>
4889 * select-x.c (vars_of_select_x): Fix docstring of
4890 x-selection-strict-motif-ownership
4892 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
4894 * keymap.c (get_keymap):
4895 Add comment about do_autoload GCPROs own args.
4897 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
4899 * bytecode.c (execute_optimized_program): check_opcode ifdef
4900 ERROR_CHECK_BYTE_CODE.
4902 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
4904 Thanks to Ben Wing and Michael Sperber.
4906 * eval.c (Fcommand_execute):
4909 (Fmacroexpand_internal):
4910 (function_argcount):
4911 callint.c (Fcall_interactively):
4912 Add comment about do_autoload GCPROs own args.
4914 * (do_autoload): GCPRO both args as well as local Lisp_Object.
4916 * eval.c (Ffuncall): Extra braces to placate GCC.
4918 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
4920 * backtrace.h (grow_specpdl):
4922 * EmacsFrame.c (EmacsFrameSetValues):
4923 * eval.c (grow_specpdl):
4924 * ExternalShell.c (hack_event_masks_1):
4925 * glyphs-x.c (convert_EImage_to_XImage):
4926 (x_finalize_image_instance):
4927 * ralloc.c (page_size):
4929 * xgccache.c (gc_cache_hash):
4930 Fix unsigned comparison warnings.
4932 2002-07-29 Jerry James <james@xemacs.org>
4934 * lread.c (locate_file): Any nonnegative return value indicates
4935 success if MODE is nonnegative.
4937 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
4939 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
4942 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
4944 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
4946 * dumper.c (pdump_get_indirect_count):
4947 (pdump_scan_by_alignment):
4948 (pdump_dump_root_struct_ptrs):
4949 (pdump_dump_rtables):
4950 (pdump_dump_root_objects):
4952 * nas.c (WaveOpenDataForReading):
4953 * fns.c (print_bit_vector):
4954 * font-lock.c (SINGLE_SYNTAX_STYLE):
4955 * glyphs.c (check_for_ignored_expose):
4956 (find_matching_subwindow):
4958 * imgproc.c (get_histogram):
4959 * redisplay.c (point_in_line_start_cache):
4960 * redisplay-output.c (redisplay_unmap_subwindows):
4961 * symbols.c (defsymbol_massage_name_1):
4962 (defkeyword_massage_name):
4963 (deferror_massage_name_and_message):
4964 * redisplay-x.c (x_output_string):
4965 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
4966 * frame.h (struct frame):
4967 * filelock.c (current_lock_owner):
4968 * doprnt.c (emacs_doprnt_1):
4969 * lisp.h (struct Lisp_Bit_Vector):
4973 2002-02-13 Ben Wing <ben@xemacs.org>
4975 * event-stream.c (reset_key_echo):
4976 * event-stream.c (reset_this_command_keys):
4977 * event-stream.c (execute_command_event):
4978 If console is dead as a result of C-x 5 0, then post-command stuff
4979 needs to be careful and do only non-console-specific stuff.
4981 2002-07-01 Mike Sperber <mike@xemacs.org>
4983 * process-unix.c (unix_send_process): Mark coding_outstream as
4984 non-open upon SIGPIPE.
4986 * event-stream.c (Fnext_event): Reorder switch cases to something
4989 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
4991 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
4992 Don't bogusly reinitialize ascii_character property.
4994 2002-07-08 Mike Sperber <mike@xemacs.org>
4996 * process.c (Fstart_process_internal): Do error checking before we
4997 fork off the child, so the child can't muck with the state of the
5000 2002-07-08 Mike Sperber <mike@xemacs.org>
5002 * ralloc.c (init_ralloc): Allocate properly for pdump.
5004 2002-06-12 Andy Piper <andy@xemacs.org>
5006 * glyphs.c (query_string_geometry): check the string.
5008 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5011 2002-06-17 Jerry James <james@xemacs.org>
5013 * sysdll.c: Remove RTLD_GLOBAL initialization.
5014 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5016 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5018 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5020 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5022 * sysdep.c (sys_rename): Make sys_rename work for the case where
5023 Windows rename sets errno to EACCES if target file exists.
5025 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
5027 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5028 Fix detection of metric units to work on Win95
5030 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
5032 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
5034 2002-04-25 Andy Piper <andy@xemacs.org>
5036 * redisplay.c (create_text_block): Remove extra comment trailer.
5038 2002-04-24 Andy Piper <andy@xemacs.org>
5040 * redisplay.c (create_text_block): Don't actually add propagation
5041 data if the line ends after we have added a glyph.
5043 2002-04-22 Andy Piper <andy@xemacs.org>
5045 * extents.c (extent_fragment_update): check for glyphs we have
5046 previously displayed.
5047 * extents.c (print_extent_1): warning removal.
5048 * extents.h: change prototype.
5049 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
5050 widths correctly for wide glyphs.
5051 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
5052 * redisplay.c (prop_type): add PROP_GLYPH.
5053 * redisplay.c (struct prop_block): add glyph type
5054 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
5055 to the propagation data.
5056 * redisplay.c (create_text_block): if there is a glyph in the
5057 propagation data use it to salt extent_fragment_update.
5058 * redisplay.c (create_string_text_block): ditto.
5060 2002-04-13 Nix <nix@esperi.demon.co.uk>
5062 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
5063 * redisplay-output.c (compare_runes): Compare them.
5064 * redisplay.c: Update copyright date.
5065 * redisplay.c (pos_data): Add need_baseline_computation field.
5066 * redisplay.c (add_glyph_rune): Update ascent, descent, and
5067 need_baseline_computation; zero yoffset. Set max_pixmap_height
5068 for all pixmaps, not just automatically positioned ones.
5069 * redisplay.c (calculate_yoffset): New, compute yoffset values.
5070 * redisplay.c (calculate_baseline): New, compute textual baseline.
5071 * redisplay.c (add_glyph_rune): Call them.
5072 * redisplay.c (create_text_block): Likewise.
5073 * redisplay.c (create_overlay_glyph_block): Likewise.
5074 * redisplay.c (add_margin_runes): Likewise.
5075 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
5077 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
5078 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
5079 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
5080 * redisplay-msw.c (mswindows_output_string): Likewise.
5081 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
5082 * redisplay-gtk.c (gtk_output_display_block): Likewise.
5083 * redisplay-x.c (x_output_display_block): Likewise.
5085 2002-03-28 Ben Wing <ben@xemacs.org>
5087 * redisplay.c: Fixed bug in redisplay
5088 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
5089 and down of the lines, since they're bigger than the line
5090 size. (It was seen most obviously when there's a horizontal scroll
5091 bar, e.g. do C-h a glyph or something like that.) The problem was
5092 that the glyph-contrib-p setting on glyphs was ignored even if it
5093 was set properly, which it wasn't until now.
5095 2002-04-24 Andy Piper <andy@xemacs.org>
5097 * lisp.h (Dynarr_end): Fix definition.
5099 2002-02-06 Adrian Aichner <adrian@xemacs.org>
5101 * redisplay.c (mark_redisplay): Remove call to
5102 update_frame_window_mirror.
5104 2001-11-15 Andy Piper <andy@xemacs.org>
5106 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
5109 2002-02-13 Andy Piper <andy@xemacs.org>
5111 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
5112 we did in fact enqueue the XM_MAPFRAME event.
5114 2002-01-15 Adrian Aichner <adrian@xemacs.org>
5116 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
5117 to fix problem switching between virtual desktops under virtuawin
5118 virtual window manager.
5120 2001-07-30 Adrian Aichner <adrian@xemacs.org>
5122 * event-msw.c: Typo fix.
5123 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
5124 magic XM_MAPFRAME event has been sent.
5126 2001-11-23 Andy Piper <andy@xemacs.org>
5128 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
5130 2001-11-21 Andy Piper <andy@xemacs.org>
5132 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
5133 mouse events outside the frame.
5135 2002-03-20 Andy Piper <andy@xemacs.org>
5137 * menubar-msw.c (mswindows_popup_menu): warning removal.
5138 * dialog-msw.c (dialog_popped_down): ditto.
5140 2001-12-11 Andy Piper <andy@xemacs.org>
5142 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
5143 * dialog-msw.c (mswindows_make_dialog_box_internal): set
5145 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
5146 * menubar-msw.c (mswindows_handle_wm_command): ditto.
5147 * menubar-msw.c (mswindows_popup_menu): ditto.
5149 2001-10-29 Andy Piper <andy@xemacs.org>
5151 * dialog-msw.c (handle_directory_dialog_box): quit if the user
5154 2002-01-03 Andy Piper <andy@xemacs.org>
5156 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
5160 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
5162 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
5163 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
5164 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5165 Detect and handle case where machine is set up for metric units
5167 2002-04-02 Andy Piper <andy@xemacs.org>
5169 * dired-msw.c (mswindows_get_files):
5170 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
5171 completely handled by XEmacs. Suggested by Thomas Vogler
5172 <mail@thomas-vogler.de>.
5174 2001-11-14 Andy Piper <andy@xemacs.org>
5176 * nt.c (REG_ROOT): change registry key to XEmacs.
5178 2002-04-27 Andy Piper <andy@xemacs.org>
5180 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
5182 2002-04-26 Andy Piper <andy@xemacs.org>
5184 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
5187 2002-03-14 Mike Alexander <mta@arbortext.com>
5189 * event-msw.c (mswindows_unwait_process): New, remove process from
5191 * process-nt.c (nt_finalize_process_data): Call
5192 mswindows_unwait_process
5193 * console-msw.h: Declare mswindows_unwait_process
5195 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
5197 * editfns.c (Fdecode_time):
5198 (Fformat_time_string):
5199 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
5200 (make_time): Warning elimination (change arg name).
5202 2001-11-24 Andy Piper <andy@xemacs.org>
5204 * window.c (Fsplit_window): Doc return type.
5206 2002-04-01 Andy Piper <andy@xemacs.org>
5208 * emacs.c (Fkill_emacs): Only output message box in interactive
5211 2002-04-26 Andy Piper <andy@xemacs.org>
5213 * config.h.in: pull in 21.5.x change to stop alloca warnings under
5216 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
5218 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
5221 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
5223 * XEmacs 21.4.8 "Honest Recruiter" is released.
5225 2002-05-07 Nix <nix@esperi.demon.co.uk>
5227 Supersedes 2002-04-17 patch.
5229 * process.h (PROCESS_LIVE_P): Use the process status as
5230 evidence of health, not the state of the input stream.
5231 (PROCESS_READABLE_P): Say if the process is readable
5232 from. (It may be dead nonetheless.)
5233 (CHECK_READABLE_PROCESS): Test for that condition.
5235 * process.c (create_process): Use PROCESS_READABLE_P.
5236 (read_process_output, set_process_filter): Likewise.
5238 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
5239 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
5241 This code is #if 0'd, this is not the time to add new functions:
5243 * process.c (Fprocess_readable_p): Report readability status.
5244 * process.c (Qprocess_readable_p): New, associated symbol...
5245 * process.c (syms_of_process): ... initialize it.
5247 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
5249 * XEmacs 21.4.7 "Economic Science" is released.
5251 2002-04-17 Nix <nix@esperi.demon.co.uk>
5253 * process.h (PROCESS_LIVE_P): Use the process status as
5254 evidence of health, not the state of the input stream.
5256 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
5258 * sysdep.c (sys_siglist): change "signum" to "signal"
5260 2001-04-21 Martin Buchholz <martin@xemacs.org>
5262 * s/darwin.h: New file.
5263 Thanks to Greg Parker <gparker@cs.stanford.edu>.
5265 2002-04-23 Andreas Jaeger <aj@suse.de>
5267 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
5268 which use lib64 for 64-bit libs.
5269 (START_FILES): Likewise.
5271 2002-02-11 Mike Sperber <mike@xemacs.org>
5274 (x_IO_error_handler):
5275 (x_init_device): Temporarily keep device in static variable
5276 `device_being_initialized' so we can recover gracefully from
5277 internal XOpenDevice failure. (XOpenDevice is documented to
5278 return NULL on failure, but sometimes calls the IO error handler
5281 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
5283 * dired.c (Ffile_name_all_completions): Change documentation --
5284 remove reference to completion-ignored-extensions.
5285 * dired.c (vars_of_dired): Change documentation for
5286 completion-ignored-extensions -- remove reference to
5287 file-name-all-completions.
5289 2002-03-06 Jerry James <james@xemacs.org>
5291 * emodules.c (emodules_load): Fix multiple loading of same module.
5293 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
5294 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
5295 RTLD_LAZY to avoid incorrect symbol binding when using nested
5296 shared libraries on Solaris.
5298 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
5300 * fileio.c (Ffind_file_name_handler): Improve docstring.
5302 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
5304 * fns.c (Fmapconcat): Improve docstring.
5306 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
5308 * device-gtk.c: Add prototype for
5309 emacs_gtk_selection_clear_event_handle.
5310 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
5311 selection. Setup signal handler for "selection_clear_event"
5312 (emacs_gtk_selection_clear_event_handle).
5314 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
5315 other applications owning the clipboard (based on
5316 x_handle_selection_clear).
5318 2001-12-23 William M. Perry <wmperry@gnu.org>
5320 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
5322 2002-01-04 Martin Buchholz <martin@xemacs.org>
5324 * keymap.c (define_key_alternate_name): Parenthesize EQ.
5326 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
5328 * XEmacs 21.4.6 "Common Lisp" is released.
5330 2001-12-16 Torsten Duwe <duwe@caldera.de>
5332 * search.c (Freplace_match): Add missing sub-expression functionality.
5334 * buffer.c (decode_buffer): Add a check for pointer type to
5335 decode_buffer, before gcc's CSE optimization reorders a
5336 dereference in front of the allow_string test.
5338 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
5340 * window.c (window_loop): Fix bug that sometimes prevented
5341 window_loop() from iterating across multiple devices. Also, at
5342 Ben's request, changed infloop-detecting code to abort() instead
5343 of silently terminating window_loop().
5345 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
5347 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
5348 * editfns.c (make_time): New function.
5349 (Fencode_time): Use it instead of wasteful_word_to_lisp.
5350 * lisp.h (make_time): Prototype and comment it.
5351 * dired.c (wasteful_word_to_lisp): Deprecate.
5352 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
5354 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
5356 * fileio.c (auto_save_1): Use current coding system, not
5359 2001-11-13 Ben Wing <ben@xemacs.org>
5362 * window.c (window_truncation_on):
5363 * window.c (syms_of_window):
5364 truncate-partial-width-windows should respect the buffer being
5365 displayed, like other redisplay vars.
5367 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
5369 * event-stream.c (Fread_key_sequence): save current buffer.
5371 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5373 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
5375 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5377 * alloc.c (lcrecord_stats): Add space for types defined in modules.
5379 2001-10-26 Mike Alexander <mta@arbortext.com>
5381 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
5383 2001-10-25 Andy Piper <andy@xemacs.org>
5386 * dialog-msw.c (handle_directory_proc): new function.
5387 (handle_directory_dialog_box): new fucntion.
5388 (handle_file_dialog_box): use new directory dialog support.
5389 (mswindows_make_dialog_box_internal): ditto.
5390 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
5392 (mswindows_find_frame): make global.
5393 * fileio.c (Fexpand_file_name): build fix.
5394 * general-slots.h: add Qdirectory.
5395 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
5397 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
5398 cygwin not leaving win32 paths unchanged.
5399 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
5400 cygwin runtime to do path conversion.
5401 (Fmswindows_shell_execute): fix cygwin handling of URLs.
5402 (syms_of_win32): add new function.
5403 * window.c (window_loop): build fix.
5405 2001-10-15 Andy Piper <andy@xemacs.org>
5407 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
5409 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
5411 * XEmacs 21.4.5 "Civil Service" is released.
5413 2001-04-08 Danny Colascione <qtmstr@optonline.net>
5415 * glyphs-x.c: Force buffer-tab highlight update when moving the
5416 buffer, avoiding an ugly black border, used for keyboard focus
5417 indication, on a widget that can never have keyboard focus, the
5420 2001-08-30 Daiki Ueno <ueno@unixuser.org>
5422 * process-unix.c (unix_open_multicast_group): Remove too much
5423 conversion between host and network byte order.
5425 2001-09-10 Nix <nix@esperi.demon.co.uk>
5427 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
5428 before replacing them.
5430 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
5433 * src/window.c (undedicate_windows): Use it.
5434 * src/window.h: Add prototype.
5436 2001-09-17 Ben Wing <ben@xemacs.org>
5438 * fileio.c (normalize_filename):
5439 * fileio.c (Fexpand_file_name):
5440 Fix various C++ compile errors in Andy's recent code.
5442 * callint.c (Fcall_interactively):
5443 * editfns.c (Ftemp_directory):
5444 * editfns.c (Fuser_full_name):
5445 * emacs.c (argmatch):
5446 * lread.c (locate_file_map_suffixes):
5447 * redisplay-x.c (x_ring_bell):
5448 Fix sign-compare warnings.
5450 2001-09-08 Andy Piper <andy@xemacs.org>
5452 * fileio.c (normalize_filename): copied from nt.c
5453 * (Ffile_name_directory): enable win32 paths under cygwin.
5454 * (Ffile_name_nondirectory): ditto.
5455 * (directory_file_name): ditto.
5456 * (Fexpand_file_name): ditto.
5457 * (Ffile_truename): ditto.
5458 * (Fsubstitute_in_file_name): ditto.
5459 * (Ffile_name_absolute_p): ditto.
5460 * (Ffile_readable_p): ditto.
5462 2001-09-08 Andy Piper <andy@xemacs.org>
5464 * device-msw.c (mswindows_finish_init_device): remove dde
5466 * device-msw.c (mswindows_init_dde): factor out from
5467 mswindows_finish_init_device()
5468 * device-msw.c (init_mswindows_very_early): new function
5469 initialize but don't enable dde.
5470 * emacs.c (main_1): call init_mswindows_very_early.
5472 * event-msw.c (mswindows_dde_callback): only execute when we are
5474 * symsinit.h: declare init_mswindows_very_early.
5476 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5478 [sjt: This has been in 21.5 for months with no complaints.]
5480 * console.h (struct console_methods): Added flags member.
5481 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
5482 (CONMETH_IMPL_FLAG):
5483 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
5484 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5486 * device.c (window_system_pixelated_geometry): Use the above macros.
5488 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
5489 implememntation flag.
5490 * device.h (DEVICE_DISPLAY_P): Use it.
5492 * frame.c (delete_frame_internal): Use the above macro.
5494 * redisplay.c (redisplay_device): Use it.
5495 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5496 (redisplay_frame): Ditto.
5498 * device-msw.c (mswindows_device_implementation_flags): Removed.
5499 (msprinter_device_implementation_flags): Removed.
5500 (console_type_create_device_mswindows): Removed references to
5501 implementation_flags methods, set implementation flags here.
5502 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
5504 * device-gtk.c (gtk_device_implementation_flags): Removed method.
5505 (console_type_create_device_gtk): Removed method declaration.
5506 Added commented out statement which semantically matches the
5507 commented out statement in the above removed method.
5509 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
5511 The attached patch fixes a few warnings.
5513 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
5514 * src/frame-gtk.c: guard against GNOME calls in GTK only
5515 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
5516 * src/select-gtk.c: prototype lisp_to_time
5518 2001-06-08 Ben Wing <ben@xemacs.org>
5520 ------ gc-in-window-procedure fixes ------
5523 * alloc.c (struct post_gc_action):
5524 * alloc.c (register_post_gc_action):
5525 * alloc.c (run_post_gc_actions):
5526 * alloc.c (garbage_collect_1):
5527 Create "post-gc actions", to avoid those dreaded "GC during window
5528 procedure" problems.
5531 Abort, clean and simple, when GC in window procedure. We want
5532 to flush these puppies out.
5535 * glyphs-msw.c (finalize_destroy_window):
5536 * glyphs-msw.c (mswindows_finalize_image_instance):
5537 Use a post-gc action when destroying subwindows.
5540 Declare register_post_gc_action().
5543 * scrollbar-msw.c (unshow_that_mofo):
5544 Use a post-gc action when unshowing scrollbar windows, if in gc.
5546 * redisplay.c (mark_redisplay):
5547 Add comment about the utter evilness of what's going down here.
5549 ------ cygwin setitimer fixes ------
5551 * Makefile.in.in (sheap_objs):
5552 * Makefile.in.in (profile_objs):
5553 * Makefile.in.in (objs):
5554 Compile profile.c only when HAVE_SETITIMER.
5556 * nt.c (mswindows_sigset):
5557 * nt.c (mswindows_sighold):
5558 * nt.c (mswindows_sigrelse):
5559 * nt.c (mswindows_sigpause):
5560 * nt.c (mswindows_raise):
5561 * nt.c (close_file_data):
5565 Move setitimer() emulation to win32.c, because Cygwin needs it too.
5568 * profile.c (Fstart_profiling):
5569 * profile.c (Fstop_profiling):
5570 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
5571 instead of just plain setitimer().
5574 * signal.c (set_one_shot_timer):
5576 Define qxe_setitimer() as an encapsulation around setitimer() --
5577 call setitimer() directly unless Cygwin or MS Win, in which case
5578 we use our simulated version in win32.c.
5581 * systime.h (struct itimerval):
5582 * systime.h (ITIMER_REAL):
5583 Prototype mswindows_setitimer() and qxe_setitimer(). Long
5584 comment about "qxe" and the policy regarding encapsulation.
5587 * win32.c (setitimer_helper_proc):
5588 * win32.c (setitimer_helper_period):
5589 * win32.c (setitimer_helper):
5590 * win32.c (mswindows_setitimer):
5591 Move setitimer() emulation here, so Cygwin can use it.
5592 Rename a couple of functions and variables to be longer and more
5593 descriptive. In setitimer_helper_proc(), send the signal
5594 using either mswindows_raise() or (on Cygwin) kill(). If for
5595 some reason we are still getting lockups, we'll change the kill()
5596 to directly invoke the signal handlers.
5598 ------ windows shell fixes ------
5602 Comments about how these two files must die.
5604 * callproc.c (init_callproc):
5605 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
5606 not just COMSPEC. (more correct and closer to FSF.) Don't
5607 force a value for SHELL into the environment. (Comments added
5608 to explain why not.)
5610 * nt.c (init_user_info):
5611 Don't shove a fabricated SHELL into the environment. See above.
5613 2001-06-01 Ben Wing <ben@xemacs.org>
5615 * Makefile.in.in (ldflags):
5616 eliminate that pesky "defaulting to 00401000" warning.
5620 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
5622 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
5623 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
5625 2001-04-24 Jerry James <james@xemacs.org>
5627 * faces.h: pass parameters to Fadd_spec_to_specifier in the
5630 2001-06-01 Ben Wing <ben@xemacs.org>
5632 * event-msw.c (debug_mswin_messages):
5633 conditionalize the messages that were causing compile errors.
5634 (if only macros could generate #ifdef statements ...)
5636 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
5638 * XEmacs 21.4.4 "Artificial Intelligence" is released.
5640 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
5642 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
5644 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
5646 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
5647 * process-unix.c (unix_canonicalize_host_name):
5648 sysdep.c (init_system_name):
5649 Use it to conditionally support IPv6 canonicalization.
5651 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
5654 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
5656 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
5658 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
5659 attempt is made to scroll when no scroll bar is available.
5661 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
5663 * input-method-motif.c (XIM_delete_frame): New callback.
5664 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
5665 got deleted from 21.4.3.)
5667 2001-06-01 Ben Wing <ben@xemacs.org>
5669 * nt.c (mswindows_utime):
5670 * nt.c (close_file_data):
5671 fix off-by-one-indirection error.
5673 2001-05-29 Adrian Aichner <adrian@xemacs.org>
5675 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
5676 because set_file_times() now takes Lisp_Object path, instead of
5678 * nt.c: Include buffer.h.
5679 * nt.c (convert_from_time_t): New.
5680 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
5681 not set mtime correctly.
5682 * nt.h: Declare mswindows_utime().
5683 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
5684 path, instead of char*.
5685 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
5687 2001-05-30 Ben Wing <ben@xemacs.org>
5691 (Stephen, just take all event-msw.c patches. This includes
5692 the "iconify" fix below.)
5695 * event-msw.c (mswindows_dequeue_dispatch_event):
5696 * event-msw.c (assert):
5697 * event-msw.c (emacs_mswindows_quit_p):
5698 * event-msw.c (debug_mswin_messages):
5699 * event-msw.c (debug_output_mswin_message):
5700 * event-msw.c (vars_of_event_mswindows):
5701 Fix yet more problems with C-g handling.
5702 Implement debug-mswindows-events.
5704 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5706 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
5708 2001-05-23 Ben Wing <ben@xemacs.org>
5710 * event-msw.c (winsock_writer):
5711 * event-msw.c (winsock_closer):
5712 prior kludgy code was clobbering the buffer, thinking it was
5713 "unused" space to store an unneeded return value; instead, use
5714 the variable we've already got staring us in the face.
5716 2001-05-17 Andy Piper <andy@xemacs.org>
5718 * sysfile.h: don't assume that file attributes are boolean
5720 2001-05-23 Ben Wing <ben@xemacs.org>
5722 * device-msw.c (msprinter_init_device):
5723 signal an error rather than crash with an unavailable network
5724 printer (from Mike Alexander).
5727 * event-msw.c (struct winsock_stream):
5728 * event-msw.c (winsock_writer):
5729 * event-msw.c (winsock_closer):
5730 * event-msw.c (make_winsock_stream_1):
5731 cleanup headers. fix (hopefully) an error with data corruption
5732 when sending to a network connection.
5734 * fileio.c (Fexpand_file_name): Fix evil code that attempts
5735 to handle the ~user prefix by (a) always assuming we're referencing
5736 ourselves and not even verifying the user -- hence any file with
5737 a tilde as its first char is invalid! (b) if there wasn't a slash
5738 following the filename, the pointer was set *past* the end of
5739 file and we started reading from uninitialized memory. Now we
5740 simply treat these as files, always.
5742 * buffer.c (common_init_complex_vars_of_buffer): comment change.
5744 2001-05-19 Ben Wing <ben@xemacs.org>
5746 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
5749 * process-nt.c (vars_of_process_nt):
5750 remove unused mswindows-quote-process-args. rec for 21.4.
5752 2001-05-12 Ben Wing <ben@xemacs.org>
5754 * event-msw.c (mswindows_dde_callback):
5755 * event-msw.c (mswindows_wnd_proc):
5756 eliminate cygwin warnings.
5758 2001-05-06 Ben Wing <ben@xemacs.org>
5762 * device-msw.c (print_dialog_worker):
5763 * device-msw.c (mswindows_handle_print_dialog_box):
5764 * device-msw.c (syms_of_device_mswindows):
5765 * dialog-msw.c (mswindows_make_dialog_box_internal):
5767 implement printing the selection when it's selected.
5769 2001-05-20 Drazen Kacar <dave@arsdigita.com>
5771 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
5773 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
5775 * lisp.h (EMACS_INT_MAX): This should be one bit less since
5776 EMACS_INT is signed.
5778 2001-04-15 Michael Lausch <mla@1012surf.net>
5780 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
5781 gtk_widget_request_size() to give scrollbar >0 width for
5784 2001-05-30 William M. Perry <wmperry@gnu.org>
5786 * event-gtk.c: Check for buttons as modifier keys.
5788 2001-05-25 Craig Lanning <CraigL@Knology.net>
5791 Properly find MinGW's <process.h> inside Cygwin's restructured
5792 include directories. Don't try to include <cygwin/version.h>
5793 since we are dropping support for MinGW in versions of Cygwin
5796 Drop support for MinGW in versions of Cygwin before b21.
5798 Properly find MinGW's <process.h> inside Cygwin's restructured
5799 include directories.
5801 Drop support for MinGW in versions of Cygwin before b21.
5803 Even though a.out.h is no longer detected by configure, allow
5804 MinGW to use it until we figure out how to do the job with Win32.
5806 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
5808 * syntax.c (find_start_of_comment):
5809 Fix `unbalanced parentheses' bug when dealing with mixed comment
5810 styles in c++/java/etc. mode
5812 2001-05-29 Mike Alexander <mta@arbortext.com>
5814 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
5815 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
5817 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
5819 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
5821 2001-03-31 Mike Sperber <mike@xemacs.org>
5823 * search.c (Freplace_match): Support FSF-style specification of
5824 match subexpression when applied to a buffer.
5826 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
5828 * event-stream.c (is_scrollbar_event): add missing semicolon
5830 2001-05-22 Isaac Hollander <ysh@mindspring.com>
5832 * Makefile.in.in: Use TAR macro instead of hardcoding
5833 tar. Allows use of GNU tar instead of system tar
5835 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
5837 * event-stream.c (is_scrollbar_event): add missing semicolon
5839 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
5841 * XEmacs 21.4.3 "Academic Rigor" is released.
5843 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
5845 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
5847 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
5849 * buffer.c (Vcase_fold_search): Remove obsolete
5850 comment about non ASCII case-fold-search. This
5851 bug has been fixed by case-table changes.
5853 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
5855 * event-msw.c: Restore include of events-mod.h.
5857 2001-04-22 zhaoway <zw@debian.org>
5859 * event-stream.c (is_scrollbar_event): Noop returning 0 if
5862 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
5864 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
5866 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
5868 * mule-charset.c (Fmake_charset): Add missing else.
5870 2001-04-23 Ben Wing <ben@xemacs.org>
5872 * event-msw.c (FAKE_MOD_QUIT):
5873 * event-msw.c (mswindows_dequeue_dispatch_event):
5874 * event-msw.c (mswindows_wnd_proc):
5875 * event-msw.c (emacs_mswindows_quit_p):
5876 Get critical quit working.
5878 2001-05-05 Ben Wing <ben@xemacs.org>
5882 * device-msw.c (mswindows_get_default_margin):
5883 * frame-msw.c (mswindows_size_frame_internal):
5884 * frame-msw.c (msprinter_init_frame_1):
5885 * frame-msw.c (vars_of_frame_mswindows):
5886 Change top/bottom margin defaults to 0.5 inches.
5888 2001-05-01 Martin Buchholz <martin@xemacs.org>
5890 Fix link error with gcc 3.0 on Linux.
5891 * terminfo.c (UP): Remove.
5892 * terminfo.c (BC): Remove.
5893 * terminfo.c (PC): Remove.
5894 They weren't used, and in any case, these symbols should be
5895 defined in the *library*.
5897 2001-05-03 Martin Buchholz <martin@xemacs.org>
5899 * s/aix4.h: Fix crash with xlc -O3.
5900 Improve comment explaining how -O3 works.
5902 2001-04-15 Ben Wing <ben@xemacs.org>
5905 * event-stream.c (Fnext_event):
5906 * event-stream.c (is_scrollbar_event):
5907 * event-stream.c (execute_command_event):
5908 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
5909 crash' problem. His fix introduces other problems. We filter
5910 out scrollbar events specifically, making them somewhat invisible
5911 to command-building, and not appearing in `this-command-keys'.
5912 More work is still needed (see comments in event-stream.c), but
5913 this fixes all the major problems.
5915 2001-04-20 Ben Wing <ben@xemacs.org>
5917 * .cvsignore: Added stuff for Windows.
5919 2001-04-28 Ben Wing <ben@xemacs.org>
5921 * buffer.c (Ferase_buffer):
5922 * editfns.c (buffer_insert1):
5923 * editfns.c (Finsert_before_markers):
5924 * editfns.c (Finsert_string):
5925 * editfns.c (Finsert_char):
5926 * editfns.c (Fdelete_region):
5927 * editfns.c (Fwiden):
5928 * editfns.c (Fnarrow_to_region):
5929 remove bogus lines setting zmacs_region_stays to 0.
5931 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
5933 * process-unix.c (unix_open_network_stream): If connect() fails
5934 invalidate file descriptor after closing it.
5936 2001-03-08 Mike Alexander <mta@arbortext.com>
5938 * event-msw.c (mswindows_need_event_in_modal_loop):
5939 Don't dispatch a message if we didn't get one.
5940 (mswindows_need_event):
5941 Terminate the correct process when one exits instead of the first
5942 one on Vprocess_list and look for process termination when in
5943 mswindows_protect_modal_loop.
5945 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
5947 * XEmacs 21.4.1 "Copyleft" is released.
5949 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
5951 * input-method-motif.c (XIM_delete_frame): New callback.
5952 (XIM_init_frame): Register it.
5954 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
5956 * XEmacs 21.4.0 "Solid Vapor" is released.
5958 2001-04-15 Ben Wing <ben@xemacs.org>
5960 * cmdloop.c (call_command_loop):
5961 Fix braino in bit-rotting code.
5963 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
5965 * extents.c (Fset_extent_endpoints): Force creation of extent info
5966 in buffer_or_string.
5968 * extents.c (process_extents_for_insertion_mapper): Correctly
5969 check for open-open zero-length extents.
5971 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
5973 * lisp.h: New typedefs Memory_count, Element_count.
5976 Sign-compare warning elimination: several unsigned -> signed.
5977 Based on work by Ben Wing <ben@xemacs.org>.
5979 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
5981 * XEmacs 21.2.47 "Zephir" is released.
5983 2001-04-02 Jan Vroonhof <jan@xemacs.org>
5985 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
5987 2001-04-03 Mike Sperber <mike@xemacs.org>
5989 * search.c: Revert previous patch due because of release.
5991 2001-03-30 Ben Wing <ben@xemacs.org>
5994 Add missing killpg prototype.
5997 Add a comment about fixing problems when a new entry is added
6000 * frame-msw.c (mswindows_init_frame_1):
6001 Fix compile warnings.
6003 * menubar.c (vars_of_menubar):
6004 Provide `menu-accelerator-support' to indicate that we properly
6005 support %_ in menu specifications, so that package code can
6006 conditionalize on this (and remove %_ from menu specifications
6011 * scrollbar-msw.c (can_scroll):
6013 Fix handling of mouse wheel under Windows to follow standards --
6014 now scrolls window under pointer, not selected window.
6016 2001-03-31 Mike Sperber <mike@xemacs.org>
6018 * search.c (Freplace_match): Support FSF-style specification of
6019 match subexpression when applied to a buffer.
6021 2001-03-15 Martin Buchholz <martin@xemacs.org>
6023 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6024 function to modify KEYMAP, so map over a copy of the hash table.
6026 2001-03-21 Martin Buchholz <martin@xemacs.org>
6028 * XEmacs 21.2.46 "Urania" is released.
6030 2001-03-20 Dan Holmsand <dan@eyebee.com>
6032 * realpath.c (xrealpath): Make file-truename work with symlinks to
6033 /cygdrive paths on cygwin. Always lowercase drive-letters on
6035 (cygwin_readlink): Don't try to find canonical filename unless
6038 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
6040 * ChangeLog: Log GTK merge.
6046 Revert gratuitous whitespace changes from GTK merge.
6048 * emacs.c: Document end of complex #ifdef @ l. 1495.
6051 2001-03-12 Andy Piper <andy@xemacs.org>
6053 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
6054 have to do likewise.
6056 2001-03-12 Andy Piper <andy@xemacs.org>
6058 * sysdep.c: we only support mingw now.
6060 2001-03-09 Andy Piper <andy@xemacs.org>
6062 * unexcw.c (copy_executable_and_dump_data_section): making approx
6063 overrun a warning only.
6065 2001-03-10 William M. Perry <wmperry@aventail.com>
6067 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
6068 satisfy Stephen's identical-after-cpp plea.
6070 2001-03-02 Ben Wing <ben@xemacs.org>
6073 * cmds.c (Fforward_char):
6077 Augment documentation of the most common motion commands to make
6078 note of the shifted-motion support.
6080 2001-03-02 Ben Wing <ben@xemacs.org>
6082 * nt.c (mswindows_fstat):
6083 * nt.c (mswindows_stat):
6084 * search.c (boyer_moore):
6085 Fix compile warnings under Windows.
6087 * sysdep.c (sys_readdir):
6088 Fix buggy filename-conversion code under Mule.
6090 2001-03-09 William M. Perry <wmperry@aventail.com>
6112 * redisplay-output.c:
6118 The Great GTK Merge.
6125 * emacs-widget-accessors.c:
6139 * native-gtk-toolbar.c:
6150 The Great GTK Merge: new files.
6152 2001-02-26 Ben Wing <ben@xemacs.org>
6154 Reapplied Lstream change.
6156 2001-02-26 Ben Wing <ben@xemacs.org>
6158 Undid the last change, since it is more controversial than I
6159 thought. It should be back in at some point soon.
6161 2001-02-25 Ben Wing <ben@xemacs.org>
6164 * callproc.c (Fold_call_process_internal):
6165 * event-msw.c (ntpipe_slurp_reader):
6166 * event-msw.c (ntpipe_shove_writer):
6167 * event-msw.c (winsock_reader):
6168 * event-msw.c (winsock_writer):
6170 * file-coding.c (detect_eol_type):
6171 * file-coding.c (detect_coding_type):
6172 * file-coding.c (determine_real_coding_system):
6173 * file-coding.c (Fdetect_coding_region):
6174 * file-coding.c (decoding_reader):
6175 * file-coding.c (decoding_writer):
6176 * file-coding.c (mule_decode):
6177 * file-coding.c (Fdecode_coding_region):
6178 * file-coding.c (encoding_reader):
6179 * file-coding.c (encoding_writer):
6180 * file-coding.c (mule_encode):
6181 * file-coding.c (Fencode_coding_region):
6182 * file-coding.c (detect_coding_sjis):
6183 * file-coding.c (decode_coding_sjis):
6184 * file-coding.c (encode_coding_sjis):
6185 * file-coding.c (detect_coding_big5):
6186 * file-coding.c (decode_coding_big5):
6187 * file-coding.c (encode_coding_big5):
6188 * file-coding.c (detect_coding_ucs4):
6189 * file-coding.c (decode_coding_ucs4):
6190 * file-coding.c (encode_coding_ucs4):
6191 * file-coding.c (detect_coding_utf8):
6192 * file-coding.c (decode_coding_utf8):
6193 * file-coding.c (encode_coding_utf8):
6194 * file-coding.c (detect_coding_iso2022):
6195 * file-coding.c (decode_coding_iso2022):
6196 * file-coding.c (encode_coding_iso2022):
6197 * file-coding.c (decode_coding_no_conversion):
6198 * file-coding.c (encode_coding_no_conversion):
6199 * glyphs-x.c (write_lisp_string_to_temp_file):
6200 * gpmevent.c (tty_get_foreign_selection):
6203 * lstream.c (Lstream_flush_out):
6204 * lstream.c (Lstream_adding):
6205 * lstream.c (Lstream_write_1):
6206 * lstream.c (Lstream_write):
6207 * lstream.c (Lstream_raw_read):
6208 * lstream.c (Lstream_read_more):
6209 * lstream.c (Lstream_read):
6210 * lstream.c (Lstream_unread):
6211 * lstream.c (Lstream_fputc):
6212 * lstream.c (stdio_reader):
6213 * lstream.c (stdio_writer):
6214 * lstream.c (filedesc_reader):
6215 * lstream.c (filedesc_writer):
6216 * lstream.c (lisp_string_reader):
6217 * lstream.c (struct fixed_buffer_stream):
6218 * lstream.c (make_fixed_buffer_input_stream):
6219 * lstream.c (make_fixed_buffer_output_stream):
6220 * lstream.c (fixed_buffer_reader):
6221 * lstream.c (fixed_buffer_writer):
6222 * lstream.c (struct resizing_buffer_stream):
6223 * lstream.c (resizing_buffer_writer):
6224 * lstream.c (dynarr_writer):
6225 * lstream.c (lisp_buffer_reader):
6226 * lstream.c (lisp_buffer_writer):
6228 * lstream.h (lstream_implementation):
6229 * lstream.h (struct lstream):
6231 * process-nt.c (nt_send_process):
6232 * process-unix.c (unix_send_process):
6234 Correct Lstream lossage due to mixing of signed and unsigned
6235 quantities. All Lstream uses of size_t and ssize_t are now a
6236 single signed data type Lstream_data_count. This fixes problems
6237 under Windows with sending large quantities of data to a process,
6238 and may well fix other subtle bugs.
6240 2001-02-23 Martin Buchholz <martin@xemacs.org>
6242 * XEmacs 21.2.45 "Thelxepeia" is released.
6244 2001-02-21 Martin Buchholz <martin@xemacs.org>
6246 * lisp-union.h (XSETINT):
6249 Reverse previous change of 2001-02-06.
6251 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
6253 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
6255 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6256 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
6257 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
6258 * regex.c (POS_AS_IN_BUFFER): removed
6259 * regex.c (re_search_2):
6260 * regex.c (re_match_2):
6261 Don't use an offset of 1 when calculating buffer positions, since
6262 `BI_BUF_BEGV' does it already.
6264 2001-02-18 Wim Dumon <wim@easics.be>
6266 * insdel.c (prepare_to_modify_buffer): Also check for
6267 supersession when clash-detection is enabled.
6269 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
6271 * regex.c (re_match_2_internal):
6272 Convert temp characters from 'const unsigned char' to 're_char'.
6273 Fix crashing bug with extended characters under mule.
6274 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
6275 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
6276 font-lock, pdump, and new syntax-table code.
6277 * syntax.c (find_start_of_comment):
6278 (find_end_of_comment):
6280 Fix crashing bugs involving moving beyond end of buffer.
6281 * syntax.c (find_start_of_comment):
6282 Fixed logic to allow proper detection of cases where the same
6283 character is used to end both a two-char comment start and a
6284 two-char comment end sequence. Fixes `(forward-comment -1)'.
6285 * syntax.c (find_start_of_comment):
6286 Return position just past last comment-end character for all cases
6287 (previously was only done for two-char comment-end sequences).
6288 * syntax.c (forward-comment):
6289 Take value returned from `find_end_of_comment', rather than
6291 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6292 Properly deal with BUFFERP (syntax_cache.object)
6294 2001-02-17 Martin Buchholz <martin@xemacs.org>
6296 * alloc.c (Fgarbage_collect):
6297 * alloc.c (make_bit_vector_from_byte_vector):
6298 -Wsign-compare-correctness.
6300 2001-02-16 Martin Buchholz <martin@xemacs.org>
6302 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
6303 (XSETCHAR): Likewise.
6304 (XSETOBJ): Likewise.
6306 2001-02-15 Martin Buchholz <martin@xemacs.org>
6308 * mule-canna.c (canna-func-delete_previous):
6309 Rename to canna-func-delete-previous.
6311 2001-02-14 Martin Buchholz <martin@xemacs.org>
6313 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
6315 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
6317 * font-lock.c (find_context): Fix C++ compile errors introduced by
6320 2001-02-13 Martin Buchholz <martin@xemacs.org>
6322 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
6323 pragma, but earlier ones barf on the same pragma.
6325 2001-02-06 Mike Sperber <mike@xemacs.org>
6327 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
6328 `configure-mule-lisp-directory'.
6330 2001-02-12 Martin Buchholz <martin@xemacs.org>
6332 Make sure dump-id.c is compiled in the same way as other .c's.
6333 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
6334 * dump-id.h: Remove.
6335 * emacs.c: Move dump-id.h into dumper.h.
6336 * dumper.h: Move dump-id.h into dumper.h.
6338 Use standard .c.o rule for building dump-id.o.
6339 Remove preprocessor flags from link command.
6340 Add dump-id.o to ${otherobjs} if PDUMP.
6342 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
6344 Port FSF 20.7 syntax table improvements.
6348 Fixups for new syntax table stuff.
6349 * dired.c: Include syntax.c.
6350 (Fdirectory_files): Initialize regex_match_object and
6352 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
6353 and Fget_char_property.
6355 Use ported FSF 20.7 syntax table improvements.
6360 2001-02-09 Martin Buchholz <martin@xemacs.org>
6362 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
6363 Unixware's enum boolean from sys/types.h.
6365 2001-02-10 Martin Buchholz <martin@xemacs.org>
6367 Fix support for building with latest Purify.
6368 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
6369 (PURIFY_FLAGS): Likewise.
6371 2001-02-09 Martin Buchholz <martin@xemacs.org>
6373 * fileio.c (lisp_string_set_file_times): New.
6374 * fileio.c (Fcopy_file): Use it.
6376 (copy-file filename non-ascii-filename t t)
6377 ==> No such file or directory, non-ascii-filename
6379 2001-02-10 Martin Buchholz <martin@xemacs.org>
6381 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
6382 USHRT_MAX seems clearer than ~0 anyways.
6384 2001-02-09 Martin Buchholz <martin@xemacs.org>
6386 dumper improvements. Inspired by Olivier.
6387 * dumper.c (pdump_max_align): New.
6388 * dumper.c (pdump_add_entry): Use pdump_max_align.
6389 * dumper.c (pdump_get_entry_list): Likewise.
6390 * dumper.c (pdump_scan_by_alignment): Likewise.
6391 Don't iterate through unnecessary alignments.
6392 * dumper.c (pdump_file_get): No need to align result of malloc().
6393 * dumper.c (pdump_mallocadr): Remove.
6394 The result of malloc() is guaranteed to be maximally aligned.
6395 * dumper.c: s/elmt/elt/g;
6396 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
6397 * dumper.c (pdump_alert_undump_object): Likewise.
6398 * dumper.c (pdump_align_table):
6399 Don't support alignments > 64.
6400 Store ALIGNOF's, not shift counts, in table.
6402 2001-02-09 Martin Buchholz <martin@xemacs.org>
6404 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
6405 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
6406 * systime.h: Use HAVE_UTIME.
6407 * sysdep.c (struct utimbuf): Remove.
6408 * sysdep.c (set_file_times): Prefer utime() to utimes().
6409 * config.h.in (HAVE_UTIME): New.
6410 * config.h.in (HAVE_UTIME_H): Remove.
6411 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
6413 2001-02-09 Martin Buchholz <martin@xemacs.org>
6415 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
6417 2001-02-08 Martin Buchholz <martin@xemacs.org>
6419 * s/irix6-0.h: Use the standard system memmove, not bcopy.
6421 2001-02-08 Martin Buchholz <martin@xemacs.org>
6423 * XEmacs 21.2.44 "Thalia" is released.
6425 2001-02-06 Martin Buchholz <martin@xemacs.org>
6427 Fixes crashes in kill-emacs on some systems.
6428 * process-unix.c (unix_kill_child_process):
6429 It's OK for kill() to fail with ESRCH.
6431 2001-02-07 Martin Buchholz <martin@xemacs.org>
6433 Contortions to make .gdbinit tricks work on most systems.
6434 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
6435 * alloc.c (dbg_valmask): Make non-const.
6436 * alloc.c (dbg_typemask): Make non-const.
6437 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
6438 * alloc.c (dbg_valbits): Make non-const.
6439 * alloc.c (dbg_gctypebits): Make non-const.
6440 * .gdbinit (decode_object): Make it work with AIX cc.
6442 2001-02-06 Martin Buchholz <martin@xemacs.org>
6444 * elhash.c (make_general_lisp_hash_table):
6445 Use simpler and more efficient calloc to clear entries.
6447 2001-02-07 Martin Buchholz <martin@xemacs.org>
6449 * window.c (window_scroll): Work around an AIX C compiler bug.
6450 Fixes 'scroll-up' does nothing problem with xlC.
6452 2001-02-05 Martin Buchholz <martin@xemacs.org>
6454 * .gdbinit: Remove obsolete comment.
6456 2001-01-31 Mike Alexander <mta@arbortext.com>
6458 * select.c (Fown_selection_internal): Set owned_p for device
6461 2001-02-01 Martin Buchholz <martin@xemacs.org>
6464 "not" cannot be used as a macro name as it is an operator in C++
6465 * config.h.in: Stop #defining `not'.
6466 * chartab.c (check_category_char): not ==> not_p
6467 * chartab.h: Likewise.
6468 * regex.c (re_match_2_internal): Likewise.
6470 2001-02-02 Martin Buchholz <martin@xemacs.org>
6472 * lisp-disunion.h: Fix up comments.
6474 2001-01-31 Martin Buchholz <martin@xemacs.org>
6476 * keymap.c (define_key_check_and_coerce_keysym):
6478 Support mouse-6 and mouse-7 bindings in the obvious way.
6480 2001-02-01 Martin Buchholz <martin@xemacs.org>
6482 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
6484 2001-01-30 Martin Buchholz <martin@xemacs.org>
6486 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
6487 Previous patch missed DEFVAR_INT_MAGIC.
6488 Make sure future DEFVAR_foo use correct types.
6489 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
6490 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
6491 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
6492 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
6493 * (DEFVAR_INT): Likewise.
6494 * redisplay.c (vertical_clip): Should be of type Fixnum.
6495 * redisplay.c (horizontal_clip): Likewise.
6496 * lisp.h (dump_add_opaque_int): New.
6497 (dump_add_opaque_fixnum): New.
6499 2001-01-29 Andy Piper <andy@xemacs.org>
6501 * glyphs-widget.c (check_valid_int_or_function): allow symbols
6502 since they can be eval'ed
6504 2001-01-29 Martin Buchholz <martin@xemacs.org>
6506 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
6507 Oops, XEmacs redefines `class'. Use `typename' instead.
6509 2001-01-28 Martin Buchholz <martin@xemacs.org>
6511 * dumper.c: Fix C++ compile errors.
6513 2001-01-29 Martin Buchholz <martin@xemacs.org>
6515 * tparam.c: Use correct prototypes.
6517 2001-01-28 Martin Buchholz <martin@xemacs.org>
6519 * sysproc.h: #include util.h for NetBSD's openpty.
6521 2001-01-27 Martin Buchholz <martin@xemacs.org>
6523 More 64-bit correctness.
6524 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
6525 Use a typedef `fixnum' for the type used for DEFVAR_INT.
6527 This finally finishes the 64-bit SGI port.
6528 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
6529 * symbols.c: Fix up comments and type casts.
6530 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
6531 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
6532 * symeval.h (Fixnum): New type.
6533 * symeval.h (symbol_value_type): Fix up comment.
6549 * mule-canna.c: A million DEFVAR_INTs here...
6550 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
6563 s/int/Fixnum/g in DEFVAR_INT declarations.
6565 2001-01-26 Martin Buchholz <martin@xemacs.org>
6567 Port pdump to SGI alignment-sensitive environment.
6568 Lisp Object sizeof methods now return aligned sizes. Rely on that.
6569 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
6571 Define and use aligned reading and writing macros.
6572 Use buffered stdio instead of posix i/o for faster dumping.
6573 Eliminate kludgy 256 byte space for header.
6574 Read and write from dump file using structs for alignment safety.
6575 * dumper.c (pdump_align_stream): New.
6576 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
6577 * dumper.c (PDUMP_READ_ALIGNED): New.
6578 * dumper.c (PDUMP_WRITE_ALIGNED): New.
6579 * dumper.c (pdump_static_Lisp_Object): New struct.
6580 * dumper.c (pdump_static_pointer): New struct.
6581 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
6582 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
6583 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
6584 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
6586 * dumper.c (pdump_backtrace):
6587 * dumper.c (pdump_get_indirect_count):
6588 * dumper.c (pdump_register_object):
6589 * dumper.c (pdump_register_struct):
6590 * dumper.c (pdump_reloc_one):
6591 * dumper.c (pdump_scan_by_alignment):
6592 * dumper.c (pdump_dump_from_root_struct_ptrs):
6593 * dumper.c (pdump_dump_opaques):
6594 * dumper.c (pdump_dump_rtables):
6595 * dumper.c (pdump_dump_from_root_objects):
6597 * dumper.c (pdump_load_finish):
6598 Use aligned reading and writing.
6600 * dumper.c (pdump_free): Make static.
6601 * dumper.c (pdump_hFile): Likewise.
6602 * dumper.c (pdump_hMap): Likewise.
6604 2001-01-26 Martin Buchholz <martin@xemacs.org>
6606 * XEmacs 21.2.43 "Terspichore" is released.
6608 2001-01-25 Martin Buchholz <martin@xemacs.org>
6610 Type fiddling for window_config.saved_windows_count
6611 * window.c (struct window_config):
6612 Make saved_windows_count member unsigned.
6613 * window.c (sizeof_window_config_for_n_windows):
6614 Make parameter unsigned.
6615 * window.c (mark_window_config):
6616 * window.c (window_config_equal):
6617 * window.c (free_window_configuration):
6618 * window.c (Fset_window_configuration):
6619 * window.c (count_windows):
6620 * window.c (Fcurrent_window_configuration):
6621 * window.c (reinit_vars_of_window):
6622 Update all callers and users.
6624 2001-01-25 Martin Buchholz <martin@xemacs.org>
6626 Alignment correctness for flexible arrays.
6627 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
6628 Make alignment-correct. Add interesting comments.
6629 * alloc.c (size_vector):
6630 * alloc.c (make_vector_internal):
6631 * alloc.c (make_bit_vector_internal):
6632 * alloc.c (sweep_bit_vectors_1):
6633 * fns.c (size_bit_vector):
6634 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
6635 * window.c (sizeof_window_config_for_n_windows):
6636 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
6638 2001-01-24 Martin Buchholz <martin@xemacs.org>
6640 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
6642 2001-01-23 Andy Piper <andy@xemacs.org>
6644 * select.c (Fown_selection_internal): pass owned_p
6646 * select-msw.c (mswindows_own_selection): New Signature.
6648 * console.h (struct console_methods): add owned_p to
6651 * select-x.c (x_own_selection): pass owned_p
6652 (hack_motif_clipboard_selection): use owned_p
6653 (vars_of_select_x): new variable -
6654 x_selection_strict_motif_ownership.
6656 2001-01-23 Martin Buchholz <martin@xemacs.org>
6658 * specifier.h (specifier_data_offset): Remove pointless parens.
6659 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
6661 2001-01-24 Martin Buchholz <martin@xemacs.org>
6663 Make Lisp_Object sizeof methods be alignment-correct.
6664 pdump must restore objects to the same alignment as the C compiler
6665 assumes. It really matters on SGIs.
6666 * lstream.c (aligned_sizeof_lstream): New.
6667 (sizeof_lstream): Use aligned_sizeof_lstream.
6668 (Lstream_new): Likewise.
6669 * opaque.c (aligned_sizeof_opaque): New.
6670 (sizeof_opaque): Use aligned_sizeof_opaque.
6671 (make_opaque): Likewise.
6672 * specifier.c (aligned_sizeof_specifier): New.
6673 (sizeof_specifier): Use aligned_sizeof_specifier.
6674 (make_specifier_internal): Likewise.
6676 2001-01-23 Martin Buchholz <martin@xemacs.org>
6678 * lstream.h (struct lstream): Use max_align_t for trailing data.
6679 * specifier.h (struct Lisp_Specifier): Likewise.
6681 2001-01-22 Martin Buchholz <martin@xemacs.org>
6683 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
6684 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
6685 (CCL_SUSPEND): Likewise.
6686 (CCL_INVALID_CMD): Likewise.
6687 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
6688 (ccl_driver): Likewise.
6689 (CCL_WRITE_CHAR): Macro hygiene.
6690 (CCL_WRITE_STRING): Macro hygiene.
6692 2001-01-22 Martin Buchholz <martin@xemacs.org>
6694 Port "portable" dumper to SunOS 4 and HP-UX.
6695 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
6696 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
6697 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
6699 2001-01-22 Martin Buchholz <martin@xemacs.org>
6701 * lisp.h (ALIGNOF): A better definition for C++.
6703 2001-01-20 Martin Buchholz <martin@xemacs.org>
6706 Fix printf warnings: int format, long int arg.
6707 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
6708 (PUSH_FAILURE_POINT): Use correct printf formats.
6709 (POP_FAILURE_POINT): Use correct printf formats.
6710 Use do {...} while (0)
6712 2001-01-20 Martin Buchholz <martin@xemacs.org>
6714 * XEmacs 21.2.42 "Poseidon" is released.
6716 2001-01-20 Martin Buchholz <martin@xemacs.org>
6718 * console-x.h: typo fix du jour. Remove #if 0'ed code.
6720 2001-01-19 Martin Buchholz <martin@xemacs.org>
6722 De-kludgify FIXED_TYPE free list frobbing.
6723 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
6724 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
6725 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
6726 * alloc.c (Lisp_Free): New pseudo lisp object definition.
6727 * alloc.c (LRECORD_FREE_P): New.
6728 * alloc.c (MARK_LRECORD_AS_FREE): New.
6729 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
6730 * alloc.c (STRUCT_FREE_P): Deleted.
6731 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
6732 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
6733 * alloc.c (STRING_CHARS_FREE_P): New.
6734 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
6735 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
6736 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
6737 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
6738 * alloc.c (resize_string): Use new definitions.
6739 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
6740 * alloc.c (verify_string_chars_integrity): Use new definitions.
6741 * alloc.c (compact_string_chars): Use new definitions.
6742 * alloc.c: Update monster comments.
6743 * lrecord.h (lrecord_type): Add some new lrecord types for
6746 2001-01-18 Martin Buchholz <martin@xemacs.org>
6748 Improve alignment hackery.
6749 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
6750 (max_align_t): Moved from opaque.h - general purpose.
6751 (ALIGN_PTR): Use size_t, not long.
6752 * opaque.h (max_align_t): Move to lisp.h.
6754 2001-01-18 Norbert Koch <nk@LF.net>
6756 * gui.h: Fix and add prototypes to fix build problems.
6758 2001-01-18 Martin Buchholz <martin@xemacs.org>
6760 temacs is going away, so `dump-temacs' is now a bad name.
6761 * .dbxrc (dump-temacs): Rename to `dmp'.
6762 * .gdbinit (dump-temacs): Rename to `dmp'.
6764 2001-01-17 Andy Piper <andy@xemacs.org>
6766 * glyphs.c (print_image_instance): comment to make martin happy.
6768 * glyphs-x.c (x_redisplay_widget): update faces after a frame
6771 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
6773 (mswindows_tab_control_redisplay): warning suppression.
6775 * glyphs-widget.c (widget_update): re-write to cope with updated
6777 (widget_instantiate): use new gui_item functions.
6778 (tab_control_update): deleted.
6779 (progress_gauge_update): deleted.
6780 (image_instantiator_progress_guage): take out update reference.
6781 (image_instantiator_tree_view): ditto.
6782 (image_instantiator_tab_control): ditto.
6784 * gui.c (widget_gui_parse_item_keywords): new function. Do things
6786 (gui_item_add_keyval_pair): re-write to cope with descriptors and
6787 return whether anything was changed.
6788 (update_gui_item_keywords): as it sounds.
6790 * gui.h: declare widget_gui_parse_item_keywords.
6792 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
6793 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
6795 2001-01-17 Martin Buchholz <martin@xemacs.org>
6797 * XEmacs 21.2.41 "Polyhymnia" is released.
6799 2001-01-16 Didier Verna <didier@xemacs.org>
6801 * glyphs.c (image_instantiate): don't use fallbacks when
6802 instantiating a face's background pixmap by inheritance.
6804 2001-01-14 Mike Sperber <mike@xemacs.org>
6806 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
6807 Conditionalize accordingly.
6809 2001-01-16 Martin Buchholz <martin@xemacs.org>
6811 * dumper.c (pdump_file_get): Fix a compiler warning.
6813 2001-01-15 Martin Buchholz <martin@xemacs.org>
6815 Make Purify happy when pdumping.
6816 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
6817 iniitalizing all bits of new lisp object memory.
6818 * symbols.c (Fmake_local_variable): Likewise.
6819 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
6820 * symbols.c (Fdefvaralias): Likewise.
6821 * mule-charset.c (vars_of_mule_charset): Likewise.
6823 2001-01-15 Martin Buchholz <martin@xemacs.org>
6824 Add the `-nd' flag when running pre-dump operations under the debugger.
6825 * .dbxrc (run-temacs): Add `-nd'.
6826 * .dbxrc (update-elc): Likewise.
6827 * .dbxrc (dump-temacs): Likewise.
6828 * .gdbinit (run-temacs): Likewise.
6829 * .gdbinit (check-temacs): Likewise.
6830 * .gdbinit (update-elc): Likewise.
6831 * .gdbinit (dump-temacs): Likewise.
6833 2001-01-14 Martin Buchholz <martin@xemacs.org>
6835 Allow building 64-bit executables on AIX with GNU malloc, e.g.
6836 export OBJECT_MODE=64
6837 configure --pdump --use-union-type=no
6838 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
6839 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
6841 * miscplay.c (sndcnv8U_2mono):
6842 Avoid two uses of `++' in the same expression.
6843 Suppresses a GCC warning.
6845 2001-01-13 Martin Buchholz <martin@xemacs.org>
6847 Make sure future compilers don't miscompile alloc.c.
6849 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
6850 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
6852 2001-01-12 Martin Buchholz <martin@xemacs.org>
6854 * dumper.c: A little post-pdump-rename comment fixup.
6856 2001-01-09 Jerry James <james@eecs.ku.edu>
6858 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
6860 2001-01-13 Martin Buchholz <martin@xemacs.org>
6862 * *.[ch]: Globally rename symbols using the following `pdump-rename'
6866 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
6869 replace_symbol pdump_wire_lists pdump_weak_object_chains
6870 replace_symbol pdump_wire_list dump_add_weak_object_chain
6872 replace_symbol pdump_wires pdump_root_objects
6873 replace_symbol pdump_wire dump_add_root_object
6875 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
6876 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
6878 replace_symbol dumpstructinfos pdump_root_struct_ptrs
6879 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
6880 replace_symbol dumpstructinfo pdump_root_struct_ptr
6881 replace_symbol dumpstruct dump_add_root_struct_ptr
6883 replace_symbol dumpopaque dump_add_opaque
6884 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
6885 replace_symbol dumpopaqueinfos pdump_opaques
6886 replace_symbol dumpopaqueinfo pdump_opaque
6888 replace_symbol nb_structdump nb_root_struct_ptrs
6889 replace_symbol nb_opaquedump nb_opaques
6891 replace_symbol align_table pdump_align_table
6892 replace_symbol dump_header pdump_header
6894 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
6895 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
6898 2001-01-12 Martin Buchholz <martin@xemacs.org>
6900 * s/aix4.h: Keep the C for AIX compiler from overaggressively
6901 optimizing bytecount_to_charcount().
6903 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
6906 (HAVE_DLFCN_H): Removed.
6907 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
6909 2001-01-06 Martin Buchholz <martin@xemacs.org>
6911 Portable dumper maintainability improvements.
6912 * alloc.c (staticpro):
6913 * alloc.c (staticpro_nodump):
6914 * alloc.c (garbage_collect_1):
6915 * alloc.c (reinit_alloc_once_early):
6916 * alloc.c (init_alloc_once_early):
6917 * alloc.c: Move dumper functions to alloc.c.
6918 * dumper.c (pdump_backtrace):
6919 * dumper.c (pdump_dump_structs):
6920 * dumper.c (pdump_dump_opaques):
6921 * dumper.c (pdump_dump_rtables):
6922 * dumper.c (pdump_dump_wired):
6924 * dumper.c (pdump_load_check):
6925 * dumper.c (pdump_load_finish):
6926 * dumper.c (pdump_file_unmap):
6927 * dumper.c (pdump_file_get):
6928 * dumper.c (pdump_resource_free):
6929 * dumper.c (pdump_resource_get):
6930 * dumper.c (pdump_file_free):
6931 * dumper.c (pdump_file_try):
6932 * dumper.c (pdump_load):
6933 Remove fixed size limits on staticpro(), staticpro_nodump(),
6934 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
6935 Remove custom code for dumping lrecord_implementations_table - use
6937 Remove (most of the) custom code for dumping staticpros - dump it
6938 like any other dynarr.
6940 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
6941 * dumper.c: Moved functions from alloc.c.
6942 * alloc.c (dumpstruct): Moved to dumper.c.
6943 * alloc.c (dumpopaque): Likewise.
6944 * alloc.c (pdump_wire): Likewise.
6945 * alloc.c (pdump_wire_list): Likewise.
6947 * lisp.h (Dynarr_sizeof): New.
6948 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
6949 * lisp.h (Dynarr_end): New. Very slightly C++oid.
6950 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
6952 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
6953 * lisp.h (dumpopaque): ditto.
6954 * lisp.h (pdump_wire): ditto.
6955 * lisp.h (pdump_wire_list): ditto.
6957 2001-01-09 Martin Buchholz <martin@xemacs.org>
6959 * make-src-depend (PrintPatternDeps):
6960 Use `sort' to make output independent of perl version.
6962 2001-01-08 Martin Buchholz <martin@xemacs.org>
6965 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
6966 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
6968 2001-01-03 Didier Verna <didier@xemacs.org>
6970 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
6971 that `focus_frame' is alive before thinking of calling
6972 `redisplay_redraw_cursor' on it.
6974 2001-01-08 Martin Buchholz <martin@xemacs.org>
6976 * XEmacs 21.2.40 is released.
6978 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
6980 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
6982 2001-01-06 Martin Buchholz <martin@xemacs.org>
6984 * alloc.c (dbg_valmask): Make const.
6985 * alloc.c (dbg_typemask): Make const.
6986 * alloc.c (dbg_USE_UNION_TYPE): Make const.
6987 * alloc.c (dbg_valbits): Make const.
6988 * alloc.c (dbg_gctypebits): Make const.
6990 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
6992 * redisplay-x.c (x_bevel_area):
6993 redisplay.h (struct rune):
6994 Typo fixes in comments.
6996 2001-01-05 Andy Piper <andy@xemacs.org>
6998 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7001 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7003 2001-01-05 Martin Buchholz <martin@xemacs.org>
7005 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7007 * mule-ccl.c (stack_idx_of_map_multiple):
7008 Non const global data must not be initialized!
7009 Found by MIYASHITA Hisashi.
7011 2001-01-02 Andy Piper <andy@xemacs.org>
7013 * frame.c (change_frame_size): make sure frame size is always
7016 * glyphs.c (image_instance_layout): minor code reuse.
7018 * window.c (Fcurrent_window_configuration): revert previous
7021 2001-01-02 Martin Buchholz <martin@xemacs.org>
7024 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
7026 2000-12-31 Andy Piper <andy@xemacs.org>
7028 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
7029 when widget gets unmapped.
7031 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
7032 function. Make sure widgets losing focus don't just drop it.
7033 (handle_focus_event_1): record the widget with focus.
7035 2000-12-31 Andy Piper <andy@xemacs.org>
7037 * window.c (allocate_window): use
7038 make_image_instance_cache_hash_table.
7039 (make_dummy_parent): ditto.
7040 (Fset_window_configuration): ditto.
7042 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
7044 * glyphs.c (process_image_string_instantiator): use
7046 (get_image_instantiator_governing_domain): ditto.
7047 (normalize_image_instantiator): ditto.
7048 (instantiate_image_instantiator): ditto.
7049 (make_image_instance_1): ditto.
7050 (image_instantiate): ditto. Key on glyph *and* instantiator type.
7051 (instantiator_eq_equal): new function for use with instance hash
7053 (instantiator_eq_hash): ditto.
7054 (make_image_instance_cache_hash_table): create a suitable hash
7055 table for storing image instances.
7057 * elhash.h (hash_table_weakness): new internal weakness type
7058 HASH_TABLE_KEY_CAR_VALUE_WEAK.
7059 declare new functions.
7061 * elhash.c (finish_marking_weak_hash_tables): introduce yet
7062 another weakness type for glyphs.
7063 (make_standard_lisp_hash_table): new function split out from
7064 make_general_lisp_hash_table.
7065 (make_lisp_hash_table): call make_standard_lisp_hash_table.
7066 (hash_table_instantiate): ditto.
7067 (Fmake_hash_table): ditto.
7069 2000-12-31 Martin Buchholz <martin@xemacs.org>
7071 * XEmacs 21.2.39 is released.
7073 2000-12-29 Andy Piper <andy@xemacs.org>
7075 * menubar.c (menubar_visible_p_changed): signal the frame changed.
7077 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
7078 the frame has changed so that we pick up geometry changes such as
7081 2000-12-28 Andy Piper <andy@xemacs.org>
7083 * lastfile.c (my_ebss): make a char array so we can pad the
7084 bss. Fixes cygwin unexec.
7086 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
7088 2000-12-26 Andy Piper <andy@xemacs.org>
7090 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
7091 comments and try and be more precise about a non-/SIGIO world.
7092 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
7095 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
7096 we don't normalize to zero width or height.
7098 2000-12-24 Andy Piper <andy@xemacs.org>
7100 * Makefile.in.in (ldflags): add -mwindows when appropriate.
7102 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
7104 * s/sco5.h: SCO 5 has pty support.
7106 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
7108 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
7109 input-method-xlib.c contains whole contents of input-method-xfs.c,
7110 so we can use input-method-xlib.c's code for USE_XFONTSET
7112 * input-method-xfs.c: removed.
7114 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
7116 * file-coding.h (enum coding_category_type): reorder enumerators to
7117 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
7118 (now one greater than largest real coding_category_type enumerator).
7119 * file-coding.c (coding_category_symbol, coding_category_by_priority,
7120 coding_category_system, fcd_descriptihon_1, decode_coding_category,
7121 Fcoding_category_list, Fset_coding_priority_list,
7122 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
7123 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
7125 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7127 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
7128 * redisplay-output.c (redisplay_output_window): Clear top of window
7129 when face is changed.
7130 * redisplay-x.c (x_redraw_exposed_window): Call
7131 redisplay_clear_top_of_window.
7132 * redisplay.h: Publish redisplay_clear_top_of_window.
7134 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7136 * buffer.c (Fkill_buffer): Map over all devices.
7137 * window.c (window_loop): Remove UNSHOW_BUFFER code.
7138 (list_windows): New function.
7139 (list_all_windows): Ditto.
7140 (Freplace_buffer_in_windows): Use them.
7142 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
7144 * database.c (berkdb_subtype): Recognize new subtype `queue'.
7145 (Fopen_database): Use `db_create' instead of `db_open'.
7146 (syms_of_database): Initialize Qqueue.
7148 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7150 * buffer.c (common_init_complex_vars_of_buffer): Initialize
7151 buffer_local_face_property.
7152 * buffer.h (struct buffer): New member buffer_local_face_property.
7153 * window.c (Fset_window_buffer): Mark window's face as changed
7154 when buffer has buffer local face.
7155 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
7156 * objects.c (color_after_change): Set buffer_local_face_property
7157 when locale of face specifier is buffer.
7158 * objects.c (font_after_change): Ditto.
7159 * objects.c (face_boolean_after_change): Ditto.
7160 * glyphs.c (image_after_change): Ditto.
7162 2000-12-09 Dan Holmsand <dan@eyebee.com>
7164 * nt.c (mswindows_fstat): Report file permissions, volume serial
7165 number, etc. Code adapted from FSF Emacs 20.7.
7167 2000-12-09 Dan Holmsand <dan@eyebee.com>
7169 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
7170 of stat when we don't have symbolic links, to make sure
7171 mswindows_stat is called on mswindows.
7173 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7175 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
7177 2000-12-12 Martin Buchholz <martin@xemacs.org>
7179 * doprnt.c (emacs_doprnt_1): More printing fixes.
7180 Make printing of numbers compatible with libc and FSF Emacs.
7181 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
7182 Use the system printf to do most of the hard work of formatting,
7183 instead of doprnt_1().
7184 Calculate memory to allocate for format string.
7185 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
7186 (doprnt_1): Cleaner code and documentation.
7188 2000-12-01 Jerry James <james@eecs.ukans.edu>
7190 * Makefile.in.in: Use the loop variable to install headers.
7192 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7194 * window.c (Fsplit_window): Don't invalidate face cache.
7196 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7198 * minibuf.c (Fall_completions): Undo the previous change
7199 which removed checking elements start with space.
7201 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7203 * mule-canna.c: Didier suppression.
7205 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7207 * mule-canna.c: rename static unsigned char buf[] to key_buffer
7208 (warning suppression). Add English comment translations.
7210 2000-12-05 Martin Buchholz <martin@xemacs.org>
7212 * unexelfsgi.c (unexec): Better test for mmap failure.
7214 2000-12-05 Martin Buchholz <martin@xemacs.org>
7216 * XEmacs 21.2.38 is released.
7218 2000-12-05 Martin Buchholz <martin@xemacs.org>
7220 * redisplay.c (bar-cursor): Make a user variable.
7222 * symsinit.h: Add init_postgresql_from_environment.
7224 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7226 * regex.c: Convert to clean C.
7228 2000-12-05 Dan Holmsand <dan@eyebee.com>
7231 Don't #include sysfile.h. Revert to duplicating PATH_MAX
7233 (sys_readlink): renamed to system_readlink to avoid conflict with
7234 the other sys_readlink.
7236 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
7238 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
7240 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
7242 * postgresql.c (init_postgresql_from_environment): new function.
7243 (vars_of_postgresql): Move code initializing Lisp variables out and
7244 into init_postgresql_from_environment.
7245 emacs.c (main_1): Call init_postgresql_from_environment if and only
7246 if running a dumped XEmacs.
7248 2000-08-31 Dan Holmsand <dan@eyebee.com>
7250 * buffer.c: Make find-file-compare-truenames default to true on
7253 * realpath.c (win32_abs_start):
7255 (win32_readlink): New functions.
7256 (xrealpath): Return really real filenames on windows.
7258 * fileio.c (Ffile_truename): Make file-truename work on windows.
7260 2000-11-29 Didier Verna <didier@xemacs.org>
7262 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
7263 * faces.c (update_face_cachel_data): use it.
7264 * faces.c (add_face_cachel): use it. Complete background pixmap
7265 frobbing in face cache if `update_face_cachel_data' has not done so.
7267 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
7269 * search.c (string_match_1): Don't set last_thing_searched
7272 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
7274 * buffer.c: Include casetab.h
7275 (common_init_complex_vars_of_buffer): Use new case-table object.
7276 * buffer.h: Include casetab.h
7277 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
7278 (DOWNCASE_TABLE_OF): Ditto.
7279 * bufslots.h: Remove char-tables and add case-table.
7280 * casetab.c: Include casetab.h
7281 (CASE_TABLE_P): Removed.
7282 (mark_case_table): New function.
7283 (allocate_case_table): New function.
7284 (Fcase_table_p): Use new case-table.
7285 (case_table_char): New function.
7286 (Fget_case_table): Ditto.
7287 (Fput_case_table): Ditto.
7288 (Fput_case_table_pair): Ditto.
7289 (Fcopy_case_table): Ditto.
7290 (Fcurrent_case_table): Return case-table.
7291 (Fstandard_case_table): Return case-table.
7292 (Fset_case_table): Fix doc-string.
7293 (set_case_table): Use case-table
7294 (syms_of_casetab): DEFSUBR new functions.
7295 (complex_vars_of_casetab): Set up standard case-table.
7296 * casetab.h: New file.
7297 * editfns.c: Include casetab.h
7298 (Fcompare_buffer_substrings): Use case-table.
7299 * inline.c: Include casetab.h
7300 * lisp.h: Remove bogus extern.
7301 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
7302 * search.c: Include casetab.h
7303 (TRANSLATE_ASCII): Removed.
7304 (TRANSLATE): Unconditionally translate character.
7305 (looking_at_1): Use case-table.
7306 (string_match_1): Ditto.
7307 (fast_string_match): Ditto.
7308 (search_command): Ditto.
7309 (search_buffer): Separate boyer_moore. Check whether
7310 boyer_moore is possible.
7311 (simple_search): New function.
7312 (boyer_moore): Separated from search_buffer. Translate char.
7314 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
7316 * regex.c (RE_TR_ASCII): Removed.
7317 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
7318 (PATFETCH): Call PATFETCH_RAW.
7319 (PATFETCH_RAW): Fetch Emchar.
7320 (PATUNFETCH): Decrement charptr.
7321 (GET_BUFFER_SPACE): Rename b to buf_end.
7323 (BUF_PUSH_2): Ditto.
7324 (BUF_PUSH_3): Ditto.
7325 (EXTEND_BUFFER): Ditto.
7326 (SET_LIST_BIT): Ditto.
7327 (regex_compile): Ditto. Translate non ASCII char.
7328 (compile_range): Ditto.
7329 (re_search_2): Ditto.
7330 (re_match_2_internal): Compare Emchar.
7331 (bcmp_translate): Ditto.
7333 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
7335 * lisp.h (basic char/int typedefs): comment improvement.
7337 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
7339 * emacs.c (main_1): unconditional pdump unstomping; don't save and
7340 unstomp inhibit_site_lisp. Improve comments.
7342 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
7344 * mule-charset.c (Fcharset_property): improve type checking, comments.
7346 2000-11-28 Andy Piper <andy@xemacs.org>
7348 * redisplay-output.c (redisplay_output_subwindow): make sure we do
7349 clipped display for windows in the gutter also.
7350 (redisplay_display_boxes_in_window_p): change semantics of return
7351 codes to be more intuitive.
7353 * gutter.h: declare display_boxes_in_gutter_p.
7355 * gutter.c (display_boxes_in_gutter_p): new function for
7358 2000-11-22 Andy Piper <andy@xemacs.org>
7360 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
7363 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
7365 * callproc.c (Fold_call_process_internal):
7366 * gpm.c (Freceive_gpm_event):
7367 (tty_get_foreign_selection): Might be just warning supression.
7368 * fileio.c (Fwrite_region_internal):
7369 (Fset_visited_file_modtime):
7370 * keymap.c (event_matches_key_specifier_p):
7371 Initialize GCPROed variable.
7373 * menubar-x.c (command_builder_find_menu_accelerator):
7374 Initialize before use.
7376 2000-11-23 Andy Piper <andy@xemacs.org>
7378 * unexcw.c (unexec): make the resulting executable executable.
7380 2000-11-21 Martin Buchholz <martin@xemacs.org>
7382 * doc.c (get_doc_string):
7383 Use size_t, not int, for result of XSTRING_LENGTH.
7385 * cmds.c (Fdelete_char):
7386 * cmds.c (Fpoint_at_eol):
7387 * cmds.c (Fself_insert_command):
7388 Use EMACS_INT, not int, for result of XINT.
7389 Someday, someone will want to insert more than 2**31 identical characters.
7391 * cmds.c (Fdelete_char):
7392 * cmds.c (Fdelete_backward_char):
7393 * syntax.c (Fforward_word):
7394 * syntax.c (Fforward_comment):
7395 Make COUNT argument optional, for consistency with forward-char et al.
7397 2000-11-22 Martin Buchholz <martin@xemacs.org>
7400 * print.c (long_to_string):
7401 Return a useful value: the pointer at end of data written.
7404 Use `static const char * const' for constant strings.
7405 (union printf_arg): Delete `i', `ui' members.
7408 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
7409 Do all printf-ing via the `l' specifier.
7410 Use EMACS_INT instead of int.
7413 2000-11-20 Didier Verna <didier@xemacs.org>
7415 * faces.c (update_face_cachel_data): don't frob the background
7416 pixmap when the window is being created. The face is needed but
7419 2000-11-20 Andy Piper <andy@xemacs.org>
7421 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
7422 messing with a debug environment.
7424 2000-11-20 Martin Buchholz <martin@xemacs.org>
7426 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
7428 2000-11-20 Martin Buchholz <martin@xemacs.org>
7430 * casetab.c (Fcase_table_p): Fix compile error and crash.
7432 2000-11-18 Philip Aston <philipa@mail.com>
7434 * s/cygwin32.h: Cygwin has SVR4-like pty support.
7436 2000-11-18 Martin Buchholz <martin@xemacs.org>
7438 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
7439 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
7441 2000-11-17 Martin Buchholz <martin@xemacs.org>
7443 * config.h.in: Define HAVE_ELF_H if elf.h exists.
7444 * unexelf.c: Use HAVE_ELF_H.
7445 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
7446 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
7447 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
7448 Greg Harrington <greg_harrington@hotmail.com> provided a machine
7450 So this is an unexelfsgi.c from a different line of development.
7452 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7454 * regex.c (RE_TR_ASCII): New function.
7455 (RE_TRANSLATE): Call it.
7457 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7459 * buffer.h (TRT_TABLE_OF): Remove assert.
7460 (IN_TRT_TABLE_DOMAIN): Removed.
7462 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
7464 * free-hook.c (log_gcpro):
7465 (show_gcprohist): Add support for GCPRO5.
7467 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
7469 * emacs.c (main_1): Improve -sd error message when --pdump=no.
7471 2000-11-16 Olivier Galibert <galibert@xemacs.org>
7473 * symeval.h: Declare flush_all_buffer_local_cache.
7475 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
7476 (flush_buffer_local_cache): Added.
7477 (flush_all_buffer_local_cache): Added.
7479 * lrecord.h: Remove unused XD_LO_RESET_NIL.
7481 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
7482 (pdump_dump_data): Ditto.
7483 (pdump_reloc_one): Ditto.
7484 (pdump): Remove unused pdump_qnil. Flush buffer local caches
7488 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
7490 * buffer.c: Remove if 0'ed entry.
7491 * buffer.h: Rewrite TRT to use char-table.
7492 * bufslots.h: Remove mirror tables.
7493 * casetab.c: Remove mirror tables.
7494 (CASE_TABLE_P): New macro.
7495 (Fcase_table_p): Element of a case table is string or char-table.
7496 (make_mirror_trt_table): Removed.
7497 (set_case_table): Setup char-table from strings for backward
7499 * dired.c (Fdirectory_files):
7500 * dired-msw.c: (mswindows_get_files):
7501 * lisp.h: Change prototype of re_pattern_buffer.
7502 * regex.c: (RE_TRANSLATE): New macro.
7503 (TRANSLATE_P): Ditto.
7504 Change translate to type RE_TRANSLATE_TYPE.
7505 * regex.h: Define RE_TRANSLATE_TYPE
7506 * search.c (TRANSLATE): New macro.
7507 (TRANSLATE_ASCII): New macro.
7508 Translate table is changed to Lisp_Object.
7509 (signal_failure): Inhibit return.
7511 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
7518 Do UNGCPRO before return.
7520 2000-11-14 Martin Buchholz <martin@xemacs.org>
7522 * XEmacs 21.2.37 is released.
7524 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7526 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
7527 Add comments about discarded return value.
7529 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
7532 * event-stream.c: Fix comments. Remove some #if 0'ed part.
7534 2000-10-27 Andy Piper <andy@xemacs.org>
7536 * gutter.c (Fset_default_gutter_position): default left and right
7538 (calculate_gutter_size): calculate resonable heuristic for left
7539 and right gutter sizes.
7540 (specifier_vars_of_gutter): change left and right gutter sizes to
7542 (calculate_gutter_size_from_display_lines): new function.
7543 (output_gutter): check for resizing on left and right gutters.
7544 (clear_gutter): don't special case top and left gutters.
7545 (specifier_vars_of_gutter): use new signature for
7546 set_specifier_caching.
7548 * glyphs-x.c (x_redisplay_widget): spelling fix.
7549 * glyphs.c (specifier_vars_of_glyphs):
7550 * menubar.c (specifier_vars_of_menubar):
7551 * redisplay.c (specifier_vars_of_redisplay):
7552 * toolbar.c (specifier_vars_of_toolbar):
7553 * window.c (specifier_vars_of_window):
7554 * scrollbar.c (specifier_vars_of_scrollbar):
7555 (complex_vars_of_scrollbar): use new signature for
7556 set_specifier_caching.
7558 * specifier.c (set_specifier_caching): include recompute flag.
7559 (recompute_one_cached_specifier_in_window): always recompute if
7561 (recompute_one_cached_specifier_in_frame): ditto.
7563 * specifier.h (struct specifier_caching): add recompute flag.
7565 2000-10-24 Andy Piper <andy@xemacs.org>
7567 * unexcw.c (copy_executable_and_dump_data_section): add new
7568 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
7571 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7573 * console-x.h (x_device): New member modifier_release_time.
7574 * event-Xt.c (x_handle_sticky_modifiers):
7575 Bound interval modifier keys are sticky.
7576 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
7577 * events.h: extern it.
7579 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7581 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
7583 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7585 * event-stream.c (execute_command_event): Preserve current_events
7586 and the like when event is misc-user-event.
7587 Inhibit quit during the call to maybe_echo_keys.
7589 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
7591 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
7592 symlink when buffer is killed.
7593 (inhibit_clash_detection): New variable.
7595 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
7597 * console.c (Fset_input_method): Trigger redisplay on tty.
7599 2000-11-07 Martin Buchholz <martin@xemacs.org>
7601 * process.c (Fprocess_status): Revert to previous behavior:
7602 (process-status "nosuchprocess") ==> nil
7604 2000-11-06 Martin Buchholz <martin@xemacs.org>
7606 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
7607 Work around another GCC 2.95.2 optimizer bug.
7609 2000-11-02 Martin Buchholz <martin@xemacs.org>
7611 * process.c (Fget_process): Use LIST_LOOP_2.
7612 (kill_buffer_processes): Use LIST_LOOP_2.
7614 * minibuf.c (Fall_completions):
7615 Delete old non-functional code for FSF fourth argument.
7617 * frame.c (frame_matches_frame_spec):
7618 Renamed from `frame_matches_frametype'. Update all callers.
7619 (device_matches_device_spec):
7620 Renamed from 'device_matches_console_spec'. Update all callers.
7622 * doc.c (Fsubstitute_command_keys):
7623 Remove buffer overflow crash. Small code cleanups.
7625 * casetab.c (check_case_table): Simpler code.
7627 * window.c (Freplace_buffer_in_windows):
7628 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
7629 (and similar implementation) as Fdelete_windows_on.
7632 * alloc.c (Fmake_list):
7633 * alloc.c (make_vector):
7634 * alloc.c (Fmake_vector):
7635 * alloc.c (make_bit_vector):
7636 * alloc.c (Fmake_bit_vector):
7637 * alloc.c (Fbit_vector):
7638 * alloc.c (Fmake_string):
7639 * alloc.c (Fpurecopy):
7640 * alloc.c (Fmemory_limit):
7642 * buffer.c (Fget_buffer):
7643 * buffer.c (Fkill_buffer):
7644 * buffer.c (complex_vars_of_buffer):
7645 * bytecode.c (Fcompiled_function_stack_depth):
7646 * callint.c (Fprefix_numeric_value):
7648 * event-stream.c (Fread_key_sequence):
7650 * casetab.c (Fcase_table_p):
7651 * casetab.c (check_case_table):
7652 * casetab.c (Fset_case_table):
7653 * casetab.c (Fset_standard_case_table):
7655 * chartab.c (Fchar_table_type):
7656 * chartab.c (Freset_char_table):
7657 * chartab.c (Fget_char_table):
7658 * chartab.c (Fget_range_char_table):
7659 * chartab.c (Fput_char_table):
7660 * chartab.c (Fmap_char_table):
7661 * chartab.c (Fcategory_table_p):
7662 * chartab.c (Fcheck_category_at):
7663 * chartab.c (Fchar_in_category_p):
7664 * chartab.c (Fcategory_table):
7665 * chartab.c (Fcopy_category_table):
7666 * chartab.c (Fset_category_table):
7667 * chartab.c (Fcategory_designator_p):
7668 * chartab.c (Fcategory_table_value_p):
7669 * cmds.c (Fdelete_char):
7670 * cmds.c (Fdelete_backward_char):
7671 * cmds.c (Fself_insert_command):
7672 * cmds.c (Fself_insert_internal):
7673 * console.c (Fvalid_console_type_p):
7674 * console.c (Fcdfw_console):
7675 * console.c (Fconsole_type):
7676 * console.c (Fconsole_name):
7677 * console.c (Fconsole_device_list):
7678 * console.c (Fconsole_on_window_system_p):
7682 * data.c (Fsubr_interactive):
7683 * data.c (Fchar_to_int):
7684 * data.c (Fint_to_char):
7687 * data.c (Fnumber_to_string):
7688 * data.c (Fstring_to_number):
7690 * database.c (mark_database):
7691 * database.c (finalize_database):
7692 * database.c (Fdatabase_live_p):
7693 * database.c (Fdatabasep):
7694 * device-x.c (Fx_get_resource):
7695 * device.c (Fdfw_device):
7697 * dired.c (Ffile_name_completion):
7698 * dired.c (Ffile_name_all_completions):
7699 * dired.c (Fuser_name_completion):
7700 * dired.c (Fuser_name_completion_1):
7701 * dired.c (Fuser_name_all_completions):
7702 * doc.c (Fdocumentation):
7703 * doc.c (Fdocumentation_property):
7704 * doc.c (Fsubstitute_command_keys):
7706 * editfns.c (Fchar_to_string):
7707 * editfns.c (Fstring_to_char):
7708 * editfns.c (Ftemp_directory):
7709 * editfns.c (Finsert_char):
7710 * editfns.c (Fbuffer_substring_no_properties):
7711 * editfns.c (Fnarrow_to_region):
7712 * editfns.c (Fchar_equal):
7713 * editfns.c (Fchar_Equal):
7714 * editfns.c (Ftranspose_regions):
7715 * emacs.c (Fdump_emacs):
7717 * eval.c (Fcommand_execute):
7718 * eval.c (Fautoload):
7719 * eval.c (Fbacktrace):
7720 * eval.c (Fbacktrace_frame):
7722 * events.c (Fcopy_event):
7723 * events.c (Fcharacter_to_event):
7724 * events.c (Fevent_button):
7725 * events.c (Fevent_process):
7727 * extents.c (Fnext_extent_change):
7728 * extents.c (Fextent_property):
7730 * faces.c (Fmake_face):
7732 * file-coding.c (Fencode_shift_jis_char):
7733 * file-coding.c (Fencode_big5_char):
7734 * fileio.c (Ffile_name_directory):
7735 * fileio.c (Ffile_name_nondirectory):
7736 * fileio.c (Ffile_name_as_directory):
7737 * fileio.c (Fdirectory_file_name):
7738 * fileio.c (Ffile_truename):
7739 * fileio.c (Fsubstitute_in_file_name):
7740 * fileio.c (Ffile_modes):
7741 * fileio.c (Fset_file_modes):
7742 * fileio.c (Fset_default_file_modes):
7743 * fileio.c (Fverify_visited_file_modtime):
7744 * floatfns.c (Facos):
7745 * floatfns.c (Fasin):
7746 * floatfns.c (Fatan):
7747 * floatfns.c (Fcos):
7748 * floatfns.c (Fsin):
7749 * floatfns.c (Ftan):
7750 * floatfns.c (Fbessel_j0):
7751 * floatfns.c (Fbessel_j1):
7752 * floatfns.c (Fbessel_jn):
7753 * floatfns.c (Fbessel_y0):
7754 * floatfns.c (Fbessel_y1):
7755 * floatfns.c (Fbessel_yn):
7756 * floatfns.c (Ferf):
7757 * floatfns.c (Ferfc):
7758 * floatfns.c (Flog_gamma):
7759 * floatfns.c (Fexp):
7760 * floatfns.c (Fexpt):
7761 * floatfns.c (Flog):
7762 * floatfns.c (Flog10):
7763 * floatfns.c (Fsqrt):
7764 * floatfns.c (Fcube_root):
7765 * floatfns.c (Facosh):
7766 * floatfns.c (Fasinh):
7767 * floatfns.c (Fatanh):
7768 * floatfns.c (Fcosh):
7769 * floatfns.c (Fsinh):
7770 * floatfns.c (Ftanh):
7771 * floatfns.c (Fabs):
7772 * floatfns.c (Ffloat):
7773 * floatfns.c (Flogb):
7774 * floatfns.c (Fceiling):
7775 * floatfns.c (Ffloor):
7776 * floatfns.c (Fround):
7777 * floatfns.c (Ftruncate):
7778 * floatfns.c (Ffceiling):
7779 * floatfns.c (Fffloor):
7780 * floatfns.c (Ffround):
7781 * floatfns.c (Fftruncate):
7782 * fns.c (Fstring_equal):
7783 * fns.c (Fstring_lessp):
7788 * fns.c (Fsubstring):
7790 * fns.c (Fold_assoc):
7791 * fns.c (assoc_no_quit):
7793 * fns.c (Fold_assq):
7794 * fns.c (assq_no_quit):
7796 * fns.c (Fold_rassoc):
7798 * fns.c (Fold_rassq):
7799 * fns.c (rassq_no_quit):
7800 * fns.c (Fremassoc):
7801 * fns.c (remassoc_no_quit):
7803 * fns.c (remassq_no_quit):
7804 * fns.c (Fremrassoc):
7805 * fns.c (Fremrassq):
7806 * fns.c (remrassq_no_quit):
7808 * fns.c (Fplist_get):
7809 * fns.c (Fplist_put):
7810 * fns.c (Fplist_remprop):
7811 * fns.c (Fplist_member):
7812 * fns.c (Flax_plist_get):
7813 * fns.c (Flax_plist_put):
7814 * fns.c (Flax_plist_remprop):
7815 * fns.c (Flax_plist_member):
7817 * fns.c (Fold_equal):
7819 * fns.c (Fbase64_encode_region):
7820 * fns.c (Fbase64_encode_string):
7821 * fns.c (Fbase64_decode_region):
7823 * frame.c (frame_matches_frame_spec):
7824 * frame.c (device_matches_device_spec):
7825 * frame.c (next_frame):
7826 * frame.c (previous_frame):
7827 * frame.c (Fnext_frame):
7828 * frame.c (Fprevious_frame):
7829 * frame.c (Fframe_property):
7830 * frame.c (Fset_frame_height):
7831 * frame.c (Fset_frame_size):
7835 * glyphs.c (decode_error_behavior_flag):
7836 * glyphs.c (Fmake_image_instance):
7837 * indent.c (Findent_to):
7838 * intl.c (Fignore_defer_gettext):
7839 * keymap.c (Fkeymapp):
7840 * keymap.c (Flookup_key):
7842 * lread.c (Fload_internal):
7843 * lread.c (Feval_buffer):
7844 * lread.c (Feval_region):
7845 * macros.c (Fexecute_kbd_macro):
7846 * marker.c (set_marker_internal):
7847 * marker.c (Fset_marker):
7848 * marker.c (set_marker_restricted):
7849 * marker.c (Fcopy_marker):
7850 * marker.c (noseeum_copy_marker):
7852 * menubar.c (Fpopup_menu):
7854 * mule-charset.c (Fcharset_name):
7855 * mule-charset.c (Fchar_charset):
7856 * mule-charset.c (Fchar_octet):
7857 * mule-charset.c (Fsplit_char):
7858 * mule-wnnfns.c (Fwnn_open):
7859 * mule-wnnfns.c (Fwnn_dict_comment):
7860 * mule-wnnfns.c (Fwnn_quit_henkan):
7861 * mule-wnnfns.c (Fwnn_word_toroku):
7862 * mule-wnnfns.c (Fwnn_word_sakujo):
7863 * mule-wnnfns.c (Fwnn_word_use):
7864 * mule-wnnfns.c (Fwnn_hindo_set):
7866 * objects.c (Fmake_color_instance):
7867 * objects.c (Fmake_font_instance):
7868 * print.c (Fwrite_char):
7870 * process.c (mark_process):
7871 * process.c (print_process):
7872 * process.c (get_process_from_usid):
7873 * process.c (Fprocessp):
7874 * process.c (Fprocess_live_p):
7875 * process.c (Fget_process):
7876 * process.c (Fget_buffer_process):
7877 * process.c (get_process):
7878 * process.c (Fprocess_id):
7879 * process.c (Fprocess_name):
7880 * process.c (Fprocess_command):
7881 * process.c (init_process_io_handles):
7882 * process.c (start_process_unwind):
7883 * process.c (Fstart_process_internal):
7884 * process.c (Fopen_multicast_group_internal):
7885 * process.c (Fset_process_window_size):
7886 * process.c (read_process_output):
7887 * process.c (send_process):
7888 * process.c (Fprocess_tty_name):
7889 * process.c (Fset_process_buffer):
7890 * process.c (Fprocess_buffer):
7891 * process.c (Fprocess_mark):
7892 * process.c (set_process_filter):
7893 * process.c (Fset_process_filter):
7894 * process.c (Fprocess_filter):
7895 * process.c (Fprocess_send_region):
7896 * process.c (Fprocess_send_string):
7897 * process.c (exec_sentinel):
7898 * process.c (Fset_process_sentinel):
7899 * process.c (Fprocess_sentinel):
7900 * process.c (status_notify):
7901 * process.c (Fprocess_status):
7902 * process.c (Fprocess_exit_status):
7903 * process.c (process_send_signal):
7904 * process.c (Fprocess_send_eof):
7905 * process.c (deactivate_process):
7906 * process.c (remove_process):
7907 * process.c (Fdelete_process):
7908 * process.c (kill_buffer_processes):
7909 * process.c (Fprocess_kill_without_query):
7910 * process.c (Fprocess_kill_without_query_p):
7912 * rangetab.c (Fget_range_table):
7913 * rangetab.c (Fput_range_table):
7914 * rangetab.c (Fremove_range_table):
7915 * rangetab.c (Fclear_range_table):
7917 * search.c (Fskip_chars_forward):
7918 * search.c (Fskip_chars_backward):
7919 * search.c (Fskip_syntax_forward):
7920 * search.c (Fskip_syntax_backward):
7921 * search.c (search_command):
7922 * search.c (Freplace_match):
7923 * search.c (Fregexp_quote):
7924 * select.c (Fown_selection_internal):
7925 * select.c (Fselection_owner_p):
7926 * select.c (Fselection_exists_p):
7927 * select.c (Fget_selection_internal):
7930 * symbols.c (Fintern):
7931 * symbols.c (Fintern_soft):
7932 * symbols.c (Funintern):
7933 * symbols.c (Fapropos_internal):
7934 * symbols.c (Fset_default):
7936 * syntax.c (Fsyntax_table_p):
7937 * syntax.c (Fcopy_syntax_table):
7938 * syntax.c (Fset_syntax_table):
7939 * syntax.c (Fchar_syntax):
7940 * syntax.c (syntax_match):
7941 * syntax.c (Fmatching_paren):
7942 * syntax.c (Fforward_word):
7943 * syntax.c (scan_lists):
7944 * syntax.c (Fscan_lists):
7945 * syntax.c (Fscan_sexps):
7946 * syntax.c (Fparse_partial_sexp):
7947 * toolbar.c (Fcheck_toolbar_button_syntax):
7950 * window.c (Fwindowp):
7951 * window.c (Fwindow_live_p):
7952 * window.c (Fwindow_point):
7953 * window.c (Fdelete_window):
7954 * window.c (Fnext_window):
7955 * window.c (Fprevious_window):
7956 * window.c (Fother_window):
7957 * window.c (window_loop):
7958 * window.c (Fget_lru_window):
7959 * window.c (Fsplit_window):
7960 * window.c (Fenlarge_window):
7961 * window.c (Fenlarge_window_pixels):
7962 * window.c (Fshrink_window):
7963 * window.c (Fshrink_window_pixels):
7964 * window.c (change_window_height):
7965 * window.c (Fwindow_configuration_p):
7966 * window.c (Fcurrent_window_configuration):
7968 * casefiddle.c (casify_object):
7969 * casefiddle.c (Fupcase):
7970 * casefiddle.c (Fdowncase):
7971 * casefiddle.c (Fcapitalize):
7972 * casefiddle.c (Fupcase_initials):
7973 * casefiddle.c (casify_region_internal):
7974 * casefiddle.c (casify_region):
7975 * casefiddle.c (Fupcase_region):
7976 * casefiddle.c (Fdowncase_region):
7977 * casefiddle.c (Fcapitalize_region):
7978 * casefiddle.c (Fupcase_initials_region):
7979 * casefiddle.c (Fupcase_word):
7980 * casefiddle.c (Fdowncase_word):
7981 * casefiddle.c (Fcapitalize_word):
7982 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
7983 Replace 0 with '\0' when working with bytes.
7984 Replace initial "(" with "\(" in docstrings.
7986 2000-11-01 Martin Buchholz <martin@xemacs.org>
7988 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
7990 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
7992 2000-10-31 Martin Buchholz <martin@xemacs.org>
7994 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
7996 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
7998 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8001 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8003 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8004 (inhibit_auto_save_session): New variable.
8005 (vars_of_fileio): Declare and initialize them.
8006 * fileio.c (Fdo_auto_save): Don't create session file if
8007 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8009 2000-10-31 Martin Buchholz <martin@xemacs.org>
8011 * sgiplay.c (play_internal): C++ compilability.
8012 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8013 * callproc.c (Fold_call_process_internal):
8014 Remove unused vars `env', `first'.
8015 * scrollbar.c (update_scrollbar_instance):
8016 #### unused var `current_window'.
8017 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8018 etc. within #ifdef NOT_YET.
8019 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8020 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8021 * specifier.c (specifier_instance):
8022 #### unused var `tag'.
8023 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8025 2000-10-27 Martin Buchholz <martin@xemacs.org>
8028 * fns.c (list_sort):
8029 * fns.c (Ffillarray):
8030 * fns.c (bytecode_nconc2):
8033 * fns.c (Fmapconcat):
8034 Be pedantically 64-bit correct. For the time when someone will
8035 want to have a list with length > 2**32.
8037 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8038 Work around MIPSpro compiler bug.
8040 * process-unix.c (unix_kill_child_process): Add snarky comment.
8041 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
8043 * config.h.in: Oops, _getpt ==> _getpty
8045 2000-10-26 Martin Buchholz <martin@xemacs.org>
8049 Use void*, not char*, as return type of alloca().
8051 * alloc.c (free_marker): Side effect inside assert expression!
8053 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
8055 * mule-charset.c (Fset_charset_ccl_program): To check
8056 if the given ccl program is valid, use setup_ccl_program()
8057 instead of CHECK_VECTOR().
8058 (Fmake_charset): Likewise.
8060 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
8062 * faces.c (get_extent_fragment_face_cache_index):
8063 Fix cachel.merged_faces memory leak.
8065 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
8067 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
8068 Reset MSB of octets obtained by DECODE_SJIS
8069 because of the incompatibility with Emacs.
8070 (ccl_driver)<CCL_ENCODE_SJIS>:
8071 Set MSB of octets before passing them to
8072 ENCODE_SJIS because of the incompatibility
8075 2000-10-18 Daiki Ueno <ueno@unixuser.org>
8077 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
8078 (DECLARE_LRECORD): Undo the last change.
8079 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
8081 2000-10-17 Daiki Ueno <ueno@unixuser.org>
8083 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
8084 the implementation to lrecord_implementations_table.
8086 2000-10-14 Daiki Ueno <ueno@unixuser.org>
8088 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
8089 initial value of `lrecord_type_##c_name' and
8090 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
8091 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
8092 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
8093 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
8094 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
8096 2000-10-17 Martin Buchholz <martin@xemacs.org>
8098 * miscplay.c (sndcnv8S_2mono):
8099 (sndcnv2monounsigned):
8100 (sndcnvULaw_2linear):
8102 Remove implementation-defined behavior.
8104 2000-10-12 Martin Buchholz <martin@xemacs.org>
8106 * input-method-xlib.c: Warning suppression.
8108 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
8110 * mule-ccl.c: Sync up with Emacs 21.0.90.
8111 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
8113 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
8115 (ccl_driver[WriteMultibyteChar2]): Bug fix.
8116 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
8117 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
8118 leading char belongs to official 2-dimensional charset.
8119 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
8120 write the given character as is. Otherwise,
8121 if it is a multibyte char, convert it by
8122 non_ascii_set_charptr_emchar, then write it.
8123 (CCL_WRITE_STRING): Likewise.
8124 (ccl_get_compiled_code): New function.
8125 (setup_ccl_program): When ccl_prog is invalid,
8127 (Fregister_code_conversion_map): New function.
8128 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
8130 * mule-ccl.h: Sync up with Emacs 21.0.90.
8131 (Fregister_ccl_program): export it.
8133 * redisplay-msw.c (separate_textual_runs):
8134 If ccl program is not valid, don't do ccl conversion.
8136 * redisplay-x.c (separate_textual_runs): Ditto.
8138 * file-coding.c (Fmake_coding_system):
8139 When type is ccl and value is vector, register it
8140 with a proper symbol. And checks whether the
8141 given ccl program is valid.
8142 (mule_decode): When calling ccl_driver, if src indicates
8143 NULL pointer, set an empty string instead.
8144 (mule_encode): Likewise.
8146 2000-10-11 Martin Buchholz <martin@xemacs.org>
8148 The following large batch of changes gets us back to a state of
8149 C++ compilability. Extbyte is now a char, which means that
8150 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
8152 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
8154 * sound.c (Fplay_sound): Type correctness.
8156 * select-x.c (hack_motif_clipboard_selection): Type correctness.
8157 (x_get_window_property): Type correctness.
8158 (receive_incremental_selection): unsigned char ==> Extbyte
8159 (selection_data_to_lisp_data): unsigned char ==> Extbyte
8160 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
8161 (Fx_store_cutbuffer_internal): Type correctness.
8163 * process-unix.c (try_to_initialize_subtty): Type correctness.
8165 * objects-x.c (x_print_color_instance): Type correctness.
8166 (x_print_font_instance): Type correctness.
8167 (x_list_fonts): SExtbyte ==> Extbyte.
8168 (valid_x_font_name_p): SExtbyte ==> Extbyte.
8169 (x_find_charset_font): SExtbyte ==> Extbyte.
8170 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
8171 (truename_via_XListFonts): SExtbyte ==> Extbyte.
8172 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
8175 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
8176 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
8177 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
8178 (BYTE_C0_P): Use bit ops for char-signedness safety.
8179 (BYTE_C1_P): Use bit ops for char-signedness safety.
8180 (CHARSET_BY_LEADING_BYTE):
8181 (CHARSET_BY_ATTRIBUTES):
8182 Always use inline function.
8183 Use type_checking_assert.
8186 * mule-charset.c (non_ascii_charptr_copy_char):
8187 Modify to work with both ASCII and non-ASCII characters.
8188 Improve docs and variable names.
8189 Replace over-clever fall-through switch with a simple loop.
8190 (Lstream_get_emchar_1):
8191 Replace over-clever fall-through switch with a simple loop.
8193 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8194 Warning suppression.
8196 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
8197 the return value of Lstream_getc, which could be EOF as well.
8199 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
8201 * lisp.h: Make Extbyte a char, not unsigned char, so that external
8202 APIs can be used on Extbytes without casts. Risky!
8206 * input-method-xlib.c (XIM_init_device):
8207 Use Xlib.h instead of IntrinsicP.h.
8208 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
8209 which will break in X11R7.
8210 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
8211 to call XRegisterIMInstantiateCallback with correct types.
8213 * gui-x.c (button_item_to_widget_value): Type correctness.
8215 * glyphs.c (bitmap_to_lisp_data): Type correctness.
8217 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
8218 (xbm_instantiate_1): Type correctness.
8219 (BUILD_GLYPH_INST): Type correctness.
8221 * fileio.c (Fsubstitute_in_file_name): Type correctness.
8224 (decode_coding_sjis):
8225 (decode_coding_big5):
8226 (decode_coding_ucs4):
8227 (decode_coding_utf8):
8228 (decode_coding_iso2022):
8229 (decode_coding_no_conversion):
8230 Make all decoding functions take an Extbyte * arg.
8231 (encode_coding_sjis):
8232 (encode_coding_big5):
8233 (encode_coding_ucs4):
8234 (encode_coding_utf8):
8235 (encode_coding_iso2022):
8236 (encode_coding_no_conversion):
8237 Make all encoding functions take a Bufbyte * arg.
8238 Use size_t instead of unsigned int for memory sizes.
8239 Only cast to unsigned char whenever dereferencing Extbyte *.
8241 * doc.c (unparesseuxify_doc_string): Type correctness.
8243 * console-x.c (split_up_display_spec):
8244 Rewrite without using details of internal string representation.
8245 (x_semi_canonicalize_device_connection): Type correctness.
8248 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
8249 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
8250 (HAVE_XFREE386): Removed.
8252 * buffer.h (DEC_CHARPTR): `const' correctness.
8253 (bufbyte_strcmp): New.
8254 (bufbyte_memcmp): New.
8256 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
8258 * buffer.h (XCHAR_OR_CHAR_INT):
8259 Always use inline function.
8260 Remove redundant type checking assert() - XINT will abort quite nicely.
8262 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
8264 * search.c (Freplace_match): Set newtext to an empty string.
8266 2000-10-10 Martin Buchholz <martin@xemacs.org>
8268 * s/decosf1-3.h: Remove #include of stropts.h
8269 * s/ptx.h: Remove #include of stropts.h
8270 * s/usg5-4.h: Remove #include of stropts.h
8273 Use stropts.h, not sys/stropts.h.
8274 Use strtio.h, not sys/strtio.h.
8276 2000-10-04 Martin Buchholz <martin@xemacs.org>
8278 * XEmacs 21.2.36 is released.
8280 2000-09-21 Andy Piper <andy@xemacs.org>
8282 * glyphs-x.c (x_redisplay_widget): make sure non-structural
8283 changes still involve copying the widget tree.
8284 (update_widget_face): make sure a change is register in the widget
8285 tree. Call update_tab_widget_face appropriately.
8286 (update_tab_widget_face): ditto.
8287 (x_tab_control_redisplay): make sure non-structural changes still
8288 involve copying the widget tree.
8290 2000-08-31 Daiki Ueno <ueno@unixuser.org>
8292 * lread.c (locate_file): Check the path element is non-nil.
8294 2000-10-02 Martin Buchholz <martin@xemacs.org>
8296 * lisp.h: Warning suppression for SCO compilers.
8298 * redisplay-tty.c (reset_tty_modes): Fix crash.
8299 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
8301 2000-09-27 Martin Buchholz <martin@xemacs.org>
8303 Big signal/process handling overhaul. Bugs fixed:
8304 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
8305 M-x comint-kill-subjob should work for both values nil and t of
8306 process-connection-type. It was broken on most platforms.
8307 Testing on Irix and Cygwin still needed. Other plaforms tested.
8308 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
8309 * process-unix.c: Signal/Process handling overhaul.
8310 (pty_name): make 64 bytes, as `expect' does, for paranoia.
8311 (allocate_pty): Use all available modern methods of allocating
8312 ptys, falling back to old style BSD allocation as a last resort.
8313 Use allegedly more secure Unix98 pty allocation by default.
8314 (allocate_pty_the_old_fashioned_way): New. the last resort.
8315 (unix_create_process): Push ptem, ldterm, ttcompat where
8316 available. Autoconfiscate.
8317 (try_to_initialize_subtty): New.
8318 (unix_kill_child_process): Proper signal handling for ptys on most
8319 platforms, using special knowledge of AIX, BSD, etc...
8320 (unix_create_process): Always disconnect_controlling_terminal() for
8321 subprocesses, whether using ptys or not.
8322 * process.h: Remove old getpt-dependent PTY code.
8323 * process.c (Fprocess_send_signal): New, obvious generic function.
8324 (decode_signal): New.
8325 (Finterrupt_process):
8329 (Fcontinue_process):
8330 (Fsignal_process): Use decode_signal.
8331 (process_send_signal):
8332 Many docstring corrections.
8333 Allow any signal to be sent to a process object.
8334 * config.h.in: Add symbols for big signal/process overhaul.
8335 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
8336 * sysproc.h: Include process-related headers, where available:
8337 sys/stropts.h sys/strtio.h pty.h libutil.h
8345 Remove old S&M pty stuff.
8346 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
8347 * systty.h: Simplify cpp hackery, improve comments.
8348 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
8350 * editfns.c (Fformat_time_string):
8351 Be a little more paranoid with the return value of ctime.
8353 * fileio.c (check_executable):
8355 Use symbolic constants X_OK, W_OK.
8357 * console-x.c (split_up_display_spec): Fix a warning.
8359 2000-10-02 Martin Buchholz <martin@xemacs.org>
8361 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
8362 * ntproc.c (sys_spawnve): make_string ==> build_string
8363 Small clarity improvements.
8365 2000-09-30 Martin Buchholz <martin@xemacs.org>
8367 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
8369 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
8371 * config.h.in (HAVE_STRCASECMP): Remove.
8373 2000-09-29 Martin Buchholz <martin@xemacs.org>
8375 * redisplay-output.c (redisplay_output_pixmap):
8376 Cleaner and possibly more 64-bit correct code.
8378 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
8380 * dumper.c (pdump_load_finish): move restoration of
8381 `noninteractive1' to emacs.c (main_1).
8382 * emacs.c (main_1): protect LISP-visible command-line flags
8385 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
8387 * Makefile.in.in (versionclean): Use EXE_TARGET and
8388 DUMP_TARGET instead of literal program names.
8390 2000-09-20 Martin Buchholz <martin@xemacs.org>
8392 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
8394 2000-09-19 Martin Buchholz <martin@xemacs.org>
8396 * *: Spelling mega-patch
8398 2000-09-19 Martin Buchholz <martin@xemacs.org>
8400 * fns.c (bad_bad_turtle):
8401 Delete "Eek!" comment, since we fixed the bug to which it refers.
8403 2000-09-16 Martin Buchholz <martin@xemacs.org>
8405 * alloca.c: Replace REGISTER with register.
8407 2000-09-16 Daiki Ueno <ueno@unixuser.org>
8409 * file-coding.c (ucs_to_char): Use countof.
8411 2000-09-16 Martin Buchholz <martin@xemacs.org>
8413 * file-coding.c: (ucs_to_char):
8414 (complex_vars_of_file_coding):
8415 Use countof instead of sizeof.
8416 Use CHECK_NATNUM instead of CHECK_INT.
8418 * sysdep.c (strcasecmp): Remove.
8419 * device-x.c (ascii_strcasecmp): New.
8420 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
8421 Avoid using non-standard non-portable strcasecmp.
8423 2000-09-16 Martin Buchholz <martin@xemacs.org>
8425 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
8426 * font-lock.c: remove reference to emacsfns.h.
8427 * search.c: small doc improvement.
8428 * event-Xt.c: correct file names in comments.
8429 * console-x.h Correct file names in comments.
8430 * frame.c: Correct file names in comments.
8431 * event-stream.c: remove Energize from comments.
8433 2000-09-15 Martin Buchholz <martin@xemacs.org>
8435 * symeval.h (DEFERROR_STANDARD):
8438 (DEFSYMBOL_NO_DUMP):
8439 (DEFSYMBOL_MULTIWORD_PREDICATE):
8440 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
8442 The construct &##name is not sensible C.
8443 Fixes compilation errors with Unixware native compiler.
8445 2000-09-14 Martin Buchholz <martin@xemacs.org>
8447 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
8448 (next_frame_internal): Removed. We now just have next_frame.
8450 Write a simpler and cleaner one-pass algorithm.
8451 Remove called_from_delete_device arg and #ifdefed-out code.
8453 Renamed from prev_frame. Update callers.
8454 Cleaned up to have an analogous implementation to next_frame.
8455 (other_visible_frames_internal): Remove the
8456 called_from_delete_device bogus arg, and hence, remove this
8457 function. Just use other_visible_frames().
8459 * window.c (Fnext_window):
8461 Since next_frame() is guaranteed to return a frame, remove check
8462 for nil inserted in previous patch.
8465 Make code look more like Fnext_window.
8467 Respect the `console' arg when iterating through windows.
8468 Fixes bug: (get-buffer-window buffer t device) not respecting
8470 This function needs more work, as others have pointed out.
8472 * frame.h: Rename prev_frame to previous_frame.
8473 device_matches_console_spec no longer takes a `frame' arg.
8478 Use EMACS_BLOCK_SIGNAL instead of sigblock.
8479 From "Golubev I. N." <gin@mo.msk.ru>.
8481 * make-src-depend: Fix typo.
8483 2000-09-13 Martin Buchholz <martin@xemacs.org>
8485 * window.c (Fnext_window):
8486 next_frame() might return nil, not a frame.
8488 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8490 * frame.c (next_frame_internal):
8491 We've passed a frame if we've passed its device.
8493 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8494 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
8496 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
8498 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8499 Allow option to suppress accelerators in menu/dialog items.
8500 (populate_or_checksum_helper): Pass dialog title through above.
8502 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
8504 * event-msw.c (mswindows_key_to_emacs_keysym):
8505 Add "pause" key, fix "menu" key.
8507 2000-09-09 Martin Buchholz <martin@xemacs.org>
8509 * eval.c (reinit_vars_of_eval):
8510 Increase max_lisp_eval_depth to 1000,
8511 required for thai-xtis.el to byte-compile under some circumstances.
8513 2000-09-04 Martin Buchholz <martin@xemacs.org>
8515 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
8518 2000-09-01 Martin Buchholz <martin@xemacs.org>
8520 * make-src-depend: Make the generated Makefiles smaller.
8522 * s/hpux.h (SETUP_SLAVE_PTY):
8523 Provide a %d in the format string for the errno argument.
8525 * editfns.c (Ftemp_directory):
8527 Avoid buffer overrun on very long file name.
8529 * input-method-xlib.c (XIM_init_device):
8530 6th parameter of XRegisterIMInstantiateCallback has different
8531 pointer types on different OSes, so simply cast to (void *).
8533 * unexhp9k800.c: Warning fixes. Fiddly changes.
8535 * sysdll.c (dll_open):
8536 shl_load will hang hard if passed a NULL filename.
8537 Simply return NULL for compatibility with dlopen.
8538 * sysdll.c: Conform to XEmacs coding standards.
8540 * sysdep.c (get_pty_max_bytes):
8541 Support pty input lines longer than 512 bytes on HP-UX 10.20.
8543 2000-08-31 Martin Buchholz <martin@xemacs.org>
8545 * tooltalk.c: Add #include <syssignal.h>
8547 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
8549 * s/hpux.h: Don't use undefined function sigunblock().
8551 2000-08-31 Martin Buchholz <martin@xemacs.org>
8553 * config.h.in: Add HAVE_BALLOON_HELP.
8554 * emacs.c: Use HAVE_BALLOON_HELP.
8555 * Makefile.in.in (x_objs):
8556 Make Balloon Help conditional on finding shape.h.
8558 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
8560 * syntax.c (regex_emacs_buffer_p): New variable.
8561 * syntax.h (regex_emacs_buffer_p): extern.
8562 * search.c (looking_at_1):
8564 (fast_string_match):
8565 (search_buffer): Set regex_emacs_buffer_p.
8566 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
8567 when before_dot, at_dot, after_dot.
8569 2000-08-23 Andy Piper <andy@xemacs.org>
8571 * gui-x.c (popup_selection_callback): Only set action_occurred
8572 when we really have an image instance.
8573 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
8575 2000-08-23 Andy Piper <andy@xemacs.org>
8577 * gui-msw.c (mswindows_handle_gui_wm_command): set
8579 * gui-x.c (popup_selection_callback): ditto.
8581 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
8582 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
8583 (struct Lisp_Image_Instance): add action_occurred flag.
8585 * glyphs.c (redisplay_subwindow): use action_occurred flag.
8586 (image_instance_changed): ditto.
8587 (reset_frame_subwindow_instance_cache): only unmap windows - do
8588 not remove them from the cache also.
8590 * glyphs-widget.c (tab_control_update): better debug.
8591 (progress_gauge_update): ditto.
8592 (layout_update): ditto.
8593 (layout_instantiate): ditto.
8594 (tab_control_order_only_changed): cope with null pending items.
8596 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
8597 debug. Force selection of an item when an action occurred. Cope
8598 with null pending_items.
8599 (mswindows_progress_gauge_redisplay): better debug.
8600 * glyphs-x.c (x_tab_control_redisplay): ditto.
8602 * redisplay.c (redisplay_frame): reset the frame cache if the
8605 * window.c (Fset_window_configuration): potentially re-enable
8607 (window_unmap_subwindows): need to finalize instances here since
8608 it is only used in mark_window_as_deleted.
8610 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
8612 * nas.c (SndOpenDataForReading):
8613 nas.c (WaveOpenDataForReading):
8614 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
8615 Somehow escaped from the 2000-08-14 patch.
8617 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
8619 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
8620 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
8622 2000-08-21 Andy Piper <andy@xemacs.org>
8624 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
8625 window if it is not already displayed.
8627 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
8628 it is not already displayed.
8630 * window.c (Fset_window_configuration): don't reset the frame
8633 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
8634 instances from the frame cache if we are actually finalizing them.
8635 (reset_frame_subwindow_instance_cache): reset frame cache only
8636 after unmapping everything.
8637 (map_subwindow): set displayed flag after mapping.
8639 2000-08-21 Martin Buchholz <martin@xemacs.org>
8641 * data.c (indirect_function):
8642 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
8644 * eval.c (function_argcount):
8645 Use original function when signaling errors.
8647 2000-08-18 Andy Piper <andy@xemacs.org>
8649 * frame.c (delete_frame_internal): use new
8650 free_frame_subwindow_instances name.
8652 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
8653 (add_tab_item): make return type correct.
8654 (mswindows_tab_control_instantiate): assert index of tab.
8655 (mswindows_tab_control_redisplay): Re-code to use
8656 gui_item_equal_sans_selected and gui_item_list_find_selected.
8658 * glyphs-widget.c (tab_control_update): Correct comment.
8660 * window.c (window_unmap_subwindows): use new
8661 unmap_subwindow_instance_cache_mapper.
8662 (window_unmap_subwindows_cache_mapper): deleted.
8663 (Fset_window_configuration): comparisons should now be with
8664 EQ. Preserve the subwindow instance cache across configuration
8666 (allocate_window): ditto.
8667 (make_dummy_parent): ditto.
8669 * glyphs.c (free_frame_subwindow_instances): rename from
8670 free_frame_subwindow_instance_cache. finalize all instances rather
8671 than just those in the display cache.
8672 (finalize_all_subwindow_instances): walk windows unmapping and
8673 finalizing subwindows.
8674 (unmap_subwindow_instance_cache_mapper): moved from
8675 window.c. Allow finalization as well as unmapping.
8677 * gui.c (gui_item_list_find_selected): new function.
8679 * gui.h (gui_item_list_find_selected): declare.
8681 * glyphs-x.c (x_tab_control_redisplay): pick tab
8682 explicitly. Re-code to use gui_item_equal_sans_selected and
8683 gui_item_list_find_selected.
8685 * glyphs-x.h: add lwlib-utils.h
8687 * buffer.c (Frecord_buffer): undo previous change.
8689 2000-08-09 Vin Shelton <acs@xemacs.org>
8691 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
8692 possible. Create temporary files more securely. The patch was
8693 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
8694 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
8695 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
8698 2000-08-07 Ben Wing <ben@xemacs.org>
8700 * getloadavg.c: remove duplicate (and windows-breaking)
8701 includes of fcntl.h and sys/file.h.
8703 * nt.c: remove duplicate getloadavg() definition.
8705 * sysdll.h (Qdll_filename_encoding): add missing stand-in
8708 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
8710 * eval.c (function_argcount): If function needs to be autoloaded
8711 actually use the loaded definition.
8714 2000-08-05 Ben Wing <ben@xemacs.org>
8716 * getloadavg.c: add prototype for getloadavg(). remove
8717 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
8718 of the code). remove duplicate header includes.
8720 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
8722 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
8723 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
8724 useful load average.
8726 * alloc.c (reinit_alloc_once_early): removed references to
8727 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
8728 the lisp vars are the only things referencing the malloc_sbrk_*
8729 vars, and they were already if 0'd out. these vars only exist
8730 in the older malloc.c, which is basically unused, and they're
8731 only for informational purposes.
8733 * m\*.h: removed useless VIRT_ADDR_VARIES.
8735 * m\powerpc.h: removed stray NO_ARG_ARRAY.
8737 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
8739 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
8740 color if the image is a mono pixmap.
8742 2000-07-30 Ben Wing <ben@xemacs.org>
8744 * Makefile.in.in (release):
8747 * buffer.c (directory_is_current_directory):
8748 * dired-msw.c (mswindows_get_files):
8750 * dired.c (Fdirectory_files):
8751 * dired.c (file_name_completion_stat):
8752 * dired.c (Ffile_attributes):
8753 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
8754 preprocessor tricks, to avoid problems on some machines
8757 * callproc.c (egetenv): GC docs.
8760 * console-msw.h (struct mswindows_dialog_id):
8761 * lrecord.h (lrecord_type):
8762 New object for use with MSW dialogs.
8764 * console.h (struct console_methods):
8765 New enable/disable frame methods, for proper modal dialogs.
8767 * device-msw.c (msprinter_default_printer): Fix to follow
8768 proper Mule conventions.
8771 * device-msw.c (signal_open_printer_error):
8772 * device-msw.c (msprinter_init_device):
8773 * device-msw.c (ensure_not_printing):
8774 * device-msw.c (plist_get_margin):
8775 * device-msw.c (Fmsprinter_select_settings):
8776 * device-msw.c (finalize_devmode):
8777 * device-msw.c (Fmsprinter_settings_despecialize):
8778 * device-msw.c (signal_enum_priner_error):
8779 * extents.c (decode_extent):
8780 * extents.c (decode_map_extents_flags):
8781 * extents.c (decode_extent_at_flag):
8782 * extents.c (Fextent_at):
8783 * extents.c (Fextents_at):
8784 * extents.c (symbol_to_glyph_layout):
8785 [[[[2]]]] Use structured errors.
8788 * dialog-msw.c (mswindows_is_dialog_msg):
8789 * dialog-msw.c (mark_mswindows_dialog_id):
8790 * dialog-msw.c (dialog_proc):
8791 * dialog-msw.c (handle_question_dialog_box):
8792 * dialog-msw.c (syms_of_dialog_mswindows):
8793 Define new object to clean up marking; use it as a dialog identifier.
8794 Call new delete-dialog-box-hook.
8796 * dialog-x.c (dbox_selection_callback):
8797 * dialog-x.c (dbox_descriptor_to_widget_value):
8798 * dialog-x.c (x_make_dialog_box_internal):
8799 Call new delete-dialog-box-hook.
8803 * dialog.c (syms_of_dialog):
8804 * dialog.c (vars_of_dialog):
8805 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
8808 * eval.c (signal_call_debugger):
8809 when noninteractive, output stack traces on the console instead
8810 of in a (never-seen) buffer.
8812 * eval.c (signal_type_error):
8813 * eval.c (invalid_argument_2):
8815 new funs for use w/structured errors.
8818 * event-Xt.c (x_to_emacs_keysym):
8819 * event-Xt.c (describe_event):
8820 * event-Xt.c (emacs_Xt_event_handler):
8821 * event-Xt.c (vars_of_event_Xt):
8823 * event-msw.c (mswindows_wnd_proc):
8824 * event-msw.c (vars_of_event_mswindows):
8825 rename {x,mswindows}-debug-events to debug-{}-events for
8826 consistency with other debug-foo variables.
8829 document next-event more clearly.
8831 * fileio.c (Ffile_name_directory):
8832 * fileio.c (Ffile_name_nondirectory):
8833 * fileio.c (Funhandled_file_name_directory):
8834 * fileio.c (file_name_as_directory):
8835 * fileio.c (Ffile_name_as_directory):
8836 * fileio.c (directory_file_name):
8837 * fileio.c (Fdirectory_file_name):
8838 * fileio.c (Fmake_temp_name):
8839 * fileio.c (Ffile_truename):
8840 * fileio.c (Fsubstitute_in_file_name):
8841 * fileio.c (expand_and_dir_to_file):
8842 * fileio.c (barf_or_query_if_file_exists):
8843 * fileio.c (check_executable):
8844 * fileio.c (Ffile_exists_p):
8845 * fileio.c (Ffile_writable_p):
8846 * fileio.c (Ffile_directory_p):
8847 * fileio.c (Ffile_regular_p):
8848 * fileio.c (Ffile_modes):
8849 * fileio.c (Ffile_newer_than_file_p):
8850 * fileio.c (Fverify_visited_file_modtime):
8851 * fileio.c (Fset_visited_file_modtime):
8852 * fileio.c (auto_save_1):
8857 * frame-msw.c (mswindows_init_frame_1):
8858 * frame-msw.c (mswindows_enable_frame):
8859 * frame-msw.c (error_frame_unsizable):
8860 * frame-msw.c (msprinter_init_frame_1):
8861 * frame-msw.c (msprinter_init_frame_3):
8862 * frame-msw.c (console_type_create_frame_mswindows):
8864 implement new enable/disable frame methods.
8867 * frame-x.c (x_enable_frame):
8868 * frame-x.c (console_type_create_frame_x):
8869 implement new enable/disable frame methods.
8872 * frame.c (Fdisable_frame):
8873 * frame.c (syms_of_frame):
8874 * frame.h (struct frame):
8875 implement new enable/disable frame methods/functions.
8880 * glyphs-msw.c (mswindows_widget_instantiate):
8881 comment that initial-focus should be implemented.
8884 * glyphs-widget.c (check_valid_instantiator):
8885 * glyphs-widget.c (check_valid_orientation):
8886 * glyphs-widget.c (check_valid_tab_orientation):
8887 * glyphs-widget.c (check_valid_justification):
8888 * glyphs-widget.c (check_valid_border):
8889 * glyphs-widget.c (check_valid_callback):
8890 * glyphs-widget.c (check_valid_int_or_function):
8891 * glyphs-widget.c (check_valid_string_or_vector):
8892 * glyphs-widget.c (check_valid_item_list_1):
8893 * glyphs-widget.c (widget_validate):
8894 * glyphs-widget.c (combo_box_validate):
8895 * glyphs-widget.c (widget_instantiate):
8896 * glyphs-widget.c (syms_of_glyphs_widget):
8897 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
8898 * glyphs-widget.c (image_instantiator_combo_box):
8899 * glyphs-widget.c (image_instantiator_scrollbar):
8900 * glyphs-widget.c (image_instantiator_tab_control):
8901 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
8903 support (unimplemented) keyword initial-focus.
8904 reindent long macros.
8906 * glyphs-x.c (x_redisplay_widget):
8907 * glyphs-x.c (x_button_instantiate):
8908 * glyphs-x.c (x_button_redisplay):
8909 * glyphs-x.c (x_progress_gauge_instantiate):
8910 * glyphs-x.c (x_edit_field_instantiate):
8911 * glyphs-x.c (x_combo_box_instantiate):
8912 * glyphs-x.c (x_tab_control_instantiate):
8913 * glyphs-x.c (x_label_instantiate):
8915 * gui-x.c (button_item_to_widget_value):
8916 * gui-x.c (gui_items_to_widget_values_1):
8917 * gui-x.c (gui_item_children_to_widget_values):
8918 * gui-x.c (gui_items_to_widget_values):
8920 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8921 add new flag to gui-parsing routines to indicate whether
8922 accelerator specs should be supported.
8924 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
8926 * glyphs.h (struct Lisp_Image_Instance):
8927 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
8928 add initial-focus flag.
8931 * gui.c (syms_of_gui):
8932 * gui.c (vars_of_gui):
8933 clean up menu-no-selection-hook.
8936 support delete-dialog-box-hook.
8938 * lread.c (Fload_internal):
8939 * lread.c (locate_file_in_directory_mapper):
8943 * lrecord.h (struct toolbar_button):
8944 * lrecord.h (syms_of_toolbar):
8945 document how to create a new object.
8947 * menubar-msw.c (mswindows_char_is_accelerator):
8948 may be called on frames w/o menus.
8950 * menubar.c (vars_of_menubar):
8951 clean up :filter docs.
8958 * process-nt.c (validate_signal_number):
8959 * process-nt.c (signal_cannot_launch):
8960 * process-nt.c (nt_create_process):
8961 * process-nt.c (nt_send_process):
8962 * process-nt.c (nt_kill_child_process):
8963 * process-nt.c (nt_open_network_stream):
8964 * process-nt.c (syms_of_process_nt):
8966 delete quote-handling. call new lisp code that does it better.
8968 * process-unix.c (connect_to_file_descriptor):
8969 * process-unix.c (allocate_pty):
8970 * process-unix.c (unix_send_process):
8971 * process-unix.c (unix_kill_child_process):
8972 * process-unix.c (unix_open_network_stream):
8973 * process-unix.c (unix_open_multicast_group):
8977 * process.c (Fstart_process_internal):
8978 (2). need to canonicalize process path even if absolute.
8980 * select-msw.c (symbol_to_ms_cf):
8981 * select-msw.c (ms_cf_to_symbol):
8982 * select-msw.c (cf_is_autofreed):
8983 * select-msw.c (mswindows_destroy_selection):
8985 * select.c (syms_of_select):
8987 support dibv5, fix bugs. (from Mike Alexander)
8989 * select.c (Fget_selection_internal):
8990 * select.c (select_convert_out):
8993 * sysdep.c (xemacs_stat):
8998 but keep original stat() here because we provide encapsulation
9002 * sysfile.h (fstat):
9003 remove stat garbage.
9007 don't include tchar.h. it's inappropriate because it makes
9008 compile-time distinctions when we want runtime distinctions.
9009 (we provide our own tchar replacements)
9012 use default object printer for toolbar-button.
9015 make sure we don't encapsulate.
9017 * window.c (vars_of_window):
9018 emphasize that temp-buffer-show-hook is obsolete.
9020 2000-08-05 Martin Buchholz <martin@xemacs.org>
9022 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9023 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9025 * events.c (Fevent_timestamp_lessp):
9026 Not 64-bit clean. Use EMACS_INT, not int.
9028 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
9030 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
9031 unsigned int and changed the last enum to
9032 lrecord_type_last_built_in_type.
9033 (lrecord_implementations_table): changed prototype to know how
9034 long the array is supposed to be.
9035 (lrecord_type_count): new unsigned int to keep track of the
9036 current number of lisp lrecord types.
9037 (DEFINE_EXTERNAL_LRECORD):
9038 (DECLARE_EXTERNAL_LRECORD): Added these two for external
9039 dynamic-modules to declare new lisp types. They are the same
9040 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
9041 int for each new type, and increment lrecord_type_count by 1.
9043 * alloc.c (lrecord_implementations_table): Changed to reference
9044 lrecord_type_last_built_in_type for the size of the array.
9045 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
9047 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9049 * glyphs.h (check_valid_item_list): Renamed from
9050 check_valid_item_list_1.
9052 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
9054 * select.c (Qselect_coerce): New.
9055 * select.c (Vselection_coercion_alist): New.
9056 * select.c (syms_of_select): Declare.
9057 * select.c (get-selection-internal): Use it.
9058 Use the new select-coerce functionality.
9060 * select.c (select_coerce): New.
9061 * select.h (select_coerce): Declare.
9062 New function to coerce one type of data into another.
9064 2000-08-03 Martin Buchholz <martin@xemacs.org>
9066 * callproc.c (Fcall_process_internal):
9067 (Fcall_process_internal):
9068 * process-unix.c (unix_create_process):
9069 Save and restore the value of errno, so that error messages are accurate.
9071 2000-08-01 Martin Buchholz <martin@xemacs.org>
9073 * elhash.c (print_hash_table):
9074 Fix printing of hash tables to also use `key-and-value' instead of `t'.
9075 Prettify docstrings and indentation.
9077 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9079 * window.c (Fwindow_pixel_edges): Subtract frame border and
9082 2000-07-31 Andy Piper <andy@xemacs.org>
9084 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
9085 will acknowledge the change.
9087 * glyphs.h: declare tab_control_order_only_changed.
9089 * glyphs-x.c (x_tab_control_redisplay): use
9090 tab_control_order_only_changed.
9092 * glyphs-widget.c (tab_control_order_only_changed): new function.
9094 * glyphs-msw.c (mswindows_tab_control_redisplay): use
9095 tab_control_order_only_changed.
9097 * gui.c (gui_item_equal_sans_selected): new function.
9098 (gui_item_equal): use it.
9100 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
9101 :properties in favor of :items..
9103 * glyphs-widget.c (check_valid_item_list): rename from
9104 check_valid_item_list_1.
9105 (check_valid_item_list_1): renamed.
9106 (combo_box_validate): deprecate :properties in favor of :items.
9107 (widget_instantiate): ditto.
9108 (tab_control_update): ditto.
9109 (image_instantiator_combo_box): ditto.
9110 (image_instantiator_tree_view): ditto.
9111 (image_instantiator_tab_control): ditto.
9112 (layout_post_instantiate): remove dead code.
9114 * print.c (debug_print_no_newline): only write to debugger if in
9117 * elhash.c (Fmake_hash_table): update doc string.
9119 * event-msw.c (mswindows_wnd_proc): don't allow processing of
9120 messages whilst in GC. This at least stops XEmacs crashing but has
9121 the potential for wierd behaviour.
9123 2000-07-31 Martin Buchholz <martin@xemacs.org>
9126 Make existence of s&m files optional.
9128 * s/bsd386.h: Remove HAVE_GETLOADAVG.
9129 * s/freebsd.h: Remove HAVE_GETLOADAVG.
9130 * s/gnu.h: Remove HAVE_GETLOADAVG.
9131 * s/netbsd.h: Remove HAVE_GETLOADAVG.
9132 * s/sol2.h: Remove HAVE_GETLOADAVG.
9133 * lisp.h: Remove getloadavg() declaration.
9135 Include <sys/loadavg.h> if available.
9136 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
9137 * config.h.in: Group together getloadavg()-related macros.
9138 Use only configure-time tests to detect getloadavg().
9140 2000-07-30 Martin Buchholz <martin@xemacs.org>
9142 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
9144 2000-07-25 Andy Piper <andy@xemacs.org>
9146 * syswindows.h: add tchar.h for native builds.
9148 * frame.c (syms_of_frame): remove set-glyph-image.
9150 * general-slots.h: add Qset_glyph_image.
9152 * glyphs-widget.c (layout_update): add domain arg to
9154 (syms_of_glyphs_widget): remove set-glyph-image.
9156 2000-07-23 Ben Wing <ben@xemacs.org>
9158 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
9161 2000-07-22 Andy Piper <andy@xemacs.org>
9163 * symsinit.h: add syms_of_win32().
9165 * gui-msw.c (syms_of_gui_mswindows): remove
9166 Fmswindows_shell_execute.
9167 (Fmswindows_shell_execute): moved to win32.c.
9169 * emacs.c (main_1): add syms_of_win32 ().
9171 * win32.c (init_potentially_nonexistent_functions): rewrite in
9172 compiler-friendly terms.
9173 (Fmswindows_shell_execute): move here from gui-msw.c.
9174 (syms_of_win32): new.
9176 * device-msw.c (Fmswindows_printer_list): clean up args to
9178 Don't include tchar under cygwin or mingw.
9179 (msprinter_default_printer): make cygwin-friendly.
9181 2000-07-21 Andy Piper <andy@xemacs.org>
9183 * glyphs-widget.c (image_instantiator_tree_view): use tab
9184 control's update function.
9185 (layout_property): new function. Retrieve items.
9187 * glyphs-msw.c (mswindows_tree_view_redisplay): new
9188 function. Re-populate the tree view from the pending items.
9190 * glyphs.c (instantiate_image_instantiator): Make sure the domain
9191 is designated the parent if the domain is an image instance. This
9192 is needed so that dirtiness can be cascade up the hierarchy and
9193 thus for layout children to be redisplayed correctly.
9194 (allocate_image_instance): rename glyph -> parent.
9196 * redisplay.h: change redisplay_output_layout signature.
9198 * redisplay-msw.c (mswindows_output_display_block): use domain
9201 * redisplay-x.c (x_output_display_block): use domain arg.
9203 2000-07-10 Andy Piper <andy@xemacs.org>
9205 * window.c (Fset_window_configuration): add comment.
9207 * redisplay-output.c (compare_runes):
9208 (redisplay_output_subwindow): redisplay rather than update subwindow.
9209 (redisplay_output_layout): ditto.
9211 * redisplay-msw.c (mswindows_frame_output_end):
9212 (mswindows_frame_output_end): make defer window pos optional.
9214 * lisp.h: add Flast.
9216 * glyphs.h (struct image_instantiator_methods): add dest_mask top
9217 normalize method. Change update method to be for changed
9218 instantiators. Add redisplay method. Change signature of layout
9220 (struct Lisp_Image_Instance): add instantiator.
9221 (IMAGE_INSTANCE_INSTANTIATOR): new.
9222 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
9223 (XIMAGE_INSTANCE_INSTANTIATOR): new.
9224 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
9227 (find_instantiator_differences): new function.
9228 (Fset_instantiator_property): new convenience function.
9229 (check_image_instance_structure): strictly check for vector
9231 (normalize_image_instantiator): make non-static.
9232 (instantiate_image_instantiator): pass on dest_mask and use new
9233 signatures for image_instance_layout and friends.
9234 (mark_image_instance): mark the instantiator. Mark the subwindow
9235 face not the widget face.
9236 (image_instance_equal): add instantiator.
9237 (image_instance_hash): ditto.
9238 (allocate_image_instance): ditto.
9239 (Fset_image_instance_property): removed.
9240 (Fimage_instance_file_name): ditto.
9241 (Fcolorize_image_instance): ditto.
9242 (image_instance_layout): add offsets to be set.
9243 (update_image_instance): new function. update an image instance
9244 from its changed instantiator.
9245 (inherit_normalize): add dest_mask.
9246 (xbm_normalize): ditto.
9247 (xface_normalize): ditto.
9248 (xpm_normalize): ditto.
9249 (text_update): set_property -> update.
9250 (image_instantiate): use the glyph identity as a hash key, not the
9252 (glyph_width): use new image_instance_layout signature.
9253 (glyph_ascent): ditto.
9254 (glyph_descent): ditto.
9255 (glyph_height): ditto.
9256 (glyph_query_geometry): ressurrect.
9257 (glyph_layout): ditto.
9258 (redisplay_subwindow): update -> redisplay.
9259 (syms_of_glyphs): add Fset_instantiator_property.
9260 (image_instantiator_format_create): set_property -> update.
9263 (autodetect_normalize): add dest_maks to signature.
9264 (x_redisplay_subwindow): update -> redisplay.
9265 (x_redisplay_widget): ditto.
9266 (x_button_redisplay): ditto.
9267 (x_progress_gauge_redisplay): ditto.
9268 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
9270 (console_type_create_glyphs_x): update -> redisplay.
9271 (image_instantiator_format_create_glyphs_x): ditto.
9274 (check_valid_instantiator): disallow glyphs in the instantiator,
9275 they must now be vectors.
9276 (check_valid_instantiator_list): ditto.
9277 (glyph_instantiator_to_glyph): use internal symbol rather than
9279 (widget_update): renamed from widget_set_property. Call cascaded
9281 (redisplay_widget): renamed from update_widget.
9282 (widget_layout): image_instance_layout now takes position as well
9284 (widget_normalize): ditto.
9285 (widget_instantiate): ditto.
9286 (tab_control_query_geometry) ditto.:
9287 (tab_control_update): renamed from tab_control_set_property.
9288 (progress_gauge_update): set_property -> update.
9289 (layout_normalize): rewrite so that child instantiators are
9291 (layout_update): new function. Create glyphs from the normalized
9292 children and cope with any other layout keywords. We do not
9293 instantiate children here that will be take care of by
9294 redisplay_output_layout.
9295 (layout_instantiate): call layout_update and not much else.
9296 (layout_post_instantiate): not sure whether this is needed
9298 (layout_query_geometry): query glyph geometry rather than
9299 image_instance geometry.
9300 (layout_layout): set offsets from pass in parameters. Use glyph
9301 geometry and layout functions rather than image instance ones.
9302 (native_layout_layout): ditto.
9303 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
9304 (image_instantiator_widget): set_property -> update.
9305 (image_instantiator_buttons): ditto.
9306 (image_instantiator_progress_guage): ditto.
9307 (image_instantiator_tab_control): ditto.
9308 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
9309 (image_instantiator_layout): add update method.
9311 * glyphs-msw.c (bmp_normalize):
9312 (mswindows_resource_normalize): add dest_mask so that it can be
9313 proprogated by layout_normalize.
9314 (begin_defer_window_pos): make optional because it may not be the
9315 right thing to do and it introduces differences with X.
9316 (mswindows_unmap_subwindow): ditto.
9317 (mswindows_map_subwindow): ditto.
9318 (mswindows_redisplay_subwindow): renamed from
9319 mswindows_update_subwindow.
9320 (mswindows_redisplay_widget): ditto.
9321 (mswindows_button_redisplay): renamed from
9322 mswindows_button_update. Update is now what the instantiation
9323 function does for a changed instantiator.
9324 (mswindows_progress_gauge_instantiate): set the progress value
9325 here if appropriate.
9326 (mswindows_tab_control_redisplay): cope with re-ordering of the
9327 members of the tab widget by simply selecting the new top
9328 widget. This makes things appear ok if you click on a tab.
9329 (mswindows_combo_box_instantiate): image_instance_layout now takes
9330 position as well as size.
9331 (mswindows_progress_gauge_redisplay): renamed from
9332 mswindows_progress_gauge_update.
9333 (console_type_create_glyphs_mswindows): fix update -> redisplay.
9334 (image_instantiator_format_create_glyphs_mswindows): ditto.
9336 * glyphs-eimage.c (jpeg_normalize):
9339 (tiff_normalize): add dest_mask so that it can be proprogated by
9344 (hash_table_weakness_validate):
9345 (decode_hash_table_weakness):
9346 (Fhash_table_weakness):
9348 (syms_of_elhash): use Ben's naming scheme for hashtable types..
9350 * console.h (struct console_methods): move update_* to
9353 2000-07-20 Ben Wing <ben@xemacs.org>
9355 * *.[ch] (XSETOBJ): remove unused middle argument.
9356 lisp-disunion.h: correct wrap_object() to one argument.
9358 2000-07-15 Ben Wing <ben@xemacs.org>
9361 * s/cygwin32.h (CYGWIN_CONV_PATH):
9362 Add missing logb prototype for v1.1.
9363 Use post-b20 names and alias to pre-b20 names when pre-b20.
9365 * s/windowsnt.h: [5].
9367 2000-07-15 Ben Wing <ben@xemacs.org>
9369 * Makefile.in.in (x_objs):
9370 * Makefile.in.in (sheap_objs):
9371 * Makefile.in.in (objs):
9372 added win32.o, cosmetic cleanups.
9374 * alloc.c (Fmake_byte_code):
9375 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
9376 etc. macros which declare their own args now.
9378 * alloc.c (syms_of_alloc):
9379 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
9382 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
9384 * buffer.c (Fget_file_buffer):
9385 Fixed GCPRO problem.
9387 * buffer.c (get_truename_buffer):
9388 Fixed comment about GC checking.
9390 * buffer.c (syms_of_buffer):
9391 Undeclared those dedicated frame funs.
9395 Define convenience macros for internal/external conversions.
9396 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
9397 and Qenvironment_variable_encoding for cleaner code.
9400 Remove dedicated-frame; in lisp.
9402 * bytecode.c (funcall_compiled_function):
9405 * bytecode.c (syms_of_bytecode):
9409 * console-msw.c (mswindows_show_console): Rewrote.
9411 * console-msw.c (Fmswindows_debugging_output): New.
9412 Sends to OutputDebugString (special MSWin debugger interface).
9414 * console-msw.c (Fmswindows_message_box):
9415 Fixed stupid bugs so it works when called from kill-emacs.
9417 * console-msw.c (syms_of_console_mswindows):
9418 Declare Fmswindows_debugging_output.
9421 New MSWin prototypes.
9423 * console-msw.h (struct mswindows_frame):
9424 New entry last-click-mods for improved button-modifier support.
9426 * console-msw.h (FRAME_MSWINDOWS_POPUP):
9427 New struct entry `popup' with corresponding accessor.
9430 * console-x.c (split_up_display_spec):
9431 * console-x.c (get_display_arg_connection):
9432 * console-x.c (x_semi_canonicalize_console_connection):
9433 * console-x.c (x_canonicalize_device_connection):
9434 [[[6]]]: Change char to more specific type.
9435 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
9437 * console-x.c (x_semi_canonicalize_console_connection):
9438 * console-x.c (x_canonicalize_device_connection):
9439 [[[9]]]: Fix up error signalling to use new structured error system.
9442 [[[4]]]: Define codesys aliases:
9443 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
9444 Qx_color_name_encoding, Qx_display_name_encoding.
9446 * console.h (struct console_methods):
9447 New method make_dialog_box_internal supersedes older
9448 popup_dialog_box method.
9451 Define many new errors, part of new structured errors.
9453 * data.c (init_errors_once_early):
9454 * data.c (syms_of_data):
9457 * device-msw.c (mswindows_init_device):
9458 [[[5]]]: Cleanup to support NT 3.51.
9460 * device-msw.c (decode_devmode): Cleanup.
9462 * device-msw.c (mswindows_handle_print_setup_dialog_box):
9463 * device-msw.c (mswindows_handle_print_dialog_box):
9464 * device-msw.c (mswindows_handle_page_setup_dialog_box):
9465 * device-msw.c (syms_of_device_mswindows):
9466 Delete the dialog box primitives recently introduced by Kirill and
9467 instead interface to general dialog box interface.
9470 * device-x.c (compute_x_app_name):
9471 * device-x.c (x_init_device):
9472 * device-x.c (Fx_valid_keysym_name_p):
9473 * device-x.c (Fx_set_font_path):
9477 * device.h (wrap_device): New.
9478 First of its kind; meant to replace XSETDEVICE.
9480 * dialog-msw.c: Many file-dialog symbols.
9482 * dialog-msw.c (mswindows_register_popup_frame): New.
9483 * dialog-msw.c (mswindows_is_dialog_msg): New.
9484 For supporting kbd traversal in dialog boxes.
9486 * dialog-msw.c (dialog_proc):
9487 Support hitting ESC in dialogs.
9489 * dialog-msw.c (struct):
9490 Common dialog box errors.
9492 * dialog-msw.c (handle_file_dialog_box): New.
9493 Add file dialog code.
9495 * dialog-msw.c (handle_question_dialog_box):
9496 Redo existing code to support new question dialog syntax.
9498 * dialog-msw.c (console_type_create_dialog_mswindows):
9499 We support new dialog console method.
9501 * dialog-msw.c (syms_of_dialog_mswindows):
9502 * dialog-msw.c (vars_of_dialog_mswindows):
9503 New file dialog symbols, vars.
9506 * dialog-x.c (maybe_run_dbox_text_callback):
9507 * dialog-x.c (dbox_descriptor_to_widget_value):
9508 * dialog-x.c (x_make_dialog_box_internal):
9509 * dialog-x.c (console_type_create_dialog_x):
9510 Mule-ize entire file.
9511 Redo to support question dialog syntax.
9515 * dialog.c (Fmake_dialog_box_internal):
9516 * dialog.c (syms_of_dialog):
9517 Kill old popup-dialog-box, replace with new primitive.
9518 Just call device method or signal error.
9520 * eldap.c (Fldap_open):
9521 * eldap.c (Fldap_search_basic):
9522 * eldap.c (Fldap_add):
9523 * eldap.c (Fldap_modify):
9528 * emacs.c (make_arg_list_1):
9529 * emacs.c (make_arg_list):
9530 Mule-ize call to dll_init().
9534 * emacs.c (make_argc_argv):
9535 * emacs.c (free_argc_argv):
9536 * emacs.c (init_cmdargs):
9538 * emacs.c (Fkill_emacs):
9539 * emacs.c (Fdump_emacs):
9540 Update comments about what can be used in syms_* etc.
9541 Call init_win32() when necessary.
9542 Fix up MS Win dialog box in kill-buffer to actually work right.
9553 * eval.c (condition_case_3):
9555 * eval.c (function_argcount):
9556 * eval.c (funcall_lambda):
9559 * eval.c (type_error): New.
9560 * eval.c (maybe_type_error): New.
9561 * eval.c (continuable_type_error): New.
9562 * eval.c (maybe_continuable_type_error): New.
9563 * eval.c (type_error_with_frob): New.
9564 * eval.c (maybe_type_error_with_frob): New.
9565 * eval.c (continuable_type_error_with_frob): New.
9566 * eval.c (maybe_continuable_type_error_with_frob): New.
9567 New functions for use with structured errors.
9570 * event-Xt.c (x_event_to_emacs_event):
9571 Buttons are now modifiers too.
9573 * event-Xt.c (emacs_Xt_current_event_timestamp):
9574 Implement new event method.
9575 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
9578 * event-msw.c (ntpipe_shove_writer): [5].
9579 * event-msw.c (mswindows_enqueue_mouse_button_event):
9580 * event-msw.c (mswindows_drain_windows_queue):
9581 * event-msw.c (mswindows_wnd_proc): [7].
9582 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
9583 * event-msw.c (mswindows_modifier_state):
9584 Throughout: support new button modifiers.
9586 * event-msw.c (emacs_mswindows_current_event_timestamp):
9587 Implement new event method.
9588 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
9591 * event-stream.c (event_stream_current_event_timestamp): New.
9592 * event-stream.c (maybe_kbd_translate): New functionality.
9593 * event-stream.c (vars_of_event_stream):
9594 Document new kbd-translate-table functionality.
9596 * event-stream.c (Fcurrent_event_timestamp): New.
9597 New primitive for use in fabricated events.
9598 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
9600 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
9603 * events.c (Fmake_event):
9604 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
9608 * events.c (format_event_object): fix gcc warnings.
9610 * events.c (Fevent_timestamp): Document new primitives.
9612 * events.c (TIMESTAMP_HALFSPACE): New.
9614 * events.c (Fevent_timestamp_lessp): New. New primitive for
9615 comparing timestamps correctly (half-space algorithm).
9617 * events.c (Fevent_modifier_bits): Doc fix.
9619 * events.c (Fevent_modifiers): Major doc addition.
9620 * events.c (event_x_y_pixel_internal): Typo fix.
9621 * events.c (syms_of_events): Declare new primitives.
9624 Update long comment for button modifiers, timestamps.
9626 * events.h (struct event_stream):
9627 New current_event_timestamp method.
9630 * extents.c (extent_in_region_p):
9631 * extents.c (decode_extent):
9632 * extents.c (Fset_extent_parent):
9633 * extents.c (decode_map_extents_flags):
9637 * extents.c (struct extent_at_arg):
9638 * extents.c (decode_extent_at_flag):
9639 * extents.c (extent_at_mapper):
9640 * extents.c (extent_at_bytind):
9641 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
9642 * extents.c (Fextents_at): New primitive. [9].
9643 * extents.c (symbol_to_glyph_layout): [9].
9644 Support new primitive `extents-at'.
9647 * extents.c (get_text_property_bytind):
9648 extent_at_bytind has another arg.
9651 * extents.c (syms_of_extents): New primitive.
9653 * file-coding.c (Fmake_coding_system): [1].
9654 * file-coding.c (subsidiary_coding_system): fix gcc warning
9655 * file-coding.c (syms_of_file_coding): [2].
9657 * fileio.c (Fexpand_file_name):
9658 * fileio.c (Fsysnetunam):
9659 * fileio.c (Ffile_exists_p):
9660 * fileio.c (Ffile_executable_p):
9661 * fileio.c (Fverify_visited_file_modtime):
9664 * fileio.c (syms_of_fileio): [2].
9666 * filelock.c (lock_file_1):
9667 * filelock.c (current_lock_owner):
9668 * filelock.c (lock_if_free):
9669 * filelock.c (lock_file):
9670 * filelock.c (unlock_file):
9673 * fns.c (concat): Fix gcc warning.
9676 * fns.c (Fold_member):
9678 * fns.c (Fold_memq):
9679 * fns.c (memq_no_quit):
9681 * fns.c (Fold_assoc):
9683 * fns.c (Fold_assq):
9684 * fns.c (assq_no_quit):
9686 * fns.c (Fold_rassoc):
9688 * fns.c (Fold_rassq):
9689 * fns.c (rassq_no_quit):
9691 * fns.c (Fold_delete):
9693 * fns.c (Fold_delq):
9694 * fns.c (delq_no_quit):
9695 * fns.c (Fremassoc):
9697 * fns.c (remassq_no_quit):
9698 * fns.c (Fremrassoc):
9699 * fns.c (Fremrassq):
9700 * fns.c (remrassq_no_quit):
9705 * frame-msw.c (mswindows_init_frame_1):
9706 * frame-msw.c (mswindows_delete_frame):
9707 Register popups with dialog code so keyboard traversing works.
9709 * frame-tty.c (tty_raise_frame_no_select): [1].
9712 * frame-x.c (x_set_frame_text_value):
9713 * frame-x.c (x_set_frame_properties):
9714 * frame-x.c (x_create_widgets):
9718 * frame.c (Fmouse_pixel_position): Minor doc fixes.
9720 * frame.h (wrap_frame): New.
9721 Macro like wrap_device.
9724 * general.c (SYMBOL):
9725 * general.c (syms_of_general):
9726 Major reorg. This is now just a wrapper and symbols themselves
9727 are listed in general-slots.h.
9729 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
9730 * glyphs-msw.c (mswindows_resource_instantiate): [5].
9732 * glyphs-msw.c (mswindows_native_layout_instantiate):
9733 Add DS_CONTROL so keyboard traversal will work.
9736 * glyphs-widget.c (syms_of_glyphs_widget):
9737 Move some symbols to general-slots.h.
9740 * glyphs-x.c (xbm_instantiate_1):
9741 * glyphs-x.c (x_xbm_instantiate):
9742 * glyphs-x.c (x_xface_instantiate):
9743 * glyphs-x.c (autodetect_instantiate):
9744 * glyphs-x.c (cursor_font_instantiate):
9745 * glyphs-x.c (x_update_widget):
9746 * glyphs-x.c (x_widget_instantiate):
9747 * glyphs.c (bitmap_to_lisp_data):
9748 * glyphs.c (pixmap_to_lisp_data):
9751 * glyphs.c (syms_of_glyphs):
9755 * gui-x.c (print_widget_value):
9756 * gui-x.c (menu_separator_style_and_to_external):
9757 * gui-x.c (add_accel_and_to_external):
9758 * gui-x.c (button_item_to_widget_value):
9759 * gui-x.c (gui_items_to_widget_values_1):
9760 * gui-x.c (gui_items_to_widget_values):
9761 * gui-x.c (syms_of_gui_x):
9762 * gui-x.c (vars_of_gui_x):
9763 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
9767 Muleize, prototype changes matching gui-x.c.
9770 * gui.c (separator_string_p):
9771 * gui.c (gui_item_add_keyval_pair):
9772 * gui.c (make_gui_item_from_keywords_internal):
9773 * gui.c (signal_too_long_error):
9774 * gui.c (parse_gui_item_tree_item):
9775 * gui.c (syms_of_gui):
9776 * gui.c (vars_of_gui):
9778 menu-no-selection-hook moved here (used by MSWin).
9779 Move some symbols to general-slots.h.
9783 * insdel.c (get_buffer_pos_char):
9784 * insdel.c (get_buffer_range_char):
9787 * keymap.c (keymap_lookup_directly):
9788 * keymap.c (keymap_store):
9789 * keymap.c (ensure_meta_prefix_char_keymapp):
9790 * keymap.c (describe_map):
9792 Support new button modifiers.
9794 * lisp-disunion.h (wrap_object):
9795 * lisp-disunion.h (XSETOBJ):
9796 Rename make_obj to wrap_object.
9799 * lisp-union.h (make_int):
9800 * lisp-union.h (make_char):
9801 Support wrap_object.
9804 * lisp.h (LIST_LOOP):
9805 * lisp.h (EXTERNAL_LIST_LOOP):
9806 * lisp.h (LIST_LOOP_2):
9807 * lisp.h (EXTERNAL_LIST_LOOP_1):
9808 * lisp.h (EXTERNAL_LIST_LOOP_2):
9809 * lisp.h (EXTERNAL_LIST_LOOP_3):
9810 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
9811 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
9812 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
9813 * lisp.h (EXTERNAL_ALIST_LOOP_5):
9814 * lisp.h (EXTERNAL_ALIST_LOOP_6):
9815 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
9816 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
9817 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
9818 * lisp.h (struct Lisp_Symbol):
9819 * lisp.h (maybe_continuable_error_with_frob):
9820 Fix up section comments.
9821 Add new types for char to indicate usage.
9822 Delete symbols auto-generated from general-slots.h.
9823 Add prototypes for structured error functions.
9824 Add long comments describing looping macros and change interface
9825 so that lvalues are automatically declared.
9826 Add NO_DECLARE macro in case callers want to declare lvalues
9829 * lread.c (read_syntax_error):
9830 * lread.c (continuable_read_syntax_error):
9831 * lread.c (read_structure):
9832 * lread.c (sequence_reader):
9833 * lread.c (read_list_conser):
9834 * lread.c (read_compiled_function):
9835 Rename syntax_error and continuable_syntax_error to avoid clash
9836 with same-named structured error functions.
9838 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9839 * menubar-msw.c (populate_menu_add_item):
9840 * menubar-msw.c (populate_or_checksum_helper):
9845 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9846 Mule-ize whole file.
9848 * menubar.c (Fnormalize_menu_item_name): Add optimization.
9850 * mule-charset.c (Fmake_charset):
9851 * mule-wnnfns.c (Fwnn_set_param):
9854 * ntproc.c (create_child):
9855 * ntproc.c (Fwin32_set_current_locale):
9856 Add comments portending doom.
9859 * objects-msw.c (old_font_enum_callback_2):
9860 * objects-msw.c (font_enum_callback_1):
9861 * objects-msw.c (mswindows_enumerate_fonts):
9865 * objects-x.c (allocate_nearest_color):
9866 * objects-x.c (x_parse_nearest_color):
9867 * objects-x.c (x_initialize_color_instance):
9868 * objects-x.c (x_print_color_instance):
9869 * objects-x.c (x_finalize_color_instance):
9870 * objects-x.c (x_valid_color_name_p):
9871 * objects-x.c (x_initialize_font_instance):
9872 * objects-x.c (x_print_font_instance):
9873 * objects-x.c (valid_x_font_name_p):
9874 * objects-x.c (truename_via_FONT_prop):
9875 * objects-x.c (truename_via_random_props):
9876 * objects-x.c (truename_via_XListFonts):
9877 * objects-x.c (x_font_truename):
9878 * objects-x.c (x_font_instance_truename):
9879 * objects-x.c (x_font_instance_properties):
9880 * objects-x.c (x_list_fonts):
9881 * objects-x.c (x_find_charset_font):
9882 Mule-ize entire file.
9889 * print.c (std_handle_out_external):
9890 * print.c (debug_print_no_newline):
9891 * print.c (syms_of_print):
9892 Output to all debugger kinds in debug-print.
9893 Fix console-output code under MSWin to actually work.
9895 * process-nt.c (send_signal):
9896 * process-nt.c (nt_create_process):
9897 Use newer Unicode macros.
9899 * process-unix.c (unix_create_process):
9900 * process-unix.c (unix_canonicalize_host_name):
9901 * process-unix.c (unix_open_network_stream):
9907 * search.c (syms_of_search):
9910 * select-msw.c (mswindows_destroy_selection):
9913 * select-x.c (symbol_to_x_atom):
9916 * select.c (syms_of_select):
9919 * sound.c (Fplay_sound_file):
9923 * specifier.c (decode_specifier_type):
9924 * specifier.c (Fvalid_specifier_locale_type_p):
9925 * specifier.c (check_valid_locale_or_locale_type):
9926 * specifier.c (decode_locale):
9927 * specifier.c (decode_locale_type):
9928 * specifier.c (decode_locale_list):
9929 * specifier.c (check_valid_domain):
9930 * specifier.c (decode_specifier_tag_set):
9931 * specifier.c (Fcanonicalize_tag_set):
9932 * specifier.c (Fdefine_specifier_tag):
9933 * specifier.c (Fspecifier_tag_predicate):
9934 * specifier.c (check_valid_inst_list):
9935 * specifier.c (check_valid_spec_list):
9936 * specifier.c (decode_how_to_add_specification):
9937 * specifier.c (check_modifiable_specifier):
9938 * specifier.c (specifier_add_spec):
9939 * specifier.c (boolean_validate):
9940 * specifier.c (display_table_validate):
9943 * specifier.c (syms_of_specifier):
9944 Move some symbols to general-slots.h.
9948 * symbols.c (Fmapatoms):
9949 * symbols.c (Fapropos_internal):
9952 * symbols.c (set_default_buffer_slot_variable):
9953 * symbols.c (set_default_console_slot_variable):
9956 * symbols.c (defsymbol_massage_name_1):
9957 * symbols.c (defkeyword_massage_name):
9958 * symbols.c (deferror_1):
9959 * symbols.c (deferror):
9960 * symbols.c (deferror_massage_name_and_message):
9962 * symeval.h (DEFSYMBOL):
9963 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
9965 * symbols.c (syms_of_symbols):
9969 * symsinit.h (init_win32): New.
9970 Also new is syms_of_dialog_mswindows.
9973 Add new Unicode macros, missing Cygwin wide-char functions,
9974 convenience conversion macros for Qmswindows_tstr, macros for
9975 encapsulating required MSWin <-> Cygwin filename conversions,
9976 prototype for dynamically-extracted (not in NT 3.51) functions.
9981 * tooltalk.c (Fadd_tooltalk_message_arg):
9982 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
9983 * tooltalk.c (Fadd_tooltalk_pattern_arg):
9986 * tooltalk.c (syms_of_tooltalk):
9990 * unexnt.c (unexec):
9991 Fix up headers, declaration of unexec() to be more standard.
9993 2000-07-20 Martin Buchholz <martin@xemacs.org>
9995 * offix.h: Revert change to guard macros - they're used in offix.c!
9997 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9999 * lisp.h: Defsubred Fdelete.
10001 * console-msw.h: (msprinter_default_printer): Added.
10003 * console-msw.c (msprinter_canonicalize_console_connection):
10004 (msprinter_canonicalize_device_connection): Added.
10006 * device-msw.c (msprinter_default_printer):
10007 (Fmswingows_get_default_printer):
10008 (signal_enum_priner_error):
10009 (Fmswingows_printer_list): Added.
10011 2000-07-19 Martin Buchholz <martin@xemacs.org>
10013 * XEmacs 21.2.35 is released.
10015 2000-07-19 Martin Buchholz <martin@xemacs.org>
10017 * select-x.c (x_handle_selection_request):
10018 Text selected in xemacs and pasted into xterm failed to appear.
10019 Spelling fixes and cosmetic changes.
10021 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10023 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10024 XEmacs frame (fix for doubling chars in dialog boxes).
10026 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10028 * select.c (select_convert_in, select_convert_out):
10029 Don't call intern() every time.
10031 * select.c (Qselect_convert_in, Qselect_convert_out): New.
10032 * select.c (vars_of_select): Initialise them.
10034 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10036 * select.c (selection-coercible-types): New.
10038 * select.c (own-selection-internal):
10039 * select.c (get-selection-internal):
10040 MULE bug fix - these should default to COMPOUND_TEXT and not
10041 STRING for MULE. I think.
10043 * select.c (select_convert_out): Use selection-coercible-types
10044 to find types that we can attempt to perform coercions on.
10046 2000-07-18 Martin Buchholz <martin@xemacs.org>
10050 Add coding: cookie to identify encoding.
10052 * mule-canna.c (CANNA_mode_keys): make static.
10053 Use proper prototypes, even for functions of no arguments.
10054 Remove external prototype for Fding().
10056 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
10058 * select.c (syms_of_select): Add missing DEFSUBR.
10060 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10062 * select.c (get_selection_internal, own_selection_internal):
10063 Make the type default to STRING, rather than placing a nil type
10064 into Vselection_alist.
10066 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10068 * gpmevent.c (tty_selection_exists_p):
10069 * gpmevent.c (tty_own_selection):
10070 Updated parameter lists.
10072 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
10074 * select.h (selection-alist): Removed declaration.
10076 * select.h (get_local_selection):
10077 * select.c (get_local_selection):
10080 * select.h (convert_selection): Removed declaration.
10081 * select.c (convert_selection): Removed.
10082 This function belongs in Lisp.
10084 * select.h (select_convert_in): Declare.
10085 * select.h (select_convert_out): Declare.
10086 * select.c (select_convert_in): New.
10087 * select.c (select_convert_out): New.
10088 New conversion functions for other files to call.
10090 * select.h (select_notify_buffer_kill): Declare.
10091 * select.c (select_notify_buffer_kill): New.
10092 New functions that get called from kill-buffer.
10094 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
10095 X-specific lisp code.
10097 * select.h: Declare some of the lisp-visible functions for
10100 * select.c (clean_local_selection_data): Removed. This was
10101 a disgusting function, and previously should have been in
10102 select-x.c in any case. The functionality is now provided
10103 in select-convert-from-integer (select.el).
10105 * select.c (available-selection-types): Fixed stupidity where
10106 INTEGER and ATOM got added twice. Also add STRING when we see an
10109 * select.c (get-selection-internal): Removed symbol stripping. No
10110 longer causes conversion when data comes from the internal cache.
10112 * select.c (syms_of_select): Added new functions.
10114 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
10115 error checking - previously this called abort!
10117 * select-x.c (x_own_selection): Changed comment.
10119 * select-x.c (x_handle_selection_request): Use select_convert_out.
10120 Don't mess with selection-alist; it's an internal variable of select.c.
10122 * select-x.c (x_get_foreign_selection): Use select_convert_in.
10124 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
10125 rather than messing with selection-alist.
10127 * select-msw.c (mswindows_get_foreign_selection):
10128 Use TO_INTERNAL_FORMAT rather than hacking.
10130 2000-07-14 Martin Buchholz <martin@xemacs.org>
10132 * process-unix.c (unix_open_multicast_group):
10133 (unix_open_multicast_group): Remove useless casts.
10135 2000-07-13 Martin Buchholz <martin@xemacs.org>
10137 * sound.c (Fplay_sound): Fix `unused variable' warning.
10139 * emacs.c (main): Use correct type for _environ on SCO5.
10141 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
10143 * console.h (own_selection_method):
10144 * console.h (selection_exists_p_method):
10145 * console.h (available_selection_types_method): New.
10146 * console.h (register_selection_data_type_method): New.
10147 * console.h (selection_data_type_name): New.
10149 * console-msw.h (mswindows_destroy_selection): Declare it. New
10150 function & alist to track GlobalAlloc()'d handles that need
10151 releasing when the clipboard data gets replaced or emptied.
10153 * event-msw.c (mswindows_wnd_proc): Call it.
10155 * lisp.h, general.c (Qappend): New symbol representing a
10158 * select.c (own-selection-internal):
10159 * select.c (selection-exists-p):
10160 * select.c (available-selection-types): New.
10161 * select.c (register-selection-data-type): New.
10162 * select.c (selection-data-type-name): New. New functions to deal
10163 with device-specific selection data formats.
10164 * select.c (selection-converter-out-alist): Renamed.
10165 * select.c (selection-converter-in-alist): New.
10166 * select.c (selection-appender-alist): New. Added new alists.
10167 * select.c (syms_of_select, vars_of_select): Added new symbols &
10169 * select.c (get_local_selection): Split.
10170 * select.c: Removed spurious type checking - selections may now be
10171 of any type, not just strings.
10172 * select.c (own-selection-internal):
10174 * select.h, select.c (convert_selection): New. Created
10175 convert_selection() function based on get_local_selection().
10176 * select.h, select.c (QCF_*): New symbols representing mswindows
10178 * select.h, select.c (Qreplace_all, Qreplace_existing): New
10179 symbols representing `how-to-add' modes.
10181 * select-msw.c (x_sym_p): New.
10182 * select-msw.c (symbol_to_ms_cf): New.
10183 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
10184 symbols & clipboard formats. Can also handle string names.
10185 * select-msw.c (mswindows_own_selection):
10186 * select-msw.c (mswindows_selection_exists_p):
10187 Added `data-type' parameter. Use it.
10188 * select-msw.c (mswindows_available_selection_types): New.
10189 * select-msw.c (mswindows_register_selection_data_type): New.
10190 * select-msw.c (mswindows_selection_data_type_name): New.
10191 * select-msw.c (mswindows_own_selection):
10192 * select-msw.c (mswindows_get_foreign_selection):
10193 * select-msw.c (mswindows_selection_exists_p): Rewrote.
10194 * select-msw.c (console_create_select_mswindows): Added new methods.
10195 * select-msw.c (mswindows_destroy_selection): New.
10196 * select-msw.c (Vhandle_alist): New list.
10197 * select-msw.c (mswindows_own_selection):
10199 * select-x.c (x_own_selection):
10200 * select-x.c (x_selection_exists_p):
10201 * select-x.c: Added some comments about maybe using new
10203 * select-x.c (x_own_selection):
10205 * specifier.c: Remove definition of Qappend (now in general.c)
10206 * specifier.c (syms_of_specifier): Remove Qappend.
10208 2000-07-12 Martin Buchholz <martin@xemacs.org>
10210 * config.h.in: Add socklen_t.
10212 * s/decosf4-0.h: No special compiler flags needed or desired.
10213 In particular, undefine _BSD for DEC OSF 4.0.
10215 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10217 * redisplay-msw.c (msprinter_frame_output_end): Added.
10218 (console_type_create_redisplay_mswindows): Referred the above.
10220 * frame.c (setup_frame_without_minibuffer): Do not create a
10221 default minibuffer frame on a printer device.
10223 * frame-msw.c (apply_dc_geometry): Added.
10224 (msprinter_start_page):
10225 (msprinter_init_frame_3):
10226 (msprinter_eject_page): Use it.
10228 * console-msw.h (struct msprinter_frame): Added pix_left and top,
10229 and removed residual duplex and orientation properties.
10231 2000-07-11 Martin Buchholz <martin@xemacs.org>
10233 * eval.c (function_argcount): Work around a DEC CC compiler bug.
10235 * unexalpha.c: Remove system prototypes from C sources!
10237 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
10239 * eval.c: Remove references to M-x edit-options in DEFUNs for
10240 `defvar' and `defconst'.
10242 2000-07-09 Martin Buchholz <martin@xemacs.org>
10244 * config.h.in: Remove SMART_INCLUDE hackery.
10246 PostgreSQL hacking:
10247 * config.h.in: Don't use SMART_INCLUDE.
10249 * postgresql.h: Include libpq-fe.h here. Fix typo.
10250 * inline.c: Simply #include "postgresql.h"
10252 - Don't use SMART_INCLUDE
10253 - Use simply "const".
10254 - Use standard doc string conventions.
10255 - Use correct type for result of PQstatus.
10257 2000-07-09 Martin Buchholz <martin@xemacs.org>
10259 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
10261 C++ compilation changes.
10262 * config.h.in (EXTERN_C): Define.
10263 * config.h.in (not): This is also a C++ keyword.
10264 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
10265 * cm.c: Use EXTERN_C.
10266 * redisplay-tty.c: Use EXTERN_C.
10267 * sysdep.c: Use EXTERN_C. Remove Gould support.
10269 2000-07-09 Martin Buchholz <martin@xemacs.org>
10271 * general.c: Remove duplicate definition for Qfunction.
10273 2000-07-08 Ben Wing <ben@xemacs.org>
10275 * device-msw.c (msprinter_init_device):
10276 * device-msw.c (sync_printer_with_devmode):
10277 * device-msw.c (handle_devmode_changes):
10278 * device-msw.c (print_dialog_worker):
10279 * device-msw.c (Fmsprinter_apply_settings):
10280 * device-msw.c (hash_devmode):
10281 * device-msw.c (Fmsprinter_settings_despecialize):
10282 use Qmswindows_tstr, not Qctext.
10284 * vm-limit.c (check_memory_limits):
10285 avoid infinite loop printing warning messages.
10287 2000-07-05 Craig Lanning <lanning@scra.org>
10289 * Makefile.in.in: Add support for including the Windows resources
10290 when building with the cygwin and mingw targets.
10292 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
10293 not set or not correct.
10294 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
10295 (init_initial_directory): Don't try to use $PWD on the
10296 WIN32_NATIVE target.
10299 [[Add -mwindows to eliminate console window.]] not required --ben
10300 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10301 (MAIL_USE_POP): removed; now handled by configure.
10303 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
10304 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
10305 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10306 (MAIL_USE_POP): removed; now handled by configure.
10307 (ENCAPSULATE_STAT): from Dan Holmsand, added.
10308 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
10309 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
10311 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
10312 up from <winsock.h> via systime.h.
10313 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
10314 (getpagesize): from Dan Holmsand, added.
10315 Added #endif which was left dangling by Ben's mega patch; added
10316 comment to help prevent this in the future.
10318 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
10320 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10322 * console-msw.h (struct mswindows_device): Removed unnecessary
10323 cached device geometry values.
10324 Added update_tick and an accessor macro.
10325 (Lisp_Devmode): Added lrecord declaration.
10326 (struct msprinter_device): Contain devmode as a Lisp object.
10327 Added mswindows_get_selected_frame_hwnd();
10329 * console.h (struct console_methods): Indentation nitpicking.
10331 * device-msw.c (mswindows_init_device): Do not initialize geometry
10332 cache. Initialize update tick.
10333 (mswindows_device_system_metrics): Ask the device for its geometry.
10334 (global_free_2_maybe):
10335 (devmode_to_hglobal):
10336 (handle_printer_changes):
10337 (ensure_not_printing):
10338 (print_dialog_worker):
10339 (Fmsprinter_print_setup_dialog):
10340 (Fmsprinter_print_dialog):
10341 (plist_get_margin):
10342 (plist_set_margin):
10343 (Fmsprinter_page_setup_dialog): Added functions.
10344 (sync_printer_with_devmode):
10345 (handle_devmode_changes):
10346 (Fmsprinter_get_settings):
10347 (Fmsprinter_select_settings):
10348 (Fmsprinter_apply_settings):
10349 (allocate_devmode):
10350 (Fmsprinter_settings_copy):
10351 (Fmsprinter_settings_despecialize):
10353 (finalize_devmode):
10355 (hash_devmode): Added functions
10356 (syms_of_device_mswindows): Init devmode lrecord class.
10358 * device.h: Added an exfun for find-device.
10360 * event-msw.c (mswindows_wnd_proc): Do not update the cached
10361 geometry; although, recreate the device compatible DC.
10363 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
10364 (msprinter_init_frame_3):
10365 (msprinter_frame_property):
10366 (msprinter_internal_frame_property_p):
10367 (msprinter_frame_properties):
10368 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
10369 print job properties (will move to device settings).
10371 * lisp.h: Added symbols.
10373 * general.c (syms_of_general): Declared them.
10375 * hash.c (string_hash): Added.
10377 * lrecord.h (lrecord_type): Added devmode lrecord type.
10379 2000-07-02 Mike Sperber <mike@xemacs.org>
10381 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
10384 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
10386 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
10389 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
10391 * data.c (Fstring_to_number): Don't recognize floating point if
10394 2000-06-22 Martin Buchholz <martin@xemacs.org>
10396 * glyphs-widget.c (tab_control_query_geometry):
10397 (widget_query_geometry):
10398 (button_query_geometry):
10399 * glyphs.c (text_query_geometry):
10400 Enforce type correctness.
10402 2000-06-18 Martin Buchholz <martin@xemacs.org>
10404 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
10405 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
10407 2000-06-17 Martin Buchholz <martin@xemacs.org>
10409 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
10410 conflicts with gcc's fixincluded version of FOO.h.
10412 * glyphs.h (image_instance_geometry): Remove trailing `,'
10414 2000-06-08 Mike Alexander <mta@arbortext.com>
10416 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
10417 (shove_thread): Don't write the same output twice
10418 (make_ntpipe_output_stream): Increase priority of shove thread
10419 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
10421 (ntpipe_shove_closer): Don't delete the pipe until we're done with
10424 2000-06-12 Ben Wing <ben@xemacs.org>
10426 * s\mingw32.h (sigset):
10427 * s\windowsnt.h (sigset):
10428 rename msw_ to mswindows_ for consistency with general convention.
10430 2000-06-12 Ben Wing <ben@xemacs.org>
10433 * console-msw.c (mswindows_get_console_hwnd):
10434 * console-msw.c (mswindows_ensure_console_allocated):
10435 * console-msw.c (mswindows_hide_console):
10436 * console-msw.c (mswindows_show_console):
10437 * console-msw.c (mswindows_ensure_console_buffered):
10438 * console-msw.c (mswindows_output_console_string):
10439 * console-msw.c (mswindows_windows9x_p):
10441 * device-msw.c (mswindows_get_workspace_coords):
10442 * device-msw.c (mswindows_device_system_metrics):
10443 * dialog-msw.c (mswindows_popup_dialog_box):
10444 * event-msw.c (mswindows_wnd_proc):
10445 * frame-msw.c (mswindows_size_frame_internal):
10446 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10447 * menubar-msw.c (displayable_menu_item):
10448 * menubar-msw.c (mswindows_char_is_accelerator):
10450 * nt.c (mswindows_sigset):
10451 * nt.c (mswindows_sigrelse):
10452 * nt.c (mswindows_sigpause):
10453 * nt.c (mswindows_raise):
10454 * nt.c (timer_proc):
10456 * ntproc.c (find_child_console):
10457 * ntproc.c (sys_kill):
10459 * print.c (std_handle_out_external):
10460 * process-nt.c (find_child_console):
10461 * process-nt.c (send_signal_the_95_way):
10462 * process-nt.c (ensure_console_window_exists):
10463 * process-nt.c (nt_create_process):
10465 rename msw_ to mswindows_ for consistency with general convention.
10469 include nt.h, not syswindows.h.
10471 * nt.c (mswindows_fstat):
10472 * nt.c (mswindows_stat):
10473 prefix mswindows_ instead of attempting to directly override the
10474 library functions. fix declarations.
10477 include syswindows.h. move some sysdep.h stuff here.
10480 include syswindows.h, not <windows.h>.
10488 * sysdep.c (sys_fstat):
10489 * sysdep.c (sys_stat):
10490 call mswindows versions when appropriate.
10493 move mswin decls to nt.h.
10496 add long comment describing appropriate use of the various windows
10499 2000-06-11 Ben Wing <ben@xemacs.org>
10501 * device-x.c: Correct doc string for sixth arg of x-get-resource.
10503 2000-06-10 Ben Wing <ben@xemacs.org>
10505 * Makefile.in.in (release):
10506 Correction to make sure xemacs.exe always dumped when correct.
10510 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
10512 * buffer.c (set_buffer_internal):
10513 [[[[2]]]]: Remove HAVE_FEP code.
10515 * buffer.c (init_initial_directory):
10519 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
10523 * callproc.c (call_process_cleanup):
10524 * callproc.c (Fold_call_process_internal):
10525 * callproc.c (child_setup):
10526 * callproc.c (getenv_internal):
10527 * callproc.c (init_callproc):
10528 * callproc.c (vars_of_callproc):
10529 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
10530 __CYGWIN32__ -> CYGWIN.
10531 DOS_NT -> WIN32_NATIVE.
10532 Remove MSDOS support/references, converting to WIN32_NATIVE
10534 __MINGW32__ -> MINGW.
10535 Fix windows.h includes.
10536 Remove bogus HAVE_NTGUI.
10542 mswindows_message_outputted added for use in allowing startup
10543 errors on the console to be seen.
10545 * console-msw.c (msw_ensure_console_allocated):
10546 * console-msw.c (msw_output_console_string):
10547 * console-msw.c (DHEADER):
10548 * console-msw.c (DOPAQUE_DATA):
10549 * console-msw.c (DEVENT):
10550 * console-msw.c (DCONS):
10551 * console-msw.c (DCONSCDR):
10552 * console-msw.c (DSTRING):
10553 * console-msw.c (DVECTOR):
10554 * console-msw.c (DSYMBOL):
10555 * console-msw.c (DSYMNAME):
10558 * console-stream.c (stream_init_console):
10559 Fix text/binary problems.
10562 * device-msw.c (mswindows_finish_init_device):
10563 * device-msw.c (mswindows_delete_device):
10566 * device.c (handle_asynch_device_change):
10570 * dgif_lib.c (DGifOpenFileName):
10571 * dgif_lib.c (DGifOpenFileHandle):
10572 * dgif_lib.c (DGifGetLine):
10573 * dgif_lib.c (DGifGetPixel):
10574 Added config.h/lisp.h, fix up includes.
10581 * dired.c (file_name_completion):
10582 * dired.c (Ffile_attributes):
10583 * dired.c (syms_of_dired):
10587 * dumper.c (pdump_file_unmap):
10588 * dumper.c (pdump_load):
10592 * editfns.c (Ftemp_directory):
10593 * editfns.c (user_login_name):
10594 * editfns.c (Fuser_real_login_name):
10595 * editfns.c (get_home_directory):
10598 * elhash.c (finish_marking_weak_hash_tables):
10599 [[[[5]]]]: Fix GCC warnings.
10602 * emacs.c (mswindows_handle_hardware_exceptions):
10603 * emacs.c (make_arg_list_1):
10604 * emacs.c (main_1):
10605 * emacs.c (Fkill_emacs):
10606 * emacs.c (Fdump_emacs):
10608 Fix problems with nested crashes, add long comment.
10610 * event-Xt.c (init_event_Xt_late):
10614 * event-msw.c (mswindows_dde_callback):
10615 * event-msw.c (mswindows_handle_sticky_modifiers):
10616 * event-msw.c (mswindows_wnd_proc):
10620 * events.c (character_to_event):
10624 * fileio.c (Ffile_name_directory):
10625 * fileio.c (Ffile_name_nondirectory):
10626 * fileio.c (directory_file_name):
10627 * fileio.c (Fexpand_file_name):
10628 * fileio.c (Fsubstitute_in_file_name):
10629 * fileio.c (Ffile_name_absolute_p):
10630 * fileio.c (check_executable):
10631 * fileio.c (Ffile_readable_p):
10632 * fileio.c (Ffile_accessible_directory_p):
10633 * fileio.c (Ffile_modes):
10634 * fileio.c (Funix_sync):
10635 * fileio.c (vars_of_fileio):
10638 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
10640 Expand getdefdir defn.
10641 Fix bogus rename() comment.
10643 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
10644 to use standard XEmacs include files, e.g. sysfile.h, rather
10645 than system-specific includes.
10651 * frame.c (vars_of_frame):
10655 * getloadavg.c (getloadavg):
10657 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
10658 (We don't use it elsewhere in the code; just add a comment.)
10665 * glyphs-msw.c (mswindows_resource_instantiate):
10668 * glyphs-x.c (x_native_layout_instantiate):
10671 * gui-msw.c (Fmswindows_shell_execute):
10680 * lread.c (locate_file_in_directory_mapper):
10687 * mem-limits.h (get_lim_data):
10699 * nt.c (rva_to_section):
10700 * nt.c (mswindows_executable_type):
10702 Fix closedir() defn.
10705 [[[[8]]]]: *_OK defs moved to sysfile.h.
10714 * print.c (std_handle_out_external):
10718 * process-nt.c (nt_create_process):
10720 try to fix process quoting somewhat.
10722 * process-unix.c (unix_create_process):
10726 * process.c (vars_of_process):
10733 * realpath.c (xrealpath):
10736 * redisplay-tty.c (init_tty_for_redisplay):
10746 * sheap.c (more_static_core):
10747 * sheap.c (report_sheap_usage):
10751 * signal.c (alarm_signal):
10758 * strftime.c (zone_name):
10761 * symsinit.h (init_sunpro):
10765 commctrl.h not in Cygwin b20.1.
10768 * sysdep.c (endif):
10769 * sysdep.c (sys_subshell):
10770 * sysdep.c (init_baud_rate):
10771 * sysdep.c (emacs_get_tty):
10772 * sysdep.c (emacs_set_tty):
10773 * sysdep.c (tty_init_sys_modes_on_device):
10774 * sysdep.c (init_system_name):
10775 * sysdep.c (sys_open):
10776 * sysdep.c (interruptible_open):
10777 * sysdep.c (sys_fopen):
10778 * sysdep.c (sys_mkdir):
10779 * sysdep.c (sys_rename):
10780 * sysdep.c (get_process_times_1):
10787 * sysdir.h (DIRENTRY_NONEMPTY):
10790 * sysdll.c (dll_init):
10796 added text/binary defs.
10802 * sysproc.h (EDESTADDRREQ):
10803 * sysproc.h (poll_fds_for_input):
10820 Always define WIN32_LEAN_AND_MEAN.
10822 * unexcw.c (unexec):
10826 * unexec.c (copy_text_and_data):
10827 * unexec.c (adjust_lnnoptrs):
10831 * unexnt.c (_start):
10834 2000-06-07 Ben Wing <ben@xemacs.org>
10836 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
10837 was used only as a model. We've long since extracted any useful
10838 logic or code out of this. (I just did an exhaustive search.)
10840 * s\msdos.h: Removed.
10842 * s\windows95.h: Removed.
10844 2000-06-10 Ben Wing <ben@xemacs.org>
10848 Don't use extern with fun defs.
10852 Remove nt\inc include.
10853 Remove getdisk, getdefdir. (The former is unused, the latter
10854 expanded in fileio.h.)
10857 * s\windowsnt.h (WIN32_NATIVE):
10858 * s\windowsnt.h (HAVE_STRCASECMP):
10860 Add long comment about preprocessor changes.
10861 Remove getdisk, getdefdir. (The former is unused, the latter
10862 expanded in fileio.h.)
10864 2000-06-10 Ben Wing <ben@xemacs.org>
10873 Remove bogus/unused NO_SOCK_SIGIO.
10875 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
10877 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
10880 2000-06-04 Mike Sperber <mike@xemacs.org>
10882 * casetab.c (set_case_table): For `set-standard-case-table',
10883 actually deposit the new case tables where the rest of XEmacs can
10886 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
10888 * data.c (Faset): Don't cast XCHAR() to unsigned char.
10890 2000-06-05 Ben Wing <ben@xemacs.org>
10892 * callproc.c (child_setup): Don't do close_load_descs() under
10893 MS Windows. Put in a comment explaining why.
10895 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
10897 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
10898 Toolkit shell" which breaks `kill-compilation' on Windows NT
10899 native, retaining STDERR handling improvements.
10901 2000-06-01 Andreas Jaeger <aj@suse.de>
10903 * s/s390.h: Support for S390, based on a patch by Martin
10904 Schwidefsky <schwidefsky@de.ibm.com>.
10906 2000-05-30 Andy Piper <andy@xemacs.org>
10908 * window.c (allocate_window):
10909 (make_dummy_parent):
10910 (Fset_window_configuration): use new hashtable type.
10912 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
10913 (struct image_instantiator_methods):
10914 (struct Lisp_Image_Instance): make instance geometry signed.
10916 * glyphs.c (instantiate_image_instantiator):
10917 (image_instance_query_geometry):
10918 (image_instance_layout):
10919 (image_instance_layout):
10920 (query_string_geometry):
10921 (text_query_geometry):
10922 (image_instantiate):
10923 (image_instantiate):
10924 (cache_subwindow_instance_in_frame_maybe):
10925 (subwindow_query_geometry): make instance geometry signed.
10927 * glyphs-widget.c (widget_query_geometry):
10929 (button_query_geometry):
10930 (tree_view_query_geometry):
10931 (tab_control_query_geometry):
10932 (layout_query_geometry):
10934 (native_layout_layout): make instance geometry signed.
10936 2000-05-29 Olivier Galibert <galibert@pobox.com>
10938 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
10941 * general.c (syms_of_general): Add Qfull_assoc symbol.
10943 * data.c (finish_marking_weak_lists): Mark full-assoc lists
10945 (decode_weak_list_type): Decode full-assoc type.
10946 (encode_weak_list_type): Encode full-assoc type.
10947 (Fmake_weak_list): Update doc string.
10949 2000-05-30 Andy Piper <andy@xemacs.org>
10951 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
10953 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
10954 (decode_hash_table_weakness): ditto.
10955 (Fhash_table_weakness): ditto.
10956 (Fhash_table_type): ditto.
10957 (finish_marking_weak_hash_tables): ditto.
10958 (hash_table_weakness_validate): ditto.
10959 (syms_of_elhash): ditto.
10961 2000-05-28 Martin Buchholz <martin@xemacs.org>
10963 * XEmacs 21.2.34 is released.
10965 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
10967 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
10969 (updating_line_start_cache): Gone.
10970 (regenerate_window): Replace resetting of VERTICAL_CLIP by
10971 generic code to force a minimum of 1 line laid out in the
10974 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
10976 * glyphs.c (instantiate_image_instantiator): Check for initialized
10977 height & width no longer special cases IMAGE_NOTHING.
10978 (nothing_instantiate): Set height and width of instance.
10980 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10982 * unexelf.c (unexec): Search for ".data" section.
10983 Initialize new_data2_offset from old_data_index.
10984 Remove redundant check for ElfW.
10986 2000-05-23 Andy Piper <andy@xemacs.org>
10988 * glyphs.c (get_image_instantiator_governing_domain): allow more
10989 specific domains as the governing domain rather than expecting an
10990 exact match. This fixes problems with layouts.
10992 2000-05-22 Andy Piper <andy@xemacs.org>
10994 * redisplay-output.c (compare_runes): check for non-images
10996 * glyphs.c (set_glyph_dirty_p): ditto.
10997 (update_glyph_cachel_data): ditto.
10999 * glyphs-widget.c (layout_post_instantiate): ditto.
11000 (layout_post_instantiate): ditto.
11002 * event-msw.c (mswindows_wnd_proc): warning removal.
11004 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11006 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11008 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11010 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11012 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11013 (mswindows_executable_type): mingw32 now has enough headers for
11016 2000-05-20 Andy Piper <andy@xemacs.org>
11018 * console-msw.c (mswindows_output_last_error): ; -> ,
11020 2000-05-12 Andy Piper <andy@xemacs.org>
11022 * console-msw.c (FROB): compare ints with ints.
11024 2000-05-11 Andy Piper <andy@xemacs.org>
11026 * glyphs-x.c (x_finalize_image_instance): make minimal build
11029 2000-05-20 Ben Wing <ben@xemacs.org>
11032 * event-Xt.c (vars_of_event_Xt):
11033 move modifier-keys-are-sticky to event-stream.c.
11036 * event-msw.c (mswindows_enqueue_mouse_button_event):
11037 * event-msw.c (key_needs_default_processing_p):
11038 * event-msw.c (XEMSW_LCONTROL):
11039 * event-msw.c (mswindows_handle_sticky_modifiers):
11040 * event-msw.c (FROB):
11041 * event-msw.c (clear_sticky_modifiers):
11042 * event-msw.c (output_modifier_keyboard_state):
11043 * event-msw.c (output_alt_keyboard_state):
11044 * event-msw.c (mswindows_wnd_proc):
11045 * event-msw.c (mswindows_modifier_state):
11046 * event-msw.c (emacs_mswindows_handle_magic_event):
11047 implement sticky modifiers.
11050 * event-stream.c (vars_of_event_stream):
11051 move modifier-keys-are-sticky here.
11054 add CHECK_FUNCTION.
11057 implement map-range-table.
11060 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
11062 * redisplay-tty.c (reset_tty_modes):
11063 (tty_redisplay_shutdown): Adjust argument type to
11064 tty_frame_output_end.
11066 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11068 * eval.c (Fbacktrace): Don't output a line with only right
11071 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
11073 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
11074 (Fpq_reset_poll): Ditto.
11076 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
11078 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
11080 2000-05-16 Ben Wing <ben@xemacs.org>
11083 * buffer.c (dfc_convert_to/from_internal_format):
11084 * buffer.c (reinit_vars_of_buffer):
11085 Fix conversion functions to allow reentrancy.
11088 * console-msw.c (mswindows_output_last_error):
11089 New fun, generally useful -- output a human-readable
11090 version of GetLastError() on the console.
11093 * console-msw.h (struct mswindows_frame):
11094 Changes for DeferWindowPos. Declare mswindows_output_last_error().
11096 * console-stream.c (stream_output_begin):
11097 * console-stream.c (stream_output_end):
11098 * console-stream.c (stream_output_vertical_divider):
11099 * console-stream.c (stream_clear_region):
11100 * console-stream.c (stream_flash):
11101 * console-stream.c (console_type_create_stream):
11102 Delete blank stream methods, not needed.
11104 * console.h (struct console_methods):
11105 Split begin/end methods into window and frame.
11108 * event-msw.c (mswindows_handle_paint):
11109 * event-msw.c (output_alt_keyboard_state):
11110 * event-msw.c (mswindows_wnd_proc):
11111 * event-msw.c (vars_of_event_mswindows):
11112 Comment about problems with ignored-expose.
11113 Define mswindows-debug-events; not really implemented.
11115 * frame-msw.c (mswindows_init_frame_1):
11119 * glyphs-msw.c (begin_defer_window_pos):
11120 * glyphs-msw.c (mswindows_unmap_subwindow):
11121 * glyphs-msw.c (mswindows_map_subwindow):
11122 * glyphs-msw.c (mswindows_resize_subwindow):
11123 Use DeferWindowPos to reduce flashing when mapping/unmapping.
11125 * glyphs.c (make_image_instance_1):
11128 * gutter.c (Fredisplay_gutter_area):
11129 Use new begin/end methods.
11131 * lisp.h (Dynarr_new2):
11135 * redisplay-msw.c (mswindows_frame_output_begin):
11136 * redisplay-msw.c (mswindows_frame_output_end):
11137 * redisplay-msw.c (console_type_create_redisplay_mswindows):
11138 New begin/end methods -- handle DeferWindowPos.
11140 * redisplay-output.c (redisplay_move_cursor):
11141 * redisplay-output.c (redraw_cursor_in_window):
11142 * redisplay-output.c (redisplay_update_line):
11143 * redisplay-output.c (redisplay_output_window):
11144 New begin/end methods.
11147 * redisplay-tty.c (tty_frame_output_begin):
11148 * redisplay-tty.c (tty_frame_output_end):
11149 * redisplay-tty.c (console_type_create_redisplay_tty):
11150 New begin/end methods.
11153 * redisplay-x.c (x_window_output_begin):
11154 * redisplay-x.c (x_window_output_end):
11155 * redisplay-x.c (console_type_create_redisplay_x):
11156 New begin/end methods.
11158 * redisplay.c (redisplay_frame):
11159 * redisplay.c (Fredisplay_echo_area):
11160 New begin/end methods.
11161 use MAYBE_DEVMETH for clear_frame; it may not exist.
11163 * window.h (WINDOW_XFRAME):
11164 WINDOW_XFOO macros -- get locale and decode struct pointer.
11167 2000-05-12 Ben Wing <ben@xemacs.org>
11170 * emacs.c (ensure_no_quitting_from_now_on):
11171 * emacs.c (fatal_error_signal):
11172 * emacs.c (mswindows_handle_hardware_exceptions):
11174 * emacs.c (Fkill_emacs):
11175 * emacs.c (shut_down_emacs):
11176 * emacs.c (assert_failed):
11177 various improvements in fatal error handling.
11180 move preparing_for_armageddon to emacs.c.
11183 declare fatal_error_in_progress.
11186 * print.c (std_handle_out_external):
11187 * print.c (std_handle_out_va):
11188 * print.c (stderr_out):
11189 * print.c (stdout_out):
11190 use console under mswin when no standard output.
11191 don't do code conversion during fatal error.
11193 * scrollbar.c (Fscrollbar_page_up):
11194 * scrollbar.c (Fscrollbar_page_down):
11195 fix missing else. reindent.
11197 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
11201 * glyphs.h (GLYPH_CACHEL_DESCENT):
11202 (GLYPH_CACHEL_DESCENT):
11203 (GLYPH_CACHEL_DESCENT):
11204 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
11205 used in case these are inline functions.
11206 Use more absurd values to error check.
11208 include window.h for error check functions.
11210 2000-05-11 Ben Wing <ben@xemacs.org>
11212 * cmdloop.c (Freally_early_error_handler):
11213 Display message box under windows; otherwise, message will disappear
11214 before it can be viewed.
11217 * console-msw.c (Fmswindows_message_box):
11218 * console-msw.c (FROB):
11219 * console-msw.c (syms_of_console_mswindows):
11220 Define new fun `mswindows-message-box'.
11221 #### I will merge this into `popup-dialog-box'; just give me
11225 * general.c (syms_of_general):
11226 Some new symbols used in `mswindows-message-box'.
11229 * glyphs.c (Fset_image_instance_property):
11230 put warning in this fun.
11233 * glyphs.h (GLYPH_CACHEL_WIDTH):
11234 * glyphs.h (GLYPH_CACHEL_ASCENT):
11235 * glyphs.h (GLYPH_CACHEL):
11236 * glyphs.h (GLYPH_CACHEL_GLYPH):
11237 define error-checking versions to try to catch a bug i've seen --
11238 redisplay gets in an infinite loop because the glyph width of the
11239 continuation glyph is 65535.
11242 Extern message-box stuff.
11244 * window.c (allocate_window):
11245 * window.c (make_dummy_parent):
11246 * window.c (Fset_window_configuration):
11247 Use EQUAL not EQ for subwindow caches to make them work a bit
11248 better. (Something is still very broken.)
11251 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11253 * glyphs.c (image_instantiate): Suppress gcc warnings.
11254 (Fmake_image_instance): Fix doc string.
11255 * specifier.c (Fmake_specifier): Ditto.
11257 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
11259 * paths.h.in (PATH_LOCK): Removed.
11260 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
11261 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
11263 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11265 * fns.c (Ffeaturep): Update e-mail address in doc-string.
11266 Document (featurep '(and xemacs 21.02)).
11268 2000-05-09 Ben Wing <ben@xemacs.org>
11270 * buffer.c (complex_vars_of_buffer):
11271 update modeline-format doc.
11274 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
11277 timeline of all released versions of Emacs, for use in creating
11278 authorship comments and in synching up.
11280 * glyphs-widget.c (image_instantiator_buttons):
11281 * glyphs-widget.c (image_instantiator_edit_fields):
11282 * glyphs-widget.c (image_instantiator_combo_box):
11283 * glyphs-widget.c (image_instantiator_scrollbar):
11284 * glyphs-widget.c (image_instantiator_progress_guage):
11285 * glyphs-widget.c (image_instantiator_tree_view):
11286 * glyphs-widget.c (image_instantiator_tab_control):
11287 * glyphs-widget.c (image_instantiator_labels):
11288 * glyphs-widget.c (image_instantiator_layout):
11289 * glyphs-widget.c (image_instantiator_native_layout):
11290 rename decode_domain method to governing_domain.
11293 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
11294 * glyphs.c (add_entry_to_device_ii_format_list):
11295 make sure we don't put an entry more than once into the list.
11296 * glyphs.c (check_instance_cache_mapper):
11297 *************************************************************
11298 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11300 *************************************************************
11301 * glyphs.c (get_image_instantiator_governing_domain):
11302 clean up, expand on new concept of governing domain.
11303 * glyphs.c (instantiate_image_instantiator):
11304 * glyphs.c (allocate_image_instance):
11305 use governing_domain instead of cache_domain in naming.
11306 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
11307 * glyphs.c (make_image_instance_1):
11308 * glyphs.c (Fmake_image_instance):
11309 allow for any domain (not just device), and process the
11310 governing domain correctly. very big doc fix.
11311 * glyphs.c (Fimage_instance_domain):
11312 new primitive, to retrieve the governing domain of an image instance.
11313 * glyphs.c (image_instantiate):
11314 use new governing_domain stuff. this fixes a crash you could get
11315 by instantiating certain widget glyphs in frame locales. (should
11316 signal an error instead of crashing.)
11317 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
11318 * glyphs.c (Fglyphp): clean up doc.
11319 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
11320 * glyphs.c (syms_of_glyphs):
11321 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
11322 * glyphs.c (image_instantiator_format_create): add some comments about
11324 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
11325 for current-display-table. (Apparently Hrjove implemented in 1998 a
11326 design I wrote up in 1996, but didn't update the doc string.)
11328 * glyphs.h: clean up a doc string.
11329 * glyphs.h (governing_domain):
11330 * glyphs.h (struct image_instantiator_methods):
11331 changes for governing_domain stuff.
11334 * gutter.c (Fgutter_specifier_p):
11335 * gutter.c (Fgutter_size_specifier_p):
11336 * gutter.c (Fgutter_visible_specifier_p):
11338 * objects.c (Fcolor_specifier_p):
11339 * objects.c (Ffont_specifier_p):
11340 * objects.c (Fface_boolean_specifier_p):
11341 doc strings moved to make-*-specifier.
11343 * redisplay.c (add_disp_table_entry_runes_1):
11344 * redisplay.c (generate_fstring_runes):
11345 * redisplay.c (screen):
11346 add random comments and doc strings.
11349 * specifier.c (Fmake_specifier):
11350 major overhaul of this doc string.
11352 * specifier.c (Fvalid_specifier_domain_p):
11353 comment about the bogosity of image instances being domains.
11354 * specifier.c (decode_domain):
11355 now non-static, used in glyphs.c.
11356 * specifier.c (specifier_instance):
11357 comment about the bogosity of image instances being domains.
11358 * specifier.c (Fgeneric_specifier_p):
11359 move doc string to make-generic-specifier.
11360 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
11364 * specifier.h (DOMAIN_FRAME):
11365 * specifier.h (DOMAIN_LIVE_P):
11366 * specifier.h (DOMAIN_XDEVICE):
11368 add comments about problems with these macros.
11369 prototype for decode_domain.
11372 * toolbar.c (Ftoolbar_specifier_p):
11373 move doc string to `make-toolbar-specifier'.
11375 * window.c (window_unmap_subwindows_cache_mapper):
11376 *************************************************************
11377 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11379 *************************************************************
11381 2000-05-09 Andy Piper <andy@xemacs.org>
11383 * glyphs.h: declare reset_frame_subwindow_instance_cache.
11385 * window.c (Fset_window_configuration): reset the frame subwindow
11386 cache and re-initialize the window subwindow caches.
11388 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
11390 2000-05-09 Ben Wing <ben@xemacs.org>
11392 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
11395 2000-04-26 Mike Woolley <mike@bulsara.com>
11397 * ntheap.c: Changed recreate_heap to limit the amount reserved
11398 for the heap to that which is actually available. Also now
11399 displays a message box (with some dignostics) in the event that
11400 it still can't start.
11402 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11404 * callproc.c (Fold_call_process_internal): GCPRO path
11406 2000-05-08 Jan Vroonhof <jan@xemacs.org>
11408 Patch by Bill Perry.
11410 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
11411 back data instead of #ifdef.
11412 (Fscrollbar_page_down): ditto.
11414 2000-05-07 Ben Wing <ben@xemacs.org>
11417 Kludge for defining Qmswindows_tstr.
11420 * nt.c (open_input_file):
11421 * nt.c (open_output_file):
11422 * nt.c (rva_to_section):
11423 * nt.c (mswindows_executable_type):
11424 Move all memory-mapped-file routines here (some were in unexnt.c,
11425 which is bad because they are used by process-nt.c, and unexnt
11426 won't be around when portable dumping). Synched the above routines
11430 Removed ifdef'd out bogus code.
11431 Fixed some prototypes.
11433 * nt.h (file_data):
11434 * nt.h (OFFSET_TO_RVA):
11435 * nt.h (RVA_TO_OFFSET):
11436 * nt.h (RVA_TO_PTR):
11437 Moved the memory-mapped-file structures, macros and prototypes
11438 here, to parallel nt.c. ntheap.h should really be removed
11439 entirely, and it's a non-portable-dumper specific file.
11441 * ntheap.h (round_to_next):
11442 Moved the memory-mapped-file structures, macros and prototypes
11445 * ntproc.c (compare_env):
11446 Moved rva_to_section and mswindows_executable_type to nt.c.
11447 Moved compare_env to process-nt.c.
11448 ntproc.c will die, one day.
11450 * ntproc.c (sys_spawnve):
11451 Account for win32_ -> mswindows_.
11454 * process-nt.c (struct nt_process_data):
11455 * process-nt.c (ensure_console_window_exists):
11456 * process-nt.c (compare_env):
11457 * process-nt.c (nt_create_process):
11458 * process-nt.c (nt_kill_process_by_pid):
11459 * process-nt.c (syms_of_process_nt):
11460 * process-nt.c (vars_of_process_nt):
11461 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
11462 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
11463 changes). Eliminate our old `nt-quote-process-args' mechanism.
11464 Synch up nt_create_process with FSF 20.6 sys_spawnve.
11465 Move compare_env here from ntproc.c.
11467 * process.c (Fprocess_send_region):
11468 Takes an optional fourth argument, BUFFER, which should fix some
11469 problems with call-process.
11472 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
11475 Move ICC_BAR_CLASSES to syscommctrl.h.
11476 Add preliminary macros for MSWindows/Mule. More to come.
11479 * unexnt.c (unexec):
11480 open_output_file moved to nt.c.
11483 2000-05-05 Andy Piper <andy@xemacs.org>
11485 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
11486 instance from the frame cache also since GC may catch up too late
11487 to make frame deletion sane.
11489 2000-05-04 Andy Piper <andy@xemacs.org>
11491 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
11492 (x_finalize_image_instance): ungcpro on deletion.
11494 * glyphs.c (image_instantiator_format_create): give pointers a
11495 query geometry method so that the geometry is at least set.
11497 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
11498 initialize layouts if using widgets.
11500 2000-05-03 Andy Piper <andy@xemacs.org>
11502 * nt.c: remove bogus reference to sysmmsystem.h
11504 * gui-x.c (popup_selection_callback): fix no selection abort.
11506 2000-05-02 Andy Piper <andy@xemacs.org>
11508 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
11509 (mswindows_widget_instantiate): ditto.
11511 * glyphs-widget.c (initialize_widget_image_instance): initialize
11512 children correctly.
11513 (widget_instantiate): cope with children and items in the same
11516 * glyphs.c (mark_image_instance): cope with children as a first
11518 (image_instance_equal): ditto.
11519 (image_instance_hash): ditto.
11520 (image_instance_changed): ditto.
11522 2000-04-30 Andy Piper <andy@xemacs.org>
11524 * glyphs.c (subwindow_query_geometry): new function. Return some
11526 (subwindow_instantiate): don't assign dimensions if none have been
11528 (image_instantiator_format_create): add subwindow_query_geometry.
11529 (print_image_instance): cope with layouts as widgets.
11531 2000-04-29 Andy Piper <andy@xemacs.org>
11533 * frame.c (delete_frame_internal): call
11534 free_frame_subwindow_instance_cache so that all subwindows are
11535 finalized before their parent.
11536 (mark_frame): remove subwindow_cachels.
11537 (Fmake_frame): remove subwindow_cachel manipulation.
11538 (allocate_frame_core): subwindow_instance_cache is a weak list.
11539 (delete_frame_internal): set subwindow_instance_cache to nil.
11541 * glyphs-msw.c (mswindows_finalize_image_instance): make double
11543 (mswindows_finalize_image_instance): use the device
11544 not the domain as the domain may have died already.
11546 * glyphs-x.c (x_finalize_image_instance): ditto.
11547 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
11550 * redisplay-output.c (redisplay_unmap_subwindows): update for
11551 subwindow instance cache as a weak list.
11552 (redisplay_unmap_subwindows_maybe): ditto.
11553 (redisplay_unmap_subwindows_except_us): ditto.
11555 * glyphs.c (unmap_subwindow): error checking will check the domain
11556 so don't deal with it here. Don't use cachels anymore.
11557 (map_subwindow): ditto.
11558 (update_subwindow_cachel_data): remove old accessor names.
11559 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
11560 (Fresize_subwindow): don't update cachel.
11561 (mark_subwindow_cachels):
11562 (update_subwindow_cachel_data):
11563 (add_subwindow_cachel):
11564 (get_subwindow_cachel_index):
11565 (update_subwindow_cachel):
11566 (reset_subwindow_cachels):
11567 (mark_subwindow_cachels_as_not_updated): deleted.
11568 (cache_subwindow_instance_in_frame_maybe): new function. Add a
11569 subwindow instance to the frame cache.
11570 (find_matching_subwindow): update for subwindow instance cache as
11572 (update_widget_instances): ditto.
11573 (image_instance_type_to_mask):inlined.
11574 (free_frame_subwindow_instance_cache): new function. finalize all
11575 subwindows that are instantiated.
11577 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
11578 of cachel information.
11579 (IMAGE_INSTANCE_DISPLAY_X):
11580 (IMAGE_INSTANCE_DISPLAY_Y):
11581 (IMAGE_INSTANCE_DISPLAY_WIDTH):
11582 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
11583 (XIMAGE_INSTANCE_DISPLAY_X):
11584 (XIMAGE_INSTANCE_DISPLAY_Y):
11585 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
11586 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
11587 remove subwindow_cachel structure and function references.
11588 (image_instance_type_to_mask): inline from glyphs.c
11590 * redisplay.c (redisplay_frame): remove subwindow_cachel
11593 * frame.h (struct frame): remove subwindow_cachels.
11594 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
11596 * frameslots.h: add subwindow_instance_cache.
11598 * window.c (replace_window): check subwindow cache of replacement.
11599 (window_unmap_subwindows_cache_mapper):
11600 (window_unmap_subwindows): new functions. Unmap all subwindows
11601 cached on this window.
11602 (mark_window_as_deleted): unmap all subwindows.
11604 2000-04-27 Andy Piper <andy@xemacs.org>
11606 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
11608 * glyphs-widget.c (widget_layout): return something.
11609 (layout_layout): return something. Fail if not initialized.
11610 (layout_query_geometry): ditto.
11611 (image_instantiator_native_layout): new function. Initialized the
11612 native layout type.
11613 (widget_instantiate): don't do layout stuff here.
11615 * glyphs.c (instantiate_image_instantiator): reorded calling or
11616 instantiate and post_instantiate with layout in between.
11617 (image_instance_layout): be more selective about deciding whether
11618 the layout has been done or not.
11620 * glyphs.h (struct image_instantiator_methods): return a value
11621 from layout_method.
11623 2000-04-26 Andy Piper <andy@xemacs.org>
11625 * glyphs.c (allocate_image_instance): make initial width and
11626 height unspecified. Set initialized to 0.
11628 * syscommctrl.h new file. Encapsulates commctrl.h.
11630 * syswindows.h new file. Encapsulates windows.h.
11632 * ntplay.c: use new syswindows.h and syscommctrl.h header.
11634 * console-msw.h: ditto.
11636 * redisplay-tty.c (tty_output_display_block): remove layout references.
11638 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
11639 window handle rather than just the frame.
11641 * glyphs.c (mark_image_instance): remove layout references.
11642 (print_image_instance): ditto.
11643 (image_instance_equal): ditto.
11644 (image_instance_hash): ditto.
11645 (decode_image_instance_type): ditto.
11646 (encode_image_instance_type): ditto.
11647 (image_instantiate): ditto.
11648 (allocate_glyph): ditto.
11649 (Fimage_instance_height): ditto.
11650 (Fimage_instance_width): ditto.
11651 (update_subwindow): ditto.
11653 * redisplay-x.c (x_output_display_block): recode for layouts as
11656 * redisplay-output.c (redisplay_output_layout): recode for layouts
11658 (compare_runes): remove layout references.
11660 * redisplay-msw.c (mswindows_output_display_block): recode for
11661 layouts as widgets.
11663 * glyphs-widget.c (image_instantiator_layout): remove
11664 layout_possible_dest_types.
11665 (layout_possible_dest_types): deleted.
11667 * glyphs.h (image_instance_type): remove layout references.
11668 (struct Lisp_Image_Instance): ditto. Add initialized flag.
11669 (IMAGE_INSTANCE_INITIALIZED): new accessor.
11670 (XIMAGE_INSTANCE_INITIALIZED): ditto.
11672 2000-04-25 Andy Piper <andy@xemacs.org>
11674 * glyphs-widget.c (image_instantiator_buttons):
11675 (image_instantiator_edit_fields):
11676 (image_instantiator_combo_box):
11677 (image_instantiator_scrollbar):
11678 (image_instantiator_progress_guage):
11679 (image_instantiator_tree_view):
11680 (image_instantiator_tab_control):
11681 (image_instantiator_labels):
11682 (image_instantiator_layout): call default post_instantiate method.
11683 (widget_post_instantiate): new function. Simply lays out the
11686 * glyphs.h (struct image_instantiator_methods): add
11687 post_instantiate method.
11689 * glyphs.c (instantiate_image_instantiator): add post_instantiate
11692 2000-04-23 Andy Piper <andy@xemacs.org>
11694 * glyphs.h (struct image_instantiator_methods): add
11695 decode_domain_method.
11696 (struct Lisp_Image_Instance): remove subwindow frame - it can be
11697 derived from the domain.
11698 (IMAGE_INSTANCE_FRAME): new accessor.
11699 (XIMAGE_INSTANCE_FRAME): ditto.
11701 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
11702 instead of _SUBWINDOW_FRAME.
11703 (finalize_image_instance): ditto.
11704 (Fimage_instance_foreground): ditto.
11705 (Fimage_instance_background): ditto.
11706 (image_instantiate): ditto.
11707 (update_subwindow_cachel): ditto.
11708 (update_subwindow): ditto.
11709 (unmap_subwindow): ditto.
11710 (map_subwindow): ditto
11711 (subwindow_instantiate): ditto.
11712 * glyphs-msw.c (mswindows_update_widget): ditto.
11713 (mswindows_progress_gauge_instantiate): ditto.
11714 (mswindows_tab_control_update): ditto.
11715 * glyphs-x.c (x_update_widget): ditto.
11716 (x_widget_instantiate): ditto.
11717 (x_tab_control_instantiate): ditto.
11718 (x_tab_control_update): ditto.
11719 * event-msw.c (mswindows_wnd_proc): ditto
11721 * glyphs-widget.c (image_instantiator_layout): use
11722 subwindow_decode_domain.
11723 (image_instantiator_buttons): ditto.
11724 (image_instantiator_edit_fields): ditto.
11725 (image_instantiator_combo_box): ditto.
11726 (image_instantiator_scrollbar): ditto.
11727 (image_instantiator_progress_guage): ditto.
11728 (image_instantiator_tree_view): ditto.
11729 (image_instantiator_tab_control): ditto.
11730 (image_instantiator_labels): ditto.
11731 (image_instantiator_layout): ditto.
11733 * glyphs.c: add instance error checking to many functions.
11734 (instantiate_image_instantiator): decode device from cache_domain.
11735 (image_instantiate): partially rewrite by using
11736 decode_image_instantiator_domain to determine what domain the
11737 instance needs to be cached in.
11738 (decode_image_instantiator_domain): new function. Determine what
11739 domain the image needs to be cached in.
11740 (check_window_subwindow_cache): new error checking function.
11741 (check_instance_cache_mapper): ditto.
11742 (check_image_instance_structure): ditto.
11743 (subwindow_decode_domain): new function. Encodes a window as a
11744 subwindow's cache domain.
11745 (image_instantiator_format_create): use it for text and
11748 2000-04-21 Andy Piper <andy@xemacs.org>
11750 * glyphs.c (image_instance_device): new function.
11751 (image_instance_frame): new function.
11752 (image_instance_window): new function.
11753 (image_instance_live_p): new function.
11755 * window.c (mark_window_as_deleted): reset the subwindow_instance_
11758 * glyphs.h (struct Lisp_Image_Instance): device->domain.
11759 (IMAGE_INSTANCE_DOMAIN): new accessor.
11760 (XIMAGE_INSTANCE_DOMAIN): ditto.
11762 * glyphs-x.c (x_finalize_image_instance): device->domain.
11764 * glyphs-msw.c (init_image_instance_geometry): device->domain.
11765 (mswindows_finalize_image_instance): ditto.
11767 * glyphs-eimage.c (jpeg_instantiate): device->domain.
11768 (gif_instantiate): ditto.
11769 (png_instantiate): ditto.
11770 (tiff_instantiate): ditto.
11772 * glyphs.c (instantiate_image_instantiator): use domain rather
11774 (mark_image_instance): device -> domain.
11775 (print_image_instance): ditto.
11776 (finalize_image_instance): ditto.
11777 (image_instance_equal): ditto.
11778 (allocate_image_instance): ditto.
11779 (Fcolorize_image_instance): ditto.
11780 (query_string_geometry): ditto.
11781 (image_instantiate): ditto
11782 (query_string_font): ditto.
11783 (image_instantiate): ditto.
11784 (update_subwindow): ditto.
11785 (unmap_subwindow): ditto.
11786 (map_subwindow): ditto.
11787 (subwindow_instantiate): ditto.
11789 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
11790 (DOMAIN_FRAME): ditto.
11791 (DOMAIN_WINDOW): ditto.
11792 (DOMAIN_LIVE_P): ditto.
11793 (XDOMAIN_DEVICE): ditto.
11794 (XDOMAIN_FRAME): ditto.
11795 (XDOMAIN_WINDOW): ditto.
11797 * specifier.c (Fvalid_specifier_domain_p): add image instances as
11798 a valid specifier domain.
11800 2000-04-19 Andy Piper <andy@xemacs.org>
11802 * glyphs-widget.c (syms_of_glyphs_widget): remove
11803 widget-callback-current-channel.
11804 (vars_of_glyphs_widget): ditto.
11807 * gui.c (get_gui_callback): revert to previous behaviour.
11809 2000-04-18 Andy Piper <andy@xemacs.org>
11811 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
11812 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
11813 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
11815 * glyphs.c (image_instance_equal): add margin_width.
11816 (image_instance_hash): ditto.
11818 * glyphs-widget.c (widget_instantiate): deal with margin-width.
11819 (layout_query_geometry): ditto.
11820 (layout_layout): ditto.
11821 (syms_of_glyphs_widget): add margin-width.
11822 (image_instantiator_layout): allow margin-width.
11824 * glyphs.c (update_widget_instances): make a normal function.
11825 (syms_of_glyphs): remove Qupdate_widget_instances.
11828 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
11829 so that we don't corrupt ideas about the last event or
11830 command. Remove widget-callback-current-channel fiddling.
11831 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11833 2000-05-01 Martin Buchholz <martin@xemacs.org>
11835 * XEmacs 21.2.33 is released.
11837 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
11839 * make-src-depend: Allow dots in header file name.
11841 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
11843 * mule-charset.h (struct charset_lookup): Add
11844 next_allocated_1_byte_leading_byte and
11845 next_allocated_2_byte_leading_byte.
11846 * mule-charset.c: Move above two variables so that those values
11849 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
11851 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
11852 when string length is zero.
11853 (find_charsets_in_emchar_string): Ditto.
11855 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
11857 * lisp.h: extern Qdialog and Qmenubar.
11859 * gui-x.c: added events.h.
11860 also fixed typo which made the file uncompilable.
11862 * general.c: Added Qmenubar and Qdialog
11864 2000-04-28 Ben Wing <ben@xemacs.org>
11866 * frame-msw.c (mswindows_init_frame_1):
11867 * frame-msw.c (mswindows_mark_frame):
11868 * event-msw.c (mswindows_enqueue_dispatch_event):
11870 * console-msw.h (struct mswindows_frame):
11871 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
11872 there are now three hash tables for callbacks.
11873 mswindows_enqueue_dispatch_event is no longer static.
11875 * dialog-x.c (maybe_run_dbox_text_callback):
11876 * dialog-x.c (dbox_descriptor_to_widget_value):
11877 switch to new cons3 form for callbacks.
11879 * glyphs-msw.c (mswindows_register_gui_item):
11880 * glyphs-msw.c (mswindows_widget_instantiate):
11881 * glyphs-msw.c (add_tree_item):
11882 * glyphs-msw.c (add_tab_item):
11883 new image instance parameter, so it can be passed to callback-ex.
11884 respect :callback-ex as well as :callback.
11886 * glyphs-widget.c (VALID_GUI_KEYWORDS):
11889 * glyphs.c (print_image_instance):
11890 prettify, e.g. now prints widget type.
11893 certain funs have new image instance parameter.
11896 * gui.c (get_gui_callback):
11897 * gui.c (gui_item_add_keyval_pair):
11898 * gui.c (gui_item_init):
11899 * gui.c (gui_add_item_keywords_to_plist):
11900 * gui.c (mark_gui_item):
11901 * gui.c (gui_item_hash):
11902 * gui.c (gui_item_equal):
11903 * gui.c (copy_gui_item):
11904 * gui.c (syms_of_gui):
11905 recognize callback-ex in a number of places.
11906 also, fix the annoying "can't get out of yes-no dialog" bug.
11909 * gui.h (struct Lisp_Gui_Item):
11910 recognize callback-ex in a number of places.
11912 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11913 new parameter in button_item_to_widget_value.
11915 * glyphs-x.c (x_update_widget):
11916 * glyphs-x.c (x_button_instantiate):
11917 * glyphs-x.c (x_button_update):
11918 * glyphs-x.c (x_progress_gauge_instantiate):
11919 * glyphs-x.c (x_edit_field_instantiate):
11920 * glyphs-x.c (x_combo_box_instantiate):
11921 * glyphs-x.c (x_tab_control_instantiate):
11922 * glyphs-x.c (x_label_instantiate):
11923 new image instance parameter in various places.
11926 * event-Xt.c (enqueue_Xt_dispatch_event):
11927 this fun gets exported.
11930 * gui-msw.c (mswindows_handle_gui_wm_command):
11931 handle both :callback and :callback-ex, and generate our own
11932 event because it's one of the callback-ex arguments.
11935 * gui-x.c (popup_selection_callback):
11936 handle both :callback and :callback-ex, and generate our own
11937 event because it's one of the callback-ex arguments.
11938 * gui-x.c (button_item_to_widget_value):
11939 * gui-x.c (gui_items_to_widget_values_1):
11940 * gui-x.c (gui_item_children_to_widget_values):
11941 * gui-x.c (gui_items_to_widget_values):
11942 new image instance parameter in various places.
11944 * fns.c (Freplace_list):
11945 fix small typo in doc string.
11948 declare enqueue_Xt_dispatch_event.
11950 2000-04-28 Ben Wing <ben@xemacs.org>
11953 * buffer.c (Frecord_buffer):
11954 * buffer.c (syms_of_buffer):
11955 delete record-buffer-hook.
11958 * fns.c (Freplace_list):
11959 * fns.c (syms_of_fns):
11960 new primitive replace-list.
11963 slot for old buffer-alist.
11966 exfun replace-list.
11969 * redisplay.c (redisplay_frame):
11970 * redisplay.c (syms_of_redisplay):
11971 * redisplay.c (vars_of_redisplay):
11972 new hook buffer-list-changed-hook.
11975 2000-04-27 Ben Wing <ben@xemacs.org>
11977 * extents.h: extern in_modeline_generation.
11979 * redisplay.c (generate_formatted_string_db): set
11980 in_modeline_generation.
11982 * extents.c (extent_changed_for_redisplay): don't mark redisplay
11983 flags if in modeline generation. otherwise frame-modified-tick
11984 is ticked far too often.
11985 Declare in_modeline_generation.
11987 2000-04-26 Ben Wing <ben@xemacs.org>
11989 * emacs.c (vars_of_emacs): document quick-build "error-checking"
11991 (vars_of_emacs): add quick-build as an error-checking option.
11992 A bit kludgy, but there doesn't seem much point in creating
11993 a real var for this.
11995 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
11997 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
11999 * redisplay.h (struct display_line): Add a new variable,
12002 * redisplay.c (create_text_block): Set dl->line_continuation if
12003 the line continues.
12004 (create_string_text_block): Ditto.
12005 (regenerate_window_incrementally): Use line_continuation instead
12006 of searching continuation glyph.
12007 (add_margin_runes): Call add_glyph_rune.
12008 (add_glyph_rune): Handle margin glyph.
12010 2000-04-20 Martin Buchholz <martin@xemacs.org>
12012 * filelock.c (fill_in_lock_file_name):
12014 Check for IS_ANY_SEP instead of '/'.
12016 Avoid generating gratuitous garbage. Call user_login_name() directly.
12017 Never check errno without first seeing that system call failed.
12018 (unlock_file): Add GCPRO.
12019 (Flock_buffer): Fix docstring.
12020 (Ffile_locked_p): Fix docstring. Add GCPRO.
12022 2000-04-19 Martin Buchholz <martin@xemacs.org>
12024 * sysdep.c (get_pty_max_bytes):
12025 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
12026 strings longer than 252 bytes.
12028 * md5.c: Unconditionally include ANSI header <limits.h>
12030 * glyphs-x.c (convert_EImage_to_XImage):
12031 * lisp-union.h (union Lisp_Object):
12032 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
12034 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
12036 * filelock.c (current_lock_owner): Remove unused variable o, p.
12038 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
12040 * callint.c: Remove multiply defined symbol Qlet
12041 (syms_of_callint): ditto.
12043 2000-04-14 Andy Piper <andy@xemacs.org>
12045 * general.c (syms_of_general): add last-command, this-command, let
12048 * lisp.h: declare various symbols.
12050 * glyphs.h: declare Qwidget_callback_current_channel;
12052 * glyphs-widget.c (syms_of_glyphs_widget): add
12053 Qgui_callback_current_channel.
12054 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
12056 * gui-msw.c (mswindows_handle_gui_wm_command): bind
12057 widget-callback-current-channel when invoking the interactive
12058 arg. Also bind last-command and next-command when invoking the
12060 * gui-x.c (popup_selection_callback): ditto.
12062 * gui.c (get_gui_callback): massage args so that we are always
12063 calling eval. This allows us to add our own variable bindings
12066 * glyphs-x.c (x_button_instantiate): use
12067 gui_items_to_widget_values since this is GC safe.
12068 (x_progress_gauge_instantiate): ditto.
12069 (x_edit_field_instantiate): ditto.
12070 (x_label_instantiate): ditto.
12072 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
12073 (emacs_Xt_event_widget_focus_out): new function
12074 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
12076 (emacs_Xt_event_add_widget_actions): new function. add focus
12077 functions as actions.
12078 (init_event_Xt_late): use it.
12080 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
12082 * event-stream.c (Fdispatch_event): Doc fix.
12084 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
12086 * postgresql.c: Remove all references to PQsetenv*.
12088 * postgresql.h: Remove references to PGsetenvHandler object.
12089 * lrecord.h (lrecord_type): Ditto.
12091 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12093 * glyphs-msw.h (struct mswindows_image_instance_data): Added
12094 real_heigh and real_width members, and accessor macros for these.
12096 * glyphs-msw.c (init_image_instance_geometry): New function.
12097 (init_image_instance_from_dibitmap): Use it.
12098 (mswindows_resource_instantiate): Use it.
12099 (init_image_instance_from_xbm_inline): Use it.
12100 (mswindows_initialize_image_instance_mask): Use real bitmap
12102 (mswindows_create_resized_bitmap): Ditto.
12103 (mswindows_create_resized_mask): Ditto.
12105 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
12106 and bitmap to their surface size.
12108 2000-04-11 Jan Vroonhof <jan@xemacs.org>
12110 * process-unix.c (unix_send_process): Guard against process MIA
12111 after Faccept_process_output.
12113 2000-04-11 Ben Wing <ben@xemacs.org>
12115 * eval.c (unbind_to_hairy): fix brokenness introduced by
12116 nanosecond speed improvements.
12118 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
12120 * sunplay.c (init_device): To play sounds correctly, the device
12121 apparently needs to be initialized at least once by XEmacs. Make
12124 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
12126 * redisplay.c (add_margin_runes): Add text image glyph
12129 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
12131 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
12132 gcc is newer than 2.5.
12134 2000-04-06 Colin Rafferty <colin@xemacs.org>
12136 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
12138 * fns.c (size_bit_vector):
12139 * alloc.c (size_vector):
12140 (make_vector_internal):
12141 (make_bit_vector_internal):
12142 (sweep_bit_vectors_1):
12143 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
12145 2000-04-06 Andy Piper <andy@xemacs.org>
12147 * gmalloc.c (malloc): undo previous change.
12152 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
12154 * line-number.c (buffer_line_number): Revert to former version.
12156 2000-04-06 Andy Piper <andy@xemacs.org>
12158 * gmalloc.c (malloc): add error checking.
12163 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
12164 button_item_to_widget_value arg.
12166 * glyphs-x.c (x_button_instantiate): add extra
12167 button_item_to_widget_value arg.
12168 (x_progress_gauge_instantiate): ditto.
12169 (x_edit_field_instantiate): ditto.
12170 (x_label_instantiate): ditto.
12172 * gui-x.c (gui_items_to_widget_values_1): add extra
12173 button_item_to_widget_value arg.
12174 (button_item_to_widget_value): add extra menu_item_p arg.
12176 * gui-x.h: change signature of button_item_to_widget_value.
12178 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
12179 button_item_to_widget_value arg.
12181 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
12183 * buffer.h (struct buffer): auto_save_modified should be long.
12185 2000-04-05 Andy Piper <andy@xemacs.org>
12187 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
12189 (button_query_geometry): give a little more room so that athena
12192 2000-04-05 Andy Piper <andy@xemacs.org>
12194 * faces.c (complex_vars_of_faces): The widget face should inherit
12195 the font of the gui-element face.
12197 2000-04-04 Andy Piper <andy@xemacs.org>
12199 * glyphs-x.c (x_button_update): new function. unconditionally
12200 update a button's state when the instance is dirty.
12201 (image_instantiator_format_create_glyphs_x): add x_button_update.
12202 (x_widget_instantiate): remove old resize cruft.
12204 2000-04-02 Andy Piper <andy@xemacs.org>
12206 * frame.c (change_frame_size_1): The introduction of gutters means
12207 that we need to allow 0 as a potential frame dimension.
12209 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
12211 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
12212 image glyph if allow_cursor.
12213 (add_hscroll_rune): Don't allow cursor to border glyph.
12214 (create_text_block): Ditto.
12216 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
12217 text not in buffer.
12218 (redisplay_output_layout): Call ensure_face_cachel_complete for
12222 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
12224 * redisplay.c (add_glyph_rune): Adding text image as text runes.
12226 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
12229 * redisplay-tty.c (tty_output_display_block): Delete the routine
12230 for text image glyph
12231 * redisplay-x.c (x_output_display_block): ditto
12232 * redisplay-msw.c (mswindows_output_display_block): ditto
12234 2000-02-02 Mike Alexander <mta@arbortext.com>
12236 Note: Some of these were committed by accident as part of other
12239 * regex.c (regex_compile): Avoid compiler warnings.
12241 * ntproc.c (sys_spawnve): Avoid compiler warnings.
12243 * nt.h: Declare term_ntproc correctly.
12245 * nt.c: Remove incorrect declaration of get_home_directory which
12246 is declared correctly in lisp.h.
12248 * keymap.c (get_keyelt): Avoid compiler warnings.
12249 (raw_lookup_key_mapper): Avoid compiler warnings.
12251 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
12253 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
12255 * filemode.c (mode_string): Avoid compiler warnings.
12257 * file-coding.c (Fcoding_system_aliasee): Add return statement to
12260 * events-mod.h: Undef some things that winuser.h defines differently.
12262 * data.c (Faset): Avoid compiler warnings.
12264 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
12266 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12268 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
12269 Fall through to simple beep on error.
12270 Replace "extern" by real header file.
12272 * linuxplay.c: Use nativesound.h
12273 (play_sound_data): Return error code. Be less verbose on error.
12275 * sunplay.c: Use nativesound.h
12276 (play_sound_data): Return error code. Be less verbose on error.
12278 * ntplay.c: Use nativesound.h
12279 (play_sound_data): Return fake error code
12281 * sgiplay.c: Use nativesound.h
12282 (play_sound_data): Return error code
12284 * hpplay.c: Use nativesound.h, partially implement
12285 new error code. Break compilation until finished.
12286 (play_sound_data): error code.
12288 * nativesound.h (play_sound_file):
12289 (play_sound_data): Prototype in new header.
12291 2000-03-31 Andy Piper <andy@xemacs.org>
12293 * glyphs-widget.c: (button_query_geometry): new function. Adjust
12294 for toggle and radio buttons.
12295 (image_instantiator_buttons): use it.
12297 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12299 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
12300 (x_update_horizontal_scrollbar_callback): Return if no mirror was
12301 found. Scrollbar event probably belonged to some old config.
12303 2000-03-31 Andy Piper <andy@xemacs.org>
12305 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
12307 (initialize_widget_image_instance): default layout to
12308 LAYOUT_HORIZONTAL rather than 0.
12309 (widget_instantiate): reverse the item list at the end rather than
12311 (layout_layout): re-code for the border text at the front of the
12312 item list rather than at the end.
12313 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
12314 provided by the user.
12315 (widget_query_geometry): comment.
12317 2000-03-30 Andy Piper <andy@xemacs.org>
12319 * glyphs-widget.c (image_instantiator_layout): allow standard
12320 widget keywords in layouts.
12322 * gutter.c (output_gutter): cope with nil gutter contents.
12324 * frame.c (Fset_frame_properties): add gutter docs.
12326 2000-03-29 Andy Piper <andy@xemacs.org>
12328 * toolbar-msw.c (TBSTYLE_FLAT): add.
12329 (mswindows_output_toolbar): minor fiddling.
12331 2000-03-29 Andy Piper <andy@xemacs.org>
12333 * gutter.c (output_gutter): force gutter size recalculation if
12334 what we are trying to display won't fit.
12335 (update_gutter_geometry): new function. A per-gutter version of
12336 update_frame_gutter_geometry.
12337 (update_frame_gutter_geometry): use it.
12338 (redraw_exposed_gutter): add extra debugging output.
12340 2000-03-28 Mike Alexander <mta@arbortext.com>
12342 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
12343 (pdump_file_unmap): Implement it on Windows
12344 (pdump_file_get): Save alocated handles for pdump_file_unmap
12346 2000-03-28 Andy Piper <andy@xemacs.org>
12348 * gui.c (get_gui_callback): treat Quit specially.
12350 2000-03-27 Andy Piper <andy@xemacs.org>
12352 * glyphs.c (image_instantiate): be careful to check in the same
12355 2000-03-27 Didier Verna <didier@xemacs.org>
12357 * config.h.in: define the proper SMART_INCLUDE macro.
12358 handle renaming of `foo_h_path' to `foo_h_file'.
12360 * database.c: ditto.
12364 * linuxplay.c: ditto.
12366 * terminfo.c: ditto.
12368 * tooltalk.h: ditto.
12370 2000-03-27 Andy Piper <andy@xemacs.org>
12372 * glyphs-msw.c (mswindows_update_widget): make sure the widget
12373 gets updated whenever the face might have changed.
12375 2000-03-26 Mike Alexander <mta@arbortext.com>
12377 * dumper.c (pdump_resource_free): Fix the comment.
12379 2000-03-21 Olivier Galibert <galibert@pobox.com>
12381 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
12383 2000-03-22 Mike Alexander <mta@arbortext.com>
12385 * dumper.c: Include Windows headers on Windows
12386 (pdump_resource_free): Add a body to the function
12387 (pdump_load): exe_name -> exe_path and add some comments.
12389 2000-03-25 Mike Alexander <mta@arbortext.com>
12391 * gui.c (copy_gui_item_tree): Return a value in all cases
12393 2000-03-21 Didier Verna <didier@xemacs.org>
12395 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
12397 (SMART_INCLUDE): new macro.
12398 (POSTGRES_INCLUDE): new macro to include postgresql headers from
12399 the proper location.
12401 * postgresql.c: use it.
12405 2000-03-24 Andy Piper <andy@xemacs.org>
12407 * gutter.c (redraw_exposed_gutters): must be "in display" when we
12410 2000-03-24 Andy Piper <andy@xemacs.org>
12412 * redisplay-output.c (compare_runes): use image_instance_changed
12413 to detect changes. Do not depend on glyphs_changed, only depend on
12415 (redisplay_output_layout): add debug messages.
12416 (compare_runes): ditto.
12418 * glyphs.h: declare new functions.
12419 (struct Lisp_Image_Instance): remove percent and associated
12422 * gui.h: declare new copying functions.
12424 * gui.c (copy_gui_item_tree): new function.
12425 (copy_gui_item): new function.
12426 (gui_item_id_hash): revert to standard hash.
12427 (gui_item_hash): ditto.
12428 (gui_item_hash_internal): deleted.
12429 (mark_gui_item): mark value.
12430 (gui_item_add_keyval_pair): add value.
12431 (gui_item_init): ditto.
12432 (gui_add_item_keywords_to_plist): ditto.
12433 (gui_item_equal): ditto.
12434 (syms_of_gui): add Q_value.
12436 * glyphs-x.c (x_progress_gauge_update): use pending items and
12437 value for setting the state.
12438 (x_update_widget): don't set items from pending here.
12440 * glyphs-widget.c (update_widget): update items here.
12441 (progress_gauge_set_property): use items for storing value. Put
12442 new value in pending items.
12444 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
12445 items for new value. Convert percent -> value.
12446 (mswindows_tab_control_update): don't update items here.
12448 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
12449 (update_subwindow): ditto.
12450 (image_instance_changed): new function. Compare hash values and
12451 past and present widget items.
12452 (image_instantiate): We more careful about where we instantiate
12454 (image_instantiate): add error checking.
12456 * gutter.c (syms_of_gutter): use -hook.
12458 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
12460 * console-tty.c (Fset_console_tty_input_coding_system): Use
12462 (Fset_console_tty_output_coding_system): Use Qterminal.
12463 (tty_init_console): Use Qkeyboard and Qterminal.
12465 2000-03-21 Ben Wing <ben@xemacs.org>
12467 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
12468 From Mike Alexander <mta@arbortext.com>.
12470 2000-03-21 Ben Wing <ben@xemacs.org>
12472 * event-msw.c (mswindows_need_event): Horrible kludge to fix
12473 process brokenness. Proper implementation to come.
12475 Rename call-process-internal to old-call-process-internal.
12476 New impl. in process.el.
12478 2000-03-21 Martin Buchholz <martin@xemacs.org>
12480 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
12482 2000-03-20 Andy Piper <andy@xemacs.org>
12484 * glyphs.c (full_list_hash): make hashes of the same elements in
12485 different orders return different values.
12487 2000-03-20 Martin Buchholz <martin@xemacs.org>
12489 * XEmacs 21.2.32 is released.
12491 2000-03-20 Martin Buchholz <martin@xemacs.org>
12493 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
12494 (DFC_MALLOC_USE_CONVERTED_DATA):
12495 Add aliasing-safe casts to allow use with char* or unsigned char*
12498 * eldap.c (Fldap_open):
12499 (Fldap_search_basic):
12502 Make C++-compilable.
12503 Make sure GCPRO'ed variables are initialized.
12504 Use temp variables to avoid repeated calls to Flength.
12506 2000-03-16 Martin Buchholz <martin@xemacs.org>
12509 Make sure PATH_MAX is always defined.
12510 Include limits.h for PATH_MAX.
12511 Deprecate use of MAXPATHLEN.
12513 2000-03-10 Martin Buchholz <martin@xemacs.org>
12515 * emacs.c: Add reinit_vars_of_fileio.
12516 * symsinit.h: Add reinit_vars_of_fileio.
12517 * fileio.c (reinit_vars_of_fileio): New.
12518 * fileio.c (Fmake_temp_name):
12519 Initialize temp_name random number from microseconds to make
12520 collisions even less likely. Initialize always at process startup
12521 time. (make-temp-name) used to return the same file name twice in
12523 Random stylistic fiddling.
12526 2000-03-20 Andy Piper <andy@xemacs.org>
12528 * glyphs.c (image_instantiate): allow text glyphs to be
12529 instantiated in the minibuffer window.
12531 2000-03-19 Andy Piper <andy@xemacs.org>
12533 * glyphs.c (image_instance_hash): be careful about which items we
12536 * glyphs-widget.c (tab_control_set_property): record into pending
12537 items rather than the actual items.
12539 * glyphs-x.c (x_update_widget): use pending items to update with.
12541 * glyphs-msw.c (mswindows_tab_control_update): use pending items
12544 * glyphs.c (mark_image_instance): mark pending items.
12546 * window.c (Fset_window_configuration): record the buffer.
12547 (Fselect_window): totally revert previous change which breaks many
12550 2000-03-18 Andy Piper <andy@xemacs.org>
12552 * glyphs-msw.c (mswindows_tab_control_update): force selected
12555 * glyphs.c (image_instantiate): don't allow the minibuffer as a
12556 window domain cache, otherwise we get inconsistencies at
12557 startup. There is something fishy at startup which can lead to the
12558 minibuffer being the selected window when the gutter content is
12561 * gui.c (parse_gui_item_tree_list): add probably unnecessary
12563 (parse_gui_item_tree_children): ditto.
12564 (parse_gui_item_tree_item): ditto.
12566 * glyphs.c (Fupdate_widget_instances): return something.
12568 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
12570 * window.c (Fselect_window): Undo 2000-03-17 change.
12572 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
12574 * postgresql.c (Fpq_setenv): Remove this turkey when linking
12575 against v7.0 libraries. Insta-coredump city until the postgres
12578 2000-03-17 Andy Piper <andy@xemacs.org>
12580 * faces.c (complex_vars_of_faces): don't give the widget face an
12581 inherited background pixmap.
12583 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
12586 * event-stream.c (Fdispatch_non_command_events): return something.
12588 * gutter.c (output_gutter): use widget face.
12589 (clear_gutter): ditto.
12591 * NEWS: adjust again.
12593 * window.c (Fselect_window): make sure this runs to completion to
12594 avoid oddities with Fset_window_configuration.
12595 (Fcurrent_window_configuration): in general do not save the
12596 minibuffer as the selected window.
12598 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
12600 2000-03-16 Olivier Galibert <galibert@pobox.com>
12602 * emacs.c (Frunning_temacs_p): Revert previous patch.
12603 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
12605 2000-03-16 Andy Piper <andy@xemacs.org>
12607 * glyphs-x.c (x_tab_control_update): if no widget values then
12610 * NEWS: update for new features.
12612 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
12613 synthetic event to the native system.
12614 (reinit_vars_of_event_Xt): set force_event_pending to
12615 emacs_Xt_force_event_pending.
12617 * events.h (struct event_stream): add force_event_pending.
12619 * specifier.c (recompute_one_cached_specifier_in_window): add
12622 * redisplay.c (redisplay_frame): don't call
12623 update_frame_subwindows. Reset subwindow cachels when
12624 subwindows_changed, removing this was an optimization too far.
12626 * redisplay-output.c (compare_runes): reorganize so that we catch
12627 glyph changes when we want them. Set optimize_output when this
12628 would help layouts.
12629 (redisplay_output_layout): remove frame_really_changed, use
12630 optimize_output instead.
12632 * redisplay-msw.c (mswindows_output_display_block): reset
12633 optimize_output after outputting a glyph.
12634 * redisplay-x.c (x_output_display_block): ditto.
12635 * redisplay-tty.c (tty_output_display_block): ditto.
12637 * gutter.c: (specifier_vars_of_gutter): use new spec changed
12639 (gutter_specs_changed): do specific gutter positions.
12640 (top_gutter_specs_changed): new function. Only update the
12641 specified gutter specs.
12642 (bottom_gutter_specs_changed): ditto.
12643 (left_gutter_specs_changed): ditto.
12644 (right_gutter_specs_changed): ditto.
12646 * gui.c (gui_item_hash_internal): new function, does a real hash.
12647 (gui_item_id_hash): use it.
12648 (gui_item_hash): hash the eval'ed gui_item.
12650 * gui-x.c (popup_selection_callback): send an eval event to call
12651 Fupdate_widget_instances.
12653 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
12654 to call Fupdate_widget_instances.
12656 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
12657 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
12659 * glyphs.c: (update_frame_subwindows): deleted.
12660 (Fupdate_widget_instances): new function for updating the dirty
12661 state of widgets that might have changed.
12662 (syms_of_glyphs): add Qupdate_widget_instances.
12663 (full_list_hash): hash a list completely.
12664 (image_instance_hash): use it for items and properties.
12666 * frame-msw.c (mswindows_size_frame_internal): remove unused
12669 * faces.h (struct face_cachel): fix comment.
12671 * event-stream.c (Fdispatch_non_command_events): new
12672 function. Process non-command events, forcing an event cycle
12674 (syms_of_event_stream): declare.
12675 (event_stream_force_event_pending): new function. Force an event
12676 on the native event queue so that an event cycle will occur next
12680 (struct ntpipe_shove_stream):
12681 (mswindows_enqueue_dispatch_event):
12682 (mswindows_dequeue_dispatch_event):
12683 (mswindows_cancel_dispatch_event):
12684 (mswindows_pump_outstanding_events):
12685 (mswindows_drain_windows_queue):
12686 (mswindows_handle_paint):
12687 (mswindows_wnd_proc):
12688 (mswindows_key_to_emacs_keysym):
12689 (get_process_input_waitable):
12690 (emacs_mswindows_delete_stream_pair): re-indent file.
12691 (mswindows_need_event): do not process further fds if the windows
12692 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
12693 fixes the 100% cpu problem.
12694 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
12696 2000-03-15 Olivier Galibert <galibert@pobox.com>
12702 * emacs.c: Moved dump file searching to dumper.c.
12703 (Frunning_temacs_p): Fixed.
12705 * alloc.c: Moved everything pdump-related to dumper.c. Removed
12706 last_lrecord_type_index_assigned.
12708 2000-02-20 Olivier Galibert <galibert@pobox.com>
12710 * symsinit.h: Added reinit parameter to init_console_stream
12713 * lisp.h: Added file parameter to pdump_load declaration.
12715 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
12716 support. Added dump file searching.
12718 * config.h.in: Added EMACS_PROGNAME.
12720 * console-stream.c (init_console_stream): Fix reinitialisation
12721 when running from temacs.
12723 * alloc.c (pdump): Add id support.
12724 (pdump_load): Add file parameter and signature/id support.
12726 * Makefile.in.in: Add full pdump support.
12728 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
12730 * postgresql.c: Update documentation to reflect latest code
12732 (print_result): Show tuple counts in printed representation when
12734 (Fpq_put_nbytes): MULE-ize.
12735 (Fpq_get_line_async): Ditto.
12737 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
12739 * postgresql.c (Fpq_lo_import): Fix return value.
12740 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
12742 2000-03-13 Ben Wing <ben@xemacs.org>
12744 * alloc.c (pdump_load):
12745 Fix compile warning under mswin.
12747 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
12749 * postgresql.c: Mule-ization, bug fixes.
12750 Use PG_CODING to encapsulate coding system name changes.
12751 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
12752 (pg-coding-system): Create.
12754 (Fpq_conn_defaults): Mule-ize.
12755 (Fpq_connectdb): Mule-ize & bug fix.
12756 (Fpq_connect_start): Mule-ize.
12757 (Fpq_set_client_encoding): Mule-ize.
12758 (Fpq_finish): Document `DEAD' connection status.
12759 (Fpq_clear): Ditto.
12760 (Fpq_pgconn): Mule-ize.
12761 (Fpq_exec): Mule-ize & bug fix.
12762 (Fpq_send_query): Ditto.
12763 (Fpq_get_result): Ditto.
12764 (Fpq_res_status): Mule-ize.
12765 (Fpq_result_error_message): Mule-ize.
12766 (Fpq_ntuples): fix comments.
12767 (Fpq_fname): Mule-ize.
12768 (Fpq_fnumber): Mule-ize.
12769 (Fpq_ftype): fix comments.
12770 (Fpq_get_value): Mule-ize.
12771 (Fpq_cmd_status): Ditto.
12772 (Fpq_cmd_tuples): Ditto.
12773 (Fpq_oid_value): Ditto.
12774 (Fpq_notifies): Ditto.
12775 (Fpq_lo_import): Ditto.
12776 (Fpq_lo_export): Ditto.
12777 (Fpq_get_line): Ditto.
12778 (Fpq_put_line): Mule-ize and bug fix.
12779 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
12781 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
12783 * postgresql.c (vars_of_postgresql): Mule-ize.
12784 (Fpq_conn_defaults): Ditto.
12786 2000-03-12 Ben Wing <ben@xemacs.org>
12788 * alloc.c (Fmake_byte_code):
12789 * alloc.c (debug_string_purity_print):
12790 * alloc.c (pdump_backtrace):
12791 * alloc.c (pdump_get_indirect_count):
12792 * alloc.c (pdump_register_sub):
12793 * alloc.c (pdump_register_object):
12794 * alloc.c (pdump_register_struct):
12795 * alloc.c (pdump_dump_data):
12796 * alloc.c (pdump_reloc_one):
12800 * console-msw.c (GetConsoleHwnd):
12801 * console-msw.c (msw_hide_console):
12802 * console-msw.c (msw_show_console):
12803 * console-msw.c (msw_ensure_console_buffered):
12804 * console-msw.c (msw_output_console_string):
12805 * console-msw.c (console_type_create_mswindows):
12807 a) Added functions to manipulate the console window for use with
12810 b) Added support for writing text to the console, which is now
12811 used under Windows when xemacs is not being run non-interactively,
12812 to write text that would otherwise be destined for stdout because
12813 under these circumstances, text written to stdout tends to
12814 disappear and not be seen.
12818 * event-Xt.c (x_event_to_emacs_event):
12819 * event-Xt.c (describe_event_window):
12820 * events-mod.h (XEMACS_MOD_CONTROL):
12822 * events.c (Fmake_event):
12823 * events.c (character_to_event):
12824 * events.c (event_to_character):
12825 * events.c (format_event_object):
12826 * events.c (Fevent_modifiers):
12828 * events.h (struct key_data):
12829 * events.h (struct button_data):
12830 * events.h (struct misc_user_data):
12831 * frame-x.c (Fcde_start_drag_internal):
12832 * frame-x.c (Foffix_start_drag_internal):
12833 * gpmevent.c (Freceive_gpm_event):
12835 * keymap.c (bucky_sym_to_bucky_bit):
12836 * keymap.c (control_meta_superify):
12837 * keymap.c (make_key_description):
12838 * keymap.c (keymap_lookup_directly):
12839 * keymap.c (create_bucky_submap):
12840 * keymap.c (keymap_store):
12841 * keymap.c (define_key_check_and_coerce_keysym):
12842 * keymap.c (define_key_parser):
12843 * keymap.c (define_key_alternate_name):
12844 * keymap.c (Fdefine_key):
12845 * keymap.c (raw_lookup_key_mapper):
12846 * keymap.c (struct map_keymap_unsorted_closure):
12847 * keymap.c (map_keymap_unsorted_mapper):
12848 * keymap.c (map_keymap_sort_predicate):
12849 * keymap.c (map_keymap_sorted):
12850 * keymap.c (accessible_keymaps_mapper_1):
12851 * keymap.c (where_is_recursive_mapper):
12852 * keymap.c (describe_map_mapper):
12853 * keymap.c (describe_map_sort_predicate):
12854 * keymap.c (describe_map):
12855 * keymap.c (complex_vars_of_keymap):
12856 And a number of other files, the key modifier preprocessor
12857 constants that xemacs uses have names that conflict with constants
12858 defined under MS Windows for other purposes, so they were renamed
12859 to begin with the prefix XEMACS_. The variables that hold such
12860 modifiers were changed to consistently be of type int to fix
12861 various compile warnings.
12863 * console.c (complex_vars_of_console):
12866 * device-msw.c (mswindows_finish_init_device):
12867 * device-msw.c (msw_get_workspace_coords):
12868 * device-msw.c (mswindows_device_system_metrics):
12869 and various other files, added support for a new
12870 device property called offset-workspace which returns the position
12871 of the upper left corner of the workspace area and goes along with
12872 the existing size-workspace property.
12875 * dialog-msw.c (push_bufbyte_string_as_unicode):
12876 * dialog-msw.c (mswindows_popup_dialog_box):
12877 Added support for XEmacs-style accelerator specifications in
12878 button text. Note: I didn't add support for this under X Windows,
12879 and somebody needs to do this.
12882 * dialog.c (Fpopup_dialog_box):
12883 Documented the support for accelerators that was just mentioned.
12885 editfns.c (get_home_directory): Changed behavior under Windows
12886 when HOME not defined; former behavior was irretrievably broken.
12889 * emacs.c (main_1):
12891 * minibuf.c (clear_echo_area_internal):
12892 * minibuf.c (echo_area_append):
12894 * print.c (std_handle_out_external):
12895 * print.c (std_handle_out_va):
12897 * print.c (write_string_to_stdio_stream):
12898 * print.c (output_string):
12899 * print.c (debug_print):
12900 * print.c (debug_backtrace):
12901 * print.c (debug_short_backtrace):
12902 Cleaned up the code that prints text to stdout so that this can be
12903 changed to output into a console window instead under MS Windows,
12904 as described above.
12907 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
12908 * eval.c (internal_catch):
12909 * eval.c (unwind_to_catch):
12910 * eval.c (throw_or_bomb_out):
12911 * eval.c (condition_case_1):
12912 * eval.c (signal_1):
12913 * eval.c (check_error_state_sanity):
12914 * eval.c (call_with_suspended_errors_1):
12915 * eval.c (call_with_suspended_errors):
12916 * eval.c (reinit_vars_of_eval):
12917 Added code to catch throw loops and check for a pesky bug that may
12921 * event-msw.c (key_needs_default_processing_p):
12922 * event-msw.c (mswindows_wnd_proc):
12923 * event-msw.c (mswindows_modifier_state):
12924 * event-msw.c (emacs_mswindows_quit_p):
12925 * event-msw.c (vars_of_event_mswindows):
12926 a) Added support for using the alt key to select menu items as is
12927 standard under MS Windows. This is controlled using the variable
12928 menu-accelerator-enabled, just like under X Windows. There is an
12929 option on the options menu to turn this support on. I really
12930 think that it should be on by default under Windows, but I'm not
12931 going to make this change yet.
12933 b) Added support for dynamic display size changes under Windows.
12936 * event-stream.c (maybe_echo_keys):
12937 * event-stream.c (Fnext_event):
12938 * event-stream.c (command_builder_find_leaf):
12939 * event-stream.c (lookup_command_event):
12940 * event-stream.c (execute_command_event):
12941 * event-stream.c (pre_command_hook):
12942 * event-stream.c (post_command_hook):
12943 * event-stream.c (syms_of_event_stream):
12944 * event-stream.c (vars_of_event_stream):
12945 * event-stream.c (complex_vars_of_event_stream):
12946 * events.h (struct command_builder):
12948 a) Tried to clean up a little bit the horribly written x-specific
12949 accelerator code that crept into this file. I moved this code
12950 into menubar-x.c where it belongs. I also needed to move the
12951 command builder structure into the file events.h because it is
12952 accessed directly by this accelerator code. What I didn't do, but
12953 which should be done at some point, is to properly abstract this
12954 code using device methods instead of the kludgy way that it
12955 currently hooks into the event code.
12957 b) Added the lisp variables this-command-properties and
12958 last-command- properties, which should be used to synchronize two
12959 adjacent commands in preference to playing games with the variable
12960 this-command, which is typically what happens.
12962 c) Added some slightly nasty code to hook into the lisp support
12963 for shifted- motion-key selection. This is actually necessary for
12964 somewhat complicated reasons, which are described in
12965 simple.el. (NB: I think the proper thing would be to have the code
12966 that calls the pre and post command hooks also call out to generic
12967 lisp functions in simple.el, where all built-in stuff could be
12968 added. I will think about this more.)
12970 * event-unixoid.c (poll_fds_for_input):
12971 * lread.c (readchar):
12972 * redisplay-tty.c (tty_clear_frame):
12973 * redisplay-x.c (x_get_gc):
12974 * signal.c (interrupt_signal):
12975 And a whole bunch of other files: fixed up places that printed
12976 directly to stderr to instead call the function stderr_out so that
12977 the changes I made under Windows work correctly.
12979 * filemode.c (mode_string):
12983 * frame-msw.c (mswindows_size_frame_internal):
12984 Fixed the computation of frame size and position to keep the frame
12985 within the workspace area, rather than within the physical
12986 dimensions of the screen, so that the frame doesn't overlap window
12987 manager decorations, such as the start menu and toolbar, typically
12988 at the bottom of the screen.
12990 * frame.c (vars_of_frame):
12991 Changed the default frame title format under MS Windows to consist
12992 of buffername-XEmacs, which is standard under MS Windows. I think
12993 it might be a good idea to change this everywhere because I think
12994 it is superior to the current frame title format, but this is the
12995 kind of change that is likely to cause some people to get annoyed,
12996 so I'm not making it.
12998 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13000 * gui-msw.c (mswindows_handle_gui_wm_command):
13001 Fixed compile warnings.
13004 * gui-x.c (strdup_and_add_accel):
13005 * gui-x.c (button_item_to_widget_value):
13007 Added code to automatically put an accelerator onto the beginning
13008 of menu items that don't have one as is now the standard, and is
13009 described more later. Also fixed things so that the menu item
13010 name can be an evaluated expression, again a new standard.
13013 * gui.c (gui_item_add_keyval_pair):
13014 * gui.c (make_gui_item_from_keywords_internal):
13015 * gui.c (gui_add_item_keywords_to_plist):
13016 * gui.c (gui_item_accelerator):
13017 * gui.c (gui_name_accelerator):
13018 * gui.c (gui_item_included_p):
13019 * gui.c (gui_item_display_flush_left):
13020 * gui.c (gui_item_display_flush_right):
13021 * gui.c (parse_gui_item_tree_item):
13022 * gui.c (parse_gui_item_tree_children):
13023 * gui.c (parse_gui_item_tree_list):
13024 Mule-ized. Cleanup. GCPRO addition.
13026 * line-number.c (buffer_line_number):
13028 * lisp.h (EMACS_INT_MAX):
13029 Added the manifest constant EMACS_INT_MIN corresponding to the
13030 existing constant EMACS_INT_MAX. This is partially to fix compile
13031 warnings under Windows, and partly for cleanliness.
13034 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
13035 * menubar-msw.c (msw_translate_menu_or_dialog_item):
13036 * menubar-msw.c (displayable_menu_item):
13037 * menubar-msw.c (populate_menu_add_item):
13038 * menubar-msw.c (populate_or_checksum_helper):
13039 * menubar-msw.c (populate_menu):
13040 * menubar-msw.c (update_frame_menubar_maybe):
13041 * menubar-msw.c (prune_menubar):
13042 * menubar-msw.c (msw_char_is_accelerator):
13043 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
13044 * menubar-msw.c (mswindows_handle_wm_command):
13045 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
13046 * menubar-msw.c (mswindows_handle_wm_initmenu):
13047 * menubar-msw.c (mswindows_update_frame_menubars):
13048 * menubar-msw.c (mswindows_free_frame_menubars):
13049 * menubar-msw.c (mswindows_popup_menu):
13050 Fixed a bug in handling accelerators where an extra character
13051 would be displayed in the menu item. Also generalized the
13052 function displayable_menu_item because it is now used by the
13053 dialog box code as well. And finally, added code in the functions
13054 that create the menubar to extract a list of accelerators for the
13055 top level menubar, which is used in the event code to determine
13056 whether a particular alt-key combination should be used to invoke
13057 a menu item, or should be passed through to access the standard
13058 XEmacs keymap binding for this key combination.
13060 Much needed GCPROing.
13063 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13064 * menubar-x.c (menu_item_descriptor_to_widget_value):
13065 * menubar-x.c (restore_in_menu_callback):
13066 * menubar-x.c (x_popup_menu):
13067 * menubar-x.c (menu_move_up):
13068 * menubar-x.c (menu_move_down):
13069 * menubar-x.c (menu_move_left):
13070 * menubar-x.c (menu_move_right):
13071 * menubar-x.c (menu_select_item):
13072 * menubar-x.c (command_builder_operate_menu_accelerator):
13073 * menubar-x.c (menu_accelerator_junk_on_error):
13074 * menubar-x.c (command_builder_find_menu_accelerator):
13075 * menubar-x.c (Faccelerate_menu):
13077 Moved a whole bunch of code here that was previously in
13078 event-stream.c as described above. There is also code connected
13079 to the new standard of adding an accelerator to the beginning of
13080 menu items that don't have one as described above and below.
13083 * menubar.c (menu_parse_submenu_keywords):
13084 * menubar.c (Fmenu_find_real_submenu):
13085 * menubar.c (Fnormalize_menu_item_name):
13086 * menubar.c (syms_of_menubar):
13087 * menubar.c (vars_of_menubar):
13088 * menubar.c (complex_vars_of_menubar):
13090 a) Cleaned up a bunch of documentation and improved it.
13092 b) XEmacs now automatically adds an accelerator onto the beginning
13093 of any menu items that don't have one. I did this because there
13094 will inevitably be some menu items on the main menubar that don't
13095 have accelerators on them because the package that adds that
13096 particular menu item hasn't yet been fixed up to have accelerators
13097 in them and it looked rather strange to have some items with and
13098 some items without accelerators, especially since even in items
13099 without accelerators, you can, at least under windows, still
13100 access the item through an accelerator corresponding to the first
13101 character in the item's name. If people don't like this behavior,
13102 I can add a variable to turn it off optionally, but I'm not sure
13103 this is a good idea because we really do need to have accelerators
13104 on all of the menu items, and if a package doesn't like the
13105 accelerators being put on the first character, then it should put
13106 the accelerators where they belong.
13108 c) I made a behavior change, which is that the descriptor that
13109 specifies the text of the menu item, which formerly was just a
13110 string, can now also be an evaluated expression. This makes this
13111 descriptor parallel with all of the others, which could also be
13112 evaluated expressions. This also obviates the need for the
13113 keyword :label, which was previously listed in the documentation
13114 as unimplemented, and which was for the same purpose.
13119 * ntproc.c (new_child):
13120 * ntproc.c (sys_spawnve):
13121 * ntproc.c (find_child_console):
13122 * ntproc.c (sys_kill):
13123 Fixed compile warnings. By the way, this file should really go
13124 away entirely, and this will happen as soon as Kirill makes his
13125 final round of process cleanups, which affect the function
13129 * process-nt.c (struct nt_process_data):
13130 * process-nt.c (find_process_from_pid):
13131 * process-nt.c (send_signal_the_nt_way):
13132 * process-nt.c (enable_child_signals):
13133 * process-nt.c (find_child_console):
13134 * process-nt.c (send_signal_the_95_way):
13135 * process-nt.c (nt_finalize_process_data):
13136 * process-nt.c (ensure_console_window_exists):
13137 * process-nt.c (nt_create_process):
13138 * process-nt.c (nt_kill_child_process):
13139 * process-nt.c (nt_kill_process_by_pid):
13140 * process-nt.c (nt_open_network_stream):
13141 * process-nt.c (vars_of_process_nt):
13142 Copied over code from Emacs 20.5 to correctly send signals to sub-
13143 processes under Windows 95. Also added code to automatically
13144 create and hide console window when a sub-process is created under
13145 Windows 95, which obviates the need for the separate runemacs.exe
13146 executable, and finally implemented some variables that were
13147 implemented in Emacs 20.5, but previously not in XEmacs. These
13148 include mswindows- start-process-share-console and
13149 mswindows-start-process-inherit-error-mode. (Both of these only
13150 apply to Windows 95.)
13152 * regex.c (regex_compile): Fixed a compile warning.
13155 * select-msw.c (mswindows_own_selection):
13156 * select-msw.c (mswindows_get_foreign_selection):
13157 * select-msw.c (mswindows_disown_selection):
13158 * select-msw.c (console_type_create_select_mswindows):
13159 * select-msw.c (syms_of_select_mswindows):
13160 Cleaned up the file and implemented the device method
13161 selection_exists_p, which had accidentally been left out. Also
13162 removed four lisp functions that were remnants from before the
13163 time when the selection code was properly device abstracted.
13164 These functions are no longer needed because there are generic
13165 equivalents, and because they were added recently and don't exist
13166 in FSF Emacs, I don't think there's any problem with just deleting
13170 * sysdep.c (sys_subshell):
13171 Fixed a compile warning, although in this case there's probably
13172 something wrong with this code, and it ought to be looked into
13173 more thoroughly by somebody who understands it.
13176 * window.c (Fwindow_text_area_height):
13177 * window.c (Fwindow_width):
13178 * window.c (Fwindow_full_width):
13179 * window.c (Fwindow_pixel_width):
13180 * window.c (debug_print_window):
13181 * window.c (syms_of_window):
13182 Added functions window-text-area-height and window-full-width,
13183 which are functions for returning various width and height
13184 characteristics of a window. (One of these functions is necessary
13185 for making the file dialog box work correctly, and the other one
13186 was added for completeness.) Also added a table to the
13187 documentation for window-height which describes the entire scheme
13188 for accessing width and height characteristics of a window.
13190 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13192 * nt.c (fstat): Added a comment for another problem with
13193 non-encapsulated [f]stat(), reported by Adrian Aichner
13194 <aichner@ecf.teradyne.com>.
13196 2000-03-11 Andy Piper <andy@xemacs.org>
13198 * window.c (make_dummy_parent): initialize subwindow instance
13200 (Fset_window_configuration): zero extent_modiff.
13202 2000-03-10 Andy Piper <andy@xemacs.org>
13204 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
13205 more changes can be triggered.
13206 (Fredisplay_frame): ditto.
13207 (Fredraw_device): ditto.
13208 (Fredisplay_device): ditto.
13209 (redisplay_frame): make non-static.
13210 (redisplay_frame): call update_frame_gutter_geometry outside of
13213 * gutter.h: declare update_frame_gutter_geometry.
13215 * redisplay.h: declare redisplay_frame.
13217 * gutter.c (update_frame_gutter_geometry): move geometry changes
13218 in update_frame_gutters here. Geometry changes can only occur
13219 outside of redisplay.
13220 (update_frame_gutters): remove geometry change code.
13221 (Fredisplay_gutter_area): make sure that we are in display when we
13222 update and that we have flushed any size changes.
13224 2000-03-11 Andy Piper <andy@xemacs.org>
13226 * alloc.c (pdump_dump_data): remove i & count shadows.
13228 2000-02-27 Mike Alexander <mta@arbortext.com>
13230 * sysdep.h: Declare pdump_read_file
13232 * sysdep.c (pdump_read_file): New function
13234 * alloc.c (pdump_load): Call pdump_read_file to get the portable
13237 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13239 * lrecord.h: add `lrecord_type_pgsetenv'.
13241 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
13243 * symsinit.h: declare (vars|syms)_of* functions.
13244 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
13246 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
13248 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
13250 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
13253 * emacs.c (main_1): Call postgres initialization code.
13255 * postgresql.h: New file. PostgreSQL RDBMS support.
13256 * postgresql.c: New file.
13258 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13260 * redisplay-output.c (redisplay_output_display_block): Disable
13263 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13265 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
13266 (Fcanna_henkan_next): Ditto.
13267 (Fcanna_bunsetu_henkou): Ditto.
13268 (Fcanna_henkan_kakutei): Ditto.
13269 (Fcanna_henkan_end): Ditto.
13270 (Fcanna_henkan_quit): Ditto.
13271 (Fcanna_henkan_next): Set retun value correctly.
13272 (c2mu): Use unsigned char instead of signed char.
13274 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13276 * emacs.c (main_1): Always call syms_of_gui.
13277 * inline.c: include gui.h
13279 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13281 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
13282 converted to Lisp_Object.
13283 (Qtop_bottom): New variable.
13284 (syms_of_redisplay): Initialize it.
13285 * redisplay.h (Vvisible_bell): Ditto.
13286 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
13287 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
13288 only flash top and bottom.
13290 2000-03-08 Andy Piper <andy@xemacs.org>
13292 * buffer.c (Frename_buffer): record new buffer name the right way.
13294 2000-03-08 Andy Piper <andy@xemacs.org>
13296 * glyphs.c (update_subwindow): increase hash depth so that widget
13297 items get picked up properly.
13299 * redisplay-output.c (compare_runes): increase hash depth so that
13300 widget items get picked up properly.
13302 2000-03-08 Andy Piper <andy@xemacs.org>
13304 * gutter.c (output_gutter): add some debug.
13306 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
13307 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
13308 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
13310 * redisplay-output.c (compare_runes): use display_hash to
13311 determine if glyphs really are not the same.
13313 * glyphs.c (update_subwindow): check display_hash to see if
13314 anything really needs to be updated. If not then do
13315 nothing. Record the display_hash after updating.
13316 (image_instance_equal): compare the image_instance face also.
13318 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
13320 * redisplay.h: Fix comment style.
13322 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
13324 * consle-msw.h (struct mswindows_frame):
13325 Added new member paint_pending to indicate whether a WM_PAINT
13326 magic event has been queued for this frame.
13328 * event-msw.c (mswindows_drain_windows_queue):
13329 Don't queue a WM_PAINT magic event if one is already queued.
13330 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
13332 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
13334 2000-03-07 Didier Verna <didier@xemacs.org>
13336 * dired.c: #include `regex.h' after `sysfile.h'.
13338 2000-03-06 Martin Buchholz <martin@xemacs.org>
13340 * sound.c (init_nas_sound): Fix compiler warning.
13342 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
13344 (MARK_STRUCT_AS_FREE):
13345 (MARK_STRUCT_AS_NOT_FREE):
13346 Make `gcc -fstrict-aliasing' work properly.
13348 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
13350 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
13351 (mswindows_delete_device): Call CoUnnitialize().
13353 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
13355 2000-02-25 <CraigL@DyCon.com>
13357 * process-nt.c: MinGW now has <shellapi.h>, but still needs
13360 * sysdep.c: This extern declaration for environ prevents MinGW
13361 from finding the variable in CRTDLL.DLL.
13363 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
13365 (SHGFI_EXETYPE): ..
13366 (WM_MOUSEWHEEL): ..
13367 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
13369 (MMRESULT): Removed, now defined in cygwin's windows headers.
13371 (uid_t,gid_t,pid_t,ssize_t): ..
13372 (_timeb): Removed, MinGW defines both _timeb and timeb.
13373 (HAVE_H_ERRNO): Added.
13374 (HAVE_TZNAME): Added, configure is not detecting this.
13376 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
13378 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
13379 * syntax.c (syntax_match): Use it.
13381 * cmds.c: Import auto-fill-chars from FSF Emacs.
13382 (Vauto_fill_chars): New variables.
13383 (internal_self_insert): Check Vauto_fill_chars.
13385 Declare auto-fill-chars as a Lisp variable and initialize it.
13387 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13389 * fileio.c (Fmake_symbolic_link):
13391 Run handlers even if local machine doesn't have symlinks.
13393 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13395 * event-msw.c (mswindows_drain_windows_queue):
13396 Don't generate paint magic events for non-XEmacs frames.
13398 2000-03-05 Andy Piper <andy@xemacs.org>
13400 * redisplay.c (redisplay_frame): generate_displayable_area and
13401 friends assumes that we are not in GC, we therefore have to make
13402 sure that this doesn't happen.
13404 * gutter.c (calculate_gutter_size): generate_displayable_area
13405 assumes that we are not in GC, we therefore have to make sure that
13406 this doesn't happen.
13408 2000-03-05 Martin Buchholz <martin@xemacs.org>
13410 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
13412 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13414 * redisplay.c (regenerate_window): Make sure we set a sane value
13415 for end_pos even if we jump out of the loop.
13416 (regenerate_window): Answer Ben's question :-).
13417 (start_end_of_last_line): Add may_error argument.
13418 (start_of_last_line):
13419 (end_of_last_line): Pass may_error = 0.
13420 (end_of_last_line_may_error): New function.
13421 (pixel_to_glyph_translation): Use it, so we don't crash in
13424 2000-03-04 Andy Piper <andy@xemacs.org>
13426 * window.h (struct window): add gutter_extent_modiff.
13428 * window.c (allocate_window): zero out gutter_extent_modiff.
13430 * redisplay.h: declare sync_display_line_structs.
13432 * redisplay.c (add_glyph_rune): add a better comment.
13434 * redisplay-output.c (sync_display_line_structs): made non-static.
13435 (compare_runes): remove unneccesary glyph cachel access.
13437 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
13439 * gutter.c (output_gutter): don't output the gutter if extent
13440 changes only involve extents in buffers. use 4 sets of display
13442 (gutter_extent_signal_changed_region_maybe): new function. Mark
13443 extents in gutters as changed.
13444 (update_frame_gutters): use 4 sets of display lines.
13445 (reset_gutter_display_lines): ditto.
13446 (free_frame_gutters): ditto.
13447 (redraw_exposed_gutter): force output of gutters.
13449 * frame.h (struct frame): add 4 sets of gutter display lines.
13451 * extents.c: (extent_changed_for_redisplay): signal changes to
13452 extents in strings in the gutter as well as extents in buffers.
13454 2000-03-02 Andy Piper <andy@xemacs.org>
13456 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
13458 * frame.c (Fmake_frame): make sure the gutters get initialized
13459 after the frame is visible.
13460 (set_frame_selected_window): re-arrange compilation macros a
13462 (change_frame_size_1): mark gutters changed.
13464 * device.c (Fset_device_class): mark gutters changed.
13466 2000-03-01 Andy Piper <andy@xemacs.org>
13468 * window.c (window_top_frame_gutter_height): deleted.
13469 (window_bottom_frame_gutter_height): ditto.
13470 (window_left_frame_gutter_height): ditto.
13471 (window_right_frame_gutter_height): ditto.
13472 (window_top_gutter_height): don't use them.
13473 (window_bottom_gutter_height): ditto.
13474 (window_left_gutter_width): ditto.
13475 (window_right_gutter_width): ditto.
13476 (Fsplit_window): ditto.
13477 (Fwindow_pixel_edges): don't use border dimensions here.
13479 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
13480 (update_scrollbar_instance): ditto.
13482 * redisplay.c (generate_modeline): don't take gutters into account.
13483 (generate_modeline): ditto.
13484 (redisplay_frame): small gutter display optimization.
13486 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
13488 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
13489 gutters into account.
13491 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
13492 for window position and type.
13494 * gutter.c (get_gutter_coords): fix for frame gutters.
13495 (update_frame_gutters): update frame geometry if the gutters have
13497 (init_frame_gutters): record current gutter geometries.
13499 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
13501 (mswindows_widget_instantiate): ditto.
13503 * frame.h (struct frame): add current_gutter_bounds.
13505 * frame.c (change_frame_size_1): position window and minibuffer
13506 appropriately taking into account the frame gutters.
13508 * frame-x.c: (x_initialize_frame_size): take into account the
13511 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
13513 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
13515 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
13517 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
13519 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13521 * file-coding.c (reset_decoding_stream): Clear previous
13522 detection state when autodetect.
13524 2000-02-29 Didier Verna <didier@xemacs.org>
13526 * extents.c (set_extent_glyph_1): don't require extents to be
13529 2000-02-27 Andy Piper <andy@xemacs.org>
13531 * gutter.c (Fset_default_gutter_position): don't default left and
13532 right gutter visibility to t.
13533 (Fset_default_gutter_position): run
13534 default-gutter-position-changed-hook.
13535 (syms_of_gutter): add default-gutter-position-changed-hook.
13537 2000-02-26 Andy Piper <andy@xemacs.org>
13539 * specifier.c (Fmake_specifier): add gutter references.
13541 * gutter.h (RAW_WINDOW_GUTTER): new macro.
13543 * lisp.h: declare Fvalid_plist_p.
13545 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
13547 (default_gutter_visible_p_changed_in_window): invalidate gutter as
13548 well as its visibility so that it gets reconstructed.
13549 (construct_window_gutter_spec): new function. Construct a string
13550 to be displayed in the gutter from a plist of strings. Take care
13551 to only use elements that are declared as visible.
13552 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
13554 (gutter_validate): allow plists of strings in the specifier.
13555 (gutter_specs_changed): construct the real_gutter from the gutter
13556 specs using construct_window_gutter_spec.
13557 (gutter_visible_validate): gutter-visible is a new specifier type.
13558 (Fgutter_visible_specifier_p): new function for the new specifier.
13559 (syms_of_gutter): declare gutter-visible and
13560 Fgutter_visible_specifier_p.
13561 (specifier_type_create_gutter): intitalize new gutter-visible
13563 (reinit_specifier_type_create_gutter): ditto.
13564 (specifier_vars_of_gutter): use new specifier type for gutter
13566 (init_frame_gutters): construct real_gutter correctly.
13567 (Fgutter_specifier_p): beef up documentation.
13568 (Fgutter_size_specifier_p): ditto.
13570 * winslots.h: add real_gutter slots.
13572 2000-02-25 Andy Piper <andy@xemacs.org>
13574 * device-msw.c: Be kind to older cygwin versions. From Raymond
13575 Toy <toy@rtp.ericsson.se>.
13577 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
13578 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
13580 2000-02-25 Martin Buchholz <martin@xemacs.org>
13582 * elhash.c (MARK_OBJ): Practice macro hygiene.
13584 2000-02-24 Martin Buchholz <martin@xemacs.org>
13586 * miscplay.c: s/__inline__/inline/g;
13587 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
13588 (get_device_compdc): INLINE ==> static inline
13589 * *.[ch]: Change INLINE to INLINE_HEADER globally.
13590 find -name '*.h' | \
13591 xargs global-replace \
13592 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
13594 2000-02-25 Andy Piper <andy@xemacs.org>
13596 * window.c (window_top_frame_gutter_height): new function.
13597 (window_top_window_gutter_height): ditto.
13598 (window_top_gutter_height): use them.
13599 (window_bottom_frame_gutter_height): new function.
13600 (window_bottom_window_gutter_height): ditto.
13601 (window_bottom_gutter_height): use them.
13602 (window_left_window_gutter_width): new function.
13603 (window_left_frame_gutter_width): ditto.
13604 (window_left_gutter_width): use them.
13605 (window_right_window_gutter_width): new function.
13606 (window_right_frame_gutter_width): ditto.
13607 (window_right_gutter_width): use them.
13608 (window_pixel_height): new function. calulate window pixel height
13609 with frame gutter involvement.
13610 (Fsplit_window): calculate new sizes taking frame gutters into
13612 (window_char_height_to_pixel_height): don't include frame gutters.
13613 (window_char_height): use window_pixel_height.
13614 (window_pixheight): rename from window_pixel_height.
13615 (change_window_height): use it.
13616 (window_pixel_height_to_char_height): don't include frame gutters.
13617 (window_char_width_to_pixel_width): ditto.
13619 2000-02-25 Andy Piper <andy@xemacs.org>
13621 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
13624 2000-02-24 Martin Buchholz <martin@xemacs.org>
13626 * alloc.c (staticpro):
13627 (staticpro_nodump):
13632 (compact_string_chars):
13633 (pdump_dump_wired):
13634 Convert: if (foo) abort(); ==> assert (! foo);
13636 * eldap.c (Fldap_search_basic):
13640 Fix compiler warnings, and possible crashes if (random) return
13641 value were to be used.
13643 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13645 * device-msw.c: Workaround ResetDC failure.
13647 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
13648 applying a devmode.
13650 * redisplay-msw.c (get_frame_dc): Added start_page_p.
13651 (mswindows_text_width): Do not start printer page.
13653 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
13655 * glyphs-msw.c: Added image methods to msprinter console and
13656 msprinter-specific image instantiation.
13658 2000-02-20 Mike Alexander <mta@arbortext.com>
13660 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
13661 to avoid crashes when selection-sets-clipboard is on
13662 (mswindows_own_selection): ditto
13664 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13667 * redisplay-msw.c (get_frame_dc):
13668 (get_frame_compdc):
13670 * device-msw.c (mswindows_init_device):
13671 (mswindows_delete_device):
13672 (msprinter_init_device):
13673 (msprinter_delete_device):
13674 * frame-msw.c (mswindows_init_frame_1):
13675 (mswindows_delete_frame):
13676 (msprinter_init_frame_3):
13677 (msprinter_delete_frame): Move compatible DC to device object from
13678 frame object, for both mswindows and msprinter. Only one at a time
13679 is needed, it is a real waste to have one per frame!
13681 2000-02-23 Andy Piper <andy@xemacs.org>
13683 * glyphs.c: add dynamic width and height elements.
13684 (image_instance_equal): ditto.
13686 * glyphs-widget.c (widget_query_geometry): calculate width and
13687 height dynamically if required.
13688 (initialize_widget_image_instance): initialize dynamic dimensions.
13689 (widget_instantiate): pick-up dynamic dimensions.
13691 * glyphs.h (struct Lisp_Image_Instance): add width and height for
13692 dynamic determination. Add appropriate macros.
13694 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
13696 (WINDOW_GUTTER_SIZE): ditto.
13697 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
13699 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
13701 (get_frame_dc): ditto.
13703 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
13706 2000-02-23 Martin Buchholz <martin@xemacs.org>
13708 * XEmacs 21.2.31 is released.
13710 2000-02-22 Ben Wing <ben@xemacs.org>
13712 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
13714 2000-02-22 Andy Piper <andy@xemacs.org>
13716 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
13718 2000-02-21 Mike Sperber <mike@xemacs.org>
13722 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
13725 2000-02-21 Mike Sperber <mike@xemacs.org>
13727 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
13729 2000-02-21 Martin Buchholz <martin@xemacs.org>
13731 * XEmacs 21.2.30 is released.
13733 2000-02-20 Martin Buchholz <martin@xemacs.org>
13735 Performance hacking.
13737 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
13738 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
13739 * emacs.c (main_1):
13741 * console.c (DEFVAR_CONSOLE_LOCAL_1):
13742 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
13743 * symeval.h (DEFVAR_SYMVAL_FWD):
13744 * symbols.c (guts_of_unbound_marker):
13745 Make all c_readonly objects also lisp_readonly and marked for life.
13746 * lrecord.h (struct lrecord_implementation):
13747 Document flags better.
13748 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
13749 * lrecord.h (DECLARE_LRECORD):
13750 * lrecord.h (XSETRECORD):
13751 * lrecord.h (RECORDP):
13752 * lrecord.h (RECORD_TYPEP):
13753 * lrecord.h (RECORD_MARKER): New.
13754 * lrecord.h (error_check_*):
13755 * lrecord.h (CONCHECK_NONRECORD):
13756 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
13757 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
13758 * lrecord.h (set_lheader_implementation):
13759 * lrecord.h (enum lrecord_type): New.
13760 * symeval.h (SYMBOL_VALUE_MAGIC_P):
13761 * alloc.c (disksave_object_finalization_1):
13762 * alloc.c (mark_object):
13763 * alloc.c (lrecord_type_index):
13764 * alloc.c (tick_lcrecord_stats):
13765 * alloc.c (Fgarbage_collect):
13766 * alloc.c (init_alloc_once_early):
13767 * alloc.c (pdump_load):
13768 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
13769 * alloc.c (lrecord_type_index): Delete.
13770 Make lisp object type indexes be constant.
13771 Makes (byte-compile) 5% faster.
13772 Put all marker functions into their own array.
13773 Makes (garbage-collect) 5% faster.
13774 Optimize SYMBOL_VALUE_MAGIC_P.
13775 Makes (byte-compile) 2-3% faster.
13776 * config.h.in (gc_checking_assert): New.
13777 * alloc.c: Use gc_checking_assert().
13778 * .dbxrc: Make compatible with new object type implementation.
13779 * .gdbinit: Make compatible with new object type implementation.
13780 * alloc.c: Delete all symbols defined only for debugging, such as
13781 Lisp_Type_Vector and lrecord_charset.
13783 2000-02-21 Andy Piper <andy@xemacs.org>
13785 * gui-msw.c (Fmswindows_shell_execute): fix file location
13788 * buffer.c (Fkill_buffer): remove buffer from alist buffer
13789 unshowing so that set_window_buffer doesn't undo
13790 kill_buffer_hook's hard work.
13792 * glyphs-widget.c (tab_control_query_geometry): don't count the
13793 first item when calculating geometry.
13795 * glyphs.c (map_subwindow): remove redundant code.
13796 (update_frame_subwindows): be more circumspect about when to
13799 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
13800 when items haven't changed. Update faces if faces have changed as
13801 well as just the widget face.
13802 (x_tab_control_update): Update faces if faces have changed as well
13803 as just the widget face.
13805 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
13807 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
13809 (build_syscolor_string): Use mswindows_color_to_string to try to
13811 (mswindows_device_system_metrics): Reverse the foreground and
13812 background colors so that they match the documentation.
13814 * objects-msw.c: (mswindows_X_color_map): tweak some values so
13815 they match the default Windows palette.
13816 (mswindows_color_to_string): New function.
13818 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
13820 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
13822 2000-02-18 Olivier Galibert <galibert@pobox.com>
13824 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
13825 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
13827 * symbols.c (init_symbols_once_early): Removed obsolete
13828 DATA_SEG_BITS related kludge.
13829 (defvar_magic): Ditto.
13831 * malloc.c: Removed obsolete DATA_SEG_BITS
13833 * mem-limits.h: Ditto.
13835 * Makefile.in.in: Removed obsolete HAVE_SHM
13838 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
13840 * device-msw.c (mswindows_delete_device): Free DDE string
13843 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13845 * keymap.c (get_keyelt):
13846 * unexnt.c (unexec):
13847 * vm-limit.c (memory_warnings):
13848 * ntheap.c (recreate_heap):
13849 * ntheap.h (UNINIT_PTR):
13850 * select-msw.c (Fmswindows_get_clipboard):
13851 (Fmswindows_set_clipboard):
13852 * objects-msw.h (MSWINDOWS_BAD_HFONT):
13854 * menubar-msw.c (displayable_menu_item):
13856 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
13857 * sysdep.c (sys_subshell):
13858 * process-nt.c (nt_create_process):
13859 * nt.c (normalize_filename):
13860 (dostounix_filename):
13861 (unixtodos_filename):
13862 * ntproc.c (win32_executable_type):
13863 * ntplay.c (play_sound_data_1):
13865 * editfns.c (get_home_directory):
13866 * event-msw.c (struct winsock_stream):
13867 (mswindows_dde_callback):
13868 * device-msw.c (msprinter_init_device):
13869 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
13871 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
13872 mswindows_clear_toolbar were swapped!
13874 * objects-msw.c:(colormap_t):
13876 * emacs.c (struct standard_args): Fixed const jumble.
13878 * glyphs-widget.c (update_widget): Fixed comparison notation.
13880 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
13882 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
13883 __declspec(noreturn) syntax.
13885 2000-02-19 Martin Buchholz <martin@xemacs.org>
13887 * eldap.c (Fldap_open):
13888 (Fldap_search_basic):
13891 Use new coding system conversion macros.
13893 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13895 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
13897 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
13899 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
13900 (Fldap_add, Fldap_modify, Fldap_delete): New functions
13902 * eldap.c (Qadd, Qreplace): New constant symbols
13903 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
13904 interruptions by XEmacs signals
13905 Remove unnecessary calls to slow_down_interrupts and
13906 speed_up_interrupts
13907 (Fldap_search_basic): Renamed from Fldap_search_internal
13908 Added new optional parameter VERBOSE that triggers the
13909 display of progress messages
13910 Remove unnecessary calls to slow_down_interrupts and
13911 speed_up_interrupts
13912 LDAP result code analysis rewritten
13913 (Fldap_add, Fldap_modify, Fldap_delete): New functions
13914 (syms_of_eldap): Define the new symbols and functions
13917 2000-02-17 Martin Buchholz <martin@xemacs.org>
13919 * realpath.c: Determine PATH_MAX maximally portably.
13921 * insdel.c (bytecount_to_charcount): Optimize.
13922 The function used to be optimized for entirely ASCII sequences.
13923 Now it is optimized for successive characters from the same
13924 charset. This also wins big for _mostly_ ASCII sequences.
13926 * fileio.c (Ffile_truename): convert return from realpath() using
13927 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
13928 - Rewrite GCPROing slightly.
13930 * sysdep.c (sys_open): Do filename conversion, like all other
13931 sys_* functions. Fixes bug:
13932 (let ((file-name-coding-system 'iso-8859-2))
13933 (write-region x y latin2-name))
13934 ==> writes filename using internal encoding.
13936 2000-02-18 Martin Buchholz <martin@xemacs.org>
13938 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
13939 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
13940 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
13941 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
13942 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
13943 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
13944 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
13945 (CONST_IF_NOT_DEBUG): Delete.
13946 * alloc.c (this_one_is_unmarkable): Delete.
13947 (mark_object): Don't check for this_one_is_unmarkable. Use the
13948 c_readonly flag instead.
13949 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
13951 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
13953 * event-msw.c (mswindows_drain_windows_queue):
13954 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
13955 away redundant repaint events.
13957 2000-02-17 Andy Piper <andy@xemacs.org>
13959 * redisplay.h: declare mark_redisplay_structs.
13961 * redisplay.c (redisplay_window):
13962 (redisplay_frame): don't check subwindows_state_changed.
13963 (mark_redisplay): mark gutters here.
13965 * glyphs.c: (instantiate_image_instantiator): always layout if we
13966 haven't done so already.
13967 (allocate_image_instance): don't mark as dirty.
13968 (update_subwindow): bind inhibit_quit.
13970 * gutter.c (mark_gutters): new function.
13972 * glyphs-x.c (x_update_widget): Always resize to get round a
13975 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
13976 breaking absolutely everything.
13978 * gutter.h: declare mark_gutters.
13980 2000-02-16 Martin Buchholz <martin@xemacs.org>
13982 * XEmacs 21.2.29 is released.
13984 2000-02-15 Olivier Galibert <galibert@pobox.com>
13986 * fns.c (size_bit_vector): Fix computation of the size.
13988 2000-02-15 Martin Buchholz <martin@xemacs.org>
13990 * *.[ch]: Change CONST to const globally.
13991 find -name '*.[ch]' | \
13992 xargs global-replace \
13993 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
13994 - Remove vestigial references to CONST_IS_LOSING
13996 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
13998 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
13999 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14000 events instead of dispatching them directly.
14001 (mswindows_handle_paint): New function to do repainting.
14002 (mswindows_wnd_proc):
14003 (emacs_mswindows_handle_magic_event): Call above function.
14005 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14007 * objects-msw.c (mswindows_create_font_variant): Return the new
14009 (initialize_font_instance): Get font metrics from the underlined
14010 variant of the font to cope with the case where the underlined
14011 font has a bigger descent.
14013 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14015 * gui.c (gui_item_accelerator): Return the first underlined
14016 character in item name.
14018 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14020 * lisp.h: Added Qprinter.
14022 * general.c (syms_of_general): Initialized it.
14024 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
14026 (get_frame_compdc): Made inline.
14028 * console.h (struct console_methods): Added eject_page method.
14030 * frame.h: Added FRAME_DISPLAY_P and friends.
14031 Aligned backslahes in many macros in more readable fashion.
14032 Added page_number to struct frame, and an accessor macro
14035 * defice.h: Added DEVICE_DISPLAY_P and friends.
14037 * device.c (Fdevice_printer_p): Used these.
14039 * frame.c (allocate_frame_core): Initialize page number.
14040 (Fprint_job_page_number):
14041 (Fprint_job_eject_page): Implemented.
14043 * frame-msw.c (msprinter_eject_page): Added method.
14044 (msprinter_start_page): Added.
14046 * window.c (Fwindow_truncated_p): Fixed docstring.
14047 (Fwindow_last_line_visible_height): Implemented.
14049 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14051 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
14053 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14055 * syntax.c (scan_words): Always advance at least one character.
14057 2000-02-13 Andy Piper <andy@xemacs.org>
14059 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
14060 to make sure the glyph is in the cachels.
14062 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
14063 global image instance flag.
14064 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
14065 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
14067 * glyphs.c (allocate_image_instance): set dirty bits correctly.
14068 (Fset_image_instance_property): mark layout as changed.
14069 (invalidate_glyph_geometry_maybe): mark layout as changed.
14070 (glyph_width): use new NEEDS_LAYOUT macro.
14071 (glyph_ascent): ditto.
14072 (glyph_descent): ditto.
14073 (glyph_height): ditto.
14074 (image_instance_layout): mark layout as clean after laying out.
14075 (update_subwindow): don't mark layout as clean here.
14077 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
14078 should no longer be needed.
14080 * glyphs-x.c (x_update_widget): sanitize asserts.
14081 (x_finalize_image_instance): sanitize assignment to widgets.
14083 * glyphs-widget.c (widget_instantiate): don't need to clear the
14086 2000-02-13 Martin Buchholz <martin@xemacs.org>
14088 * sysdep.c (getcwd): Use standard prototype.
14089 * sysdep.h (getcwd): Use standard prototype.
14091 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
14092 (sequence, start, end).
14093 Remove redundant type checking.
14094 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
14095 view of `caller-protects') to avoid a crash where the real fix was
14098 2000-02-12 Martin Buchholz <martin@xemacs.org>
14100 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
14102 * s/sol2.h: Remove feature macro initialization.
14104 * alloc.c (alloc_lcrecord): Add more type checking assertions.
14105 (vector_hash): New. Code from internal_hash.
14107 Fix up allocation subsystem comments.
14109 * config.h.in: Add __EXTENSIONS__ for Solaris.
14111 * systime.h (EMACS_GETTIMEOFDAY): New.
14112 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
14113 Remove Solaris-specific code.
14114 Use void* for the (ignored) second arg for gettimeofday().
14116 * elhash.c (hash_table_hash): Implement it, finally.
14117 * elhash.c: Use hashcode_t.
14119 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
14120 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
14122 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
14123 * fns.c (size_bit_vector):
14124 * alloc.c (size_vector):
14125 (make_vector_internal):
14126 (make_bit_vector_internal):
14127 (sweep_bit_vectors_1):
14128 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
14130 2000-02-10 Martin Buchholz <martin@xemacs.org>
14132 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
14133 Include strings.h to avoid warnings for bzero and strcasecmp.
14135 2000-02-10 Olivier Galibert <galibert@pobox.com>
14137 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
14138 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
14140 * fns.c (size_bit_vector): New. Declare bit vectors as a
14143 2000-02-10 Olivier Galibert <galibert@pobox.com>
14145 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
14146 use a value field instead.
14147 (symbol_value_forward_forward): Use value field.
14148 (DEFVAR_SYMVAL_FWD): Use value field.
14149 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
14150 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
14151 (DEFVAR_CONST_INT): Ditto.
14152 (DEFVAR_BOOL): Ditto.
14153 (DEFVAR_CONST_BOOL): Ditto.
14154 (DEFVAR_INT_MAGIC): Ditto.
14155 (DEFVAR_BOOL_MAGIC): Ditto.
14157 * symbols.c (guts_of_unbound_marker): Use value field.
14158 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
14159 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
14161 * lisp.h: Declare dumpopaque and noninteractive1.
14163 * alloc.c (dumpopaque): Added.
14164 (pdump_dump_opaquevec): Added.
14165 (pdump): Call pdump_dump_opaquevec to dump opaque data.
14166 (pdump_load): Reload opaque data. Sync noninteractive1 with
14169 2000-02-10 Andy Piper <andy@xemacs.org>
14171 * glyphs.c (image_instance_layout): if the size changes, mark it
14174 * redisplay-output.c (redisplay_output_layout): Update the
14176 (redisplay_output_subwindow): ditto.
14178 * glyphs.c (update_subwindow): make sure we reset flags for
14179 layouts as well as everything else.
14181 * glyphs-widget.c (layout_layout): don't need to set the instances
14184 2000-02-09 Martin Buchholz <martin@xemacs.org>
14186 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
14187 not HAVE_DLOPEN, which is a lower-level thing.
14189 * .cvsignore: Ignore gmon.out
14191 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
14193 * .cvsignore: Ignore portable dumper xemacs.dmp file
14195 2000-02-09 Andy Piper <andy@xemacs.org>
14197 * redisplay-output.c (redisplay_output_layout): be more clever
14198 about when we output based on the changed flags.
14200 * glyphs.h (struct image_instantiator_methods): add update_method.
14201 (struct Lisp_Image_Instance): add changed flags. Declare new
14202 macros for manipulating them.
14204 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
14205 (image_instance_parent_glyph): find an image_instance's parent
14206 glyph or image_instance.
14207 (image_instance_layout): mark the size as changed.
14208 (set_image_instance_dirty_p): new function. mark an image
14209 instance, plus all of its parents, as dirty.
14210 (Fset_image_instance_property): use it.
14211 (Fglyph_animated_timeout_handler): use it.
14212 (update_subwindow): call update_widget and device methods for
14213 update_subwindow. Mark all changed flags as clean.
14214 (Fresize_subwindow): mark size as changed.
14216 * glyphs-x.c (x_finalize_image_instance): try and detect gc
14218 (x_update_subwindow): only resize subwindows here.
14219 (x_update_widget): new function. Update all changed properties of
14221 (x_resize_subwindow): deleted.
14222 (x_widget_set_property): deleted.
14223 (x_progress_gauge_set_property): deleted.
14224 (x_progress_gauge_update): new function. Implement recorded
14226 (x_tab_control_update): ditto.
14227 (x_tab_control_set_property): deleted.
14228 (console_type_create_glyphs_x): declare new functions.
14229 (image_instantiator_format_create_glyphs_x): ditto.
14231 * glyphs-widget.c (widget_set_property): mark text changed.
14232 (update_widget): new function. Update properties of a widget.
14233 (widget_instantiate): for layouts make sure we set their
14234 children's parent correctly.
14235 (tab_control_set_property): new function. Record changes that will
14236 take place under redisplay's control.
14237 (progress_gauge_set_property): ditto.
14238 (image_instantiator_progress_guage): declare new functions.
14239 (image_instantiator_tab_control): ditto.
14241 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
14243 (mswindows_update_widget): new function. Update all properties on
14244 a widget that have changed.
14245 (mswindows_button_update): new function. Update a button's set
14247 (mswindows_tab_control_update): new function. Update the items in
14249 (mswindows_tab_control_set_property): deleted.
14250 (mswindows_progress_gauge_update): new function. Update the
14251 progress gauge's progress.
14252 (mswindows_widget_set_property): deleted. This is all done
14253 asynchronously now.
14254 (mswindows_progress_gauge_set_property): ditto.
14255 (console_type_create_glyphs_mswindows): declare new methods.
14256 (image_instantiator_format_create_glyphs_mswindows): ditto.
14258 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
14259 (msprinter_set_frame_properties): ditto.
14261 * console.h (struct console_methods): Add update_widget_method.
14263 2000-02-09 Andy Piper <andy@xemacs.org>
14265 * gui-msw.c (Fmswindows_shell_execute): Make
14266 mswindows-shell-execute industrial strength.
14268 2000-02-08 Martin Buchholz <martin@xemacs.org>
14270 * lrecord.h: Make macro argument `props' match member function `plist'.
14273 * fns.c (Fremprop):
14274 * fns.c (Fobject_plist):
14277 Object property list frobbing cleanup.
14278 - Allow any lisp object (compared with `eq'), not just symbols, as
14279 keys in object plists.
14280 - Move symbol plist frobbing into symbols.c, where it belongs.
14281 - Move string plist frobbing into alloc.c, where it belongs.
14282 - Everything's an lrecord now, so no need to test for symbolp, etc.
14283 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
14285 * extents.c: Reorder code to remove declarations.
14287 * frame.h (store_in_alist): Remove useless declaration.
14289 2000-02-07 Martin Buchholz <martin@xemacs.org>
14291 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
14292 * config.h.in: Add HAVE_XCONVERTCASE.
14294 2000-02-07 Andy Piper <andy@xemacs.org>
14296 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
14297 it breaks many things.
14299 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14301 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
14302 actually can start a common comment type.
14303 * src/syntax.h (SYNTAX_END_P): ditto for end.
14305 2000-02-07 Martin Buchholz <martin@xemacs.org>
14307 * XEmacs 21.2.28 is released.
14309 2000-02-06 Martin Buchholz <martin@xemacs.org>
14311 * event-Xt.c (x_keysym_to_character): New.
14312 (maybe_define_x_key_as_self_inserting_character): New.
14313 (x_has_keysym): New.
14314 Auto-define all keys on the keyboard as self-insert-key.
14316 2000-02-02 Martin Buchholz <martin@xemacs.org>
14318 * menubar.c (vars_of_menubar): A small code simplification.
14320 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
14323 * ExternalClient.c:
14324 * EmacsShell-sub.c:
14327 Use consistent style for specifying X resources.
14329 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
14330 This makes (dontusethis-set-symbol-value-handler) actually usable.
14332 * lrecord.h (lrecord_decription_type):
14333 * alloc.c (pdump_register_sub):
14336 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
14337 Comply with XEmacs coding style.
14338 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
14339 args, and XD_LISP_OBJECT_ARRAY with 3 args.
14341 * keymap.c (Faccessible_keymaps):
14342 Make (accessible-keymaps map "\C-h") do the Right Thing.
14343 Make (accessible-keymaps map []) do the Right Thing.
14344 Make (accessible-keymaps map "") do the Right Thing.
14345 (check_keymap_definition_loop): New function.
14346 (keymap_store_internal): Keep luser from shooting self in foot,
14347 via (define-key ctl-x-4-map "p" global-map).
14348 Remove fullness slot from struct Lisp_Keymap, since hash tables
14350 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
14352 2000-01-30 Martin Buchholz <martin@xemacs.org>
14354 * redisplay.c (init_redisplay): Fix small memory leak.
14356 * elhash.c (pdump_reorganize_hash_table):
14357 Rename from reorganize_hash_table. Change prototype.
14358 Reuse the original memory for hentries. Save 100k.
14359 * alloc.c (PDUMP_READ): new macro.
14360 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
14361 * alloc.c: No need to #ifndef before #undef.
14363 * print.c: Allow debug_print() to print readably by modifying
14364 debug_print_readably. Use consistent variable names.
14366 * .dbxrc: Try to get things to work even if stopped in a function
14367 without source available by explicitly specifying source files.
14368 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14370 * unexnt.c (_start): Removed bogus code which caused loading heap
14371 from differrent executable file.
14372 Removed bogus assignment to _fmode, which caused inconsistencies.
14374 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14376 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
14377 Have spawnve encapsulation regard DONT_ENCAPSULATE.
14378 Do not preliminary `#define signal sigset'.
14380 * systime.h: Do not prototype environ on windows nt and cygwin,
14381 this conflicts with system header.
14383 * syssignal.h: Use correct define for WINDOWSNT
14385 * sysdep.h: Do not prototype environ on windows nt, this conflicts
14386 with system header.
14388 * sysdep.c (near start of file): Fixed commentary and rearranged
14389 ifdefs in readable order.
14390 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
14393 (end_of_data): Do not compile in if using PDUMP.
14395 * symsinit.h: Prototyped vars_of_nt().
14397 * ntproc.c (windows9x_p): Added, instead of os_subtype.
14398 (find_child_console): Use it.
14399 (sys_kill): Use it.
14401 * ntheap.h: Do not extern os_subtype.
14403 * ntheap.c (cache_system_info): Do not cache unneeded:
14404 nt_major_version, nt_minor_version and os_subtype.
14405 (recreate_heap): Do not compile in when PDUMPing.
14407 * nt.c (geteuid and friends): Use the new varibale
14408 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
14409 (init_user_info): Removed the above mentioned hackery.
14410 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
14411 stat has been fixed in the C runtime.
14412 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
14414 * file-coding.c (struct file_coding_dump): Do not define
14415 ucs_to_mule_table in the struct if not MULE.
14416 (struct struct lrecord_description fcd_description_1): Do not dump
14419 * emacs.c (main_1): Call vars_of_nt().
14420 (right before Fdump_emacs_data): Don't need lastfile if using both
14421 portabe dumper and system malloc.
14423 * alloc.c (Fmemory_limit): Conditionalized out.
14424 (pdump): Use OPEN_BINARY for the portable dump file.
14425 (pdump_load): Ditto.
14427 2000-02-02 Mike Alexander <mta@arbortext.com>
14429 * nt.c (convert_time): Set tm_isdst before calling mktime and
14430 avoid calling it at all if the compiler supports 64 bit integers.
14431 Also initialize utc_base_ft before using it.
14433 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14435 * frame.c (change_frame_size_1): Take f->internal_border_width
14436 into consideration when calculating the width of the frame.
14438 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14440 * window.c (frame_min_height):
14441 (frame_size_valid_p):
14442 (frame_pixsize_valid_p): Added.
14443 (check_frame_size): Generalized.
14445 * window.h: Prototyped the above.
14448 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
14449 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
14450 Deleted Vwin32_* and Vbinary_process_* unused variables.
14452 * device-msw.c (msprinter_init_device): Do not get printer font
14453 list; Added DEVMODE functions.
14455 * frame-msw.c: Added lots of printer code.
14457 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
14460 * console-msw.h: Added more msprinter device private slots.
14462 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14464 * event-msw.c (key_needs_default_processing_p): Added.
14465 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
14467 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14469 * glyphs.c (image_instance_layout): Mark image instance as clean
14471 (glyph_dirty_p): Removed redundant function.
14472 (invalidate_glyph_geometry_maybe): Added.
14473 (update_glyph_cachel_data): Call it.
14475 * glyphs.h: Prototyped it.
14477 * redisplay.c (add_glyph_rune): Call it.
14478 (redisplay_window): Reset glyphs cachels when frame faces have
14479 changed, thus forcing recomputation of built-in border glyphs.
14481 2000-01-30 Martin Buchholz <martin@xemacs.org>
14483 * Makefile.in.in: Make portable dumper and purify play well together.
14484 Add imperfect, but better than nothing, support for pdump.
14485 Remove xemacs.dmp when temacs is re-generated.
14486 Don't ignore errors when dumping xemacs.
14488 * symbols.c (maybe_call_magic_handler): Remove one magic number.
14490 2000-01-28 Andy Piper <andy@xemacs.org>
14492 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
14493 (setup_normal_frame): ditto.
14494 (setup_frame_without_minibuffer): ditto.
14495 (setup_minibuffer_frame): ditto.
14496 (delete_frame_internal): ditto.
14497 (Fmake_frame_invisible): ditto.
14498 (Ficonify_frame): ditto.
14500 * window.h: change Fset_window_buffer signature.
14502 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
14503 (Fset_window_buffer): allow recording of buffer if the window is
14504 the selected window.
14505 (window_loop): Use new Fset_window signature.
14507 2000-01-23 Daniel Pittman <daniel@danann.net>
14509 * config.h.in: Added template for `HAVE_ATHENA_3D'
14511 2000-01-29 Andy Piper <andy@xemacs.org>
14513 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
14515 * gutter.c (output_gutter): Don't output if the window isn't live.
14517 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14519 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
14520 of 01/12/00: Moved SetFocus back here where it belongs.
14522 2000-01-23 Andy Piper <andy@xemacs.org>
14524 * s/cygwin32.h: declare printer things.
14526 2000-01-26 Andy Piper <andy@xemacs.org>
14528 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
14531 2000-01-24 Andy Piper <andy@xemacs.org>
14533 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
14534 (mswindows_button_instantiate): Make sure glyph is a pixmap.
14536 * glyphs-widget.c (widget_instantiate): Avoid shadows.
14538 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
14540 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
14542 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
14543 (mswindows_output_display_block): Avoid local shadows.
14545 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
14546 (mswindows_enqueue_mouse_button_event): ditto.
14547 (mswindows_handle_gui_wm_command): remove declaration.
14549 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
14552 * console-msw.h: Avoid shadows.
14553 (mswindows_get_toolbar_button_text):
14554 (emacs_mswindows_create_stream_pair):
14555 (emacs_mswindows_delete_stream_pair):
14556 (mswindows_handle_toolbar_wm_command): declare.
14558 * device-msw.c (build_syscolor_string): Avoid shadows.
14560 2000-01-23 Andy Piper <andy@xemacs.org>
14562 * glyphs-widget.c (widget_instantiate): reverse the items for
14563 layouts so that children are in the expected order.
14565 2000-01-28 Martin Buchholz <martin@xemacs.org>
14567 * ralloc.c: safe_bcopy ==> memmove
14568 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
14569 * s/msdos.h: Remove BCOPY macros.
14570 * insdel.c (gap_right): Remove BCOPY conditional code.
14571 * insdel.c (gap_left): Remove BCOPY conditional code.
14572 XEmacs demands a working ANSI C compiler - hence memmove.
14574 * regex.c (regex_compile): Remove accidental use of trigraphs.
14576 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14578 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
14581 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14583 * event-msw.c (mswindows_drain_windows_queue): Added the
14585 (mswindows_need_event): Commented the call to
14586 mswindows_drain_windows_queue().
14587 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
14590 * console-msw.h: Moved a few function prototypes here from
14593 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
14594 parameter from unsigned short to unsigned long.
14595 (Fmswindows_shell_execute): Added return value.
14597 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
14599 * sysdep.c (init_system_name):
14600 process-unix.c (unix_canonicalized_host_name):
14601 Don't call freeaddrinfo() if getaddrinfo() fails.
14603 * process-unix.c (unix_open_unix_network_stream):
14604 Moved the code to get a port # into address loop.
14606 2000-01-27 Martin Buchholz <martin@xemacs.org>
14608 * buffer.c (reinit_vars_of_buffer):
14609 The right place to initialize conversion_in_dynarr and
14610 conversion_out_dynarr.
14612 * alloc.c (pdump): Use the real open() till sys_open() is functional.
14614 * process-unix.c (unix_canonicalize_host_name): Muleize.
14615 (unix_open_network_stream): Muleize.
14617 * buffer.h: Fix up prototypes for ralloc.c functions.
14619 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
14620 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
14621 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
14622 instead of gethostbyname()
14623 * process-unix.c: In unix_canonicalize_host_name() and
14624 unix_open_network_stream(), add code to use getaddrinfo()
14625 instead of gethostbyname().
14627 2000-01-27 Daniel Pittman <daniel@danann.net>
14629 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
14630 libs when built with flat Athena.
14632 2000-01-27 Martin Buchholz <martin@xemacs.org>
14634 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
14635 Use coding standards for function prototypes.
14637 2000-01-25 Martin Buchholz <martin@xemacs.org>
14639 * dialog-msw.c (push_lisp_string_as_unicode):
14640 * doc.c (unparesseuxify_doc_string):
14641 * dired.c (Fuser_name_completion_1):
14642 * dired.c (Fuser_name_all_completions):
14643 * dired.c (free_user_cache):
14644 * dired.c (user_name_completion):
14645 * console-x.c (get_display_arg_connection):
14646 * minibuf.c (clear_echo_area_internal):
14647 * minibuf.c (echo_area_append):
14648 * eldap.c (Fldap_open):
14649 * eldap.c (Fldap_search_internal):
14650 * frame-x.c (x_set_frame_text_value):
14651 * frame-x.c (x_set_frame_properties):
14652 * frame-x.c (x_create_widgets):
14653 * redisplay-tty.c (term_get_fkeys_1):
14654 * objects-x.c (x_parse_nearest_color):
14655 * objects-x.c (x_valid_color_name_p):
14656 * objects-x.c (x_initialize_font_instance):
14657 * objects-x.c (x_list_fonts):
14658 * objects-x.c (x_find_charset_font):
14659 * tooltalk.c (Fadd_tooltalk_message_arg):
14660 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
14661 * tooltalk.c (Fadd_tooltalk_pattern_arg):
14662 * process-unix.c (unix_create_process):
14663 * ntproc.c (sys_spawnve):
14664 * sound.c (Fplay_sound_file):
14665 * sound.c (Fplay_sound):
14666 * buffer.c (init_initial_directory):
14667 * buffer.c (init_buffer):
14668 * editfns.c (init_editfns):
14669 * editfns.c (Ftemp_directory):
14670 * editfns.c (Fuser_full_name):
14671 * editfns.c (uncache_home_directory):
14672 * editfns.c (get_home_directory):
14673 * editfns.c (Fuser_home_directory):
14674 * editfns.c (Fformat_time_string):
14675 * editfns.c (Fcurrent_time_string):
14676 * gui-x.c (button_item_to_widget_value):
14677 * database.c (Fopen_database):
14678 * event-Xt.c (x_to_emacs_keysym):
14679 * event-Xt.c (x_event_to_emacs_event):
14680 * event-Xt.c (describe_event_window):
14681 * event-msw.c (mswindows_wnd_proc):
14682 * glyphs-eimage.c (jpeg_instantiate):
14683 * glyphs-eimage.c (gif_instantiate):
14684 * glyphs-eimage.c (png_instantiate):
14685 * glyphs-eimage.c (tiff_instantiate):
14686 * glyphs-x.c (xbm_instantiate_1):
14687 * glyphs-x.c (x_xbm_instantiate):
14688 * glyphs-x.c (x_xface_instantiate):
14689 * glyphs-x.c (autodetect_instantiate):
14690 * glyphs-x.c (cursor_font_instantiate):
14691 * glyphs-x.c (x_widget_instantiate):
14692 * glyphs-x.c (x_widget_set_property):
14693 * glyphs-x.c (x_widget_property):
14694 * glyphs-x.c (BUILD_GLYPH_INST):
14695 * print.c (write_string_to_stdio_stream):
14696 * print.c (output_string):
14697 * print.c (Falternate_debugging_output):
14698 * print.c (Fexternal_debugging_output):
14699 * glyphs-msw.c (extract_xpm_color_names):
14700 * glyphs-msw.c (mswindows_xpm_instantiate):
14701 * glyphs-msw.c (bmp_instantiate):
14702 * glyphs-msw.c (resource_name_to_resource):
14703 * glyphs-msw.c (mswindows_resource_instantiate):
14704 * glyphs-msw.c (xbm_instantiate_1):
14705 * glyphs-msw.c (mswindows_xbm_instantiate):
14706 * glyphs-msw.c (mswindows_xface_instantiate):
14707 * glyphs-msw.c (mswindows_widget_instantiate):
14708 * glyphs-msw.c (add_tree_item):
14709 * glyphs-msw.c (add_tab_item):
14710 * glyphs-msw.c (mswindows_combo_box_instantiate):
14711 * glyphs-msw.c (mswindows_widget_property):
14712 * glyphs-msw.c (mswindows_combo_box_property):
14713 * glyphs-msw.c (mswindows_widget_set_property):
14714 * console.c (stuff_buffered_input):
14715 * objects-msw.c (mswindows_initialize_color_instance):
14716 * objects-msw.c (mswindows_valid_color_name_p):
14717 * objects-msw.c (mswindows_list_fonts):
14718 * objects-msw.c (mswindows_font_instance_truename):
14719 * bytecode.c (optimize_compiled_function):
14720 * select-x.c (symbol_to_x_atom):
14721 * select-x.c (x_atom_to_symbol):
14722 * select-x.c (hack_motif_clipboard_selection):
14723 * select-x.c (selection_data_to_lisp_data):
14724 * select-x.c (lisp_data_to_selection_data):
14725 * select-x.c (Fx_get_cutbuffer_internal):
14726 * select-x.c (Fx_store_cutbuffer_internal):
14727 * buffer.h (TO_EXTERNAL_FORMAT): New function.
14728 * buffer.h (TO_INTERNAL_FORMAT): New function.
14729 * emacs.c (make_arg_list_1):
14730 * emacs.c (make_argc_argv):
14731 * emacs.c (main_1):
14732 * emacs.c (Fdump_emacs):
14733 * emacs.c (split_string_by_emchar_1):
14738 * device-x.c (x_init_device):
14739 * device-x.c (Fx_valid_keysym_name_p):
14740 * device-x.c (Fx_get_font_path):
14741 * device-x.c (Fx_set_font_path):
14742 * glyphs.c (bitmap_to_lisp_data):
14743 * glyphs.c (pixmap_to_lisp_data):
14744 * alloc.c (make_ext_string): Use coding system arguments. Update
14746 * alloc.c (build_string):
14747 * callproc.c (child_setup):
14748 * callproc.c (init_callproc):
14749 * fileio.c (lisp_strerror):
14750 * fileio.c (directory_file_name):
14751 * fileio.c (Fexpand_file_name):
14752 * fileio.c (Ffile_truename):
14753 * fileio.c (Fsysnetunam):
14754 * fileio.c (Fdo_auto_save):
14755 * sysdep.c (sys_readdir):
14756 * tests.c: New file. Allow adding C tests.
14757 Replace GET_* macros with a more comprehensible and flexible
14758 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
14760 Any coding system can be used to do format conversion.
14761 Eliminate enum external_data_format.
14762 Eliminate convert_to_external_format.
14763 Eliminate convert_to_internal_format.
14764 Make sure file-name, keyboard, terminal, and ctext are always
14765 defined as coding systems or aliases. Make
14766 file-name-coding-system, terminal-coding-system, and
14767 keyboard-coding-system magical variables that are equivalent to
14768 defining the corresponding coding system aliases.
14770 * file-coding.c (Fcoding_system_canonical_name_p): New function.
14771 * file-coding.c (Fcoding_system_alias_p): New function.
14772 * file-coding.c (Fcoding_system_aliasee): New function.
14773 * file-coding.c (append_suffix_to_symbol): New function.
14774 * file-coding.c (dangling_coding_system_alias_p): New function.
14775 * file-coding.c (Ffind_coding_system):
14776 * file-coding.c (Fcopy_coding_system):
14777 * file-coding.c (encode_coding_no_conversion):
14778 * file-coding.c (syms_of_file_coding):
14779 * file-coding.c (vars_of_file_coding):
14780 Rewrite coding system alias code.
14781 Allow nested aliases, like symbolic links.
14782 Allow redefinition of coding system aliases.
14783 Prevent existence of dangling coding system aliases.
14785 * dired.c (Fuser_name_completion_1):
14786 * dired.c (Fuser_name_all_completions):
14787 A crash would happen if user did QUIT in the middle of building
14788 user_name_cache. Remove redundant code in mainline and unwind_protect.
14791 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
14793 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
14794 an unsigned char *. Update all callers.
14796 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14798 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
14800 2000-01-25 Martin Buchholz <martin@xemacs.org>
14802 * elhash.c (hentry_description): Use more portable definition.
14803 (resize_hash_table): Initialize new hentries using
14804 xnew_array_and_zero, thereby simplifying the code.
14806 * mule-charset.c (make_charset): Make sure entire object is
14807 initialized, to avoid Purify warnings.
14809 * alloc.c (resize_string): Fix unlikely crash with big strings.
14811 2000-01-24 Martin Buchholz <martin@xemacs.org>
14813 * realpath.c (xrealpath):
14814 Don't call getwd().
14816 2000-01-25 Martin Buchholz <martin@xemacs.org>
14818 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
14820 1999-12-28 Max Matveev <max@melbourne.sgi.com>
14822 * unexelfsgi.c (unexec): Change the way we decide which segment
14823 should be extended.
14825 Assumption that .bss section should be outside the PT_LOADable
14826 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
14827 it's present) is inside the 'data' segment. This would fail the
14828 test which was used to find a segment to grow and cover new
14829 heap. Instead of this assumption, I created another one - on IRIX
14830 the segment to grow should start below .bss and it's address
14831 should extent above the end of .bss. Once this segment is
14832 identified, it's grown to accommodate the new heap and new
14833 zero-length .bss section is added at the end of .data2.
14835 2000-01-25 Martin Buchholz <martin@xemacs.org>
14837 * eval.c (Feval): Wrong number of arguments should use original
14838 function, not the indirect_function version of it.
14840 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
14842 * glyphs-x.c (x_button_instantiate): Don't add image if
14843 it is not a pixmap.
14844 (x_locate_pixmap_file): Call Fexpand_file_name when file name
14847 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
14849 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
14851 (DEFVAR_INT_MAGIC): Ditto.
14852 (DEFVAR_BOOL_MAGIC): Ditto.
14853 * glyphs.h: Reindent backslash.
14855 2000-01-24 Martin Buchholz <martin@xemacs.org>
14857 * glyphs-widget.c (layout_query_geometry):
14858 (layout_layout): Use correct types for gheight, gwidth.
14860 2000-01-24 Martin Buchholz <martin@xemacs.org>
14862 * EmacsManager.c (QueryGeometry): Purified.
14864 2000-01-23 Martin Buchholz <martin@xemacs.org>
14866 * alloc.c (make_float): Make sure entire object is initialized, to
14867 avoid Purify warnings.
14868 (pdump_register_sub): Remove useless assignment.
14869 (pdump): Use xmalloc, not malloc.
14870 (pdump_load): Use xmalloc, not malloc.
14872 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14879 * sysdep.c: Removed redundant #include <windows.h>
14881 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14883 * frame.c (delete_frame_internal): Do not delete device when its
14884 implementation so declares.
14885 (delete_frame_internal): Set device selected frame to nil when
14886 last frame goes away.
14888 * device-msw.c (msprinter_device_system_metrics): Implemented.
14889 (mswindows_device_system_metrics): Added 'device-dpi property.
14891 * device.c: (Fdevice_printer_p): Added.
14892 Added 'offset-workspace device metric.
14894 * console.h (device_metrics): Declared DM_offset_workspace.
14896 2000-01-23 Martin Buchholz <martin@xemacs.org>
14898 * fileio.c (Ffile_truename): Remove pointless and confusing
14899 initialization of elen.
14901 * glyphs-widget.c: Compiler warning fixes.
14903 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
14905 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
14906 instead of a Lisp_Object as argument to make it consistent with
14907 the other LIVE_P macros.
14908 (CHECK_LIVE_PROCESS): New macro.
14910 * process.c: Declare Qprocess_live_p.
14911 (Fprocess_live_p): New function.
14912 (create_process): Use PROCESS_LIVE_P.
14913 (read_process_output): Ditto.
14914 (set_process_filter): Ditto.
14915 (Fdelete_process): Ditto.
14916 (kill_buffer_processes): Ditto
14917 (process_send_signal): Use CHECK_LIVE_PROCESS.
14918 (Fprocess_input_coding_system): Check whether process is still
14919 alive (fix PR#1061).
14920 (Fprocess_output_coding_system): Ditto.
14921 (Fprocess_coding_system): Ditto.
14922 (Fset_process_input_coding_system): Ditto.
14923 (Fset_process_output_coding_system): Ditto.
14925 2000-01-23 Andy Piper <andy@xemacs.org>
14927 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
14930 * glyphs.c (mark_image_instance): take into account changed
14931 image_instance format.
14932 (image_instance_equal): ditto.
14933 (image_instance_hash): ditto.
14935 * glyphs-widget.c (widget_instantiate): Incorporate layout
14936 instantiation here. Delay layout of the layout until later.
14937 (layout_instantiate): deleted.
14938 (layout_query_geometry): new function. get the geometry of a
14940 (layout_layout): layout a layout dynamically.
14941 (image_instantiator_widget): New function - splitting up
14942 image_instantiator_format_create_glyphs_widget for netwinder
14944 (image_instantiator_buttons):
14945 (image_instantiator_edit_fields):
14946 (image_instantiator_combo_box):
14947 (image_instantiator_scrollbar):
14948 (image_instantiator_progress_guage):
14949 (image_instantiator_tree_view):
14950 (image_instantiator_tab_control):
14951 (image_instantiator_labels):
14952 (image_instantiator_layout): ditto.
14953 (image_instantiator_format_create_glyphs_widget): Call preceding
14956 2000-01-22 Martin Buchholz <martin@xemacs.org>
14958 * process.c (Fset_process_coding_system):
14959 * device-x.c (Fx_keysym_hash_table):
14962 * lstream.c (Lstream_write): Return documented value, not 0.
14964 * fileio.c (directory_file_name):
14965 (Fsubstitute_in_file_name):
14966 (Fsubstitute_insert_file_contents_internal):
14967 (Fwrite_region_internal):
14972 Remove vestigial APOLLO-conditional code.
14974 2000-01-21 Martin Buchholz <martin@xemacs.org>
14976 * getpagesize.h: Add guard macros.
14977 * libsst.h: Add guard macros.
14978 * libst.h: Add guard macros.
14979 * line-number.h: Add guard macros.
14980 * ndir.h: Add guard macros.
14981 * sysfloat.h: Add guard macros.
14982 * sysfile.h: Add guard macros.
14983 * sysproc.h: Add guard macros.
14984 * syswait.h: Add guard macros.
14985 * xintrinsic.h: Add guard macros.
14986 * xintrinsicp.h: Add guard macros.
14987 * xmmanager.h: Add guard macros.
14988 * xmmanagerp.h: Add guard macros.
14989 * xmprimitive.h: Add guard macros.
14990 * xmu.h: Add guard macros.
14991 * gpmevent.h: Add copyright statement. Add guard macros.
14992 * miscplay.h: Add guard macros.
14993 * *.h: Use consistent C-standards-approved guard macro names.
14995 * opaque.c (make_opaque): Switch parameter order.
14996 * opaque.h (make_opaque): Switch parameter order.
14997 Update all callers.
14998 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15000 * config.h.in (type_checking_assert): Added.
15001 (bufpos_checking_assert): Added.
15003 2000-01-21 Martin Buchholz <martin@xemacs.org>
15005 * alloc.c: Harmless pdump changes.
15007 - spell alignment correctly.
15008 * sysdep.c: Use countof()
15010 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15012 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15013 initially_selected_for_input() console method, default to 0.
15014 (semi_canonicalize_console_connection): Try to delegate to
15015 canonicalize_console_connection if no such console method.
15016 (canonicalize_console_connection): Vice versa.
15017 (print_console): Do not print nil connection.
15019 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15020 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15021 (XDEVIMPF_FRAMELESS_OK): Added.
15022 (CONSOLE_INHERITS_METHOD): Added.
15024 * console-msw.c (mswindows_canonicalize_console_connection):
15026 (mswindows_canonicalize_device_connection): Added.
15028 * console-msw.h (struct msprinter_device): Added this struct and
15030 (mswindows_device): Made fontlist a lisp object.
15032 * device.c (semi_canonicalize_device_connection): Try to delegate
15033 to canonicalize_device_connection if no such console method.
15034 (canonicalize_device_connection): Vice versa.
15035 (print_device): Do not print nil connection.
15037 * device-msw.c (mswindows_init_device): Call InitCommonControls
15039 (mswindows_delete_device): Removed fontlist deallocation.
15040 (mswindows_mark_device): Added.
15042 * events.c (event_equal): Added abort() at unreached code.
15043 (event_hash): Ditto.
15045 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
15046 fallback tags of Windows devices.
15048 * general.c (syms_of_general): Initialized Qmsprinter.
15050 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
15051 of fallback tags of Windows devices.
15053 * lisp.h: Declared Qmsprinter.
15055 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
15057 (mswindows_list_fonts): Ditto.
15058 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
15059 that it can be used by both mswindows and msprinter devices.
15060 (initialize_font_instance): Added.
15061 (mswindows_initialize_font_instance): Use it.
15062 (msprinter_initialize_font_instance): Added.
15064 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
15065 and implementation flags check.
15066 (redisplay_without_hooks): Changed the call to the above.
15067 (Fredraw_device): Ditto.
15068 (Fredisplay_device): Ditto.
15070 * redisplay-msw.c (get_frame_dc): Implemented.
15071 (get_frame_compdc): Implemented.
15072 (many functions): Use the two functions above to get device
15073 contexts, ether for a window or a printer.
15075 2000-01-21 Olivier Galibert <galibert@pobox.com>
15077 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
15078 initialization here.
15079 (init_symbols_once_early): Call it.
15080 * emacs.c (main_1): Call it.
15081 * symsinit.h: Declare it.
15083 2000-01-19 Olivier Galibert <galibert@pobox.com>
15085 * alloc.c: Use a lrecord_header * in the backtrace instead of a
15087 (pdump_backtrace): Ditto.
15088 (pdump_register_object): Ditto. Cleanup use of the pointers.
15089 (pdump_get_entry): Abort if trying to register a null pointer.
15090 (pdump_dump_data): Cleanup types when relocating.
15091 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
15092 (pdump_dump_rtables): Remove bad casts.
15093 (pdump_load): Cleanup relocation w.r.t union type. Use a
15094 Lisp_Object instead of a EMACS_INT for the hashtable
15097 2000-01-20 Martin Buchholz <martin@xemacs.org>
15099 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
15101 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
15103 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
15105 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
15107 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15109 * faces.h (FACE_STRIKETHRU_P): Added.
15111 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
15114 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
15115 (mswindows_set_dc_font): New function, aware of font variants,
15116 separated from mswindows_update_dc.
15118 * objects-msw.h (struct mswindows_font_instance_data): Added
15121 * objects-msw.c (mswindows_finalize_font_instance): Delete all
15122 cached fonts and the data structure.
15123 (mswindows_initialize_font_instance): Added creation of font data
15125 (mswindows_print_font_instance): Print at least something.
15126 (mswindows_create_font_variant): Implemented.
15127 (mswindows_get_hfont): Implemented.
15129 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
15131 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
15132 prototyping problem with msvc.
15134 * emacs.c (main_1): added syms_of_gui_mswindows() call
15136 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
15137 syms_of_gui_mswindows() function
15139 * symsinit.h: added the prototype for syms_of_gui_mswindows()
15141 2000-01-18 Martin Buchholz <martin@xemacs.org>
15143 * XEmacs 21.2.27 is released.
15145 2000-01-18 Martin Buchholz <martin@xemacs.org>
15147 * glyphs-eimage.c (struct tiff_error_struct):
15149 (tiff_warning_func):
15150 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
15155 * unexec.c: Remove vestigial Lucid C code.
15159 * libsst.c: Ansify.
15160 Remove declarations of errno and strerror().
15162 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
15164 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
15166 2000-01-16 Martin Buchholz <martin@xemacs.org>
15168 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
15171 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15176 Change enum eol_type to eol_type_t.
15178 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15180 * gui.c (get_gui_callback): Check cons before accessing car.
15182 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15184 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
15185 (XSETSPECIFIER_TYPE): Ditto.
15187 2000-01-17 Didier Verna <didier@xemacs.org>
15189 * redisplay.c (generate_fstring_runes): compute string size in
15190 characters, not bytes.
15192 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15194 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
15196 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
15198 * print.c (print_error_message): Call print_prepare().
15200 2000-01-14 Martin Buchholz <martin@xemacs.org>
15202 * .dbxrc: Renamed from dbxrc.
15204 * events.c (event_to_character):
15205 Use `assert (foo)' instead of `if (!foo) abort()'
15207 * .gdbinit (xtype): Add documentation.
15208 * .gdbinit (check-temacs): New function.
15209 * .gdbinit (check-xemacs): New function.
15210 * dbxrc (check-xemacs): New function.
15211 * dbxrc (check-xemacs): New function.
15213 2000-01-14 Andy Piper <andy@xemacs.org>
15215 * glyphs-widget.c (widget_query_geometry): Make sure that we
15216 calculate default dimensions correctly.
15218 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15220 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
15222 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
15223 pdump_wire'd variable.
15225 * emacs.c: (main_1): Conditionalized calls to
15226 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
15228 2000-01-13 Martin Buchholz <martin@xemacs.org>
15230 * window.c (Fset_window_configuration):
15231 * sysdep.c (_start):
15232 * input-method-motif.c (res):
15233 * event-Xt.c (Xt_process_to_emacs_event):
15234 Simple compiler warning fixes.
15236 * bytecode.c (funcall_compiled_function): Use the original
15237 function symbol on the backtrace list in preference to the
15238 compiled_function object in error messages.
15240 2000-01-13 Andy Piper <andy@xemacs.org>
15242 * glyphs-x.c (update_widget_face): Make sure we update the widget
15243 background as well as foreground.
15245 2000-01-13 Andy Piper <andy@xemacs.org>
15247 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
15248 fields to subwindow.
15249 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
15250 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
15251 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15252 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15254 * glyphs-widget.c (check_valid_tab_orientation): new function.
15255 (initialize_widget_image_instance): zero orientation and
15257 (widget_instantiate): pick up orientation.
15258 (tab_control_query_geometry): return appropriate values for
15261 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
15262 appropriate creation flags for left, right and bottom tabs.
15264 * s/cygwin32.h: add tab definitions.
15266 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15268 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
15269 frame upon hiding a subwindow.
15270 (mswindows_button_instantiate): Changed the push button style to
15272 (mswindows_button_instantiate): Removed button BS_NOTIFY
15274 (mswindows_button_instantiate): Removed redundant check for
15275 a disabled gui item.
15276 (mswindows_button_instantiate): Made use of WS_TABSTOP
15277 consistent: "operable" controls (edit, button, tree, scroll) have
15278 this style, "display-only" ones (static, progress gauge) do
15279 not. This style is currently ignored by XEmacs though. Also,
15280 removed the WS_EX_CONTROLPARENT style - it is not for children,
15281 it is for their parents!
15282 (mswindows_edit_field_instantiate): Ditto.
15283 (mswindows_progress_gauge_instantiate): Ditto.
15284 (mswindows_tree_view_instantiate): Ditto.
15285 (mswindows_tab_control_instantiate): Ditto.
15286 (mswindows_scrollbar_instantiate): Ditto.
15287 (mswindows_combo_box_instantiate): Ditto.
15288 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
15289 style to the "clip" window.
15290 (mswindows_button_instantiate): Removed compilation warning by
15291 equally typing terms of the ?: operator.
15293 2000-01-12 Didier Verna <didier@xemacs.org>
15295 * redisplay.c (generate_fstring_runes): new parameter holding the
15296 last modeline-format extent.
15297 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
15298 extent, fill the glyph block with it.
15299 (generate_fstring_runes): handle these parameters.
15300 (generate_formatted_string_db): ditto.
15302 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
15303 glyphs'extents in the modeline.
15305 1999-01-11 Mike Woolley <mike@bulsara.com>
15307 * ntheap.c: Reduced the reserved heap space from 1Gb down to
15308 256Mb, as a workaround for the non-starting problem many people
15311 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15313 * console-tty.c (Fset_console_tty_output_coding_system):
15314 Force redrawing tty frame.
15316 2000-01-10 Didier Verna <didier@xemacs.org>
15318 * redisplay.c (generate_fstring_runes): fix size computation bug.
15320 2000-01-09 William M. Perry <wmperry@aventail.com>
15322 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
15324 2000-01-09 Andy Piper <andy@xemacs.org>
15326 * glyphs-msw.c: index -> i to avoid shadows.
15327 (xbm_create_bitmap_from_data): make static.
15328 (check_valid_string_or_int): deleted.
15329 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
15331 * glyphs-x.c (x_update_subwindow): remove unused args.
15333 * glyphs.c (glyph_image_instance): return the thing. Don't set the
15334 back pointer - this is done in allocate_image_instance.
15335 (query_string_font): return Qnil to make the compiler happy.
15336 (unmap_subwindow): set to ~0 to make the compiler happy.
15337 (glyph_query_geometry): comment out until used.
15338 (glyph_layout): ditto.
15340 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15342 * insdel.c (signal_after_change): Remove extraneous unbind_to().