1 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
5 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
7 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
8 (save_uint16_byte_table): Likewise.
9 (save_byte_table): Likewise; convert values by it.
10 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
11 for `ideographic-structure'.
12 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
13 as the filter for `ideographic-structure'.
15 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
17 * chartab.c (put_char_composition): New function.
18 (Fput_char_attribute): Use `put_char_composition'; use
19 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
21 * fns.c (simplify_char_spec): New function.
22 (char_ref_simplify_spec): New function.
23 (Fchar_refs_simplify_char_specs): New function.
24 (syms_of_fns): Add new builtin function
25 `char-refs-simplify-char-specs'.
27 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
29 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
30 (Qideograph_cbeta): Deleted.
31 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
32 (complex_vars_of_mule_charset): Likewise.
34 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
35 (MIN_CHAR_CBETA): Comment out.
36 (MAX_CHAR_CBETA): Likewise.
38 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
40 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
41 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
44 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
46 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
48 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
50 * mule-charset.c (charset_lookup_description_1): Use
51 `NUM_LEADING_BYTES' in UTF-2000.
53 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
55 * char-ucs.h (GC_CHARSETP): Deleted.
57 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
59 * char-ucs.h (MAX_CHAR_GT): Updated.
61 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
63 * text-coding.c: Sync with XEmacs 21.4.10.
65 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
67 * mule-charset.c (Vcharset_china3_jef): Deleted.
68 (Qchina3_jef): Deleted.
69 (syms_of_mule_charset): Don't define `china3-jef'.
70 (complex_vars_of_mule_charset): Likewise.
72 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
73 (MIN_CHAR_CHINA3_JEF): Comment out.
74 (MAX_CHAR_CHINA3_JEF): Comment out.
76 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
78 * mule-charset.c (Vcharset_ucs_gb): New variable.
79 (Qucs_gb): New variable.
80 (syms_of_mule_charset): Add new symbol `ucs-gb'.
81 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
83 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
85 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
87 * mule-charset.c (charset_code_point): if a coded-charset has a
88 final-byte, don't inherit the builtin range of the mother CCS.
90 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
92 * mule-charset.c (charset_code_point): Fix problem about
95 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
97 * mule-charset.c (decode_builtin_char): Reorganized.
99 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
101 * text-coding.c (char_encode_as_entity_reference): Modify for
102 `charset_code_point'.
103 (char_encode_shift_jis): Likewise.
104 (char_encode_big5): Likewise.
105 (char_encode_utf8): Likewise.
106 (char_encode_iso2022): Likewise.
108 * mule-charset.c (charset_code_point): Add new argument
110 (Fencode_char): Add new optional argument `defined_only'.
112 * chartab.c (put_char_table): Modify for `charset_code_point'.
114 * char-ucs.h (charset_code_point): Add new argument
116 (encode_char_1): Modify for `charset_code_point'.
118 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
120 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
121 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
123 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
125 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
126 (Qjis_x0208): Likewise.
127 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
128 XCHARSET_FINAL(charset).
129 (charset_code_point): Modify condition for final-byte based
131 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
132 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
133 in UTF-2000; specify `=jis-x0208' as the mother of
134 `japanese-jisx0208-1978', `japanese-jisx0208' and
135 `japanese-jisx0208-1990' in UTF-2000.
137 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
139 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
141 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
143 * text-coding.c (decode_coding_utf16): Support UTF-16.
144 (char_encode_utf16): Fixed.
146 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
148 * text-coding.c (Qutf16): New variable in MULE.
149 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
150 (Fcoding_system_type): Add `utf-16' in MULE.
151 (struct detection_state): Add a structure for utf16 in MULE.
152 (detect_coding_type): Setup st->utf16.mask in MULE.
153 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
155 (reset_encoding_stream): Use `char_encode_utf16' and
156 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
157 (detect_coding_utf16): New function [incomplete].
158 (decode_coding_utf16): New function [support only UCS-2].
159 (char_encode_utf16): New function.
160 (char_finish_utf16): New function.
161 (syms_of_file_coding): Add new symbol `utf-16'; setup
162 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
164 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
166 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
167 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
169 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
171 * chartab.c (put_char_table): When a charset is specified as a
172 range in UTF-2000, don't support builtin characters.
174 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
176 * mule-charset.c (decode_defined_char): Don't refer external
177 database if Qunbound or Qnil are found.
178 (Fsave_charset_mapping_table): Don't define it if
179 HAVE_CHISE_CLIENT is not defined.
180 (Freset_charset_mapping_table): New function.
181 (load_char_decoding_entry_maybe): Store Qnil if a character is not
182 found in external database.
183 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
184 if HAVE_CHISE_CLIENT is not defined; add new builtin function
185 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
187 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
189 * text-coding.c (decode_coding_utf8): Check CCS is specified or
192 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
194 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
195 Q_lowercase, Q_uppercase in UTF-2000.
197 * chartab.c (get_char_table): Add special code for the standard
198 case table to use character attribute `->downcase' and
199 `->uppercase' for case operations in UTF-2000.
201 * casetab.c (Qflippedcase): New variable in UTF-2000.
202 (Q_lowercase): Likewise.
203 (Q_uppercase): Likewise.
204 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
205 and `->uppercase' in UTF-2000.
206 (complex_vars_of_casetab): Assign attribute name `downcase' to
207 downcase and CANON table of Vstandard_case_table in UTF-2000;
208 assign attribute name `flippedcase' to upcase and EQV table of
209 Vstandard_case_table in UTF-2000.
211 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
213 * text-coding.c (decode_add_er_char): Support isolated-chars.
214 (char_encode_as_entity_reference): Likewise.
216 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
218 * emacs.c (Vutf_2000_lisp_directory): New variable.
219 (Vconfigure_utf_2000_lisp_directory): Likewise.
220 (complex_vars_of_emacs): Add new variable
221 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
223 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
225 * char-ucs.h (DECODE_CHAR): Delete special code for
226 `chinese-big5-1' and `chinese-big5-2'.
228 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
230 (decode_defined_char): Support CONVERSION_BIG5_1 and
232 (decode_builtin_char): Likewise.
233 (charset_code_point): Likewise.
234 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
235 'conversion in UTF-2000.
236 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
237 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
238 `chinese-big5-2' as children of `chinese-big5'.
240 * char-ucs.h (CONVERSION_BIG5_1): New macro.
241 (CONVERSION_BIG5_2): New macro.
243 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
245 * text-coding.c (char_encode_big5): Support entity-reference.
247 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
249 * text-coding.c (char_encode_as_entity_reference): New function.
250 (char_encode_utf8): Use `char_encode_as_entity_reference'.
252 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
254 * text-coding.c (decode_coding_big5): Support entity-reference
257 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
259 * text-coding.c (allocate_coding_system): Initialize initial
260 charsets for CODESYS_UTF8.
261 (Fmake_coding_system): Accept charset-g0, charset-g1 and
262 charset-g2 for CODESYS_UTF8.
263 (decode_coding_utf8): Use charset-g0.
264 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
265 to force variants to map to UCS.
267 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
269 * text-coding.c (Qutf_8_mcs): New variable.
270 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
271 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
272 instead of `utf-8' in UTF-2000.
274 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
276 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
277 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
278 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
279 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
280 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
281 CONVERSION_96x96x96x96 are introduced.
282 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
283 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
284 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
286 * char-ucs.h (CONVERSION_94): New macro.
287 (CONVERSION_96): New macro.
288 (CONVERSION_94x94): New macro.
289 (CONVERSION_96x96): New macro.
290 (CONVERSION_94x94x94): New macro.
291 (CONVERSION_96x96x96): New macro.
292 (CONVERSION_94x94x94x60): New macro.
293 (CONVERSION_94x94x94x94): New macro.
294 (CONVERSION_96x96x96x96): New macro.
296 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
298 * chartab.c (Vcharacter_variant_table): Deleted.
299 (Fchar_variants): Use character-attribute `->ucs-variants' instead
300 of `Vcharacter_variant_table'.
301 (Fput_char_attribute): Likewise.
302 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
303 (complex_vars_of_chartab): Likewise.
305 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
307 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
309 * fns.c (Qideographic_structure): New variable.
310 (Qkeyword_char): New variable.
311 (ids_format_unit): New function.
312 (Fideographic_structure_to_ids): New function.
313 (syms_of_fns): Add new symbols `ideographic-structure' and
314 `:char'; add new builtin function `ideographic-structure-to-ids'.
316 * data.c (Fchar_ref_p): New function.
317 (syms_of_data): Add new builtin function `char-ref-p'.
319 * chartab.h: Add an EXFUN for `Ffind_char'.
321 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
323 * text-coding.c (Vcharacter_composition_table): Deleted.
324 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
327 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
329 (Vcharacter_composition_table): Deleted.
330 (Fget_composite_char): Use the implementation for external-DB
331 support in every UTF-2000.
332 (Fput_char_attribute): Likewise.
333 (char_attribute_system_db_file): Don't define if external-DB
334 feature is not available.
335 (Fsave_char_attribute_table): Likewise.
336 (Fmount_char_attribute_table): Likewise.
337 (Fclose_char_attribute_table): Likewise.
338 (Freset_char_attribute_table): Likewise.
339 (Fload_char_attribute_table): Likewise.
340 (syms_of_chartab): Don't define `save-char-attribute-table',
341 `mount-char-attribute-table', `reset-char-attribute-table',
342 `close-char-attribute-table' and `load-char-attribute-table' if
343 external-DB feature is not available.
344 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
346 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
348 * text-coding.c (Qcomposition): Add extern if external-DB feature
350 (Vcharacter_composition_table): Don't add extern if external-DB
351 feature is supported.
352 (COMPOSE_ADD_CHAR): Modify for new data-representation of
353 character composition rule if external-DB feature is supported.
355 * chartab.c (Vcharacter_composition_table): Don't define if
356 external-DB feature is supported.
357 (Qcomposition): New variable.
358 (Fget_composite_char): New implementation for external-DB support.
359 (Fput_char_attribute): Use `composition' property of each
360 character instead of `Vcharacter_composition_table' to store
361 character-composition rules if external-DB feature is supported.
362 (syms_of_chartab): Add new symbol `composition'.
363 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
364 external-DB feature is supported.
366 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
368 * chartab.c (Vchar_db_stingy_mode): New variable.
369 (load_char_attribute_maybe): Close database if
370 Vchar_db_stingy_mode is not NIL.
371 (Fload_char_attribute_table_map_function): Use
372 `get_char_id_table_0' instead of `get_char_id_table'.
373 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
375 * chartab.h (get_char_id_table_0): New inline function.
376 (get_char_id_table): Use `get_char_id_table_0'.
378 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
380 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
381 and `COMPOSE_ADD_CHAR'.
382 (decode_coding_iso2022): Use `decode_flush_er_chars'.
384 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
386 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
387 instead of `DECODE_ADD_UCS_CHAR'.
388 (COMPOSE_ADD_CHAR): Likewise.
390 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
392 * text-coding.c (decode_flush_er_chars): New inline function.
393 (decode_add_er_char): New function.
394 (decode_coding_utf8): Use `decode_flush_er_chars' and
395 `decode_add_er_char'.
397 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
399 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
400 done before `decode_output_utf8_partial_char'.
402 * mule-charset.c (complex_vars_of_mule_charset): Specify
403 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
404 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
406 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
408 * mule-charset.c (decode_defined_char): New function; search
410 (decode_builtin_char): Don't search mother if
411 XCHARSET_MAX_CODE(charset) == 0.
412 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
413 == 0 even if code >= XCHARSET_MAX_CODE(charset).
414 (Fdecode_char): Use `decode_defined_char' instead of
415 `DECODE_DEFINED_CHAR'.
416 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
417 mother of `Vcharset_ucs_jis'.
419 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
420 instead of `DECODE_DEFINED_CHAR'.
422 * char-ucs.h (decode_defined_char): Renamed from
423 `DECODE_DEFINED_CHAR'; changed to normal function.
424 (DECODE_CHAR): Use `decode_defined_char' instead of
425 `DECODE_DEFINED_CHAR'.
427 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
429 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
431 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
433 * text-coding.c (Vcoded_charset_entity_reference_alist): New
435 (Quse_entity_reference): New variable.
439 (coding_system_description): Add description for
441 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
442 (allocate_coding_system): Initialize `ccs_priority_list' in
444 (Fmake_coding_system): Add description about
445 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
447 (Fcoding_system_property): Accept `disable-composition' and
448 `use-entity-reference' in UTF-2000.
449 (struct decoding_stream): Add new member `er_counter' and `er_buf'
451 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
452 (decode_coding_utf8): Decode entity-reference if
453 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
454 (char_encode_utf8): Encode non-Unicode characters as
455 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
457 (syms_of_file_coding): Add new symbols `use-entity-reference',
459 (vars_of_file_coding): Add new variable
460 `coded-charset-entity-reference-alist'.
461 (complex_vars_of_file_coding): Declare `disable-composition' and
462 `use-entity-reference' to be coding-system-properties in UTF-2000.
464 * file-coding.h (struct Lisp_Coding_System): Add new member
465 `use_entity_reference' and `ccs_priority_list'.
466 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
467 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
468 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
470 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
472 * chartab.c (save_uint8_byte_table): Don't clear the table.
473 (save_uint16_byte_table): Likewise.
474 (save_byte_table): Likewise.
475 (Fmount_char_attribute_table): New function.
476 (syms_of_chartab): Add new builtin function
477 `mount-char-attribute-table'.
479 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
481 * mule-charset.c (Fsave_charset_mapping_table): Open database as
483 (load_char_decoding_entry_maybe): Open database as read-only mode.
485 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
486 open database as "w+" mode.
487 (load_char_attribute_maybe): Open database as read-only mode.
488 (Fload_char_attribute_table): Likewise.
490 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
492 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
493 (char_table_description): Delete member `db_file'.
494 (Fmake_char_table): Don't refer `ct->db_file'.
495 (Fcopy_char_table): Likewise.
496 (Fsave_char_attribute_table): Likewise.
497 (Fclose_char_attribute_table): Likewise.
498 (Freset_char_attribute_table): Likewise.
499 (load_char_attribute_maybe): Likewise.
500 (Fload_char_attribute_table): Likewise.
502 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
504 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
506 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
507 (Fsave_char_attribute_table): Don't check `ct->db_file' if
509 (load_char_attribute_maybe): Likewise.
510 (Fload_char_attribute_table): Likewise.
512 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
514 * chartab.c (Fclose_char_attribute_table): Set Qnil on
515 `ct->db_file' unconditionally.
517 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
519 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
521 (char_table_description): Add description for `db_file' and `db'
523 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
525 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
526 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
527 (Fclose_char_attribute_table): New function.
528 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
529 (load_char_attribute_maybe): Change interface; use `cit->db_file'
531 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
532 (syms_of_chartab): Add new builtin function
533 `Fclose_char_attribute_table'.
535 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
537 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
539 (load_char_attribute_maybe): Change interface.
540 (get_char_id_table): Modify for `load_char_attribute_maybe'.
542 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
544 * database.h: Add an EXFUN for `Fdatabase_live_p'.
546 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
548 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
549 instead of `DECODE_CHAR' for mother; don't use special code for
550 chinese-big5 to use code space of chinese-big5-1 and
552 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
553 `MAX_CHAR_BIG5_CDP' for chinese-big5.
555 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
556 (MAX_CHAR_BIG5_CDP): Revival.
558 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
560 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
561 the XLFD registry-encoding name of `chinese-big5'.
563 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
565 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
566 (Qchinese_big5_cdp): Deleted.
567 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
568 (complex_vars_of_mule_charset): Delete coded-charset
571 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
572 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
573 `CHARSET_ID_OFFSET - n' for private CCS.
574 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
575 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
576 of `MIN_LEADING_BYTE'.
577 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
578 `(CHARSET_ID_OFFSET - 97)'.
579 (MIN_CHAR_BIG5_CDP): Deleted.
580 (MAX_CHAR_BIG5_CDP): Deleted.
582 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
584 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
586 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
588 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
589 (vars_of_mule): Add new variable `utf-2000-version' [moved from
592 * chartab.c (Vutf_2000_version): Moved to mule.c.
593 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
595 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
597 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
598 when HAVE_CHISE_CLIENT is not defined.
600 * mule.c (vars_of_mule): Provide feature `chise' when
601 HAVE_CHISE_CLIENT is defined.
603 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
605 * config.h.in (UTF2000): Add comment.
606 (HAVE_CHISE_CLIENT): New macro.
608 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
610 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
612 (Fput_char_attribute): Likewise.
613 (char_attribute_system_db_file): Encode file-name of attribute.
614 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
617 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
619 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
620 (Fsave_charset_mapping_table): Use
621 `char_attribute_system_db_file'.
622 (load_char_decoding_entry_maybe): Likewise.
624 * chartab.h (Qsystem_char_id): New external variable.
625 (char_attribute_system_db_file): New prototype.
627 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
628 (char_attribute_system_db_file): New function.
629 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
630 (Freset_char_attribute_table): Likewise.
631 (load_char_attribute_maybe): Likewise.
632 (Fload_char_attribute_table): Likewise.
633 (syms_of_chartab): Add new symbol `system-char-id'.
635 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
637 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
638 `XCHARSET_GRAPHIC(ccs)'.
640 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
642 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
644 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
646 * chartab.c (Q_ucs_variants): New variable.
647 (syms_of_chartab): Add new symbol `->ucs-variants'.
648 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
649 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
650 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
652 * mule-charset.c (load_char_decoding_entry_maybe): New function.
654 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
655 `HAVE_DATABASE' is defined.
656 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
657 `HAVE_DATABASE' is defined.
659 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
661 * chartab.c (Fsave_char_attribute_table): Don't clear internal
663 (Freset_char_attribute_table): New function.
664 (syms_of_chartab): Add new builtin function
665 `reset-char-attribute-table'.
667 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
669 * chartab.c (load_char_attribute_maybe): Don't make directories.
671 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
673 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
675 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
678 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
680 * mule-charset.c (Fsave_charset_mapping_table): Use
681 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
683 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
684 instead of `XCHARSET_CHARS'.
686 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
688 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
689 (XCHARSET_BYTE_SIZE): Likewise.
691 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
693 (XCHARSET_BYTE_SIZE): Likewise.
695 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
697 * chartab.c (Fput_char_attribute): Use exec-directory instead of
698 data-directory to store database.
699 (Fsave_char_attribute_table): Likewise.
700 (load_char_attribute_maybe): Likewise.
701 (Fload_char_attribute_table): Likewise.
703 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
705 * mule-charset.c (Fsave_charset_mapping_table): New function.
706 (syms_of_mule_charset): Add new builtin function
707 `save-charset-mapping-table'.
709 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
711 * char-ucs.h (decoding_table_check_elements): Delete prototype.
712 (get_ccs_octet_table): New inline function.
713 (put_ccs_octet_table): Likewise.
714 (decoding_table_put_char): Use `get_ccs_octet_table' and
715 `put_ccs_octet_table'.
716 (decoding_table_remove_char): Use `decoding_table_put_char'.
717 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
719 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
721 (make_charset): Use Qunbound instead Qnil as initial value of
724 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
726 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
727 element is Qunloaded.
728 (map_over_uint16_byte_table): Likewise.
729 (map_over_byte_table): Likewise.
730 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
731 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
732 database support, load encoding-table of the specified
733 coded-charset if it is not loaded yet.
734 (save_uint8_byte_table): New function of UTF-2000 with external
736 (save_uint16_byte_table): Likewise.
737 (save_byte_table): Likewise.
738 (Fput_char_attribute): Don't store value into external database
739 even if the external database feature is supported in UTF-2000;
740 set `attribute' as name of char-table if the external database
741 feature is supported.
742 (Fsave_char_attribute_table): New function in UTF-2000.
743 (syms_of_chartab): Add new builtin function
744 `save-char-attribute-table' in UTF-2000.
746 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
748 * chartab.c (char_attribute_table_to_put): New variable in
750 (Qput_char_table_map_function): Likewise.
751 (value_to_put): Likewise.
752 (Fput_char_table_map_function): New function in UTF-2000.
753 (put_char_table): Use `Fmap_char_attribute' for
754 CHARTAB_RANGE_CHARSET in UTF-2000.
755 (Fput_char_attribute): Store symbol instead of string in
756 `XCHAR_TABLE_NAME (table)'.
757 (load_char_attribute_maybe): Likewise.
758 (syms_of_chartab): Add new symbol/function
759 `put-char-table-map-function'.
761 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
763 * database.h: Add new EXFUN for `Fmap_database'.
765 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
766 (syms_of_database): Likewise.
768 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
770 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
771 (XCHAR_TABLE_UNLOADED): Likewise.
773 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
774 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
775 HAVE_DATABASE is defined.
776 (char_attribute_table_to_load): New variable of UTF-2000 with
777 external database support.
778 (Qload_char_attribute_table_map_function): Likewise.
779 (Fload_char_attribute_table_map_function): New function of
780 UTF-2000 with external database support.
781 (Fload_char_attribute_table): New function of UTF-2000.
782 (Fmap_char_attribute): Call Fload_char_attribute_table if
783 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
784 (syms_of_chartab): Add new symbol and function
785 `load-char-attribute-table-map-function' in UTF-2000 with external
786 database support; add new function `load-char-attribute-table' in
789 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
791 * chartab.h (load_char_attribute_maybe): New prototype for
792 UTF-2000 with DATABASE support.
793 (get_char_id_table): Use `load_char_attribute_maybe' if
794 HAVE_DATABASE is defined.
796 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
797 with DATABASE support.
799 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
801 * chartab.c (Fput_char_attribute): Use S-expression as key of
804 * chartab.h (get_char_id_table): Use S-expression as key of
807 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
809 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
810 if an element is not loaded, load the corresponding attributes
811 from an external database.
812 (map_over_uint16_byte_table): Likewise.
813 (map_over_byte_table): Likewise.
814 (map_char_table): Modify for `map_over_uint8_byte_table',
815 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
816 element is not loaded, load the corresponding attributes from an
818 (Fput_char_attribute): Change initial values to Qunloaded.
820 * chartab.h (get_char_id_table): If a character attribute is not
821 loaded and the attribute value is not found in an external
822 database, store Qunbound as the attribute value.
824 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
826 * chartab.c (BT_UINT8_unloaded): New macro.
827 (UINT8_VALUE_P): Accept Qunloaded.
828 (UINT8_ENCODE): Likewise.
829 (UINT8_DECODE): Likewise.
830 (BT_UINT16_unloaded): New macro.
831 (UINT16_VALUE_P): Accept Qunloaded.
832 (UINT16_ENCODE): Likewise.
833 (UINT16_DECODE): Likewise.
834 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
836 (mark_char_table): Mark `ct->name' in UTF-2000.
837 (char_table_description): Add `name' in UTF-2000.
838 (Fmake_char_table): Initialize `ct->name'.
839 (Fcopy_char_table): Copy `ct->name'.
840 (Fput_char_attribute): Store value into an external database if
841 HAVE_DATABASE is defined.
843 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
845 (CHAR_TABLE_NAME): New macro in UTF-2000.
846 (XCHAR_TABLE_NAME): New macro in UTF-2000.
847 (get_char_id_table): Try to read an external database if Qunloaded
848 is stored in a table.
850 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
853 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
855 * database.h: Add EXFUN definitions for Fopen_database,
856 Fput_database, Fget_database and Fclose_database.
858 * data.c (Qunloaded): New variable in UTF-2000.
860 * lisp.h (Qunloaded): New variable in UTF-2000.
862 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
864 * mule-charset.c (put_char_ccs_code_point): Modify for
865 `decoding_table_remove_char' and `decoding_table_put_char'.
866 (remove_char_ccs): Modify for `decoding_table_remove_char'.
868 * char-ucs.h (decoding_table_remove_char): Change arguments to
869 hide decoding_table vector.
870 (decoding_table_put_char): Likewise.
872 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
874 * mule-charset.c (decoding_table_remove_char): Moved to
876 (decoding_table_put_char): Likewise.
878 * char-ucs.h (decoding_table_check_elements): New prototype [moved
879 from mule-charset.c].
880 (decoding_table_remove_char): New inline function [moved from
882 (decoding_table_put_char): Likewise.
884 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
886 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
889 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
891 * mule-charset.c (decode_builtin_char): Support mother charsets.
893 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
895 * mule-charset.c (Q94x94x60): New variable.
896 (charset_code_point): Support conversion `94x94x60'.
897 (Fmake_charset): Likewise.
898 (syms_of_mule_charset): Add new symbol `94x94x60'.
900 * char-ucs.h (CONVERSION_94x94x60): New macro.
902 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
904 * mule-charset.c (charset_code_point): Unify code about
907 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
909 * mule-charset.c (charset_code_point): Merge code about builtin
910 characters into code about mother charsets; don't use
911 `range_charset_code_point'.
912 (range_charset_code_point): Deleted.
914 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
916 * mule-charset.c (Qcode_offset): New variable.
917 (Fmake_charset): Use `XUINT' to get value of `min-code' and
918 `max-code'; accept new property `code-offset'.
919 (syms_of_mule_charset): Add new symbol `code-offset'.
921 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
923 * mule-charset.c (range_charset_code_point): Fixed.
925 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
927 * mule-charset.c (decode_builtin_char): Change semantics of
928 code-offset of coded-charset.
929 (charset_code_point): Likewise.
930 (range_charset_code_point): Likewise.
931 (complex_vars_of_mule_charset): Modify for the change.
933 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
935 * mule-charset.c (Fencode_char): Reverse arguments.
937 * mule-charset.c (charset_code_point): Fixed.
939 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
941 * mule-charset.c (Vcharset_mojikyo): Deleted.
942 (Vcharset_mojikyo_2022_1): Deleted.
943 (Vcharset_mojikyo_pj_{1..21}): Deleted.
944 (Qmin_code): New variable in UTF-2000.
945 (Qmax_code): Likewise.
947 (Qconversion): Likewise.
950 (Qmojikyo_2022_1): Deleted.
951 (Qmojikyo_pj_{1..22}): Deleted.
952 (mark_charset): Mark `cs->mother'.
953 (charset_description): Add description for `mother'.
954 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
955 new arguments `mother' and `conversion'; use
956 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
957 (charset_code_point): Moved from char-ucs.h; support `mother'
959 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
960 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
961 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
962 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
963 allow 2 as the value of `graphic' in UTF-2000; add new properties
964 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
965 require `final' in UTF-2000; modify for `make_charset'.
966 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
967 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
968 (Fcharset_property): Support `mother', `min-code' and `max-code'.
969 (Fencode_char): New function.
970 (syms_of_mule_charset): Add new builtin function `encode-char' in
971 UTF-2000; add new symbols `min-code', `max-code', `mother',
972 `conversion' and `94x60'; delete symbols `mojikyo',
973 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
974 (complex_vars_of_mule_charset): Modify for `make_charset' change;
975 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
976 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
978 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
979 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
981 * char-ucs.h (Vcharset_mojikyo): Deleted.
982 (Vcharset_mojikyo_2022_1): Deleted.
983 (LEADING_BYTE_MOJIKYO): Deleted.
984 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
985 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
986 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
987 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
988 add new member `mother'; add new member `conversion'.
989 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
990 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
991 (CHARSET_MOTHER): New macro.
992 (CHARSET_CONVERSION): New macro.
993 (CONVERSION_IDENTICAL): New macro.
994 (CONVERSION_94x60): New macro.
995 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
996 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
997 (XCHARSET_MOTHER): New macro.
998 (XCHARSET_CONVERSION): New macro.
999 (MIN_CHAR_MOJIKYO): Deleted.
1000 (MAX_CHAR_MOJIKYO): Deleted.
1001 (DECODE_MOJIKYO_2022): Deleted.
1002 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1003 (charset_code_point): Changed to non-inline function.
1004 (encode_char_1): Use `charset_code_point'.
1005 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1007 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1009 * lread.c (read_compiled_function): Fix prototype.
1010 (read_vector): Likewise.
1012 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1014 * lrecord.h (struct lrecord_header): Delete `older'.
1015 (set_lheader_implementation): Delete code for `older'.
1016 (set_lheader_older_implementation): Deleted.
1017 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1018 (OLDER_RECORD_P): Deleted.
1019 (OLDER_RECORD_HEADER_P): Deleted.
1020 (alloc_older_lcrecord): Deleted.
1021 (alloc_older_lcrecord_type): Deleted.
1023 * alloc.c (all_older_lcrecords): Deleted.
1024 (alloc_older_lcrecord): Deleted.
1025 (disksave_object_finalization_1): Delete code for older objects.
1026 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1027 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1029 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1031 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1032 instead of `make_older_vector'.
1033 (put_char_ccs_code_point): Likewise.
1034 (mark_charset): Mark `cs->decoding_table'.
1035 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1037 * lisp.h (make_older_vector): Deleted.
1038 (make_vector_newer): Deleted.
1040 * config.h.in (HAVE_GGC): Deleted.
1042 * alloc.c (make_older_vector): Deleted.
1043 (make_vector_newer_1): Deleted.
1044 (make_vector_newer): Deleted.
1046 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1048 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1049 (Qideograph_daikanwa_2): New variable.
1050 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1051 (complex_vars_of_mule_charset): Add new coded-charset
1052 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1053 `LEADING_BYTE_DAIKANWA'.
1055 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1056 (LEADING_BYTE_DAIKANWA_1): New macro.
1057 (LEADING_BYTE_DAIKANWA_2): New macro.
1058 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1060 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1062 * mule-charset.c (complex_vars_of_mule_charset): Change
1063 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1064 the second revised version.
1066 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1068 * mule-charset.c (Vcharset_ucs_smp): New variable.
1069 (Vcharset_ucs_sip): New variable.
1070 (Qucs_smp): New variable.
1071 (Qucs_sip): New variable.
1072 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1073 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1074 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1075 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1076 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1077 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1079 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1080 (LEADING_BYTE_UCS_SIP): New macro.
1081 (MIN_CHAR_SMP): New macro.
1082 (MAX_CHAR_SMP): New macro.
1083 (MIN_CHAR_SIP): New macro.
1084 (MAX_CHAR_SIP): New macro.
1086 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1088 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1091 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1093 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1094 value; don't store value into `encoding_table' of `Lisp_Charset'.
1095 (mark_charset): `encoding_table' was deleted.
1096 (charset_description): Likewise.
1097 (make_charset): Likewise.
1098 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1099 `put_char_ccs_code_point'.
1101 * chartab.h (Fput_char_attribute): New EXFUN.
1103 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1104 is unified with normal symbol space.
1105 (Fget_char_attribute): Likewise.
1106 (Fput_char_attribute): Likewise; behavior of
1107 `put_char_ccs_code_point' is changed.
1109 * char-ucs.h: Include "elhash.h".
1110 (Vchar_attribute_hash_table): New external variable.
1111 (struct Lisp_Charset): Delete `encoding_table'.
1112 (CHARSET_ENCODING_TABLE): New implementation; refer
1113 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1116 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1118 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1121 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1123 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1126 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1128 * chartab.c (uint8_byte_table_description): New constant.
1129 (uint8-byte-table): Use `uint8_byte_table_description'.
1130 (uint16_byte_table_description): New constant.
1131 (uint16-byte-table): Use `uint16_byte_table_description'.
1133 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1135 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1136 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1138 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1140 * mule-charset.c (Vcharset_ucs_ks): New variable.
1141 (Qucs_ks): New variable.
1142 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1143 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1145 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1147 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1149 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1150 (Fdecode_char): Likewise.
1152 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1154 (Fdefine_char): Modify for Fdecode_char.
1155 (Ffind_char): Likewise.
1157 * mule-charset.c (Fdecode_char): Add new optional argument
1159 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1161 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1163 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1164 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1165 (allocate_coding_system): Initialize initial-charsets of
1166 CODESYS_BIG5 in XEmacs UTF-2000.
1167 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1168 CODESYS_BIG5 in XEmacs UTF-2000.
1169 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1170 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1172 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
1174 (Qideograph_hanziku_{1 .. 12}): Likewise.
1175 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
1177 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
1178 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
1179 `ideograph-hanziku-{1 .. 12}'.
1181 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
1182 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
1183 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
1184 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
1185 (DECODE_DEFINED_CHAR): New inline function.
1186 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
1188 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1190 * mule-charset.c (Vcharset_china3_jef): Renamed from
1191 `Vcharset_japanese_jef_china3'.
1192 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
1193 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
1194 `{MIN|MAX}_CHAR_JEF_CHINA3'..
1195 (syms_of_mule_charset): Rename `china3-jef' from
1196 `japanese-jef-china3'.
1197 (complex_vars_of_mule_charset): Likewise; rename
1198 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
1200 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
1201 `LEADING_BYTE_JEF_CHINA3'.
1202 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
1203 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
1205 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1207 * mule-charset.c (encode_builtin_char_1): Comment out special code
1208 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1210 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1211 (MAX_CHAR_MOJIKYO_0): Comment out.
1212 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1213 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1214 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1215 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1217 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1219 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1220 (Qideograph_cbeta): New variable.
1221 (encode_builtin_char_1): Comment out special code for
1222 coded-charset `mojikyo' and `japanese-jef-china3'.
1223 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1224 (complex_vars_of_mule_charset): Add new coded-charset
1227 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1228 (MIN_CHAR_CBETA): New macro.
1229 (MAX_CHAR_CBETA): New macro.
1231 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1233 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1234 (LEADING_BYTE_JEF_CHINA3): New macro.
1235 (MIN_CHAR_JEF_CHINA3): New macro.
1236 (MAX_CHAR_JEF_CHINA3): Likewise.
1237 (DECODE_CHAR): Fixed.
1239 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1241 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1242 (Qjapanese_jef_china3): New variable.
1243 (encode_builtin_char_1): Support `japanese-jef-china3'.
1244 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1245 (complex_vars_of_mule_charset): Add new coded-charset
1246 `japanese-jef-china3'.
1248 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1250 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1251 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1252 94^4, 96^3, 96^4, 128^n and 256^n set.
1253 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1254 (map_char_table): Likewise.
1256 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1258 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1261 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1263 * chartab.h (get_char_id_table): New inline function.
1265 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1268 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1270 * chartab.h (decode_char_table_range): New prototype in XEmacs
1272 (put_char_id_table): New inline function in XEmacs UTF-2000.
1274 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1276 (decode_char_table_range): Delete static declaration in XEmacs
1279 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1281 * chartab.c (put_char_id_table): Use `put_char_table'.
1283 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1285 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1286 (map_over_uint16_byte_table): Likewise.
1287 (map_over_byte_table): Likewise.
1288 (map_char_table): Modify for `map_over_uint8_byte_table',
1289 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1292 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1294 * chartab.c (struct map_char_table_for_charset_arg): New
1296 (map_char_table_for_charset_fun): New function.
1297 (map_char_table): Use `map_char_table' for encoding_table of
1300 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1302 * chartab.c (map_char_table): Check a character is found in
1303 range->charset instead of non default value is defined in
1304 char-table when range is CHARTAB_RANGE_ROW.
1306 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1308 * chartab.c (map_char_id_table): Deleted.
1309 (Fmap_char_attribute): Use `map_char_table' instead of
1310 `map_char_id_table'.
1312 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1314 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1316 (update_syntax_table): Deleted in XEmacs UTF-2000.
1318 * syntax.c (find_defun_start): Use `syntax_table' instead of
1319 `mirror_syntax_table' in XEmacs UTF-2000.
1320 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1322 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1324 (Fmatching_paren): Likewise.
1325 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1327 (find_start_of_comment): Likewise.
1328 (find_end_of_comment): Likewise.
1329 (Fforward_comment): Likewise.
1330 (scan_lists): Likewise.
1331 (char_quoted): Likewise.
1332 (Fbackward_prefix_chars): Likewise.
1333 (scan_sexps_forward): Likewise.
1334 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1335 (update_syntax_table): Likewise.
1337 * search.c (skip_chars): Use `syntax_table' instead of
1338 `mirror_syntax_table' in XEmacs UTF-2000.
1339 (wordify): Likewise.
1340 (Freplace_match): Likewise.
1342 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1343 `mirror_syntax_table' in XEmacs UTF-2000.
1344 (WORDCHAR_P_UNSAFE): Likewise.
1345 (re_match_2_internal): Likewise.
1347 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1348 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1350 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1351 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1353 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1356 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1358 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1359 (char_table_description): Delete `mirror_table' in XEmacs
1361 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1363 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1364 (Fcopy_char_table): Likewise.
1365 (put_char_table): Don't call `update_syntax_table' in XEmacs
1368 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1369 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1370 (casify_region_internal): Likewise.
1372 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1374 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1375 `mirror_syntax_table' in XEmacs UTF-2000.
1377 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1378 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1379 (Fexpand_abbrev): Likewise.
1381 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1383 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1385 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1387 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1388 (map_over_uint16_byte_table): Likewise.
1389 (map_over_byte_table): Likewise.
1390 (get_char_id_table): Refer `cit->default_value'.
1391 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1392 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1393 of character-id ranges.
1394 (mark_char_table): Mark `ct->default_value'.
1395 (char_table_description): Add `default_value'.
1396 (fill_char_table): Use `default_value'.
1397 (decode_char_table_range): Decode `nil' as
1398 `CHARTAB_RANGE_DEFAULT'.
1399 (get_char_id_table): Refer `cit->default_value'.
1400 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1401 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1402 temporary hack; check value of char-table is bound or not.
1403 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1405 * chartab.h (struct Lisp_Char_Table): Add new member
1406 `default_value' in XEmacs UTF-2000.
1407 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1408 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1411 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1413 * chartab.h (Lisp_Char_ID_Table): Deleted.
1415 * chartab.c (char_table_description): Fix typo.
1416 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1417 `Lisp_Char_ID_Table'.
1419 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1421 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1424 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1427 * chartab.h (XCHAR_ID_TABLE): Deleted.
1428 (XSETCHAR_ID_TABLE): Deleted.
1429 (CHAR_ID_TABLE_P): Deleted.
1431 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1433 (Fget_composite_char): Likewise.
1434 (put_char_table): Likewise.
1435 (add_char_attribute_alist_mapper): Fixed.
1436 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1438 (Fget_char_attribute): Likewise.
1439 (Fget_char_attribute): Likewise.
1440 (Fmap_char_attribute): Likewise.
1442 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1444 (encode_char_1): Likewise.
1446 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1448 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1451 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1452 instead of `XCHAR_ID_TABLE'.
1453 (remove_char_ccs): Likewise.
1455 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1457 (Fget_composite_char): Likewise.
1458 (Fchar_variants): Likewise.
1459 (put_char_table): Likewise.
1460 (add_char_attribute_alist_mapper): Likewise.
1461 (Fchar_attribute_alist): Likewise.
1462 (Fget_char_attribute): Likewise.
1463 (Fput_char_attribute): Likewise.
1464 (Fmap_char_attribute): Likewise.
1465 (Fmap_char_attribute): Likewise.
1467 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1469 (encode_char_1): Likewise.
1471 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1473 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1474 `Lisp_Char_ID_Table'.
1475 (mark_char_id_table): Deleted.
1476 (print_char_id_table): Likewise.
1477 (char_id_table_equal): Likewise.
1478 (char_id_table_hash): Likewise.
1479 (char_id_table_description): Likewise.
1480 (char_id_table): Likewise.
1481 (make_char_id_table): Use `Fmake_char_table' and
1483 (get_char_id_table): Use `Lisp_Char_Table' instead of
1484 `Lisp_Char_ID_Table'.
1485 (put_char_id_table): Likewise.
1486 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1488 (Fremove_char_attribute): Likewise.
1489 (syms_of_chartab): Don't define type `char-id-table'.
1491 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1492 (char_id_table): Likewise.
1493 (GC_CHAR_ID_TABLE_P): Likewise.
1494 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1495 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1496 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1497 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1498 (get_char_id_table): Use `Lisp_Char_Table' instead of
1499 `Lisp_Char_ID_Table'.
1500 (put_char_id_table_0): Likewise.
1501 (put_char_id_table): Likewise.
1503 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1505 * chartab.h: Lisp_Byte_Table related codes are moved from
1508 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1510 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1512 * chartab.h: Don't include "chartab.h".
1513 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1514 (Lisp_Char_ID_Table): Likewise.
1515 (char_id_table): Likewise.
1516 (XCHAR_ID_TABLE): Likewise.
1517 (XSETCHAR_ID_TABLE): Likewise.
1518 (CHAR_ID_TABLE_P): Likewise.
1519 (GC_CHAR_ID_TABLE_P): Likewise.
1520 (get_char_id_table): Likewise.
1522 * char-ucs.h: Include "chartab.h".
1523 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1524 (Lisp_Char_ID_Table): Likewise.
1525 (char_id_table): Likewise.
1526 (XCHAR_ID_TABLE): Likewise.
1527 (XSETCHAR_ID_TABLE): Likewise.
1528 (CHAR_ID_TABLE_P): Likewise.
1529 (GC_CHAR_ID_TABLE_P): Likewise.
1530 (get_char_id_table): Likewise.
1532 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1534 * chartab.c (copy_uint8_byte_table): New function.
1535 (copy_uint16_byte_table): New function.
1536 (copy_byte_table): New function.
1537 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1539 (map_over_uint16_byte_table): Likewise.
1540 (map_over_byte_table): Likewise.
1541 (get_byte_table): Move prototype to chartab.h.
1542 (put_byte_table): Likewise.
1543 (put_char_id_table_0): Moved to chartab.h.
1544 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1545 (char_table_entry_equal): Likewise.
1546 (char_table_entry_hash): Likewise.
1547 (char_table_entry_description): Likewise.
1548 (char_table_entry): Likewise.
1549 (make_char_table_entry): Likewise.
1550 (copy_char_table_entry): Likewise.
1551 (get_non_ascii_char_table_value): Likewise.
1552 (map_over_charset_ascii): Likewise.
1553 (map_over_charset_control_1): Likewise.
1554 (map_over_charset_row): Likewise.
1555 (map_over_other_charset): Likewise.
1556 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1557 (print_char_table): Likewise.
1558 (char_table_equal): Likewise.
1559 (char_table_hash): Likewise.
1560 (char_table_description): Likewise.
1561 (fill_char_table): Likewise.
1562 (Fcopy_char_table): Likewise.
1563 (get_char_table): Likewise.
1564 (Fget_range_char_table): Likewise.
1565 (put_char_table): Likewise.
1566 (map_char_table): Likewise.
1567 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1570 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1572 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1573 `Vauto_fill_chars' in XEmacs UTF-2000.
1575 * chartab.h (get_byte_table): New prototype [moved from
1577 (put_byte_table): Likewise [moved from chartab.c].
1578 (put_char_id_table_0): New inline function [moved from chartab.c].
1579 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1580 (Lisp_Char_Table_Entry): Likewise.
1581 (char_table_entry): Likewise.
1582 (XCHAR_TABLE_ENTRY): Likewise.
1583 (XSETCHAR_TABLE_ENTRY): Likewise.
1584 (CHAR_TABLE_ENTRYP): Likewise.
1585 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1586 (NUM_ASCII_CHARS): Likewise.
1587 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1588 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1590 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1592 * chartab.c (get_char_id_table): Change interface.
1593 (put_char_id_table_0): New function.
1594 (put_char_id_table): Change interface; new implementation.
1595 (Fget_composite_char): Modify for interface change of
1596 `get_char_id_table'.
1597 (Fchar_variants): Likewise.
1598 (add_char_attribute_alist_mapper): Likewise.
1599 (Fchar_attribute_alist): Likewise.
1600 (Fget_char_attribute): Likewise.
1601 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1602 as same as character as the first argument like `put-char-table';
1603 modify for interface change of `put_char_id_table'.
1604 (Fremove_char_attribute): Modify for interface change of
1605 `put_char_id_table'.
1607 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1609 * text-coding.c: Sync up with XEmacs 21.2.41.
1610 (COMPOSE_ADD_CHAR): Modify for interface change of
1611 `get_char_id_table'.
1613 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1614 change of `put_char_id_table'.
1615 (remove_char_ccs): Likewise.
1617 * chartab.h (put_char_id_table): Change interface.
1619 * char-ucs.h (get_char_id_table): Change interface.
1620 (charset_code_point): Modify for interface change of
1621 `get_char_id_table'.
1622 (encode_char_1): Likewise.
1624 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1626 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
1628 (map_over_uint16_byte_table): Likewise.
1629 (map_over_byte_table): Likewise.
1630 (map_char_id_table): Add new argument `range' like
1632 (Fmap_char_attribute): Add new argument `range' like
1635 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1637 * chartab.c (map_over_uint8_byte_table): Change interface of
1638 mapping function to use struct chartab_range instead of Emchar.
1639 (map_over_uint16_byte_table): Likewise.
1640 (map_over_byte_table): Likewise.
1641 (map_char_id_table): Likewise.
1642 (struct slow_map_char_id_table_arg): Deleted.
1643 (slow_map_char_id_table_fun): Deleted.
1644 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
1645 function `slow_map_char_table_fun' instead of struct
1646 `slow_map_char_id_table_arg' and function
1647 `slow_map_char_id_table_fun'.
1649 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1651 * mule-charset.c: Move char-it-table related codes to chartab.c.
1652 (Vutf_2000_version): Moved to chartab.c.
1653 (Fdefine_char): Likewise.
1654 (Ffind_char): Likewise.
1655 (syms_of_mule_charset): Move types `uint8-byte-table',
1656 `uint16-byte-table', `byte-table' and `char-id-table' to
1657 chartab.c; move functions `char_attribute_list,
1658 `find_char_attribute_table, `char_attribute_alist,
1659 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
1660 `map_char_attribute, `define_char, `find_char, `char_variants and
1661 `get_composite_char to chartab.c; move symbols `=>ucs',
1662 `->decomposition', `compat', `isolated', `initial', `medial',
1663 `final', `vertical', `noBreak', `fraction', `super', `sub',
1664 `circle', `square', `wide', `narrow', `small' and `font' to
1666 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
1667 setting codes for `Vcharacter_composition_table' and
1668 `Vcharacter_variant_table' to chartab.c.
1669 (complex_vars_of_mule_charset): Move setting code for
1670 `Vchar_attribute_hash_table' to chartab.c.
1672 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
1673 (make_char_id_table): New prototype.
1674 (put_char_id_table): Likewise.
1675 (Fget_char_attribute): Likewise.
1677 * chartab.c: Move char-id-table related code from mule-charset.c.
1678 (Vutf_2000_version): Moved from mule-charset.c.
1680 * char-ucs.h (Qucs): New external variable.
1681 (put_char_ccs_code_point): New prototype.
1682 (remove_char_ccs): Likewise.
1684 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1686 * mule-charset.c (Vcharset_ucs_jis): New variable.
1687 (Qucs_jis): Likewise.
1688 (syms_of_mule_charset): Add new symbol `ucs-jis'.
1689 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
1691 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
1693 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1695 * mule-charset.c (map_over_uint8_byte_table): New function.
1696 (map_over_uint16_byte_table): Likewise.
1697 (map_over_byte_table): Likewise.
1698 (map_char_id_table): Likewise.
1699 (slow_map_char_id_table_fun): Likewise.
1700 (Fmap_char_attribute): Likewise.
1701 (syms_of_mule_charset): Add new function `map-char-attribute'.
1703 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1705 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
1706 (syms_of_mule_charset): Add new function `find-char'.
1708 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1710 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
1712 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
1713 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
1715 (complex_vars_of_mule_charset): Add new coded-charset
1716 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
1717 `ideograph-gt-pj-*'.
1719 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
1721 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1723 * mule-charset.c (encode_builtin_char_1): Purge codes about
1724 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
1725 {MIN|MAX}_CHAR_HEBREW.
1726 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
1727 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
1729 * char-ucs.h (MIN_CHAR_GREEK): Purged.
1730 (MAX_CHAR_GREEK): Purged.
1731 (MIN_CHAR_CYRILLIC): Purged.
1732 (MAX_CHAR_CYRILLIC): Purged.
1733 (MIN_CHAR_HEBREW): Commented out.
1734 (MAX_CHAR_HEBREW): Likewise.
1736 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1738 * mule-charset.c (Qto_ucs): New variable.
1739 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
1740 (Fdefine_char): Likewise.
1741 (syms_of_mule_charset): Add new symbol `=>ucs'.
1743 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1745 * mule-charset.c (Fdecode_char): Fixed.
1747 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1749 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
1750 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
1753 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1755 * mule-charset.c (Vcharset_ucs_big5): New variable.
1756 (Qucs_big5): Likewise.
1757 (syms_of_mule_charset): Add new symbol `ucs-big5'.
1758 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
1760 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
1762 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1764 * mule-charset.c (decode_builtin_char): Check Big5 code range
1765 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
1767 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1769 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
1770 (Qchinese_gb12345): Likewise.
1771 (Fdecode_builtin_char): Fixed.
1772 (syms_of_mule_charset): Add `chinese-gb12345'.
1773 (complex_vars_of_mule_charset): Add coded-charset
1776 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
1777 (LEADING_BYTE_CHINESE_GB12345): New macro.
1779 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1781 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
1782 and `latin-viscii-upper' for `latin-viscii'.
1784 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1786 * mule-charset.c (Fdecode_builtin_char): Comment out
1787 regularization code for ISO-IR GR representation.
1789 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1791 * mule-charset.c (decode_builtin_char): New function; renamed from
1792 `make_builtin_char'; return -1 instead of signal.
1793 (Fdecode_builtin_char): Use `decode_builtin_char'.
1795 * char-ucs.h (decode_builtin_char): New prototype; renamed from
1796 `make_builtin_char'.
1797 (DECODE_CHAR): Use `decode_builtin_char' instead of
1798 `make_builtin_char'; use mapping table of `chinese-big5' for
1799 `chinese-big5-{1,2}'.
1801 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1803 * text-coding.c (char_encode_big5): New function.
1804 (char_finish_big5): Likewise.
1805 (reset_encoding_stream): Use `char_encode_big5' and
1806 `char_finish_big5' for CODESYS_BIG5.
1807 (mule_encode): Don't use `encode_coding_big5'.
1808 (encode_coding_big5): Deleted.
1810 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1812 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
1813 0x81- in XEmacs UTF-2000.
1814 (detect_coding_big5): Likewise.
1816 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1818 * mule-charset.c (Fdefine_char): Don't use a CCS property to
1819 generate character-id if the CCS property does not have
1820 corresponding predefined character.
1821 (make_builtin_char): Return -1 if corresponding predefined
1822 character is not found.
1823 (Fdecode_char): Return nil if corresponding character is not
1825 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
1826 don't map to builtin ucs space.
1828 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1830 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
1831 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
1833 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1835 * mule-charset.c (Vcharset_ideograph_gt): New variable.
1836 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
1837 (Qideograph_gt): Likewise.
1838 (Qideograph_gt_pj_{1..11}): Likewise.
1839 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
1840 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
1841 `ideograph-gt-pj-11'.
1842 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
1843 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
1844 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
1846 * char-ucs.h (LEADING_BYTE_GT): New macro.
1847 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
1848 (MIN_CHAR_GT): Likewise.
1849 (MAX_CHAR_GT): Likewise.
1851 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1853 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
1854 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
1856 * doprnt.c (unsigned_int_converters): Add `c'.
1857 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
1859 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
1860 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
1862 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
1863 (MAX_CHAR_MOJIKYO_0): New macro.
1864 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1866 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1868 * mule-charset.c (Fdefine_char): Delete cemented out code.
1869 (encode_builtin_char_1): Modify for new allocation of builtin
1872 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1874 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1876 * mule-charset.c (Vcharset_ucs_cns): New variable.
1877 (Qucs_cns): New variable.
1878 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1879 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1881 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1883 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1885 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1887 * search.c (search_buffer): Make `charset_base_code' as
1888 character-id >> 6 to eliminate the corresponding last byte in
1889 UTF-8 representation [I'm not sure it is right thing].
1890 (boyer_moore): Likewise.
1892 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1894 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1895 representation in MULE.
1897 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1899 * text-coding.c (Fmake_coding_system): Use
1900 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1901 `EXTERNAL_PROPERTY_LIST_LOOP'.
1903 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1905 * text-coding.c (decode_output_utf8_partial_char): New function.
1906 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1908 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1910 * text-coding.c (decode_coding_utf8): Output original byte
1911 sequence if it is broken; change order of conditions.
1913 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1916 * mb-multibyte.h (BYTE_ASCII_P):
1917 Use bit ops for char-signedness safety.
1918 (BYTE_C0_P): Use bit ops for char-signedness safety.
1919 (BYTE_C1_P): Use bit ops for char-signedness safety.
1921 * character.h: (XCHAR_OR_CHAR_INT):
1922 Always use inline function.
1923 Remove redundant type checking assert() - XINT will abort quite
1926 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1928 * text-coding.c: (Fencode_shift_jis_char):
1929 (Fencode_big5_char):
1930 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1931 Replace 0 with '\0' when working with bytes.
1932 Replace initial "(" with "\(" in docstrings.
1934 (Fmake_coding_system):
1935 When type is ccl and value is vector, register it with a proper
1936 symbol. And checks whether the given ccl program is valid.
1937 (mule_decode): When calling ccl_driver, if src indicates
1938 NULL pointer, set an empty string instead.
1939 (mule_encode): Likewise.
1942 (detect_coding_sjis):
1943 (decode_coding_sjis):
1944 (detect_coding_big5):
1945 (decode_coding_big5):
1946 (detect_coding_ucs4):
1947 (decode_coding_ucs4):
1948 (detect_coding_utf8):
1949 (decode_coding_utf8):
1950 (detect_coding_iso2022):
1951 (decode_coding_iso2022):
1952 (decode_coding_no_conversion):
1954 Make all detecting and decoding functions take an Extbyte * arg.
1955 (text_encode_generic):
1956 (encode_coding_big5):
1957 (encode_coding_no_conversion):
1959 Make all encoding functions take a Bufbyte * arg.
1960 Use size_t instead of unsigned int for memory sizes.
1961 Only cast to unsigned char whenever dereferencing Extbyte *.
1963 (struct lrecord_description fcd_description_1): Use countof.
1964 (complex_vars_of_file_coding):
1965 Use countof instead of sizeof.
1966 Use CHECK_NATNUM instead of CHECK_INT.
1968 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1970 * mule-charset.c (Fget_char_attribute): Add new optional argument
1972 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1973 (remove_char_ccs): Likewise.
1975 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1977 * text-coding.c (char_encode_shift_jis): New implementation in
1979 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1982 * mule-charset.c (Vcharset_chinese_big5): New variable in
1984 (Qchinese_big5): New variable in UTF-2000.
1985 (BIG5_SAME_ROW): New macro in UTF-2000.
1986 (make_builtin_char): Use builtin characters of
1987 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1988 characters of `Vcharset_chinese_big5'.
1989 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1990 (complex_vars_of_mule_charset): Add new coded-charset
1991 `chinese-big5' in UTF-2000.
1993 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1994 (Vcharset_chinese_big5): New external variable declaration.
1995 (Vcharset_japanese_jisx0208_1990): Likewise.
1997 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1999 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2001 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2003 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2005 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2006 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2007 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2010 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2012 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2014 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2016 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2019 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2021 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2022 for `CHARSET_BY_ATTRIBUTES'.
2023 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2024 `CHARSET_BY_ATTRIBUTES'.
2026 * text-coding.c (struct decoding_stream): Rename member `CH' to
2028 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2029 (decode_coding_sjis): Likewise.
2030 (decode_coding_big5): Likewise.
2031 (decode_coding_ucs4): Likewise.
2032 (decode_coding_utf8): Likewise.
2033 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2034 `CHARSET_BY_ATTRIBUTES'.
2035 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2036 `str->counter'; decode 3, 4 bytes sets.
2037 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2039 (decode_coding_no_conversion): Use `str->cpos' instead of
2042 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2043 (Qmojikyo_2022_1): New variable.
2044 (make_charset): Don't use `CHARSET_TYPE_*'.
2045 (range_charset_code_point): Support coded-charset
2047 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2048 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2049 `CHARSET_BY_ATTRIBUTES'.
2050 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2051 `CHARSET_BY_ATTRIBUTES'.
2052 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2053 (complex_vars_of_mule_charset): Add new coded-charset
2056 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2057 interface; changed to inline function.
2059 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2060 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2061 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2062 (CHARSET_TYPE_94): Deleted.
2063 (CHARSET_TYPE_94X94): Deleted.
2064 (CHARSET_TYPE_96): Deleted.
2065 (CHARSET_TYPE_96X96): Deleted.
2066 (CHARSET_TYPE_128): Deleted.
2067 (CHARSET_TYPE_128X128): Deleted.
2068 (CHARSET_TYPE_256): Deleted.
2069 (CHARSET_TYPE_256X256): Deleted.
2070 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2072 (DECODE_MOJIKYO_2022): New inline function.
2073 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2074 `Vcharset_mojikyo_2022_1'.
2076 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2078 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2080 (put_byte_table): Likewise.
2081 (char_id_table_equal): Use `get_byte_table' [new implementation].
2083 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2085 * mule-charset.c: Include <limits.h> in UTF-2000.
2086 (BT_UINT8_MIN): New macro in UTF-2000.
2087 (BT_UINT8_MAX): New macro in UTF-2000.
2088 (BT_UINT8_t): New macro in UTF-2000.
2089 (BT_UINT8_nil): New macro in UTF-2000.
2090 (BT_UINT8_unbound): New macro in UTF-2000.
2091 (INT_UINT8_P): New inline function in UTF-2000.
2092 (UINT8_VALUE_P): New inline function in UTF-2000.
2093 (UINT8_ENCODE): New inline function in UTF-2000.
2094 (UINT8_DECODE): New inline function in UTF-2000.
2095 (mark_uint8_byte_table): New function in UTF-2000.
2096 (print_uint8_byte_table): New function in UTF-2000.
2097 (uint8_byte_table_equal): New function in UTF-2000.
2098 (uint8_byte_table_hash): New function in UTF-2000.
2099 (make_uint8_byte_table): New function in UTF-2000.
2100 (uint8_byte_table_same_value_p): New function in UTF-2000.
2101 (BT_UINT16_MIN): New macro in UTF-2000.
2102 (BT_UINT16_MAX): New macro in UTF-2000.
2103 (BT_UINT16_t): New macro in UTF-2000.
2104 (BT_UINT16_nil): New macro in UTF-2000.
2105 (BT_UINT16_unbound): New macro in UTF-2000.
2106 (INT_UINT16_P): New inline function in UTF-2000.
2107 (UINT16_VALUE_P): New inline function in UTF-2000.
2108 (UINT16_ENCODE): New inline function in UTF-2000.
2109 (UINT16_DECODE): New inline function in UTF-2000.
2110 (UINT8_TO_UINT16): New inline function in UTF-2000.
2111 (mark_uint16_byte_table): New function in UTF-2000.
2112 (print_uint16_byte_table): New function in UTF-2000.
2113 (uint16_byte_table_equal): New function in UTF-2000.
2114 (uint16_byte_table_hash): New function in UTF-2000.
2115 (make_uint16_byte_table): New function in UTF-2000.
2116 (uint16_byte_table_same_value_p): New function in UTF-2000.
2117 (print_byte_table): New function in UTF-2000.
2118 (byte-table): Use `print_byte_table' as printer.
2119 (make_byte_table): Delete second argument `older'.
2120 (byte_table_same_value_p): New function in UTF-2000.
2121 (copy_byte_table): Deleted.
2122 (get_byte_table): New function in UTF-2000.
2123 (put_byte_table): New function in UTF-2000.
2124 (print_char_id_table): New function in UTF-2000.
2125 (char-id-table): Use `print_char_id_table' as printer.
2126 (make_char_id_table): Delete second argument `older'.
2127 (get_char_id_table): Use `get_byte_table [new implementation].
2128 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2130 (Ffind_char_attribute_table): New function in UTF-2000.
2131 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2132 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2133 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2134 (syms_of_mule_charset): Add new function
2135 `find-char-attribute-table' in UTF-2000.
2137 * lrecord.h (enum lrecord_type): Add
2138 `lrecord_type_uint16_byte_table' and
2139 `lrecord_type_uint8_byte_table'.
2141 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2142 (Lisp_Uint8_Byte_Table): New type.
2143 (XUINT8_BYTE_TABLE): New macro.
2144 (XSETUINT8_BYTE_TABLE): New macro.
2145 (UINT8_BYTE_TABLE_P): New macro.
2146 (GC_UINT8_BYTE_TABLE_P): New macro.
2147 (struct Lisp_Uint16_Byte_Table): New structure.
2148 (Lisp_Uint16_Byte_Table): New type.
2149 (XUINT16_BYTE_TABLE): New macro.
2150 (XSETUINT16_BYTE_TABLE): New macro.
2151 (UINT16_BYTE_TABLE_P): New macro.
2152 (GC_UINT16_BYTE_TABLE_P): New macro.
2154 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2156 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2157 (Vcharacter_ideographic_strokes_table): Deleted.
2158 (Vcharacter_total_strokes_table): Deleted.
2159 (Vcharacter_morohashi_daikanwa_table): Deleted.
2160 (Vcharacter_decomposition_table): Deleted.
2161 (Qname): Deleted because it is duplicated.
2162 (Qideographic_radical): Deleted.
2163 (Qideographic_strokes): Deleted.
2164 (Qtotal_strokes): Deleted.
2165 (Qmorohashi_daikanwa): Deleted.
2166 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2167 `ideographic-radical', `ideographic-strokes', `total-strokes',
2168 `morohashi-daikanwa' and `->decomposition'.
2169 (Fget_char_attribute): Likewise.
2170 (Fput_char_attribute): Likewise; use `make-vector' instead of
2171 `make_older_vector' for `->decomposition' value.
2172 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
2173 `ideograph-daikanwa'.
2174 (syms_of_mule_charset): Delete builtin symbols `name',
2175 `ideographic-radical', `ideographic-strokes', `total-strokes' and
2176 `morohashi-daikanwa'.
2177 (vars_of_mule_charset): Don't setup
2178 `Vcharacter_ideographic_radical_table',
2179 `Vcharacter_ideographic_strokes_table',
2180 `Vcharacter_total_strokes_table',
2181 `Vcharacter_morohashi_daikanwa_table' and
2182 `Vcharacter_decomposition_table'.
2184 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2186 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
2187 `make_older_vector', `make_vector_newer_1' and
2188 `make_vector_newer'.
2190 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
2191 `make_older_vector' and `make_vector_newer'.
2193 * config.h.in (HAVE_GGC): New macro.
2195 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2197 * mule-charset.c (struct char_attribute_list_closure): New
2198 structure in UTF-2000.
2199 (add_char_attribute_to_list_mapper): New function in UTF-2000.
2200 (Fchar_attribute_list): Likewise.
2201 (Fset_charset_mapping_table): Use `make_vector_newer'.
2202 (Fdecode_builtin_char): New function in UTF-2000.
2203 (syms_of_mule_charset): Add new function `char-attribute-list' and
2204 `decode-builtin-char' in UTF-2000.
2206 * lisp.h (make_vector_newer): New prototype.
2208 * alloc.c (make_vector_newer_1): New function.
2209 (make_vector_newer): New function.
2211 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2213 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2216 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2218 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2219 (Vcharacter_attribute_table): Deleted.
2220 (Vcharacter_name_table): Deleted.
2221 (put_char_attribute): Deleted.
2222 (remove_char_attribute): Deleted.
2223 (struct char_attribute_alist_closure): New structure.
2224 (add_char_attribute_alist_mapper): New function.
2225 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2226 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2227 (Fget_char_attribute): Likewise.
2228 (Fput_char_attribute): Likewise.
2229 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2230 of `remove_char_attribute'.
2231 (Fdefine_char): Return character.
2232 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2233 and `Vcharacter_name_table'.
2234 (complex_vars_of_mule_charset): Likewise
2235 `Vchar_attribute_hash_table'.
2237 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2239 * character.h (CHARC_CHARSET): New macro.
2240 (CHARC_CHARSET_ID): New macro.
2241 (CHARC_CODE_POINT): New macro.
2242 (CHARC_COLUMNS): New macro.
2243 (CHARC_TO_CHAR): New inline function.
2244 (CHARC_EQ): New inline function.
2245 (CHARC_ASCII_EQ): New inline function.
2246 (CHARC_IS_SPACE): New inline function.
2247 (ASCII_TO_CHARC): New inline function.
2249 * char-ucs.h (encode_char_2): Deleted.
2250 (ENCODE_CHAR): Use `encode_char_1' again.
2251 (breakup_char_1): Likewise.
2252 (CHAR_TO_CHARC): New inline function.
2254 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2256 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2258 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2259 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2260 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2261 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2262 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2264 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2266 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2268 (x_output_display_block): Use `CHARC_CHARSET' and
2271 * redisplay-tty.c (tty_output_display_block): Use
2273 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2275 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2277 * insdel.c (find_charsets_in_charc_string): Use
2279 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2280 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2281 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2282 (convert_charc_string_into_malloced_string): Likewise.
2284 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2286 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2287 instead of <Emchar_dynarr *> for buf; use
2288 `convert_bufbyte_string_into_charc_dynarr' instead of
2289 `convert_bufbyte_string_into_emchar_dynarr'; use
2290 `find_charsets_in_charc_string' instead of
2291 `find_charsets_in_emchar_string'.
2294 - Include "character.h".
2295 (struct rune): New member `cglyph'; delete member `chr'.
2297 * redisplay.c (redisplay_text_width_charc_string): New function;
2298 delete `redisplay_text_width_emchar_string'.
2299 (rtw_charc_dynarr): New variable; renamed from
2300 `rtw_emchar_dynarr'.
2301 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2302 `rtw_emchar_dynarr'; use
2303 `convert_bufbyte_string_into_charc_dynarr' instead of
2304 `convert_bufbyte_string_into_emchar_dynarr'; use
2305 `redisplay_text_width_charc_string' instead of
2306 `redisplay_text_width_emchar_string'.
2307 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2308 instead of `rtw_emchar_dynarr'; use
2309 `convert_bufbyte_string_into_charc_dynarr' instead of
2310 `convert_bufbyte_string_into_emchar_dynarr'.
2311 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2312 `redisplay_text_width_charc_string' instead of
2313 `redisplay_text_width_emchar_string'.
2314 (create_text_block): Modify for <struct rune> change.
2315 (generate_formatted_string_db): Likewise.
2316 (create_string_text_block): Likewise.
2317 (pixel_to_glyph_translation): Likewise.
2319 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2320 instead of <const Emchar *>.
2321 (x_text_width): Likewise.
2322 (x_output_display_block): Use <Charc_dynarr *> instead
2323 <Emchar_dynarr *>; modify for <structure rune> change.
2324 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2327 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2328 <const Emchar *>; use `charc_string_displayed_columns' instead of
2329 `emchar_string_displayed_columns'.
2330 (tty_output_display_block): Use <Charc_dynarr *> instead of
2331 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2332 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2333 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2334 `tty_output_emchar_dynarr_dynarr'.
2335 (tty_output_charc_dynarr): New function; delete
2336 `tty_output_charc_dynarr'.
2338 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2339 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2340 <Emchar_dynarr *> for buf; use
2341 `convert_bufbyte_string_into_charc_dynarr' instead of
2342 `convert_bufbyte_string_into_emchar_dynarr'.
2344 * frame.c (title_string_charc_dynarr): New variable; renamed from
2345 `title_string_emchar_dynarr'.
2346 (generate_title_string): Use `title_string_charc_dynarr' instead
2347 of `title_string_emchar_dynarr'; use
2348 `convert_charc_string_into_malloced_string' instead of
2349 `convert_emchar_string_into_malloced_string'.
2350 (init_frame): Use `title_string_charc_dynarr' instead of
2351 `title_string_emchar_dynarr'.
2354 - Include "character.h".
2355 (struct console_methods): Use <const Charc *> instead of <const
2356 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2357 <Emchar_dynarr *> in output_string_method.
2359 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2362 * console-stream.c (stream_text_width): Use <const Charc *>
2363 instead of <const Emchar *>.
2365 * character.h (Charc_dynarr): New type.
2367 * char-ucs.h (structure Charc): New structure; define new type
2370 * char-lb.h (DECODE_CHAR): New inline function.
2371 (encode_char_1): New inline function.
2372 (ENCODE_CHAR): New macro.
2373 (structure Charc): New structure; define new type `Charc'.
2375 * char-1byte.h (Vcharset_control_1): New macro.
2376 (Vcharset_latin_iso8859_1): New macro.
2377 (DECODE_CHAR): New inline function.
2378 (encode_char_1): New inline function.
2379 (ENCODE_CHAR): New macro.
2380 (structure Charc): New structure; define new type `Charc'.
2382 * insdel.c (find_charsets_in_charc_string): New function; delete
2383 `find_charsets_in_emchar_string'.
2384 (charc_string_displayed_columns): New function; delete
2385 `emchar_string_displayed_columns'.
2386 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2387 `convert_bufbyte_string_into_emchar_dynarr'.
2388 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2389 `convert_charc_string_into_bufbyte_dynarr'.
2390 (convert_charc_string_into_malloced_string): New function; delete
2391 `convert_charc_string_into_malloced_string'.
2393 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2394 `find_charsets_in_emchar_string'.
2395 (charc_string_displayed_columns): New prototype; delete
2396 `emchar_string_displayed_columns'.
2397 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2398 `convert_charc_string_into_bufbyte_dynarr'.
2399 (convert_charc_string_into_malloced_string): New prototype; delete
2400 `convert_charc_string_into_malloced_string'.
2402 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2404 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2406 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2408 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2410 * char-ucs.h: Use <short> for <Charset_ID>.
2412 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2415 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2417 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2420 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2422 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2424 (Qmorohashi_daikanwa): New variable.
2425 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2426 for `morohashi-daikanwa' attribute.
2427 (Fget_char_attribute): Likewise.
2428 (Fput_char_attribute): Likewise.
2429 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2430 has the same value of `ideograph-daikanwa'.
2431 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2432 (vars_of_mule_charset): Setup
2433 `Vcharacter_morohashi_daikanwa_table'.
2435 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2437 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2439 (add_charset_to_list_mapper): Add `key' instead of
2440 `XCHARSET_NAME (value)' to return aliases.
2442 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2444 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2446 (Vcharacter_ideographic_strokes_table): New variable.
2447 (Qideographic_radical): New variable.
2448 (Qideographic_strokes): New variable.
2449 (Fchar_attribute_alist): Use
2450 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2451 attribute; use `Vcharacter_ideographic_strokes_table' for
2452 `ideographic-strokes' attribute.
2453 (Fget_char_attribute): Likewise.
2454 (Fput_char_attribute): Likewise.
2455 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2456 `ideographic-strokes'.
2457 (vars_of_mule_charset): Setup
2458 `Vcharacter_ideographic_radical_table' and
2459 `Vcharacter_ideographic_strokes_table'.
2461 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2463 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2464 (Qtotal_strokes): New variable.
2465 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2466 `total-strokes' attribute.
2467 (Fget_char_attribute): Likewise.
2468 (Fput_char_attribute): Likewise.
2469 (syms_of_mule_charset): Add new symbol `total-strokes'.
2470 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2472 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2474 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2475 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2477 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2478 `->decomposition' attribute.
2479 (Fput_char_attribute): Likewise.
2480 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2482 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2484 * mule-charset.c (decoding_table_check_elements): New function.
2485 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2487 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2489 * mule-charset.c (Fset_charset_mapping_table): Use
2490 `put_char_ccs_code_point'.
2492 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2494 * mule-charset.c (decoding_table_put_char): New inline function.
2495 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2497 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2499 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2500 (XCHARSET_BYTE_SIZE): New macro.
2501 (decoding_table_remove_char): New inline function.
2502 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2503 `decoding_table_remove_char'.
2504 (remove_char_ccs): Use `decoding_table_remove_char'.
2505 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2507 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2509 * mule-charset.c (Vcharacter_name_table): New variable.
2510 (Qname): New variable.
2511 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2513 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2514 `Vcharacter_name_table' for `name' attribute.
2515 (Fremove_char_attribute): Use function `remove_char_ccs'.
2516 (put_char_ccs_code_point): New function.
2517 (remove_char_ccs): New function.
2518 (syms_of_mule_charset): Add new symbol `name'.
2519 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2521 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2523 * mule-charset.c (make_byte_table): Add new argument `older'.
2524 (make_char_id_table): Likewise.
2525 (copy_char_id_table): Comment out because it is not used.
2526 (put_char_id_table): Modify for `make_byte_table'.
2527 (Fput_char_attribute): Make encoding_table as older object;
2528 inherit older bit of `Vcharacter_composition_table'.
2529 (mark_charset): Don't mark `cs->encoding_table'.
2530 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2531 normal object; make `Vcharacter_composition_table' as an older
2532 object; delete staticpro for `Vcharacter_composition_table'; make
2533 `Vcharacter_variant_table' as a normal object.
2535 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2536 (mark_object): Don't check older object in UTF-2000.
2538 * lrecord.h (struct lrecord_header): Add new member `older' in
2540 (set_lheader_implementation): Setup `SLI_header->older' in
2542 (set_lheader_older_implementation): New macro in UTF-2000.
2543 (OLDER_RECORD_P): New macro in UTF-2000.
2544 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2545 (alloc_older_lcrecord): New prototype in UTF-2000.
2546 (alloc_older_lcrecord_type): New macro in UTF-2000.
2548 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2550 * mule-charset.c (byte_table_description): Use
2551 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2552 (char_id_table_description): Delete bogus `, 1'.
2553 (Fget_char_attribute): Refer encoding_table of each coded-charset
2554 to get value of coded-charset attribute of a character.
2555 (Fput_char_attribute): Use `make_older_vector' instead of
2556 `make_vector'; use encoding_table of each coded-charset to store
2557 value of coded-charset attribute of a character.
2558 (Fremove_char_attribute): Use encoding_table of each coded-charset
2559 to store value of coded-charset attribute of a character.
2560 (mark_charset): Mark `cs->encoding_table'; don't mark
2561 `cs->decoding_table'.
2562 (charset_description): Add description of new member
2564 (make_charset): Initialize `encoding_table'.
2566 * char-ucs.h (struct Lisp_Charset): Add new member
2568 (CHARSET_ENCODING_TABLE): New macro.
2569 (XCHARSET_ENCODING_TABLE): New macro.
2570 (charset_code_point): New implementation.
2571 (encode_char_1): Likewise.
2573 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2574 (disksave_object_finalization_1): Call finalizers of
2575 `all_older_lcrecords' in UTF-2000.
2576 (make_older_vector): New function in UTF-2000.
2577 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2580 * lisp.h (make_older_vector): New prototype in UTF-2000.
2582 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2584 * lrecord.h (enum lrecord_type): Rename
2585 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2587 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2588 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2589 `get_char_code_table'.
2591 * mule-charset.c (mark_char_id_table): Renamed from
2592 `mark_char_code_table'.
2593 (char_id_table_equal): Renamed from `char_code_table_equal'.
2594 (char_id_table_hash): Renamed from `char_code_table_hash'.
2595 (make_char_id_table): Renamed from `make_char_code_table'.
2596 (copy_char_id_table): Renamed from `copy_char_code_table'.
2597 (get_char_id_table): Renamed from `get_char_code_table'.
2598 (put_char_id_table): Renamed from `put_char_code_table'.
2599 (to_char_id): Renamed from `to_char_code'.
2601 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2602 `Lisp_Char_Code_Table'.
2603 (char_id_table): Renamed from `char_code_table'.
2604 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2605 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2606 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2607 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2608 (get_char_id_table): Renamed from `get_char_code_table'.
2610 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2612 * lrecord.h (enum lrecord_type): Rename
2613 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2615 * mule-charset.c (mark_byte_table): Renamed from
2616 `mark_char_byte_table'.
2617 (byte_table_equal): Renamed from `char_byte_table_equal'.
2618 (byte_table_hash): Renamed from `byte_table_hash'.
2619 (make_byte_table): Renamed from `make_byte_table'.
2620 (copy_byte_table): Renamed from `copy_char_byte_table'.
2622 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2623 `Lisp_Char_Byte_Table'.
2624 (byte_table): Renamed from `char_byte_table'.
2625 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
2626 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
2627 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
2628 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
2630 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2632 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
2633 (dfc_convert_to_internal_format): Likewise.
2635 * text-coding.c (Fcoding_system_canonical_name_p): New function.
2636 * text-coding.c (Fcoding_system_alias_p): New function.
2637 * text-coding.c (Fcoding_system_aliasee): New function.
2638 * text-coding.c (append_suffix_to_symbol): New function.
2639 * text-coding.c (dangling_coding_system_alias_p): New function.
2640 * text-coding.c (Ffind_coding_system):
2641 * text-coding.c (Fcopy_coding_system):
2642 * text-coding.c (encode_coding_no_conversion):
2643 * text-coding.c (syms_of_file_coding):
2644 * text-coding.c (vars_of_file_coding):
2645 Rewrite coding system alias code.
2646 Allow nested aliases, like symbolic links.
2647 Allow redefinition of coding system aliases.
2648 Prevent existence of dangling coding system aliases.
2649 Eliminate convert_to_external_format.
2650 Eliminate convert_to_internal_format.
2652 * text-coding.c: Change enum eol_type to eol_type_t.
2654 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2656 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
2657 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2659 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
2660 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
2662 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2664 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
2665 `ideograph-daikanwa'.
2667 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
2668 (Vcharset_ucs_bmp): Likewise.
2669 (Vcharset_mojikyo): Add new extern variable definition.
2670 (Vcharset_latin_iso8859_2): Deleted because it is not used.
2671 (Vcharset_latin_iso8859_3): Likewise.
2672 (Vcharset_latin_iso8859_4): Likewise.
2673 (Vcharset_latin_iso8859_9): Likewise.
2674 (Vcharset_latin_viscii_lower): Likewise.
2675 (Vcharset_latin_viscii_upper): Likewise.
2676 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
2677 `mojikyo' code-point is used to decode.
2678 (encode_char_2): New function [to convert `mojikyo' code-point to
2679 Mojikyo font encoding].
2680 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
2681 (breakup_char_1): Likewise.
2682 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
2684 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2686 * text-coding.c (Fmake_coding_system): Add document about
2687 `disable-composition' property.
2689 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2691 * text-coding.c (Qdisable_composition): New variable; delete
2693 (Fmake_coding_system): Add new property `disable-composite';
2694 delete property `composite'.
2695 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
2696 instead of `!CODING_SYSTEM_COMPOSITE'.
2697 (syms_of_file_coding): Add new symbol `disable-composition';
2698 delete symbol `composite'.
2700 * file-coding.h (struct Lisp_Coding_System): Add
2701 `disable_composition'; delete `enable_composition'.
2702 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2703 `CODING_SYSTEM_COMPOSITE'.
2704 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
2705 `XCODING_SYSTEM_COMPOSITE'.
2707 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2709 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2712 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2714 * text-coding.c (Qcomposite): New variable.
2715 (Fmake_coding_system): Add new property `composite'.
2716 (struct decoding_stream): Add `combined_char_count',
2717 `combined_chars' and `combining_table' in UTF-2000.
2718 (COMPOSE_FLUSH_CHARS): New macro.
2719 (COMPOSE_ADD_CHAR): New macro.
2720 (reset_decoding_stream): Reset `str->combined_char_count' and
2721 `str->combining_table' in UTF-2000.
2722 (decode_coding_iso2022): Modify for character-decomposition.
2723 (syms_of_file_coding): Add new symbol `composite'.
2725 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2727 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
2728 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
2729 of `Vcharacter_composition_table' if `->decomposition' property
2731 (Qlatin_tcvn5712): New variable.
2732 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
2733 (complex_vars_of_mule_charset): Add new coded-charset
2736 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
2738 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2740 * file-coding.h (struct Lisp_Coding_System): Add
2741 `enable_composition'.
2742 (CODING_SYSTEM_COMPOSITE): New macro.
2743 (XCODING_SYSTEM_COMPOSITE): New macro.
2745 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
2747 * mule-canna.c (c2mu): Fix problem with UTF-2000.
2749 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
2751 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
2752 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
2754 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
2756 * mule-charset.c (Vcharset_mojikyo): New variable.
2757 (Fdefine_char): Don't use coded-charset which does not have
2758 non-builtin character range to allocate character-id.
2759 (Qmojikyo): New variable.
2760 (syms_of_mule_charset): Add new symbol `mojikyo'.
2761 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
2763 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
2764 (LEADING_BYTE_MOJIKYO): New macro.
2765 (MIN_CHAR_MOJIKYO): New macro.
2766 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
2767 (MAX_CHAR_MOJIKYO): New macro.
2769 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
2771 * mule-charset.c (remove_char_attribute): Fixed.
2773 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
2775 * mule-charset.c (remove_char_attribute): New function.
2776 (Fremove_char_attribute): New function.
2777 (encode_builtin_char_1): Comment out builtin-support for
2778 greek-iso8859-7 and cyrillic-iso8859-5.
2779 (Fdecode_char): Check `code' is an integer.
2780 (syms_of_mule_charset): Add `remove-char-attribute'.
2781 (MIN_CHAR_GREEK): Deleted.
2782 (MAX_CHAR_GREEK): Likewise.
2783 (MIN_CHAR_CYRILLIC): Likewise.
2784 (MAX_CHAR_CYRILLIC): Likewise.
2785 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
2786 MAX_CHAR_GREEK for `greek-iso8859-7'.
2788 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
2789 (MAX_CHAR_GREEK): Likewise.
2790 (MIN_CHAR_CYRILLIC): Likewise.
2791 (MAX_CHAR_CYRILLIC): Likewise.
2793 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
2795 * mule-charset.c (Fdefine_char): Fix problem when new code-point
2796 format is used without `ucs' property.
2797 (Fdecode_char): Fix problem with GR representation.
2798 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
2799 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
2801 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2803 * mule-charset.c (make_builtin_char): New function.
2804 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
2805 (Fset_charset_mapping_table): Modify for new representation of
2807 (Fdecode_char): New function.
2808 (syms_of_mule_charset): Add new builtin function `decode-char' in
2811 * char-ucs.h (make_builtin_char): New prototype.
2812 (DECODE_CHAR): New inline function.
2813 (MAKE_CHAR): Use `DECODE_CHAR'.
2815 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
2817 * text-coding.c (parse_charset_conversion_specs): Use
2818 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
2820 (iso2022_designate): Likewise.
2822 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
2823 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
2825 * mule-charset.c (Vcharset_ucs): New variable.
2826 (print_charset): Change design; use `CHARSET_CHARS' and
2827 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
2828 (make_charset): Change signature to specify `chars' and
2829 `dimension' instead of `type'.
2830 (range_charset_code_point): Modify for 256^n-set.
2831 (encode_builtin_char_1): Encode as `ucs' in default.
2832 (Fmake_charset): Modify for `make_charset'.
2833 (Fmake_reverse_direction_charset): Likewise.
2834 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
2836 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
2839 * char-ucs.h (Vcharset_ucs): New variable.
2840 (LEADING_BYTE_UCS): New macro.
2841 (struct Lisp_Charset): Delete `type'; change type of `dimension'
2842 and `chars' to `unsigned short' from `unsigned int'.
2843 (CHARSET_TYPE): Deleted.
2844 (XCHARSET_TYPE): Deleted.
2846 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
2848 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
2850 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
2851 (ENCODE_CHAR): New macro.
2853 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2855 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2856 to 0.14 (Kawachi-Katakami).
2858 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2860 * text-coding.c (char_encode_shift_jis): Modify for
2861 `charset_code_point'.
2862 (char_encode_iso2022): Likewise.
2864 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2865 (integer) instead of list of <Lisp_Object>s (integers) as the
2866 format of code-point of a coded-charset.
2867 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2868 (encode_builtin_char_1): New function; delete
2869 `split_builtin_char'.
2870 (charset_code_point): Return <int> instead of <Lisp_Object>.
2871 (Fsplit_char): Don't use `SPLIT_CHAR'.
2873 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2874 prototype for `split_builtin_char'.
2875 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2876 (charset_code_point): Likewise.
2877 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2878 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2880 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2882 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2883 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2885 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2887 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2889 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2890 (MAX_CHAR_OBS_94x94): Deleted.
2892 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2894 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2896 * char-ucs.h (MAX_CHAR_BMP): New macro.
2898 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2900 * text-coding.c: Sync with r21-2-24.
2902 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2904 * file-coding.c: Modify for UTF-2000.
2906 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2908 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2911 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2913 * mule-charset.c (split_builtin_char): Delete builtin support for
2914 `katakana-jisx0201'.
2915 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2916 BMP area in builtin representation.
2918 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2919 `Vcharset_katakana_jisx0201'.
2921 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2923 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2924 (Qisolated): New variable.
2925 (Qinitial): New variable.
2926 (Qmedial): New variable.
2927 (Qfinal): New variable.
2928 (Qvertical): New variable.
2929 (Qsmall): New variable.
2930 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2931 `Qvertical' and `Qsmall'.
2932 (Qmojikyo_pj_[1 .. 21]): New variable.
2933 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2934 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2935 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2938 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2940 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2941 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2942 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2944 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2946 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2947 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2949 (Qjapanese_jisx0208_1990): New variable.
2950 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2951 (complex_vars_of_mule_charset): Add new coded-charset
2952 `japanese-jisx0208-1990'.
2954 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2955 (MIN_CHAR_JIS_X0208_1990): New macro.
2956 (MAX_CHAR_JIS_X0208_1990): New macro.
2958 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2960 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2961 coded-charset is not found.
2963 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2965 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2966 (Fdefine_char): Use `Fmake_char'.
2968 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2970 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2971 (Vcharset_hiragana_jisx0208): Deleted.
2972 (Vcharset_katakana_jisx0208): Deleted.
2973 (Qideograph_daikanwa): New variable.
2974 (Qhiragana_jisx0208): Deleted.
2975 (Qkatakana_jisx0208): Deleted.
2976 (split_builtin_char): Split `ideograph-daikanwa'.
2977 (Fsplit_char): New implementation for UTF-2000.
2978 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2979 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2980 (complex_vars_of_mule_charset): Add new coded-charset
2981 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2982 `katakana-jisx0208'.
2984 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2985 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2986 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2987 (MIN_CHAR_DAIKANWA): New macro.
2988 (MAX_CHAR_DAIKANWA): New macro.
2990 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2992 * data.c (Fstring_to_number): Don't recognize floating point if
2995 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2997 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2999 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3001 * mule-charset.c (Qsquare): New variable.
3002 (to_char_code): Add `Qsquare'.
3003 (syms_of_mule_charset): Add new symbol `square'.
3005 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3007 * mule-charset.c (Qcircle): New variable.
3008 (to_char_code): Add `Qcircle'.
3009 (syms_of_mule_charset): Add new symbol `circle'.
3011 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3013 * mule-charset.c (Qfont): New variable.
3014 (to_char_code): Add `Qfont'.
3015 (syms_of_mule_charset): Add new symbol `font'.
3017 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3019 * mule-charset.c (Qsub): New variable.
3020 (to_char_code): Add `Qsub'.
3021 (syms_of_mule_charset): Add new symbol `sub'.
3023 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3025 * mule-charset.c (Fput_char_attribute): Convert each element of
3026 VALUE to GL position if ATTRIBUTE is a GR-set,
3028 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3030 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3031 coded-charset is a GR-set.
3033 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3035 * mule-charset.c (Fput_char_attribute): Check each element of
3036 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3038 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3040 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3042 (Qethiopic_ucs): New variable in UTF-2000.
3043 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3044 (complex_vars_of_mule_charset): Add new coded-charset
3045 `ethiopic-ucs' in UTF-2000.
3047 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3048 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3050 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3052 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3054 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3056 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3059 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3061 * mule-charset.c (Vcharacter_variant_table): New variable.
3062 (Q_ucs): New variable.
3063 (Fchar_variants): New function.
3064 (Fput_char_attribute): Register `->ucs' value to
3065 `Vcharacter_variant_table'.
3066 (syms_of_mule_charset): Add new function `char-variants' and new
3068 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3070 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3072 * mule-charset.c (get_char_code_table): Allow negative character
3074 (put_char_code_table): Likewise.
3075 (Vcharacter_composition_table): New variable.
3076 (Q_decomposition): New variable.
3077 (Qwide): New variable.
3078 (Qnarrow): New variable.
3079 (Qcompat): New variable.
3080 (QnoBreak): New variable.
3081 (Qsuper): New variable.
3082 (Qfraction): New variable.
3083 (to_char_code): New function.
3084 (Fget_composite_char): New function.
3085 (Fput_char_attribute): Register `->decomposition' value to
3086 `Vcharacter_composition_table'.
3087 (syms_of_mule_charset): Add new function `get-composite-char', new
3088 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3089 `super' and `fraction'.
3090 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3092 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3094 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3095 character; copy the return value.
3097 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3099 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3101 * mule-charset.c (range_charset_code_point): Must use make_int.
3102 (split_builtin_char): New function.
3104 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3106 * mule-charset.c (char_byte_table): Change name from
3107 "char-code-table" to "char-byte-table".
3108 (mark_char_code_table): New function.
3109 (char_code_table_equal): New function.
3110 (char_code_table_hash): New function.
3111 (char_code_table_description): New constant.
3112 (char_code_table): New type.
3113 (make_char_code_table): New function.
3114 (copy_char_code_table): New function.
3115 (get_char_code_table): Modify for `char_code_table' type.
3116 (put_char_code_table): Likewise.
3117 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3120 * char-ucs.h (char_code_table): New type.
3121 (XCHAR_CODE_TABLE): New macro.
3122 (XSETCHAR_CODE_TABLE): New macro.
3123 (CHAR_CODE_TABLE_P): New macro.
3124 (GC_CHAR_CODE_TABLE_P): New macro.
3125 (struct Lisp_Char_Code_Table): New structure.
3127 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3129 * mule-charset.c (Fmake_charset): Setup byte_offset for
3132 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3134 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3137 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3139 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3142 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3144 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3145 charset, it is regarded as a charset.
3146 (put_char_attribute): New function in UTF-2000.
3147 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3148 charset, mapping-table of the charset is modified.
3149 (Fdefine_char): New function in UTF-2000.
3150 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3151 `Fput_char_attribute'.
3152 (syms_of_mule_charset): Add new function `define-char' and new
3153 symbol `ucs' in UTF-2000.
3154 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3156 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3158 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3159 non-UTF-2000 configuration.
3161 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3163 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3164 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3166 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3168 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3169 (Fset_charset_mapping_table): Likewise.
3171 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3172 (CHARSET_ENCODING_TABLE): Delete.
3173 (XCHARSET_ENCODING_TABLE): Delete.
3174 (charset_code_point): New interface.
3176 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3178 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
3179 instead of `charset_get_byte1' and `charset_get_byte2'.
3181 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
3182 (charset_get_byte2): Deleted.
3184 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3186 * char-ucs.h (SPLIT_CHAR): New inline function.
3187 (breakup_char_1): Use `SPLIT_CHAR'.
3189 * mule-charset.c (range_charset_code_point): New function.
3190 (charset_code_point): New function.
3192 * char-ucs.h (range_charset_code_point): New interface.
3193 (breakup_char_1): Use `range_charset_code_point'.
3195 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3197 * mule-charset.c (Fmake_charset): Delete unused local variable
3200 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
3201 (breakup_char_1): Find a charset and code-point in
3202 `Vcharacter_attribute_table'.
3204 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3206 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3209 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3211 * mule-charset.c (Vcharacter_attribute_table): New variable.
3212 (Fchar_attribute_alist): New function.
3213 (Fget_char_attribute): New function.
3214 (Fput_char_attribute): New function.
3215 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3217 (syms_of_mule_charset): Add new function `char-attribute-alist',
3218 `get-char-attribute' and `put-char-attribute'.
3219 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3221 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3223 * mule-charset.c (Fmake_charset): Just use
3224 `get_unallocated_leading_byte'.
3226 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3227 sets; don't use final-byte based number for private sets.
3229 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3231 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3234 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3236 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3239 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3241 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3242 of `CHAR_LEADING_BYTE' in UTF-2000.
3244 * insdel.c (find_charsets_in_bufbyte_string): Use
3245 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3246 (find_charsets_in_emchar_string): Likewise.
3248 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3249 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3251 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3252 (CHAR_CHARSET_ID): New macro.
3254 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3256 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3257 charset-id - MIN_LEADING_BYTE.
3258 (put_char_table): Likewise.
3260 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3262 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3263 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3264 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3265 (CHARSET_ID_OFFSET): New macro.
3266 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3267 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3268 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3269 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3271 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3273 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3274 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3275 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3276 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3277 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3279 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3281 * mule-charset.c (next_allocated_leading_byte): New variable in
3283 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3284 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3285 (get_unallocated_leading_byte): Simply use
3286 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3287 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3290 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3291 (MAX_LEADING_BYTE_PRIVATE): New macro.
3292 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3293 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3295 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3297 * mule-charset.c (Fmake_charset): Allocate final-byte based
3298 charset-id for 94-set, 96-set and 94x94-set.
3300 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3302 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3304 (Fmake_charset): Likewise.
3305 (complex_vars_of_mule_charset): Modify the font registry of
3306 `ucs-bmp' not to match `Ethiopic-Unicode'.
3308 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3310 * mule-charset.c (complex_vars_of_mule_charset): Add font
3311 registory of `ucs-bmp'.
3313 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3315 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3316 coded-charsets in `default-coded-charset-priority-list' when
3317 breaking up a character.
3319 * mule-charset.c (Vcharset_latin_viscii): New variable.
3320 (Qlatin_viscii): New variable.
3321 (make_charset): Don't use `decoding_table'.
3322 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3324 (Fset_charset_mapping_table): New implementation.
3325 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3326 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3327 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3328 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3329 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3330 charset `latin_viscii'.
3332 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3333 (CHARSET_TYPE_94X94): Change to 1 from 2.
3334 (CHARSET_TYPE_96): Change to 2 from 1.
3335 (CHARSET_TYPE_128): New macro.
3336 (CHARSET_TYPE_128X128): Change to 5 from 4.
3337 (CHARSET_TYPE_256): New macro.
3338 (CHARSET_TYPE_256X256): Change to 7 from 5.
3339 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3341 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3343 * text-coding.c (char_encode_shift_jis): Refer
3344 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3345 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3347 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3348 (char_byte_table_equal): New function in UTF-2000.
3349 (char_byte_table_hash): New function in UTF-2000.
3350 (char_byte_table_description): New constant in UTF-2000.
3351 (char_byte_table): New type in UTF-2000.
3352 (make_char_byte_table): New function in UTF-2000.
3353 (copy_char_byte_table): New function in UTF-2000.
3354 (make_char_code_table): New macro in UTF-2000.
3355 (get_char_code_table): New function in UTF-2000.
3356 (put_char_code_table): New function in UTF-2000.
3357 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3358 (charset_description): Add setting in UTF-2000.
3359 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3360 `CHARSET_TO_BYTE1_TABLE(cs)'.
3361 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3362 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3363 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3364 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3365 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3366 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3367 `CHARSET_TO_BYTE2_TABLE(cs)'.
3369 * char-ucs.h (char_byte_table): New type.
3370 (XCHAR_BYTE_TABLE): New macro.
3371 (XSETCHAR_BYTE_TABLE): New macro.
3372 (CHAR_BYTE_TABLE_P): New macro.
3373 (GC_CHAR_BYTE_TABLE_P): New macro.
3374 (struct Lisp_Char_Byte_Table): New structure.
3375 (get_char_code_table): New interface.
3376 (Emchar_to_byte_table): Deleted.
3377 (get_byte_from_character_table): Deleted.
3378 (struct Lisp_Charset): Add `encoding_table'; delete
3379 `to_byte1_table' and `to_byte2_table'.
3380 (CHARSET_ENCODING_TABLE): New macro.
3381 (CHARSET_TO_BYTE1_TABLE): Deleted.
3382 (CHARSET_TO_BYTE2_TABLE): Deleted.
3383 (XCHARSET_ENCODING_TABLE): New macro.
3384 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3385 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3387 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3389 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3390 `vietnamese-viscii-*'.
3392 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3394 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3395 (Qvietnamese_viscii_upper): New variable.
3396 (Fdefine_charset_alias): New function.
3397 (syms_of_mule_charset): Add new function `define-charset-alias'.
3398 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3399 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3402 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3404 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3405 (MAX_CHAR_OBS_94x94): New macro.
3406 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3409 * mule-charset.c (put_byte_from_character_table): Change unit size
3411 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3413 (Fmake_reverse_direction_charset): Modify dummy argument of
3414 `make_charset' for non-UTF-2000 environment.
3416 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3418 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3420 * mule-charset.c (destroy_byte_from_character_table): New macro.
3421 (latin_jisx0201_to_ucs): Deleted.
3422 (latin_iso8859_2_to_ucs): Deleted.
3423 (latin_iso8859_3_to_ucs): Deleted.
3424 (latin_iso8859_4_to_ucs): Deleted.
3425 (latin_iso8859_9_to_ucs): Deleted.
3426 (latin_viscii_lower_to_ucs): Deleted.
3427 (latin_viscii_upper_to_ucs): Deleted.
3428 (mark_charset): Mark `cs->decoding_table'.
3429 (Fcharset_mapping_table): Fix DOC-string.
3430 (Fset_charset_mapping_table): New function.
3431 (syms_of_mule_charset): Add nwe function
3432 `set-charset-mapping-table'.
3433 (complex_vars_of_mule_charset): Don't setup and use
3436 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3438 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3441 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3443 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3444 (Vcharset_katakana_jisx0208): New variable.
3445 (Qhiragana_jisx0208): New variable.
3446 (Qkatakana_jisx0208): New variable.
3447 (make_charset): Add new argument `byte_offset'.
3448 (charset_get_byte1): Modify for new coded-charset definition; use
3449 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3450 `XCHARSET_BYTE_OFFSET'.
3451 (Fmake_charset): Modify for `make_charset'.
3452 (Fmake_reverse_direction_charset): Likewise.
3453 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3454 `katakana-jisx0208'.
3455 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3456 `.' in font registry of charset `katakana-jisx0201',
3457 `latin-jisx0201', `vietnamese-viscii-lower' and
3458 `vietnamese-viscii-upper'; modify DOC-string of charset
3459 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3460 registry of charset `japanese-jisx0208' not to use font for JIS
3461 X0208:1990; add new charset `hiragana-jisx0208' and
3462 `katakana-jisx0208'.
3464 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3465 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3466 (struct Lisp_Charset): Add `byte_offset'.
3467 (CHARSET_BYTE_OFFSET): New macro.
3468 (XCHARSET_UCS_MIN): New macro.
3469 (XCHARSET_UCS_MAX): New macro.
3470 (XCHARSET_CODE_OFFSET): New macro.
3471 (XCHARSET_BYTE_OFFSET): New macro.
3472 (MIN_CHAR_HIRAGANA): New macro.
3473 (MAX_CHAR_HIRAGANA): New macro.
3474 (MIN_CHAR_KATAKANA): New macro.
3475 (MAX_CHAR_KATAKANA): New macro.
3476 (MAKE_CHAR): Modify for new coded-charset definition; use
3477 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3478 `XCHARSET_BYTE_OFFSET'.
3480 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3482 * mule-charset.c (CHAR96): Deleted.
3483 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3485 (latin_iso8859_2_to_ucs): Likewise.
3486 (latin_iso8859_3_to_ucs): Likewise.
3487 (latin_iso8859_4_to_ucs): Likewise.
3488 (latin_iso8859_9_to_ucs): Likewise.
3489 (latin_viscii_lower_to_ucs): Likewise.
3490 (latin_viscii_upper_to_ucs): Likewise.
3491 (latin_tcvn5712_to_ucs): Commented out.
3492 (make_charset): Change type of argument `decoding_table' from
3493 <Emchar*> to <Lisp_Object> [vector of characters].
3494 (Fmake_charset): Modify for `make_charset'.
3495 (Fmake_reverse_direction_charset): Likewise.
3496 (Fcharset_mapping_table): New function in UTF-2000.
3497 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3499 (complex_vars_of_mule_charset): Modify for type change of
3500 `*_to_ucs'; modify for `make_charset'.
3502 * char-ucs.h (struct Lisp_Charset): Change type of
3503 `decoding_table' from <Emchar*> to <Lisp_Object>.
3504 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3506 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3508 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3509 error with non-UTF-2000-Mule.
3511 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3513 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3515 (Vcharset_chinese_cns11643_4): Likewise.
3516 (Vcharset_chinese_cns11643_5): Likewise.
3517 (Vcharset_chinese_cns11643_6): Likewise.
3518 (Vcharset_chinese_cns11643_7): Likewise.
3519 (Qchinese_cns11643_3): Likewise.
3520 (Qchinese_cns11643_4): Likewise.
3521 (Qchinese_cns11643_5): Likewise.
3522 (Qchinese_cns11643_6): Likewise.
3523 (Qchinese_cns11643_7): Likewise.
3524 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3525 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3526 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3527 (complex_vars_of_mule_charset): Likewise.
3529 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3531 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3533 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3534 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3536 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3538 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3540 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3541 (breakup_char_1): Likewise.
3543 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3544 one of them includes the specified character.
3546 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3548 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3550 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3552 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3554 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3556 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3557 definition for non-UTF-2000 Mule.
3558 (latin_iso8859_3_to_ucs): Likewise.
3559 (latin_iso8859_4_to_ucs): Likewise.
3560 (latin_iso8859_9_to_ucs): Likewise.
3561 (latin_jisx0201_to_ucs): Likewise.
3562 (MIN_CHAR_THAI): Likewise.
3563 (MAX_CHAR_THAI): Likewise.
3564 (MIN_CHAR_GREEK): Likewise.
3565 (MAX_CHAR_GREEK): Likewise.
3566 (MIN_CHAR_HEBREW): Likewise.
3567 (MAX_CHAR_HEBREW): Likewise.
3568 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3569 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3570 (MIN_CHAR_CYRILLIC): Likewise.
3571 (MAX_CHAR_CYRILLIC): Likewise.
3573 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3575 * char-ucs.h (breakup_char_1): Use
3576 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3577 thai-tis620 and katakana-jisx0201 area.
3579 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3581 * char-ucs.h (breakup_char_1): Use
3582 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3585 * text-coding.c (reset_encoding_stream): Fixed.
3586 (char_encode_ucs4): Delete `& 255'.
3588 * char-ucs.h (breakup_char_1): Use
3589 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3591 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3593 * file-coding.c (Fmake_coding_system): Don't set up
3594 `codesys->fixed.size'.
3595 (encode_coding_no_conversion): Don't refer
3596 `str->codesys->fixed.size'.
3598 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3600 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3601 (latin_a_char_to_byte1): Deleted.
3602 (latin_a_char_to_byte2): Deleted.
3604 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3606 * mule-charset.c (make_charset): Add new argument `ucs_min',
3607 `ucs_max' and `code_offset'.
3608 (charset_get_byte1): New implementation [delete specific charset
3609 depended implementations].
3610 (Fmake_charset): Modify for `make_charset'.
3611 (Fmake_reverse_direction_charset): Likewise.
3612 (complex_vars_of_mule_charset): Likewise.
3614 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3616 (CHARSET_UCS_MIN): New macro.
3617 (CHARSET_UCS_MAX): New macro.
3618 (CHARSET_CODE_OFFSET): New macro.
3619 (MAKE_CHAR): Delete charset depended definitions [except
3622 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3624 * char-ucs.h (breakup_char_1): Use
3625 `Vdefault_coded_charset_priority_list' for C0-Controls,
3626 Basic-Latin, C1-Controls and Latin-1-Supplement area.
3628 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3630 * char-ucs.h (charset_get_byte1): New function.
3631 (XCHARSET_GET_BYTE1): Deleted.
3632 (charset_get_byte2): New function.
3633 (XCHARSET_GET_BYTE2): Deleted.
3634 (Vdefault_coded_charset_priority_list): New external variable.
3635 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
3636 `Vdefault_preferred_coded_charset_list'.
3638 * mule-charset.c (charset_get_byte1): New function.
3639 (charset_get_byte2): New function.
3640 (Vdefault_coded_charset_priority_list): New variable.
3641 (vars_of_mule_charset): Add new variable
3642 `default-coded-charset-priority-list'.
3644 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3646 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
3647 (XCHARSET_GET_BYTE2): New inline function.
3648 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
3649 `XCHARSET_GET_BYTE2'.
3651 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3653 * mule-charset.c (make_charset): Initialize
3654 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
3655 NULL if table is not defined.
3657 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3659 * text-coding.c (char_encode_shift_jis): Use
3660 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
3661 `ucs_to_latin_jisx0201'.
3663 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
3664 (ucs_to_latin_iso8859_2): Deleted.
3665 (ucs_to_latin_iso8859_3): Deleted.
3666 (ucs_to_latin_iso8859_4): Deleted.
3667 (ucs_to_latin_iso8859_9): Deleted.
3668 (ucs_to_latin_viscii_lower): Deleted.
3669 (ucs_to_latin_viscii_upper): Deleted.
3670 (ucs_to_latin_tcvn5712): Deleted.
3671 (make_charset): Add new argument `decoding_table'; set up
3672 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
3673 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
3674 `decoding_table' is defined in UTF-2000.
3675 (Fmake_charset): Modify for `make_charset'.
3676 (Fmake_reverse_direction_charset): Likewise.
3677 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
3678 and `GENERATE_96_SET'.
3680 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
3681 (ucs_to_latin_jisx0201): Deleted.
3682 (latin_iso8859_2_to_ucs): Deleted.
3683 (ucs_to_latin_iso8859_2): Deleted.
3684 (latin_iso8859_3_to_ucs): Deleted.
3685 (ucs_to_latin_iso8859_3): Deleted.
3686 (latin_iso8859_4_to_ucs): Deleted.
3687 (ucs_to_latin_iso8859_4): Deleted.
3688 (latin_iso8859_9_to_ucs): Deleted.
3689 (ucs_to_latin_iso8859_9): Deleted.
3690 (latin_viscii_lower_to_ucs): Deleted.
3691 (ucs_to_latin_viscii_lower): Deleted.
3692 (latin_viscii_upper_to_ucs): Deleted.
3693 (ucs_to_latin_viscii_upper): Deleted.
3694 (struct Lisp_Charset): Renamed `encoding_table' to
3695 `to_byte1_table'; add `to_byte2_table'.
3696 (CHARSET_DECODING_TABLE): New macro.
3697 (CHARSET_TO_BYTE1_TABLE): New macro.
3698 (CHARSET_TO_BYTE2_TABLE): New macro.
3699 (XCHARSET_DECODING_TABLE): New macro.
3700 (XCHARSET_TO_BYTE1_TABLE): New macro.
3701 (XCHARSET_TO_BYTE2_TABLE): New macro.
3702 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
3704 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
3705 don't use `ucs_to_*' tables.
3707 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3709 * text-coding.c (Fmake_coding_system): Don't set up
3710 `codesys->fixed.size'.
3711 (encode_coding_no_conversion): Use `if' instead of `switch'.
3713 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
3715 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3717 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
3718 (Fmake_charset): Modify for `make_charset'.
3719 (Fmake_reverse_direction_charset): Likewise.
3720 (complex_vars_of_mule_charset): Likewise.
3722 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3724 * text-coding.c (char_encode_shift_jis): Use table
3725 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
3727 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3729 * text-coding.c (text_encode_generic): Use `if' instead of
3731 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
3734 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3736 * text-coding.c (encode_coding_sjis): Deleted.
3737 (char_encode_shift_jis): New function.
3738 (char_finish_shift_jis): New function.
3739 (reset_encoding_stream): Set up `encode_char' and `finish' for
3740 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
3741 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
3742 (char_encode_utf8): Treat `eol_type'.
3744 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3746 * file-coding.c (decode_coding_iso2022): Use
3747 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
3749 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3751 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3754 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3756 * char-lb.h (CHAR_COLUMNS): New macro.
3758 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3760 * text-coding.c (char_encode_ucs4): New function.
3761 (char_finish_ucs4): New function.
3762 (encode_coding_ucs4): Deleted.
3763 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
3764 (text_encode_generic): Delete local variable `charset' and `half'.
3765 (ucs_to_mule_table): Deleted.
3766 (mule_to_ucs_table): Deleted.
3767 (Fset_ucs_char): Deleted.
3768 (ucs_to_char): Deleted.
3769 (Fucs_char): Deleted.
3770 (Fset_char_ucs): Deleted.
3771 (Fchar_ucs): Deleted.
3772 (decode_ucs4): Deleted.
3773 (mule_char_to_ucs4): Deleted.
3774 (encode_ucs4): Deleted.
3775 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
3776 (decode_coding_utf8): Likewise.
3777 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
3778 (char_encode_iso2022): Fixed.
3779 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
3780 `Fset_char_ucs' and `Fchar_ucs'.
3781 (complex_vars_of_file_coding): Don't initialize
3782 `ucs_to_mule_table'.
3784 * objects-tty.c (tty_initialize_font_instance): Don't use
3787 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
3790 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
3791 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3793 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
3794 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3795 (emchar_string_displayed_columns): Likewise.
3797 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
3798 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
3799 (string_column_at_point): Likewise.
3800 (Fmove_to_column): Likewise.
3802 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
3803 `encoding_table' and `decoding_table'.
3804 (CHARSET_REP_BYTES): Deleted.
3805 (XCHARSET_REP_BYTES): Deleted.
3806 (XCHARSET_COLUMNS): Deleted.
3807 (CHAR_COLUMNS): New macro.
3808 (lookup_composite_char): Deleted unconditionally.
3809 (composite_char_string): Likewise.
3811 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3813 * char-ucs.h (Emchar_to_byte_table): New type.
3814 (get_byte_from_character_table): New function interface.
3815 (Vcharset_latin_jisx0201): New variable.
3816 (latin_jisx0201_to_ucs): New variable.
3817 (ucs_to_latin_jisx0201): New variable.
3818 (Vcharset_latin_iso8859_2): New variable.
3819 (latin_iso8859_2_to_ucs): New variable.
3820 (ucs_to_latin_iso8859_2): New variable.
3821 (Vcharset_latin_iso8859_3): New variable.
3822 (latin_iso8859_3_to_ucs): New variable.
3823 (ucs_to_latin_iso8859_3): New variable.
3824 (Vcharset_latin_iso8859_4): New variable.
3825 (latin_iso8859_4_to_ucs): New variable.
3826 (ucs_to_latin_iso8859_4): New variable.
3827 (Vcharset_latin_iso8859_9): New variable.
3828 (latin_iso8859_9_to_ucs): New variable.
3829 (ucs_to_latin_iso8859_9): New variable.
3830 (Vcharset_latin_viscii_lower): New variable.
3831 (latin_viscii_lower_to_ucs): New variable.
3832 (ucs_to_latin_viscii_lower): New variable.
3833 (Vcharset_latin_viscii_upper): New variable.
3834 (latin_viscii_upper_to_ucs): New variable.
3835 (ucs_to_latin_viscii_upper): New variable.
3836 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
3837 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
3838 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
3839 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
3840 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
3841 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
3842 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
3843 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
3844 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
3845 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
3847 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
3848 (Vcharset_latin_viscii_upper): New variable.
3849 (make_byte_from_character_table): New function.
3850 (put_byte_from_character_table): New function.
3851 (get_byte_from_character_table): New function.
3852 (CHAR96): New macro.
3853 (ucs_to_latin_jisx0201): New variable.
3854 (latin_jisx0201_to_ucs): New variable.
3855 (ucs_to_latin_iso8859_2): New variable.
3856 (latin_iso8859_2_to_ucs): New variable.
3857 (ucs_to_latin_iso8859_3): New variable.
3858 (latin_iso8859_3_to_ucs): New variable.
3859 (ucs_to_latin_iso8859_4): New variable.
3860 (latin_iso8859_4_to_ucs): New variable.
3861 (ucs_to_latin_iso8859_9): New variable.
3862 (latin_iso8859_9_to_ucs): New variable.
3863 (ucs_to_latin_viscii_lower): New variable.
3864 (latin_viscii_lower_to_ucs): New variable.
3865 (ucs_to_latin_viscii_upper): New variable.
3866 (latin_viscii_upper_to_ucs): New variable.
3867 (ucs_to_latin_tcvn5712): New variable.
3868 (latin_tcvn5712_to_ucs): New variable.
3869 (Qlatin_viscii_lower): New variable.
3870 (Qlatin_viscii_upper): New variable.
3871 (syms_of_mule_charset): Set up new symbol
3872 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3873 (complex_vars_of_mule_charset): Set up new charset
3874 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3875 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3876 `ucs_to_<CHARSET>' tables.
3878 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3880 * text-coding.c: New file.
3882 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3884 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3886 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3887 (MAKE_CHAR): Modify for `ucs-bmp'.
3888 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3889 non-MULE characters of BMP.
3891 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3893 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3896 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3899 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3900 - Include character.h for `CHAR_ASCII_P'.
3902 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3904 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3905 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3907 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3908 (BYTE_C0_P): Likewise.
3909 (BYTE_C1_P): Likewise.
3910 (Lstream_get_emchar_1): Likewise.
3911 (Lstream_fput_emchar): Likewise.
3912 (Lstream_funget_emchar): Likewise.
3913 (copy_internal_to_external): Likewise.
3914 (copy_external_to_internal): Likewise.
3916 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3917 (BYTE_C0_P): Likewise.
3918 (BYTE_C1_P): Likewise.
3919 (Lstream_get_emchar_1): Likewise.
3920 (Lstream_fput_emchar): Likewise.
3921 (Lstream_funget_emchar): Likewise.
3922 (copy_internal_to_external): Likewise.
3923 (copy_external_to_internal): Likewise.
3925 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3926 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3928 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3929 (BYTE_ASCII_P): Moved to mb-1byte.h.
3931 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3933 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3935 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3936 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3937 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3938 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3939 (VALIDATE_CHARPTR_FORWARD): Likewise.
3940 (simple_charptr_emchar): Moved to mb-multibyte.h.
3941 (simple_set_charptr_emchar): Likewise.
3942 (simple_charptr_copy_char): Likewise.
3943 (non_ascii_charptr_emchar): Likewise.
3944 (non_ascii_set_charptr_emchar): Likewise.
3945 (non_ascii_charptr_copy_char): Likewise.
3946 (charptr_emchar): Moved to mb-*byte.h.
3947 (set_charptr_emchar): Likewise.
3948 (charptr_copy_char): Likewise.
3950 * mb-1byte.h, mb-multibyte.h: New files.
3952 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3954 * mb-utf-8.h (MULTIBYTE): New macro.
3955 (MAX_EMCHAR_LEN): Moved from buffer.h.
3956 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3958 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3960 * mb-lb.h, multibyte.h: New files.
3962 * char-1byte.h (Charset_ID): Moved from buffer.h.
3963 (MIN_LEADING_BYTE): Likewise.
3964 (LEADING_BYTE_ASCII): Likewise.
3965 (NUM_LEADING_BYTES): Likewise.
3966 (CHARSETP): Likewise.
3967 (CHARSET_BY_LEADING_BYTE): Likewise.
3968 (XCHARSET_LEADING_BYTE): Likewise.
3969 (XCHARSET_GRAPHIC): Likewise.
3970 (XCHARSET_COLUMNS): Likewise.
3971 (XCHARSET_DIMENSION): Likewise.
3972 (CHAR_CHARSET): Likewise.
3973 (CHAR_LEADING_BYTE): Likewise.
3974 (BREAKUP_CHAR): Likewise.
3975 (Vcharset_ascii): Likewise.
3977 * buffer.h: Include multibyte.h unconditionally.
3978 (VALID_CHARPTR_P): Moved to multibyte.h.
3979 (ASSERT_VALID_CHARPTR): Likewise.
3980 (REAL_INC_CHARPTR): Likewise.
3981 (REAL_INC_CHARBYTIND): Likewise.
3982 (REAL_DEC_CHARPTR): Likewise.
3983 (INC_CHARPTR): Likewise.
3984 (INC_CHARBYTIND): Likewise.
3985 (DEC_CHARPTR): Likewise.
3986 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3987 (VALIDATE_CHARPTR_FORWARD): Likewise.
3988 (charptr_n_addr): Likewise.
3989 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3990 (simple_charptr_emchar): Moved to multibyte.h.
3991 (simple_set_charptr_emchar): Likewise.
3992 (simple_charptr_copy_char): Likewise.
3993 (non_ascii_charptr_emchar): Likewise.
3994 (non_ascii_set_charptr_emchar): Likewise.
3995 (non_ascii_charptr_copy_char): Likewise.
3996 (charptr_emchar): Likewise.
3997 (set_charptr_emchar): Likewise.
3998 (charptr_copy_char): Likewise.
3999 (charptr_emchar_n): Likewise.
4000 (Charset_ID): Moved to char-1byte.h.
4001 (Vcharset_ascii): Likewise.
4002 (CHAR_CHARSET): Likewise.
4003 (CHAR_LEADING_BYTE): Likewise.
4004 (LEADING_BYTE_ASCII): Likewise.
4005 (NUM_LEADING_BYTES): Likewise.
4006 (MIN_LEADING_BYTE): Likewise.
4007 (CHARSETP): Likewise.
4008 (CHARSET_BY_LEADING_BYTE): Likewise.
4009 (XCHARSET_LEADING_BYTE): Likewise.
4010 (XCHARSET_GRAPHIC): Likewise.
4011 (XCHARSET_COLUMNS): Likewise.
4012 (XCHARSET_DIMENSION): Likewise.
4013 (BREAKUP_CHAR): Likewise.
4015 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4017 * character.h: Add document about interface for characters.
4019 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4020 (MAKE_CHAR): Delete comment about
4021 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4022 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4023 (BREAKUP_CHAR): Modify name of arguments.
4024 (CHAR_CHARSET): Modify name of argument.
4026 * buffer.h: Delete document about Emchar accessors.
4028 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4030 * character.h (CHAR_INTP): Moved from buffer.h
4031 (CHAR_OR_CHAR_INTP): Likewise.
4032 (XCHAR_OR_CHAR_INT): Likewise.
4033 (CHECK_CHAR_COERCE_INT): Likewise.
4035 * buffer.h (CHAR_INTP): Moved to character.h
4036 (CHAR_OR_CHAR_INTP): Likewise.
4037 (XCHAR_OR_CHAR_INT): Likewise.
4038 (CHECK_CHAR_COERCE_INT): Likewise.
4040 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4043 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4044 - Include char-1byte.h, char-lb.h or char-ucs.h.
4046 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4048 * buffer.h: Include character unconditionally.
4049 (valid_char_p): Moved to char-*.h.
4050 (non_ascii_valid_char_p): Moved to char-lb.h.
4052 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4054 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4056 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4057 in UTF-2000 because it is not ported yet and not to use
4058 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4059 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4060 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4062 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4063 (CHAR_ASCII_P): Moved from character.h.
4065 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4066 (CHAR_ASCII_P): Likewise.
4067 (CHAR_FIELD1_MASK): Deleted.
4068 (CHAR_FIELD2_MASK): Deleted.
4069 (CHAR_FIELD3_MASK): Deleted.
4070 (MAX_CHAR_BASIC_LATIN): New macro.
4071 (CHAR_FIELD1): Deleted.
4072 (CHAR_FIELD2_INTERNAL): Deleted.
4073 (CHAR_FIELD3_INTERNAL): Deleted.
4074 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4075 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4076 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4077 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4078 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4079 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4080 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4081 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4082 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4083 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4084 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4085 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4086 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4087 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4088 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4089 (MIN_CHAR_COMPOSITION): Deleted.
4090 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4091 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4093 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4095 * buffer.h: Include mb-utf-8.h in UTF-2000.
4097 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4099 * mb-utf-8.h: New file.
4101 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4103 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4106 * mule-charset.h, buffer.h (Charset_ID): New type.
4108 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4110 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4111 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4112 instead of `MULE_CHAR_PRIVATE_OFFSET',
4113 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4114 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4115 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4117 * character.h (Vcharset_japanese_jisx0212): New variable
4120 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4122 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4123 (charset_by_attributes): Delete array about direction.
4124 (latin_a_char_to_charset): New variable in UTF-2000.
4125 (latin_a_char_to_byte1): New variable in UTF-2000.
4126 (latin_a_char_to_byte2): New variable in UTF-2000.
4127 (Qucs_bmp): New variable.
4128 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4130 (next_allocated_2_byte_leading_byte): Likewise.
4131 (non_ascii_set_charptr_emchar): Likewise.
4132 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4133 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4134 `charset_by_attributes'.
4135 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4136 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4137 and `CHARSET_BY_LEADING_BYTE'.
4138 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4139 `utf-2000-version' to `vars_of_mule_charset'.
4140 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4141 define `leading-code-private-11' in UTF-2000; move setting of
4142 `utf-2000-version' from `syms_of_mule_charset'.
4143 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4146 * character.h (Charset_ID): New type.
4147 (LEADING_BYTE_UCS_BMP): New macro.
4148 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4149 (CHARSET_ID_OFFSET_94): New macro.
4150 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4151 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4152 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4154 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4155 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4156 (CHARSET_ID_OFFSET_96): New macro.
4157 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4158 CHARSET_ID_OFFSET_96 and final-byte.
4159 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4160 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4161 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4162 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4163 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4164 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4165 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4166 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4167 (LEADING_BYTE_THAI_TIS620): Likewise.
4168 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4169 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4170 (CHARSET_ID_OFFSET_94x94): New macro.
4171 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4172 CHARSET_ID_OFFSET_94x94 and final-byte.
4173 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
4174 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
4175 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
4176 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
4177 (LEADING_BYTE_CHINESE_GB2312): Likewise.
4178 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
4179 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
4180 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
4181 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
4182 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
4183 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
4184 (CHARSET_TYPE_128X128): New macro.
4185 (CHARSET_TYPE_256X256): New macro.
4186 (XCHARSET_PRIVATE_P): Delete unconditionally.
4187 (charset_by_attributes): Delete array about direction.
4188 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
4189 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
4190 (MIN_CHAR_94): New macro.
4191 (MAX_CHAR_94): New macro.
4192 (MIN_CHAR_96): New macro.
4193 (MAX_CHAR_96): New macro.
4194 (MIN_CHAR_94x94): New macro.
4195 (MAX_CHAR_94x94): New macro.
4196 (MIN_CHAR_96x96): New macro.
4197 (MAX_CHAR_96x96): New macro.
4198 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
4199 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4200 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
4202 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
4203 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
4204 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
4205 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
4206 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
4207 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
4208 `XCHARSET_LEADING_BYTE' to make code-point.
4209 (latin_a_char_to_charset): New variable.
4210 (latin_a_char_to_byte1): New variable.
4211 (latin_a_char_to_byte2): New variable.
4212 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4213 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4214 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4216 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4217 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4218 (find_charsets_in_emchar_string): Likewise.
4219 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4221 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4223 (decode_coding_iso2022): Likewise.
4225 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4228 * redisplay.c (redisplay_text_width_emchar_string): Use
4229 `Charset_ID' instead of `unsigned char'.
4230 (redisplay_frame_text_width_string): Likewise.
4232 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4235 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4236 instead of `unsigned char'.
4237 (face_cachel_charset_font_metric_info): Likewise.
4239 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4240 (get_non_ascii_char_table_value): Likewise.
4241 (get_char_table): Likewise.
4242 (put_char_table): Likewise.
4243 (map_over_other_charset): Likewise.
4244 (map_char_table): Likewise.
4246 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4247 instead of `unsigned char'.
4249 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4251 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4252 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4254 * mule-charset.c (leading_code_private_11): Don't define in
4257 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4258 in UTF-2000 because it is not ported yet and not to use
4259 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4261 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4263 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4265 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4267 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4270 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4271 of unsigned char to store leading-byte.
4273 * chartab.c (get_non_ascii_char_table_value): Don't use
4274 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4276 * file-coding.c (encode_coding_big5): Delete bogus implementation
4279 * character.h (LEADING_BYTE_*): Delete definition for
4281 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4282 (LEADING_BYTE_PREFIX_P): Deleted.
4283 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4284 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4285 (BUFBYTE_LEADING_BYTE_P): Deleted.
4286 (CHARSET_PRIVATE_P): Deleted unconditionally.
4287 (rep_bytes_by_first_byte): Deleted unconditionally.
4288 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4289 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4290 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4291 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4292 (CHAR_FIELD2): Deleted.
4293 (CHAR_FIELD3): Deleted.
4294 (MAKE_CHAR): Delete definition for non-UTF-2000.
4295 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4296 (breakup_char_1): New implementation.
4297 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4298 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4300 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4302 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4305 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4307 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4308 (CHARSET_PRIVATE_P): Likewise.
4309 (XCHARSET_PRIVATE_P): Likewise.
4310 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4312 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4314 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4316 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4318 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4319 (NUM_LEADING_BYTES): Changed from 128 to 256.
4320 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4321 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4323 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4325 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4327 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4328 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4329 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4330 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4331 (Qchinese_cns11643_3): New variable in UTF2000.
4332 (Qchinese_cns11643_4): New variable in UTF2000.
4333 (Qchinese_cns11643_5): New variable in UTF2000.
4334 (Qchinese_cns11643_6): New variable in UTF2000.
4335 (Qchinese_cns11643_7): New variable in UTF2000.
4336 (syms_of_mule_charset): Define `chinese-cns11643-3',
4337 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4338 and `chinese-cns11643-7' in UTF2000.
4339 (vars_of_mule_charset): Initialize
4340 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4342 (complex_vars_of_mule_charset): Setup charset
4343 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4344 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4346 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4348 * mule-charset.c: Move setting for `leading-code-private-11' from
4349 `syms_of_mule_charset' to `vars_of_mule_charset'.
4351 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4353 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4354 and `NUM_LEADING_BYTES' in assert.
4356 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4358 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4360 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4361 `NUM_LEADING_BYTES' instead of 128.
4363 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4365 * mule-charset.h (charset_by_leading_byte): Use
4366 `NUM_LEADING_BYTES' instead of 128.
4367 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4369 * mule-charset.c (charset_by_leading_byte): Use
4370 `NUM_LEADING_BYTES' instead of 128.
4371 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4373 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4376 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4378 * mule-charset.c (syms_of_mule_charset): Update to
4381 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4383 * file-coding.c (encode_coding_sjis): New implementation for
4384 UTF2000. (decode_coding_sjis): Ditto.
4386 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4388 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4389 Don't define in UTF2000.
4391 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4394 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4395 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4398 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4400 * config.h.in (CHAR_IS_UCS4): New macro.
4402 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4403 conventional MULE representation.
4404 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4406 * mule-charset.h: Reverted to original.
4408 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4409 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4410 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4412 * character.h: New file.
4414 * file-coding.c (Fmake_coding_system): Set 1 to
4415 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4417 (encode_coding_no_conversion): New implementation for UTF2000.
4419 * file-coding.h (struct Lisp_Coding_System): Add new member
4422 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4424 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4425 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4426 (encode_coding_iso2022): New implementation for UTF2000.
4428 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4430 * mule-canna.c (c2mu): New implementation for UTF2000.
4433 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4435 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4437 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4439 * file-coding.c (reset_encoding_stream): Set 0 to
4440 `str->iso2022.current_char_boundary' in UTF2000.
4441 (encode_utf8): Don't define in UTF2000.
4442 (encode_coding_utf8): New implementation for UTF-8 representation
4444 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4446 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4448 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4450 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4452 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4454 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4456 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4457 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4458 as UTF-8 in UTF2000.
4459 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4460 (non_ascii_valid_char_p): Don't define in UTF2000.
4461 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4462 (Lstream_get_emchar_1): Likewise.
4463 (utf-2000-version): New variable in UTF2000.
4465 * lread.c (read_escape): Add new reader `u'.
4467 * insdel.c (three_to_one_table): Don't define in UTF2000.
4468 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4469 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4471 (bytind_to_bufpos_func): Likewise.
4472 (buffer_mule_signal_inserted_region): Likewise.
4473 (vars_of_insdel): Don't initialize `three_to_one_table'.
4474 (init_buffer_text): Use `buf->text->mule_size' instead of
4475 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4478 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4479 UTF-8 representation in UTF2000.
4480 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4481 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4482 (decode_coding_iso2022): Don't define local variable `lb' in
4483 UTF2000; don't use LEADING_BYTE in UTF2000; use
4484 `DECODE_ADD_UCS_CHAR' in UTF2000.
4485 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4487 * config.h.in (UTF2000): New macro.
4489 * buffer.h (struct buffer_text): Add new member `mule_size' and
4490 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4491 (valid_char_p): Return always 1 in UTF2000.
4492 (MAX_EMCHAR_LEN): 6 in UTF2000.
4493 (three_to_one_table): Don't define in UTF2000.
4494 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4496 (real_bytind_to_bufpos): Likewise.
4498 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4500 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4502 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4503 representation change.
4504 (Vutf_2000_version): New variable.
4505 (leading_code_private_11): New variable.
4506 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4507 `leading-code-private-11'.
4509 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4510 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4511 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4512 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4513 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4514 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4515 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4516 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4517 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4518 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4519 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4520 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4521 (MIN_CHAR_GREEK): New macro.
4522 (MAX_CHAR_GREEK): New macro.
4523 (MIN_CHAR_CYRILLIC): New macro.
4524 (MAX_CHAR_CYRILLIC): New macro.
4525 (MIN_CHAR_HEBREW): New macro.
4526 (MAX_CHAR_HEBREW): New macro.
4527 (MIN_CHAR_THAI): New macro.
4528 (MAX_CHAR_THAI): New macro.
4529 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4530 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4531 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4532 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4533 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4534 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4535 (CHAR_FIELD2): New inline function.
4536 (CHAR_FIELD3): New inline function.
4537 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4538 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4539 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4540 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4541 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4542 (MIN_CHAR_COMPOSITION): Likewise.
4543 (CHAR_LEADING_BYTE): Modified for character representation change.
4544 (MAKE_CHAR): Likewise.
4546 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4547 (Vcharset_greek_iso8859_7): Likewise.
4548 (Vcharset_cyrillic_iso8859_5): Likewise.
4549 (Vcharset_hebrew_iso8859_8): Likewise.
4550 (Vcharset_thai_tis620): Likewise.
4551 (Vcharset_katakana_jisx0201): Likewise.
4553 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
4555 * XEmacs 21.4.10 "Military Intelligence" is released.
4557 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
4559 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
4560 using the NAS private array SoundFileInfo that no longer exists in
4561 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
4562 and earlier. This is broken for some versions between 1.5a and
4565 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
4567 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
4569 * emacs.c (shut_down_emacs): Improve crash message.
4571 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
4573 * file-coding.c (determine_real_coding_system): Check for coding
4574 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
4575 shebangs and Python PEP 263.
4577 2002-10-08 Andy Piper <andy@xemacs.org>
4579 * glyphs-widget.c (layout_query_geometry): only resize dynamically
4580 if static sizes haven't been set.
4582 2002-08-30 Mike Alexander <mta@arbortext.com>
4584 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
4587 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
4589 * callproc.c (child_setup): 21.4 doesn't have retry_close.
4591 2002-09-20 Mike Sperber <mike@xemacs.org>
4593 (This partially gets back my patch from 2002-07-20 without the
4595 * callproc.c (child_setup): Remove Ben's comment noting confusion
4596 over the file descriptors >= 3: close_process_descs() doesn't
4597 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
4598 * process-unix.c (unix_create_process): Call
4599 begin_dont_check_for_quit to inhibit unwanted interaction (and
4600 thus breaking of X event synchronicity) in the child.
4602 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
4604 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
4607 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
4609 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
4610 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
4611 the xemacs process did not exit, but looped infinitely here. This
4614 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
4616 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
4617 (find_context): Improve comments.
4619 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
4620 (re_match_2): An XCHAR_TABLE operation was missing.
4622 Many of the following changes were inspired by Andy Piper's (now
4623 obsolete) patch to make syntax-table text property lookup optional.
4627 * syntax.h (top level): Document semantics of syntax flags.
4628 * syntax.c (comstr_start, Fforward_comment): Improve comments.
4629 * syntax.c, syntax.h (top level): Document syntax cache better in
4632 [Instrument syntax caching (temporary change)]
4634 * syntax.h (enum syntax_cache_statistics_functions, struct
4635 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
4636 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
4637 * syntax.c (scan_words, Fforward_comment, scan_lists,
4638 Fbackward_prefix_characters):
4639 * font-lock.c (find_context):
4640 Use them to instrument syntax caching.
4641 * syntax.c (struct syntax_cache_statistics, scs_statistics,
4642 syntax_cache_statistics_function_names): New type and variables.
4643 * syntax.c (update_syntax_cache): Update and report statistics.
4645 [Major syntax cache optimizations]
4647 syntax.c (lookup_syntax_properties): Default off.
4649 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
4650 * syntax.c (update_syntax_cache):
4651 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
4653 [Minor syntax cache optimizations and code clarifications]
4655 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
4656 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
4657 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
4658 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
4659 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
4660 (Code clarification.)
4662 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
4663 scan_lists): Compute code from syncode, use Boolean macros instead
4664 of redundant masking operations. (Code clarification; any decent
4665 compiler can do this optimization.)
4667 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
4670 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
4671 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
4672 use F*_single_property_change instead of F*_extent_change.
4673 Currently F*_single_property_change is _much_ less efficient.
4675 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
4676 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
4677 syntax_cache.object properly, don't leave Qt or Qnil.
4678 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
4679 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
4680 tests for Qt or Qnil.
4682 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
4684 * redisplay.c (point_in_line_start_cache):
4685 * extents.c (print_extent_1):
4688 * extents.c (Fset_extent_property): Document `syntax-table' property.
4690 * extents.h (Fnext_single_property_change): EXFUN it.
4692 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
4694 * search.c (clear_unused_search_regs): New static function.
4698 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
4699 Minor clarifications in comments.
4701 * regex.c (re_match_2_internal): Ensure no stale submatches.
4703 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
4705 * event-Xt.c (enqueue_focus_event): Add missing prototype.
4707 2002-08-29 Jerry James <james@xemacs.org>
4709 * lisp.h: structrures -> structures.
4711 2002-06-03 Andy Piper <andy@xemacs.org>
4713 * frame.c (frame_conversion_internal): add conversion appropriate
4714 for setting frame dimensions in pixels.
4716 * console.h (struct console_methods): add device-specific widget
4719 * emacs.c (main_1): initialize glyph vars.
4721 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
4722 (handle_focus_event_2): new function. Allow focus to
4723 be set to a particular window and widget.
4724 (enqueue_focus_event): new function. Create a
4725 synthetic focus event.
4726 (emacs_Xt_handle_magic_event): call
4727 handle_focus_event_2.
4729 * frame.c (Fset_frame_pixel_height): new function. Allow
4730 pixel-based sizing. Does the right thing on character-oriented
4732 (Fset_frame_pixel_width): ditto.
4733 (Fset_frame_pixel_size): ditto.
4734 (syms_of_frame): declare.
4736 * general-slots.h: add :vertically-justify and
4737 :horizontally-justify.
4739 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
4740 (mswindows_widget_border_width): new function.
4741 (mswindows_combo_box_instantiate): set border widths.
4742 (console_type_create_glyphs_mswindows): declare.
4745 (check_valid_justification): allow vertical and horizontal
4747 (widget_border_width): new function. Call device methods.
4748 (widget_instance_border_width): ditto.
4749 (logical_unit_height): new function. Determine the height of a
4750 logical-unit. Logical units are intended to provide grid-like
4751 layout for subcontrols in a layout. If the layout is
4752 :vertically-justify top then subcontrols will be positioned on
4753 logical-unit boundaries, thus allowing adjacent subcontrols to
4755 (widget_logical_unit_height): ditto for widgets.
4756 (redisplay_widget): misc cleanup.
4757 (widget_spacing): new function. Call device specific
4758 methods. Intended to be the default gap between adjacent widgets.
4759 (widget_query_geometry): use new spacing functions to determine
4760 appropriate geometry.
4761 (initialize_widget_image_instance): initialize horizontal and
4762 vertical justification.
4763 (widget_instantiate): use logica-units where appropriate for
4764 sizing large widgets.
4765 (button_query_geometry): use widget_instance_border_width.
4766 (tree_view_query_geometry): ditto.
4767 (tab_control_query_geometry): ditto.
4768 (edit_field_query_geometry): new function.
4769 (layout_update): pick up :justify, :horizontally-justify and
4770 :vertically-justify none of which worked previously. :justify is
4771 used as a fallback for both horizontal and vertical justification.
4772 (layout_query_geometry): use logical units to size appropriately.
4773 (layout_layout): ditto.
4774 (Fwidget_logical_to_character_width): new function. Allow users to
4775 convert from logical units to characters so that frame sizes can
4776 be set appropriately.
4777 (Fwidget_logical_to_character_height): ditto.
4778 (syms_of_glyphs_widget): declare.
4779 (image_instantiator_edit_fields): add edit_field_query_geometry.
4780 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
4781 :horizontally-justify.
4782 (specifier_vars_of_glyphs_widget): new function. Declare
4783 Vwidget_border_width which is not yet used.
4785 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
4786 (x_widget_border_width): new function.
4787 (x_widget_instantiate): create a sensible name for widgets.
4788 (console_type_create_glyphs_x): declare x_widget_border_width.
4790 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
4791 (struct Lisp_Image_Instance): add :vertically-justify and
4792 :horizontally-justify.
4793 (LAYOUT_JUSTIFY_TOP): new.
4794 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
4795 (ROUND_UP): new macro. Round argument up to next integral
4798 * redisplay-output.c (redisplay_output_layout): misc formatting.
4800 * symsinit.h: declare specifier_vars_of_glyphs_widget.
4802 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
4804 * XEmacs 21.4.9 "Informed Management" is released.
4806 2002-08-19 Andy Piper <andy@xemacs.org>
4808 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
4811 * realpath.c (xrealpath): normalize drive spec also so that dir
4812 sep chars are not mixed on cygwin.
4814 2002-08-06 Jerry James <james@xemacs.org>
4816 * window.c (Fsplit_window): Count only half of the divider width
4817 against the left window when splitting horizontally.
4819 2002-06-24 Andy Piper <andy@xemacs.org>
4821 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
4822 toolbar was cleared.
4824 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
4825 function. Split out from mswindows_output_frame_toolbars.
4826 (mswindows_output_frame_toolbars): move clear pieces to
4827 mswindows_output_frame_toolbars.
4829 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
4830 out from gtk_output_frame_toolbars.
4831 (gtk_output_frame_toolbars): move clear pieces to
4832 gtk_clear_frame_toolbars.
4834 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
4835 the frame is cleared. How this ever worked before is a mystery.
4836 (x_output_frame_toolbars): Only output toolbars.
4837 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
4839 * gutter.c (update_gutter_geometry):
4840 Mark frame layout changed.
4841 (update_frame_gutter_geometry, update_frame_gutters):
4842 Respect frame_layout_changed.
4844 * console.h (struct console_methods): add
4845 clear_frame_toolbars_method.
4847 * redisplay.c (redisplay_frame): call
4848 update_frame_toolbars_geometry and re-order update_frame_toolbars.
4850 * toolbar.h: declare update_frame_toolbars_geometry.
4852 * toolbar.c (update_frame_toolbars_geometry): new function. Split
4853 out from update_frame_toolbars. Call clear_frame_toolbars.
4854 (update_frame_toolbars): only output, do not change geometry.
4856 * redisplay.c: add frame_layout_changed.
4858 * redisplay.h: add frame_layout_changed.
4859 (CLASS_RESET_CHANGED_FLAGS): set it.
4860 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
4861 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
4862 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
4864 * device.h (struct device): add frame_layout_changed.
4865 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
4867 * frame.h (struct frame): add frame_layout_changed.
4868 (MARK_FRAME_LAYOUT_CHANGED): new.
4870 2002-06-30 Mike Alexander <mta@arbortext.com>
4872 * event-msw.c (mswindows_need_event): Don't wait for a new message
4873 if the queue is not empty. Suggested by Paul Moore.
4875 2002-06-12 Andy Piper <andy@xemacs.org>
4877 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
4878 for printing on accurately.
4880 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
4882 * event-msw.c (mswindows_wnd_proc): Add a handler for the
4883 WM_ACTIVATE message. Make sure that the frame is visible if the
4884 window is visible. This seemss to fix the problem where XEmacs
4885 appears to freeze after switching desktops with certain virtual
4887 (debug_output_mswin_message): Added code to output message
4888 parameters for WM_WINDOWPOSCHANGED,
4889 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
4891 2002-05-25 Andy Piper <andy@xemacs.org>
4893 * select-x.c (vars_of_select_x): Fix docstring of
4894 x-selection-strict-motif-ownership
4896 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
4898 * keymap.c (get_keymap):
4899 Add comment about do_autoload GCPROs own args.
4901 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
4903 * bytecode.c (execute_optimized_program): check_opcode ifdef
4904 ERROR_CHECK_BYTE_CODE.
4906 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
4908 Thanks to Ben Wing and Michael Sperber.
4910 * eval.c (Fcommand_execute):
4913 (Fmacroexpand_internal):
4914 (function_argcount):
4915 callint.c (Fcall_interactively):
4916 Add comment about do_autoload GCPROs own args.
4918 * (do_autoload): GCPRO both args as well as local Lisp_Object.
4920 * eval.c (Ffuncall): Extra braces to placate GCC.
4922 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
4924 * backtrace.h (grow_specpdl):
4926 * EmacsFrame.c (EmacsFrameSetValues):
4927 * eval.c (grow_specpdl):
4928 * ExternalShell.c (hack_event_masks_1):
4929 * glyphs-x.c (convert_EImage_to_XImage):
4930 (x_finalize_image_instance):
4931 * ralloc.c (page_size):
4933 * xgccache.c (gc_cache_hash):
4934 Fix unsigned comparison warnings.
4936 2002-07-29 Jerry James <james@xemacs.org>
4938 * lread.c (locate_file): Any nonnegative return value indicates
4939 success if MODE is nonnegative.
4941 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
4943 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
4946 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
4948 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
4950 * dumper.c (pdump_get_indirect_count):
4951 (pdump_scan_by_alignment):
4952 (pdump_dump_root_struct_ptrs):
4953 (pdump_dump_rtables):
4954 (pdump_dump_root_objects):
4956 * nas.c (WaveOpenDataForReading):
4957 * fns.c (print_bit_vector):
4958 * font-lock.c (SINGLE_SYNTAX_STYLE):
4959 * glyphs.c (check_for_ignored_expose):
4960 (find_matching_subwindow):
4962 * imgproc.c (get_histogram):
4963 * redisplay.c (point_in_line_start_cache):
4964 * redisplay-output.c (redisplay_unmap_subwindows):
4965 * symbols.c (defsymbol_massage_name_1):
4966 (defkeyword_massage_name):
4967 (deferror_massage_name_and_message):
4968 * redisplay-x.c (x_output_string):
4969 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
4970 * frame.h (struct frame):
4971 * filelock.c (current_lock_owner):
4972 * doprnt.c (emacs_doprnt_1):
4973 * lisp.h (struct Lisp_Bit_Vector):
4977 2002-02-13 Ben Wing <ben@xemacs.org>
4979 * event-stream.c (reset_key_echo):
4980 * event-stream.c (reset_this_command_keys):
4981 * event-stream.c (execute_command_event):
4982 If console is dead as a result of C-x 5 0, then post-command stuff
4983 needs to be careful and do only non-console-specific stuff.
4985 2002-07-01 Mike Sperber <mike@xemacs.org>
4987 * process-unix.c (unix_send_process): Mark coding_outstream as
4988 non-open upon SIGPIPE.
4990 * event-stream.c (Fnext_event): Reorder switch cases to something
4993 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
4995 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
4996 Don't bogusly reinitialize ascii_character property.
4998 2002-07-08 Mike Sperber <mike@xemacs.org>
5000 * process.c (Fstart_process_internal): Do error checking before we
5001 fork off the child, so the child can't muck with the state of the
5004 2002-07-08 Mike Sperber <mike@xemacs.org>
5006 * ralloc.c (init_ralloc): Allocate properly for pdump.
5008 2002-06-12 Andy Piper <andy@xemacs.org>
5010 * glyphs.c (query_string_geometry): check the string.
5012 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5015 2002-06-17 Jerry James <james@xemacs.org>
5017 * sysdll.c: Remove RTLD_GLOBAL initialization.
5018 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5020 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5022 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5024 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5026 * sysdep.c (sys_rename): Make sys_rename work for the case where
5027 Windows rename sets errno to EACCES if target file exists.
5029 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
5031 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5032 Fix detection of metric units to work on Win95
5034 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
5036 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
5038 2002-04-25 Andy Piper <andy@xemacs.org>
5040 * redisplay.c (create_text_block): Remove extra comment trailer.
5042 2002-04-24 Andy Piper <andy@xemacs.org>
5044 * redisplay.c (create_text_block): Don't actually add propagation
5045 data if the line ends after we have added a glyph.
5047 2002-04-22 Andy Piper <andy@xemacs.org>
5049 * extents.c (extent_fragment_update): check for glyphs we have
5050 previously displayed.
5051 * extents.c (print_extent_1): warning removal.
5052 * extents.h: change prototype.
5053 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
5054 widths correctly for wide glyphs.
5055 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
5056 * redisplay.c (prop_type): add PROP_GLYPH.
5057 * redisplay.c (struct prop_block): add glyph type
5058 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
5059 to the propagation data.
5060 * redisplay.c (create_text_block): if there is a glyph in the
5061 propagation data use it to salt extent_fragment_update.
5062 * redisplay.c (create_string_text_block): ditto.
5064 2002-04-13 Nix <nix@esperi.demon.co.uk>
5066 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
5067 * redisplay-output.c (compare_runes): Compare them.
5068 * redisplay.c: Update copyright date.
5069 * redisplay.c (pos_data): Add need_baseline_computation field.
5070 * redisplay.c (add_glyph_rune): Update ascent, descent, and
5071 need_baseline_computation; zero yoffset. Set max_pixmap_height
5072 for all pixmaps, not just automatically positioned ones.
5073 * redisplay.c (calculate_yoffset): New, compute yoffset values.
5074 * redisplay.c (calculate_baseline): New, compute textual baseline.
5075 * redisplay.c (add_glyph_rune): Call them.
5076 * redisplay.c (create_text_block): Likewise.
5077 * redisplay.c (create_overlay_glyph_block): Likewise.
5078 * redisplay.c (add_margin_runes): Likewise.
5079 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
5081 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
5082 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
5083 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
5084 * redisplay-msw.c (mswindows_output_string): Likewise.
5085 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
5086 * redisplay-gtk.c (gtk_output_display_block): Likewise.
5087 * redisplay-x.c (x_output_display_block): Likewise.
5089 2002-03-28 Ben Wing <ben@xemacs.org>
5091 * redisplay.c: Fixed bug in redisplay
5092 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
5093 and down of the lines, since they're bigger than the line
5094 size. (It was seen most obviously when there's a horizontal scroll
5095 bar, e.g. do C-h a glyph or something like that.) The problem was
5096 that the glyph-contrib-p setting on glyphs was ignored even if it
5097 was set properly, which it wasn't until now.
5099 2002-04-24 Andy Piper <andy@xemacs.org>
5101 * lisp.h (Dynarr_end): Fix definition.
5103 2002-02-06 Adrian Aichner <adrian@xemacs.org>
5105 * redisplay.c (mark_redisplay): Remove call to
5106 update_frame_window_mirror.
5108 2001-11-15 Andy Piper <andy@xemacs.org>
5110 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
5113 2002-02-13 Andy Piper <andy@xemacs.org>
5115 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
5116 we did in fact enqueue the XM_MAPFRAME event.
5118 2002-01-15 Adrian Aichner <adrian@xemacs.org>
5120 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
5121 to fix problem switching between virtual desktops under virtuawin
5122 virtual window manager.
5124 2001-07-30 Adrian Aichner <adrian@xemacs.org>
5126 * event-msw.c: Typo fix.
5127 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
5128 magic XM_MAPFRAME event has been sent.
5130 2001-11-23 Andy Piper <andy@xemacs.org>
5132 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
5134 2001-11-21 Andy Piper <andy@xemacs.org>
5136 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
5137 mouse events outside the frame.
5139 2002-03-20 Andy Piper <andy@xemacs.org>
5141 * menubar-msw.c (mswindows_popup_menu): warning removal.
5142 * dialog-msw.c (dialog_popped_down): ditto.
5144 2001-12-11 Andy Piper <andy@xemacs.org>
5146 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
5147 * dialog-msw.c (mswindows_make_dialog_box_internal): set
5149 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
5150 * menubar-msw.c (mswindows_handle_wm_command): ditto.
5151 * menubar-msw.c (mswindows_popup_menu): ditto.
5153 2001-10-29 Andy Piper <andy@xemacs.org>
5155 * dialog-msw.c (handle_directory_dialog_box): quit if the user
5158 2002-01-03 Andy Piper <andy@xemacs.org>
5160 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
5164 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
5166 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
5167 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
5168 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5169 Detect and handle case where machine is set up for metric units
5171 2002-04-02 Andy Piper <andy@xemacs.org>
5173 * dired-msw.c (mswindows_get_files):
5174 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
5175 completely handled by XEmacs. Suggested by Thomas Vogler
5176 <mail@thomas-vogler.de>.
5178 2001-11-14 Andy Piper <andy@xemacs.org>
5180 * nt.c (REG_ROOT): change registry key to XEmacs.
5182 2002-04-27 Andy Piper <andy@xemacs.org>
5184 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
5186 2002-04-26 Andy Piper <andy@xemacs.org>
5188 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
5191 2002-03-14 Mike Alexander <mta@arbortext.com>
5193 * event-msw.c (mswindows_unwait_process): New, remove process from
5195 * process-nt.c (nt_finalize_process_data): Call
5196 mswindows_unwait_process
5197 * console-msw.h: Declare mswindows_unwait_process
5199 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
5201 * editfns.c (Fdecode_time):
5202 (Fformat_time_string):
5203 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
5204 (make_time): Warning elimination (change arg name).
5206 2001-11-24 Andy Piper <andy@xemacs.org>
5208 * window.c (Fsplit_window): Doc return type.
5210 2002-04-01 Andy Piper <andy@xemacs.org>
5212 * emacs.c (Fkill_emacs): Only output message box in interactive
5215 2002-04-26 Andy Piper <andy@xemacs.org>
5217 * config.h.in: pull in 21.5.x change to stop alloca warnings under
5220 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
5222 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
5225 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
5227 * XEmacs 21.4.8 "Honest Recruiter" is released.
5229 2002-05-07 Nix <nix@esperi.demon.co.uk>
5231 Supersedes 2002-04-17 patch.
5233 * process.h (PROCESS_LIVE_P): Use the process status as
5234 evidence of health, not the state of the input stream.
5235 (PROCESS_READABLE_P): Say if the process is readable
5236 from. (It may be dead nonetheless.)
5237 (CHECK_READABLE_PROCESS): Test for that condition.
5239 * process.c (create_process): Use PROCESS_READABLE_P.
5240 (read_process_output, set_process_filter): Likewise.
5242 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
5243 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
5245 This code is #if 0'd, this is not the time to add new functions:
5247 * process.c (Fprocess_readable_p): Report readability status.
5248 * process.c (Qprocess_readable_p): New, associated symbol...
5249 * process.c (syms_of_process): ... initialize it.
5251 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
5253 * XEmacs 21.4.7 "Economic Science" is released.
5255 2002-04-17 Nix <nix@esperi.demon.co.uk>
5257 * process.h (PROCESS_LIVE_P): Use the process status as
5258 evidence of health, not the state of the input stream.
5260 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
5262 * sysdep.c (sys_siglist): change "signum" to "signal"
5264 2001-04-21 Martin Buchholz <martin@xemacs.org>
5266 * s/darwin.h: New file.
5267 Thanks to Greg Parker <gparker@cs.stanford.edu>.
5269 2002-04-23 Andreas Jaeger <aj@suse.de>
5271 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
5272 which use lib64 for 64-bit libs.
5273 (START_FILES): Likewise.
5275 2002-02-11 Mike Sperber <mike@xemacs.org>
5278 (x_IO_error_handler):
5279 (x_init_device): Temporarily keep device in static variable
5280 `device_being_initialized' so we can recover gracefully from
5281 internal XOpenDevice failure. (XOpenDevice is documented to
5282 return NULL on failure, but sometimes calls the IO error handler
5285 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
5287 * dired.c (Ffile_name_all_completions): Change documentation --
5288 remove reference to completion-ignored-extensions.
5289 * dired.c (vars_of_dired): Change documentation for
5290 completion-ignored-extensions -- remove reference to
5291 file-name-all-completions.
5293 2002-03-06 Jerry James <james@xemacs.org>
5295 * emodules.c (emodules_load): Fix multiple loading of same module.
5297 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
5298 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
5299 RTLD_LAZY to avoid incorrect symbol binding when using nested
5300 shared libraries on Solaris.
5302 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
5304 * fileio.c (Ffind_file_name_handler): Improve docstring.
5306 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
5308 * fns.c (Fmapconcat): Improve docstring.
5310 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
5312 * device-gtk.c: Add prototype for
5313 emacs_gtk_selection_clear_event_handle.
5314 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
5315 selection. Setup signal handler for "selection_clear_event"
5316 (emacs_gtk_selection_clear_event_handle).
5318 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
5319 other applications owning the clipboard (based on
5320 x_handle_selection_clear).
5322 2001-12-23 William M. Perry <wmperry@gnu.org>
5324 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
5326 2002-01-04 Martin Buchholz <martin@xemacs.org>
5328 * keymap.c (define_key_alternate_name): Parenthesize EQ.
5330 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
5332 * XEmacs 21.4.6 "Common Lisp" is released.
5334 2001-12-16 Torsten Duwe <duwe@caldera.de>
5336 * search.c (Freplace_match): Add missing sub-expression functionality.
5338 * buffer.c (decode_buffer): Add a check for pointer type to
5339 decode_buffer, before gcc's CSE optimization reorders a
5340 dereference in front of the allow_string test.
5342 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
5344 * window.c (window_loop): Fix bug that sometimes prevented
5345 window_loop() from iterating across multiple devices. Also, at
5346 Ben's request, changed infloop-detecting code to abort() instead
5347 of silently terminating window_loop().
5349 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
5351 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
5352 * editfns.c (make_time): New function.
5353 (Fencode_time): Use it instead of wasteful_word_to_lisp.
5354 * lisp.h (make_time): Prototype and comment it.
5355 * dired.c (wasteful_word_to_lisp): Deprecate.
5356 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
5358 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
5360 * fileio.c (auto_save_1): Use current coding system, not
5363 2001-11-13 Ben Wing <ben@xemacs.org>
5366 * window.c (window_truncation_on):
5367 * window.c (syms_of_window):
5368 truncate-partial-width-windows should respect the buffer being
5369 displayed, like other redisplay vars.
5371 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
5373 * event-stream.c (Fread_key_sequence): save current buffer.
5375 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5377 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
5379 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5381 * alloc.c (lcrecord_stats): Add space for types defined in modules.
5383 2001-10-26 Mike Alexander <mta@arbortext.com>
5385 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
5387 2001-10-25 Andy Piper <andy@xemacs.org>
5390 * dialog-msw.c (handle_directory_proc): new function.
5391 (handle_directory_dialog_box): new fucntion.
5392 (handle_file_dialog_box): use new directory dialog support.
5393 (mswindows_make_dialog_box_internal): ditto.
5394 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
5396 (mswindows_find_frame): make global.
5397 * fileio.c (Fexpand_file_name): build fix.
5398 * general-slots.h: add Qdirectory.
5399 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
5401 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
5402 cygwin not leaving win32 paths unchanged.
5403 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
5404 cygwin runtime to do path conversion.
5405 (Fmswindows_shell_execute): fix cygwin handling of URLs.
5406 (syms_of_win32): add new function.
5407 * window.c (window_loop): build fix.
5409 2001-10-15 Andy Piper <andy@xemacs.org>
5411 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
5413 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
5415 * XEmacs 21.4.5 "Civil Service" is released.
5417 2001-04-08 Danny Colascione <qtmstr@optonline.net>
5419 * glyphs-x.c: Force buffer-tab highlight update when moving the
5420 buffer, avoiding an ugly black border, used for keyboard focus
5421 indication, on a widget that can never have keyboard focus, the
5424 2001-08-30 Daiki Ueno <ueno@unixuser.org>
5426 * process-unix.c (unix_open_multicast_group): Remove too much
5427 conversion between host and network byte order.
5429 2001-09-10 Nix <nix@esperi.demon.co.uk>
5431 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
5432 before replacing them.
5434 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
5437 * src/window.c (undedicate_windows): Use it.
5438 * src/window.h: Add prototype.
5440 2001-09-17 Ben Wing <ben@xemacs.org>
5442 * fileio.c (normalize_filename):
5443 * fileio.c (Fexpand_file_name):
5444 Fix various C++ compile errors in Andy's recent code.
5446 * callint.c (Fcall_interactively):
5447 * editfns.c (Ftemp_directory):
5448 * editfns.c (Fuser_full_name):
5449 * emacs.c (argmatch):
5450 * lread.c (locate_file_map_suffixes):
5451 * redisplay-x.c (x_ring_bell):
5452 Fix sign-compare warnings.
5454 2001-09-08 Andy Piper <andy@xemacs.org>
5456 * fileio.c (normalize_filename): copied from nt.c
5457 * (Ffile_name_directory): enable win32 paths under cygwin.
5458 * (Ffile_name_nondirectory): ditto.
5459 * (directory_file_name): ditto.
5460 * (Fexpand_file_name): ditto.
5461 * (Ffile_truename): ditto.
5462 * (Fsubstitute_in_file_name): ditto.
5463 * (Ffile_name_absolute_p): ditto.
5464 * (Ffile_readable_p): ditto.
5466 2001-09-08 Andy Piper <andy@xemacs.org>
5468 * device-msw.c (mswindows_finish_init_device): remove dde
5470 * device-msw.c (mswindows_init_dde): factor out from
5471 mswindows_finish_init_device()
5472 * device-msw.c (init_mswindows_very_early): new function
5473 initialize but don't enable dde.
5474 * emacs.c (main_1): call init_mswindows_very_early.
5476 * event-msw.c (mswindows_dde_callback): only execute when we are
5478 * symsinit.h: declare init_mswindows_very_early.
5480 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5482 [sjt: This has been in 21.5 for months with no complaints.]
5484 * console.h (struct console_methods): Added flags member.
5485 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
5486 (CONMETH_IMPL_FLAG):
5487 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
5488 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5490 * device.c (window_system_pixelated_geometry): Use the above macros.
5492 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
5493 implememntation flag.
5494 * device.h (DEVICE_DISPLAY_P): Use it.
5496 * frame.c (delete_frame_internal): Use the above macro.
5498 * redisplay.c (redisplay_device): Use it.
5499 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5500 (redisplay_frame): Ditto.
5502 * device-msw.c (mswindows_device_implementation_flags): Removed.
5503 (msprinter_device_implementation_flags): Removed.
5504 (console_type_create_device_mswindows): Removed references to
5505 implementation_flags methods, set implementation flags here.
5506 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
5508 * device-gtk.c (gtk_device_implementation_flags): Removed method.
5509 (console_type_create_device_gtk): Removed method declaration.
5510 Added commented out statement which semantically matches the
5511 commented out statement in the above removed method.
5513 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
5515 The attached patch fixes a few warnings.
5517 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
5518 * src/frame-gtk.c: guard against GNOME calls in GTK only
5519 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
5520 * src/select-gtk.c: prototype lisp_to_time
5522 2001-06-08 Ben Wing <ben@xemacs.org>
5524 ------ gc-in-window-procedure fixes ------
5527 * alloc.c (struct post_gc_action):
5528 * alloc.c (register_post_gc_action):
5529 * alloc.c (run_post_gc_actions):
5530 * alloc.c (garbage_collect_1):
5531 Create "post-gc actions", to avoid those dreaded "GC during window
5532 procedure" problems.
5535 Abort, clean and simple, when GC in window procedure. We want
5536 to flush these puppies out.
5539 * glyphs-msw.c (finalize_destroy_window):
5540 * glyphs-msw.c (mswindows_finalize_image_instance):
5541 Use a post-gc action when destroying subwindows.
5544 Declare register_post_gc_action().
5547 * scrollbar-msw.c (unshow_that_mofo):
5548 Use a post-gc action when unshowing scrollbar windows, if in gc.
5550 * redisplay.c (mark_redisplay):
5551 Add comment about the utter evilness of what's going down here.
5553 ------ cygwin setitimer fixes ------
5555 * Makefile.in.in (sheap_objs):
5556 * Makefile.in.in (profile_objs):
5557 * Makefile.in.in (objs):
5558 Compile profile.c only when HAVE_SETITIMER.
5560 * nt.c (mswindows_sigset):
5561 * nt.c (mswindows_sighold):
5562 * nt.c (mswindows_sigrelse):
5563 * nt.c (mswindows_sigpause):
5564 * nt.c (mswindows_raise):
5565 * nt.c (close_file_data):
5569 Move setitimer() emulation to win32.c, because Cygwin needs it too.
5572 * profile.c (Fstart_profiling):
5573 * profile.c (Fstop_profiling):
5574 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
5575 instead of just plain setitimer().
5578 * signal.c (set_one_shot_timer):
5580 Define qxe_setitimer() as an encapsulation around setitimer() --
5581 call setitimer() directly unless Cygwin or MS Win, in which case
5582 we use our simulated version in win32.c.
5585 * systime.h (struct itimerval):
5586 * systime.h (ITIMER_REAL):
5587 Prototype mswindows_setitimer() and qxe_setitimer(). Long
5588 comment about "qxe" and the policy regarding encapsulation.
5591 * win32.c (setitimer_helper_proc):
5592 * win32.c (setitimer_helper_period):
5593 * win32.c (setitimer_helper):
5594 * win32.c (mswindows_setitimer):
5595 Move setitimer() emulation here, so Cygwin can use it.
5596 Rename a couple of functions and variables to be longer and more
5597 descriptive. In setitimer_helper_proc(), send the signal
5598 using either mswindows_raise() or (on Cygwin) kill(). If for
5599 some reason we are still getting lockups, we'll change the kill()
5600 to directly invoke the signal handlers.
5602 ------ windows shell fixes ------
5606 Comments about how these two files must die.
5608 * callproc.c (init_callproc):
5609 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
5610 not just COMSPEC. (more correct and closer to FSF.) Don't
5611 force a value for SHELL into the environment. (Comments added
5612 to explain why not.)
5614 * nt.c (init_user_info):
5615 Don't shove a fabricated SHELL into the environment. See above.
5617 2001-06-01 Ben Wing <ben@xemacs.org>
5619 * Makefile.in.in (ldflags):
5620 eliminate that pesky "defaulting to 00401000" warning.
5624 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
5626 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
5627 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
5629 2001-04-24 Jerry James <james@xemacs.org>
5631 * faces.h: pass parameters to Fadd_spec_to_specifier in the
5634 2001-06-01 Ben Wing <ben@xemacs.org>
5636 * event-msw.c (debug_mswin_messages):
5637 conditionalize the messages that were causing compile errors.
5638 (if only macros could generate #ifdef statements ...)
5640 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
5642 * XEmacs 21.4.4 "Artificial Intelligence" is released.
5644 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
5646 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
5648 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
5650 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
5651 * process-unix.c (unix_canonicalize_host_name):
5652 sysdep.c (init_system_name):
5653 Use it to conditionally support IPv6 canonicalization.
5655 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
5658 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
5660 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
5662 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
5663 attempt is made to scroll when no scroll bar is available.
5665 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
5667 * input-method-motif.c (XIM_delete_frame): New callback.
5668 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
5669 got deleted from 21.4.3.)
5671 2001-06-01 Ben Wing <ben@xemacs.org>
5673 * nt.c (mswindows_utime):
5674 * nt.c (close_file_data):
5675 fix off-by-one-indirection error.
5677 2001-05-29 Adrian Aichner <adrian@xemacs.org>
5679 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
5680 because set_file_times() now takes Lisp_Object path, instead of
5682 * nt.c: Include buffer.h.
5683 * nt.c (convert_from_time_t): New.
5684 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
5685 not set mtime correctly.
5686 * nt.h: Declare mswindows_utime().
5687 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
5688 path, instead of char*.
5689 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
5691 2001-05-30 Ben Wing <ben@xemacs.org>
5695 (Stephen, just take all event-msw.c patches. This includes
5696 the "iconify" fix below.)
5699 * event-msw.c (mswindows_dequeue_dispatch_event):
5700 * event-msw.c (assert):
5701 * event-msw.c (emacs_mswindows_quit_p):
5702 * event-msw.c (debug_mswin_messages):
5703 * event-msw.c (debug_output_mswin_message):
5704 * event-msw.c (vars_of_event_mswindows):
5705 Fix yet more problems with C-g handling.
5706 Implement debug-mswindows-events.
5708 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5710 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
5712 2001-05-23 Ben Wing <ben@xemacs.org>
5714 * event-msw.c (winsock_writer):
5715 * event-msw.c (winsock_closer):
5716 prior kludgy code was clobbering the buffer, thinking it was
5717 "unused" space to store an unneeded return value; instead, use
5718 the variable we've already got staring us in the face.
5720 2001-05-17 Andy Piper <andy@xemacs.org>
5722 * sysfile.h: don't assume that file attributes are boolean
5724 2001-05-23 Ben Wing <ben@xemacs.org>
5726 * device-msw.c (msprinter_init_device):
5727 signal an error rather than crash with an unavailable network
5728 printer (from Mike Alexander).
5731 * event-msw.c (struct winsock_stream):
5732 * event-msw.c (winsock_writer):
5733 * event-msw.c (winsock_closer):
5734 * event-msw.c (make_winsock_stream_1):
5735 cleanup headers. fix (hopefully) an error with data corruption
5736 when sending to a network connection.
5738 * fileio.c (Fexpand_file_name): Fix evil code that attempts
5739 to handle the ~user prefix by (a) always assuming we're referencing
5740 ourselves and not even verifying the user -- hence any file with
5741 a tilde as its first char is invalid! (b) if there wasn't a slash
5742 following the filename, the pointer was set *past* the end of
5743 file and we started reading from uninitialized memory. Now we
5744 simply treat these as files, always.
5746 * buffer.c (common_init_complex_vars_of_buffer): comment change.
5748 2001-05-19 Ben Wing <ben@xemacs.org>
5750 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
5753 * process-nt.c (vars_of_process_nt):
5754 remove unused mswindows-quote-process-args. rec for 21.4.
5756 2001-05-12 Ben Wing <ben@xemacs.org>
5758 * event-msw.c (mswindows_dde_callback):
5759 * event-msw.c (mswindows_wnd_proc):
5760 eliminate cygwin warnings.
5762 2001-05-06 Ben Wing <ben@xemacs.org>
5766 * device-msw.c (print_dialog_worker):
5767 * device-msw.c (mswindows_handle_print_dialog_box):
5768 * device-msw.c (syms_of_device_mswindows):
5769 * dialog-msw.c (mswindows_make_dialog_box_internal):
5771 implement printing the selection when it's selected.
5773 2001-05-20 Drazen Kacar <dave@arsdigita.com>
5775 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
5777 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
5779 * lisp.h (EMACS_INT_MAX): This should be one bit less since
5780 EMACS_INT is signed.
5782 2001-04-15 Michael Lausch <mla@1012surf.net>
5784 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
5785 gtk_widget_request_size() to give scrollbar >0 width for
5788 2001-05-30 William M. Perry <wmperry@gnu.org>
5790 * event-gtk.c: Check for buttons as modifier keys.
5792 2001-05-25 Craig Lanning <CraigL@Knology.net>
5795 Properly find MinGW's <process.h> inside Cygwin's restructured
5796 include directories. Don't try to include <cygwin/version.h>
5797 since we are dropping support for MinGW in versions of Cygwin
5800 Drop support for MinGW in versions of Cygwin before b21.
5802 Properly find MinGW's <process.h> inside Cygwin's restructured
5803 include directories.
5805 Drop support for MinGW in versions of Cygwin before b21.
5807 Even though a.out.h is no longer detected by configure, allow
5808 MinGW to use it until we figure out how to do the job with Win32.
5810 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
5812 * syntax.c (find_start_of_comment):
5813 Fix `unbalanced parentheses' bug when dealing with mixed comment
5814 styles in c++/java/etc. mode
5816 2001-05-29 Mike Alexander <mta@arbortext.com>
5818 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
5819 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
5821 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
5823 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
5825 2001-03-31 Mike Sperber <mike@xemacs.org>
5827 * search.c (Freplace_match): Support FSF-style specification of
5828 match subexpression when applied to a buffer.
5830 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
5832 * event-stream.c (is_scrollbar_event): add missing semicolon
5834 2001-05-22 Isaac Hollander <ysh@mindspring.com>
5836 * Makefile.in.in: Use TAR macro instead of hardcoding
5837 tar. Allows use of GNU tar instead of system tar
5839 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
5841 * event-stream.c (is_scrollbar_event): add missing semicolon
5843 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
5845 * XEmacs 21.4.3 "Academic Rigor" is released.
5847 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
5849 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
5851 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
5853 * buffer.c (Vcase_fold_search): Remove obsolete
5854 comment about non ASCII case-fold-search. This
5855 bug has been fixed by case-table changes.
5857 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
5859 * event-msw.c: Restore include of events-mod.h.
5861 2001-04-22 zhaoway <zw@debian.org>
5863 * event-stream.c (is_scrollbar_event): Noop returning 0 if
5866 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
5868 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
5870 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
5872 * mule-charset.c (Fmake_charset): Add missing else.
5874 2001-04-23 Ben Wing <ben@xemacs.org>
5876 * event-msw.c (FAKE_MOD_QUIT):
5877 * event-msw.c (mswindows_dequeue_dispatch_event):
5878 * event-msw.c (mswindows_wnd_proc):
5879 * event-msw.c (emacs_mswindows_quit_p):
5880 Get critical quit working.
5882 2001-05-05 Ben Wing <ben@xemacs.org>
5886 * device-msw.c (mswindows_get_default_margin):
5887 * frame-msw.c (mswindows_size_frame_internal):
5888 * frame-msw.c (msprinter_init_frame_1):
5889 * frame-msw.c (vars_of_frame_mswindows):
5890 Change top/bottom margin defaults to 0.5 inches.
5892 2001-05-01 Martin Buchholz <martin@xemacs.org>
5894 Fix link error with gcc 3.0 on Linux.
5895 * terminfo.c (UP): Remove.
5896 * terminfo.c (BC): Remove.
5897 * terminfo.c (PC): Remove.
5898 They weren't used, and in any case, these symbols should be
5899 defined in the *library*.
5901 2001-05-03 Martin Buchholz <martin@xemacs.org>
5903 * s/aix4.h: Fix crash with xlc -O3.
5904 Improve comment explaining how -O3 works.
5906 2001-04-15 Ben Wing <ben@xemacs.org>
5909 * event-stream.c (Fnext_event):
5910 * event-stream.c (is_scrollbar_event):
5911 * event-stream.c (execute_command_event):
5912 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
5913 crash' problem. His fix introduces other problems. We filter
5914 out scrollbar events specifically, making them somewhat invisible
5915 to command-building, and not appearing in `this-command-keys'.
5916 More work is still needed (see comments in event-stream.c), but
5917 this fixes all the major problems.
5919 2001-04-20 Ben Wing <ben@xemacs.org>
5921 * .cvsignore: Added stuff for Windows.
5923 2001-04-28 Ben Wing <ben@xemacs.org>
5925 * buffer.c (Ferase_buffer):
5926 * editfns.c (buffer_insert1):
5927 * editfns.c (Finsert_before_markers):
5928 * editfns.c (Finsert_string):
5929 * editfns.c (Finsert_char):
5930 * editfns.c (Fdelete_region):
5931 * editfns.c (Fwiden):
5932 * editfns.c (Fnarrow_to_region):
5933 remove bogus lines setting zmacs_region_stays to 0.
5935 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
5937 * process-unix.c (unix_open_network_stream): If connect() fails
5938 invalidate file descriptor after closing it.
5940 2001-03-08 Mike Alexander <mta@arbortext.com>
5942 * event-msw.c (mswindows_need_event_in_modal_loop):
5943 Don't dispatch a message if we didn't get one.
5944 (mswindows_need_event):
5945 Terminate the correct process when one exits instead of the first
5946 one on Vprocess_list and look for process termination when in
5947 mswindows_protect_modal_loop.
5949 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
5951 * XEmacs 21.4.1 "Copyleft" is released.
5953 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
5955 * input-method-motif.c (XIM_delete_frame): New callback.
5956 (XIM_init_frame): Register it.
5958 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
5960 * XEmacs 21.4.0 "Solid Vapor" is released.
5962 2001-04-15 Ben Wing <ben@xemacs.org>
5964 * cmdloop.c (call_command_loop):
5965 Fix braino in bit-rotting code.
5967 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
5969 * extents.c (Fset_extent_endpoints): Force creation of extent info
5970 in buffer_or_string.
5972 * extents.c (process_extents_for_insertion_mapper): Correctly
5973 check for open-open zero-length extents.
5975 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
5977 * lisp.h: New typedefs Memory_count, Element_count.
5980 Sign-compare warning elimination: several unsigned -> signed.
5981 Based on work by Ben Wing <ben@xemacs.org>.
5983 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
5985 * XEmacs 21.2.47 "Zephir" is released.
5987 2001-04-02 Jan Vroonhof <jan@xemacs.org>
5989 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
5991 2001-04-03 Mike Sperber <mike@xemacs.org>
5993 * search.c: Revert previous patch due because of release.
5995 2001-03-30 Ben Wing <ben@xemacs.org>
5998 Add missing killpg prototype.
6001 Add a comment about fixing problems when a new entry is added
6004 * frame-msw.c (mswindows_init_frame_1):
6005 Fix compile warnings.
6007 * menubar.c (vars_of_menubar):
6008 Provide `menu-accelerator-support' to indicate that we properly
6009 support %_ in menu specifications, so that package code can
6010 conditionalize on this (and remove %_ from menu specifications
6015 * scrollbar-msw.c (can_scroll):
6017 Fix handling of mouse wheel under Windows to follow standards --
6018 now scrolls window under pointer, not selected window.
6020 2001-03-31 Mike Sperber <mike@xemacs.org>
6022 * search.c (Freplace_match): Support FSF-style specification of
6023 match subexpression when applied to a buffer.
6025 2001-03-15 Martin Buchholz <martin@xemacs.org>
6027 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6028 function to modify KEYMAP, so map over a copy of the hash table.
6030 2001-03-21 Martin Buchholz <martin@xemacs.org>
6032 * XEmacs 21.2.46 "Urania" is released.
6034 2001-03-20 Dan Holmsand <dan@eyebee.com>
6036 * realpath.c (xrealpath): Make file-truename work with symlinks to
6037 /cygdrive paths on cygwin. Always lowercase drive-letters on
6039 (cygwin_readlink): Don't try to find canonical filename unless
6042 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
6044 * ChangeLog: Log GTK merge.
6050 Revert gratuitous whitespace changes from GTK merge.
6052 * emacs.c: Document end of complex #ifdef @ l. 1495.
6055 2001-03-12 Andy Piper <andy@xemacs.org>
6057 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
6058 have to do likewise.
6060 2001-03-12 Andy Piper <andy@xemacs.org>
6062 * sysdep.c: we only support mingw now.
6064 2001-03-09 Andy Piper <andy@xemacs.org>
6066 * unexcw.c (copy_executable_and_dump_data_section): making approx
6067 overrun a warning only.
6069 2001-03-10 William M. Perry <wmperry@aventail.com>
6071 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
6072 satisfy Stephen's identical-after-cpp plea.
6074 2001-03-02 Ben Wing <ben@xemacs.org>
6077 * cmds.c (Fforward_char):
6081 Augment documentation of the most common motion commands to make
6082 note of the shifted-motion support.
6084 2001-03-02 Ben Wing <ben@xemacs.org>
6086 * nt.c (mswindows_fstat):
6087 * nt.c (mswindows_stat):
6088 * search.c (boyer_moore):
6089 Fix compile warnings under Windows.
6091 * sysdep.c (sys_readdir):
6092 Fix buggy filename-conversion code under Mule.
6094 2001-03-09 William M. Perry <wmperry@aventail.com>
6116 * redisplay-output.c:
6122 The Great GTK Merge.
6129 * emacs-widget-accessors.c:
6143 * native-gtk-toolbar.c:
6154 The Great GTK Merge: new files.
6156 2001-02-26 Ben Wing <ben@xemacs.org>
6158 Reapplied Lstream change.
6160 2001-02-26 Ben Wing <ben@xemacs.org>
6162 Undid the last change, since it is more controversial than I
6163 thought. It should be back in at some point soon.
6165 2001-02-25 Ben Wing <ben@xemacs.org>
6168 * callproc.c (Fold_call_process_internal):
6169 * event-msw.c (ntpipe_slurp_reader):
6170 * event-msw.c (ntpipe_shove_writer):
6171 * event-msw.c (winsock_reader):
6172 * event-msw.c (winsock_writer):
6174 * file-coding.c (detect_eol_type):
6175 * file-coding.c (detect_coding_type):
6176 * file-coding.c (determine_real_coding_system):
6177 * file-coding.c (Fdetect_coding_region):
6178 * file-coding.c (decoding_reader):
6179 * file-coding.c (decoding_writer):
6180 * file-coding.c (mule_decode):
6181 * file-coding.c (Fdecode_coding_region):
6182 * file-coding.c (encoding_reader):
6183 * file-coding.c (encoding_writer):
6184 * file-coding.c (mule_encode):
6185 * file-coding.c (Fencode_coding_region):
6186 * file-coding.c (detect_coding_sjis):
6187 * file-coding.c (decode_coding_sjis):
6188 * file-coding.c (encode_coding_sjis):
6189 * file-coding.c (detect_coding_big5):
6190 * file-coding.c (decode_coding_big5):
6191 * file-coding.c (encode_coding_big5):
6192 * file-coding.c (detect_coding_ucs4):
6193 * file-coding.c (decode_coding_ucs4):
6194 * file-coding.c (encode_coding_ucs4):
6195 * file-coding.c (detect_coding_utf8):
6196 * file-coding.c (decode_coding_utf8):
6197 * file-coding.c (encode_coding_utf8):
6198 * file-coding.c (detect_coding_iso2022):
6199 * file-coding.c (decode_coding_iso2022):
6200 * file-coding.c (encode_coding_iso2022):
6201 * file-coding.c (decode_coding_no_conversion):
6202 * file-coding.c (encode_coding_no_conversion):
6203 * glyphs-x.c (write_lisp_string_to_temp_file):
6204 * gpmevent.c (tty_get_foreign_selection):
6207 * lstream.c (Lstream_flush_out):
6208 * lstream.c (Lstream_adding):
6209 * lstream.c (Lstream_write_1):
6210 * lstream.c (Lstream_write):
6211 * lstream.c (Lstream_raw_read):
6212 * lstream.c (Lstream_read_more):
6213 * lstream.c (Lstream_read):
6214 * lstream.c (Lstream_unread):
6215 * lstream.c (Lstream_fputc):
6216 * lstream.c (stdio_reader):
6217 * lstream.c (stdio_writer):
6218 * lstream.c (filedesc_reader):
6219 * lstream.c (filedesc_writer):
6220 * lstream.c (lisp_string_reader):
6221 * lstream.c (struct fixed_buffer_stream):
6222 * lstream.c (make_fixed_buffer_input_stream):
6223 * lstream.c (make_fixed_buffer_output_stream):
6224 * lstream.c (fixed_buffer_reader):
6225 * lstream.c (fixed_buffer_writer):
6226 * lstream.c (struct resizing_buffer_stream):
6227 * lstream.c (resizing_buffer_writer):
6228 * lstream.c (dynarr_writer):
6229 * lstream.c (lisp_buffer_reader):
6230 * lstream.c (lisp_buffer_writer):
6232 * lstream.h (lstream_implementation):
6233 * lstream.h (struct lstream):
6235 * process-nt.c (nt_send_process):
6236 * process-unix.c (unix_send_process):
6238 Correct Lstream lossage due to mixing of signed and unsigned
6239 quantities. All Lstream uses of size_t and ssize_t are now a
6240 single signed data type Lstream_data_count. This fixes problems
6241 under Windows with sending large quantities of data to a process,
6242 and may well fix other subtle bugs.
6244 2001-02-23 Martin Buchholz <martin@xemacs.org>
6246 * XEmacs 21.2.45 "Thelxepeia" is released.
6248 2001-02-21 Martin Buchholz <martin@xemacs.org>
6250 * lisp-union.h (XSETINT):
6253 Reverse previous change of 2001-02-06.
6255 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
6257 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
6259 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6260 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
6261 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
6262 * regex.c (POS_AS_IN_BUFFER): removed
6263 * regex.c (re_search_2):
6264 * regex.c (re_match_2):
6265 Don't use an offset of 1 when calculating buffer positions, since
6266 `BI_BUF_BEGV' does it already.
6268 2001-02-18 Wim Dumon <wim@easics.be>
6270 * insdel.c (prepare_to_modify_buffer): Also check for
6271 supersession when clash-detection is enabled.
6273 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
6275 * regex.c (re_match_2_internal):
6276 Convert temp characters from 'const unsigned char' to 're_char'.
6277 Fix crashing bug with extended characters under mule.
6278 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
6279 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
6280 font-lock, pdump, and new syntax-table code.
6281 * syntax.c (find_start_of_comment):
6282 (find_end_of_comment):
6284 Fix crashing bugs involving moving beyond end of buffer.
6285 * syntax.c (find_start_of_comment):
6286 Fixed logic to allow proper detection of cases where the same
6287 character is used to end both a two-char comment start and a
6288 two-char comment end sequence. Fixes `(forward-comment -1)'.
6289 * syntax.c (find_start_of_comment):
6290 Return position just past last comment-end character for all cases
6291 (previously was only done for two-char comment-end sequences).
6292 * syntax.c (forward-comment):
6293 Take value returned from `find_end_of_comment', rather than
6295 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6296 Properly deal with BUFFERP (syntax_cache.object)
6298 2001-02-17 Martin Buchholz <martin@xemacs.org>
6300 * alloc.c (Fgarbage_collect):
6301 * alloc.c (make_bit_vector_from_byte_vector):
6302 -Wsign-compare-correctness.
6304 2001-02-16 Martin Buchholz <martin@xemacs.org>
6306 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
6307 (XSETCHAR): Likewise.
6308 (XSETOBJ): Likewise.
6310 2001-02-15 Martin Buchholz <martin@xemacs.org>
6312 * mule-canna.c (canna-func-delete_previous):
6313 Rename to canna-func-delete-previous.
6315 2001-02-14 Martin Buchholz <martin@xemacs.org>
6317 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
6319 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
6321 * font-lock.c (find_context): Fix C++ compile errors introduced by
6324 2001-02-13 Martin Buchholz <martin@xemacs.org>
6326 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
6327 pragma, but earlier ones barf on the same pragma.
6329 2001-02-06 Mike Sperber <mike@xemacs.org>
6331 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
6332 `configure-mule-lisp-directory'.
6334 2001-02-12 Martin Buchholz <martin@xemacs.org>
6336 Make sure dump-id.c is compiled in the same way as other .c's.
6337 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
6338 * dump-id.h: Remove.
6339 * emacs.c: Move dump-id.h into dumper.h.
6340 * dumper.h: Move dump-id.h into dumper.h.
6342 Use standard .c.o rule for building dump-id.o.
6343 Remove preprocessor flags from link command.
6344 Add dump-id.o to ${otherobjs} if PDUMP.
6346 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
6348 Port FSF 20.7 syntax table improvements.
6352 Fixups for new syntax table stuff.
6353 * dired.c: Include syntax.c.
6354 (Fdirectory_files): Initialize regex_match_object and
6356 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
6357 and Fget_char_property.
6359 Use ported FSF 20.7 syntax table improvements.
6364 2001-02-09 Martin Buchholz <martin@xemacs.org>
6366 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
6367 Unixware's enum boolean from sys/types.h.
6369 2001-02-10 Martin Buchholz <martin@xemacs.org>
6371 Fix support for building with latest Purify.
6372 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
6373 (PURIFY_FLAGS): Likewise.
6375 2001-02-09 Martin Buchholz <martin@xemacs.org>
6377 * fileio.c (lisp_string_set_file_times): New.
6378 * fileio.c (Fcopy_file): Use it.
6380 (copy-file filename non-ascii-filename t t)
6381 ==> No such file or directory, non-ascii-filename
6383 2001-02-10 Martin Buchholz <martin@xemacs.org>
6385 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
6386 USHRT_MAX seems clearer than ~0 anyways.
6388 2001-02-09 Martin Buchholz <martin@xemacs.org>
6390 dumper improvements. Inspired by Olivier.
6391 * dumper.c (pdump_max_align): New.
6392 * dumper.c (pdump_add_entry): Use pdump_max_align.
6393 * dumper.c (pdump_get_entry_list): Likewise.
6394 * dumper.c (pdump_scan_by_alignment): Likewise.
6395 Don't iterate through unnecessary alignments.
6396 * dumper.c (pdump_file_get): No need to align result of malloc().
6397 * dumper.c (pdump_mallocadr): Remove.
6398 The result of malloc() is guaranteed to be maximally aligned.
6399 * dumper.c: s/elmt/elt/g;
6400 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
6401 * dumper.c (pdump_alert_undump_object): Likewise.
6402 * dumper.c (pdump_align_table):
6403 Don't support alignments > 64.
6404 Store ALIGNOF's, not shift counts, in table.
6406 2001-02-09 Martin Buchholz <martin@xemacs.org>
6408 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
6409 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
6410 * systime.h: Use HAVE_UTIME.
6411 * sysdep.c (struct utimbuf): Remove.
6412 * sysdep.c (set_file_times): Prefer utime() to utimes().
6413 * config.h.in (HAVE_UTIME): New.
6414 * config.h.in (HAVE_UTIME_H): Remove.
6415 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
6417 2001-02-09 Martin Buchholz <martin@xemacs.org>
6419 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
6421 2001-02-08 Martin Buchholz <martin@xemacs.org>
6423 * s/irix6-0.h: Use the standard system memmove, not bcopy.
6425 2001-02-08 Martin Buchholz <martin@xemacs.org>
6427 * XEmacs 21.2.44 "Thalia" is released.
6429 2001-02-06 Martin Buchholz <martin@xemacs.org>
6431 Fixes crashes in kill-emacs on some systems.
6432 * process-unix.c (unix_kill_child_process):
6433 It's OK for kill() to fail with ESRCH.
6435 2001-02-07 Martin Buchholz <martin@xemacs.org>
6437 Contortions to make .gdbinit tricks work on most systems.
6438 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
6439 * alloc.c (dbg_valmask): Make non-const.
6440 * alloc.c (dbg_typemask): Make non-const.
6441 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
6442 * alloc.c (dbg_valbits): Make non-const.
6443 * alloc.c (dbg_gctypebits): Make non-const.
6444 * .gdbinit (decode_object): Make it work with AIX cc.
6446 2001-02-06 Martin Buchholz <martin@xemacs.org>
6448 * elhash.c (make_general_lisp_hash_table):
6449 Use simpler and more efficient calloc to clear entries.
6451 2001-02-07 Martin Buchholz <martin@xemacs.org>
6453 * window.c (window_scroll): Work around an AIX C compiler bug.
6454 Fixes 'scroll-up' does nothing problem with xlC.
6456 2001-02-05 Martin Buchholz <martin@xemacs.org>
6458 * .gdbinit: Remove obsolete comment.
6460 2001-01-31 Mike Alexander <mta@arbortext.com>
6462 * select.c (Fown_selection_internal): Set owned_p for device
6465 2001-02-01 Martin Buchholz <martin@xemacs.org>
6468 "not" cannot be used as a macro name as it is an operator in C++
6469 * config.h.in: Stop #defining `not'.
6470 * chartab.c (check_category_char): not ==> not_p
6471 * chartab.h: Likewise.
6472 * regex.c (re_match_2_internal): Likewise.
6474 2001-02-02 Martin Buchholz <martin@xemacs.org>
6476 * lisp-disunion.h: Fix up comments.
6478 2001-01-31 Martin Buchholz <martin@xemacs.org>
6480 * keymap.c (define_key_check_and_coerce_keysym):
6482 Support mouse-6 and mouse-7 bindings in the obvious way.
6484 2001-02-01 Martin Buchholz <martin@xemacs.org>
6486 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
6488 2001-01-30 Martin Buchholz <martin@xemacs.org>
6490 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
6491 Previous patch missed DEFVAR_INT_MAGIC.
6492 Make sure future DEFVAR_foo use correct types.
6493 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
6494 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
6495 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
6496 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
6497 * (DEFVAR_INT): Likewise.
6498 * redisplay.c (vertical_clip): Should be of type Fixnum.
6499 * redisplay.c (horizontal_clip): Likewise.
6500 * lisp.h (dump_add_opaque_int): New.
6501 (dump_add_opaque_fixnum): New.
6503 2001-01-29 Andy Piper <andy@xemacs.org>
6505 * glyphs-widget.c (check_valid_int_or_function): allow symbols
6506 since they can be eval'ed
6508 2001-01-29 Martin Buchholz <martin@xemacs.org>
6510 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
6511 Oops, XEmacs redefines `class'. Use `typename' instead.
6513 2001-01-28 Martin Buchholz <martin@xemacs.org>
6515 * dumper.c: Fix C++ compile errors.
6517 2001-01-29 Martin Buchholz <martin@xemacs.org>
6519 * tparam.c: Use correct prototypes.
6521 2001-01-28 Martin Buchholz <martin@xemacs.org>
6523 * sysproc.h: #include util.h for NetBSD's openpty.
6525 2001-01-27 Martin Buchholz <martin@xemacs.org>
6527 More 64-bit correctness.
6528 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
6529 Use a typedef `fixnum' for the type used for DEFVAR_INT.
6531 This finally finishes the 64-bit SGI port.
6532 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
6533 * symbols.c: Fix up comments and type casts.
6534 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
6535 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
6536 * symeval.h (Fixnum): New type.
6537 * symeval.h (symbol_value_type): Fix up comment.
6553 * mule-canna.c: A million DEFVAR_INTs here...
6554 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
6567 s/int/Fixnum/g in DEFVAR_INT declarations.
6569 2001-01-26 Martin Buchholz <martin@xemacs.org>
6571 Port pdump to SGI alignment-sensitive environment.
6572 Lisp Object sizeof methods now return aligned sizes. Rely on that.
6573 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
6575 Define and use aligned reading and writing macros.
6576 Use buffered stdio instead of posix i/o for faster dumping.
6577 Eliminate kludgy 256 byte space for header.
6578 Read and write from dump file using structs for alignment safety.
6579 * dumper.c (pdump_align_stream): New.
6580 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
6581 * dumper.c (PDUMP_READ_ALIGNED): New.
6582 * dumper.c (PDUMP_WRITE_ALIGNED): New.
6583 * dumper.c (pdump_static_Lisp_Object): New struct.
6584 * dumper.c (pdump_static_pointer): New struct.
6585 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
6586 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
6587 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
6588 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
6590 * dumper.c (pdump_backtrace):
6591 * dumper.c (pdump_get_indirect_count):
6592 * dumper.c (pdump_register_object):
6593 * dumper.c (pdump_register_struct):
6594 * dumper.c (pdump_reloc_one):
6595 * dumper.c (pdump_scan_by_alignment):
6596 * dumper.c (pdump_dump_from_root_struct_ptrs):
6597 * dumper.c (pdump_dump_opaques):
6598 * dumper.c (pdump_dump_rtables):
6599 * dumper.c (pdump_dump_from_root_objects):
6601 * dumper.c (pdump_load_finish):
6602 Use aligned reading and writing.
6604 * dumper.c (pdump_free): Make static.
6605 * dumper.c (pdump_hFile): Likewise.
6606 * dumper.c (pdump_hMap): Likewise.
6608 2001-01-26 Martin Buchholz <martin@xemacs.org>
6610 * XEmacs 21.2.43 "Terspichore" is released.
6612 2001-01-25 Martin Buchholz <martin@xemacs.org>
6614 Type fiddling for window_config.saved_windows_count
6615 * window.c (struct window_config):
6616 Make saved_windows_count member unsigned.
6617 * window.c (sizeof_window_config_for_n_windows):
6618 Make parameter unsigned.
6619 * window.c (mark_window_config):
6620 * window.c (window_config_equal):
6621 * window.c (free_window_configuration):
6622 * window.c (Fset_window_configuration):
6623 * window.c (count_windows):
6624 * window.c (Fcurrent_window_configuration):
6625 * window.c (reinit_vars_of_window):
6626 Update all callers and users.
6628 2001-01-25 Martin Buchholz <martin@xemacs.org>
6630 Alignment correctness for flexible arrays.
6631 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
6632 Make alignment-correct. Add interesting comments.
6633 * alloc.c (size_vector):
6634 * alloc.c (make_vector_internal):
6635 * alloc.c (make_bit_vector_internal):
6636 * alloc.c (sweep_bit_vectors_1):
6637 * fns.c (size_bit_vector):
6638 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
6639 * window.c (sizeof_window_config_for_n_windows):
6640 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
6642 2001-01-24 Martin Buchholz <martin@xemacs.org>
6644 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
6646 2001-01-23 Andy Piper <andy@xemacs.org>
6648 * select.c (Fown_selection_internal): pass owned_p
6650 * select-msw.c (mswindows_own_selection): New Signature.
6652 * console.h (struct console_methods): add owned_p to
6655 * select-x.c (x_own_selection): pass owned_p
6656 (hack_motif_clipboard_selection): use owned_p
6657 (vars_of_select_x): new variable -
6658 x_selection_strict_motif_ownership.
6660 2001-01-23 Martin Buchholz <martin@xemacs.org>
6662 * specifier.h (specifier_data_offset): Remove pointless parens.
6663 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
6665 2001-01-24 Martin Buchholz <martin@xemacs.org>
6667 Make Lisp_Object sizeof methods be alignment-correct.
6668 pdump must restore objects to the same alignment as the C compiler
6669 assumes. It really matters on SGIs.
6670 * lstream.c (aligned_sizeof_lstream): New.
6671 (sizeof_lstream): Use aligned_sizeof_lstream.
6672 (Lstream_new): Likewise.
6673 * opaque.c (aligned_sizeof_opaque): New.
6674 (sizeof_opaque): Use aligned_sizeof_opaque.
6675 (make_opaque): Likewise.
6676 * specifier.c (aligned_sizeof_specifier): New.
6677 (sizeof_specifier): Use aligned_sizeof_specifier.
6678 (make_specifier_internal): Likewise.
6680 2001-01-23 Martin Buchholz <martin@xemacs.org>
6682 * lstream.h (struct lstream): Use max_align_t for trailing data.
6683 * specifier.h (struct Lisp_Specifier): Likewise.
6685 2001-01-22 Martin Buchholz <martin@xemacs.org>
6687 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
6688 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
6689 (CCL_SUSPEND): Likewise.
6690 (CCL_INVALID_CMD): Likewise.
6691 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
6692 (ccl_driver): Likewise.
6693 (CCL_WRITE_CHAR): Macro hygiene.
6694 (CCL_WRITE_STRING): Macro hygiene.
6696 2001-01-22 Martin Buchholz <martin@xemacs.org>
6698 Port "portable" dumper to SunOS 4 and HP-UX.
6699 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
6700 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
6701 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
6703 2001-01-22 Martin Buchholz <martin@xemacs.org>
6705 * lisp.h (ALIGNOF): A better definition for C++.
6707 2001-01-20 Martin Buchholz <martin@xemacs.org>
6710 Fix printf warnings: int format, long int arg.
6711 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
6712 (PUSH_FAILURE_POINT): Use correct printf formats.
6713 (POP_FAILURE_POINT): Use correct printf formats.
6714 Use do {...} while (0)
6716 2001-01-20 Martin Buchholz <martin@xemacs.org>
6718 * XEmacs 21.2.42 "Poseidon" is released.
6720 2001-01-20 Martin Buchholz <martin@xemacs.org>
6722 * console-x.h: typo fix du jour. Remove #if 0'ed code.
6724 2001-01-19 Martin Buchholz <martin@xemacs.org>
6726 De-kludgify FIXED_TYPE free list frobbing.
6727 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
6728 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
6729 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
6730 * alloc.c (Lisp_Free): New pseudo lisp object definition.
6731 * alloc.c (LRECORD_FREE_P): New.
6732 * alloc.c (MARK_LRECORD_AS_FREE): New.
6733 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
6734 * alloc.c (STRUCT_FREE_P): Deleted.
6735 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
6736 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
6737 * alloc.c (STRING_CHARS_FREE_P): New.
6738 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
6739 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
6740 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
6741 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
6742 * alloc.c (resize_string): Use new definitions.
6743 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
6744 * alloc.c (verify_string_chars_integrity): Use new definitions.
6745 * alloc.c (compact_string_chars): Use new definitions.
6746 * alloc.c: Update monster comments.
6747 * lrecord.h (lrecord_type): Add some new lrecord types for
6750 2001-01-18 Martin Buchholz <martin@xemacs.org>
6752 Improve alignment hackery.
6753 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
6754 (max_align_t): Moved from opaque.h - general purpose.
6755 (ALIGN_PTR): Use size_t, not long.
6756 * opaque.h (max_align_t): Move to lisp.h.
6758 2001-01-18 Norbert Koch <nk@LF.net>
6760 * gui.h: Fix and add prototypes to fix build problems.
6762 2001-01-18 Martin Buchholz <martin@xemacs.org>
6764 temacs is going away, so `dump-temacs' is now a bad name.
6765 * .dbxrc (dump-temacs): Rename to `dmp'.
6766 * .gdbinit (dump-temacs): Rename to `dmp'.
6768 2001-01-17 Andy Piper <andy@xemacs.org>
6770 * glyphs.c (print_image_instance): comment to make martin happy.
6772 * glyphs-x.c (x_redisplay_widget): update faces after a frame
6775 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
6777 (mswindows_tab_control_redisplay): warning suppression.
6779 * glyphs-widget.c (widget_update): re-write to cope with updated
6781 (widget_instantiate): use new gui_item functions.
6782 (tab_control_update): deleted.
6783 (progress_gauge_update): deleted.
6784 (image_instantiator_progress_guage): take out update reference.
6785 (image_instantiator_tree_view): ditto.
6786 (image_instantiator_tab_control): ditto.
6788 * gui.c (widget_gui_parse_item_keywords): new function. Do things
6790 (gui_item_add_keyval_pair): re-write to cope with descriptors and
6791 return whether anything was changed.
6792 (update_gui_item_keywords): as it sounds.
6794 * gui.h: declare widget_gui_parse_item_keywords.
6796 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
6797 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
6799 2001-01-17 Martin Buchholz <martin@xemacs.org>
6801 * XEmacs 21.2.41 "Polyhymnia" is released.
6803 2001-01-16 Didier Verna <didier@xemacs.org>
6805 * glyphs.c (image_instantiate): don't use fallbacks when
6806 instantiating a face's background pixmap by inheritance.
6808 2001-01-14 Mike Sperber <mike@xemacs.org>
6810 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
6811 Conditionalize accordingly.
6813 2001-01-16 Martin Buchholz <martin@xemacs.org>
6815 * dumper.c (pdump_file_get): Fix a compiler warning.
6817 2001-01-15 Martin Buchholz <martin@xemacs.org>
6819 Make Purify happy when pdumping.
6820 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
6821 iniitalizing all bits of new lisp object memory.
6822 * symbols.c (Fmake_local_variable): Likewise.
6823 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
6824 * symbols.c (Fdefvaralias): Likewise.
6825 * mule-charset.c (vars_of_mule_charset): Likewise.
6827 2001-01-15 Martin Buchholz <martin@xemacs.org>
6828 Add the `-nd' flag when running pre-dump operations under the debugger.
6829 * .dbxrc (run-temacs): Add `-nd'.
6830 * .dbxrc (update-elc): Likewise.
6831 * .dbxrc (dump-temacs): Likewise.
6832 * .gdbinit (run-temacs): Likewise.
6833 * .gdbinit (check-temacs): Likewise.
6834 * .gdbinit (update-elc): Likewise.
6835 * .gdbinit (dump-temacs): Likewise.
6837 2001-01-14 Martin Buchholz <martin@xemacs.org>
6839 Allow building 64-bit executables on AIX with GNU malloc, e.g.
6840 export OBJECT_MODE=64
6841 configure --pdump --use-union-type=no
6842 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
6843 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
6845 * miscplay.c (sndcnv8U_2mono):
6846 Avoid two uses of `++' in the same expression.
6847 Suppresses a GCC warning.
6849 2001-01-13 Martin Buchholz <martin@xemacs.org>
6851 Make sure future compilers don't miscompile alloc.c.
6853 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
6854 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
6856 2001-01-12 Martin Buchholz <martin@xemacs.org>
6858 * dumper.c: A little post-pdump-rename comment fixup.
6860 2001-01-09 Jerry James <james@eecs.ku.edu>
6862 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
6864 2001-01-13 Martin Buchholz <martin@xemacs.org>
6866 * *.[ch]: Globally rename symbols using the following `pdump-rename'
6870 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
6873 replace_symbol pdump_wire_lists pdump_weak_object_chains
6874 replace_symbol pdump_wire_list dump_add_weak_object_chain
6876 replace_symbol pdump_wires pdump_root_objects
6877 replace_symbol pdump_wire dump_add_root_object
6879 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
6880 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
6882 replace_symbol dumpstructinfos pdump_root_struct_ptrs
6883 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
6884 replace_symbol dumpstructinfo pdump_root_struct_ptr
6885 replace_symbol dumpstruct dump_add_root_struct_ptr
6887 replace_symbol dumpopaque dump_add_opaque
6888 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
6889 replace_symbol dumpopaqueinfos pdump_opaques
6890 replace_symbol dumpopaqueinfo pdump_opaque
6892 replace_symbol nb_structdump nb_root_struct_ptrs
6893 replace_symbol nb_opaquedump nb_opaques
6895 replace_symbol align_table pdump_align_table
6896 replace_symbol dump_header pdump_header
6898 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
6899 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
6902 2001-01-12 Martin Buchholz <martin@xemacs.org>
6904 * s/aix4.h: Keep the C for AIX compiler from overaggressively
6905 optimizing bytecount_to_charcount().
6907 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
6910 (HAVE_DLFCN_H): Removed.
6911 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
6913 2001-01-06 Martin Buchholz <martin@xemacs.org>
6915 Portable dumper maintainability improvements.
6916 * alloc.c (staticpro):
6917 * alloc.c (staticpro_nodump):
6918 * alloc.c (garbage_collect_1):
6919 * alloc.c (reinit_alloc_once_early):
6920 * alloc.c (init_alloc_once_early):
6921 * alloc.c: Move dumper functions to alloc.c.
6922 * dumper.c (pdump_backtrace):
6923 * dumper.c (pdump_dump_structs):
6924 * dumper.c (pdump_dump_opaques):
6925 * dumper.c (pdump_dump_rtables):
6926 * dumper.c (pdump_dump_wired):
6928 * dumper.c (pdump_load_check):
6929 * dumper.c (pdump_load_finish):
6930 * dumper.c (pdump_file_unmap):
6931 * dumper.c (pdump_file_get):
6932 * dumper.c (pdump_resource_free):
6933 * dumper.c (pdump_resource_get):
6934 * dumper.c (pdump_file_free):
6935 * dumper.c (pdump_file_try):
6936 * dumper.c (pdump_load):
6937 Remove fixed size limits on staticpro(), staticpro_nodump(),
6938 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
6939 Remove custom code for dumping lrecord_implementations_table - use
6941 Remove (most of the) custom code for dumping staticpros - dump it
6942 like any other dynarr.
6944 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
6945 * dumper.c: Moved functions from alloc.c.
6946 * alloc.c (dumpstruct): Moved to dumper.c.
6947 * alloc.c (dumpopaque): Likewise.
6948 * alloc.c (pdump_wire): Likewise.
6949 * alloc.c (pdump_wire_list): Likewise.
6951 * lisp.h (Dynarr_sizeof): New.
6952 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
6953 * lisp.h (Dynarr_end): New. Very slightly C++oid.
6954 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
6956 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
6957 * lisp.h (dumpopaque): ditto.
6958 * lisp.h (pdump_wire): ditto.
6959 * lisp.h (pdump_wire_list): ditto.
6961 2001-01-09 Martin Buchholz <martin@xemacs.org>
6963 * make-src-depend (PrintPatternDeps):
6964 Use `sort' to make output independent of perl version.
6966 2001-01-08 Martin Buchholz <martin@xemacs.org>
6969 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
6970 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
6972 2001-01-03 Didier Verna <didier@xemacs.org>
6974 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
6975 that `focus_frame' is alive before thinking of calling
6976 `redisplay_redraw_cursor' on it.
6978 2001-01-08 Martin Buchholz <martin@xemacs.org>
6980 * XEmacs 21.2.40 is released.
6982 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
6984 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
6986 2001-01-06 Martin Buchholz <martin@xemacs.org>
6988 * alloc.c (dbg_valmask): Make const.
6989 * alloc.c (dbg_typemask): Make const.
6990 * alloc.c (dbg_USE_UNION_TYPE): Make const.
6991 * alloc.c (dbg_valbits): Make const.
6992 * alloc.c (dbg_gctypebits): Make const.
6994 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
6996 * redisplay-x.c (x_bevel_area):
6997 redisplay.h (struct rune):
6998 Typo fixes in comments.
7000 2001-01-05 Andy Piper <andy@xemacs.org>
7002 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7005 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7007 2001-01-05 Martin Buchholz <martin@xemacs.org>
7009 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7011 * mule-ccl.c (stack_idx_of_map_multiple):
7012 Non const global data must not be initialized!
7013 Found by MIYASHITA Hisashi.
7015 2001-01-02 Andy Piper <andy@xemacs.org>
7017 * frame.c (change_frame_size): make sure frame size is always
7020 * glyphs.c (image_instance_layout): minor code reuse.
7022 * window.c (Fcurrent_window_configuration): revert previous
7025 2001-01-02 Martin Buchholz <martin@xemacs.org>
7028 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
7030 2000-12-31 Andy Piper <andy@xemacs.org>
7032 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
7033 when widget gets unmapped.
7035 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
7036 function. Make sure widgets losing focus don't just drop it.
7037 (handle_focus_event_1): record the widget with focus.
7039 2000-12-31 Andy Piper <andy@xemacs.org>
7041 * window.c (allocate_window): use
7042 make_image_instance_cache_hash_table.
7043 (make_dummy_parent): ditto.
7044 (Fset_window_configuration): ditto.
7046 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
7048 * glyphs.c (process_image_string_instantiator): use
7050 (get_image_instantiator_governing_domain): ditto.
7051 (normalize_image_instantiator): ditto.
7052 (instantiate_image_instantiator): ditto.
7053 (make_image_instance_1): ditto.
7054 (image_instantiate): ditto. Key on glyph *and* instantiator type.
7055 (instantiator_eq_equal): new function for use with instance hash
7057 (instantiator_eq_hash): ditto.
7058 (make_image_instance_cache_hash_table): create a suitable hash
7059 table for storing image instances.
7061 * elhash.h (hash_table_weakness): new internal weakness type
7062 HASH_TABLE_KEY_CAR_VALUE_WEAK.
7063 declare new functions.
7065 * elhash.c (finish_marking_weak_hash_tables): introduce yet
7066 another weakness type for glyphs.
7067 (make_standard_lisp_hash_table): new function split out from
7068 make_general_lisp_hash_table.
7069 (make_lisp_hash_table): call make_standard_lisp_hash_table.
7070 (hash_table_instantiate): ditto.
7071 (Fmake_hash_table): ditto.
7073 2000-12-31 Martin Buchholz <martin@xemacs.org>
7075 * XEmacs 21.2.39 is released.
7077 2000-12-29 Andy Piper <andy@xemacs.org>
7079 * menubar.c (menubar_visible_p_changed): signal the frame changed.
7081 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
7082 the frame has changed so that we pick up geometry changes such as
7085 2000-12-28 Andy Piper <andy@xemacs.org>
7087 * lastfile.c (my_ebss): make a char array so we can pad the
7088 bss. Fixes cygwin unexec.
7090 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
7092 2000-12-26 Andy Piper <andy@xemacs.org>
7094 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
7095 comments and try and be more precise about a non-/SIGIO world.
7096 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
7099 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
7100 we don't normalize to zero width or height.
7102 2000-12-24 Andy Piper <andy@xemacs.org>
7104 * Makefile.in.in (ldflags): add -mwindows when appropriate.
7106 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
7108 * s/sco5.h: SCO 5 has pty support.
7110 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
7112 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
7113 input-method-xlib.c contains whole contents of input-method-xfs.c,
7114 so we can use input-method-xlib.c's code for USE_XFONTSET
7116 * input-method-xfs.c: removed.
7118 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
7120 * file-coding.h (enum coding_category_type): reorder enumerators to
7121 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
7122 (now one greater than largest real coding_category_type enumerator).
7123 * file-coding.c (coding_category_symbol, coding_category_by_priority,
7124 coding_category_system, fcd_descriptihon_1, decode_coding_category,
7125 Fcoding_category_list, Fset_coding_priority_list,
7126 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
7127 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
7129 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7131 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
7132 * redisplay-output.c (redisplay_output_window): Clear top of window
7133 when face is changed.
7134 * redisplay-x.c (x_redraw_exposed_window): Call
7135 redisplay_clear_top_of_window.
7136 * redisplay.h: Publish redisplay_clear_top_of_window.
7138 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7140 * buffer.c (Fkill_buffer): Map over all devices.
7141 * window.c (window_loop): Remove UNSHOW_BUFFER code.
7142 (list_windows): New function.
7143 (list_all_windows): Ditto.
7144 (Freplace_buffer_in_windows): Use them.
7146 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
7148 * database.c (berkdb_subtype): Recognize new subtype `queue'.
7149 (Fopen_database): Use `db_create' instead of `db_open'.
7150 (syms_of_database): Initialize Qqueue.
7152 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7154 * buffer.c (common_init_complex_vars_of_buffer): Initialize
7155 buffer_local_face_property.
7156 * buffer.h (struct buffer): New member buffer_local_face_property.
7157 * window.c (Fset_window_buffer): Mark window's face as changed
7158 when buffer has buffer local face.
7159 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
7160 * objects.c (color_after_change): Set buffer_local_face_property
7161 when locale of face specifier is buffer.
7162 * objects.c (font_after_change): Ditto.
7163 * objects.c (face_boolean_after_change): Ditto.
7164 * glyphs.c (image_after_change): Ditto.
7166 2000-12-09 Dan Holmsand <dan@eyebee.com>
7168 * nt.c (mswindows_fstat): Report file permissions, volume serial
7169 number, etc. Code adapted from FSF Emacs 20.7.
7171 2000-12-09 Dan Holmsand <dan@eyebee.com>
7173 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
7174 of stat when we don't have symbolic links, to make sure
7175 mswindows_stat is called on mswindows.
7177 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7179 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
7181 2000-12-12 Martin Buchholz <martin@xemacs.org>
7183 * doprnt.c (emacs_doprnt_1): More printing fixes.
7184 Make printing of numbers compatible with libc and FSF Emacs.
7185 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
7186 Use the system printf to do most of the hard work of formatting,
7187 instead of doprnt_1().
7188 Calculate memory to allocate for format string.
7189 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
7190 (doprnt_1): Cleaner code and documentation.
7192 2000-12-01 Jerry James <james@eecs.ukans.edu>
7194 * Makefile.in.in: Use the loop variable to install headers.
7196 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7198 * window.c (Fsplit_window): Don't invalidate face cache.
7200 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7202 * minibuf.c (Fall_completions): Undo the previous change
7203 which removed checking elements start with space.
7205 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7207 * mule-canna.c: Didier suppression.
7209 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7211 * mule-canna.c: rename static unsigned char buf[] to key_buffer
7212 (warning suppression). Add English comment translations.
7214 2000-12-05 Martin Buchholz <martin@xemacs.org>
7216 * unexelfsgi.c (unexec): Better test for mmap failure.
7218 2000-12-05 Martin Buchholz <martin@xemacs.org>
7220 * XEmacs 21.2.38 is released.
7222 2000-12-05 Martin Buchholz <martin@xemacs.org>
7224 * redisplay.c (bar-cursor): Make a user variable.
7226 * symsinit.h: Add init_postgresql_from_environment.
7228 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7230 * regex.c: Convert to clean C.
7232 2000-12-05 Dan Holmsand <dan@eyebee.com>
7235 Don't #include sysfile.h. Revert to duplicating PATH_MAX
7237 (sys_readlink): renamed to system_readlink to avoid conflict with
7238 the other sys_readlink.
7240 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
7242 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
7244 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
7246 * postgresql.c (init_postgresql_from_environment): new function.
7247 (vars_of_postgresql): Move code initializing Lisp variables out and
7248 into init_postgresql_from_environment.
7249 emacs.c (main_1): Call init_postgresql_from_environment if and only
7250 if running a dumped XEmacs.
7252 2000-08-31 Dan Holmsand <dan@eyebee.com>
7254 * buffer.c: Make find-file-compare-truenames default to true on
7257 * realpath.c (win32_abs_start):
7259 (win32_readlink): New functions.
7260 (xrealpath): Return really real filenames on windows.
7262 * fileio.c (Ffile_truename): Make file-truename work on windows.
7264 2000-11-29 Didier Verna <didier@xemacs.org>
7266 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
7267 * faces.c (update_face_cachel_data): use it.
7268 * faces.c (add_face_cachel): use it. Complete background pixmap
7269 frobbing in face cache if `update_face_cachel_data' has not done so.
7271 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
7273 * search.c (string_match_1): Don't set last_thing_searched
7276 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
7278 * buffer.c: Include casetab.h
7279 (common_init_complex_vars_of_buffer): Use new case-table object.
7280 * buffer.h: Include casetab.h
7281 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
7282 (DOWNCASE_TABLE_OF): Ditto.
7283 * bufslots.h: Remove char-tables and add case-table.
7284 * casetab.c: Include casetab.h
7285 (CASE_TABLE_P): Removed.
7286 (mark_case_table): New function.
7287 (allocate_case_table): New function.
7288 (Fcase_table_p): Use new case-table.
7289 (case_table_char): New function.
7290 (Fget_case_table): Ditto.
7291 (Fput_case_table): Ditto.
7292 (Fput_case_table_pair): Ditto.
7293 (Fcopy_case_table): Ditto.
7294 (Fcurrent_case_table): Return case-table.
7295 (Fstandard_case_table): Return case-table.
7296 (Fset_case_table): Fix doc-string.
7297 (set_case_table): Use case-table
7298 (syms_of_casetab): DEFSUBR new functions.
7299 (complex_vars_of_casetab): Set up standard case-table.
7300 * casetab.h: New file.
7301 * editfns.c: Include casetab.h
7302 (Fcompare_buffer_substrings): Use case-table.
7303 * inline.c: Include casetab.h
7304 * lisp.h: Remove bogus extern.
7305 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
7306 * search.c: Include casetab.h
7307 (TRANSLATE_ASCII): Removed.
7308 (TRANSLATE): Unconditionally translate character.
7309 (looking_at_1): Use case-table.
7310 (string_match_1): Ditto.
7311 (fast_string_match): Ditto.
7312 (search_command): Ditto.
7313 (search_buffer): Separate boyer_moore. Check whether
7314 boyer_moore is possible.
7315 (simple_search): New function.
7316 (boyer_moore): Separated from search_buffer. Translate char.
7318 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
7320 * regex.c (RE_TR_ASCII): Removed.
7321 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
7322 (PATFETCH): Call PATFETCH_RAW.
7323 (PATFETCH_RAW): Fetch Emchar.
7324 (PATUNFETCH): Decrement charptr.
7325 (GET_BUFFER_SPACE): Rename b to buf_end.
7327 (BUF_PUSH_2): Ditto.
7328 (BUF_PUSH_3): Ditto.
7329 (EXTEND_BUFFER): Ditto.
7330 (SET_LIST_BIT): Ditto.
7331 (regex_compile): Ditto. Translate non ASCII char.
7332 (compile_range): Ditto.
7333 (re_search_2): Ditto.
7334 (re_match_2_internal): Compare Emchar.
7335 (bcmp_translate): Ditto.
7337 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
7339 * lisp.h (basic char/int typedefs): comment improvement.
7341 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
7343 * emacs.c (main_1): unconditional pdump unstomping; don't save and
7344 unstomp inhibit_site_lisp. Improve comments.
7346 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
7348 * mule-charset.c (Fcharset_property): improve type checking, comments.
7350 2000-11-28 Andy Piper <andy@xemacs.org>
7352 * redisplay-output.c (redisplay_output_subwindow): make sure we do
7353 clipped display for windows in the gutter also.
7354 (redisplay_display_boxes_in_window_p): change semantics of return
7355 codes to be more intuitive.
7357 * gutter.h: declare display_boxes_in_gutter_p.
7359 * gutter.c (display_boxes_in_gutter_p): new function for
7362 2000-11-22 Andy Piper <andy@xemacs.org>
7364 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
7367 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
7369 * callproc.c (Fold_call_process_internal):
7370 * gpm.c (Freceive_gpm_event):
7371 (tty_get_foreign_selection): Might be just warning supression.
7372 * fileio.c (Fwrite_region_internal):
7373 (Fset_visited_file_modtime):
7374 * keymap.c (event_matches_key_specifier_p):
7375 Initialize GCPROed variable.
7377 * menubar-x.c (command_builder_find_menu_accelerator):
7378 Initialize before use.
7380 2000-11-23 Andy Piper <andy@xemacs.org>
7382 * unexcw.c (unexec): make the resulting executable executable.
7384 2000-11-21 Martin Buchholz <martin@xemacs.org>
7386 * doc.c (get_doc_string):
7387 Use size_t, not int, for result of XSTRING_LENGTH.
7389 * cmds.c (Fdelete_char):
7390 * cmds.c (Fpoint_at_eol):
7391 * cmds.c (Fself_insert_command):
7392 Use EMACS_INT, not int, for result of XINT.
7393 Someday, someone will want to insert more than 2**31 identical characters.
7395 * cmds.c (Fdelete_char):
7396 * cmds.c (Fdelete_backward_char):
7397 * syntax.c (Fforward_word):
7398 * syntax.c (Fforward_comment):
7399 Make COUNT argument optional, for consistency with forward-char et al.
7401 2000-11-22 Martin Buchholz <martin@xemacs.org>
7404 * print.c (long_to_string):
7405 Return a useful value: the pointer at end of data written.
7408 Use `static const char * const' for constant strings.
7409 (union printf_arg): Delete `i', `ui' members.
7412 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
7413 Do all printf-ing via the `l' specifier.
7414 Use EMACS_INT instead of int.
7417 2000-11-20 Didier Verna <didier@xemacs.org>
7419 * faces.c (update_face_cachel_data): don't frob the background
7420 pixmap when the window is being created. The face is needed but
7423 2000-11-20 Andy Piper <andy@xemacs.org>
7425 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
7426 messing with a debug environment.
7428 2000-11-20 Martin Buchholz <martin@xemacs.org>
7430 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
7432 2000-11-20 Martin Buchholz <martin@xemacs.org>
7434 * casetab.c (Fcase_table_p): Fix compile error and crash.
7436 2000-11-18 Philip Aston <philipa@mail.com>
7438 * s/cygwin32.h: Cygwin has SVR4-like pty support.
7440 2000-11-18 Martin Buchholz <martin@xemacs.org>
7442 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
7443 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
7445 2000-11-17 Martin Buchholz <martin@xemacs.org>
7447 * config.h.in: Define HAVE_ELF_H if elf.h exists.
7448 * unexelf.c: Use HAVE_ELF_H.
7449 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
7450 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
7451 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
7452 Greg Harrington <greg_harrington@hotmail.com> provided a machine
7454 So this is an unexelfsgi.c from a different line of development.
7456 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7458 * regex.c (RE_TR_ASCII): New function.
7459 (RE_TRANSLATE): Call it.
7461 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7463 * buffer.h (TRT_TABLE_OF): Remove assert.
7464 (IN_TRT_TABLE_DOMAIN): Removed.
7466 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
7468 * free-hook.c (log_gcpro):
7469 (show_gcprohist): Add support for GCPRO5.
7471 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
7473 * emacs.c (main_1): Improve -sd error message when --pdump=no.
7475 2000-11-16 Olivier Galibert <galibert@xemacs.org>
7477 * symeval.h: Declare flush_all_buffer_local_cache.
7479 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
7480 (flush_buffer_local_cache): Added.
7481 (flush_all_buffer_local_cache): Added.
7483 * lrecord.h: Remove unused XD_LO_RESET_NIL.
7485 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
7486 (pdump_dump_data): Ditto.
7487 (pdump_reloc_one): Ditto.
7488 (pdump): Remove unused pdump_qnil. Flush buffer local caches
7492 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
7494 * buffer.c: Remove if 0'ed entry.
7495 * buffer.h: Rewrite TRT to use char-table.
7496 * bufslots.h: Remove mirror tables.
7497 * casetab.c: Remove mirror tables.
7498 (CASE_TABLE_P): New macro.
7499 (Fcase_table_p): Element of a case table is string or char-table.
7500 (make_mirror_trt_table): Removed.
7501 (set_case_table): Setup char-table from strings for backward
7503 * dired.c (Fdirectory_files):
7504 * dired-msw.c: (mswindows_get_files):
7505 * lisp.h: Change prototype of re_pattern_buffer.
7506 * regex.c: (RE_TRANSLATE): New macro.
7507 (TRANSLATE_P): Ditto.
7508 Change translate to type RE_TRANSLATE_TYPE.
7509 * regex.h: Define RE_TRANSLATE_TYPE
7510 * search.c (TRANSLATE): New macro.
7511 (TRANSLATE_ASCII): New macro.
7512 Translate table is changed to Lisp_Object.
7513 (signal_failure): Inhibit return.
7515 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
7522 Do UNGCPRO before return.
7524 2000-11-14 Martin Buchholz <martin@xemacs.org>
7526 * XEmacs 21.2.37 is released.
7528 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7530 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
7531 Add comments about discarded return value.
7533 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
7536 * event-stream.c: Fix comments. Remove some #if 0'ed part.
7538 2000-10-27 Andy Piper <andy@xemacs.org>
7540 * gutter.c (Fset_default_gutter_position): default left and right
7542 (calculate_gutter_size): calculate resonable heuristic for left
7543 and right gutter sizes.
7544 (specifier_vars_of_gutter): change left and right gutter sizes to
7546 (calculate_gutter_size_from_display_lines): new function.
7547 (output_gutter): check for resizing on left and right gutters.
7548 (clear_gutter): don't special case top and left gutters.
7549 (specifier_vars_of_gutter): use new signature for
7550 set_specifier_caching.
7552 * glyphs-x.c (x_redisplay_widget): spelling fix.
7553 * glyphs.c (specifier_vars_of_glyphs):
7554 * menubar.c (specifier_vars_of_menubar):
7555 * redisplay.c (specifier_vars_of_redisplay):
7556 * toolbar.c (specifier_vars_of_toolbar):
7557 * window.c (specifier_vars_of_window):
7558 * scrollbar.c (specifier_vars_of_scrollbar):
7559 (complex_vars_of_scrollbar): use new signature for
7560 set_specifier_caching.
7562 * specifier.c (set_specifier_caching): include recompute flag.
7563 (recompute_one_cached_specifier_in_window): always recompute if
7565 (recompute_one_cached_specifier_in_frame): ditto.
7567 * specifier.h (struct specifier_caching): add recompute flag.
7569 2000-10-24 Andy Piper <andy@xemacs.org>
7571 * unexcw.c (copy_executable_and_dump_data_section): add new
7572 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
7575 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7577 * console-x.h (x_device): New member modifier_release_time.
7578 * event-Xt.c (x_handle_sticky_modifiers):
7579 Bound interval modifier keys are sticky.
7580 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
7581 * events.h: extern it.
7583 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7585 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
7587 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7589 * event-stream.c (execute_command_event): Preserve current_events
7590 and the like when event is misc-user-event.
7591 Inhibit quit during the call to maybe_echo_keys.
7593 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
7595 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
7596 symlink when buffer is killed.
7597 (inhibit_clash_detection): New variable.
7599 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
7601 * console.c (Fset_input_method): Trigger redisplay on tty.
7603 2000-11-07 Martin Buchholz <martin@xemacs.org>
7605 * process.c (Fprocess_status): Revert to previous behavior:
7606 (process-status "nosuchprocess") ==> nil
7608 2000-11-06 Martin Buchholz <martin@xemacs.org>
7610 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
7611 Work around another GCC 2.95.2 optimizer bug.
7613 2000-11-02 Martin Buchholz <martin@xemacs.org>
7615 * process.c (Fget_process): Use LIST_LOOP_2.
7616 (kill_buffer_processes): Use LIST_LOOP_2.
7618 * minibuf.c (Fall_completions):
7619 Delete old non-functional code for FSF fourth argument.
7621 * frame.c (frame_matches_frame_spec):
7622 Renamed from `frame_matches_frametype'. Update all callers.
7623 (device_matches_device_spec):
7624 Renamed from 'device_matches_console_spec'. Update all callers.
7626 * doc.c (Fsubstitute_command_keys):
7627 Remove buffer overflow crash. Small code cleanups.
7629 * casetab.c (check_case_table): Simpler code.
7631 * window.c (Freplace_buffer_in_windows):
7632 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
7633 (and similar implementation) as Fdelete_windows_on.
7636 * alloc.c (Fmake_list):
7637 * alloc.c (make_vector):
7638 * alloc.c (Fmake_vector):
7639 * alloc.c (make_bit_vector):
7640 * alloc.c (Fmake_bit_vector):
7641 * alloc.c (Fbit_vector):
7642 * alloc.c (Fmake_string):
7643 * alloc.c (Fpurecopy):
7644 * alloc.c (Fmemory_limit):
7646 * buffer.c (Fget_buffer):
7647 * buffer.c (Fkill_buffer):
7648 * buffer.c (complex_vars_of_buffer):
7649 * bytecode.c (Fcompiled_function_stack_depth):
7650 * callint.c (Fprefix_numeric_value):
7652 * event-stream.c (Fread_key_sequence):
7654 * casetab.c (Fcase_table_p):
7655 * casetab.c (check_case_table):
7656 * casetab.c (Fset_case_table):
7657 * casetab.c (Fset_standard_case_table):
7659 * chartab.c (Fchar_table_type):
7660 * chartab.c (Freset_char_table):
7661 * chartab.c (Fget_char_table):
7662 * chartab.c (Fget_range_char_table):
7663 * chartab.c (Fput_char_table):
7664 * chartab.c (Fmap_char_table):
7665 * chartab.c (Fcategory_table_p):
7666 * chartab.c (Fcheck_category_at):
7667 * chartab.c (Fchar_in_category_p):
7668 * chartab.c (Fcategory_table):
7669 * chartab.c (Fcopy_category_table):
7670 * chartab.c (Fset_category_table):
7671 * chartab.c (Fcategory_designator_p):
7672 * chartab.c (Fcategory_table_value_p):
7673 * cmds.c (Fdelete_char):
7674 * cmds.c (Fdelete_backward_char):
7675 * cmds.c (Fself_insert_command):
7676 * cmds.c (Fself_insert_internal):
7677 * console.c (Fvalid_console_type_p):
7678 * console.c (Fcdfw_console):
7679 * console.c (Fconsole_type):
7680 * console.c (Fconsole_name):
7681 * console.c (Fconsole_device_list):
7682 * console.c (Fconsole_on_window_system_p):
7686 * data.c (Fsubr_interactive):
7687 * data.c (Fchar_to_int):
7688 * data.c (Fint_to_char):
7691 * data.c (Fnumber_to_string):
7692 * data.c (Fstring_to_number):
7694 * database.c (mark_database):
7695 * database.c (finalize_database):
7696 * database.c (Fdatabase_live_p):
7697 * database.c (Fdatabasep):
7698 * device-x.c (Fx_get_resource):
7699 * device.c (Fdfw_device):
7701 * dired.c (Ffile_name_completion):
7702 * dired.c (Ffile_name_all_completions):
7703 * dired.c (Fuser_name_completion):
7704 * dired.c (Fuser_name_completion_1):
7705 * dired.c (Fuser_name_all_completions):
7706 * doc.c (Fdocumentation):
7707 * doc.c (Fdocumentation_property):
7708 * doc.c (Fsubstitute_command_keys):
7710 * editfns.c (Fchar_to_string):
7711 * editfns.c (Fstring_to_char):
7712 * editfns.c (Ftemp_directory):
7713 * editfns.c (Finsert_char):
7714 * editfns.c (Fbuffer_substring_no_properties):
7715 * editfns.c (Fnarrow_to_region):
7716 * editfns.c (Fchar_equal):
7717 * editfns.c (Fchar_Equal):
7718 * editfns.c (Ftranspose_regions):
7719 * emacs.c (Fdump_emacs):
7721 * eval.c (Fcommand_execute):
7722 * eval.c (Fautoload):
7723 * eval.c (Fbacktrace):
7724 * eval.c (Fbacktrace_frame):
7726 * events.c (Fcopy_event):
7727 * events.c (Fcharacter_to_event):
7728 * events.c (Fevent_button):
7729 * events.c (Fevent_process):
7731 * extents.c (Fnext_extent_change):
7732 * extents.c (Fextent_property):
7734 * faces.c (Fmake_face):
7736 * file-coding.c (Fencode_shift_jis_char):
7737 * file-coding.c (Fencode_big5_char):
7738 * fileio.c (Ffile_name_directory):
7739 * fileio.c (Ffile_name_nondirectory):
7740 * fileio.c (Ffile_name_as_directory):
7741 * fileio.c (Fdirectory_file_name):
7742 * fileio.c (Ffile_truename):
7743 * fileio.c (Fsubstitute_in_file_name):
7744 * fileio.c (Ffile_modes):
7745 * fileio.c (Fset_file_modes):
7746 * fileio.c (Fset_default_file_modes):
7747 * fileio.c (Fverify_visited_file_modtime):
7748 * floatfns.c (Facos):
7749 * floatfns.c (Fasin):
7750 * floatfns.c (Fatan):
7751 * floatfns.c (Fcos):
7752 * floatfns.c (Fsin):
7753 * floatfns.c (Ftan):
7754 * floatfns.c (Fbessel_j0):
7755 * floatfns.c (Fbessel_j1):
7756 * floatfns.c (Fbessel_jn):
7757 * floatfns.c (Fbessel_y0):
7758 * floatfns.c (Fbessel_y1):
7759 * floatfns.c (Fbessel_yn):
7760 * floatfns.c (Ferf):
7761 * floatfns.c (Ferfc):
7762 * floatfns.c (Flog_gamma):
7763 * floatfns.c (Fexp):
7764 * floatfns.c (Fexpt):
7765 * floatfns.c (Flog):
7766 * floatfns.c (Flog10):
7767 * floatfns.c (Fsqrt):
7768 * floatfns.c (Fcube_root):
7769 * floatfns.c (Facosh):
7770 * floatfns.c (Fasinh):
7771 * floatfns.c (Fatanh):
7772 * floatfns.c (Fcosh):
7773 * floatfns.c (Fsinh):
7774 * floatfns.c (Ftanh):
7775 * floatfns.c (Fabs):
7776 * floatfns.c (Ffloat):
7777 * floatfns.c (Flogb):
7778 * floatfns.c (Fceiling):
7779 * floatfns.c (Ffloor):
7780 * floatfns.c (Fround):
7781 * floatfns.c (Ftruncate):
7782 * floatfns.c (Ffceiling):
7783 * floatfns.c (Fffloor):
7784 * floatfns.c (Ffround):
7785 * floatfns.c (Fftruncate):
7786 * fns.c (Fstring_equal):
7787 * fns.c (Fstring_lessp):
7792 * fns.c (Fsubstring):
7794 * fns.c (Fold_assoc):
7795 * fns.c (assoc_no_quit):
7797 * fns.c (Fold_assq):
7798 * fns.c (assq_no_quit):
7800 * fns.c (Fold_rassoc):
7802 * fns.c (Fold_rassq):
7803 * fns.c (rassq_no_quit):
7804 * fns.c (Fremassoc):
7805 * fns.c (remassoc_no_quit):
7807 * fns.c (remassq_no_quit):
7808 * fns.c (Fremrassoc):
7809 * fns.c (Fremrassq):
7810 * fns.c (remrassq_no_quit):
7812 * fns.c (Fplist_get):
7813 * fns.c (Fplist_put):
7814 * fns.c (Fplist_remprop):
7815 * fns.c (Fplist_member):
7816 * fns.c (Flax_plist_get):
7817 * fns.c (Flax_plist_put):
7818 * fns.c (Flax_plist_remprop):
7819 * fns.c (Flax_plist_member):
7821 * fns.c (Fold_equal):
7823 * fns.c (Fbase64_encode_region):
7824 * fns.c (Fbase64_encode_string):
7825 * fns.c (Fbase64_decode_region):
7827 * frame.c (frame_matches_frame_spec):
7828 * frame.c (device_matches_device_spec):
7829 * frame.c (next_frame):
7830 * frame.c (previous_frame):
7831 * frame.c (Fnext_frame):
7832 * frame.c (Fprevious_frame):
7833 * frame.c (Fframe_property):
7834 * frame.c (Fset_frame_height):
7835 * frame.c (Fset_frame_size):
7839 * glyphs.c (decode_error_behavior_flag):
7840 * glyphs.c (Fmake_image_instance):
7841 * indent.c (Findent_to):
7842 * intl.c (Fignore_defer_gettext):
7843 * keymap.c (Fkeymapp):
7844 * keymap.c (Flookup_key):
7846 * lread.c (Fload_internal):
7847 * lread.c (Feval_buffer):
7848 * lread.c (Feval_region):
7849 * macros.c (Fexecute_kbd_macro):
7850 * marker.c (set_marker_internal):
7851 * marker.c (Fset_marker):
7852 * marker.c (set_marker_restricted):
7853 * marker.c (Fcopy_marker):
7854 * marker.c (noseeum_copy_marker):
7856 * menubar.c (Fpopup_menu):
7858 * mule-charset.c (Fcharset_name):
7859 * mule-charset.c (Fchar_charset):
7860 * mule-charset.c (Fchar_octet):
7861 * mule-charset.c (Fsplit_char):
7862 * mule-wnnfns.c (Fwnn_open):
7863 * mule-wnnfns.c (Fwnn_dict_comment):
7864 * mule-wnnfns.c (Fwnn_quit_henkan):
7865 * mule-wnnfns.c (Fwnn_word_toroku):
7866 * mule-wnnfns.c (Fwnn_word_sakujo):
7867 * mule-wnnfns.c (Fwnn_word_use):
7868 * mule-wnnfns.c (Fwnn_hindo_set):
7870 * objects.c (Fmake_color_instance):
7871 * objects.c (Fmake_font_instance):
7872 * print.c (Fwrite_char):
7874 * process.c (mark_process):
7875 * process.c (print_process):
7876 * process.c (get_process_from_usid):
7877 * process.c (Fprocessp):
7878 * process.c (Fprocess_live_p):
7879 * process.c (Fget_process):
7880 * process.c (Fget_buffer_process):
7881 * process.c (get_process):
7882 * process.c (Fprocess_id):
7883 * process.c (Fprocess_name):
7884 * process.c (Fprocess_command):
7885 * process.c (init_process_io_handles):
7886 * process.c (start_process_unwind):
7887 * process.c (Fstart_process_internal):
7888 * process.c (Fopen_multicast_group_internal):
7889 * process.c (Fset_process_window_size):
7890 * process.c (read_process_output):
7891 * process.c (send_process):
7892 * process.c (Fprocess_tty_name):
7893 * process.c (Fset_process_buffer):
7894 * process.c (Fprocess_buffer):
7895 * process.c (Fprocess_mark):
7896 * process.c (set_process_filter):
7897 * process.c (Fset_process_filter):
7898 * process.c (Fprocess_filter):
7899 * process.c (Fprocess_send_region):
7900 * process.c (Fprocess_send_string):
7901 * process.c (exec_sentinel):
7902 * process.c (Fset_process_sentinel):
7903 * process.c (Fprocess_sentinel):
7904 * process.c (status_notify):
7905 * process.c (Fprocess_status):
7906 * process.c (Fprocess_exit_status):
7907 * process.c (process_send_signal):
7908 * process.c (Fprocess_send_eof):
7909 * process.c (deactivate_process):
7910 * process.c (remove_process):
7911 * process.c (Fdelete_process):
7912 * process.c (kill_buffer_processes):
7913 * process.c (Fprocess_kill_without_query):
7914 * process.c (Fprocess_kill_without_query_p):
7916 * rangetab.c (Fget_range_table):
7917 * rangetab.c (Fput_range_table):
7918 * rangetab.c (Fremove_range_table):
7919 * rangetab.c (Fclear_range_table):
7921 * search.c (Fskip_chars_forward):
7922 * search.c (Fskip_chars_backward):
7923 * search.c (Fskip_syntax_forward):
7924 * search.c (Fskip_syntax_backward):
7925 * search.c (search_command):
7926 * search.c (Freplace_match):
7927 * search.c (Fregexp_quote):
7928 * select.c (Fown_selection_internal):
7929 * select.c (Fselection_owner_p):
7930 * select.c (Fselection_exists_p):
7931 * select.c (Fget_selection_internal):
7934 * symbols.c (Fintern):
7935 * symbols.c (Fintern_soft):
7936 * symbols.c (Funintern):
7937 * symbols.c (Fapropos_internal):
7938 * symbols.c (Fset_default):
7940 * syntax.c (Fsyntax_table_p):
7941 * syntax.c (Fcopy_syntax_table):
7942 * syntax.c (Fset_syntax_table):
7943 * syntax.c (Fchar_syntax):
7944 * syntax.c (syntax_match):
7945 * syntax.c (Fmatching_paren):
7946 * syntax.c (Fforward_word):
7947 * syntax.c (scan_lists):
7948 * syntax.c (Fscan_lists):
7949 * syntax.c (Fscan_sexps):
7950 * syntax.c (Fparse_partial_sexp):
7951 * toolbar.c (Fcheck_toolbar_button_syntax):
7954 * window.c (Fwindowp):
7955 * window.c (Fwindow_live_p):
7956 * window.c (Fwindow_point):
7957 * window.c (Fdelete_window):
7958 * window.c (Fnext_window):
7959 * window.c (Fprevious_window):
7960 * window.c (Fother_window):
7961 * window.c (window_loop):
7962 * window.c (Fget_lru_window):
7963 * window.c (Fsplit_window):
7964 * window.c (Fenlarge_window):
7965 * window.c (Fenlarge_window_pixels):
7966 * window.c (Fshrink_window):
7967 * window.c (Fshrink_window_pixels):
7968 * window.c (change_window_height):
7969 * window.c (Fwindow_configuration_p):
7970 * window.c (Fcurrent_window_configuration):
7972 * casefiddle.c (casify_object):
7973 * casefiddle.c (Fupcase):
7974 * casefiddle.c (Fdowncase):
7975 * casefiddle.c (Fcapitalize):
7976 * casefiddle.c (Fupcase_initials):
7977 * casefiddle.c (casify_region_internal):
7978 * casefiddle.c (casify_region):
7979 * casefiddle.c (Fupcase_region):
7980 * casefiddle.c (Fdowncase_region):
7981 * casefiddle.c (Fcapitalize_region):
7982 * casefiddle.c (Fupcase_initials_region):
7983 * casefiddle.c (Fupcase_word):
7984 * casefiddle.c (Fdowncase_word):
7985 * casefiddle.c (Fcapitalize_word):
7986 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
7987 Replace 0 with '\0' when working with bytes.
7988 Replace initial "(" with "\(" in docstrings.
7990 2000-11-01 Martin Buchholz <martin@xemacs.org>
7992 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
7994 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
7996 2000-10-31 Martin Buchholz <martin@xemacs.org>
7998 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
8000 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8002 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8005 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8007 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8008 (inhibit_auto_save_session): New variable.
8009 (vars_of_fileio): Declare and initialize them.
8010 * fileio.c (Fdo_auto_save): Don't create session file if
8011 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8013 2000-10-31 Martin Buchholz <martin@xemacs.org>
8015 * sgiplay.c (play_internal): C++ compilability.
8016 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8017 * callproc.c (Fold_call_process_internal):
8018 Remove unused vars `env', `first'.
8019 * scrollbar.c (update_scrollbar_instance):
8020 #### unused var `current_window'.
8021 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8022 etc. within #ifdef NOT_YET.
8023 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8024 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8025 * specifier.c (specifier_instance):
8026 #### unused var `tag'.
8027 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8029 2000-10-27 Martin Buchholz <martin@xemacs.org>
8032 * fns.c (list_sort):
8033 * fns.c (Ffillarray):
8034 * fns.c (bytecode_nconc2):
8037 * fns.c (Fmapconcat):
8038 Be pedantically 64-bit correct. For the time when someone will
8039 want to have a list with length > 2**32.
8041 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8042 Work around MIPSpro compiler bug.
8044 * process-unix.c (unix_kill_child_process): Add snarky comment.
8045 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
8047 * config.h.in: Oops, _getpt ==> _getpty
8049 2000-10-26 Martin Buchholz <martin@xemacs.org>
8053 Use void*, not char*, as return type of alloca().
8055 * alloc.c (free_marker): Side effect inside assert expression!
8057 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
8059 * mule-charset.c (Fset_charset_ccl_program): To check
8060 if the given ccl program is valid, use setup_ccl_program()
8061 instead of CHECK_VECTOR().
8062 (Fmake_charset): Likewise.
8064 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
8066 * faces.c (get_extent_fragment_face_cache_index):
8067 Fix cachel.merged_faces memory leak.
8069 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
8071 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
8072 Reset MSB of octets obtained by DECODE_SJIS
8073 because of the incompatibility with Emacs.
8074 (ccl_driver)<CCL_ENCODE_SJIS>:
8075 Set MSB of octets before passing them to
8076 ENCODE_SJIS because of the incompatibility
8079 2000-10-18 Daiki Ueno <ueno@unixuser.org>
8081 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
8082 (DECLARE_LRECORD): Undo the last change.
8083 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
8085 2000-10-17 Daiki Ueno <ueno@unixuser.org>
8087 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
8088 the implementation to lrecord_implementations_table.
8090 2000-10-14 Daiki Ueno <ueno@unixuser.org>
8092 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
8093 initial value of `lrecord_type_##c_name' and
8094 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
8095 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
8096 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
8097 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
8098 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
8100 2000-10-17 Martin Buchholz <martin@xemacs.org>
8102 * miscplay.c (sndcnv8S_2mono):
8103 (sndcnv2monounsigned):
8104 (sndcnvULaw_2linear):
8106 Remove implementation-defined behavior.
8108 2000-10-12 Martin Buchholz <martin@xemacs.org>
8110 * input-method-xlib.c: Warning suppression.
8112 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
8114 * mule-ccl.c: Sync up with Emacs 21.0.90.
8115 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
8117 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
8119 (ccl_driver[WriteMultibyteChar2]): Bug fix.
8120 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
8121 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
8122 leading char belongs to official 2-dimensional charset.
8123 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
8124 write the given character as is. Otherwise,
8125 if it is a multibyte char, convert it by
8126 non_ascii_set_charptr_emchar, then write it.
8127 (CCL_WRITE_STRING): Likewise.
8128 (ccl_get_compiled_code): New function.
8129 (setup_ccl_program): When ccl_prog is invalid,
8131 (Fregister_code_conversion_map): New function.
8132 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
8134 * mule-ccl.h: Sync up with Emacs 21.0.90.
8135 (Fregister_ccl_program): export it.
8137 * redisplay-msw.c (separate_textual_runs):
8138 If ccl program is not valid, don't do ccl conversion.
8140 * redisplay-x.c (separate_textual_runs): Ditto.
8142 * file-coding.c (Fmake_coding_system):
8143 When type is ccl and value is vector, register it
8144 with a proper symbol. And checks whether the
8145 given ccl program is valid.
8146 (mule_decode): When calling ccl_driver, if src indicates
8147 NULL pointer, set an empty string instead.
8148 (mule_encode): Likewise.
8150 2000-10-11 Martin Buchholz <martin@xemacs.org>
8152 The following large batch of changes gets us back to a state of
8153 C++ compilability. Extbyte is now a char, which means that
8154 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
8156 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
8158 * sound.c (Fplay_sound): Type correctness.
8160 * select-x.c (hack_motif_clipboard_selection): Type correctness.
8161 (x_get_window_property): Type correctness.
8162 (receive_incremental_selection): unsigned char ==> Extbyte
8163 (selection_data_to_lisp_data): unsigned char ==> Extbyte
8164 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
8165 (Fx_store_cutbuffer_internal): Type correctness.
8167 * process-unix.c (try_to_initialize_subtty): Type correctness.
8169 * objects-x.c (x_print_color_instance): Type correctness.
8170 (x_print_font_instance): Type correctness.
8171 (x_list_fonts): SExtbyte ==> Extbyte.
8172 (valid_x_font_name_p): SExtbyte ==> Extbyte.
8173 (x_find_charset_font): SExtbyte ==> Extbyte.
8174 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
8175 (truename_via_XListFonts): SExtbyte ==> Extbyte.
8176 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
8179 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
8180 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
8181 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
8182 (BYTE_C0_P): Use bit ops for char-signedness safety.
8183 (BYTE_C1_P): Use bit ops for char-signedness safety.
8184 (CHARSET_BY_LEADING_BYTE):
8185 (CHARSET_BY_ATTRIBUTES):
8186 Always use inline function.
8187 Use type_checking_assert.
8190 * mule-charset.c (non_ascii_charptr_copy_char):
8191 Modify to work with both ASCII and non-ASCII characters.
8192 Improve docs and variable names.
8193 Replace over-clever fall-through switch with a simple loop.
8194 (Lstream_get_emchar_1):
8195 Replace over-clever fall-through switch with a simple loop.
8197 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8198 Warning suppression.
8200 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
8201 the return value of Lstream_getc, which could be EOF as well.
8203 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
8205 * lisp.h: Make Extbyte a char, not unsigned char, so that external
8206 APIs can be used on Extbytes without casts. Risky!
8210 * input-method-xlib.c (XIM_init_device):
8211 Use Xlib.h instead of IntrinsicP.h.
8212 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
8213 which will break in X11R7.
8214 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
8215 to call XRegisterIMInstantiateCallback with correct types.
8217 * gui-x.c (button_item_to_widget_value): Type correctness.
8219 * glyphs.c (bitmap_to_lisp_data): Type correctness.
8221 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
8222 (xbm_instantiate_1): Type correctness.
8223 (BUILD_GLYPH_INST): Type correctness.
8225 * fileio.c (Fsubstitute_in_file_name): Type correctness.
8228 (decode_coding_sjis):
8229 (decode_coding_big5):
8230 (decode_coding_ucs4):
8231 (decode_coding_utf8):
8232 (decode_coding_iso2022):
8233 (decode_coding_no_conversion):
8234 Make all decoding functions take an Extbyte * arg.
8235 (encode_coding_sjis):
8236 (encode_coding_big5):
8237 (encode_coding_ucs4):
8238 (encode_coding_utf8):
8239 (encode_coding_iso2022):
8240 (encode_coding_no_conversion):
8241 Make all encoding functions take a Bufbyte * arg.
8242 Use size_t instead of unsigned int for memory sizes.
8243 Only cast to unsigned char whenever dereferencing Extbyte *.
8245 * doc.c (unparesseuxify_doc_string): Type correctness.
8247 * console-x.c (split_up_display_spec):
8248 Rewrite without using details of internal string representation.
8249 (x_semi_canonicalize_device_connection): Type correctness.
8252 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
8253 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
8254 (HAVE_XFREE386): Removed.
8256 * buffer.h (DEC_CHARPTR): `const' correctness.
8257 (bufbyte_strcmp): New.
8258 (bufbyte_memcmp): New.
8260 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
8262 * buffer.h (XCHAR_OR_CHAR_INT):
8263 Always use inline function.
8264 Remove redundant type checking assert() - XINT will abort quite nicely.
8266 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
8268 * search.c (Freplace_match): Set newtext to an empty string.
8270 2000-10-10 Martin Buchholz <martin@xemacs.org>
8272 * s/decosf1-3.h: Remove #include of stropts.h
8273 * s/ptx.h: Remove #include of stropts.h
8274 * s/usg5-4.h: Remove #include of stropts.h
8277 Use stropts.h, not sys/stropts.h.
8278 Use strtio.h, not sys/strtio.h.
8280 2000-10-04 Martin Buchholz <martin@xemacs.org>
8282 * XEmacs 21.2.36 is released.
8284 2000-09-21 Andy Piper <andy@xemacs.org>
8286 * glyphs-x.c (x_redisplay_widget): make sure non-structural
8287 changes still involve copying the widget tree.
8288 (update_widget_face): make sure a change is register in the widget
8289 tree. Call update_tab_widget_face appropriately.
8290 (update_tab_widget_face): ditto.
8291 (x_tab_control_redisplay): make sure non-structural changes still
8292 involve copying the widget tree.
8294 2000-08-31 Daiki Ueno <ueno@unixuser.org>
8296 * lread.c (locate_file): Check the path element is non-nil.
8298 2000-10-02 Martin Buchholz <martin@xemacs.org>
8300 * lisp.h: Warning suppression for SCO compilers.
8302 * redisplay-tty.c (reset_tty_modes): Fix crash.
8303 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
8305 2000-09-27 Martin Buchholz <martin@xemacs.org>
8307 Big signal/process handling overhaul. Bugs fixed:
8308 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
8309 M-x comint-kill-subjob should work for both values nil and t of
8310 process-connection-type. It was broken on most platforms.
8311 Testing on Irix and Cygwin still needed. Other plaforms tested.
8312 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
8313 * process-unix.c: Signal/Process handling overhaul.
8314 (pty_name): make 64 bytes, as `expect' does, for paranoia.
8315 (allocate_pty): Use all available modern methods of allocating
8316 ptys, falling back to old style BSD allocation as a last resort.
8317 Use allegedly more secure Unix98 pty allocation by default.
8318 (allocate_pty_the_old_fashioned_way): New. the last resort.
8319 (unix_create_process): Push ptem, ldterm, ttcompat where
8320 available. Autoconfiscate.
8321 (try_to_initialize_subtty): New.
8322 (unix_kill_child_process): Proper signal handling for ptys on most
8323 platforms, using special knowledge of AIX, BSD, etc...
8324 (unix_create_process): Always disconnect_controlling_terminal() for
8325 subprocesses, whether using ptys or not.
8326 * process.h: Remove old getpt-dependent PTY code.
8327 * process.c (Fprocess_send_signal): New, obvious generic function.
8328 (decode_signal): New.
8329 (Finterrupt_process):
8333 (Fcontinue_process):
8334 (Fsignal_process): Use decode_signal.
8335 (process_send_signal):
8336 Many docstring corrections.
8337 Allow any signal to be sent to a process object.
8338 * config.h.in: Add symbols for big signal/process overhaul.
8339 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
8340 * sysproc.h: Include process-related headers, where available:
8341 sys/stropts.h sys/strtio.h pty.h libutil.h
8349 Remove old S&M pty stuff.
8350 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
8351 * systty.h: Simplify cpp hackery, improve comments.
8352 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
8354 * editfns.c (Fformat_time_string):
8355 Be a little more paranoid with the return value of ctime.
8357 * fileio.c (check_executable):
8359 Use symbolic constants X_OK, W_OK.
8361 * console-x.c (split_up_display_spec): Fix a warning.
8363 2000-10-02 Martin Buchholz <martin@xemacs.org>
8365 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
8366 * ntproc.c (sys_spawnve): make_string ==> build_string
8367 Small clarity improvements.
8369 2000-09-30 Martin Buchholz <martin@xemacs.org>
8371 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
8373 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
8375 * config.h.in (HAVE_STRCASECMP): Remove.
8377 2000-09-29 Martin Buchholz <martin@xemacs.org>
8379 * redisplay-output.c (redisplay_output_pixmap):
8380 Cleaner and possibly more 64-bit correct code.
8382 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
8384 * dumper.c (pdump_load_finish): move restoration of
8385 `noninteractive1' to emacs.c (main_1).
8386 * emacs.c (main_1): protect LISP-visible command-line flags
8389 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
8391 * Makefile.in.in (versionclean): Use EXE_TARGET and
8392 DUMP_TARGET instead of literal program names.
8394 2000-09-20 Martin Buchholz <martin@xemacs.org>
8396 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
8398 2000-09-19 Martin Buchholz <martin@xemacs.org>
8400 * *: Spelling mega-patch
8402 2000-09-19 Martin Buchholz <martin@xemacs.org>
8404 * fns.c (bad_bad_turtle):
8405 Delete "Eek!" comment, since we fixed the bug to which it refers.
8407 2000-09-16 Martin Buchholz <martin@xemacs.org>
8409 * alloca.c: Replace REGISTER with register.
8411 2000-09-16 Daiki Ueno <ueno@unixuser.org>
8413 * file-coding.c (ucs_to_char): Use countof.
8415 2000-09-16 Martin Buchholz <martin@xemacs.org>
8417 * file-coding.c: (ucs_to_char):
8418 (complex_vars_of_file_coding):
8419 Use countof instead of sizeof.
8420 Use CHECK_NATNUM instead of CHECK_INT.
8422 * sysdep.c (strcasecmp): Remove.
8423 * device-x.c (ascii_strcasecmp): New.
8424 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
8425 Avoid using non-standard non-portable strcasecmp.
8427 2000-09-16 Martin Buchholz <martin@xemacs.org>
8429 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
8430 * font-lock.c: remove reference to emacsfns.h.
8431 * search.c: small doc improvement.
8432 * event-Xt.c: correct file names in comments.
8433 * console-x.h Correct file names in comments.
8434 * frame.c: Correct file names in comments.
8435 * event-stream.c: remove Energize from comments.
8437 2000-09-15 Martin Buchholz <martin@xemacs.org>
8439 * symeval.h (DEFERROR_STANDARD):
8442 (DEFSYMBOL_NO_DUMP):
8443 (DEFSYMBOL_MULTIWORD_PREDICATE):
8444 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
8446 The construct &##name is not sensible C.
8447 Fixes compilation errors with Unixware native compiler.
8449 2000-09-14 Martin Buchholz <martin@xemacs.org>
8451 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
8452 (next_frame_internal): Removed. We now just have next_frame.
8454 Write a simpler and cleaner one-pass algorithm.
8455 Remove called_from_delete_device arg and #ifdefed-out code.
8457 Renamed from prev_frame. Update callers.
8458 Cleaned up to have an analogous implementation to next_frame.
8459 (other_visible_frames_internal): Remove the
8460 called_from_delete_device bogus arg, and hence, remove this
8461 function. Just use other_visible_frames().
8463 * window.c (Fnext_window):
8465 Since next_frame() is guaranteed to return a frame, remove check
8466 for nil inserted in previous patch.
8469 Make code look more like Fnext_window.
8471 Respect the `console' arg when iterating through windows.
8472 Fixes bug: (get-buffer-window buffer t device) not respecting
8474 This function needs more work, as others have pointed out.
8476 * frame.h: Rename prev_frame to previous_frame.
8477 device_matches_console_spec no longer takes a `frame' arg.
8482 Use EMACS_BLOCK_SIGNAL instead of sigblock.
8483 From "Golubev I. N." <gin@mo.msk.ru>.
8485 * make-src-depend: Fix typo.
8487 2000-09-13 Martin Buchholz <martin@xemacs.org>
8489 * window.c (Fnext_window):
8490 next_frame() might return nil, not a frame.
8492 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8494 * frame.c (next_frame_internal):
8495 We've passed a frame if we've passed its device.
8497 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8498 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
8500 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
8502 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8503 Allow option to suppress accelerators in menu/dialog items.
8504 (populate_or_checksum_helper): Pass dialog title through above.
8506 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
8508 * event-msw.c (mswindows_key_to_emacs_keysym):
8509 Add "pause" key, fix "menu" key.
8511 2000-09-09 Martin Buchholz <martin@xemacs.org>
8513 * eval.c (reinit_vars_of_eval):
8514 Increase max_lisp_eval_depth to 1000,
8515 required for thai-xtis.el to byte-compile under some circumstances.
8517 2000-09-04 Martin Buchholz <martin@xemacs.org>
8519 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
8522 2000-09-01 Martin Buchholz <martin@xemacs.org>
8524 * make-src-depend: Make the generated Makefiles smaller.
8526 * s/hpux.h (SETUP_SLAVE_PTY):
8527 Provide a %d in the format string for the errno argument.
8529 * editfns.c (Ftemp_directory):
8531 Avoid buffer overrun on very long file name.
8533 * input-method-xlib.c (XIM_init_device):
8534 6th parameter of XRegisterIMInstantiateCallback has different
8535 pointer types on different OSes, so simply cast to (void *).
8537 * unexhp9k800.c: Warning fixes. Fiddly changes.
8539 * sysdll.c (dll_open):
8540 shl_load will hang hard if passed a NULL filename.
8541 Simply return NULL for compatibility with dlopen.
8542 * sysdll.c: Conform to XEmacs coding standards.
8544 * sysdep.c (get_pty_max_bytes):
8545 Support pty input lines longer than 512 bytes on HP-UX 10.20.
8547 2000-08-31 Martin Buchholz <martin@xemacs.org>
8549 * tooltalk.c: Add #include <syssignal.h>
8551 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
8553 * s/hpux.h: Don't use undefined function sigunblock().
8555 2000-08-31 Martin Buchholz <martin@xemacs.org>
8557 * config.h.in: Add HAVE_BALLOON_HELP.
8558 * emacs.c: Use HAVE_BALLOON_HELP.
8559 * Makefile.in.in (x_objs):
8560 Make Balloon Help conditional on finding shape.h.
8562 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
8564 * syntax.c (regex_emacs_buffer_p): New variable.
8565 * syntax.h (regex_emacs_buffer_p): extern.
8566 * search.c (looking_at_1):
8568 (fast_string_match):
8569 (search_buffer): Set regex_emacs_buffer_p.
8570 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
8571 when before_dot, at_dot, after_dot.
8573 2000-08-23 Andy Piper <andy@xemacs.org>
8575 * gui-x.c (popup_selection_callback): Only set action_occurred
8576 when we really have an image instance.
8577 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
8579 2000-08-23 Andy Piper <andy@xemacs.org>
8581 * gui-msw.c (mswindows_handle_gui_wm_command): set
8583 * gui-x.c (popup_selection_callback): ditto.
8585 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
8586 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
8587 (struct Lisp_Image_Instance): add action_occurred flag.
8589 * glyphs.c (redisplay_subwindow): use action_occurred flag.
8590 (image_instance_changed): ditto.
8591 (reset_frame_subwindow_instance_cache): only unmap windows - do
8592 not remove them from the cache also.
8594 * glyphs-widget.c (tab_control_update): better debug.
8595 (progress_gauge_update): ditto.
8596 (layout_update): ditto.
8597 (layout_instantiate): ditto.
8598 (tab_control_order_only_changed): cope with null pending items.
8600 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
8601 debug. Force selection of an item when an action occurred. Cope
8602 with null pending_items.
8603 (mswindows_progress_gauge_redisplay): better debug.
8604 * glyphs-x.c (x_tab_control_redisplay): ditto.
8606 * redisplay.c (redisplay_frame): reset the frame cache if the
8609 * window.c (Fset_window_configuration): potentially re-enable
8611 (window_unmap_subwindows): need to finalize instances here since
8612 it is only used in mark_window_as_deleted.
8614 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
8616 * nas.c (SndOpenDataForReading):
8617 nas.c (WaveOpenDataForReading):
8618 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
8619 Somehow escaped from the 2000-08-14 patch.
8621 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
8623 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
8624 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
8626 2000-08-21 Andy Piper <andy@xemacs.org>
8628 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
8629 window if it is not already displayed.
8631 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
8632 it is not already displayed.
8634 * window.c (Fset_window_configuration): don't reset the frame
8637 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
8638 instances from the frame cache if we are actually finalizing them.
8639 (reset_frame_subwindow_instance_cache): reset frame cache only
8640 after unmapping everything.
8641 (map_subwindow): set displayed flag after mapping.
8643 2000-08-21 Martin Buchholz <martin@xemacs.org>
8645 * data.c (indirect_function):
8646 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
8648 * eval.c (function_argcount):
8649 Use original function when signaling errors.
8651 2000-08-18 Andy Piper <andy@xemacs.org>
8653 * frame.c (delete_frame_internal): use new
8654 free_frame_subwindow_instances name.
8656 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
8657 (add_tab_item): make return type correct.
8658 (mswindows_tab_control_instantiate): assert index of tab.
8659 (mswindows_tab_control_redisplay): Re-code to use
8660 gui_item_equal_sans_selected and gui_item_list_find_selected.
8662 * glyphs-widget.c (tab_control_update): Correct comment.
8664 * window.c (window_unmap_subwindows): use new
8665 unmap_subwindow_instance_cache_mapper.
8666 (window_unmap_subwindows_cache_mapper): deleted.
8667 (Fset_window_configuration): comparisons should now be with
8668 EQ. Preserve the subwindow instance cache across configuration
8670 (allocate_window): ditto.
8671 (make_dummy_parent): ditto.
8673 * glyphs.c (free_frame_subwindow_instances): rename from
8674 free_frame_subwindow_instance_cache. finalize all instances rather
8675 than just those in the display cache.
8676 (finalize_all_subwindow_instances): walk windows unmapping and
8677 finalizing subwindows.
8678 (unmap_subwindow_instance_cache_mapper): moved from
8679 window.c. Allow finalization as well as unmapping.
8681 * gui.c (gui_item_list_find_selected): new function.
8683 * gui.h (gui_item_list_find_selected): declare.
8685 * glyphs-x.c (x_tab_control_redisplay): pick tab
8686 explicitly. Re-code to use gui_item_equal_sans_selected and
8687 gui_item_list_find_selected.
8689 * glyphs-x.h: add lwlib-utils.h
8691 * buffer.c (Frecord_buffer): undo previous change.
8693 2000-08-09 Vin Shelton <acs@xemacs.org>
8695 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
8696 possible. Create temporary files more securely. The patch was
8697 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
8698 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
8699 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
8702 2000-08-07 Ben Wing <ben@xemacs.org>
8704 * getloadavg.c: remove duplicate (and windows-breaking)
8705 includes of fcntl.h and sys/file.h.
8707 * nt.c: remove duplicate getloadavg() definition.
8709 * sysdll.h (Qdll_filename_encoding): add missing stand-in
8712 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
8714 * eval.c (function_argcount): If function needs to be autoloaded
8715 actually use the loaded definition.
8718 2000-08-05 Ben Wing <ben@xemacs.org>
8720 * getloadavg.c: add prototype for getloadavg(). remove
8721 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
8722 of the code). remove duplicate header includes.
8724 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
8726 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
8727 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
8728 useful load average.
8730 * alloc.c (reinit_alloc_once_early): removed references to
8731 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
8732 the lisp vars are the only things referencing the malloc_sbrk_*
8733 vars, and they were already if 0'd out. these vars only exist
8734 in the older malloc.c, which is basically unused, and they're
8735 only for informational purposes.
8737 * m\*.h: removed useless VIRT_ADDR_VARIES.
8739 * m\powerpc.h: removed stray NO_ARG_ARRAY.
8741 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
8743 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
8744 color if the image is a mono pixmap.
8746 2000-07-30 Ben Wing <ben@xemacs.org>
8748 * Makefile.in.in (release):
8751 * buffer.c (directory_is_current_directory):
8752 * dired-msw.c (mswindows_get_files):
8754 * dired.c (Fdirectory_files):
8755 * dired.c (file_name_completion_stat):
8756 * dired.c (Ffile_attributes):
8757 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
8758 preprocessor tricks, to avoid problems on some machines
8761 * callproc.c (egetenv): GC docs.
8764 * console-msw.h (struct mswindows_dialog_id):
8765 * lrecord.h (lrecord_type):
8766 New object for use with MSW dialogs.
8768 * console.h (struct console_methods):
8769 New enable/disable frame methods, for proper modal dialogs.
8771 * device-msw.c (msprinter_default_printer): Fix to follow
8772 proper Mule conventions.
8775 * device-msw.c (signal_open_printer_error):
8776 * device-msw.c (msprinter_init_device):
8777 * device-msw.c (ensure_not_printing):
8778 * device-msw.c (plist_get_margin):
8779 * device-msw.c (Fmsprinter_select_settings):
8780 * device-msw.c (finalize_devmode):
8781 * device-msw.c (Fmsprinter_settings_despecialize):
8782 * device-msw.c (signal_enum_priner_error):
8783 * extents.c (decode_extent):
8784 * extents.c (decode_map_extents_flags):
8785 * extents.c (decode_extent_at_flag):
8786 * extents.c (Fextent_at):
8787 * extents.c (Fextents_at):
8788 * extents.c (symbol_to_glyph_layout):
8789 [[[[2]]]] Use structured errors.
8792 * dialog-msw.c (mswindows_is_dialog_msg):
8793 * dialog-msw.c (mark_mswindows_dialog_id):
8794 * dialog-msw.c (dialog_proc):
8795 * dialog-msw.c (handle_question_dialog_box):
8796 * dialog-msw.c (syms_of_dialog_mswindows):
8797 Define new object to clean up marking; use it as a dialog identifier.
8798 Call new delete-dialog-box-hook.
8800 * dialog-x.c (dbox_selection_callback):
8801 * dialog-x.c (dbox_descriptor_to_widget_value):
8802 * dialog-x.c (x_make_dialog_box_internal):
8803 Call new delete-dialog-box-hook.
8807 * dialog.c (syms_of_dialog):
8808 * dialog.c (vars_of_dialog):
8809 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
8812 * eval.c (signal_call_debugger):
8813 when noninteractive, output stack traces on the console instead
8814 of in a (never-seen) buffer.
8816 * eval.c (signal_type_error):
8817 * eval.c (invalid_argument_2):
8819 new funs for use w/structured errors.
8822 * event-Xt.c (x_to_emacs_keysym):
8823 * event-Xt.c (describe_event):
8824 * event-Xt.c (emacs_Xt_event_handler):
8825 * event-Xt.c (vars_of_event_Xt):
8827 * event-msw.c (mswindows_wnd_proc):
8828 * event-msw.c (vars_of_event_mswindows):
8829 rename {x,mswindows}-debug-events to debug-{}-events for
8830 consistency with other debug-foo variables.
8833 document next-event more clearly.
8835 * fileio.c (Ffile_name_directory):
8836 * fileio.c (Ffile_name_nondirectory):
8837 * fileio.c (Funhandled_file_name_directory):
8838 * fileio.c (file_name_as_directory):
8839 * fileio.c (Ffile_name_as_directory):
8840 * fileio.c (directory_file_name):
8841 * fileio.c (Fdirectory_file_name):
8842 * fileio.c (Fmake_temp_name):
8843 * fileio.c (Ffile_truename):
8844 * fileio.c (Fsubstitute_in_file_name):
8845 * fileio.c (expand_and_dir_to_file):
8846 * fileio.c (barf_or_query_if_file_exists):
8847 * fileio.c (check_executable):
8848 * fileio.c (Ffile_exists_p):
8849 * fileio.c (Ffile_writable_p):
8850 * fileio.c (Ffile_directory_p):
8851 * fileio.c (Ffile_regular_p):
8852 * fileio.c (Ffile_modes):
8853 * fileio.c (Ffile_newer_than_file_p):
8854 * fileio.c (Fverify_visited_file_modtime):
8855 * fileio.c (Fset_visited_file_modtime):
8856 * fileio.c (auto_save_1):
8861 * frame-msw.c (mswindows_init_frame_1):
8862 * frame-msw.c (mswindows_enable_frame):
8863 * frame-msw.c (error_frame_unsizable):
8864 * frame-msw.c (msprinter_init_frame_1):
8865 * frame-msw.c (msprinter_init_frame_3):
8866 * frame-msw.c (console_type_create_frame_mswindows):
8868 implement new enable/disable frame methods.
8871 * frame-x.c (x_enable_frame):
8872 * frame-x.c (console_type_create_frame_x):
8873 implement new enable/disable frame methods.
8876 * frame.c (Fdisable_frame):
8877 * frame.c (syms_of_frame):
8878 * frame.h (struct frame):
8879 implement new enable/disable frame methods/functions.
8884 * glyphs-msw.c (mswindows_widget_instantiate):
8885 comment that initial-focus should be implemented.
8888 * glyphs-widget.c (check_valid_instantiator):
8889 * glyphs-widget.c (check_valid_orientation):
8890 * glyphs-widget.c (check_valid_tab_orientation):
8891 * glyphs-widget.c (check_valid_justification):
8892 * glyphs-widget.c (check_valid_border):
8893 * glyphs-widget.c (check_valid_callback):
8894 * glyphs-widget.c (check_valid_int_or_function):
8895 * glyphs-widget.c (check_valid_string_or_vector):
8896 * glyphs-widget.c (check_valid_item_list_1):
8897 * glyphs-widget.c (widget_validate):
8898 * glyphs-widget.c (combo_box_validate):
8899 * glyphs-widget.c (widget_instantiate):
8900 * glyphs-widget.c (syms_of_glyphs_widget):
8901 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
8902 * glyphs-widget.c (image_instantiator_combo_box):
8903 * glyphs-widget.c (image_instantiator_scrollbar):
8904 * glyphs-widget.c (image_instantiator_tab_control):
8905 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
8907 support (unimplemented) keyword initial-focus.
8908 reindent long macros.
8910 * glyphs-x.c (x_redisplay_widget):
8911 * glyphs-x.c (x_button_instantiate):
8912 * glyphs-x.c (x_button_redisplay):
8913 * glyphs-x.c (x_progress_gauge_instantiate):
8914 * glyphs-x.c (x_edit_field_instantiate):
8915 * glyphs-x.c (x_combo_box_instantiate):
8916 * glyphs-x.c (x_tab_control_instantiate):
8917 * glyphs-x.c (x_label_instantiate):
8919 * gui-x.c (button_item_to_widget_value):
8920 * gui-x.c (gui_items_to_widget_values_1):
8921 * gui-x.c (gui_item_children_to_widget_values):
8922 * gui-x.c (gui_items_to_widget_values):
8924 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8925 add new flag to gui-parsing routines to indicate whether
8926 accelerator specs should be supported.
8928 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
8930 * glyphs.h (struct Lisp_Image_Instance):
8931 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
8932 add initial-focus flag.
8935 * gui.c (syms_of_gui):
8936 * gui.c (vars_of_gui):
8937 clean up menu-no-selection-hook.
8940 support delete-dialog-box-hook.
8942 * lread.c (Fload_internal):
8943 * lread.c (locate_file_in_directory_mapper):
8947 * lrecord.h (struct toolbar_button):
8948 * lrecord.h (syms_of_toolbar):
8949 document how to create a new object.
8951 * menubar-msw.c (mswindows_char_is_accelerator):
8952 may be called on frames w/o menus.
8954 * menubar.c (vars_of_menubar):
8955 clean up :filter docs.
8962 * process-nt.c (validate_signal_number):
8963 * process-nt.c (signal_cannot_launch):
8964 * process-nt.c (nt_create_process):
8965 * process-nt.c (nt_send_process):
8966 * process-nt.c (nt_kill_child_process):
8967 * process-nt.c (nt_open_network_stream):
8968 * process-nt.c (syms_of_process_nt):
8970 delete quote-handling. call new lisp code that does it better.
8972 * process-unix.c (connect_to_file_descriptor):
8973 * process-unix.c (allocate_pty):
8974 * process-unix.c (unix_send_process):
8975 * process-unix.c (unix_kill_child_process):
8976 * process-unix.c (unix_open_network_stream):
8977 * process-unix.c (unix_open_multicast_group):
8981 * process.c (Fstart_process_internal):
8982 (2). need to canonicalize process path even if absolute.
8984 * select-msw.c (symbol_to_ms_cf):
8985 * select-msw.c (ms_cf_to_symbol):
8986 * select-msw.c (cf_is_autofreed):
8987 * select-msw.c (mswindows_destroy_selection):
8989 * select.c (syms_of_select):
8991 support dibv5, fix bugs. (from Mike Alexander)
8993 * select.c (Fget_selection_internal):
8994 * select.c (select_convert_out):
8997 * sysdep.c (xemacs_stat):
9002 but keep original stat() here because we provide encapsulation
9006 * sysfile.h (fstat):
9007 remove stat garbage.
9011 don't include tchar.h. it's inappropriate because it makes
9012 compile-time distinctions when we want runtime distinctions.
9013 (we provide our own tchar replacements)
9016 use default object printer for toolbar-button.
9019 make sure we don't encapsulate.
9021 * window.c (vars_of_window):
9022 emphasize that temp-buffer-show-hook is obsolete.
9024 2000-08-05 Martin Buchholz <martin@xemacs.org>
9026 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9027 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9029 * events.c (Fevent_timestamp_lessp):
9030 Not 64-bit clean. Use EMACS_INT, not int.
9032 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
9034 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
9035 unsigned int and changed the last enum to
9036 lrecord_type_last_built_in_type.
9037 (lrecord_implementations_table): changed prototype to know how
9038 long the array is supposed to be.
9039 (lrecord_type_count): new unsigned int to keep track of the
9040 current number of lisp lrecord types.
9041 (DEFINE_EXTERNAL_LRECORD):
9042 (DECLARE_EXTERNAL_LRECORD): Added these two for external
9043 dynamic-modules to declare new lisp types. They are the same
9044 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
9045 int for each new type, and increment lrecord_type_count by 1.
9047 * alloc.c (lrecord_implementations_table): Changed to reference
9048 lrecord_type_last_built_in_type for the size of the array.
9049 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
9051 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9053 * glyphs.h (check_valid_item_list): Renamed from
9054 check_valid_item_list_1.
9056 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
9058 * select.c (Qselect_coerce): New.
9059 * select.c (Vselection_coercion_alist): New.
9060 * select.c (syms_of_select): Declare.
9061 * select.c (get-selection-internal): Use it.
9062 Use the new select-coerce functionality.
9064 * select.c (select_coerce): New.
9065 * select.h (select_coerce): Declare.
9066 New function to coerce one type of data into another.
9068 2000-08-03 Martin Buchholz <martin@xemacs.org>
9070 * callproc.c (Fcall_process_internal):
9071 (Fcall_process_internal):
9072 * process-unix.c (unix_create_process):
9073 Save and restore the value of errno, so that error messages are accurate.
9075 2000-08-01 Martin Buchholz <martin@xemacs.org>
9077 * elhash.c (print_hash_table):
9078 Fix printing of hash tables to also use `key-and-value' instead of `t'.
9079 Prettify docstrings and indentation.
9081 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9083 * window.c (Fwindow_pixel_edges): Subtract frame border and
9086 2000-07-31 Andy Piper <andy@xemacs.org>
9088 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
9089 will acknowledge the change.
9091 * glyphs.h: declare tab_control_order_only_changed.
9093 * glyphs-x.c (x_tab_control_redisplay): use
9094 tab_control_order_only_changed.
9096 * glyphs-widget.c (tab_control_order_only_changed): new function.
9098 * glyphs-msw.c (mswindows_tab_control_redisplay): use
9099 tab_control_order_only_changed.
9101 * gui.c (gui_item_equal_sans_selected): new function.
9102 (gui_item_equal): use it.
9104 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
9105 :properties in favor of :items..
9107 * glyphs-widget.c (check_valid_item_list): rename from
9108 check_valid_item_list_1.
9109 (check_valid_item_list_1): renamed.
9110 (combo_box_validate): deprecate :properties in favor of :items.
9111 (widget_instantiate): ditto.
9112 (tab_control_update): ditto.
9113 (image_instantiator_combo_box): ditto.
9114 (image_instantiator_tree_view): ditto.
9115 (image_instantiator_tab_control): ditto.
9116 (layout_post_instantiate): remove dead code.
9118 * print.c (debug_print_no_newline): only write to debugger if in
9121 * elhash.c (Fmake_hash_table): update doc string.
9123 * event-msw.c (mswindows_wnd_proc): don't allow processing of
9124 messages whilst in GC. This at least stops XEmacs crashing but has
9125 the potential for wierd behaviour.
9127 2000-07-31 Martin Buchholz <martin@xemacs.org>
9130 Make existence of s&m files optional.
9132 * s/bsd386.h: Remove HAVE_GETLOADAVG.
9133 * s/freebsd.h: Remove HAVE_GETLOADAVG.
9134 * s/gnu.h: Remove HAVE_GETLOADAVG.
9135 * s/netbsd.h: Remove HAVE_GETLOADAVG.
9136 * s/sol2.h: Remove HAVE_GETLOADAVG.
9137 * lisp.h: Remove getloadavg() declaration.
9139 Include <sys/loadavg.h> if available.
9140 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
9141 * config.h.in: Group together getloadavg()-related macros.
9142 Use only configure-time tests to detect getloadavg().
9144 2000-07-30 Martin Buchholz <martin@xemacs.org>
9146 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
9148 2000-07-25 Andy Piper <andy@xemacs.org>
9150 * syswindows.h: add tchar.h for native builds.
9152 * frame.c (syms_of_frame): remove set-glyph-image.
9154 * general-slots.h: add Qset_glyph_image.
9156 * glyphs-widget.c (layout_update): add domain arg to
9158 (syms_of_glyphs_widget): remove set-glyph-image.
9160 2000-07-23 Ben Wing <ben@xemacs.org>
9162 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
9165 2000-07-22 Andy Piper <andy@xemacs.org>
9167 * symsinit.h: add syms_of_win32().
9169 * gui-msw.c (syms_of_gui_mswindows): remove
9170 Fmswindows_shell_execute.
9171 (Fmswindows_shell_execute): moved to win32.c.
9173 * emacs.c (main_1): add syms_of_win32 ().
9175 * win32.c (init_potentially_nonexistent_functions): rewrite in
9176 compiler-friendly terms.
9177 (Fmswindows_shell_execute): move here from gui-msw.c.
9178 (syms_of_win32): new.
9180 * device-msw.c (Fmswindows_printer_list): clean up args to
9182 Don't include tchar under cygwin or mingw.
9183 (msprinter_default_printer): make cygwin-friendly.
9185 2000-07-21 Andy Piper <andy@xemacs.org>
9187 * glyphs-widget.c (image_instantiator_tree_view): use tab
9188 control's update function.
9189 (layout_property): new function. Retrieve items.
9191 * glyphs-msw.c (mswindows_tree_view_redisplay): new
9192 function. Re-populate the tree view from the pending items.
9194 * glyphs.c (instantiate_image_instantiator): Make sure the domain
9195 is designated the parent if the domain is an image instance. This
9196 is needed so that dirtiness can be cascade up the hierarchy and
9197 thus for layout children to be redisplayed correctly.
9198 (allocate_image_instance): rename glyph -> parent.
9200 * redisplay.h: change redisplay_output_layout signature.
9202 * redisplay-msw.c (mswindows_output_display_block): use domain
9205 * redisplay-x.c (x_output_display_block): use domain arg.
9207 2000-07-10 Andy Piper <andy@xemacs.org>
9209 * window.c (Fset_window_configuration): add comment.
9211 * redisplay-output.c (compare_runes):
9212 (redisplay_output_subwindow): redisplay rather than update subwindow.
9213 (redisplay_output_layout): ditto.
9215 * redisplay-msw.c (mswindows_frame_output_end):
9216 (mswindows_frame_output_end): make defer window pos optional.
9218 * lisp.h: add Flast.
9220 * glyphs.h (struct image_instantiator_methods): add dest_mask top
9221 normalize method. Change update method to be for changed
9222 instantiators. Add redisplay method. Change signature of layout
9224 (struct Lisp_Image_Instance): add instantiator.
9225 (IMAGE_INSTANCE_INSTANTIATOR): new.
9226 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
9227 (XIMAGE_INSTANCE_INSTANTIATOR): new.
9228 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
9231 (find_instantiator_differences): new function.
9232 (Fset_instantiator_property): new convenience function.
9233 (check_image_instance_structure): strictly check for vector
9235 (normalize_image_instantiator): make non-static.
9236 (instantiate_image_instantiator): pass on dest_mask and use new
9237 signatures for image_instance_layout and friends.
9238 (mark_image_instance): mark the instantiator. Mark the subwindow
9239 face not the widget face.
9240 (image_instance_equal): add instantiator.
9241 (image_instance_hash): ditto.
9242 (allocate_image_instance): ditto.
9243 (Fset_image_instance_property): removed.
9244 (Fimage_instance_file_name): ditto.
9245 (Fcolorize_image_instance): ditto.
9246 (image_instance_layout): add offsets to be set.
9247 (update_image_instance): new function. update an image instance
9248 from its changed instantiator.
9249 (inherit_normalize): add dest_mask.
9250 (xbm_normalize): ditto.
9251 (xface_normalize): ditto.
9252 (xpm_normalize): ditto.
9253 (text_update): set_property -> update.
9254 (image_instantiate): use the glyph identity as a hash key, not the
9256 (glyph_width): use new image_instance_layout signature.
9257 (glyph_ascent): ditto.
9258 (glyph_descent): ditto.
9259 (glyph_height): ditto.
9260 (glyph_query_geometry): ressurrect.
9261 (glyph_layout): ditto.
9262 (redisplay_subwindow): update -> redisplay.
9263 (syms_of_glyphs): add Fset_instantiator_property.
9264 (image_instantiator_format_create): set_property -> update.
9267 (autodetect_normalize): add dest_maks to signature.
9268 (x_redisplay_subwindow): update -> redisplay.
9269 (x_redisplay_widget): ditto.
9270 (x_button_redisplay): ditto.
9271 (x_progress_gauge_redisplay): ditto.
9272 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
9274 (console_type_create_glyphs_x): update -> redisplay.
9275 (image_instantiator_format_create_glyphs_x): ditto.
9278 (check_valid_instantiator): disallow glyphs in the instantiator,
9279 they must now be vectors.
9280 (check_valid_instantiator_list): ditto.
9281 (glyph_instantiator_to_glyph): use internal symbol rather than
9283 (widget_update): renamed from widget_set_property. Call cascaded
9285 (redisplay_widget): renamed from update_widget.
9286 (widget_layout): image_instance_layout now takes position as well
9288 (widget_normalize): ditto.
9289 (widget_instantiate): ditto.
9290 (tab_control_query_geometry) ditto.:
9291 (tab_control_update): renamed from tab_control_set_property.
9292 (progress_gauge_update): set_property -> update.
9293 (layout_normalize): rewrite so that child instantiators are
9295 (layout_update): new function. Create glyphs from the normalized
9296 children and cope with any other layout keywords. We do not
9297 instantiate children here that will be take care of by
9298 redisplay_output_layout.
9299 (layout_instantiate): call layout_update and not much else.
9300 (layout_post_instantiate): not sure whether this is needed
9302 (layout_query_geometry): query glyph geometry rather than
9303 image_instance geometry.
9304 (layout_layout): set offsets from pass in parameters. Use glyph
9305 geometry and layout functions rather than image instance ones.
9306 (native_layout_layout): ditto.
9307 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
9308 (image_instantiator_widget): set_property -> update.
9309 (image_instantiator_buttons): ditto.
9310 (image_instantiator_progress_guage): ditto.
9311 (image_instantiator_tab_control): ditto.
9312 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
9313 (image_instantiator_layout): add update method.
9315 * glyphs-msw.c (bmp_normalize):
9316 (mswindows_resource_normalize): add dest_mask so that it can be
9317 proprogated by layout_normalize.
9318 (begin_defer_window_pos): make optional because it may not be the
9319 right thing to do and it introduces differences with X.
9320 (mswindows_unmap_subwindow): ditto.
9321 (mswindows_map_subwindow): ditto.
9322 (mswindows_redisplay_subwindow): renamed from
9323 mswindows_update_subwindow.
9324 (mswindows_redisplay_widget): ditto.
9325 (mswindows_button_redisplay): renamed from
9326 mswindows_button_update. Update is now what the instantiation
9327 function does for a changed instantiator.
9328 (mswindows_progress_gauge_instantiate): set the progress value
9329 here if appropriate.
9330 (mswindows_tab_control_redisplay): cope with re-ordering of the
9331 members of the tab widget by simply selecting the new top
9332 widget. This makes things appear ok if you click on a tab.
9333 (mswindows_combo_box_instantiate): image_instance_layout now takes
9334 position as well as size.
9335 (mswindows_progress_gauge_redisplay): renamed from
9336 mswindows_progress_gauge_update.
9337 (console_type_create_glyphs_mswindows): fix update -> redisplay.
9338 (image_instantiator_format_create_glyphs_mswindows): ditto.
9340 * glyphs-eimage.c (jpeg_normalize):
9343 (tiff_normalize): add dest_mask so that it can be proprogated by
9348 (hash_table_weakness_validate):
9349 (decode_hash_table_weakness):
9350 (Fhash_table_weakness):
9352 (syms_of_elhash): use Ben's naming scheme for hashtable types..
9354 * console.h (struct console_methods): move update_* to
9357 2000-07-20 Ben Wing <ben@xemacs.org>
9359 * *.[ch] (XSETOBJ): remove unused middle argument.
9360 lisp-disunion.h: correct wrap_object() to one argument.
9362 2000-07-15 Ben Wing <ben@xemacs.org>
9365 * s/cygwin32.h (CYGWIN_CONV_PATH):
9366 Add missing logb prototype for v1.1.
9367 Use post-b20 names and alias to pre-b20 names when pre-b20.
9369 * s/windowsnt.h: [5].
9371 2000-07-15 Ben Wing <ben@xemacs.org>
9373 * Makefile.in.in (x_objs):
9374 * Makefile.in.in (sheap_objs):
9375 * Makefile.in.in (objs):
9376 added win32.o, cosmetic cleanups.
9378 * alloc.c (Fmake_byte_code):
9379 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
9380 etc. macros which declare their own args now.
9382 * alloc.c (syms_of_alloc):
9383 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
9386 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
9388 * buffer.c (Fget_file_buffer):
9389 Fixed GCPRO problem.
9391 * buffer.c (get_truename_buffer):
9392 Fixed comment about GC checking.
9394 * buffer.c (syms_of_buffer):
9395 Undeclared those dedicated frame funs.
9399 Define convenience macros for internal/external conversions.
9400 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
9401 and Qenvironment_variable_encoding for cleaner code.
9404 Remove dedicated-frame; in lisp.
9406 * bytecode.c (funcall_compiled_function):
9409 * bytecode.c (syms_of_bytecode):
9413 * console-msw.c (mswindows_show_console): Rewrote.
9415 * console-msw.c (Fmswindows_debugging_output): New.
9416 Sends to OutputDebugString (special MSWin debugger interface).
9418 * console-msw.c (Fmswindows_message_box):
9419 Fixed stupid bugs so it works when called from kill-emacs.
9421 * console-msw.c (syms_of_console_mswindows):
9422 Declare Fmswindows_debugging_output.
9425 New MSWin prototypes.
9427 * console-msw.h (struct mswindows_frame):
9428 New entry last-click-mods for improved button-modifier support.
9430 * console-msw.h (FRAME_MSWINDOWS_POPUP):
9431 New struct entry `popup' with corresponding accessor.
9434 * console-x.c (split_up_display_spec):
9435 * console-x.c (get_display_arg_connection):
9436 * console-x.c (x_semi_canonicalize_console_connection):
9437 * console-x.c (x_canonicalize_device_connection):
9438 [[[6]]]: Change char to more specific type.
9439 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
9441 * console-x.c (x_semi_canonicalize_console_connection):
9442 * console-x.c (x_canonicalize_device_connection):
9443 [[[9]]]: Fix up error signalling to use new structured error system.
9446 [[[4]]]: Define codesys aliases:
9447 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
9448 Qx_color_name_encoding, Qx_display_name_encoding.
9450 * console.h (struct console_methods):
9451 New method make_dialog_box_internal supersedes older
9452 popup_dialog_box method.
9455 Define many new errors, part of new structured errors.
9457 * data.c (init_errors_once_early):
9458 * data.c (syms_of_data):
9461 * device-msw.c (mswindows_init_device):
9462 [[[5]]]: Cleanup to support NT 3.51.
9464 * device-msw.c (decode_devmode): Cleanup.
9466 * device-msw.c (mswindows_handle_print_setup_dialog_box):
9467 * device-msw.c (mswindows_handle_print_dialog_box):
9468 * device-msw.c (mswindows_handle_page_setup_dialog_box):
9469 * device-msw.c (syms_of_device_mswindows):
9470 Delete the dialog box primitives recently introduced by Kirill and
9471 instead interface to general dialog box interface.
9474 * device-x.c (compute_x_app_name):
9475 * device-x.c (x_init_device):
9476 * device-x.c (Fx_valid_keysym_name_p):
9477 * device-x.c (Fx_set_font_path):
9481 * device.h (wrap_device): New.
9482 First of its kind; meant to replace XSETDEVICE.
9484 * dialog-msw.c: Many file-dialog symbols.
9486 * dialog-msw.c (mswindows_register_popup_frame): New.
9487 * dialog-msw.c (mswindows_is_dialog_msg): New.
9488 For supporting kbd traversal in dialog boxes.
9490 * dialog-msw.c (dialog_proc):
9491 Support hitting ESC in dialogs.
9493 * dialog-msw.c (struct):
9494 Common dialog box errors.
9496 * dialog-msw.c (handle_file_dialog_box): New.
9497 Add file dialog code.
9499 * dialog-msw.c (handle_question_dialog_box):
9500 Redo existing code to support new question dialog syntax.
9502 * dialog-msw.c (console_type_create_dialog_mswindows):
9503 We support new dialog console method.
9505 * dialog-msw.c (syms_of_dialog_mswindows):
9506 * dialog-msw.c (vars_of_dialog_mswindows):
9507 New file dialog symbols, vars.
9510 * dialog-x.c (maybe_run_dbox_text_callback):
9511 * dialog-x.c (dbox_descriptor_to_widget_value):
9512 * dialog-x.c (x_make_dialog_box_internal):
9513 * dialog-x.c (console_type_create_dialog_x):
9514 Mule-ize entire file.
9515 Redo to support question dialog syntax.
9519 * dialog.c (Fmake_dialog_box_internal):
9520 * dialog.c (syms_of_dialog):
9521 Kill old popup-dialog-box, replace with new primitive.
9522 Just call device method or signal error.
9524 * eldap.c (Fldap_open):
9525 * eldap.c (Fldap_search_basic):
9526 * eldap.c (Fldap_add):
9527 * eldap.c (Fldap_modify):
9532 * emacs.c (make_arg_list_1):
9533 * emacs.c (make_arg_list):
9534 Mule-ize call to dll_init().
9538 * emacs.c (make_argc_argv):
9539 * emacs.c (free_argc_argv):
9540 * emacs.c (init_cmdargs):
9542 * emacs.c (Fkill_emacs):
9543 * emacs.c (Fdump_emacs):
9544 Update comments about what can be used in syms_* etc.
9545 Call init_win32() when necessary.
9546 Fix up MS Win dialog box in kill-buffer to actually work right.
9557 * eval.c (condition_case_3):
9559 * eval.c (function_argcount):
9560 * eval.c (funcall_lambda):
9563 * eval.c (type_error): New.
9564 * eval.c (maybe_type_error): New.
9565 * eval.c (continuable_type_error): New.
9566 * eval.c (maybe_continuable_type_error): New.
9567 * eval.c (type_error_with_frob): New.
9568 * eval.c (maybe_type_error_with_frob): New.
9569 * eval.c (continuable_type_error_with_frob): New.
9570 * eval.c (maybe_continuable_type_error_with_frob): New.
9571 New functions for use with structured errors.
9574 * event-Xt.c (x_event_to_emacs_event):
9575 Buttons are now modifiers too.
9577 * event-Xt.c (emacs_Xt_current_event_timestamp):
9578 Implement new event method.
9579 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
9582 * event-msw.c (ntpipe_shove_writer): [5].
9583 * event-msw.c (mswindows_enqueue_mouse_button_event):
9584 * event-msw.c (mswindows_drain_windows_queue):
9585 * event-msw.c (mswindows_wnd_proc): [7].
9586 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
9587 * event-msw.c (mswindows_modifier_state):
9588 Throughout: support new button modifiers.
9590 * event-msw.c (emacs_mswindows_current_event_timestamp):
9591 Implement new event method.
9592 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
9595 * event-stream.c (event_stream_current_event_timestamp): New.
9596 * event-stream.c (maybe_kbd_translate): New functionality.
9597 * event-stream.c (vars_of_event_stream):
9598 Document new kbd-translate-table functionality.
9600 * event-stream.c (Fcurrent_event_timestamp): New.
9601 New primitive for use in fabricated events.
9602 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
9604 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
9607 * events.c (Fmake_event):
9608 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
9612 * events.c (format_event_object): fix gcc warnings.
9614 * events.c (Fevent_timestamp): Document new primitives.
9616 * events.c (TIMESTAMP_HALFSPACE): New.
9618 * events.c (Fevent_timestamp_lessp): New. New primitive for
9619 comparing timestamps correctly (half-space algorithm).
9621 * events.c (Fevent_modifier_bits): Doc fix.
9623 * events.c (Fevent_modifiers): Major doc addition.
9624 * events.c (event_x_y_pixel_internal): Typo fix.
9625 * events.c (syms_of_events): Declare new primitives.
9628 Update long comment for button modifiers, timestamps.
9630 * events.h (struct event_stream):
9631 New current_event_timestamp method.
9634 * extents.c (extent_in_region_p):
9635 * extents.c (decode_extent):
9636 * extents.c (Fset_extent_parent):
9637 * extents.c (decode_map_extents_flags):
9641 * extents.c (struct extent_at_arg):
9642 * extents.c (decode_extent_at_flag):
9643 * extents.c (extent_at_mapper):
9644 * extents.c (extent_at_bytind):
9645 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
9646 * extents.c (Fextents_at): New primitive. [9].
9647 * extents.c (symbol_to_glyph_layout): [9].
9648 Support new primitive `extents-at'.
9651 * extents.c (get_text_property_bytind):
9652 extent_at_bytind has another arg.
9655 * extents.c (syms_of_extents): New primitive.
9657 * file-coding.c (Fmake_coding_system): [1].
9658 * file-coding.c (subsidiary_coding_system): fix gcc warning
9659 * file-coding.c (syms_of_file_coding): [2].
9661 * fileio.c (Fexpand_file_name):
9662 * fileio.c (Fsysnetunam):
9663 * fileio.c (Ffile_exists_p):
9664 * fileio.c (Ffile_executable_p):
9665 * fileio.c (Fverify_visited_file_modtime):
9668 * fileio.c (syms_of_fileio): [2].
9670 * filelock.c (lock_file_1):
9671 * filelock.c (current_lock_owner):
9672 * filelock.c (lock_if_free):
9673 * filelock.c (lock_file):
9674 * filelock.c (unlock_file):
9677 * fns.c (concat): Fix gcc warning.
9680 * fns.c (Fold_member):
9682 * fns.c (Fold_memq):
9683 * fns.c (memq_no_quit):
9685 * fns.c (Fold_assoc):
9687 * fns.c (Fold_assq):
9688 * fns.c (assq_no_quit):
9690 * fns.c (Fold_rassoc):
9692 * fns.c (Fold_rassq):
9693 * fns.c (rassq_no_quit):
9695 * fns.c (Fold_delete):
9697 * fns.c (Fold_delq):
9698 * fns.c (delq_no_quit):
9699 * fns.c (Fremassoc):
9701 * fns.c (remassq_no_quit):
9702 * fns.c (Fremrassoc):
9703 * fns.c (Fremrassq):
9704 * fns.c (remrassq_no_quit):
9709 * frame-msw.c (mswindows_init_frame_1):
9710 * frame-msw.c (mswindows_delete_frame):
9711 Register popups with dialog code so keyboard traversing works.
9713 * frame-tty.c (tty_raise_frame_no_select): [1].
9716 * frame-x.c (x_set_frame_text_value):
9717 * frame-x.c (x_set_frame_properties):
9718 * frame-x.c (x_create_widgets):
9722 * frame.c (Fmouse_pixel_position): Minor doc fixes.
9724 * frame.h (wrap_frame): New.
9725 Macro like wrap_device.
9728 * general.c (SYMBOL):
9729 * general.c (syms_of_general):
9730 Major reorg. This is now just a wrapper and symbols themselves
9731 are listed in general-slots.h.
9733 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
9734 * glyphs-msw.c (mswindows_resource_instantiate): [5].
9736 * glyphs-msw.c (mswindows_native_layout_instantiate):
9737 Add DS_CONTROL so keyboard traversal will work.
9740 * glyphs-widget.c (syms_of_glyphs_widget):
9741 Move some symbols to general-slots.h.
9744 * glyphs-x.c (xbm_instantiate_1):
9745 * glyphs-x.c (x_xbm_instantiate):
9746 * glyphs-x.c (x_xface_instantiate):
9747 * glyphs-x.c (autodetect_instantiate):
9748 * glyphs-x.c (cursor_font_instantiate):
9749 * glyphs-x.c (x_update_widget):
9750 * glyphs-x.c (x_widget_instantiate):
9751 * glyphs.c (bitmap_to_lisp_data):
9752 * glyphs.c (pixmap_to_lisp_data):
9755 * glyphs.c (syms_of_glyphs):
9759 * gui-x.c (print_widget_value):
9760 * gui-x.c (menu_separator_style_and_to_external):
9761 * gui-x.c (add_accel_and_to_external):
9762 * gui-x.c (button_item_to_widget_value):
9763 * gui-x.c (gui_items_to_widget_values_1):
9764 * gui-x.c (gui_items_to_widget_values):
9765 * gui-x.c (syms_of_gui_x):
9766 * gui-x.c (vars_of_gui_x):
9767 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
9771 Muleize, prototype changes matching gui-x.c.
9774 * gui.c (separator_string_p):
9775 * gui.c (gui_item_add_keyval_pair):
9776 * gui.c (make_gui_item_from_keywords_internal):
9777 * gui.c (signal_too_long_error):
9778 * gui.c (parse_gui_item_tree_item):
9779 * gui.c (syms_of_gui):
9780 * gui.c (vars_of_gui):
9782 menu-no-selection-hook moved here (used by MSWin).
9783 Move some symbols to general-slots.h.
9787 * insdel.c (get_buffer_pos_char):
9788 * insdel.c (get_buffer_range_char):
9791 * keymap.c (keymap_lookup_directly):
9792 * keymap.c (keymap_store):
9793 * keymap.c (ensure_meta_prefix_char_keymapp):
9794 * keymap.c (describe_map):
9796 Support new button modifiers.
9798 * lisp-disunion.h (wrap_object):
9799 * lisp-disunion.h (XSETOBJ):
9800 Rename make_obj to wrap_object.
9803 * lisp-union.h (make_int):
9804 * lisp-union.h (make_char):
9805 Support wrap_object.
9808 * lisp.h (LIST_LOOP):
9809 * lisp.h (EXTERNAL_LIST_LOOP):
9810 * lisp.h (LIST_LOOP_2):
9811 * lisp.h (EXTERNAL_LIST_LOOP_1):
9812 * lisp.h (EXTERNAL_LIST_LOOP_2):
9813 * lisp.h (EXTERNAL_LIST_LOOP_3):
9814 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
9815 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
9816 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
9817 * lisp.h (EXTERNAL_ALIST_LOOP_5):
9818 * lisp.h (EXTERNAL_ALIST_LOOP_6):
9819 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
9820 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
9821 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
9822 * lisp.h (struct Lisp_Symbol):
9823 * lisp.h (maybe_continuable_error_with_frob):
9824 Fix up section comments.
9825 Add new types for char to indicate usage.
9826 Delete symbols auto-generated from general-slots.h.
9827 Add prototypes for structured error functions.
9828 Add long comments describing looping macros and change interface
9829 so that lvalues are automatically declared.
9830 Add NO_DECLARE macro in case callers want to declare lvalues
9833 * lread.c (read_syntax_error):
9834 * lread.c (continuable_read_syntax_error):
9835 * lread.c (read_structure):
9836 * lread.c (sequence_reader):
9837 * lread.c (read_list_conser):
9838 * lread.c (read_compiled_function):
9839 Rename syntax_error and continuable_syntax_error to avoid clash
9840 with same-named structured error functions.
9842 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9843 * menubar-msw.c (populate_menu_add_item):
9844 * menubar-msw.c (populate_or_checksum_helper):
9849 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9850 Mule-ize whole file.
9852 * menubar.c (Fnormalize_menu_item_name): Add optimization.
9854 * mule-charset.c (Fmake_charset):
9855 * mule-wnnfns.c (Fwnn_set_param):
9858 * ntproc.c (create_child):
9859 * ntproc.c (Fwin32_set_current_locale):
9860 Add comments portending doom.
9863 * objects-msw.c (old_font_enum_callback_2):
9864 * objects-msw.c (font_enum_callback_1):
9865 * objects-msw.c (mswindows_enumerate_fonts):
9869 * objects-x.c (allocate_nearest_color):
9870 * objects-x.c (x_parse_nearest_color):
9871 * objects-x.c (x_initialize_color_instance):
9872 * objects-x.c (x_print_color_instance):
9873 * objects-x.c (x_finalize_color_instance):
9874 * objects-x.c (x_valid_color_name_p):
9875 * objects-x.c (x_initialize_font_instance):
9876 * objects-x.c (x_print_font_instance):
9877 * objects-x.c (valid_x_font_name_p):
9878 * objects-x.c (truename_via_FONT_prop):
9879 * objects-x.c (truename_via_random_props):
9880 * objects-x.c (truename_via_XListFonts):
9881 * objects-x.c (x_font_truename):
9882 * objects-x.c (x_font_instance_truename):
9883 * objects-x.c (x_font_instance_properties):
9884 * objects-x.c (x_list_fonts):
9885 * objects-x.c (x_find_charset_font):
9886 Mule-ize entire file.
9893 * print.c (std_handle_out_external):
9894 * print.c (debug_print_no_newline):
9895 * print.c (syms_of_print):
9896 Output to all debugger kinds in debug-print.
9897 Fix console-output code under MSWin to actually work.
9899 * process-nt.c (send_signal):
9900 * process-nt.c (nt_create_process):
9901 Use newer Unicode macros.
9903 * process-unix.c (unix_create_process):
9904 * process-unix.c (unix_canonicalize_host_name):
9905 * process-unix.c (unix_open_network_stream):
9911 * search.c (syms_of_search):
9914 * select-msw.c (mswindows_destroy_selection):
9917 * select-x.c (symbol_to_x_atom):
9920 * select.c (syms_of_select):
9923 * sound.c (Fplay_sound_file):
9927 * specifier.c (decode_specifier_type):
9928 * specifier.c (Fvalid_specifier_locale_type_p):
9929 * specifier.c (check_valid_locale_or_locale_type):
9930 * specifier.c (decode_locale):
9931 * specifier.c (decode_locale_type):
9932 * specifier.c (decode_locale_list):
9933 * specifier.c (check_valid_domain):
9934 * specifier.c (decode_specifier_tag_set):
9935 * specifier.c (Fcanonicalize_tag_set):
9936 * specifier.c (Fdefine_specifier_tag):
9937 * specifier.c (Fspecifier_tag_predicate):
9938 * specifier.c (check_valid_inst_list):
9939 * specifier.c (check_valid_spec_list):
9940 * specifier.c (decode_how_to_add_specification):
9941 * specifier.c (check_modifiable_specifier):
9942 * specifier.c (specifier_add_spec):
9943 * specifier.c (boolean_validate):
9944 * specifier.c (display_table_validate):
9947 * specifier.c (syms_of_specifier):
9948 Move some symbols to general-slots.h.
9952 * symbols.c (Fmapatoms):
9953 * symbols.c (Fapropos_internal):
9956 * symbols.c (set_default_buffer_slot_variable):
9957 * symbols.c (set_default_console_slot_variable):
9960 * symbols.c (defsymbol_massage_name_1):
9961 * symbols.c (defkeyword_massage_name):
9962 * symbols.c (deferror_1):
9963 * symbols.c (deferror):
9964 * symbols.c (deferror_massage_name_and_message):
9966 * symeval.h (DEFSYMBOL):
9967 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
9969 * symbols.c (syms_of_symbols):
9973 * symsinit.h (init_win32): New.
9974 Also new is syms_of_dialog_mswindows.
9977 Add new Unicode macros, missing Cygwin wide-char functions,
9978 convenience conversion macros for Qmswindows_tstr, macros for
9979 encapsulating required MSWin <-> Cygwin filename conversions,
9980 prototype for dynamically-extracted (not in NT 3.51) functions.
9985 * tooltalk.c (Fadd_tooltalk_message_arg):
9986 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
9987 * tooltalk.c (Fadd_tooltalk_pattern_arg):
9990 * tooltalk.c (syms_of_tooltalk):
9994 * unexnt.c (unexec):
9995 Fix up headers, declaration of unexec() to be more standard.
9997 2000-07-20 Martin Buchholz <martin@xemacs.org>
9999 * offix.h: Revert change to guard macros - they're used in offix.c!
10001 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10003 * lisp.h: Defsubred Fdelete.
10005 * console-msw.h: (msprinter_default_printer): Added.
10007 * console-msw.c (msprinter_canonicalize_console_connection):
10008 (msprinter_canonicalize_device_connection): Added.
10010 * device-msw.c (msprinter_default_printer):
10011 (Fmswingows_get_default_printer):
10012 (signal_enum_priner_error):
10013 (Fmswingows_printer_list): Added.
10015 2000-07-19 Martin Buchholz <martin@xemacs.org>
10017 * XEmacs 21.2.35 is released.
10019 2000-07-19 Martin Buchholz <martin@xemacs.org>
10021 * select-x.c (x_handle_selection_request):
10022 Text selected in xemacs and pasted into xterm failed to appear.
10023 Spelling fixes and cosmetic changes.
10025 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10027 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10028 XEmacs frame (fix for doubling chars in dialog boxes).
10030 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10032 * select.c (select_convert_in, select_convert_out):
10033 Don't call intern() every time.
10035 * select.c (Qselect_convert_in, Qselect_convert_out): New.
10036 * select.c (vars_of_select): Initialise them.
10038 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10040 * select.c (selection-coercible-types): New.
10042 * select.c (own-selection-internal):
10043 * select.c (get-selection-internal):
10044 MULE bug fix - these should default to COMPOUND_TEXT and not
10045 STRING for MULE. I think.
10047 * select.c (select_convert_out): Use selection-coercible-types
10048 to find types that we can attempt to perform coercions on.
10050 2000-07-18 Martin Buchholz <martin@xemacs.org>
10054 Add coding: cookie to identify encoding.
10056 * mule-canna.c (CANNA_mode_keys): make static.
10057 Use proper prototypes, even for functions of no arguments.
10058 Remove external prototype for Fding().
10060 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
10062 * select.c (syms_of_select): Add missing DEFSUBR.
10064 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10066 * select.c (get_selection_internal, own_selection_internal):
10067 Make the type default to STRING, rather than placing a nil type
10068 into Vselection_alist.
10070 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10072 * gpmevent.c (tty_selection_exists_p):
10073 * gpmevent.c (tty_own_selection):
10074 Updated parameter lists.
10076 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
10078 * select.h (selection-alist): Removed declaration.
10080 * select.h (get_local_selection):
10081 * select.c (get_local_selection):
10084 * select.h (convert_selection): Removed declaration.
10085 * select.c (convert_selection): Removed.
10086 This function belongs in Lisp.
10088 * select.h (select_convert_in): Declare.
10089 * select.h (select_convert_out): Declare.
10090 * select.c (select_convert_in): New.
10091 * select.c (select_convert_out): New.
10092 New conversion functions for other files to call.
10094 * select.h (select_notify_buffer_kill): Declare.
10095 * select.c (select_notify_buffer_kill): New.
10096 New functions that get called from kill-buffer.
10098 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
10099 X-specific lisp code.
10101 * select.h: Declare some of the lisp-visible functions for
10104 * select.c (clean_local_selection_data): Removed. This was
10105 a disgusting function, and previously should have been in
10106 select-x.c in any case. The functionality is now provided
10107 in select-convert-from-integer (select.el).
10109 * select.c (available-selection-types): Fixed stupidity where
10110 INTEGER and ATOM got added twice. Also add STRING when we see an
10113 * select.c (get-selection-internal): Removed symbol stripping. No
10114 longer causes conversion when data comes from the internal cache.
10116 * select.c (syms_of_select): Added new functions.
10118 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
10119 error checking - previously this called abort!
10121 * select-x.c (x_own_selection): Changed comment.
10123 * select-x.c (x_handle_selection_request): Use select_convert_out.
10124 Don't mess with selection-alist; it's an internal variable of select.c.
10126 * select-x.c (x_get_foreign_selection): Use select_convert_in.
10128 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
10129 rather than messing with selection-alist.
10131 * select-msw.c (mswindows_get_foreign_selection):
10132 Use TO_INTERNAL_FORMAT rather than hacking.
10134 2000-07-14 Martin Buchholz <martin@xemacs.org>
10136 * process-unix.c (unix_open_multicast_group):
10137 (unix_open_multicast_group): Remove useless casts.
10139 2000-07-13 Martin Buchholz <martin@xemacs.org>
10141 * sound.c (Fplay_sound): Fix `unused variable' warning.
10143 * emacs.c (main): Use correct type for _environ on SCO5.
10145 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
10147 * console.h (own_selection_method):
10148 * console.h (selection_exists_p_method):
10149 * console.h (available_selection_types_method): New.
10150 * console.h (register_selection_data_type_method): New.
10151 * console.h (selection_data_type_name): New.
10153 * console-msw.h (mswindows_destroy_selection): Declare it. New
10154 function & alist to track GlobalAlloc()'d handles that need
10155 releasing when the clipboard data gets replaced or emptied.
10157 * event-msw.c (mswindows_wnd_proc): Call it.
10159 * lisp.h, general.c (Qappend): New symbol representing a
10162 * select.c (own-selection-internal):
10163 * select.c (selection-exists-p):
10164 * select.c (available-selection-types): New.
10165 * select.c (register-selection-data-type): New.
10166 * select.c (selection-data-type-name): New. New functions to deal
10167 with device-specific selection data formats.
10168 * select.c (selection-converter-out-alist): Renamed.
10169 * select.c (selection-converter-in-alist): New.
10170 * select.c (selection-appender-alist): New. Added new alists.
10171 * select.c (syms_of_select, vars_of_select): Added new symbols &
10173 * select.c (get_local_selection): Split.
10174 * select.c: Removed spurious type checking - selections may now be
10175 of any type, not just strings.
10176 * select.c (own-selection-internal):
10178 * select.h, select.c (convert_selection): New. Created
10179 convert_selection() function based on get_local_selection().
10180 * select.h, select.c (QCF_*): New symbols representing mswindows
10182 * select.h, select.c (Qreplace_all, Qreplace_existing): New
10183 symbols representing `how-to-add' modes.
10185 * select-msw.c (x_sym_p): New.
10186 * select-msw.c (symbol_to_ms_cf): New.
10187 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
10188 symbols & clipboard formats. Can also handle string names.
10189 * select-msw.c (mswindows_own_selection):
10190 * select-msw.c (mswindows_selection_exists_p):
10191 Added `data-type' parameter. Use it.
10192 * select-msw.c (mswindows_available_selection_types): New.
10193 * select-msw.c (mswindows_register_selection_data_type): New.
10194 * select-msw.c (mswindows_selection_data_type_name): New.
10195 * select-msw.c (mswindows_own_selection):
10196 * select-msw.c (mswindows_get_foreign_selection):
10197 * select-msw.c (mswindows_selection_exists_p): Rewrote.
10198 * select-msw.c (console_create_select_mswindows): Added new methods.
10199 * select-msw.c (mswindows_destroy_selection): New.
10200 * select-msw.c (Vhandle_alist): New list.
10201 * select-msw.c (mswindows_own_selection):
10203 * select-x.c (x_own_selection):
10204 * select-x.c (x_selection_exists_p):
10205 * select-x.c: Added some comments about maybe using new
10207 * select-x.c (x_own_selection):
10209 * specifier.c: Remove definition of Qappend (now in general.c)
10210 * specifier.c (syms_of_specifier): Remove Qappend.
10212 2000-07-12 Martin Buchholz <martin@xemacs.org>
10214 * config.h.in: Add socklen_t.
10216 * s/decosf4-0.h: No special compiler flags needed or desired.
10217 In particular, undefine _BSD for DEC OSF 4.0.
10219 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10221 * redisplay-msw.c (msprinter_frame_output_end): Added.
10222 (console_type_create_redisplay_mswindows): Referred the above.
10224 * frame.c (setup_frame_without_minibuffer): Do not create a
10225 default minibuffer frame on a printer device.
10227 * frame-msw.c (apply_dc_geometry): Added.
10228 (msprinter_start_page):
10229 (msprinter_init_frame_3):
10230 (msprinter_eject_page): Use it.
10232 * console-msw.h (struct msprinter_frame): Added pix_left and top,
10233 and removed residual duplex and orientation properties.
10235 2000-07-11 Martin Buchholz <martin@xemacs.org>
10237 * eval.c (function_argcount): Work around a DEC CC compiler bug.
10239 * unexalpha.c: Remove system prototypes from C sources!
10241 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
10243 * eval.c: Remove references to M-x edit-options in DEFUNs for
10244 `defvar' and `defconst'.
10246 2000-07-09 Martin Buchholz <martin@xemacs.org>
10248 * config.h.in: Remove SMART_INCLUDE hackery.
10250 PostgreSQL hacking:
10251 * config.h.in: Don't use SMART_INCLUDE.
10253 * postgresql.h: Include libpq-fe.h here. Fix typo.
10254 * inline.c: Simply #include "postgresql.h"
10256 - Don't use SMART_INCLUDE
10257 - Use simply "const".
10258 - Use standard doc string conventions.
10259 - Use correct type for result of PQstatus.
10261 2000-07-09 Martin Buchholz <martin@xemacs.org>
10263 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
10265 C++ compilation changes.
10266 * config.h.in (EXTERN_C): Define.
10267 * config.h.in (not): This is also a C++ keyword.
10268 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
10269 * cm.c: Use EXTERN_C.
10270 * redisplay-tty.c: Use EXTERN_C.
10271 * sysdep.c: Use EXTERN_C. Remove Gould support.
10273 2000-07-09 Martin Buchholz <martin@xemacs.org>
10275 * general.c: Remove duplicate definition for Qfunction.
10277 2000-07-08 Ben Wing <ben@xemacs.org>
10279 * device-msw.c (msprinter_init_device):
10280 * device-msw.c (sync_printer_with_devmode):
10281 * device-msw.c (handle_devmode_changes):
10282 * device-msw.c (print_dialog_worker):
10283 * device-msw.c (Fmsprinter_apply_settings):
10284 * device-msw.c (hash_devmode):
10285 * device-msw.c (Fmsprinter_settings_despecialize):
10286 use Qmswindows_tstr, not Qctext.
10288 * vm-limit.c (check_memory_limits):
10289 avoid infinite loop printing warning messages.
10291 2000-07-05 Craig Lanning <lanning@scra.org>
10293 * Makefile.in.in: Add support for including the Windows resources
10294 when building with the cygwin and mingw targets.
10296 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
10297 not set or not correct.
10298 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
10299 (init_initial_directory): Don't try to use $PWD on the
10300 WIN32_NATIVE target.
10303 [[Add -mwindows to eliminate console window.]] not required --ben
10304 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10305 (MAIL_USE_POP): removed; now handled by configure.
10307 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
10308 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
10309 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10310 (MAIL_USE_POP): removed; now handled by configure.
10311 (ENCAPSULATE_STAT): from Dan Holmsand, added.
10312 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
10313 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
10315 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
10316 up from <winsock.h> via systime.h.
10317 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
10318 (getpagesize): from Dan Holmsand, added.
10319 Added #endif which was left dangling by Ben's mega patch; added
10320 comment to help prevent this in the future.
10322 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
10324 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10326 * console-msw.h (struct mswindows_device): Removed unnecessary
10327 cached device geometry values.
10328 Added update_tick and an accessor macro.
10329 (Lisp_Devmode): Added lrecord declaration.
10330 (struct msprinter_device): Contain devmode as a Lisp object.
10331 Added mswindows_get_selected_frame_hwnd();
10333 * console.h (struct console_methods): Indentation nitpicking.
10335 * device-msw.c (mswindows_init_device): Do not initialize geometry
10336 cache. Initialize update tick.
10337 (mswindows_device_system_metrics): Ask the device for its geometry.
10338 (global_free_2_maybe):
10339 (devmode_to_hglobal):
10340 (handle_printer_changes):
10341 (ensure_not_printing):
10342 (print_dialog_worker):
10343 (Fmsprinter_print_setup_dialog):
10344 (Fmsprinter_print_dialog):
10345 (plist_get_margin):
10346 (plist_set_margin):
10347 (Fmsprinter_page_setup_dialog): Added functions.
10348 (sync_printer_with_devmode):
10349 (handle_devmode_changes):
10350 (Fmsprinter_get_settings):
10351 (Fmsprinter_select_settings):
10352 (Fmsprinter_apply_settings):
10353 (allocate_devmode):
10354 (Fmsprinter_settings_copy):
10355 (Fmsprinter_settings_despecialize):
10357 (finalize_devmode):
10359 (hash_devmode): Added functions
10360 (syms_of_device_mswindows): Init devmode lrecord class.
10362 * device.h: Added an exfun for find-device.
10364 * event-msw.c (mswindows_wnd_proc): Do not update the cached
10365 geometry; although, recreate the device compatible DC.
10367 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
10368 (msprinter_init_frame_3):
10369 (msprinter_frame_property):
10370 (msprinter_internal_frame_property_p):
10371 (msprinter_frame_properties):
10372 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
10373 print job properties (will move to device settings).
10375 * lisp.h: Added symbols.
10377 * general.c (syms_of_general): Declared them.
10379 * hash.c (string_hash): Added.
10381 * lrecord.h (lrecord_type): Added devmode lrecord type.
10383 2000-07-02 Mike Sperber <mike@xemacs.org>
10385 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
10388 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
10390 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
10393 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
10395 * data.c (Fstring_to_number): Don't recognize floating point if
10398 2000-06-22 Martin Buchholz <martin@xemacs.org>
10400 * glyphs-widget.c (tab_control_query_geometry):
10401 (widget_query_geometry):
10402 (button_query_geometry):
10403 * glyphs.c (text_query_geometry):
10404 Enforce type correctness.
10406 2000-06-18 Martin Buchholz <martin@xemacs.org>
10408 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
10409 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
10411 2000-06-17 Martin Buchholz <martin@xemacs.org>
10413 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
10414 conflicts with gcc's fixincluded version of FOO.h.
10416 * glyphs.h (image_instance_geometry): Remove trailing `,'
10418 2000-06-08 Mike Alexander <mta@arbortext.com>
10420 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
10421 (shove_thread): Don't write the same output twice
10422 (make_ntpipe_output_stream): Increase priority of shove thread
10423 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
10425 (ntpipe_shove_closer): Don't delete the pipe until we're done with
10428 2000-06-12 Ben Wing <ben@xemacs.org>
10430 * s\mingw32.h (sigset):
10431 * s\windowsnt.h (sigset):
10432 rename msw_ to mswindows_ for consistency with general convention.
10434 2000-06-12 Ben Wing <ben@xemacs.org>
10437 * console-msw.c (mswindows_get_console_hwnd):
10438 * console-msw.c (mswindows_ensure_console_allocated):
10439 * console-msw.c (mswindows_hide_console):
10440 * console-msw.c (mswindows_show_console):
10441 * console-msw.c (mswindows_ensure_console_buffered):
10442 * console-msw.c (mswindows_output_console_string):
10443 * console-msw.c (mswindows_windows9x_p):
10445 * device-msw.c (mswindows_get_workspace_coords):
10446 * device-msw.c (mswindows_device_system_metrics):
10447 * dialog-msw.c (mswindows_popup_dialog_box):
10448 * event-msw.c (mswindows_wnd_proc):
10449 * frame-msw.c (mswindows_size_frame_internal):
10450 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10451 * menubar-msw.c (displayable_menu_item):
10452 * menubar-msw.c (mswindows_char_is_accelerator):
10454 * nt.c (mswindows_sigset):
10455 * nt.c (mswindows_sigrelse):
10456 * nt.c (mswindows_sigpause):
10457 * nt.c (mswindows_raise):
10458 * nt.c (timer_proc):
10460 * ntproc.c (find_child_console):
10461 * ntproc.c (sys_kill):
10463 * print.c (std_handle_out_external):
10464 * process-nt.c (find_child_console):
10465 * process-nt.c (send_signal_the_95_way):
10466 * process-nt.c (ensure_console_window_exists):
10467 * process-nt.c (nt_create_process):
10469 rename msw_ to mswindows_ for consistency with general convention.
10473 include nt.h, not syswindows.h.
10475 * nt.c (mswindows_fstat):
10476 * nt.c (mswindows_stat):
10477 prefix mswindows_ instead of attempting to directly override the
10478 library functions. fix declarations.
10481 include syswindows.h. move some sysdep.h stuff here.
10484 include syswindows.h, not <windows.h>.
10492 * sysdep.c (sys_fstat):
10493 * sysdep.c (sys_stat):
10494 call mswindows versions when appropriate.
10497 move mswin decls to nt.h.
10500 add long comment describing appropriate use of the various windows
10503 2000-06-11 Ben Wing <ben@xemacs.org>
10505 * device-x.c: Correct doc string for sixth arg of x-get-resource.
10507 2000-06-10 Ben Wing <ben@xemacs.org>
10509 * Makefile.in.in (release):
10510 Correction to make sure xemacs.exe always dumped when correct.
10514 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
10516 * buffer.c (set_buffer_internal):
10517 [[[[2]]]]: Remove HAVE_FEP code.
10519 * buffer.c (init_initial_directory):
10523 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
10527 * callproc.c (call_process_cleanup):
10528 * callproc.c (Fold_call_process_internal):
10529 * callproc.c (child_setup):
10530 * callproc.c (getenv_internal):
10531 * callproc.c (init_callproc):
10532 * callproc.c (vars_of_callproc):
10533 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
10534 __CYGWIN32__ -> CYGWIN.
10535 DOS_NT -> WIN32_NATIVE.
10536 Remove MSDOS support/references, converting to WIN32_NATIVE
10538 __MINGW32__ -> MINGW.
10539 Fix windows.h includes.
10540 Remove bogus HAVE_NTGUI.
10546 mswindows_message_outputted added for use in allowing startup
10547 errors on the console to be seen.
10549 * console-msw.c (msw_ensure_console_allocated):
10550 * console-msw.c (msw_output_console_string):
10551 * console-msw.c (DHEADER):
10552 * console-msw.c (DOPAQUE_DATA):
10553 * console-msw.c (DEVENT):
10554 * console-msw.c (DCONS):
10555 * console-msw.c (DCONSCDR):
10556 * console-msw.c (DSTRING):
10557 * console-msw.c (DVECTOR):
10558 * console-msw.c (DSYMBOL):
10559 * console-msw.c (DSYMNAME):
10562 * console-stream.c (stream_init_console):
10563 Fix text/binary problems.
10566 * device-msw.c (mswindows_finish_init_device):
10567 * device-msw.c (mswindows_delete_device):
10570 * device.c (handle_asynch_device_change):
10574 * dgif_lib.c (DGifOpenFileName):
10575 * dgif_lib.c (DGifOpenFileHandle):
10576 * dgif_lib.c (DGifGetLine):
10577 * dgif_lib.c (DGifGetPixel):
10578 Added config.h/lisp.h, fix up includes.
10585 * dired.c (file_name_completion):
10586 * dired.c (Ffile_attributes):
10587 * dired.c (syms_of_dired):
10591 * dumper.c (pdump_file_unmap):
10592 * dumper.c (pdump_load):
10596 * editfns.c (Ftemp_directory):
10597 * editfns.c (user_login_name):
10598 * editfns.c (Fuser_real_login_name):
10599 * editfns.c (get_home_directory):
10602 * elhash.c (finish_marking_weak_hash_tables):
10603 [[[[5]]]]: Fix GCC warnings.
10606 * emacs.c (mswindows_handle_hardware_exceptions):
10607 * emacs.c (make_arg_list_1):
10608 * emacs.c (main_1):
10609 * emacs.c (Fkill_emacs):
10610 * emacs.c (Fdump_emacs):
10612 Fix problems with nested crashes, add long comment.
10614 * event-Xt.c (init_event_Xt_late):
10618 * event-msw.c (mswindows_dde_callback):
10619 * event-msw.c (mswindows_handle_sticky_modifiers):
10620 * event-msw.c (mswindows_wnd_proc):
10624 * events.c (character_to_event):
10628 * fileio.c (Ffile_name_directory):
10629 * fileio.c (Ffile_name_nondirectory):
10630 * fileio.c (directory_file_name):
10631 * fileio.c (Fexpand_file_name):
10632 * fileio.c (Fsubstitute_in_file_name):
10633 * fileio.c (Ffile_name_absolute_p):
10634 * fileio.c (check_executable):
10635 * fileio.c (Ffile_readable_p):
10636 * fileio.c (Ffile_accessible_directory_p):
10637 * fileio.c (Ffile_modes):
10638 * fileio.c (Funix_sync):
10639 * fileio.c (vars_of_fileio):
10642 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
10644 Expand getdefdir defn.
10645 Fix bogus rename() comment.
10647 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
10648 to use standard XEmacs include files, e.g. sysfile.h, rather
10649 than system-specific includes.
10655 * frame.c (vars_of_frame):
10659 * getloadavg.c (getloadavg):
10661 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
10662 (We don't use it elsewhere in the code; just add a comment.)
10669 * glyphs-msw.c (mswindows_resource_instantiate):
10672 * glyphs-x.c (x_native_layout_instantiate):
10675 * gui-msw.c (Fmswindows_shell_execute):
10684 * lread.c (locate_file_in_directory_mapper):
10691 * mem-limits.h (get_lim_data):
10703 * nt.c (rva_to_section):
10704 * nt.c (mswindows_executable_type):
10706 Fix closedir() defn.
10709 [[[[8]]]]: *_OK defs moved to sysfile.h.
10718 * print.c (std_handle_out_external):
10722 * process-nt.c (nt_create_process):
10724 try to fix process quoting somewhat.
10726 * process-unix.c (unix_create_process):
10730 * process.c (vars_of_process):
10737 * realpath.c (xrealpath):
10740 * redisplay-tty.c (init_tty_for_redisplay):
10750 * sheap.c (more_static_core):
10751 * sheap.c (report_sheap_usage):
10755 * signal.c (alarm_signal):
10762 * strftime.c (zone_name):
10765 * symsinit.h (init_sunpro):
10769 commctrl.h not in Cygwin b20.1.
10772 * sysdep.c (endif):
10773 * sysdep.c (sys_subshell):
10774 * sysdep.c (init_baud_rate):
10775 * sysdep.c (emacs_get_tty):
10776 * sysdep.c (emacs_set_tty):
10777 * sysdep.c (tty_init_sys_modes_on_device):
10778 * sysdep.c (init_system_name):
10779 * sysdep.c (sys_open):
10780 * sysdep.c (interruptible_open):
10781 * sysdep.c (sys_fopen):
10782 * sysdep.c (sys_mkdir):
10783 * sysdep.c (sys_rename):
10784 * sysdep.c (get_process_times_1):
10791 * sysdir.h (DIRENTRY_NONEMPTY):
10794 * sysdll.c (dll_init):
10800 added text/binary defs.
10806 * sysproc.h (EDESTADDRREQ):
10807 * sysproc.h (poll_fds_for_input):
10824 Always define WIN32_LEAN_AND_MEAN.
10826 * unexcw.c (unexec):
10830 * unexec.c (copy_text_and_data):
10831 * unexec.c (adjust_lnnoptrs):
10835 * unexnt.c (_start):
10838 2000-06-07 Ben Wing <ben@xemacs.org>
10840 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
10841 was used only as a model. We've long since extracted any useful
10842 logic or code out of this. (I just did an exhaustive search.)
10844 * s\msdos.h: Removed.
10846 * s\windows95.h: Removed.
10848 2000-06-10 Ben Wing <ben@xemacs.org>
10852 Don't use extern with fun defs.
10856 Remove nt\inc include.
10857 Remove getdisk, getdefdir. (The former is unused, the latter
10858 expanded in fileio.h.)
10861 * s\windowsnt.h (WIN32_NATIVE):
10862 * s\windowsnt.h (HAVE_STRCASECMP):
10864 Add long comment about preprocessor changes.
10865 Remove getdisk, getdefdir. (The former is unused, the latter
10866 expanded in fileio.h.)
10868 2000-06-10 Ben Wing <ben@xemacs.org>
10877 Remove bogus/unused NO_SOCK_SIGIO.
10879 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
10881 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
10884 2000-06-04 Mike Sperber <mike@xemacs.org>
10886 * casetab.c (set_case_table): For `set-standard-case-table',
10887 actually deposit the new case tables where the rest of XEmacs can
10890 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
10892 * data.c (Faset): Don't cast XCHAR() to unsigned char.
10894 2000-06-05 Ben Wing <ben@xemacs.org>
10896 * callproc.c (child_setup): Don't do close_load_descs() under
10897 MS Windows. Put in a comment explaining why.
10899 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
10901 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
10902 Toolkit shell" which breaks `kill-compilation' on Windows NT
10903 native, retaining STDERR handling improvements.
10905 2000-06-01 Andreas Jaeger <aj@suse.de>
10907 * s/s390.h: Support for S390, based on a patch by Martin
10908 Schwidefsky <schwidefsky@de.ibm.com>.
10910 2000-05-30 Andy Piper <andy@xemacs.org>
10912 * window.c (allocate_window):
10913 (make_dummy_parent):
10914 (Fset_window_configuration): use new hashtable type.
10916 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
10917 (struct image_instantiator_methods):
10918 (struct Lisp_Image_Instance): make instance geometry signed.
10920 * glyphs.c (instantiate_image_instantiator):
10921 (image_instance_query_geometry):
10922 (image_instance_layout):
10923 (image_instance_layout):
10924 (query_string_geometry):
10925 (text_query_geometry):
10926 (image_instantiate):
10927 (image_instantiate):
10928 (cache_subwindow_instance_in_frame_maybe):
10929 (subwindow_query_geometry): make instance geometry signed.
10931 * glyphs-widget.c (widget_query_geometry):
10933 (button_query_geometry):
10934 (tree_view_query_geometry):
10935 (tab_control_query_geometry):
10936 (layout_query_geometry):
10938 (native_layout_layout): make instance geometry signed.
10940 2000-05-29 Olivier Galibert <galibert@pobox.com>
10942 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
10945 * general.c (syms_of_general): Add Qfull_assoc symbol.
10947 * data.c (finish_marking_weak_lists): Mark full-assoc lists
10949 (decode_weak_list_type): Decode full-assoc type.
10950 (encode_weak_list_type): Encode full-assoc type.
10951 (Fmake_weak_list): Update doc string.
10953 2000-05-30 Andy Piper <andy@xemacs.org>
10955 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
10957 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
10958 (decode_hash_table_weakness): ditto.
10959 (Fhash_table_weakness): ditto.
10960 (Fhash_table_type): ditto.
10961 (finish_marking_weak_hash_tables): ditto.
10962 (hash_table_weakness_validate): ditto.
10963 (syms_of_elhash): ditto.
10965 2000-05-28 Martin Buchholz <martin@xemacs.org>
10967 * XEmacs 21.2.34 is released.
10969 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
10971 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
10973 (updating_line_start_cache): Gone.
10974 (regenerate_window): Replace resetting of VERTICAL_CLIP by
10975 generic code to force a minimum of 1 line laid out in the
10978 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
10980 * glyphs.c (instantiate_image_instantiator): Check for initialized
10981 height & width no longer special cases IMAGE_NOTHING.
10982 (nothing_instantiate): Set height and width of instance.
10984 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10986 * unexelf.c (unexec): Search for ".data" section.
10987 Initialize new_data2_offset from old_data_index.
10988 Remove redundant check for ElfW.
10990 2000-05-23 Andy Piper <andy@xemacs.org>
10992 * glyphs.c (get_image_instantiator_governing_domain): allow more
10993 specific domains as the governing domain rather than expecting an
10994 exact match. This fixes problems with layouts.
10996 2000-05-22 Andy Piper <andy@xemacs.org>
10998 * redisplay-output.c (compare_runes): check for non-images
11000 * glyphs.c (set_glyph_dirty_p): ditto.
11001 (update_glyph_cachel_data): ditto.
11003 * glyphs-widget.c (layout_post_instantiate): ditto.
11004 (layout_post_instantiate): ditto.
11006 * event-msw.c (mswindows_wnd_proc): warning removal.
11008 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11010 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11012 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11014 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11016 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11017 (mswindows_executable_type): mingw32 now has enough headers for
11020 2000-05-20 Andy Piper <andy@xemacs.org>
11022 * console-msw.c (mswindows_output_last_error): ; -> ,
11024 2000-05-12 Andy Piper <andy@xemacs.org>
11026 * console-msw.c (FROB): compare ints with ints.
11028 2000-05-11 Andy Piper <andy@xemacs.org>
11030 * glyphs-x.c (x_finalize_image_instance): make minimal build
11033 2000-05-20 Ben Wing <ben@xemacs.org>
11036 * event-Xt.c (vars_of_event_Xt):
11037 move modifier-keys-are-sticky to event-stream.c.
11040 * event-msw.c (mswindows_enqueue_mouse_button_event):
11041 * event-msw.c (key_needs_default_processing_p):
11042 * event-msw.c (XEMSW_LCONTROL):
11043 * event-msw.c (mswindows_handle_sticky_modifiers):
11044 * event-msw.c (FROB):
11045 * event-msw.c (clear_sticky_modifiers):
11046 * event-msw.c (output_modifier_keyboard_state):
11047 * event-msw.c (output_alt_keyboard_state):
11048 * event-msw.c (mswindows_wnd_proc):
11049 * event-msw.c (mswindows_modifier_state):
11050 * event-msw.c (emacs_mswindows_handle_magic_event):
11051 implement sticky modifiers.
11054 * event-stream.c (vars_of_event_stream):
11055 move modifier-keys-are-sticky here.
11058 add CHECK_FUNCTION.
11061 implement map-range-table.
11064 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
11066 * redisplay-tty.c (reset_tty_modes):
11067 (tty_redisplay_shutdown): Adjust argument type to
11068 tty_frame_output_end.
11070 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11072 * eval.c (Fbacktrace): Don't output a line with only right
11075 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
11077 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
11078 (Fpq_reset_poll): Ditto.
11080 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
11082 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
11084 2000-05-16 Ben Wing <ben@xemacs.org>
11087 * buffer.c (dfc_convert_to/from_internal_format):
11088 * buffer.c (reinit_vars_of_buffer):
11089 Fix conversion functions to allow reentrancy.
11092 * console-msw.c (mswindows_output_last_error):
11093 New fun, generally useful -- output a human-readable
11094 version of GetLastError() on the console.
11097 * console-msw.h (struct mswindows_frame):
11098 Changes for DeferWindowPos. Declare mswindows_output_last_error().
11100 * console-stream.c (stream_output_begin):
11101 * console-stream.c (stream_output_end):
11102 * console-stream.c (stream_output_vertical_divider):
11103 * console-stream.c (stream_clear_region):
11104 * console-stream.c (stream_flash):
11105 * console-stream.c (console_type_create_stream):
11106 Delete blank stream methods, not needed.
11108 * console.h (struct console_methods):
11109 Split begin/end methods into window and frame.
11112 * event-msw.c (mswindows_handle_paint):
11113 * event-msw.c (output_alt_keyboard_state):
11114 * event-msw.c (mswindows_wnd_proc):
11115 * event-msw.c (vars_of_event_mswindows):
11116 Comment about problems with ignored-expose.
11117 Define mswindows-debug-events; not really implemented.
11119 * frame-msw.c (mswindows_init_frame_1):
11123 * glyphs-msw.c (begin_defer_window_pos):
11124 * glyphs-msw.c (mswindows_unmap_subwindow):
11125 * glyphs-msw.c (mswindows_map_subwindow):
11126 * glyphs-msw.c (mswindows_resize_subwindow):
11127 Use DeferWindowPos to reduce flashing when mapping/unmapping.
11129 * glyphs.c (make_image_instance_1):
11132 * gutter.c (Fredisplay_gutter_area):
11133 Use new begin/end methods.
11135 * lisp.h (Dynarr_new2):
11139 * redisplay-msw.c (mswindows_frame_output_begin):
11140 * redisplay-msw.c (mswindows_frame_output_end):
11141 * redisplay-msw.c (console_type_create_redisplay_mswindows):
11142 New begin/end methods -- handle DeferWindowPos.
11144 * redisplay-output.c (redisplay_move_cursor):
11145 * redisplay-output.c (redraw_cursor_in_window):
11146 * redisplay-output.c (redisplay_update_line):
11147 * redisplay-output.c (redisplay_output_window):
11148 New begin/end methods.
11151 * redisplay-tty.c (tty_frame_output_begin):
11152 * redisplay-tty.c (tty_frame_output_end):
11153 * redisplay-tty.c (console_type_create_redisplay_tty):
11154 New begin/end methods.
11157 * redisplay-x.c (x_window_output_begin):
11158 * redisplay-x.c (x_window_output_end):
11159 * redisplay-x.c (console_type_create_redisplay_x):
11160 New begin/end methods.
11162 * redisplay.c (redisplay_frame):
11163 * redisplay.c (Fredisplay_echo_area):
11164 New begin/end methods.
11165 use MAYBE_DEVMETH for clear_frame; it may not exist.
11167 * window.h (WINDOW_XFRAME):
11168 WINDOW_XFOO macros -- get locale and decode struct pointer.
11171 2000-05-12 Ben Wing <ben@xemacs.org>
11174 * emacs.c (ensure_no_quitting_from_now_on):
11175 * emacs.c (fatal_error_signal):
11176 * emacs.c (mswindows_handle_hardware_exceptions):
11178 * emacs.c (Fkill_emacs):
11179 * emacs.c (shut_down_emacs):
11180 * emacs.c (assert_failed):
11181 various improvements in fatal error handling.
11184 move preparing_for_armageddon to emacs.c.
11187 declare fatal_error_in_progress.
11190 * print.c (std_handle_out_external):
11191 * print.c (std_handle_out_va):
11192 * print.c (stderr_out):
11193 * print.c (stdout_out):
11194 use console under mswin when no standard output.
11195 don't do code conversion during fatal error.
11197 * scrollbar.c (Fscrollbar_page_up):
11198 * scrollbar.c (Fscrollbar_page_down):
11199 fix missing else. reindent.
11201 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
11205 * glyphs.h (GLYPH_CACHEL_DESCENT):
11206 (GLYPH_CACHEL_DESCENT):
11207 (GLYPH_CACHEL_DESCENT):
11208 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
11209 used in case these are inline functions.
11210 Use more absurd values to error check.
11212 include window.h for error check functions.
11214 2000-05-11 Ben Wing <ben@xemacs.org>
11216 * cmdloop.c (Freally_early_error_handler):
11217 Display message box under windows; otherwise, message will disappear
11218 before it can be viewed.
11221 * console-msw.c (Fmswindows_message_box):
11222 * console-msw.c (FROB):
11223 * console-msw.c (syms_of_console_mswindows):
11224 Define new fun `mswindows-message-box'.
11225 #### I will merge this into `popup-dialog-box'; just give me
11229 * general.c (syms_of_general):
11230 Some new symbols used in `mswindows-message-box'.
11233 * glyphs.c (Fset_image_instance_property):
11234 put warning in this fun.
11237 * glyphs.h (GLYPH_CACHEL_WIDTH):
11238 * glyphs.h (GLYPH_CACHEL_ASCENT):
11239 * glyphs.h (GLYPH_CACHEL):
11240 * glyphs.h (GLYPH_CACHEL_GLYPH):
11241 define error-checking versions to try to catch a bug i've seen --
11242 redisplay gets in an infinite loop because the glyph width of the
11243 continuation glyph is 65535.
11246 Extern message-box stuff.
11248 * window.c (allocate_window):
11249 * window.c (make_dummy_parent):
11250 * window.c (Fset_window_configuration):
11251 Use EQUAL not EQ for subwindow caches to make them work a bit
11252 better. (Something is still very broken.)
11255 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11257 * glyphs.c (image_instantiate): Suppress gcc warnings.
11258 (Fmake_image_instance): Fix doc string.
11259 * specifier.c (Fmake_specifier): Ditto.
11261 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
11263 * paths.h.in (PATH_LOCK): Removed.
11264 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
11265 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
11267 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11269 * fns.c (Ffeaturep): Update e-mail address in doc-string.
11270 Document (featurep '(and xemacs 21.02)).
11272 2000-05-09 Ben Wing <ben@xemacs.org>
11274 * buffer.c (complex_vars_of_buffer):
11275 update modeline-format doc.
11278 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
11281 timeline of all released versions of Emacs, for use in creating
11282 authorship comments and in synching up.
11284 * glyphs-widget.c (image_instantiator_buttons):
11285 * glyphs-widget.c (image_instantiator_edit_fields):
11286 * glyphs-widget.c (image_instantiator_combo_box):
11287 * glyphs-widget.c (image_instantiator_scrollbar):
11288 * glyphs-widget.c (image_instantiator_progress_guage):
11289 * glyphs-widget.c (image_instantiator_tree_view):
11290 * glyphs-widget.c (image_instantiator_tab_control):
11291 * glyphs-widget.c (image_instantiator_labels):
11292 * glyphs-widget.c (image_instantiator_layout):
11293 * glyphs-widget.c (image_instantiator_native_layout):
11294 rename decode_domain method to governing_domain.
11297 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
11298 * glyphs.c (add_entry_to_device_ii_format_list):
11299 make sure we don't put an entry more than once into the list.
11300 * glyphs.c (check_instance_cache_mapper):
11301 *************************************************************
11302 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11304 *************************************************************
11305 * glyphs.c (get_image_instantiator_governing_domain):
11306 clean up, expand on new concept of governing domain.
11307 * glyphs.c (instantiate_image_instantiator):
11308 * glyphs.c (allocate_image_instance):
11309 use governing_domain instead of cache_domain in naming.
11310 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
11311 * glyphs.c (make_image_instance_1):
11312 * glyphs.c (Fmake_image_instance):
11313 allow for any domain (not just device), and process the
11314 governing domain correctly. very big doc fix.
11315 * glyphs.c (Fimage_instance_domain):
11316 new primitive, to retrieve the governing domain of an image instance.
11317 * glyphs.c (image_instantiate):
11318 use new governing_domain stuff. this fixes a crash you could get
11319 by instantiating certain widget glyphs in frame locales. (should
11320 signal an error instead of crashing.)
11321 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
11322 * glyphs.c (Fglyphp): clean up doc.
11323 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
11324 * glyphs.c (syms_of_glyphs):
11325 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
11326 * glyphs.c (image_instantiator_format_create): add some comments about
11328 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
11329 for current-display-table. (Apparently Hrjove implemented in 1998 a
11330 design I wrote up in 1996, but didn't update the doc string.)
11332 * glyphs.h: clean up a doc string.
11333 * glyphs.h (governing_domain):
11334 * glyphs.h (struct image_instantiator_methods):
11335 changes for governing_domain stuff.
11338 * gutter.c (Fgutter_specifier_p):
11339 * gutter.c (Fgutter_size_specifier_p):
11340 * gutter.c (Fgutter_visible_specifier_p):
11342 * objects.c (Fcolor_specifier_p):
11343 * objects.c (Ffont_specifier_p):
11344 * objects.c (Fface_boolean_specifier_p):
11345 doc strings moved to make-*-specifier.
11347 * redisplay.c (add_disp_table_entry_runes_1):
11348 * redisplay.c (generate_fstring_runes):
11349 * redisplay.c (screen):
11350 add random comments and doc strings.
11353 * specifier.c (Fmake_specifier):
11354 major overhaul of this doc string.
11356 * specifier.c (Fvalid_specifier_domain_p):
11357 comment about the bogosity of image instances being domains.
11358 * specifier.c (decode_domain):
11359 now non-static, used in glyphs.c.
11360 * specifier.c (specifier_instance):
11361 comment about the bogosity of image instances being domains.
11362 * specifier.c (Fgeneric_specifier_p):
11363 move doc string to make-generic-specifier.
11364 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
11368 * specifier.h (DOMAIN_FRAME):
11369 * specifier.h (DOMAIN_LIVE_P):
11370 * specifier.h (DOMAIN_XDEVICE):
11372 add comments about problems with these macros.
11373 prototype for decode_domain.
11376 * toolbar.c (Ftoolbar_specifier_p):
11377 move doc string to `make-toolbar-specifier'.
11379 * window.c (window_unmap_subwindows_cache_mapper):
11380 *************************************************************
11381 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11383 *************************************************************
11385 2000-05-09 Andy Piper <andy@xemacs.org>
11387 * glyphs.h: declare reset_frame_subwindow_instance_cache.
11389 * window.c (Fset_window_configuration): reset the frame subwindow
11390 cache and re-initialize the window subwindow caches.
11392 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
11394 2000-05-09 Ben Wing <ben@xemacs.org>
11396 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
11399 2000-04-26 Mike Woolley <mike@bulsara.com>
11401 * ntheap.c: Changed recreate_heap to limit the amount reserved
11402 for the heap to that which is actually available. Also now
11403 displays a message box (with some dignostics) in the event that
11404 it still can't start.
11406 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11408 * callproc.c (Fold_call_process_internal): GCPRO path
11410 2000-05-08 Jan Vroonhof <jan@xemacs.org>
11412 Patch by Bill Perry.
11414 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
11415 back data instead of #ifdef.
11416 (Fscrollbar_page_down): ditto.
11418 2000-05-07 Ben Wing <ben@xemacs.org>
11421 Kludge for defining Qmswindows_tstr.
11424 * nt.c (open_input_file):
11425 * nt.c (open_output_file):
11426 * nt.c (rva_to_section):
11427 * nt.c (mswindows_executable_type):
11428 Move all memory-mapped-file routines here (some were in unexnt.c,
11429 which is bad because they are used by process-nt.c, and unexnt
11430 won't be around when portable dumping). Synched the above routines
11434 Removed ifdef'd out bogus code.
11435 Fixed some prototypes.
11437 * nt.h (file_data):
11438 * nt.h (OFFSET_TO_RVA):
11439 * nt.h (RVA_TO_OFFSET):
11440 * nt.h (RVA_TO_PTR):
11441 Moved the memory-mapped-file structures, macros and prototypes
11442 here, to parallel nt.c. ntheap.h should really be removed
11443 entirely, and it's a non-portable-dumper specific file.
11445 * ntheap.h (round_to_next):
11446 Moved the memory-mapped-file structures, macros and prototypes
11449 * ntproc.c (compare_env):
11450 Moved rva_to_section and mswindows_executable_type to nt.c.
11451 Moved compare_env to process-nt.c.
11452 ntproc.c will die, one day.
11454 * ntproc.c (sys_spawnve):
11455 Account for win32_ -> mswindows_.
11458 * process-nt.c (struct nt_process_data):
11459 * process-nt.c (ensure_console_window_exists):
11460 * process-nt.c (compare_env):
11461 * process-nt.c (nt_create_process):
11462 * process-nt.c (nt_kill_process_by_pid):
11463 * process-nt.c (syms_of_process_nt):
11464 * process-nt.c (vars_of_process_nt):
11465 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
11466 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
11467 changes). Eliminate our old `nt-quote-process-args' mechanism.
11468 Synch up nt_create_process with FSF 20.6 sys_spawnve.
11469 Move compare_env here from ntproc.c.
11471 * process.c (Fprocess_send_region):
11472 Takes an optional fourth argument, BUFFER, which should fix some
11473 problems with call-process.
11476 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
11479 Move ICC_BAR_CLASSES to syscommctrl.h.
11480 Add preliminary macros for MSWindows/Mule. More to come.
11483 * unexnt.c (unexec):
11484 open_output_file moved to nt.c.
11487 2000-05-05 Andy Piper <andy@xemacs.org>
11489 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
11490 instance from the frame cache also since GC may catch up too late
11491 to make frame deletion sane.
11493 2000-05-04 Andy Piper <andy@xemacs.org>
11495 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
11496 (x_finalize_image_instance): ungcpro on deletion.
11498 * glyphs.c (image_instantiator_format_create): give pointers a
11499 query geometry method so that the geometry is at least set.
11501 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
11502 initialize layouts if using widgets.
11504 2000-05-03 Andy Piper <andy@xemacs.org>
11506 * nt.c: remove bogus reference to sysmmsystem.h
11508 * gui-x.c (popup_selection_callback): fix no selection abort.
11510 2000-05-02 Andy Piper <andy@xemacs.org>
11512 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
11513 (mswindows_widget_instantiate): ditto.
11515 * glyphs-widget.c (initialize_widget_image_instance): initialize
11516 children correctly.
11517 (widget_instantiate): cope with children and items in the same
11520 * glyphs.c (mark_image_instance): cope with children as a first
11522 (image_instance_equal): ditto.
11523 (image_instance_hash): ditto.
11524 (image_instance_changed): ditto.
11526 2000-04-30 Andy Piper <andy@xemacs.org>
11528 * glyphs.c (subwindow_query_geometry): new function. Return some
11530 (subwindow_instantiate): don't assign dimensions if none have been
11532 (image_instantiator_format_create): add subwindow_query_geometry.
11533 (print_image_instance): cope with layouts as widgets.
11535 2000-04-29 Andy Piper <andy@xemacs.org>
11537 * frame.c (delete_frame_internal): call
11538 free_frame_subwindow_instance_cache so that all subwindows are
11539 finalized before their parent.
11540 (mark_frame): remove subwindow_cachels.
11541 (Fmake_frame): remove subwindow_cachel manipulation.
11542 (allocate_frame_core): subwindow_instance_cache is a weak list.
11543 (delete_frame_internal): set subwindow_instance_cache to nil.
11545 * glyphs-msw.c (mswindows_finalize_image_instance): make double
11547 (mswindows_finalize_image_instance): use the device
11548 not the domain as the domain may have died already.
11550 * glyphs-x.c (x_finalize_image_instance): ditto.
11551 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
11554 * redisplay-output.c (redisplay_unmap_subwindows): update for
11555 subwindow instance cache as a weak list.
11556 (redisplay_unmap_subwindows_maybe): ditto.
11557 (redisplay_unmap_subwindows_except_us): ditto.
11559 * glyphs.c (unmap_subwindow): error checking will check the domain
11560 so don't deal with it here. Don't use cachels anymore.
11561 (map_subwindow): ditto.
11562 (update_subwindow_cachel_data): remove old accessor names.
11563 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
11564 (Fresize_subwindow): don't update cachel.
11565 (mark_subwindow_cachels):
11566 (update_subwindow_cachel_data):
11567 (add_subwindow_cachel):
11568 (get_subwindow_cachel_index):
11569 (update_subwindow_cachel):
11570 (reset_subwindow_cachels):
11571 (mark_subwindow_cachels_as_not_updated): deleted.
11572 (cache_subwindow_instance_in_frame_maybe): new function. Add a
11573 subwindow instance to the frame cache.
11574 (find_matching_subwindow): update for subwindow instance cache as
11576 (update_widget_instances): ditto.
11577 (image_instance_type_to_mask):inlined.
11578 (free_frame_subwindow_instance_cache): new function. finalize all
11579 subwindows that are instantiated.
11581 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
11582 of cachel information.
11583 (IMAGE_INSTANCE_DISPLAY_X):
11584 (IMAGE_INSTANCE_DISPLAY_Y):
11585 (IMAGE_INSTANCE_DISPLAY_WIDTH):
11586 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
11587 (XIMAGE_INSTANCE_DISPLAY_X):
11588 (XIMAGE_INSTANCE_DISPLAY_Y):
11589 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
11590 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
11591 remove subwindow_cachel structure and function references.
11592 (image_instance_type_to_mask): inline from glyphs.c
11594 * redisplay.c (redisplay_frame): remove subwindow_cachel
11597 * frame.h (struct frame): remove subwindow_cachels.
11598 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
11600 * frameslots.h: add subwindow_instance_cache.
11602 * window.c (replace_window): check subwindow cache of replacement.
11603 (window_unmap_subwindows_cache_mapper):
11604 (window_unmap_subwindows): new functions. Unmap all subwindows
11605 cached on this window.
11606 (mark_window_as_deleted): unmap all subwindows.
11608 2000-04-27 Andy Piper <andy@xemacs.org>
11610 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
11612 * glyphs-widget.c (widget_layout): return something.
11613 (layout_layout): return something. Fail if not initialized.
11614 (layout_query_geometry): ditto.
11615 (image_instantiator_native_layout): new function. Initialized the
11616 native layout type.
11617 (widget_instantiate): don't do layout stuff here.
11619 * glyphs.c (instantiate_image_instantiator): reorded calling or
11620 instantiate and post_instantiate with layout in between.
11621 (image_instance_layout): be more selective about deciding whether
11622 the layout has been done or not.
11624 * glyphs.h (struct image_instantiator_methods): return a value
11625 from layout_method.
11627 2000-04-26 Andy Piper <andy@xemacs.org>
11629 * glyphs.c (allocate_image_instance): make initial width and
11630 height unspecified. Set initialized to 0.
11632 * syscommctrl.h new file. Encapsulates commctrl.h.
11634 * syswindows.h new file. Encapsulates windows.h.
11636 * ntplay.c: use new syswindows.h and syscommctrl.h header.
11638 * console-msw.h: ditto.
11640 * redisplay-tty.c (tty_output_display_block): remove layout references.
11642 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
11643 window handle rather than just the frame.
11645 * glyphs.c (mark_image_instance): remove layout references.
11646 (print_image_instance): ditto.
11647 (image_instance_equal): ditto.
11648 (image_instance_hash): ditto.
11649 (decode_image_instance_type): ditto.
11650 (encode_image_instance_type): ditto.
11651 (image_instantiate): ditto.
11652 (allocate_glyph): ditto.
11653 (Fimage_instance_height): ditto.
11654 (Fimage_instance_width): ditto.
11655 (update_subwindow): ditto.
11657 * redisplay-x.c (x_output_display_block): recode for layouts as
11660 * redisplay-output.c (redisplay_output_layout): recode for layouts
11662 (compare_runes): remove layout references.
11664 * redisplay-msw.c (mswindows_output_display_block): recode for
11665 layouts as widgets.
11667 * glyphs-widget.c (image_instantiator_layout): remove
11668 layout_possible_dest_types.
11669 (layout_possible_dest_types): deleted.
11671 * glyphs.h (image_instance_type): remove layout references.
11672 (struct Lisp_Image_Instance): ditto. Add initialized flag.
11673 (IMAGE_INSTANCE_INITIALIZED): new accessor.
11674 (XIMAGE_INSTANCE_INITIALIZED): ditto.
11676 2000-04-25 Andy Piper <andy@xemacs.org>
11678 * glyphs-widget.c (image_instantiator_buttons):
11679 (image_instantiator_edit_fields):
11680 (image_instantiator_combo_box):
11681 (image_instantiator_scrollbar):
11682 (image_instantiator_progress_guage):
11683 (image_instantiator_tree_view):
11684 (image_instantiator_tab_control):
11685 (image_instantiator_labels):
11686 (image_instantiator_layout): call default post_instantiate method.
11687 (widget_post_instantiate): new function. Simply lays out the
11690 * glyphs.h (struct image_instantiator_methods): add
11691 post_instantiate method.
11693 * glyphs.c (instantiate_image_instantiator): add post_instantiate
11696 2000-04-23 Andy Piper <andy@xemacs.org>
11698 * glyphs.h (struct image_instantiator_methods): add
11699 decode_domain_method.
11700 (struct Lisp_Image_Instance): remove subwindow frame - it can be
11701 derived from the domain.
11702 (IMAGE_INSTANCE_FRAME): new accessor.
11703 (XIMAGE_INSTANCE_FRAME): ditto.
11705 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
11706 instead of _SUBWINDOW_FRAME.
11707 (finalize_image_instance): ditto.
11708 (Fimage_instance_foreground): ditto.
11709 (Fimage_instance_background): ditto.
11710 (image_instantiate): ditto.
11711 (update_subwindow_cachel): ditto.
11712 (update_subwindow): ditto.
11713 (unmap_subwindow): ditto.
11714 (map_subwindow): ditto
11715 (subwindow_instantiate): ditto.
11716 * glyphs-msw.c (mswindows_update_widget): ditto.
11717 (mswindows_progress_gauge_instantiate): ditto.
11718 (mswindows_tab_control_update): ditto.
11719 * glyphs-x.c (x_update_widget): ditto.
11720 (x_widget_instantiate): ditto.
11721 (x_tab_control_instantiate): ditto.
11722 (x_tab_control_update): ditto.
11723 * event-msw.c (mswindows_wnd_proc): ditto
11725 * glyphs-widget.c (image_instantiator_layout): use
11726 subwindow_decode_domain.
11727 (image_instantiator_buttons): ditto.
11728 (image_instantiator_edit_fields): ditto.
11729 (image_instantiator_combo_box): ditto.
11730 (image_instantiator_scrollbar): ditto.
11731 (image_instantiator_progress_guage): ditto.
11732 (image_instantiator_tree_view): ditto.
11733 (image_instantiator_tab_control): ditto.
11734 (image_instantiator_labels): ditto.
11735 (image_instantiator_layout): ditto.
11737 * glyphs.c: add instance error checking to many functions.
11738 (instantiate_image_instantiator): decode device from cache_domain.
11739 (image_instantiate): partially rewrite by using
11740 decode_image_instantiator_domain to determine what domain the
11741 instance needs to be cached in.
11742 (decode_image_instantiator_domain): new function. Determine what
11743 domain the image needs to be cached in.
11744 (check_window_subwindow_cache): new error checking function.
11745 (check_instance_cache_mapper): ditto.
11746 (check_image_instance_structure): ditto.
11747 (subwindow_decode_domain): new function. Encodes a window as a
11748 subwindow's cache domain.
11749 (image_instantiator_format_create): use it for text and
11752 2000-04-21 Andy Piper <andy@xemacs.org>
11754 * glyphs.c (image_instance_device): new function.
11755 (image_instance_frame): new function.
11756 (image_instance_window): new function.
11757 (image_instance_live_p): new function.
11759 * window.c (mark_window_as_deleted): reset the subwindow_instance_
11762 * glyphs.h (struct Lisp_Image_Instance): device->domain.
11763 (IMAGE_INSTANCE_DOMAIN): new accessor.
11764 (XIMAGE_INSTANCE_DOMAIN): ditto.
11766 * glyphs-x.c (x_finalize_image_instance): device->domain.
11768 * glyphs-msw.c (init_image_instance_geometry): device->domain.
11769 (mswindows_finalize_image_instance): ditto.
11771 * glyphs-eimage.c (jpeg_instantiate): device->domain.
11772 (gif_instantiate): ditto.
11773 (png_instantiate): ditto.
11774 (tiff_instantiate): ditto.
11776 * glyphs.c (instantiate_image_instantiator): use domain rather
11778 (mark_image_instance): device -> domain.
11779 (print_image_instance): ditto.
11780 (finalize_image_instance): ditto.
11781 (image_instance_equal): ditto.
11782 (allocate_image_instance): ditto.
11783 (Fcolorize_image_instance): ditto.
11784 (query_string_geometry): ditto.
11785 (image_instantiate): ditto
11786 (query_string_font): ditto.
11787 (image_instantiate): ditto.
11788 (update_subwindow): ditto.
11789 (unmap_subwindow): ditto.
11790 (map_subwindow): ditto.
11791 (subwindow_instantiate): ditto.
11793 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
11794 (DOMAIN_FRAME): ditto.
11795 (DOMAIN_WINDOW): ditto.
11796 (DOMAIN_LIVE_P): ditto.
11797 (XDOMAIN_DEVICE): ditto.
11798 (XDOMAIN_FRAME): ditto.
11799 (XDOMAIN_WINDOW): ditto.
11801 * specifier.c (Fvalid_specifier_domain_p): add image instances as
11802 a valid specifier domain.
11804 2000-04-19 Andy Piper <andy@xemacs.org>
11806 * glyphs-widget.c (syms_of_glyphs_widget): remove
11807 widget-callback-current-channel.
11808 (vars_of_glyphs_widget): ditto.
11811 * gui.c (get_gui_callback): revert to previous behaviour.
11813 2000-04-18 Andy Piper <andy@xemacs.org>
11815 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
11816 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
11817 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
11819 * glyphs.c (image_instance_equal): add margin_width.
11820 (image_instance_hash): ditto.
11822 * glyphs-widget.c (widget_instantiate): deal with margin-width.
11823 (layout_query_geometry): ditto.
11824 (layout_layout): ditto.
11825 (syms_of_glyphs_widget): add margin-width.
11826 (image_instantiator_layout): allow margin-width.
11828 * glyphs.c (update_widget_instances): make a normal function.
11829 (syms_of_glyphs): remove Qupdate_widget_instances.
11832 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
11833 so that we don't corrupt ideas about the last event or
11834 command. Remove widget-callback-current-channel fiddling.
11835 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11837 2000-05-01 Martin Buchholz <martin@xemacs.org>
11839 * XEmacs 21.2.33 is released.
11841 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
11843 * make-src-depend: Allow dots in header file name.
11845 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
11847 * mule-charset.h (struct charset_lookup): Add
11848 next_allocated_1_byte_leading_byte and
11849 next_allocated_2_byte_leading_byte.
11850 * mule-charset.c: Move above two variables so that those values
11853 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
11855 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
11856 when string length is zero.
11857 (find_charsets_in_emchar_string): Ditto.
11859 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
11861 * lisp.h: extern Qdialog and Qmenubar.
11863 * gui-x.c: added events.h.
11864 also fixed typo which made the file uncompilable.
11866 * general.c: Added Qmenubar and Qdialog
11868 2000-04-28 Ben Wing <ben@xemacs.org>
11870 * frame-msw.c (mswindows_init_frame_1):
11871 * frame-msw.c (mswindows_mark_frame):
11872 * event-msw.c (mswindows_enqueue_dispatch_event):
11874 * console-msw.h (struct mswindows_frame):
11875 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
11876 there are now three hash tables for callbacks.
11877 mswindows_enqueue_dispatch_event is no longer static.
11879 * dialog-x.c (maybe_run_dbox_text_callback):
11880 * dialog-x.c (dbox_descriptor_to_widget_value):
11881 switch to new cons3 form for callbacks.
11883 * glyphs-msw.c (mswindows_register_gui_item):
11884 * glyphs-msw.c (mswindows_widget_instantiate):
11885 * glyphs-msw.c (add_tree_item):
11886 * glyphs-msw.c (add_tab_item):
11887 new image instance parameter, so it can be passed to callback-ex.
11888 respect :callback-ex as well as :callback.
11890 * glyphs-widget.c (VALID_GUI_KEYWORDS):
11893 * glyphs.c (print_image_instance):
11894 prettify, e.g. now prints widget type.
11897 certain funs have new image instance parameter.
11900 * gui.c (get_gui_callback):
11901 * gui.c (gui_item_add_keyval_pair):
11902 * gui.c (gui_item_init):
11903 * gui.c (gui_add_item_keywords_to_plist):
11904 * gui.c (mark_gui_item):
11905 * gui.c (gui_item_hash):
11906 * gui.c (gui_item_equal):
11907 * gui.c (copy_gui_item):
11908 * gui.c (syms_of_gui):
11909 recognize callback-ex in a number of places.
11910 also, fix the annoying "can't get out of yes-no dialog" bug.
11913 * gui.h (struct Lisp_Gui_Item):
11914 recognize callback-ex in a number of places.
11916 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11917 new parameter in button_item_to_widget_value.
11919 * glyphs-x.c (x_update_widget):
11920 * glyphs-x.c (x_button_instantiate):
11921 * glyphs-x.c (x_button_update):
11922 * glyphs-x.c (x_progress_gauge_instantiate):
11923 * glyphs-x.c (x_edit_field_instantiate):
11924 * glyphs-x.c (x_combo_box_instantiate):
11925 * glyphs-x.c (x_tab_control_instantiate):
11926 * glyphs-x.c (x_label_instantiate):
11927 new image instance parameter in various places.
11930 * event-Xt.c (enqueue_Xt_dispatch_event):
11931 this fun gets exported.
11934 * gui-msw.c (mswindows_handle_gui_wm_command):
11935 handle both :callback and :callback-ex, and generate our own
11936 event because it's one of the callback-ex arguments.
11939 * gui-x.c (popup_selection_callback):
11940 handle both :callback and :callback-ex, and generate our own
11941 event because it's one of the callback-ex arguments.
11942 * gui-x.c (button_item_to_widget_value):
11943 * gui-x.c (gui_items_to_widget_values_1):
11944 * gui-x.c (gui_item_children_to_widget_values):
11945 * gui-x.c (gui_items_to_widget_values):
11946 new image instance parameter in various places.
11948 * fns.c (Freplace_list):
11949 fix small typo in doc string.
11952 declare enqueue_Xt_dispatch_event.
11954 2000-04-28 Ben Wing <ben@xemacs.org>
11957 * buffer.c (Frecord_buffer):
11958 * buffer.c (syms_of_buffer):
11959 delete record-buffer-hook.
11962 * fns.c (Freplace_list):
11963 * fns.c (syms_of_fns):
11964 new primitive replace-list.
11967 slot for old buffer-alist.
11970 exfun replace-list.
11973 * redisplay.c (redisplay_frame):
11974 * redisplay.c (syms_of_redisplay):
11975 * redisplay.c (vars_of_redisplay):
11976 new hook buffer-list-changed-hook.
11979 2000-04-27 Ben Wing <ben@xemacs.org>
11981 * extents.h: extern in_modeline_generation.
11983 * redisplay.c (generate_formatted_string_db): set
11984 in_modeline_generation.
11986 * extents.c (extent_changed_for_redisplay): don't mark redisplay
11987 flags if in modeline generation. otherwise frame-modified-tick
11988 is ticked far too often.
11989 Declare in_modeline_generation.
11991 2000-04-26 Ben Wing <ben@xemacs.org>
11993 * emacs.c (vars_of_emacs): document quick-build "error-checking"
11995 (vars_of_emacs): add quick-build as an error-checking option.
11996 A bit kludgy, but there doesn't seem much point in creating
11997 a real var for this.
11999 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
12001 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
12003 * redisplay.h (struct display_line): Add a new variable,
12006 * redisplay.c (create_text_block): Set dl->line_continuation if
12007 the line continues.
12008 (create_string_text_block): Ditto.
12009 (regenerate_window_incrementally): Use line_continuation instead
12010 of searching continuation glyph.
12011 (add_margin_runes): Call add_glyph_rune.
12012 (add_glyph_rune): Handle margin glyph.
12014 2000-04-20 Martin Buchholz <martin@xemacs.org>
12016 * filelock.c (fill_in_lock_file_name):
12018 Check for IS_ANY_SEP instead of '/'.
12020 Avoid generating gratuitous garbage. Call user_login_name() directly.
12021 Never check errno without first seeing that system call failed.
12022 (unlock_file): Add GCPRO.
12023 (Flock_buffer): Fix docstring.
12024 (Ffile_locked_p): Fix docstring. Add GCPRO.
12026 2000-04-19 Martin Buchholz <martin@xemacs.org>
12028 * sysdep.c (get_pty_max_bytes):
12029 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
12030 strings longer than 252 bytes.
12032 * md5.c: Unconditionally include ANSI header <limits.h>
12034 * glyphs-x.c (convert_EImage_to_XImage):
12035 * lisp-union.h (union Lisp_Object):
12036 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
12038 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
12040 * filelock.c (current_lock_owner): Remove unused variable o, p.
12042 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
12044 * callint.c: Remove multiply defined symbol Qlet
12045 (syms_of_callint): ditto.
12047 2000-04-14 Andy Piper <andy@xemacs.org>
12049 * general.c (syms_of_general): add last-command, this-command, let
12052 * lisp.h: declare various symbols.
12054 * glyphs.h: declare Qwidget_callback_current_channel;
12056 * glyphs-widget.c (syms_of_glyphs_widget): add
12057 Qgui_callback_current_channel.
12058 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
12060 * gui-msw.c (mswindows_handle_gui_wm_command): bind
12061 widget-callback-current-channel when invoking the interactive
12062 arg. Also bind last-command and next-command when invoking the
12064 * gui-x.c (popup_selection_callback): ditto.
12066 * gui.c (get_gui_callback): massage args so that we are always
12067 calling eval. This allows us to add our own variable bindings
12070 * glyphs-x.c (x_button_instantiate): use
12071 gui_items_to_widget_values since this is GC safe.
12072 (x_progress_gauge_instantiate): ditto.
12073 (x_edit_field_instantiate): ditto.
12074 (x_label_instantiate): ditto.
12076 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
12077 (emacs_Xt_event_widget_focus_out): new function
12078 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
12080 (emacs_Xt_event_add_widget_actions): new function. add focus
12081 functions as actions.
12082 (init_event_Xt_late): use it.
12084 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
12086 * event-stream.c (Fdispatch_event): Doc fix.
12088 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
12090 * postgresql.c: Remove all references to PQsetenv*.
12092 * postgresql.h: Remove references to PGsetenvHandler object.
12093 * lrecord.h (lrecord_type): Ditto.
12095 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12097 * glyphs-msw.h (struct mswindows_image_instance_data): Added
12098 real_heigh and real_width members, and accessor macros for these.
12100 * glyphs-msw.c (init_image_instance_geometry): New function.
12101 (init_image_instance_from_dibitmap): Use it.
12102 (mswindows_resource_instantiate): Use it.
12103 (init_image_instance_from_xbm_inline): Use it.
12104 (mswindows_initialize_image_instance_mask): Use real bitmap
12106 (mswindows_create_resized_bitmap): Ditto.
12107 (mswindows_create_resized_mask): Ditto.
12109 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
12110 and bitmap to their surface size.
12112 2000-04-11 Jan Vroonhof <jan@xemacs.org>
12114 * process-unix.c (unix_send_process): Guard against process MIA
12115 after Faccept_process_output.
12117 2000-04-11 Ben Wing <ben@xemacs.org>
12119 * eval.c (unbind_to_hairy): fix brokenness introduced by
12120 nanosecond speed improvements.
12122 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
12124 * sunplay.c (init_device): To play sounds correctly, the device
12125 apparently needs to be initialized at least once by XEmacs. Make
12128 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
12130 * redisplay.c (add_margin_runes): Add text image glyph
12133 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
12135 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
12136 gcc is newer than 2.5.
12138 2000-04-06 Colin Rafferty <colin@xemacs.org>
12140 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
12142 * fns.c (size_bit_vector):
12143 * alloc.c (size_vector):
12144 (make_vector_internal):
12145 (make_bit_vector_internal):
12146 (sweep_bit_vectors_1):
12147 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
12149 2000-04-06 Andy Piper <andy@xemacs.org>
12151 * gmalloc.c (malloc): undo previous change.
12156 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
12158 * line-number.c (buffer_line_number): Revert to former version.
12160 2000-04-06 Andy Piper <andy@xemacs.org>
12162 * gmalloc.c (malloc): add error checking.
12167 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
12168 button_item_to_widget_value arg.
12170 * glyphs-x.c (x_button_instantiate): add extra
12171 button_item_to_widget_value arg.
12172 (x_progress_gauge_instantiate): ditto.
12173 (x_edit_field_instantiate): ditto.
12174 (x_label_instantiate): ditto.
12176 * gui-x.c (gui_items_to_widget_values_1): add extra
12177 button_item_to_widget_value arg.
12178 (button_item_to_widget_value): add extra menu_item_p arg.
12180 * gui-x.h: change signature of button_item_to_widget_value.
12182 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
12183 button_item_to_widget_value arg.
12185 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
12187 * buffer.h (struct buffer): auto_save_modified should be long.
12189 2000-04-05 Andy Piper <andy@xemacs.org>
12191 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
12193 (button_query_geometry): give a little more room so that athena
12196 2000-04-05 Andy Piper <andy@xemacs.org>
12198 * faces.c (complex_vars_of_faces): The widget face should inherit
12199 the font of the gui-element face.
12201 2000-04-04 Andy Piper <andy@xemacs.org>
12203 * glyphs-x.c (x_button_update): new function. unconditionally
12204 update a button's state when the instance is dirty.
12205 (image_instantiator_format_create_glyphs_x): add x_button_update.
12206 (x_widget_instantiate): remove old resize cruft.
12208 2000-04-02 Andy Piper <andy@xemacs.org>
12210 * frame.c (change_frame_size_1): The introduction of gutters means
12211 that we need to allow 0 as a potential frame dimension.
12213 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
12215 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
12216 image glyph if allow_cursor.
12217 (add_hscroll_rune): Don't allow cursor to border glyph.
12218 (create_text_block): Ditto.
12220 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
12221 text not in buffer.
12222 (redisplay_output_layout): Call ensure_face_cachel_complete for
12226 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
12228 * redisplay.c (add_glyph_rune): Adding text image as text runes.
12230 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
12233 * redisplay-tty.c (tty_output_display_block): Delete the routine
12234 for text image glyph
12235 * redisplay-x.c (x_output_display_block): ditto
12236 * redisplay-msw.c (mswindows_output_display_block): ditto
12238 2000-02-02 Mike Alexander <mta@arbortext.com>
12240 Note: Some of these were committed by accident as part of other
12243 * regex.c (regex_compile): Avoid compiler warnings.
12245 * ntproc.c (sys_spawnve): Avoid compiler warnings.
12247 * nt.h: Declare term_ntproc correctly.
12249 * nt.c: Remove incorrect declaration of get_home_directory which
12250 is declared correctly in lisp.h.
12252 * keymap.c (get_keyelt): Avoid compiler warnings.
12253 (raw_lookup_key_mapper): Avoid compiler warnings.
12255 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
12257 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
12259 * filemode.c (mode_string): Avoid compiler warnings.
12261 * file-coding.c (Fcoding_system_aliasee): Add return statement to
12264 * events-mod.h: Undef some things that winuser.h defines differently.
12266 * data.c (Faset): Avoid compiler warnings.
12268 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
12270 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12272 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
12273 Fall through to simple beep on error.
12274 Replace "extern" by real header file.
12276 * linuxplay.c: Use nativesound.h
12277 (play_sound_data): Return error code. Be less verbose on error.
12279 * sunplay.c: Use nativesound.h
12280 (play_sound_data): Return error code. Be less verbose on error.
12282 * ntplay.c: Use nativesound.h
12283 (play_sound_data): Return fake error code
12285 * sgiplay.c: Use nativesound.h
12286 (play_sound_data): Return error code
12288 * hpplay.c: Use nativesound.h, partially implement
12289 new error code. Break compilation until finished.
12290 (play_sound_data): error code.
12292 * nativesound.h (play_sound_file):
12293 (play_sound_data): Prototype in new header.
12295 2000-03-31 Andy Piper <andy@xemacs.org>
12297 * glyphs-widget.c: (button_query_geometry): new function. Adjust
12298 for toggle and radio buttons.
12299 (image_instantiator_buttons): use it.
12301 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12303 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
12304 (x_update_horizontal_scrollbar_callback): Return if no mirror was
12305 found. Scrollbar event probably belonged to some old config.
12307 2000-03-31 Andy Piper <andy@xemacs.org>
12309 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
12311 (initialize_widget_image_instance): default layout to
12312 LAYOUT_HORIZONTAL rather than 0.
12313 (widget_instantiate): reverse the item list at the end rather than
12315 (layout_layout): re-code for the border text at the front of the
12316 item list rather than at the end.
12317 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
12318 provided by the user.
12319 (widget_query_geometry): comment.
12321 2000-03-30 Andy Piper <andy@xemacs.org>
12323 * glyphs-widget.c (image_instantiator_layout): allow standard
12324 widget keywords in layouts.
12326 * gutter.c (output_gutter): cope with nil gutter contents.
12328 * frame.c (Fset_frame_properties): add gutter docs.
12330 2000-03-29 Andy Piper <andy@xemacs.org>
12332 * toolbar-msw.c (TBSTYLE_FLAT): add.
12333 (mswindows_output_toolbar): minor fiddling.
12335 2000-03-29 Andy Piper <andy@xemacs.org>
12337 * gutter.c (output_gutter): force gutter size recalculation if
12338 what we are trying to display won't fit.
12339 (update_gutter_geometry): new function. A per-gutter version of
12340 update_frame_gutter_geometry.
12341 (update_frame_gutter_geometry): use it.
12342 (redraw_exposed_gutter): add extra debugging output.
12344 2000-03-28 Mike Alexander <mta@arbortext.com>
12346 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
12347 (pdump_file_unmap): Implement it on Windows
12348 (pdump_file_get): Save alocated handles for pdump_file_unmap
12350 2000-03-28 Andy Piper <andy@xemacs.org>
12352 * gui.c (get_gui_callback): treat Quit specially.
12354 2000-03-27 Andy Piper <andy@xemacs.org>
12356 * glyphs.c (image_instantiate): be careful to check in the same
12359 2000-03-27 Didier Verna <didier@xemacs.org>
12361 * config.h.in: define the proper SMART_INCLUDE macro.
12362 handle renaming of `foo_h_path' to `foo_h_file'.
12364 * database.c: ditto.
12368 * linuxplay.c: ditto.
12370 * terminfo.c: ditto.
12372 * tooltalk.h: ditto.
12374 2000-03-27 Andy Piper <andy@xemacs.org>
12376 * glyphs-msw.c (mswindows_update_widget): make sure the widget
12377 gets updated whenever the face might have changed.
12379 2000-03-26 Mike Alexander <mta@arbortext.com>
12381 * dumper.c (pdump_resource_free): Fix the comment.
12383 2000-03-21 Olivier Galibert <galibert@pobox.com>
12385 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
12387 2000-03-22 Mike Alexander <mta@arbortext.com>
12389 * dumper.c: Include Windows headers on Windows
12390 (pdump_resource_free): Add a body to the function
12391 (pdump_load): exe_name -> exe_path and add some comments.
12393 2000-03-25 Mike Alexander <mta@arbortext.com>
12395 * gui.c (copy_gui_item_tree): Return a value in all cases
12397 2000-03-21 Didier Verna <didier@xemacs.org>
12399 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
12401 (SMART_INCLUDE): new macro.
12402 (POSTGRES_INCLUDE): new macro to include postgresql headers from
12403 the proper location.
12405 * postgresql.c: use it.
12409 2000-03-24 Andy Piper <andy@xemacs.org>
12411 * gutter.c (redraw_exposed_gutters): must be "in display" when we
12414 2000-03-24 Andy Piper <andy@xemacs.org>
12416 * redisplay-output.c (compare_runes): use image_instance_changed
12417 to detect changes. Do not depend on glyphs_changed, only depend on
12419 (redisplay_output_layout): add debug messages.
12420 (compare_runes): ditto.
12422 * glyphs.h: declare new functions.
12423 (struct Lisp_Image_Instance): remove percent and associated
12426 * gui.h: declare new copying functions.
12428 * gui.c (copy_gui_item_tree): new function.
12429 (copy_gui_item): new function.
12430 (gui_item_id_hash): revert to standard hash.
12431 (gui_item_hash): ditto.
12432 (gui_item_hash_internal): deleted.
12433 (mark_gui_item): mark value.
12434 (gui_item_add_keyval_pair): add value.
12435 (gui_item_init): ditto.
12436 (gui_add_item_keywords_to_plist): ditto.
12437 (gui_item_equal): ditto.
12438 (syms_of_gui): add Q_value.
12440 * glyphs-x.c (x_progress_gauge_update): use pending items and
12441 value for setting the state.
12442 (x_update_widget): don't set items from pending here.
12444 * glyphs-widget.c (update_widget): update items here.
12445 (progress_gauge_set_property): use items for storing value. Put
12446 new value in pending items.
12448 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
12449 items for new value. Convert percent -> value.
12450 (mswindows_tab_control_update): don't update items here.
12452 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
12453 (update_subwindow): ditto.
12454 (image_instance_changed): new function. Compare hash values and
12455 past and present widget items.
12456 (image_instantiate): We more careful about where we instantiate
12458 (image_instantiate): add error checking.
12460 * gutter.c (syms_of_gutter): use -hook.
12462 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
12464 * console-tty.c (Fset_console_tty_input_coding_system): Use
12466 (Fset_console_tty_output_coding_system): Use Qterminal.
12467 (tty_init_console): Use Qkeyboard and Qterminal.
12469 2000-03-21 Ben Wing <ben@xemacs.org>
12471 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
12472 From Mike Alexander <mta@arbortext.com>.
12474 2000-03-21 Ben Wing <ben@xemacs.org>
12476 * event-msw.c (mswindows_need_event): Horrible kludge to fix
12477 process brokenness. Proper implementation to come.
12479 Rename call-process-internal to old-call-process-internal.
12480 New impl. in process.el.
12482 2000-03-21 Martin Buchholz <martin@xemacs.org>
12484 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
12486 2000-03-20 Andy Piper <andy@xemacs.org>
12488 * glyphs.c (full_list_hash): make hashes of the same elements in
12489 different orders return different values.
12491 2000-03-20 Martin Buchholz <martin@xemacs.org>
12493 * XEmacs 21.2.32 is released.
12495 2000-03-20 Martin Buchholz <martin@xemacs.org>
12497 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
12498 (DFC_MALLOC_USE_CONVERTED_DATA):
12499 Add aliasing-safe casts to allow use with char* or unsigned char*
12502 * eldap.c (Fldap_open):
12503 (Fldap_search_basic):
12506 Make C++-compilable.
12507 Make sure GCPRO'ed variables are initialized.
12508 Use temp variables to avoid repeated calls to Flength.
12510 2000-03-16 Martin Buchholz <martin@xemacs.org>
12513 Make sure PATH_MAX is always defined.
12514 Include limits.h for PATH_MAX.
12515 Deprecate use of MAXPATHLEN.
12517 2000-03-10 Martin Buchholz <martin@xemacs.org>
12519 * emacs.c: Add reinit_vars_of_fileio.
12520 * symsinit.h: Add reinit_vars_of_fileio.
12521 * fileio.c (reinit_vars_of_fileio): New.
12522 * fileio.c (Fmake_temp_name):
12523 Initialize temp_name random number from microseconds to make
12524 collisions even less likely. Initialize always at process startup
12525 time. (make-temp-name) used to return the same file name twice in
12527 Random stylistic fiddling.
12530 2000-03-20 Andy Piper <andy@xemacs.org>
12532 * glyphs.c (image_instantiate): allow text glyphs to be
12533 instantiated in the minibuffer window.
12535 2000-03-19 Andy Piper <andy@xemacs.org>
12537 * glyphs.c (image_instance_hash): be careful about which items we
12540 * glyphs-widget.c (tab_control_set_property): record into pending
12541 items rather than the actual items.
12543 * glyphs-x.c (x_update_widget): use pending items to update with.
12545 * glyphs-msw.c (mswindows_tab_control_update): use pending items
12548 * glyphs.c (mark_image_instance): mark pending items.
12550 * window.c (Fset_window_configuration): record the buffer.
12551 (Fselect_window): totally revert previous change which breaks many
12554 2000-03-18 Andy Piper <andy@xemacs.org>
12556 * glyphs-msw.c (mswindows_tab_control_update): force selected
12559 * glyphs.c (image_instantiate): don't allow the minibuffer as a
12560 window domain cache, otherwise we get inconsistencies at
12561 startup. There is something fishy at startup which can lead to the
12562 minibuffer being the selected window when the gutter content is
12565 * gui.c (parse_gui_item_tree_list): add probably unnecessary
12567 (parse_gui_item_tree_children): ditto.
12568 (parse_gui_item_tree_item): ditto.
12570 * glyphs.c (Fupdate_widget_instances): return something.
12572 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
12574 * window.c (Fselect_window): Undo 2000-03-17 change.
12576 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
12578 * postgresql.c (Fpq_setenv): Remove this turkey when linking
12579 against v7.0 libraries. Insta-coredump city until the postgres
12582 2000-03-17 Andy Piper <andy@xemacs.org>
12584 * faces.c (complex_vars_of_faces): don't give the widget face an
12585 inherited background pixmap.
12587 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
12590 * event-stream.c (Fdispatch_non_command_events): return something.
12592 * gutter.c (output_gutter): use widget face.
12593 (clear_gutter): ditto.
12595 * NEWS: adjust again.
12597 * window.c (Fselect_window): make sure this runs to completion to
12598 avoid oddities with Fset_window_configuration.
12599 (Fcurrent_window_configuration): in general do not save the
12600 minibuffer as the selected window.
12602 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
12604 2000-03-16 Olivier Galibert <galibert@pobox.com>
12606 * emacs.c (Frunning_temacs_p): Revert previous patch.
12607 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
12609 2000-03-16 Andy Piper <andy@xemacs.org>
12611 * glyphs-x.c (x_tab_control_update): if no widget values then
12614 * NEWS: update for new features.
12616 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
12617 synthetic event to the native system.
12618 (reinit_vars_of_event_Xt): set force_event_pending to
12619 emacs_Xt_force_event_pending.
12621 * events.h (struct event_stream): add force_event_pending.
12623 * specifier.c (recompute_one_cached_specifier_in_window): add
12626 * redisplay.c (redisplay_frame): don't call
12627 update_frame_subwindows. Reset subwindow cachels when
12628 subwindows_changed, removing this was an optimization too far.
12630 * redisplay-output.c (compare_runes): reorganize so that we catch
12631 glyph changes when we want them. Set optimize_output when this
12632 would help layouts.
12633 (redisplay_output_layout): remove frame_really_changed, use
12634 optimize_output instead.
12636 * redisplay-msw.c (mswindows_output_display_block): reset
12637 optimize_output after outputting a glyph.
12638 * redisplay-x.c (x_output_display_block): ditto.
12639 * redisplay-tty.c (tty_output_display_block): ditto.
12641 * gutter.c: (specifier_vars_of_gutter): use new spec changed
12643 (gutter_specs_changed): do specific gutter positions.
12644 (top_gutter_specs_changed): new function. Only update the
12645 specified gutter specs.
12646 (bottom_gutter_specs_changed): ditto.
12647 (left_gutter_specs_changed): ditto.
12648 (right_gutter_specs_changed): ditto.
12650 * gui.c (gui_item_hash_internal): new function, does a real hash.
12651 (gui_item_id_hash): use it.
12652 (gui_item_hash): hash the eval'ed gui_item.
12654 * gui-x.c (popup_selection_callback): send an eval event to call
12655 Fupdate_widget_instances.
12657 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
12658 to call Fupdate_widget_instances.
12660 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
12661 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
12663 * glyphs.c: (update_frame_subwindows): deleted.
12664 (Fupdate_widget_instances): new function for updating the dirty
12665 state of widgets that might have changed.
12666 (syms_of_glyphs): add Qupdate_widget_instances.
12667 (full_list_hash): hash a list completely.
12668 (image_instance_hash): use it for items and properties.
12670 * frame-msw.c (mswindows_size_frame_internal): remove unused
12673 * faces.h (struct face_cachel): fix comment.
12675 * event-stream.c (Fdispatch_non_command_events): new
12676 function. Process non-command events, forcing an event cycle
12678 (syms_of_event_stream): declare.
12679 (event_stream_force_event_pending): new function. Force an event
12680 on the native event queue so that an event cycle will occur next
12684 (struct ntpipe_shove_stream):
12685 (mswindows_enqueue_dispatch_event):
12686 (mswindows_dequeue_dispatch_event):
12687 (mswindows_cancel_dispatch_event):
12688 (mswindows_pump_outstanding_events):
12689 (mswindows_drain_windows_queue):
12690 (mswindows_handle_paint):
12691 (mswindows_wnd_proc):
12692 (mswindows_key_to_emacs_keysym):
12693 (get_process_input_waitable):
12694 (emacs_mswindows_delete_stream_pair): re-indent file.
12695 (mswindows_need_event): do not process further fds if the windows
12696 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
12697 fixes the 100% cpu problem.
12698 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
12700 2000-03-15 Olivier Galibert <galibert@pobox.com>
12706 * emacs.c: Moved dump file searching to dumper.c.
12707 (Frunning_temacs_p): Fixed.
12709 * alloc.c: Moved everything pdump-related to dumper.c. Removed
12710 last_lrecord_type_index_assigned.
12712 2000-02-20 Olivier Galibert <galibert@pobox.com>
12714 * symsinit.h: Added reinit parameter to init_console_stream
12717 * lisp.h: Added file parameter to pdump_load declaration.
12719 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
12720 support. Added dump file searching.
12722 * config.h.in: Added EMACS_PROGNAME.
12724 * console-stream.c (init_console_stream): Fix reinitialisation
12725 when running from temacs.
12727 * alloc.c (pdump): Add id support.
12728 (pdump_load): Add file parameter and signature/id support.
12730 * Makefile.in.in: Add full pdump support.
12732 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
12734 * postgresql.c: Update documentation to reflect latest code
12736 (print_result): Show tuple counts in printed representation when
12738 (Fpq_put_nbytes): MULE-ize.
12739 (Fpq_get_line_async): Ditto.
12741 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
12743 * postgresql.c (Fpq_lo_import): Fix return value.
12744 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
12746 2000-03-13 Ben Wing <ben@xemacs.org>
12748 * alloc.c (pdump_load):
12749 Fix compile warning under mswin.
12751 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
12753 * postgresql.c: Mule-ization, bug fixes.
12754 Use PG_CODING to encapsulate coding system name changes.
12755 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
12756 (pg-coding-system): Create.
12758 (Fpq_conn_defaults): Mule-ize.
12759 (Fpq_connectdb): Mule-ize & bug fix.
12760 (Fpq_connect_start): Mule-ize.
12761 (Fpq_set_client_encoding): Mule-ize.
12762 (Fpq_finish): Document `DEAD' connection status.
12763 (Fpq_clear): Ditto.
12764 (Fpq_pgconn): Mule-ize.
12765 (Fpq_exec): Mule-ize & bug fix.
12766 (Fpq_send_query): Ditto.
12767 (Fpq_get_result): Ditto.
12768 (Fpq_res_status): Mule-ize.
12769 (Fpq_result_error_message): Mule-ize.
12770 (Fpq_ntuples): fix comments.
12771 (Fpq_fname): Mule-ize.
12772 (Fpq_fnumber): Mule-ize.
12773 (Fpq_ftype): fix comments.
12774 (Fpq_get_value): Mule-ize.
12775 (Fpq_cmd_status): Ditto.
12776 (Fpq_cmd_tuples): Ditto.
12777 (Fpq_oid_value): Ditto.
12778 (Fpq_notifies): Ditto.
12779 (Fpq_lo_import): Ditto.
12780 (Fpq_lo_export): Ditto.
12781 (Fpq_get_line): Ditto.
12782 (Fpq_put_line): Mule-ize and bug fix.
12783 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
12785 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
12787 * postgresql.c (vars_of_postgresql): Mule-ize.
12788 (Fpq_conn_defaults): Ditto.
12790 2000-03-12 Ben Wing <ben@xemacs.org>
12792 * alloc.c (Fmake_byte_code):
12793 * alloc.c (debug_string_purity_print):
12794 * alloc.c (pdump_backtrace):
12795 * alloc.c (pdump_get_indirect_count):
12796 * alloc.c (pdump_register_sub):
12797 * alloc.c (pdump_register_object):
12798 * alloc.c (pdump_register_struct):
12799 * alloc.c (pdump_dump_data):
12800 * alloc.c (pdump_reloc_one):
12804 * console-msw.c (GetConsoleHwnd):
12805 * console-msw.c (msw_hide_console):
12806 * console-msw.c (msw_show_console):
12807 * console-msw.c (msw_ensure_console_buffered):
12808 * console-msw.c (msw_output_console_string):
12809 * console-msw.c (console_type_create_mswindows):
12811 a) Added functions to manipulate the console window for use with
12814 b) Added support for writing text to the console, which is now
12815 used under Windows when xemacs is not being run non-interactively,
12816 to write text that would otherwise be destined for stdout because
12817 under these circumstances, text written to stdout tends to
12818 disappear and not be seen.
12822 * event-Xt.c (x_event_to_emacs_event):
12823 * event-Xt.c (describe_event_window):
12824 * events-mod.h (XEMACS_MOD_CONTROL):
12826 * events.c (Fmake_event):
12827 * events.c (character_to_event):
12828 * events.c (event_to_character):
12829 * events.c (format_event_object):
12830 * events.c (Fevent_modifiers):
12832 * events.h (struct key_data):
12833 * events.h (struct button_data):
12834 * events.h (struct misc_user_data):
12835 * frame-x.c (Fcde_start_drag_internal):
12836 * frame-x.c (Foffix_start_drag_internal):
12837 * gpmevent.c (Freceive_gpm_event):
12839 * keymap.c (bucky_sym_to_bucky_bit):
12840 * keymap.c (control_meta_superify):
12841 * keymap.c (make_key_description):
12842 * keymap.c (keymap_lookup_directly):
12843 * keymap.c (create_bucky_submap):
12844 * keymap.c (keymap_store):
12845 * keymap.c (define_key_check_and_coerce_keysym):
12846 * keymap.c (define_key_parser):
12847 * keymap.c (define_key_alternate_name):
12848 * keymap.c (Fdefine_key):
12849 * keymap.c (raw_lookup_key_mapper):
12850 * keymap.c (struct map_keymap_unsorted_closure):
12851 * keymap.c (map_keymap_unsorted_mapper):
12852 * keymap.c (map_keymap_sort_predicate):
12853 * keymap.c (map_keymap_sorted):
12854 * keymap.c (accessible_keymaps_mapper_1):
12855 * keymap.c (where_is_recursive_mapper):
12856 * keymap.c (describe_map_mapper):
12857 * keymap.c (describe_map_sort_predicate):
12858 * keymap.c (describe_map):
12859 * keymap.c (complex_vars_of_keymap):
12860 And a number of other files, the key modifier preprocessor
12861 constants that xemacs uses have names that conflict with constants
12862 defined under MS Windows for other purposes, so they were renamed
12863 to begin with the prefix XEMACS_. The variables that hold such
12864 modifiers were changed to consistently be of type int to fix
12865 various compile warnings.
12867 * console.c (complex_vars_of_console):
12870 * device-msw.c (mswindows_finish_init_device):
12871 * device-msw.c (msw_get_workspace_coords):
12872 * device-msw.c (mswindows_device_system_metrics):
12873 and various other files, added support for a new
12874 device property called offset-workspace which returns the position
12875 of the upper left corner of the workspace area and goes along with
12876 the existing size-workspace property.
12879 * dialog-msw.c (push_bufbyte_string_as_unicode):
12880 * dialog-msw.c (mswindows_popup_dialog_box):
12881 Added support for XEmacs-style accelerator specifications in
12882 button text. Note: I didn't add support for this under X Windows,
12883 and somebody needs to do this.
12886 * dialog.c (Fpopup_dialog_box):
12887 Documented the support for accelerators that was just mentioned.
12889 editfns.c (get_home_directory): Changed behavior under Windows
12890 when HOME not defined; former behavior was irretrievably broken.
12893 * emacs.c (main_1):
12895 * minibuf.c (clear_echo_area_internal):
12896 * minibuf.c (echo_area_append):
12898 * print.c (std_handle_out_external):
12899 * print.c (std_handle_out_va):
12901 * print.c (write_string_to_stdio_stream):
12902 * print.c (output_string):
12903 * print.c (debug_print):
12904 * print.c (debug_backtrace):
12905 * print.c (debug_short_backtrace):
12906 Cleaned up the code that prints text to stdout so that this can be
12907 changed to output into a console window instead under MS Windows,
12908 as described above.
12911 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
12912 * eval.c (internal_catch):
12913 * eval.c (unwind_to_catch):
12914 * eval.c (throw_or_bomb_out):
12915 * eval.c (condition_case_1):
12916 * eval.c (signal_1):
12917 * eval.c (check_error_state_sanity):
12918 * eval.c (call_with_suspended_errors_1):
12919 * eval.c (call_with_suspended_errors):
12920 * eval.c (reinit_vars_of_eval):
12921 Added code to catch throw loops and check for a pesky bug that may
12925 * event-msw.c (key_needs_default_processing_p):
12926 * event-msw.c (mswindows_wnd_proc):
12927 * event-msw.c (mswindows_modifier_state):
12928 * event-msw.c (emacs_mswindows_quit_p):
12929 * event-msw.c (vars_of_event_mswindows):
12930 a) Added support for using the alt key to select menu items as is
12931 standard under MS Windows. This is controlled using the variable
12932 menu-accelerator-enabled, just like under X Windows. There is an
12933 option on the options menu to turn this support on. I really
12934 think that it should be on by default under Windows, but I'm not
12935 going to make this change yet.
12937 b) Added support for dynamic display size changes under Windows.
12940 * event-stream.c (maybe_echo_keys):
12941 * event-stream.c (Fnext_event):
12942 * event-stream.c (command_builder_find_leaf):
12943 * event-stream.c (lookup_command_event):
12944 * event-stream.c (execute_command_event):
12945 * event-stream.c (pre_command_hook):
12946 * event-stream.c (post_command_hook):
12947 * event-stream.c (syms_of_event_stream):
12948 * event-stream.c (vars_of_event_stream):
12949 * event-stream.c (complex_vars_of_event_stream):
12950 * events.h (struct command_builder):
12952 a) Tried to clean up a little bit the horribly written x-specific
12953 accelerator code that crept into this file. I moved this code
12954 into menubar-x.c where it belongs. I also needed to move the
12955 command builder structure into the file events.h because it is
12956 accessed directly by this accelerator code. What I didn't do, but
12957 which should be done at some point, is to properly abstract this
12958 code using device methods instead of the kludgy way that it
12959 currently hooks into the event code.
12961 b) Added the lisp variables this-command-properties and
12962 last-command- properties, which should be used to synchronize two
12963 adjacent commands in preference to playing games with the variable
12964 this-command, which is typically what happens.
12966 c) Added some slightly nasty code to hook into the lisp support
12967 for shifted- motion-key selection. This is actually necessary for
12968 somewhat complicated reasons, which are described in
12969 simple.el. (NB: I think the proper thing would be to have the code
12970 that calls the pre and post command hooks also call out to generic
12971 lisp functions in simple.el, where all built-in stuff could be
12972 added. I will think about this more.)
12974 * event-unixoid.c (poll_fds_for_input):
12975 * lread.c (readchar):
12976 * redisplay-tty.c (tty_clear_frame):
12977 * redisplay-x.c (x_get_gc):
12978 * signal.c (interrupt_signal):
12979 And a whole bunch of other files: fixed up places that printed
12980 directly to stderr to instead call the function stderr_out so that
12981 the changes I made under Windows work correctly.
12983 * filemode.c (mode_string):
12987 * frame-msw.c (mswindows_size_frame_internal):
12988 Fixed the computation of frame size and position to keep the frame
12989 within the workspace area, rather than within the physical
12990 dimensions of the screen, so that the frame doesn't overlap window
12991 manager decorations, such as the start menu and toolbar, typically
12992 at the bottom of the screen.
12994 * frame.c (vars_of_frame):
12995 Changed the default frame title format under MS Windows to consist
12996 of buffername-XEmacs, which is standard under MS Windows. I think
12997 it might be a good idea to change this everywhere because I think
12998 it is superior to the current frame title format, but this is the
12999 kind of change that is likely to cause some people to get annoyed,
13000 so I'm not making it.
13002 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13004 * gui-msw.c (mswindows_handle_gui_wm_command):
13005 Fixed compile warnings.
13008 * gui-x.c (strdup_and_add_accel):
13009 * gui-x.c (button_item_to_widget_value):
13011 Added code to automatically put an accelerator onto the beginning
13012 of menu items that don't have one as is now the standard, and is
13013 described more later. Also fixed things so that the menu item
13014 name can be an evaluated expression, again a new standard.
13017 * gui.c (gui_item_add_keyval_pair):
13018 * gui.c (make_gui_item_from_keywords_internal):
13019 * gui.c (gui_add_item_keywords_to_plist):
13020 * gui.c (gui_item_accelerator):
13021 * gui.c (gui_name_accelerator):
13022 * gui.c (gui_item_included_p):
13023 * gui.c (gui_item_display_flush_left):
13024 * gui.c (gui_item_display_flush_right):
13025 * gui.c (parse_gui_item_tree_item):
13026 * gui.c (parse_gui_item_tree_children):
13027 * gui.c (parse_gui_item_tree_list):
13028 Mule-ized. Cleanup. GCPRO addition.
13030 * line-number.c (buffer_line_number):
13032 * lisp.h (EMACS_INT_MAX):
13033 Added the manifest constant EMACS_INT_MIN corresponding to the
13034 existing constant EMACS_INT_MAX. This is partially to fix compile
13035 warnings under Windows, and partly for cleanliness.
13038 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
13039 * menubar-msw.c (msw_translate_menu_or_dialog_item):
13040 * menubar-msw.c (displayable_menu_item):
13041 * menubar-msw.c (populate_menu_add_item):
13042 * menubar-msw.c (populate_or_checksum_helper):
13043 * menubar-msw.c (populate_menu):
13044 * menubar-msw.c (update_frame_menubar_maybe):
13045 * menubar-msw.c (prune_menubar):
13046 * menubar-msw.c (msw_char_is_accelerator):
13047 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
13048 * menubar-msw.c (mswindows_handle_wm_command):
13049 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
13050 * menubar-msw.c (mswindows_handle_wm_initmenu):
13051 * menubar-msw.c (mswindows_update_frame_menubars):
13052 * menubar-msw.c (mswindows_free_frame_menubars):
13053 * menubar-msw.c (mswindows_popup_menu):
13054 Fixed a bug in handling accelerators where an extra character
13055 would be displayed in the menu item. Also generalized the
13056 function displayable_menu_item because it is now used by the
13057 dialog box code as well. And finally, added code in the functions
13058 that create the menubar to extract a list of accelerators for the
13059 top level menubar, which is used in the event code to determine
13060 whether a particular alt-key combination should be used to invoke
13061 a menu item, or should be passed through to access the standard
13062 XEmacs keymap binding for this key combination.
13064 Much needed GCPROing.
13067 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13068 * menubar-x.c (menu_item_descriptor_to_widget_value):
13069 * menubar-x.c (restore_in_menu_callback):
13070 * menubar-x.c (x_popup_menu):
13071 * menubar-x.c (menu_move_up):
13072 * menubar-x.c (menu_move_down):
13073 * menubar-x.c (menu_move_left):
13074 * menubar-x.c (menu_move_right):
13075 * menubar-x.c (menu_select_item):
13076 * menubar-x.c (command_builder_operate_menu_accelerator):
13077 * menubar-x.c (menu_accelerator_junk_on_error):
13078 * menubar-x.c (command_builder_find_menu_accelerator):
13079 * menubar-x.c (Faccelerate_menu):
13081 Moved a whole bunch of code here that was previously in
13082 event-stream.c as described above. There is also code connected
13083 to the new standard of adding an accelerator to the beginning of
13084 menu items that don't have one as described above and below.
13087 * menubar.c (menu_parse_submenu_keywords):
13088 * menubar.c (Fmenu_find_real_submenu):
13089 * menubar.c (Fnormalize_menu_item_name):
13090 * menubar.c (syms_of_menubar):
13091 * menubar.c (vars_of_menubar):
13092 * menubar.c (complex_vars_of_menubar):
13094 a) Cleaned up a bunch of documentation and improved it.
13096 b) XEmacs now automatically adds an accelerator onto the beginning
13097 of any menu items that don't have one. I did this because there
13098 will inevitably be some menu items on the main menubar that don't
13099 have accelerators on them because the package that adds that
13100 particular menu item hasn't yet been fixed up to have accelerators
13101 in them and it looked rather strange to have some items with and
13102 some items without accelerators, especially since even in items
13103 without accelerators, you can, at least under windows, still
13104 access the item through an accelerator corresponding to the first
13105 character in the item's name. If people don't like this behavior,
13106 I can add a variable to turn it off optionally, but I'm not sure
13107 this is a good idea because we really do need to have accelerators
13108 on all of the menu items, and if a package doesn't like the
13109 accelerators being put on the first character, then it should put
13110 the accelerators where they belong.
13112 c) I made a behavior change, which is that the descriptor that
13113 specifies the text of the menu item, which formerly was just a
13114 string, can now also be an evaluated expression. This makes this
13115 descriptor parallel with all of the others, which could also be
13116 evaluated expressions. This also obviates the need for the
13117 keyword :label, which was previously listed in the documentation
13118 as unimplemented, and which was for the same purpose.
13123 * ntproc.c (new_child):
13124 * ntproc.c (sys_spawnve):
13125 * ntproc.c (find_child_console):
13126 * ntproc.c (sys_kill):
13127 Fixed compile warnings. By the way, this file should really go
13128 away entirely, and this will happen as soon as Kirill makes his
13129 final round of process cleanups, which affect the function
13133 * process-nt.c (struct nt_process_data):
13134 * process-nt.c (find_process_from_pid):
13135 * process-nt.c (send_signal_the_nt_way):
13136 * process-nt.c (enable_child_signals):
13137 * process-nt.c (find_child_console):
13138 * process-nt.c (send_signal_the_95_way):
13139 * process-nt.c (nt_finalize_process_data):
13140 * process-nt.c (ensure_console_window_exists):
13141 * process-nt.c (nt_create_process):
13142 * process-nt.c (nt_kill_child_process):
13143 * process-nt.c (nt_kill_process_by_pid):
13144 * process-nt.c (nt_open_network_stream):
13145 * process-nt.c (vars_of_process_nt):
13146 Copied over code from Emacs 20.5 to correctly send signals to sub-
13147 processes under Windows 95. Also added code to automatically
13148 create and hide console window when a sub-process is created under
13149 Windows 95, which obviates the need for the separate runemacs.exe
13150 executable, and finally implemented some variables that were
13151 implemented in Emacs 20.5, but previously not in XEmacs. These
13152 include mswindows- start-process-share-console and
13153 mswindows-start-process-inherit-error-mode. (Both of these only
13154 apply to Windows 95.)
13156 * regex.c (regex_compile): Fixed a compile warning.
13159 * select-msw.c (mswindows_own_selection):
13160 * select-msw.c (mswindows_get_foreign_selection):
13161 * select-msw.c (mswindows_disown_selection):
13162 * select-msw.c (console_type_create_select_mswindows):
13163 * select-msw.c (syms_of_select_mswindows):
13164 Cleaned up the file and implemented the device method
13165 selection_exists_p, which had accidentally been left out. Also
13166 removed four lisp functions that were remnants from before the
13167 time when the selection code was properly device abstracted.
13168 These functions are no longer needed because there are generic
13169 equivalents, and because they were added recently and don't exist
13170 in FSF Emacs, I don't think there's any problem with just deleting
13174 * sysdep.c (sys_subshell):
13175 Fixed a compile warning, although in this case there's probably
13176 something wrong with this code, and it ought to be looked into
13177 more thoroughly by somebody who understands it.
13180 * window.c (Fwindow_text_area_height):
13181 * window.c (Fwindow_width):
13182 * window.c (Fwindow_full_width):
13183 * window.c (Fwindow_pixel_width):
13184 * window.c (debug_print_window):
13185 * window.c (syms_of_window):
13186 Added functions window-text-area-height and window-full-width,
13187 which are functions for returning various width and height
13188 characteristics of a window. (One of these functions is necessary
13189 for making the file dialog box work correctly, and the other one
13190 was added for completeness.) Also added a table to the
13191 documentation for window-height which describes the entire scheme
13192 for accessing width and height characteristics of a window.
13194 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13196 * nt.c (fstat): Added a comment for another problem with
13197 non-encapsulated [f]stat(), reported by Adrian Aichner
13198 <aichner@ecf.teradyne.com>.
13200 2000-03-11 Andy Piper <andy@xemacs.org>
13202 * window.c (make_dummy_parent): initialize subwindow instance
13204 (Fset_window_configuration): zero extent_modiff.
13206 2000-03-10 Andy Piper <andy@xemacs.org>
13208 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
13209 more changes can be triggered.
13210 (Fredisplay_frame): ditto.
13211 (Fredraw_device): ditto.
13212 (Fredisplay_device): ditto.
13213 (redisplay_frame): make non-static.
13214 (redisplay_frame): call update_frame_gutter_geometry outside of
13217 * gutter.h: declare update_frame_gutter_geometry.
13219 * redisplay.h: declare redisplay_frame.
13221 * gutter.c (update_frame_gutter_geometry): move geometry changes
13222 in update_frame_gutters here. Geometry changes can only occur
13223 outside of redisplay.
13224 (update_frame_gutters): remove geometry change code.
13225 (Fredisplay_gutter_area): make sure that we are in display when we
13226 update and that we have flushed any size changes.
13228 2000-03-11 Andy Piper <andy@xemacs.org>
13230 * alloc.c (pdump_dump_data): remove i & count shadows.
13232 2000-02-27 Mike Alexander <mta@arbortext.com>
13234 * sysdep.h: Declare pdump_read_file
13236 * sysdep.c (pdump_read_file): New function
13238 * alloc.c (pdump_load): Call pdump_read_file to get the portable
13241 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13243 * lrecord.h: add `lrecord_type_pgsetenv'.
13245 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
13247 * symsinit.h: declare (vars|syms)_of* functions.
13248 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
13250 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
13252 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
13254 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
13257 * emacs.c (main_1): Call postgres initialization code.
13259 * postgresql.h: New file. PostgreSQL RDBMS support.
13260 * postgresql.c: New file.
13262 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13264 * redisplay-output.c (redisplay_output_display_block): Disable
13267 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13269 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
13270 (Fcanna_henkan_next): Ditto.
13271 (Fcanna_bunsetu_henkou): Ditto.
13272 (Fcanna_henkan_kakutei): Ditto.
13273 (Fcanna_henkan_end): Ditto.
13274 (Fcanna_henkan_quit): Ditto.
13275 (Fcanna_henkan_next): Set retun value correctly.
13276 (c2mu): Use unsigned char instead of signed char.
13278 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13280 * emacs.c (main_1): Always call syms_of_gui.
13281 * inline.c: include gui.h
13283 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13285 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
13286 converted to Lisp_Object.
13287 (Qtop_bottom): New variable.
13288 (syms_of_redisplay): Initialize it.
13289 * redisplay.h (Vvisible_bell): Ditto.
13290 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
13291 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
13292 only flash top and bottom.
13294 2000-03-08 Andy Piper <andy@xemacs.org>
13296 * buffer.c (Frename_buffer): record new buffer name the right way.
13298 2000-03-08 Andy Piper <andy@xemacs.org>
13300 * glyphs.c (update_subwindow): increase hash depth so that widget
13301 items get picked up properly.
13303 * redisplay-output.c (compare_runes): increase hash depth so that
13304 widget items get picked up properly.
13306 2000-03-08 Andy Piper <andy@xemacs.org>
13308 * gutter.c (output_gutter): add some debug.
13310 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
13311 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
13312 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
13314 * redisplay-output.c (compare_runes): use display_hash to
13315 determine if glyphs really are not the same.
13317 * glyphs.c (update_subwindow): check display_hash to see if
13318 anything really needs to be updated. If not then do
13319 nothing. Record the display_hash after updating.
13320 (image_instance_equal): compare the image_instance face also.
13322 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
13324 * redisplay.h: Fix comment style.
13326 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
13328 * consle-msw.h (struct mswindows_frame):
13329 Added new member paint_pending to indicate whether a WM_PAINT
13330 magic event has been queued for this frame.
13332 * event-msw.c (mswindows_drain_windows_queue):
13333 Don't queue a WM_PAINT magic event if one is already queued.
13334 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
13336 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
13338 2000-03-07 Didier Verna <didier@xemacs.org>
13340 * dired.c: #include `regex.h' after `sysfile.h'.
13342 2000-03-06 Martin Buchholz <martin@xemacs.org>
13344 * sound.c (init_nas_sound): Fix compiler warning.
13346 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
13348 (MARK_STRUCT_AS_FREE):
13349 (MARK_STRUCT_AS_NOT_FREE):
13350 Make `gcc -fstrict-aliasing' work properly.
13352 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
13354 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
13355 (mswindows_delete_device): Call CoUnnitialize().
13357 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
13359 2000-02-25 <CraigL@DyCon.com>
13361 * process-nt.c: MinGW now has <shellapi.h>, but still needs
13364 * sysdep.c: This extern declaration for environ prevents MinGW
13365 from finding the variable in CRTDLL.DLL.
13367 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
13369 (SHGFI_EXETYPE): ..
13370 (WM_MOUSEWHEEL): ..
13371 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
13373 (MMRESULT): Removed, now defined in cygwin's windows headers.
13375 (uid_t,gid_t,pid_t,ssize_t): ..
13376 (_timeb): Removed, MinGW defines both _timeb and timeb.
13377 (HAVE_H_ERRNO): Added.
13378 (HAVE_TZNAME): Added, configure is not detecting this.
13380 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
13382 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
13383 * syntax.c (syntax_match): Use it.
13385 * cmds.c: Import auto-fill-chars from FSF Emacs.
13386 (Vauto_fill_chars): New variables.
13387 (internal_self_insert): Check Vauto_fill_chars.
13389 Declare auto-fill-chars as a Lisp variable and initialize it.
13391 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13393 * fileio.c (Fmake_symbolic_link):
13395 Run handlers even if local machine doesn't have symlinks.
13397 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13399 * event-msw.c (mswindows_drain_windows_queue):
13400 Don't generate paint magic events for non-XEmacs frames.
13402 2000-03-05 Andy Piper <andy@xemacs.org>
13404 * redisplay.c (redisplay_frame): generate_displayable_area and
13405 friends assumes that we are not in GC, we therefore have to make
13406 sure that this doesn't happen.
13408 * gutter.c (calculate_gutter_size): generate_displayable_area
13409 assumes that we are not in GC, we therefore have to make sure that
13410 this doesn't happen.
13412 2000-03-05 Martin Buchholz <martin@xemacs.org>
13414 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
13416 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13418 * redisplay.c (regenerate_window): Make sure we set a sane value
13419 for end_pos even if we jump out of the loop.
13420 (regenerate_window): Answer Ben's question :-).
13421 (start_end_of_last_line): Add may_error argument.
13422 (start_of_last_line):
13423 (end_of_last_line): Pass may_error = 0.
13424 (end_of_last_line_may_error): New function.
13425 (pixel_to_glyph_translation): Use it, so we don't crash in
13428 2000-03-04 Andy Piper <andy@xemacs.org>
13430 * window.h (struct window): add gutter_extent_modiff.
13432 * window.c (allocate_window): zero out gutter_extent_modiff.
13434 * redisplay.h: declare sync_display_line_structs.
13436 * redisplay.c (add_glyph_rune): add a better comment.
13438 * redisplay-output.c (sync_display_line_structs): made non-static.
13439 (compare_runes): remove unneccesary glyph cachel access.
13441 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
13443 * gutter.c (output_gutter): don't output the gutter if extent
13444 changes only involve extents in buffers. use 4 sets of display
13446 (gutter_extent_signal_changed_region_maybe): new function. Mark
13447 extents in gutters as changed.
13448 (update_frame_gutters): use 4 sets of display lines.
13449 (reset_gutter_display_lines): ditto.
13450 (free_frame_gutters): ditto.
13451 (redraw_exposed_gutter): force output of gutters.
13453 * frame.h (struct frame): add 4 sets of gutter display lines.
13455 * extents.c: (extent_changed_for_redisplay): signal changes to
13456 extents in strings in the gutter as well as extents in buffers.
13458 2000-03-02 Andy Piper <andy@xemacs.org>
13460 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
13462 * frame.c (Fmake_frame): make sure the gutters get initialized
13463 after the frame is visible.
13464 (set_frame_selected_window): re-arrange compilation macros a
13466 (change_frame_size_1): mark gutters changed.
13468 * device.c (Fset_device_class): mark gutters changed.
13470 2000-03-01 Andy Piper <andy@xemacs.org>
13472 * window.c (window_top_frame_gutter_height): deleted.
13473 (window_bottom_frame_gutter_height): ditto.
13474 (window_left_frame_gutter_height): ditto.
13475 (window_right_frame_gutter_height): ditto.
13476 (window_top_gutter_height): don't use them.
13477 (window_bottom_gutter_height): ditto.
13478 (window_left_gutter_width): ditto.
13479 (window_right_gutter_width): ditto.
13480 (Fsplit_window): ditto.
13481 (Fwindow_pixel_edges): don't use border dimensions here.
13483 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
13484 (update_scrollbar_instance): ditto.
13486 * redisplay.c (generate_modeline): don't take gutters into account.
13487 (generate_modeline): ditto.
13488 (redisplay_frame): small gutter display optimization.
13490 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
13492 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
13493 gutters into account.
13495 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
13496 for window position and type.
13498 * gutter.c (get_gutter_coords): fix for frame gutters.
13499 (update_frame_gutters): update frame geometry if the gutters have
13501 (init_frame_gutters): record current gutter geometries.
13503 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
13505 (mswindows_widget_instantiate): ditto.
13507 * frame.h (struct frame): add current_gutter_bounds.
13509 * frame.c (change_frame_size_1): position window and minibuffer
13510 appropriately taking into account the frame gutters.
13512 * frame-x.c: (x_initialize_frame_size): take into account the
13515 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
13517 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
13519 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
13521 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
13523 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13525 * file-coding.c (reset_decoding_stream): Clear previous
13526 detection state when autodetect.
13528 2000-02-29 Didier Verna <didier@xemacs.org>
13530 * extents.c (set_extent_glyph_1): don't require extents to be
13533 2000-02-27 Andy Piper <andy@xemacs.org>
13535 * gutter.c (Fset_default_gutter_position): don't default left and
13536 right gutter visibility to t.
13537 (Fset_default_gutter_position): run
13538 default-gutter-position-changed-hook.
13539 (syms_of_gutter): add default-gutter-position-changed-hook.
13541 2000-02-26 Andy Piper <andy@xemacs.org>
13543 * specifier.c (Fmake_specifier): add gutter references.
13545 * gutter.h (RAW_WINDOW_GUTTER): new macro.
13547 * lisp.h: declare Fvalid_plist_p.
13549 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
13551 (default_gutter_visible_p_changed_in_window): invalidate gutter as
13552 well as its visibility so that it gets reconstructed.
13553 (construct_window_gutter_spec): new function. Construct a string
13554 to be displayed in the gutter from a plist of strings. Take care
13555 to only use elements that are declared as visible.
13556 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
13558 (gutter_validate): allow plists of strings in the specifier.
13559 (gutter_specs_changed): construct the real_gutter from the gutter
13560 specs using construct_window_gutter_spec.
13561 (gutter_visible_validate): gutter-visible is a new specifier type.
13562 (Fgutter_visible_specifier_p): new function for the new specifier.
13563 (syms_of_gutter): declare gutter-visible and
13564 Fgutter_visible_specifier_p.
13565 (specifier_type_create_gutter): intitalize new gutter-visible
13567 (reinit_specifier_type_create_gutter): ditto.
13568 (specifier_vars_of_gutter): use new specifier type for gutter
13570 (init_frame_gutters): construct real_gutter correctly.
13571 (Fgutter_specifier_p): beef up documentation.
13572 (Fgutter_size_specifier_p): ditto.
13574 * winslots.h: add real_gutter slots.
13576 2000-02-25 Andy Piper <andy@xemacs.org>
13578 * device-msw.c: Be kind to older cygwin versions. From Raymond
13579 Toy <toy@rtp.ericsson.se>.
13581 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
13582 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
13584 2000-02-25 Martin Buchholz <martin@xemacs.org>
13586 * elhash.c (MARK_OBJ): Practice macro hygiene.
13588 2000-02-24 Martin Buchholz <martin@xemacs.org>
13590 * miscplay.c: s/__inline__/inline/g;
13591 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
13592 (get_device_compdc): INLINE ==> static inline
13593 * *.[ch]: Change INLINE to INLINE_HEADER globally.
13594 find -name '*.h' | \
13595 xargs global-replace \
13596 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
13598 2000-02-25 Andy Piper <andy@xemacs.org>
13600 * window.c (window_top_frame_gutter_height): new function.
13601 (window_top_window_gutter_height): ditto.
13602 (window_top_gutter_height): use them.
13603 (window_bottom_frame_gutter_height): new function.
13604 (window_bottom_window_gutter_height): ditto.
13605 (window_bottom_gutter_height): use them.
13606 (window_left_window_gutter_width): new function.
13607 (window_left_frame_gutter_width): ditto.
13608 (window_left_gutter_width): use them.
13609 (window_right_window_gutter_width): new function.
13610 (window_right_frame_gutter_width): ditto.
13611 (window_right_gutter_width): use them.
13612 (window_pixel_height): new function. calulate window pixel height
13613 with frame gutter involvement.
13614 (Fsplit_window): calculate new sizes taking frame gutters into
13616 (window_char_height_to_pixel_height): don't include frame gutters.
13617 (window_char_height): use window_pixel_height.
13618 (window_pixheight): rename from window_pixel_height.
13619 (change_window_height): use it.
13620 (window_pixel_height_to_char_height): don't include frame gutters.
13621 (window_char_width_to_pixel_width): ditto.
13623 2000-02-25 Andy Piper <andy@xemacs.org>
13625 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
13628 2000-02-24 Martin Buchholz <martin@xemacs.org>
13630 * alloc.c (staticpro):
13631 (staticpro_nodump):
13636 (compact_string_chars):
13637 (pdump_dump_wired):
13638 Convert: if (foo) abort(); ==> assert (! foo);
13640 * eldap.c (Fldap_search_basic):
13644 Fix compiler warnings, and possible crashes if (random) return
13645 value were to be used.
13647 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13649 * device-msw.c: Workaround ResetDC failure.
13651 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
13652 applying a devmode.
13654 * redisplay-msw.c (get_frame_dc): Added start_page_p.
13655 (mswindows_text_width): Do not start printer page.
13657 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
13659 * glyphs-msw.c: Added image methods to msprinter console and
13660 msprinter-specific image instantiation.
13662 2000-02-20 Mike Alexander <mta@arbortext.com>
13664 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
13665 to avoid crashes when selection-sets-clipboard is on
13666 (mswindows_own_selection): ditto
13668 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13671 * redisplay-msw.c (get_frame_dc):
13672 (get_frame_compdc):
13674 * device-msw.c (mswindows_init_device):
13675 (mswindows_delete_device):
13676 (msprinter_init_device):
13677 (msprinter_delete_device):
13678 * frame-msw.c (mswindows_init_frame_1):
13679 (mswindows_delete_frame):
13680 (msprinter_init_frame_3):
13681 (msprinter_delete_frame): Move compatible DC to device object from
13682 frame object, for both mswindows and msprinter. Only one at a time
13683 is needed, it is a real waste to have one per frame!
13685 2000-02-23 Andy Piper <andy@xemacs.org>
13687 * glyphs.c: add dynamic width and height elements.
13688 (image_instance_equal): ditto.
13690 * glyphs-widget.c (widget_query_geometry): calculate width and
13691 height dynamically if required.
13692 (initialize_widget_image_instance): initialize dynamic dimensions.
13693 (widget_instantiate): pick-up dynamic dimensions.
13695 * glyphs.h (struct Lisp_Image_Instance): add width and height for
13696 dynamic determination. Add appropriate macros.
13698 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
13700 (WINDOW_GUTTER_SIZE): ditto.
13701 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
13703 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
13705 (get_frame_dc): ditto.
13707 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
13710 2000-02-23 Martin Buchholz <martin@xemacs.org>
13712 * XEmacs 21.2.31 is released.
13714 2000-02-22 Ben Wing <ben@xemacs.org>
13716 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
13718 2000-02-22 Andy Piper <andy@xemacs.org>
13720 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
13722 2000-02-21 Mike Sperber <mike@xemacs.org>
13726 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
13729 2000-02-21 Mike Sperber <mike@xemacs.org>
13731 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
13733 2000-02-21 Martin Buchholz <martin@xemacs.org>
13735 * XEmacs 21.2.30 is released.
13737 2000-02-20 Martin Buchholz <martin@xemacs.org>
13739 Performance hacking.
13741 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
13742 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
13743 * emacs.c (main_1):
13745 * console.c (DEFVAR_CONSOLE_LOCAL_1):
13746 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
13747 * symeval.h (DEFVAR_SYMVAL_FWD):
13748 * symbols.c (guts_of_unbound_marker):
13749 Make all c_readonly objects also lisp_readonly and marked for life.
13750 * lrecord.h (struct lrecord_implementation):
13751 Document flags better.
13752 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
13753 * lrecord.h (DECLARE_LRECORD):
13754 * lrecord.h (XSETRECORD):
13755 * lrecord.h (RECORDP):
13756 * lrecord.h (RECORD_TYPEP):
13757 * lrecord.h (RECORD_MARKER): New.
13758 * lrecord.h (error_check_*):
13759 * lrecord.h (CONCHECK_NONRECORD):
13760 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
13761 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
13762 * lrecord.h (set_lheader_implementation):
13763 * lrecord.h (enum lrecord_type): New.
13764 * symeval.h (SYMBOL_VALUE_MAGIC_P):
13765 * alloc.c (disksave_object_finalization_1):
13766 * alloc.c (mark_object):
13767 * alloc.c (lrecord_type_index):
13768 * alloc.c (tick_lcrecord_stats):
13769 * alloc.c (Fgarbage_collect):
13770 * alloc.c (init_alloc_once_early):
13771 * alloc.c (pdump_load):
13772 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
13773 * alloc.c (lrecord_type_index): Delete.
13774 Make lisp object type indexes be constant.
13775 Makes (byte-compile) 5% faster.
13776 Put all marker functions into their own array.
13777 Makes (garbage-collect) 5% faster.
13778 Optimize SYMBOL_VALUE_MAGIC_P.
13779 Makes (byte-compile) 2-3% faster.
13780 * config.h.in (gc_checking_assert): New.
13781 * alloc.c: Use gc_checking_assert().
13782 * .dbxrc: Make compatible with new object type implementation.
13783 * .gdbinit: Make compatible with new object type implementation.
13784 * alloc.c: Delete all symbols defined only for debugging, such as
13785 Lisp_Type_Vector and lrecord_charset.
13787 2000-02-21 Andy Piper <andy@xemacs.org>
13789 * gui-msw.c (Fmswindows_shell_execute): fix file location
13792 * buffer.c (Fkill_buffer): remove buffer from alist buffer
13793 unshowing so that set_window_buffer doesn't undo
13794 kill_buffer_hook's hard work.
13796 * glyphs-widget.c (tab_control_query_geometry): don't count the
13797 first item when calculating geometry.
13799 * glyphs.c (map_subwindow): remove redundant code.
13800 (update_frame_subwindows): be more circumspect about when to
13803 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
13804 when items haven't changed. Update faces if faces have changed as
13805 well as just the widget face.
13806 (x_tab_control_update): Update faces if faces have changed as well
13807 as just the widget face.
13809 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
13811 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
13813 (build_syscolor_string): Use mswindows_color_to_string to try to
13815 (mswindows_device_system_metrics): Reverse the foreground and
13816 background colors so that they match the documentation.
13818 * objects-msw.c: (mswindows_X_color_map): tweak some values so
13819 they match the default Windows palette.
13820 (mswindows_color_to_string): New function.
13822 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
13824 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
13826 2000-02-18 Olivier Galibert <galibert@pobox.com>
13828 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
13829 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
13831 * symbols.c (init_symbols_once_early): Removed obsolete
13832 DATA_SEG_BITS related kludge.
13833 (defvar_magic): Ditto.
13835 * malloc.c: Removed obsolete DATA_SEG_BITS
13837 * mem-limits.h: Ditto.
13839 * Makefile.in.in: Removed obsolete HAVE_SHM
13842 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
13844 * device-msw.c (mswindows_delete_device): Free DDE string
13847 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13849 * keymap.c (get_keyelt):
13850 * unexnt.c (unexec):
13851 * vm-limit.c (memory_warnings):
13852 * ntheap.c (recreate_heap):
13853 * ntheap.h (UNINIT_PTR):
13854 * select-msw.c (Fmswindows_get_clipboard):
13855 (Fmswindows_set_clipboard):
13856 * objects-msw.h (MSWINDOWS_BAD_HFONT):
13858 * menubar-msw.c (displayable_menu_item):
13860 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
13861 * sysdep.c (sys_subshell):
13862 * process-nt.c (nt_create_process):
13863 * nt.c (normalize_filename):
13864 (dostounix_filename):
13865 (unixtodos_filename):
13866 * ntproc.c (win32_executable_type):
13867 * ntplay.c (play_sound_data_1):
13869 * editfns.c (get_home_directory):
13870 * event-msw.c (struct winsock_stream):
13871 (mswindows_dde_callback):
13872 * device-msw.c (msprinter_init_device):
13873 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
13875 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
13876 mswindows_clear_toolbar were swapped!
13878 * objects-msw.c:(colormap_t):
13880 * emacs.c (struct standard_args): Fixed const jumble.
13882 * glyphs-widget.c (update_widget): Fixed comparison notation.
13884 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
13886 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
13887 __declspec(noreturn) syntax.
13889 2000-02-19 Martin Buchholz <martin@xemacs.org>
13891 * eldap.c (Fldap_open):
13892 (Fldap_search_basic):
13895 Use new coding system conversion macros.
13897 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
13899 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
13901 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
13903 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
13904 (Fldap_add, Fldap_modify, Fldap_delete): New functions
13906 * eldap.c (Qadd, Qreplace): New constant symbols
13907 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
13908 interruptions by XEmacs signals
13909 Remove unnecessary calls to slow_down_interrupts and
13910 speed_up_interrupts
13911 (Fldap_search_basic): Renamed from Fldap_search_internal
13912 Added new optional parameter VERBOSE that triggers the
13913 display of progress messages
13914 Remove unnecessary calls to slow_down_interrupts and
13915 speed_up_interrupts
13916 LDAP result code analysis rewritten
13917 (Fldap_add, Fldap_modify, Fldap_delete): New functions
13918 (syms_of_eldap): Define the new symbols and functions
13921 2000-02-17 Martin Buchholz <martin@xemacs.org>
13923 * realpath.c: Determine PATH_MAX maximally portably.
13925 * insdel.c (bytecount_to_charcount): Optimize.
13926 The function used to be optimized for entirely ASCII sequences.
13927 Now it is optimized for successive characters from the same
13928 charset. This also wins big for _mostly_ ASCII sequences.
13930 * fileio.c (Ffile_truename): convert return from realpath() using
13931 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
13932 - Rewrite GCPROing slightly.
13934 * sysdep.c (sys_open): Do filename conversion, like all other
13935 sys_* functions. Fixes bug:
13936 (let ((file-name-coding-system 'iso-8859-2))
13937 (write-region x y latin2-name))
13938 ==> writes filename using internal encoding.
13940 2000-02-18 Martin Buchholz <martin@xemacs.org>
13942 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
13943 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
13944 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
13945 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
13946 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
13947 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
13948 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
13949 (CONST_IF_NOT_DEBUG): Delete.
13950 * alloc.c (this_one_is_unmarkable): Delete.
13951 (mark_object): Don't check for this_one_is_unmarkable. Use the
13952 c_readonly flag instead.
13953 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
13955 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
13957 * event-msw.c (mswindows_drain_windows_queue):
13958 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
13959 away redundant repaint events.
13961 2000-02-17 Andy Piper <andy@xemacs.org>
13963 * redisplay.h: declare mark_redisplay_structs.
13965 * redisplay.c (redisplay_window):
13966 (redisplay_frame): don't check subwindows_state_changed.
13967 (mark_redisplay): mark gutters here.
13969 * glyphs.c: (instantiate_image_instantiator): always layout if we
13970 haven't done so already.
13971 (allocate_image_instance): don't mark as dirty.
13972 (update_subwindow): bind inhibit_quit.
13974 * gutter.c (mark_gutters): new function.
13976 * glyphs-x.c (x_update_widget): Always resize to get round a
13979 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
13980 breaking absolutely everything.
13982 * gutter.h: declare mark_gutters.
13984 2000-02-16 Martin Buchholz <martin@xemacs.org>
13986 * XEmacs 21.2.29 is released.
13988 2000-02-15 Olivier Galibert <galibert@pobox.com>
13990 * fns.c (size_bit_vector): Fix computation of the size.
13992 2000-02-15 Martin Buchholz <martin@xemacs.org>
13994 * *.[ch]: Change CONST to const globally.
13995 find -name '*.[ch]' | \
13996 xargs global-replace \
13997 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
13998 - Remove vestigial references to CONST_IS_LOSING
14000 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14002 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
14003 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14004 events instead of dispatching them directly.
14005 (mswindows_handle_paint): New function to do repainting.
14006 (mswindows_wnd_proc):
14007 (emacs_mswindows_handle_magic_event): Call above function.
14009 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14011 * objects-msw.c (mswindows_create_font_variant): Return the new
14013 (initialize_font_instance): Get font metrics from the underlined
14014 variant of the font to cope with the case where the underlined
14015 font has a bigger descent.
14017 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14019 * gui.c (gui_item_accelerator): Return the first underlined
14020 character in item name.
14022 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14024 * lisp.h: Added Qprinter.
14026 * general.c (syms_of_general): Initialized it.
14028 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
14030 (get_frame_compdc): Made inline.
14032 * console.h (struct console_methods): Added eject_page method.
14034 * frame.h: Added FRAME_DISPLAY_P and friends.
14035 Aligned backslahes in many macros in more readable fashion.
14036 Added page_number to struct frame, and an accessor macro
14039 * defice.h: Added DEVICE_DISPLAY_P and friends.
14041 * device.c (Fdevice_printer_p): Used these.
14043 * frame.c (allocate_frame_core): Initialize page number.
14044 (Fprint_job_page_number):
14045 (Fprint_job_eject_page): Implemented.
14047 * frame-msw.c (msprinter_eject_page): Added method.
14048 (msprinter_start_page): Added.
14050 * window.c (Fwindow_truncated_p): Fixed docstring.
14051 (Fwindow_last_line_visible_height): Implemented.
14053 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14055 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
14057 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14059 * syntax.c (scan_words): Always advance at least one character.
14061 2000-02-13 Andy Piper <andy@xemacs.org>
14063 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
14064 to make sure the glyph is in the cachels.
14066 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
14067 global image instance flag.
14068 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
14069 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
14071 * glyphs.c (allocate_image_instance): set dirty bits correctly.
14072 (Fset_image_instance_property): mark layout as changed.
14073 (invalidate_glyph_geometry_maybe): mark layout as changed.
14074 (glyph_width): use new NEEDS_LAYOUT macro.
14075 (glyph_ascent): ditto.
14076 (glyph_descent): ditto.
14077 (glyph_height): ditto.
14078 (image_instance_layout): mark layout as clean after laying out.
14079 (update_subwindow): don't mark layout as clean here.
14081 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
14082 should no longer be needed.
14084 * glyphs-x.c (x_update_widget): sanitize asserts.
14085 (x_finalize_image_instance): sanitize assignment to widgets.
14087 * glyphs-widget.c (widget_instantiate): don't need to clear the
14090 2000-02-13 Martin Buchholz <martin@xemacs.org>
14092 * sysdep.c (getcwd): Use standard prototype.
14093 * sysdep.h (getcwd): Use standard prototype.
14095 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
14096 (sequence, start, end).
14097 Remove redundant type checking.
14098 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
14099 view of `caller-protects') to avoid a crash where the real fix was
14102 2000-02-12 Martin Buchholz <martin@xemacs.org>
14104 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
14106 * s/sol2.h: Remove feature macro initialization.
14108 * alloc.c (alloc_lcrecord): Add more type checking assertions.
14109 (vector_hash): New. Code from internal_hash.
14111 Fix up allocation subsystem comments.
14113 * config.h.in: Add __EXTENSIONS__ for Solaris.
14115 * systime.h (EMACS_GETTIMEOFDAY): New.
14116 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
14117 Remove Solaris-specific code.
14118 Use void* for the (ignored) second arg for gettimeofday().
14120 * elhash.c (hash_table_hash): Implement it, finally.
14121 * elhash.c: Use hashcode_t.
14123 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
14124 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
14126 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
14127 * fns.c (size_bit_vector):
14128 * alloc.c (size_vector):
14129 (make_vector_internal):
14130 (make_bit_vector_internal):
14131 (sweep_bit_vectors_1):
14132 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
14134 2000-02-10 Martin Buchholz <martin@xemacs.org>
14136 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
14137 Include strings.h to avoid warnings for bzero and strcasecmp.
14139 2000-02-10 Olivier Galibert <galibert@pobox.com>
14141 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
14142 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
14144 * fns.c (size_bit_vector): New. Declare bit vectors as a
14147 2000-02-10 Olivier Galibert <galibert@pobox.com>
14149 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
14150 use a value field instead.
14151 (symbol_value_forward_forward): Use value field.
14152 (DEFVAR_SYMVAL_FWD): Use value field.
14153 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
14154 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
14155 (DEFVAR_CONST_INT): Ditto.
14156 (DEFVAR_BOOL): Ditto.
14157 (DEFVAR_CONST_BOOL): Ditto.
14158 (DEFVAR_INT_MAGIC): Ditto.
14159 (DEFVAR_BOOL_MAGIC): Ditto.
14161 * symbols.c (guts_of_unbound_marker): Use value field.
14162 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
14163 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
14165 * lisp.h: Declare dumpopaque and noninteractive1.
14167 * alloc.c (dumpopaque): Added.
14168 (pdump_dump_opaquevec): Added.
14169 (pdump): Call pdump_dump_opaquevec to dump opaque data.
14170 (pdump_load): Reload opaque data. Sync noninteractive1 with
14173 2000-02-10 Andy Piper <andy@xemacs.org>
14175 * glyphs.c (image_instance_layout): if the size changes, mark it
14178 * redisplay-output.c (redisplay_output_layout): Update the
14180 (redisplay_output_subwindow): ditto.
14182 * glyphs.c (update_subwindow): make sure we reset flags for
14183 layouts as well as everything else.
14185 * glyphs-widget.c (layout_layout): don't need to set the instances
14188 2000-02-09 Martin Buchholz <martin@xemacs.org>
14190 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
14191 not HAVE_DLOPEN, which is a lower-level thing.
14193 * .cvsignore: Ignore gmon.out
14195 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
14197 * .cvsignore: Ignore portable dumper xemacs.dmp file
14199 2000-02-09 Andy Piper <andy@xemacs.org>
14201 * redisplay-output.c (redisplay_output_layout): be more clever
14202 about when we output based on the changed flags.
14204 * glyphs.h (struct image_instantiator_methods): add update_method.
14205 (struct Lisp_Image_Instance): add changed flags. Declare new
14206 macros for manipulating them.
14208 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
14209 (image_instance_parent_glyph): find an image_instance's parent
14210 glyph or image_instance.
14211 (image_instance_layout): mark the size as changed.
14212 (set_image_instance_dirty_p): new function. mark an image
14213 instance, plus all of its parents, as dirty.
14214 (Fset_image_instance_property): use it.
14215 (Fglyph_animated_timeout_handler): use it.
14216 (update_subwindow): call update_widget and device methods for
14217 update_subwindow. Mark all changed flags as clean.
14218 (Fresize_subwindow): mark size as changed.
14220 * glyphs-x.c (x_finalize_image_instance): try and detect gc
14222 (x_update_subwindow): only resize subwindows here.
14223 (x_update_widget): new function. Update all changed properties of
14225 (x_resize_subwindow): deleted.
14226 (x_widget_set_property): deleted.
14227 (x_progress_gauge_set_property): deleted.
14228 (x_progress_gauge_update): new function. Implement recorded
14230 (x_tab_control_update): ditto.
14231 (x_tab_control_set_property): deleted.
14232 (console_type_create_glyphs_x): declare new functions.
14233 (image_instantiator_format_create_glyphs_x): ditto.
14235 * glyphs-widget.c (widget_set_property): mark text changed.
14236 (update_widget): new function. Update properties of a widget.
14237 (widget_instantiate): for layouts make sure we set their
14238 children's parent correctly.
14239 (tab_control_set_property): new function. Record changes that will
14240 take place under redisplay's control.
14241 (progress_gauge_set_property): ditto.
14242 (image_instantiator_progress_guage): declare new functions.
14243 (image_instantiator_tab_control): ditto.
14245 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
14247 (mswindows_update_widget): new function. Update all properties on
14248 a widget that have changed.
14249 (mswindows_button_update): new function. Update a button's set
14251 (mswindows_tab_control_update): new function. Update the items in
14253 (mswindows_tab_control_set_property): deleted.
14254 (mswindows_progress_gauge_update): new function. Update the
14255 progress gauge's progress.
14256 (mswindows_widget_set_property): deleted. This is all done
14257 asynchronously now.
14258 (mswindows_progress_gauge_set_property): ditto.
14259 (console_type_create_glyphs_mswindows): declare new methods.
14260 (image_instantiator_format_create_glyphs_mswindows): ditto.
14262 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
14263 (msprinter_set_frame_properties): ditto.
14265 * console.h (struct console_methods): Add update_widget_method.
14267 2000-02-09 Andy Piper <andy@xemacs.org>
14269 * gui-msw.c (Fmswindows_shell_execute): Make
14270 mswindows-shell-execute industrial strength.
14272 2000-02-08 Martin Buchholz <martin@xemacs.org>
14274 * lrecord.h: Make macro argument `props' match member function `plist'.
14277 * fns.c (Fremprop):
14278 * fns.c (Fobject_plist):
14281 Object property list frobbing cleanup.
14282 - Allow any lisp object (compared with `eq'), not just symbols, as
14283 keys in object plists.
14284 - Move symbol plist frobbing into symbols.c, where it belongs.
14285 - Move string plist frobbing into alloc.c, where it belongs.
14286 - Everything's an lrecord now, so no need to test for symbolp, etc.
14287 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
14289 * extents.c: Reorder code to remove declarations.
14291 * frame.h (store_in_alist): Remove useless declaration.
14293 2000-02-07 Martin Buchholz <martin@xemacs.org>
14295 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
14296 * config.h.in: Add HAVE_XCONVERTCASE.
14298 2000-02-07 Andy Piper <andy@xemacs.org>
14300 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
14301 it breaks many things.
14303 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14305 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
14306 actually can start a common comment type.
14307 * src/syntax.h (SYNTAX_END_P): ditto for end.
14309 2000-02-07 Martin Buchholz <martin@xemacs.org>
14311 * XEmacs 21.2.28 is released.
14313 2000-02-06 Martin Buchholz <martin@xemacs.org>
14315 * event-Xt.c (x_keysym_to_character): New.
14316 (maybe_define_x_key_as_self_inserting_character): New.
14317 (x_has_keysym): New.
14318 Auto-define all keys on the keyboard as self-insert-key.
14320 2000-02-02 Martin Buchholz <martin@xemacs.org>
14322 * menubar.c (vars_of_menubar): A small code simplification.
14324 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
14327 * ExternalClient.c:
14328 * EmacsShell-sub.c:
14331 Use consistent style for specifying X resources.
14333 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
14334 This makes (dontusethis-set-symbol-value-handler) actually usable.
14336 * lrecord.h (lrecord_decription_type):
14337 * alloc.c (pdump_register_sub):
14340 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
14341 Comply with XEmacs coding style.
14342 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
14343 args, and XD_LISP_OBJECT_ARRAY with 3 args.
14345 * keymap.c (Faccessible_keymaps):
14346 Make (accessible-keymaps map "\C-h") do the Right Thing.
14347 Make (accessible-keymaps map []) do the Right Thing.
14348 Make (accessible-keymaps map "") do the Right Thing.
14349 (check_keymap_definition_loop): New function.
14350 (keymap_store_internal): Keep luser from shooting self in foot,
14351 via (define-key ctl-x-4-map "p" global-map).
14352 Remove fullness slot from struct Lisp_Keymap, since hash tables
14354 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
14356 2000-01-30 Martin Buchholz <martin@xemacs.org>
14358 * redisplay.c (init_redisplay): Fix small memory leak.
14360 * elhash.c (pdump_reorganize_hash_table):
14361 Rename from reorganize_hash_table. Change prototype.
14362 Reuse the original memory for hentries. Save 100k.
14363 * alloc.c (PDUMP_READ): new macro.
14364 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
14365 * alloc.c: No need to #ifndef before #undef.
14367 * print.c: Allow debug_print() to print readably by modifying
14368 debug_print_readably. Use consistent variable names.
14370 * .dbxrc: Try to get things to work even if stopped in a function
14371 without source available by explicitly specifying source files.
14372 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14374 * unexnt.c (_start): Removed bogus code which caused loading heap
14375 from differrent executable file.
14376 Removed bogus assignment to _fmode, which caused inconsistencies.
14378 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14380 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
14381 Have spawnve encapsulation regard DONT_ENCAPSULATE.
14382 Do not preliminary `#define signal sigset'.
14384 * systime.h: Do not prototype environ on windows nt and cygwin,
14385 this conflicts with system header.
14387 * syssignal.h: Use correct define for WINDOWSNT
14389 * sysdep.h: Do not prototype environ on windows nt, this conflicts
14390 with system header.
14392 * sysdep.c (near start of file): Fixed commentary and rearranged
14393 ifdefs in readable order.
14394 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
14397 (end_of_data): Do not compile in if using PDUMP.
14399 * symsinit.h: Prototyped vars_of_nt().
14401 * ntproc.c (windows9x_p): Added, instead of os_subtype.
14402 (find_child_console): Use it.
14403 (sys_kill): Use it.
14405 * ntheap.h: Do not extern os_subtype.
14407 * ntheap.c (cache_system_info): Do not cache unneeded:
14408 nt_major_version, nt_minor_version and os_subtype.
14409 (recreate_heap): Do not compile in when PDUMPing.
14411 * nt.c (geteuid and friends): Use the new varibale
14412 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
14413 (init_user_info): Removed the above mentioned hackery.
14414 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
14415 stat has been fixed in the C runtime.
14416 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
14418 * file-coding.c (struct file_coding_dump): Do not define
14419 ucs_to_mule_table in the struct if not MULE.
14420 (struct struct lrecord_description fcd_description_1): Do not dump
14423 * emacs.c (main_1): Call vars_of_nt().
14424 (right before Fdump_emacs_data): Don't need lastfile if using both
14425 portabe dumper and system malloc.
14427 * alloc.c (Fmemory_limit): Conditionalized out.
14428 (pdump): Use OPEN_BINARY for the portable dump file.
14429 (pdump_load): Ditto.
14431 2000-02-02 Mike Alexander <mta@arbortext.com>
14433 * nt.c (convert_time): Set tm_isdst before calling mktime and
14434 avoid calling it at all if the compiler supports 64 bit integers.
14435 Also initialize utc_base_ft before using it.
14437 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14439 * frame.c (change_frame_size_1): Take f->internal_border_width
14440 into consideration when calculating the width of the frame.
14442 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14444 * window.c (frame_min_height):
14445 (frame_size_valid_p):
14446 (frame_pixsize_valid_p): Added.
14447 (check_frame_size): Generalized.
14449 * window.h: Prototyped the above.
14452 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
14453 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
14454 Deleted Vwin32_* and Vbinary_process_* unused variables.
14456 * device-msw.c (msprinter_init_device): Do not get printer font
14457 list; Added DEVMODE functions.
14459 * frame-msw.c: Added lots of printer code.
14461 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
14464 * console-msw.h: Added more msprinter device private slots.
14466 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14468 * event-msw.c (key_needs_default_processing_p): Added.
14469 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
14471 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14473 * glyphs.c (image_instance_layout): Mark image instance as clean
14475 (glyph_dirty_p): Removed redundant function.
14476 (invalidate_glyph_geometry_maybe): Added.
14477 (update_glyph_cachel_data): Call it.
14479 * glyphs.h: Prototyped it.
14481 * redisplay.c (add_glyph_rune): Call it.
14482 (redisplay_window): Reset glyphs cachels when frame faces have
14483 changed, thus forcing recomputation of built-in border glyphs.
14485 2000-01-30 Martin Buchholz <martin@xemacs.org>
14487 * Makefile.in.in: Make portable dumper and purify play well together.
14488 Add imperfect, but better than nothing, support for pdump.
14489 Remove xemacs.dmp when temacs is re-generated.
14490 Don't ignore errors when dumping xemacs.
14492 * symbols.c (maybe_call_magic_handler): Remove one magic number.
14494 2000-01-28 Andy Piper <andy@xemacs.org>
14496 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
14497 (setup_normal_frame): ditto.
14498 (setup_frame_without_minibuffer): ditto.
14499 (setup_minibuffer_frame): ditto.
14500 (delete_frame_internal): ditto.
14501 (Fmake_frame_invisible): ditto.
14502 (Ficonify_frame): ditto.
14504 * window.h: change Fset_window_buffer signature.
14506 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
14507 (Fset_window_buffer): allow recording of buffer if the window is
14508 the selected window.
14509 (window_loop): Use new Fset_window signature.
14511 2000-01-23 Daniel Pittman <daniel@danann.net>
14513 * config.h.in: Added template for `HAVE_ATHENA_3D'
14515 2000-01-29 Andy Piper <andy@xemacs.org>
14517 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
14519 * gutter.c (output_gutter): Don't output if the window isn't live.
14521 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14523 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
14524 of 01/12/00: Moved SetFocus back here where it belongs.
14526 2000-01-23 Andy Piper <andy@xemacs.org>
14528 * s/cygwin32.h: declare printer things.
14530 2000-01-26 Andy Piper <andy@xemacs.org>
14532 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
14535 2000-01-24 Andy Piper <andy@xemacs.org>
14537 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
14538 (mswindows_button_instantiate): Make sure glyph is a pixmap.
14540 * glyphs-widget.c (widget_instantiate): Avoid shadows.
14542 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
14544 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
14546 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
14547 (mswindows_output_display_block): Avoid local shadows.
14549 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
14550 (mswindows_enqueue_mouse_button_event): ditto.
14551 (mswindows_handle_gui_wm_command): remove declaration.
14553 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
14556 * console-msw.h: Avoid shadows.
14557 (mswindows_get_toolbar_button_text):
14558 (emacs_mswindows_create_stream_pair):
14559 (emacs_mswindows_delete_stream_pair):
14560 (mswindows_handle_toolbar_wm_command): declare.
14562 * device-msw.c (build_syscolor_string): Avoid shadows.
14564 2000-01-23 Andy Piper <andy@xemacs.org>
14566 * glyphs-widget.c (widget_instantiate): reverse the items for
14567 layouts so that children are in the expected order.
14569 2000-01-28 Martin Buchholz <martin@xemacs.org>
14571 * ralloc.c: safe_bcopy ==> memmove
14572 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
14573 * s/msdos.h: Remove BCOPY macros.
14574 * insdel.c (gap_right): Remove BCOPY conditional code.
14575 * insdel.c (gap_left): Remove BCOPY conditional code.
14576 XEmacs demands a working ANSI C compiler - hence memmove.
14578 * regex.c (regex_compile): Remove accidental use of trigraphs.
14580 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14582 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
14585 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14587 * event-msw.c (mswindows_drain_windows_queue): Added the
14589 (mswindows_need_event): Commented the call to
14590 mswindows_drain_windows_queue().
14591 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
14594 * console-msw.h: Moved a few function prototypes here from
14597 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
14598 parameter from unsigned short to unsigned long.
14599 (Fmswindows_shell_execute): Added return value.
14601 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
14603 * sysdep.c (init_system_name):
14604 process-unix.c (unix_canonicalized_host_name):
14605 Don't call freeaddrinfo() if getaddrinfo() fails.
14607 * process-unix.c (unix_open_unix_network_stream):
14608 Moved the code to get a port # into address loop.
14610 2000-01-27 Martin Buchholz <martin@xemacs.org>
14612 * buffer.c (reinit_vars_of_buffer):
14613 The right place to initialize conversion_in_dynarr and
14614 conversion_out_dynarr.
14616 * alloc.c (pdump): Use the real open() till sys_open() is functional.
14618 * process-unix.c (unix_canonicalize_host_name): Muleize.
14619 (unix_open_network_stream): Muleize.
14621 * buffer.h: Fix up prototypes for ralloc.c functions.
14623 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
14624 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
14625 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
14626 instead of gethostbyname()
14627 * process-unix.c: In unix_canonicalize_host_name() and
14628 unix_open_network_stream(), add code to use getaddrinfo()
14629 instead of gethostbyname().
14631 2000-01-27 Daniel Pittman <daniel@danann.net>
14633 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
14634 libs when built with flat Athena.
14636 2000-01-27 Martin Buchholz <martin@xemacs.org>
14638 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
14639 Use coding standards for function prototypes.
14641 2000-01-25 Martin Buchholz <martin@xemacs.org>
14643 * dialog-msw.c (push_lisp_string_as_unicode):
14644 * doc.c (unparesseuxify_doc_string):
14645 * dired.c (Fuser_name_completion_1):
14646 * dired.c (Fuser_name_all_completions):
14647 * dired.c (free_user_cache):
14648 * dired.c (user_name_completion):
14649 * console-x.c (get_display_arg_connection):
14650 * minibuf.c (clear_echo_area_internal):
14651 * minibuf.c (echo_area_append):
14652 * eldap.c (Fldap_open):
14653 * eldap.c (Fldap_search_internal):
14654 * frame-x.c (x_set_frame_text_value):
14655 * frame-x.c (x_set_frame_properties):
14656 * frame-x.c (x_create_widgets):
14657 * redisplay-tty.c (term_get_fkeys_1):
14658 * objects-x.c (x_parse_nearest_color):
14659 * objects-x.c (x_valid_color_name_p):
14660 * objects-x.c (x_initialize_font_instance):
14661 * objects-x.c (x_list_fonts):
14662 * objects-x.c (x_find_charset_font):
14663 * tooltalk.c (Fadd_tooltalk_message_arg):
14664 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
14665 * tooltalk.c (Fadd_tooltalk_pattern_arg):
14666 * process-unix.c (unix_create_process):
14667 * ntproc.c (sys_spawnve):
14668 * sound.c (Fplay_sound_file):
14669 * sound.c (Fplay_sound):
14670 * buffer.c (init_initial_directory):
14671 * buffer.c (init_buffer):
14672 * editfns.c (init_editfns):
14673 * editfns.c (Ftemp_directory):
14674 * editfns.c (Fuser_full_name):
14675 * editfns.c (uncache_home_directory):
14676 * editfns.c (get_home_directory):
14677 * editfns.c (Fuser_home_directory):
14678 * editfns.c (Fformat_time_string):
14679 * editfns.c (Fcurrent_time_string):
14680 * gui-x.c (button_item_to_widget_value):
14681 * database.c (Fopen_database):
14682 * event-Xt.c (x_to_emacs_keysym):
14683 * event-Xt.c (x_event_to_emacs_event):
14684 * event-Xt.c (describe_event_window):
14685 * event-msw.c (mswindows_wnd_proc):
14686 * glyphs-eimage.c (jpeg_instantiate):
14687 * glyphs-eimage.c (gif_instantiate):
14688 * glyphs-eimage.c (png_instantiate):
14689 * glyphs-eimage.c (tiff_instantiate):
14690 * glyphs-x.c (xbm_instantiate_1):
14691 * glyphs-x.c (x_xbm_instantiate):
14692 * glyphs-x.c (x_xface_instantiate):
14693 * glyphs-x.c (autodetect_instantiate):
14694 * glyphs-x.c (cursor_font_instantiate):
14695 * glyphs-x.c (x_widget_instantiate):
14696 * glyphs-x.c (x_widget_set_property):
14697 * glyphs-x.c (x_widget_property):
14698 * glyphs-x.c (BUILD_GLYPH_INST):
14699 * print.c (write_string_to_stdio_stream):
14700 * print.c (output_string):
14701 * print.c (Falternate_debugging_output):
14702 * print.c (Fexternal_debugging_output):
14703 * glyphs-msw.c (extract_xpm_color_names):
14704 * glyphs-msw.c (mswindows_xpm_instantiate):
14705 * glyphs-msw.c (bmp_instantiate):
14706 * glyphs-msw.c (resource_name_to_resource):
14707 * glyphs-msw.c (mswindows_resource_instantiate):
14708 * glyphs-msw.c (xbm_instantiate_1):
14709 * glyphs-msw.c (mswindows_xbm_instantiate):
14710 * glyphs-msw.c (mswindows_xface_instantiate):
14711 * glyphs-msw.c (mswindows_widget_instantiate):
14712 * glyphs-msw.c (add_tree_item):
14713 * glyphs-msw.c (add_tab_item):
14714 * glyphs-msw.c (mswindows_combo_box_instantiate):
14715 * glyphs-msw.c (mswindows_widget_property):
14716 * glyphs-msw.c (mswindows_combo_box_property):
14717 * glyphs-msw.c (mswindows_widget_set_property):
14718 * console.c (stuff_buffered_input):
14719 * objects-msw.c (mswindows_initialize_color_instance):
14720 * objects-msw.c (mswindows_valid_color_name_p):
14721 * objects-msw.c (mswindows_list_fonts):
14722 * objects-msw.c (mswindows_font_instance_truename):
14723 * bytecode.c (optimize_compiled_function):
14724 * select-x.c (symbol_to_x_atom):
14725 * select-x.c (x_atom_to_symbol):
14726 * select-x.c (hack_motif_clipboard_selection):
14727 * select-x.c (selection_data_to_lisp_data):
14728 * select-x.c (lisp_data_to_selection_data):
14729 * select-x.c (Fx_get_cutbuffer_internal):
14730 * select-x.c (Fx_store_cutbuffer_internal):
14731 * buffer.h (TO_EXTERNAL_FORMAT): New function.
14732 * buffer.h (TO_INTERNAL_FORMAT): New function.
14733 * emacs.c (make_arg_list_1):
14734 * emacs.c (make_argc_argv):
14735 * emacs.c (main_1):
14736 * emacs.c (Fdump_emacs):
14737 * emacs.c (split_string_by_emchar_1):
14742 * device-x.c (x_init_device):
14743 * device-x.c (Fx_valid_keysym_name_p):
14744 * device-x.c (Fx_get_font_path):
14745 * device-x.c (Fx_set_font_path):
14746 * glyphs.c (bitmap_to_lisp_data):
14747 * glyphs.c (pixmap_to_lisp_data):
14748 * alloc.c (make_ext_string): Use coding system arguments. Update
14750 * alloc.c (build_string):
14751 * callproc.c (child_setup):
14752 * callproc.c (init_callproc):
14753 * fileio.c (lisp_strerror):
14754 * fileio.c (directory_file_name):
14755 * fileio.c (Fexpand_file_name):
14756 * fileio.c (Ffile_truename):
14757 * fileio.c (Fsysnetunam):
14758 * fileio.c (Fdo_auto_save):
14759 * sysdep.c (sys_readdir):
14760 * tests.c: New file. Allow adding C tests.
14761 Replace GET_* macros with a more comprehensible and flexible
14762 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
14764 Any coding system can be used to do format conversion.
14765 Eliminate enum external_data_format.
14766 Eliminate convert_to_external_format.
14767 Eliminate convert_to_internal_format.
14768 Make sure file-name, keyboard, terminal, and ctext are always
14769 defined as coding systems or aliases. Make
14770 file-name-coding-system, terminal-coding-system, and
14771 keyboard-coding-system magical variables that are equivalent to
14772 defining the corresponding coding system aliases.
14774 * file-coding.c (Fcoding_system_canonical_name_p): New function.
14775 * file-coding.c (Fcoding_system_alias_p): New function.
14776 * file-coding.c (Fcoding_system_aliasee): New function.
14777 * file-coding.c (append_suffix_to_symbol): New function.
14778 * file-coding.c (dangling_coding_system_alias_p): New function.
14779 * file-coding.c (Ffind_coding_system):
14780 * file-coding.c (Fcopy_coding_system):
14781 * file-coding.c (encode_coding_no_conversion):
14782 * file-coding.c (syms_of_file_coding):
14783 * file-coding.c (vars_of_file_coding):
14784 Rewrite coding system alias code.
14785 Allow nested aliases, like symbolic links.
14786 Allow redefinition of coding system aliases.
14787 Prevent existence of dangling coding system aliases.
14789 * dired.c (Fuser_name_completion_1):
14790 * dired.c (Fuser_name_all_completions):
14791 A crash would happen if user did QUIT in the middle of building
14792 user_name_cache. Remove redundant code in mainline and unwind_protect.
14795 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
14797 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
14798 an unsigned char *. Update all callers.
14800 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14802 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
14804 2000-01-25 Martin Buchholz <martin@xemacs.org>
14806 * elhash.c (hentry_description): Use more portable definition.
14807 (resize_hash_table): Initialize new hentries using
14808 xnew_array_and_zero, thereby simplifying the code.
14810 * mule-charset.c (make_charset): Make sure entire object is
14811 initialized, to avoid Purify warnings.
14813 * alloc.c (resize_string): Fix unlikely crash with big strings.
14815 2000-01-24 Martin Buchholz <martin@xemacs.org>
14817 * realpath.c (xrealpath):
14818 Don't call getwd().
14820 2000-01-25 Martin Buchholz <martin@xemacs.org>
14822 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
14824 1999-12-28 Max Matveev <max@melbourne.sgi.com>
14826 * unexelfsgi.c (unexec): Change the way we decide which segment
14827 should be extended.
14829 Assumption that .bss section should be outside the PT_LOADable
14830 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
14831 it's present) is inside the 'data' segment. This would fail the
14832 test which was used to find a segment to grow and cover new
14833 heap. Instead of this assumption, I created another one - on IRIX
14834 the segment to grow should start below .bss and it's address
14835 should extent above the end of .bss. Once this segment is
14836 identified, it's grown to accommodate the new heap and new
14837 zero-length .bss section is added at the end of .data2.
14839 2000-01-25 Martin Buchholz <martin@xemacs.org>
14841 * eval.c (Feval): Wrong number of arguments should use original
14842 function, not the indirect_function version of it.
14844 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
14846 * glyphs-x.c (x_button_instantiate): Don't add image if
14847 it is not a pixmap.
14848 (x_locate_pixmap_file): Call Fexpand_file_name when file name
14851 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
14853 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
14855 (DEFVAR_INT_MAGIC): Ditto.
14856 (DEFVAR_BOOL_MAGIC): Ditto.
14857 * glyphs.h: Reindent backslash.
14859 2000-01-24 Martin Buchholz <martin@xemacs.org>
14861 * glyphs-widget.c (layout_query_geometry):
14862 (layout_layout): Use correct types for gheight, gwidth.
14864 2000-01-24 Martin Buchholz <martin@xemacs.org>
14866 * EmacsManager.c (QueryGeometry): Purified.
14868 2000-01-23 Martin Buchholz <martin@xemacs.org>
14870 * alloc.c (make_float): Make sure entire object is initialized, to
14871 avoid Purify warnings.
14872 (pdump_register_sub): Remove useless assignment.
14873 (pdump): Use xmalloc, not malloc.
14874 (pdump_load): Use xmalloc, not malloc.
14876 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14883 * sysdep.c: Removed redundant #include <windows.h>
14885 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14887 * frame.c (delete_frame_internal): Do not delete device when its
14888 implementation so declares.
14889 (delete_frame_internal): Set device selected frame to nil when
14890 last frame goes away.
14892 * device-msw.c (msprinter_device_system_metrics): Implemented.
14893 (mswindows_device_system_metrics): Added 'device-dpi property.
14895 * device.c: (Fdevice_printer_p): Added.
14896 Added 'offset-workspace device metric.
14898 * console.h (device_metrics): Declared DM_offset_workspace.
14900 2000-01-23 Martin Buchholz <martin@xemacs.org>
14902 * fileio.c (Ffile_truename): Remove pointless and confusing
14903 initialization of elen.
14905 * glyphs-widget.c: Compiler warning fixes.
14907 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
14909 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
14910 instead of a Lisp_Object as argument to make it consistent with
14911 the other LIVE_P macros.
14912 (CHECK_LIVE_PROCESS): New macro.
14914 * process.c: Declare Qprocess_live_p.
14915 (Fprocess_live_p): New function.
14916 (create_process): Use PROCESS_LIVE_P.
14917 (read_process_output): Ditto.
14918 (set_process_filter): Ditto.
14919 (Fdelete_process): Ditto.
14920 (kill_buffer_processes): Ditto
14921 (process_send_signal): Use CHECK_LIVE_PROCESS.
14922 (Fprocess_input_coding_system): Check whether process is still
14923 alive (fix PR#1061).
14924 (Fprocess_output_coding_system): Ditto.
14925 (Fprocess_coding_system): Ditto.
14926 (Fset_process_input_coding_system): Ditto.
14927 (Fset_process_output_coding_system): Ditto.
14929 2000-01-23 Andy Piper <andy@xemacs.org>
14931 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
14934 * glyphs.c (mark_image_instance): take into account changed
14935 image_instance format.
14936 (image_instance_equal): ditto.
14937 (image_instance_hash): ditto.
14939 * glyphs-widget.c (widget_instantiate): Incorporate layout
14940 instantiation here. Delay layout of the layout until later.
14941 (layout_instantiate): deleted.
14942 (layout_query_geometry): new function. get the geometry of a
14944 (layout_layout): layout a layout dynamically.
14945 (image_instantiator_widget): New function - splitting up
14946 image_instantiator_format_create_glyphs_widget for netwinder
14948 (image_instantiator_buttons):
14949 (image_instantiator_edit_fields):
14950 (image_instantiator_combo_box):
14951 (image_instantiator_scrollbar):
14952 (image_instantiator_progress_guage):
14953 (image_instantiator_tree_view):
14954 (image_instantiator_tab_control):
14955 (image_instantiator_labels):
14956 (image_instantiator_layout): ditto.
14957 (image_instantiator_format_create_glyphs_widget): Call preceding
14960 2000-01-22 Martin Buchholz <martin@xemacs.org>
14962 * process.c (Fset_process_coding_system):
14963 * device-x.c (Fx_keysym_hash_table):
14966 * lstream.c (Lstream_write): Return documented value, not 0.
14968 * fileio.c (directory_file_name):
14969 (Fsubstitute_in_file_name):
14970 (Fsubstitute_insert_file_contents_internal):
14971 (Fwrite_region_internal):
14976 Remove vestigial APOLLO-conditional code.
14978 2000-01-21 Martin Buchholz <martin@xemacs.org>
14980 * getpagesize.h: Add guard macros.
14981 * libsst.h: Add guard macros.
14982 * libst.h: Add guard macros.
14983 * line-number.h: Add guard macros.
14984 * ndir.h: Add guard macros.
14985 * sysfloat.h: Add guard macros.
14986 * sysfile.h: Add guard macros.
14987 * sysproc.h: Add guard macros.
14988 * syswait.h: Add guard macros.
14989 * xintrinsic.h: Add guard macros.
14990 * xintrinsicp.h: Add guard macros.
14991 * xmmanager.h: Add guard macros.
14992 * xmmanagerp.h: Add guard macros.
14993 * xmprimitive.h: Add guard macros.
14994 * xmu.h: Add guard macros.
14995 * gpmevent.h: Add copyright statement. Add guard macros.
14996 * miscplay.h: Add guard macros.
14997 * *.h: Use consistent C-standards-approved guard macro names.
14999 * opaque.c (make_opaque): Switch parameter order.
15000 * opaque.h (make_opaque): Switch parameter order.
15001 Update all callers.
15002 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15004 * config.h.in (type_checking_assert): Added.
15005 (bufpos_checking_assert): Added.
15007 2000-01-21 Martin Buchholz <martin@xemacs.org>
15009 * alloc.c: Harmless pdump changes.
15011 - spell alignment correctly.
15012 * sysdep.c: Use countof()
15014 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15016 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15017 initially_selected_for_input() console method, default to 0.
15018 (semi_canonicalize_console_connection): Try to delegate to
15019 canonicalize_console_connection if no such console method.
15020 (canonicalize_console_connection): Vice versa.
15021 (print_console): Do not print nil connection.
15023 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15024 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15025 (XDEVIMPF_FRAMELESS_OK): Added.
15026 (CONSOLE_INHERITS_METHOD): Added.
15028 * console-msw.c (mswindows_canonicalize_console_connection):
15030 (mswindows_canonicalize_device_connection): Added.
15032 * console-msw.h (struct msprinter_device): Added this struct and
15034 (mswindows_device): Made fontlist a lisp object.
15036 * device.c (semi_canonicalize_device_connection): Try to delegate
15037 to canonicalize_device_connection if no such console method.
15038 (canonicalize_device_connection): Vice versa.
15039 (print_device): Do not print nil connection.
15041 * device-msw.c (mswindows_init_device): Call InitCommonControls
15043 (mswindows_delete_device): Removed fontlist deallocation.
15044 (mswindows_mark_device): Added.
15046 * events.c (event_equal): Added abort() at unreached code.
15047 (event_hash): Ditto.
15049 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
15050 fallback tags of Windows devices.
15052 * general.c (syms_of_general): Initialized Qmsprinter.
15054 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
15055 of fallback tags of Windows devices.
15057 * lisp.h: Declared Qmsprinter.
15059 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
15061 (mswindows_list_fonts): Ditto.
15062 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
15063 that it can be used by both mswindows and msprinter devices.
15064 (initialize_font_instance): Added.
15065 (mswindows_initialize_font_instance): Use it.
15066 (msprinter_initialize_font_instance): Added.
15068 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
15069 and implementation flags check.
15070 (redisplay_without_hooks): Changed the call to the above.
15071 (Fredraw_device): Ditto.
15072 (Fredisplay_device): Ditto.
15074 * redisplay-msw.c (get_frame_dc): Implemented.
15075 (get_frame_compdc): Implemented.
15076 (many functions): Use the two functions above to get device
15077 contexts, ether for a window or a printer.
15079 2000-01-21 Olivier Galibert <galibert@pobox.com>
15081 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
15082 initialization here.
15083 (init_symbols_once_early): Call it.
15084 * emacs.c (main_1): Call it.
15085 * symsinit.h: Declare it.
15087 2000-01-19 Olivier Galibert <galibert@pobox.com>
15089 * alloc.c: Use a lrecord_header * in the backtrace instead of a
15091 (pdump_backtrace): Ditto.
15092 (pdump_register_object): Ditto. Cleanup use of the pointers.
15093 (pdump_get_entry): Abort if trying to register a null pointer.
15094 (pdump_dump_data): Cleanup types when relocating.
15095 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
15096 (pdump_dump_rtables): Remove bad casts.
15097 (pdump_load): Cleanup relocation w.r.t union type. Use a
15098 Lisp_Object instead of a EMACS_INT for the hashtable
15101 2000-01-20 Martin Buchholz <martin@xemacs.org>
15103 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
15105 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
15107 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
15109 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
15111 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15113 * faces.h (FACE_STRIKETHRU_P): Added.
15115 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
15118 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
15119 (mswindows_set_dc_font): New function, aware of font variants,
15120 separated from mswindows_update_dc.
15122 * objects-msw.h (struct mswindows_font_instance_data): Added
15125 * objects-msw.c (mswindows_finalize_font_instance): Delete all
15126 cached fonts and the data structure.
15127 (mswindows_initialize_font_instance): Added creation of font data
15129 (mswindows_print_font_instance): Print at least something.
15130 (mswindows_create_font_variant): Implemented.
15131 (mswindows_get_hfont): Implemented.
15133 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
15135 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
15136 prototyping problem with msvc.
15138 * emacs.c (main_1): added syms_of_gui_mswindows() call
15140 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
15141 syms_of_gui_mswindows() function
15143 * symsinit.h: added the prototype for syms_of_gui_mswindows()
15145 2000-01-18 Martin Buchholz <martin@xemacs.org>
15147 * XEmacs 21.2.27 is released.
15149 2000-01-18 Martin Buchholz <martin@xemacs.org>
15151 * glyphs-eimage.c (struct tiff_error_struct):
15153 (tiff_warning_func):
15154 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
15159 * unexec.c: Remove vestigial Lucid C code.
15163 * libsst.c: Ansify.
15164 Remove declarations of errno and strerror().
15166 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
15168 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
15170 2000-01-16 Martin Buchholz <martin@xemacs.org>
15172 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
15175 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15180 Change enum eol_type to eol_type_t.
15182 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15184 * gui.c (get_gui_callback): Check cons before accessing car.
15186 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15188 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
15189 (XSETSPECIFIER_TYPE): Ditto.
15191 2000-01-17 Didier Verna <didier@xemacs.org>
15193 * redisplay.c (generate_fstring_runes): compute string size in
15194 characters, not bytes.
15196 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15198 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
15200 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
15202 * print.c (print_error_message): Call print_prepare().
15204 2000-01-14 Martin Buchholz <martin@xemacs.org>
15206 * .dbxrc: Renamed from dbxrc.
15208 * events.c (event_to_character):
15209 Use `assert (foo)' instead of `if (!foo) abort()'
15211 * .gdbinit (xtype): Add documentation.
15212 * .gdbinit (check-temacs): New function.
15213 * .gdbinit (check-xemacs): New function.
15214 * dbxrc (check-xemacs): New function.
15215 * dbxrc (check-xemacs): New function.
15217 2000-01-14 Andy Piper <andy@xemacs.org>
15219 * glyphs-widget.c (widget_query_geometry): Make sure that we
15220 calculate default dimensions correctly.
15222 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15224 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
15226 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
15227 pdump_wire'd variable.
15229 * emacs.c: (main_1): Conditionalized calls to
15230 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
15232 2000-01-13 Martin Buchholz <martin@xemacs.org>
15234 * window.c (Fset_window_configuration):
15235 * sysdep.c (_start):
15236 * input-method-motif.c (res):
15237 * event-Xt.c (Xt_process_to_emacs_event):
15238 Simple compiler warning fixes.
15240 * bytecode.c (funcall_compiled_function): Use the original
15241 function symbol on the backtrace list in preference to the
15242 compiled_function object in error messages.
15244 2000-01-13 Andy Piper <andy@xemacs.org>
15246 * glyphs-x.c (update_widget_face): Make sure we update the widget
15247 background as well as foreground.
15249 2000-01-13 Andy Piper <andy@xemacs.org>
15251 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
15252 fields to subwindow.
15253 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
15254 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
15255 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15256 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15258 * glyphs-widget.c (check_valid_tab_orientation): new function.
15259 (initialize_widget_image_instance): zero orientation and
15261 (widget_instantiate): pick up orientation.
15262 (tab_control_query_geometry): return appropriate values for
15265 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
15266 appropriate creation flags for left, right and bottom tabs.
15268 * s/cygwin32.h: add tab definitions.
15270 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15272 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
15273 frame upon hiding a subwindow.
15274 (mswindows_button_instantiate): Changed the push button style to
15276 (mswindows_button_instantiate): Removed button BS_NOTIFY
15278 (mswindows_button_instantiate): Removed redundant check for
15279 a disabled gui item.
15280 (mswindows_button_instantiate): Made use of WS_TABSTOP
15281 consistent: "operable" controls (edit, button, tree, scroll) have
15282 this style, "display-only" ones (static, progress gauge) do
15283 not. This style is currently ignored by XEmacs though. Also,
15284 removed the WS_EX_CONTROLPARENT style - it is not for children,
15285 it is for their parents!
15286 (mswindows_edit_field_instantiate): Ditto.
15287 (mswindows_progress_gauge_instantiate): Ditto.
15288 (mswindows_tree_view_instantiate): Ditto.
15289 (mswindows_tab_control_instantiate): Ditto.
15290 (mswindows_scrollbar_instantiate): Ditto.
15291 (mswindows_combo_box_instantiate): Ditto.
15292 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
15293 style to the "clip" window.
15294 (mswindows_button_instantiate): Removed compilation warning by
15295 equally typing terms of the ?: operator.
15297 2000-01-12 Didier Verna <didier@xemacs.org>
15299 * redisplay.c (generate_fstring_runes): new parameter holding the
15300 last modeline-format extent.
15301 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
15302 extent, fill the glyph block with it.
15303 (generate_fstring_runes): handle these parameters.
15304 (generate_formatted_string_db): ditto.
15306 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
15307 glyphs'extents in the modeline.
15309 1999-01-11 Mike Woolley <mike@bulsara.com>
15311 * ntheap.c: Reduced the reserved heap space from 1Gb down to
15312 256Mb, as a workaround for the non-starting problem many people
15315 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15317 * console-tty.c (Fset_console_tty_output_coding_system):
15318 Force redrawing tty frame.
15320 2000-01-10 Didier Verna <didier@xemacs.org>
15322 * redisplay.c (generate_fstring_runes): fix size computation bug.
15324 2000-01-09 William M. Perry <wmperry@aventail.com>
15326 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
15328 2000-01-09 Andy Piper <andy@xemacs.org>
15330 * glyphs-msw.c: index -> i to avoid shadows.
15331 (xbm_create_bitmap_from_data): make static.
15332 (check_valid_string_or_int): deleted.
15333 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
15335 * glyphs-x.c (x_update_subwindow): remove unused args.
15337 * glyphs.c (glyph_image_instance): return the thing. Don't set the
15338 back pointer - this is done in allocate_image_instance.
15339 (query_string_font): return Qnil to make the compiler happy.
15340 (unmap_subwindow): set to ~0 to make the compiler happy.
15341 (glyph_query_geometry): comment out until used.
15342 (glyph_layout): ditto.
15344 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15346 * insdel.c (signal_after_change): Remove extraneous unbind_to().